@luxuryescapes/contract-svc-lab-v2 0.1.23 → 0.1.25
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/server.d.ts +69 -72
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export interface paths {
|
|
|
47
47
|
/** Create an empty scheduled campaign with an optional draft schedule */
|
|
48
48
|
post: operations["createCampaign"];
|
|
49
49
|
};
|
|
50
|
+
"/api/lab/v2/items/{id}": {
|
|
51
|
+
/** Public and identical for every user, so CDN-cacheable. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
|
|
52
|
+
get: operations["getItemPayload"];
|
|
53
|
+
};
|
|
50
54
|
"/api/lab/v2/admin/audiences/{id}/member-deletions": {
|
|
51
55
|
/** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
|
|
52
56
|
post: operations["deleteAudienceMembers"];
|
|
@@ -127,10 +131,6 @@ export interface operations {
|
|
|
127
131
|
/** Filter term to filter results */
|
|
128
132
|
filter?: string;
|
|
129
133
|
};
|
|
130
|
-
header: {
|
|
131
|
-
/** Cookie */
|
|
132
|
-
Cookie: string;
|
|
133
|
-
};
|
|
134
134
|
};
|
|
135
135
|
responses: {
|
|
136
136
|
/** 200 response */
|
|
@@ -176,12 +176,7 @@ export interface operations {
|
|
|
176
176
|
};
|
|
177
177
|
/** Create an empty audience */
|
|
178
178
|
createAudience: {
|
|
179
|
-
parameters: {
|
|
180
|
-
header: {
|
|
181
|
-
/** Cookie */
|
|
182
|
-
Cookie: string;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
179
|
+
parameters: {};
|
|
185
180
|
responses: {
|
|
186
181
|
/** 201 response */
|
|
187
182
|
201: {
|
|
@@ -232,10 +227,6 @@ export interface operations {
|
|
|
232
227
|
path: {
|
|
233
228
|
id: number;
|
|
234
229
|
};
|
|
235
|
-
header: {
|
|
236
|
-
/** Cookie */
|
|
237
|
-
Cookie: string;
|
|
238
|
-
};
|
|
239
230
|
};
|
|
240
231
|
responses: {
|
|
241
232
|
/** 200 response */
|
|
@@ -274,10 +265,6 @@ export interface operations {
|
|
|
274
265
|
path: {
|
|
275
266
|
id: number;
|
|
276
267
|
};
|
|
277
|
-
header: {
|
|
278
|
-
/** Cookie */
|
|
279
|
-
Cookie: string;
|
|
280
|
-
};
|
|
281
268
|
};
|
|
282
269
|
responses: {
|
|
283
270
|
/** 204 response */
|
|
@@ -318,10 +305,6 @@ export interface operations {
|
|
|
318
305
|
path: {
|
|
319
306
|
id: number;
|
|
320
307
|
};
|
|
321
|
-
header: {
|
|
322
|
-
/** Cookie */
|
|
323
|
-
Cookie: string;
|
|
324
|
-
};
|
|
325
308
|
};
|
|
326
309
|
responses: {
|
|
327
310
|
/** 200 response */
|
|
@@ -382,10 +365,6 @@ export interface operations {
|
|
|
382
365
|
path: {
|
|
383
366
|
id: number;
|
|
384
367
|
};
|
|
385
|
-
header: {
|
|
386
|
-
/** Cookie */
|
|
387
|
-
Cookie: string;
|
|
388
|
-
};
|
|
389
368
|
};
|
|
390
369
|
responses: {
|
|
391
370
|
/** 200 response */
|
|
@@ -435,10 +414,6 @@ export interface operations {
|
|
|
435
414
|
limit?: number;
|
|
436
415
|
cursor?: string;
|
|
437
416
|
};
|
|
438
|
-
header: {
|
|
439
|
-
/** Cookie */
|
|
440
|
-
Cookie: string;
|
|
441
|
-
};
|
|
442
417
|
};
|
|
443
418
|
responses: {
|
|
444
419
|
/** 200 response */
|
|
@@ -490,10 +465,6 @@ export interface operations {
|
|
|
490
465
|
path: {
|
|
491
466
|
id: number;
|
|
492
467
|
};
|
|
493
|
-
header: {
|
|
494
|
-
/** Cookie */
|
|
495
|
-
Cookie: string;
|
|
496
|
-
};
|
|
497
468
|
};
|
|
498
469
|
responses: {
|
|
499
470
|
/** 200 response */
|
|
@@ -557,10 +528,6 @@ export interface operations {
|
|
|
557
528
|
path: {
|
|
558
529
|
id: number;
|
|
559
530
|
};
|
|
560
|
-
header: {
|
|
561
|
-
/** Cookie */
|
|
562
|
-
Cookie: string;
|
|
563
|
-
};
|
|
564
531
|
};
|
|
565
532
|
responses: {
|
|
566
533
|
/** 200 response */
|
|
@@ -598,10 +565,6 @@ export interface operations {
|
|
|
598
565
|
path: {
|
|
599
566
|
id: string;
|
|
600
567
|
};
|
|
601
|
-
header: {
|
|
602
|
-
/** Cookie */
|
|
603
|
-
Cookie: string;
|
|
604
|
-
};
|
|
605
568
|
};
|
|
606
569
|
responses: {
|
|
607
570
|
/** 200 response */
|
|
@@ -668,10 +631,6 @@ export interface operations {
|
|
|
668
631
|
path: {
|
|
669
632
|
id: string;
|
|
670
633
|
};
|
|
671
|
-
header: {
|
|
672
|
-
/** Cookie */
|
|
673
|
-
Cookie: string;
|
|
674
|
-
};
|
|
675
634
|
};
|
|
676
635
|
responses: {
|
|
677
636
|
/** 200 response */
|
|
@@ -762,10 +721,6 @@ export interface operations {
|
|
|
762
721
|
path: {
|
|
763
722
|
id: string;
|
|
764
723
|
};
|
|
765
|
-
header: {
|
|
766
|
-
/** Cookie */
|
|
767
|
-
Cookie: string;
|
|
768
|
-
};
|
|
769
724
|
};
|
|
770
725
|
responses: {
|
|
771
726
|
/** 200 response */
|
|
@@ -809,10 +764,6 @@ export interface operations {
|
|
|
809
764
|
path: {
|
|
810
765
|
id: string;
|
|
811
766
|
};
|
|
812
|
-
header: {
|
|
813
|
-
/** Cookie */
|
|
814
|
-
Cookie: string;
|
|
815
|
-
};
|
|
816
767
|
};
|
|
817
768
|
responses: {
|
|
818
769
|
/** 200 response */
|
|
@@ -912,10 +863,6 @@ export interface operations {
|
|
|
912
863
|
path: {
|
|
913
864
|
id: string;
|
|
914
865
|
};
|
|
915
|
-
header: {
|
|
916
|
-
/** Cookie */
|
|
917
|
-
Cookie: string;
|
|
918
|
-
};
|
|
919
866
|
};
|
|
920
867
|
responses: {
|
|
921
868
|
/** 200 response */
|
|
@@ -1063,10 +1010,6 @@ export interface operations {
|
|
|
1063
1010
|
/** Filter term to filter results */
|
|
1064
1011
|
filter?: string;
|
|
1065
1012
|
};
|
|
1066
|
-
header: {
|
|
1067
|
-
/** Cookie */
|
|
1068
|
-
Cookie: string;
|
|
1069
|
-
};
|
|
1070
1013
|
};
|
|
1071
1014
|
responses: {
|
|
1072
1015
|
/** 200 response */
|
|
@@ -1128,12 +1071,7 @@ export interface operations {
|
|
|
1128
1071
|
};
|
|
1129
1072
|
/** Create an empty scheduled campaign with an optional draft schedule */
|
|
1130
1073
|
createCampaign: {
|
|
1131
|
-
parameters: {
|
|
1132
|
-
header: {
|
|
1133
|
-
/** Cookie */
|
|
1134
|
-
Cookie: string;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1074
|
+
parameters: {};
|
|
1137
1075
|
responses: {
|
|
1138
1076
|
/** 201 response */
|
|
1139
1077
|
201: {
|
|
@@ -1204,16 +1142,75 @@ export interface operations {
|
|
|
1204
1142
|
};
|
|
1205
1143
|
};
|
|
1206
1144
|
};
|
|
1145
|
+
/** Public and identical for every user, so CDN-cacheable. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
|
|
1146
|
+
getItemPayload: {
|
|
1147
|
+
parameters: {
|
|
1148
|
+
path: {
|
|
1149
|
+
id: string;
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
responses: {
|
|
1153
|
+
/** 200 response */
|
|
1154
|
+
200: {
|
|
1155
|
+
content: {
|
|
1156
|
+
"application/json": {
|
|
1157
|
+
status: 200;
|
|
1158
|
+
message: string;
|
|
1159
|
+
result: {
|
|
1160
|
+
/** Format: uuid */
|
|
1161
|
+
id: string;
|
|
1162
|
+
kind: "config";
|
|
1163
|
+
payload: {
|
|
1164
|
+
[key: string]: unknown;
|
|
1165
|
+
};
|
|
1166
|
+
} | {
|
|
1167
|
+
/** Format: uuid */
|
|
1168
|
+
id: string;
|
|
1169
|
+
kind: "ui";
|
|
1170
|
+
type: "header_banner";
|
|
1171
|
+
payload: components["schemas"]["HeaderBannerPayload"];
|
|
1172
|
+
} | {
|
|
1173
|
+
/** Format: uuid */
|
|
1174
|
+
id: string;
|
|
1175
|
+
kind: "ui";
|
|
1176
|
+
type: "popup";
|
|
1177
|
+
payload: components["schemas"]["PopupPayload"];
|
|
1178
|
+
} | {
|
|
1179
|
+
/** Format: uuid */
|
|
1180
|
+
id: string;
|
|
1181
|
+
kind: "ui";
|
|
1182
|
+
type: "snackbar";
|
|
1183
|
+
payload: components["schemas"]["SnackbarPayload"];
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
/** 404 response */
|
|
1189
|
+
404: {
|
|
1190
|
+
content: {
|
|
1191
|
+
"application/json": {
|
|
1192
|
+
status: 404;
|
|
1193
|
+
message: string;
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
/** 503 response */
|
|
1198
|
+
503: {
|
|
1199
|
+
content: {
|
|
1200
|
+
"application/json": {
|
|
1201
|
+
status: 503;
|
|
1202
|
+
message: string;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1207
1208
|
/** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
|
|
1208
1209
|
deleteAudienceMembers: {
|
|
1209
1210
|
parameters: {
|
|
1210
1211
|
path: {
|
|
1211
1212
|
id: number;
|
|
1212
1213
|
};
|
|
1213
|
-
header: {
|
|
1214
|
-
/** Cookie */
|
|
1215
|
-
Cookie: string;
|
|
1216
|
-
};
|
|
1217
1214
|
};
|
|
1218
1215
|
responses: {
|
|
1219
1216
|
/** 200 response */
|