@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.
Files changed (173) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +12 -12
  3. package/dist/cjs/Client.js +22 -22
  4. package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.ts +19 -19
  5. package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.js +14 -14
  6. package/dist/cjs/api/resources/{newSections → alphaSections}/client/Client.d.ts +20 -20
  7. package/dist/cjs/api/resources/{newSections → alphaSections}/client/Client.js +15 -15
  8. package/dist/cjs/api/resources/{newSections/client/requests/ListNewSectionsRequest.d.ts → alphaSections/client/requests/ListAlphaSectionsRequest.d.ts} +1 -1
  9. package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/index.d.ts +1 -1
  10. package/dist/cjs/api/resources/alphaTemplateVersions/client/Client.d.ts +60 -0
  11. package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.js +13 -13
  12. package/dist/cjs/api/resources/alphaTemplates/client/Client.d.ts +68 -0
  13. package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/Client.js +15 -15
  14. package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.d.ts → alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.ts} +1 -1
  15. package/dist/cjs/api/resources/alphaTemplates/client/requests/index.d.ts +2 -0
  16. package/dist/cjs/api/resources/index.d.ts +7 -7
  17. package/dist/cjs/api/resources/index.js +8 -8
  18. package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.d.ts +1 -1
  19. package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/list.d.ts +1 -1
  20. package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/list.d.ts +1 -1
  21. package/dist/cjs/serialization/resources/index.d.ts +6 -6
  22. package/dist/cjs/serialization/resources/index.js +7 -7
  23. package/dist/cjs/version.d.ts +1 -1
  24. package/dist/cjs/version.js +1 -1
  25. package/dist/esm/BaseClient.mjs +2 -2
  26. package/dist/esm/Client.d.mts +12 -12
  27. package/dist/esm/Client.mjs +12 -12
  28. package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.mts +19 -19
  29. package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.mjs +12 -12
  30. package/dist/esm/api/resources/{newSections → alphaSections}/client/Client.d.mts +20 -20
  31. package/dist/esm/api/resources/{newSections → alphaSections}/client/Client.mjs +13 -13
  32. package/dist/esm/api/resources/{newSections/client/requests/ListNewSectionsRequest.d.mts → alphaSections/client/requests/ListAlphaSectionsRequest.d.mts} +1 -1
  33. package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/index.d.mts +1 -1
  34. package/dist/esm/api/resources/alphaTemplateVersions/client/Client.d.mts +60 -0
  35. package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.mjs +11 -11
  36. package/dist/esm/api/resources/alphaTemplates/client/Client.d.mts +68 -0
  37. package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/Client.mjs +13 -13
  38. package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.d.mts → alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.mts} +1 -1
  39. package/dist/esm/api/resources/alphaTemplates/client/requests/index.d.mts +2 -0
  40. package/dist/esm/api/resources/index.d.mts +7 -7
  41. package/dist/esm/api/resources/index.mjs +7 -7
  42. package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.d.mts +1 -1
  43. package/dist/esm/serialization/resources/{newSections → alphaSections}/client/list.d.mts +1 -1
  44. package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/list.d.mts +1 -1
  45. package/dist/esm/serialization/resources/index.d.mts +6 -6
  46. package/dist/esm/serialization/resources/index.mjs +6 -6
  47. package/dist/esm/version.d.mts +1 -1
  48. package/dist/esm/version.mjs +1 -1
  49. package/package.json +2 -4
  50. package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +0 -60
  51. package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +0 -68
  52. package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -2
  53. package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -60
  54. package/dist/esm/api/resources/newTemplates/client/Client.d.mts +0 -68
  55. package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +0 -2
  56. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.ts +0 -0
  57. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.js +0 -0
  58. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/index.d.ts +0 -0
  59. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/index.js +0 -0
  60. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/index.d.ts +0 -0
  61. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/index.js +0 -0
  62. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.ts +0 -0
  63. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.js +0 -0
  64. /package/dist/cjs/api/resources/{newSections/client/requests/ListNewSectionsRequest.js → alphaSections/client/requests/ListAlphaSectionsRequest.js} +0 -0
  65. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.ts +0 -0
  66. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.js +0 -0
  67. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/index.js +0 -0
  68. /package/dist/cjs/api/resources/{newSections → alphaSections}/index.d.ts +0 -0
  69. /package/dist/cjs/api/resources/{newSections → alphaSections}/index.js +0 -0
  70. /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/index.d.ts +0 -0
  71. /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/index.js +0 -0
  72. /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.d.ts +0 -0
  73. /package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.js +0 -0
  74. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/index.d.ts +0 -0
  75. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/index.js +0 -0
  76. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
  77. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.js +0 -0
  78. /package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.js → alphaTemplates/client/requests/ListAlphaTemplatesRequest.js} +0 -0
  79. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/index.js +0 -0
  80. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/index.d.ts +0 -0
  81. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/index.js +0 -0
  82. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.ts +0 -0
  83. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.js +0 -0
  84. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/index.d.ts +0 -0
  85. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/index.js +0 -0
  86. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.ts +0 -0
  87. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.js +0 -0
  88. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.js +0 -0
  89. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/index.d.ts +0 -0
  90. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/index.js +0 -0
  91. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/index.d.ts +0 -0
  92. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/index.js +0 -0
  93. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/list.js +0 -0
  94. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.ts +0 -0
  95. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.js +0 -0
  96. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.ts +0 -0
  97. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.js +0 -0
  98. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/index.d.ts +0 -0
  99. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/index.js +0 -0
  100. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/index.d.ts +0 -0
  101. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/index.js +0 -0
  102. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/index.d.ts +0 -0
  103. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/index.js +0 -0
  104. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/list.js +0 -0
  105. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
  106. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.js +0 -0
  107. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.d.ts +0 -0
  108. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.js +0 -0
  109. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/index.d.ts +0 -0
  110. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/index.js +0 -0
  111. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.ts +0 -0
  112. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.js +0 -0
  113. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/index.d.ts +0 -0
  114. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/index.js +0 -0
  115. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.mts +0 -0
  116. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.mjs +0 -0
  117. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/index.d.mts +0 -0
  118. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/index.mjs +0 -0
  119. /package/dist/esm/api/resources/{newSections → alphaSections}/client/index.d.mts +0 -0
  120. /package/dist/esm/api/resources/{newSections → alphaSections}/client/index.mjs +0 -0
  121. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.mts +0 -0
  122. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.mjs +0 -0
  123. /package/dist/esm/api/resources/{newSections/client/requests/ListNewSectionsRequest.mjs → alphaSections/client/requests/ListAlphaSectionsRequest.mjs} +0 -0
  124. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.mts +0 -0
  125. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.mjs +0 -0
  126. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/index.mjs +0 -0
  127. /package/dist/esm/api/resources/{newSections → alphaSections}/index.d.mts +0 -0
  128. /package/dist/esm/api/resources/{newSections → alphaSections}/index.mjs +0 -0
  129. /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/index.d.mts +0 -0
  130. /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/index.mjs +0 -0
  131. /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.d.mts +0 -0
  132. /package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/index.mjs +0 -0
  133. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/index.d.mts +0 -0
  134. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/index.mjs +0 -0
  135. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
  136. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.mjs +0 -0
  137. /package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.mjs → alphaTemplates/client/requests/ListAlphaTemplatesRequest.mjs} +0 -0
  138. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +0 -0
  139. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/index.d.mts +0 -0
  140. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/index.mjs +0 -0
  141. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.mts +0 -0
  142. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.mjs +0 -0
  143. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/index.d.mts +0 -0
  144. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/index.mjs +0 -0
  145. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.mts +0 -0
  146. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.mjs +0 -0
  147. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.mjs +0 -0
  148. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/index.d.mts +0 -0
  149. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/index.mjs +0 -0
  150. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/index.d.mts +0 -0
  151. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/index.mjs +0 -0
  152. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/list.mjs +0 -0
  153. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.mts +0 -0
  154. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.mjs +0 -0
  155. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.mts +0 -0
  156. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.mjs +0 -0
  157. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/index.d.mts +0 -0
  158. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/index.mjs +0 -0
  159. /package/dist/esm/serialization/resources/{newSections → alphaSections}/index.d.mts +0 -0
  160. /package/dist/esm/serialization/resources/{newSections → alphaSections}/index.mjs +0 -0
  161. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/index.d.mts +0 -0
  162. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/index.mjs +0 -0
  163. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/list.mjs +0 -0
  164. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
  165. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.mjs +0 -0
  166. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.d.mts +0 -0
  167. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +0 -0
  168. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/index.d.mts +0 -0
  169. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/index.mjs +0 -0
  170. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.mts +0 -0
  171. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.mjs +0 -0
  172. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/index.d.mts +0 -0
  173. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/index.mjs +0 -0
@@ -2,35 +2,35 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../core/index.mjs";
4
4
  import * as Corti from "../../../index.mjs";
5
- export declare namespace NewSectionVersionsClient {
5
+ export declare namespace AlphaSectionVersionsClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
- export declare class NewSectionVersionsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<NewSectionVersionsClient.Options>;
12
- constructor(options: NewSectionVersionsClient.Options);
10
+ export declare class AlphaSectionVersionsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<AlphaSectionVersionsClient.Options>;
12
+ constructor(options: AlphaSectionVersionsClient.Options);
13
13
  /**
14
14
  * @param {string} sectionID
15
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
15
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
16
16
  *
17
17
  * @throws {@link Corti.NotFoundError}
18
18
  *
19
19
  * @example
20
- * await client.newSectionVersions.list("sectionID")
20
+ * await client.alphaSectionVersions.list("sectionID")
21
21
  */
22
- list(sectionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
22
+ list(sectionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
23
23
  private __list;
24
24
  /**
25
25
  * @param {string} sectionID
26
26
  * @param {Corti.SectionGeneration} request
27
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
28
28
  *
29
29
  * @throws {@link Corti.BadRequestError}
30
30
  * @throws {@link Corti.NotFoundError}
31
31
  *
32
32
  * @example
33
- * await client.newSectionVersions.create("sectionID", {
33
+ * await client.alphaSectionVersions.create("sectionID", {
34
34
  * title: "title",
35
35
  * instructions: {
36
36
  * contentPrompt: "contentPrompt",
@@ -41,44 +41,44 @@ export declare class NewSectionVersionsClient {
41
41
  * }
42
42
  * })
43
43
  */
44
- create(sectionID: string, request: Corti.SectionGeneration, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
44
+ create(sectionID: string, request: Corti.SectionGeneration, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
45
45
  private __create;
46
46
  /**
47
47
  * @param {string} sectionID
48
48
  * @param {string} versionID
49
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
49
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
50
50
  *
51
51
  * @throws {@link Corti.NotFoundError}
52
52
  *
53
53
  * @example
54
- * await client.newSectionVersions.get("sectionID", "versionID")
54
+ * await client.alphaSectionVersions.get("sectionID", "versionID")
55
55
  */
56
- get(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
56
+ get(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
57
57
  private __get;
58
58
  /**
59
59
  * @param {string} sectionID
60
60
  * @param {string} versionID
61
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @throws {@link Corti.NotFoundError}
64
64
  *
65
65
  * @example
66
- * await client.newSectionVersions.delete("sectionID", "versionID")
66
+ * await client.alphaSectionVersions.delete("sectionID", "versionID")
67
67
  */
68
- delete(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
68
+ delete(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
69
69
  private __delete;
70
70
  /**
71
71
  * Sets this version as the published version of the section.
72
72
  *
73
73
  * @param {string} sectionID
74
74
  * @param {string} versionID
75
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
75
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Corti.NotFoundError}
78
78
  *
79
79
  * @example
80
- * await client.newSectionVersions.publish("sectionID", "versionID")
80
+ * await client.alphaSectionVersions.publish("sectionID", "versionID")
81
81
  */
82
- publish(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
82
+ publish(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
83
83
  private __publish;
84
84
  }
@@ -15,18 +15,18 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
15
15
  import * as errors from "../../../../errors/index.mjs";
16
16
  import * as serializers from "../../../../serialization/index.mjs";
17
17
  import * as Corti from "../../../index.mjs";
18
- export class NewSectionVersionsClient {
18
+ export class AlphaSectionVersionsClient {
19
19
  constructor(options) {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
23
  * @param {string} sectionID
24
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
24
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @throws {@link Corti.NotFoundError}
27
27
  *
28
28
  * @example
29
- * await client.newSectionVersions.list("sectionID")
29
+ * await client.alphaSectionVersions.list("sectionID")
30
30
  */
31
31
  list(sectionID, requestOptions) {
32
32
  return core.HttpResponsePromise.fromPromise(this.__list(sectionID, requestOptions));
@@ -49,7 +49,7 @@ export class NewSectionVersionsClient {
49
49
  });
50
50
  if (_response.ok) {
51
51
  return {
52
- data: serializers.newSectionVersions.list.Response.parseOrThrow(_response.body, {
52
+ data: serializers.alphaSectionVersions.list.Response.parseOrThrow(_response.body, {
53
53
  unrecognizedObjectKeys: "passthrough",
54
54
  allowUnrecognizedUnionMembers: true,
55
55
  allowUnrecognizedEnumValues: true,
@@ -77,13 +77,13 @@ export class NewSectionVersionsClient {
77
77
  /**
78
78
  * @param {string} sectionID
79
79
  * @param {Corti.SectionGeneration} request
80
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
80
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
81
81
  *
82
82
  * @throws {@link Corti.BadRequestError}
83
83
  * @throws {@link Corti.NotFoundError}
84
84
  *
85
85
  * @example
86
- * await client.newSectionVersions.create("sectionID", {
86
+ * await client.alphaSectionVersions.create("sectionID", {
87
87
  * title: "title",
88
88
  * instructions: {
89
89
  * contentPrompt: "contentPrompt",
@@ -151,12 +151,12 @@ export class NewSectionVersionsClient {
151
151
  /**
152
152
  * @param {string} sectionID
153
153
  * @param {string} versionID
154
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
154
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
155
155
  *
156
156
  * @throws {@link Corti.NotFoundError}
157
157
  *
158
158
  * @example
159
- * await client.newSectionVersions.get("sectionID", "versionID")
159
+ * await client.alphaSectionVersions.get("sectionID", "versionID")
160
160
  */
161
161
  get(sectionID, versionID, requestOptions) {
162
162
  return core.HttpResponsePromise.fromPromise(this.__get(sectionID, versionID, requestOptions));
@@ -207,12 +207,12 @@ export class NewSectionVersionsClient {
207
207
  /**
208
208
  * @param {string} sectionID
209
209
  * @param {string} versionID
210
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
210
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
211
211
  *
212
212
  * @throws {@link Corti.NotFoundError}
213
213
  *
214
214
  * @example
215
- * await client.newSectionVersions.delete("sectionID", "versionID")
215
+ * await client.alphaSectionVersions.delete("sectionID", "versionID")
216
216
  */
217
217
  delete(sectionID, versionID, requestOptions) {
218
218
  return core.HttpResponsePromise.fromPromise(this.__delete(sectionID, versionID, requestOptions));
@@ -256,12 +256,12 @@ export class NewSectionVersionsClient {
256
256
  *
257
257
  * @param {string} sectionID
258
258
  * @param {string} versionID
259
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
259
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
260
260
  *
261
261
  * @throws {@link Corti.NotFoundError}
262
262
  *
263
263
  * @example
264
- * await client.newSectionVersions.publish("sectionID", "versionID")
264
+ * await client.alphaSectionVersions.publish("sectionID", "versionID")
265
265
  */
266
266
  publish(sectionID, versionID, requestOptions) {
267
267
  return core.HttpResponsePromise.fromPromise(this.__publish(sectionID, versionID, requestOptions));
@@ -2,31 +2,31 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../core/index.mjs";
4
4
  import * as Corti from "../../../index.mjs";
5
- export declare namespace NewSectionsClient {
5
+ export declare namespace AlphaSectionsClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
- export declare class NewSectionsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<NewSectionsClient.Options>;
12
- constructor(options: NewSectionsClient.Options);
10
+ export declare class AlphaSectionsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<AlphaSectionsClient.Options>;
12
+ constructor(options: AlphaSectionsClient.Options);
13
13
  /**
14
- * @param {Corti.ListNewSectionsRequest} request
15
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
14
+ * @param {Corti.ListAlphaSectionsRequest} request
15
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
16
16
  *
17
17
  * @example
18
- * await client.newSections.list()
18
+ * await client.alphaSections.list()
19
19
  */
20
- list(request?: Corti.ListNewSectionsRequest, requestOptions?: NewSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section[]>;
20
+ list(request?: Corti.ListAlphaSectionsRequest, requestOptions?: AlphaSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section[]>;
21
21
  private __list;
22
22
  /**
23
23
  * @param {Corti.CreateSectionRequest} request
24
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
24
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @throws {@link Corti.BadRequestError}
27
27
  *
28
28
  * @example
29
- * await client.newSections.create({
29
+ * await client.alphaSections.create({
30
30
  * name: "name",
31
31
  * language: "language",
32
32
  * generation: {
@@ -41,41 +41,41 @@ export declare class NewSectionsClient {
41
41
  * }
42
42
  * })
43
43
  */
44
- create(request: Corti.CreateSectionRequest, requestOptions?: NewSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
44
+ create(request: Corti.CreateSectionRequest, requestOptions?: AlphaSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
45
45
  private __create;
46
46
  /**
47
47
  * @param {string} sectionID
48
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
48
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
49
49
  *
50
50
  * @throws {@link Corti.NotFoundError}
51
51
  *
52
52
  * @example
53
- * await client.newSections.get("sectionID")
53
+ * await client.alphaSections.get("sectionID")
54
54
  */
55
- get(sectionID: string, requestOptions?: NewSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
55
+ get(sectionID: string, requestOptions?: AlphaSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
56
56
  private __get;
57
57
  /**
58
58
  * @param {string} sectionID
59
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
59
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
60
60
  *
61
61
  * @throws {@link Corti.NotFoundError}
62
62
  *
63
63
  * @example
64
- * await client.newSections.delete("sectionID")
64
+ * await client.alphaSections.delete("sectionID")
65
65
  */
66
- delete(sectionID: string, requestOptions?: NewSectionsClient.RequestOptions): core.HttpResponsePromise<void>;
66
+ delete(sectionID: string, requestOptions?: AlphaSectionsClient.RequestOptions): core.HttpResponsePromise<void>;
67
67
  private __delete;
68
68
  /**
69
69
  * @param {string} sectionID
70
70
  * @param {Corti.UpdateSectionRequest} request
71
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
71
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
72
72
  *
73
73
  * @throws {@link Corti.BadRequestError}
74
74
  * @throws {@link Corti.NotFoundError}
75
75
  *
76
76
  * @example
77
- * await client.newSections.update("sectionID")
77
+ * await client.alphaSections.update("sectionID")
78
78
  */
79
- update(sectionID: string, request?: Corti.UpdateSectionRequest, requestOptions?: NewSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
79
+ update(sectionID: string, request?: Corti.UpdateSectionRequest, requestOptions?: AlphaSectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
80
80
  private __update;
81
81
  }
@@ -15,16 +15,16 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
15
15
  import * as errors from "../../../../errors/index.mjs";
16
16
  import * as serializers from "../../../../serialization/index.mjs";
17
17
  import * as Corti from "../../../index.mjs";
18
- export class NewSectionsClient {
18
+ export class AlphaSectionsClient {
19
19
  constructor(options) {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * @param {Corti.ListNewSectionsRequest} request
24
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
23
+ * @param {Corti.ListAlphaSectionsRequest} request
24
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await client.newSections.list()
27
+ * await client.alphaSections.list()
28
28
  */
29
29
  list(request = {}, requestOptions) {
30
30
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -53,7 +53,7 @@ export class NewSectionsClient {
53
53
  });
54
54
  if (_response.ok) {
55
55
  return {
56
- data: serializers.newSections.list.Response.parseOrThrow(_response.body, {
56
+ data: serializers.alphaSections.list.Response.parseOrThrow(_response.body, {
57
57
  unrecognizedObjectKeys: "passthrough",
58
58
  allowUnrecognizedUnionMembers: true,
59
59
  allowUnrecognizedEnumValues: true,
@@ -75,12 +75,12 @@ export class NewSectionsClient {
75
75
  }
76
76
  /**
77
77
  * @param {Corti.CreateSectionRequest} request
78
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
78
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
79
79
  *
80
80
  * @throws {@link Corti.BadRequestError}
81
81
  *
82
82
  * @example
83
- * await client.newSections.create({
83
+ * await client.alphaSections.create({
84
84
  * name: "name",
85
85
  * language: "language",
86
86
  * generation: {
@@ -149,12 +149,12 @@ export class NewSectionsClient {
149
149
  }
150
150
  /**
151
151
  * @param {string} sectionID
152
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
152
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
153
153
  *
154
154
  * @throws {@link Corti.NotFoundError}
155
155
  *
156
156
  * @example
157
- * await client.newSections.get("sectionID")
157
+ * await client.alphaSections.get("sectionID")
158
158
  */
159
159
  get(sectionID, requestOptions) {
160
160
  return core.HttpResponsePromise.fromPromise(this.__get(sectionID, requestOptions));
@@ -204,12 +204,12 @@ export class NewSectionsClient {
204
204
  }
205
205
  /**
206
206
  * @param {string} sectionID
207
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
207
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
208
208
  *
209
209
  * @throws {@link Corti.NotFoundError}
210
210
  *
211
211
  * @example
212
- * await client.newSections.delete("sectionID")
212
+ * await client.alphaSections.delete("sectionID")
213
213
  */
214
214
  delete(sectionID, requestOptions) {
215
215
  return core.HttpResponsePromise.fromPromise(this.__delete(sectionID, requestOptions));
@@ -251,13 +251,13 @@ export class NewSectionsClient {
251
251
  /**
252
252
  * @param {string} sectionID
253
253
  * @param {Corti.UpdateSectionRequest} request
254
- * @param {NewSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
254
+ * @param {AlphaSectionsClient.RequestOptions} requestOptions - Request-specific configuration.
255
255
  *
256
256
  * @throws {@link Corti.BadRequestError}
257
257
  * @throws {@link Corti.NotFoundError}
258
258
  *
259
259
  * @example
260
- * await client.newSections.update("sectionID")
260
+ * await client.alphaSections.update("sectionID")
261
261
  */
262
262
  update(sectionID, request = {}, requestOptions) {
263
263
  return core.HttpResponsePromise.fromPromise(this.__update(sectionID, request, requestOptions));
@@ -2,7 +2,7 @@
2
2
  * @example
3
3
  * {}
4
4
  */
5
- export interface ListNewSectionsRequest {
5
+ export interface ListAlphaSectionsRequest {
6
6
  /** Filter sections by language (BCP 47 tag). Repeatable. */
7
7
  lang?: string | string[];
8
8
  /** Filter sections by label. Repeatable; matches sections that have any of the given labels. */
@@ -1,3 +1,3 @@
1
1
  export type { CreateSectionRequest } from "./CreateSectionRequest.mjs";
2
- export type { ListNewSectionsRequest } from "./ListNewSectionsRequest.mjs";
2
+ export type { ListAlphaSectionsRequest } from "./ListAlphaSectionsRequest.mjs";
3
3
  export type { UpdateSectionRequest } from "./UpdateSectionRequest.mjs";
@@ -0,0 +1,60 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ export declare namespace AlphaTemplateVersionsClient {
5
+ type Options = BaseClientOptions;
6
+ interface RequestOptions extends BaseRequestOptions {
7
+ }
8
+ }
9
+ export declare class AlphaTemplateVersionsClient {
10
+ protected readonly _options: NormalizedClientOptionsWithAuth<AlphaTemplateVersionsClient.Options>;
11
+ constructor(options: AlphaTemplateVersionsClient.Options);
12
+ /**
13
+ * @param {string} templateId
14
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
15
+ *
16
+ * @example
17
+ * await client.alphaTemplateVersions.list("templateId")
18
+ */
19
+ list(templateId: string, requestOptions?: AlphaTemplateVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
20
+ private __list;
21
+ /**
22
+ * @param {string} templateId
23
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
24
+ *
25
+ * @example
26
+ * await client.alphaTemplateVersions.create("templateId")
27
+ */
28
+ create(templateId: string, requestOptions?: AlphaTemplateVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
29
+ private __create;
30
+ /**
31
+ * @param {string} templateId
32
+ * @param {string} versionID
33
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
34
+ *
35
+ * @example
36
+ * await client.alphaTemplateVersions.get("templateId", "versionID")
37
+ */
38
+ get(templateId: string, versionID: string, requestOptions?: AlphaTemplateVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
39
+ private __get;
40
+ /**
41
+ * @param {string} templateId
42
+ * @param {string} versionID
43
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
44
+ *
45
+ * @example
46
+ * await client.alphaTemplateVersions.delete("templateId", "versionID")
47
+ */
48
+ delete(templateId: string, versionID: string, requestOptions?: AlphaTemplateVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
49
+ private __delete;
50
+ /**
51
+ * @param {string} templateId
52
+ * @param {string} versionID
53
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
54
+ *
55
+ * @example
56
+ * await client.alphaTemplateVersions.publish("templateId", "versionID")
57
+ */
58
+ publish(templateId: string, versionID: string, requestOptions?: AlphaTemplateVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
59
+ private __publish;
60
+ }
@@ -13,16 +13,16 @@ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.
13
13
  import * as core from "../../../../core/index.mjs";
14
14
  import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
15
15
  import * as errors from "../../../../errors/index.mjs";
16
- export class NewTemplateVersionsClient {
16
+ export class AlphaTemplateVersionsClient {
17
17
  constructor(options) {
18
18
  this._options = normalizeClientOptionsWithAuth(options);
19
19
  }
20
20
  /**
21
21
  * @param {string} templateId
22
- * @param {NewTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
22
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
23
23
  *
24
24
  * @example
25
- * await client.newTemplateVersions.list("templateId")
25
+ * await client.alphaTemplateVersions.list("templateId")
26
26
  */
27
27
  list(templateId, requestOptions) {
28
28
  return core.HttpResponsePromise.fromPromise(this.__list(templateId, requestOptions));
@@ -58,10 +58,10 @@ export class NewTemplateVersionsClient {
58
58
  }
59
59
  /**
60
60
  * @param {string} templateId
61
- * @param {NewTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @example
64
- * await client.newTemplateVersions.create("templateId")
64
+ * await client.alphaTemplateVersions.create("templateId")
65
65
  */
66
66
  create(templateId, requestOptions) {
67
67
  return core.HttpResponsePromise.fromPromise(this.__create(templateId, requestOptions));
@@ -98,10 +98,10 @@ export class NewTemplateVersionsClient {
98
98
  /**
99
99
  * @param {string} templateId
100
100
  * @param {string} versionID
101
- * @param {NewTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
101
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
102
102
  *
103
103
  * @example
104
- * await client.newTemplateVersions.get("templateId", "versionID")
104
+ * await client.alphaTemplateVersions.get("templateId", "versionID")
105
105
  */
106
106
  get(templateId, versionID, requestOptions) {
107
107
  return core.HttpResponsePromise.fromPromise(this.__get(templateId, versionID, requestOptions));
@@ -138,10 +138,10 @@ export class NewTemplateVersionsClient {
138
138
  /**
139
139
  * @param {string} templateId
140
140
  * @param {string} versionID
141
- * @param {NewTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
141
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
142
142
  *
143
143
  * @example
144
- * await client.newTemplateVersions.delete("templateId", "versionID")
144
+ * await client.alphaTemplateVersions.delete("templateId", "versionID")
145
145
  */
146
146
  delete(templateId, versionID, requestOptions) {
147
147
  return core.HttpResponsePromise.fromPromise(this.__delete(templateId, versionID, requestOptions));
@@ -178,10 +178,10 @@ export class NewTemplateVersionsClient {
178
178
  /**
179
179
  * @param {string} templateId
180
180
  * @param {string} versionID
181
- * @param {NewTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
181
+ * @param {AlphaTemplateVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
182
182
  *
183
183
  * @example
184
- * await client.newTemplateVersions.publish("templateId", "versionID")
184
+ * await client.alphaTemplateVersions.publish("templateId", "versionID")
185
185
  */
186
186
  publish(templateId, versionID, requestOptions) {
187
187
  return core.HttpResponsePromise.fromPromise(this.__publish(templateId, versionID, requestOptions));
@@ -0,0 +1,68 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as Corti from "../../../index.mjs";
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
+ }