samva 0.26.0 → 0.28.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/AGENTS.md +7 -0
- package/README.md +14 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +1085 -332
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +119 -0
- package/dist/effect/agents.js +29 -0
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +270 -0
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +55 -70
- package/dist/effect/generated/email.js +18 -21
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +466 -712
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +431 -177
- package/dist/effect/generated/shared.js +216 -108
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +5 -3
- package/dist/effect/internal/operation.js +4 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +119 -119
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +9 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +117 -23
- package/dist/service-map.js +71 -10
- package/package.json +17 -9
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
|
@@ -1,11 +1,221 @@
|
|
|
1
|
+
export declare const preview: (input: {
|
|
2
|
+
readonly content: {
|
|
3
|
+
readonly channel: "email";
|
|
4
|
+
readonly email: {
|
|
5
|
+
readonly subject?: string | null | undefined;
|
|
6
|
+
readonly html?: string | null | undefined;
|
|
7
|
+
readonly text?: string | null | undefined;
|
|
8
|
+
readonly attachments?: readonly {
|
|
9
|
+
readonly filename: string;
|
|
10
|
+
readonly content?: string | null | undefined;
|
|
11
|
+
readonly mediaId?: string | null | undefined;
|
|
12
|
+
readonly contentType: string;
|
|
13
|
+
readonly size: number;
|
|
14
|
+
}[] | null | undefined;
|
|
15
|
+
readonly publicationId?: string | undefined;
|
|
16
|
+
readonly inputContractId?: string | undefined;
|
|
17
|
+
readonly templateId?: string | null | undefined;
|
|
18
|
+
readonly templateSlug?: string | null | undefined;
|
|
19
|
+
readonly templateData?: {
|
|
20
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
21
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
22
|
+
} | null)[] | {
|
|
23
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
24
|
+
} | null)[] | {
|
|
25
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
26
|
+
} | null)[] | {
|
|
27
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
28
|
+
} | null)[] | {
|
|
29
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
30
|
+
} | null)[] | {
|
|
31
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
32
|
+
} | null)[] | {
|
|
33
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
34
|
+
} | null)[] | {
|
|
35
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
36
|
+
} | null)[] | {
|
|
37
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
38
|
+
} | null)[] | {
|
|
39
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
40
|
+
} | null)[] | {
|
|
41
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
42
|
+
} | null)[] | {
|
|
43
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
44
|
+
} | null | undefined;
|
|
45
|
+
} | null | undefined;
|
|
46
|
+
readonly locale?: string | undefined;
|
|
47
|
+
readonly timeZone?: string | undefined;
|
|
48
|
+
readonly inReplyToMessageId?: string | null | undefined;
|
|
49
|
+
readonly replyTo?: readonly string[] | null | undefined;
|
|
50
|
+
readonly topicId?: string | null | undefined;
|
|
51
|
+
readonly tracking?: {
|
|
52
|
+
readonly opens?: boolean | undefined;
|
|
53
|
+
readonly clicks?: boolean | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
readonly footer?: {
|
|
56
|
+
readonly enabled?: boolean | null | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
readonly headers?: {
|
|
59
|
+
readonly [x: string]: string | undefined;
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
readonly preheader?: string | null | undefined;
|
|
62
|
+
};
|
|
63
|
+
readonly from?: {
|
|
64
|
+
readonly email: string;
|
|
65
|
+
readonly name?: string | null | undefined;
|
|
66
|
+
} | null | undefined;
|
|
67
|
+
readonly replyMailboxId?: string | null | undefined;
|
|
68
|
+
readonly conversationId?: string | null | undefined;
|
|
69
|
+
readonly metadata?: {
|
|
70
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
|
|
71
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
72
|
+
} | null)[] | {
|
|
73
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
74
|
+
} | null)[] | {
|
|
75
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
76
|
+
} | null)[] | {
|
|
77
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
78
|
+
} | null)[] | {
|
|
79
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
80
|
+
} | null)[] | {
|
|
81
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
82
|
+
} | null)[] | {
|
|
83
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
84
|
+
} | null)[] | {
|
|
85
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
86
|
+
} | null)[] | {
|
|
87
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
88
|
+
} | null)[] | {
|
|
89
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
90
|
+
} | null)[] | {
|
|
91
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
92
|
+
} | null)[] | {
|
|
93
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
94
|
+
} | null | undefined;
|
|
95
|
+
} | null | undefined;
|
|
96
|
+
};
|
|
97
|
+
readonly audience: {
|
|
98
|
+
readonly topicId: string;
|
|
99
|
+
readonly includeTags?: readonly string[] | null | undefined;
|
|
100
|
+
readonly excludeTags?: readonly string[] | null | undefined;
|
|
101
|
+
readonly contactIds?: readonly string[] | null | undefined;
|
|
102
|
+
readonly groupIds?: readonly string[] | null | undefined;
|
|
103
|
+
};
|
|
104
|
+
readonly contactId?: string | null | undefined;
|
|
105
|
+
}) => import("./internal/operation").OperationResult<"campaignsPreview">;
|
|
106
|
+
export declare const sendTest: (input: {
|
|
107
|
+
readonly content: {
|
|
108
|
+
readonly channel: "email";
|
|
109
|
+
readonly email: {
|
|
110
|
+
readonly subject?: string | null | undefined;
|
|
111
|
+
readonly html?: string | null | undefined;
|
|
112
|
+
readonly text?: string | null | undefined;
|
|
113
|
+
readonly attachments?: readonly {
|
|
114
|
+
readonly filename: string;
|
|
115
|
+
readonly content?: string | null | undefined;
|
|
116
|
+
readonly mediaId?: string | null | undefined;
|
|
117
|
+
readonly contentType: string;
|
|
118
|
+
readonly size: number;
|
|
119
|
+
}[] | null | undefined;
|
|
120
|
+
readonly publicationId?: string | undefined;
|
|
121
|
+
readonly inputContractId?: string | undefined;
|
|
122
|
+
readonly templateId?: string | null | undefined;
|
|
123
|
+
readonly templateSlug?: string | null | undefined;
|
|
124
|
+
readonly templateData?: {
|
|
125
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
126
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
127
|
+
} | null)[] | {
|
|
128
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
129
|
+
} | null)[] | {
|
|
130
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
131
|
+
} | null)[] | {
|
|
132
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
133
|
+
} | null)[] | {
|
|
134
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
135
|
+
} | null)[] | {
|
|
136
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
137
|
+
} | null)[] | {
|
|
138
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
139
|
+
} | null)[] | {
|
|
140
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
141
|
+
} | null)[] | {
|
|
142
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
143
|
+
} | null)[] | {
|
|
144
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
145
|
+
} | null)[] | {
|
|
146
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
147
|
+
} | null)[] | {
|
|
148
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
149
|
+
} | null | undefined;
|
|
150
|
+
} | null | undefined;
|
|
151
|
+
readonly locale?: string | undefined;
|
|
152
|
+
readonly timeZone?: string | undefined;
|
|
153
|
+
readonly inReplyToMessageId?: string | null | undefined;
|
|
154
|
+
readonly replyTo?: readonly string[] | null | undefined;
|
|
155
|
+
readonly topicId?: string | null | undefined;
|
|
156
|
+
readonly tracking?: {
|
|
157
|
+
readonly opens?: boolean | undefined;
|
|
158
|
+
readonly clicks?: boolean | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
readonly footer?: {
|
|
161
|
+
readonly enabled?: boolean | null | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
readonly headers?: {
|
|
164
|
+
readonly [x: string]: string | undefined;
|
|
165
|
+
} | null | undefined;
|
|
166
|
+
readonly preheader?: string | null | undefined;
|
|
167
|
+
};
|
|
168
|
+
readonly from?: {
|
|
169
|
+
readonly email: string;
|
|
170
|
+
readonly name?: string | null | undefined;
|
|
171
|
+
} | null | undefined;
|
|
172
|
+
readonly replyMailboxId?: string | null | undefined;
|
|
173
|
+
readonly conversationId?: string | null | undefined;
|
|
174
|
+
readonly metadata?: {
|
|
175
|
+
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
|
|
176
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
177
|
+
} | null)[] | {
|
|
178
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
179
|
+
} | null)[] | {
|
|
180
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
181
|
+
} | null)[] | {
|
|
182
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
183
|
+
} | null)[] | {
|
|
184
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
185
|
+
} | null)[] | {
|
|
186
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
187
|
+
} | null)[] | {
|
|
188
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
189
|
+
} | null)[] | {
|
|
190
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
191
|
+
} | null)[] | {
|
|
192
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
193
|
+
} | null)[] | {
|
|
194
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
195
|
+
} | null)[] | {
|
|
196
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
197
|
+
} | null)[] | {
|
|
198
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
199
|
+
} | null | undefined;
|
|
200
|
+
} | null | undefined;
|
|
201
|
+
};
|
|
202
|
+
readonly audience: {
|
|
203
|
+
readonly topicId: string;
|
|
204
|
+
readonly includeTags?: readonly string[] | null | undefined;
|
|
205
|
+
readonly excludeTags?: readonly string[] | null | undefined;
|
|
206
|
+
readonly contactIds?: readonly string[] | null | undefined;
|
|
207
|
+
readonly groupIds?: readonly string[] | null | undefined;
|
|
208
|
+
};
|
|
209
|
+
readonly contactId?: string | null | undefined;
|
|
210
|
+
}) => import("./internal/operation").OperationResult<"campaignsSendTest">;
|
|
1
211
|
export declare const list: ((input?: {
|
|
2
212
|
readonly status?: "archived" | "draft" | null | undefined;
|
|
3
|
-
readonly limit?:
|
|
213
|
+
readonly limit?: number | null | undefined;
|
|
4
214
|
readonly cursor?: string | null | undefined;
|
|
5
215
|
} | undefined) => import("./internal/operation").OperationResult<"campaignsList">) & {
|
|
6
216
|
readonly pages: (input?: {
|
|
7
217
|
readonly status?: "archived" | "draft" | null | undefined;
|
|
8
|
-
readonly limit?:
|
|
218
|
+
readonly limit?: number | null | undefined;
|
|
9
219
|
readonly cursor?: string | null | undefined;
|
|
10
220
|
} | undefined) => import("effect/Stream").Stream<{
|
|
11
221
|
readonly items: readonly {
|
|
@@ -36,7 +246,7 @@ export declare const list: ((input?: {
|
|
|
36
246
|
readonly timeZone?: string;
|
|
37
247
|
readonly inReplyToMessageId?: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
38
248
|
readonly replyTo?: readonly string[] | null;
|
|
39
|
-
readonly
|
|
249
|
+
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
40
250
|
readonly tracking?: {
|
|
41
251
|
readonly opens?: boolean;
|
|
42
252
|
readonly clicks?: boolean;
|
|
@@ -47,20 +257,26 @@ export declare const list: ((input?: {
|
|
|
47
257
|
readonly headers?: {
|
|
48
258
|
readonly [x: string]: string;
|
|
49
259
|
} | null;
|
|
260
|
+
readonly preheader?: string | null;
|
|
50
261
|
};
|
|
262
|
+
readonly from?: {
|
|
263
|
+
readonly email: string;
|
|
264
|
+
readonly name?: string | null;
|
|
265
|
+
} | null;
|
|
266
|
+
readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
|
|
51
267
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
52
268
|
readonly metadata?: {
|
|
53
269
|
readonly [x: string]: import("./generated").JsonValue;
|
|
54
270
|
} | null;
|
|
55
271
|
};
|
|
56
272
|
readonly audience: {
|
|
273
|
+
readonly topicId: string & import("effect/Brand").Brand<"TopicId">;
|
|
57
274
|
readonly includeTags?: readonly string[] | null;
|
|
58
275
|
readonly excludeTags?: readonly string[] | null;
|
|
59
276
|
readonly contactIds?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
60
277
|
readonly groupIds?: readonly (string & import("effect/Brand").Brand<"ContactGroupId">)[] | null;
|
|
61
278
|
};
|
|
62
279
|
readonly policy: {
|
|
63
|
-
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
64
280
|
readonly pageSize?: number | null;
|
|
65
281
|
};
|
|
66
282
|
readonly definition: {
|
|
@@ -90,7 +306,7 @@ export declare const list: ((input?: {
|
|
|
90
306
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
91
307
|
readonly items: (input?: {
|
|
92
308
|
readonly status?: "archived" | "draft" | null | undefined;
|
|
93
|
-
readonly limit?:
|
|
309
|
+
readonly limit?: number | null | undefined;
|
|
94
310
|
readonly cursor?: string | null | undefined;
|
|
95
311
|
} | undefined) => import("effect/Stream").Stream<{
|
|
96
312
|
readonly id: string & import("effect/Brand").Brand<"CampaignId">;
|
|
@@ -120,7 +336,7 @@ export declare const list: ((input?: {
|
|
|
120
336
|
readonly timeZone?: string;
|
|
121
337
|
readonly inReplyToMessageId?: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
122
338
|
readonly replyTo?: readonly string[] | null;
|
|
123
|
-
readonly
|
|
339
|
+
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
124
340
|
readonly tracking?: {
|
|
125
341
|
readonly opens?: boolean;
|
|
126
342
|
readonly clicks?: boolean;
|
|
@@ -131,20 +347,26 @@ export declare const list: ((input?: {
|
|
|
131
347
|
readonly headers?: {
|
|
132
348
|
readonly [x: string]: string;
|
|
133
349
|
} | null;
|
|
350
|
+
readonly preheader?: string | null;
|
|
134
351
|
};
|
|
352
|
+
readonly from?: {
|
|
353
|
+
readonly email: string;
|
|
354
|
+
readonly name?: string | null;
|
|
355
|
+
} | null;
|
|
356
|
+
readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
|
|
135
357
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
136
358
|
readonly metadata?: {
|
|
137
359
|
readonly [x: string]: import("./generated").JsonValue;
|
|
138
360
|
} | null;
|
|
139
361
|
};
|
|
140
362
|
readonly audience: {
|
|
363
|
+
readonly topicId: string & import("effect/Brand").Brand<"TopicId">;
|
|
141
364
|
readonly includeTags?: readonly string[] | null;
|
|
142
365
|
readonly excludeTags?: readonly string[] | null;
|
|
143
366
|
readonly contactIds?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
144
367
|
readonly groupIds?: readonly (string & import("effect/Brand").Brand<"ContactGroupId">)[] | null;
|
|
145
368
|
};
|
|
146
369
|
readonly policy: {
|
|
147
|
-
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
148
370
|
readonly pageSize?: number | null;
|
|
149
371
|
};
|
|
150
372
|
readonly definition: {
|
|
@@ -222,7 +444,7 @@ export declare const create: (input: {
|
|
|
222
444
|
readonly timeZone?: string | undefined;
|
|
223
445
|
readonly inReplyToMessageId?: string | null | undefined;
|
|
224
446
|
readonly replyTo?: readonly string[] | null | undefined;
|
|
225
|
-
readonly
|
|
447
|
+
readonly topicId?: string | null | undefined;
|
|
226
448
|
readonly tracking?: {
|
|
227
449
|
readonly opens?: boolean | undefined;
|
|
228
450
|
readonly clicks?: boolean | undefined;
|
|
@@ -233,7 +455,13 @@ export declare const create: (input: {
|
|
|
233
455
|
readonly headers?: {
|
|
234
456
|
readonly [x: string]: string | undefined;
|
|
235
457
|
} | null | undefined;
|
|
458
|
+
readonly preheader?: string | null | undefined;
|
|
236
459
|
};
|
|
460
|
+
readonly from?: {
|
|
461
|
+
readonly email: string;
|
|
462
|
+
readonly name?: string | null | undefined;
|
|
463
|
+
} | null | undefined;
|
|
464
|
+
readonly replyMailboxId?: string | null | undefined;
|
|
237
465
|
readonly conversationId?: string | null | undefined;
|
|
238
466
|
readonly metadata?: {
|
|
239
467
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
|
|
@@ -264,13 +492,13 @@ export declare const create: (input: {
|
|
|
264
492
|
} | null | undefined;
|
|
265
493
|
};
|
|
266
494
|
readonly audience: {
|
|
495
|
+
readonly topicId: string;
|
|
267
496
|
readonly includeTags?: readonly string[] | null | undefined;
|
|
268
497
|
readonly excludeTags?: readonly string[] | null | undefined;
|
|
269
498
|
readonly contactIds?: readonly string[] | null | undefined;
|
|
270
499
|
readonly groupIds?: readonly string[] | null | undefined;
|
|
271
500
|
};
|
|
272
501
|
readonly policy?: {
|
|
273
|
-
readonly unsubscribeGroupId?: string | null | undefined;
|
|
274
502
|
readonly pageSize?: number | null | undefined;
|
|
275
503
|
} | null | undefined;
|
|
276
504
|
}) => import("./internal/operation").OperationResult<"campaignsCreate">;
|
|
@@ -331,7 +559,7 @@ export declare const update: (input: {
|
|
|
331
559
|
readonly timeZone?: string | undefined;
|
|
332
560
|
readonly inReplyToMessageId?: string | null | undefined;
|
|
333
561
|
readonly replyTo?: readonly string[] | null | undefined;
|
|
334
|
-
readonly
|
|
562
|
+
readonly topicId?: string | null | undefined;
|
|
335
563
|
readonly tracking?: {
|
|
336
564
|
readonly opens?: boolean | undefined;
|
|
337
565
|
readonly clicks?: boolean | undefined;
|
|
@@ -342,7 +570,13 @@ export declare const update: (input: {
|
|
|
342
570
|
readonly headers?: {
|
|
343
571
|
readonly [x: string]: string | undefined;
|
|
344
572
|
} | null | undefined;
|
|
573
|
+
readonly preheader?: string | null | undefined;
|
|
345
574
|
};
|
|
575
|
+
readonly from?: {
|
|
576
|
+
readonly email: string;
|
|
577
|
+
readonly name?: string | null | undefined;
|
|
578
|
+
} | null | undefined;
|
|
579
|
+
readonly replyMailboxId?: string | null | undefined;
|
|
346
580
|
readonly conversationId?: string | null | undefined;
|
|
347
581
|
readonly metadata?: {
|
|
348
582
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
|
|
@@ -373,26 +607,26 @@ export declare const update: (input: {
|
|
|
373
607
|
} | null | undefined;
|
|
374
608
|
} | null | undefined;
|
|
375
609
|
readonly audience?: {
|
|
610
|
+
readonly topicId: string;
|
|
376
611
|
readonly includeTags?: readonly string[] | null | undefined;
|
|
377
612
|
readonly excludeTags?: readonly string[] | null | undefined;
|
|
378
613
|
readonly contactIds?: readonly string[] | null | undefined;
|
|
379
614
|
readonly groupIds?: readonly string[] | null | undefined;
|
|
380
615
|
} | null | undefined;
|
|
381
616
|
readonly policy?: {
|
|
382
|
-
readonly unsubscribeGroupId?: string | null | undefined;
|
|
383
617
|
readonly pageSize?: number | null | undefined;
|
|
384
618
|
} | null | undefined;
|
|
385
619
|
}) => import("./internal/operation").OperationResult<"campaignsUpdate">;
|
|
386
620
|
export declare const listRuns: ((input: {
|
|
387
621
|
readonly id: string;
|
|
388
622
|
readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | null | undefined;
|
|
389
|
-
readonly limit?:
|
|
623
|
+
readonly limit?: number | null | undefined;
|
|
390
624
|
readonly cursor?: string | null | undefined;
|
|
391
625
|
}) => import("./internal/operation").OperationResult<"campaignsListRuns">) & {
|
|
392
626
|
readonly pages: (input: {
|
|
393
627
|
readonly id: string;
|
|
394
628
|
readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | null | undefined;
|
|
395
|
-
readonly limit?:
|
|
629
|
+
readonly limit?: number | null | undefined;
|
|
396
630
|
readonly cursor?: string | null | undefined;
|
|
397
631
|
}) => import("effect/Stream").Stream<{
|
|
398
632
|
readonly items: readonly {
|
|
@@ -427,7 +661,7 @@ export declare const listRuns: ((input: {
|
|
|
427
661
|
readonly timeZone?: string;
|
|
428
662
|
readonly inReplyToMessageId?: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
429
663
|
readonly replyTo?: readonly string[] | null;
|
|
430
|
-
readonly
|
|
664
|
+
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
431
665
|
readonly tracking?: {
|
|
432
666
|
readonly opens?: boolean;
|
|
433
667
|
readonly clicks?: boolean;
|
|
@@ -438,20 +672,26 @@ export declare const listRuns: ((input: {
|
|
|
438
672
|
readonly headers?: {
|
|
439
673
|
readonly [x: string]: string;
|
|
440
674
|
} | null;
|
|
675
|
+
readonly preheader?: string | null;
|
|
441
676
|
};
|
|
677
|
+
readonly from?: {
|
|
678
|
+
readonly email: string;
|
|
679
|
+
readonly name?: string | null;
|
|
680
|
+
} | null;
|
|
681
|
+
readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
|
|
442
682
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
443
683
|
readonly metadata?: {
|
|
444
684
|
readonly [x: string]: import("./generated").JsonValue;
|
|
445
685
|
} | null;
|
|
446
686
|
};
|
|
447
687
|
readonly audienceSnapshot: {
|
|
688
|
+
readonly topicId: string & import("effect/Brand").Brand<"TopicId">;
|
|
448
689
|
readonly includeTags?: readonly string[] | null;
|
|
449
690
|
readonly excludeTags?: readonly string[] | null;
|
|
450
691
|
readonly contactIds?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
451
692
|
readonly groupIds?: readonly (string & import("effect/Brand").Brand<"ContactGroupId">)[] | null;
|
|
452
693
|
};
|
|
453
694
|
readonly policySnapshot: {
|
|
454
|
-
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
455
695
|
readonly pageSize?: number | null;
|
|
456
696
|
};
|
|
457
697
|
readonly totalRecipients: number;
|
|
@@ -460,7 +700,7 @@ export declare const listRuns: ((input: {
|
|
|
460
700
|
readonly skippedCount: number;
|
|
461
701
|
readonly pendingCount: number;
|
|
462
702
|
readonly skippedReasons: readonly {
|
|
463
|
-
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
703
|
+
readonly reason: "blocked" | "inactive" | "missing_merge_field" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
464
704
|
readonly count: number;
|
|
465
705
|
}[];
|
|
466
706
|
readonly estimatedCompletionAt: string | null;
|
|
@@ -481,7 +721,7 @@ export declare const listRuns: ((input: {
|
|
|
481
721
|
readonly items: (input: {
|
|
482
722
|
readonly id: string;
|
|
483
723
|
readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | null | undefined;
|
|
484
|
-
readonly limit?:
|
|
724
|
+
readonly limit?: number | null | undefined;
|
|
485
725
|
readonly cursor?: string | null | undefined;
|
|
486
726
|
}) => import("effect/Stream").Stream<{
|
|
487
727
|
readonly id: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
@@ -515,7 +755,7 @@ export declare const listRuns: ((input: {
|
|
|
515
755
|
readonly timeZone?: string;
|
|
516
756
|
readonly inReplyToMessageId?: (string & import("effect/Brand").Brand<"MessageId">) | null;
|
|
517
757
|
readonly replyTo?: readonly string[] | null;
|
|
518
|
-
readonly
|
|
758
|
+
readonly topicId?: (string & import("effect/Brand").Brand<"TopicId">) | null;
|
|
519
759
|
readonly tracking?: {
|
|
520
760
|
readonly opens?: boolean;
|
|
521
761
|
readonly clicks?: boolean;
|
|
@@ -526,20 +766,26 @@ export declare const listRuns: ((input: {
|
|
|
526
766
|
readonly headers?: {
|
|
527
767
|
readonly [x: string]: string;
|
|
528
768
|
} | null;
|
|
769
|
+
readonly preheader?: string | null;
|
|
529
770
|
};
|
|
771
|
+
readonly from?: {
|
|
772
|
+
readonly email: string;
|
|
773
|
+
readonly name?: string | null;
|
|
774
|
+
} | null;
|
|
775
|
+
readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
|
|
530
776
|
readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
531
777
|
readonly metadata?: {
|
|
532
778
|
readonly [x: string]: import("./generated").JsonValue;
|
|
533
779
|
} | null;
|
|
534
780
|
};
|
|
535
781
|
readonly audienceSnapshot: {
|
|
782
|
+
readonly topicId: string & import("effect/Brand").Brand<"TopicId">;
|
|
536
783
|
readonly includeTags?: readonly string[] | null;
|
|
537
784
|
readonly excludeTags?: readonly string[] | null;
|
|
538
785
|
readonly contactIds?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
539
786
|
readonly groupIds?: readonly (string & import("effect/Brand").Brand<"ContactGroupId">)[] | null;
|
|
540
787
|
};
|
|
541
788
|
readonly policySnapshot: {
|
|
542
|
-
readonly unsubscribeGroupId?: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
543
789
|
readonly pageSize?: number | null;
|
|
544
790
|
};
|
|
545
791
|
readonly totalRecipients: number;
|
|
@@ -548,7 +794,7 @@ export declare const listRuns: ((input: {
|
|
|
548
794
|
readonly skippedCount: number;
|
|
549
795
|
readonly pendingCount: number;
|
|
550
796
|
readonly skippedReasons: readonly {
|
|
551
|
-
readonly reason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
797
|
+
readonly reason: "blocked" | "inactive" | "missing_merge_field" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed";
|
|
552
798
|
readonly count: number;
|
|
553
799
|
}[];
|
|
554
800
|
readonly estimatedCompletionAt: string | null;
|
|
@@ -574,6 +820,10 @@ export declare const getRun: (input: {
|
|
|
574
820
|
readonly id: string;
|
|
575
821
|
readonly runId: string;
|
|
576
822
|
}) => import("./internal/operation").OperationResult<"campaignsGetRun">;
|
|
823
|
+
export declare const getRunReport: (input: {
|
|
824
|
+
readonly id: string;
|
|
825
|
+
readonly runId: string;
|
|
826
|
+
}) => import("./internal/operation").OperationResult<"campaignsGetRunReport">;
|
|
577
827
|
export declare const pauseRun: (input: {
|
|
578
828
|
readonly id: string;
|
|
579
829
|
readonly runId: string;
|
|
@@ -590,14 +840,14 @@ export declare const listRecipients: ((input: {
|
|
|
590
840
|
readonly id: string;
|
|
591
841
|
readonly runId: string;
|
|
592
842
|
readonly status?: "dispatched" | "dispatching" | "failed" | "pending" | "skipped" | null | undefined;
|
|
593
|
-
readonly limit?:
|
|
843
|
+
readonly limit?: number | null | undefined;
|
|
594
844
|
readonly cursor?: string | null | undefined;
|
|
595
845
|
}) => import("./internal/operation").OperationResult<"campaignsListRecipients">) & {
|
|
596
846
|
readonly pages: (input: {
|
|
597
847
|
readonly id: string;
|
|
598
848
|
readonly runId: string;
|
|
599
849
|
readonly status?: "dispatched" | "dispatching" | "failed" | "pending" | "skipped" | null | undefined;
|
|
600
|
-
readonly limit?:
|
|
850
|
+
readonly limit?: number | null | undefined;
|
|
601
851
|
readonly cursor?: string | null | undefined;
|
|
602
852
|
}) => import("effect/Stream").Stream<{
|
|
603
853
|
readonly items: readonly {
|
|
@@ -607,7 +857,7 @@ export declare const listRecipients: ((input: {
|
|
|
607
857
|
readonly status: "dispatched" | "dispatching" | "failed" | "pending" | "skipped";
|
|
608
858
|
readonly messageId: string | null;
|
|
609
859
|
readonly failureReason: string | null;
|
|
610
|
-
readonly skippedReason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed" | null;
|
|
860
|
+
readonly skippedReason: "blocked" | "inactive" | "missing_merge_field" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed" | null;
|
|
611
861
|
readonly createdAt: string;
|
|
612
862
|
readonly updatedAt: string;
|
|
613
863
|
}[];
|
|
@@ -617,7 +867,7 @@ export declare const listRecipients: ((input: {
|
|
|
617
867
|
readonly id: string;
|
|
618
868
|
readonly runId: string;
|
|
619
869
|
readonly status?: "dispatched" | "dispatching" | "failed" | "pending" | "skipped" | null | undefined;
|
|
620
|
-
readonly limit?:
|
|
870
|
+
readonly limit?: number | null | undefined;
|
|
621
871
|
readonly cursor?: string | null | undefined;
|
|
622
872
|
}) => import("effect/Stream").Stream<{
|
|
623
873
|
readonly id: string & import("effect/Brand").Brand<"CampaignRecipientId">;
|
|
@@ -626,7 +876,7 @@ export declare const listRecipients: ((input: {
|
|
|
626
876
|
readonly status: "dispatched" | "dispatching" | "failed" | "pending" | "skipped";
|
|
627
877
|
readonly messageId: string | null;
|
|
628
878
|
readonly failureReason: string | null;
|
|
629
|
-
readonly skippedReason: "blocked" | "inactive" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed" | null;
|
|
879
|
+
readonly skippedReason: "blocked" | "inactive" | "missing_merge_field" | "no_identity" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed" | null;
|
|
630
880
|
readonly createdAt: string;
|
|
631
881
|
readonly updatedAt: string;
|
|
632
882
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
package/dist/effect/campaigns.js
CHANGED
|
@@ -8,15 +8,20 @@ var campaigns_exports = /* @__PURE__ */ __exportAll({
|
|
|
8
8
|
create: () => create,
|
|
9
9
|
get: () => get,
|
|
10
10
|
getRun: () => getRun,
|
|
11
|
+
getRunReport: () => getRunReport,
|
|
11
12
|
list: () => list,
|
|
12
13
|
listRecipients: () => listRecipients,
|
|
13
14
|
listRuns: () => listRuns,
|
|
14
15
|
pauseRun: () => pauseRun,
|
|
16
|
+
preview: () => preview,
|
|
15
17
|
resumeRun: () => resumeRun,
|
|
16
18
|
scheduleRun: () => scheduleRun,
|
|
19
|
+
sendTest: () => sendTest,
|
|
17
20
|
update: () => update
|
|
18
21
|
});
|
|
19
22
|
const make = /* @__PURE__ */ forGroup(CampaignsGroup);
|
|
23
|
+
const preview = /* @__PURE__ */ make("campaignsPreview");
|
|
24
|
+
const sendTest = /* @__PURE__ */ make("campaignsSendTest");
|
|
20
25
|
const list = /* @__PURE__ */ make("campaignsList");
|
|
21
26
|
const create = /* @__PURE__ */ make("campaignsCreate");
|
|
22
27
|
const get = /* @__PURE__ */ make("campaignsGet");
|
|
@@ -25,11 +30,12 @@ const update = /* @__PURE__ */ make("campaignsUpdate");
|
|
|
25
30
|
const listRuns = /* @__PURE__ */ make("campaignsListRuns");
|
|
26
31
|
const scheduleRun = /* @__PURE__ */ make("campaignsScheduleRun");
|
|
27
32
|
const getRun = /* @__PURE__ */ make("campaignsGetRun");
|
|
33
|
+
const getRunReport = /* @__PURE__ */ make("campaignsGetRunReport");
|
|
28
34
|
const pauseRun = /* @__PURE__ */ make("campaignsPauseRun");
|
|
29
35
|
const resumeRun = /* @__PURE__ */ make("campaignsResumeRun");
|
|
30
36
|
const cancelRun = /* @__PURE__ */ make("campaignsCancelRun");
|
|
31
37
|
const listRecipients = /* @__PURE__ */ make("campaignsListRecipients");
|
|
32
38
|
//#endregion
|
|
33
|
-
export { archive, campaigns_exports, cancelRun, create, get, getRun, list, listRecipients, listRuns, pauseRun, resumeRun, scheduleRun, update };
|
|
39
|
+
export { archive, campaigns_exports, cancelRun, create, get, getRun, getRunReport, list, listRecipients, listRuns, pauseRun, preview, resumeRun, scheduleRun, sendTest, update };
|
|
34
40
|
|
|
35
41
|
//# sourceMappingURL=campaigns.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const list: ((input?: {
|
|
2
|
-
readonly limit?:
|
|
2
|
+
readonly limit?: number | null | undefined;
|
|
3
3
|
readonly cursor?: string | null | undefined;
|
|
4
4
|
readonly type?: "dynamic" | "smart" | "static" | readonly ("dynamic" | "smart" | "static")[] | null | undefined;
|
|
5
|
-
readonly isActive?:
|
|
5
|
+
readonly isActive?: boolean | null | undefined;
|
|
6
6
|
} | undefined) => import("./internal/operation").OperationResult<"contactGroupsList">) & {
|
|
7
7
|
readonly pages: (input?: {
|
|
8
|
-
readonly limit?:
|
|
8
|
+
readonly limit?: number | null | undefined;
|
|
9
9
|
readonly cursor?: string | null | undefined;
|
|
10
10
|
readonly type?: "dynamic" | "smart" | "static" | readonly ("dynamic" | "smart" | "static")[] | null | undefined;
|
|
11
|
-
readonly isActive?:
|
|
11
|
+
readonly isActive?: boolean | null | undefined;
|
|
12
12
|
} | undefined) => import("effect/Stream").Stream<{
|
|
13
13
|
readonly items: readonly {
|
|
14
14
|
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
@@ -31,10 +31,10 @@ export declare const list: ((input?: {
|
|
|
31
31
|
readonly nextCursor: string | null;
|
|
32
32
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
33
33
|
readonly items: (input?: {
|
|
34
|
-
readonly limit?:
|
|
34
|
+
readonly limit?: number | null | undefined;
|
|
35
35
|
readonly cursor?: string | null | undefined;
|
|
36
36
|
readonly type?: "dynamic" | "smart" | "static" | readonly ("dynamic" | "smart" | "static")[] | null | undefined;
|
|
37
|
-
readonly isActive?:
|
|
37
|
+
readonly isActive?: boolean | null | undefined;
|
|
38
38
|
} | undefined) => import("effect/Stream").Stream<{
|
|
39
39
|
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
40
40
|
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
@@ -172,12 +172,12 @@ export declare const evaluateDynamic: (input: {
|
|
|
172
172
|
}) => import("./internal/operation").OperationResult<"contactGroupsEvaluateDynamic">;
|
|
173
173
|
export declare const getMembers: ((input: {
|
|
174
174
|
readonly id: string;
|
|
175
|
-
readonly limit?:
|
|
175
|
+
readonly limit?: number | null | undefined;
|
|
176
176
|
readonly cursor?: string | null | undefined;
|
|
177
177
|
}) => import("./internal/operation").OperationResult<"contactGroupsGetMembers">) & {
|
|
178
178
|
readonly pages: (input: {
|
|
179
179
|
readonly id: string;
|
|
180
|
-
readonly limit?:
|
|
180
|
+
readonly limit?: number | null | undefined;
|
|
181
181
|
readonly cursor?: string | null | undefined;
|
|
182
182
|
}) => import("effect/Stream").Stream<{
|
|
183
183
|
readonly items: readonly {
|
|
@@ -218,7 +218,7 @@ export declare const getMembers: ((input: {
|
|
|
218
218
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
219
219
|
readonly items: (input: {
|
|
220
220
|
readonly id: string;
|
|
221
|
-
readonly limit?:
|
|
221
|
+
readonly limit?: number | null | undefined;
|
|
222
222
|
readonly cursor?: string | null | undefined;
|
|
223
223
|
}) => import("effect/Stream").Stream<{
|
|
224
224
|
readonly id: string;
|