syllable-sdk 1.0.1 → 1.0.2-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +8 -0
  2. package/bin/mcp-server.js +563 -84
  3. package/bin/mcp-server.js.map +20 -7
  4. package/docs/sdks/batches/README.md +4 -4
  5. package/docs/sdks/pronunciations/README.md +277 -1
  6. package/docs/sdks/workflows/README.md +8 -8
  7. package/examples/package-lock.json +1 -1
  8. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts +13 -0
  9. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  10. package/funcs/pronunciationsPronunciationsDeleteCsv.js +101 -0
  11. package/funcs/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  12. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts +13 -0
  13. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  14. package/funcs/pronunciationsPronunciationsDownloadCsv.js +101 -0
  15. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  16. package/funcs/pronunciationsPronunciationsGet.d.ts +14 -0
  17. package/funcs/pronunciationsPronunciationsGet.d.ts.map +1 -0
  18. package/funcs/pronunciationsPronunciationsGet.js +101 -0
  19. package/funcs/pronunciationsPronunciationsGet.js.map +1 -0
  20. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts +14 -0
  21. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  22. package/funcs/pronunciationsPronunciationsGetMetadata.js +101 -0
  23. package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  24. package/jsr.json +1 -1
  25. package/lib/config.d.ts +3 -3
  26. package/lib/config.js +3 -3
  27. package/lib/config.js.map +1 -1
  28. package/mcp-server/mcp-server.js +1 -1
  29. package/mcp-server/mcp-server.js.map +1 -1
  30. package/mcp-server/server.d.ts.map +1 -1
  31. package/mcp-server/server.js +9 -1
  32. package/mcp-server/server.js.map +1 -1
  33. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts +3 -0
  34. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -0
  35. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js +23 -0
  36. package/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.js.map +1 -0
  37. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts +3 -0
  38. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -0
  39. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js +23 -0
  40. package/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.js.map +1 -0
  41. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts +3 -0
  42. package/mcp-server/tools/pronunciationsPronunciationsGet.d.ts.map +1 -0
  43. package/mcp-server/tools/pronunciationsPronunciationsGet.js +24 -0
  44. package/mcp-server/tools/pronunciationsPronunciationsGet.js.map +1 -0
  45. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts +3 -0
  46. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -0
  47. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js +24 -0
  48. package/mcp-server/tools/pronunciationsPronunciationsGetMetadata.js.map +1 -0
  49. package/models/components/dictionarymetadata.d.ts +36 -0
  50. package/models/components/dictionarymetadata.d.ts.map +1 -0
  51. package/models/components/dictionarymetadata.js +73 -0
  52. package/models/components/dictionarymetadata.js.map +1 -0
  53. package/models/components/index.d.ts +5 -0
  54. package/models/components/index.d.ts.map +1 -1
  55. package/models/components/index.js +5 -0
  56. package/models/components/index.js.map +1 -1
  57. package/models/components/matchtype.d.ts +31 -0
  58. package/models/components/matchtype.d.ts.map +1 -0
  59. package/models/components/matchtype.js +63 -0
  60. package/models/components/matchtype.js.map +1 -0
  61. package/models/components/pronunciationoverride.d.ts +73 -0
  62. package/models/components/pronunciationoverride.d.ts.map +1 -0
  63. package/models/components/pronunciationoverride.js +120 -0
  64. package/models/components/pronunciationoverride.js.map +1 -0
  65. package/models/components/pronunciationoverridesdictionary.d.ts +68 -0
  66. package/models/components/pronunciationoverridesdictionary.d.ts.map +1 -0
  67. package/models/components/pronunciationoverridesdictionary.js +78 -0
  68. package/models/components/pronunciationoverridesdictionary.js.map +1 -0
  69. package/models/components/voicedisplayinfo.d.ts +34 -0
  70. package/models/components/voicedisplayinfo.d.ts.map +1 -0
  71. package/models/components/voicedisplayinfo.js +80 -0
  72. package/models/components/voicedisplayinfo.js.map +1 -0
  73. package/openapi.json +301 -33
  74. package/package.json +1 -1
  75. package/sdk/pronunciations.d.ts +16 -0
  76. package/sdk/pronunciations.d.ts.map +1 -1
  77. package/sdk/pronunciations.js +28 -0
  78. package/sdk/pronunciations.js.map +1 -1
  79. package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +139 -0
  80. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +139 -0
  81. package/src/funcs/pronunciationsPronunciationsGet.ts +139 -0
  82. package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +139 -0
  83. package/src/lib/config.ts +3 -3
  84. package/src/mcp-server/mcp-server.ts +1 -1
  85. package/src/mcp-server/server.ts +9 -1
  86. package/src/mcp-server/tools/pronunciationsPronunciationsDeleteCsv.ts +26 -0
  87. package/src/mcp-server/tools/pronunciationsPronunciationsDownloadCsv.ts +26 -0
  88. package/src/mcp-server/tools/pronunciationsPronunciationsGet.ts +28 -0
  89. package/src/mcp-server/tools/pronunciationsPronunciationsGetMetadata.ts +28 -0
  90. package/src/models/components/dictionarymetadata.ts +77 -0
  91. package/src/models/components/index.ts +5 -0
  92. package/src/models/components/matchtype.ts +36 -0
  93. package/src/models/components/pronunciationoverride.ts +166 -0
  94. package/src/models/components/pronunciationoverridesdictionary.ts +124 -0
  95. package/src/models/components/voicedisplayinfo.ts +82 -0
  96. package/src/sdk/pronunciations.ts +52 -0
@@ -123,9 +123,9 @@ const syllableSDK = new SyllableSDK({
123
123
 
124
124
  async function run() {
125
125
  const result = await syllableSDK.outbound.batches.create({
126
- batchId: "20251007.9",
126
+ batchId: "20251008.9",
127
127
  campaignId: 1,
128
- expiresOn: new Date("2025-10-08T00:00:00Z"),
128
+ expiresOn: new Date("2025-10-09T00:00:00Z"),
129
129
  paused: true,
130
130
  });
131
131
 
@@ -151,9 +151,9 @@ const syllableSDK = new SyllableSDKCore({
151
151
 
152
152
  async function run() {
153
153
  const res = await outboundBatchesCreate(syllableSDK, {
154
- batchId: "20251007.9",
154
+ batchId: "20251008.9",
155
155
  campaignId: 1,
156
- expiresOn: new Date("2025-10-08T00:00:00Z"),
156
+ expiresOn: new Date("2025-10-09T00:00:00Z"),
157
157
  paused: true,
158
158
  });
159
159
  if (res.ok) {
@@ -5,7 +5,215 @@
5
5
 
6
6
  ### Available Operations
7
7
 
8
+ * [pronunciationsGet](#pronunciationsget) - Get Pronunciations Dictionary
9
+ * [pronunciationsGetMetadata](#pronunciationsgetmetadata) - Get Pronunciations Metadata
10
+ * [pronunciationsDownloadCsv](#pronunciationsdownloadcsv) - Download Pronunciations Csv
8
11
  * [pronunciationsUploadCsv](#pronunciationsuploadcsv) - Upload Pronunciations Csv
12
+ * [pronunciationsDeleteCsv](#pronunciationsdeletecsv) - Delete Pronunciations Dictionary
13
+
14
+ ## pronunciationsGet
15
+
16
+ Get Pronunciations Dictionary
17
+
18
+ ### Example Usage
19
+
20
+ <!-- UsageSnippet language="typescript" operationID="pronunciations_get" method="get" path="/api/v1/pronunciations" -->
21
+ ```typescript
22
+ import { SyllableSDK } from "syllable-sdk";
23
+
24
+ const syllableSDK = new SyllableSDK({
25
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
26
+ });
27
+
28
+ async function run() {
29
+ const result = await syllableSDK.pronunciations.pronunciationsGet();
30
+
31
+ console.log(result);
32
+ }
33
+
34
+ run();
35
+ ```
36
+
37
+ ### Standalone function
38
+
39
+ The standalone function version of this method:
40
+
41
+ ```typescript
42
+ import { SyllableSDKCore } from "syllable-sdk/core.js";
43
+ import { pronunciationsPronunciationsGet } from "syllable-sdk/funcs/pronunciationsPronunciationsGet.js";
44
+
45
+ // Use `SyllableSDKCore` for best tree-shaking performance.
46
+ // You can create one instance of it to use across an application.
47
+ const syllableSDK = new SyllableSDKCore({
48
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
49
+ });
50
+
51
+ async function run() {
52
+ const res = await pronunciationsPronunciationsGet(syllableSDK);
53
+ if (res.ok) {
54
+ const { value: result } = res;
55
+ console.log(result);
56
+ } else {
57
+ console.log("pronunciationsPronunciationsGet failed:", res.error);
58
+ }
59
+ }
60
+
61
+ run();
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Parameter | Type | Required | Description |
67
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
68
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
69
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
70
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
71
+
72
+ ### Response
73
+
74
+ **Promise\<[components.PronunciationOverridesDictionary](../../models/components/pronunciationoverridesdictionary.md)\>**
75
+
76
+ ### Errors
77
+
78
+ | Error Type | Status Code | Content Type |
79
+ | --------------- | --------------- | --------------- |
80
+ | errors.SDKError | 4XX, 5XX | \*/\* |
81
+
82
+ ## pronunciationsGetMetadata
83
+
84
+ Get Pronunciations Metadata
85
+
86
+ ### Example Usage
87
+
88
+ <!-- UsageSnippet language="typescript" operationID="pronunciations_get_metadata" method="get" path="/api/v1/pronunciations/metadata" -->
89
+ ```typescript
90
+ import { SyllableSDK } from "syllable-sdk";
91
+
92
+ const syllableSDK = new SyllableSDK({
93
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
94
+ });
95
+
96
+ async function run() {
97
+ const result = await syllableSDK.pronunciations.pronunciationsGetMetadata();
98
+
99
+ console.log(result);
100
+ }
101
+
102
+ run();
103
+ ```
104
+
105
+ ### Standalone function
106
+
107
+ The standalone function version of this method:
108
+
109
+ ```typescript
110
+ import { SyllableSDKCore } from "syllable-sdk/core.js";
111
+ import { pronunciationsPronunciationsGetMetadata } from "syllable-sdk/funcs/pronunciationsPronunciationsGetMetadata.js";
112
+
113
+ // Use `SyllableSDKCore` for best tree-shaking performance.
114
+ // You can create one instance of it to use across an application.
115
+ const syllableSDK = new SyllableSDKCore({
116
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
117
+ });
118
+
119
+ async function run() {
120
+ const res = await pronunciationsPronunciationsGetMetadata(syllableSDK);
121
+ if (res.ok) {
122
+ const { value: result } = res;
123
+ console.log(result);
124
+ } else {
125
+ console.log("pronunciationsPronunciationsGetMetadata failed:", res.error);
126
+ }
127
+ }
128
+
129
+ run();
130
+ ```
131
+
132
+ ### Parameters
133
+
134
+ | Parameter | Type | Required | Description |
135
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
136
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
137
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
138
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
139
+
140
+ ### Response
141
+
142
+ **Promise\<[components.DictionaryMetadata](../../models/components/dictionarymetadata.md)\>**
143
+
144
+ ### Errors
145
+
146
+ | Error Type | Status Code | Content Type |
147
+ | --------------- | --------------- | --------------- |
148
+ | errors.SDKError | 4XX, 5XX | \*/\* |
149
+
150
+ ## pronunciationsDownloadCsv
151
+
152
+ Download Pronunciations Csv
153
+
154
+ ### Example Usage
155
+
156
+ <!-- UsageSnippet language="typescript" operationID="pronunciations_download_csv" method="get" path="/api/v1/pronunciations/csv" -->
157
+ ```typescript
158
+ import { SyllableSDK } from "syllable-sdk";
159
+
160
+ const syllableSDK = new SyllableSDK({
161
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
162
+ });
163
+
164
+ async function run() {
165
+ await syllableSDK.pronunciations.pronunciationsDownloadCsv();
166
+
167
+
168
+ }
169
+
170
+ run();
171
+ ```
172
+
173
+ ### Standalone function
174
+
175
+ The standalone function version of this method:
176
+
177
+ ```typescript
178
+ import { SyllableSDKCore } from "syllable-sdk/core.js";
179
+ import { pronunciationsPronunciationsDownloadCsv } from "syllable-sdk/funcs/pronunciationsPronunciationsDownloadCsv.js";
180
+
181
+ // Use `SyllableSDKCore` for best tree-shaking performance.
182
+ // You can create one instance of it to use across an application.
183
+ const syllableSDK = new SyllableSDKCore({
184
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
185
+ });
186
+
187
+ async function run() {
188
+ const res = await pronunciationsPronunciationsDownloadCsv(syllableSDK);
189
+ if (res.ok) {
190
+ const { value: result } = res;
191
+
192
+ } else {
193
+ console.log("pronunciationsPronunciationsDownloadCsv failed:", res.error);
194
+ }
195
+ }
196
+
197
+ run();
198
+ ```
199
+
200
+ ### Parameters
201
+
202
+ | Parameter | Type | Required | Description |
203
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
204
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
205
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
206
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
207
+
208
+ ### Response
209
+
210
+ **Promise\<void\>**
211
+
212
+ ### Errors
213
+
214
+ | Error Type | Status Code | Content Type |
215
+ | --------------- | --------------- | --------------- |
216
+ | errors.SDKError | 4XX, 5XX | \*/\* |
9
217
 
10
218
  ## pronunciationsUploadCsv
11
219
 
@@ -81,4 +289,72 @@ run();
81
289
  | Error Type | Status Code | Content Type |
82
290
  | -------------------------- | -------------------------- | -------------------------- |
83
291
  | errors.HTTPValidationError | 422 | application/json |
84
- | errors.SDKError | 4XX, 5XX | \*/\* |
292
+ | errors.SDKError | 4XX, 5XX | \*/\* |
293
+
294
+ ## pronunciationsDeleteCsv
295
+
296
+ Delete Pronunciations Dictionary
297
+
298
+ ### Example Usage
299
+
300
+ <!-- UsageSnippet language="typescript" operationID="pronunciations_delete_csv" method="delete" path="/api/v1/pronunciations/csv" -->
301
+ ```typescript
302
+ import { SyllableSDK } from "syllable-sdk";
303
+
304
+ const syllableSDK = new SyllableSDK({
305
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
306
+ });
307
+
308
+ async function run() {
309
+ await syllableSDK.pronunciations.pronunciationsDeleteCsv();
310
+
311
+
312
+ }
313
+
314
+ run();
315
+ ```
316
+
317
+ ### Standalone function
318
+
319
+ The standalone function version of this method:
320
+
321
+ ```typescript
322
+ import { SyllableSDKCore } from "syllable-sdk/core.js";
323
+ import { pronunciationsPronunciationsDeleteCsv } from "syllable-sdk/funcs/pronunciationsPronunciationsDeleteCsv.js";
324
+
325
+ // Use `SyllableSDKCore` for best tree-shaking performance.
326
+ // You can create one instance of it to use across an application.
327
+ const syllableSDK = new SyllableSDKCore({
328
+ apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
329
+ });
330
+
331
+ async function run() {
332
+ const res = await pronunciationsPronunciationsDeleteCsv(syllableSDK);
333
+ if (res.ok) {
334
+ const { value: result } = res;
335
+
336
+ } else {
337
+ console.log("pronunciationsPronunciationsDeleteCsv failed:", res.error);
338
+ }
339
+ }
340
+
341
+ run();
342
+ ```
343
+
344
+ ### Parameters
345
+
346
+ | Parameter | Type | Required | Description |
347
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
348
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
349
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
350
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
351
+
352
+ ### Response
353
+
354
+ **Promise\<void\>**
355
+
356
+ ### Errors
357
+
358
+ | Error Type | Status Code | Content Type |
359
+ | --------------- | --------------- | --------------- |
360
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -148,8 +148,8 @@ async function run() {
148
148
  "sheet_name": "Q1 Sales Data",
149
149
  },
150
150
  },
151
- startDatetime: new Date("2025-10-06T00:00:00Z"),
152
- endDatetime: new Date("2025-10-07T00:00:00Z"),
151
+ startDatetime: new Date("2025-10-07T00:00:00Z"),
152
+ endDatetime: new Date("2025-10-08T00:00:00Z"),
153
153
  });
154
154
 
155
155
  console.log(result);
@@ -200,8 +200,8 @@ async function run() {
200
200
  "sheet_name": "Q1 Sales Data",
201
201
  },
202
202
  },
203
- startDatetime: new Date("2025-10-06T00:00:00Z"),
204
- endDatetime: new Date("2025-10-07T00:00:00Z"),
203
+ startDatetime: new Date("2025-10-07T00:00:00Z"),
204
+ endDatetime: new Date("2025-10-08T00:00:00Z"),
205
205
  });
206
206
  if (res.ok) {
207
207
  const { value: result } = res;
@@ -352,8 +352,8 @@ async function run() {
352
352
  "sheet_name": "Q1 Sales Data",
353
353
  },
354
354
  },
355
- startDatetime: new Date("2025-10-06T00:00:00Z"),
356
- endDatetime: new Date("2025-10-07T00:00:00Z"),
355
+ startDatetime: new Date("2025-10-07T00:00:00Z"),
356
+ endDatetime: new Date("2025-10-08T00:00:00Z"),
357
357
  },
358
358
  });
359
359
 
@@ -407,8 +407,8 @@ async function run() {
407
407
  "sheet_name": "Q1 Sales Data",
408
408
  },
409
409
  },
410
- startDatetime: new Date("2025-10-06T00:00:00Z"),
411
- endDatetime: new Date("2025-10-07T00:00:00Z"),
410
+ startDatetime: new Date("2025-10-07T00:00:00Z"),
411
+ endDatetime: new Date("2025-10-08T00:00:00Z"),
412
412
  },
413
413
  });
414
414
  if (res.ok) {
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "syllable-sdk",
21
- "version": "1.0.1",
21
+ "version": "1.0.2-rc.2",
22
22
  "dependencies": {
23
23
  "zod": "^3.20.0"
24
24
  },
@@ -0,0 +1,13 @@
1
+ import { SyllableSDKCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
4
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
5
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
6
+ import { SyllableSDKError } from "../models/errors/syllablesdkerror.js";
7
+ import { APIPromise } from "../types/async.js";
8
+ import { Result } from "../types/fp.js";
9
+ /**
10
+ * Delete Pronunciations Dictionary
11
+ */
12
+ export declare function pronunciationsPronunciationsDeleteCsv(client: SyllableSDKCore, options?: RequestOptions): APIPromise<Result<void, SyllableSDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
13
+ //# sourceMappingURL=pronunciationsPronunciationsDeleteCsv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pronunciationsPronunciationsDeleteCsv.d.ts","sourceRoot":"","sources":["../src/funcs/pronunciationsPronunciationsDeleteCsv.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,gBAAgB,GAChB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.pronunciationsPronunciationsDeleteCsv = pronunciationsPronunciationsDeleteCsv;
40
+ const z = __importStar(require("zod"));
41
+ const M = __importStar(require("../lib/matchers.js"));
42
+ const primitives_js_1 = require("../lib/primitives.js");
43
+ const security_js_1 = require("../lib/security.js");
44
+ const url_js_1 = require("../lib/url.js");
45
+ const async_js_1 = require("../types/async.js");
46
+ /**
47
+ * Delete Pronunciations Dictionary
48
+ */
49
+ function pronunciationsPronunciationsDeleteCsv(client, options) {
50
+ return new async_js_1.APIPromise($do(client, options));
51
+ }
52
+ async function $do(client, options) {
53
+ const path = (0, url_js_1.pathToFunc)("/api/v1/pronunciations/csv")();
54
+ const headers = new Headers((0, primitives_js_1.compactMap)({
55
+ Accept: "*/*",
56
+ }));
57
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKeyHeader);
58
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
59
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
60
+ const context = {
61
+ options: client._options,
62
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
63
+ operationID: "pronunciations_delete_csv",
64
+ oAuth2Scopes: null,
65
+ resolvedSecurity: requestSecurity,
66
+ securitySource: client._options.apiKeyHeader,
67
+ retryConfig: options?.retries
68
+ || client._options.retryConfig
69
+ || { strategy: "none" },
70
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
71
+ };
72
+ const requestRes = client._createRequest(context, {
73
+ security: requestSecurity,
74
+ method: "DELETE",
75
+ baseURL: options?.serverURL,
76
+ path: path,
77
+ headers: headers,
78
+ userAgent: client._options.userAgent,
79
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
80
+ }, options);
81
+ if (!requestRes.ok) {
82
+ return [requestRes, { status: "invalid" }];
83
+ }
84
+ const req = requestRes.value;
85
+ const doResult = await client._do(req, {
86
+ context,
87
+ errorCodes: ["4XX", "5XX"],
88
+ retryConfig: context.retryConfig,
89
+ retryCodes: context.retryCodes,
90
+ });
91
+ if (!doResult.ok) {
92
+ return [doResult, { status: "request-error", request: req }];
93
+ }
94
+ const response = doResult.value;
95
+ const [result] = await M.match(M.nil(204, z.void()), M.fail("4XX"), M.fail("5XX"))(response, req);
96
+ if (!result.ok) {
97
+ return [result, { status: "complete", request: req, response }];
98
+ }
99
+ return [result, { status: "complete", request: req, response }];
100
+ }
101
+ //# sourceMappingURL=pronunciationsPronunciationsDeleteCsv.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pronunciationsPronunciationsDeleteCsv.js","sourceRoot":"","sources":["../src/funcs/pronunciationsPronunciationsDeleteCsv.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,sFAoBC;AA3CD,uCAAyB;AAEzB,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAW3C,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,qCAAqC,CACnD,MAAuB,EACvB,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAuB,EACvB,OAAwB;IAiBxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,4BAA4B,CAAC,EAAE,CAAC;IAExD,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,KAAK;KACd,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IACtE,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;IAC3E,MAAM,eAAe,GAAG,IAAA,mCAAqB,EAAC,aAAa,CAAC,CAAC;IAE7D,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,MAAM,CAAC,QAAQ;QACxB,OAAO,EAAE,OAAO,EAAE,SAAS,IAAI,MAAM,CAAC,QAAQ,IAAI,EAAE;QACpD,WAAW,EAAE,2BAA2B;QACxC,YAAY,EAAE,IAAI;QAElB,gBAAgB,EAAE,eAAe;QAEjC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,YA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AAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EACpB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { SyllableSDKCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
4
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
5
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
6
+ import { SyllableSDKError } from "../models/errors/syllablesdkerror.js";
7
+ import { APIPromise } from "../types/async.js";
8
+ import { Result } from "../types/fp.js";
9
+ /**
10
+ * Download Pronunciations Csv
11
+ */
12
+ export declare function pronunciationsPronunciationsDownloadCsv(client: SyllableSDKCore, options?: RequestOptions): APIPromise<Result<void, SyllableSDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
13
+ //# sourceMappingURL=pronunciationsPronunciationsDownloadCsv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pronunciationsPronunciationsDownloadCsv.d.ts","sourceRoot":"","sources":["../src/funcs/pronunciationsPronunciationsDownloadCsv.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,gBAAgB,GAChB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.pronunciationsPronunciationsDownloadCsv = pronunciationsPronunciationsDownloadCsv;
40
+ const z = __importStar(require("zod"));
41
+ const M = __importStar(require("../lib/matchers.js"));
42
+ const primitives_js_1 = require("../lib/primitives.js");
43
+ const security_js_1 = require("../lib/security.js");
44
+ const url_js_1 = require("../lib/url.js");
45
+ const async_js_1 = require("../types/async.js");
46
+ /**
47
+ * Download Pronunciations Csv
48
+ */
49
+ function pronunciationsPronunciationsDownloadCsv(client, options) {
50
+ return new async_js_1.APIPromise($do(client, options));
51
+ }
52
+ async function $do(client, options) {
53
+ const path = (0, url_js_1.pathToFunc)("/api/v1/pronunciations/csv")();
54
+ const headers = new Headers((0, primitives_js_1.compactMap)({
55
+ Accept: "*/*",
56
+ }));
57
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKeyHeader);
58
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
59
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
60
+ const context = {
61
+ options: client._options,
62
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
63
+ operationID: "pronunciations_download_csv",
64
+ oAuth2Scopes: null,
65
+ resolvedSecurity: requestSecurity,
66
+ securitySource: client._options.apiKeyHeader,
67
+ retryConfig: options?.retries
68
+ || client._options.retryConfig
69
+ || { strategy: "none" },
70
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
71
+ };
72
+ const requestRes = client._createRequest(context, {
73
+ security: requestSecurity,
74
+ method: "GET",
75
+ baseURL: options?.serverURL,
76
+ path: path,
77
+ headers: headers,
78
+ userAgent: client._options.userAgent,
79
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
80
+ }, options);
81
+ if (!requestRes.ok) {
82
+ return [requestRes, { status: "invalid" }];
83
+ }
84
+ const req = requestRes.value;
85
+ const doResult = await client._do(req, {
86
+ context,
87
+ errorCodes: ["4XX", "5XX"],
88
+ retryConfig: context.retryConfig,
89
+ retryCodes: context.retryCodes,
90
+ });
91
+ if (!doResult.ok) {
92
+ return [doResult, { status: "request-error", request: req }];
93
+ }
94
+ const response = doResult.value;
95
+ const [result] = await M.match(M.nil(200, z.void()), M.fail("4XX"), M.fail("5XX"))(response, req);
96
+ if (!result.ok) {
97
+ return [result, { status: "complete", request: req, response }];
98
+ }
99
+ return [result, { status: "complete", request: req, response }];
100
+ }
101
+ //# sourceMappingURL=pronunciationsPronunciationsDownloadCsv.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pronunciationsPronunciationsDownloadCsv.js","sourceRoot":"","sources":["../src/funcs/pronunciationsPronunciationsDownloadCsv.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,0FAoBC;AA3CD,uCAAyB;AAEzB,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAW3C,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,uCAAuC,CACrD,MAAuB,EACvB,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAuB,EACvB,OAAwB;IAiBxB,M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C"}
@@ -0,0 +1,14 @@
1
+ import { SyllableSDKCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
6
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
+ import { SyllableSDKError } from "../models/errors/syllablesdkerror.js";
8
+ import { APIPromise } from "../types/async.js";
9
+ import { Result } from "../types/fp.js";
10
+ /**
11
+ * Get Pronunciations Dictionary
12
+ */
13
+ export declare function pronunciationsPronunciationsGet(client: SyllableSDKCore, options?: RequestOptions): APIPromise<Result<components.PronunciationOverridesDictionary, SyllableSDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
14
+ //# sourceMappingURL=pronunciationsPronunciationsGet.d.ts.map