samva 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +7 -0
- package/README.md +24 -0
- package/dist/client/sdk.gen.d.ts +438 -5
- package/dist/client/sdk.gen.js +1544 -229
- package/dist/client/types.gen.d.ts +8124 -5612
- package/dist/effect/accounts.d.ts +50 -0
- package/dist/effect/accounts.js +22 -0
- package/dist/effect/agents.d.ts +9 -0
- package/dist/effect/agents.js +1 -1
- package/dist/effect/approval-requests.d.ts +42 -0
- package/dist/effect/approval-requests.js +18 -0
- package/dist/effect/campaigns.d.ts +160 -160
- package/dist/effect/generated/accounts.d.ts +1002 -0
- package/dist/effect/generated/accounts.js +198 -0
- package/dist/effect/generated/agents.d.ts +84 -0
- package/dist/effect/generated/agents.js +1 -0
- package/dist/effect/generated/analytics.d.ts +6 -0
- package/dist/effect/generated/analytics.js +4 -2
- package/dist/effect/generated/approval-requests.d.ts +777 -0
- package/dist/effect/generated/approval-requests.js +135 -0
- package/dist/effect/generated/campaigns.d.ts +17 -17
- package/dist/effect/generated/campaigns.js +6 -6
- package/dist/effect/generated/conversations.d.ts +20 -20
- package/dist/effect/generated/conversations.js +10 -10
- package/dist/effect/generated/events.js +1 -1
- package/dist/effect/generated/index.d.ts +11 -1
- package/dist/effect/generated/integrations-catalog.d.ts +671 -0
- package/dist/effect/generated/integrations-catalog.js +217 -0
- package/dist/effect/generated/integrations.d.ts +1401 -0
- package/dist/effect/generated/integrations.js +246 -0
- package/dist/effect/generated/mailboxes.d.ts +8157 -4241
- package/dist/effect/generated/mailboxes.js +677 -52
- package/dist/effect/generated/messages.d.ts +8 -8
- package/dist/effect/generated/messages.js +4 -4
- package/dist/effect/generated/scheduled-messages.d.ts +50 -50
- package/dist/effect/generated/scheduled-messages.js +17 -17
- package/dist/effect/generated/shared.d.ts +661 -511
- package/dist/effect/generated/shared.js +212 -179
- package/dist/effect/generated/template-share-links.d.ts +733 -0
- package/dist/effect/generated/template-share-links.js +165 -0
- package/dist/effect/generated/templates.d.ts +39 -22
- package/dist/effect/generated/templates.js +19 -16
- package/dist/effect/generated-metadata.d.ts +248 -0
- package/dist/effect/generated-metadata.js +705 -555
- package/dist/effect/index.d.ts +5 -0
- package/dist/effect/index.js +6 -1
- package/dist/effect/integrations-catalog.d.ts +38 -0
- package/dist/effect/integrations-catalog.js +16 -0
- package/dist/effect/integrations.d.ts +165 -0
- package/dist/effect/integrations.js +24 -0
- package/dist/effect/mailboxes.d.ts +373 -191
- package/dist/effect/mailboxes.js +31 -1
- package/dist/effect/scheduled-messages.d.ts +350 -350
- package/dist/effect/template-share-links.d.ts +18 -0
- package/dist/effect/template-share-links.js +20 -0
- package/dist/effect/templates.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +11 -1
- package/dist/promises/client.js +13 -3
- package/dist/promises/errors.gen.d.ts +22 -2
- package/dist/promises/errors.gen.js +54 -1
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +203 -0
- package/dist/service-map.js +103 -0
- package/package.json +22 -2
package/dist/service-map.d.ts
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
* is visible in review and test failures.
|
|
5
5
|
*/
|
|
6
6
|
export declare const SDK_SERVICE_OPERATIONS: {
|
|
7
|
+
readonly approvalRequests: {
|
|
8
|
+
readonly create: "approvalRequestsCreate";
|
|
9
|
+
readonly get: "approvalRequestsGet";
|
|
10
|
+
readonly approve: "approvalRequestsApprove";
|
|
11
|
+
readonly reject: "approvalRequestsReject";
|
|
12
|
+
};
|
|
7
13
|
readonly messages: {
|
|
8
14
|
readonly list: "messagesList";
|
|
9
15
|
readonly send: "messagesSend";
|
|
@@ -197,6 +203,28 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
197
203
|
readonly listVersions: "agentsListVersions";
|
|
198
204
|
readonly getVersion: "agentsGetVersion";
|
|
199
205
|
};
|
|
206
|
+
readonly accounts: {
|
|
207
|
+
readonly listContactConnections: "accountsListContactConnections";
|
|
208
|
+
readonly list: "accountsList";
|
|
209
|
+
readonly get: "accountsGet";
|
|
210
|
+
readonly remove: "accountsRemove";
|
|
211
|
+
readonly check: "accountsCheck";
|
|
212
|
+
readonly connect: "accountsConnect";
|
|
213
|
+
};
|
|
214
|
+
readonly integrationCatalog: {
|
|
215
|
+
readonly prepare: "integrationCatalogPrepare";
|
|
216
|
+
readonly search: "integrationCatalogSearch";
|
|
217
|
+
readonly list: "integrationCatalogList";
|
|
218
|
+
};
|
|
219
|
+
readonly integrations: {
|
|
220
|
+
readonly list: "integrationsList";
|
|
221
|
+
readonly install: "integrationsInstall";
|
|
222
|
+
readonly listTools: "integrationsListTools";
|
|
223
|
+
readonly readTool: "integrationsReadTool";
|
|
224
|
+
readonly get: "integrationsGet";
|
|
225
|
+
readonly update: "integrationsUpdate";
|
|
226
|
+
readonly remove: "integrationsRemove";
|
|
227
|
+
};
|
|
200
228
|
readonly subscriptions: {
|
|
201
229
|
readonly subscribe: "subscriptionsSubscribe";
|
|
202
230
|
};
|
|
@@ -309,6 +337,13 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
309
337
|
readonly attachWorkspaceResource: "templatesAttachWorkspaceResource";
|
|
310
338
|
readonly removeWorkspaceResource: "templatesRemoveWorkspaceResource";
|
|
311
339
|
};
|
|
340
|
+
readonly templateShareLinks: {
|
|
341
|
+
readonly create: "templateShareLinksCreate";
|
|
342
|
+
readonly rename: "templateShareLinksRename";
|
|
343
|
+
readonly get: "templateShareLinksGet";
|
|
344
|
+
readonly delete: "templateShareLinksDelete";
|
|
345
|
+
readonly update: "templateShareLinksUpdate";
|
|
346
|
+
};
|
|
312
347
|
readonly brands: {
|
|
313
348
|
readonly list: "brandsList";
|
|
314
349
|
readonly create: "brandsCreate";
|
|
@@ -361,6 +396,10 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
361
396
|
readonly get: "whoamiGet";
|
|
362
397
|
};
|
|
363
398
|
readonly mailboxes: {
|
|
399
|
+
readonly createImportUpload: "mailboxesCreateImportUpload";
|
|
400
|
+
readonly startImport: "mailboxesStartImport";
|
|
401
|
+
readonly getImport: "mailboxesGetImport";
|
|
402
|
+
readonly listImports: "mailboxesListImports";
|
|
364
403
|
readonly list: "mailboxesList";
|
|
365
404
|
readonly create: "mailboxesCreate";
|
|
366
405
|
readonly get: "mailboxesGet";
|
|
@@ -406,6 +445,11 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
406
445
|
readonly listQuarantine: "mailboxesListQuarantine";
|
|
407
446
|
readonly releaseMessage: "mailboxesReleaseMessage";
|
|
408
447
|
readonly discardMessage: "mailboxesDiscardMessage";
|
|
448
|
+
readonly scheduleDraft: "mailboxesScheduleDraft";
|
|
449
|
+
readonly rescheduleSend: "mailboxesRescheduleSend";
|
|
450
|
+
readonly unscheduleSend: "mailboxesUnscheduleSend";
|
|
451
|
+
readonly sendScheduledNow: "mailboxesSendScheduledNow";
|
|
452
|
+
readonly listScheduledSends: "mailboxesListScheduledSends";
|
|
409
453
|
readonly listDrafts: "mailboxesListDrafts";
|
|
410
454
|
readonly createDraft: "mailboxesCreateDraft";
|
|
411
455
|
readonly getDraft: "mailboxesGetDraft";
|
|
@@ -419,6 +463,12 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
419
463
|
readonly approveAction: "mailboxesApproveAction";
|
|
420
464
|
readonly denyAction: "mailboxesDenyAction";
|
|
421
465
|
readonly listEvents: "mailboxesListEvents";
|
|
466
|
+
readonly countSplits: "mailboxesCountSplits";
|
|
467
|
+
readonly listSplits: "mailboxesListSplits";
|
|
468
|
+
readonly createSplit: "mailboxesCreateSplit";
|
|
469
|
+
readonly updateSplit: "mailboxesUpdateSplit";
|
|
470
|
+
readonly deleteSplit: "mailboxesDeleteSplit";
|
|
471
|
+
readonly listAddresses: "mailboxesListAddresses";
|
|
422
472
|
};
|
|
423
473
|
readonly policies: {
|
|
424
474
|
readonly getPolicy: "policiesGetPolicy";
|
|
@@ -496,6 +546,21 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
496
546
|
};
|
|
497
547
|
/** How each generated Effect operation is adapted to the Promise facade's direct input shape. */
|
|
498
548
|
export declare const SDK_OPERATION_CALLS: {
|
|
549
|
+
readonly approvalRequestsCreate: {
|
|
550
|
+
readonly kind: "payload";
|
|
551
|
+
};
|
|
552
|
+
readonly approvalRequestsGet: {
|
|
553
|
+
readonly kind: "path";
|
|
554
|
+
readonly paths: readonly ["id"];
|
|
555
|
+
};
|
|
556
|
+
readonly approvalRequestsApprove: {
|
|
557
|
+
readonly kind: "path";
|
|
558
|
+
readonly paths: readonly ["id"];
|
|
559
|
+
};
|
|
560
|
+
readonly approvalRequestsReject: {
|
|
561
|
+
readonly kind: "pathPayload";
|
|
562
|
+
readonly paths: readonly ["id"];
|
|
563
|
+
};
|
|
499
564
|
readonly messagesList: {
|
|
500
565
|
readonly kind: "params";
|
|
501
566
|
};
|
|
@@ -1113,6 +1178,62 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1113
1178
|
readonly kind: "path";
|
|
1114
1179
|
readonly paths: readonly ["id", "version"];
|
|
1115
1180
|
};
|
|
1181
|
+
readonly accountsListContactConnections: {
|
|
1182
|
+
readonly kind: "params";
|
|
1183
|
+
};
|
|
1184
|
+
readonly accountsList: {
|
|
1185
|
+
readonly kind: "none";
|
|
1186
|
+
};
|
|
1187
|
+
readonly accountsGet: {
|
|
1188
|
+
readonly kind: "path";
|
|
1189
|
+
readonly paths: readonly ["accountId"];
|
|
1190
|
+
};
|
|
1191
|
+
readonly accountsRemove: {
|
|
1192
|
+
readonly kind: "path";
|
|
1193
|
+
readonly paths: readonly ["accountId"];
|
|
1194
|
+
};
|
|
1195
|
+
readonly accountsCheck: {
|
|
1196
|
+
readonly kind: "path";
|
|
1197
|
+
readonly paths: readonly ["accountId"];
|
|
1198
|
+
};
|
|
1199
|
+
readonly accountsConnect: {
|
|
1200
|
+
readonly kind: "payload";
|
|
1201
|
+
};
|
|
1202
|
+
readonly integrationCatalogPrepare: {
|
|
1203
|
+
readonly kind: "payload";
|
|
1204
|
+
};
|
|
1205
|
+
readonly integrationCatalogSearch: {
|
|
1206
|
+
readonly kind: "params";
|
|
1207
|
+
};
|
|
1208
|
+
readonly integrationCatalogList: {
|
|
1209
|
+
readonly kind: "none";
|
|
1210
|
+
};
|
|
1211
|
+
readonly integrationsList: {
|
|
1212
|
+
readonly kind: "params";
|
|
1213
|
+
};
|
|
1214
|
+
readonly integrationsInstall: {
|
|
1215
|
+
readonly kind: "payload";
|
|
1216
|
+
};
|
|
1217
|
+
readonly integrationsListTools: {
|
|
1218
|
+
readonly kind: "pathParams";
|
|
1219
|
+
readonly paths: readonly ["integrationId"];
|
|
1220
|
+
};
|
|
1221
|
+
readonly integrationsReadTool: {
|
|
1222
|
+
readonly kind: "pathParams";
|
|
1223
|
+
readonly paths: readonly ["integrationId", "tool"];
|
|
1224
|
+
};
|
|
1225
|
+
readonly integrationsGet: {
|
|
1226
|
+
readonly kind: "path";
|
|
1227
|
+
readonly paths: readonly ["integrationId"];
|
|
1228
|
+
};
|
|
1229
|
+
readonly integrationsUpdate: {
|
|
1230
|
+
readonly kind: "pathPayload";
|
|
1231
|
+
readonly paths: readonly ["integrationId"];
|
|
1232
|
+
};
|
|
1233
|
+
readonly integrationsRemove: {
|
|
1234
|
+
readonly kind: "path";
|
|
1235
|
+
readonly paths: readonly ["integrationId"];
|
|
1236
|
+
};
|
|
1116
1237
|
readonly subscriptionsSubscribe: {
|
|
1117
1238
|
readonly kind: "payload";
|
|
1118
1239
|
};
|
|
@@ -1458,6 +1579,26 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1458
1579
|
readonly kind: "pathPayload";
|
|
1459
1580
|
readonly paths: readonly ["id", "resourceId"];
|
|
1460
1581
|
};
|
|
1582
|
+
readonly templateShareLinksCreate: {
|
|
1583
|
+
readonly kind: "pathPayload";
|
|
1584
|
+
readonly paths: readonly ["projectId"];
|
|
1585
|
+
};
|
|
1586
|
+
readonly templateShareLinksRename: {
|
|
1587
|
+
readonly kind: "pathPayload";
|
|
1588
|
+
readonly paths: readonly ["projectId"];
|
|
1589
|
+
};
|
|
1590
|
+
readonly templateShareLinksGet: {
|
|
1591
|
+
readonly kind: "path";
|
|
1592
|
+
readonly paths: readonly ["projectId"];
|
|
1593
|
+
};
|
|
1594
|
+
readonly templateShareLinksDelete: {
|
|
1595
|
+
readonly kind: "path";
|
|
1596
|
+
readonly paths: readonly ["projectId"];
|
|
1597
|
+
};
|
|
1598
|
+
readonly templateShareLinksUpdate: {
|
|
1599
|
+
readonly kind: "path";
|
|
1600
|
+
readonly paths: readonly ["projectId"];
|
|
1601
|
+
};
|
|
1461
1602
|
readonly brandsList: {
|
|
1462
1603
|
readonly kind: "none";
|
|
1463
1604
|
};
|
|
@@ -1595,6 +1736,22 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1595
1736
|
readonly whoamiGet: {
|
|
1596
1737
|
readonly kind: "none";
|
|
1597
1738
|
};
|
|
1739
|
+
readonly mailboxesCreateImportUpload: {
|
|
1740
|
+
readonly kind: "pathPayload";
|
|
1741
|
+
readonly paths: readonly ["id"];
|
|
1742
|
+
};
|
|
1743
|
+
readonly mailboxesStartImport: {
|
|
1744
|
+
readonly kind: "path";
|
|
1745
|
+
readonly paths: readonly ["id", "importId"];
|
|
1746
|
+
};
|
|
1747
|
+
readonly mailboxesGetImport: {
|
|
1748
|
+
readonly kind: "path";
|
|
1749
|
+
readonly paths: readonly ["id", "importId"];
|
|
1750
|
+
};
|
|
1751
|
+
readonly mailboxesListImports: {
|
|
1752
|
+
readonly kind: "path";
|
|
1753
|
+
readonly paths: readonly ["id"];
|
|
1754
|
+
};
|
|
1598
1755
|
readonly mailboxesList: {
|
|
1599
1756
|
readonly kind: "params";
|
|
1600
1757
|
};
|
|
@@ -1770,6 +1927,26 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1770
1927
|
readonly kind: "path";
|
|
1771
1928
|
readonly paths: readonly ["id", "messageId"];
|
|
1772
1929
|
};
|
|
1930
|
+
readonly mailboxesScheduleDraft: {
|
|
1931
|
+
readonly kind: "pathPayload";
|
|
1932
|
+
readonly paths: readonly ["id", "draftId"];
|
|
1933
|
+
};
|
|
1934
|
+
readonly mailboxesRescheduleSend: {
|
|
1935
|
+
readonly kind: "pathPayload";
|
|
1936
|
+
readonly paths: readonly ["id", "outboxId"];
|
|
1937
|
+
};
|
|
1938
|
+
readonly mailboxesUnscheduleSend: {
|
|
1939
|
+
readonly kind: "pathPayload";
|
|
1940
|
+
readonly paths: readonly ["id", "outboxId"];
|
|
1941
|
+
};
|
|
1942
|
+
readonly mailboxesSendScheduledNow: {
|
|
1943
|
+
readonly kind: "pathPayload";
|
|
1944
|
+
readonly paths: readonly ["id", "outboxId"];
|
|
1945
|
+
};
|
|
1946
|
+
readonly mailboxesListScheduledSends: {
|
|
1947
|
+
readonly kind: "pathParams";
|
|
1948
|
+
readonly paths: readonly ["id"];
|
|
1949
|
+
};
|
|
1773
1950
|
readonly mailboxesListDrafts: {
|
|
1774
1951
|
readonly kind: "pathParams";
|
|
1775
1952
|
readonly paths: readonly ["id"];
|
|
@@ -1822,6 +1999,27 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1822
1999
|
readonly kind: "pathParams";
|
|
1823
2000
|
readonly paths: readonly ["id"];
|
|
1824
2001
|
};
|
|
2002
|
+
readonly mailboxesCountSplits: {
|
|
2003
|
+
readonly kind: "none";
|
|
2004
|
+
};
|
|
2005
|
+
readonly mailboxesListSplits: {
|
|
2006
|
+
readonly kind: "none";
|
|
2007
|
+
};
|
|
2008
|
+
readonly mailboxesCreateSplit: {
|
|
2009
|
+
readonly kind: "payload";
|
|
2010
|
+
};
|
|
2011
|
+
readonly mailboxesUpdateSplit: {
|
|
2012
|
+
readonly kind: "pathPayload";
|
|
2013
|
+
readonly paths: readonly ["splitId"];
|
|
2014
|
+
};
|
|
2015
|
+
readonly mailboxesDeleteSplit: {
|
|
2016
|
+
readonly kind: "path";
|
|
2017
|
+
readonly paths: readonly ["splitId"];
|
|
2018
|
+
};
|
|
2019
|
+
readonly mailboxesListAddresses: {
|
|
2020
|
+
readonly kind: "pathParams";
|
|
2021
|
+
readonly paths: readonly ["id"];
|
|
2022
|
+
};
|
|
1825
2023
|
readonly policiesGetPolicy: {
|
|
1826
2024
|
readonly kind: "path";
|
|
1827
2025
|
readonly paths: readonly ["kind", "id"];
|
|
@@ -2035,6 +2233,7 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
2035
2233
|
};
|
|
2036
2234
|
};
|
|
2037
2235
|
export declare const SDK_EFFECT_MODULES: {
|
|
2236
|
+
readonly "approval-requests": "approvalRequests";
|
|
2038
2237
|
readonly messages: "messages";
|
|
2039
2238
|
readonly operations: "operations";
|
|
2040
2239
|
readonly "scheduled-messages": "scheduledMessages";
|
|
@@ -2047,6 +2246,9 @@ export declare const SDK_EFFECT_MODULES: {
|
|
|
2047
2246
|
readonly events: "events";
|
|
2048
2247
|
readonly journeys: "journeys";
|
|
2049
2248
|
readonly agents: "agents";
|
|
2249
|
+
readonly accounts: "accounts";
|
|
2250
|
+
readonly "integrations-catalog": "integrationCatalog";
|
|
2251
|
+
readonly integrations: "integrations";
|
|
2050
2252
|
readonly subscriptions: "subscriptions";
|
|
2051
2253
|
readonly "contact-groups": "contactGroups";
|
|
2052
2254
|
readonly "custom-fields": "customFields";
|
|
@@ -2057,6 +2259,7 @@ export declare const SDK_EFFECT_MODULES: {
|
|
|
2057
2259
|
readonly "newsletter-domains": "newsletterDomains";
|
|
2058
2260
|
readonly analytics: "analytics";
|
|
2059
2261
|
readonly templates: "templates";
|
|
2262
|
+
readonly "template-share-links": "templateShareLinks";
|
|
2060
2263
|
readonly brands: "brands";
|
|
2061
2264
|
readonly webhooks: "webhooks";
|
|
2062
2265
|
readonly organizations: "organizations";
|
package/dist/service-map.js
CHANGED
|
@@ -13,6 +13,10 @@ const idPathParams = {
|
|
|
13
13
|
};
|
|
14
14
|
/** How each generated Effect operation is adapted to the Promise facade's direct input shape. */
|
|
15
15
|
const SDK_OPERATION_CALLS = {
|
|
16
|
+
approvalRequestsCreate: { kind: "payload" },
|
|
17
|
+
approvalRequestsGet: idPath,
|
|
18
|
+
approvalRequestsApprove: idPath,
|
|
19
|
+
approvalRequestsReject: idPathPayload,
|
|
16
20
|
messagesList: { kind: "params" },
|
|
17
21
|
messagesSend: { kind: "payload" },
|
|
18
22
|
messagesGet: idPath,
|
|
@@ -221,6 +225,46 @@ const SDK_OPERATION_CALLS = {
|
|
|
221
225
|
kind: "path",
|
|
222
226
|
paths: ["id", "version"]
|
|
223
227
|
},
|
|
228
|
+
accountsListContactConnections: { kind: "params" },
|
|
229
|
+
accountsList: { kind: "none" },
|
|
230
|
+
accountsGet: {
|
|
231
|
+
kind: "path",
|
|
232
|
+
paths: ["accountId"]
|
|
233
|
+
},
|
|
234
|
+
accountsRemove: {
|
|
235
|
+
kind: "path",
|
|
236
|
+
paths: ["accountId"]
|
|
237
|
+
},
|
|
238
|
+
accountsCheck: {
|
|
239
|
+
kind: "path",
|
|
240
|
+
paths: ["accountId"]
|
|
241
|
+
},
|
|
242
|
+
accountsConnect: { kind: "payload" },
|
|
243
|
+
integrationCatalogPrepare: { kind: "payload" },
|
|
244
|
+
integrationCatalogSearch: { kind: "params" },
|
|
245
|
+
integrationCatalogList: { kind: "none" },
|
|
246
|
+
integrationsList: { kind: "params" },
|
|
247
|
+
integrationsInstall: { kind: "payload" },
|
|
248
|
+
integrationsListTools: {
|
|
249
|
+
kind: "pathParams",
|
|
250
|
+
paths: ["integrationId"]
|
|
251
|
+
},
|
|
252
|
+
integrationsReadTool: {
|
|
253
|
+
kind: "pathParams",
|
|
254
|
+
paths: ["integrationId", "tool"]
|
|
255
|
+
},
|
|
256
|
+
integrationsGet: {
|
|
257
|
+
kind: "path",
|
|
258
|
+
paths: ["integrationId"]
|
|
259
|
+
},
|
|
260
|
+
integrationsUpdate: {
|
|
261
|
+
kind: "pathPayload",
|
|
262
|
+
paths: ["integrationId"]
|
|
263
|
+
},
|
|
264
|
+
integrationsRemove: {
|
|
265
|
+
kind: "path",
|
|
266
|
+
paths: ["integrationId"]
|
|
267
|
+
},
|
|
224
268
|
subscriptionsSubscribe: { kind: "payload" },
|
|
225
269
|
contactGroupsList: { kind: "params" },
|
|
226
270
|
contactGroupsCreate: { kind: "payload" },
|
|
@@ -379,6 +423,26 @@ const SDK_OPERATION_CALLS = {
|
|
|
379
423
|
kind: "pathPayload",
|
|
380
424
|
paths: ["id", "resourceId"]
|
|
381
425
|
},
|
|
426
|
+
templateShareLinksCreate: {
|
|
427
|
+
kind: "pathPayload",
|
|
428
|
+
paths: ["projectId"]
|
|
429
|
+
},
|
|
430
|
+
templateShareLinksRename: {
|
|
431
|
+
kind: "pathPayload",
|
|
432
|
+
paths: ["projectId"]
|
|
433
|
+
},
|
|
434
|
+
templateShareLinksGet: {
|
|
435
|
+
kind: "path",
|
|
436
|
+
paths: ["projectId"]
|
|
437
|
+
},
|
|
438
|
+
templateShareLinksDelete: {
|
|
439
|
+
kind: "path",
|
|
440
|
+
paths: ["projectId"]
|
|
441
|
+
},
|
|
442
|
+
templateShareLinksUpdate: {
|
|
443
|
+
kind: "path",
|
|
444
|
+
paths: ["projectId"]
|
|
445
|
+
},
|
|
382
446
|
brandsList: { kind: "none" },
|
|
383
447
|
brandsCreate: { kind: "payload" },
|
|
384
448
|
brandsGet: {
|
|
@@ -436,6 +500,16 @@ const SDK_OPERATION_CALLS = {
|
|
|
436
500
|
apiKeysGetActivity: idPathParams,
|
|
437
501
|
feedbackSend: { kind: "payload" },
|
|
438
502
|
whoamiGet: { kind: "none" },
|
|
503
|
+
mailboxesCreateImportUpload: idPathPayload,
|
|
504
|
+
mailboxesStartImport: {
|
|
505
|
+
kind: "path",
|
|
506
|
+
paths: ["id", "importId"]
|
|
507
|
+
},
|
|
508
|
+
mailboxesGetImport: {
|
|
509
|
+
kind: "path",
|
|
510
|
+
paths: ["id", "importId"]
|
|
511
|
+
},
|
|
512
|
+
mailboxesListImports: idPath,
|
|
439
513
|
mailboxesList: { kind: "params" },
|
|
440
514
|
mailboxesCreate: { kind: "payload" },
|
|
441
515
|
mailboxesGet: idPath,
|
|
@@ -572,6 +646,23 @@ const SDK_OPERATION_CALLS = {
|
|
|
572
646
|
kind: "path",
|
|
573
647
|
paths: ["id", "messageId"]
|
|
574
648
|
},
|
|
649
|
+
mailboxesScheduleDraft: {
|
|
650
|
+
kind: "pathPayload",
|
|
651
|
+
paths: ["id", "draftId"]
|
|
652
|
+
},
|
|
653
|
+
mailboxesRescheduleSend: {
|
|
654
|
+
kind: "pathPayload",
|
|
655
|
+
paths: ["id", "outboxId"]
|
|
656
|
+
},
|
|
657
|
+
mailboxesUnscheduleSend: {
|
|
658
|
+
kind: "pathPayload",
|
|
659
|
+
paths: ["id", "outboxId"]
|
|
660
|
+
},
|
|
661
|
+
mailboxesSendScheduledNow: {
|
|
662
|
+
kind: "pathPayload",
|
|
663
|
+
paths: ["id", "outboxId"]
|
|
664
|
+
},
|
|
665
|
+
mailboxesListScheduledSends: idPathParams,
|
|
575
666
|
mailboxesListDrafts: idPathParams,
|
|
576
667
|
mailboxesCreateDraft: idPathPayload,
|
|
577
668
|
mailboxesGetDraft: {
|
|
@@ -612,6 +703,18 @@ const SDK_OPERATION_CALLS = {
|
|
|
612
703
|
paths: ["id", "actionId"]
|
|
613
704
|
},
|
|
614
705
|
mailboxesListEvents: idPathParams,
|
|
706
|
+
mailboxesCountSplits: { kind: "none" },
|
|
707
|
+
mailboxesListSplits: { kind: "none" },
|
|
708
|
+
mailboxesCreateSplit: { kind: "payload" },
|
|
709
|
+
mailboxesUpdateSplit: {
|
|
710
|
+
kind: "pathPayload",
|
|
711
|
+
paths: ["splitId"]
|
|
712
|
+
},
|
|
713
|
+
mailboxesDeleteSplit: {
|
|
714
|
+
kind: "path",
|
|
715
|
+
paths: ["splitId"]
|
|
716
|
+
},
|
|
717
|
+
mailboxesListAddresses: idPathParams,
|
|
615
718
|
policiesGetPolicy: {
|
|
616
719
|
kind: "path",
|
|
617
720
|
paths: ["kind", "id"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "samva",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"description": "TypeScript SDK for the Samva email and WhatsApp API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -56,6 +56,18 @@
|
|
|
56
56
|
"types": "./dist/effect/categories.d.ts",
|
|
57
57
|
"import": "./dist/effect/categories.js"
|
|
58
58
|
},
|
|
59
|
+
"./effect/accounts": {
|
|
60
|
+
"types": "./dist/effect/accounts.d.ts",
|
|
61
|
+
"import": "./dist/effect/accounts.js"
|
|
62
|
+
},
|
|
63
|
+
"./effect/integrations-catalog": {
|
|
64
|
+
"types": "./dist/effect/integrations-catalog.d.ts",
|
|
65
|
+
"import": "./dist/effect/integrations-catalog.js"
|
|
66
|
+
},
|
|
67
|
+
"./effect/integrations": {
|
|
68
|
+
"types": "./dist/effect/integrations.d.ts",
|
|
69
|
+
"import": "./dist/effect/integrations.js"
|
|
70
|
+
},
|
|
59
71
|
"./effect/agents": {
|
|
60
72
|
"types": "./dist/effect/agents.d.ts",
|
|
61
73
|
"import": "./dist/effect/agents.js"
|
|
@@ -68,6 +80,10 @@
|
|
|
68
80
|
"types": "./dist/effect/api-keys.d.ts",
|
|
69
81
|
"import": "./dist/effect/api-keys.js"
|
|
70
82
|
},
|
|
83
|
+
"./effect/approval-requests": {
|
|
84
|
+
"types": "./dist/effect/approval-requests.d.ts",
|
|
85
|
+
"import": "./dist/effect/approval-requests.js"
|
|
86
|
+
},
|
|
71
87
|
"./effect/attachments": {
|
|
72
88
|
"types": "./dist/effect/attachments.d.ts",
|
|
73
89
|
"import": "./dist/effect/attachments.js"
|
|
@@ -232,6 +248,10 @@
|
|
|
232
248
|
"./effect/template-registrations": {
|
|
233
249
|
"types": "./dist/effect/template-registrations.d.ts",
|
|
234
250
|
"import": "./dist/effect/template-registrations.js"
|
|
251
|
+
},
|
|
252
|
+
"./effect/template-share-links": {
|
|
253
|
+
"types": "./dist/effect/template-share-links.d.ts",
|
|
254
|
+
"import": "./dist/effect/template-share-links.js"
|
|
235
255
|
}
|
|
236
256
|
},
|
|
237
257
|
"publishConfig": {
|
|
@@ -253,7 +273,7 @@
|
|
|
253
273
|
"typecheck": "slot 'effect-tsgo tsrs --noEmit && effect-tsgo tsrs --noEmit -p codegen/tsconfig.json && effect-tsgo tsrs --noEmit -p tests/tsconfig.json && effect-tsgo tsrs --noEmit --project tests/parity/tsconfig.json \"$@\"'"
|
|
254
274
|
},
|
|
255
275
|
"dependencies": {
|
|
256
|
-
"@samva/webhooks": "0.
|
|
276
|
+
"@samva/webhooks": "0.46.0"
|
|
257
277
|
},
|
|
258
278
|
"devDependencies": {
|
|
259
279
|
"@effect/openapi-generator": "^4.1.2",
|