@corti/sdk 2.0.0-templates → 2.0.0-templates.1
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 +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 +60 -0
- package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.js +13 -13
- package/dist/cjs/api/resources/alphaTemplates/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/Client.js +15 -15
- 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/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.d.ts +7 -7
- package/dist/cjs/api/resources/index.js +8 -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/{newTemplates → alphaTemplates}/client/list.d.ts +1 -1
- package/dist/cjs/serialization/resources/index.d.ts +6 -6
- package/dist/cjs/serialization/resources/index.js +7 -7
- 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 +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 +60 -0
- package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.mjs +11 -11
- package/dist/esm/api/resources/alphaTemplates/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/Client.mjs +13 -13
- 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/index.d.mts +2 -0
- package/dist/esm/api/resources/index.d.mts +7 -7
- package/dist/esm/api/resources/index.mjs +7 -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/{newTemplates → alphaTemplates}/client/list.d.mts +1 -1
- package/dist/esm/serialization/resources/index.d.mts +6 -6
- package/dist/esm/serialization/resources/index.mjs +6 -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/newTemplates/client/Client.d.ts +0 -68
- package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -2
- package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -60
- 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/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/{newTemplateVersions → alphaTemplateVersions}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.js → alphaTemplates/client/requests/ListAlphaTemplatesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{newTemplates → 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/CreateTemplateRequestGeneration.js +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/serialization/resources/{newSectionVersions → alphaSectionVersions}/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSectionVersions → 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/{newSections → alphaSections}/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newSections → alphaSections}/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/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}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.js +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/index.d.ts +0 -0
- /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/index.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/{newTemplateVersions → alphaTemplateVersions}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.mjs → alphaTemplates/client/requests/ListAlphaTemplatesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{newTemplates → 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/CreateTemplateRequestGeneration.mjs +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/serialization/resources/{newSectionVersions → alphaSectionVersions}/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSectionVersions → 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/{newSections → alphaSections}/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newSections → alphaSections}/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/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}/client/requests/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/index.d.mts +0 -0
- /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/index.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
package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.js
RENAMED
|
@@ -43,22 +43,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.AlphaTemplateVersionsClient = void 0;
|
|
47
47
|
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
48
|
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
49
|
const core = __importStar(require("../../../../core/index.js"));
|
|
50
50
|
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
51
51
|
const errors = __importStar(require("../../../../errors/index.js"));
|
|
52
|
-
class
|
|
52
|
+
class AlphaTemplateVersionsClient {
|
|
53
53
|
constructor(options) {
|
|
54
54
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* @param {string} templateId
|
|
58
|
-
* @param {
|
|
58
|
+
* @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
|
-
* await client.
|
|
61
|
+
* await client.alphaTemplateVersions.list("templateId")
|
|
62
62
|
*/
|
|
63
63
|
list(templateId, requestOptions) {
|
|
64
64
|
return core.HttpResponsePromise.fromPromise(this.__list(templateId, requestOptions));
|
|
@@ -94,10 +94,10 @@ class NewTemplateVersionsClient {
|
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* @param {string} templateId
|
|
97
|
-
* @param {
|
|
97
|
+
* @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
|
-
* await client.
|
|
100
|
+
* await client.alphaTemplateVersions.create("templateId")
|
|
101
101
|
*/
|
|
102
102
|
create(templateId, requestOptions) {
|
|
103
103
|
return core.HttpResponsePromise.fromPromise(this.__create(templateId, requestOptions));
|
|
@@ -134,10 +134,10 @@ class NewTemplateVersionsClient {
|
|
|
134
134
|
/**
|
|
135
135
|
* @param {string} templateId
|
|
136
136
|
* @param {string} versionID
|
|
137
|
-
* @param {
|
|
137
|
+
* @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
|
-
* await client.
|
|
140
|
+
* await client.alphaTemplateVersions.get("templateId", "versionID")
|
|
141
141
|
*/
|
|
142
142
|
get(templateId, versionID, requestOptions) {
|
|
143
143
|
return core.HttpResponsePromise.fromPromise(this.__get(templateId, versionID, requestOptions));
|
|
@@ -174,10 +174,10 @@ class NewTemplateVersionsClient {
|
|
|
174
174
|
/**
|
|
175
175
|
* @param {string} templateId
|
|
176
176
|
* @param {string} versionID
|
|
177
|
-
* @param {
|
|
177
|
+
* @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
|
-
* await client.
|
|
180
|
+
* await client.alphaTemplateVersions.delete("templateId", "versionID")
|
|
181
181
|
*/
|
|
182
182
|
delete(templateId, versionID, requestOptions) {
|
|
183
183
|
return core.HttpResponsePromise.fromPromise(this.__delete(templateId, versionID, requestOptions));
|
|
@@ -214,10 +214,10 @@ class NewTemplateVersionsClient {
|
|
|
214
214
|
/**
|
|
215
215
|
* @param {string} templateId
|
|
216
216
|
* @param {string} versionID
|
|
217
|
-
* @param {
|
|
217
|
+
* @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
|
-
* await client.
|
|
220
|
+
* await client.alphaTemplateVersions.publish("templateId", "versionID")
|
|
221
221
|
*/
|
|
222
222
|
publish(templateId, versionID, requestOptions) {
|
|
223
223
|
return core.HttpResponsePromise.fromPromise(this.__publish(templateId, versionID, requestOptions));
|
|
@@ -252,4 +252,4 @@ class NewTemplateVersionsClient {
|
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
exports.
|
|
255
|
+
exports.AlphaTemplateVersionsClient = AlphaTemplateVersionsClient;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Corti from "../../../index.js";
|
|
5
|
+
export declare namespace AlphaTemplatesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class AlphaTemplatesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AlphaTemplatesClient.Options>;
|
|
12
|
+
constructor(options: AlphaTemplatesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {Corti.ListAlphaTemplatesRequest} request
|
|
15
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* await client.alphaTemplates.list()
|
|
19
|
+
*/
|
|
20
|
+
list(request?: Corti.ListAlphaTemplatesRequest, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.Template[]>;
|
|
21
|
+
private __list;
|
|
22
|
+
/**
|
|
23
|
+
* @param {Corti.CreateTemplateRequest} request
|
|
24
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
|
+
*
|
|
26
|
+
* @throws {@link Corti.BadRequestError}
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.alphaTemplates.create({
|
|
30
|
+
* name: "name",
|
|
31
|
+
* language: "language",
|
|
32
|
+
* generation: {
|
|
33
|
+
* instructions: {
|
|
34
|
+
* prompt: "prompt"
|
|
35
|
+
* }
|
|
36
|
+
* }
|
|
37
|
+
* })
|
|
38
|
+
*/
|
|
39
|
+
create(request: Corti.CreateTemplateRequest, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.Template>;
|
|
40
|
+
private __create;
|
|
41
|
+
/**
|
|
42
|
+
* @param {string} templateId
|
|
43
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.alphaTemplates.get("templateId")
|
|
47
|
+
*/
|
|
48
|
+
get(templateId: string, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
49
|
+
private __get;
|
|
50
|
+
/**
|
|
51
|
+
* @param {string} templateId
|
|
52
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* await client.alphaTemplates.delete("templateId")
|
|
56
|
+
*/
|
|
57
|
+
delete(templateId: string, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
58
|
+
private __delete;
|
|
59
|
+
/**
|
|
60
|
+
* @param {string} templateId
|
|
61
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* await client.alphaTemplates.update("templateId")
|
|
65
|
+
*/
|
|
66
|
+
update(templateId: string, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
67
|
+
private __update;
|
|
68
|
+
}
|
|
@@ -43,7 +43,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.AlphaTemplatesClient = void 0;
|
|
47
47
|
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
48
|
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
49
|
const core = __importStar(require("../../../../core/index.js"));
|
|
@@ -51,16 +51,16 @@ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatu
|
|
|
51
51
|
const errors = __importStar(require("../../../../errors/index.js"));
|
|
52
52
|
const serializers = __importStar(require("../../../../serialization/index.js"));
|
|
53
53
|
const Corti = __importStar(require("../../../index.js"));
|
|
54
|
-
class
|
|
54
|
+
class AlphaTemplatesClient {
|
|
55
55
|
constructor(options) {
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* @param {Corti.
|
|
60
|
-
* @param {
|
|
59
|
+
* @param {Corti.ListAlphaTemplatesRequest} request
|
|
60
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
|
-
* await client.
|
|
63
|
+
* await client.alphaTemplates.list()
|
|
64
64
|
*/
|
|
65
65
|
list(request = {}, requestOptions) {
|
|
66
66
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -89,7 +89,7 @@ class NewTemplatesClient {
|
|
|
89
89
|
});
|
|
90
90
|
if (_response.ok) {
|
|
91
91
|
return {
|
|
92
|
-
data: serializers.
|
|
92
|
+
data: serializers.alphaTemplates.list.Response.parseOrThrow(_response.body, {
|
|
93
93
|
unrecognizedObjectKeys: "passthrough",
|
|
94
94
|
allowUnrecognizedUnionMembers: true,
|
|
95
95
|
allowUnrecognizedEnumValues: true,
|
|
@@ -111,12 +111,12 @@ class NewTemplatesClient {
|
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* @param {Corti.CreateTemplateRequest} request
|
|
114
|
-
* @param {
|
|
114
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
115
115
|
*
|
|
116
116
|
* @throws {@link Corti.BadRequestError}
|
|
117
117
|
*
|
|
118
118
|
* @example
|
|
119
|
-
* await client.
|
|
119
|
+
* await client.alphaTemplates.create({
|
|
120
120
|
* name: "name",
|
|
121
121
|
* language: "language",
|
|
122
122
|
* generation: {
|
|
@@ -180,10 +180,10 @@ class NewTemplatesClient {
|
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* @param {string} templateId
|
|
183
|
-
* @param {
|
|
183
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
184
184
|
*
|
|
185
185
|
* @example
|
|
186
|
-
* await client.
|
|
186
|
+
* await client.alphaTemplates.get("templateId")
|
|
187
187
|
*/
|
|
188
188
|
get(templateId, requestOptions) {
|
|
189
189
|
return core.HttpResponsePromise.fromPromise(this.__get(templateId, requestOptions));
|
|
@@ -219,10 +219,10 @@ class NewTemplatesClient {
|
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
221
|
* @param {string} templateId
|
|
222
|
-
* @param {
|
|
222
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
223
223
|
*
|
|
224
224
|
* @example
|
|
225
|
-
* await client.
|
|
225
|
+
* await client.alphaTemplates.delete("templateId")
|
|
226
226
|
*/
|
|
227
227
|
delete(templateId, requestOptions) {
|
|
228
228
|
return core.HttpResponsePromise.fromPromise(this.__delete(templateId, requestOptions));
|
|
@@ -258,10 +258,10 @@ class NewTemplatesClient {
|
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
260
|
* @param {string} templateId
|
|
261
|
-
* @param {
|
|
261
|
+
* @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
262
262
|
*
|
|
263
263
|
* @example
|
|
264
|
-
* await client.
|
|
264
|
+
* await client.alphaTemplates.update("templateId")
|
|
265
265
|
*/
|
|
266
266
|
update(templateId, requestOptions) {
|
|
267
267
|
return core.HttpResponsePromise.fromPromise(this.__update(templateId, requestOptions));
|
|
@@ -296,4 +296,4 @@ class NewTemplatesClient {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
exports.
|
|
299
|
+
exports.AlphaTemplatesClient = AlphaTemplatesClient;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {}
|
|
4
4
|
*/
|
|
5
|
-
export interface
|
|
5
|
+
export interface ListAlphaTemplatesRequest {
|
|
6
6
|
/** Filter templates by language (BCP 47 tag). Repeatable. */
|
|
7
7
|
lang?: string | string[];
|
|
8
8
|
/** Filter templates by label. Repeatable; matches templates that have any of the given labels. */
|
|
@@ -1,6 +1,13 @@
|
|
|
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 * as alphaTemplateVersions from "./alphaTemplateVersions/index.js";
|
|
4
11
|
export * as auth from "./auth/index.js";
|
|
5
12
|
export * from "./auth/types/index.js";
|
|
6
13
|
export * from "./codes/client/requests/index.js";
|
|
@@ -12,13 +19,6 @@ export * as facts from "./facts/index.js";
|
|
|
12
19
|
export * from "./interactions/client/requests/index.js";
|
|
13
20
|
export * as interactions from "./interactions/index.js";
|
|
14
21
|
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
|
-
export * as newTemplateVersions from "./newTemplateVersions/index.js";
|
|
22
22
|
export * as recordings from "./recordings/index.js";
|
|
23
23
|
export * as stream from "./stream/index.js";
|
|
24
24
|
export * from "./templates/client/requests/index.js";
|
|
@@ -36,10 +36,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = exports.
|
|
39
|
+
exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = 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
|
+
exports.alphaTemplateVersions = __importStar(require("./alphaTemplateVersions/index.js"));
|
|
43
50
|
exports.auth = __importStar(require("./auth/index.js"));
|
|
44
51
|
__exportStar(require("./auth/types/index.js"), exports);
|
|
45
52
|
__exportStar(require("./codes/client/requests/index.js"), exports);
|
|
@@ -51,13 +58,6 @@ exports.facts = __importStar(require("./facts/index.js"));
|
|
|
51
58
|
__exportStar(require("./interactions/client/requests/index.js"), exports);
|
|
52
59
|
exports.interactions = __importStar(require("./interactions/index.js"));
|
|
53
60
|
__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
|
-
exports.newTemplateVersions = __importStar(require("./newTemplateVersions/index.js"));
|
|
61
61
|
exports.recordings = __importStar(require("./recordings/index.js"));
|
|
62
62
|
exports.stream = __importStar(require("./stream/index.js"));
|
|
63
63
|
__exportStar(require("./templates/client/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 { SectionVersion } from "../../../types/SectionVersion.js";
|
|
5
|
-
export declare const Response: core.serialization.Schema<serializers.
|
|
5
|
+
export declare const Response: core.serialization.Schema<serializers.alphaSectionVersions.list.Response.Raw, Corti.SectionVersion[]>;
|
|
6
6
|
export declare namespace Response {
|
|
7
7
|
type Raw = SectionVersion.Raw[];
|
|
8
8
|
}
|
|
@@ -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 { Section } from "../../../types/Section.js";
|
|
5
|
-
export declare const Response: core.serialization.Schema<serializers.
|
|
5
|
+
export declare const Response: core.serialization.Schema<serializers.alphaSections.list.Response.Raw, Corti.Section[]>;
|
|
6
6
|
export declare namespace Response {
|
|
7
7
|
type Raw = Section.Raw[];
|
|
8
8
|
}
|
|
@@ -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
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
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";
|
|
4
10
|
export * as auth from "./auth/index.js";
|
|
5
11
|
export * from "./auth/types/index.js";
|
|
6
12
|
export * from "./codes/client/requests/index.js";
|
|
@@ -12,12 +18,6 @@ export * as facts from "./facts/index.js";
|
|
|
12
18
|
export * from "./interactions/client/requests/index.js";
|
|
13
19
|
export * as interactions from "./interactions/index.js";
|
|
14
20
|
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
21
|
export * from "./stream/client/socket/index.js";
|
|
22
22
|
export * as stream from "./stream/index.js";
|
|
23
23
|
export * from "./transcribe/client/socket/index.js";
|
|
@@ -36,10 +36,16 @@ 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.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);
|
|
43
49
|
exports.auth = __importStar(require("./auth/index.js"));
|
|
44
50
|
__exportStar(require("./auth/types/index.js"), exports);
|
|
45
51
|
__exportStar(require("./codes/client/requests/index.js"), exports);
|
|
@@ -51,12 +57,6 @@ exports.facts = __importStar(require("./facts/index.js"));
|
|
|
51
57
|
__exportStar(require("./interactions/client/requests/index.js"), exports);
|
|
52
58
|
exports.interactions = __importStar(require("./interactions/index.js"));
|
|
53
59
|
__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
60
|
__exportStar(require("./stream/client/socket/index.js"), exports);
|
|
61
61
|
exports.stream = __importStar(require("./stream/index.js"));
|
|
62
62
|
__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.1";
|
package/dist/cjs/version.js
CHANGED
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.1",
|
|
10
|
+
"User-Agent": "@corti/sdk/2.0.0-templates.1",
|
|
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 _alphaSections: AlphaSectionsClient | undefined;
|
|
35
|
+
protected _alphaSectionVersions: AlphaSectionVersionsClient | undefined;
|
|
36
|
+
protected _alphaTemplateVersions: AlphaTemplateVersionsClient | 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 alphaSections(): AlphaSectionsClient;
|
|
51
|
+
get alphaSectionVersions(): AlphaSectionVersionsClient;
|
|
52
|
+
get alphaTemplateVersions(): AlphaTemplateVersionsClient;
|
|
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 alphaSections() {
|
|
59
59
|
var _a;
|
|
60
|
-
return ((_a = this.
|
|
60
|
+
return ((_a = this._alphaSections) !== null && _a !== void 0 ? _a : (this._alphaSections = new AlphaSectionsClient(this._options)));
|
|
61
61
|
}
|
|
62
|
-
get
|
|
62
|
+
get alphaSectionVersions() {
|
|
63
63
|
var _a;
|
|
64
|
-
return ((_a = this.
|
|
64
|
+
return ((_a = this._alphaSectionVersions) !== null && _a !== void 0 ? _a : (this._alphaSectionVersions = new AlphaSectionVersionsClient(this._options)));
|
|
65
65
|
}
|
|
66
|
-
get
|
|
66
|
+
get alphaTemplateVersions() {
|
|
67
67
|
var _a;
|
|
68
|
-
return ((_a = this.
|
|
68
|
+
return ((_a = this._alphaTemplateVersions) !== null && _a !== void 0 ? _a : (this._alphaTemplateVersions = new AlphaTemplateVersionsClient(this._options)));
|
|
69
69
|
}
|
|
70
70
|
get agents() {
|
|
71
71
|
var _a;
|