samva 0.44.0 → 0.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +3 -0
- package/README.md +4 -0
- package/dist/client/sdk.gen.d.ts +281 -1
- package/dist/client/sdk.gen.js +856 -1
- package/dist/client/types.gen.d.ts +1858 -46
- package/dist/effect/agents.d.ts +86 -86
- package/dist/effect/agents.js +2 -2
- package/dist/effect/api-keys.d.ts +36 -36
- package/dist/effect/api-keys.js +2 -2
- package/dist/effect/attachments.d.ts +3 -3
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/campaigns.d.ts +250 -250
- package/dist/effect/campaigns.js +3 -3
- package/dist/effect/categories.d.ts +23 -5
- package/dist/effect/categories.js +11 -20
- package/dist/effect/contact-groups.d.ts +44 -44
- package/dist/effect/contact-groups.js +3 -3
- package/dist/effect/contacts.d.ts +3 -3
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +53 -53
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/email.d.ts +97 -97
- package/dist/effect/email.js +21 -21
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +6 -6
- package/dist/effect/extension-installations.js +1 -1
- package/dist/effect/generated/analytics.d.ts +6 -0
- package/dist/effect/generated/analytics.js +4 -2
- package/dist/effect/generated/index.d.ts +9 -1
- package/dist/effect/generated/journeys.d.ts +1 -3
- package/dist/effect/generated/journeys.js +2 -6
- package/dist/effect/generated/messages.d.ts +1 -5
- package/dist/effect/generated/messages.js +2 -10
- package/dist/effect/generated/shared.d.ts +92 -2
- package/dist/effect/generated/shared.js +43 -2
- package/dist/effect/generated/template-registrations.d.ts +651 -0
- package/dist/effect/generated/template-registrations.js +138 -0
- package/dist/effect/generated/whats-app-flows.d.ts +1838 -0
- package/dist/effect/generated/whats-app-flows.js +338 -0
- package/dist/effect/generated/whats-app-setup-links.d.ts +705 -0
- package/dist/effect/generated/whats-app-setup-links.js +150 -0
- package/dist/effect/generated/whats-app.d.ts +2089 -0
- package/dist/effect/generated/whats-app.js +633 -0
- package/dist/effect/generated-metadata.d.ts +245 -0
- package/dist/effect/generated-metadata.js +221 -48
- package/dist/effect/index.d.ts +4 -0
- package/dist/effect/index.js +6 -2
- package/dist/effect/mailboxes.d.ts +298 -298
- package/dist/effect/mailboxes.js +3 -3
- package/dist/effect/media.d.ts +4 -4
- package/dist/effect/media.js +2 -2
- package/dist/effect/messages.d.ts +17 -17
- package/dist/effect/messages.js +4 -4
- package/dist/effect/namespaces.d.ts +5 -5
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/newsletter-issues.d.ts +8 -8
- package/dist/effect/newsletter-issues.js +2 -2
- package/dist/effect/newsletters.d.ts +3 -3
- package/dist/effect/newsletters.js +1 -1
- package/dist/effect/organizations.d.ts +10 -10
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/runtime.d.ts +2 -0
- package/dist/effect/runtime.js +2 -1
- package/dist/effect/scheduled-messages.d.ts +839 -839
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/template-registrations.d.ts +12 -0
- package/dist/effect/template-registrations.js +16 -0
- package/dist/effect/templates.d.ts +66 -66
- package/dist/effect/templates.js +13 -13
- package/dist/effect/topic-forms.d.ts +4 -4
- package/dist/effect/topic-forms.js +1 -1
- package/dist/effect/topics.d.ts +11 -11
- package/dist/effect/topics.js +2 -2
- package/dist/effect/webhooks.d.ts +18 -18
- package/dist/effect/webhooks.js +3 -3
- package/dist/effect/whatsapp-flows.d.ts +34 -0
- package/dist/effect/whatsapp-flows.js +30 -0
- package/dist/effect/whatsapp-setup-links.d.ts +66 -0
- package/dist/effect/whatsapp-setup-links.js +18 -0
- package/dist/effect/whatsapp.d.ts +51 -0
- package/dist/effect/whatsapp.js +34 -0
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +9 -1
- package/dist/promises/client.js +11 -3
- package/dist/promises/errors.gen.d.ts +38 -2
- package/dist/promises/errors.gen.js +160 -3
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +917 -736
- package/dist/service-map.js +288 -235
- package/package.json +19 -3
|
@@ -19,6 +19,23 @@ export declare const SamvaErrorMetadata: {
|
|
|
19
19
|
readonly categories: readonly ["conflict"];
|
|
20
20
|
readonly retryable: false;
|
|
21
21
|
};
|
|
22
|
+
readonly CredentialsError: {
|
|
23
|
+
readonly categories: readonly [];
|
|
24
|
+
readonly retryable: false;
|
|
25
|
+
readonly rules: {
|
|
26
|
+
readonly field: "retryable";
|
|
27
|
+
readonly cases: {
|
|
28
|
+
readonly true: {
|
|
29
|
+
readonly categories: readonly ["transient"];
|
|
30
|
+
readonly retryable: true;
|
|
31
|
+
};
|
|
32
|
+
readonly false: {
|
|
33
|
+
readonly categories: readonly [];
|
|
34
|
+
readonly retryable: false;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
22
39
|
readonly DeliveryUnavailableError: {
|
|
23
40
|
readonly categories: readonly ["transient"];
|
|
24
41
|
readonly retryable: true;
|
|
@@ -26,6 +43,27 @@ export declare const SamvaErrorMetadata: {
|
|
|
26
43
|
readonly EmailChannelError: {
|
|
27
44
|
readonly categories: readonly [];
|
|
28
45
|
readonly retryable: false;
|
|
46
|
+
readonly rules: {
|
|
47
|
+
readonly field: "reason";
|
|
48
|
+
readonly cases: {
|
|
49
|
+
readonly transport: {
|
|
50
|
+
readonly categories: readonly ["transient"];
|
|
51
|
+
readonly retryable: true;
|
|
52
|
+
};
|
|
53
|
+
readonly rejected: {
|
|
54
|
+
readonly categories: readonly ["validation"];
|
|
55
|
+
readonly retryable: false;
|
|
56
|
+
};
|
|
57
|
+
readonly rate_limited: {
|
|
58
|
+
readonly categories: readonly ["throttling", "transient"];
|
|
59
|
+
readonly retryable: true;
|
|
60
|
+
};
|
|
61
|
+
readonly auth: {
|
|
62
|
+
readonly categories: readonly ["auth"];
|
|
63
|
+
readonly retryable: false;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
29
67
|
};
|
|
30
68
|
readonly ExternalServiceError: {
|
|
31
69
|
readonly categories: readonly ["transient"];
|
|
@@ -103,10 +141,43 @@ export declare const SamvaErrorMetadata: {
|
|
|
103
141
|
readonly categories: readonly ["validation"];
|
|
104
142
|
readonly retryable: false;
|
|
105
143
|
};
|
|
144
|
+
readonly WhatsAppChannelError: {
|
|
145
|
+
readonly categories: readonly [];
|
|
146
|
+
readonly retryable: false;
|
|
147
|
+
readonly rules: {
|
|
148
|
+
readonly field: "reason";
|
|
149
|
+
readonly cases: {
|
|
150
|
+
readonly transport: {
|
|
151
|
+
readonly categories: readonly ["transient"];
|
|
152
|
+
readonly retryable: true;
|
|
153
|
+
};
|
|
154
|
+
readonly rejected: {
|
|
155
|
+
readonly categories: readonly ["validation"];
|
|
156
|
+
readonly retryable: false;
|
|
157
|
+
};
|
|
158
|
+
readonly rate_limited: {
|
|
159
|
+
readonly categories: readonly ["throttling", "transient"];
|
|
160
|
+
readonly retryable: true;
|
|
161
|
+
};
|
|
162
|
+
readonly auth: {
|
|
163
|
+
readonly categories: readonly ["auth"];
|
|
164
|
+
readonly retryable: false;
|
|
165
|
+
};
|
|
166
|
+
readonly unsupported: {
|
|
167
|
+
readonly categories: readonly [];
|
|
168
|
+
readonly retryable: false;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
106
173
|
readonly WhatsAppServiceWindowClosedError: {
|
|
107
174
|
readonly categories: readonly [];
|
|
108
175
|
readonly retryable: false;
|
|
109
176
|
};
|
|
177
|
+
readonly WhatsAppSetupLinkUnavailableError: {
|
|
178
|
+
readonly categories: readonly [];
|
|
179
|
+
readonly retryable: false;
|
|
180
|
+
};
|
|
110
181
|
};
|
|
111
182
|
export declare const SamvaOperations: {
|
|
112
183
|
readonly agentsList: {
|
|
@@ -2105,6 +2176,24 @@ export declare const SamvaOperations: {
|
|
|
2105
2176
|
readonly idempotent: false;
|
|
2106
2177
|
readonly paginated: false;
|
|
2107
2178
|
};
|
|
2179
|
+
readonly templateRegistrationsList: {
|
|
2180
|
+
readonly group: "Template registrations";
|
|
2181
|
+
readonly method: "GET";
|
|
2182
|
+
readonly idempotent: false;
|
|
2183
|
+
readonly paginated: false;
|
|
2184
|
+
};
|
|
2185
|
+
readonly templateRegistrationsSubmit: {
|
|
2186
|
+
readonly group: "Template registrations";
|
|
2187
|
+
readonly method: "POST";
|
|
2188
|
+
readonly idempotent: false;
|
|
2189
|
+
readonly paginated: false;
|
|
2190
|
+
};
|
|
2191
|
+
readonly templateRegistrationsGet: {
|
|
2192
|
+
readonly group: "Template registrations";
|
|
2193
|
+
readonly method: "GET";
|
|
2194
|
+
readonly idempotent: false;
|
|
2195
|
+
readonly paginated: false;
|
|
2196
|
+
};
|
|
2108
2197
|
readonly templatesGetGitRepository: {
|
|
2109
2198
|
readonly group: "Templates";
|
|
2110
2199
|
readonly method: "GET";
|
|
@@ -2417,6 +2506,162 @@ export declare const SamvaOperations: {
|
|
|
2417
2506
|
readonly idempotent: false;
|
|
2418
2507
|
readonly paginated: false;
|
|
2419
2508
|
};
|
|
2509
|
+
readonly whatsappListBusinessAccounts: {
|
|
2510
|
+
readonly group: "WhatsApp";
|
|
2511
|
+
readonly method: "GET";
|
|
2512
|
+
readonly idempotent: false;
|
|
2513
|
+
readonly paginated: false;
|
|
2514
|
+
};
|
|
2515
|
+
readonly whatsappConnectBusinessAccount: {
|
|
2516
|
+
readonly group: "WhatsApp";
|
|
2517
|
+
readonly method: "POST";
|
|
2518
|
+
readonly idempotent: false;
|
|
2519
|
+
readonly paginated: false;
|
|
2520
|
+
};
|
|
2521
|
+
readonly whatsappGetBusinessAccount: {
|
|
2522
|
+
readonly group: "WhatsApp";
|
|
2523
|
+
readonly method: "GET";
|
|
2524
|
+
readonly idempotent: false;
|
|
2525
|
+
readonly paginated: false;
|
|
2526
|
+
};
|
|
2527
|
+
readonly whatsappDisconnectBusinessAccount: {
|
|
2528
|
+
readonly group: "WhatsApp";
|
|
2529
|
+
readonly method: "DELETE";
|
|
2530
|
+
readonly idempotent: false;
|
|
2531
|
+
readonly paginated: false;
|
|
2532
|
+
};
|
|
2533
|
+
readonly whatsappUpdateBusinessAccount: {
|
|
2534
|
+
readonly group: "WhatsApp";
|
|
2535
|
+
readonly method: "PATCH";
|
|
2536
|
+
readonly idempotent: false;
|
|
2537
|
+
readonly paginated: false;
|
|
2538
|
+
};
|
|
2539
|
+
readonly whatsappSetDefaultBusinessAccount: {
|
|
2540
|
+
readonly group: "WhatsApp";
|
|
2541
|
+
readonly method: "POST";
|
|
2542
|
+
readonly idempotent: false;
|
|
2543
|
+
readonly paginated: false;
|
|
2544
|
+
};
|
|
2545
|
+
readonly whatsappSyncAccountStatus: {
|
|
2546
|
+
readonly group: "WhatsApp";
|
|
2547
|
+
readonly method: "POST";
|
|
2548
|
+
readonly idempotent: false;
|
|
2549
|
+
readonly paginated: false;
|
|
2550
|
+
};
|
|
2551
|
+
readonly whatsappFlowsList: {
|
|
2552
|
+
readonly group: "WhatsApp flows";
|
|
2553
|
+
readonly method: "GET";
|
|
2554
|
+
readonly idempotent: false;
|
|
2555
|
+
readonly paginated: false;
|
|
2556
|
+
};
|
|
2557
|
+
readonly whatsappFlowsCreate: {
|
|
2558
|
+
readonly group: "WhatsApp flows";
|
|
2559
|
+
readonly method: "POST";
|
|
2560
|
+
readonly idempotent: false;
|
|
2561
|
+
readonly paginated: false;
|
|
2562
|
+
};
|
|
2563
|
+
readonly whatsappFlowsGet: {
|
|
2564
|
+
readonly group: "WhatsApp flows";
|
|
2565
|
+
readonly method: "GET";
|
|
2566
|
+
readonly idempotent: false;
|
|
2567
|
+
readonly paginated: false;
|
|
2568
|
+
};
|
|
2569
|
+
readonly whatsappFlowsSetEndpoint: {
|
|
2570
|
+
readonly group: "WhatsApp flows";
|
|
2571
|
+
readonly method: "PUT";
|
|
2572
|
+
readonly idempotent: false;
|
|
2573
|
+
readonly paginated: false;
|
|
2574
|
+
};
|
|
2575
|
+
readonly whatsappFlowsRotateEndpointSecret: {
|
|
2576
|
+
readonly group: "WhatsApp flows";
|
|
2577
|
+
readonly method: "POST";
|
|
2578
|
+
readonly idempotent: false;
|
|
2579
|
+
readonly paginated: false;
|
|
2580
|
+
};
|
|
2581
|
+
readonly whatsappFlowsListRegistrations: {
|
|
2582
|
+
readonly group: "WhatsApp flows";
|
|
2583
|
+
readonly method: "GET";
|
|
2584
|
+
readonly idempotent: false;
|
|
2585
|
+
readonly paginated: false;
|
|
2586
|
+
};
|
|
2587
|
+
readonly whatsappFlowsRegister: {
|
|
2588
|
+
readonly group: "WhatsApp flows";
|
|
2589
|
+
readonly method: "POST";
|
|
2590
|
+
readonly idempotent: false;
|
|
2591
|
+
readonly paginated: false;
|
|
2592
|
+
};
|
|
2593
|
+
readonly whatsappFlowsListVersions: {
|
|
2594
|
+
readonly group: "WhatsApp flows";
|
|
2595
|
+
readonly method: "GET";
|
|
2596
|
+
readonly idempotent: false;
|
|
2597
|
+
readonly paginated: false;
|
|
2598
|
+
};
|
|
2599
|
+
readonly whatsappFlowsRecordVersion: {
|
|
2600
|
+
readonly group: "WhatsApp flows";
|
|
2601
|
+
readonly method: "POST";
|
|
2602
|
+
readonly idempotent: false;
|
|
2603
|
+
readonly paginated: false;
|
|
2604
|
+
};
|
|
2605
|
+
readonly whatsappFlowsRotateEncryptionKey: {
|
|
2606
|
+
readonly group: "WhatsApp flows";
|
|
2607
|
+
readonly method: "POST";
|
|
2608
|
+
readonly idempotent: false;
|
|
2609
|
+
readonly paginated: false;
|
|
2610
|
+
};
|
|
2611
|
+
readonly whatsappGetMediaDownloadUrl: {
|
|
2612
|
+
readonly group: "WhatsApp";
|
|
2613
|
+
readonly method: "GET";
|
|
2614
|
+
readonly idempotent: false;
|
|
2615
|
+
readonly paginated: false;
|
|
2616
|
+
};
|
|
2617
|
+
readonly whatsappGetServiceWindowBilling: {
|
|
2618
|
+
readonly group: "WhatsApp";
|
|
2619
|
+
readonly method: "GET";
|
|
2620
|
+
readonly idempotent: false;
|
|
2621
|
+
readonly paginated: false;
|
|
2622
|
+
};
|
|
2623
|
+
readonly whatsappGetServiceWindowStatus: {
|
|
2624
|
+
readonly group: "WhatsApp";
|
|
2625
|
+
readonly method: "GET";
|
|
2626
|
+
readonly idempotent: false;
|
|
2627
|
+
readonly paginated: false;
|
|
2628
|
+
};
|
|
2629
|
+
readonly whatsappSetupLinksList: {
|
|
2630
|
+
readonly group: "WhatsApp setup links";
|
|
2631
|
+
readonly method: "GET";
|
|
2632
|
+
readonly idempotent: false;
|
|
2633
|
+
readonly paginated: true;
|
|
2634
|
+
};
|
|
2635
|
+
readonly whatsappSetupLinksCreate: {
|
|
2636
|
+
readonly group: "WhatsApp setup links";
|
|
2637
|
+
readonly method: "POST";
|
|
2638
|
+
readonly idempotent: false;
|
|
2639
|
+
readonly paginated: false;
|
|
2640
|
+
};
|
|
2641
|
+
readonly whatsappSetupLinksGet: {
|
|
2642
|
+
readonly group: "WhatsApp setup links";
|
|
2643
|
+
readonly method: "GET";
|
|
2644
|
+
readonly idempotent: false;
|
|
2645
|
+
readonly paginated: false;
|
|
2646
|
+
};
|
|
2647
|
+
readonly whatsappSetupLinksRevoke: {
|
|
2648
|
+
readonly group: "WhatsApp setup links";
|
|
2649
|
+
readonly method: "POST";
|
|
2650
|
+
readonly idempotent: false;
|
|
2651
|
+
readonly paginated: false;
|
|
2652
|
+
};
|
|
2653
|
+
readonly whatsappGetStats: {
|
|
2654
|
+
readonly group: "WhatsApp";
|
|
2655
|
+
readonly method: "GET";
|
|
2656
|
+
readonly idempotent: false;
|
|
2657
|
+
readonly paginated: false;
|
|
2658
|
+
};
|
|
2659
|
+
readonly whatsappGetTemplateStats: {
|
|
2660
|
+
readonly group: "WhatsApp";
|
|
2661
|
+
readonly method: "GET";
|
|
2662
|
+
readonly idempotent: false;
|
|
2663
|
+
readonly paginated: false;
|
|
2664
|
+
};
|
|
2420
2665
|
readonly whoamiGet: {
|
|
2421
2666
|
readonly group: "Whoami";
|
|
2422
2667
|
readonly method: "GET";
|
|
@@ -20,13 +20,51 @@ const SamvaErrorMetadata = {
|
|
|
20
20
|
categories: ["conflict"],
|
|
21
21
|
retryable: false
|
|
22
22
|
},
|
|
23
|
+
CredentialsError: {
|
|
24
|
+
categories: [],
|
|
25
|
+
retryable: false,
|
|
26
|
+
rules: {
|
|
27
|
+
field: "retryable",
|
|
28
|
+
cases: {
|
|
29
|
+
true: {
|
|
30
|
+
categories: ["transient"],
|
|
31
|
+
retryable: true
|
|
32
|
+
},
|
|
33
|
+
false: {
|
|
34
|
+
categories: [],
|
|
35
|
+
retryable: false
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
DeliveryUnavailableError: {
|
|
24
41
|
categories: ["transient"],
|
|
25
42
|
retryable: true
|
|
26
43
|
},
|
|
27
44
|
EmailChannelError: {
|
|
28
45
|
categories: [],
|
|
29
|
-
retryable: false
|
|
46
|
+
retryable: false,
|
|
47
|
+
rules: {
|
|
48
|
+
field: "reason",
|
|
49
|
+
cases: {
|
|
50
|
+
transport: {
|
|
51
|
+
categories: ["transient"],
|
|
52
|
+
retryable: true
|
|
53
|
+
},
|
|
54
|
+
rejected: {
|
|
55
|
+
categories: ["validation"],
|
|
56
|
+
retryable: false
|
|
57
|
+
},
|
|
58
|
+
rate_limited: {
|
|
59
|
+
categories: ["throttling", "transient"],
|
|
60
|
+
retryable: true
|
|
61
|
+
},
|
|
62
|
+
auth: {
|
|
63
|
+
categories: ["auth"],
|
|
64
|
+
retryable: false
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
30
68
|
},
|
|
31
69
|
ExternalServiceError: {
|
|
32
70
|
categories: ["transient"],
|
|
@@ -104,9 +142,42 @@ const SamvaErrorMetadata = {
|
|
|
104
142
|
categories: ["validation"],
|
|
105
143
|
retryable: false
|
|
106
144
|
},
|
|
145
|
+
WhatsAppChannelError: {
|
|
146
|
+
categories: [],
|
|
147
|
+
retryable: false,
|
|
148
|
+
rules: {
|
|
149
|
+
field: "reason",
|
|
150
|
+
cases: {
|
|
151
|
+
transport: {
|
|
152
|
+
categories: ["transient"],
|
|
153
|
+
retryable: true
|
|
154
|
+
},
|
|
155
|
+
rejected: {
|
|
156
|
+
categories: ["validation"],
|
|
157
|
+
retryable: false
|
|
158
|
+
},
|
|
159
|
+
rate_limited: {
|
|
160
|
+
categories: ["throttling", "transient"],
|
|
161
|
+
retryable: true
|
|
162
|
+
},
|
|
163
|
+
auth: {
|
|
164
|
+
categories: ["auth"],
|
|
165
|
+
retryable: false
|
|
166
|
+
},
|
|
167
|
+
unsupported: {
|
|
168
|
+
categories: [],
|
|
169
|
+
retryable: false
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
107
174
|
WhatsAppServiceWindowClosedError: {
|
|
108
175
|
categories: [],
|
|
109
176
|
retryable: false
|
|
177
|
+
},
|
|
178
|
+
WhatsAppSetupLinkUnavailableError: {
|
|
179
|
+
categories: [],
|
|
180
|
+
retryable: false
|
|
110
181
|
}
|
|
111
182
|
};
|
|
112
183
|
const operationMetadata0 = {
|
|
@@ -816,89 +887,167 @@ const operationMetadata116 = {
|
|
|
816
887
|
paginated: false
|
|
817
888
|
};
|
|
818
889
|
const operationMetadata117 = {
|
|
890
|
+
group: "Template registrations",
|
|
891
|
+
method: "GET",
|
|
892
|
+
idempotent: false,
|
|
893
|
+
paginated: false
|
|
894
|
+
};
|
|
895
|
+
const operationMetadata118 = {
|
|
896
|
+
group: "Template registrations",
|
|
897
|
+
method: "POST",
|
|
898
|
+
idempotent: false,
|
|
899
|
+
paginated: false
|
|
900
|
+
};
|
|
901
|
+
const operationMetadata119 = {
|
|
819
902
|
group: "Templates",
|
|
820
903
|
method: "PATCH",
|
|
821
904
|
idempotent: true,
|
|
822
905
|
paginated: false
|
|
823
906
|
};
|
|
824
|
-
const
|
|
907
|
+
const operationMetadata120 = {
|
|
825
908
|
group: "Templates",
|
|
826
909
|
method: "PUT",
|
|
827
910
|
idempotent: true,
|
|
828
911
|
paginated: false
|
|
829
912
|
};
|
|
830
|
-
const
|
|
913
|
+
const operationMetadata121 = {
|
|
831
914
|
group: "Topics",
|
|
832
915
|
method: "GET",
|
|
833
916
|
idempotent: false,
|
|
834
917
|
paginated: false
|
|
835
918
|
};
|
|
836
|
-
const
|
|
919
|
+
const operationMetadata122 = {
|
|
837
920
|
group: "Topics",
|
|
838
921
|
method: "POST",
|
|
839
922
|
idempotent: false,
|
|
840
923
|
paginated: false
|
|
841
924
|
};
|
|
842
|
-
const
|
|
925
|
+
const operationMetadata123 = {
|
|
843
926
|
group: "Topics",
|
|
844
927
|
method: "DELETE",
|
|
845
928
|
idempotent: false,
|
|
846
929
|
paginated: false
|
|
847
930
|
};
|
|
848
|
-
const
|
|
931
|
+
const operationMetadata124 = {
|
|
849
932
|
group: "Topics",
|
|
850
933
|
method: "PATCH",
|
|
851
934
|
idempotent: false,
|
|
852
935
|
paginated: false
|
|
853
936
|
};
|
|
854
|
-
const
|
|
937
|
+
const operationMetadata125 = {
|
|
855
938
|
group: "Topic forms",
|
|
856
939
|
method: "GET",
|
|
857
940
|
idempotent: false,
|
|
858
941
|
paginated: false
|
|
859
942
|
};
|
|
860
|
-
const
|
|
943
|
+
const operationMetadata126 = {
|
|
861
944
|
group: "Topic forms",
|
|
862
945
|
method: "POST",
|
|
863
946
|
idempotent: false,
|
|
864
947
|
paginated: false
|
|
865
948
|
};
|
|
866
|
-
const
|
|
949
|
+
const operationMetadata127 = {
|
|
867
950
|
group: "Topic forms",
|
|
868
951
|
method: "DELETE",
|
|
869
952
|
idempotent: false,
|
|
870
953
|
paginated: false
|
|
871
954
|
};
|
|
872
|
-
const
|
|
955
|
+
const operationMetadata128 = {
|
|
873
956
|
group: "Topic forms",
|
|
874
957
|
method: "PATCH",
|
|
875
958
|
idempotent: false,
|
|
876
959
|
paginated: false
|
|
877
960
|
};
|
|
878
|
-
const
|
|
961
|
+
const operationMetadata129 = {
|
|
879
962
|
group: "Topics",
|
|
880
963
|
method: "GET",
|
|
881
964
|
idempotent: false,
|
|
882
965
|
paginated: true
|
|
883
966
|
};
|
|
884
|
-
const
|
|
967
|
+
const operationMetadata130 = {
|
|
885
968
|
group: "Webhooks",
|
|
886
969
|
method: "GET",
|
|
887
970
|
idempotent: false,
|
|
888
971
|
paginated: true
|
|
889
972
|
};
|
|
890
|
-
const
|
|
973
|
+
const operationMetadata131 = {
|
|
891
974
|
group: "Webhooks",
|
|
892
975
|
method: "POST",
|
|
893
976
|
idempotent: false,
|
|
894
977
|
paginated: false
|
|
895
978
|
};
|
|
896
|
-
const
|
|
979
|
+
const operationMetadata132 = {
|
|
980
|
+
group: "Webhooks",
|
|
981
|
+
method: "GET",
|
|
982
|
+
idempotent: false,
|
|
983
|
+
paginated: false
|
|
984
|
+
};
|
|
985
|
+
const operationMetadata133 = {
|
|
986
|
+
group: "Webhooks",
|
|
987
|
+
method: "DELETE",
|
|
988
|
+
idempotent: false,
|
|
989
|
+
paginated: false
|
|
990
|
+
};
|
|
991
|
+
const operationMetadata134 = {
|
|
897
992
|
group: "Webhooks",
|
|
993
|
+
method: "PATCH",
|
|
994
|
+
idempotent: false,
|
|
995
|
+
paginated: false
|
|
996
|
+
};
|
|
997
|
+
const operationMetadata135 = {
|
|
998
|
+
group: "WhatsApp",
|
|
999
|
+
method: "GET",
|
|
1000
|
+
idempotent: false,
|
|
1001
|
+
paginated: false
|
|
1002
|
+
};
|
|
1003
|
+
const operationMetadata136 = {
|
|
1004
|
+
group: "WhatsApp",
|
|
1005
|
+
method: "POST",
|
|
1006
|
+
idempotent: false,
|
|
1007
|
+
paginated: false
|
|
1008
|
+
};
|
|
1009
|
+
const operationMetadata137 = {
|
|
1010
|
+
group: "WhatsApp",
|
|
1011
|
+
method: "DELETE",
|
|
1012
|
+
idempotent: false,
|
|
1013
|
+
paginated: false
|
|
1014
|
+
};
|
|
1015
|
+
const operationMetadata138 = {
|
|
1016
|
+
group: "WhatsApp",
|
|
1017
|
+
method: "PATCH",
|
|
1018
|
+
idempotent: false,
|
|
1019
|
+
paginated: false
|
|
1020
|
+
};
|
|
1021
|
+
const operationMetadata139 = {
|
|
1022
|
+
group: "WhatsApp flows",
|
|
898
1023
|
method: "GET",
|
|
899
1024
|
idempotent: false,
|
|
900
1025
|
paginated: false
|
|
901
1026
|
};
|
|
1027
|
+
const operationMetadata140 = {
|
|
1028
|
+
group: "WhatsApp flows",
|
|
1029
|
+
method: "POST",
|
|
1030
|
+
idempotent: false,
|
|
1031
|
+
paginated: false
|
|
1032
|
+
};
|
|
1033
|
+
const operationMetadata141 = {
|
|
1034
|
+
group: "WhatsApp flows",
|
|
1035
|
+
method: "PUT",
|
|
1036
|
+
idempotent: false,
|
|
1037
|
+
paginated: false
|
|
1038
|
+
};
|
|
1039
|
+
const operationMetadata142 = {
|
|
1040
|
+
group: "WhatsApp setup links",
|
|
1041
|
+
method: "GET",
|
|
1042
|
+
idempotent: false,
|
|
1043
|
+
paginated: true
|
|
1044
|
+
};
|
|
1045
|
+
const operationMetadata143 = {
|
|
1046
|
+
group: "WhatsApp setup links",
|
|
1047
|
+
method: "POST",
|
|
1048
|
+
idempotent: false,
|
|
1049
|
+
paginated: false
|
|
1050
|
+
};
|
|
902
1051
|
const SamvaOperations = {
|
|
903
1052
|
agentsList: operationMetadata0,
|
|
904
1053
|
agentsCreate: operationMetadata1,
|
|
@@ -1232,11 +1381,14 @@ const SamvaOperations = {
|
|
|
1232
1381
|
templatesPublish: operationMetadata116,
|
|
1233
1382
|
templatesGetPublication: operationMetadata113,
|
|
1234
1383
|
templatesRenderPublication: operationMetadata116,
|
|
1384
|
+
templateRegistrationsList: operationMetadata117,
|
|
1385
|
+
templateRegistrationsSubmit: operationMetadata118,
|
|
1386
|
+
templateRegistrationsGet: operationMetadata117,
|
|
1235
1387
|
templatesGetGitRepository: operationMetadata113,
|
|
1236
1388
|
templatesIssueGitCredential: operationMetadata116,
|
|
1237
1389
|
templatesOpenWorkspace: operationMetadata116,
|
|
1238
|
-
templatesPatchWorkspace:
|
|
1239
|
-
templatesPutWorkspaceAsset:
|
|
1390
|
+
templatesPatchWorkspace: operationMetadata119,
|
|
1391
|
+
templatesPutWorkspaceAsset: operationMetadata120,
|
|
1240
1392
|
templatesCheckWorkspace: operationMetadata116,
|
|
1241
1393
|
templatesResolveWorkspaceConflict: operationMetadata112,
|
|
1242
1394
|
templatesDiffWorkspace: operationMetadata116,
|
|
@@ -1259,41 +1411,62 @@ const SamvaOperations = {
|
|
|
1259
1411
|
templatesDeleteProject: operationMetadata114,
|
|
1260
1412
|
templatesAddEntry: operationMetadata116,
|
|
1261
1413
|
templatesSuggestStarters: operationMetadata116,
|
|
1262
|
-
topicsList:
|
|
1263
|
-
topicsCreate:
|
|
1264
|
-
topicsGet:
|
|
1265
|
-
topicsRemove:
|
|
1266
|
-
topicsUpdate:
|
|
1267
|
-
topicsSetDefault:
|
|
1268
|
-
topicFormsList:
|
|
1269
|
-
topicFormsCreate:
|
|
1270
|
-
topicFormsGet:
|
|
1271
|
-
topicFormsRemove:
|
|
1272
|
-
topicFormsUpdate:
|
|
1273
|
-
topicsListSubscriptions:
|
|
1274
|
-
topicsSetSubscriptions:
|
|
1275
|
-
topicsCheckSubscription:
|
|
1276
|
-
webhooksList:
|
|
1277
|
-
webhooksCreate:
|
|
1278
|
-
webhooksGet:
|
|
1279
|
-
webhooksRemove:
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1414
|
+
topicsList: operationMetadata121,
|
|
1415
|
+
topicsCreate: operationMetadata122,
|
|
1416
|
+
topicsGet: operationMetadata121,
|
|
1417
|
+
topicsRemove: operationMetadata123,
|
|
1418
|
+
topicsUpdate: operationMetadata124,
|
|
1419
|
+
topicsSetDefault: operationMetadata122,
|
|
1420
|
+
topicFormsList: operationMetadata125,
|
|
1421
|
+
topicFormsCreate: operationMetadata126,
|
|
1422
|
+
topicFormsGet: operationMetadata125,
|
|
1423
|
+
topicFormsRemove: operationMetadata127,
|
|
1424
|
+
topicFormsUpdate: operationMetadata128,
|
|
1425
|
+
topicsListSubscriptions: operationMetadata129,
|
|
1426
|
+
topicsSetSubscriptions: operationMetadata122,
|
|
1427
|
+
topicsCheckSubscription: operationMetadata121,
|
|
1428
|
+
webhooksList: operationMetadata130,
|
|
1429
|
+
webhooksCreate: operationMetadata131,
|
|
1430
|
+
webhooksGet: operationMetadata132,
|
|
1431
|
+
webhooksRemove: operationMetadata133,
|
|
1432
|
+
webhooksUpdate: operationMetadata134,
|
|
1433
|
+
webhooksRetryDelivery: operationMetadata131,
|
|
1434
|
+
webhooksGetLogs: operationMetadata130,
|
|
1435
|
+
webhooksRegenerateSecret: operationMetadata131,
|
|
1436
|
+
webhooksGetSecret: operationMetadata132,
|
|
1437
|
+
webhooksGetStats: operationMetadata132,
|
|
1438
|
+
webhooksTest: operationMetadata131,
|
|
1439
|
+
whatsappListBusinessAccounts: operationMetadata135,
|
|
1440
|
+
whatsappConnectBusinessAccount: operationMetadata136,
|
|
1441
|
+
whatsappGetBusinessAccount: operationMetadata135,
|
|
1442
|
+
whatsappDisconnectBusinessAccount: operationMetadata137,
|
|
1443
|
+
whatsappUpdateBusinessAccount: operationMetadata138,
|
|
1444
|
+
whatsappSetDefaultBusinessAccount: operationMetadata136,
|
|
1445
|
+
whatsappSyncAccountStatus: operationMetadata136,
|
|
1446
|
+
whatsappFlowsList: operationMetadata139,
|
|
1447
|
+
whatsappFlowsCreate: operationMetadata140,
|
|
1448
|
+
whatsappFlowsGet: operationMetadata139,
|
|
1449
|
+
whatsappFlowsSetEndpoint: operationMetadata141,
|
|
1450
|
+
whatsappFlowsRotateEndpointSecret: operationMetadata140,
|
|
1451
|
+
whatsappFlowsListRegistrations: operationMetadata139,
|
|
1452
|
+
whatsappFlowsRegister: operationMetadata140,
|
|
1453
|
+
whatsappFlowsListVersions: operationMetadata139,
|
|
1454
|
+
whatsappFlowsRecordVersion: operationMetadata140,
|
|
1455
|
+
whatsappFlowsRotateEncryptionKey: operationMetadata140,
|
|
1456
|
+
whatsappGetMediaDownloadUrl: operationMetadata135,
|
|
1457
|
+
whatsappGetServiceWindowBilling: operationMetadata135,
|
|
1458
|
+
whatsappGetServiceWindowStatus: operationMetadata135,
|
|
1459
|
+
whatsappSetupLinksList: operationMetadata142,
|
|
1460
|
+
whatsappSetupLinksCreate: operationMetadata143,
|
|
1461
|
+
whatsappSetupLinksGet: {
|
|
1462
|
+
group: "WhatsApp setup links",
|
|
1463
|
+
method: "GET",
|
|
1288
1464
|
idempotent: false,
|
|
1289
1465
|
paginated: false
|
|
1290
1466
|
},
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
webhooksGetSecret: operationMetadata130,
|
|
1295
|
-
webhooksGetStats: operationMetadata130,
|
|
1296
|
-
webhooksTest: operationMetadata129,
|
|
1467
|
+
whatsappSetupLinksRevoke: operationMetadata143,
|
|
1468
|
+
whatsappGetStats: operationMetadata135,
|
|
1469
|
+
whatsappGetTemplateStats: operationMetadata135,
|
|
1297
1470
|
whoamiGet: {
|
|
1298
1471
|
group: "Whoami",
|
|
1299
1472
|
method: "GET",
|
package/dist/effect/index.d.ts
CHANGED
|
@@ -55,3 +55,7 @@ export { type ErrorCategory, categoriesOf, hasCategory, isAuthError, isValidatio
|
|
|
55
55
|
export type { CursorPageEnvelope } from "./pagination";
|
|
56
56
|
export type { Json as JsonValue } from "effect/Schema";
|
|
57
57
|
export * as Newsletters from "./newsletters";
|
|
58
|
+
export * as WhatsApp from "./whatsapp";
|
|
59
|
+
export * as WhatsAppFlows from "./whatsapp-flows";
|
|
60
|
+
export * as WhatsAppSetupLinks from "./whatsapp-setup-links";
|
|
61
|
+
export * as TemplateRegistrations from "./template-registrations";
|