@corti/sdk 1.2.0-templates-beta.4 → 2.0.0-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +0 -12
- package/dist/cjs/Client.js +10 -30
- package/dist/cjs/api/resources/index.d.ts +0 -7
- package/dist/cjs/api/resources/index.js +1 -8
- package/dist/cjs/api/types/index.d.ts +0 -17
- package/dist/cjs/api/types/index.js +0 -17
- package/dist/cjs/custom/CortiClient.js +2 -2
- package/dist/cjs/custom/auth/CortiAuth.js +2 -2
- package/dist/cjs/custom/stream/CustomStream.js +2 -2
- package/dist/cjs/custom/transcribe/CustomTranscribe.js +3 -3
- package/dist/cjs/serialization/resources/index.d.ts +0 -7
- package/dist/cjs/serialization/resources/index.js +1 -8
- package/dist/cjs/serialization/types/index.d.ts +0 -17
- package/dist/cjs/serialization/types/index.js +0 -17
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +0 -12
- package/dist/esm/Client.mjs +0 -20
- package/dist/esm/api/resources/index.d.mts +0 -7
- package/dist/esm/api/resources/index.mjs +0 -7
- package/dist/esm/api/types/index.d.mts +0 -17
- package/dist/esm/api/types/index.mjs +0 -17
- package/dist/esm/custom/CortiClient.mjs +2 -2
- package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
- package/dist/esm/custom/stream/CustomStream.mjs +2 -2
- package/dist/esm/custom/transcribe/CustomTranscribe.mjs +3 -3
- package/dist/esm/serialization/resources/index.d.mts +0 -7
- package/dist/esm/serialization/resources/index.mjs +0 -7
- package/dist/esm/serialization/types/index.d.mts +0 -17
- package/dist/esm/serialization/types/index.mjs +0 -17
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/resources/newSectionVersions/client/Client.d.ts +0 -81
- package/dist/cjs/api/resources/newSectionVersions/client/Client.js +0 -346
- package/dist/cjs/api/resources/newSectionVersions/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSectionVersions/client/index.js +0 -2
- package/dist/cjs/api/resources/newSectionVersions/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSectionVersions/index.js +0 -17
- package/dist/cjs/api/resources/newSections/client/Client.d.ts +0 -78
- package/dist/cjs/api/resources/newSections/client/Client.js +0 -350
- package/dist/cjs/api/resources/newSections/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSections/client/index.js +0 -17
- package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.d.ts +0 -30
- package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.js +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.d.ts +0 -12
- package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.js +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.d.ts +0 -10
- package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.js +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/newSections/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/newSections/index.d.ts +0 -1
- package/dist/cjs/api/resources/newSections/index.js +0 -17
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +0 -75
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.js +0 -340
- package/dist/cjs/api/resources/newTemplateVersions/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplateVersions/client/index.js +0 -17
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -9
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplateVersions/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/newTemplateVersions/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplateVersions/index.js +0 -17
- package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +0 -71
- package/dist/cjs/api/resources/newTemplates/client/Client.js +0 -343
- package/dist/cjs/api/resources/newTemplates/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplates/client/index.js +0 -17
- package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +0 -24
- package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.ts +0 -12
- package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -10
- package/dist/cjs/api/resources/newTemplates/client/requests/UpdateTemplateRequest.js +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/newTemplates/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/newTemplates/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplates/index.js +0 -17
- package/dist/cjs/api/types/BoolNode.d.ts +0 -7
- package/dist/cjs/api/types/BoolNode.js +0 -3
- package/dist/cjs/api/types/CreateSectionVersionRequest.d.ts +0 -7
- package/dist/cjs/api/types/CreateSectionVersionRequest.js +0 -3
- package/dist/cjs/api/types/DictNode.d.ts +0 -12
- package/dist/cjs/api/types/DictNode.js +0 -3
- package/dist/cjs/api/types/FieldDefinition.d.ts +0 -8
- package/dist/cjs/api/types/FieldDefinition.js +0 -3
- package/dist/cjs/api/types/FloatNode.d.ts +0 -13
- package/dist/cjs/api/types/FloatNode.js +0 -3
- package/dist/cjs/api/types/IntegerNode.d.ts +0 -13
- package/dist/cjs/api/types/IntegerNode.js +0 -3
- package/dist/cjs/api/types/ListNode.d.ts +0 -13
- package/dist/cjs/api/types/ListNode.js +0 -3
- package/dist/cjs/api/types/OutputSchema.d.ts +0 -2
- package/dist/cjs/api/types/OutputSchema.js +0 -3
- package/dist/cjs/api/types/Section.d.ts +0 -21
- package/dist/cjs/api/types/Section.js +0 -3
- package/dist/cjs/api/types/SectionInstructions.d.ts +0 -6
- package/dist/cjs/api/types/SectionInstructions.js +0 -3
- package/dist/cjs/api/types/SectionVersion.d.ts +0 -12
- package/dist/cjs/api/types/SectionVersion.js +0 -3
- package/dist/cjs/api/types/StatusResponse.d.ts +0 -3
- package/dist/cjs/api/types/StatusResponse.js +0 -3
- package/dist/cjs/api/types/StringNode.d.ts +0 -11
- package/dist/cjs/api/types/StringNode.js +0 -3
- package/dist/cjs/api/types/Template.d.ts +0 -22
- package/dist/cjs/api/types/Template.js +0 -3
- package/dist/cjs/api/types/TemplateInstructions.d.ts +0 -4
- package/dist/cjs/api/types/TemplateInstructions.js +0 -3
- package/dist/cjs/api/types/TemplateVersion.d.ts +0 -10
- package/dist/cjs/api/types/TemplateVersion.js +0 -3
- package/dist/cjs/api/types/TemplateVersionSectionRequest.d.ts +0 -7
- package/dist/cjs/api/types/TemplateVersionSectionRequest.js +0 -3
- package/dist/cjs/serialization/resources/newSectionVersions/client/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSectionVersions/client/index.js +0 -37
- package/dist/cjs/serialization/resources/newSectionVersions/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newSectionVersions/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newSectionVersions/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSectionVersions/index.js +0 -17
- package/dist/cjs/serialization/resources/newSections/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newSections/client/index.js +0 -41
- package/dist/cjs/serialization/resources/newSections/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newSections/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.d.ts +0 -16
- package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.js +0 -48
- package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.js +0 -44
- package/dist/cjs/serialization/resources/newSections/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newSections/client/requests/index.js +0 -7
- package/dist/cjs/serialization/resources/newSections/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSections/index.js +0 -17
- package/dist/cjs/serialization/resources/newTemplateVersions/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newTemplateVersions/client/index.js +0 -41
- package/dist/cjs/serialization/resources/newTemplateVersions/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newTemplateVersions/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.js +0 -44
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/index.js +0 -5
- package/dist/cjs/serialization/resources/newTemplateVersions/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newTemplateVersions/index.js +0 -17
- package/dist/cjs/serialization/resources/newTemplates/client/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newTemplates/client/index.js +0 -41
- package/dist/cjs/serialization/resources/newTemplates/client/list.d.ts +0 -8
- package/dist/cjs/serialization/resources/newTemplates/client/list.js +0 -40
- package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +0 -18
- package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.js +0 -50
- package/dist/cjs/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.js +0 -44
- package/dist/cjs/serialization/resources/newTemplates/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newTemplates/client/requests/index.js +0 -7
- package/dist/cjs/serialization/resources/newTemplates/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newTemplates/index.js +0 -17
- package/dist/cjs/serialization/types/BoolNode.d.ts +0 -11
- package/dist/cjs/serialization/types/BoolNode.js +0 -43
- package/dist/cjs/serialization/types/CreateSectionVersionRequest.d.ts +0 -12
- package/dist/cjs/serialization/types/CreateSectionVersionRequest.js +0 -45
- package/dist/cjs/serialization/types/DictNode.d.ts +0 -13
- package/dist/cjs/serialization/types/DictNode.js +0 -46
- package/dist/cjs/serialization/types/FieldDefinition.d.ts +0 -11
- package/dist/cjs/serialization/types/FieldDefinition.js +0 -44
- package/dist/cjs/serialization/types/FloatNode.d.ts +0 -14
- package/dist/cjs/serialization/types/FloatNode.js +0 -46
- package/dist/cjs/serialization/types/IntegerNode.d.ts +0 -14
- package/dist/cjs/serialization/types/IntegerNode.js +0 -46
- package/dist/cjs/serialization/types/ListNode.d.ts +0 -14
- package/dist/cjs/serialization/types/ListNode.js +0 -47
- package/dist/cjs/serialization/types/OutputSchema.d.ts +0 -11
- package/dist/cjs/serialization/types/OutputSchema.js +0 -51
- package/dist/cjs/serialization/types/Section.d.ts +0 -18
- package/dist/cjs/serialization/types/Section.js +0 -50
- package/dist/cjs/serialization/types/SectionInstructions.d.ts +0 -10
- package/dist/cjs/serialization/types/SectionInstructions.js +0 -42
- package/dist/cjs/serialization/types/SectionVersion.d.ts +0 -14
- package/dist/cjs/serialization/types/SectionVersion.js +0 -47
- package/dist/cjs/serialization/types/StatusResponse.d.ts +0 -9
- package/dist/cjs/serialization/types/StatusResponse.js +0 -41
- package/dist/cjs/serialization/types/StringNode.d.ts +0 -13
- package/dist/cjs/serialization/types/StringNode.js +0 -45
- package/dist/cjs/serialization/types/Template.d.ts +0 -19
- package/dist/cjs/serialization/types/Template.js +0 -51
- package/dist/cjs/serialization/types/TemplateInstructions.d.ts +0 -9
- package/dist/cjs/serialization/types/TemplateInstructions.js +0 -41
- package/dist/cjs/serialization/types/TemplateVersion.d.ts +0 -14
- package/dist/cjs/serialization/types/TemplateVersion.js +0 -46
- package/dist/cjs/serialization/types/TemplateVersionSectionRequest.d.ts +0 -11
- package/dist/cjs/serialization/types/TemplateVersionSectionRequest.js +0 -43
- package/dist/esm/api/resources/newSectionVersions/client/Client.d.mts +0 -81
- package/dist/esm/api/resources/newSectionVersions/client/Client.mjs +0 -309
- package/dist/esm/api/resources/newSectionVersions/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newSectionVersions/client/index.mjs +0 -1
- package/dist/esm/api/resources/newSectionVersions/index.d.mts +0 -1
- package/dist/esm/api/resources/newSectionVersions/index.mjs +0 -1
- package/dist/esm/api/resources/newSections/client/Client.d.mts +0 -78
- package/dist/esm/api/resources/newSections/client/Client.mjs +0 -313
- package/dist/esm/api/resources/newSections/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newSections/client/index.mjs +0 -1
- package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.d.mts +0 -30
- package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.mjs +0 -2
- package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.d.mts +0 -12
- package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.mjs +0 -2
- package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.d.mts +0 -10
- package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.mjs +0 -2
- package/dist/esm/api/resources/newSections/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/newSections/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/newSections/index.d.mts +0 -1
- package/dist/esm/api/resources/newSections/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -75
- package/dist/esm/api/resources/newTemplateVersions/client/Client.mjs +0 -303
- package/dist/esm/api/resources/newTemplateVersions/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -9
- package/dist/esm/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplateVersions/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplateVersions/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplateVersions/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplateVersions/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplates/client/Client.d.mts +0 -71
- package/dist/esm/api/resources/newTemplates/client/Client.mjs +0 -306
- package/dist/esm/api/resources/newTemplates/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplates/client/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +0 -24
- package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.mts +0 -12
- package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -10
- package/dist/esm/api/resources/newTemplates/client/requests/UpdateTemplateRequest.mjs +0 -2
- package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/newTemplates/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/newTemplates/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplates/index.mjs +0 -1
- package/dist/esm/api/types/BoolNode.d.mts +0 -7
- package/dist/esm/api/types/BoolNode.mjs +0 -2
- package/dist/esm/api/types/CreateSectionVersionRequest.d.mts +0 -7
- package/dist/esm/api/types/CreateSectionVersionRequest.mjs +0 -2
- package/dist/esm/api/types/DictNode.d.mts +0 -12
- package/dist/esm/api/types/DictNode.mjs +0 -2
- package/dist/esm/api/types/FieldDefinition.d.mts +0 -8
- package/dist/esm/api/types/FieldDefinition.mjs +0 -2
- package/dist/esm/api/types/FloatNode.d.mts +0 -13
- package/dist/esm/api/types/FloatNode.mjs +0 -2
- package/dist/esm/api/types/IntegerNode.d.mts +0 -13
- package/dist/esm/api/types/IntegerNode.mjs +0 -2
- package/dist/esm/api/types/ListNode.d.mts +0 -13
- package/dist/esm/api/types/ListNode.mjs +0 -2
- package/dist/esm/api/types/OutputSchema.d.mts +0 -2
- package/dist/esm/api/types/OutputSchema.mjs +0 -2
- package/dist/esm/api/types/Section.d.mts +0 -21
- package/dist/esm/api/types/Section.mjs +0 -2
- package/dist/esm/api/types/SectionInstructions.d.mts +0 -6
- package/dist/esm/api/types/SectionInstructions.mjs +0 -2
- package/dist/esm/api/types/SectionVersion.d.mts +0 -12
- package/dist/esm/api/types/SectionVersion.mjs +0 -2
- package/dist/esm/api/types/StatusResponse.d.mts +0 -3
- package/dist/esm/api/types/StatusResponse.mjs +0 -2
- package/dist/esm/api/types/StringNode.d.mts +0 -11
- package/dist/esm/api/types/StringNode.mjs +0 -2
- package/dist/esm/api/types/Template.d.mts +0 -22
- package/dist/esm/api/types/Template.mjs +0 -2
- package/dist/esm/api/types/TemplateInstructions.d.mts +0 -4
- package/dist/esm/api/types/TemplateInstructions.mjs +0 -2
- package/dist/esm/api/types/TemplateVersion.d.mts +0 -10
- package/dist/esm/api/types/TemplateVersion.mjs +0 -2
- package/dist/esm/api/types/TemplateVersionSectionRequest.d.mts +0 -7
- package/dist/esm/api/types/TemplateVersionSectionRequest.mjs +0 -2
- package/dist/esm/serialization/resources/newSectionVersions/client/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newSectionVersions/client/index.mjs +0 -1
- package/dist/esm/serialization/resources/newSectionVersions/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newSectionVersions/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newSectionVersions/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newSectionVersions/index.mjs +0 -1
- package/dist/esm/serialization/resources/newSections/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newSections/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/newSections/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newSections/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.d.mts +0 -16
- package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.mjs +0 -12
- package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.mjs +0 -8
- package/dist/esm/serialization/resources/newSections/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newSections/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/resources/newSections/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newSections/index.mjs +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newTemplateVersions/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/newTemplateVersions/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newTemplateVersions/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +0 -8
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/client/requests/index.mjs +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newTemplateVersions/index.mjs +0 -1
- package/dist/esm/serialization/resources/newTemplates/client/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newTemplates/client/index.mjs +0 -2
- package/dist/esm/serialization/resources/newTemplates/client/list.d.mts +0 -8
- package/dist/esm/serialization/resources/newTemplates/client/list.mjs +0 -4
- package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +0 -18
- package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +0 -14
- package/dist/esm/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.mjs +0 -8
- package/dist/esm/serialization/resources/newTemplates/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/newTemplates/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/resources/newTemplates/index.d.mts +0 -1
- package/dist/esm/serialization/resources/newTemplates/index.mjs +0 -1
- package/dist/esm/serialization/types/BoolNode.d.mts +0 -11
- package/dist/esm/serialization/types/BoolNode.mjs +0 -7
- package/dist/esm/serialization/types/CreateSectionVersionRequest.d.mts +0 -12
- package/dist/esm/serialization/types/CreateSectionVersionRequest.mjs +0 -9
- package/dist/esm/serialization/types/DictNode.d.mts +0 -13
- package/dist/esm/serialization/types/DictNode.mjs +0 -10
- package/dist/esm/serialization/types/FieldDefinition.d.mts +0 -11
- package/dist/esm/serialization/types/FieldDefinition.mjs +0 -8
- package/dist/esm/serialization/types/FloatNode.d.mts +0 -14
- package/dist/esm/serialization/types/FloatNode.mjs +0 -10
- package/dist/esm/serialization/types/IntegerNode.d.mts +0 -14
- package/dist/esm/serialization/types/IntegerNode.mjs +0 -10
- package/dist/esm/serialization/types/ListNode.d.mts +0 -14
- package/dist/esm/serialization/types/ListNode.mjs +0 -11
- package/dist/esm/serialization/types/OutputSchema.d.mts +0 -11
- package/dist/esm/serialization/types/OutputSchema.mjs +0 -15
- package/dist/esm/serialization/types/Section.d.mts +0 -18
- package/dist/esm/serialization/types/Section.mjs +0 -14
- package/dist/esm/serialization/types/SectionInstructions.d.mts +0 -10
- package/dist/esm/serialization/types/SectionInstructions.mjs +0 -6
- package/dist/esm/serialization/types/SectionVersion.d.mts +0 -14
- package/dist/esm/serialization/types/SectionVersion.mjs +0 -11
- package/dist/esm/serialization/types/StatusResponse.d.mts +0 -9
- package/dist/esm/serialization/types/StatusResponse.mjs +0 -5
- package/dist/esm/serialization/types/StringNode.d.mts +0 -13
- package/dist/esm/serialization/types/StringNode.mjs +0 -9
- package/dist/esm/serialization/types/Template.d.mts +0 -19
- package/dist/esm/serialization/types/Template.mjs +0 -15
- package/dist/esm/serialization/types/TemplateInstructions.d.mts +0 -9
- package/dist/esm/serialization/types/TemplateInstructions.mjs +0 -5
- package/dist/esm/serialization/types/TemplateVersion.d.mts +0 -14
- package/dist/esm/serialization/types/TemplateVersion.mjs +0 -10
- package/dist/esm/serialization/types/TemplateVersionSectionRequest.d.mts +0 -11
- package/dist/esm/serialization/types/TemplateVersionSectionRequest.mjs +0 -7
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const IntegerNode: core.serialization.ObjectSchema<serializers.IntegerNode.Raw, Corti.IntegerNode>;
|
|
5
|
-
export declare namespace IntegerNode {
|
|
6
|
-
interface Raw {
|
|
7
|
-
type: "integer";
|
|
8
|
-
description?: string | null;
|
|
9
|
-
default?: (number | null | undefined) | null;
|
|
10
|
-
enum?: number[] | null;
|
|
11
|
-
minimum?: (number | null | undefined) | null;
|
|
12
|
-
maximum?: (number | null | undefined) | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.IntegerNode = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.IntegerNode = core.serialization.object({
|
|
40
|
-
type: core.serialization.stringLiteral("integer"),
|
|
41
|
-
description: core.serialization.string().optional(),
|
|
42
|
-
default: core.serialization.number().optionalNullable(),
|
|
43
|
-
enum: core.serialization.list(core.serialization.number()).optional(),
|
|
44
|
-
minimum: core.serialization.number().optionalNullable(),
|
|
45
|
-
maximum: core.serialization.number().optionalNullable(),
|
|
46
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import * as serializers from "../index.js";
|
|
4
|
-
export declare const ListNode: core.serialization.ObjectSchema<serializers.ListNode.Raw, Corti.ListNode>;
|
|
5
|
-
export declare namespace ListNode {
|
|
6
|
-
interface Raw {
|
|
7
|
-
type: "list";
|
|
8
|
-
description?: string | null;
|
|
9
|
-
items: serializers.OutputSchema.Raw;
|
|
10
|
-
itemFormat?: string | null;
|
|
11
|
-
minItems?: (number | null | undefined) | null;
|
|
12
|
-
maxItems?: (number | null | undefined) | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.ListNode = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const serializers = __importStar(require("../index.js"));
|
|
40
|
-
exports.ListNode = core.serialization.object({
|
|
41
|
-
type: core.serialization.stringLiteral("list"),
|
|
42
|
-
description: core.serialization.string().optional(),
|
|
43
|
-
items: core.serialization.lazy(() => serializers.OutputSchema),
|
|
44
|
-
itemFormat: core.serialization.string().optional(),
|
|
45
|
-
minItems: core.serialization.number().optionalNullable(),
|
|
46
|
-
maxItems: core.serialization.number().optionalNullable(),
|
|
47
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import * as serializers from "../index.js";
|
|
4
|
-
import { BoolNode } from "./BoolNode.js";
|
|
5
|
-
import { FloatNode } from "./FloatNode.js";
|
|
6
|
-
import { IntegerNode } from "./IntegerNode.js";
|
|
7
|
-
import { StringNode } from "./StringNode.js";
|
|
8
|
-
export declare const OutputSchema: core.serialization.Schema<serializers.OutputSchema.Raw, Corti.OutputSchema>;
|
|
9
|
-
export declare namespace OutputSchema {
|
|
10
|
-
type Raw = StringNode.Raw | IntegerNode.Raw | FloatNode.Raw | BoolNode.Raw | serializers.DictNode.Raw | serializers.ListNode.Raw;
|
|
11
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.OutputSchema = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const serializers = __importStar(require("../index.js"));
|
|
40
|
-
const BoolNode_js_1 = require("./BoolNode.js");
|
|
41
|
-
const FloatNode_js_1 = require("./FloatNode.js");
|
|
42
|
-
const IntegerNode_js_1 = require("./IntegerNode.js");
|
|
43
|
-
const StringNode_js_1 = require("./StringNode.js");
|
|
44
|
-
exports.OutputSchema = core.serialization.undiscriminatedUnion([
|
|
45
|
-
StringNode_js_1.StringNode,
|
|
46
|
-
IntegerNode_js_1.IntegerNode,
|
|
47
|
-
FloatNode_js_1.FloatNode,
|
|
48
|
-
BoolNode_js_1.BoolNode,
|
|
49
|
-
core.serialization.lazyObject(() => serializers.DictNode),
|
|
50
|
-
core.serialization.lazyObject(() => serializers.ListNode),
|
|
51
|
-
]);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { SectionVersion } from "./SectionVersion.js";
|
|
5
|
-
export declare const Section: core.serialization.ObjectSchema<serializers.Section.Raw, Corti.Section>;
|
|
6
|
-
export declare namespace Section {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
inheritedFromId?: (string | null | undefined) | null;
|
|
10
|
-
name: string;
|
|
11
|
-
language: string;
|
|
12
|
-
description?: string | null;
|
|
13
|
-
labels: string[];
|
|
14
|
-
publishedVersion?: SectionVersion.Raw | null;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Section = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const SectionVersion_js_1 = require("./SectionVersion.js");
|
|
40
|
-
exports.Section = core.serialization.object({
|
|
41
|
-
id: core.serialization.string(),
|
|
42
|
-
inheritedFromId: core.serialization.string().optionalNullable(),
|
|
43
|
-
name: core.serialization.string(),
|
|
44
|
-
language: core.serialization.string(),
|
|
45
|
-
description: core.serialization.string().optional(),
|
|
46
|
-
labels: core.serialization.list(core.serialization.string()),
|
|
47
|
-
publishedVersion: SectionVersion_js_1.SectionVersion.optional(),
|
|
48
|
-
createdAt: core.serialization.date(),
|
|
49
|
-
updatedAt: core.serialization.date(),
|
|
50
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const SectionInstructions: core.serialization.ObjectSchema<serializers.SectionInstructions.Raw, Corti.SectionInstructions>;
|
|
5
|
-
export declare namespace SectionInstructions {
|
|
6
|
-
interface Raw {
|
|
7
|
-
contentPrompt: string;
|
|
8
|
-
writingStylePrompt: string;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.SectionInstructions = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.SectionInstructions = core.serialization.object({
|
|
40
|
-
contentPrompt: core.serialization.string(),
|
|
41
|
-
writingStylePrompt: core.serialization.string(),
|
|
42
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import * as serializers from "../index.js";
|
|
4
|
-
import { SectionInstructions } from "./SectionInstructions.js";
|
|
5
|
-
export declare const SectionVersion: core.serialization.ObjectSchema<serializers.SectionVersion.Raw, Corti.SectionVersion>;
|
|
6
|
-
export declare namespace SectionVersion {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
versionNumber: number;
|
|
10
|
-
title: string;
|
|
11
|
-
instructions: SectionInstructions.Raw;
|
|
12
|
-
outputSchema: serializers.OutputSchema.Raw;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.SectionVersion = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const serializers = __importStar(require("../index.js"));
|
|
40
|
-
const SectionInstructions_js_1 = require("./SectionInstructions.js");
|
|
41
|
-
exports.SectionVersion = core.serialization.object({
|
|
42
|
-
id: core.serialization.string(),
|
|
43
|
-
versionNumber: core.serialization.number(),
|
|
44
|
-
title: core.serialization.string(),
|
|
45
|
-
instructions: SectionInstructions_js_1.SectionInstructions,
|
|
46
|
-
outputSchema: core.serialization.lazy(() => serializers.OutputSchema),
|
|
47
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const StatusResponse: core.serialization.ObjectSchema<serializers.StatusResponse.Raw, Corti.StatusResponse>;
|
|
5
|
-
export declare namespace StatusResponse {
|
|
6
|
-
interface Raw {
|
|
7
|
-
status: string;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.StatusResponse = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.StatusResponse = core.serialization.object({
|
|
40
|
-
status: core.serialization.string(),
|
|
41
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const StringNode: core.serialization.ObjectSchema<serializers.StringNode.Raw, Corti.StringNode>;
|
|
5
|
-
export declare namespace StringNode {
|
|
6
|
-
interface Raw {
|
|
7
|
-
type: "string";
|
|
8
|
-
description?: string | null;
|
|
9
|
-
default?: (string | null | undefined) | null;
|
|
10
|
-
enum?: string[] | null;
|
|
11
|
-
pattern?: (string | null | undefined) | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.StringNode = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.StringNode = core.serialization.object({
|
|
40
|
-
type: core.serialization.stringLiteral("string"),
|
|
41
|
-
description: core.serialization.string().optional(),
|
|
42
|
-
default: core.serialization.string().optionalNullable(),
|
|
43
|
-
enum: core.serialization.list(core.serialization.string()).optional(),
|
|
44
|
-
pattern: core.serialization.string().optionalNullable(),
|
|
45
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { TemplateVersion } from "./TemplateVersion.js";
|
|
5
|
-
export declare const Template: core.serialization.ObjectSchema<serializers.Template.Raw, Corti.Template>;
|
|
6
|
-
export declare namespace Template {
|
|
7
|
-
interface Raw {
|
|
8
|
-
id: string;
|
|
9
|
-
inheritedFromId?: (string | null | undefined) | null;
|
|
10
|
-
autoGenerated?: boolean | null;
|
|
11
|
-
name: string;
|
|
12
|
-
description?: string | null;
|
|
13
|
-
language: string;
|
|
14
|
-
labels: string[];
|
|
15
|
-
publishedVersion?: TemplateVersion.Raw | null;
|
|
16
|
-
createdAt: string;
|
|
17
|
-
updatedAt: string;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Template = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const TemplateVersion_js_1 = require("./TemplateVersion.js");
|
|
40
|
-
exports.Template = core.serialization.object({
|
|
41
|
-
id: core.serialization.string(),
|
|
42
|
-
inheritedFromId: core.serialization.string().optionalNullable(),
|
|
43
|
-
autoGenerated: core.serialization.boolean().optional(),
|
|
44
|
-
name: core.serialization.string(),
|
|
45
|
-
description: core.serialization.string().optional(),
|
|
46
|
-
language: core.serialization.string(),
|
|
47
|
-
labels: core.serialization.list(core.serialization.string()),
|
|
48
|
-
publishedVersion: TemplateVersion_js_1.TemplateVersion.optional(),
|
|
49
|
-
createdAt: core.serialization.date(),
|
|
50
|
-
updatedAt: core.serialization.date(),
|
|
51
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
export declare const TemplateInstructions: core.serialization.ObjectSchema<serializers.TemplateInstructions.Raw, Corti.TemplateInstructions>;
|
|
5
|
-
export declare namespace TemplateInstructions {
|
|
6
|
-
interface Raw {
|
|
7
|
-
prompt: string;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.TemplateInstructions = void 0;
|
|
38
|
-
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.TemplateInstructions = core.serialization.object({
|
|
40
|
-
prompt: core.serialization.string(),
|
|
41
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as Corti from "../../api/index.js";
|
|
2
|
-
import * as core from "../../core/index.js";
|
|
3
|
-
import type * as serializers from "../index.js";
|
|
4
|
-
import { Section } from "./Section.js";
|
|
5
|
-
import { TemplateInstructions } from "./TemplateInstructions.js";
|
|
6
|
-
export declare const TemplateVersion: core.serialization.ObjectSchema<serializers.TemplateVersion.Raw, Corti.TemplateVersion>;
|
|
7
|
-
export declare namespace TemplateVersion {
|
|
8
|
-
interface Raw {
|
|
9
|
-
id: string;
|
|
10
|
-
versionNumber: number;
|
|
11
|
-
instructions: TemplateInstructions.Raw;
|
|
12
|
-
sections?: Section.Raw[] | null;
|
|
13
|
-
}
|
|
14
|
-
}
|