@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/dist/index.cjs CHANGED
@@ -5030,6 +5030,19 @@ var bindings = {
5030
5030
  }
5031
5031
  },
5032
5032
  "template": {
5033
+ "archive": {
5034
+ "level": "write",
5035
+ "method": "POST",
5036
+ "operationKey": "mail_template_archive",
5037
+ "params": [
5038
+ {
5039
+ "in": "path",
5040
+ "name": "id"
5041
+ }
5042
+ ],
5043
+ "path": "/mail/templates/:id/archive",
5044
+ "readOnly": false
5045
+ },
5033
5046
  "create": {
5034
5047
  "level": "write",
5035
5048
  "method": "POST",
@@ -5089,6 +5102,12 @@ var bindings = {
5089
5102
  "level": "read",
5090
5103
  "method": "GET",
5091
5104
  "operationKey": "mail_template_list",
5105
+ "params": [
5106
+ {
5107
+ "in": "query",
5108
+ "name": "include_archived"
5109
+ }
5110
+ ],
5092
5111
  "path": "/mail/templates",
5093
5112
  "readOnly": true
5094
5113
  },
@@ -5105,6 +5124,36 @@ var bindings = {
5105
5124
  "path": "/mail/templates/:id/publish",
5106
5125
  "readOnly": false
5107
5126
  },
5127
+ "restore": {
5128
+ "level": "write",
5129
+ "method": "POST",
5130
+ "operationKey": "mail_template_restore",
5131
+ "params": [
5132
+ {
5133
+ "in": "path",
5134
+ "name": "id"
5135
+ },
5136
+ {
5137
+ "in": "path",
5138
+ "name": "revision"
5139
+ }
5140
+ ],
5141
+ "path": "/mail/templates/:id/revisions/:revision/restore",
5142
+ "readOnly": false
5143
+ },
5144
+ "unarchive": {
5145
+ "level": "write",
5146
+ "method": "POST",
5147
+ "operationKey": "mail_template_unarchive",
5148
+ "params": [
5149
+ {
5150
+ "in": "path",
5151
+ "name": "id"
5152
+ }
5153
+ ],
5154
+ "path": "/mail/templates/:id/unarchive",
5155
+ "readOnly": false
5156
+ },
5108
5157
  "update": {
5109
5158
  "level": "write",
5110
5159
  "method": "PATCH",
@@ -5139,6 +5188,53 @@ var bindings = {
5139
5188
  "readOnly": false
5140
5189
  }
5141
5190
  },
5191
+ "template-draft": {
5192
+ "discard": {
5193
+ "level": "write",
5194
+ "method": "DELETE",
5195
+ "operationKey": "mail_template_draft_discard",
5196
+ "params": [
5197
+ {
5198
+ "in": "path",
5199
+ "name": "id"
5200
+ }
5201
+ ],
5202
+ "path": "/mail/templates/:id/draft",
5203
+ "readOnly": false
5204
+ }
5205
+ },
5206
+ "template-revision": {
5207
+ "get": {
5208
+ "level": "read",
5209
+ "method": "GET",
5210
+ "operationKey": "mail_template_revision_get",
5211
+ "params": [
5212
+ {
5213
+ "in": "path",
5214
+ "name": "id"
5215
+ },
5216
+ {
5217
+ "in": "path",
5218
+ "name": "revision"
5219
+ }
5220
+ ],
5221
+ "path": "/mail/templates/:id/revisions/:revision",
5222
+ "readOnly": true
5223
+ },
5224
+ "list": {
5225
+ "level": "read",
5226
+ "method": "GET",
5227
+ "operationKey": "mail_template_revision_list",
5228
+ "params": [
5229
+ {
5230
+ "in": "path",
5231
+ "name": "id"
5232
+ }
5233
+ ],
5234
+ "path": "/mail/templates/:id/revisions",
5235
+ "readOnly": true
5236
+ }
5237
+ },
5142
5238
  "usage": {
5143
5239
  "get": {
5144
5240
  "level": "read",
@@ -11866,11 +11962,17 @@ var operations = {
11866
11962
  "mail_suppression_add": "write",
11867
11963
  "mail_suppression_list": "read",
11868
11964
  "mail_suppression_remove": "admin",
11965
+ "mail_template_archive": "write",
11869
11966
  "mail_template_create": "write",
11870
11967
  "mail_template_delete": "admin",
11968
+ "mail_template_draft_discard": "write",
11871
11969
  "mail_template_get": "read",
11872
11970
  "mail_template_list": "read",
11873
11971
  "mail_template_publish": "write",
11972
+ "mail_template_restore": "write",
11973
+ "mail_template_revision_get": "read",
11974
+ "mail_template_revision_list": "read",
11975
+ "mail_template_unarchive": "write",
11874
11976
  "mail_template_update": "write",
11875
11977
  "mail_usage_get": "read",
11876
11978
  "mail_webhook_create": "admin",
@@ -12286,11 +12388,17 @@ var compositions = {
12286
12388
  "mail_suppression_add": { "pii": ["input.address", "output.address"], "label": "Suppress address" },
12287
12389
  "mail_suppression_list": { "pii": ["input.q", "output.items[].address"], "label": "List suppressions" },
12288
12390
  "mail_suppression_remove": { "pii": ["input.address", "output.address"], "label": "Unsuppress address" },
12391
+ "mail_template_archive": { "label": "Archive template", "options": { "id": "mail_template_list" } },
12289
12392
  "mail_template_create": { "label": "Create template" },
12290
12393
  "mail_template_delete": { "label": "Delete template", "options": { "id": "mail_template_list" } },
12394
+ "mail_template_draft_discard": { "label": "Discard template draft", "options": { "id": "mail_template_list" } },
12291
12395
  "mail_template_get": { "label": "Get template", "options": { "id": "mail_template_list" } },
12292
12396
  "mail_template_list": { "label": "List templates" },
12293
12397
  "mail_template_publish": { "label": "Publish template", "options": { "id": "mail_template_list" } },
12398
+ "mail_template_restore": { "label": "Restore template revision", "options": { "id": "mail_template_list" } },
12399
+ "mail_template_revision_get": { "label": "Get template revision", "options": { "id": "mail_template_list" } },
12400
+ "mail_template_revision_list": { "label": "List template revisions", "options": { "id": "mail_template_list" } },
12401
+ "mail_template_unarchive": { "label": "Unarchive template", "options": { "id": "mail_template_list" } },
12294
12402
  "mail_template_update": { "label": "Update template", "options": { "id": "mail_template_list" } },
12295
12403
  "mail_usage_get": { "label": "Get usage" },
12296
12404
  "playground_workflow_echo": { "pii": ["input.note", "output.note"], "label": "Store workflow echo", "completion_event": "playground/workflow.echoed" },