@lessly/sdk-app 78.0.0 → 79.0.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/_types/gen/client.gen.d.ts +4 -1
- package/dist/_types/gen/support/index.d.ts +1 -1
- package/dist/_types/gen/support/queryOptions.gen.d.ts +13 -1
- package/dist/_types/gen/types.gen.d.ts +336 -0
- package/dist/{chunk-LUFP6XK2.js → chunk-RUEYSS2X.js} +41 -2
- package/dist/chunk-RUEYSS2X.js.map +1 -0
- package/dist/index.cjs +50 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/support/index.cjs +15 -0
- package/dist/support/index.cjs.map +1 -1
- package/dist/support/index.js +13 -1
- package/dist/support/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +39 -0
- package/src/gen/client.gen.ts +9 -0
- package/src/gen/manifest.gen.ts +11 -5
- package/src/gen/support/index.ts +1 -1
- package/src/gen/support/queryOptions.gen.ts +21 -0
- package/src/gen/types.gen.ts +342 -0
- package/dist/chunk-LUFP6XK2.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -8375,6 +8375,19 @@ var bindings = {
|
|
|
8375
8375
|
"path": "/support/labels",
|
|
8376
8376
|
"readOnly": false
|
|
8377
8377
|
},
|
|
8378
|
+
"get": {
|
|
8379
|
+
"level": "read",
|
|
8380
|
+
"method": "GET",
|
|
8381
|
+
"operationKey": "support_label_get",
|
|
8382
|
+
"params": [
|
|
8383
|
+
{
|
|
8384
|
+
"in": "path",
|
|
8385
|
+
"name": "id"
|
|
8386
|
+
}
|
|
8387
|
+
],
|
|
8388
|
+
"path": "/support/labels/:id",
|
|
8389
|
+
"readOnly": true
|
|
8390
|
+
},
|
|
8378
8391
|
"list": {
|
|
8379
8392
|
"level": "read",
|
|
8380
8393
|
"method": "GET",
|
|
@@ -8421,6 +8434,19 @@ var bindings = {
|
|
|
8421
8434
|
"path": "/support/messages",
|
|
8422
8435
|
"readOnly": false
|
|
8423
8436
|
},
|
|
8437
|
+
"get": {
|
|
8438
|
+
"level": "read",
|
|
8439
|
+
"method": "GET",
|
|
8440
|
+
"operationKey": "support_message_get",
|
|
8441
|
+
"params": [
|
|
8442
|
+
{
|
|
8443
|
+
"in": "path",
|
|
8444
|
+
"name": "id"
|
|
8445
|
+
}
|
|
8446
|
+
],
|
|
8447
|
+
"path": "/support/messages/:id",
|
|
8448
|
+
"readOnly": true
|
|
8449
|
+
},
|
|
8424
8450
|
"list": {
|
|
8425
8451
|
"level": "read",
|
|
8426
8452
|
"method": "GET",
|
|
@@ -8706,6 +8732,19 @@ var bindings = {
|
|
|
8706
8732
|
"path": "/support/statuses",
|
|
8707
8733
|
"readOnly": false
|
|
8708
8734
|
},
|
|
8735
|
+
"get": {
|
|
8736
|
+
"level": "read",
|
|
8737
|
+
"method": "GET",
|
|
8738
|
+
"operationKey": "support_status_get",
|
|
8739
|
+
"params": [
|
|
8740
|
+
{
|
|
8741
|
+
"in": "path",
|
|
8742
|
+
"name": "id"
|
|
8743
|
+
}
|
|
8744
|
+
],
|
|
8745
|
+
"path": "/support/statuses/:id",
|
|
8746
|
+
"readOnly": true
|
|
8747
|
+
},
|
|
8709
8748
|
"list": {
|
|
8710
8749
|
"level": "read",
|
|
8711
8750
|
"method": "GET",
|
|
@@ -12092,8 +12131,10 @@ var operations = {
|
|
|
12092
12131
|
"support_attachment_create": "write",
|
|
12093
12132
|
"support_attachment_finalize": "write",
|
|
12094
12133
|
"support_label_create": "write",
|
|
12134
|
+
"support_label_get": "read",
|
|
12095
12135
|
"support_label_list": "read",
|
|
12096
12136
|
"support_message_create": "write",
|
|
12137
|
+
"support_message_get": "read",
|
|
12097
12138
|
"support_message_list": "read",
|
|
12098
12139
|
"support_response_escalate": "write",
|
|
12099
12140
|
"support_response_get": "read",
|
|
@@ -12105,6 +12146,7 @@ var operations = {
|
|
|
12105
12146
|
"support_rule_update": "write",
|
|
12106
12147
|
"support_status_archive": "admin",
|
|
12107
12148
|
"support_status_create": "write",
|
|
12149
|
+
"support_status_get": "read",
|
|
12108
12150
|
"support_status_list": "read",
|
|
12109
12151
|
"support_status_update": "write",
|
|
12110
12152
|
"support_survey_archive": "admin",
|
|
@@ -12332,13 +12374,15 @@ var compositions = {
|
|
|
12332
12374
|
"playground_workflow_echo": { "pii": ["input.note", "output.note"], "label": "Store workflow echo", "completion_event": "playground/workflow.echoed" },
|
|
12333
12375
|
"playground_workflow_ping": { "label": "Fire workflow ping", "completion_event": "playground/workflow.ping" },
|
|
12334
12376
|
"playground_workflow_subjects-list": { "pii": ["output.items[].display_name"], "label": "List workflow subjects" },
|
|
12335
|
-
"support_agent_create": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Create agent
|
|
12377
|
+
"support_agent_create": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Create agent" },
|
|
12336
12378
|
"support_agent_get": { "pii": ["output.lesslyUserId"], "label": "Get agent", "options": { "id": "support_agent_list" } },
|
|
12337
12379
|
"support_agent_list": { "pii": ["output.agents[].lesslyUserId"], "label": "List agents" },
|
|
12338
|
-
"support_agent_update": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Update agent
|
|
12380
|
+
"support_agent_update": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Update agent", "options": { "id": "support_agent_list" } },
|
|
12339
12381
|
"support_label_create": { "label": "Create label" },
|
|
12382
|
+
"support_label_get": { "label": "Get label", "options": { "id": "support_label_list" } },
|
|
12340
12383
|
"support_label_list": { "label": "List labels" },
|
|
12341
12384
|
"support_message_create": { "pii": ["input.body", "input.authorExternalId", "output.body", "output.authorExternalId"], "label": "Write message", "options": { "threadId": "support_thread_list", "authorAgentId": "support_agent_list" } },
|
|
12385
|
+
"support_message_get": { "pii": ["output.body", "output.authorExternalId"], "label": "Get message", "options": { "id": "support_message_list" } },
|
|
12342
12386
|
"support_message_list": { "pii": ["output.messages[].body", "output.messages[].authorExternalId"], "label": "List messages", "options": { "threadId": "support_thread_list" } },
|
|
12343
12387
|
"support_response_escalate": { "pii": ["output.response.authorExternalId", "output.response.answers", "output.thread.title", "output.thread.authorExternalId", "output.thread.authorDisplay"], "label": "Escalate response into a thread", "options": { "id": "support_response_list" } },
|
|
12344
12388
|
"support_response_get": { "pii": ["output.authorExternalId", "output.answers"], "label": "Get survey response", "options": { "id": "support_response_list" } },
|
|
@@ -12350,6 +12394,7 @@ var compositions = {
|
|
|
12350
12394
|
"support_rule_update": { "label": "Update delivery rule", "options": { "id": "support_rule_list" } },
|
|
12351
12395
|
"support_status_archive": { "label": "Archive status", "options": { "id": "support_status_list", "targetStatusId": "support_status_list" } },
|
|
12352
12396
|
"support_status_create": { "label": "Create status" },
|
|
12397
|
+
"support_status_get": { "label": "Get status", "options": { "id": "support_status_list" } },
|
|
12353
12398
|
"support_status_list": { "label": "List statuses" },
|
|
12354
12399
|
"support_status_update": { "label": "Update status", "options": { "id": "support_status_list" } },
|
|
12355
12400
|
"support_survey_archive": { "label": "Archive survey", "options": { "id": "support_survey_list" } },
|
|
@@ -12360,12 +12405,12 @@ var compositions = {
|
|
|
12360
12405
|
"support_survey_stats": { "label": "Read survey stats", "options": { "id": "support_survey_list" } },
|
|
12361
12406
|
"support_survey_unpublish": { "label": "Unpublish survey", "options": { "id": "support_survey_list" } },
|
|
12362
12407
|
"support_survey_update": { "label": "Update survey", "options": { "id": "support_survey_list" } },
|
|
12363
|
-
"support_thread_assign": { "pii": ["output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Assign thread", "options": { "id": "support_thread_list", "agentId": "support_agent_list" } },
|
|
12408
|
+
"support_thread_assign": { "pii": ["output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Assign support thread", "options": { "id": "support_thread_list", "agentId": "support_agent_list" } },
|
|
12364
12409
|
"support_thread_create": { "pii": ["input.title", "input.authorExternalId", "input.authorDisplay", "output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Open support thread", "options": { "labelIds": "support_label_list" } },
|
|
12365
12410
|
"support_thread_get": { "pii": ["output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Get support thread", "options": { "id": "support_thread_list" } },
|
|
12366
12411
|
"support_thread_list": { "pii": ["input.authorExternalId", "output.threads[].title", "output.threads[].authorExternalId", "output.threads[].authorDisplay"], "label": "List support threads", "options": { "labelIds": "support_label_list", "statusId": "support_status_list", "assignedAgentId": "support_agent_list" } },
|
|
12367
|
-
"support_thread_status_set": { "pii": ["output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Move thread to status", "options": { "id": "support_thread_list", "statusId": "support_status_list" } },
|
|
12368
|
-
"support_thread_update": { "pii": ["input.title", "output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Update thread", "options": { "id": "support_thread_list", "labelIds": "support_label_list" } },
|
|
12412
|
+
"support_thread_status_set": { "pii": ["output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Move support thread to status", "options": { "id": "support_thread_list", "statusId": "support_status_list" } },
|
|
12413
|
+
"support_thread_update": { "pii": ["input.title", "output.title", "output.authorExternalId", "output.authorDisplay"], "label": "Update support thread", "options": { "id": "support_thread_list", "labelIds": "support_label_list" } },
|
|
12369
12414
|
"tracking_domains_create": { "label": "Claim tracking host", "options": { "domainId": "tracking_domains_list" } },
|
|
12370
12415
|
"tracking_domains_delete": { "label": "Release domain binding", "options": { "bindingId": "tracking_domains_list" } },
|
|
12371
12416
|
"tracking_domains_get": { "label": "Get domain binding", "options": { "bindingId": "tracking_domains_list" } },
|