samva 0.48.0 → 0.50.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 +272 -33
- package/dist/client/sdk.gen.js +693 -55
- package/dist/client/types.gen.d.ts +1571 -206
- 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 +73 -13
- package/dist/effect/descriptors/mailboxes.js +85 -13
- 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 +1661 -669
- package/dist/effect/generated/mailboxes.js +291 -103
- package/dist/effect/generated/messages.d.ts +109 -4
- package/dist/effect/generated/messages.js +41 -8
- package/dist/effect/generated/shared.d.ts +199 -21
- package/dist/effect/generated/shared.js +50 -13
- package/dist/effect/generated/template-registrations.d.ts +32 -1
- package/dist/effect/generated/template-registrations.js +8 -5
- 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 +138 -18
- package/dist/effect/generated-metadata.js +366 -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 +142 -92
- package/dist/effect/mailboxes.js +20 -8
- 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 +105 -11
- package/package.json +3 -3
|
@@ -72,7 +72,7 @@ export declare const WhoamiApiKeyCredential: Schema.Struct<{
|
|
|
72
72
|
readonly analytics: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
73
73
|
}>;
|
|
74
74
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
75
|
-
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"
|
|
75
|
+
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>;
|
|
76
76
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
77
77
|
}>, Schema.Null]>>;
|
|
78
78
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -117,7 +117,7 @@ export declare const Whoami: Schema.Struct<{
|
|
|
117
117
|
readonly analytics: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
118
118
|
}>;
|
|
119
119
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
120
|
-
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"
|
|
120
|
+
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>;
|
|
121
121
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
122
122
|
}>, Schema.Null]>>;
|
|
123
123
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -168,7 +168,7 @@ export declare const WhoamiGet200: Schema.Struct<{
|
|
|
168
168
|
readonly analytics: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
169
169
|
}>;
|
|
170
170
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
171
|
-
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"
|
|
171
|
+
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>;
|
|
172
172
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
173
173
|
}>, Schema.Null]>>;
|
|
174
174
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -230,7 +230,7 @@ declare const WhoamiGroup_base: HttpApiGroup.HttpApiGroup<"Whoami", HttpApiEndpo
|
|
|
230
230
|
readonly analytics: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
231
231
|
}>;
|
|
232
232
|
readonly mailboxes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
233
|
-
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"
|
|
233
|
+
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"spam.read">]>]>;
|
|
234
234
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
235
235
|
}>, Schema.Null]>>;
|
|
236
236
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -1320,6 +1320,90 @@ export declare const SamvaOperations: {
|
|
|
1320
1320
|
readonly idempotent: false;
|
|
1321
1321
|
readonly paginated: false;
|
|
1322
1322
|
};
|
|
1323
|
+
readonly integrationCatalogRecipeCatalog: {
|
|
1324
|
+
readonly group: "Integrations catalog";
|
|
1325
|
+
readonly method: "GET";
|
|
1326
|
+
readonly idempotent: false;
|
|
1327
|
+
readonly paginated: false;
|
|
1328
|
+
};
|
|
1329
|
+
readonly integrationCatalogRecipeConnectionHandoff: {
|
|
1330
|
+
readonly group: "Integrations catalog";
|
|
1331
|
+
readonly method: "GET";
|
|
1332
|
+
readonly idempotent: false;
|
|
1333
|
+
readonly paginated: false;
|
|
1334
|
+
};
|
|
1335
|
+
readonly integrationCatalogRecipeTest: {
|
|
1336
|
+
readonly group: "Integrations catalog";
|
|
1337
|
+
readonly method: "POST";
|
|
1338
|
+
readonly idempotent: false;
|
|
1339
|
+
readonly paginated: false;
|
|
1340
|
+
};
|
|
1341
|
+
readonly integrationCatalogRecipeTestReceipt: {
|
|
1342
|
+
readonly group: "Integrations catalog";
|
|
1343
|
+
readonly method: "GET";
|
|
1344
|
+
readonly idempotent: false;
|
|
1345
|
+
readonly paginated: false;
|
|
1346
|
+
};
|
|
1347
|
+
readonly integrationCatalogRecipeTestHandoff: {
|
|
1348
|
+
readonly group: "Integrations catalog";
|
|
1349
|
+
readonly method: "GET";
|
|
1350
|
+
readonly idempotent: false;
|
|
1351
|
+
readonly paginated: false;
|
|
1352
|
+
};
|
|
1353
|
+
readonly integrationCatalogRecipeWhatsAppChallengeBegin: {
|
|
1354
|
+
readonly group: "Integrations catalog";
|
|
1355
|
+
readonly method: "POST";
|
|
1356
|
+
readonly idempotent: false;
|
|
1357
|
+
readonly paginated: false;
|
|
1358
|
+
};
|
|
1359
|
+
readonly integrationCatalogRecipeWhatsAppChallengeGet: {
|
|
1360
|
+
readonly group: "Integrations catalog";
|
|
1361
|
+
readonly method: "GET";
|
|
1362
|
+
readonly idempotent: false;
|
|
1363
|
+
readonly paginated: false;
|
|
1364
|
+
};
|
|
1365
|
+
readonly integrationCatalogRecipeWhatsAppChallengeConfirm: {
|
|
1366
|
+
readonly group: "Integrations catalog";
|
|
1367
|
+
readonly method: "POST";
|
|
1368
|
+
readonly idempotent: false;
|
|
1369
|
+
readonly paginated: false;
|
|
1370
|
+
};
|
|
1371
|
+
readonly integrationCatalogRecipePreview: {
|
|
1372
|
+
readonly group: "Integrations catalog";
|
|
1373
|
+
readonly method: "POST";
|
|
1374
|
+
readonly idempotent: false;
|
|
1375
|
+
readonly paginated: false;
|
|
1376
|
+
};
|
|
1377
|
+
readonly integrationCatalogRecipeReadiness: {
|
|
1378
|
+
readonly group: "Integrations catalog";
|
|
1379
|
+
readonly method: "GET";
|
|
1380
|
+
readonly idempotent: false;
|
|
1381
|
+
readonly paginated: false;
|
|
1382
|
+
};
|
|
1383
|
+
readonly integrationCatalogRecipeSetupsList: {
|
|
1384
|
+
readonly group: "Integrations catalog";
|
|
1385
|
+
readonly method: "GET";
|
|
1386
|
+
readonly idempotent: false;
|
|
1387
|
+
readonly paginated: false;
|
|
1388
|
+
};
|
|
1389
|
+
readonly integrationCatalogRecipeSetupGet: {
|
|
1390
|
+
readonly group: "Integrations catalog";
|
|
1391
|
+
readonly method: "GET";
|
|
1392
|
+
readonly idempotent: false;
|
|
1393
|
+
readonly paginated: false;
|
|
1394
|
+
};
|
|
1395
|
+
readonly integrationCatalogRecipeSetupReplace: {
|
|
1396
|
+
readonly group: "Integrations catalog";
|
|
1397
|
+
readonly method: "PUT";
|
|
1398
|
+
readonly idempotent: false;
|
|
1399
|
+
readonly paginated: false;
|
|
1400
|
+
};
|
|
1401
|
+
readonly integrationCatalogRecipeSetupActivate: {
|
|
1402
|
+
readonly group: "Integrations catalog";
|
|
1403
|
+
readonly method: "POST";
|
|
1404
|
+
readonly idempotent: false;
|
|
1405
|
+
readonly paginated: false;
|
|
1406
|
+
};
|
|
1323
1407
|
readonly integrationCatalogSearch: {
|
|
1324
1408
|
readonly group: "Integrations catalog";
|
|
1325
1409
|
readonly method: "GET";
|
|
@@ -1596,12 +1680,36 @@ export declare const SamvaOperations: {
|
|
|
1596
1680
|
readonly idempotent: false;
|
|
1597
1681
|
readonly paginated: false;
|
|
1598
1682
|
};
|
|
1683
|
+
readonly mailboxesDiscardImport: {
|
|
1684
|
+
readonly group: "Mailboxes";
|
|
1685
|
+
readonly method: "DELETE";
|
|
1686
|
+
readonly idempotent: false;
|
|
1687
|
+
readonly paginated: false;
|
|
1688
|
+
};
|
|
1599
1689
|
readonly mailboxesStartImport: {
|
|
1600
1690
|
readonly group: "Mailboxes";
|
|
1601
1691
|
readonly method: "POST";
|
|
1602
1692
|
readonly idempotent: false;
|
|
1603
1693
|
readonly paginated: false;
|
|
1604
1694
|
};
|
|
1695
|
+
readonly mailboxesDiscardImportUpload: {
|
|
1696
|
+
readonly group: "Mailboxes";
|
|
1697
|
+
readonly method: "DELETE";
|
|
1698
|
+
readonly idempotent: false;
|
|
1699
|
+
readonly paginated: false;
|
|
1700
|
+
};
|
|
1701
|
+
readonly mailboxesCompleteImportUpload: {
|
|
1702
|
+
readonly group: "Mailboxes";
|
|
1703
|
+
readonly method: "POST";
|
|
1704
|
+
readonly idempotent: false;
|
|
1705
|
+
readonly paginated: false;
|
|
1706
|
+
};
|
|
1707
|
+
readonly mailboxesSignImportUploadParts: {
|
|
1708
|
+
readonly group: "Mailboxes";
|
|
1709
|
+
readonly method: "POST";
|
|
1710
|
+
readonly idempotent: false;
|
|
1711
|
+
readonly paginated: false;
|
|
1712
|
+
};
|
|
1605
1713
|
readonly mailboxesCreateImportUpload: {
|
|
1606
1714
|
readonly group: "Mailboxes";
|
|
1607
1715
|
readonly method: "POST";
|
|
@@ -1656,12 +1764,6 @@ export declare const SamvaOperations: {
|
|
|
1656
1764
|
readonly idempotent: false;
|
|
1657
1765
|
readonly paginated: false;
|
|
1658
1766
|
};
|
|
1659
|
-
readonly mailboxesDiscardMessage: {
|
|
1660
|
-
readonly group: "Mailboxes";
|
|
1661
|
-
readonly method: "POST";
|
|
1662
|
-
readonly idempotent: false;
|
|
1663
|
-
readonly paginated: false;
|
|
1664
|
-
};
|
|
1665
1767
|
readonly mailboxesForward: {
|
|
1666
1768
|
readonly group: "Mailboxes";
|
|
1667
1769
|
readonly method: "POST";
|
|
@@ -1674,12 +1776,6 @@ export declare const SamvaOperations: {
|
|
|
1674
1776
|
readonly idempotent: false;
|
|
1675
1777
|
readonly paginated: false;
|
|
1676
1778
|
};
|
|
1677
|
-
readonly mailboxesReleaseMessage: {
|
|
1678
|
-
readonly group: "Mailboxes";
|
|
1679
|
-
readonly method: "POST";
|
|
1680
|
-
readonly idempotent: false;
|
|
1681
|
-
readonly paginated: false;
|
|
1682
|
-
};
|
|
1683
1779
|
readonly mailboxesReply: {
|
|
1684
1780
|
readonly group: "Mailboxes";
|
|
1685
1781
|
readonly method: "POST";
|
|
@@ -1698,12 +1794,6 @@ export declare const SamvaOperations: {
|
|
|
1698
1794
|
readonly idempotent: false;
|
|
1699
1795
|
readonly paginated: false;
|
|
1700
1796
|
};
|
|
1701
|
-
readonly mailboxesListQuarantine: {
|
|
1702
|
-
readonly group: "Mailboxes";
|
|
1703
|
-
readonly method: "GET";
|
|
1704
|
-
readonly idempotent: false;
|
|
1705
|
-
readonly paginated: true;
|
|
1706
|
-
};
|
|
1707
1797
|
readonly mailboxesResume: {
|
|
1708
1798
|
readonly group: "Mailboxes";
|
|
1709
1799
|
readonly method: "POST";
|
|
@@ -1734,6 +1824,24 @@ export declare const SamvaOperations: {
|
|
|
1734
1824
|
readonly idempotent: false;
|
|
1735
1825
|
readonly paginated: false;
|
|
1736
1826
|
};
|
|
1827
|
+
readonly mailboxesEmptySpam: {
|
|
1828
|
+
readonly group: "Mailboxes";
|
|
1829
|
+
readonly method: "POST";
|
|
1830
|
+
readonly idempotent: false;
|
|
1831
|
+
readonly paginated: false;
|
|
1832
|
+
};
|
|
1833
|
+
readonly mailboxesListSpamHeld: {
|
|
1834
|
+
readonly group: "Mailboxes";
|
|
1835
|
+
readonly method: "GET";
|
|
1836
|
+
readonly idempotent: false;
|
|
1837
|
+
readonly paginated: true;
|
|
1838
|
+
};
|
|
1839
|
+
readonly mailboxesDiscardSpamHeld: {
|
|
1840
|
+
readonly group: "Mailboxes";
|
|
1841
|
+
readonly method: "POST";
|
|
1842
|
+
readonly idempotent: false;
|
|
1843
|
+
readonly paginated: false;
|
|
1844
|
+
};
|
|
1737
1845
|
readonly mailboxesListThreads: {
|
|
1738
1846
|
readonly group: "Mailboxes";
|
|
1739
1847
|
readonly method: "GET";
|
|
@@ -1746,6 +1854,12 @@ export declare const SamvaOperations: {
|
|
|
1746
1854
|
readonly idempotent: false;
|
|
1747
1855
|
readonly paginated: false;
|
|
1748
1856
|
};
|
|
1857
|
+
readonly mailboxesDeleteThread: {
|
|
1858
|
+
readonly group: "Mailboxes";
|
|
1859
|
+
readonly method: "DELETE";
|
|
1860
|
+
readonly idempotent: false;
|
|
1861
|
+
readonly paginated: false;
|
|
1862
|
+
};
|
|
1749
1863
|
readonly mailboxesUpdateThread: {
|
|
1750
1864
|
readonly group: "Mailboxes";
|
|
1751
1865
|
readonly method: "PATCH";
|
|
@@ -1800,6 +1914,12 @@ export declare const SamvaOperations: {
|
|
|
1800
1914
|
readonly idempotent: false;
|
|
1801
1915
|
readonly paginated: false;
|
|
1802
1916
|
};
|
|
1917
|
+
readonly mailboxesEmptyTrash: {
|
|
1918
|
+
readonly group: "Mailboxes";
|
|
1919
|
+
readonly method: "POST";
|
|
1920
|
+
readonly idempotent: false;
|
|
1921
|
+
readonly paginated: false;
|
|
1922
|
+
};
|
|
1803
1923
|
readonly mailboxesListOrganizationDrafts: {
|
|
1804
1924
|
readonly group: "Mailboxes";
|
|
1805
1925
|
readonly method: "GET";
|