samva 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{categories-CsUa8ojo.js → categories-B9Nw2v_F.js} +5 -1
- package/dist/client/sdk.gen.d.ts +150 -11
- package/dist/client/types.gen.d.ts +893 -37
- package/dist/{client-BmZK_uCt.js → client-B7gEkvEq.js} +952 -110
- package/dist/{client-attribution-BslSOa_8.js → client-attribution-B2yJBXdZ.js} +2 -2
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/campaigns.d.ts +16 -0
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +15 -0
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/design.js +1 -1
- package/dist/effect/email.d.ts +700 -2
- package/dist/effect/email.js +27 -3
- package/dist/effect/generated-metadata.d.ts +4 -0
- package/dist/effect/generated.d.ts +4102 -359
- package/dist/effect/index.js +2 -2
- package/dist/effect/internal/operation.d.ts +13 -3
- package/dist/effect/media.d.ts +3 -3
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +180 -1
- package/dist/effect/messages.js +5 -3
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/retry.js +1 -1
- package/dist/effect/scheduled-messages.d.ts +90 -6
- package/dist/effect/scheduled-messages.js +5 -3
- package/dist/effect/templates.d.ts +12 -0
- package/dist/effect/templates.js +2 -2
- package/dist/effect/webhooks.d.ts +40 -6
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{operation-B1knNlxk.js → operation-B4FjN6wq.js} +50 -2
- package/dist/promises/errors.gen.d.ts +21 -2
- package/dist/promises/index.d.ts +1 -0
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-n1opem5V.js → promises-CP_nxUus.js} +502 -11
- package/dist/service-map.d.ts +66 -0
- package/package.json +3 -3
package/dist/service-map.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
67
67
|
readonly updateRecipientTrackingPreference: "emailUpdateRecipientTrackingPreference";
|
|
68
68
|
readonly listDomains: "emailListDomains";
|
|
69
69
|
readonly addDomain: "emailAddDomain";
|
|
70
|
+
readonly rotateDomainDkim: "emailRotateDomainDkim";
|
|
70
71
|
readonly getDomainVerification: "emailGetDomainVerification";
|
|
71
72
|
readonly advanceDomainVerification: "emailAdvanceDomainVerification";
|
|
72
73
|
readonly getDomainById: "emailGetDomainById";
|
|
@@ -86,7 +87,18 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
86
87
|
readonly buildCustomTrackingDomainConnectApplyUrl: "emailBuildCustomTrackingDomainConnectApplyUrl";
|
|
87
88
|
readonly completeCustomTrackingDomainConnect: "emailCompleteCustomTrackingDomainConnect";
|
|
88
89
|
readonly disableCustomTracking: "emailDisableCustomTracking";
|
|
90
|
+
readonly getDomainWarming: "emailGetDomainWarming";
|
|
91
|
+
readonly createDomainWarmingPlan: "emailCreateDomainWarmingPlan";
|
|
92
|
+
readonly updateDomainWarmingPolicy: "emailUpdateDomainWarmingPolicy";
|
|
93
|
+
readonly cancelDomainWarmingBatch: "emailCancelDomainWarmingBatch";
|
|
94
|
+
readonly pauseDomainWarming: "emailPauseDomainWarming";
|
|
95
|
+
readonly resumeDomainWarming: "emailResumeDomainWarming";
|
|
96
|
+
readonly completeDomainWarming: "emailCompleteDomainWarming";
|
|
97
|
+
readonly getOnboardingReview: "emailGetOnboardingReview";
|
|
98
|
+
readonly reapplyOnboardingReview: "emailReapplyOnboardingReview";
|
|
99
|
+
readonly respondToOnboardingInformationRequest: "emailRespondToOnboardingInformationRequest";
|
|
89
100
|
readonly listSenders: "emailListSenders";
|
|
101
|
+
readonly getSender: "emailGetSender";
|
|
90
102
|
readonly addSender: "emailAddSender";
|
|
91
103
|
readonly checkSenderVerification: "emailCheckSenderVerification";
|
|
92
104
|
readonly removeSender: "emailRemoveSender";
|
|
@@ -114,6 +126,7 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
114
126
|
readonly messages: {
|
|
115
127
|
readonly list: "messagesList";
|
|
116
128
|
readonly send: "messagesSend";
|
|
129
|
+
readonly validateEmail: "messagesValidateEmail";
|
|
117
130
|
readonly get: "messagesGet";
|
|
118
131
|
readonly getEmail: "messagesGetEmail";
|
|
119
132
|
readonly remove: "messagesRemove";
|
|
@@ -145,6 +158,7 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
145
158
|
readonly create: "scheduledMessagesCreate";
|
|
146
159
|
readonly get: "scheduledMessagesGet";
|
|
147
160
|
readonly cancel: "scheduledMessagesCancel";
|
|
161
|
+
readonly resume: "scheduledMessagesResume";
|
|
148
162
|
};
|
|
149
163
|
readonly templates: {
|
|
150
164
|
readonly list: "templatesList";
|
|
@@ -218,6 +232,9 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
218
232
|
readonly messagesSend: {
|
|
219
233
|
readonly kind: "payload";
|
|
220
234
|
};
|
|
235
|
+
readonly messagesValidateEmail: {
|
|
236
|
+
readonly kind: "payload";
|
|
237
|
+
};
|
|
221
238
|
readonly messagesGet: {
|
|
222
239
|
readonly kind: "path";
|
|
223
240
|
readonly paths: readonly ["id"];
|
|
@@ -271,6 +288,10 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
271
288
|
readonly kind: "path";
|
|
272
289
|
readonly paths: readonly ["id"];
|
|
273
290
|
};
|
|
291
|
+
readonly scheduledMessagesResume: {
|
|
292
|
+
readonly kind: "pathPayload";
|
|
293
|
+
readonly paths: readonly ["id"];
|
|
294
|
+
};
|
|
274
295
|
readonly campaignsList: {
|
|
275
296
|
readonly kind: "params";
|
|
276
297
|
};
|
|
@@ -332,9 +353,22 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
332
353
|
readonly emailUpdateRecipientTrackingPreference: {
|
|
333
354
|
readonly kind: "payload";
|
|
334
355
|
};
|
|
356
|
+
readonly emailGetOnboardingReview: {
|
|
357
|
+
readonly kind: "none";
|
|
358
|
+
};
|
|
359
|
+
readonly emailReapplyOnboardingReview: {
|
|
360
|
+
readonly kind: "payload";
|
|
361
|
+
};
|
|
362
|
+
readonly emailRespondToOnboardingInformationRequest: {
|
|
363
|
+
readonly kind: "payload";
|
|
364
|
+
};
|
|
335
365
|
readonly emailAddDomain: {
|
|
336
366
|
readonly kind: "payload";
|
|
337
367
|
};
|
|
368
|
+
readonly emailRotateDomainDkim: {
|
|
369
|
+
readonly kind: "idempotentPath";
|
|
370
|
+
readonly paths: readonly ["id"];
|
|
371
|
+
};
|
|
338
372
|
readonly emailGetDomainVerification: {
|
|
339
373
|
readonly kind: "path";
|
|
340
374
|
readonly paths: readonly ["id"];
|
|
@@ -411,9 +445,41 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
411
445
|
readonly kind: "path";
|
|
412
446
|
readonly paths: readonly ["id"];
|
|
413
447
|
};
|
|
448
|
+
readonly emailGetDomainWarming: {
|
|
449
|
+
readonly kind: "path";
|
|
450
|
+
readonly paths: readonly ["id"];
|
|
451
|
+
};
|
|
452
|
+
readonly emailCreateDomainWarmingPlan: {
|
|
453
|
+
readonly kind: "pathPayload";
|
|
454
|
+
readonly paths: readonly ["id"];
|
|
455
|
+
};
|
|
456
|
+
readonly emailUpdateDomainWarmingPolicy: {
|
|
457
|
+
readonly kind: "pathPayload";
|
|
458
|
+
readonly paths: readonly ["id"];
|
|
459
|
+
};
|
|
460
|
+
readonly emailCancelDomainWarmingBatch: {
|
|
461
|
+
readonly kind: "path";
|
|
462
|
+
readonly paths: readonly ["id", "batchId"];
|
|
463
|
+
};
|
|
464
|
+
readonly emailPauseDomainWarming: {
|
|
465
|
+
readonly kind: "pathPayload";
|
|
466
|
+
readonly paths: readonly ["id"];
|
|
467
|
+
};
|
|
468
|
+
readonly emailResumeDomainWarming: {
|
|
469
|
+
readonly kind: "pathPayload";
|
|
470
|
+
readonly paths: readonly ["id"];
|
|
471
|
+
};
|
|
472
|
+
readonly emailCompleteDomainWarming: {
|
|
473
|
+
readonly kind: "pathPayload";
|
|
474
|
+
readonly paths: readonly ["id"];
|
|
475
|
+
};
|
|
414
476
|
readonly emailListSenders: {
|
|
415
477
|
readonly kind: "params";
|
|
416
478
|
};
|
|
479
|
+
readonly emailGetSender: {
|
|
480
|
+
readonly kind: "path";
|
|
481
|
+
readonly paths: readonly ["id"];
|
|
482
|
+
};
|
|
417
483
|
readonly emailAddSender: {
|
|
418
484
|
readonly kind: "idempotentPayload";
|
|
419
485
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "samva",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "TypeScript SDK for the Samva email API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
"test:tarball": "bun run build && bun scripts/check-tarball.ts",
|
|
135
135
|
"test:tree-shaking": "bun run build && bun scripts/check-tree-shaking.ts",
|
|
136
136
|
"test:types": "tsc --noEmit --project tests/parity/tsconfig.json",
|
|
137
|
-
"typecheck": "tsc --noEmit"
|
|
137
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p codegen/tsconfig.json && tsc --noEmit -p tests/tsconfig.json"
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@samva/webhooks": "0.
|
|
140
|
+
"@samva/webhooks": "0.5.0"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
143
|
"@effect/openapi-generator": "4.0.0-rc.112",
|