samva 0.55.0 → 0.56.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 +2 -2
- package/README.md +9 -8
- package/dist/client/sdk.gen.d.ts +13 -4
- package/dist/client/sdk.gen.js +32 -1
- package/dist/client/types.gen.d.ts +66 -6
- package/dist/effect/accounts.js +9 -10
- package/dist/effect/agents.js +16 -17
- package/dist/effect/analytics.js +9 -10
- package/dist/effect/api-keys.js +11 -12
- package/dist/effect/approval-requests.js +7 -8
- package/dist/effect/attachments.js +7 -8
- package/dist/effect/brands.js +9 -10
- package/dist/effect/campaigns.js +18 -19
- package/dist/effect/contact-groups.js +13 -14
- package/dist/effect/contacts.js +29 -30
- package/dist/effect/conversations.js +16 -17
- package/dist/effect/custom-fields.js +7 -8
- package/dist/effect/descriptors/accounts.d.ts +50 -52
- package/dist/effect/descriptors/accounts.js +50 -52
- package/dist/effect/descriptors/agents.d.ts +113 -115
- package/dist/effect/descriptors/agents.js +120 -122
- package/dist/effect/descriptors/analytics.d.ts +47 -49
- package/dist/effect/descriptors/analytics.js +42 -44
- package/dist/effect/descriptors/api-keys.d.ts +69 -71
- package/dist/effect/descriptors/api-keys.js +73 -75
- package/dist/effect/descriptors/approval-requests.d.ts +34 -36
- package/dist/effect/descriptors/approval-requests.js +36 -38
- package/dist/effect/descriptors/attachments.d.ts +34 -36
- package/dist/effect/descriptors/attachments.js +36 -38
- package/dist/effect/descriptors/brands.d.ts +51 -53
- package/dist/effect/descriptors/brands.js +53 -55
- package/dist/effect/descriptors/campaigns.d.ts +130 -132
- package/dist/effect/descriptors/campaigns.js +137 -139
- package/dist/effect/descriptors/contact-groups.d.ts +86 -88
- package/dist/effect/descriptors/contact-groups.js +90 -92
- package/dist/effect/descriptors/contacts.d.ts +242 -244
- package/dist/effect/descriptors/contacts.js +227 -229
- package/dist/effect/descriptors/conversations.d.ts +114 -116
- package/dist/effect/descriptors/conversations.js +123 -125
- package/dist/effect/descriptors/custom-fields.d.ts +33 -35
- package/dist/effect/descriptors/custom-fields.js +33 -35
- package/dist/effect/descriptors/email.d.ts +623 -625
- package/dist/effect/descriptors/email.js +562 -578
- package/dist/effect/descriptors/events.d.ts +15 -17
- package/dist/effect/descriptors/events.js +14 -16
- package/dist/effect/descriptors/feedback.d.ts +7 -9
- package/dist/effect/descriptors/feedback.js +3 -3
- package/dist/effect/descriptors/integrations-catalog.d.ts +159 -161
- package/dist/effect/descriptors/integrations-catalog.js +142 -144
- package/dist/effect/descriptors/integrations.d.ts +60 -62
- package/dist/effect/descriptors/integrations.js +63 -65
- package/dist/effect/descriptors/journeys.d.ts +123 -125
- package/dist/effect/descriptors/journeys.js +133 -135
- package/dist/effect/descriptors/logs.d.ts +16 -18
- package/dist/effect/descriptors/logs.js +16 -18
- package/dist/effect/descriptors/mailboxes.d.ts +780 -782
- package/dist/effect/descriptors/mailboxes.js +795 -797
- package/dist/effect/descriptors/media.d.ts +43 -45
- package/dist/effect/descriptors/media.js +46 -48
- package/dist/effect/descriptors/messages.d.ts +86 -88
- package/dist/effect/descriptors/messages.js +83 -92
- package/dist/effect/descriptors/namespaces.d.ts +96 -98
- package/dist/effect/descriptors/namespaces.js +107 -109
- package/dist/effect/descriptors/newsletter-domains.d.ts +35 -37
- package/dist/effect/descriptors/newsletter-domains.js +39 -41
- package/dist/effect/descriptors/newsletter-issues.d.ts +98 -100
- package/dist/effect/descriptors/newsletter-issues.js +109 -111
- package/dist/effect/descriptors/newsletters.d.ts +43 -45
- package/dist/effect/descriptors/newsletters.js +46 -48
- package/dist/effect/descriptors/operations.d.ts +25 -27
- package/dist/effect/descriptors/operations.js +26 -28
- package/dist/effect/descriptors/organizations.d.ts +96 -98
- package/dist/effect/descriptors/organizations.js +86 -88
- package/dist/effect/descriptors/phone-numbers.d.ts +41 -43
- package/dist/effect/descriptors/phone-numbers.js +40 -42
- package/dist/effect/descriptors/policies.d.ts +26 -28
- package/dist/effect/descriptors/policies.js +29 -31
- package/dist/effect/descriptors/scheduled-messages.d.ts +42 -44
- package/dist/effect/descriptors/scheduled-messages.js +43 -45
- package/dist/effect/descriptors/subscriptions.d.ts +7 -9
- package/dist/effect/descriptors/subscriptions.js +3 -3
- package/dist/effect/descriptors/template-registrations.d.ts +26 -28
- package/dist/effect/descriptors/template-registrations.js +29 -31
- package/dist/effect/descriptors/template-share-links.d.ts +44 -46
- package/dist/effect/descriptors/template-share-links.js +49 -51
- package/dist/effect/descriptors/templates.d.ts +361 -363
- package/dist/effect/descriptors/templates.js +348 -350
- package/dist/effect/descriptors/topic-forms.d.ts +44 -46
- package/dist/effect/descriptors/topic-forms.js +49 -51
- package/dist/effect/descriptors/topics.d.ts +77 -79
- package/dist/effect/descriptors/topics.js +80 -82
- package/dist/effect/descriptors/webhooks.d.ts +96 -98
- package/dist/effect/descriptors/webhooks.js +103 -105
- package/dist/effect/descriptors/whats-app-flows.d.ts +86 -88
- package/dist/effect/descriptors/whats-app-flows.js +90 -92
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +33 -35
- package/dist/effect/descriptors/whats-app-setup-links.js +33 -35
- package/dist/effect/descriptors/whats-app.d.ts +111 -103
- package/dist/effect/descriptors/whats-app.js +111 -103
- package/dist/effect/descriptors/whoami.d.ts +7 -9
- package/dist/effect/descriptors/whoami.js +3 -3
- package/dist/effect/email.js +66 -67
- package/dist/effect/events.js +5 -6
- package/dist/effect/feedback.js +4 -4
- package/dist/effect/generated/accounts.d.ts +144 -142
- package/dist/effect/generated/accounts.js +14 -9
- package/dist/effect/generated/agents.d.ts +1502 -1493
- package/dist/effect/generated/agents.js +28 -16
- package/dist/effect/generated/analytics.d.ts +55 -53
- package/dist/effect/generated/analytics.js +14 -9
- package/dist/effect/generated/api-keys.d.ts +216 -212
- package/dist/effect/generated/api-keys.js +18 -11
- package/dist/effect/generated/approval-requests.d.ts +60 -60
- package/dist/effect/generated/approval-requests.js +10 -7
- package/dist/effect/generated/attachments.d.ts +32 -32
- package/dist/effect/generated/attachments.js +10 -7
- package/dist/effect/generated/brands.d.ts +179 -177
- package/dist/effect/generated/brands.js +14 -9
- package/dist/effect/generated/campaigns.d.ts +1083 -1072
- package/dist/effect/generated/campaigns.js +32 -18
- package/dist/effect/generated/contact-events.d.ts +3 -6
- package/dist/effect/generated/contact-events.js +4 -4
- package/dist/effect/generated/contact-groups.d.ts +186 -180
- package/dist/effect/generated/contact-groups.js +22 -13
- package/dist/effect/generated/contacts.d.ts +1565 -1545
- package/dist/effect/generated/contacts.js +50 -27
- package/dist/effect/generated/conversations.d.ts +340 -331
- package/dist/effect/generated/conversations.js +28 -16
- package/dist/effect/generated/custom-fields.d.ts +63 -63
- package/dist/effect/generated/custom-fields.js +10 -7
- package/dist/effect/generated/email.d.ts +2731 -2671
- package/dist/effect/generated/email.js +130 -67
- package/dist/effect/generated/events.d.ts +160 -162
- package/dist/effect/generated/events.js +6 -5
- package/dist/effect/generated/feedback.d.ts +3 -6
- package/dist/effect/generated/feedback.js +4 -4
- package/dist/effect/generated/index.d.ts +174 -45
- package/dist/effect/generated/integrations-catalog.d.ts +459 -446
- package/dist/effect/generated/integrations-catalog.js +36 -20
- package/dist/effect/generated/integrations.d.ts +155 -152
- package/dist/effect/generated/integrations.js +16 -10
- package/dist/effect/generated/journeys.d.ts +864 -854
- package/dist/effect/generated/journeys.js +30 -17
- package/dist/effect/generated/logs.d.ts +147 -149
- package/dist/effect/generated/logs.js +6 -5
- package/dist/effect/generated/mailboxes.d.ts +7271 -7196
- package/dist/effect/generated/mailboxes.js +160 -82
- package/dist/effect/generated/media.d.ts +77 -76
- package/dist/effect/generated/media.js +12 -8
- package/dist/effect/generated/messages.d.ts +1092 -1086
- package/dist/effect/generated/messages.js +22 -13
- package/dist/effect/generated/namespaces.d.ts +184 -177
- package/dist/effect/generated/namespaces.js +24 -14
- package/dist/effect/generated/newsletter-domains.d.ts +57 -57
- package/dist/effect/generated/newsletter-domains.js +10 -7
- package/dist/effect/generated/newsletter-issues.d.ts +225 -218
- package/dist/effect/generated/newsletter-issues.js +24 -14
- package/dist/effect/generated/newsletters.d.ts +46 -45
- package/dist/effect/generated/newsletters.js +12 -8
- package/dist/effect/generated/operations.d.ts +79 -80
- package/dist/effect/generated/operations.js +8 -6
- package/dist/effect/generated/organizations.d.ts +438 -430
- package/dist/effect/generated/organizations.js +26 -15
- package/dist/effect/generated/phone-numbers.d.ts +87 -86
- package/dist/effect/generated/phone-numbers.js +12 -8
- package/dist/effect/generated/policies.d.ts +64 -65
- package/dist/effect/generated/policies.js +8 -6
- package/dist/effect/generated/scheduled-messages.d.ts +66 -65
- package/dist/effect/generated/scheduled-messages.js +12 -8
- package/dist/effect/generated/shared.d.ts +37 -37
- package/dist/effect/generated/shared.js +63 -61
- package/dist/effect/generated/subscriptions.d.ts +3 -6
- package/dist/effect/generated/subscriptions.js +4 -4
- package/dist/effect/generated/template-registrations.d.ts +142 -134
- package/dist/effect/generated/template-registrations.js +9 -6
- package/dist/effect/generated/template-share-links.d.ts +25 -24
- package/dist/effect/generated/template-share-links.js +12 -8
- package/dist/effect/generated/templates.d.ts +2678 -2645
- package/dist/effect/generated/templates.js +76 -40
- package/dist/effect/generated/topic-forms.d.ts +47 -46
- package/dist/effect/generated/topic-forms.js +12 -8
- package/dist/effect/generated/topics.d.ts +204 -199
- package/dist/effect/generated/topics.js +20 -12
- package/dist/effect/generated/webhooks.d.ts +284 -277
- package/dist/effect/generated/webhooks.js +28 -14
- package/dist/effect/generated/whats-app-flows.d.ts +250 -244
- package/dist/effect/generated/whats-app-flows.js +22 -13
- package/dist/effect/generated/whats-app-setup-links.d.ts +107 -107
- package/dist/effect/generated/whats-app-setup-links.js +10 -7
- package/dist/effect/generated/whats-app.d.ts +482 -298
- package/dist/effect/generated/whats-app.js +58 -16
- package/dist/effect/generated/whoami.d.ts +3 -6
- package/dist/effect/generated/whoami.js +4 -4
- package/dist/effect/generated-metadata.d.ts +6 -0
- package/dist/effect/generated-metadata.js +1 -0
- package/dist/effect/integrations-catalog.js +20 -21
- package/dist/effect/integrations.js +10 -11
- package/dist/effect/internal/client.d.ts +2 -1
- package/dist/effect/internal/client.js +3 -3
- package/dist/effect/internal/email-sender.js +5 -4
- package/dist/effect/internal/operation.d.ts +11 -7
- package/dist/effect/internal/operation.js +17 -12
- package/dist/effect/internal/send.js +11 -8
- package/dist/effect/journeys.js +17 -18
- package/dist/effect/logs.js +5 -6
- package/dist/effect/mailboxes.js +82 -83
- package/dist/effect/media.js +8 -9
- package/dist/effect/messages.js +12 -13
- package/dist/effect/namespaces.js +14 -15
- package/dist/effect/newsletter-domains.js +7 -8
- package/dist/effect/newsletter-issues.js +14 -15
- package/dist/effect/newsletters.js +8 -9
- package/dist/effect/operations.js +6 -7
- package/dist/effect/organizations.js +15 -16
- package/dist/effect/phone-numbers.js +8 -9
- package/dist/effect/policies.js +6 -7
- package/dist/effect/runtime.js +3 -3
- package/dist/effect/scheduled-messages.js +8 -9
- package/dist/effect/subscriptions.js +4 -4
- package/dist/effect/template-registrations.js +6 -7
- package/dist/effect/template-share-links.js +8 -9
- package/dist/effect/templates.js +40 -41
- package/dist/effect/topic-forms.js +8 -9
- package/dist/effect/topics.js +12 -13
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/effect/webhooks.js +14 -15
- package/dist/effect/whatsapp-flows.js +13 -14
- package/dist/effect/whatsapp-setup-links.js +7 -8
- package/dist/effect/whatsapp.d.ts +6 -0
- package/dist/effect/whatsapp.js +18 -17
- package/dist/effect/whoami.js +4 -4
- package/dist/package.json.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +5 -0
- package/package.json +3 -2
|
@@ -1,110 +1,108 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly
|
|
8
|
-
readonly kind: "payload";
|
|
9
|
-
};
|
|
1
|
+
export declare const webhooksCreate: {
|
|
2
|
+
readonly group: "Webhooks";
|
|
3
|
+
readonly method: "POST";
|
|
4
|
+
readonly idempotent: false;
|
|
5
|
+
readonly paginated: false;
|
|
6
|
+
readonly call: {
|
|
7
|
+
readonly kind: "payload";
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
};
|
|
10
|
+
export declare const webhooksList: {
|
|
11
|
+
readonly group: "Webhooks";
|
|
12
|
+
readonly method: "GET";
|
|
13
|
+
readonly idempotent: false;
|
|
14
|
+
readonly paginated: true;
|
|
15
|
+
readonly call: {
|
|
16
|
+
readonly kind: "params";
|
|
19
17
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
};
|
|
19
|
+
export declare const webhooksGet: {
|
|
20
|
+
readonly group: "Webhooks";
|
|
21
|
+
readonly method: "GET";
|
|
22
|
+
readonly idempotent: false;
|
|
23
|
+
readonly paginated: false;
|
|
24
|
+
readonly call: {
|
|
25
|
+
readonly kind: "path";
|
|
26
|
+
readonly paths: readonly ["id"];
|
|
29
27
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
};
|
|
29
|
+
export declare const webhooksUpdate: {
|
|
30
|
+
readonly group: "Webhooks";
|
|
31
|
+
readonly method: "PATCH";
|
|
32
|
+
readonly idempotent: false;
|
|
33
|
+
readonly paginated: false;
|
|
34
|
+
readonly call: {
|
|
35
|
+
readonly kind: "pathPayload";
|
|
36
|
+
readonly paths: readonly ["id"];
|
|
39
37
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
};
|
|
39
|
+
export declare const webhooksRemove: {
|
|
40
|
+
readonly group: "Webhooks";
|
|
41
|
+
readonly method: "DELETE";
|
|
42
|
+
readonly idempotent: false;
|
|
43
|
+
readonly paginated: false;
|
|
44
|
+
readonly call: {
|
|
45
|
+
readonly kind: "path";
|
|
46
|
+
readonly paths: readonly ["id"];
|
|
49
47
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
48
|
+
};
|
|
49
|
+
export declare const webhooksTest: {
|
|
50
|
+
readonly group: "Webhooks";
|
|
51
|
+
readonly method: "POST";
|
|
52
|
+
readonly idempotent: false;
|
|
53
|
+
readonly paginated: false;
|
|
54
|
+
readonly call: {
|
|
55
|
+
readonly kind: "pathPayload";
|
|
56
|
+
readonly paths: readonly ["id"];
|
|
59
57
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
};
|
|
59
|
+
export declare const webhooksGetLogs: {
|
|
60
|
+
readonly group: "Webhooks";
|
|
61
|
+
readonly method: "GET";
|
|
62
|
+
readonly idempotent: false;
|
|
63
|
+
readonly paginated: true;
|
|
64
|
+
readonly call: {
|
|
65
|
+
readonly kind: "pathParams";
|
|
66
|
+
readonly paths: readonly ["id"];
|
|
69
67
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
};
|
|
69
|
+
export declare const webhooksGetStats: {
|
|
70
|
+
readonly group: "Webhooks";
|
|
71
|
+
readonly method: "GET";
|
|
72
|
+
readonly idempotent: false;
|
|
73
|
+
readonly paginated: false;
|
|
74
|
+
readonly call: {
|
|
75
|
+
readonly kind: "pathParams";
|
|
76
|
+
readonly paths: readonly ["id"];
|
|
79
77
|
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
78
|
+
};
|
|
79
|
+
export declare const webhooksRetryDelivery: {
|
|
80
|
+
readonly group: "Webhooks";
|
|
81
|
+
readonly method: "POST";
|
|
82
|
+
readonly idempotent: false;
|
|
83
|
+
readonly paginated: false;
|
|
84
|
+
readonly call: {
|
|
85
|
+
readonly kind: "path";
|
|
86
|
+
readonly paths: readonly ["id", "deliveryId"];
|
|
89
87
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
};
|
|
89
|
+
export declare const webhooksRegenerateSecret: {
|
|
90
|
+
readonly group: "Webhooks";
|
|
91
|
+
readonly method: "POST";
|
|
92
|
+
readonly idempotent: false;
|
|
93
|
+
readonly paginated: false;
|
|
94
|
+
readonly call: {
|
|
95
|
+
readonly kind: "path";
|
|
96
|
+
readonly paths: readonly ["id"];
|
|
99
97
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
98
|
+
};
|
|
99
|
+
export declare const webhooksGetSecret: {
|
|
100
|
+
readonly group: "Webhooks";
|
|
101
|
+
readonly method: "GET";
|
|
102
|
+
readonly idempotent: false;
|
|
103
|
+
readonly paginated: false;
|
|
104
|
+
readonly call: {
|
|
105
|
+
readonly kind: "path";
|
|
106
|
+
readonly paths: readonly ["id"];
|
|
109
107
|
};
|
|
110
108
|
};
|
|
@@ -1,110 +1,108 @@
|
|
|
1
1
|
// src/effect/descriptors/webhooks.ts
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
paths: ["id"]
|
|
105
|
-
}
|
|
2
|
+
const webhooksCreate = {
|
|
3
|
+
group: "Webhooks",
|
|
4
|
+
method: "POST",
|
|
5
|
+
idempotent: false,
|
|
6
|
+
paginated: false,
|
|
7
|
+
call: { kind: "payload" }
|
|
8
|
+
};
|
|
9
|
+
const webhooksList = {
|
|
10
|
+
group: "Webhooks",
|
|
11
|
+
method: "GET",
|
|
12
|
+
idempotent: false,
|
|
13
|
+
paginated: true,
|
|
14
|
+
call: { kind: "params" }
|
|
15
|
+
};
|
|
16
|
+
const webhooksGet = {
|
|
17
|
+
group: "Webhooks",
|
|
18
|
+
method: "GET",
|
|
19
|
+
idempotent: false,
|
|
20
|
+
paginated: false,
|
|
21
|
+
call: {
|
|
22
|
+
kind: "path",
|
|
23
|
+
paths: ["id"]
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const webhooksUpdate = {
|
|
27
|
+
group: "Webhooks",
|
|
28
|
+
method: "PATCH",
|
|
29
|
+
idempotent: false,
|
|
30
|
+
paginated: false,
|
|
31
|
+
call: {
|
|
32
|
+
kind: "pathPayload",
|
|
33
|
+
paths: ["id"]
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const webhooksRemove = {
|
|
37
|
+
group: "Webhooks",
|
|
38
|
+
method: "DELETE",
|
|
39
|
+
idempotent: false,
|
|
40
|
+
paginated: false,
|
|
41
|
+
call: {
|
|
42
|
+
kind: "path",
|
|
43
|
+
paths: ["id"]
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const webhooksTest = {
|
|
47
|
+
group: "Webhooks",
|
|
48
|
+
method: "POST",
|
|
49
|
+
idempotent: false,
|
|
50
|
+
paginated: false,
|
|
51
|
+
call: {
|
|
52
|
+
kind: "pathPayload",
|
|
53
|
+
paths: ["id"]
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const webhooksGetLogs = {
|
|
57
|
+
group: "Webhooks",
|
|
58
|
+
method: "GET",
|
|
59
|
+
idempotent: false,
|
|
60
|
+
paginated: true,
|
|
61
|
+
call: {
|
|
62
|
+
kind: "pathParams",
|
|
63
|
+
paths: ["id"]
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const webhooksGetStats = {
|
|
67
|
+
group: "Webhooks",
|
|
68
|
+
method: "GET",
|
|
69
|
+
idempotent: false,
|
|
70
|
+
paginated: false,
|
|
71
|
+
call: {
|
|
72
|
+
kind: "pathParams",
|
|
73
|
+
paths: ["id"]
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const webhooksRetryDelivery = {
|
|
77
|
+
group: "Webhooks",
|
|
78
|
+
method: "POST",
|
|
79
|
+
idempotent: false,
|
|
80
|
+
paginated: false,
|
|
81
|
+
call: {
|
|
82
|
+
kind: "path",
|
|
83
|
+
paths: ["id", "deliveryId"]
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const webhooksRegenerateSecret = {
|
|
87
|
+
group: "Webhooks",
|
|
88
|
+
method: "POST",
|
|
89
|
+
idempotent: false,
|
|
90
|
+
paginated: false,
|
|
91
|
+
call: {
|
|
92
|
+
kind: "path",
|
|
93
|
+
paths: ["id"]
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
const webhooksGetSecret = {
|
|
97
|
+
group: "Webhooks",
|
|
98
|
+
method: "GET",
|
|
99
|
+
idempotent: false,
|
|
100
|
+
paginated: false,
|
|
101
|
+
call: {
|
|
102
|
+
kind: "path",
|
|
103
|
+
paths: ["id"]
|
|
106
104
|
}
|
|
107
105
|
};
|
|
108
|
-
export {
|
|
106
|
+
export { webhooksCreate, webhooksGet, webhooksGetLogs, webhooksGetSecret, webhooksGetStats, webhooksList, webhooksRegenerateSecret, webhooksRemove, webhooksRetryDelivery, webhooksTest, webhooksUpdate };
|
|
109
107
|
|
|
110
108
|
//# sourceMappingURL=webhooks.js.map
|
|
@@ -1,99 +1,97 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly
|
|
8
|
-
readonly kind: "payload";
|
|
9
|
-
};
|
|
1
|
+
export declare const whatsappFlowsCreate: {
|
|
2
|
+
readonly group: "WhatsApp flows";
|
|
3
|
+
readonly method: "POST";
|
|
4
|
+
readonly idempotent: false;
|
|
5
|
+
readonly paginated: false;
|
|
6
|
+
readonly call: {
|
|
7
|
+
readonly kind: "payload";
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
};
|
|
10
|
+
export declare const whatsappFlowsList: {
|
|
11
|
+
readonly group: "WhatsApp flows";
|
|
12
|
+
readonly method: "GET";
|
|
13
|
+
readonly idempotent: false;
|
|
14
|
+
readonly paginated: false;
|
|
15
|
+
readonly call: {
|
|
16
|
+
readonly kind: "none";
|
|
19
17
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
};
|
|
19
|
+
export declare const whatsappFlowsGet: {
|
|
20
|
+
readonly group: "WhatsApp flows";
|
|
21
|
+
readonly method: "GET";
|
|
22
|
+
readonly idempotent: false;
|
|
23
|
+
readonly paginated: false;
|
|
24
|
+
readonly call: {
|
|
25
|
+
readonly kind: "path";
|
|
26
|
+
readonly paths: readonly ["id"];
|
|
29
27
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
};
|
|
29
|
+
export declare const whatsappFlowsRecordVersion: {
|
|
30
|
+
readonly group: "WhatsApp flows";
|
|
31
|
+
readonly method: "POST";
|
|
32
|
+
readonly idempotent: false;
|
|
33
|
+
readonly paginated: false;
|
|
34
|
+
readonly call: {
|
|
35
|
+
readonly kind: "pathPayload";
|
|
36
|
+
readonly paths: readonly ["id"];
|
|
39
37
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
};
|
|
39
|
+
export declare const whatsappFlowsListVersions: {
|
|
40
|
+
readonly group: "WhatsApp flows";
|
|
41
|
+
readonly method: "GET";
|
|
42
|
+
readonly idempotent: false;
|
|
43
|
+
readonly paginated: false;
|
|
44
|
+
readonly call: {
|
|
45
|
+
readonly kind: "path";
|
|
46
|
+
readonly paths: readonly ["id"];
|
|
49
47
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
48
|
+
};
|
|
49
|
+
export declare const whatsappFlowsRegister: {
|
|
50
|
+
readonly group: "WhatsApp flows";
|
|
51
|
+
readonly method: "POST";
|
|
52
|
+
readonly idempotent: false;
|
|
53
|
+
readonly paginated: false;
|
|
54
|
+
readonly call: {
|
|
55
|
+
readonly kind: "pathPayload";
|
|
56
|
+
readonly paths: readonly ["id"];
|
|
59
57
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
};
|
|
59
|
+
export declare const whatsappFlowsListRegistrations: {
|
|
60
|
+
readonly group: "WhatsApp flows";
|
|
61
|
+
readonly method: "GET";
|
|
62
|
+
readonly idempotent: false;
|
|
63
|
+
readonly paginated: false;
|
|
64
|
+
readonly call: {
|
|
65
|
+
readonly kind: "path";
|
|
66
|
+
readonly paths: readonly ["id"];
|
|
69
67
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
};
|
|
69
|
+
export declare const whatsappFlowsRotateEncryptionKey: {
|
|
70
|
+
readonly group: "WhatsApp flows";
|
|
71
|
+
readonly method: "POST";
|
|
72
|
+
readonly idempotent: false;
|
|
73
|
+
readonly paginated: false;
|
|
74
|
+
readonly call: {
|
|
75
|
+
readonly kind: "payload";
|
|
78
76
|
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
77
|
+
};
|
|
78
|
+
export declare const whatsappFlowsSetEndpoint: {
|
|
79
|
+
readonly group: "WhatsApp flows";
|
|
80
|
+
readonly method: "PUT";
|
|
81
|
+
readonly idempotent: false;
|
|
82
|
+
readonly paginated: false;
|
|
83
|
+
readonly call: {
|
|
84
|
+
readonly kind: "pathPayload";
|
|
85
|
+
readonly paths: readonly ["id"];
|
|
88
86
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
87
|
+
};
|
|
88
|
+
export declare const whatsappFlowsRotateEndpointSecret: {
|
|
89
|
+
readonly group: "WhatsApp flows";
|
|
90
|
+
readonly method: "POST";
|
|
91
|
+
readonly idempotent: false;
|
|
92
|
+
readonly paginated: false;
|
|
93
|
+
readonly call: {
|
|
94
|
+
readonly kind: "path";
|
|
95
|
+
readonly paths: readonly ["id"];
|
|
98
96
|
};
|
|
99
97
|
};
|