@lepsto/sdk-app 89.3.0 → 89.4.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/CHANGELOG.md +28 -6
- package/dist/_types/gen/client.gen.d.ts +11 -1
- package/dist/_types/gen/mail/index.d.ts +1 -1
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +25 -1
- package/dist/_types/gen/types.gen.d.ts +434 -5
- package/dist/{chunk-IWBH5QNX.js → chunk-ZH37YJ7E.js} +98 -2
- package/dist/chunk-ZH37YJ7E.js.map +1 -0
- package/dist/index.cjs +108 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/mail/index.cjs +30 -0
- package/dist/mail/index.cjs.map +1 -1
- package/dist/mail/index.js +25 -1
- package/dist/mail/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +96 -0
- package/src/gen/client.gen.ts +22 -0
- package/src/gen/mail/index.ts +1 -1
- package/src/gen/mail/queryOptions.gen.ts +38 -0
- package/src/gen/manifest.gen.ts +12 -0
- package/src/gen/types.gen.ts +446 -6
- package/dist/chunk-IWBH5QNX.js.map +0 -1
package/dist/playground/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lepsto/sdk-app",
|
|
3
3
|
"description": "The Lepsto SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lepsto Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lepsto platform services with full type safety and autocompletion.",
|
|
4
|
-
"version": "89.
|
|
4
|
+
"version": "89.4.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -220,5 +220,5 @@
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
|
-
"sdkContentHash": "sha256:
|
|
223
|
+
"sdkContentHash": "sha256:c08240c1cca14ff99b863e87cab123c4491fc3707cd154adbbe2c5729896f663"
|
|
224
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -4813,6 +4813,19 @@ export const bindings: BindingsMap = {
|
|
|
4813
4813
|
}
|
|
4814
4814
|
},
|
|
4815
4815
|
"template": {
|
|
4816
|
+
"archive": {
|
|
4817
|
+
"level": "write",
|
|
4818
|
+
"method": "POST",
|
|
4819
|
+
"operationKey": "mail_template_archive",
|
|
4820
|
+
"params": [
|
|
4821
|
+
{
|
|
4822
|
+
"in": "path",
|
|
4823
|
+
"name": "id"
|
|
4824
|
+
}
|
|
4825
|
+
],
|
|
4826
|
+
"path": "/mail/templates/:id/archive",
|
|
4827
|
+
"readOnly": false
|
|
4828
|
+
},
|
|
4816
4829
|
"create": {
|
|
4817
4830
|
"level": "write",
|
|
4818
4831
|
"method": "POST",
|
|
@@ -4872,6 +4885,12 @@ export const bindings: BindingsMap = {
|
|
|
4872
4885
|
"level": "read",
|
|
4873
4886
|
"method": "GET",
|
|
4874
4887
|
"operationKey": "mail_template_list",
|
|
4888
|
+
"params": [
|
|
4889
|
+
{
|
|
4890
|
+
"in": "query",
|
|
4891
|
+
"name": "include_archived"
|
|
4892
|
+
}
|
|
4893
|
+
],
|
|
4875
4894
|
"path": "/mail/templates",
|
|
4876
4895
|
"readOnly": true
|
|
4877
4896
|
},
|
|
@@ -4888,6 +4907,36 @@ export const bindings: BindingsMap = {
|
|
|
4888
4907
|
"path": "/mail/templates/:id/publish",
|
|
4889
4908
|
"readOnly": false
|
|
4890
4909
|
},
|
|
4910
|
+
"restore": {
|
|
4911
|
+
"level": "write",
|
|
4912
|
+
"method": "POST",
|
|
4913
|
+
"operationKey": "mail_template_restore",
|
|
4914
|
+
"params": [
|
|
4915
|
+
{
|
|
4916
|
+
"in": "path",
|
|
4917
|
+
"name": "id"
|
|
4918
|
+
},
|
|
4919
|
+
{
|
|
4920
|
+
"in": "path",
|
|
4921
|
+
"name": "revision"
|
|
4922
|
+
}
|
|
4923
|
+
],
|
|
4924
|
+
"path": "/mail/templates/:id/revisions/:revision/restore",
|
|
4925
|
+
"readOnly": false
|
|
4926
|
+
},
|
|
4927
|
+
"unarchive": {
|
|
4928
|
+
"level": "write",
|
|
4929
|
+
"method": "POST",
|
|
4930
|
+
"operationKey": "mail_template_unarchive",
|
|
4931
|
+
"params": [
|
|
4932
|
+
{
|
|
4933
|
+
"in": "path",
|
|
4934
|
+
"name": "id"
|
|
4935
|
+
}
|
|
4936
|
+
],
|
|
4937
|
+
"path": "/mail/templates/:id/unarchive",
|
|
4938
|
+
"readOnly": false
|
|
4939
|
+
},
|
|
4891
4940
|
"update": {
|
|
4892
4941
|
"level": "write",
|
|
4893
4942
|
"method": "PATCH",
|
|
@@ -4922,6 +4971,53 @@ export const bindings: BindingsMap = {
|
|
|
4922
4971
|
"readOnly": false
|
|
4923
4972
|
}
|
|
4924
4973
|
},
|
|
4974
|
+
"template-draft": {
|
|
4975
|
+
"discard": {
|
|
4976
|
+
"level": "write",
|
|
4977
|
+
"method": "DELETE",
|
|
4978
|
+
"operationKey": "mail_template_draft_discard",
|
|
4979
|
+
"params": [
|
|
4980
|
+
{
|
|
4981
|
+
"in": "path",
|
|
4982
|
+
"name": "id"
|
|
4983
|
+
}
|
|
4984
|
+
],
|
|
4985
|
+
"path": "/mail/templates/:id/draft",
|
|
4986
|
+
"readOnly": false
|
|
4987
|
+
}
|
|
4988
|
+
},
|
|
4989
|
+
"template-revision": {
|
|
4990
|
+
"get": {
|
|
4991
|
+
"level": "read",
|
|
4992
|
+
"method": "GET",
|
|
4993
|
+
"operationKey": "mail_template_revision_get",
|
|
4994
|
+
"params": [
|
|
4995
|
+
{
|
|
4996
|
+
"in": "path",
|
|
4997
|
+
"name": "id"
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"in": "path",
|
|
5001
|
+
"name": "revision"
|
|
5002
|
+
}
|
|
5003
|
+
],
|
|
5004
|
+
"path": "/mail/templates/:id/revisions/:revision",
|
|
5005
|
+
"readOnly": true
|
|
5006
|
+
},
|
|
5007
|
+
"list": {
|
|
5008
|
+
"level": "read",
|
|
5009
|
+
"method": "GET",
|
|
5010
|
+
"operationKey": "mail_template_revision_list",
|
|
5011
|
+
"params": [
|
|
5012
|
+
{
|
|
5013
|
+
"in": "path",
|
|
5014
|
+
"name": "id"
|
|
5015
|
+
}
|
|
5016
|
+
],
|
|
5017
|
+
"path": "/mail/templates/:id/revisions",
|
|
5018
|
+
"readOnly": true
|
|
5019
|
+
}
|
|
5020
|
+
},
|
|
4925
5021
|
"usage": {
|
|
4926
5022
|
"get": {
|
|
4927
5023
|
"level": "read",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -507,16 +507,28 @@ import type {
|
|
|
507
507
|
MailSuppressionListOutput,
|
|
508
508
|
MailSuppressionRemoveInput,
|
|
509
509
|
MailSuppressionRemoveOutput,
|
|
510
|
+
MailTemplateArchiveInput,
|
|
511
|
+
MailTemplateArchiveOutput,
|
|
510
512
|
MailTemplateCreateInput,
|
|
511
513
|
MailTemplateCreateOutput,
|
|
512
514
|
MailTemplateDeleteInput,
|
|
513
515
|
MailTemplateDeleteOutput,
|
|
516
|
+
MailTemplateDraftDiscardInput,
|
|
517
|
+
MailTemplateDraftDiscardOutput,
|
|
514
518
|
MailTemplateGetInput,
|
|
515
519
|
MailTemplateGetOutput,
|
|
516
520
|
MailTemplateListInput,
|
|
517
521
|
MailTemplateListOutput,
|
|
518
522
|
MailTemplatePublishInput,
|
|
519
523
|
MailTemplatePublishOutput,
|
|
524
|
+
MailTemplateRestoreInput,
|
|
525
|
+
MailTemplateRestoreOutput,
|
|
526
|
+
MailTemplateRevisionGetInput,
|
|
527
|
+
MailTemplateRevisionGetOutput,
|
|
528
|
+
MailTemplateRevisionListInput,
|
|
529
|
+
MailTemplateRevisionListOutput,
|
|
530
|
+
MailTemplateUnarchiveInput,
|
|
531
|
+
MailTemplateUnarchiveOutput,
|
|
520
532
|
MailTemplateUpdateInput,
|
|
521
533
|
MailTemplateUpdateOutput,
|
|
522
534
|
MailUsageGetInput,
|
|
@@ -1693,13 +1705,23 @@ export interface GeneratedClient {
|
|
|
1693
1705
|
remove: ((input: MailSuppressionRemoveInput) => Promise<MailSuppressionRemoveOutput>) & Operation;
|
|
1694
1706
|
};
|
|
1695
1707
|
template: {
|
|
1708
|
+
archive: ((input: MailTemplateArchiveInput) => Promise<MailTemplateArchiveOutput>) & Operation;
|
|
1696
1709
|
create: ((input: MailTemplateCreateInput) => Promise<MailTemplateCreateOutput>) & Operation;
|
|
1697
1710
|
delete: ((input: MailTemplateDeleteInput) => Promise<MailTemplateDeleteOutput>) & Operation;
|
|
1698
1711
|
get: ((input: MailTemplateGetInput) => Promise<MailTemplateGetOutput>) & Operation;
|
|
1699
1712
|
list: ((input: MailTemplateListInput) => Promise<MailTemplateListOutput>) & Operation;
|
|
1700
1713
|
publish: ((input: MailTemplatePublishInput) => Promise<MailTemplatePublishOutput>) & Operation;
|
|
1714
|
+
restore: ((input: MailTemplateRestoreInput) => Promise<MailTemplateRestoreOutput>) & Operation;
|
|
1715
|
+
unarchive: ((input: MailTemplateUnarchiveInput) => Promise<MailTemplateUnarchiveOutput>) & Operation;
|
|
1701
1716
|
update: ((input: MailTemplateUpdateInput) => Promise<MailTemplateUpdateOutput>) & Operation;
|
|
1702
1717
|
};
|
|
1718
|
+
'template-draft': {
|
|
1719
|
+
discard: ((input: MailTemplateDraftDiscardInput) => Promise<MailTemplateDraftDiscardOutput>) & Operation;
|
|
1720
|
+
};
|
|
1721
|
+
'template-revision': {
|
|
1722
|
+
get: ((input: MailTemplateRevisionGetInput) => Promise<MailTemplateRevisionGetOutput>) & Operation;
|
|
1723
|
+
list: ((input: MailTemplateRevisionListInput) => Promise<MailTemplateRevisionListOutput>) & Operation;
|
|
1724
|
+
};
|
|
1703
1725
|
usage: {
|
|
1704
1726
|
get: ((input: MailUsageGetInput) => Promise<MailUsageGetOutput>) & Operation;
|
|
1705
1727
|
};
|
package/src/gen/mail/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { MailApikeyCreateInput, MailApikeyCreateOutput, MailApikeyDeleteInput, MailApikeyDeleteOutput, MailApikeyListInput, MailApikeyListOutput, MailAudienceCreateInput, MailAudienceCreateOutput, MailAudienceDeleteInput, MailAudienceDeleteOutput, MailAudienceGetInput, MailAudienceGetOutput, MailAudienceListInput, MailAudienceListOutput, MailAudienceUpdateInput, MailAudienceUpdateOutput, MailBroadcastCancelInput, MailBroadcastCancelOutput, MailBroadcastCreateInput, MailBroadcastCreateOutput, MailBroadcastDeleteInput, MailBroadcastDeleteOutput, MailBroadcastGetInput, MailBroadcastGetOutput, MailBroadcastListInput, MailBroadcastListOutput, MailBroadcastQueueInput, MailBroadcastQueueOutput, MailBroadcastStatsInput, MailBroadcastStatsOutput, MailBroadcastUpdateInput, MailBroadcastUpdateOutput, MailContactCreateInput, MailContactCreateOutput, MailContactDeleteInput, MailContactDeleteOutput, MailContactGetInput, MailContactGetOutput, MailContactListInput, MailContactListOutput, MailContactUpdateInput, MailContactUpdateOutput, MailDomainAllowedListInput, MailDomainAllowedListOutput, MailDomainCreateInput, MailDomainCreateOutput, MailDomainDeleteInput, MailDomainDeleteOutput, MailDomainGetInput, MailDomainGetOutput, MailDomainListInput, MailDomainListOutput, MailDomainUpdateInput, MailDomainUpdateOutput, MailDomainVerifyInput, MailDomainVerifyOutput, MailEmailCancelInput, MailEmailCancelOutput, MailEmailGetInput, MailEmailGetOutput, MailEmailSendBatchInput, MailEmailSendBatchOutput, MailEmailSendInput, MailEmailSendOutput, MailEmailUpdateInput, MailEmailUpdateOutput, MailReputationGetInput, MailReputationGetOutput, MailStatsGetInput, MailStatsGetOutput, MailSuppressionAddInput, MailSuppressionAddOutput, MailSuppressionListInput, MailSuppressionListOutput, MailSuppressionRemoveInput, MailSuppressionRemoveOutput, MailTemplateCreateInput, MailTemplateCreateOutput, MailTemplateDeleteInput, MailTemplateDeleteOutput, MailTemplateGetInput, MailTemplateGetOutput, MailTemplateListInput, MailTemplateListOutput, MailTemplatePublishInput, MailTemplatePublishOutput, MailTemplateUpdateInput, MailTemplateUpdateOutput, MailUsageGetInput, MailUsageGetOutput, MailWebhookCreateInput, MailWebhookCreateOutput, MailWebhookDeleteInput, MailWebhookDeleteOutput, MailWebhookDeliveriesListInput, MailWebhookDeliveriesListOutput, MailWebhookGetInput, MailWebhookGetOutput, MailWebhookListInput, MailWebhookListOutput, MailWebhookUpdateInput, MailWebhookUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { MailApikeyCreateInput, MailApikeyCreateOutput, MailApikeyDeleteInput, MailApikeyDeleteOutput, MailApikeyListInput, MailApikeyListOutput, MailAudienceCreateInput, MailAudienceCreateOutput, MailAudienceDeleteInput, MailAudienceDeleteOutput, MailAudienceGetInput, MailAudienceGetOutput, MailAudienceListInput, MailAudienceListOutput, MailAudienceUpdateInput, MailAudienceUpdateOutput, MailBroadcastCancelInput, MailBroadcastCancelOutput, MailBroadcastCreateInput, MailBroadcastCreateOutput, MailBroadcastDeleteInput, MailBroadcastDeleteOutput, MailBroadcastGetInput, MailBroadcastGetOutput, MailBroadcastListInput, MailBroadcastListOutput, MailBroadcastQueueInput, MailBroadcastQueueOutput, MailBroadcastStatsInput, MailBroadcastStatsOutput, MailBroadcastUpdateInput, MailBroadcastUpdateOutput, MailContactCreateInput, MailContactCreateOutput, MailContactDeleteInput, MailContactDeleteOutput, MailContactGetInput, MailContactGetOutput, MailContactListInput, MailContactListOutput, MailContactUpdateInput, MailContactUpdateOutput, MailDomainAllowedListInput, MailDomainAllowedListOutput, MailDomainCreateInput, MailDomainCreateOutput, MailDomainDeleteInput, MailDomainDeleteOutput, MailDomainGetInput, MailDomainGetOutput, MailDomainListInput, MailDomainListOutput, MailDomainUpdateInput, MailDomainUpdateOutput, MailDomainVerifyInput, MailDomainVerifyOutput, MailEmailCancelInput, MailEmailCancelOutput, MailEmailGetInput, MailEmailGetOutput, MailEmailSendBatchInput, MailEmailSendBatchOutput, MailEmailSendInput, MailEmailSendOutput, MailEmailUpdateInput, MailEmailUpdateOutput, MailReputationGetInput, MailReputationGetOutput, MailStatsGetInput, MailStatsGetOutput, MailSuppressionAddInput, MailSuppressionAddOutput, MailSuppressionListInput, MailSuppressionListOutput, MailSuppressionRemoveInput, MailSuppressionRemoveOutput, MailTemplateArchiveInput, MailTemplateArchiveOutput, MailTemplateCreateInput, MailTemplateCreateOutput, MailTemplateDeleteInput, MailTemplateDeleteOutput, MailTemplateDraftDiscardInput, MailTemplateDraftDiscardOutput, MailTemplateGetInput, MailTemplateGetOutput, MailTemplateListInput, MailTemplateListOutput, MailTemplatePublishInput, MailTemplatePublishOutput, MailTemplateRestoreInput, MailTemplateRestoreOutput, MailTemplateRevisionGetInput, MailTemplateRevisionGetOutput, MailTemplateRevisionListInput, MailTemplateRevisionListOutput, MailTemplateUnarchiveInput, MailTemplateUnarchiveOutput, MailTemplateUpdateInput, MailTemplateUpdateOutput, MailUsageGetInput, MailUsageGetOutput, MailWebhookCreateInput, MailWebhookCreateOutput, MailWebhookDeleteInput, MailWebhookDeleteOutput, MailWebhookDeliveriesListInput, MailWebhookDeliveriesListOutput, MailWebhookGetInput, MailWebhookGetOutput, MailWebhookListInput, MailWebhookListOutput, MailWebhookUpdateInput, MailWebhookUpdateOutput } from '../types.gen';
|
|
@@ -54,13 +54,21 @@ import type {
|
|
|
54
54
|
MailSuppressionListInput,
|
|
55
55
|
MailSuppressionListOutput,
|
|
56
56
|
MailSuppressionRemoveInput,
|
|
57
|
+
MailTemplateArchiveInput,
|
|
57
58
|
MailTemplateCreateInput,
|
|
58
59
|
MailTemplateDeleteInput,
|
|
60
|
+
MailTemplateDraftDiscardInput,
|
|
59
61
|
MailTemplateGetInput,
|
|
60
62
|
MailTemplateGetOutput,
|
|
61
63
|
MailTemplateListInput,
|
|
62
64
|
MailTemplateListOutput,
|
|
63
65
|
MailTemplatePublishInput,
|
|
66
|
+
MailTemplateRestoreInput,
|
|
67
|
+
MailTemplateRevisionGetInput,
|
|
68
|
+
MailTemplateRevisionGetOutput,
|
|
69
|
+
MailTemplateRevisionListInput,
|
|
70
|
+
MailTemplateRevisionListOutput,
|
|
71
|
+
MailTemplateUnarchiveInput,
|
|
64
72
|
MailTemplateUpdateInput,
|
|
65
73
|
MailUsageGetInput,
|
|
66
74
|
MailUsageGetOutput,
|
|
@@ -265,6 +273,11 @@ export const mailSuppressionRemoveMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
265
273
|
mutationFn: (input: MailSuppressionRemoveInput) => sdk['mail']['suppression']['remove'](input),
|
|
266
274
|
});
|
|
267
275
|
|
|
276
|
+
export const mailTemplateArchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
277
|
+
mutationKey: ['mail', 'template', 'archive'],
|
|
278
|
+
mutationFn: (input: MailTemplateArchiveInput) => sdk['mail']['template']['archive'](input),
|
|
279
|
+
});
|
|
280
|
+
|
|
268
281
|
export const mailTemplateCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
269
282
|
mutationKey: ['mail', 'template', 'create'],
|
|
270
283
|
mutationFn: (input: MailTemplateCreateInput) => sdk['mail']['template']['create'](input),
|
|
@@ -275,6 +288,11 @@ export const mailTemplateDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
275
288
|
mutationFn: (input: MailTemplateDeleteInput) => sdk['mail']['template']['delete'](input),
|
|
276
289
|
});
|
|
277
290
|
|
|
291
|
+
export const mailTemplateDraftDiscardMutationOptions = (sdk: GeneratedClient) => ({
|
|
292
|
+
mutationKey: ['mail', 'template-draft', 'discard'],
|
|
293
|
+
mutationFn: (input: MailTemplateDraftDiscardInput) => sdk['mail']['template-draft']['discard'](input),
|
|
294
|
+
});
|
|
295
|
+
|
|
278
296
|
export const mailTemplateGetQueryOptions = (sdk: GeneratedClient, input: MailTemplateGetInput) => ({
|
|
279
297
|
queryKey: ['mail', 'template', 'get', input] as const,
|
|
280
298
|
queryFn: () => sdk['mail']['template']['get'](input),
|
|
@@ -290,6 +308,26 @@ export const mailTemplatePublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
290
308
|
mutationFn: (input: MailTemplatePublishInput) => sdk['mail']['template']['publish'](input),
|
|
291
309
|
});
|
|
292
310
|
|
|
311
|
+
export const mailTemplateRestoreMutationOptions = (sdk: GeneratedClient) => ({
|
|
312
|
+
mutationKey: ['mail', 'template', 'restore'],
|
|
313
|
+
mutationFn: (input: MailTemplateRestoreInput) => sdk['mail']['template']['restore'](input),
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
export const mailTemplateRevisionGetQueryOptions = (sdk: GeneratedClient, input: MailTemplateRevisionGetInput) => ({
|
|
317
|
+
queryKey: ['mail', 'template-revision', 'get', input] as const,
|
|
318
|
+
queryFn: () => sdk['mail']['template-revision']['get'](input),
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
export const mailTemplateRevisionListQueryOptions = (sdk: GeneratedClient, input: MailTemplateRevisionListInput) => ({
|
|
322
|
+
queryKey: ['mail', 'template-revision', 'list', input] as const,
|
|
323
|
+
queryFn: () => sdk['mail']['template-revision']['list'](input),
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
export const mailTemplateUnarchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
327
|
+
mutationKey: ['mail', 'template', 'unarchive'],
|
|
328
|
+
mutationFn: (input: MailTemplateUnarchiveInput) => sdk['mail']['template']['unarchive'](input),
|
|
329
|
+
});
|
|
330
|
+
|
|
293
331
|
export const mailTemplateUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
294
332
|
mutationKey: ['mail', 'template', 'update'],
|
|
295
333
|
mutationFn: (input: MailTemplateUpdateInput) => sdk['mail']['template']['update'](input),
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -257,11 +257,17 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
257
257
|
'mail_suppression_add': 'write',
|
|
258
258
|
'mail_suppression_list': 'read',
|
|
259
259
|
'mail_suppression_remove': 'admin',
|
|
260
|
+
'mail_template_archive': 'write',
|
|
260
261
|
'mail_template_create': 'write',
|
|
261
262
|
'mail_template_delete': 'admin',
|
|
263
|
+
'mail_template_draft_discard': 'write',
|
|
262
264
|
'mail_template_get': 'read',
|
|
263
265
|
'mail_template_list': 'read',
|
|
264
266
|
'mail_template_publish': 'write',
|
|
267
|
+
'mail_template_restore': 'write',
|
|
268
|
+
'mail_template_revision_get': 'read',
|
|
269
|
+
'mail_template_revision_list': 'read',
|
|
270
|
+
'mail_template_unarchive': 'write',
|
|
265
271
|
'mail_template_update': 'write',
|
|
266
272
|
'mail_usage_get': 'read',
|
|
267
273
|
'mail_webhook_create': 'admin',
|
|
@@ -678,11 +684,17 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
678
684
|
'mail_suppression_add': {"pii":["input.address","output.address"],"label":"Suppress address"},
|
|
679
685
|
'mail_suppression_list': {"pii":["input.q","output.items[].address"],"label":"List suppressions"},
|
|
680
686
|
'mail_suppression_remove': {"pii":["input.address","output.address"],"label":"Unsuppress address"},
|
|
687
|
+
'mail_template_archive': {"label":"Archive template","options":{"id":"mail_template_list"}},
|
|
681
688
|
'mail_template_create': {"label":"Create template"},
|
|
682
689
|
'mail_template_delete': {"label":"Delete template","options":{"id":"mail_template_list"}},
|
|
690
|
+
'mail_template_draft_discard': {"label":"Discard template draft","options":{"id":"mail_template_list"}},
|
|
683
691
|
'mail_template_get': {"label":"Get template","options":{"id":"mail_template_list"}},
|
|
684
692
|
'mail_template_list': {"label":"List templates"},
|
|
685
693
|
'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
|
|
694
|
+
'mail_template_restore': {"label":"Restore template revision","options":{"id":"mail_template_list"}},
|
|
695
|
+
'mail_template_revision_get': {"label":"Get template revision","options":{"id":"mail_template_list"}},
|
|
696
|
+
'mail_template_revision_list': {"label":"List template revisions","options":{"id":"mail_template_list"}},
|
|
697
|
+
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
686
698
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
687
699
|
'mail_usage_get': {"label":"Get usage"},
|
|
688
700
|
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|