@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
|
@@ -97404,6 +97404,30 @@ export interface SupportLabelCreateOutput {
|
|
|
97404
97404
|
*/
|
|
97405
97405
|
createdAt: string;
|
|
97406
97406
|
}
|
|
97407
|
+
export interface SupportLabelGetInput {
|
|
97408
|
+
/**
|
|
97409
|
+
* Label id
|
|
97410
|
+
*/
|
|
97411
|
+
id: string;
|
|
97412
|
+
}
|
|
97413
|
+
export interface SupportLabelGetOutput {
|
|
97414
|
+
/**
|
|
97415
|
+
* Label id
|
|
97416
|
+
*/
|
|
97417
|
+
id: string;
|
|
97418
|
+
/**
|
|
97419
|
+
* Label name, unique within the product
|
|
97420
|
+
*/
|
|
97421
|
+
name: string;
|
|
97422
|
+
/**
|
|
97423
|
+
* Display colour as a hex string, or null if uncoloured
|
|
97424
|
+
*/
|
|
97425
|
+
color: (string | null);
|
|
97426
|
+
/**
|
|
97427
|
+
* ISO-8601 creation timestamp
|
|
97428
|
+
*/
|
|
97429
|
+
createdAt: string;
|
|
97430
|
+
}
|
|
97407
97431
|
export interface SupportLabelListInput {
|
|
97408
97432
|
}
|
|
97409
97433
|
export interface SupportLabelListOutput {
|
|
@@ -97515,10 +97539,95 @@ export interface SupportMessageCreateOutput {
|
|
|
97515
97539
|
*/
|
|
97516
97540
|
downloadUrl: string;
|
|
97517
97541
|
}[];
|
|
97542
|
+
/**
|
|
97543
|
+
* The same files as a flat list of ids, in the order attachments[] has them. This is the value support_message_create takes back; attachments.0.id names only the first file
|
|
97544
|
+
*/
|
|
97545
|
+
attachmentIds: string[];
|
|
97546
|
+
/**
|
|
97547
|
+
* The agent author, or null when the external end user wrote the message
|
|
97548
|
+
*/
|
|
97549
|
+
authorAgentId: (string | null);
|
|
97550
|
+
/**
|
|
97551
|
+
* How many files this message carries, 0 when it carries none. A dot-path has no length, so this is the only way a step can branch on whether there are files at all — and a message may carry a file and no body, so it is what tells those two messages apart
|
|
97552
|
+
*/
|
|
97553
|
+
attachmentCount: number;
|
|
97554
|
+
/**
|
|
97555
|
+
* The external author, or null when an agent wrote the message
|
|
97556
|
+
*/
|
|
97557
|
+
authorExternalId: (string | null);
|
|
97558
|
+
}
|
|
97559
|
+
export interface SupportMessageGetInput {
|
|
97560
|
+
/**
|
|
97561
|
+
* Message id
|
|
97562
|
+
*/
|
|
97563
|
+
id: string;
|
|
97564
|
+
}
|
|
97565
|
+
export interface SupportMessageGetOutput {
|
|
97566
|
+
/**
|
|
97567
|
+
* Message id
|
|
97568
|
+
*/
|
|
97569
|
+
id: string;
|
|
97570
|
+
/**
|
|
97571
|
+
* The message text, byte-identical to what was stored
|
|
97572
|
+
*/
|
|
97573
|
+
body: string;
|
|
97574
|
+
/**
|
|
97575
|
+
* Thread this message belongs to
|
|
97576
|
+
*/
|
|
97577
|
+
threadId: string;
|
|
97578
|
+
/**
|
|
97579
|
+
* ISO-8601 creation timestamp
|
|
97580
|
+
*/
|
|
97581
|
+
createdAt: string;
|
|
97582
|
+
/**
|
|
97583
|
+
* inbound: written by the external end user. outbound: written by support, going out to them
|
|
97584
|
+
*/
|
|
97585
|
+
direction: ("inbound" | "outbound");
|
|
97586
|
+
/**
|
|
97587
|
+
* public: part of the conversation the external end user sees. internal: a note between agents that never leaves the support contour
|
|
97588
|
+
*/
|
|
97589
|
+
visibility: ("public" | "internal");
|
|
97590
|
+
/**
|
|
97591
|
+
* Files this message carries, each with a freshly signed download URL. Empty when there are none. Attachments whose upload was never confirmed are never listed here
|
|
97592
|
+
*/
|
|
97593
|
+
attachments: {
|
|
97594
|
+
/**
|
|
97595
|
+
* Attachment id
|
|
97596
|
+
*/
|
|
97597
|
+
id: string;
|
|
97598
|
+
/**
|
|
97599
|
+
* Display name of the file
|
|
97600
|
+
*/
|
|
97601
|
+
fileName: string;
|
|
97602
|
+
/**
|
|
97603
|
+
* ISO-8601 timestamp of when the attachment was created
|
|
97604
|
+
*/
|
|
97605
|
+
createdAt: string;
|
|
97606
|
+
/**
|
|
97607
|
+
* Size in bytes as reported by storage
|
|
97608
|
+
*/
|
|
97609
|
+
sizeBytes: number;
|
|
97610
|
+
/**
|
|
97611
|
+
* MIME type of the file
|
|
97612
|
+
*/
|
|
97613
|
+
contentType: string;
|
|
97614
|
+
/**
|
|
97615
|
+
* Short-lived signed URL to read the file. Re-read the message to get a fresh one
|
|
97616
|
+
*/
|
|
97617
|
+
downloadUrl: string;
|
|
97618
|
+
}[];
|
|
97619
|
+
/**
|
|
97620
|
+
* The same files as a flat list of ids, in the order attachments[] has them. This is the value support_message_create takes back; attachments.0.id names only the first file
|
|
97621
|
+
*/
|
|
97622
|
+
attachmentIds: string[];
|
|
97518
97623
|
/**
|
|
97519
97624
|
* The agent author, or null when the external end user wrote the message
|
|
97520
97625
|
*/
|
|
97521
97626
|
authorAgentId: (string | null);
|
|
97627
|
+
/**
|
|
97628
|
+
* How many files this message carries, 0 when it carries none. A dot-path has no length, so this is the only way a step can branch on whether there are files at all — and a message may carry a file and no body, so it is what tells those two messages apart
|
|
97629
|
+
*/
|
|
97630
|
+
attachmentCount: number;
|
|
97522
97631
|
/**
|
|
97523
97632
|
* The external author, or null when an agent wrote the message
|
|
97524
97633
|
*/
|
|
@@ -97620,10 +97729,18 @@ export interface SupportMessageListOutput {
|
|
|
97620
97729
|
*/
|
|
97621
97730
|
downloadUrl: string;
|
|
97622
97731
|
}[];
|
|
97732
|
+
/**
|
|
97733
|
+
* The same files as a flat list of ids, in the order attachments[] has them. This is the value support_message_create takes back; attachments.0.id names only the first file
|
|
97734
|
+
*/
|
|
97735
|
+
attachmentIds: string[];
|
|
97623
97736
|
/**
|
|
97624
97737
|
* The agent author, or null when the external end user wrote the message
|
|
97625
97738
|
*/
|
|
97626
97739
|
authorAgentId: (string | null);
|
|
97740
|
+
/**
|
|
97741
|
+
* How many files this message carries, 0 when it carries none. A dot-path has no length, so this is the only way a step can branch on whether there are files at all — and a message may carry a file and no body, so it is what tells those two messages apart
|
|
97742
|
+
*/
|
|
97743
|
+
attachmentCount: number;
|
|
97627
97744
|
/**
|
|
97628
97745
|
* The external author, or null when an agent wrote the message
|
|
97629
97746
|
*/
|
|
@@ -97711,6 +97828,10 @@ export interface SupportResponseEscalateOutput {
|
|
|
97711
97828
|
*/
|
|
97712
97829
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
97713
97830
|
};
|
|
97831
|
+
/**
|
|
97832
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
97833
|
+
*/
|
|
97834
|
+
labelIds: string[];
|
|
97714
97835
|
/**
|
|
97715
97836
|
* Free-form client-owned JSON
|
|
97716
97837
|
*/
|
|
@@ -97733,6 +97854,10 @@ export interface SupportResponseEscalateOutput {
|
|
|
97733
97854
|
* ISO-8601 last-modification timestamp
|
|
97734
97855
|
*/
|
|
97735
97856
|
updatedAt: string;
|
|
97857
|
+
/**
|
|
97858
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
97859
|
+
*/
|
|
97860
|
+
labelNames: string[];
|
|
97736
97861
|
/**
|
|
97737
97862
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
97738
97863
|
*/
|
|
@@ -97958,14 +98083,23 @@ export interface SupportRuleCreateInput {
|
|
|
97958
98083
|
* When to show the survey once the page matches
|
|
97959
98084
|
*/
|
|
97960
98085
|
trigger: ({
|
|
98086
|
+
/**
|
|
98087
|
+
* An immediate trigger, with nothing else to set
|
|
98088
|
+
*/
|
|
97961
98089
|
kind: "immediate";
|
|
97962
98090
|
} | {
|
|
98091
|
+
/**
|
|
98092
|
+
* A delayed trigger, which needs seconds
|
|
98093
|
+
*/
|
|
97963
98094
|
kind: "delay";
|
|
97964
98095
|
/**
|
|
97965
98096
|
* How long to wait after the page matched, in seconds (at most a day)
|
|
97966
98097
|
*/
|
|
97967
98098
|
seconds: number;
|
|
97968
98099
|
} | {
|
|
98100
|
+
/**
|
|
98101
|
+
* An event trigger, which needs the event name
|
|
98102
|
+
*/
|
|
97969
98103
|
kind: "event";
|
|
97970
98104
|
/**
|
|
97971
98105
|
* An event in the client’s own runtime. This toolkit never sees it
|
|
@@ -100969,6 +101103,9 @@ export interface SupportRuleCreateInput {
|
|
|
100969
101103
|
}
|
|
100970
101104
|
];
|
|
100971
101105
|
}
|
|
101106
|
+
/**
|
|
101107
|
+
* One delivery rule: which pages get which survey, when, how often, and to whom
|
|
101108
|
+
*/
|
|
100972
101109
|
export interface SupportRuleCreateOutput {
|
|
100973
101110
|
/**
|
|
100974
101111
|
* Rule id
|
|
@@ -100982,6 +101119,9 @@ export interface SupportRuleCreateOutput {
|
|
|
100982
101119
|
* Whether the rule is live
|
|
100983
101120
|
*/
|
|
100984
101121
|
enabled: boolean;
|
|
101122
|
+
/**
|
|
101123
|
+
* When the client’s runtime shows the survey once the page matches: immediately, after a delay, or on an event of its own
|
|
101124
|
+
*/
|
|
100985
101125
|
trigger: {
|
|
100986
101126
|
/**
|
|
100987
101127
|
* Which kind of trigger this is
|
|
@@ -101008,13 +101148,22 @@ export interface SupportRuleCreateOutput {
|
|
|
101008
101148
|
* exact: the whole URL, character for character. prefix: the URL starts with the value. contains: the value appears anywhere in the URL. regex: a JavaScript regular expression, applied unanchored — write ^ yourself if you mean the start
|
|
101009
101149
|
*/
|
|
101010
101150
|
kind: ("exact" | "prefix" | "contains" | "regex");
|
|
101151
|
+
/**
|
|
101152
|
+
* What the URL is compared against, read according to kind
|
|
101153
|
+
*/
|
|
101011
101154
|
value: string;
|
|
101012
101155
|
};
|
|
101013
101156
|
/**
|
|
101014
101157
|
* ISO-8601 creation timestamp
|
|
101015
101158
|
*/
|
|
101016
101159
|
createdAt: string;
|
|
101160
|
+
/**
|
|
101161
|
+
* How often the same person may see this survey. The client’s runtime enforces it — this toolkit never sees the end user
|
|
101162
|
+
*/
|
|
101017
101163
|
frequency: {
|
|
101164
|
+
/**
|
|
101165
|
+
* once: show it a single time, ever. until_answered: keep showing it until they respond. always: show it every time the rule matches
|
|
101166
|
+
*/
|
|
101018
101167
|
kind: ("once" | "until_answered" | "always");
|
|
101019
101168
|
/**
|
|
101020
101169
|
* Days between showings, when set
|
|
@@ -104014,6 +104163,9 @@ export interface SupportRuleGetInput {
|
|
|
104014
104163
|
*/
|
|
104015
104164
|
id: string;
|
|
104016
104165
|
}
|
|
104166
|
+
/**
|
|
104167
|
+
* One delivery rule: which pages get which survey, when, how often, and to whom
|
|
104168
|
+
*/
|
|
104017
104169
|
export interface SupportRuleGetOutput {
|
|
104018
104170
|
/**
|
|
104019
104171
|
* Rule id
|
|
@@ -104027,6 +104179,9 @@ export interface SupportRuleGetOutput {
|
|
|
104027
104179
|
* Whether the rule is live
|
|
104028
104180
|
*/
|
|
104029
104181
|
enabled: boolean;
|
|
104182
|
+
/**
|
|
104183
|
+
* When the client’s runtime shows the survey once the page matches: immediately, after a delay, or on an event of its own
|
|
104184
|
+
*/
|
|
104030
104185
|
trigger: {
|
|
104031
104186
|
/**
|
|
104032
104187
|
* Which kind of trigger this is
|
|
@@ -104053,13 +104208,22 @@ export interface SupportRuleGetOutput {
|
|
|
104053
104208
|
* exact: the whole URL, character for character. prefix: the URL starts with the value. contains: the value appears anywhere in the URL. regex: a JavaScript regular expression, applied unanchored — write ^ yourself if you mean the start
|
|
104054
104209
|
*/
|
|
104055
104210
|
kind: ("exact" | "prefix" | "contains" | "regex");
|
|
104211
|
+
/**
|
|
104212
|
+
* What the URL is compared against, read according to kind
|
|
104213
|
+
*/
|
|
104056
104214
|
value: string;
|
|
104057
104215
|
};
|
|
104058
104216
|
/**
|
|
104059
104217
|
* ISO-8601 creation timestamp
|
|
104060
104218
|
*/
|
|
104061
104219
|
createdAt: string;
|
|
104220
|
+
/**
|
|
104221
|
+
* How often the same person may see this survey. The client’s runtime enforces it — this toolkit never sees the end user
|
|
104222
|
+
*/
|
|
104062
104223
|
frequency: {
|
|
104224
|
+
/**
|
|
104225
|
+
* once: show it a single time, ever. until_answered: keep showing it until they respond. always: show it every time the rule matches
|
|
104226
|
+
*/
|
|
104063
104227
|
kind: ("once" | "until_answered" | "always");
|
|
104064
104228
|
/**
|
|
104065
104229
|
* Days between showings, when set
|
|
@@ -107084,6 +107248,9 @@ export interface SupportRuleListOutput {
|
|
|
107084
107248
|
* Whether the rule is live
|
|
107085
107249
|
*/
|
|
107086
107250
|
enabled: boolean;
|
|
107251
|
+
/**
|
|
107252
|
+
* When the client’s runtime shows the survey once the page matches: immediately, after a delay, or on an event of its own
|
|
107253
|
+
*/
|
|
107087
107254
|
trigger: {
|
|
107088
107255
|
/**
|
|
107089
107256
|
* Which kind of trigger this is
|
|
@@ -107110,13 +107277,22 @@ export interface SupportRuleListOutput {
|
|
|
107110
107277
|
* exact: the whole URL, character for character. prefix: the URL starts with the value. contains: the value appears anywhere in the URL. regex: a JavaScript regular expression, applied unanchored — write ^ yourself if you mean the start
|
|
107111
107278
|
*/
|
|
107112
107279
|
kind: ("exact" | "prefix" | "contains" | "regex");
|
|
107280
|
+
/**
|
|
107281
|
+
* What the URL is compared against, read according to kind
|
|
107282
|
+
*/
|
|
107113
107283
|
value: string;
|
|
107114
107284
|
};
|
|
107115
107285
|
/**
|
|
107116
107286
|
* ISO-8601 creation timestamp
|
|
107117
107287
|
*/
|
|
107118
107288
|
createdAt: string;
|
|
107289
|
+
/**
|
|
107290
|
+
* How often the same person may see this survey. The client’s runtime enforces it — this toolkit never sees the end user
|
|
107291
|
+
*/
|
|
107119
107292
|
frequency: {
|
|
107293
|
+
/**
|
|
107294
|
+
* once: show it a single time, ever. until_answered: keep showing it until they respond. always: show it every time the rule matches
|
|
107295
|
+
*/
|
|
107120
107296
|
kind: ("once" | "until_answered" | "always");
|
|
107121
107297
|
/**
|
|
107122
107298
|
* Days between showings, when set
|
|
@@ -110116,14 +110292,23 @@ export interface SupportRuleUpdateInput {
|
|
|
110116
110292
|
* The new trigger, replacing the old one
|
|
110117
110293
|
*/
|
|
110118
110294
|
trigger?: ({
|
|
110295
|
+
/**
|
|
110296
|
+
* An immediate trigger, with nothing else to set
|
|
110297
|
+
*/
|
|
110119
110298
|
kind: "immediate";
|
|
110120
110299
|
} | {
|
|
110300
|
+
/**
|
|
110301
|
+
* A delayed trigger, which needs seconds
|
|
110302
|
+
*/
|
|
110121
110303
|
kind: "delay";
|
|
110122
110304
|
/**
|
|
110123
110305
|
* How long to wait after the page matched, in seconds (at most a day)
|
|
110124
110306
|
*/
|
|
110125
110307
|
seconds: number;
|
|
110126
110308
|
} | {
|
|
110309
|
+
/**
|
|
110310
|
+
* An event trigger, which needs the event name
|
|
110311
|
+
*/
|
|
110127
110312
|
kind: "event";
|
|
110128
110313
|
/**
|
|
110129
110314
|
* An event in the client’s own runtime. This toolkit never sees it
|
|
@@ -113123,6 +113308,9 @@ export interface SupportRuleUpdateInput {
|
|
|
113123
113308
|
}
|
|
113124
113309
|
];
|
|
113125
113310
|
}
|
|
113311
|
+
/**
|
|
113312
|
+
* One delivery rule: which pages get which survey, when, how often, and to whom
|
|
113313
|
+
*/
|
|
113126
113314
|
export interface SupportRuleUpdateOutput {
|
|
113127
113315
|
/**
|
|
113128
113316
|
* Rule id
|
|
@@ -113136,6 +113324,9 @@ export interface SupportRuleUpdateOutput {
|
|
|
113136
113324
|
* Whether the rule is live
|
|
113137
113325
|
*/
|
|
113138
113326
|
enabled: boolean;
|
|
113327
|
+
/**
|
|
113328
|
+
* When the client’s runtime shows the survey once the page matches: immediately, after a delay, or on an event of its own
|
|
113329
|
+
*/
|
|
113139
113330
|
trigger: {
|
|
113140
113331
|
/**
|
|
113141
113332
|
* Which kind of trigger this is
|
|
@@ -113162,13 +113353,22 @@ export interface SupportRuleUpdateOutput {
|
|
|
113162
113353
|
* exact: the whole URL, character for character. prefix: the URL starts with the value. contains: the value appears anywhere in the URL. regex: a JavaScript regular expression, applied unanchored — write ^ yourself if you mean the start
|
|
113163
113354
|
*/
|
|
113164
113355
|
kind: ("exact" | "prefix" | "contains" | "regex");
|
|
113356
|
+
/**
|
|
113357
|
+
* What the URL is compared against, read according to kind
|
|
113358
|
+
*/
|
|
113165
113359
|
value: string;
|
|
113166
113360
|
};
|
|
113167
113361
|
/**
|
|
113168
113362
|
* ISO-8601 creation timestamp
|
|
113169
113363
|
*/
|
|
113170
113364
|
createdAt: string;
|
|
113365
|
+
/**
|
|
113366
|
+
* How often the same person may see this survey. The client’s runtime enforces it — this toolkit never sees the end user
|
|
113367
|
+
*/
|
|
113171
113368
|
frequency: {
|
|
113369
|
+
/**
|
|
113370
|
+
* once: show it a single time, ever. until_answered: keep showing it until they respond. always: show it every time the rule matches
|
|
113371
|
+
*/
|
|
113172
113372
|
kind: ("once" | "until_answered" | "always");
|
|
113173
113373
|
/**
|
|
113174
113374
|
* Days between showings, when set
|
|
@@ -116226,6 +116426,38 @@ export interface SupportStatusCreateOutput {
|
|
|
116226
116426
|
*/
|
|
116227
116427
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
116228
116428
|
}
|
|
116429
|
+
export interface SupportStatusGetInput {
|
|
116430
|
+
/**
|
|
116431
|
+
* Status id
|
|
116432
|
+
*/
|
|
116433
|
+
id: string;
|
|
116434
|
+
}
|
|
116435
|
+
export interface SupportStatusGetOutput {
|
|
116436
|
+
/**
|
|
116437
|
+
* Status id
|
|
116438
|
+
*/
|
|
116439
|
+
id: string;
|
|
116440
|
+
/**
|
|
116441
|
+
* Status name, unique within the product
|
|
116442
|
+
*/
|
|
116443
|
+
name: string;
|
|
116444
|
+
/**
|
|
116445
|
+
* Display colour as a hex string
|
|
116446
|
+
*/
|
|
116447
|
+
color: string;
|
|
116448
|
+
/**
|
|
116449
|
+
* Sort order within the status dictionary
|
|
116450
|
+
*/
|
|
116451
|
+
order: number;
|
|
116452
|
+
/**
|
|
116453
|
+
* Archived statuses stay readable but are not offered as targets
|
|
116454
|
+
*/
|
|
116455
|
+
archived: boolean;
|
|
116456
|
+
/**
|
|
116457
|
+
* Lifecycle bucket the status belongs to
|
|
116458
|
+
*/
|
|
116459
|
+
category: ("open" | "pending" | "resolved" | "closed");
|
|
116460
|
+
}
|
|
116229
116461
|
export interface SupportStatusListInput {
|
|
116230
116462
|
/**
|
|
116231
116463
|
* Also return archived statuses (default false)
|
|
@@ -116406,6 +116638,14 @@ export interface SupportSurveyArchiveOutput {
|
|
|
116406
116638
|
* ISO-8601 last-modification timestamp
|
|
116407
116639
|
*/
|
|
116408
116640
|
updatedAt: string;
|
|
116641
|
+
/**
|
|
116642
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
116643
|
+
*/
|
|
116644
|
+
questionIds: string[];
|
|
116645
|
+
/**
|
|
116646
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
116647
|
+
*/
|
|
116648
|
+
questionCount: number;
|
|
116409
116649
|
}
|
|
116410
116650
|
export interface SupportSurveyCreateInput {
|
|
116411
116651
|
/**
|
|
@@ -116572,6 +116812,14 @@ export interface SupportSurveyCreateOutput {
|
|
|
116572
116812
|
* ISO-8601 last-modification timestamp
|
|
116573
116813
|
*/
|
|
116574
116814
|
updatedAt: string;
|
|
116815
|
+
/**
|
|
116816
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
116817
|
+
*/
|
|
116818
|
+
questionIds: string[];
|
|
116819
|
+
/**
|
|
116820
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
116821
|
+
*/
|
|
116822
|
+
questionCount: number;
|
|
116575
116823
|
}
|
|
116576
116824
|
export interface SupportSurveyGetInput {
|
|
116577
116825
|
/**
|
|
@@ -116668,6 +116916,14 @@ export interface SupportSurveyGetOutput {
|
|
|
116668
116916
|
* ISO-8601 last-modification timestamp
|
|
116669
116917
|
*/
|
|
116670
116918
|
updatedAt: string;
|
|
116919
|
+
/**
|
|
116920
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
116921
|
+
*/
|
|
116922
|
+
questionIds: string[];
|
|
116923
|
+
/**
|
|
116924
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
116925
|
+
*/
|
|
116926
|
+
questionCount: number;
|
|
116671
116927
|
}
|
|
116672
116928
|
export interface SupportSurveyListInput {
|
|
116673
116929
|
/**
|
|
@@ -116784,6 +117040,14 @@ export interface SupportSurveyListOutput {
|
|
|
116784
117040
|
* ISO-8601 last-modification timestamp
|
|
116785
117041
|
*/
|
|
116786
117042
|
updatedAt: string;
|
|
117043
|
+
/**
|
|
117044
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
117045
|
+
*/
|
|
117046
|
+
questionIds: string[];
|
|
117047
|
+
/**
|
|
117048
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
117049
|
+
*/
|
|
117050
|
+
questionCount: number;
|
|
116787
117051
|
}[];
|
|
116788
117052
|
}
|
|
116789
117053
|
export interface SupportSurveyPublishInput {
|
|
@@ -116881,6 +117145,14 @@ export interface SupportSurveyPublishOutput {
|
|
|
116881
117145
|
* ISO-8601 last-modification timestamp
|
|
116882
117146
|
*/
|
|
116883
117147
|
updatedAt: string;
|
|
117148
|
+
/**
|
|
117149
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
117150
|
+
*/
|
|
117151
|
+
questionIds: string[];
|
|
117152
|
+
/**
|
|
117153
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
117154
|
+
*/
|
|
117155
|
+
questionCount: number;
|
|
116884
117156
|
}
|
|
116885
117157
|
export interface SupportSurveyStatsInput {
|
|
116886
117158
|
/**
|
|
@@ -117102,6 +117374,14 @@ export interface SupportSurveyUnpublishOutput {
|
|
|
117102
117374
|
* ISO-8601 last-modification timestamp
|
|
117103
117375
|
*/
|
|
117104
117376
|
updatedAt: string;
|
|
117377
|
+
/**
|
|
117378
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
117379
|
+
*/
|
|
117380
|
+
questionIds: string[];
|
|
117381
|
+
/**
|
|
117382
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
117383
|
+
*/
|
|
117384
|
+
questionCount: number;
|
|
117105
117385
|
}
|
|
117106
117386
|
export interface SupportSurveyUpdateInput {
|
|
117107
117387
|
/**
|
|
@@ -117272,6 +117552,14 @@ export interface SupportSurveyUpdateOutput {
|
|
|
117272
117552
|
* ISO-8601 last-modification timestamp
|
|
117273
117553
|
*/
|
|
117274
117554
|
updatedAt: string;
|
|
117555
|
+
/**
|
|
117556
|
+
* The same questions as a flat list of ids, in the order they are asked
|
|
117557
|
+
*/
|
|
117558
|
+
questionIds: string[];
|
|
117559
|
+
/**
|
|
117560
|
+
* How many questions this survey asks — the same field support/survey.published carries, so a workflow built from the trigger and one built from a get-step bind one shape
|
|
117561
|
+
*/
|
|
117562
|
+
questionCount: number;
|
|
117275
117563
|
}
|
|
117276
117564
|
export interface SupportThreadAssignInput {
|
|
117277
117565
|
/**
|
|
@@ -117350,6 +117638,10 @@ export interface SupportThreadAssignOutput {
|
|
|
117350
117638
|
*/
|
|
117351
117639
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
117352
117640
|
};
|
|
117641
|
+
/**
|
|
117642
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
117643
|
+
*/
|
|
117644
|
+
labelIds: string[];
|
|
117353
117645
|
/**
|
|
117354
117646
|
* Free-form client-owned JSON
|
|
117355
117647
|
*/
|
|
@@ -117372,6 +117664,10 @@ export interface SupportThreadAssignOutput {
|
|
|
117372
117664
|
* ISO-8601 last-modification timestamp
|
|
117373
117665
|
*/
|
|
117374
117666
|
updatedAt: string;
|
|
117667
|
+
/**
|
|
117668
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
117669
|
+
*/
|
|
117670
|
+
labelNames: string[];
|
|
117375
117671
|
/**
|
|
117376
117672
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
117377
117673
|
*/
|
|
@@ -117490,6 +117786,10 @@ export interface SupportThreadCreateOutput {
|
|
|
117490
117786
|
*/
|
|
117491
117787
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
117492
117788
|
};
|
|
117789
|
+
/**
|
|
117790
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
117791
|
+
*/
|
|
117792
|
+
labelIds: string[];
|
|
117493
117793
|
/**
|
|
117494
117794
|
* Free-form client-owned JSON
|
|
117495
117795
|
*/
|
|
@@ -117512,6 +117812,10 @@ export interface SupportThreadCreateOutput {
|
|
|
117512
117812
|
* ISO-8601 last-modification timestamp
|
|
117513
117813
|
*/
|
|
117514
117814
|
updatedAt: string;
|
|
117815
|
+
/**
|
|
117816
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
117817
|
+
*/
|
|
117818
|
+
labelNames: string[];
|
|
117515
117819
|
/**
|
|
117516
117820
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
117517
117821
|
*/
|
|
@@ -117602,6 +117906,10 @@ export interface SupportThreadGetOutput {
|
|
|
117602
117906
|
*/
|
|
117603
117907
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
117604
117908
|
};
|
|
117909
|
+
/**
|
|
117910
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
117911
|
+
*/
|
|
117912
|
+
labelIds: string[];
|
|
117605
117913
|
/**
|
|
117606
117914
|
* Free-form client-owned JSON
|
|
117607
117915
|
*/
|
|
@@ -117624,6 +117932,10 @@ export interface SupportThreadGetOutput {
|
|
|
117624
117932
|
* ISO-8601 last-modification timestamp
|
|
117625
117933
|
*/
|
|
117626
117934
|
updatedAt: string;
|
|
117935
|
+
/**
|
|
117936
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
117937
|
+
*/
|
|
117938
|
+
labelNames: string[];
|
|
117627
117939
|
/**
|
|
117628
117940
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
117629
117941
|
*/
|
|
@@ -117774,6 +118086,10 @@ export interface SupportThreadListOutput {
|
|
|
117774
118086
|
*/
|
|
117775
118087
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
117776
118088
|
};
|
|
118089
|
+
/**
|
|
118090
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
118091
|
+
*/
|
|
118092
|
+
labelIds: string[];
|
|
117777
118093
|
/**
|
|
117778
118094
|
* Free-form client-owned JSON
|
|
117779
118095
|
*/
|
|
@@ -117796,6 +118112,10 @@ export interface SupportThreadListOutput {
|
|
|
117796
118112
|
* ISO-8601 last-modification timestamp
|
|
117797
118113
|
*/
|
|
117798
118114
|
updatedAt: string;
|
|
118115
|
+
/**
|
|
118116
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
118117
|
+
*/
|
|
118118
|
+
labelNames: string[];
|
|
117799
118119
|
/**
|
|
117800
118120
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
117801
118121
|
*/
|
|
@@ -117891,6 +118211,10 @@ export interface SupportThreadStatusSetOutput {
|
|
|
117891
118211
|
*/
|
|
117892
118212
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
117893
118213
|
};
|
|
118214
|
+
/**
|
|
118215
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
118216
|
+
*/
|
|
118217
|
+
labelIds: string[];
|
|
117894
118218
|
/**
|
|
117895
118219
|
* Free-form client-owned JSON
|
|
117896
118220
|
*/
|
|
@@ -117913,6 +118237,10 @@ export interface SupportThreadStatusSetOutput {
|
|
|
117913
118237
|
* ISO-8601 last-modification timestamp
|
|
117914
118238
|
*/
|
|
117915
118239
|
updatedAt: string;
|
|
118240
|
+
/**
|
|
118241
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
118242
|
+
*/
|
|
118243
|
+
labelNames: string[];
|
|
117916
118244
|
/**
|
|
117917
118245
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
117918
118246
|
*/
|
|
@@ -118023,6 +118351,10 @@ export interface SupportThreadUpdateOutput {
|
|
|
118023
118351
|
*/
|
|
118024
118352
|
category: ("open" | "pending" | "resolved" | "closed");
|
|
118025
118353
|
};
|
|
118354
|
+
/**
|
|
118355
|
+
* The same labels as a flat list of ids, in the order labels[] has them. This is the value support_thread_update takes back: a dot-path can name this whole set, while labels.0.id names only the first element
|
|
118356
|
+
*/
|
|
118357
|
+
labelIds: string[];
|
|
118026
118358
|
/**
|
|
118027
118359
|
* Free-form client-owned JSON
|
|
118028
118360
|
*/
|
|
@@ -118045,6 +118377,10 @@ export interface SupportThreadUpdateOutput {
|
|
|
118045
118377
|
* ISO-8601 last-modification timestamp
|
|
118046
118378
|
*/
|
|
118047
118379
|
updatedAt: string;
|
|
118380
|
+
/**
|
|
118381
|
+
* The same labels as a flat list of names, in the order labels[] has them
|
|
118382
|
+
*/
|
|
118383
|
+
labelNames: string[];
|
|
118048
118384
|
/**
|
|
118049
118385
|
* ISO-8601 timestamp of the last reply, or null while there are none
|
|
118050
118386
|
*/
|