samva 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +7 -0
- package/README.md +14 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +1085 -332
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +119 -0
- package/dist/effect/agents.js +29 -0
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +270 -0
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +55 -70
- package/dist/effect/generated/email.js +18 -21
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +466 -712
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +431 -177
- package/dist/effect/generated/shared.js +216 -108
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +5 -3
- package/dist/effect/internal/operation.js +4 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +119 -119
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +9 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +117 -23
- package/dist/service-map.js +71 -10
- package/package.json +17 -9
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
package/dist/service-map.d.ts
CHANGED
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
* is visible in review and test failures.
|
|
5
5
|
*/
|
|
6
6
|
export declare const SDK_SERVICE_OPERATIONS: {
|
|
7
|
+
readonly agents: {
|
|
8
|
+
readonly list: "agentsList";
|
|
9
|
+
readonly create: "agentsCreate";
|
|
10
|
+
readonly get: "agentsGet";
|
|
11
|
+
readonly update: "agentsUpdate";
|
|
12
|
+
readonly remove: "agentsRemove";
|
|
13
|
+
readonly replaceDraft: "agentsReplaceDraft";
|
|
14
|
+
readonly publish: "agentsPublish";
|
|
15
|
+
readonly listVersions: "agentsListVersions";
|
|
16
|
+
readonly getVersion: "agentsGetVersion";
|
|
17
|
+
};
|
|
7
18
|
readonly analytics: {
|
|
8
19
|
readonly getStats: "analyticsGetStats";
|
|
9
20
|
readonly getChannelStats: "analyticsGetChannelStats";
|
|
@@ -37,6 +48,8 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
37
48
|
readonly setDefault: "brandsSetDefault";
|
|
38
49
|
};
|
|
39
50
|
readonly campaigns: {
|
|
51
|
+
readonly preview: "campaignsPreview";
|
|
52
|
+
readonly sendTest: "campaignsSendTest";
|
|
40
53
|
readonly list: "campaignsList";
|
|
41
54
|
readonly create: "campaignsCreate";
|
|
42
55
|
readonly get: "campaignsGet";
|
|
@@ -45,6 +58,7 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
45
58
|
readonly listRuns: "campaignsListRuns";
|
|
46
59
|
readonly scheduleRun: "campaignsScheduleRun";
|
|
47
60
|
readonly getRun: "campaignsGetRun";
|
|
61
|
+
readonly getRunReport: "campaignsGetRunReport";
|
|
48
62
|
readonly pauseRun: "campaignsPauseRun";
|
|
49
63
|
readonly resumeRun: "campaignsResumeRun";
|
|
50
64
|
readonly cancelRun: "campaignsCancelRun";
|
|
@@ -76,7 +90,9 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
76
90
|
readonly addTags: "contactsAddTags";
|
|
77
91
|
readonly removeTags: "contactsRemoveTags";
|
|
78
92
|
readonly getEngagement: "contactsGetEngagement";
|
|
79
|
-
readonly
|
|
93
|
+
readonly planImport: "contactsPlanImport";
|
|
94
|
+
readonly startImport: "contactsStartImport";
|
|
95
|
+
readonly getImportJob: "contactsGetImportJob";
|
|
80
96
|
readonly bulkDelete: "contactsBulkDelete";
|
|
81
97
|
readonly bulkUpdateTags: "contactsBulkUpdateTags";
|
|
82
98
|
readonly bulkUpdateStatus: "contactsBulkUpdateStatus";
|
|
@@ -274,16 +290,23 @@ export declare const SDK_SERVICE_OPERATIONS: {
|
|
|
274
290
|
readonly subscriptions: {
|
|
275
291
|
readonly subscribe: "subscriptionsSubscribe";
|
|
276
292
|
};
|
|
277
|
-
readonly
|
|
278
|
-
readonly list: "
|
|
279
|
-
readonly
|
|
280
|
-
readonly
|
|
281
|
-
readonly
|
|
282
|
-
readonly
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
readonly
|
|
286
|
-
readonly
|
|
293
|
+
readonly topicForms: {
|
|
294
|
+
readonly list: "topicFormsList";
|
|
295
|
+
readonly get: "topicFormsGet";
|
|
296
|
+
readonly create: "topicFormsCreate";
|
|
297
|
+
readonly update: "topicFormsUpdate";
|
|
298
|
+
readonly remove: "topicFormsRemove";
|
|
299
|
+
};
|
|
300
|
+
readonly topics: {
|
|
301
|
+
readonly list: "topicsList";
|
|
302
|
+
readonly get: "topicsGet";
|
|
303
|
+
readonly create: "topicsCreate";
|
|
304
|
+
readonly update: "topicsUpdate";
|
|
305
|
+
readonly remove: "topicsRemove";
|
|
306
|
+
readonly setDefault: "topicsSetDefault";
|
|
307
|
+
readonly listSubscriptions: "topicsListSubscriptions";
|
|
308
|
+
readonly setSubscriptions: "topicsSetSubscriptions";
|
|
309
|
+
readonly checkSubscription: "topicsCheckSubscription";
|
|
287
310
|
};
|
|
288
311
|
readonly whoami: {
|
|
289
312
|
readonly get: "whoamiGet";
|
|
@@ -501,6 +524,12 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
501
524
|
readonly kind: "pathPayload";
|
|
502
525
|
readonly paths: readonly ["id"];
|
|
503
526
|
};
|
|
527
|
+
readonly campaignsPreview: {
|
|
528
|
+
readonly kind: "payload";
|
|
529
|
+
};
|
|
530
|
+
readonly campaignsSendTest: {
|
|
531
|
+
readonly kind: "payload";
|
|
532
|
+
};
|
|
504
533
|
readonly campaignsList: {
|
|
505
534
|
readonly kind: "params";
|
|
506
535
|
};
|
|
@@ -531,6 +560,10 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
531
560
|
readonly kind: "path";
|
|
532
561
|
readonly paths: readonly ["id", "runId"];
|
|
533
562
|
};
|
|
563
|
+
readonly campaignsGetRunReport: {
|
|
564
|
+
readonly kind: "path";
|
|
565
|
+
readonly paths: readonly ["id", "runId"];
|
|
566
|
+
};
|
|
534
567
|
readonly campaignsPauseRun: {
|
|
535
568
|
readonly kind: "path";
|
|
536
569
|
readonly paths: readonly ["id", "runId"];
|
|
@@ -933,9 +966,16 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
933
966
|
readonly kind: "path";
|
|
934
967
|
readonly paths: readonly ["id"];
|
|
935
968
|
};
|
|
936
|
-
readonly
|
|
969
|
+
readonly contactsPlanImport: {
|
|
970
|
+
readonly kind: "payload";
|
|
971
|
+
};
|
|
972
|
+
readonly contactsStartImport: {
|
|
937
973
|
readonly kind: "payload";
|
|
938
974
|
};
|
|
975
|
+
readonly contactsGetImportJob: {
|
|
976
|
+
readonly kind: "path";
|
|
977
|
+
readonly paths: readonly ["id"];
|
|
978
|
+
};
|
|
939
979
|
readonly contactsBulkDelete: {
|
|
940
980
|
readonly kind: "payload";
|
|
941
981
|
};
|
|
@@ -1258,38 +1298,92 @@ export declare const SDK_OPERATION_CALLS: {
|
|
|
1258
1298
|
readonly subscriptionsSubscribe: {
|
|
1259
1299
|
readonly kind: "payload";
|
|
1260
1300
|
};
|
|
1261
|
-
readonly
|
|
1262
|
-
readonly kind: "
|
|
1301
|
+
readonly topicFormsList: {
|
|
1302
|
+
readonly kind: "path";
|
|
1303
|
+
readonly paths: readonly ["id"];
|
|
1304
|
+
};
|
|
1305
|
+
readonly topicFormsGet: {
|
|
1306
|
+
readonly kind: "path";
|
|
1307
|
+
readonly paths: readonly ["id", "formId"];
|
|
1308
|
+
};
|
|
1309
|
+
readonly topicFormsCreate: {
|
|
1310
|
+
readonly kind: "pathPayload";
|
|
1311
|
+
readonly paths: readonly ["id"];
|
|
1312
|
+
};
|
|
1313
|
+
readonly topicFormsUpdate: {
|
|
1314
|
+
readonly kind: "pathPayload";
|
|
1315
|
+
readonly paths: readonly ["id", "formId"];
|
|
1316
|
+
};
|
|
1317
|
+
readonly topicFormsRemove: {
|
|
1318
|
+
readonly kind: "path";
|
|
1319
|
+
readonly paths: readonly ["id", "formId"];
|
|
1320
|
+
};
|
|
1321
|
+
readonly topicsList: {
|
|
1322
|
+
readonly kind: "params";
|
|
1263
1323
|
};
|
|
1264
|
-
readonly
|
|
1324
|
+
readonly topicsGet: {
|
|
1325
|
+
readonly kind: "path";
|
|
1326
|
+
readonly paths: readonly ["id"];
|
|
1327
|
+
};
|
|
1328
|
+
readonly topicsCreate: {
|
|
1265
1329
|
readonly kind: "payload";
|
|
1266
1330
|
};
|
|
1267
|
-
readonly
|
|
1331
|
+
readonly topicsUpdate: {
|
|
1268
1332
|
readonly kind: "pathPayload";
|
|
1269
1333
|
readonly paths: readonly ["id"];
|
|
1270
1334
|
};
|
|
1271
|
-
readonly
|
|
1335
|
+
readonly topicsRemove: {
|
|
1272
1336
|
readonly kind: "path";
|
|
1273
1337
|
readonly paths: readonly ["id"];
|
|
1274
1338
|
};
|
|
1275
|
-
readonly
|
|
1339
|
+
readonly topicsSetDefault: {
|
|
1276
1340
|
readonly kind: "path";
|
|
1277
1341
|
readonly paths: readonly ["id"];
|
|
1278
1342
|
};
|
|
1279
|
-
readonly
|
|
1343
|
+
readonly topicsListSubscriptions: {
|
|
1280
1344
|
readonly kind: "pathParams";
|
|
1281
1345
|
readonly paths: readonly ["id"];
|
|
1282
1346
|
};
|
|
1283
|
-
readonly
|
|
1347
|
+
readonly topicsSetSubscriptions: {
|
|
1284
1348
|
readonly kind: "pathPayload";
|
|
1285
1349
|
readonly paths: readonly ["id"];
|
|
1286
1350
|
};
|
|
1287
|
-
readonly
|
|
1351
|
+
readonly topicsCheckSubscription: {
|
|
1352
|
+
readonly kind: "params";
|
|
1353
|
+
};
|
|
1354
|
+
readonly agentsList: {
|
|
1355
|
+
readonly kind: "params";
|
|
1356
|
+
};
|
|
1357
|
+
readonly agentsCreate: {
|
|
1358
|
+
readonly kind: "payload";
|
|
1359
|
+
};
|
|
1360
|
+
readonly agentsGet: {
|
|
1361
|
+
readonly kind: "path";
|
|
1362
|
+
readonly paths: readonly ["id"];
|
|
1363
|
+
};
|
|
1364
|
+
readonly agentsUpdate: {
|
|
1288
1365
|
readonly kind: "pathPayload";
|
|
1289
1366
|
readonly paths: readonly ["id"];
|
|
1290
1367
|
};
|
|
1291
|
-
readonly
|
|
1292
|
-
readonly kind: "
|
|
1368
|
+
readonly agentsRemove: {
|
|
1369
|
+
readonly kind: "path";
|
|
1370
|
+
readonly paths: readonly ["id"];
|
|
1371
|
+
};
|
|
1372
|
+
readonly agentsReplaceDraft: {
|
|
1373
|
+
readonly kind: "pathPayload";
|
|
1374
|
+
readonly paths: readonly ["id"];
|
|
1375
|
+
};
|
|
1376
|
+
readonly agentsPublish: {
|
|
1377
|
+
readonly kind: "pathPayload";
|
|
1378
|
+
readonly paths: readonly ["id"];
|
|
1379
|
+
};
|
|
1380
|
+
readonly agentsListVersions: {
|
|
1381
|
+
readonly kind: "pathParams";
|
|
1382
|
+
readonly paths: readonly ["id"];
|
|
1383
|
+
};
|
|
1384
|
+
readonly agentsGetVersion: {
|
|
1385
|
+
readonly kind: "path";
|
|
1386
|
+
readonly paths: readonly ["id", "version"];
|
|
1293
1387
|
};
|
|
1294
1388
|
readonly analyticsGetStats: {
|
|
1295
1389
|
readonly kind: "params";
|
package/dist/service-map.js
CHANGED
|
@@ -90,6 +90,8 @@ const SDK_OPERATION_CALLS = {
|
|
|
90
90
|
kind: "pathPayload",
|
|
91
91
|
paths: ["id"]
|
|
92
92
|
},
|
|
93
|
+
campaignsPreview: { kind: "payload" },
|
|
94
|
+
campaignsSendTest: { kind: "payload" },
|
|
93
95
|
campaignsList: { kind: "params" },
|
|
94
96
|
campaignsCreate: { kind: "payload" },
|
|
95
97
|
campaignsGet: {
|
|
@@ -116,6 +118,10 @@ const SDK_OPERATION_CALLS = {
|
|
|
116
118
|
kind: "path",
|
|
117
119
|
paths: ["id", "runId"]
|
|
118
120
|
},
|
|
121
|
+
campaignsGetRunReport: {
|
|
122
|
+
kind: "path",
|
|
123
|
+
paths: ["id", "runId"]
|
|
124
|
+
},
|
|
119
125
|
campaignsPauseRun: {
|
|
120
126
|
kind: "path",
|
|
121
127
|
paths: ["id", "runId"]
|
|
@@ -454,7 +460,12 @@ const SDK_OPERATION_CALLS = {
|
|
|
454
460
|
kind: "path",
|
|
455
461
|
paths: ["id"]
|
|
456
462
|
},
|
|
457
|
-
|
|
463
|
+
contactsPlanImport: { kind: "payload" },
|
|
464
|
+
contactsStartImport: { kind: "payload" },
|
|
465
|
+
contactsGetImportJob: {
|
|
466
|
+
kind: "path",
|
|
467
|
+
paths: ["id"]
|
|
468
|
+
},
|
|
458
469
|
contactsBulkDelete: { kind: "payload" },
|
|
459
470
|
contactsBulkUpdateTags: { kind: "payload" },
|
|
460
471
|
contactsBulkUpdateStatus: { kind: "payload" },
|
|
@@ -717,33 +728,83 @@ const SDK_OPERATION_CALLS = {
|
|
|
717
728
|
paths: ["id"]
|
|
718
729
|
},
|
|
719
730
|
subscriptionsSubscribe: { kind: "payload" },
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
731
|
+
topicFormsList: {
|
|
732
|
+
kind: "path",
|
|
733
|
+
paths: ["id"]
|
|
734
|
+
},
|
|
735
|
+
topicFormsGet: {
|
|
736
|
+
kind: "path",
|
|
737
|
+
paths: ["id", "formId"]
|
|
738
|
+
},
|
|
739
|
+
topicFormsCreate: {
|
|
723
740
|
kind: "pathPayload",
|
|
724
741
|
paths: ["id"]
|
|
725
742
|
},
|
|
726
|
-
|
|
743
|
+
topicFormsUpdate: {
|
|
744
|
+
kind: "pathPayload",
|
|
745
|
+
paths: ["id", "formId"]
|
|
746
|
+
},
|
|
747
|
+
topicFormsRemove: {
|
|
748
|
+
kind: "path",
|
|
749
|
+
paths: ["id", "formId"]
|
|
750
|
+
},
|
|
751
|
+
topicsList: { kind: "params" },
|
|
752
|
+
topicsGet: {
|
|
727
753
|
kind: "path",
|
|
728
754
|
paths: ["id"]
|
|
729
755
|
},
|
|
730
|
-
|
|
756
|
+
topicsCreate: { kind: "payload" },
|
|
757
|
+
topicsUpdate: {
|
|
758
|
+
kind: "pathPayload",
|
|
759
|
+
paths: ["id"]
|
|
760
|
+
},
|
|
761
|
+
topicsRemove: {
|
|
731
762
|
kind: "path",
|
|
732
763
|
paths: ["id"]
|
|
733
764
|
},
|
|
734
|
-
|
|
765
|
+
topicsSetDefault: {
|
|
766
|
+
kind: "path",
|
|
767
|
+
paths: ["id"]
|
|
768
|
+
},
|
|
769
|
+
topicsListSubscriptions: {
|
|
735
770
|
kind: "pathParams",
|
|
736
771
|
paths: ["id"]
|
|
737
772
|
},
|
|
738
|
-
|
|
773
|
+
topicsSetSubscriptions: {
|
|
774
|
+
kind: "pathPayload",
|
|
775
|
+
paths: ["id"]
|
|
776
|
+
},
|
|
777
|
+
topicsCheckSubscription: { kind: "params" },
|
|
778
|
+
agentsList: { kind: "params" },
|
|
779
|
+
agentsCreate: { kind: "payload" },
|
|
780
|
+
agentsGet: {
|
|
781
|
+
kind: "path",
|
|
782
|
+
paths: ["id"]
|
|
783
|
+
},
|
|
784
|
+
agentsUpdate: {
|
|
739
785
|
kind: "pathPayload",
|
|
740
786
|
paths: ["id"]
|
|
741
787
|
},
|
|
742
|
-
|
|
788
|
+
agentsRemove: {
|
|
789
|
+
kind: "path",
|
|
790
|
+
paths: ["id"]
|
|
791
|
+
},
|
|
792
|
+
agentsReplaceDraft: {
|
|
743
793
|
kind: "pathPayload",
|
|
744
794
|
paths: ["id"]
|
|
745
795
|
},
|
|
746
|
-
|
|
796
|
+
agentsPublish: {
|
|
797
|
+
kind: "pathPayload",
|
|
798
|
+
paths: ["id"]
|
|
799
|
+
},
|
|
800
|
+
agentsListVersions: {
|
|
801
|
+
kind: "pathParams",
|
|
802
|
+
paths: ["id"]
|
|
803
|
+
},
|
|
804
|
+
agentsGetVersion: {
|
|
805
|
+
kind: "path",
|
|
806
|
+
paths: ["id", "version"]
|
|
807
|
+
},
|
|
747
808
|
analyticsGetStats: { kind: "params" },
|
|
748
809
|
analyticsGetChannelStats: { kind: "params" },
|
|
749
810
|
analyticsGetTopContacts: { kind: "params" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "samva",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "TypeScript SDK for the Samva email API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://samva.dev",
|
|
17
17
|
"bugs": {
|
|
18
|
-
"url": "https://github.com/
|
|
18
|
+
"url": "https://github.com/SamvaHQ/samva-typescript/issues"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "Arya Labs, Inc.",
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "https://github.com/
|
|
24
|
+
"url": "https://github.com/SamvaHQ/samva-typescript.git",
|
|
25
25
|
"directory": "packages/sdk"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
"types": "./dist/effect/categories.d.ts",
|
|
56
56
|
"import": "./dist/effect/categories.js"
|
|
57
57
|
},
|
|
58
|
+
"./effect/agents": {
|
|
59
|
+
"types": "./dist/effect/agents.d.ts",
|
|
60
|
+
"import": "./dist/effect/agents.js"
|
|
61
|
+
},
|
|
58
62
|
"./effect/analytics": {
|
|
59
63
|
"types": "./dist/effect/analytics.d.ts",
|
|
60
64
|
"import": "./dist/effect/analytics.js"
|
|
@@ -159,9 +163,13 @@
|
|
|
159
163
|
"types": "./dist/effect/templates.d.ts",
|
|
160
164
|
"import": "./dist/effect/templates.js"
|
|
161
165
|
},
|
|
162
|
-
"./effect/
|
|
163
|
-
"types": "./dist/effect/
|
|
164
|
-
"import": "./dist/effect/
|
|
166
|
+
"./effect/topic-forms": {
|
|
167
|
+
"types": "./dist/effect/topic-forms.d.ts",
|
|
168
|
+
"import": "./dist/effect/topic-forms.js"
|
|
169
|
+
},
|
|
170
|
+
"./effect/topics": {
|
|
171
|
+
"types": "./dist/effect/topics.d.ts",
|
|
172
|
+
"import": "./dist/effect/topics.js"
|
|
165
173
|
},
|
|
166
174
|
"./effect/webhooks": {
|
|
167
175
|
"types": "./dist/effect/webhooks.d.ts",
|
|
@@ -190,8 +198,8 @@
|
|
|
190
198
|
"generate:openapi": "bun run scripts/openapi.ts",
|
|
191
199
|
"generate:promises": "bun run codegen/generate-promises.ts && bun run scripts/generate-promise-errors.ts && oxfmt --config=../../oxfmt.config.ts src/client src/promises/errors.gen.ts src/promises/types.gen.ts",
|
|
192
200
|
"generate:effect": "bun run codegen/generate-effect.ts && oxfmt --config=../../oxfmt.config.ts src/effect/generated src/effect/generated-metadata.ts && bun run codegen/normalize-effect.ts",
|
|
193
|
-
"generate": "bun run --filter @samva/openapi
|
|
194
|
-
"test": "vitest run --root ../.. --project packages",
|
|
201
|
+
"generate": "bun run --filter @samva/openapi build && bun generate:openapi && bun generate:promises && bun generate:effect",
|
|
202
|
+
"test": "vitest run --root ../.. --project packages packages/sdk/tests",
|
|
195
203
|
"test:generation": "bun scripts/check-generation.ts",
|
|
196
204
|
"test:packed": "bun run build && bun scripts/test-packed-consumers.ts",
|
|
197
205
|
"test:tarball": "bun run build && bun scripts/check-tarball.ts",
|
|
@@ -200,7 +208,7 @@
|
|
|
200
208
|
"typecheck": "tsc-rs --noEmit && tsc-rs --noEmit -p codegen/tsconfig.json && tsc-rs --noEmit -p tests/tsconfig.json && tsc-rs --noEmit --project tests/parity/tsconfig.json"
|
|
201
209
|
},
|
|
202
210
|
"dependencies": {
|
|
203
|
-
"@samva/webhooks": "0.
|
|
211
|
+
"@samva/webhooks": "0.28.0"
|
|
204
212
|
},
|
|
205
213
|
"devDependencies": {
|
|
206
214
|
"@effect/openapi-generator": "4.0.4",
|