@luxuryescapes/contract-svc-lab-v2 0.1.24 → 0.1.26
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 +131 -0
- package/package.json +4 -1
package/dist/server.d.ts
CHANGED
|
@@ -47,6 +47,14 @@ 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
|
+
};
|
|
54
|
+
"/api/lab/v2/preview/ui/{id}": {
|
|
55
|
+
/** Public. Returns the latest saved UI payload without checking enabled state, campaign schedule, targeting, or rollout. Cached for 30 seconds in browsers and shared caches. */
|
|
56
|
+
get: operations["getPreviewUi"];
|
|
57
|
+
};
|
|
50
58
|
"/api/lab/v2/admin/audiences/{id}/member-deletions": {
|
|
51
59
|
/** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
|
|
52
60
|
post: operations["deleteAudienceMembers"];
|
|
@@ -1138,6 +1146,129 @@ export interface operations {
|
|
|
1138
1146
|
};
|
|
1139
1147
|
};
|
|
1140
1148
|
};
|
|
1149
|
+
/** 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. */
|
|
1150
|
+
getItemPayload: {
|
|
1151
|
+
parameters: {
|
|
1152
|
+
path: {
|
|
1153
|
+
id: string;
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
responses: {
|
|
1157
|
+
/** 200 response */
|
|
1158
|
+
200: {
|
|
1159
|
+
content: {
|
|
1160
|
+
"application/json": {
|
|
1161
|
+
status: 200;
|
|
1162
|
+
message: string;
|
|
1163
|
+
result: {
|
|
1164
|
+
/** Format: uuid */
|
|
1165
|
+
id: string;
|
|
1166
|
+
kind: "config";
|
|
1167
|
+
payload: {
|
|
1168
|
+
[key: string]: unknown;
|
|
1169
|
+
};
|
|
1170
|
+
} | {
|
|
1171
|
+
/** Format: uuid */
|
|
1172
|
+
id: string;
|
|
1173
|
+
kind: "ui";
|
|
1174
|
+
type: "header_banner";
|
|
1175
|
+
payload: components["schemas"]["HeaderBannerPayload"];
|
|
1176
|
+
} | {
|
|
1177
|
+
/** Format: uuid */
|
|
1178
|
+
id: string;
|
|
1179
|
+
kind: "ui";
|
|
1180
|
+
type: "popup";
|
|
1181
|
+
payload: components["schemas"]["PopupPayload"];
|
|
1182
|
+
} | {
|
|
1183
|
+
/** Format: uuid */
|
|
1184
|
+
id: string;
|
|
1185
|
+
kind: "ui";
|
|
1186
|
+
type: "snackbar";
|
|
1187
|
+
payload: components["schemas"]["SnackbarPayload"];
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
/** 404 response */
|
|
1193
|
+
404: {
|
|
1194
|
+
content: {
|
|
1195
|
+
"application/json": {
|
|
1196
|
+
status: 404;
|
|
1197
|
+
message: string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
};
|
|
1201
|
+
/** 503 response */
|
|
1202
|
+
503: {
|
|
1203
|
+
content: {
|
|
1204
|
+
"application/json": {
|
|
1205
|
+
status: 503;
|
|
1206
|
+
message: string;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
/** Public. Returns the latest saved UI payload without checking enabled state, campaign schedule, targeting, or rollout. Cached for 30 seconds in browsers and shared caches. */
|
|
1213
|
+
getPreviewUi: {
|
|
1214
|
+
parameters: {
|
|
1215
|
+
path: {
|
|
1216
|
+
id: string;
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
responses: {
|
|
1220
|
+
/** 200 response */
|
|
1221
|
+
200: {
|
|
1222
|
+
content: {
|
|
1223
|
+
"application/json": {
|
|
1224
|
+
status: 200;
|
|
1225
|
+
message: string;
|
|
1226
|
+
result: {
|
|
1227
|
+
/** Format: uuid */
|
|
1228
|
+
id: string;
|
|
1229
|
+
kind: "ui";
|
|
1230
|
+
type: "header_banner";
|
|
1231
|
+
payload: components["schemas"]["HeaderBannerPayload"];
|
|
1232
|
+
} | {
|
|
1233
|
+
/** Format: uuid */
|
|
1234
|
+
id: string;
|
|
1235
|
+
kind: "ui";
|
|
1236
|
+
type: "popup";
|
|
1237
|
+
payload: components["schemas"]["PopupPayload"];
|
|
1238
|
+
} | {
|
|
1239
|
+
/** Format: uuid */
|
|
1240
|
+
id: string;
|
|
1241
|
+
kind: "ui";
|
|
1242
|
+
type: "snackbar";
|
|
1243
|
+
payload: components["schemas"]["SnackbarPayload"];
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
/** 400 response */
|
|
1249
|
+
400: {
|
|
1250
|
+
content: {
|
|
1251
|
+
"application/json": {
|
|
1252
|
+
status: 400;
|
|
1253
|
+
message: string;
|
|
1254
|
+
errors?: {
|
|
1255
|
+
message: string;
|
|
1256
|
+
path?: string;
|
|
1257
|
+
}[];
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
/** 404 response */
|
|
1262
|
+
404: {
|
|
1263
|
+
content: {
|
|
1264
|
+
"application/json": {
|
|
1265
|
+
status: 404;
|
|
1266
|
+
message: string;
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1141
1272
|
/** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
|
|
1142
1273
|
deleteAudienceMembers: {
|
|
1143
1274
|
parameters: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxuryescapes/contract-svc-lab-v2",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -17,5 +17,8 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "rimraf dist && tsc --project ./tsconfig.build.json",
|
|
19
19
|
"prepack": "yarn build"
|
|
20
|
+
},
|
|
21
|
+
"volta": {
|
|
22
|
+
"extends": "../../package.json"
|
|
20
23
|
}
|
|
21
24
|
}
|