From fe3cfbdcd2c09ef762b1a6225ac83b75231143f4 Mon Sep 17 00:00:00 2001 From: box-sdk-build Date: Wed, 29 Oct 2025 04:16:16 -0700 Subject: [PATCH] feat: AI Agent Toolkit TS readme (box/box-codegen#873) --- .codegen.json | 2 +- .../collaborationRestrictionV2025R0.ts | 30 ------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 src/sdk-gen/schemas/v2025R0/collaborationRestrictionV2025R0.ts diff --git a/.codegen.json b/.codegen.json index 7ef7e419..d9606484 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "4421f42", "specHash": "1715587", "version": "4.0.0" } +{ "engineHash": "8db6e62", "specHash": "1715587", "version": "4.0.0" } diff --git a/src/sdk-gen/schemas/v2025R0/collaborationRestrictionV2025R0.ts b/src/sdk-gen/schemas/v2025R0/collaborationRestrictionV2025R0.ts deleted file mode 100644 index a201674a..00000000 --- a/src/sdk-gen/schemas/v2025R0/collaborationRestrictionV2025R0.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { BoxSdkError } from '../../box/errors'; -import { SerializedData } from '../../serialization/json'; -import { sdIsEmpty } from '../../serialization/json'; -import { sdIsBoolean } from '../../serialization/json'; -import { sdIsNumber } from '../../serialization/json'; -import { sdIsString } from '../../serialization/json'; -import { sdIsList } from '../../serialization/json'; -import { sdIsMap } from '../../serialization/json'; -export type CollaborationRestrictionV2025R0 = 'internal' | 'external' | string; -export function serializeCollaborationRestrictionV2025R0( - val: CollaborationRestrictionV2025R0 -): SerializedData { - return val; -} -export function deserializeCollaborationRestrictionV2025R0( - val: SerializedData -): CollaborationRestrictionV2025R0 { - if (val == 'internal') { - return val; - } - if (val == 'external') { - return val; - } - if (sdIsString(val)) { - return val; - } - throw new BoxSdkError({ - message: "Can't deserialize CollaborationRestrictionV2025R0", - }); -}