samva 0.48.0 → 0.49.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/dist/client/sdk.gen.d.ts +224 -29
- package/dist/client/sdk.gen.js +541 -48
- package/dist/client/types.gen.d.ts +1291 -153
- package/dist/effect/accounts.d.ts +6 -6
- package/dist/effect/agents.d.ts +13 -13
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/api-keys.d.ts +11 -11
- package/dist/effect/approval-requests.d.ts +4 -4
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/campaigns.d.ts +15 -15
- package/dist/effect/contact-groups.d.ts +10 -10
- package/dist/effect/contacts.d.ts +25 -25
- package/dist/effect/conversations.d.ts +13 -13
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/descriptors/integrations-catalog.d.ts +134 -0
- package/dist/effect/descriptors/integrations-catalog.js +122 -0
- package/dist/effect/descriptors/mailboxes.d.ts +32 -12
- package/dist/effect/descriptors/mailboxes.js +32 -12
- package/dist/effect/email.d.ts +61 -61
- package/dist/effect/events.d.ts +2 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/generated/accounts.d.ts +1 -3
- package/dist/effect/generated/accounts.js +2 -7
- package/dist/effect/generated/api-keys.d.ts +15 -15
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/integrations-catalog.d.ts +2702 -1
- package/dist/effect/generated/integrations-catalog.js +578 -3
- package/dist/effect/generated/journeys.d.ts +9 -11
- package/dist/effect/generated/journeys.js +6 -12
- package/dist/effect/generated/mailboxes.d.ts +752 -463
- package/dist/effect/generated/mailboxes.js +163 -98
- package/dist/effect/generated/messages.d.ts +109 -4
- package/dist/effect/generated/messages.js +41 -8
- package/dist/effect/generated/shared.d.ts +203 -21
- package/dist/effect/generated/shared.js +58 -13
- package/dist/effect/generated/template-registrations.d.ts +35 -4
- package/dist/effect/generated/template-registrations.js +7 -4
- package/dist/effect/generated/templates.d.ts +1 -4
- package/dist/effect/generated/templates.js +2 -6
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +8 -8
- package/dist/effect/generated/whoami.d.ts +4 -4
- package/dist/effect/generated-metadata.d.ts +114 -18
- package/dist/effect/generated-metadata.js +362 -340
- package/dist/effect/integrations-catalog.d.ts +228 -3
- package/dist/effect/integrations-catalog.js +29 -1
- package/dist/effect/integrations.d.ts +7 -7
- package/dist/effect/internal/client.d.ts +7 -3
- package/dist/effect/internal/operation.d.ts +10 -6
- package/dist/effect/internal/operation.js +3 -3
- package/dist/effect/journeys.d.ts +14 -14
- package/dist/effect/mailboxes.d.ts +117 -91
- package/dist/effect/mailboxes.js +11 -7
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/messages.d.ts +9 -9
- package/dist/effect/namespaces.d.ts +11 -11
- package/dist/effect/newsletter-domains.d.ts +4 -4
- package/dist/effect/newsletter-issues.d.ts +11 -11
- package/dist/effect/newsletters.d.ts +5 -5
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/organizations.d.ts +12 -12
- package/dist/effect/policies.d.ts +3 -3
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +5 -5
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/template-registrations.d.ts +9 -3
- package/dist/effect/template-share-links.d.ts +5 -5
- package/dist/effect/templates.d.ts +37 -37
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topics.d.ts +9 -9
- package/dist/effect/webhooks.d.ts +15 -15
- package/dist/effect/whatsapp-flows.d.ts +10 -10
- package/dist/effect/whatsapp-setup-links.d.ts +4 -4
- package/dist/effect/whatsapp.d.ts +12 -12
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/inline-attachments.d.ts +0 -5
- package/dist/mailbox-events.d.ts +1 -5
- package/dist/mailbox-events.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +4 -4
- package/dist/promises/client.js +8 -4
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +83 -9
- package/package.json +2 -2
package/dist/service-map.d.ts
CHANGED
|
@@ -215,6 +215,20 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
215
215
|
readonly connect: "accountsConnect";
|
|
216
216
|
};
|
|
217
217
|
readonly integrationCatalog: {
|
|
218
|
+
readonly recipeConnectionHandoff: "integrationCatalogRecipeConnectionHandoff";
|
|
219
|
+
readonly recipeTestHandoff: "integrationCatalogRecipeTestHandoff";
|
|
220
|
+
readonly recipeSetupsList: "integrationCatalogRecipeSetupsList";
|
|
221
|
+
readonly recipeSetupGet: "integrationCatalogRecipeSetupGet";
|
|
222
|
+
readonly recipeSetupReplace: "integrationCatalogRecipeSetupReplace";
|
|
223
|
+
readonly recipeSetupActivate: "integrationCatalogRecipeSetupActivate";
|
|
224
|
+
readonly recipePreview: "integrationCatalogRecipePreview";
|
|
225
|
+
readonly recipeWhatsAppChallengeBegin: "integrationCatalogRecipeWhatsAppChallengeBegin";
|
|
226
|
+
readonly recipeWhatsAppChallengeGet: "integrationCatalogRecipeWhatsAppChallengeGet";
|
|
227
|
+
readonly recipeWhatsAppChallengeConfirm: "integrationCatalogRecipeWhatsAppChallengeConfirm";
|
|
228
|
+
readonly recipeTest: "integrationCatalogRecipeTest";
|
|
229
|
+
readonly recipeTestReceipt: "integrationCatalogRecipeTestReceipt";
|
|
230
|
+
readonly recipeCatalog: "integrationCatalogRecipeCatalog";
|
|
231
|
+
readonly recipeReadiness: "integrationCatalogRecipeReadiness";
|
|
218
232
|
readonly prepare: "integrationCatalogPrepare";
|
|
219
233
|
readonly search: "integrationCatalogSearch";
|
|
220
234
|
readonly list: "integrationCatalogList";
|
|
@@ -429,6 +443,9 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
429
443
|
readonly listThreads: "mailboxesListThreads";
|
|
430
444
|
readonly getThread: "mailboxesGetThread";
|
|
431
445
|
readonly updateThread: "mailboxesUpdateThread";
|
|
446
|
+
readonly deleteThread: "mailboxesDeleteThread";
|
|
447
|
+
readonly emptyTrash: "mailboxesEmptyTrash";
|
|
448
|
+
readonly emptySpam: "mailboxesEmptySpam";
|
|
432
449
|
readonly addThreadLabels: "mailboxesAddThreadLabels";
|
|
433
450
|
readonly removeThreadLabels: "mailboxesRemoveThreadLabels";
|
|
434
451
|
readonly listThreadMessages: "mailboxesListThreadMessages";
|
|
@@ -445,9 +462,8 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
445
462
|
readonly reply: "mailboxesReply";
|
|
446
463
|
readonly replyAll: "mailboxesReplyAll";
|
|
447
464
|
readonly forward: "mailboxesForward";
|
|
448
|
-
readonly
|
|
449
|
-
readonly
|
|
450
|
-
readonly discardMessage: "mailboxesDiscardMessage";
|
|
465
|
+
readonly listSpamHeld: "mailboxesListSpamHeld";
|
|
466
|
+
readonly discardSpamHeld: "mailboxesDiscardSpamHeld";
|
|
451
467
|
readonly scheduleDraft: "mailboxesScheduleDraft";
|
|
452
468
|
readonly rescheduleSend: "mailboxesRescheduleSend";
|
|
453
469
|
readonly unscheduleSend: "mailboxesUnscheduleSend";
|
|
@@ -1196,6 +1212,56 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1196
1212
|
readonly accountsConnect: {
|
|
1197
1213
|
readonly kind: "payload";
|
|
1198
1214
|
};
|
|
1215
|
+
readonly integrationCatalogRecipeConnectionHandoff: {
|
|
1216
|
+
readonly kind: "pathParams";
|
|
1217
|
+
readonly paths: readonly ["provider"];
|
|
1218
|
+
};
|
|
1219
|
+
readonly integrationCatalogRecipeTestHandoff: {
|
|
1220
|
+
readonly kind: "params";
|
|
1221
|
+
};
|
|
1222
|
+
readonly integrationCatalogRecipeSetupsList: {
|
|
1223
|
+
readonly kind: "none";
|
|
1224
|
+
};
|
|
1225
|
+
readonly integrationCatalogRecipeSetupGet: {
|
|
1226
|
+
readonly kind: "path";
|
|
1227
|
+
readonly paths: readonly ["id"];
|
|
1228
|
+
};
|
|
1229
|
+
readonly integrationCatalogRecipeSetupReplace: {
|
|
1230
|
+
readonly kind: "pathPayload";
|
|
1231
|
+
readonly paths: readonly ["id"];
|
|
1232
|
+
};
|
|
1233
|
+
readonly integrationCatalogRecipeSetupActivate: {
|
|
1234
|
+
readonly kind: "pathPayload";
|
|
1235
|
+
readonly paths: readonly ["id"];
|
|
1236
|
+
};
|
|
1237
|
+
readonly integrationCatalogRecipePreview: {
|
|
1238
|
+
readonly kind: "payload";
|
|
1239
|
+
};
|
|
1240
|
+
readonly integrationCatalogRecipeWhatsAppChallengeBegin: {
|
|
1241
|
+
readonly kind: "path";
|
|
1242
|
+
readonly paths: readonly ["accountId"];
|
|
1243
|
+
};
|
|
1244
|
+
readonly integrationCatalogRecipeWhatsAppChallengeGet: {
|
|
1245
|
+
readonly kind: "path";
|
|
1246
|
+
readonly paths: readonly ["accountId", "id"];
|
|
1247
|
+
};
|
|
1248
|
+
readonly integrationCatalogRecipeWhatsAppChallengeConfirm: {
|
|
1249
|
+
readonly kind: "pathPayload";
|
|
1250
|
+
readonly paths: readonly ["accountId", "id"];
|
|
1251
|
+
};
|
|
1252
|
+
readonly integrationCatalogRecipeTest: {
|
|
1253
|
+
readonly kind: "payload";
|
|
1254
|
+
};
|
|
1255
|
+
readonly integrationCatalogRecipeTestReceipt: {
|
|
1256
|
+
readonly kind: "path";
|
|
1257
|
+
readonly paths: readonly ["requestId"];
|
|
1258
|
+
};
|
|
1259
|
+
readonly integrationCatalogRecipeCatalog: {
|
|
1260
|
+
readonly kind: "none";
|
|
1261
|
+
};
|
|
1262
|
+
readonly integrationCatalogRecipeReadiness: {
|
|
1263
|
+
readonly kind: "params";
|
|
1264
|
+
};
|
|
1199
1265
|
readonly integrationCatalogPrepare: {
|
|
1200
1266
|
readonly kind: "payload";
|
|
1201
1267
|
};
|
|
@@ -1848,6 +1914,18 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1848
1914
|
readonly kind: "pathPayload";
|
|
1849
1915
|
readonly paths: readonly ["id", "threadId"];
|
|
1850
1916
|
};
|
|
1917
|
+
readonly mailboxesDeleteThread: {
|
|
1918
|
+
readonly kind: "path";
|
|
1919
|
+
readonly paths: readonly ["id", "threadId"];
|
|
1920
|
+
};
|
|
1921
|
+
readonly mailboxesEmptyTrash: {
|
|
1922
|
+
readonly kind: "path";
|
|
1923
|
+
readonly paths: readonly ["id"];
|
|
1924
|
+
};
|
|
1925
|
+
readonly mailboxesEmptySpam: {
|
|
1926
|
+
readonly kind: "path";
|
|
1927
|
+
readonly paths: readonly ["id"];
|
|
1928
|
+
};
|
|
1851
1929
|
readonly mailboxesAddThreadLabels: {
|
|
1852
1930
|
readonly kind: "pathPayload";
|
|
1853
1931
|
readonly paths: readonly ["id", "threadId"];
|
|
@@ -1912,15 +1990,11 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1912
1990
|
readonly kind: "pathPayload";
|
|
1913
1991
|
readonly paths: readonly ["id", "messageId"];
|
|
1914
1992
|
};
|
|
1915
|
-
readonly
|
|
1993
|
+
readonly mailboxesListSpamHeld: {
|
|
1916
1994
|
readonly kind: "pathParams";
|
|
1917
1995
|
readonly paths: readonly ["id"];
|
|
1918
1996
|
};
|
|
1919
|
-
readonly
|
|
1920
|
-
readonly kind: "path";
|
|
1921
|
-
readonly paths: readonly ["id", "messageId"];
|
|
1922
|
-
};
|
|
1923
|
-
readonly mailboxesDiscardMessage: {
|
|
1997
|
+
readonly mailboxesDiscardSpamHeld: {
|
|
1924
1998
|
readonly kind: "path";
|
|
1925
1999
|
readonly paths: readonly ["id", "messageId"];
|
|
1926
2000
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "samva",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"description": "TypeScript SDK for the Samva email and WhatsApp API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"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 \"$@\"'"
|
|
262
262
|
},
|
|
263
263
|
"dependencies": {
|
|
264
|
-
"@samva/webhooks": "0.
|
|
264
|
+
"@samva/webhooks": "0.49.0"
|
|
265
265
|
},
|
|
266
266
|
"devDependencies": {
|
|
267
267
|
"@effect/openapi-generator": "^4.1.4",
|