samva 0.56.0 → 0.56.2
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/agent/index.js +0 -2
- package/dist/agent/runtime.js +0 -2
- package/dist/agent/test.js +0 -2
- package/dist/client/client/client.gen.js +0 -2
- package/dist/client/client/utils.gen.js +0 -2
- package/dist/client/client.gen.js +0 -2
- package/dist/client/core/auth.gen.js +0 -2
- package/dist/client/core/bodySerializer.gen.js +0 -2
- package/dist/client/core/params.gen.js +0 -2
- package/dist/client/core/pathSerializer.gen.js +0 -2
- package/dist/client/core/serverSentEvents.gen.js +0 -2
- package/dist/client/core/utils.gen.js +0 -2
- package/dist/client/sdk.gen.js +0 -2
- package/dist/client-attribution.js +0 -2
- package/dist/effect/accounts.js +9 -12
- package/dist/effect/agents.js +16 -19
- package/dist/effect/analytics.js +9 -12
- package/dist/effect/api-keys.js +11 -14
- package/dist/effect/approval-requests.js +7 -10
- package/dist/effect/attachments.js +7 -10
- package/dist/effect/brands.js +9 -12
- package/dist/effect/campaigns.js +18 -21
- package/dist/effect/categories.js +0 -2
- package/dist/effect/client.js +0 -2
- package/dist/effect/contact-groups.js +13 -16
- package/dist/effect/contacts.js +29 -32
- package/dist/effect/conversations.js +16 -19
- package/dist/effect/custom-fields.js +7 -10
- package/dist/effect/descriptors/accounts.d.ts +50 -52
- package/dist/effect/descriptors/accounts.js +50 -54
- package/dist/effect/descriptors/agents.d.ts +113 -115
- package/dist/effect/descriptors/agents.js +120 -124
- package/dist/effect/descriptors/analytics.d.ts +47 -49
- package/dist/effect/descriptors/analytics.js +42 -46
- package/dist/effect/descriptors/api-keys.d.ts +69 -71
- package/dist/effect/descriptors/api-keys.js +73 -77
- package/dist/effect/descriptors/approval-requests.d.ts +34 -36
- package/dist/effect/descriptors/approval-requests.js +36 -40
- package/dist/effect/descriptors/attachments.d.ts +34 -36
- package/dist/effect/descriptors/attachments.js +36 -40
- package/dist/effect/descriptors/brands.d.ts +51 -53
- package/dist/effect/descriptors/brands.js +53 -57
- package/dist/effect/descriptors/campaigns.d.ts +130 -132
- package/dist/effect/descriptors/campaigns.js +137 -141
- package/dist/effect/descriptors/contact-groups.d.ts +86 -88
- package/dist/effect/descriptors/contact-groups.js +90 -94
- package/dist/effect/descriptors/contacts.d.ts +242 -244
- package/dist/effect/descriptors/contacts.js +227 -231
- package/dist/effect/descriptors/conversations.d.ts +114 -116
- package/dist/effect/descriptors/conversations.js +123 -127
- package/dist/effect/descriptors/custom-fields.d.ts +33 -35
- package/dist/effect/descriptors/custom-fields.js +33 -37
- package/dist/effect/descriptors/email.d.ts +623 -625
- package/dist/effect/descriptors/email.js +562 -580
- package/dist/effect/descriptors/events.d.ts +15 -17
- package/dist/effect/descriptors/events.js +14 -18
- package/dist/effect/descriptors/feedback.d.ts +7 -9
- package/dist/effect/descriptors/feedback.js +3 -5
- package/dist/effect/descriptors/integrations-catalog.d.ts +159 -161
- package/dist/effect/descriptors/integrations-catalog.js +142 -146
- package/dist/effect/descriptors/integrations.d.ts +60 -62
- package/dist/effect/descriptors/integrations.js +63 -67
- package/dist/effect/descriptors/journeys.d.ts +123 -125
- package/dist/effect/descriptors/journeys.js +133 -137
- package/dist/effect/descriptors/logs.d.ts +16 -18
- package/dist/effect/descriptors/logs.js +16 -20
- package/dist/effect/descriptors/mailboxes.d.ts +780 -782
- package/dist/effect/descriptors/mailboxes.js +795 -799
- package/dist/effect/descriptors/media.d.ts +43 -45
- package/dist/effect/descriptors/media.js +46 -50
- package/dist/effect/descriptors/messages.d.ts +86 -88
- package/dist/effect/descriptors/messages.js +83 -94
- package/dist/effect/descriptors/namespaces.d.ts +96 -98
- package/dist/effect/descriptors/namespaces.js +107 -111
- package/dist/effect/descriptors/newsletter-domains.d.ts +35 -37
- package/dist/effect/descriptors/newsletter-domains.js +39 -43
- package/dist/effect/descriptors/newsletter-issues.d.ts +98 -100
- package/dist/effect/descriptors/newsletter-issues.js +109 -113
- package/dist/effect/descriptors/newsletters.d.ts +43 -45
- package/dist/effect/descriptors/newsletters.js +46 -50
- package/dist/effect/descriptors/operations.d.ts +25 -27
- package/dist/effect/descriptors/operations.js +26 -30
- package/dist/effect/descriptors/organizations.d.ts +96 -98
- package/dist/effect/descriptors/organizations.js +86 -90
- package/dist/effect/descriptors/phone-numbers.d.ts +41 -43
- package/dist/effect/descriptors/phone-numbers.js +40 -44
- package/dist/effect/descriptors/policies.d.ts +26 -28
- package/dist/effect/descriptors/policies.js +29 -33
- package/dist/effect/descriptors/scheduled-messages.d.ts +42 -44
- package/dist/effect/descriptors/scheduled-messages.js +43 -47
- package/dist/effect/descriptors/subscriptions.d.ts +7 -9
- package/dist/effect/descriptors/subscriptions.js +3 -5
- package/dist/effect/descriptors/template-registrations.d.ts +26 -28
- package/dist/effect/descriptors/template-registrations.js +29 -33
- package/dist/effect/descriptors/template-share-links.d.ts +44 -46
- package/dist/effect/descriptors/template-share-links.js +49 -53
- package/dist/effect/descriptors/templates.d.ts +361 -363
- package/dist/effect/descriptors/templates.js +348 -352
- package/dist/effect/descriptors/topic-forms.d.ts +44 -46
- package/dist/effect/descriptors/topic-forms.js +49 -53
- package/dist/effect/descriptors/topics.d.ts +77 -79
- package/dist/effect/descriptors/topics.js +80 -84
- package/dist/effect/descriptors/webhooks.d.ts +96 -98
- package/dist/effect/descriptors/webhooks.js +103 -107
- package/dist/effect/descriptors/whats-app-flows.d.ts +86 -88
- package/dist/effect/descriptors/whats-app-flows.js +90 -94
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +33 -35
- package/dist/effect/descriptors/whats-app-setup-links.js +33 -37
- package/dist/effect/descriptors/whats-app.d.ts +110 -112
- package/dist/effect/descriptors/whats-app.js +111 -115
- package/dist/effect/descriptors/whoami.d.ts +7 -9
- package/dist/effect/descriptors/whoami.js +3 -5
- package/dist/effect/email.js +66 -69
- package/dist/effect/events.js +5 -8
- package/dist/effect/feedback.js +4 -6
- package/dist/effect/generated/accounts.d.ts +144 -142
- package/dist/effect/generated/accounts.js +14 -11
- package/dist/effect/generated/agents.d.ts +1502 -1493
- package/dist/effect/generated/agents.js +28 -18
- package/dist/effect/generated/analytics.d.ts +55 -53
- package/dist/effect/generated/analytics.js +14 -11
- package/dist/effect/generated/api-keys.d.ts +216 -212
- package/dist/effect/generated/api-keys.js +18 -13
- package/dist/effect/generated/approval-requests.d.ts +60 -60
- package/dist/effect/generated/approval-requests.js +10 -9
- package/dist/effect/generated/attachments.d.ts +32 -32
- package/dist/effect/generated/attachments.js +10 -9
- package/dist/effect/generated/brands.d.ts +179 -177
- package/dist/effect/generated/brands.js +14 -11
- package/dist/effect/generated/campaigns.d.ts +1083 -1072
- package/dist/effect/generated/campaigns.js +32 -20
- package/dist/effect/generated/contact-events.d.ts +3 -6
- package/dist/effect/generated/contact-events.js +4 -6
- package/dist/effect/generated/contact-groups.d.ts +186 -180
- package/dist/effect/generated/contact-groups.js +22 -15
- package/dist/effect/generated/contacts.d.ts +1565 -1545
- package/dist/effect/generated/contacts.js +50 -29
- package/dist/effect/generated/conversations.d.ts +340 -331
- package/dist/effect/generated/conversations.js +28 -18
- package/dist/effect/generated/custom-fields.d.ts +63 -63
- package/dist/effect/generated/custom-fields.js +10 -9
- package/dist/effect/generated/email.d.ts +2731 -2671
- package/dist/effect/generated/email.js +130 -69
- package/dist/effect/generated/events.d.ts +160 -162
- package/dist/effect/generated/events.js +6 -7
- package/dist/effect/generated/feedback.d.ts +3 -6
- package/dist/effect/generated/feedback.js +4 -6
- 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 -22
- package/dist/effect/generated/integrations.d.ts +155 -152
- package/dist/effect/generated/integrations.js +16 -12
- package/dist/effect/generated/journeys.d.ts +864 -854
- package/dist/effect/generated/journeys.js +30 -19
- package/dist/effect/generated/logs.d.ts +147 -149
- package/dist/effect/generated/logs.js +6 -7
- package/dist/effect/generated/mailboxes.d.ts +7271 -7196
- package/dist/effect/generated/mailboxes.js +160 -84
- package/dist/effect/generated/media.d.ts +77 -76
- package/dist/effect/generated/media.js +12 -10
- package/dist/effect/generated/messages.d.ts +1092 -1086
- package/dist/effect/generated/messages.js +22 -15
- package/dist/effect/generated/namespaces.d.ts +184 -177
- package/dist/effect/generated/namespaces.js +24 -16
- package/dist/effect/generated/newsletter-domains.d.ts +57 -57
- package/dist/effect/generated/newsletter-domains.js +10 -9
- package/dist/effect/generated/newsletter-issues.d.ts +225 -218
- package/dist/effect/generated/newsletter-issues.js +24 -16
- package/dist/effect/generated/newsletters.d.ts +46 -45
- package/dist/effect/generated/newsletters.js +12 -10
- package/dist/effect/generated/operations.d.ts +79 -80
- package/dist/effect/generated/operations.js +8 -8
- package/dist/effect/generated/organizations.d.ts +438 -430
- package/dist/effect/generated/organizations.js +26 -17
- package/dist/effect/generated/phone-numbers.d.ts +87 -86
- package/dist/effect/generated/phone-numbers.js +12 -10
- package/dist/effect/generated/policies.d.ts +64 -65
- package/dist/effect/generated/policies.js +8 -8
- package/dist/effect/generated/scheduled-messages.d.ts +66 -65
- package/dist/effect/generated/scheduled-messages.js +12 -10
- package/dist/effect/generated/shared.d.ts +33 -33
- package/dist/effect/generated/shared.js +61 -63
- package/dist/effect/generated/subscriptions.d.ts +3 -6
- package/dist/effect/generated/subscriptions.js +4 -6
- package/dist/effect/generated/template-registrations.d.ts +135 -136
- package/dist/effect/generated/template-registrations.js +8 -8
- package/dist/effect/generated/template-share-links.d.ts +25 -24
- package/dist/effect/generated/template-share-links.js +12 -10
- package/dist/effect/generated/templates.d.ts +2678 -2645
- package/dist/effect/generated/templates.js +76 -42
- package/dist/effect/generated/topic-forms.d.ts +47 -46
- package/dist/effect/generated/topic-forms.js +12 -10
- package/dist/effect/generated/topics.d.ts +204 -199
- package/dist/effect/generated/topics.js +20 -14
- package/dist/effect/generated/webhooks.d.ts +268 -261
- package/dist/effect/generated/webhooks.js +24 -16
- package/dist/effect/generated/whats-app-flows.d.ts +250 -244
- package/dist/effect/generated/whats-app-flows.js +22 -15
- package/dist/effect/generated/whats-app-setup-links.d.ts +107 -107
- package/dist/effect/generated/whats-app-setup-links.js +10 -9
- package/dist/effect/generated/whats-app.d.ts +439 -430
- package/dist/effect/generated/whats-app.js +28 -18
- package/dist/effect/generated/whoami.d.ts +3 -6
- package/dist/effect/generated/whoami.js +4 -6
- package/dist/effect/generated-metadata.js +0 -2
- package/dist/effect/integrations-catalog.js +20 -23
- package/dist/effect/integrations.js +10 -13
- package/dist/effect/internal/client.d.ts +2 -1
- package/dist/effect/internal/client.js +3 -5
- package/dist/effect/internal/email-sender.js +5 -6
- package/dist/effect/internal/log-events.js +0 -2
- package/dist/effect/internal/mailbox-events.js +0 -2
- package/dist/effect/internal/operation.d.ts +11 -7
- package/dist/effect/internal/operation.js +17 -14
- package/dist/effect/internal/send.js +11 -10
- package/dist/effect/internal/timeout.js +0 -2
- package/dist/effect/journeys.js +17 -20
- package/dist/effect/logs.js +5 -8
- package/dist/effect/mailboxes.js +82 -85
- package/dist/effect/media.js +8 -11
- package/dist/effect/messages.js +12 -15
- package/dist/effect/namespaces.js +14 -17
- package/dist/effect/newsletter-domains.js +7 -10
- package/dist/effect/newsletter-issues.js +14 -17
- package/dist/effect/newsletters.js +8 -11
- package/dist/effect/operations.js +6 -9
- package/dist/effect/organizations.js +15 -18
- package/dist/effect/pagination.js +0 -2
- package/dist/effect/phone-numbers.js +8 -11
- package/dist/effect/policies.js +6 -9
- package/dist/effect/retry.js +0 -2
- package/dist/effect/runtime.js +3 -5
- package/dist/effect/scheduled-messages.js +8 -11
- package/dist/effect/subscriptions.js +4 -6
- package/dist/effect/template-registrations.js +6 -9
- package/dist/effect/template-share-links.js +8 -11
- package/dist/effect/templates.js +40 -43
- package/dist/effect/topic-forms.js +8 -11
- package/dist/effect/topics.js +12 -15
- package/dist/effect/webhooks.js +14 -17
- package/dist/effect/whatsapp-flows.js +13 -16
- package/dist/effect/whatsapp-setup-links.js +7 -10
- package/dist/effect/whatsapp.js +16 -19
- package/dist/effect/whoami.js +4 -6
- package/dist/inline-attachments.js +0 -2
- package/dist/mailbox-events.js +0 -2
- package/dist/normalize.js +0 -2
- package/dist/package.json.js +1 -3
- package/dist/promises/client.js +0 -2
- package/dist/promises/errors.gen.js +0 -2
- package/dist/promises/request.js +0 -2
- package/dist/request-id.js +0 -2
- package/dist/request-policy.js +0 -2
- package/package.json +3 -2
|
@@ -1,144 +1,140 @@
|
|
|
1
1
|
// src/effect/descriptors/campaigns.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
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
paths: ["id", "runId"]
|
|
139
|
-
}
|
|
2
|
+
const campaignsPreview = {
|
|
3
|
+
group: "Campaigns",
|
|
4
|
+
method: "POST",
|
|
5
|
+
idempotent: false,
|
|
6
|
+
paginated: false,
|
|
7
|
+
call: { kind: "payload" }
|
|
8
|
+
};
|
|
9
|
+
const campaignsSendTest = {
|
|
10
|
+
group: "Campaigns",
|
|
11
|
+
method: "POST",
|
|
12
|
+
idempotent: false,
|
|
13
|
+
paginated: false,
|
|
14
|
+
call: { kind: "payload" }
|
|
15
|
+
};
|
|
16
|
+
const campaignsCreate = {
|
|
17
|
+
group: "Campaigns",
|
|
18
|
+
method: "POST",
|
|
19
|
+
idempotent: false,
|
|
20
|
+
paginated: false,
|
|
21
|
+
call: { kind: "payload" }
|
|
22
|
+
};
|
|
23
|
+
const campaignsList = {
|
|
24
|
+
group: "Campaigns",
|
|
25
|
+
method: "GET",
|
|
26
|
+
idempotent: false,
|
|
27
|
+
paginated: true,
|
|
28
|
+
call: { kind: "params" }
|
|
29
|
+
};
|
|
30
|
+
const campaignsGet = {
|
|
31
|
+
group: "Campaigns",
|
|
32
|
+
method: "GET",
|
|
33
|
+
idempotent: false,
|
|
34
|
+
paginated: false,
|
|
35
|
+
call: {
|
|
36
|
+
kind: "path",
|
|
37
|
+
paths: ["id"]
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const campaignsUpdate = {
|
|
41
|
+
group: "Campaigns",
|
|
42
|
+
method: "PATCH",
|
|
43
|
+
idempotent: false,
|
|
44
|
+
paginated: false,
|
|
45
|
+
call: {
|
|
46
|
+
kind: "pathPayload",
|
|
47
|
+
paths: ["id"]
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const campaignsArchive = {
|
|
51
|
+
group: "Campaigns",
|
|
52
|
+
method: "POST",
|
|
53
|
+
idempotent: false,
|
|
54
|
+
paginated: false,
|
|
55
|
+
call: {
|
|
56
|
+
kind: "path",
|
|
57
|
+
paths: ["id"]
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
const campaignsScheduleRun = {
|
|
61
|
+
group: "Campaigns",
|
|
62
|
+
method: "POST",
|
|
63
|
+
idempotent: true,
|
|
64
|
+
paginated: false,
|
|
65
|
+
call: {
|
|
66
|
+
kind: "pathPayload",
|
|
67
|
+
paths: ["id"]
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const campaignsListRuns = {
|
|
71
|
+
group: "Campaigns",
|
|
72
|
+
method: "GET",
|
|
73
|
+
idempotent: false,
|
|
74
|
+
paginated: true,
|
|
75
|
+
call: {
|
|
76
|
+
kind: "pathParams",
|
|
77
|
+
paths: ["id"]
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const campaignsGetRun = {
|
|
81
|
+
group: "Campaigns",
|
|
82
|
+
method: "GET",
|
|
83
|
+
idempotent: false,
|
|
84
|
+
paginated: false,
|
|
85
|
+
call: {
|
|
86
|
+
kind: "path",
|
|
87
|
+
paths: ["id", "runId"]
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const campaignsGetRunReport = {
|
|
91
|
+
group: "Campaigns",
|
|
92
|
+
method: "GET",
|
|
93
|
+
idempotent: false,
|
|
94
|
+
paginated: false,
|
|
95
|
+
call: {
|
|
96
|
+
kind: "path",
|
|
97
|
+
paths: ["id", "runId"]
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
const campaignsPauseRun = {
|
|
101
|
+
group: "Campaigns",
|
|
102
|
+
method: "POST",
|
|
103
|
+
idempotent: false,
|
|
104
|
+
paginated: false,
|
|
105
|
+
call: {
|
|
106
|
+
kind: "path",
|
|
107
|
+
paths: ["id", "runId"]
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
const campaignsResumeRun = {
|
|
111
|
+
group: "Campaigns",
|
|
112
|
+
method: "POST",
|
|
113
|
+
idempotent: false,
|
|
114
|
+
paginated: false,
|
|
115
|
+
call: {
|
|
116
|
+
kind: "path",
|
|
117
|
+
paths: ["id", "runId"]
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const campaignsCancelRun = {
|
|
121
|
+
group: "Campaigns",
|
|
122
|
+
method: "POST",
|
|
123
|
+
idempotent: false,
|
|
124
|
+
paginated: false,
|
|
125
|
+
call: {
|
|
126
|
+
kind: "path",
|
|
127
|
+
paths: ["id", "runId"]
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
const campaignsListRecipients = {
|
|
131
|
+
group: "Campaigns",
|
|
132
|
+
method: "GET",
|
|
133
|
+
idempotent: false,
|
|
134
|
+
paginated: true,
|
|
135
|
+
call: {
|
|
136
|
+
kind: "pathParams",
|
|
137
|
+
paths: ["id", "runId"]
|
|
140
138
|
}
|
|
141
139
|
};
|
|
142
|
-
export {
|
|
143
|
-
|
|
144
|
-
//# sourceMappingURL=campaigns.js.map
|
|
140
|
+
export { campaignsArchive, campaignsCancelRun, campaignsCreate, campaignsGet, campaignsGetRun, campaignsGetRunReport, campaignsList, campaignsListRecipients, campaignsListRuns, campaignsPauseRun, campaignsPreview, campaignsResumeRun, campaignsScheduleRun, campaignsSendTest, campaignsUpdate };
|
|
@@ -1,99 +1,97 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly
|
|
8
|
-
readonly kind: "params";
|
|
9
|
-
};
|
|
1
|
+
export declare const contactGroupsList: {
|
|
2
|
+
readonly group: "Contact Groups";
|
|
3
|
+
readonly method: "GET";
|
|
4
|
+
readonly idempotent: false;
|
|
5
|
+
readonly paginated: true;
|
|
6
|
+
readonly call: {
|
|
7
|
+
readonly kind: "params";
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
};
|
|
10
|
+
export declare const contactGroupsCreate: {
|
|
11
|
+
readonly group: "Contact Groups";
|
|
12
|
+
readonly method: "POST";
|
|
13
|
+
readonly idempotent: false;
|
|
14
|
+
readonly paginated: false;
|
|
15
|
+
readonly call: {
|
|
16
|
+
readonly kind: "payload";
|
|
19
17
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
};
|
|
19
|
+
export declare const contactGroupsGetById: {
|
|
20
|
+
readonly group: "Contact Groups";
|
|
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 contactGroupsUpdate: {
|
|
30
|
+
readonly group: "Contact Groups";
|
|
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 contactGroupsRemove: {
|
|
40
|
+
readonly group: "Contact Groups";
|
|
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 contactGroupsAddMembers: {
|
|
50
|
+
readonly group: "Contact Groups";
|
|
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 contactGroupsRemoveMembers: {
|
|
60
|
+
readonly group: "Contact Groups";
|
|
61
|
+
readonly method: "DELETE";
|
|
62
|
+
readonly idempotent: false;
|
|
63
|
+
readonly paginated: false;
|
|
64
|
+
readonly call: {
|
|
65
|
+
readonly kind: "pathPayload";
|
|
66
|
+
readonly paths: readonly ["id"];
|
|
69
67
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
};
|
|
69
|
+
export declare const contactGroupsGetMembers: {
|
|
70
|
+
readonly group: "Contact Groups";
|
|
71
|
+
readonly method: "GET";
|
|
72
|
+
readonly idempotent: false;
|
|
73
|
+
readonly paginated: true;
|
|
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 contactGroupsEvaluateDynamic: {
|
|
80
|
+
readonly group: "Contact Groups";
|
|
81
|
+
readonly method: "POST";
|
|
82
|
+
readonly idempotent: false;
|
|
83
|
+
readonly paginated: false;
|
|
84
|
+
readonly call: {
|
|
85
|
+
readonly kind: "path";
|
|
86
|
+
readonly paths: readonly ["id"];
|
|
89
87
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
88
|
+
};
|
|
89
|
+
export declare const contactGroupsPreview: {
|
|
90
|
+
readonly group: "Contact Groups";
|
|
91
|
+
readonly method: "POST";
|
|
92
|
+
readonly idempotent: false;
|
|
93
|
+
readonly paginated: false;
|
|
94
|
+
readonly call: {
|
|
95
|
+
readonly kind: "payload";
|
|
98
96
|
};
|
|
99
97
|
};
|
|
@@ -1,97 +1,93 @@
|
|
|
1
1
|
// src/effect/descriptors/contact-groups.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
|
-
paths: ["id"]
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
contactGroupsRemoveMembers: {
|
|
58
|
-
group: "Contact Groups",
|
|
59
|
-
method: "DELETE",
|
|
60
|
-
idempotent: false,
|
|
61
|
-
paginated: false,
|
|
62
|
-
call: {
|
|
63
|
-
kind: "pathPayload",
|
|
64
|
-
paths: ["id"]
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
contactGroupsGetMembers: {
|
|
68
|
-
group: "Contact Groups",
|
|
69
|
-
method: "GET",
|
|
70
|
-
idempotent: false,
|
|
71
|
-
paginated: true,
|
|
72
|
-
call: {
|
|
73
|
-
kind: "pathParams",
|
|
74
|
-
paths: ["id"]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
contactGroupsEvaluateDynamic: {
|
|
78
|
-
group: "Contact Groups",
|
|
79
|
-
method: "POST",
|
|
80
|
-
idempotent: false,
|
|
81
|
-
paginated: false,
|
|
82
|
-
call: {
|
|
83
|
-
kind: "path",
|
|
84
|
-
paths: ["id"]
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
contactGroupsPreview: {
|
|
88
|
-
group: "Contact Groups",
|
|
89
|
-
method: "POST",
|
|
90
|
-
idempotent: false,
|
|
91
|
-
paginated: false,
|
|
92
|
-
call: { kind: "payload" }
|
|
2
|
+
const contactGroupsList = {
|
|
3
|
+
group: "Contact Groups",
|
|
4
|
+
method: "GET",
|
|
5
|
+
idempotent: false,
|
|
6
|
+
paginated: true,
|
|
7
|
+
call: { kind: "params" }
|
|
8
|
+
};
|
|
9
|
+
const contactGroupsCreate = {
|
|
10
|
+
group: "Contact Groups",
|
|
11
|
+
method: "POST",
|
|
12
|
+
idempotent: false,
|
|
13
|
+
paginated: false,
|
|
14
|
+
call: { kind: "payload" }
|
|
15
|
+
};
|
|
16
|
+
const contactGroupsGetById = {
|
|
17
|
+
group: "Contact Groups",
|
|
18
|
+
method: "GET",
|
|
19
|
+
idempotent: false,
|
|
20
|
+
paginated: false,
|
|
21
|
+
call: {
|
|
22
|
+
kind: "path",
|
|
23
|
+
paths: ["id"]
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
const contactGroupsUpdate = {
|
|
27
|
+
group: "Contact Groups",
|
|
28
|
+
method: "PATCH",
|
|
29
|
+
idempotent: false,
|
|
30
|
+
paginated: false,
|
|
31
|
+
call: {
|
|
32
|
+
kind: "pathPayload",
|
|
33
|
+
paths: ["id"]
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const contactGroupsRemove = {
|
|
37
|
+
group: "Contact Groups",
|
|
38
|
+
method: "DELETE",
|
|
39
|
+
idempotent: false,
|
|
40
|
+
paginated: false,
|
|
41
|
+
call: {
|
|
42
|
+
kind: "path",
|
|
43
|
+
paths: ["id"]
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const contactGroupsAddMembers = {
|
|
47
|
+
group: "Contact Groups",
|
|
48
|
+
method: "POST",
|
|
49
|
+
idempotent: false,
|
|
50
|
+
paginated: false,
|
|
51
|
+
call: {
|
|
52
|
+
kind: "pathPayload",
|
|
53
|
+
paths: ["id"]
|
|
93
54
|
}
|
|
94
55
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
56
|
+
const contactGroupsRemoveMembers = {
|
|
57
|
+
group: "Contact Groups",
|
|
58
|
+
method: "DELETE",
|
|
59
|
+
idempotent: false,
|
|
60
|
+
paginated: false,
|
|
61
|
+
call: {
|
|
62
|
+
kind: "pathPayload",
|
|
63
|
+
paths: ["id"]
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const contactGroupsGetMembers = {
|
|
67
|
+
group: "Contact Groups",
|
|
68
|
+
method: "GET",
|
|
69
|
+
idempotent: false,
|
|
70
|
+
paginated: true,
|
|
71
|
+
call: {
|
|
72
|
+
kind: "pathParams",
|
|
73
|
+
paths: ["id"]
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const contactGroupsEvaluateDynamic = {
|
|
77
|
+
group: "Contact Groups",
|
|
78
|
+
method: "POST",
|
|
79
|
+
idempotent: false,
|
|
80
|
+
paginated: false,
|
|
81
|
+
call: {
|
|
82
|
+
kind: "path",
|
|
83
|
+
paths: ["id"]
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const contactGroupsPreview = {
|
|
87
|
+
group: "Contact Groups",
|
|
88
|
+
method: "POST",
|
|
89
|
+
idempotent: false,
|
|
90
|
+
paginated: false,
|
|
91
|
+
call: { kind: "payload" }
|
|
92
|
+
};
|
|
93
|
+
export { contactGroupsAddMembers, contactGroupsCreate, contactGroupsEvaluateDynamic, contactGroupsGetById, contactGroupsGetMembers, contactGroupsList, contactGroupsPreview, contactGroupsRemove, contactGroupsRemoveMembers, contactGroupsUpdate };
|