@lepsto/sdk-app 89.3.0 → 89.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +33 -1
  2. package/dist/_types/gen/client.gen.d.ts +11 -38
  3. package/dist/_types/gen/mail/index.d.ts +1 -1
  4. package/dist/_types/gen/mail/queryOptions.gen.d.ts +25 -1
  5. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  6. package/dist/_types/gen/types.gen.d.ts +434 -331
  7. package/dist/index.cjs +108 -227
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.js +11295 -22
  10. package/dist/index.js.map +1 -1
  11. package/dist/mail/index.cjs +30 -0
  12. package/dist/mail/index.cjs.map +1 -1
  13. package/dist/mail/index.js +25 -1
  14. package/dist/mail/index.js.map +1 -1
  15. package/package.json +2 -12
  16. package/src/gen/bindings.gen.ts +97 -216
  17. package/src/gen/client.gen.ts +22 -71
  18. package/src/gen/mail/index.ts +1 -1
  19. package/src/gen/mail/queryOptions.gen.ts +38 -0
  20. package/src/gen/manifest.gen.ts +13 -21
  21. package/src/gen/types.gen.ts +460 -392
  22. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  23. package/dist/_types/gen/playground/index.d.ts +0 -3
  24. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -70
  25. package/dist/chunk-IWBH5QNX.js +0 -11406
  26. package/dist/chunk-IWBH5QNX.js.map +0 -1
  27. package/dist/playground/index.cjs +0 -106
  28. package/dist/playground/index.cjs.map +0 -1
  29. package/dist/playground/index.d.cts +0 -1
  30. package/dist/playground/index.d.ts +0 -1
  31. package/dist/playground/index.js +0 -78
  32. package/dist/playground/index.js.map +0 -1
  33. package/src/gen/playground/connect.gen.ts +0 -9
  34. package/src/gen/playground/index.ts +0 -4
  35. package/src/gen/playground/queryOptions.gen.ts +0 -119
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",
@@ -7496,213 +7592,6 @@ var bindings = {
7496
7592
  }
7497
7593
  }
7498
7594
  },
7499
- "playground": {
7500
- "analytics": {
7501
- "overview": {
7502
- "level": "read",
7503
- "method": "POST",
7504
- "operationKey": "playground_analytics_overview",
7505
- "params": [
7506
- {
7507
- "in": "body",
7508
- "name": "limit"
7509
- }
7510
- ],
7511
- "path": "/playground/analytics/overview",
7512
- "readOnly": true
7513
- }
7514
- },
7515
- "billing": {
7516
- "entitlements": {
7517
- "level": "read",
7518
- "method": "POST",
7519
- "operationKey": "playground_billing_entitlements",
7520
- "path": "/playground/billing/entitlements",
7521
- "readOnly": true
7522
- },
7523
- "record-usage": {
7524
- "level": "write",
7525
- "method": "POST",
7526
- "operationKey": "playground_billing_record-usage",
7527
- "params": [
7528
- {
7529
- "in": "body",
7530
- "name": "value"
7531
- }
7532
- ],
7533
- "path": "/playground/billing/usage",
7534
- "readOnly": false
7535
- }
7536
- },
7537
- "clickup": {
7538
- "create-task": {
7539
- "level": "write",
7540
- "method": "POST",
7541
- "operationKey": "playground_clickup_create-task",
7542
- "params": [
7543
- {
7544
- "in": "body",
7545
- "name": "listId"
7546
- },
7547
- {
7548
- "in": "body",
7549
- "name": "name"
7550
- }
7551
- ],
7552
- "path": "/playground/clickup/tasks",
7553
- "readOnly": false
7554
- },
7555
- "get-last-webhook": {
7556
- "level": "read",
7557
- "method": "GET",
7558
- "operationKey": "playground_clickup_get-last-webhook",
7559
- "path": "/playground/clickup/webhooks/last",
7560
- "readOnly": true
7561
- },
7562
- "get-overview": {
7563
- "level": "read",
7564
- "method": "GET",
7565
- "operationKey": "playground_clickup_get-overview",
7566
- "path": "/playground/clickup/overview",
7567
- "readOnly": true
7568
- }
7569
- },
7570
- "echo": {
7571
- "ping": {
7572
- "level": "read",
7573
- "method": "POST",
7574
- "operationKey": "playground_echo_ping",
7575
- "params": [
7576
- {
7577
- "in": "body",
7578
- "name": "message"
7579
- }
7580
- ],
7581
- "path": "/playground/echo/ping",
7582
- "readOnly": true
7583
- }
7584
- },
7585
- "gdrive": {
7586
- "get-last-change": {
7587
- "level": "read",
7588
- "method": "GET",
7589
- "operationKey": "playground_gdrive_get-last-change",
7590
- "path": "/playground/gdrive/changes/last",
7591
- "readOnly": true
7592
- },
7593
- "read-file": {
7594
- "level": "read",
7595
- "method": "POST",
7596
- "operationKey": "playground_gdrive_read-file",
7597
- "params": [
7598
- {
7599
- "in": "body",
7600
- "name": "fileId"
7601
- }
7602
- ],
7603
- "path": "/playground/gdrive/file",
7604
- "readOnly": true
7605
- }
7606
- },
7607
- "googleads": {
7608
- "read-customer": {
7609
- "level": "read",
7610
- "method": "POST",
7611
- "operationKey": "playground_googleads_read-customer",
7612
- "path": "/playground/googleads/customer",
7613
- "readOnly": true
7614
- }
7615
- },
7616
- "lifecycle": {
7617
- "get-state": {
7618
- "level": "read",
7619
- "method": "GET",
7620
- "operationKey": "playground_lifecycle_get-state",
7621
- "path": "/playground/lifecycle/state",
7622
- "readOnly": true
7623
- },
7624
- "list-events": {
7625
- "level": "read",
7626
- "method": "GET",
7627
- "operationKey": "playground_lifecycle_list-events",
7628
- "path": "/playground/lifecycle/events",
7629
- "readOnly": true
7630
- }
7631
- },
7632
- "webhook": {
7633
- "get-last": {
7634
- "level": "read",
7635
- "method": "GET",
7636
- "operationKey": "playground_webhook_get-last",
7637
- "path": "/playground/webhooks/last",
7638
- "readOnly": true
7639
- }
7640
- },
7641
- "workflow": {
7642
- "echo": {
7643
- "level": "write",
7644
- "method": "POST",
7645
- "operationKey": "playground_workflow_echo",
7646
- "params": [
7647
- {
7648
- "in": "body",
7649
- "name": "note"
7650
- },
7651
- {
7652
- "in": "body",
7653
- "name": "tags"
7654
- }
7655
- ],
7656
- "path": "/playground/workflow/echo",
7657
- "readOnly": false
7658
- },
7659
- "echo-list": {
7660
- "level": "read",
7661
- "method": "GET",
7662
- "operationKey": "playground_workflow_echo-list",
7663
- "path": "/playground/workflow/echoes",
7664
- "readOnly": true
7665
- },
7666
- "ping": {
7667
- "level": "write",
7668
- "method": "POST",
7669
- "operationKey": "playground_workflow_ping",
7670
- "params": [
7671
- {
7672
- "in": "body",
7673
- "name": "kind"
7674
- }
7675
- ],
7676
- "path": "/playground/workflow/ping",
7677
- "readOnly": false
7678
- },
7679
- "subjects-list": {
7680
- "level": "read",
7681
- "method": "GET",
7682
- "operationKey": "playground_workflow_subjects-list",
7683
- "params": [
7684
- {
7685
- "in": "query",
7686
- "name": "last_activity_before"
7687
- },
7688
- {
7689
- "in": "query",
7690
- "name": "last_activity_after"
7691
- },
7692
- {
7693
- "in": "query",
7694
- "name": "limit"
7695
- },
7696
- {
7697
- "in": "query",
7698
- "name": "cursor"
7699
- }
7700
- ],
7701
- "path": "/playground/workflow/subjects",
7702
- "readOnly": true
7703
- }
7704
- }
7705
- },
7706
7595
  "realtime": {
7707
7596
  "archive": {
7708
7597
  "export": {
@@ -11866,11 +11755,17 @@ var operations = {
11866
11755
  "mail_suppression_add": "write",
11867
11756
  "mail_suppression_list": "read",
11868
11757
  "mail_suppression_remove": "admin",
11758
+ "mail_template_archive": "write",
11869
11759
  "mail_template_create": "write",
11870
11760
  "mail_template_delete": "admin",
11761
+ "mail_template_draft_discard": "write",
11871
11762
  "mail_template_get": "read",
11872
11763
  "mail_template_list": "read",
11873
11764
  "mail_template_publish": "write",
11765
+ "mail_template_restore": "write",
11766
+ "mail_template_revision_get": "read",
11767
+ "mail_template_revision_list": "read",
11768
+ "mail_template_unarchive": "write",
11874
11769
  "mail_template_update": "write",
11875
11770
  "mail_usage_get": "read",
11876
11771
  "mail_webhook_create": "admin",
@@ -12004,23 +11899,6 @@ var operations = {
12004
11899
  "organization_support_threads_list": "read",
12005
11900
  "organization_x_install": "read",
12006
11901
  "organization_youtube_install": "read",
12007
- "playground_analytics_overview": "read",
12008
- "playground_billing_entitlements": "read",
12009
- "playground_billing_record-usage": "write",
12010
- "playground_clickup_create-task": "write",
12011
- "playground_clickup_get-last-webhook": "read",
12012
- "playground_clickup_get-overview": "read",
12013
- "playground_echo_ping": "read",
12014
- "playground_gdrive_get-last-change": "read",
12015
- "playground_gdrive_read-file": "read",
12016
- "playground_googleads_read-customer": "read",
12017
- "playground_lifecycle_get-state": "read",
12018
- "playground_lifecycle_list-events": "read",
12019
- "playground_webhook_get-last": "read",
12020
- "playground_workflow_echo": "write",
12021
- "playground_workflow_echo-list": "read",
12022
- "playground_workflow_ping": "write",
12023
- "playground_workflow_subjects-list": "read",
12024
11902
  "realtime_archive_export": "admin",
12025
11903
  "realtime_archive_export_status": "read",
12026
11904
  "realtime_archive_get": "read",
@@ -12286,16 +12164,19 @@ var compositions = {
12286
12164
  "mail_suppression_add": { "pii": ["input.address", "output.address"], "label": "Suppress address" },
12287
12165
  "mail_suppression_list": { "pii": ["input.q", "output.items[].address"], "label": "List suppressions" },
12288
12166
  "mail_suppression_remove": { "pii": ["input.address", "output.address"], "label": "Unsuppress address" },
12167
+ "mail_template_archive": { "label": "Archive template", "options": { "id": "mail_template_list" } },
12289
12168
  "mail_template_create": { "label": "Create template" },
12290
12169
  "mail_template_delete": { "label": "Delete template", "options": { "id": "mail_template_list" } },
12170
+ "mail_template_draft_discard": { "label": "Discard template draft", "options": { "id": "mail_template_list" } },
12291
12171
  "mail_template_get": { "label": "Get template", "options": { "id": "mail_template_list" } },
12292
12172
  "mail_template_list": { "label": "List templates" },
12293
12173
  "mail_template_publish": { "label": "Publish template", "options": { "id": "mail_template_list" } },
12174
+ "mail_template_restore": { "label": "Restore template revision", "options": { "id": "mail_template_list" } },
12175
+ "mail_template_revision_get": { "label": "Get template revision", "options": { "id": "mail_template_list" } },
12176
+ "mail_template_revision_list": { "label": "List template revisions", "options": { "id": "mail_template_list" } },
12177
+ "mail_template_unarchive": { "label": "Unarchive template", "options": { "id": "mail_template_list" } },
12294
12178
  "mail_template_update": { "label": "Update template", "options": { "id": "mail_template_list" } },
12295
12179
  "mail_usage_get": { "label": "Get usage" },
12296
- "playground_workflow_echo": { "pii": ["input.note", "output.note"], "label": "Store workflow echo", "completion_event": "playground/workflow.echoed" },
12297
- "playground_workflow_ping": { "label": "Fire workflow ping", "completion_event": "playground/workflow.ping" },
12298
- "playground_workflow_subjects-list": { "pii": ["output.items[].display_name"], "label": "List workflow subjects" },
12299
12180
  "support_agent_create": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Create agent" },
12300
12181
  "support_agent_get": { "pii": ["output.lesslyUserId"], "label": "Get agent", "options": { "id": "support_agent_list" } },
12301
12182
  "support_agent_list": { "pii": ["output.agents[].lesslyUserId"], "label": "List agents" },