@corti/sdk 2.0.0-templates → 2.0.0-templates.2
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.d.ts +2 -2
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +12 -12
- package/dist/cjs/Client.js +22 -22
- package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.js +14 -14
- package/dist/cjs/api/resources/{newSections → alphaSections}/client/Client.d.ts +20 -20
- package/dist/cjs/api/resources/{newSections → alphaSections}/client/Client.js +15 -15
- package/dist/cjs/api/resources/{newSections/client/requests/ListNewSectionsRequest.d.ts → alphaSections/client/requests/ListAlphaSectionsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/alphaTemplateVersions/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.js +163 -72
- package/dist/cjs/api/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +14 -0
- package/dist/cjs/api/resources/alphaTemplateVersions/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.ts +5 -0
- package/dist/cjs/api/resources/alphaTemplateVersions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/alphaTemplateVersions/types/index.js +17 -0
- package/dist/cjs/api/resources/alphaTemplates/client/Client.d.ts +76 -0
- package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/Client.js +100 -51
- package/dist/cjs/api/resources/alphaTemplates/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/alphaTemplates/client/index.js +17 -0
- package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.d.ts → alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +10 -0
- package/dist/cjs/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/alphaTemplates/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/alphaTemplates/types/CreateTemplateRequestGeneration.js +3 -0
- package/dist/cjs/api/resources/index.d.ts +9 -7
- package/dist/cjs/api/resources/index.js +10 -8
- package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.d.ts +1 -1
- package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/list.d.ts +1 -1
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/list.d.ts +8 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/list.js +40 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.js +42 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/index.js +18 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.ts +12 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.js +44 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/alphaTemplateVersions/types/index.js +17 -0
- package/dist/cjs/serialization/resources/alphaTemplates/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/alphaTemplates/client/index.js +41 -0
- package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/list.d.ts +1 -1
- package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.js +44 -0
- package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.js +3 -1
- package/dist/cjs/serialization/resources/alphaTemplates/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/alphaTemplates/index.js +18 -0
- package/dist/cjs/serialization/resources/index.d.ts +9 -6
- package/dist/cjs/serialization/resources/index.js +10 -7
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +2 -2
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +12 -12
- package/dist/esm/Client.mjs +12 -12
- package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.mjs +12 -12
- package/dist/esm/api/resources/{newSections → alphaSections}/client/Client.d.mts +20 -20
- package/dist/esm/api/resources/{newSections → alphaSections}/client/Client.mjs +13 -13
- package/dist/esm/api/resources/{newSections/client/requests/ListNewSectionsRequest.d.mts → alphaSections/client/requests/ListAlphaSectionsRequest.d.mts} +1 -1
- package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/alphaTemplateVersions/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.mjs +161 -70
- package/dist/esm/api/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +14 -0
- package/dist/esm/api/resources/alphaTemplateVersions/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.mts +5 -0
- package/dist/esm/api/resources/alphaTemplateVersions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/alphaTemplateVersions/types/index.mjs +1 -0
- package/dist/esm/api/resources/alphaTemplates/client/Client.d.mts +76 -0
- package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/Client.mjs +98 -49
- package/dist/esm/api/resources/alphaTemplates/client/index.d.mts +1 -0
- package/dist/esm/api/resources/alphaTemplates/client/index.mjs +1 -0
- package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.d.mts → alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.mts} +1 -1
- package/dist/esm/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +10 -0
- package/dist/esm/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/alphaTemplates/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/alphaTemplates/types/CreateTemplateRequestGeneration.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +9 -7
- package/dist/esm/api/resources/index.mjs +9 -7
- package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.d.mts +1 -1
- package/dist/esm/serialization/resources/{newSections → alphaSections}/client/list.d.mts +1 -1
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.d.mts +8 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.mjs +4 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +6 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/index.d.mts +2 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/index.mjs +2 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.mts +12 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.mjs +8 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/alphaTemplateVersions/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/alphaTemplates/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/alphaTemplates/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/list.d.mts +1 -1
- package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.mjs +8 -0
- package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/alphaTemplates/index.d.mts +2 -0
- package/dist/esm/serialization/resources/alphaTemplates/index.mjs +2 -0
- package/dist/esm/serialization/resources/index.d.mts +9 -6
- package/dist/esm/serialization/resources/index.mjs +9 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -4
- package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +0 -60
- package/dist/cjs/api/resources/newTemplateVersions/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +0 -68
- package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/newSections/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/newSections/index.js +0 -17
- package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -60
- package/dist/esm/api/resources/newTemplateVersions/client/index.d.mts +0 -1
- package/dist/esm/api/resources/newTemplates/client/Client.d.mts +0 -68
- package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +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/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/index.js +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.js +0 -0
- /package/dist/cjs/api/resources/{newSections/client/requests/ListNewSectionsRequest.js → alphaSections/client/requests/ListAlphaSectionsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.js +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newSections → alphaSections}/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates/client/requests/CreateTemplateRequest.js → alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.js} +0 -0
- /package/dist/cjs/api/resources/{newTemplateVersions/client → alphaTemplateVersions/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.js → alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.js} +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates/types/CreateTemplateRequestGeneration.js → alphaTemplates/client/requests/CreateTemplateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/index.js +0 -0
- /package/dist/cjs/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.d.ts +0 -0
- /package/dist/cjs/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.js +0 -0
- /package/dist/cjs/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.d.ts +0 -0
- /package/dist/cjs/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/list.js +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.js +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.js +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSections}/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSections}/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/list.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/index.js +0 -0
- /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/index.mjs +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.mjs +0 -0
- /package/dist/esm/api/resources/{newSections/client/requests/ListNewSectionsRequest.mjs → alphaSections/client/requests/ListAlphaSectionsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.mjs +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newSections → alphaSections}/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates/client/requests/CreateTemplateRequest.mjs → alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{newTemplateVersions/client → alphaTemplateVersions/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.mjs → alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.mjs} +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates/types/CreateTemplateRequestGeneration.mjs → alphaTemplates/client/requests/CreateTemplateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +0 -0
- /package/dist/esm/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.d.mts +0 -0
- /package/dist/esm/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.mjs +0 -0
- /package/dist/esm/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.d.mts +0 -0
- /package/dist/esm/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/list.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newSectionVersions → alphaSections}/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSectionVersions → alphaSections}/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/list.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/index.mjs +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.list = void 0;
|
|
40
|
+
exports.list = __importStar(require("./list.js"));
|
|
41
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -2,7 +2,7 @@ import type * as Corti from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { Template } from "../../../types/Template.js";
|
|
5
|
-
export declare const Response: core.serialization.Schema<serializers.
|
|
5
|
+
export declare const Response: core.serialization.Schema<serializers.alphaTemplates.list.Response.Raw, Corti.Template[]>;
|
|
6
6
|
export declare namespace Response {
|
|
7
7
|
type Raw = Template.Raw[];
|
|
8
8
|
}
|
package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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 UpdateTemplateRequest: core.serialization.Schema<serializers.UpdateTemplateRequest.Raw, Corti.UpdateTemplateRequest>;
|
|
5
|
+
export declare namespace UpdateTemplateRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
name?: string | null;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
language?: string | null;
|
|
10
|
+
labels?: string[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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.UpdateTemplateRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
exports.UpdateTemplateRequest = core.serialization.object({
|
|
40
|
+
name: core.serialization.string().optional(),
|
|
41
|
+
description: core.serialization.string().optional(),
|
|
42
|
+
language: core.serialization.string().optional(),
|
|
43
|
+
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
44
|
+
});
|
package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.js
RENAMED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateTemplateRequest = void 0;
|
|
3
|
+
exports.UpdateTemplateRequest = exports.CreateTemplateRequest = void 0;
|
|
4
4
|
var CreateTemplateRequest_js_1 = require("./CreateTemplateRequest.js");
|
|
5
5
|
Object.defineProperty(exports, "CreateTemplateRequest", { enumerable: true, get: function () { return CreateTemplateRequest_js_1.CreateTemplateRequest; } });
|
|
6
|
+
var UpdateTemplateRequest_js_1 = require("./UpdateTemplateRequest.js");
|
|
7
|
+
Object.defineProperty(exports, "UpdateTemplateRequest", { enumerable: true, get: function () { return UpdateTemplateRequest_js_1.UpdateTemplateRequest; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export * from "./agents/client/requests/index.js";
|
|
2
2
|
export * as agents from "./agents/index.js";
|
|
3
3
|
export * from "./agents/types/index.js";
|
|
4
|
+
export * from "./alphaSections/client/requests/index.js";
|
|
5
|
+
export * as alphaSections from "./alphaSections/index.js";
|
|
6
|
+
export * as alphaSectionVersions from "./alphaSectionVersions/index.js";
|
|
7
|
+
export * from "./alphaTemplates/client/requests/index.js";
|
|
8
|
+
export * as alphaTemplates from "./alphaTemplates/index.js";
|
|
9
|
+
export * from "./alphaTemplates/types/index.js";
|
|
10
|
+
export * from "./alphaTemplateVersions/client/requests/index.js";
|
|
11
|
+
export * as alphaTemplateVersions from "./alphaTemplateVersions/index.js";
|
|
12
|
+
export * from "./alphaTemplateVersions/types/index.js";
|
|
4
13
|
export * as auth from "./auth/index.js";
|
|
5
14
|
export * from "./auth/types/index.js";
|
|
6
15
|
export * from "./codes/client/requests/index.js";
|
|
@@ -12,12 +21,6 @@ export * as facts from "./facts/index.js";
|
|
|
12
21
|
export * from "./interactions/client/requests/index.js";
|
|
13
22
|
export * as interactions from "./interactions/index.js";
|
|
14
23
|
export * from "./interactions/types/index.js";
|
|
15
|
-
export * from "./newSections/client/requests/index.js";
|
|
16
|
-
export * as newSections from "./newSections/index.js";
|
|
17
|
-
export * as newSectionVersions from "./newSectionVersions/index.js";
|
|
18
|
-
export * from "./newTemplates/client/requests/index.js";
|
|
19
|
-
export * as newTemplates from "./newTemplates/index.js";
|
|
20
|
-
export * from "./newTemplates/types/index.js";
|
|
21
24
|
export * from "./stream/client/socket/index.js";
|
|
22
25
|
export * as stream from "./stream/index.js";
|
|
23
26
|
export * from "./transcribe/client/socket/index.js";
|
|
@@ -36,10 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.transcripts = exports.transcribe = exports.stream = exports.
|
|
39
|
+
exports.transcripts = exports.transcribe = exports.stream = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = exports.alphaTemplateVersions = exports.alphaTemplates = exports.alphaSectionVersions = exports.alphaSections = exports.agents = void 0;
|
|
40
40
|
__exportStar(require("./agents/client/requests/index.js"), exports);
|
|
41
41
|
exports.agents = __importStar(require("./agents/index.js"));
|
|
42
42
|
__exportStar(require("./agents/types/index.js"), exports);
|
|
43
|
+
__exportStar(require("./alphaSections/client/requests/index.js"), exports);
|
|
44
|
+
exports.alphaSections = __importStar(require("./alphaSections/index.js"));
|
|
45
|
+
exports.alphaSectionVersions = __importStar(require("./alphaSectionVersions/index.js"));
|
|
46
|
+
__exportStar(require("./alphaTemplates/client/requests/index.js"), exports);
|
|
47
|
+
exports.alphaTemplates = __importStar(require("./alphaTemplates/index.js"));
|
|
48
|
+
__exportStar(require("./alphaTemplates/types/index.js"), exports);
|
|
49
|
+
__exportStar(require("./alphaTemplateVersions/client/requests/index.js"), exports);
|
|
50
|
+
exports.alphaTemplateVersions = __importStar(require("./alphaTemplateVersions/index.js"));
|
|
51
|
+
__exportStar(require("./alphaTemplateVersions/types/index.js"), exports);
|
|
43
52
|
exports.auth = __importStar(require("./auth/index.js"));
|
|
44
53
|
__exportStar(require("./auth/types/index.js"), exports);
|
|
45
54
|
__exportStar(require("./codes/client/requests/index.js"), exports);
|
|
@@ -51,12 +60,6 @@ exports.facts = __importStar(require("./facts/index.js"));
|
|
|
51
60
|
__exportStar(require("./interactions/client/requests/index.js"), exports);
|
|
52
61
|
exports.interactions = __importStar(require("./interactions/index.js"));
|
|
53
62
|
__exportStar(require("./interactions/types/index.js"), exports);
|
|
54
|
-
__exportStar(require("./newSections/client/requests/index.js"), exports);
|
|
55
|
-
exports.newSections = __importStar(require("./newSections/index.js"));
|
|
56
|
-
exports.newSectionVersions = __importStar(require("./newSectionVersions/index.js"));
|
|
57
|
-
__exportStar(require("./newTemplates/client/requests/index.js"), exports);
|
|
58
|
-
exports.newTemplates = __importStar(require("./newTemplates/index.js"));
|
|
59
|
-
__exportStar(require("./newTemplates/types/index.js"), exports);
|
|
60
63
|
__exportStar(require("./stream/client/socket/index.js"), exports);
|
|
61
64
|
exports.stream = __importStar(require("./stream/index.js"));
|
|
62
65
|
__exportStar(require("./transcribe/client/socket/index.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.0-templates";
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0-templates.2";
|
package/dist/cjs/version.js
CHANGED
|
@@ -6,7 +6,7 @@ export type BaseClientOptions = {
|
|
|
6
6
|
/** Specify a custom URL to connect the client to. */
|
|
7
7
|
baseUrl?: core.Supplier<string>;
|
|
8
8
|
/** Override the Tenant-Name header */
|
|
9
|
-
tenantName
|
|
9
|
+
tenantName: core.Supplier<string>;
|
|
10
10
|
/** Additional headers to include in requests. */
|
|
11
11
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
12
12
|
/** The default maximum time to wait for a response in seconds. */
|
|
@@ -26,7 +26,7 @@ export interface BaseRequestOptions {
|
|
|
26
26
|
/** A hook to abort the request. */
|
|
27
27
|
abortSignal?: AbortSignal;
|
|
28
28
|
/** Override the Tenant-Name header */
|
|
29
|
-
tenantName?: string
|
|
29
|
+
tenantName?: string;
|
|
30
30
|
/** Additional query string parameters to include in the request. */
|
|
31
31
|
queryParams?: Record<string, unknown>;
|
|
32
32
|
/** Additional headers to include in the request. */
|
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "2.0.0-templates",
|
|
10
|
-
"User-Agent": "@corti/sdk/2.0.0-templates",
|
|
9
|
+
"X-Fern-SDK-Version": "2.0.0-templates.2",
|
|
10
|
+
"User-Agent": "@corti/sdk/2.0.0-templates.2",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AgentsClient } from "./api/resources/agents/client/Client.mjs";
|
|
2
|
+
import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.mjs";
|
|
3
|
+
import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.mjs";
|
|
4
|
+
import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.mjs";
|
|
5
|
+
import { AlphaTemplateVersionsClient } from "./api/resources/alphaTemplateVersions/client/Client.mjs";
|
|
2
6
|
import { AuthClient } from "./api/resources/auth/client/Client.mjs";
|
|
3
7
|
import { CodesClient } from "./api/resources/codes/client/Client.mjs";
|
|
4
8
|
import { DocumentsClient } from "./api/resources/documents/client/Client.mjs";
|
|
5
9
|
import { FactsClient } from "./api/resources/facts/client/Client.mjs";
|
|
6
10
|
import { InteractionsClient } from "./api/resources/interactions/client/Client.mjs";
|
|
7
|
-
import { NewSectionsClient } from "./api/resources/newSections/client/Client.mjs";
|
|
8
|
-
import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.mjs";
|
|
9
|
-
import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.mjs";
|
|
10
|
-
import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.mjs";
|
|
11
11
|
import { RecordingsClient } from "./api/resources/recordings/client/Client.mjs";
|
|
12
12
|
import { StreamClient } from "./api/resources/stream/client/Client.mjs";
|
|
13
13
|
import { TemplatesClient } from "./api/resources/templates/client/Client.mjs";
|
|
@@ -30,10 +30,10 @@ export declare class CortiClient {
|
|
|
30
30
|
protected _documents: DocumentsClient | undefined;
|
|
31
31
|
protected _templates: TemplatesClient | undefined;
|
|
32
32
|
protected _codes: CodesClient | undefined;
|
|
33
|
-
protected
|
|
34
|
-
protected
|
|
35
|
-
protected
|
|
36
|
-
protected
|
|
33
|
+
protected _alphaTemplates: AlphaTemplatesClient | undefined;
|
|
34
|
+
protected _alphaTemplateVersions: AlphaTemplateVersionsClient | undefined;
|
|
35
|
+
protected _alphaSections: AlphaSectionsClient | undefined;
|
|
36
|
+
protected _alphaSectionVersions: AlphaSectionVersionsClient | undefined;
|
|
37
37
|
protected _agents: AgentsClient | undefined;
|
|
38
38
|
protected _stream: StreamClient | undefined;
|
|
39
39
|
protected _transcribe: TranscribeClient | undefined;
|
|
@@ -46,10 +46,10 @@ export declare class CortiClient {
|
|
|
46
46
|
get documents(): DocumentsClient;
|
|
47
47
|
get templates(): TemplatesClient;
|
|
48
48
|
get codes(): CodesClient;
|
|
49
|
-
get
|
|
50
|
-
get
|
|
51
|
-
get
|
|
52
|
-
get
|
|
49
|
+
get alphaTemplates(): AlphaTemplatesClient;
|
|
50
|
+
get alphaTemplateVersions(): AlphaTemplateVersionsClient;
|
|
51
|
+
get alphaSections(): AlphaSectionsClient;
|
|
52
|
+
get alphaSectionVersions(): AlphaSectionVersionsClient;
|
|
53
53
|
get agents(): AgentsClient;
|
|
54
54
|
get stream(): StreamClient;
|
|
55
55
|
get transcribe(): TranscribeClient;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import { AgentsClient } from "./api/resources/agents/client/Client.mjs";
|
|
3
|
+
import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.mjs";
|
|
4
|
+
import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.mjs";
|
|
5
|
+
import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.mjs";
|
|
6
|
+
import { AlphaTemplateVersionsClient } from "./api/resources/alphaTemplateVersions/client/Client.mjs";
|
|
3
7
|
import { AuthClient } from "./api/resources/auth/client/Client.mjs";
|
|
4
8
|
import { CodesClient } from "./api/resources/codes/client/Client.mjs";
|
|
5
9
|
import { DocumentsClient } from "./api/resources/documents/client/Client.mjs";
|
|
6
10
|
import { FactsClient } from "./api/resources/facts/client/Client.mjs";
|
|
7
11
|
import { InteractionsClient } from "./api/resources/interactions/client/Client.mjs";
|
|
8
|
-
import { NewSectionsClient } from "./api/resources/newSections/client/Client.mjs";
|
|
9
|
-
import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.mjs";
|
|
10
|
-
import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.mjs";
|
|
11
|
-
import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.mjs";
|
|
12
12
|
import { RecordingsClient } from "./api/resources/recordings/client/Client.mjs";
|
|
13
13
|
import { StreamClient } from "./api/resources/stream/client/Client.mjs";
|
|
14
14
|
import { TemplatesClient } from "./api/resources/templates/client/Client.mjs";
|
|
@@ -51,21 +51,21 @@ export class CortiClient {
|
|
|
51
51
|
var _a;
|
|
52
52
|
return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new CodesClient(this._options)));
|
|
53
53
|
}
|
|
54
|
-
get
|
|
54
|
+
get alphaTemplates() {
|
|
55
55
|
var _a;
|
|
56
|
-
return ((_a = this.
|
|
56
|
+
return ((_a = this._alphaTemplates) !== null && _a !== void 0 ? _a : (this._alphaTemplates = new AlphaTemplatesClient(this._options)));
|
|
57
57
|
}
|
|
58
|
-
get
|
|
58
|
+
get alphaTemplateVersions() {
|
|
59
59
|
var _a;
|
|
60
|
-
return ((_a = this.
|
|
60
|
+
return ((_a = this._alphaTemplateVersions) !== null && _a !== void 0 ? _a : (this._alphaTemplateVersions = new AlphaTemplateVersionsClient(this._options)));
|
|
61
61
|
}
|
|
62
|
-
get
|
|
62
|
+
get alphaSections() {
|
|
63
63
|
var _a;
|
|
64
|
-
return ((_a = this.
|
|
64
|
+
return ((_a = this._alphaSections) !== null && _a !== void 0 ? _a : (this._alphaSections = new AlphaSectionsClient(this._options)));
|
|
65
65
|
}
|
|
66
|
-
get
|
|
66
|
+
get alphaSectionVersions() {
|
|
67
67
|
var _a;
|
|
68
|
-
return ((_a = this.
|
|
68
|
+
return ((_a = this._alphaSectionVersions) !== null && _a !== void 0 ? _a : (this._alphaSectionVersions = new AlphaSectionVersionsClient(this._options)));
|
|
69
69
|
}
|
|
70
70
|
get agents() {
|
|
71
71
|
var _a;
|
package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.mts
RENAMED
|
@@ -2,35 +2,35 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
|
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Corti from "../../../index.mjs";
|
|
5
|
-
export declare namespace
|
|
5
|
+
export declare namespace AlphaSectionVersionsClient {
|
|
6
6
|
type Options = BaseClientOptions;
|
|
7
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<
|
|
12
|
-
constructor(options:
|
|
10
|
+
export declare class AlphaSectionVersionsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AlphaSectionVersionsClient.Options>;
|
|
12
|
+
constructor(options: AlphaSectionVersionsClient.Options);
|
|
13
13
|
/**
|
|
14
14
|
* @param {string} sectionID
|
|
15
|
-
* @param {
|
|
15
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
16
|
*
|
|
17
17
|
* @throws {@link Corti.NotFoundError}
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
|
-
* await client.
|
|
20
|
+
* await client.alphaSectionVersions.list("sectionID")
|
|
21
21
|
*/
|
|
22
|
-
list(sectionID: string, requestOptions?:
|
|
22
|
+
list(sectionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
|
|
23
23
|
private __list;
|
|
24
24
|
/**
|
|
25
25
|
* @param {string} sectionID
|
|
26
26
|
* @param {Corti.SectionGeneration} request
|
|
27
|
-
* @param {
|
|
27
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
28
|
*
|
|
29
29
|
* @throws {@link Corti.BadRequestError}
|
|
30
30
|
* @throws {@link Corti.NotFoundError}
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
* await client.
|
|
33
|
+
* await client.alphaSectionVersions.create("sectionID", {
|
|
34
34
|
* title: "title",
|
|
35
35
|
* instructions: {
|
|
36
36
|
* contentPrompt: "contentPrompt",
|
|
@@ -41,44 +41,44 @@ export declare class NewSectionVersionsClient {
|
|
|
41
41
|
* }
|
|
42
42
|
* })
|
|
43
43
|
*/
|
|
44
|
-
create(sectionID: string, request: Corti.SectionGeneration, requestOptions?:
|
|
44
|
+
create(sectionID: string, request: Corti.SectionGeneration, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
|
|
45
45
|
private __create;
|
|
46
46
|
/**
|
|
47
47
|
* @param {string} sectionID
|
|
48
48
|
* @param {string} versionID
|
|
49
|
-
* @param {
|
|
49
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link Corti.NotFoundError}
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
|
-
* await client.
|
|
54
|
+
* await client.alphaSectionVersions.get("sectionID", "versionID")
|
|
55
55
|
*/
|
|
56
|
-
get(sectionID: string, versionID: string, requestOptions?:
|
|
56
|
+
get(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
|
|
57
57
|
private __get;
|
|
58
58
|
/**
|
|
59
59
|
* @param {string} sectionID
|
|
60
60
|
* @param {string} versionID
|
|
61
|
-
* @param {
|
|
61
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link Corti.NotFoundError}
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
|
-
* await client.
|
|
66
|
+
* await client.alphaSectionVersions.delete("sectionID", "versionID")
|
|
67
67
|
*/
|
|
68
|
-
delete(sectionID: string, versionID: string, requestOptions?:
|
|
68
|
+
delete(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
69
69
|
private __delete;
|
|
70
70
|
/**
|
|
71
71
|
* Sets this version as the published version of the section.
|
|
72
72
|
*
|
|
73
73
|
* @param {string} sectionID
|
|
74
74
|
* @param {string} versionID
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link Corti.NotFoundError}
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
|
-
* await client.
|
|
80
|
+
* await client.alphaSectionVersions.publish("sectionID", "versionID")
|
|
81
81
|
*/
|
|
82
|
-
publish(sectionID: string, versionID: string, requestOptions?:
|
|
82
|
+
publish(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
|
|
83
83
|
private __publish;
|
|
84
84
|
}
|
package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.mjs
RENAMED
|
@@ -15,18 +15,18 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
|
|
|
15
15
|
import * as errors from "../../../../errors/index.mjs";
|
|
16
16
|
import * as serializers from "../../../../serialization/index.mjs";
|
|
17
17
|
import * as Corti from "../../../index.mjs";
|
|
18
|
-
export class
|
|
18
|
+
export class AlphaSectionVersionsClient {
|
|
19
19
|
constructor(options) {
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* @param {string} sectionID
|
|
24
|
-
* @param {
|
|
24
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
26
26
|
* @throws {@link Corti.NotFoundError}
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
* await client.
|
|
29
|
+
* await client.alphaSectionVersions.list("sectionID")
|
|
30
30
|
*/
|
|
31
31
|
list(sectionID, requestOptions) {
|
|
32
32
|
return core.HttpResponsePromise.fromPromise(this.__list(sectionID, requestOptions));
|
|
@@ -49,7 +49,7 @@ export class NewSectionVersionsClient {
|
|
|
49
49
|
});
|
|
50
50
|
if (_response.ok) {
|
|
51
51
|
return {
|
|
52
|
-
data: serializers.
|
|
52
|
+
data: serializers.alphaSectionVersions.list.Response.parseOrThrow(_response.body, {
|
|
53
53
|
unrecognizedObjectKeys: "passthrough",
|
|
54
54
|
allowUnrecognizedUnionMembers: true,
|
|
55
55
|
allowUnrecognizedEnumValues: true,
|
|
@@ -77,13 +77,13 @@ export class NewSectionVersionsClient {
|
|
|
77
77
|
/**
|
|
78
78
|
* @param {string} sectionID
|
|
79
79
|
* @param {Corti.SectionGeneration} request
|
|
80
|
-
* @param {
|
|
80
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link Corti.BadRequestError}
|
|
83
83
|
* @throws {@link Corti.NotFoundError}
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
|
-
* await client.
|
|
86
|
+
* await client.alphaSectionVersions.create("sectionID", {
|
|
87
87
|
* title: "title",
|
|
88
88
|
* instructions: {
|
|
89
89
|
* contentPrompt: "contentPrompt",
|
|
@@ -151,12 +151,12 @@ export class NewSectionVersionsClient {
|
|
|
151
151
|
/**
|
|
152
152
|
* @param {string} sectionID
|
|
153
153
|
* @param {string} versionID
|
|
154
|
-
* @param {
|
|
154
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
155
|
*
|
|
156
156
|
* @throws {@link Corti.NotFoundError}
|
|
157
157
|
*
|
|
158
158
|
* @example
|
|
159
|
-
* await client.
|
|
159
|
+
* await client.alphaSectionVersions.get("sectionID", "versionID")
|
|
160
160
|
*/
|
|
161
161
|
get(sectionID, versionID, requestOptions) {
|
|
162
162
|
return core.HttpResponsePromise.fromPromise(this.__get(sectionID, versionID, requestOptions));
|
|
@@ -207,12 +207,12 @@ export class NewSectionVersionsClient {
|
|
|
207
207
|
/**
|
|
208
208
|
* @param {string} sectionID
|
|
209
209
|
* @param {string} versionID
|
|
210
|
-
* @param {
|
|
210
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
211
211
|
*
|
|
212
212
|
* @throws {@link Corti.NotFoundError}
|
|
213
213
|
*
|
|
214
214
|
* @example
|
|
215
|
-
* await client.
|
|
215
|
+
* await client.alphaSectionVersions.delete("sectionID", "versionID")
|
|
216
216
|
*/
|
|
217
217
|
delete(sectionID, versionID, requestOptions) {
|
|
218
218
|
return core.HttpResponsePromise.fromPromise(this.__delete(sectionID, versionID, requestOptions));
|
|
@@ -256,12 +256,12 @@ export class NewSectionVersionsClient {
|
|
|
256
256
|
*
|
|
257
257
|
* @param {string} sectionID
|
|
258
258
|
* @param {string} versionID
|
|
259
|
-
* @param {
|
|
259
|
+
* @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
260
260
|
*
|
|
261
261
|
* @throws {@link Corti.NotFoundError}
|
|
262
262
|
*
|
|
263
263
|
* @example
|
|
264
|
-
* await client.
|
|
264
|
+
* await client.alphaSectionVersions.publish("sectionID", "versionID")
|
|
265
265
|
*/
|
|
266
266
|
publish(sectionID, versionID, requestOptions) {
|
|
267
267
|
return core.HttpResponsePromise.fromPromise(this.__publish(sectionID, versionID, requestOptions));
|