@corti/sdk 1.2.0-templates-beta.2 → 1.2.0-templates-beta.3

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.
Files changed (107) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +6 -42
  3. package/dist/cjs/Client.js +14 -217
  4. package/dist/cjs/api/resources/index.d.ts +3 -4
  5. package/dist/cjs/api/resources/index.js +4 -5
  6. package/dist/cjs/api/resources/{sectionVersions → newSectionVersions}/client/Client.d.ts +19 -19
  7. package/dist/cjs/api/resources/{sectionVersions → newSectionVersions}/client/Client.js +14 -14
  8. package/dist/cjs/api/resources/newSections/client/Client.d.ts +38 -0
  9. package/dist/cjs/api/resources/newSections/client/Client.js +177 -0
  10. package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/Client.d.ts +19 -19
  11. package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/Client.js +14 -14
  12. package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +38 -0
  13. package/dist/cjs/api/resources/newTemplates/client/Client.js +177 -0
  14. package/dist/cjs/api/resources/templates/client/Client.d.ts +0 -22
  15. package/dist/cjs/api/resources/templates/client/Client.js +0 -101
  16. package/dist/cjs/serialization/resources/index.d.ts +3 -3
  17. package/dist/cjs/serialization/resources/index.js +4 -4
  18. package/dist/cjs/serialization/resources/{sectionVersions → newSectionVersions}/client/list.d.ts +1 -1
  19. package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/list.d.ts +1 -1
  20. package/dist/cjs/version.d.ts +1 -1
  21. package/dist/cjs/version.js +1 -1
  22. package/dist/esm/BaseClient.mjs +2 -2
  23. package/dist/esm/Client.d.mts +6 -42
  24. package/dist/esm/Client.mjs +6 -176
  25. package/dist/esm/api/resources/index.d.mts +3 -4
  26. package/dist/esm/api/resources/index.mjs +3 -4
  27. package/dist/esm/api/resources/{sectionVersions → newSectionVersions}/client/Client.d.mts +19 -19
  28. package/dist/esm/api/resources/{sectionVersions → newSectionVersions}/client/Client.mjs +12 -12
  29. package/dist/esm/api/resources/newSections/client/Client.d.mts +38 -0
  30. package/dist/esm/api/resources/newSections/client/Client.mjs +177 -0
  31. package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/Client.d.mts +19 -19
  32. package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/Client.mjs +12 -12
  33. package/dist/esm/api/resources/newTemplates/client/Client.d.mts +38 -0
  34. package/dist/esm/api/resources/newTemplates/client/Client.mjs +177 -0
  35. package/dist/esm/api/resources/templates/client/Client.d.mts +0 -22
  36. package/dist/esm/api/resources/templates/client/Client.mjs +0 -101
  37. package/dist/esm/serialization/resources/index.d.mts +3 -3
  38. package/dist/esm/serialization/resources/index.mjs +3 -3
  39. package/dist/esm/serialization/resources/{sectionVersions → newSectionVersions}/client/list.d.mts +1 -1
  40. package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/list.d.mts +1 -1
  41. package/dist/esm/version.d.mts +1 -1
  42. package/dist/esm/version.mjs +1 -1
  43. package/package.json +1 -1
  44. package/dist/cjs/api/resources/sections/client/Client.d.ts +0 -35
  45. package/dist/cjs/api/resources/sections/client/Client.js +0 -160
  46. package/dist/cjs/api/resources/sections/client/index.d.ts +0 -1
  47. package/dist/cjs/api/resources/templateVersions/client/requests/index.js +0 -2
  48. package/dist/cjs/serialization/resources/templateVersions/index.d.ts +0 -1
  49. package/dist/cjs/serialization/resources/templateVersions/index.js +0 -17
  50. package/dist/esm/api/resources/sections/client/Client.d.mts +0 -35
  51. package/dist/esm/api/resources/sections/client/Client.mjs +0 -123
  52. package/dist/esm/api/resources/sections/client/index.d.mts +0 -1
  53. package/dist/esm/api/resources/templateVersions/client/requests/index.mjs +0 -1
  54. package/dist/esm/serialization/resources/templateVersions/index.d.mts +0 -1
  55. package/dist/esm/serialization/resources/templateVersions/index.mjs +0 -1
  56. /package/dist/cjs/api/resources/{sectionVersions → newSectionVersions}/client/index.d.ts +0 -0
  57. /package/dist/cjs/api/resources/{sectionVersions → newSectionVersions}/client/index.js +0 -0
  58. /package/dist/cjs/api/resources/{sectionVersions → newSectionVersions}/index.d.ts +0 -0
  59. /package/dist/cjs/api/resources/{sectionVersions → newSectionVersions}/index.js +0 -0
  60. /package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/index.d.ts +0 -0
  61. /package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/index.js +0 -0
  62. /package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.d.ts +0 -0
  63. /package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.js +0 -0
  64. /package/dist/cjs/api/resources/{templateVersions → newTemplateVersions}/client/requests/index.d.ts +0 -0
  65. /package/dist/cjs/api/resources/{sections/client → newTemplateVersions/client/requests}/index.js +0 -0
  66. /package/dist/cjs/api/resources/{sections → newTemplateVersions}/index.d.ts +0 -0
  67. /package/dist/cjs/api/resources/{sections → newTemplateVersions}/index.js +0 -0
  68. /package/dist/cjs/serialization/resources/{sectionVersions → newSectionVersions}/client/index.d.ts +0 -0
  69. /package/dist/cjs/serialization/resources/{sectionVersions → newSectionVersions}/client/index.js +0 -0
  70. /package/dist/cjs/serialization/resources/{sectionVersions → newSectionVersions}/client/list.js +0 -0
  71. /package/dist/cjs/{api/resources/templateVersions → serialization/resources/newSectionVersions}/index.d.ts +0 -0
  72. /package/dist/cjs/{api/resources/templateVersions → serialization/resources/newSectionVersions}/index.js +0 -0
  73. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/index.d.ts +0 -0
  74. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/index.js +0 -0
  75. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/list.js +0 -0
  76. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.d.ts +0 -0
  77. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.js +0 -0
  78. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/index.d.ts +0 -0
  79. /package/dist/cjs/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/index.js +0 -0
  80. /package/dist/cjs/serialization/resources/{sectionVersions → newTemplateVersions}/index.d.ts +0 -0
  81. /package/dist/cjs/serialization/resources/{sectionVersions → newTemplateVersions}/index.js +0 -0
  82. /package/dist/esm/api/resources/{sectionVersions → newSectionVersions}/client/index.d.mts +0 -0
  83. /package/dist/esm/api/resources/{sectionVersions → newSectionVersions}/client/index.mjs +0 -0
  84. /package/dist/esm/api/resources/{sectionVersions → newSectionVersions}/index.d.mts +0 -0
  85. /package/dist/esm/api/resources/{sectionVersions → newSectionVersions}/index.mjs +0 -0
  86. /package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/index.d.mts +0 -0
  87. /package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/index.mjs +0 -0
  88. /package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.d.mts +0 -0
  89. /package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.mjs +0 -0
  90. /package/dist/esm/api/resources/{templateVersions → newTemplateVersions}/client/requests/index.d.mts +0 -0
  91. /package/dist/esm/api/resources/{sections/client → newTemplateVersions/client/requests}/index.mjs +0 -0
  92. /package/dist/esm/api/resources/{sections → newTemplateVersions}/index.d.mts +0 -0
  93. /package/dist/esm/api/resources/{sections → newTemplateVersions}/index.mjs +0 -0
  94. /package/dist/esm/serialization/resources/{sectionVersions → newSectionVersions}/client/index.d.mts +0 -0
  95. /package/dist/esm/serialization/resources/{sectionVersions → newSectionVersions}/client/index.mjs +0 -0
  96. /package/dist/esm/serialization/resources/{sectionVersions → newSectionVersions}/client/list.mjs +0 -0
  97. /package/dist/esm/{api/resources/templateVersions → serialization/resources/newSectionVersions}/index.d.mts +0 -0
  98. /package/dist/esm/{api/resources/templateVersions → serialization/resources/newSectionVersions}/index.mjs +0 -0
  99. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/index.d.mts +0 -0
  100. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/index.mjs +0 -0
  101. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/list.mjs +0 -0
  102. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.d.mts +0 -0
  103. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/CreateTemplateVersionRequest.mjs +0 -0
  104. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/index.d.mts +0 -0
  105. /package/dist/esm/serialization/resources/{templateVersions → newTemplateVersions}/client/requests/index.mjs +0 -0
  106. /package/dist/esm/serialization/resources/{sectionVersions → newTemplateVersions}/index.d.mts +0 -0
  107. /package/dist/esm/serialization/resources/{sectionVersions → newTemplateVersions}/index.mjs +0 -0
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@corti/sdk",
46
- "X-Fern-SDK-Version": "1.2.0-templates-beta.2",
47
- "User-Agent": "@corti/sdk/1.2.0-templates-beta.2",
46
+ "X-Fern-SDK-Version": "1.2.0-templates-beta.3",
47
+ "User-Agent": "@corti/sdk/1.2.0-templates-beta.3",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
@@ -5,18 +5,16 @@ import { DocumentsClient } from "./api/resources/documents/client/Client.js";
5
5
  import { FactsClient } from "./api/resources/facts/client/Client.js";
6
6
  import { InteractionsClient } from "./api/resources/interactions/client/Client.js";
7
7
  import { NewSectionsClient } from "./api/resources/newSections/client/Client.js";
8
+ import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.js";
8
9
  import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.js";
10
+ import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.js";
9
11
  import { RecordingsClient } from "./api/resources/recordings/client/Client.js";
10
- import { SectionsClient } from "./api/resources/sections/client/Client.js";
11
- import { SectionVersionsClient } from "./api/resources/sectionVersions/client/Client.js";
12
12
  import { StreamClient } from "./api/resources/stream/client/Client.js";
13
13
  import { TemplatesClient } from "./api/resources/templates/client/Client.js";
14
- import { TemplateVersionsClient } from "./api/resources/templateVersions/client/Client.js";
15
14
  import { TranscribeClient } from "./api/resources/transcribe/client/Client.js";
16
15
  import { TranscriptsClient } from "./api/resources/transcripts/client/Client.js";
17
16
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
18
17
  import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
19
- import * as core from "./core/index.js";
20
18
  export declare namespace CortiClient {
21
19
  type Options = BaseClientOptions;
22
20
  interface RequestOptions extends BaseRequestOptions {
@@ -33,10 +31,9 @@ export declare class CortiClient {
33
31
  protected _templates: TemplatesClient | undefined;
34
32
  protected _codes: CodesClient | undefined;
35
33
  protected _newTemplates: NewTemplatesClient | undefined;
36
- protected _templateVersions: TemplateVersionsClient | undefined;
37
- protected _sections: SectionsClient | undefined;
34
+ protected _newTemplateVersions: NewTemplateVersionsClient | undefined;
38
35
  protected _newSections: NewSectionsClient | undefined;
39
- protected _sectionVersions: SectionVersionsClient | undefined;
36
+ protected _newSectionVersions: NewSectionVersionsClient | undefined;
40
37
  protected _agents: AgentsClient | undefined;
41
38
  protected _stream: StreamClient | undefined;
42
39
  protected _transcribe: TranscribeClient | undefined;
@@ -50,43 +47,10 @@ export declare class CortiClient {
50
47
  get templates(): TemplatesClient;
51
48
  get codes(): CodesClient;
52
49
  get newTemplates(): NewTemplatesClient;
53
- get templateVersions(): TemplateVersionsClient;
54
- get sections(): SectionsClient;
50
+ get newTemplateVersions(): NewTemplateVersionsClient;
55
51
  get newSections(): NewSectionsClient;
56
- get sectionVersions(): SectionVersionsClient;
52
+ get newSectionVersions(): NewSectionVersionsClient;
57
53
  get agents(): AgentsClient;
58
54
  get stream(): StreamClient;
59
55
  get transcribe(): TranscribeClient;
60
- /**
61
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
62
- *
63
- * @example
64
- * await client.getNewTemplates()
65
- */
66
- getNewTemplates(requestOptions?: CortiClient.RequestOptions): core.HttpResponsePromise<void>;
67
- private __getNewTemplates;
68
- /**
69
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
70
- *
71
- * @example
72
- * await client.postNewTemplates()
73
- */
74
- postNewTemplates(requestOptions?: CortiClient.RequestOptions): core.HttpResponsePromise<void>;
75
- private __postNewTemplates;
76
- /**
77
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
78
- *
79
- * @example
80
- * await client.getNewSections()
81
- */
82
- getNewSections(requestOptions?: CortiClient.RequestOptions): core.HttpResponsePromise<void>;
83
- private __getNewSections;
84
- /**
85
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
86
- *
87
- * @example
88
- * await client.postNewSections()
89
- */
90
- postNewSections(requestOptions?: CortiClient.RequestOptions): core.HttpResponsePromise<void>;
91
- private __postNewSections;
92
56
  }
@@ -1,47 +1,5 @@
1
1
  "use strict";
2
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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
3
  Object.defineProperty(exports, "__esModule", { value: true });
46
4
  exports.CortiClient = void 0;
47
5
  const Client_js_1 = require("./api/resources/agents/client/Client.js");
@@ -51,20 +9,15 @@ const Client_js_4 = require("./api/resources/documents/client/Client.js");
51
9
  const Client_js_5 = require("./api/resources/facts/client/Client.js");
52
10
  const Client_js_6 = require("./api/resources/interactions/client/Client.js");
53
11
  const Client_js_7 = require("./api/resources/newSections/client/Client.js");
54
- const Client_js_8 = require("./api/resources/newTemplates/client/Client.js");
55
- const Client_js_9 = require("./api/resources/recordings/client/Client.js");
56
- const Client_js_10 = require("./api/resources/sections/client/Client.js");
57
- const Client_js_11 = require("./api/resources/sectionVersions/client/Client.js");
12
+ const Client_js_8 = require("./api/resources/newSectionVersions/client/Client.js");
13
+ const Client_js_9 = require("./api/resources/newTemplates/client/Client.js");
14
+ const Client_js_10 = require("./api/resources/newTemplateVersions/client/Client.js");
15
+ const Client_js_11 = require("./api/resources/recordings/client/Client.js");
58
16
  const Client_js_12 = require("./api/resources/stream/client/Client.js");
59
17
  const Client_js_13 = require("./api/resources/templates/client/Client.js");
60
- const Client_js_14 = require("./api/resources/templateVersions/client/Client.js");
61
- const Client_js_15 = require("./api/resources/transcribe/client/Client.js");
62
- const Client_js_16 = require("./api/resources/transcripts/client/Client.js");
18
+ const Client_js_14 = require("./api/resources/transcribe/client/Client.js");
19
+ const Client_js_15 = require("./api/resources/transcripts/client/Client.js");
63
20
  const BaseClient_js_1 = require("./BaseClient.js");
64
- const headers_js_1 = require("./core/headers.js");
65
- const core = __importStar(require("./core/index.js"));
66
- const handleNonStatusCodeError_js_1 = require("./errors/handleNonStatusCodeError.js");
67
- const errors = __importStar(require("./errors/index.js"));
68
21
  class CortiClient {
69
22
  constructor(options) {
70
23
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
@@ -79,11 +32,11 @@ class CortiClient {
79
32
  }
80
33
  get recordings() {
81
34
  var _a;
82
- return ((_a = this._recordings) !== null && _a !== void 0 ? _a : (this._recordings = new Client_js_9.RecordingsClient(this._options)));
35
+ return ((_a = this._recordings) !== null && _a !== void 0 ? _a : (this._recordings = new Client_js_11.RecordingsClient(this._options)));
83
36
  }
84
37
  get transcripts() {
85
38
  var _a;
86
- return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new Client_js_16.TranscriptsClient(this._options)));
39
+ return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new Client_js_15.TranscriptsClient(this._options)));
87
40
  }
88
41
  get facts() {
89
42
  var _a;
@@ -103,23 +56,19 @@ class CortiClient {
103
56
  }
104
57
  get newTemplates() {
105
58
  var _a;
106
- return ((_a = this._newTemplates) !== null && _a !== void 0 ? _a : (this._newTemplates = new Client_js_8.NewTemplatesClient(this._options)));
107
- }
108
- get templateVersions() {
109
- var _a;
110
- return ((_a = this._templateVersions) !== null && _a !== void 0 ? _a : (this._templateVersions = new Client_js_14.TemplateVersionsClient(this._options)));
59
+ return ((_a = this._newTemplates) !== null && _a !== void 0 ? _a : (this._newTemplates = new Client_js_9.NewTemplatesClient(this._options)));
111
60
  }
112
- get sections() {
61
+ get newTemplateVersions() {
113
62
  var _a;
114
- return ((_a = this._sections) !== null && _a !== void 0 ? _a : (this._sections = new Client_js_10.SectionsClient(this._options)));
63
+ return ((_a = this._newTemplateVersions) !== null && _a !== void 0 ? _a : (this._newTemplateVersions = new Client_js_10.NewTemplateVersionsClient(this._options)));
115
64
  }
116
65
  get newSections() {
117
66
  var _a;
118
67
  return ((_a = this._newSections) !== null && _a !== void 0 ? _a : (this._newSections = new Client_js_7.NewSectionsClient(this._options)));
119
68
  }
120
- get sectionVersions() {
69
+ get newSectionVersions() {
121
70
  var _a;
122
- return ((_a = this._sectionVersions) !== null && _a !== void 0 ? _a : (this._sectionVersions = new Client_js_11.SectionVersionsClient(this._options)));
71
+ return ((_a = this._newSectionVersions) !== null && _a !== void 0 ? _a : (this._newSectionVersions = new Client_js_8.NewSectionVersionsClient(this._options)));
123
72
  }
124
73
  get agents() {
125
74
  var _a;
@@ -131,159 +80,7 @@ class CortiClient {
131
80
  }
132
81
  get transcribe() {
133
82
  var _a;
134
- return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Client_js_15.TranscribeClient(this._options)));
135
- }
136
- /**
137
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
138
- *
139
- * @example
140
- * await client.getNewTemplates()
141
- */
142
- getNewTemplates(requestOptions) {
143
- return core.HttpResponsePromise.fromPromise(this.__getNewTemplates(requestOptions));
144
- }
145
- __getNewTemplates(requestOptions) {
146
- return __awaiter(this, void 0, void 0, function* () {
147
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
148
- const _authRequest = yield this._options.authProvider.getAuthRequest();
149
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
150
- const _response = yield core.fetcher({
151
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, "new/templates/"),
152
- method: "GET",
153
- headers: _headers,
154
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
155
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
156
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
157
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
158
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
159
- logging: this._options.logging,
160
- });
161
- if (_response.ok) {
162
- return { data: undefined, rawResponse: _response.rawResponse };
163
- }
164
- if (_response.error.reason === "status-code") {
165
- throw new errors.CortiError({
166
- statusCode: _response.error.statusCode,
167
- body: _response.error.body,
168
- rawResponse: _response.rawResponse,
169
- });
170
- }
171
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/new/templates/");
172
- });
173
- }
174
- /**
175
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
176
- *
177
- * @example
178
- * await client.postNewTemplates()
179
- */
180
- postNewTemplates(requestOptions) {
181
- return core.HttpResponsePromise.fromPromise(this.__postNewTemplates(requestOptions));
182
- }
183
- __postNewTemplates(requestOptions) {
184
- return __awaiter(this, void 0, void 0, function* () {
185
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
186
- const _authRequest = yield this._options.authProvider.getAuthRequest();
187
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
188
- const _response = yield core.fetcher({
189
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, "new/templates/"),
190
- method: "POST",
191
- headers: _headers,
192
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
193
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
194
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
195
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
196
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
197
- logging: this._options.logging,
198
- });
199
- if (_response.ok) {
200
- return { data: undefined, rawResponse: _response.rawResponse };
201
- }
202
- if (_response.error.reason === "status-code") {
203
- throw new errors.CortiError({
204
- statusCode: _response.error.statusCode,
205
- body: _response.error.body,
206
- rawResponse: _response.rawResponse,
207
- });
208
- }
209
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/new/templates/");
210
- });
211
- }
212
- /**
213
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
214
- *
215
- * @example
216
- * await client.getNewSections()
217
- */
218
- getNewSections(requestOptions) {
219
- return core.HttpResponsePromise.fromPromise(this.__getNewSections(requestOptions));
220
- }
221
- __getNewSections(requestOptions) {
222
- return __awaiter(this, void 0, void 0, function* () {
223
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
224
- const _authRequest = yield this._options.authProvider.getAuthRequest();
225
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
226
- const _response = yield core.fetcher({
227
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, "new/sections/"),
228
- method: "GET",
229
- headers: _headers,
230
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
231
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
232
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
233
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
234
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
235
- logging: this._options.logging,
236
- });
237
- if (_response.ok) {
238
- return { data: undefined, rawResponse: _response.rawResponse };
239
- }
240
- if (_response.error.reason === "status-code") {
241
- throw new errors.CortiError({
242
- statusCode: _response.error.statusCode,
243
- body: _response.error.body,
244
- rawResponse: _response.rawResponse,
245
- });
246
- }
247
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/new/sections/");
248
- });
249
- }
250
- /**
251
- * @param {CortiClient.RequestOptions} requestOptions - Request-specific configuration.
252
- *
253
- * @example
254
- * await client.postNewSections()
255
- */
256
- postNewSections(requestOptions) {
257
- return core.HttpResponsePromise.fromPromise(this.__postNewSections(requestOptions));
258
- }
259
- __postNewSections(requestOptions) {
260
- return __awaiter(this, void 0, void 0, function* () {
261
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
262
- const _authRequest = yield this._options.authProvider.getAuthRequest();
263
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
264
- const _response = yield core.fetcher({
265
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, "new/sections/"),
266
- method: "POST",
267
- headers: _headers,
268
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
269
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
270
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
271
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
272
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
273
- logging: this._options.logging,
274
- });
275
- if (_response.ok) {
276
- return { data: undefined, rawResponse: _response.rawResponse };
277
- }
278
- if (_response.error.reason === "status-code") {
279
- throw new errors.CortiError({
280
- statusCode: _response.error.statusCode,
281
- body: _response.error.body,
282
- rawResponse: _response.rawResponse,
283
- });
284
- }
285
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/new/sections/");
286
- });
83
+ return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Client_js_14.TranscribeClient(this._options)));
287
84
  }
288
85
  }
289
86
  exports.CortiClient = CortiClient;
@@ -14,16 +14,15 @@ export * as interactions from "./interactions/index.js";
14
14
  export * from "./interactions/types/index.js";
15
15
  export * from "./newSections/client/requests/index.js";
16
16
  export * as newSections from "./newSections/index.js";
17
+ export * as newSectionVersions from "./newSectionVersions/index.js";
17
18
  export * from "./newTemplates/client/requests/index.js";
18
19
  export * as newTemplates from "./newTemplates/index.js";
20
+ export * from "./newTemplateVersions/client/requests/index.js";
21
+ export * as newTemplateVersions from "./newTemplateVersions/index.js";
19
22
  export * as recordings from "./recordings/index.js";
20
- export * as sections from "./sections/index.js";
21
- export * as sectionVersions from "./sectionVersions/index.js";
22
23
  export * as stream from "./stream/index.js";
23
24
  export * from "./templates/client/requests/index.js";
24
25
  export * as templates from "./templates/index.js";
25
- export * from "./templateVersions/client/requests/index.js";
26
- export * as templateVersions from "./templateVersions/index.js";
27
26
  export * as transcribe from "./transcribe/index.js";
28
27
  export * from "./transcripts/client/requests/index.js";
29
28
  export * as transcripts from "./transcripts/index.js";
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.transcripts = exports.transcribe = exports.templateVersions = exports.templates = exports.stream = exports.sectionVersions = exports.sections = exports.recordings = exports.newTemplates = exports.newSections = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = exports.agents = void 0;
39
+ exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = exports.newTemplateVersions = exports.newTemplates = exports.newSectionVersions = exports.newSections = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = 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);
@@ -53,16 +53,15 @@ exports.interactions = __importStar(require("./interactions/index.js"));
53
53
  __exportStar(require("./interactions/types/index.js"), exports);
54
54
  __exportStar(require("./newSections/client/requests/index.js"), exports);
55
55
  exports.newSections = __importStar(require("./newSections/index.js"));
56
+ exports.newSectionVersions = __importStar(require("./newSectionVersions/index.js"));
56
57
  __exportStar(require("./newTemplates/client/requests/index.js"), exports);
57
58
  exports.newTemplates = __importStar(require("./newTemplates/index.js"));
59
+ __exportStar(require("./newTemplateVersions/client/requests/index.js"), exports);
60
+ exports.newTemplateVersions = __importStar(require("./newTemplateVersions/index.js"));
58
61
  exports.recordings = __importStar(require("./recordings/index.js"));
59
- exports.sections = __importStar(require("./sections/index.js"));
60
- exports.sectionVersions = __importStar(require("./sectionVersions/index.js"));
61
62
  exports.stream = __importStar(require("./stream/index.js"));
62
63
  __exportStar(require("./templates/client/requests/index.js"), exports);
63
64
  exports.templates = __importStar(require("./templates/index.js"));
64
- __exportStar(require("./templateVersions/client/requests/index.js"), exports);
65
- exports.templateVersions = __importStar(require("./templateVersions/index.js"));
66
65
  exports.transcribe = __importStar(require("./transcribe/index.js"));
67
66
  __exportStar(require("./transcripts/client/requests/index.js"), exports);
68
67
  exports.transcripts = __importStar(require("./transcripts/index.js"));
@@ -2,35 +2,35 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as Corti from "../../../index.js";
5
- export declare namespace SectionVersionsClient {
5
+ export declare namespace NewSectionVersionsClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
- export declare class SectionVersionsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<SectionVersionsClient.Options>;
12
- constructor(options: SectionVersionsClient.Options);
10
+ export declare class NewSectionVersionsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<NewSectionVersionsClient.Options>;
12
+ constructor(options: NewSectionVersionsClient.Options);
13
13
  /**
14
14
  * @param {string} sectionID
15
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
15
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
16
16
  *
17
17
  * @throws {@link Corti.NotFoundError}
18
18
  *
19
19
  * @example
20
- * await client.sectionVersions.list("sectionID")
20
+ * await client.newSectionVersions.list("sectionID")
21
21
  */
22
- list(sectionID: string, requestOptions?: SectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
22
+ list(sectionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
23
23
  private __list;
24
24
  /**
25
25
  * @param {string} sectionID
26
26
  * @param {Corti.CreateSectionVersionRequest} request
27
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ * @param {NewSectionVersionsClient.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.sectionVersions.create("sectionID", {
33
+ * await client.newSectionVersions.create("sectionID", {
34
34
  * title: "title",
35
35
  * instructions: {
36
36
  * contentPrompt: "contentPrompt",
@@ -38,44 +38,44 @@ export declare class SectionVersionsClient {
38
38
  * }
39
39
  * })
40
40
  */
41
- create(sectionID: string, request: Corti.CreateSectionVersionRequest, requestOptions?: SectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
41
+ create(sectionID: string, request: Corti.CreateSectionVersionRequest, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
42
42
  private __create;
43
43
  /**
44
44
  * @param {string} sectionID
45
45
  * @param {string} versionID
46
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
46
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
47
47
  *
48
48
  * @throws {@link Corti.NotFoundError}
49
49
  *
50
50
  * @example
51
- * await client.sectionVersions.get("sectionID", "versionID")
51
+ * await client.newSectionVersions.get("sectionID", "versionID")
52
52
  */
53
- get(sectionID: string, versionID: string, requestOptions?: SectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
53
+ get(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
54
54
  private __get;
55
55
  /**
56
56
  * @param {string} sectionID
57
57
  * @param {string} versionID
58
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
58
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
59
59
  *
60
60
  * @throws {@link Corti.NotFoundError}
61
61
  *
62
62
  * @example
63
- * await client.sectionVersions.delete("sectionID", "versionID")
63
+ * await client.newSectionVersions.delete("sectionID", "versionID")
64
64
  */
65
- delete(sectionID: string, versionID: string, requestOptions?: SectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
65
+ delete(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
66
66
  private __delete;
67
67
  /**
68
68
  * Sets this version as the published version of the section.
69
69
  *
70
70
  * @param {string} sectionID
71
71
  * @param {string} versionID
72
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
72
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
73
73
  *
74
74
  * @throws {@link Corti.NotFoundError}
75
75
  *
76
76
  * @example
77
- * await client.sectionVersions.publish("sectionID", "versionID")
77
+ * await client.newSectionVersions.publish("sectionID", "versionID")
78
78
  */
79
- publish(sectionID: string, versionID: string, requestOptions?: SectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
79
+ publish(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
80
80
  private __publish;
81
81
  }
@@ -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.SectionVersionsClient = void 0;
46
+ exports.NewSectionVersionsClient = 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,18 +51,18 @@ 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 SectionVersionsClient {
54
+ class NewSectionVersionsClient {
55
55
  constructor(options) {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
59
  * @param {string} sectionID
60
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
60
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
62
62
  * @throws {@link Corti.NotFoundError}
63
63
  *
64
64
  * @example
65
- * await client.sectionVersions.list("sectionID")
65
+ * await client.newSectionVersions.list("sectionID")
66
66
  */
67
67
  list(sectionID, requestOptions) {
68
68
  return core.HttpResponsePromise.fromPromise(this.__list(sectionID, requestOptions));
@@ -85,7 +85,7 @@ class SectionVersionsClient {
85
85
  });
86
86
  if (_response.ok) {
87
87
  return {
88
- data: serializers.sectionVersions.list.Response.parseOrThrow(_response.body, {
88
+ data: serializers.newSectionVersions.list.Response.parseOrThrow(_response.body, {
89
89
  unrecognizedObjectKeys: "passthrough",
90
90
  allowUnrecognizedUnionMembers: true,
91
91
  allowUnrecognizedEnumValues: true,
@@ -113,13 +113,13 @@ class SectionVersionsClient {
113
113
  /**
114
114
  * @param {string} sectionID
115
115
  * @param {Corti.CreateSectionVersionRequest} request
116
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
116
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
117
117
  *
118
118
  * @throws {@link Corti.BadRequestError}
119
119
  * @throws {@link Corti.NotFoundError}
120
120
  *
121
121
  * @example
122
- * await client.sectionVersions.create("sectionID", {
122
+ * await client.newSectionVersions.create("sectionID", {
123
123
  * title: "title",
124
124
  * instructions: {
125
125
  * contentPrompt: "contentPrompt",
@@ -184,12 +184,12 @@ class SectionVersionsClient {
184
184
  /**
185
185
  * @param {string} sectionID
186
186
  * @param {string} versionID
187
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
187
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
188
188
  *
189
189
  * @throws {@link Corti.NotFoundError}
190
190
  *
191
191
  * @example
192
- * await client.sectionVersions.get("sectionID", "versionID")
192
+ * await client.newSectionVersions.get("sectionID", "versionID")
193
193
  */
194
194
  get(sectionID, versionID, requestOptions) {
195
195
  return core.HttpResponsePromise.fromPromise(this.__get(sectionID, versionID, requestOptions));
@@ -240,12 +240,12 @@ class SectionVersionsClient {
240
240
  /**
241
241
  * @param {string} sectionID
242
242
  * @param {string} versionID
243
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
243
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
244
244
  *
245
245
  * @throws {@link Corti.NotFoundError}
246
246
  *
247
247
  * @example
248
- * await client.sectionVersions.delete("sectionID", "versionID")
248
+ * await client.newSectionVersions.delete("sectionID", "versionID")
249
249
  */
250
250
  delete(sectionID, versionID, requestOptions) {
251
251
  return core.HttpResponsePromise.fromPromise(this.__delete(sectionID, versionID, requestOptions));
@@ -289,12 +289,12 @@ class SectionVersionsClient {
289
289
  *
290
290
  * @param {string} sectionID
291
291
  * @param {string} versionID
292
- * @param {SectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
292
+ * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
293
293
  *
294
294
  * @throws {@link Corti.NotFoundError}
295
295
  *
296
296
  * @example
297
- * await client.sectionVersions.publish("sectionID", "versionID")
297
+ * await client.newSectionVersions.publish("sectionID", "versionID")
298
298
  */
299
299
  publish(sectionID, versionID, requestOptions) {
300
300
  return core.HttpResponsePromise.fromPromise(this.__publish(sectionID, versionID, requestOptions));
@@ -343,4 +343,4 @@ class SectionVersionsClient {
343
343
  });
344
344
  }
345
345
  }
346
- exports.SectionVersionsClient = SectionVersionsClient;
346
+ exports.NewSectionVersionsClient = NewSectionVersionsClient;