@distilled.cloud/resend 1.0.0-rc.15 → 1.0.0-rc.17
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/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -34
- package/lib/errors.d.ts +15 -15
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -26
- package/lib/index.d.ts +1 -1
- package/lib/index.js +0 -19
- package/lib/index.lazy.js +8 -0
- package/lib/{index.js.map → index.lazy.js.map} +1 -1
- package/lib/pagination.js +1 -48
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -53
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -32
- package/lib/services/index.js +0 -2
- package/lib/services/resend.d.ts +6 -336
- package/lib/services/resend.d.ts.map +1 -1
- package/lib/services/resend.js +103 -2147
- package/lib/services/resend.js.map +1 -1
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/resend.js +3 -0
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +1 -11
- package/package.json +9 -7
- package/src/credentials.ts +7 -6
- package/src/errors.ts +14 -15
- package/src/index.ts +2 -2
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +5 -8
- package/src/retry.ts +6 -4
- package/src/services/resend.ts +2087 -2429
- package/src/traits.ts +1 -1
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
package/lib/services/resend.js
CHANGED
|
@@ -1,2148 +1,104 @@
|
|
|
1
|
-
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
|
|
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
|
-
topics: S.optional(CreateContactRequestTopicsList),
|
|
105
|
-
audience_id: S.optional(S.String),
|
|
106
|
-
}).pipe(T.Http({ method: "POST", uri: "/contacts", code: 200 }))).annotate({ identifier: "CreateContactRequest" });
|
|
107
|
-
export const CreateContactResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
108
|
-
object: S.optional(S.String),
|
|
109
|
-
id: S.optional(S.String),
|
|
110
|
-
})).annotate({
|
|
111
|
-
identifier: "CreateContactResponseSuccess",
|
|
112
|
-
});
|
|
113
|
-
export const CreateContactPropertyRequestType = S.String;
|
|
114
|
-
export const CreateContactPropertyRequestFallbackValue = S.Unknown;
|
|
115
|
-
export const CreateContactPropertyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
116
|
-
key: S.String,
|
|
117
|
-
type: CreateContactPropertyRequestType,
|
|
118
|
-
fallback_value: S.optional(CreateContactPropertyRequestFallbackValue),
|
|
119
|
-
}).pipe(T.Http({ method: "POST", uri: "/contact-properties", code: 200 }))).annotate({
|
|
120
|
-
identifier: "CreateContactPropertyRequest",
|
|
121
|
-
});
|
|
122
|
-
export const CreateContactPropertyResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
123
|
-
id: S.optional(S.String),
|
|
124
|
-
object: S.optional(S.String),
|
|
125
|
-
})).annotate({
|
|
126
|
-
identifier: "CreateContactPropertyResponseSuccess",
|
|
127
|
-
});
|
|
128
|
-
export const CreateDomainRequestRegion = S.String;
|
|
129
|
-
export const CreateDomainRequestTls = S.String;
|
|
130
|
-
export const DomainCapabilitiesSending = S.String;
|
|
131
|
-
export const DomainCapabilitiesReceiving = S.String;
|
|
132
|
-
export const DomainCapabilities = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
133
|
-
sending: S.optional(DomainCapabilitiesSending),
|
|
134
|
-
receiving: S.optional(DomainCapabilitiesReceiving),
|
|
135
|
-
})).annotate({ identifier: "DomainCapabilities" });
|
|
136
|
-
export const CreateDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
137
|
-
name: S.String,
|
|
138
|
-
region: S.optional(CreateDomainRequestRegion),
|
|
139
|
-
custom_return_path: S.optional(S.String),
|
|
140
|
-
open_tracking: S.optional(S.Boolean),
|
|
141
|
-
click_tracking: S.optional(S.Boolean),
|
|
142
|
-
tls: S.optional(CreateDomainRequestTls),
|
|
143
|
-
capabilities: S.optional(DomainCapabilities),
|
|
144
|
-
tracking_subdomain: S.optional(S.String),
|
|
145
|
-
}).pipe(T.Http({ method: "POST", uri: "/domains", code: 200 }))).annotate({ identifier: "CreateDomainRequest" });
|
|
146
|
-
export const DomainRecordRecord = S.String;
|
|
147
|
-
export const DomainRecordType = S.String;
|
|
148
|
-
export const DomainRecordStatus = S.String;
|
|
149
|
-
export const DomainRecord = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
150
|
-
record: S.optional(DomainRecordRecord),
|
|
151
|
-
name: S.optional(S.String),
|
|
152
|
-
type: S.optional(DomainRecordType),
|
|
153
|
-
ttl: S.optional(S.String),
|
|
154
|
-
status: S.optional(DomainRecordStatus),
|
|
155
|
-
value: S.optional(S.String),
|
|
156
|
-
priority: S.optional(S.Number),
|
|
157
|
-
})).annotate({ identifier: "DomainRecord" });
|
|
158
|
-
export const CreateDomainResponseRecordsList = /*@__PURE__*/ S.Array(DomainRecord);
|
|
159
|
-
export const CreateDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
160
|
-
id: S.optional(S.String),
|
|
161
|
-
name: S.optional(S.String),
|
|
162
|
-
created_at: S.optional(S.String),
|
|
163
|
-
status: S.optional(S.String),
|
|
164
|
-
capabilities: S.optional(DomainCapabilities),
|
|
165
|
-
records: S.optional(CreateDomainResponseRecordsList),
|
|
166
|
-
region: S.optional(S.String),
|
|
167
|
-
open_tracking: S.optional(S.Boolean),
|
|
168
|
-
click_tracking: S.optional(S.Boolean),
|
|
169
|
-
tracking_subdomain: S.optional(S.String),
|
|
170
|
-
})).annotate({ identifier: "CreateDomainResponse" });
|
|
171
|
-
export const CreateEmailRequestToCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
172
|
-
export const CreateEmailRequestTo = S.Unknown;
|
|
173
|
-
export const CreateEmailRequestBccCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
174
|
-
export const CreateEmailRequestBcc = S.Unknown;
|
|
175
|
-
export const CreateEmailRequestCcCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
176
|
-
export const CreateEmailRequestCc = S.Unknown;
|
|
177
|
-
export const CreateEmailRequestReplyToCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
178
|
-
export const CreateEmailRequestReplyTo = S.Unknown;
|
|
179
|
-
export const CreateEmailRequestTemplateVariablesValue = S.Unknown;
|
|
180
|
-
export const CreateEmailRequestTemplateVariablesMap = /*@__PURE__*/ S.Record(S.String, CreateEmailRequestTemplateVariablesValue);
|
|
181
|
-
export const CreateEmailRequestTemplate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
182
|
-
id: S.String,
|
|
183
|
-
variables: S.optional(CreateEmailRequestTemplateVariablesMap),
|
|
184
|
-
})).annotate({
|
|
185
|
-
identifier: "CreateEmailRequestTemplate",
|
|
186
|
-
});
|
|
187
|
-
export const Attachment = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
188
|
-
content: S.optional(S.String),
|
|
189
|
-
filename: S.optional(S.String),
|
|
190
|
-
path: S.optional(S.String),
|
|
191
|
-
content_type: S.optional(S.String),
|
|
192
|
-
content_id: S.optional(S.String),
|
|
193
|
-
})).annotate({ identifier: "Attachment" });
|
|
194
|
-
export const CreateEmailRequestAttachmentsList = /*@__PURE__*/ S.Array(Attachment);
|
|
195
|
-
export const Tag = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
196
|
-
name: S.optional(S.String),
|
|
197
|
-
value: S.optional(S.String),
|
|
198
|
-
})).annotate({ identifier: "Tag" });
|
|
199
|
-
export const CreateEmailRequestTagsList = /*@__PURE__*/ S.Array(Tag);
|
|
200
|
-
export const CreateEmailRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
201
|
-
from: S.String,
|
|
202
|
-
to: CreateEmailRequestTo,
|
|
203
|
-
subject: S.String,
|
|
204
|
-
bcc: S.optional(CreateEmailRequestBcc),
|
|
205
|
-
cc: S.optional(CreateEmailRequestCc),
|
|
206
|
-
reply_to: S.optional(CreateEmailRequestReplyTo),
|
|
207
|
-
html: S.optional(S.String),
|
|
208
|
-
text: S.optional(S.String),
|
|
209
|
-
template: S.optional(CreateEmailRequestTemplate),
|
|
210
|
-
headers: S.optional(S.Unknown),
|
|
211
|
-
scheduled_at: S.optional(S.String),
|
|
212
|
-
attachments: S.optional(CreateEmailRequestAttachmentsList),
|
|
213
|
-
tags: S.optional(CreateEmailRequestTagsList),
|
|
214
|
-
topic_id: S.optional(S.String),
|
|
215
|
-
}).pipe(T.Http({ method: "POST", uri: "/emails", code: 200 }))).annotate({ identifier: "CreateEmailRequest" });
|
|
216
|
-
export const SendEmailResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
217
|
-
id: S.optional(S.String),
|
|
218
|
-
})).annotate({ identifier: "SendEmailResponse" });
|
|
219
|
-
export const SendEmailRequestToCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
220
|
-
export const SendEmailRequestTo = S.Unknown;
|
|
221
|
-
export const SendEmailRequestBccCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
222
|
-
export const SendEmailRequestBcc = S.Unknown;
|
|
223
|
-
export const SendEmailRequestCcCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
224
|
-
export const SendEmailRequestCc = S.Unknown;
|
|
225
|
-
export const SendEmailRequestReplyToCase1List = /*@__PURE__*/ S.Array(S.String);
|
|
226
|
-
export const SendEmailRequestReplyTo = S.Unknown;
|
|
227
|
-
export const SendEmailRequestTemplateVariablesValue = S.Unknown;
|
|
228
|
-
export const SendEmailRequestTemplateVariablesMap = /*@__PURE__*/ S.Record(S.String, SendEmailRequestTemplateVariablesValue);
|
|
229
|
-
export const SendEmailRequestTemplate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
230
|
-
id: S.String,
|
|
231
|
-
variables: S.optional(SendEmailRequestTemplateVariablesMap),
|
|
232
|
-
})).annotate({ identifier: "SendEmailRequestTemplate" });
|
|
233
|
-
export const SendEmailRequestAttachmentsList = /*@__PURE__*/ S.Array(Attachment);
|
|
234
|
-
export const SendEmailRequestTagsList = /*@__PURE__*/ S.Array(Tag);
|
|
235
|
-
export const SendEmailRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
236
|
-
from: S.String,
|
|
237
|
-
to: SendEmailRequestTo,
|
|
238
|
-
subject: S.String,
|
|
239
|
-
bcc: S.optional(SendEmailRequestBcc),
|
|
240
|
-
cc: S.optional(SendEmailRequestCc),
|
|
241
|
-
reply_to: S.optional(SendEmailRequestReplyTo),
|
|
242
|
-
html: S.optional(S.String),
|
|
243
|
-
text: S.optional(S.String),
|
|
244
|
-
template: S.optional(SendEmailRequestTemplate),
|
|
245
|
-
headers: S.optional(S.Unknown),
|
|
246
|
-
scheduled_at: S.optional(S.String),
|
|
247
|
-
attachments: S.optional(SendEmailRequestAttachmentsList),
|
|
248
|
-
tags: S.optional(SendEmailRequestTagsList),
|
|
249
|
-
topic_id: S.optional(S.String),
|
|
250
|
-
})).annotate({ identifier: "SendEmailRequest" });
|
|
251
|
-
export const CreateEmailBatchRequestBodyList = /*@__PURE__*/ S.Array(SendEmailRequest);
|
|
252
|
-
export const CreateEmailBatchRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
253
|
-
body: S.optional(CreateEmailBatchRequestBodyList.pipe(T.HttpBody())),
|
|
254
|
-
}).pipe(T.Http({ method: "POST", uri: "/emails/batch", code: 200 }))).annotate({ identifier: "CreateEmailBatchRequest" });
|
|
255
|
-
export const CreateBatchEmailsResponseDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
256
|
-
id: S.optional(S.String),
|
|
257
|
-
})).annotate({
|
|
258
|
-
identifier: "CreateBatchEmailsResponseDataItem",
|
|
259
|
-
});
|
|
260
|
-
export const CreateBatchEmailsResponseDataList = /*@__PURE__*/ S.Array(CreateBatchEmailsResponseDataItem);
|
|
261
|
-
export const CreateBatchEmailsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
262
|
-
data: S.optional(CreateBatchEmailsResponseDataList),
|
|
263
|
-
})).annotate({
|
|
264
|
-
identifier: "CreateBatchEmailsResponse",
|
|
265
|
-
});
|
|
266
|
-
export const CreateEventRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
267
|
-
name: S.String,
|
|
268
|
-
schema: S.optional(S.NullOr(S.Unknown)),
|
|
269
|
-
}).pipe(T.Http({ method: "POST", uri: "/events", code: 200 }))).annotate({ identifier: "CreateEventRequest" });
|
|
270
|
-
export const CreateEventResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
271
|
-
object: S.optional(S.String),
|
|
272
|
-
id: S.optional(S.String),
|
|
273
|
-
})).annotate({ identifier: "CreateEventResponse" });
|
|
274
|
-
export const CreateSegmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
275
|
-
name: S.String,
|
|
276
|
-
audience_id: S.optional(S.String),
|
|
277
|
-
filter: S.optional(S.Unknown),
|
|
278
|
-
}).pipe(T.Http({ method: "POST", uri: "/segments", code: 200 }))).annotate({ identifier: "CreateSegmentRequest" });
|
|
279
|
-
export const CreateSegmentResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
280
|
-
id: S.optional(S.String),
|
|
281
|
-
object: S.optional(S.String),
|
|
282
|
-
})).annotate({
|
|
283
|
-
identifier: "CreateSegmentResponseSuccess",
|
|
284
|
-
});
|
|
285
|
-
export const CreateTemplateRequestReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
286
|
-
export const TemplateVariableInputType = S.String;
|
|
287
|
-
export const TemplateVariableInputFallbackValueCase4List = /*@__PURE__*/ S.Array(S.Unknown);
|
|
288
|
-
export const TemplateVariableInputFallbackValue = S.Unknown;
|
|
289
|
-
export const TemplateVariableInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
290
|
-
key: S.String,
|
|
291
|
-
type: TemplateVariableInputType,
|
|
292
|
-
fallback_value: S.optional(TemplateVariableInputFallbackValue),
|
|
293
|
-
})).annotate({ identifier: "TemplateVariableInput" });
|
|
294
|
-
export const CreateTemplateRequestVariablesList = /*@__PURE__*/ S.Array(TemplateVariableInput);
|
|
295
|
-
export const CreateTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
296
|
-
name: S.String,
|
|
297
|
-
alias: S.optional(S.String),
|
|
298
|
-
from: S.optional(S.String),
|
|
299
|
-
subject: S.optional(S.String),
|
|
300
|
-
reply_to: S.optional(CreateTemplateRequestReplyToList),
|
|
301
|
-
html: S.String,
|
|
302
|
-
text: S.optional(S.String),
|
|
303
|
-
variables: S.optional(CreateTemplateRequestVariablesList),
|
|
304
|
-
}).pipe(T.Http({ method: "POST", uri: "/templates", code: 200 }))).annotate({ identifier: "CreateTemplateRequest" });
|
|
305
|
-
export const CreateTemplateResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
306
|
-
id: S.optional(S.String),
|
|
307
|
-
object: S.optional(S.String),
|
|
308
|
-
})).annotate({
|
|
309
|
-
identifier: "CreateTemplateResponseSuccess",
|
|
310
|
-
});
|
|
311
|
-
export const CreateTopicRequestDefaultSubscription = S.String;
|
|
312
|
-
export const CreateTopicRequestVisibility = S.String;
|
|
313
|
-
export const CreateTopicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
314
|
-
name: S.String,
|
|
315
|
-
default_subscription: CreateTopicRequestDefaultSubscription,
|
|
316
|
-
description: S.optional(S.String),
|
|
317
|
-
visibility: S.optional(CreateTopicRequestVisibility),
|
|
318
|
-
}).pipe(T.Http({ method: "POST", uri: "/topics", code: 200 }))).annotate({ identifier: "CreateTopicRequest" });
|
|
319
|
-
export const CreateTopicResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
320
|
-
id: S.optional(S.String),
|
|
321
|
-
object: S.optional(S.String),
|
|
322
|
-
})).annotate({
|
|
323
|
-
identifier: "CreateTopicResponseSuccess",
|
|
324
|
-
});
|
|
325
|
-
export const CreateWebhookRequestEventsList = /*@__PURE__*/ S.Array(S.String);
|
|
326
|
-
export const CreateWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
327
|
-
endpoint: S.String,
|
|
328
|
-
events: CreateWebhookRequestEventsList,
|
|
329
|
-
}).pipe(T.Http({ method: "POST", uri: "/webhooks", code: 200 }))).annotate({ identifier: "CreateWebhookRequest" });
|
|
330
|
-
export const CreateWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
331
|
-
object: S.optional(S.String),
|
|
332
|
-
id: S.optional(S.String),
|
|
333
|
-
signing_secret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
334
|
-
})).annotate({ identifier: "CreateWebhookResponse" });
|
|
335
|
-
export const DeleteApiKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
336
|
-
api_key_id: S.String.pipe(T.Label()),
|
|
337
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/api-keys/{api_key_id}", code: 200 }))).annotate({ identifier: "DeleteApiKeyRequest" });
|
|
338
|
-
export const DeleteApiKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
339
|
-
object: S.optional(S.String),
|
|
340
|
-
id: S.optional(S.String),
|
|
341
|
-
deleted: S.optional(S.Boolean),
|
|
342
|
-
})).annotate({ identifier: "DeleteApiKeyResponse" });
|
|
343
|
-
export const DeleteAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
344
|
-
automation_id: S.String.pipe(T.Label()),
|
|
345
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/automations/{automation_id}", code: 200 }))).annotate({ identifier: "DeleteAutomationRequest" });
|
|
346
|
-
export const DeleteAutomationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
347
|
-
object: S.optional(S.String),
|
|
348
|
-
id: S.optional(S.String),
|
|
349
|
-
deleted: S.optional(S.Boolean),
|
|
350
|
-
})).annotate({ identifier: "DeleteAutomationResponse" });
|
|
351
|
-
export const DeleteBroadcastRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
352
|
-
id: S.String.pipe(T.Label()),
|
|
353
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/broadcasts/{id}", code: 200 }))).annotate({ identifier: "DeleteBroadcastRequest" });
|
|
354
|
-
export const RemoveBroadcastResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
355
|
-
id: S.optional(S.String),
|
|
356
|
-
object: S.optional(S.String),
|
|
357
|
-
deleted: S.optional(S.Boolean),
|
|
358
|
-
})).annotate({
|
|
359
|
-
identifier: "RemoveBroadcastResponseSuccess",
|
|
360
|
-
});
|
|
361
|
-
export const DeleteContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
362
|
-
id: S.String.pipe(T.Label()),
|
|
363
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/contacts/{id}", code: 200 }))).annotate({ identifier: "DeleteContactRequest" });
|
|
364
|
-
export const RemoveContactResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
365
|
-
object: S.optional(S.String),
|
|
366
|
-
id: S.optional(S.String),
|
|
367
|
-
deleted: S.optional(S.Boolean),
|
|
368
|
-
})).annotate({
|
|
369
|
-
identifier: "RemoveContactResponseSuccess",
|
|
370
|
-
});
|
|
371
|
-
export const DeleteContactPropertyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
372
|
-
id: S.String.pipe(T.Label()),
|
|
373
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/contact-properties/{id}", code: 200 }))).annotate({
|
|
374
|
-
identifier: "DeleteContactPropertyRequest",
|
|
375
|
-
});
|
|
376
|
-
export const RemoveContactPropertyResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
377
|
-
id: S.optional(S.String),
|
|
378
|
-
object: S.optional(S.String),
|
|
379
|
-
deleted: S.optional(S.Boolean),
|
|
380
|
-
})).annotate({
|
|
381
|
-
identifier: "RemoveContactPropertyResponseSuccess",
|
|
382
|
-
});
|
|
383
|
-
export const DeleteContactSegmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
384
|
-
contact_id: S.String.pipe(T.Label()),
|
|
385
|
-
segment_id: S.String.pipe(T.Label()),
|
|
386
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/contacts/{contact_id}/segments/{segment_id}", code: 200 }))).annotate({
|
|
387
|
-
identifier: "DeleteContactSegmentRequest",
|
|
388
|
-
});
|
|
389
|
-
export const RemoveContactFromSegmentResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
390
|
-
object: S.optional(S.String),
|
|
391
|
-
contact_id: S.optional(S.String),
|
|
392
|
-
segment_id: S.optional(S.String),
|
|
393
|
-
deleted: S.optional(S.Boolean),
|
|
394
|
-
})).annotate({
|
|
395
|
-
identifier: "RemoveContactFromSegmentResponseSuccess",
|
|
396
|
-
});
|
|
397
|
-
export const DeleteDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
398
|
-
domain_id: S.String.pipe(T.Label()),
|
|
399
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/domains/{domain_id}", code: 200 }))).annotate({ identifier: "DeleteDomainRequest" });
|
|
400
|
-
export const DeleteDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
401
|
-
object: S.optional(S.String),
|
|
402
|
-
id: S.optional(S.String),
|
|
403
|
-
deleted: S.optional(S.Boolean),
|
|
404
|
-
})).annotate({ identifier: "DeleteDomainResponse" });
|
|
405
|
-
export const DeleteEventRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
406
|
-
identifier: S.String.pipe(T.Label()),
|
|
407
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/events/{identifier}", code: 200 }))).annotate({ identifier: "DeleteEventRequest" });
|
|
408
|
-
export const RemoveEventResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
409
|
-
object: S.optional(S.String),
|
|
410
|
-
id: S.optional(S.String),
|
|
411
|
-
deleted: S.optional(S.Boolean),
|
|
412
|
-
})).annotate({ identifier: "RemoveEventResponse" });
|
|
413
|
-
export const DeleteSegmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
414
|
-
id: S.String.pipe(T.Label()),
|
|
415
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/segments/{id}", code: 200 }))).annotate({ identifier: "DeleteSegmentRequest" });
|
|
416
|
-
export const RemoveSegmentResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
417
|
-
id: S.optional(S.String),
|
|
418
|
-
object: S.optional(S.String),
|
|
419
|
-
deleted: S.optional(S.Boolean),
|
|
420
|
-
})).annotate({
|
|
421
|
-
identifier: "RemoveSegmentResponseSuccess",
|
|
422
|
-
});
|
|
423
|
-
export const DeleteTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
424
|
-
id: S.String.pipe(T.Label()),
|
|
425
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/templates/{id}", code: 200 }))).annotate({ identifier: "DeleteTemplateRequest" });
|
|
426
|
-
export const RemoveTemplateResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
427
|
-
object: S.optional(S.String),
|
|
428
|
-
id: S.optional(S.String),
|
|
429
|
-
deleted: S.optional(S.Boolean),
|
|
430
|
-
})).annotate({
|
|
431
|
-
identifier: "RemoveTemplateResponseSuccess",
|
|
432
|
-
});
|
|
433
|
-
export const DeleteTopicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
434
|
-
id: S.String.pipe(T.Label()),
|
|
435
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/topics/{id}", code: 200 }))).annotate({ identifier: "DeleteTopicRequest" });
|
|
436
|
-
export const RemoveTopicResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
437
|
-
id: S.optional(S.String),
|
|
438
|
-
object: S.optional(S.String),
|
|
439
|
-
deleted: S.optional(S.Boolean),
|
|
440
|
-
})).annotate({
|
|
441
|
-
identifier: "RemoveTopicResponseSuccess",
|
|
442
|
-
});
|
|
443
|
-
export const DeleteWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
444
|
-
webhook_id: S.String.pipe(T.Label()),
|
|
445
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/webhooks/{webhook_id}", code: 200 }))).annotate({ identifier: "DeleteWebhookRequest" });
|
|
446
|
-
export const DeleteWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
447
|
-
object: S.optional(S.String),
|
|
448
|
-
id: S.optional(S.String),
|
|
449
|
-
deleted: S.optional(S.Boolean),
|
|
450
|
-
})).annotate({ identifier: "DeleteWebhookResponse" });
|
|
451
|
-
export const DuplicateTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
452
|
-
id: S.String.pipe(T.Label()),
|
|
453
|
-
}).pipe(T.Http({ method: "POST", uri: "/templates/{id}/duplicate", code: 200 }))).annotate({ identifier: "DuplicateTemplateRequest" });
|
|
454
|
-
export const DuplicateTemplateResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
455
|
-
id: S.optional(S.String),
|
|
456
|
-
object: S.optional(S.String),
|
|
457
|
-
})).annotate({
|
|
458
|
-
identifier: "DuplicateTemplateResponseSuccess",
|
|
459
|
-
});
|
|
460
|
-
export const GetAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
461
|
-
automation_id: S.String.pipe(T.Label()),
|
|
462
|
-
}).pipe(T.Http({ method: "GET", uri: "/automations/{automation_id}", code: 200 }))).annotate({ identifier: "GetAutomationRequest" });
|
|
463
|
-
export const AutomationStatus = S.String;
|
|
464
|
-
export const AutomationStepResponseType = S.String;
|
|
465
|
-
export const AutomationStepResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
466
|
-
key: S.optional(S.String),
|
|
467
|
-
type: S.optional(AutomationStepResponseType),
|
|
468
|
-
config: S.optional(S.Unknown),
|
|
469
|
-
})).annotate({ identifier: "AutomationStepResponse" });
|
|
470
|
-
export const AutomationStepsList = /*@__PURE__*/ S.Array(AutomationStepResponse);
|
|
471
|
-
export const AutomationConnectionsList = /*@__PURE__*/ S.Array(AutomationConnection);
|
|
472
|
-
export const Automation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
473
|
-
object: S.optional(S.String),
|
|
474
|
-
id: S.optional(S.String),
|
|
475
|
-
name: S.optional(S.String),
|
|
476
|
-
status: S.optional(AutomationStatus),
|
|
477
|
-
created_at: S.optional(S.String),
|
|
478
|
-
updated_at: S.optional(S.String),
|
|
479
|
-
steps: S.optional(AutomationStepsList),
|
|
480
|
-
connections: S.optional(AutomationConnectionsList),
|
|
481
|
-
})).annotate({ identifier: "Automation" });
|
|
482
|
-
export const GetAutomationRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
483
|
-
automation_id: S.String.pipe(T.Label()),
|
|
484
|
-
run_id: S.String.pipe(T.Label()),
|
|
485
|
-
}).pipe(T.Http({ method: "GET", uri: "/automations/{automation_id}/runs/{run_id}", code: 200 }))).annotate({ identifier: "GetAutomationRunRequest" });
|
|
486
|
-
export const AutomationRunStatus = S.String;
|
|
487
|
-
export const AutomationRunStepType = S.String;
|
|
488
|
-
export const AutomationRunStep = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
489
|
-
key: S.optional(S.String),
|
|
490
|
-
type: S.optional(AutomationRunStepType),
|
|
491
|
-
status: S.optional(S.String),
|
|
492
|
-
started_at: S.optional(S.NullOr(S.String)),
|
|
493
|
-
completed_at: S.optional(S.NullOr(S.String)),
|
|
494
|
-
output: S.optional(S.NullOr(S.Unknown)),
|
|
495
|
-
error: S.optional(S.NullOr(S.Unknown)),
|
|
496
|
-
created_at: S.optional(S.String),
|
|
497
|
-
})).annotate({ identifier: "AutomationRunStep" });
|
|
498
|
-
export const AutomationRunStepsList = /*@__PURE__*/ S.Array(AutomationRunStep);
|
|
499
|
-
export const AutomationRun = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
500
|
-
object: S.optional(S.String),
|
|
501
|
-
id: S.optional(S.String),
|
|
502
|
-
status: S.optional(AutomationRunStatus),
|
|
503
|
-
started_at: S.optional(S.NullOr(S.String)),
|
|
504
|
-
completed_at: S.optional(S.NullOr(S.String)),
|
|
505
|
-
created_at: S.optional(S.String),
|
|
506
|
-
steps: S.optional(AutomationRunStepsList),
|
|
507
|
-
})).annotate({ identifier: "AutomationRun" });
|
|
508
|
-
export const GetBroadcastRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
509
|
-
id: S.String.pipe(T.Label()),
|
|
510
|
-
}).pipe(T.Http({ method: "GET", uri: "/broadcasts/{id}", code: 200 }))).annotate({ identifier: "GetBroadcastRequest" });
|
|
511
|
-
export const GetBroadcastResponseSuccessReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
512
|
-
export const GetBroadcastResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
513
|
-
id: S.optional(S.String),
|
|
514
|
-
name: S.optional(S.String),
|
|
515
|
-
audience_id: S.optional(S.NullOr(S.String)),
|
|
516
|
-
segment_id: S.optional(S.NullOr(S.String)),
|
|
517
|
-
from: S.optional(S.String),
|
|
518
|
-
subject: S.optional(S.String),
|
|
519
|
-
reply_to: S.optional(GetBroadcastResponseSuccessReplyToList),
|
|
520
|
-
preview_text: S.optional(S.String),
|
|
521
|
-
status: S.optional(S.String),
|
|
522
|
-
created_at: S.optional(S.String),
|
|
523
|
-
scheduled_at: S.optional(S.String),
|
|
524
|
-
sent_at: S.optional(S.String),
|
|
525
|
-
text: S.optional(S.NullOr(S.String)),
|
|
526
|
-
html: S.optional(S.NullOr(S.String)),
|
|
527
|
-
topic_id: S.optional(S.NullOr(S.String)),
|
|
528
|
-
})).annotate({
|
|
529
|
-
identifier: "GetBroadcastResponseSuccess",
|
|
530
|
-
});
|
|
531
|
-
export const GetContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
532
|
-
id: S.String.pipe(T.Label()),
|
|
533
|
-
}).pipe(T.Http({ method: "GET", uri: "/contacts/{id}", code: 200 }))).annotate({ identifier: "GetContactRequest" });
|
|
534
|
-
export const GetContactResponseSuccessPropertiesMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
535
|
-
export const GetContactResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
536
|
-
object: S.optional(S.String),
|
|
537
|
-
id: S.optional(S.String),
|
|
538
|
-
email: S.optional(S.String),
|
|
539
|
-
first_name: S.optional(S.String),
|
|
540
|
-
last_name: S.optional(S.String),
|
|
541
|
-
created_at: S.optional(S.String),
|
|
542
|
-
unsubscribed: S.optional(S.Boolean),
|
|
543
|
-
properties: S.optional(GetContactResponseSuccessPropertiesMap),
|
|
544
|
-
})).annotate({
|
|
545
|
-
identifier: "GetContactResponseSuccess",
|
|
546
|
-
});
|
|
547
|
-
export const GetContactPropertyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
548
|
-
id: S.String.pipe(T.Label()),
|
|
549
|
-
}).pipe(T.Http({ method: "GET", uri: "/contact-properties/{id}", code: 200 }))).annotate({
|
|
550
|
-
identifier: "GetContactPropertyRequest",
|
|
551
|
-
});
|
|
552
|
-
export const GetContactPropertyResponseSuccessFallbackValue = S.Unknown;
|
|
553
|
-
export const GetContactPropertyResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
554
|
-
object: S.optional(S.String),
|
|
555
|
-
id: S.optional(S.String),
|
|
556
|
-
key: S.optional(S.String),
|
|
557
|
-
type: S.optional(S.String),
|
|
558
|
-
fallback_value: S.optional(GetContactPropertyResponseSuccessFallbackValue),
|
|
559
|
-
created_at: S.optional(S.String),
|
|
560
|
-
})).annotate({
|
|
561
|
-
identifier: "GetContactPropertyResponseSuccess",
|
|
562
|
-
});
|
|
563
|
-
export const GetDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
564
|
-
domain_id: S.String.pipe(T.Label()),
|
|
565
|
-
}).pipe(T.Http({ method: "GET", uri: "/domains/{domain_id}", code: 200 }))).annotate({ identifier: "GetDomainRequest" });
|
|
566
|
-
export const DomainRecordsList = /*@__PURE__*/ S.Array(DomainRecord);
|
|
567
|
-
export const Domain = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
568
|
-
object: S.optional(S.String),
|
|
569
|
-
id: S.optional(S.String),
|
|
570
|
-
name: S.optional(S.String),
|
|
571
|
-
status: S.optional(S.String),
|
|
572
|
-
created_at: S.optional(S.String),
|
|
573
|
-
region: S.optional(S.String),
|
|
574
|
-
open_tracking: S.optional(S.Boolean),
|
|
575
|
-
click_tracking: S.optional(S.Boolean),
|
|
576
|
-
tracking_subdomain: S.optional(S.String),
|
|
577
|
-
capabilities: S.optional(DomainCapabilities),
|
|
578
|
-
records: S.optional(DomainRecordsList),
|
|
579
|
-
})).annotate({ identifier: "Domain" });
|
|
580
|
-
export const GetEmailRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
581
|
-
email_id: S.String.pipe(T.Label()),
|
|
582
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails/{email_id}", code: 200 }))).annotate({ identifier: "GetEmailRequest" });
|
|
583
|
-
export const GetEmailAttachmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
584
|
-
email_id: S.String.pipe(T.Label()),
|
|
585
|
-
attachment_id: S.String.pipe(T.Label()),
|
|
586
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails/{email_id}/attachments/{attachment_id}", code: 200 }))).annotate({
|
|
587
|
-
identifier: "GetEmailAttachmentRequest",
|
|
588
|
-
});
|
|
589
|
-
export const RetrievedAttachmentContentDisposition = S.String;
|
|
590
|
-
export const RetrievedAttachment = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
591
|
-
object: S.optional(S.String),
|
|
592
|
-
id: S.optional(S.String),
|
|
593
|
-
filename: S.optional(S.String),
|
|
594
|
-
content_type: S.optional(S.String),
|
|
595
|
-
content_id: S.optional(S.String),
|
|
596
|
-
content_disposition: S.optional(RetrievedAttachmentContentDisposition),
|
|
597
|
-
download_url: S.optional(S.String),
|
|
598
|
-
expires_at: S.optional(S.String),
|
|
599
|
-
size: S.optional(S.Number),
|
|
600
|
-
})).annotate({ identifier: "RetrievedAttachment" });
|
|
601
|
-
export const GetEmailReceivingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
602
|
-
email_id: S.String.pipe(T.Label()),
|
|
603
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails/receiving/{email_id}", code: 200 }))).annotate({ identifier: "GetEmailReceivingRequest" });
|
|
604
|
-
export const GetReceivedEmailResponseToList = /*@__PURE__*/ S.Array(S.String);
|
|
605
|
-
export const GetReceivedEmailResponseBccList = /*@__PURE__*/ S.Array(S.String);
|
|
606
|
-
export const GetReceivedEmailResponseCcList = /*@__PURE__*/ S.Array(S.String);
|
|
607
|
-
export const GetReceivedEmailResponseReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
608
|
-
export const GetReceivedEmailResponseAttachmentsItemContentDisposition = S.String;
|
|
609
|
-
export const GetReceivedEmailResponseAttachmentsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
610
|
-
id: S.optional(S.String),
|
|
611
|
-
filename: S.optional(S.String),
|
|
612
|
-
content_type: S.optional(S.String),
|
|
613
|
-
content_id: S.optional(S.String),
|
|
614
|
-
content_disposition: S.optional(GetReceivedEmailResponseAttachmentsItemContentDisposition),
|
|
615
|
-
size: S.optional(S.Number),
|
|
616
|
-
})).annotate({
|
|
617
|
-
identifier: "GetReceivedEmailResponseAttachmentsItem",
|
|
618
|
-
});
|
|
619
|
-
export const GetReceivedEmailResponseAttachmentsList = /*@__PURE__*/ S.Array(GetReceivedEmailResponseAttachmentsItem);
|
|
620
|
-
export const GetReceivedEmailResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
621
|
-
object: S.optional(S.String),
|
|
622
|
-
id: S.optional(S.String),
|
|
623
|
-
to: S.optional(GetReceivedEmailResponseToList),
|
|
624
|
-
from: S.optional(S.String),
|
|
625
|
-
subject: S.optional(S.String),
|
|
626
|
-
message_id: S.optional(S.String),
|
|
627
|
-
bcc: S.optional(S.NullOr(GetReceivedEmailResponseBccList)),
|
|
628
|
-
cc: S.optional(S.NullOr(GetReceivedEmailResponseCcList)),
|
|
629
|
-
reply_to: S.optional(S.NullOr(GetReceivedEmailResponseReplyToList)),
|
|
630
|
-
html: S.optional(S.NullOr(S.String)),
|
|
631
|
-
text: S.optional(S.NullOr(S.String)),
|
|
632
|
-
headers: S.optional(S.NullOr(S.Unknown)),
|
|
633
|
-
created_at: S.optional(S.String),
|
|
634
|
-
attachments: S.optional(GetReceivedEmailResponseAttachmentsList),
|
|
635
|
-
})).annotate({ identifier: "GetReceivedEmailResponse" });
|
|
636
|
-
export const GetEmailReceivingAttachmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
637
|
-
email_id: S.String.pipe(T.Label()),
|
|
638
|
-
attachment_id: S.String.pipe(T.Label()),
|
|
639
|
-
}).pipe(T.Http({
|
|
640
|
-
method: "GET",
|
|
641
|
-
uri: "/emails/receiving/{email_id}/attachments/{attachment_id}",
|
|
642
|
-
code: 200,
|
|
643
|
-
}))).annotate({
|
|
644
|
-
identifier: "GetEmailReceivingAttachmentRequest",
|
|
645
|
-
});
|
|
646
|
-
export const GetEventRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
647
|
-
identifier: S.String.pipe(T.Label()),
|
|
648
|
-
}).pipe(T.Http({ method: "GET", uri: "/events/{identifier}", code: 200 }))).annotate({ identifier: "GetEventRequest" });
|
|
649
|
-
export const Event = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
650
|
-
object: S.optional(S.String),
|
|
651
|
-
id: S.optional(S.String),
|
|
652
|
-
name: S.optional(S.String),
|
|
653
|
-
schema: S.optional(S.NullOr(S.Unknown)),
|
|
654
|
-
created_at: S.optional(S.String),
|
|
655
|
-
updated_at: S.optional(S.NullOr(S.String)),
|
|
656
|
-
})).annotate({ identifier: "Event" });
|
|
657
|
-
export const GetLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
658
|
-
log_id: S.String.pipe(T.Label()),
|
|
659
|
-
}).pipe(T.Http({ method: "GET", uri: "/logs/{log_id}", code: 200 }))).annotate({ identifier: "GetLogRequest" });
|
|
660
|
-
export const LogMethod = S.String;
|
|
661
|
-
export const Log = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
662
|
-
object: S.optional(S.String),
|
|
663
|
-
id: S.optional(S.String),
|
|
664
|
-
created_at: S.optional(S.String),
|
|
665
|
-
endpoint: S.optional(S.String),
|
|
666
|
-
method: S.optional(LogMethod),
|
|
667
|
-
response_status: S.optional(S.Number),
|
|
668
|
-
user_agent: S.optional(S.NullOr(S.String)),
|
|
669
|
-
request_body: S.optional(S.NullOr(S.Unknown)),
|
|
670
|
-
response_body: S.optional(S.NullOr(S.Unknown)),
|
|
671
|
-
})).annotate({ identifier: "Log" });
|
|
672
|
-
export const GetSegmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
673
|
-
id: S.String.pipe(T.Label()),
|
|
674
|
-
}).pipe(T.Http({ method: "GET", uri: "/segments/{id}", code: 200 }))).annotate({ identifier: "GetSegmentRequest" });
|
|
675
|
-
export const GetSegmentResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
676
|
-
id: S.optional(S.String),
|
|
677
|
-
object: S.optional(S.String),
|
|
678
|
-
name: S.optional(S.String),
|
|
679
|
-
audience_id: S.optional(S.String),
|
|
680
|
-
filter: S.optional(S.Unknown),
|
|
681
|
-
created_at: S.optional(S.String),
|
|
682
|
-
})).annotate({
|
|
683
|
-
identifier: "GetSegmentResponseSuccess",
|
|
684
|
-
});
|
|
685
|
-
export const GetTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
686
|
-
id: S.String.pipe(T.Label()),
|
|
687
|
-
}).pipe(T.Http({ method: "GET", uri: "/templates/{id}", code: 200 }))).annotate({ identifier: "GetTemplateRequest" });
|
|
688
|
-
export const TemplateReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
689
|
-
export const TemplateVariableType = S.String;
|
|
690
|
-
export const TemplateVariableFallbackValueCase4List = /*@__PURE__*/ S.Array(S.Unknown);
|
|
691
|
-
export const TemplateVariableFallbackValue = S.Unknown;
|
|
692
|
-
export const TemplateVariable = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
693
|
-
id: S.optional(S.String),
|
|
694
|
-
key: S.String,
|
|
695
|
-
type: TemplateVariableType,
|
|
696
|
-
fallback_value: S.optional(TemplateVariableFallbackValue),
|
|
697
|
-
created_at: S.optional(S.String),
|
|
698
|
-
updated_at: S.optional(S.String),
|
|
699
|
-
})).annotate({ identifier: "TemplateVariable" });
|
|
700
|
-
export const TemplateVariablesList = /*@__PURE__*/ S.Array(TemplateVariable);
|
|
701
|
-
export const TemplateStatus = S.String;
|
|
702
|
-
export const Template = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
703
|
-
object: S.optional(S.String),
|
|
704
|
-
id: S.optional(S.String),
|
|
705
|
-
current_version_id: S.optional(S.String),
|
|
706
|
-
name: S.optional(S.String),
|
|
707
|
-
alias: S.optional(S.String),
|
|
708
|
-
from: S.optional(S.String),
|
|
709
|
-
subject: S.optional(S.String),
|
|
710
|
-
reply_to: S.optional(S.NullOr(TemplateReplyToList)),
|
|
711
|
-
html: S.optional(S.String),
|
|
712
|
-
text: S.optional(S.String),
|
|
713
|
-
variables: S.optional(TemplateVariablesList),
|
|
714
|
-
created_at: S.optional(S.String),
|
|
715
|
-
updated_at: S.optional(S.String),
|
|
716
|
-
status: S.optional(TemplateStatus),
|
|
717
|
-
published_at: S.optional(S.NullOr(S.String)),
|
|
718
|
-
has_unpublished_versions: S.optional(S.Boolean),
|
|
719
|
-
})).annotate({ identifier: "Template" });
|
|
720
|
-
export const GetTopicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
721
|
-
id: S.String.pipe(T.Label()),
|
|
722
|
-
}).pipe(T.Http({ method: "GET", uri: "/topics/{id}", code: 200 }))).annotate({ identifier: "GetTopicRequest" });
|
|
723
|
-
export const GetTopicResponseSuccessDefaultSubscription = S.String;
|
|
724
|
-
export const GetTopicResponseSuccessVisibility = S.String;
|
|
725
|
-
export const GetTopicResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
726
|
-
id: S.optional(S.String),
|
|
727
|
-
object: S.optional(S.String),
|
|
728
|
-
name: S.optional(S.String),
|
|
729
|
-
description: S.optional(S.String),
|
|
730
|
-
default_subscription: S.optional(GetTopicResponseSuccessDefaultSubscription),
|
|
731
|
-
visibility: S.optional(GetTopicResponseSuccessVisibility),
|
|
732
|
-
created_at: S.optional(S.String),
|
|
733
|
-
})).annotate({ identifier: "GetTopicResponseSuccess" });
|
|
734
|
-
export const GetWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
735
|
-
webhook_id: S.String.pipe(T.Label()),
|
|
736
|
-
}).pipe(T.Http({ method: "GET", uri: "/webhooks/{webhook_id}", code: 200 }))).annotate({ identifier: "GetWebhookRequest" });
|
|
737
|
-
export const GetWebhookResponseEventsList = /*@__PURE__*/ S.Array(S.String);
|
|
738
|
-
export const GetWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
739
|
-
object: S.optional(S.String),
|
|
740
|
-
id: S.optional(S.String),
|
|
741
|
-
endpoint: S.optional(S.String),
|
|
742
|
-
events: S.optional(S.NullOr(GetWebhookResponseEventsList)),
|
|
743
|
-
status: S.optional(S.String),
|
|
744
|
-
created_at: S.optional(S.String),
|
|
745
|
-
signing_secret: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
746
|
-
})).annotate({ identifier: "GetWebhookResponse" });
|
|
747
|
-
export const ListApiKeysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
748
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
749
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
750
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
751
|
-
}).pipe(T.Http({ method: "GET", uri: "/api-keys", code: 200 }))).annotate({ identifier: "ListApiKeysRequest" });
|
|
752
|
-
export const ApiKey = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
753
|
-
id: S.optional(S.String),
|
|
754
|
-
name: S.optional(S.String),
|
|
755
|
-
created_at: S.optional(S.String),
|
|
756
|
-
last_used_at: S.optional(S.NullOr(S.String)),
|
|
757
|
-
})).annotate({ identifier: "ApiKey" });
|
|
758
|
-
export const ListApiKeysResponseDataList = /*@__PURE__*/ S.Array(ApiKey);
|
|
759
|
-
export const ListApiKeysResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
760
|
-
object: S.optional(S.String),
|
|
761
|
-
has_more: S.optional(S.Boolean),
|
|
762
|
-
data: ListApiKeysResponseDataList,
|
|
763
|
-
})).annotate({ identifier: "ListApiKeysResponse" });
|
|
764
|
-
export const ListAutomationRunsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
765
|
-
automation_id: S.String.pipe(T.Label()),
|
|
766
|
-
status: S.optional(S.String.pipe(T.Query())),
|
|
767
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
768
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
769
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
770
|
-
}).pipe(T.Http({ method: "GET", uri: "/automations/{automation_id}/runs", code: 200 }))).annotate({
|
|
771
|
-
identifier: "ListAutomationRunsRequest",
|
|
772
|
-
});
|
|
773
|
-
export const AutomationRunListItemStatus = S.String;
|
|
774
|
-
export const AutomationRunListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
775
|
-
id: S.optional(S.String),
|
|
776
|
-
status: S.optional(AutomationRunListItemStatus),
|
|
777
|
-
started_at: S.optional(S.NullOr(S.String)),
|
|
778
|
-
completed_at: S.optional(S.NullOr(S.String)),
|
|
779
|
-
created_at: S.optional(S.String),
|
|
780
|
-
})).annotate({ identifier: "AutomationRunListItem" });
|
|
781
|
-
export const ListAutomationRunsResponseDataList = /*@__PURE__*/ S.Array(AutomationRunListItem);
|
|
782
|
-
export const ListAutomationRunsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
783
|
-
object: S.optional(S.String),
|
|
784
|
-
has_more: S.optional(S.Boolean),
|
|
785
|
-
data: ListAutomationRunsResponseDataList,
|
|
786
|
-
})).annotate({
|
|
787
|
-
identifier: "ListAutomationRunsResponse",
|
|
788
|
-
});
|
|
789
|
-
export const ListAutomationsRequestStatus = S.String;
|
|
790
|
-
export const ListAutomationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
791
|
-
status: S.optional(ListAutomationsRequestStatus.pipe(T.Query())),
|
|
792
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
793
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
794
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
795
|
-
}).pipe(T.Http({ method: "GET", uri: "/automations", code: 200 }))).annotate({ identifier: "ListAutomationsRequest" });
|
|
796
|
-
export const AutomationListItemStatus = S.String;
|
|
797
|
-
export const AutomationListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
798
|
-
id: S.optional(S.String),
|
|
799
|
-
name: S.optional(S.String),
|
|
800
|
-
status: S.optional(AutomationListItemStatus),
|
|
801
|
-
created_at: S.optional(S.String),
|
|
802
|
-
updated_at: S.optional(S.String),
|
|
803
|
-
})).annotate({ identifier: "AutomationListItem" });
|
|
804
|
-
export const ListAutomationsResponseDataList = /*@__PURE__*/ S.Array(AutomationListItem);
|
|
805
|
-
export const ListAutomationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
806
|
-
object: S.optional(S.String),
|
|
807
|
-
has_more: S.optional(S.Boolean),
|
|
808
|
-
data: ListAutomationsResponseDataList,
|
|
809
|
-
})).annotate({ identifier: "ListAutomationsResponse" });
|
|
810
|
-
export const ListBroadcastsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
811
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
812
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
813
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
814
|
-
}).pipe(T.Http({ method: "GET", uri: "/broadcasts", code: 200 }))).annotate({ identifier: "ListBroadcastsRequest" });
|
|
815
|
-
export const ListBroadcastsResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
816
|
-
id: S.optional(S.String),
|
|
817
|
-
name: S.optional(S.String),
|
|
818
|
-
audience_id: S.optional(S.String),
|
|
819
|
-
segment_id: S.optional(S.String),
|
|
820
|
-
status: S.optional(S.String),
|
|
821
|
-
created_at: S.optional(S.String),
|
|
822
|
-
scheduled_at: S.optional(S.String),
|
|
823
|
-
sent_at: S.optional(S.String),
|
|
824
|
-
topic_id: S.optional(S.String),
|
|
825
|
-
})).annotate({
|
|
826
|
-
identifier: "ListBroadcastsResponseSuccessDataItem",
|
|
827
|
-
});
|
|
828
|
-
export const ListBroadcastsResponseSuccessDataList = /*@__PURE__*/ S.Array(ListBroadcastsResponseSuccessDataItem);
|
|
829
|
-
export const ListBroadcastsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
830
|
-
object: S.optional(S.String),
|
|
831
|
-
has_more: S.optional(S.Boolean),
|
|
832
|
-
data: ListBroadcastsResponseSuccessDataList,
|
|
833
|
-
})).annotate({
|
|
834
|
-
identifier: "ListBroadcastsResponseSuccess",
|
|
835
|
-
});
|
|
836
|
-
export const ListContactPropertiesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
837
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
838
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
839
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
840
|
-
}).pipe(T.Http({ method: "GET", uri: "/contact-properties", code: 200 }))).annotate({
|
|
841
|
-
identifier: "ListContactPropertiesRequest",
|
|
842
|
-
});
|
|
843
|
-
export const ListContactPropertiesResponseSuccessDataItemFallbackValue = S.Unknown;
|
|
844
|
-
export const ListContactPropertiesResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
845
|
-
id: S.optional(S.String),
|
|
846
|
-
key: S.optional(S.String),
|
|
847
|
-
type: S.optional(S.String),
|
|
848
|
-
fallback_value: S.optional(ListContactPropertiesResponseSuccessDataItemFallbackValue),
|
|
849
|
-
created_at: S.optional(S.String),
|
|
850
|
-
})).annotate({
|
|
851
|
-
identifier: "ListContactPropertiesResponseSuccessDataItem",
|
|
852
|
-
});
|
|
853
|
-
export const ListContactPropertiesResponseSuccessDataList = /*@__PURE__*/ S.Array(ListContactPropertiesResponseSuccessDataItem);
|
|
854
|
-
export const ListContactPropertiesResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
855
|
-
object: S.optional(S.String),
|
|
856
|
-
has_more: S.optional(S.Boolean),
|
|
857
|
-
data: ListContactPropertiesResponseSuccessDataList,
|
|
858
|
-
})).annotate({
|
|
859
|
-
identifier: "ListContactPropertiesResponseSuccess",
|
|
860
|
-
});
|
|
861
|
-
export const ListContactsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
862
|
-
segment_id: S.optional(S.String.pipe(T.Query())),
|
|
863
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
864
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
865
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
866
|
-
}).pipe(T.Http({ method: "GET", uri: "/contacts", code: 200 }))).annotate({ identifier: "ListContactsRequest" });
|
|
867
|
-
export const ListContactsResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
868
|
-
id: S.optional(S.String),
|
|
869
|
-
email: S.optional(S.String),
|
|
870
|
-
first_name: S.optional(S.String),
|
|
871
|
-
last_name: S.optional(S.String),
|
|
872
|
-
created_at: S.optional(S.String),
|
|
873
|
-
unsubscribed: S.optional(S.Boolean),
|
|
874
|
-
})).annotate({
|
|
875
|
-
identifier: "ListContactsResponseSuccessDataItem",
|
|
876
|
-
});
|
|
877
|
-
export const ListContactsResponseSuccessDataList = /*@__PURE__*/ S.Array(ListContactsResponseSuccessDataItem);
|
|
878
|
-
export const ListContactsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
879
|
-
object: S.optional(S.String),
|
|
880
|
-
data: S.optional(ListContactsResponseSuccessDataList),
|
|
881
|
-
})).annotate({
|
|
882
|
-
identifier: "ListContactsResponseSuccess",
|
|
883
|
-
});
|
|
884
|
-
export const ListContactSegmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
885
|
-
contact_id: S.String.pipe(T.Label()),
|
|
886
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
887
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
888
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
889
|
-
}).pipe(T.Http({ method: "GET", uri: "/contacts/{contact_id}/segments", code: 200 }))).annotate({
|
|
890
|
-
identifier: "ListContactSegmentsRequest",
|
|
891
|
-
});
|
|
892
|
-
export const ListContactSegmentsResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
893
|
-
id: S.optional(S.String),
|
|
894
|
-
name: S.optional(S.String),
|
|
895
|
-
created_at: S.optional(S.String),
|
|
896
|
-
})).annotate({
|
|
897
|
-
identifier: "ListContactSegmentsResponseSuccessDataItem",
|
|
898
|
-
});
|
|
899
|
-
export const ListContactSegmentsResponseSuccessDataList = /*@__PURE__*/ S.Array(ListContactSegmentsResponseSuccessDataItem);
|
|
900
|
-
export const ListContactSegmentsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
901
|
-
object: S.optional(S.String),
|
|
902
|
-
has_more: S.optional(S.Boolean),
|
|
903
|
-
data: ListContactSegmentsResponseSuccessDataList,
|
|
904
|
-
})).annotate({
|
|
905
|
-
identifier: "ListContactSegmentsResponseSuccess",
|
|
906
|
-
});
|
|
907
|
-
export const ListContactTopicsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
908
|
-
contact_id: S.String.pipe(T.Label()),
|
|
909
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
910
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
911
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
912
|
-
}).pipe(T.Http({ method: "GET", uri: "/contacts/{contact_id}/topics", code: 200 }))).annotate({ identifier: "ListContactTopicsRequest" });
|
|
913
|
-
export const GetContactTopicsResponseSuccessDataItemSubscription = S.String;
|
|
914
|
-
export const GetContactTopicsResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
915
|
-
id: S.optional(S.String),
|
|
916
|
-
name: S.optional(S.String),
|
|
917
|
-
description: S.optional(S.String),
|
|
918
|
-
subscription: S.optional(GetContactTopicsResponseSuccessDataItemSubscription),
|
|
919
|
-
})).annotate({
|
|
920
|
-
identifier: "GetContactTopicsResponseSuccessDataItem",
|
|
921
|
-
});
|
|
922
|
-
export const GetContactTopicsResponseSuccessDataList = /*@__PURE__*/ S.Array(GetContactTopicsResponseSuccessDataItem);
|
|
923
|
-
export const GetContactTopicsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
924
|
-
object: S.optional(S.String),
|
|
925
|
-
has_more: S.optional(S.Boolean),
|
|
926
|
-
data: GetContactTopicsResponseSuccessDataList,
|
|
927
|
-
})).annotate({
|
|
928
|
-
identifier: "GetContactTopicsResponseSuccess",
|
|
929
|
-
});
|
|
930
|
-
export const ListDomainsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
931
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
932
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
933
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
934
|
-
}).pipe(T.Http({ method: "GET", uri: "/domains", code: 200 }))).annotate({ identifier: "ListDomainsRequest" });
|
|
935
|
-
export const ListDomainsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
936
|
-
id: S.optional(S.String),
|
|
937
|
-
name: S.optional(S.String),
|
|
938
|
-
status: S.optional(S.String),
|
|
939
|
-
created_at: S.optional(S.String),
|
|
940
|
-
region: S.optional(S.String),
|
|
941
|
-
capabilities: S.optional(DomainCapabilities),
|
|
942
|
-
})).annotate({ identifier: "ListDomainsItem" });
|
|
943
|
-
export const ListDomainsResponseDataList = /*@__PURE__*/ S.Array(ListDomainsItem);
|
|
944
|
-
export const ListDomainsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
945
|
-
object: S.optional(S.String),
|
|
946
|
-
has_more: S.optional(S.Boolean),
|
|
947
|
-
data: ListDomainsResponseDataList,
|
|
948
|
-
})).annotate({ identifier: "ListDomainsResponse" });
|
|
949
|
-
export const ListEmailAttachmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
950
|
-
email_id: S.String.pipe(T.Label()),
|
|
951
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
952
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
953
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
954
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails/{email_id}/attachments", code: 200 }))).annotate({
|
|
955
|
-
identifier: "ListEmailAttachmentsRequest",
|
|
956
|
-
});
|
|
957
|
-
export const ListAttachmentsResponseDataItemContentDisposition = S.String;
|
|
958
|
-
export const ListAttachmentsResponseDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
959
|
-
id: S.optional(S.String),
|
|
960
|
-
filename: S.optional(S.String),
|
|
961
|
-
content_type: S.optional(S.String),
|
|
962
|
-
content_id: S.optional(S.String),
|
|
963
|
-
content_disposition: S.optional(ListAttachmentsResponseDataItemContentDisposition),
|
|
964
|
-
download_url: S.optional(S.String),
|
|
965
|
-
expires_at: S.optional(S.String),
|
|
966
|
-
size: S.optional(S.Number),
|
|
967
|
-
})).annotate({
|
|
968
|
-
identifier: "ListAttachmentsResponseDataItem",
|
|
969
|
-
});
|
|
970
|
-
export const ListAttachmentsResponseDataList = /*@__PURE__*/ S.Array(ListAttachmentsResponseDataItem);
|
|
971
|
-
export const ListAttachmentsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
972
|
-
object: S.optional(S.String),
|
|
973
|
-
has_more: S.optional(S.Boolean),
|
|
974
|
-
data: ListAttachmentsResponseDataList,
|
|
975
|
-
})).annotate({ identifier: "ListAttachmentsResponse" });
|
|
976
|
-
export const ListEmailReceivingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
977
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
978
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
979
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
980
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails/receiving", code: 200 }))).annotate({
|
|
981
|
-
identifier: "ListEmailReceivingRequest",
|
|
982
|
-
});
|
|
983
|
-
export const ListReceivedEmailsResponseDataItemToList = /*@__PURE__*/ S.Array(S.String);
|
|
984
|
-
export const ListReceivedEmailsResponseDataItemBccList = /*@__PURE__*/ S.Array(S.String);
|
|
985
|
-
export const ListReceivedEmailsResponseDataItemCcList = /*@__PURE__*/ S.Array(S.String);
|
|
986
|
-
export const ListReceivedEmailsResponseDataItemReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
987
|
-
export const ListReceivedEmailsResponseDataItemAttachmentsItemContentDisposition = S.String;
|
|
988
|
-
export const ListReceivedEmailsResponseDataItemAttachmentsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
989
|
-
id: S.optional(S.String),
|
|
990
|
-
filename: S.optional(S.String),
|
|
991
|
-
content_type: S.optional(S.String),
|
|
992
|
-
content_id: S.optional(S.String),
|
|
993
|
-
content_disposition: S.optional(ListReceivedEmailsResponseDataItemAttachmentsItemContentDisposition),
|
|
994
|
-
size: S.optional(S.Number),
|
|
995
|
-
})).annotate({
|
|
996
|
-
identifier: "ListReceivedEmailsResponseDataItemAttachmentsItem",
|
|
997
|
-
});
|
|
998
|
-
export const ListReceivedEmailsResponseDataItemAttachmentsList = /*@__PURE__*/ S.Array(ListReceivedEmailsResponseDataItemAttachmentsItem);
|
|
999
|
-
export const ListReceivedEmailsResponseDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1000
|
-
id: S.optional(S.String),
|
|
1001
|
-
to: S.optional(ListReceivedEmailsResponseDataItemToList),
|
|
1002
|
-
from: S.optional(S.String),
|
|
1003
|
-
subject: S.optional(S.NullOr(S.String)),
|
|
1004
|
-
message_id: S.optional(S.String),
|
|
1005
|
-
bcc: S.optional(S.NullOr(ListReceivedEmailsResponseDataItemBccList)),
|
|
1006
|
-
cc: S.optional(S.NullOr(ListReceivedEmailsResponseDataItemCcList)),
|
|
1007
|
-
reply_to: S.optional(S.NullOr(ListReceivedEmailsResponseDataItemReplyToList)),
|
|
1008
|
-
created_at: S.optional(S.String),
|
|
1009
|
-
attachments: S.optional(ListReceivedEmailsResponseDataItemAttachmentsList),
|
|
1010
|
-
})).annotate({
|
|
1011
|
-
identifier: "ListReceivedEmailsResponseDataItem",
|
|
1012
|
-
});
|
|
1013
|
-
export const ListReceivedEmailsResponseDataList = /*@__PURE__*/ S.Array(ListReceivedEmailsResponseDataItem);
|
|
1014
|
-
export const ListReceivedEmailsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1015
|
-
object: S.optional(S.String),
|
|
1016
|
-
has_more: S.optional(S.Boolean),
|
|
1017
|
-
data: ListReceivedEmailsResponseDataList,
|
|
1018
|
-
})).annotate({
|
|
1019
|
-
identifier: "ListReceivedEmailsResponse",
|
|
1020
|
-
});
|
|
1021
|
-
export const ListEmailReceivingAttachmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1022
|
-
email_id: S.String.pipe(T.Label()),
|
|
1023
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1024
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1025
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1026
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails/receiving/{email_id}/attachments", code: 200 }))).annotate({
|
|
1027
|
-
identifier: "ListEmailReceivingAttachmentsRequest",
|
|
1028
|
-
});
|
|
1029
|
-
export const ListEmailsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1030
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1031
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1032
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1033
|
-
}).pipe(T.Http({ method: "GET", uri: "/emails", code: 200 }))).annotate({ identifier: "ListEmailsRequest" });
|
|
1034
|
-
export const ListEmailsResponseDataList = /*@__PURE__*/ S.Array(Email);
|
|
1035
|
-
export const ListEmailsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1036
|
-
object: S.optional(S.String),
|
|
1037
|
-
has_more: S.optional(S.Boolean),
|
|
1038
|
-
data: ListEmailsResponseDataList,
|
|
1039
|
-
})).annotate({ identifier: "ListEmailsResponse" });
|
|
1040
|
-
export const ListEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1041
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1042
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1043
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1044
|
-
}).pipe(T.Http({ method: "GET", uri: "/events", code: 200 }))).annotate({ identifier: "ListEventsRequest" });
|
|
1045
|
-
export const EventSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1046
|
-
id: S.optional(S.String),
|
|
1047
|
-
name: S.optional(S.String),
|
|
1048
|
-
schema: S.optional(S.NullOr(S.Unknown)),
|
|
1049
|
-
created_at: S.optional(S.String),
|
|
1050
|
-
updated_at: S.optional(S.NullOr(S.String)),
|
|
1051
|
-
})).annotate({ identifier: "EventSummary" });
|
|
1052
|
-
export const ListEventsResponseDataList = /*@__PURE__*/ S.Array(EventSummary);
|
|
1053
|
-
export const ListEventsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1054
|
-
object: S.optional(S.String),
|
|
1055
|
-
has_more: S.optional(S.Boolean),
|
|
1056
|
-
data: ListEventsResponseDataList,
|
|
1057
|
-
})).annotate({ identifier: "ListEventsResponse" });
|
|
1058
|
-
export const ListLogsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1059
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1060
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1061
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1062
|
-
}).pipe(T.Http({ method: "GET", uri: "/logs", code: 200 }))).annotate({ identifier: "ListLogsRequest" });
|
|
1063
|
-
export const LogSummaryMethod = S.String;
|
|
1064
|
-
export const LogSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1065
|
-
id: S.optional(S.String),
|
|
1066
|
-
created_at: S.optional(S.String),
|
|
1067
|
-
endpoint: S.optional(S.String),
|
|
1068
|
-
method: S.optional(LogSummaryMethod),
|
|
1069
|
-
response_status: S.optional(S.Number),
|
|
1070
|
-
user_agent: S.optional(S.NullOr(S.String)),
|
|
1071
|
-
})).annotate({ identifier: "LogSummary" });
|
|
1072
|
-
export const ListLogsResponseDataList = /*@__PURE__*/ S.Array(LogSummary);
|
|
1073
|
-
export const ListLogsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1074
|
-
object: S.optional(S.String),
|
|
1075
|
-
has_more: S.optional(S.Boolean),
|
|
1076
|
-
data: ListLogsResponseDataList,
|
|
1077
|
-
})).annotate({ identifier: "ListLogsResponse" });
|
|
1078
|
-
export const ListSegmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1079
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1080
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1081
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1082
|
-
}).pipe(T.Http({ method: "GET", uri: "/segments", code: 200 }))).annotate({ identifier: "ListSegmentsRequest" });
|
|
1083
|
-
export const ListSegmentsResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1084
|
-
id: S.optional(S.String),
|
|
1085
|
-
name: S.optional(S.String),
|
|
1086
|
-
audience_id: S.optional(S.String),
|
|
1087
|
-
created_at: S.optional(S.String),
|
|
1088
|
-
})).annotate({
|
|
1089
|
-
identifier: "ListSegmentsResponseSuccessDataItem",
|
|
1090
|
-
});
|
|
1091
|
-
export const ListSegmentsResponseSuccessDataList = /*@__PURE__*/ S.Array(ListSegmentsResponseSuccessDataItem);
|
|
1092
|
-
export const ListSegmentsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1093
|
-
object: S.optional(S.String),
|
|
1094
|
-
has_more: S.optional(S.Boolean),
|
|
1095
|
-
data: ListSegmentsResponseSuccessDataList,
|
|
1096
|
-
})).annotate({
|
|
1097
|
-
identifier: "ListSegmentsResponseSuccess",
|
|
1098
|
-
});
|
|
1099
|
-
export const ListTemplatesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1100
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1101
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1102
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1103
|
-
}).pipe(T.Http({ method: "GET", uri: "/templates", code: 200 }))).annotate({ identifier: "ListTemplatesRequest" });
|
|
1104
|
-
export const TemplateListItemStatus = S.String;
|
|
1105
|
-
export const TemplateListItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1106
|
-
id: S.optional(S.String),
|
|
1107
|
-
name: S.optional(S.String),
|
|
1108
|
-
status: S.optional(TemplateListItemStatus),
|
|
1109
|
-
published_at: S.optional(S.NullOr(S.String)),
|
|
1110
|
-
created_at: S.optional(S.String),
|
|
1111
|
-
updated_at: S.optional(S.String),
|
|
1112
|
-
alias: S.optional(S.String),
|
|
1113
|
-
})).annotate({ identifier: "TemplateListItem" });
|
|
1114
|
-
export const ListTemplatesResponseSuccessDataList = /*@__PURE__*/ S.Array(TemplateListItem);
|
|
1115
|
-
export const ListTemplatesResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1116
|
-
object: S.optional(S.String),
|
|
1117
|
-
data: ListTemplatesResponseSuccessDataList,
|
|
1118
|
-
has_more: S.optional(S.Boolean),
|
|
1119
|
-
})).annotate({
|
|
1120
|
-
identifier: "ListTemplatesResponseSuccess",
|
|
1121
|
-
});
|
|
1122
|
-
export const ListTopicsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1123
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1124
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1125
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1126
|
-
}).pipe(T.Http({ method: "GET", uri: "/topics", code: 200 }))).annotate({ identifier: "ListTopicsRequest" });
|
|
1127
|
-
export const ListTopicsResponseSuccessDataItemDefaultSubscription = S.String;
|
|
1128
|
-
export const ListTopicsResponseSuccessDataItemVisibility = S.String;
|
|
1129
|
-
export const ListTopicsResponseSuccessDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1130
|
-
id: S.optional(S.String),
|
|
1131
|
-
name: S.optional(S.String),
|
|
1132
|
-
description: S.optional(S.String),
|
|
1133
|
-
default_subscription: S.optional(ListTopicsResponseSuccessDataItemDefaultSubscription),
|
|
1134
|
-
visibility: S.optional(ListTopicsResponseSuccessDataItemVisibility),
|
|
1135
|
-
created_at: S.optional(S.String),
|
|
1136
|
-
})).annotate({
|
|
1137
|
-
identifier: "ListTopicsResponseSuccessDataItem",
|
|
1138
|
-
});
|
|
1139
|
-
export const ListTopicsResponseSuccessDataList = /*@__PURE__*/ S.Array(ListTopicsResponseSuccessDataItem);
|
|
1140
|
-
export const ListTopicsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1141
|
-
object: S.optional(S.String),
|
|
1142
|
-
has_more: S.optional(S.Boolean),
|
|
1143
|
-
data: ListTopicsResponseSuccessDataList,
|
|
1144
|
-
})).annotate({
|
|
1145
|
-
identifier: "ListTopicsResponseSuccess",
|
|
1146
|
-
});
|
|
1147
|
-
export const ListWebhooksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1148
|
-
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1149
|
-
after: S.optional(S.String.pipe(T.Query())),
|
|
1150
|
-
before: S.optional(S.String.pipe(T.Query())),
|
|
1151
|
-
}).pipe(T.Http({ method: "GET", uri: "/webhooks", code: 200 }))).annotate({ identifier: "ListWebhooksRequest" });
|
|
1152
|
-
export const ListWebhooksResponseDataItemEventsList = /*@__PURE__*/ S.Array(S.String);
|
|
1153
|
-
export const ListWebhooksResponseDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1154
|
-
id: S.optional(S.String),
|
|
1155
|
-
endpoint: S.optional(S.String),
|
|
1156
|
-
events: S.optional(S.NullOr(ListWebhooksResponseDataItemEventsList)),
|
|
1157
|
-
status: S.optional(S.String),
|
|
1158
|
-
created_at: S.optional(S.String),
|
|
1159
|
-
})).annotate({
|
|
1160
|
-
identifier: "ListWebhooksResponseDataItem",
|
|
1161
|
-
});
|
|
1162
|
-
export const ListWebhooksResponseDataList = /*@__PURE__*/ S.Array(ListWebhooksResponseDataItem);
|
|
1163
|
-
export const ListWebhooksResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1164
|
-
object: S.optional(S.String),
|
|
1165
|
-
has_more: S.optional(S.Boolean),
|
|
1166
|
-
data: ListWebhooksResponseDataList,
|
|
1167
|
-
})).annotate({ identifier: "ListWebhooksResponse" });
|
|
1168
|
-
export const PublishTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1169
|
-
id: S.String.pipe(T.Label()),
|
|
1170
|
-
}).pipe(T.Http({ method: "POST", uri: "/templates/{id}/publish", code: 200 }))).annotate({ identifier: "PublishTemplateRequest" });
|
|
1171
|
-
export const PublishTemplateResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1172
|
-
id: S.optional(S.String),
|
|
1173
|
-
object: S.optional(S.String),
|
|
1174
|
-
})).annotate({
|
|
1175
|
-
identifier: "PublishTemplateResponseSuccess",
|
|
1176
|
-
});
|
|
1177
|
-
export const SendBroadcastRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1178
|
-
id: S.String.pipe(T.Label()),
|
|
1179
|
-
scheduled_at: S.optional(S.String),
|
|
1180
|
-
}).pipe(T.Http({ method: "POST", uri: "/broadcasts/{id}/send", code: 200 }))).annotate({ identifier: "SendBroadcastRequest" });
|
|
1181
|
-
export const SendBroadcastResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1182
|
-
id: S.optional(S.String),
|
|
1183
|
-
})).annotate({
|
|
1184
|
-
identifier: "SendBroadcastResponseSuccess",
|
|
1185
|
-
});
|
|
1186
|
-
export const SendEventRequestPayloadMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
1187
|
-
export const SendEventRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1188
|
-
event: S.String,
|
|
1189
|
-
contact_id: S.optional(S.String),
|
|
1190
|
-
email: S.optional(S.String),
|
|
1191
|
-
payload: S.optional(SendEventRequestPayloadMap),
|
|
1192
|
-
}).pipe(T.Http({ method: "POST", uri: "/events/send", code: 200 }))).annotate({ identifier: "SendEventRequest" });
|
|
1193
|
-
export const SendEventResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1194
|
-
identifier: "SendEventResponse",
|
|
1195
|
-
});
|
|
1196
|
-
export const StopAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1197
|
-
automation_id: S.String.pipe(T.Label()),
|
|
1198
|
-
}).pipe(T.Http({ method: "POST", uri: "/automations/{automation_id}/stop", code: 200 }))).annotate({ identifier: "StopAutomationRequest" });
|
|
1199
|
-
export const StopAutomationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1200
|
-
object: S.optional(S.String),
|
|
1201
|
-
id: S.optional(S.String),
|
|
1202
|
-
status: S.optional(S.String),
|
|
1203
|
-
})).annotate({ identifier: "StopAutomationResponse" });
|
|
1204
|
-
export const UpdateAutomationRequestStatus = S.String;
|
|
1205
|
-
export const UpdateAutomationRequestStepsList = /*@__PURE__*/ S.Array(AutomationStep);
|
|
1206
|
-
export const UpdateAutomationRequestConnectionsList = /*@__PURE__*/ S.Array(AutomationConnection);
|
|
1207
|
-
export const UpdateAutomationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1208
|
-
automation_id: S.String.pipe(T.Label()),
|
|
1209
|
-
name: S.optional(S.String),
|
|
1210
|
-
status: S.optional(UpdateAutomationRequestStatus),
|
|
1211
|
-
steps: S.optional(UpdateAutomationRequestStepsList),
|
|
1212
|
-
connections: S.optional(UpdateAutomationRequestConnectionsList),
|
|
1213
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/automations/{automation_id}", code: 200 }))).annotate({ identifier: "UpdateAutomationRequest" });
|
|
1214
|
-
export const PatchAutomationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1215
|
-
object: S.optional(S.String),
|
|
1216
|
-
id: S.optional(S.String),
|
|
1217
|
-
})).annotate({ identifier: "PatchAutomationResponse" });
|
|
1218
|
-
export const UpdateBroadcastRequestReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
1219
|
-
export const UpdateBroadcastRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1220
|
-
id: S.String.pipe(T.Label()),
|
|
1221
|
-
name: S.optional(S.String),
|
|
1222
|
-
audience_id: S.optional(S.String),
|
|
1223
|
-
segment_id: S.optional(S.String),
|
|
1224
|
-
from: S.optional(S.String),
|
|
1225
|
-
subject: S.optional(S.String),
|
|
1226
|
-
reply_to: S.optional(UpdateBroadcastRequestReplyToList),
|
|
1227
|
-
preview_text: S.optional(S.String),
|
|
1228
|
-
html: S.optional(S.String),
|
|
1229
|
-
text: S.optional(S.String),
|
|
1230
|
-
topic_id: S.optional(S.String),
|
|
1231
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/broadcasts/{id}", code: 200 }))).annotate({ identifier: "UpdateBroadcastRequest" });
|
|
1232
|
-
export const UpdateBroadcastResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1233
|
-
id: S.optional(S.String),
|
|
1234
|
-
object: S.optional(S.String),
|
|
1235
|
-
})).annotate({
|
|
1236
|
-
identifier: "UpdateBroadcastResponseSuccess",
|
|
1237
|
-
});
|
|
1238
|
-
export const UpdateContactRequestPropertiesMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
1239
|
-
export const UpdateContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1240
|
-
id: S.String.pipe(T.Label()),
|
|
1241
|
-
email: S.optional(S.String),
|
|
1242
|
-
first_name: S.optional(S.String),
|
|
1243
|
-
last_name: S.optional(S.String),
|
|
1244
|
-
unsubscribed: S.optional(S.Boolean),
|
|
1245
|
-
properties: S.optional(UpdateContactRequestPropertiesMap),
|
|
1246
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/contacts/{id}", code: 200 }))).annotate({ identifier: "UpdateContactRequest" });
|
|
1247
|
-
export const UpdateContactResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1248
|
-
object: S.optional(S.String),
|
|
1249
|
-
id: S.optional(S.String),
|
|
1250
|
-
})).annotate({
|
|
1251
|
-
identifier: "UpdateContactResponseSuccess",
|
|
1252
|
-
});
|
|
1253
|
-
export const UpdateContactPropertyRequestFallbackValue = S.Unknown;
|
|
1254
|
-
export const UpdateContactPropertyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1255
|
-
id: S.String.pipe(T.Label()),
|
|
1256
|
-
fallback_value: S.optional(UpdateContactPropertyRequestFallbackValue),
|
|
1257
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/contact-properties/{id}", code: 200 }))).annotate({
|
|
1258
|
-
identifier: "UpdateContactPropertyRequest",
|
|
1259
|
-
});
|
|
1260
|
-
export const UpdateContactPropertyResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1261
|
-
id: S.optional(S.String),
|
|
1262
|
-
object: S.optional(S.String),
|
|
1263
|
-
})).annotate({
|
|
1264
|
-
identifier: "UpdateContactPropertyResponseSuccess",
|
|
1265
|
-
});
|
|
1266
|
-
export const UpdateContactSegmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1267
|
-
contact_id: S.String.pipe(T.Label()),
|
|
1268
|
-
segment_id: S.String.pipe(T.Label()),
|
|
1269
|
-
}).pipe(T.Http({ method: "POST", uri: "/contacts/{contact_id}/segments/{segment_id}", code: 200 }))).annotate({
|
|
1270
|
-
identifier: "UpdateContactSegmentRequest",
|
|
1271
|
-
});
|
|
1272
|
-
export const AddContactToSegmentResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1273
|
-
object: S.optional(S.String),
|
|
1274
|
-
contact_id: S.optional(S.String),
|
|
1275
|
-
segment_id: S.optional(S.String),
|
|
1276
|
-
})).annotate({
|
|
1277
|
-
identifier: "AddContactToSegmentResponseSuccess",
|
|
1278
|
-
});
|
|
1279
|
-
export const UpdateContactTopicsRequestTopicsItemSubscription = S.String;
|
|
1280
|
-
export const UpdateContactTopicsRequestTopicsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1281
|
-
id: S.optional(S.String),
|
|
1282
|
-
subscription: S.optional(UpdateContactTopicsRequestTopicsItemSubscription),
|
|
1283
|
-
})).annotate({
|
|
1284
|
-
identifier: "UpdateContactTopicsRequestTopicsItem",
|
|
1285
|
-
});
|
|
1286
|
-
export const UpdateContactTopicsRequestTopicsList = /*@__PURE__*/ S.Array(UpdateContactTopicsRequestTopicsItem);
|
|
1287
|
-
export const UpdateContactTopicsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1288
|
-
contact_id: S.String.pipe(T.Label()),
|
|
1289
|
-
topics: UpdateContactTopicsRequestTopicsList,
|
|
1290
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/contacts/{contact_id}/topics", code: 200 }))).annotate({
|
|
1291
|
-
identifier: "UpdateContactTopicsRequest",
|
|
1292
|
-
});
|
|
1293
|
-
export const UpdateContactTopicsResponseSuccessTopicsItemSubscription = S.String;
|
|
1294
|
-
export const UpdateContactTopicsResponseSuccessTopicsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1295
|
-
id: S.optional(S.String),
|
|
1296
|
-
subscription: S.optional(UpdateContactTopicsResponseSuccessTopicsItemSubscription),
|
|
1297
|
-
})).annotate({
|
|
1298
|
-
identifier: "UpdateContactTopicsResponseSuccessTopicsItem",
|
|
1299
|
-
});
|
|
1300
|
-
export const UpdateContactTopicsResponseSuccessTopicsList = /*@__PURE__*/ S.Array(UpdateContactTopicsResponseSuccessTopicsItem);
|
|
1301
|
-
export const UpdateContactTopicsResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1302
|
-
object: S.optional(S.String),
|
|
1303
|
-
contact_id: S.optional(S.String),
|
|
1304
|
-
topics: S.optional(UpdateContactTopicsResponseSuccessTopicsList),
|
|
1305
|
-
})).annotate({
|
|
1306
|
-
identifier: "UpdateContactTopicsResponseSuccess",
|
|
1307
|
-
});
|
|
1308
|
-
export const UpdateDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1309
|
-
domain_id: S.String.pipe(T.Label()),
|
|
1310
|
-
open_tracking: S.optional(S.Boolean),
|
|
1311
|
-
click_tracking: S.optional(S.Boolean),
|
|
1312
|
-
tls: S.optional(S.String),
|
|
1313
|
-
capabilities: S.optional(DomainCapabilities),
|
|
1314
|
-
tracking_subdomain: S.optional(S.String),
|
|
1315
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/domains/{domain_id}", code: 200 }))).annotate({ identifier: "UpdateDomainRequest" });
|
|
1316
|
-
export const UpdateDomainResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1317
|
-
id: S.optional(S.String),
|
|
1318
|
-
object: S.optional(S.String),
|
|
1319
|
-
})).annotate({
|
|
1320
|
-
identifier: "UpdateDomainResponseSuccess",
|
|
1321
|
-
});
|
|
1322
|
-
export const UpdateEmailRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1323
|
-
email_id: S.String.pipe(T.Label()),
|
|
1324
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/emails/{email_id}", code: 200 }))).annotate({ identifier: "UpdateEmailRequest" });
|
|
1325
|
-
export const UpdateEmailOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1326
|
-
scheduled_at: S.optional(S.String),
|
|
1327
|
-
})).annotate({ identifier: "UpdateEmailOptions" });
|
|
1328
|
-
export const UpdateEventRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1329
|
-
identifier: S.String.pipe(T.Label()),
|
|
1330
|
-
schema: S.NullOr(S.Unknown),
|
|
1331
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/events/{identifier}", code: 200 }))).annotate({ identifier: "UpdateEventRequest" });
|
|
1332
|
-
export const UpdateEventResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1333
|
-
object: S.optional(S.String),
|
|
1334
|
-
id: S.optional(S.String),
|
|
1335
|
-
})).annotate({ identifier: "UpdateEventResponse" });
|
|
1336
|
-
export const UpdateTemplateRequestReplyToList = /*@__PURE__*/ S.Array(S.String);
|
|
1337
|
-
export const UpdateTemplateRequestVariablesList = /*@__PURE__*/ S.Array(TemplateVariableInput);
|
|
1338
|
-
export const UpdateTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1339
|
-
id: S.String.pipe(T.Label()),
|
|
1340
|
-
name: S.optional(S.String),
|
|
1341
|
-
alias: S.optional(S.String),
|
|
1342
|
-
from: S.optional(S.String),
|
|
1343
|
-
subject: S.optional(S.String),
|
|
1344
|
-
reply_to: S.optional(UpdateTemplateRequestReplyToList),
|
|
1345
|
-
html: S.optional(S.String),
|
|
1346
|
-
text: S.optional(S.String),
|
|
1347
|
-
variables: S.optional(UpdateTemplateRequestVariablesList),
|
|
1348
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/templates/{id}", code: 200 }))).annotate({ identifier: "UpdateTemplateRequest" });
|
|
1349
|
-
export const UpdateTemplateResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1350
|
-
id: S.optional(S.String),
|
|
1351
|
-
object: S.optional(S.String),
|
|
1352
|
-
})).annotate({
|
|
1353
|
-
identifier: "UpdateTemplateResponseSuccess",
|
|
1354
|
-
});
|
|
1355
|
-
export const UpdateTopicRequestVisibility = S.String;
|
|
1356
|
-
export const UpdateTopicRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1357
|
-
id: S.String.pipe(T.Label()),
|
|
1358
|
-
name: S.optional(S.String),
|
|
1359
|
-
description: S.optional(S.String),
|
|
1360
|
-
visibility: S.optional(UpdateTopicRequestVisibility),
|
|
1361
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/topics/{id}", code: 200 }))).annotate({ identifier: "UpdateTopicRequest" });
|
|
1362
|
-
export const UpdateTopicResponseSuccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1363
|
-
id: S.optional(S.String),
|
|
1364
|
-
object: S.optional(S.String),
|
|
1365
|
-
})).annotate({
|
|
1366
|
-
identifier: "UpdateTopicResponseSuccess",
|
|
1367
|
-
});
|
|
1368
|
-
export const UpdateWebhookRequestEventsList = /*@__PURE__*/ S.Array(S.String);
|
|
1369
|
-
export const UpdateWebhookRequestStatus = S.String;
|
|
1370
|
-
export const UpdateWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1371
|
-
webhook_id: S.String.pipe(T.Label()),
|
|
1372
|
-
endpoint: S.optional(S.String),
|
|
1373
|
-
events: S.optional(UpdateWebhookRequestEventsList),
|
|
1374
|
-
status: S.optional(UpdateWebhookRequestStatus),
|
|
1375
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/webhooks/{webhook_id}", code: 200 }))).annotate({ identifier: "UpdateWebhookRequest" });
|
|
1376
|
-
export const UpdateWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1377
|
-
object: S.optional(S.String),
|
|
1378
|
-
id: S.optional(S.String),
|
|
1379
|
-
})).annotate({ identifier: "UpdateWebhookResponse" });
|
|
1380
|
-
export const VerifyDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1381
|
-
domain_id: S.String.pipe(T.Label()),
|
|
1382
|
-
}).pipe(T.Http({ method: "POST", uri: "/domains/{domain_id}/verify", code: 200 }))).annotate({ identifier: "VerifyDomainRequest" });
|
|
1383
|
-
export const VerifyDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1384
|
-
object: S.optional(S.String),
|
|
1385
|
-
id: S.optional(S.String),
|
|
1386
|
-
})).annotate({ identifier: "VerifyDomainResponse" });
|
|
1387
|
-
/** Cancel the schedule of the e-mail. */
|
|
1388
|
-
export const cancelEmail = /*@__PURE__*/ API.make(() => ({
|
|
1389
|
-
input: CancelEmailRequest,
|
|
1390
|
-
output: Email,
|
|
1391
|
-
errors: [UnknownResendError],
|
|
1392
|
-
protocol: ResendProtocol,
|
|
1393
|
-
retry: Retry.Retry,
|
|
1394
|
-
}));
|
|
1395
|
-
/** Create a new API key */
|
|
1396
|
-
export const createApiKey = /*@__PURE__*/ API.make(() => ({
|
|
1397
|
-
input: CreateApiKeyRequest,
|
|
1398
|
-
output: CreateApiKeyResponse,
|
|
1399
|
-
errors: [UnknownResendError],
|
|
1400
|
-
protocol: ResendProtocol,
|
|
1401
|
-
retry: Retry.Retry,
|
|
1402
|
-
}));
|
|
1403
|
-
/** Create an automation */
|
|
1404
|
-
export const createAutomation = /*@__PURE__*/ API.make(() => ({
|
|
1405
|
-
input: CreateAutomationRequest,
|
|
1406
|
-
output: CreateAutomationResponse,
|
|
1407
|
-
errors: [UnknownResendError],
|
|
1408
|
-
protocol: ResendProtocol,
|
|
1409
|
-
retry: Retry.Retry,
|
|
1410
|
-
}));
|
|
1411
|
-
/** Create a broadcast */
|
|
1412
|
-
export const createBroadcast = /*@__PURE__*/ API.make(() => ({
|
|
1413
|
-
input: CreateBroadcastRequest,
|
|
1414
|
-
output: CreateBroadcastResponseSuccess,
|
|
1415
|
-
errors: [UnknownResendError],
|
|
1416
|
-
protocol: ResendProtocol,
|
|
1417
|
-
retry: Retry.Retry,
|
|
1418
|
-
}));
|
|
1419
|
-
/** Create a new contact */
|
|
1420
|
-
export const createContact = /*@__PURE__*/ API.make(() => ({
|
|
1421
|
-
input: CreateContactRequest,
|
|
1422
|
-
output: CreateContactResponseSuccess,
|
|
1423
|
-
errors: [UnknownResendError],
|
|
1424
|
-
protocol: ResendProtocol,
|
|
1425
|
-
retry: Retry.Retry,
|
|
1426
|
-
}));
|
|
1427
|
-
/** Create a new contact property */
|
|
1428
|
-
export const createContactProperty = /*@__PURE__*/ API.make(() => ({
|
|
1429
|
-
input: CreateContactPropertyRequest,
|
|
1430
|
-
output: CreateContactPropertyResponseSuccess,
|
|
1431
|
-
errors: [UnknownResendError],
|
|
1432
|
-
protocol: ResendProtocol,
|
|
1433
|
-
retry: Retry.Retry,
|
|
1434
|
-
}));
|
|
1435
|
-
/** Create a new domain */
|
|
1436
|
-
export const createDomain = /*@__PURE__*/ API.make(() => ({
|
|
1437
|
-
input: CreateDomainRequest,
|
|
1438
|
-
output: CreateDomainResponse,
|
|
1439
|
-
errors: [UnknownResendError],
|
|
1440
|
-
protocol: ResendProtocol,
|
|
1441
|
-
retry: Retry.Retry,
|
|
1442
|
-
}));
|
|
1443
|
-
/** Send an email */
|
|
1444
|
-
export const createEmail = /*@__PURE__*/ API.make(() => ({
|
|
1445
|
-
input: CreateEmailRequest,
|
|
1446
|
-
output: SendEmailResponse,
|
|
1447
|
-
errors: [UnknownResendError],
|
|
1448
|
-
protocol: ResendProtocol,
|
|
1449
|
-
retry: Retry.Retry,
|
|
1450
|
-
}));
|
|
1451
|
-
/** Trigger up to 100 batch emails at once. */
|
|
1452
|
-
export const createEmailBatch = /*@__PURE__*/ API.make(() => ({
|
|
1453
|
-
input: CreateEmailBatchRequest,
|
|
1454
|
-
output: CreateBatchEmailsResponse,
|
|
1455
|
-
errors: [UnknownResendError],
|
|
1456
|
-
protocol: ResendProtocol,
|
|
1457
|
-
retry: Retry.Retry,
|
|
1458
|
-
}));
|
|
1459
|
-
/** Create an event */
|
|
1460
|
-
export const createEvent = /*@__PURE__*/ API.make(() => ({
|
|
1461
|
-
input: CreateEventRequest,
|
|
1462
|
-
output: CreateEventResponse,
|
|
1463
|
-
errors: [UnknownResendError],
|
|
1464
|
-
protocol: ResendProtocol,
|
|
1465
|
-
retry: Retry.Retry,
|
|
1466
|
-
}));
|
|
1467
|
-
/** Create a new segment */
|
|
1468
|
-
export const createSegment = /*@__PURE__*/ API.make(() => ({
|
|
1469
|
-
input: CreateSegmentRequest,
|
|
1470
|
-
output: CreateSegmentResponseSuccess,
|
|
1471
|
-
errors: [UnknownResendError],
|
|
1472
|
-
protocol: ResendProtocol,
|
|
1473
|
-
retry: Retry.Retry,
|
|
1474
|
-
}));
|
|
1475
|
-
/** Create a template */
|
|
1476
|
-
export const createTemplate = /*@__PURE__*/ API.make(() => ({
|
|
1477
|
-
input: CreateTemplateRequest,
|
|
1478
|
-
output: CreateTemplateResponseSuccess,
|
|
1479
|
-
errors: [UnknownResendError],
|
|
1480
|
-
protocol: ResendProtocol,
|
|
1481
|
-
retry: Retry.Retry,
|
|
1482
|
-
}));
|
|
1483
|
-
/** Create a new topic */
|
|
1484
|
-
export const createTopic = /*@__PURE__*/ API.make(() => ({
|
|
1485
|
-
input: CreateTopicRequest,
|
|
1486
|
-
output: CreateTopicResponseSuccess,
|
|
1487
|
-
errors: [UnknownResendError],
|
|
1488
|
-
protocol: ResendProtocol,
|
|
1489
|
-
retry: Retry.Retry,
|
|
1490
|
-
}));
|
|
1491
|
-
/** Create a new webhook */
|
|
1492
|
-
export const createWebhook = /*@__PURE__*/ API.make(() => ({
|
|
1493
|
-
input: CreateWebhookRequest,
|
|
1494
|
-
output: CreateWebhookResponse,
|
|
1495
|
-
errors: [UnknownResendError],
|
|
1496
|
-
protocol: ResendProtocol,
|
|
1497
|
-
retry: Retry.Retry,
|
|
1498
|
-
}));
|
|
1499
|
-
/** Remove an existing API key */
|
|
1500
|
-
export const deleteApiKey = /*@__PURE__*/ API.make(() => ({
|
|
1501
|
-
input: DeleteApiKeyRequest,
|
|
1502
|
-
output: DeleteApiKeyResponse,
|
|
1503
|
-
errors: [UnknownResendError],
|
|
1504
|
-
protocol: ResendProtocol,
|
|
1505
|
-
retry: Retry.Retry,
|
|
1506
|
-
}));
|
|
1507
|
-
/** Delete an automation */
|
|
1508
|
-
export const deleteAutomation = /*@__PURE__*/ API.make(() => ({
|
|
1509
|
-
input: DeleteAutomationRequest,
|
|
1510
|
-
output: DeleteAutomationResponse,
|
|
1511
|
-
errors: [UnknownResendError],
|
|
1512
|
-
protocol: ResendProtocol,
|
|
1513
|
-
retry: Retry.Retry,
|
|
1514
|
-
}));
|
|
1515
|
-
/** Remove an existing broadcast that is in the draft status */
|
|
1516
|
-
export const deleteBroadcast = /*@__PURE__*/ API.make(() => ({
|
|
1517
|
-
input: DeleteBroadcastRequest,
|
|
1518
|
-
output: RemoveBroadcastResponseSuccess,
|
|
1519
|
-
errors: [UnknownResendError],
|
|
1520
|
-
protocol: ResendProtocol,
|
|
1521
|
-
retry: Retry.Retry,
|
|
1522
|
-
}));
|
|
1523
|
-
/** Remove an existing contact by ID or email */
|
|
1524
|
-
export const deleteContact = /*@__PURE__*/ API.make(() => ({
|
|
1525
|
-
input: DeleteContactRequest,
|
|
1526
|
-
output: RemoveContactResponseSuccess,
|
|
1527
|
-
errors: [UnknownResendError],
|
|
1528
|
-
protocol: ResendProtocol,
|
|
1529
|
-
retry: Retry.Retry,
|
|
1530
|
-
}));
|
|
1531
|
-
/** Remove an existing contact property */
|
|
1532
|
-
export const deleteContactProperty = /*@__PURE__*/ API.make(() => ({
|
|
1533
|
-
input: DeleteContactPropertyRequest,
|
|
1534
|
-
output: RemoveContactPropertyResponseSuccess,
|
|
1535
|
-
errors: [UnknownResendError],
|
|
1536
|
-
protocol: ResendProtocol,
|
|
1537
|
-
retry: Retry.Retry,
|
|
1538
|
-
}));
|
|
1539
|
-
/** Remove a contact from a segment */
|
|
1540
|
-
export const deleteContactSegment = /*@__PURE__*/ API.make(() => ({
|
|
1541
|
-
input: DeleteContactSegmentRequest,
|
|
1542
|
-
output: RemoveContactFromSegmentResponseSuccess,
|
|
1543
|
-
errors: [UnknownResendError],
|
|
1544
|
-
protocol: ResendProtocol,
|
|
1545
|
-
retry: Retry.Retry,
|
|
1546
|
-
}));
|
|
1547
|
-
/** Remove an existing domain */
|
|
1548
|
-
export const deleteDomain = /*@__PURE__*/ API.make(() => ({
|
|
1549
|
-
input: DeleteDomainRequest,
|
|
1550
|
-
output: DeleteDomainResponse,
|
|
1551
|
-
errors: [UnknownResendError],
|
|
1552
|
-
protocol: ResendProtocol,
|
|
1553
|
-
retry: Retry.Retry,
|
|
1554
|
-
}));
|
|
1555
|
-
/** Delete an event */
|
|
1556
|
-
export const deleteEvent = /*@__PURE__*/ API.make(() => ({
|
|
1557
|
-
input: DeleteEventRequest,
|
|
1558
|
-
output: RemoveEventResponse,
|
|
1559
|
-
errors: [UnknownResendError],
|
|
1560
|
-
protocol: ResendProtocol,
|
|
1561
|
-
retry: Retry.Retry,
|
|
1562
|
-
}));
|
|
1563
|
-
/** Remove an existing segment */
|
|
1564
|
-
export const deleteSegment = /*@__PURE__*/ API.make(() => ({
|
|
1565
|
-
input: DeleteSegmentRequest,
|
|
1566
|
-
output: RemoveSegmentResponseSuccess,
|
|
1567
|
-
errors: [UnknownResendError],
|
|
1568
|
-
protocol: ResendProtocol,
|
|
1569
|
-
retry: Retry.Retry,
|
|
1570
|
-
}));
|
|
1571
|
-
/** Remove an existing template */
|
|
1572
|
-
export const deleteTemplate = /*@__PURE__*/ API.make(() => ({
|
|
1573
|
-
input: DeleteTemplateRequest,
|
|
1574
|
-
output: RemoveTemplateResponseSuccess,
|
|
1575
|
-
errors: [UnknownResendError],
|
|
1576
|
-
protocol: ResendProtocol,
|
|
1577
|
-
retry: Retry.Retry,
|
|
1578
|
-
}));
|
|
1579
|
-
/** Remove an existing topic */
|
|
1580
|
-
export const deleteTopic = /*@__PURE__*/ API.make(() => ({
|
|
1581
|
-
input: DeleteTopicRequest,
|
|
1582
|
-
output: RemoveTopicResponseSuccess,
|
|
1583
|
-
errors: [UnknownResendError],
|
|
1584
|
-
protocol: ResendProtocol,
|
|
1585
|
-
retry: Retry.Retry,
|
|
1586
|
-
}));
|
|
1587
|
-
/** Remove an existing webhook */
|
|
1588
|
-
export const deleteWebhook = /*@__PURE__*/ API.make(() => ({
|
|
1589
|
-
input: DeleteWebhookRequest,
|
|
1590
|
-
output: DeleteWebhookResponse,
|
|
1591
|
-
errors: [UnknownResendError],
|
|
1592
|
-
protocol: ResendProtocol,
|
|
1593
|
-
retry: Retry.Retry,
|
|
1594
|
-
}));
|
|
1595
|
-
/** Duplicate a template */
|
|
1596
|
-
export const duplicateTemplate = /*@__PURE__*/ API.make(() => ({
|
|
1597
|
-
input: DuplicateTemplateRequest,
|
|
1598
|
-
output: DuplicateTemplateResponseSuccess,
|
|
1599
|
-
errors: [UnknownResendError],
|
|
1600
|
-
protocol: ResendProtocol,
|
|
1601
|
-
retry: Retry.Retry,
|
|
1602
|
-
}));
|
|
1603
|
-
/** Retrieve a single automation */
|
|
1604
|
-
export const getAutomation = /*@__PURE__*/ API.make(() => ({
|
|
1605
|
-
input: GetAutomationRequest,
|
|
1606
|
-
output: Automation,
|
|
1607
|
-
errors: [UnknownResendError],
|
|
1608
|
-
protocol: ResendProtocol,
|
|
1609
|
-
retry: Retry.Retry,
|
|
1610
|
-
}));
|
|
1611
|
-
/** Retrieve a single automation run */
|
|
1612
|
-
export const getAutomationRun = /*@__PURE__*/ API.make(() => ({
|
|
1613
|
-
input: GetAutomationRunRequest,
|
|
1614
|
-
output: AutomationRun,
|
|
1615
|
-
errors: [UnknownResendError],
|
|
1616
|
-
protocol: ResendProtocol,
|
|
1617
|
-
retry: Retry.Retry,
|
|
1618
|
-
}));
|
|
1619
|
-
/** Retrieve a single broadcast */
|
|
1620
|
-
export const getBroadcast = /*@__PURE__*/ API.make(() => ({
|
|
1621
|
-
input: GetBroadcastRequest,
|
|
1622
|
-
output: GetBroadcastResponseSuccess,
|
|
1623
|
-
errors: [UnknownResendError],
|
|
1624
|
-
protocol: ResendProtocol,
|
|
1625
|
-
retry: Retry.Retry,
|
|
1626
|
-
}));
|
|
1627
|
-
/** Retrieve a single contact by ID or email */
|
|
1628
|
-
export const getContact = /*@__PURE__*/ API.make(() => ({
|
|
1629
|
-
input: GetContactRequest,
|
|
1630
|
-
output: GetContactResponseSuccess,
|
|
1631
|
-
errors: [UnknownResendError],
|
|
1632
|
-
protocol: ResendProtocol,
|
|
1633
|
-
retry: Retry.Retry,
|
|
1634
|
-
}));
|
|
1635
|
-
/** Retrieve a single contact property */
|
|
1636
|
-
export const getContactProperty = /*@__PURE__*/ API.make(() => ({
|
|
1637
|
-
input: GetContactPropertyRequest,
|
|
1638
|
-
output: GetContactPropertyResponseSuccess,
|
|
1639
|
-
errors: [UnknownResendError],
|
|
1640
|
-
protocol: ResendProtocol,
|
|
1641
|
-
retry: Retry.Retry,
|
|
1642
|
-
}));
|
|
1643
|
-
/** Retrieve a single domain */
|
|
1644
|
-
export const getDomain = /*@__PURE__*/ API.make(() => ({
|
|
1645
|
-
input: GetDomainRequest,
|
|
1646
|
-
output: Domain,
|
|
1647
|
-
errors: [UnknownResendError],
|
|
1648
|
-
protocol: ResendProtocol,
|
|
1649
|
-
retry: Retry.Retry,
|
|
1650
|
-
}));
|
|
1651
|
-
/** Retrieve a single email */
|
|
1652
|
-
export const getEmail =
|
|
1653
|
-
/*@__PURE__*/ API.make(() => ({
|
|
1654
|
-
input: GetEmailRequest,
|
|
1655
|
-
output: Email,
|
|
1656
|
-
errors: [UnknownResendError],
|
|
1657
|
-
protocol: ResendProtocol,
|
|
1658
|
-
retry: Retry.Retry,
|
|
1659
|
-
}));
|
|
1660
|
-
/** Retrieve a single attachment for a sent email */
|
|
1661
|
-
export const getEmailAttachment = /*@__PURE__*/ API.make(() => ({
|
|
1662
|
-
input: GetEmailAttachmentRequest,
|
|
1663
|
-
output: RetrievedAttachment,
|
|
1664
|
-
errors: [UnknownResendError],
|
|
1665
|
-
protocol: ResendProtocol,
|
|
1666
|
-
retry: Retry.Retry,
|
|
1667
|
-
}));
|
|
1668
|
-
/** Retrieve a single received email */
|
|
1669
|
-
export const getEmailReceiving = /*@__PURE__*/ API.make(() => ({
|
|
1670
|
-
input: GetEmailReceivingRequest,
|
|
1671
|
-
output: GetReceivedEmailResponse,
|
|
1672
|
-
errors: [UnknownResendError],
|
|
1673
|
-
protocol: ResendProtocol,
|
|
1674
|
-
retry: Retry.Retry,
|
|
1675
|
-
}));
|
|
1676
|
-
/** Retrieve a single attachment for a received email */
|
|
1677
|
-
export const getEmailReceivingAttachment = /*@__PURE__*/ API.make(() => ({
|
|
1678
|
-
input: GetEmailReceivingAttachmentRequest,
|
|
1679
|
-
output: RetrievedAttachment,
|
|
1680
|
-
errors: [UnknownResendError],
|
|
1681
|
-
protocol: ResendProtocol,
|
|
1682
|
-
retry: Retry.Retry,
|
|
1683
|
-
}));
|
|
1684
|
-
/** Retrieve a single event */
|
|
1685
|
-
export const getEvent =
|
|
1686
|
-
/*@__PURE__*/ API.make(() => ({
|
|
1687
|
-
input: GetEventRequest,
|
|
1688
|
-
output: Event,
|
|
1689
|
-
errors: [UnknownResendError],
|
|
1690
|
-
protocol: ResendProtocol,
|
|
1691
|
-
retry: Retry.Retry,
|
|
1692
|
-
}));
|
|
1693
|
-
/** Retrieve a single log */
|
|
1694
|
-
export const getLog =
|
|
1695
|
-
/*@__PURE__*/ API.make(() => ({
|
|
1696
|
-
input: GetLogRequest,
|
|
1697
|
-
output: Log,
|
|
1698
|
-
errors: [UnknownResendError],
|
|
1699
|
-
protocol: ResendProtocol,
|
|
1700
|
-
retry: Retry.Retry,
|
|
1701
|
-
}));
|
|
1702
|
-
/** Retrieve a single segment */
|
|
1703
|
-
export const getSegment = /*@__PURE__*/ API.make(() => ({
|
|
1704
|
-
input: GetSegmentRequest,
|
|
1705
|
-
output: GetSegmentResponseSuccess,
|
|
1706
|
-
errors: [UnknownResendError],
|
|
1707
|
-
protocol: ResendProtocol,
|
|
1708
|
-
retry: Retry.Retry,
|
|
1709
|
-
}));
|
|
1710
|
-
/** Retrieve a single template */
|
|
1711
|
-
export const getTemplate = /*@__PURE__*/ API.make(() => ({
|
|
1712
|
-
input: GetTemplateRequest,
|
|
1713
|
-
output: Template,
|
|
1714
|
-
errors: [UnknownResendError],
|
|
1715
|
-
protocol: ResendProtocol,
|
|
1716
|
-
retry: Retry.Retry,
|
|
1717
|
-
}));
|
|
1718
|
-
/** Retrieve a single topic */
|
|
1719
|
-
export const getTopic = /*@__PURE__*/ API.make(() => ({
|
|
1720
|
-
input: GetTopicRequest,
|
|
1721
|
-
output: GetTopicResponseSuccess,
|
|
1722
|
-
errors: [UnknownResendError],
|
|
1723
|
-
protocol: ResendProtocol,
|
|
1724
|
-
retry: Retry.Retry,
|
|
1725
|
-
}));
|
|
1726
|
-
/** Retrieve a single webhook */
|
|
1727
|
-
export const getWebhook = /*@__PURE__*/ API.make(() => ({
|
|
1728
|
-
input: GetWebhookRequest,
|
|
1729
|
-
output: GetWebhookResponse,
|
|
1730
|
-
errors: [UnknownResendError],
|
|
1731
|
-
protocol: ResendProtocol,
|
|
1732
|
-
retry: Retry.Retry,
|
|
1733
|
-
}));
|
|
1734
|
-
/** Retrieve a list of API keys */
|
|
1735
|
-
export const listApiKeys = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1736
|
-
input: ListApiKeysRequest,
|
|
1737
|
-
output: ListApiKeysResponse,
|
|
1738
|
-
errors: [UnknownResendError],
|
|
1739
|
-
protocol: ResendProtocol,
|
|
1740
|
-
retry: Retry.Retry,
|
|
1741
|
-
pagination: {
|
|
1742
|
-
mode: "cursor",
|
|
1743
|
-
inputToken: "after",
|
|
1744
|
-
items: "data",
|
|
1745
|
-
hasNextPage: "has_more",
|
|
1746
|
-
pageSize: "limit",
|
|
1747
|
-
},
|
|
1748
|
-
}), paginateResend);
|
|
1749
|
-
/** Retrieve a list of automation runs */
|
|
1750
|
-
export const listAutomationRuns = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1751
|
-
input: ListAutomationRunsRequest,
|
|
1752
|
-
output: ListAutomationRunsResponse,
|
|
1753
|
-
errors: [UnknownResendError],
|
|
1754
|
-
protocol: ResendProtocol,
|
|
1755
|
-
retry: Retry.Retry,
|
|
1756
|
-
pagination: {
|
|
1757
|
-
mode: "cursor",
|
|
1758
|
-
inputToken: "after",
|
|
1759
|
-
items: "data",
|
|
1760
|
-
hasNextPage: "has_more",
|
|
1761
|
-
pageSize: "limit",
|
|
1762
|
-
},
|
|
1763
|
-
}), paginateResend);
|
|
1764
|
-
/** Retrieve a list of automations */
|
|
1765
|
-
export const listAutomations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1766
|
-
input: ListAutomationsRequest,
|
|
1767
|
-
output: ListAutomationsResponse,
|
|
1768
|
-
errors: [UnknownResendError],
|
|
1769
|
-
protocol: ResendProtocol,
|
|
1770
|
-
retry: Retry.Retry,
|
|
1771
|
-
pagination: {
|
|
1772
|
-
mode: "cursor",
|
|
1773
|
-
inputToken: "after",
|
|
1774
|
-
items: "data",
|
|
1775
|
-
hasNextPage: "has_more",
|
|
1776
|
-
pageSize: "limit",
|
|
1777
|
-
},
|
|
1778
|
-
}), paginateResend);
|
|
1779
|
-
/** Retrieve a list of broadcasts */
|
|
1780
|
-
export const listBroadcasts = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1781
|
-
input: ListBroadcastsRequest,
|
|
1782
|
-
output: ListBroadcastsResponseSuccess,
|
|
1783
|
-
errors: [UnknownResendError],
|
|
1784
|
-
protocol: ResendProtocol,
|
|
1785
|
-
retry: Retry.Retry,
|
|
1786
|
-
pagination: {
|
|
1787
|
-
mode: "cursor",
|
|
1788
|
-
inputToken: "after",
|
|
1789
|
-
items: "data",
|
|
1790
|
-
hasNextPage: "has_more",
|
|
1791
|
-
pageSize: "limit",
|
|
1792
|
-
},
|
|
1793
|
-
}), paginateResend);
|
|
1794
|
-
/** Retrieve a list of contact properties */
|
|
1795
|
-
export const listContactProperties = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1796
|
-
input: ListContactPropertiesRequest,
|
|
1797
|
-
output: ListContactPropertiesResponseSuccess,
|
|
1798
|
-
errors: [UnknownResendError],
|
|
1799
|
-
protocol: ResendProtocol,
|
|
1800
|
-
retry: Retry.Retry,
|
|
1801
|
-
pagination: {
|
|
1802
|
-
mode: "cursor",
|
|
1803
|
-
inputToken: "after",
|
|
1804
|
-
items: "data",
|
|
1805
|
-
hasNextPage: "has_more",
|
|
1806
|
-
pageSize: "limit",
|
|
1807
|
-
},
|
|
1808
|
-
}), paginateResend);
|
|
1809
|
-
/** Retrieve a list of contacts */
|
|
1810
|
-
export const listContacts = /*@__PURE__*/ API.make(() => ({
|
|
1811
|
-
input: ListContactsRequest,
|
|
1812
|
-
output: ListContactsResponseSuccess,
|
|
1813
|
-
errors: [UnknownResendError],
|
|
1814
|
-
protocol: ResendProtocol,
|
|
1815
|
-
retry: Retry.Retry,
|
|
1816
|
-
}));
|
|
1817
|
-
/** Retrieve a list of segments for a contact */
|
|
1818
|
-
export const listContactSegments = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1819
|
-
input: ListContactSegmentsRequest,
|
|
1820
|
-
output: ListContactSegmentsResponseSuccess,
|
|
1821
|
-
errors: [UnknownResendError],
|
|
1822
|
-
protocol: ResendProtocol,
|
|
1823
|
-
retry: Retry.Retry,
|
|
1824
|
-
pagination: {
|
|
1825
|
-
mode: "cursor",
|
|
1826
|
-
inputToken: "after",
|
|
1827
|
-
items: "data",
|
|
1828
|
-
hasNextPage: "has_more",
|
|
1829
|
-
pageSize: "limit",
|
|
1830
|
-
},
|
|
1831
|
-
}), paginateResend);
|
|
1832
|
-
/** Retrieve topics for a contact */
|
|
1833
|
-
export const listContactTopics = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1834
|
-
input: ListContactTopicsRequest,
|
|
1835
|
-
output: GetContactTopicsResponseSuccess,
|
|
1836
|
-
errors: [UnknownResendError],
|
|
1837
|
-
protocol: ResendProtocol,
|
|
1838
|
-
retry: Retry.Retry,
|
|
1839
|
-
pagination: {
|
|
1840
|
-
mode: "cursor",
|
|
1841
|
-
inputToken: "after",
|
|
1842
|
-
items: "data",
|
|
1843
|
-
hasNextPage: "has_more",
|
|
1844
|
-
pageSize: "limit",
|
|
1845
|
-
},
|
|
1846
|
-
}), paginateResend);
|
|
1847
|
-
/** Retrieve a list of domains */
|
|
1848
|
-
export const listDomains = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1849
|
-
input: ListDomainsRequest,
|
|
1850
|
-
output: ListDomainsResponse,
|
|
1851
|
-
errors: [UnknownResendError],
|
|
1852
|
-
protocol: ResendProtocol,
|
|
1853
|
-
retry: Retry.Retry,
|
|
1854
|
-
pagination: {
|
|
1855
|
-
mode: "cursor",
|
|
1856
|
-
inputToken: "after",
|
|
1857
|
-
items: "data",
|
|
1858
|
-
hasNextPage: "has_more",
|
|
1859
|
-
pageSize: "limit",
|
|
1860
|
-
},
|
|
1861
|
-
}), paginateResend);
|
|
1862
|
-
/** Retrieve a list of attachments for a sent email */
|
|
1863
|
-
export const listEmailAttachments = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1864
|
-
input: ListEmailAttachmentsRequest,
|
|
1865
|
-
output: ListAttachmentsResponse,
|
|
1866
|
-
errors: [UnknownResendError],
|
|
1867
|
-
protocol: ResendProtocol,
|
|
1868
|
-
retry: Retry.Retry,
|
|
1869
|
-
pagination: {
|
|
1870
|
-
mode: "cursor",
|
|
1871
|
-
inputToken: "after",
|
|
1872
|
-
items: "data",
|
|
1873
|
-
hasNextPage: "has_more",
|
|
1874
|
-
pageSize: "limit",
|
|
1875
|
-
},
|
|
1876
|
-
}), paginateResend);
|
|
1877
|
-
/** Retrieve a list of received emails */
|
|
1878
|
-
export const listEmailReceiving = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1879
|
-
input: ListEmailReceivingRequest,
|
|
1880
|
-
output: ListReceivedEmailsResponse,
|
|
1881
|
-
errors: [UnknownResendError],
|
|
1882
|
-
protocol: ResendProtocol,
|
|
1883
|
-
retry: Retry.Retry,
|
|
1884
|
-
pagination: {
|
|
1885
|
-
mode: "cursor",
|
|
1886
|
-
inputToken: "after",
|
|
1887
|
-
items: "data",
|
|
1888
|
-
hasNextPage: "has_more",
|
|
1889
|
-
pageSize: "limit",
|
|
1890
|
-
},
|
|
1891
|
-
}), paginateResend);
|
|
1892
|
-
/** Retrieve a list of attachments for a received email */
|
|
1893
|
-
export const listEmailReceivingAttachments = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1894
|
-
input: ListEmailReceivingAttachmentsRequest,
|
|
1895
|
-
output: ListAttachmentsResponse,
|
|
1896
|
-
errors: [UnknownResendError],
|
|
1897
|
-
protocol: ResendProtocol,
|
|
1898
|
-
retry: Retry.Retry,
|
|
1899
|
-
pagination: {
|
|
1900
|
-
mode: "cursor",
|
|
1901
|
-
inputToken: "after",
|
|
1902
|
-
items: "data",
|
|
1903
|
-
hasNextPage: "has_more",
|
|
1904
|
-
pageSize: "limit",
|
|
1905
|
-
},
|
|
1906
|
-
}), paginateResend);
|
|
1907
|
-
/** Retrieve a list of emails */
|
|
1908
|
-
export const listEmails = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1909
|
-
input: ListEmailsRequest,
|
|
1910
|
-
output: ListEmailsResponse,
|
|
1911
|
-
errors: [UnknownResendError],
|
|
1912
|
-
protocol: ResendProtocol,
|
|
1913
|
-
retry: Retry.Retry,
|
|
1914
|
-
pagination: {
|
|
1915
|
-
mode: "cursor",
|
|
1916
|
-
inputToken: "after",
|
|
1917
|
-
items: "data",
|
|
1918
|
-
hasNextPage: "has_more",
|
|
1919
|
-
pageSize: "limit",
|
|
1920
|
-
},
|
|
1921
|
-
}), paginateResend);
|
|
1922
|
-
/** Retrieve a list of events */
|
|
1923
|
-
export const listEvents = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1924
|
-
input: ListEventsRequest,
|
|
1925
|
-
output: ListEventsResponse,
|
|
1926
|
-
errors: [UnknownResendError],
|
|
1927
|
-
protocol: ResendProtocol,
|
|
1928
|
-
retry: Retry.Retry,
|
|
1929
|
-
pagination: {
|
|
1930
|
-
mode: "cursor",
|
|
1931
|
-
inputToken: "after",
|
|
1932
|
-
items: "data",
|
|
1933
|
-
hasNextPage: "has_more",
|
|
1934
|
-
pageSize: "limit",
|
|
1935
|
-
},
|
|
1936
|
-
}), paginateResend);
|
|
1937
|
-
/** Retrieve a list of logs */
|
|
1938
|
-
export const listLogs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1939
|
-
input: ListLogsRequest,
|
|
1940
|
-
output: ListLogsResponse,
|
|
1941
|
-
errors: [UnknownResendError],
|
|
1942
|
-
protocol: ResendProtocol,
|
|
1943
|
-
retry: Retry.Retry,
|
|
1944
|
-
pagination: {
|
|
1945
|
-
mode: "cursor",
|
|
1946
|
-
inputToken: "after",
|
|
1947
|
-
items: "data",
|
|
1948
|
-
hasNextPage: "has_more",
|
|
1949
|
-
pageSize: "limit",
|
|
1950
|
-
},
|
|
1951
|
-
}), paginateResend);
|
|
1952
|
-
/** Retrieve a list of segments */
|
|
1953
|
-
export const listSegments = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1954
|
-
input: ListSegmentsRequest,
|
|
1955
|
-
output: ListSegmentsResponseSuccess,
|
|
1956
|
-
errors: [UnknownResendError],
|
|
1957
|
-
protocol: ResendProtocol,
|
|
1958
|
-
retry: Retry.Retry,
|
|
1959
|
-
pagination: {
|
|
1960
|
-
mode: "cursor",
|
|
1961
|
-
inputToken: "after",
|
|
1962
|
-
items: "data",
|
|
1963
|
-
hasNextPage: "has_more",
|
|
1964
|
-
pageSize: "limit",
|
|
1965
|
-
},
|
|
1966
|
-
}), paginateResend);
|
|
1967
|
-
/** Retrieve a list of templates */
|
|
1968
|
-
export const listTemplates = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1969
|
-
input: ListTemplatesRequest,
|
|
1970
|
-
output: ListTemplatesResponseSuccess,
|
|
1971
|
-
errors: [UnknownResendError],
|
|
1972
|
-
protocol: ResendProtocol,
|
|
1973
|
-
retry: Retry.Retry,
|
|
1974
|
-
pagination: {
|
|
1975
|
-
mode: "cursor",
|
|
1976
|
-
inputToken: "after",
|
|
1977
|
-
items: "data",
|
|
1978
|
-
hasNextPage: "has_more",
|
|
1979
|
-
pageSize: "limit",
|
|
1980
|
-
},
|
|
1981
|
-
}), paginateResend);
|
|
1982
|
-
/** Retrieve a list of topics */
|
|
1983
|
-
export const listTopics = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1984
|
-
input: ListTopicsRequest,
|
|
1985
|
-
output: ListTopicsResponseSuccess,
|
|
1986
|
-
errors: [UnknownResendError],
|
|
1987
|
-
protocol: ResendProtocol,
|
|
1988
|
-
retry: Retry.Retry,
|
|
1989
|
-
pagination: {
|
|
1990
|
-
mode: "cursor",
|
|
1991
|
-
inputToken: "after",
|
|
1992
|
-
items: "data",
|
|
1993
|
-
hasNextPage: "has_more",
|
|
1994
|
-
pageSize: "limit",
|
|
1995
|
-
},
|
|
1996
|
-
}), paginateResend);
|
|
1997
|
-
/** Retrieve a list of webhooks */
|
|
1998
|
-
export const listWebhooks = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1999
|
-
input: ListWebhooksRequest,
|
|
2000
|
-
output: ListWebhooksResponse,
|
|
2001
|
-
errors: [UnknownResendError],
|
|
2002
|
-
protocol: ResendProtocol,
|
|
2003
|
-
retry: Retry.Retry,
|
|
2004
|
-
pagination: {
|
|
2005
|
-
mode: "cursor",
|
|
2006
|
-
inputToken: "after",
|
|
2007
|
-
items: "data",
|
|
2008
|
-
hasNextPage: "has_more",
|
|
2009
|
-
pageSize: "limit",
|
|
2010
|
-
},
|
|
2011
|
-
}), paginateResend);
|
|
2012
|
-
/** Publish a template */
|
|
2013
|
-
export const publishTemplate = /*@__PURE__*/ API.make(() => ({
|
|
2014
|
-
input: PublishTemplateRequest,
|
|
2015
|
-
output: PublishTemplateResponseSuccess,
|
|
2016
|
-
errors: [UnknownResendError],
|
|
2017
|
-
protocol: ResendProtocol,
|
|
2018
|
-
retry: Retry.Retry,
|
|
2019
|
-
}));
|
|
2020
|
-
/** Send or schedule a broadcast */
|
|
2021
|
-
export const sendBroadcast = /*@__PURE__*/ API.make(() => ({
|
|
2022
|
-
input: SendBroadcastRequest,
|
|
2023
|
-
output: SendBroadcastResponseSuccess,
|
|
2024
|
-
errors: [UnknownResendError],
|
|
2025
|
-
protocol: ResendProtocol,
|
|
2026
|
-
retry: Retry.Retry,
|
|
2027
|
-
}));
|
|
2028
|
-
/** Send an event */
|
|
2029
|
-
export const sendEvent = /*@__PURE__*/ API.make(() => ({
|
|
2030
|
-
input: SendEventRequest,
|
|
2031
|
-
output: SendEventResponse,
|
|
2032
|
-
errors: [UnknownResendError],
|
|
2033
|
-
protocol: ResendProtocol,
|
|
2034
|
-
retry: Retry.Retry,
|
|
2035
|
-
}));
|
|
2036
|
-
/** Stop an automation */
|
|
2037
|
-
export const stopAutomation = /*@__PURE__*/ API.make(() => ({
|
|
2038
|
-
input: StopAutomationRequest,
|
|
2039
|
-
output: StopAutomationResponse,
|
|
2040
|
-
errors: [UnknownResendError],
|
|
2041
|
-
protocol: ResendProtocol,
|
|
2042
|
-
retry: Retry.Retry,
|
|
2043
|
-
}));
|
|
2044
|
-
/** Update an automation */
|
|
2045
|
-
export const updateAutomation = /*@__PURE__*/ API.make(() => ({
|
|
2046
|
-
input: UpdateAutomationRequest,
|
|
2047
|
-
output: PatchAutomationResponse,
|
|
2048
|
-
errors: [UnknownResendError],
|
|
2049
|
-
protocol: ResendProtocol,
|
|
2050
|
-
retry: Retry.Retry,
|
|
2051
|
-
}));
|
|
2052
|
-
/** Update an existing broadcast */
|
|
2053
|
-
export const updateBroadcast = /*@__PURE__*/ API.make(() => ({
|
|
2054
|
-
input: UpdateBroadcastRequest,
|
|
2055
|
-
output: UpdateBroadcastResponseSuccess,
|
|
2056
|
-
errors: [UnknownResendError],
|
|
2057
|
-
protocol: ResendProtocol,
|
|
2058
|
-
retry: Retry.Retry,
|
|
2059
|
-
}));
|
|
2060
|
-
/** Update a single contact by ID or email */
|
|
2061
|
-
export const updateContact = /*@__PURE__*/ API.make(() => ({
|
|
2062
|
-
input: UpdateContactRequest,
|
|
2063
|
-
output: UpdateContactResponseSuccess,
|
|
2064
|
-
errors: [UnknownResendError],
|
|
2065
|
-
protocol: ResendProtocol,
|
|
2066
|
-
retry: Retry.Retry,
|
|
2067
|
-
}));
|
|
2068
|
-
/** Update an existing contact property */
|
|
2069
|
-
export const updateContactProperty = /*@__PURE__*/ API.make(() => ({
|
|
2070
|
-
input: UpdateContactPropertyRequest,
|
|
2071
|
-
output: UpdateContactPropertyResponseSuccess,
|
|
2072
|
-
errors: [UnknownResendError],
|
|
2073
|
-
protocol: ResendProtocol,
|
|
2074
|
-
retry: Retry.Retry,
|
|
2075
|
-
}));
|
|
2076
|
-
/** Add a contact to a segment */
|
|
2077
|
-
export const updateContactSegment = /*@__PURE__*/ API.make(() => ({
|
|
2078
|
-
input: UpdateContactSegmentRequest,
|
|
2079
|
-
output: AddContactToSegmentResponseSuccess,
|
|
2080
|
-
errors: [UnknownResendError],
|
|
2081
|
-
protocol: ResendProtocol,
|
|
2082
|
-
retry: Retry.Retry,
|
|
2083
|
-
}));
|
|
2084
|
-
/** Update topics for a contact */
|
|
2085
|
-
export const updateContactTopics = /*@__PURE__*/ API.make(() => ({
|
|
2086
|
-
input: UpdateContactTopicsRequest,
|
|
2087
|
-
output: UpdateContactTopicsResponseSuccess,
|
|
2088
|
-
errors: [UnknownResendError],
|
|
2089
|
-
protocol: ResendProtocol,
|
|
2090
|
-
retry: Retry.Retry,
|
|
2091
|
-
}));
|
|
2092
|
-
/** Update an existing domain */
|
|
2093
|
-
export const updateDomain = /*@__PURE__*/ API.make(() => ({
|
|
2094
|
-
input: UpdateDomainRequest,
|
|
2095
|
-
output: UpdateDomainResponseSuccess,
|
|
2096
|
-
errors: [UnknownResendError],
|
|
2097
|
-
protocol: ResendProtocol,
|
|
2098
|
-
retry: Retry.Retry,
|
|
2099
|
-
}));
|
|
2100
|
-
/** Update a single email */
|
|
2101
|
-
export const updateEmail = /*@__PURE__*/ API.make(() => ({
|
|
2102
|
-
input: UpdateEmailRequest,
|
|
2103
|
-
output: UpdateEmailOptions,
|
|
2104
|
-
errors: [UnknownResendError],
|
|
2105
|
-
protocol: ResendProtocol,
|
|
2106
|
-
retry: Retry.Retry,
|
|
2107
|
-
}));
|
|
2108
|
-
/** Update an event */
|
|
2109
|
-
export const updateEvent = /*@__PURE__*/ API.make(() => ({
|
|
2110
|
-
input: UpdateEventRequest,
|
|
2111
|
-
output: UpdateEventResponse,
|
|
2112
|
-
errors: [UnknownResendError],
|
|
2113
|
-
protocol: ResendProtocol,
|
|
2114
|
-
retry: Retry.Retry,
|
|
2115
|
-
}));
|
|
2116
|
-
/** Update an existing template */
|
|
2117
|
-
export const updateTemplate = /*@__PURE__*/ API.make(() => ({
|
|
2118
|
-
input: UpdateTemplateRequest,
|
|
2119
|
-
output: UpdateTemplateResponseSuccess,
|
|
2120
|
-
errors: [UnknownResendError],
|
|
2121
|
-
protocol: ResendProtocol,
|
|
2122
|
-
retry: Retry.Retry,
|
|
2123
|
-
}));
|
|
2124
|
-
/** Update an existing topic */
|
|
2125
|
-
export const updateTopic = /*@__PURE__*/ API.make(() => ({
|
|
2126
|
-
input: UpdateTopicRequest,
|
|
2127
|
-
output: UpdateTopicResponseSuccess,
|
|
2128
|
-
errors: [UnknownResendError],
|
|
2129
|
-
protocol: ResendProtocol,
|
|
2130
|
-
retry: Retry.Retry,
|
|
2131
|
-
}));
|
|
2132
|
-
/** Update an existing webhook */
|
|
2133
|
-
export const updateWebhook = /*@__PURE__*/ API.make(() => ({
|
|
2134
|
-
input: UpdateWebhookRequest,
|
|
2135
|
-
output: UpdateWebhookResponse,
|
|
2136
|
-
errors: [UnknownResendError],
|
|
2137
|
-
protocol: ResendProtocol,
|
|
2138
|
-
retry: Retry.Retry,
|
|
2139
|
-
}));
|
|
2140
|
-
/** Verify an existing domain Triggers verification of the domain's DNS records including DKIM, SPF, and the tracking CNAME (if a tracking subdomain is configured). */
|
|
2141
|
-
export const verifyDomain = /*@__PURE__*/ API.make(() => ({
|
|
2142
|
-
input: VerifyDomainRequest,
|
|
2143
|
-
output: VerifyDomainResponse,
|
|
2144
|
-
errors: [UnknownResendError],
|
|
2145
|
-
protocol: ResendProtocol,
|
|
2146
|
-
retry: Retry.Retry,
|
|
2147
|
-
}));
|
|
1
|
+
import{a as e,c as t,d as n,errors$UnknownResendError as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,pagination$paginateResend as p,protocol$ResendProtocol as m,r as h,retry$Retry as g,s as _,t as v,traits$Http as y,traits$HttpBody as ee,traits$Label as b,traits$Query as x,traits$SensitiveValue as te,u as S}from"../_bundle/sdk.js";const C=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"CancelEmailRequest";$4({email_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/emails/{email_id}/cancel",code:200}))`,[c,y,b,d,_,n,__d1,r,m,g]]:f(C,e));const w=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$6],protocol:$7,retry:$8};$5(>3)@"CreateApiKeyRequest";$5(>4)@"CreateApiKeyResponse";$4({name:$2,permission:$3($2),domain_id:$3($2)}).pipe($1({method:"POST",uri:"/api-keys",code:200}));$4({id:$3($2),token:$3($2)})`,[c,y,d,S,_,n,r,m,g]]:f(w,e));const T=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"CreateAutomationRequest";$6({name:$2,status:$3($2),steps:#4:1,connections:#5:1}).pipe($1({method:"POST",uri:"/automations",code:200}))`,[c,y,d,S,__d7,__d5,_,n,__d6,r,m,g]]:f(T,e));const E=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"CreateBroadcastRequest";$6({name:$3($2),segment_id:$2,audience_id:$3($2),from:$2,subject:$2,reply_to:$3(#4:0),preview_text:$3($2),html:$3($2),text:$3($2),topic_id:$3($2),send:$3($5),scheduled_at:$3($2)}).pipe($1({method:"POST",uri:"/broadcasts",code:200}))`,[c,y,d,S,__d0,u,_,n,__d8,r,m,g]]:f(E,e));const D=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#10:0,errors:[$11],protocol:$12,retry:$13};$9(>2)@"CreateContactRequest";$8({email:$2,first_name:$3($2),last_name:$3($2),unsubscribed:$3($4),properties:$3(#5:0),segments:$3(#6:0),topics:$3(#7:1),audience_id:$3($2)}).pipe($1({method:"POST",uri:"/contacts",code:200}))`,[c,y,d,S,u,__d11,__d0,__d12,_,n,__d6,r,m,g]]:f(D,e));const O=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"CreateContactPropertyRequest";$5({key:$2,type:$2,fallback_value:$4($3)}).pipe($1({method:"POST",uri:"/contact-properties",code:200}))`,[c,y,d,t,S,_,n,__d8,r,m,g]]:f(O,e));const k=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$9],protocol:$10,retry:$11};$7(>3)@"CreateDomainRequest";$7(>4)@"CreateDomainResponse";$6({name:$2,region:$3($2),custom_return_path:$3($2),open_tracking:$3($4),click_tracking:$3($4),tls:$3($2),capabilities:$3(#5:0),tracking_subdomain:$3($2)}).pipe($1({method:"POST",uri:"/domains",code:200}));$6({id:$3($2),name:$3($2),created_at:$3($2),status:$3($2),capabilities:$3(#5:0),records:$3(#8:1),region:$3($2),open_tracking:$3($4),click_tracking:$3($4),tracking_subdomain:$3($2)})`,[c,y,d,S,u,__d15,_,n,__d14,r,m,g]]:f(k,e));const A=/*@__PURE__*/ o(a=>a===i?l(`CreateEmailRequest`,`{input:#3,output:#9:0,errors:[$10],protocol:$11,retry:$12};$3($1,$2);$6(>4)@"%Template";$6(>5)@"%";$5({id:$1,variables:$4(#1)});$5({from:$1,to:$2,subject:$1,bcc:$4($2),cc:$4($2),reply_to:$4($2),html:$4($1),text:$4($1),template:$4(#2),headers:$4($2),scheduled_at:$4($1),attachments:$4(#8:1),tags:$4(#8:3),topic_id:$4($1)}).pipe($7({method:"POST",uri:"/emails",code:200}))`,[c,d,t,e,S,_,n,y,__d16,__d17,r,m,g]):f(A,a));const j=/*@__PURE__*/ o(a=>a===i?l(`SendEmailRequest`,`{input:#5,output:#7,errors:[$12],protocol:$13,retry:$14};$3($1,$2);$6(>8)@"%Template";$6(>9)@"%";$8(#3);$6(>10)@"CreateEmailBatchRequest";$8(#11:0);$6(>11)@"CreateBatchEmailsResponse";$5({id:$1,variables:$4(#1)});$5({from:$1,to:$2,subject:$1,bcc:$4($2),cc:$4($2),reply_to:$4($2),html:$4($1),text:$4($1),template:$4(#2),headers:$4($2),scheduled_at:$4($1),attachments:$4(#7:1),tags:$4(#7:3),topic_id:$4($1)});$5({body:$4(#4.pipe($10()))}).pipe($9({method:"POST",uri:"/emails/batch",code:200}));$5({data:$4(#6)})`,[c,d,t,e,S,_,n,__d16,v,y,ee,__d17,r,m,g]):f(j,a));const M=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"CreateEventRequest";$6({name:$2,schema:$5($4($3))}).pipe($1({method:"POST",uri:"/events",code:200}))`,[c,y,d,t,h,S,_,n,__d6,r,m,g]]:f(M,e));const N=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"CreateSegmentRequest";$5({name:$2,audience_id:$3($2),filter:$3($4)}).pipe($1({method:"POST",uri:"/segments",code:200}))`,[c,y,d,S,t,_,n,__d8,r,m,g]]:f(N,e));const P=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"CreateTemplateRequest";$6({name:$2,alias:$3($2),from:$3($2),subject:$3($2),reply_to:$3(#4:0),html:$2,text:$3($2),variables:$3(#5:1)}).pipe($1({method:"POST",uri:"/templates",code:200}))`,[c,y,d,S,__d0,__d2,_,n,__d8,r,m,g]]:f(P,e));const F=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"CreateTopicRequest";$4({name:$2,default_subscription:$2,description:$3($2),visibility:$3($2)}).pipe($1({method:"POST",uri:"/topics",code:200}))`,[c,y,d,S,_,n,__d8,r,m,g]]:f(F,e));const I=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"CreateWebhookRequest";$5(>4)@"CreateWebhookResponse";$4({endpoint:$2,events:#3:0}).pipe($1({method:"POST",uri:"/webhooks",code:200}));$4({object:$6($2),id:$6($2),signing_secret:$6($2.pipe($7({})))})`,[c,y,d,__d0,_,n,S,te,r,m,g]]:f(I,e));const L=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteApiKeyRequest";$4({api_key_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/api-keys/{api_key_id}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(L,e));const R=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteAutomationRequest";$4({automation_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/automations/{automation_id}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(R,e));const z=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteBroadcastRequest";$4({id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/broadcasts/{id}",code:200}))`,[c,y,b,d,_,n,__d4,r,m,g]]:f(z,e));const B=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteContactRequest";$4({id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/contacts/{id}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(B,e));const V=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteContactPropertyRequest";$4({id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/contact-properties/{id}",code:200}))`,[c,y,b,d,_,n,__d4,r,m,g]]:f(V,e));const H=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"DeleteContactSegmentRequest";$5(>4)@"RemoveContactFromSegmentResponseSuccess";$4({contact_id:$3.pipe($2()),segment_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/contacts/{contact_id}/segments/{segment_id}",code:200}));$4({object:$6($3),contact_id:$6($3),segment_id:$6($3),deleted:$6($7)})`,[c,y,b,d,_,n,S,u,r,m,g]]:f(H,e));const U=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteDomainRequest";$4({domain_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/domains/{domain_id}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(U,e));const W=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteEventRequest";$4({identifier:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/events/{identifier}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(W,e));const G=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteSegmentRequest";$4({id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/segments/{id}",code:200}))`,[c,y,b,d,_,n,__d4,r,m,g]]:f(G,e));const K=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteTemplateRequest";$4({id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/templates/{id}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(K,e));const q=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteTopicRequest";$4({id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/topics/{id}",code:200}))`,[c,y,b,d,_,n,__d4,r,m,g]]:f(q,e));const J=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteWebhookRequest";$4({webhook_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/webhooks/{webhook_id}",code:200}))`,[c,y,b,d,_,n,__d3,r,m,g]]:f(J,e));const Y=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DuplicateTemplateRequest";$4({id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/templates/{id}/duplicate",code:200}))`,[c,y,b,d,_,n,__d8,r,m,g]]:f(Y,e));const X=/*@__PURE__*/ o(e=>e===i?l(`Automation`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12};$5(>5)@"Get%Request";$5(>6)@"%StepResponse";$8(#2);$5(>7)@"%";$4({automation_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/automations/{automation_id}",code:200}));$4({key:$6($3),type:$6($3),config:$6($7)});$4({object:$6($3),id:$6($3),name:$6($3),status:$6($3),created_at:$6($3),updated_at:$6($3),steps:$6(#3),connections:$6(#9:1)})`,[c,y,b,d,_,n,S,t,v,__d5,r,m,g]):f(X,e));const Z=/*@__PURE__*/ o(e=>e===i?l(`AutomationRun`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12};$5(>5)@"Get%Request";$5(>6)@"%Step";$9(#2);$5(>7)@"%";$4({automation_id:$3.pipe($2()),run_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/automations/{automation_id}/runs/{run_id}",code:200}));$4({key:$6($3),type:$6($3),status:$6($3),started_at:$6($7($3)),completed_at:$6($7($3)),output:$6($7($8)),error:$6($7($8)),created_at:$6($3)});$4({object:$6($3),id:$6($3),status:$6($3),started_at:$6($7($3)),completed_at:$6($7($3)),created_at:$6($3),steps:$6(#3)})`,[c,y,b,d,_,n,S,h,t,v,r,m,g]):f(Z,e));const Q=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$9],protocol:$10,retry:$11};$5(>3)@"GetBroadcastRequest";$5(>4)@"GetBroadcastResponseSuccess";$4({id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/broadcasts/{id}",code:200}));$4({id:$6($3),name:$6($3),audience_id:$6($7($3)),segment_id:$6($7($3)),from:$6($3),subject:$6($3),reply_to:$6(#8:0),preview_text:$6($3),status:$6($3),created_at:$6($3),scheduled_at:$6($3),sent_at:$6($3),text:$6($7($3)),html:$6($7($3)),topic_id:$6($7($3))})`,[c,y,b,d,_,n,S,h,__d0,r,m,g]]:f(Q,e));const ne=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$9],protocol:$10,retry:$11};$5(>3)@"GetContactRequest";$5(>4)@"GetContactResponseSuccess";$4({id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/contacts/{id}",code:200}));$4({object:$6($3),id:$6($3),email:$6($3),first_name:$6($3),last_name:$6($3),created_at:$6($3),unsubscribed:$6($7),properties:$6(#8:0)})`,[c,y,b,d,_,n,S,u,__d11,r,m,g]]:f(ne,e));const re=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetContactPropertyRequest";$5(>4)@"GetContactPropertyResponseSuccess";$4({id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/contact-properties/{id}",code:200}));$4({object:$6($3),id:$6($3),key:$6($3),type:$6($3),fallback_value:$6($7),created_at:$6($3)})`,[c,y,b,d,_,n,S,t,r,m,g]]:f(re,e));const ie=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$10],protocol:$11,retry:$12};$5(>3)@"GetDomainRequest";$5(>4)@"Domain";$4({domain_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/domains/{domain_id}",code:200}));$4({object:$6($3),id:$6($3),name:$6($3),status:$6($3),created_at:$6($3),region:$6($3),open_tracking:$6($7),click_tracking:$6($7),tracking_subdomain:$6($3),capabilities:$6(#8:0),records:$6(#9:1)})`,[c,y,b,d,_,n,S,u,__d15,__d14,r,m,g]]:f(ie,e));const ae=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetEmailRequest";$4({email_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/emails/{email_id}",code:200}))`,[c,y,b,d,_,n,__d1,r,m,g]]:f(ae,e));const oe=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetEmailAttachmentRequest";$4({email_id:$3.pipe($2()),attachment_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/emails/{email_id}/attachments/{attachment_id}",code:200}))`,[c,y,b,d,_,n,__d9,r,m,g]]:f(oe,e));const se=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$11],protocol:$12,retry:$13};$5(>3)@"GetEmailReceivingRequest";$5(>4)@"GetReceivedEmailResponse";$4({email_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/emails/receiving/{email_id}",code:200}));$4({object:$6($3),id:$6($3),to:$6(#7:0),from:$6($3),subject:$6($3),message_id:$6($3),bcc:$6($8(#7:0)),cc:$6($8(#7:0)),reply_to:$6($8(#7:0)),html:$6($8($3)),text:$6($8($3)),headers:$6($8($9)),created_at:$6($3),attachments:$6(#10:1)})`,[c,y,b,d,_,n,S,__d0,h,t,__d10,r,m,g]]:f(se,e));const ce=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetEmailReceivingAttachmentRequest";$4({email_id:$3.pipe($2()),attachment_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/emails/receiving/{email_id}/attachments/{attachment_id}",code:200}))`,[c,y,b,d,_,n,__d9,r,m,g]]:f(ce,e));const le=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$9],protocol:$10,retry:$11};$5(>3)@"GetEventRequest";$5(>4)@"Event";$4({identifier:$3.pipe($2())}).pipe($1({method:"GET",uri:"/events/{identifier}",code:200}));$4({object:$6($3),id:$6($3),name:$6($3),schema:$6($8($7)),created_at:$6($3),updated_at:$6($8($3))})`,[c,y,b,d,_,n,S,t,h,r,m,g]]:f(le,e));const ue=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$10],protocol:$11,retry:$12};$5(>3)@"GetLogRequest";$5(>4)@"Log";$4({log_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/logs/{log_id}",code:200}));$4({object:$6($3),id:$6($3),created_at:$6($3),endpoint:$6($3),method:$6($3),response_status:$6($7),user_agent:$6($8($3)),request_body:$6($8($9)),response_body:$6($8($9))})`,[c,y,b,d,_,n,S,s,h,t,r,m,g]]:f(ue,e));const de=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$5(>3)@"GetSegmentRequest";$5(>4)@"GetSegmentResponseSuccess";$4({id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/segments/{id}",code:200}));$4({id:$6($3),object:$6($3),name:$6($3),audience_id:$6($3),filter:$6($7),created_at:$6($3)})`,[c,y,b,d,_,n,S,t,r,m,g]]:f(de,e));const fe=/*@__PURE__*/ o(e=>e===i?l(`Template`,`{input:#1,output:#4,errors:[$12],protocol:$13,retry:$14};$5(>5)@"Get%Request";$5(>6)@"%Variable";$8(#2);$5(>7)@"%";$4({id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/templates/{id}",code:200}));$4({id:$6($3),key:$3,type:$3,fallback_value:$6($7),created_at:$6($3),updated_at:$6($3)});$4({object:$6($3),id:$6($3),current_version_id:$6($3),name:$6($3),alias:$6($3),from:$6($3),subject:$6($3),reply_to:$6($10(#9:0)),html:$6($3),text:$6($3),variables:$6(#3),created_at:$6($3),updated_at:$6($3),status:$6($3),published_at:$6($10($3)),has_unpublished_versions:$6($11)})`,[c,y,b,d,_,n,S,t,v,__d0,h,u,r,m,g]):f(fe,e));const pe=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"GetTopicRequest";$5(>4)@"GetTopicResponseSuccess";$4({id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/topics/{id}",code:200}));$4({id:$6($3),object:$6($3),name:$6($3),description:$6($3),default_subscription:$6($3),visibility:$6($3),created_at:$6($3)})`,[c,y,b,d,_,n,S,r,m,g]]:f(pe,e));const me=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$10],protocol:$11,retry:$12};$5(>3)@"GetWebhookRequest";$5(>4)@"GetWebhookResponse";$4({webhook_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/webhooks/{webhook_id}",code:200}));$4({object:$6($3),id:$6($3),endpoint:$6($3),events:$6($8(#7:0)),status:$6($3),created_at:$6($3),signing_secret:$6($3.pipe($9({})))})`,[c,y,b,d,_,n,S,__d0,h,te,r,m,g]]:f(me,e));const he=/*@__PURE__*/ a(e=>e===i?l(`ApiKey`,`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$7(>5)@"List%sRequest";$7(>6)@"%";$9(#2);$7(>7)@"List%sResponse";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/api-keys",code:200}));$6({id:$4($5),name:$4($5),created_at:$4($5),last_used_at:$4($8($5))});$6({object:$4($5),has_more:$4($10),data:#3})`,[c,y,x,s,S,d,_,n,h,v,u,r,m,g,p]):f(he,e));const ge=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#4,errors:[$12],protocol:$13,retry:$14,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$15};$8(>5)@"ListAutomationRunsRequest";$8(>6)@"AutomationRunListItem";$10(#2);$8(>7)@"ListAutomationRunsResponse";$7({automation_id:$3.pipe($2()),status:$5($3.pipe($4())),limit:$5($6.pipe($4())),after:$5($3.pipe($4())),before:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/automations/{automation_id}/runs",code:200}));$7({id:$5($3),status:$5($3),started_at:$5($9($3)),completed_at:$5($9($3)),created_at:$5($3)});$7({object:$5($3),has_more:$5($11),data:#3})`,[c,y,b,d,x,S,s,_,n,h,v,u,r,m,g,p]]:f(ge,e));const _e=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$13};$7(>5)@"ListAutomationsRequest";$7(>6)@"AutomationListItem";$8(#2);$7(>7)@"ListAutomationsResponse";$6({status:$4($3.pipe($2())),limit:$4($5.pipe($2())),after:$4($3.pipe($2())),before:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/automations",code:200}));$6({id:$4($3),name:$4($3),status:$4($3),created_at:$4($3),updated_at:$4($3)});$6({object:$4($3),has_more:$4($9),data:#3})`,[c,y,x,d,S,s,_,n,v,u,r,m,g,p]]:f(_e,e));const ve=/*@__PURE__*/ a(e=>e===i?l(`ListBroadcastsResponseSuccess`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$13};$7(>5)@"ListBroadcastsRequest";$7(>6)@"%DataItem";$8(#2);$7(>7)@"%";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/broadcasts",code:200}));$6({id:$4($5),name:$4($5),audience_id:$4($5),segment_id:$4($5),status:$4($5),created_at:$4($5),scheduled_at:$4($5),sent_at:$4($5),topic_id:$4($5)});$6({object:$4($5),has_more:$4($9),data:#3})`,[c,y,x,s,S,d,_,n,v,u,r,m,g,p]):f(ve,e));const ye=/*@__PURE__*/ a(e=>e===i?l(`ListContactPropertiesResponseSuccess`,`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$7(>5)@"ListContactPropertiesRequest";$7(>6)@"%DataItem";$9(#2);$7(>7)@"%";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/contact-properties",code:200}));$6({id:$4($5),key:$4($5),type:$4($5),fallback_value:$4($8),created_at:$4($5)});$6({object:$4($5),has_more:$4($10),data:#3})`,[c,y,x,s,S,d,_,n,t,v,u,r,m,g,p]):f(ye,e));const be=/*@__PURE__*/ o(e=>e===i?l(`ListContactsResponseSuccess`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12};$7(>5)@"ListContactsRequest";$7(>6)@"%DataItem";$9(#2);$7(>7)@"%";$6({segment_id:$4($3.pipe($2())),limit:$4($5.pipe($2())),after:$4($3.pipe($2())),before:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/contacts",code:200}));$6({id:$4($3),email:$4($3),first_name:$4($3),last_name:$4($3),created_at:$4($3),unsubscribed:$4($8)});$6({object:$4($3),data:$4(#3)})`,[c,y,x,d,S,s,_,n,u,v,r,m,g]):f(be,e));const xe=/*@__PURE__*/ a(e=>e===i?l(`ListContactSegmentsResponseSuccess`,`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$8(>5)@"ListContactSegmentsRequest";$8(>6)@"%DataItem";$9(#2);$8(>7)@"%";$7({contact_id:$3.pipe($2()),limit:$6($5.pipe($4())),after:$6($3.pipe($4())),before:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/contacts/{contact_id}/segments",code:200}));$7({id:$6($3),name:$6($3),created_at:$6($3)});$7({object:$6($3),has_more:$6($10),data:#3})`,[c,y,b,d,x,s,S,_,n,v,u,r,m,g,p]):f(xe,e));const Se=/*@__PURE__*/ a(e=>e===i?l(`GetContactTopicsResponseSuccess`,`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$8(>5)@"ListContactTopicsRequest";$8(>6)@"%DataItem";$9(#2);$8(>7)@"%";$7({contact_id:$3.pipe($2()),limit:$6($5.pipe($4())),after:$6($3.pipe($4())),before:$6($3.pipe($4()))}).pipe($1({method:"GET",uri:"/contacts/{contact_id}/topics",code:200}));$7({id:$6($3),name:$6($3),description:$6($3),subscription:$6($3)});$7({object:$6($3),has_more:$6($10),data:#3})`,[c,y,b,d,x,s,S,_,n,v,u,r,m,g,p]):f(Se,e));const Ce=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$7(>5)@"ListDomainsRequest";$7(>6)@"ListDomainsItem";$9(#2);$7(>7)@"ListDomainsResponse";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/domains",code:200}));$6({id:$4($5),name:$4($5),status:$4($5),created_at:$4($5),region:$4($5),capabilities:$4(#8:0)});$6({object:$4($5),has_more:$4($10),data:#3})`,[c,y,x,s,S,d,_,n,__d15,v,u,r,m,g,p]]:f(Ce,e));const we=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#2:2,errors:[$4],protocol:$5,retry:$6,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$7};$3(>2)@"ListEmailAttachmentsRequest";~2:3.pipe($1({method:"GET",uri:"/emails/{email_id}/attachments",code:200}))`,[c,y,__d13,n,r,m,g,p]]:f(we,e));const Te=/*@__PURE__*/ a(e=>e===i?l(`ListReceivedEmailsResponse`,`{input:#1,output:#4,errors:[$13],protocol:$14,retry:$15,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$16};$7(>5)@"ListEmailReceivingRequest";$7(>6)@"%DataItem";$11(#2);$7(>7)@"%";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/emails/receiving",code:200}));$6({id:$4($5),to:$4(#8:0),from:$4($5),subject:$4($9($5)),message_id:$4($5),bcc:$4($9(#8:0)),cc:$4($9(#8:0)),reply_to:$4($9(#8:0)),created_at:$4($5),attachments:$4(#10:1)});$6({object:$4($5),has_more:$4($12),data:#3})`,[c,y,x,s,S,d,_,n,__d0,h,__d10,v,u,r,m,g,p]):f(Te,e));const Ee=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#2:2,errors:[$4],protocol:$5,retry:$6,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$7};$3(>2)@"ListEmailReceivingAttachmentsRequest";~2:3.pipe($1({method:"GET",uri:"/emails/receiving/{email_id}/attachments",code:200}))`,[c,y,__d13,n,r,m,g,p]]:f(Ee,e));const De=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#3,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$7(>4)@"ListEmailsRequest";$9(#8:0);$7(>5)@"ListEmailsResponse";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/emails",code:200}));$6({object:$4($5),has_more:$4($10),data:#2})`,[c,y,x,s,S,d,_,n,__d1,v,u,r,m,g,p]]:f(De,e));const Oe=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#4,errors:[$12],protocol:$13,retry:$14,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$15};$7(>5)@"ListEventsRequest";$7(>6)@"EventSummary";$10(#2);$7(>7)@"ListEventsResponse";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/events",code:200}));$6({id:$4($5),name:$4($5),schema:$4($9($8)),created_at:$4($5),updated_at:$4($9($5))});$6({object:$4($5),has_more:$4($11),data:#3})`,[c,y,x,s,S,d,_,n,t,h,v,u,r,m,g,p]]:f(Oe,e));const ke=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$7(>5)@"ListLogsRequest";$7(>6)@"LogSummary";$9(#2);$7(>7)@"ListLogsResponse";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/logs",code:200}));$6({id:$4($5),created_at:$4($5),endpoint:$4($5),method:$4($5),response_status:$4($3),user_agent:$4($8($5))});$6({object:$4($5),has_more:$4($10),data:#3})`,[c,y,x,s,S,d,_,n,h,v,u,r,m,g,p]]:f(ke,e));const Ae=/*@__PURE__*/ a(e=>e===i?l(`ListSegmentsResponseSuccess`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$13};$7(>5)@"ListSegmentsRequest";$7(>6)@"%DataItem";$8(#2);$7(>7)@"%";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/segments",code:200}));$6({id:$4($5),name:$4($5),audience_id:$4($5),created_at:$4($5)});$6({object:$4($5),has_more:$4($9),data:#3})`,[c,y,x,s,S,d,_,n,v,u,r,m,g,p]):f(Ae,e));const je=/*@__PURE__*/ a(e=>e===i?[`{input:#1,output:#4,errors:[$11],protocol:$12,retry:$13,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$14};$7(>5)@"ListTemplatesRequest";$7(>6)@"TemplateListItem";$9(#2);$7(>7)@"ListTemplatesResponseSuccess";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/templates",code:200}));$6({id:$4($5),name:$4($5),status:$4($5),published_at:$4($8($5)),created_at:$4($5),updated_at:$4($5),alias:$4($5)});$6({object:$4($5),data:#3,has_more:$4($10)})`,[c,y,x,s,S,d,_,n,h,v,u,r,m,g,p]]:f(je,e));const Me=/*@__PURE__*/ a(e=>e===i?l(`ListTopicsResponseSuccess`,`{input:#1,output:#4,errors:[$10],protocol:$11,retry:$12,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$13};$7(>5)@"ListTopicsRequest";$7(>6)@"%DataItem";$8(#2);$7(>7)@"%";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/topics",code:200}));$6({id:$4($5),name:$4($5),description:$4($5),default_subscription:$4($5),visibility:$4($5),created_at:$4($5)});$6({object:$4($5),has_more:$4($9),data:#3})`,[c,y,x,s,S,d,_,n,v,u,r,m,g,p]):f(Me,e));const Ne=/*@__PURE__*/ a(e=>e===i?l(`ListWebhooksResponse`,`{input:#1,output:#4,errors:[$12],protocol:$13,retry:$14,pagination:{mode:"cursor",inputToken:"after",items:"data",hasNextPage:"has_more",pageSize:"limit"},strategy:$15};$7(>5)@"ListWebhooksRequest";$7(>6)@"%DataItem";$10(#2);$7(>7)@"%";$6({limit:$4($3.pipe($2())),after:$4($5.pipe($2())),before:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/webhooks",code:200}));$6({id:$4($5),endpoint:$4($5),events:$4($9(#8:0)),status:$4($5),created_at:$4($5)});$6({object:$4($5),has_more:$4($11),data:#3})`,[c,y,x,s,S,d,_,n,__d0,h,v,u,r,m,g,p]):f(Ne,e));const Pe=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"PublishTemplateRequest";$4({id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/templates/{id}/publish",code:200}))`,[c,y,b,d,_,n,__d8,r,m,g]]:f(Pe,e));const Fe=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"SendBroadcastRequest";$5({id:$3.pipe($2()),scheduled_at:$4($3)}).pipe($1({method:"POST",uri:"/broadcasts/{id}/send",code:200}))`,[c,y,b,d,S,_,n,__d17,r,m,g]]:f(Fe,e));const Ie=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$6(>3)@"SendEventRequest";$6(>4)@"SendEventResponse";$5({event:$2,contact_id:$3($2),email:$3($2),payload:$3(#4:0)}).pipe($1({method:"POST",uri:"/events/send",code:200}));$5({})`,[c,y,d,S,__d11,_,n,r,m,g]]:f(Ie,e));const Le=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"StopAutomationRequest";$5(>4)@"StopAutomationResponse";$4({automation_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/automations/{automation_id}/stop",code:200}));$4({object:$6($3),id:$6($3),status:$6($3)})`,[c,y,b,d,_,n,S,r,m,g]]:f(Le,e));const Re=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdateAutomationRequest";$7({automation_id:$3.pipe($2()),name:$4($3),status:$4($3),steps:$4(#5:1),connections:$4(#6:1)}).pipe($1({method:"PATCH",uri:"/automations/{automation_id}",code:200}))`,[c,y,b,d,S,__d7,__d5,_,n,__d6,r,m,g]]:f(Re,e));const ze=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateBroadcastRequest";$6({id:$3.pipe($2()),name:$4($3),audience_id:$4($3),segment_id:$4($3),from:$4($3),subject:$4($3),reply_to:$4(#5:0),preview_text:$4($3),html:$4($3),text:$4($3),topic_id:$4($3)}).pipe($1({method:"PATCH",uri:"/broadcasts/{id}",code:200}))`,[c,y,b,d,S,__d0,_,n,__d8,r,m,g]]:f(ze,e));const Be=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdateContactRequest";$7({id:$3.pipe($2()),email:$4($3),first_name:$4($3),last_name:$4($3),unsubscribed:$4($5),properties:$4(#6:0)}).pipe($1({method:"PATCH",uri:"/contacts/{id}",code:200}))`,[c,y,b,d,S,u,__d11,_,n,__d6,r,m,g]]:f(Be,e));const Ve=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateContactPropertyRequest";$6({id:$3.pipe($2()),fallback_value:$5($4)}).pipe($1({method:"PATCH",uri:"/contact-properties/{id}",code:200}))`,[c,y,b,d,t,S,_,n,__d8,r,m,g]]:f(Ve,e));const $=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"UpdateContactSegmentRequest";$5(>4)@"AddContactToSegmentResponseSuccess";$4({contact_id:$3.pipe($2()),segment_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/contacts/{contact_id}/segments/{segment_id}",code:200}));$4({object:$6($3),contact_id:$6($3),segment_id:$6($3)})`,[c,y,b,d,_,n,S,r,m,g]]:f($,e));const He=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$8],protocol:$9,retry:$10};$6(>3)@"UpdateContactTopicsRequest";$6(>4)@"UpdateContactTopicsResponseSuccess";$5({contact_id:$3.pipe($2()),topics:#4:1}).pipe($1({method:"PATCH",uri:"/contacts/{contact_id}/topics",code:200}));$5({object:$7($3),contact_id:$7($3),topics:$7(#4:1)})`,[c,y,b,d,__d12,_,n,S,r,m,g]]:f(He,e));const Ue=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdateDomainRequest";$7({domain_id:$3.pipe($2()),open_tracking:$5($4),click_tracking:$5($4),tls:$5($3),capabilities:$5(#6:0),tracking_subdomain:$5($3)}).pipe($1({method:"PATCH",uri:"/domains/{domain_id}",code:200}))`,[c,y,b,d,u,S,__d15,_,n,__d8,r,m,g]]:f(Ue,e));const We=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#2,errors:[$7],protocol:$8,retry:$9};$5(>3)@"UpdateEmailRequest";$5(>4)@"UpdateEmailOptions";$4({email_id:$3.pipe($2())}).pipe($1({method:"PATCH",uri:"/emails/{email_id}",code:200}));$4({scheduled_at:$6($3)})`,[c,y,b,d,_,n,S,r,m,g]]:f(We,e));const Ge=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateEventRequest";$6({identifier:$3.pipe($2()),schema:$5($4)}).pipe($1({method:"PATCH",uri:"/events/{identifier}",code:200}))`,[c,y,b,d,t,h,_,n,__d6,r,m,g]]:f(Ge,e));const Ke=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdateTemplateRequest";$7({id:$3.pipe($2()),name:$4($3),alias:$4($3),from:$4($3),subject:$4($3),reply_to:$4(#5:0),html:$4($3),text:$4($3),variables:$4(#6:1)}).pipe($1({method:"PATCH",uri:"/templates/{id}",code:200}))`,[c,y,b,d,S,__d0,__d2,_,n,__d8,r,m,g]]:f(Ke,e));const qe=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#7:0,errors:[$8],protocol:$9,retry:$10};$6(>2)@"UpdateTopicRequest";$5({id:$3.pipe($2()),name:$4($3),description:$4($3),visibility:$4($3)}).pipe($1({method:"PATCH",uri:"/topics/{id}",code:200}))`,[c,y,b,d,S,_,n,__d8,r,m,g]]:f(qe,e));const Je=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#8:0,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateWebhookRequest";$6({webhook_id:$3.pipe($2()),endpoint:$4($3),events:$4(#5:0),status:$4($3)}).pipe($1({method:"PATCH",uri:"/webhooks/{webhook_id}",code:200}))`,[c,y,b,d,S,__d0,_,n,__d6,r,m,g]]:f(Je,e));const Ye=/*@__PURE__*/ o(e=>e===i?[`{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"VerifyDomainRequest";$4({domain_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/domains/{domain_id}/verify",code:200}))`,[c,y,b,d,_,n,__d6,r,m,g]]:f(Ye,e));function __d0(){return[`$2($1)`,[c,d,v]]}function __d1(){return[`$5(>1)@"Email";$4({object:$2($1),id:$2($1),to:$2(#3:0),from:$2($1),created_at:$2($1),subject:$2($1),html:$2($1),text:$2($1),bcc:$2(#3:0),cc:$2(#3:0),reply_to:$2(#3:0),last_event:$2($1)})`,[c,d,S,__d0,_,n]]}function __d2(){return[`$5(>2)@"TemplateVariableInput";$6(#0);$4({key:$1,type:$1,fallback_value:$3($2)})`,[c,d,t,S,_,n,v]]}function __d3(){return[`$5(>1)@"DeleteApiKeyResponse";$4({object:$2($1),id:$2($1),deleted:$2($3)})`,[c,d,S,u,_,n]]}function __d4(){return[`$5(>1)@"RemoveBroadcastResponseSuccess";$4({id:$2($1),object:$2($1),deleted:$2($3)})`,[c,d,S,u,_,n]]}function __d5(){return[`$4(>2)@"AutomationConnection";$5(#0);$3({from:$1,to:$1,type:$2($1)})`,[c,d,S,_,n,v]]}function __d6(){return[`$4(>1)@"CreateAutomationResponse";$3({object:$2($1),id:$2($1)})`,[c,d,S,_,n]]}function __d7(){return[`$4(>2)@"AutomationStep";$5(#0);$3({key:$1,type:$1,config:$2})`,[c,d,t,_,n,v]]}function __d8(){return[`$4(>1)@"CreateBroadcastResponseSuccess";$3({id:$2($1),object:$2($1)})`,[c,d,S,_,n]]}function __d9(){return[`$5(>1)@"RetrievedAttachment";$4({object:$2($1),id:$2($1),filename:$2($1),content_type:$2($1),content_id:$2($1),content_disposition:$2($1),download_url:$2($1),expires_at:$2($1),size:$2($3)})`,[c,d,S,s,_,n]]}function __d10(){return[`$5(>2)@"GetReceivedEmailResponseAttachmentsItem";$6(#0);$4({id:$2($1),filename:$2($1),content_type:$2($1),content_id:$2($1),content_disposition:$2($1),size:$2($3)})`,[c,d,S,s,_,n,v]]}function __d11(){return[`$3($1,$2)`,[c,d,t,e]]}function __d12(){return[`$4(>2)@"CreateContactRequestTopicsItem";$5(#0);$3({id:$2($1),subscription:$2($1)})`,[c,d,S,_,n,v]]}function __d13(){return[`$5(>4)@"ListAttachmentsResponseDataItem";$6(#0);$5(>5)@"ListAttachmentsResponse";$4({email_id:$1.pipe($8()),limit:$2($3.pipe($9())),after:$2($1.pipe($9())),before:$2($1.pipe($9()))});$4({id:$2($1),filename:$2($1),content_type:$2($1),content_id:$2($1),content_disposition:$2($1),download_url:$2($1),expires_at:$2($1),size:$2($3)});$4({object:$2($1),has_more:$2($7),data:#1})`,[c,d,S,s,_,n,v,u,b,x]]}function __d14(){return[`$5(>2)@"DomainRecord";$6(#0);$4({record:$2($1),name:$2($1),type:$2($1),ttl:$2($1),status:$2($1),value:$2($1),priority:$2($3)})`,[c,d,S,s,_,n,v]]}function __d15(){return[`$4(>1)@"DomainCapabilities";$3({sending:$2($1),receiving:$2($1)})`,[c,d,S,_,n]]}function __d16(){return[`$4(>4)@"Attachment";$5(#0);$4(>5)@"Tag";$5(#2);$3({content:$2($1),filename:$2($1),path:$2($1),content_type:$2($1),content_id:$2($1)});$3({name:$2($1),value:$2($1)})`,[c,d,S,_,n,v]]}function __d17(){return[`$4(>1)@"SendEmailResponse";$3({id:$2($1)})`,[c,d,S,_,n]]}export{C as cancelEmail,w as createApiKey,T as createAutomation,E as createBroadcast,D as createContact,O as createContactProperty,k as createDomain,A as createEmail,j as createEmailBatch,M as createEvent,N as createSegment,P as createTemplate,F as createTopic,I as createWebhook,L as deleteApiKey,R as deleteAutomation,z as deleteBroadcast,B as deleteContact,V as deleteContactProperty,H as deleteContactSegment,U as deleteDomain,W as deleteEvent,G as deleteSegment,K as deleteTemplate,q as deleteTopic,J as deleteWebhook,Y as duplicateTemplate,X as getAutomation,Z as getAutomationRun,Q as getBroadcast,ne as getContact,re as getContactProperty,ie as getDomain,ae as getEmail,oe as getEmailAttachment,se as getEmailReceiving,ce as getEmailReceivingAttachment,le as getEvent,ue as getLog,de as getSegment,fe as getTemplate,pe as getTopic,me as getWebhook,he as listApiKeys,ge as listAutomationRuns,_e as listAutomations,ve as listBroadcasts,ye as listContactProperties,xe as listContactSegments,Se as listContactTopics,be as listContacts,Ce as listDomains,we as listEmailAttachments,Te as listEmailReceiving,Ee as listEmailReceivingAttachments,De as listEmails,Oe as listEvents,ke as listLogs,Ae as listSegments,je as listTemplates,Me as listTopics,Ne as listWebhooks,Pe as publishTemplate,Fe as sendBroadcast,Ie as sendEvent,Le as stopAutomation,Re as updateAutomation,ze as updateBroadcast,Be as updateContact,Ve as updateContactProperty,$ as updateContactSegment,He as updateContactTopics,Ue as updateDomain,We as updateEmail,Ge as updateEvent,Ke as updateTemplate,qe as updateTopic,Je as updateWebhook,Ye as verifyDomain};
|
|
2
|
+
/*
|
|
3
|
+
25 97
|
|
4
|
+
e:0:a t:0:c n:0:d r:0:errors$UnknownResendError i:0:f a:0:g o:0:h s:0:i c:0:l l:0:m u:0:n d:0:o f:0:p p:0:pagination$paginateResend m:0:protocol$ResendProtocol h:0:r g:0:retry$Retry _:0:s v:0:t y:0:traits$Http ee:0:traits$HttpBody b:0:traits$Label x:0:traits$Query te:0:traits$SensitiveValue S:0:u
|
|
5
|
+
0000000013000230003c0004m000640007d0008p000al000cj000du000f3000gg000hn000iw000k3000la000mh000no000ov000q3000ra000sh000to000uv000w2000x9000yg001030011s001330014f0015o001730018b0019j001b0001c8001dj001ew001g5001hv001j2001kg001m3001nm001p1001r9001tq001vu001y90020l00223002370025k0026o002860029p002b6002dc002et002gx002j1002k9002lj002mr002ny002pe002qr002s6002ti002uo002vy002xd002yk002zw0031c0032m0033z0035700362003740038700398003a9003ba003c9003da003e9003fa003ge003hc003ie003jo003ks003ls003mu003nu
|
|
6
|
+
2 ai gq C|=;at fs;8,j,l,b,h,2,2x,3,e,g
|
|
7
|
+
2 hg p9 w|=;hr og;8,j,b,o,h,2,3,e,g
|
|
8
|
+
2 pz x2 T|=;qa vu;8,j,b,o,33,31,h,2,32,3,e,g
|
|
9
|
+
2 xs 186 E|=;y3 171;8,j,b,o,2w,a,h,2,34,3,e,g
|
|
10
|
+
2 18w 1ij D|=;197 1h2;8,j,b,o,a,37,2w,38,h,2,32,3,e,g
|
|
11
|
+
2 1j9 1q2 O|=;1jk 1p2;8,j,b,1,o,h,2,34,3,e,g
|
|
12
|
+
2 1qs 268 k|=;1r3 251;8,j,b,o,a,3b,h,2,3a,3,e,g
|
|
13
|
+
2 26y 2je A|=CreateEmailRequest;27v 2i5;8,b,1,0,o,h,2,j,3c,3d,3,e,g
|
|
14
|
+
2 2k4 30i j|=SendEmailRequest;2kz 2z4;8,b,1,0,o,h,2,3c,i,j,k,3d,3,e,g
|
|
15
|
+
2 318 377 M|=;31j 365;8,j,b,1,f,o,h,2,32,3,e,g
|
|
16
|
+
2 37x 3ec N|=;388 3dc;8,j,b,o,1,h,2,34,3,e,g
|
|
17
|
+
2 3f2 3nk P|=;3fd 3mc;8,j,b,o,2w,2y,h,2,34,3,e,g
|
|
18
|
+
2 3oa 3va F|=;3ol 3uc;8,j,b,o,h,2,34,3,e,g
|
|
19
|
+
2 3w0 44l I|=;3wb 43k;8,j,b,2w,h,2,o,n,3,e,g
|
|
20
|
+
2 45b 4bl L|=;45m 4an;8,j,l,b,h,2,2z,3,e,g
|
|
21
|
+
2 4cb 4iy R|=;4cm 4i0;8,j,l,b,h,2,2z,3,e,g
|
|
22
|
+
2 4jo 4pn z|=;4jz 4op;8,j,l,b,h,2,30,3,e,g
|
|
23
|
+
2 4qd 4w8 B|=;4qo 4va;8,j,l,b,h,2,2z,3,e,g
|
|
24
|
+
2 4wy 53b V|=;4x9 52d;8,j,l,b,h,2,30,3,e,g
|
|
25
|
+
2 541 5f4 H|=;54c 5e7;8,j,l,b,h,2,o,a,3,e,g
|
|
26
|
+
2 5fu 5m1 U|=;5g5 5l3;8,j,l,b,h,2,2z,3,e,g
|
|
27
|
+
2 5mr 5sy W|=;5n2 5s0;8,j,l,b,h,2,2z,3,e,g
|
|
28
|
+
2 5to 5zj G|=;5tz 5yl;8,j,l,b,h,2,30,3,e,g
|
|
29
|
+
2 609 666 K|=;60k 658;8,j,l,b,h,2,2z,3,e,g
|
|
30
|
+
2 66w 6cn q|=;677 6bp;8,j,l,b,h,2,30,3,e,g
|
|
31
|
+
2 6dd 6jo J|=;6do 6iq;8,j,l,b,h,2,2z,3,e,g
|
|
32
|
+
2 6ke 6qm Y|=;6kp 6po;8,j,l,b,h,2,34,3,e,g
|
|
33
|
+
2 6rc 73z X|=Automation;6s1 72v;8,j,l,b,h,2,o,1,i,31,3,e,g
|
|
34
|
+
2 74p 7kp Z|=AutomationRun;75h 7jo;8,j,l,b,h,2,o,f,1,i,3,e,g
|
|
35
|
+
2 7lf 7zi Q|=;7lq 7yg;8,j,l,b,h,2,o,f,2w,3,e,g
|
|
36
|
+
2 809 8av ne|=;80k 89r;8,j,l,b,h,2,o,a,37,3,e,g
|
|
37
|
+
2 8bm 8lk re|=;8bx 8km;8,j,l,b,h,2,o,1,3,e,g
|
|
38
|
+
2 8mb 8yl ie|=;8mm 8xb;8,j,l,b,h,2,o,a,3b,3a,3,e,g
|
|
39
|
+
2 8zc 95a ae|=;8zn 94b;8,j,l,b,h,2,2x,3,e,g
|
|
40
|
+
2 961 9dt oe|=;96c 9cu;8,j,l,b,h,2,35,3,e,g
|
|
41
|
+
2 9ek 9st se|=;9ev 9ri;8,j,l,b,h,2,o,2w,f,1,36,3,e,g
|
|
42
|
+
2 9tk a1v ce|=;9tv a0w;8,j,l,b,h,2,35,3,e,g
|
|
43
|
+
2 a2m abw le|=;a2x aaw;8,j,l,b,h,2,o,1,f,3,e,g
|
|
44
|
+
2 acn anm ue|=;acy amk;8,j,l,b,h,2,o,7,f,1,3,e,g
|
|
45
|
+
2 aod axl de|=;aoo awn;8,j,l,b,h,2,o,1,3,e,g
|
|
46
|
+
2 ayc bfu fe|=Template;ayz bel;8,j,l,b,h,2,o,1,i,2w,f,a,3,e,g
|
|
47
|
+
2 bgl bqg pe|=;bgw bpk;8,j,l,b,h,2,o,3,e,g
|
|
48
|
+
2 br7 c22 me|=;bri c0w;8,j,l,b,h,2,o,2w,f,n,3,e,g
|
|
49
|
+
2 c2t cht he|=ApiKey;c3e cgn;8,j,m,7,o,b,h,2,f,i,a,3,e,g,d
|
|
50
|
+
2 cik d1e ge|=;civ d06;8,j,l,b,m,o,7,h,2,f,i,a,3,e,g,d
|
|
51
|
+
2 d25 dir _e|=;d2g dhn;8,j,m,b,o,7,h,2,i,a,3,e,g,d
|
|
52
|
+
2 dji e1d ve|=ListBroadcastsResponseSuccess;dkq e09;8,j,m,7,o,b,h,2,i,a,3,e,g,d
|
|
53
|
+
2 e24 eir ye|=ListContactPropertiesResponseSuccess;e3j ehl;8,j,m,7,o,b,h,2,1,i,a,3,e,g,d
|
|
54
|
+
2 eji ex8 be|=ListContactsResponseSuccess;eko ew6;8,j,m,b,o,7,h,2,a,i,3,e,g
|
|
55
|
+
2 exz fem xe|=ListContactSegmentsResponseSuccess;ezc fdg;8,j,l,b,m,7,o,h,2,i,a,3,e,g,d
|
|
56
|
+
2 ffd fwe Se|=GetContactTopicsResponseSuccess;fgn fv8;8,j,l,b,m,7,o,h,2,i,a,3,e,g,d
|
|
57
|
+
2 fx5 gdc Ce|=;fxg gc2;8,j,m,7,o,b,h,2,3b,i,a,3,e,g,d
|
|
58
|
+
2 ge3 gn1 we|=;gee gm5;8,j,39,2,3,e,g,d
|
|
59
|
+
2 gns h6x Te|=ListReceivedEmailsResponse;gox h5g;8,j,m,7,o,b,h,2,2w,f,36,i,a,3,e,g,d
|
|
60
|
+
2 h7o hh5 Ee|=;h7z hg9;8,j,39,2,3,e,g,d
|
|
61
|
+
2 hhw huo De|=;hi7 htf;8,j,m,7,o,b,h,2,2x,i,a,3,e,g,d
|
|
62
|
+
2 hvf ib5 Oe|=;hvq i9x;8,j,m,7,o,b,h,2,1,f,i,a,3,e,g,d
|
|
63
|
+
2 ibw iry ke|=;ic7 iqs;8,j,m,7,o,b,h,2,f,i,a,3,e,g,d
|
|
64
|
+
2 isp j83 Ae|=ListSegmentsResponseSuccess;itv j6z;8,j,m,7,o,b,h,2,i,a,3,e,g,d
|
|
65
|
+
2 j8u jpu je|=;j95 joo;8,j,m,7,o,b,h,2,f,i,a,3,e,g,d
|
|
66
|
+
2 jql k73 Me|=ListTopicsResponseSuccess;jrp k5z;8,j,m,7,o,b,h,2,i,a,3,e,g,d
|
|
67
|
+
2 k7u knt Ne|=ListWebhooksResponse;k8t kmi;8,j,m,7,o,b,h,2,2w,f,i,a,3,e,g,d
|
|
68
|
+
2 kok kup Pe|=;kov ktq;8,j,l,b,h,2,34,3,e,g
|
|
69
|
+
2 kvg l25 Fe|=;kvr l13;8,j,l,b,o,h,2,3d,3,e,g
|
|
70
|
+
2 l2w lal Ie|=;l37 l9l;8,j,b,o,37,h,2,3,e,g
|
|
71
|
+
2 lbc lk0 Le|=;lbn lj4;8,j,l,b,h,2,o,3,e,g
|
|
72
|
+
2 lkr ltj Re|=;ll2 ls8;8,j,l,b,o,33,31,h,2,32,3,e,g
|
|
73
|
+
2 lua m4s ze|=;lul m3m;8,j,l,b,o,2w,h,2,34,3,e,g
|
|
74
|
+
2 m5j me7 Be|=;m5u mcy;8,j,l,b,o,a,37,h,2,32,3,e,g
|
|
75
|
+
2 mey mm3 Ve|=;mf9 ml0;8,j,l,b,1,o,h,2,34,3,e,g
|
|
76
|
+
2 mmt mx7 $|=;mn4 mwc;8,j,l,b,h,2,o,3,e,g
|
|
77
|
+
2 mxy n7q He|=;my9 n6o;8,j,l,b,38,h,2,o,3,e,g
|
|
78
|
+
2 n8h nhv Ue|=;n8s ngm;8,j,l,b,a,o,3b,h,2,34,3,e,g
|
|
79
|
+
2 nim nq2 We|=;nix np6;8,j,l,b,h,2,o,3,e,g
|
|
80
|
+
2 nqt nxk Ge|=;nr4 nwh;8,j,l,b,1,f,h,2,32,3,e,g
|
|
81
|
+
2 nyb o7s Ke|=;nym o6h;8,j,l,b,o,2w,2y,h,2,34,3,e,g
|
|
82
|
+
2 o8j ofq qe|=;o8u oep;8,j,l,b,o,h,2,34,3,e,g
|
|
83
|
+
2 ogh oob Je|=;ogs on5;8,j,l,b,o,2w,h,2,32,3,e,g
|
|
84
|
+
2 op2 ovf Ye|=;opd oug;8,j,l,b,h,2,32,3,e,g
|
|
85
|
+
1 ovh owm __d0|=;ow5 owb;8,b,i
|
|
86
|
+
1 owm p30 __d1|=;oxa p2g;8,b,o,2w,h,2
|
|
87
|
+
1 p30 p6f __d2|=;p3o p5w;8,b,1,o,h,2,i
|
|
88
|
+
1 p6f p9m __d3|=;p73 p95;8,b,o,a,h,2
|
|
89
|
+
1 p9m pd3 __d4|=;paa pcm;8,b,o,a,h,2
|
|
90
|
+
1 pd3 pg4 __d5|=;pdr pfn;8,b,o,h,2,i
|
|
91
|
+
1 pg4 piy __d6|=;pgs pij;8,b,o,h,2
|
|
92
|
+
1 piy pls __d7|=;pjm plb;8,b,1,h,2,i
|
|
93
|
+
1 pls pos __d8|=;pmg pod;8,b,o,h,2
|
|
94
|
+
1 pos pv6 __d9|=;ppg pup;8,b,o,7,h,2
|
|
95
|
+
1 pv6 q0y __d10|=;pvv q0f;8,b,o,7,h,2,i
|
|
96
|
+
1 q0y q29 __d11|=;q1n q1w;8,b,1,0
|
|
97
|
+
1 q29 q5p __d12|=;q2y q58;8,b,o,h,2,i
|
|
98
|
+
1 q5p qhg __d13|=;q6e qgr;8,b,o,7,h,2,i,a,l,m
|
|
99
|
+
1 qhg qm6 __d14|=;qi5 qln;8,b,o,7,h,2,i
|
|
100
|
+
1 qm6 qp3 __d15|=;qmv qoo;8,b,o,h,2
|
|
101
|
+
1 qp3 qut __d16|=;qps quc;8,b,o,h,2,i
|
|
102
|
+
1 qut qx3 __d17|=;qvi qwo;8,b,o,h,2
|
|
103
|
+
*/
|
|
2148
104
|
//# sourceMappingURL=resend.js.map
|