@luxuryescapes/contract-svc-lab-v2 0.1.18 → 0.1.20
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 +73 -40
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface paths {
|
|
|
6
6
|
"/api/lab/v2/admin/audiences": {
|
|
7
7
|
/** List audiences with offset pagination, name filter, and sorting */
|
|
8
8
|
get: operations["listAudiences"];
|
|
9
|
-
/** Create an audience
|
|
9
|
+
/** Create an empty audience */
|
|
10
10
|
post: operations["createAudience"];
|
|
11
11
|
};
|
|
12
12
|
"/api/lab/v2/admin/audiences/{id}": {
|
|
@@ -14,7 +14,7 @@ export interface paths {
|
|
|
14
14
|
get: operations["getAudience"];
|
|
15
15
|
/** Delete an unreferenced audience */
|
|
16
16
|
delete: operations["deleteAudience"];
|
|
17
|
-
/** Sparse-update audience name and description
|
|
17
|
+
/** Sparse-update audience name and description */
|
|
18
18
|
patch: operations["updateAudience"];
|
|
19
19
|
};
|
|
20
20
|
"/api/lab/v2/admin/audiences/{id}/member-counts": {
|
|
@@ -50,6 +50,10 @@ export interface paths {
|
|
|
50
50
|
/** Create an empty scheduled campaign with an optional draft schedule */
|
|
51
51
|
post: operations["createCampaign"];
|
|
52
52
|
};
|
|
53
|
+
"/api/lab/v2/admin/audiences/{id}/member-deletions": {
|
|
54
|
+
/** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
|
|
55
|
+
post: operations["deleteAudienceMembers"];
|
|
56
|
+
};
|
|
53
57
|
"/api/lab/v2/evaluate": {
|
|
54
58
|
post: operations["evaluateExperiments"];
|
|
55
59
|
};
|
|
@@ -173,7 +177,7 @@ export interface operations {
|
|
|
173
177
|
};
|
|
174
178
|
};
|
|
175
179
|
};
|
|
176
|
-
/** Create an audience
|
|
180
|
+
/** Create an empty audience */
|
|
177
181
|
createAudience: {
|
|
178
182
|
parameters: {
|
|
179
183
|
header: {
|
|
@@ -197,15 +201,6 @@ export interface operations {
|
|
|
197
201
|
created_at: string;
|
|
198
202
|
/** Format: date-time */
|
|
199
203
|
updated_at: string;
|
|
200
|
-
scheduled_queries: {
|
|
201
|
-
id: number;
|
|
202
|
-
sql: string;
|
|
203
|
-
interval_minutes: number | null;
|
|
204
|
-
/** Format: date-time */
|
|
205
|
-
created_at: string;
|
|
206
|
-
/** Format: date-time */
|
|
207
|
-
updated_at: string;
|
|
208
|
-
}[];
|
|
209
204
|
};
|
|
210
205
|
};
|
|
211
206
|
};
|
|
@@ -230,10 +225,6 @@ export interface operations {
|
|
|
230
225
|
"application/json": {
|
|
231
226
|
name: string;
|
|
232
227
|
description?: string | null;
|
|
233
|
-
scheduled_queries?: {
|
|
234
|
-
sql: string;
|
|
235
|
-
interval_minutes: number | null;
|
|
236
|
-
}[];
|
|
237
228
|
};
|
|
238
229
|
};
|
|
239
230
|
};
|
|
@@ -265,15 +256,6 @@ export interface operations {
|
|
|
265
256
|
created_at: string;
|
|
266
257
|
/** Format: date-time */
|
|
267
258
|
updated_at: string;
|
|
268
|
-
scheduled_queries: {
|
|
269
|
-
id: number;
|
|
270
|
-
sql: string;
|
|
271
|
-
interval_minutes: number | null;
|
|
272
|
-
/** Format: date-time */
|
|
273
|
-
created_at: string;
|
|
274
|
-
/** Format: date-time */
|
|
275
|
-
updated_at: string;
|
|
276
|
-
}[];
|
|
277
259
|
};
|
|
278
260
|
};
|
|
279
261
|
};
|
|
@@ -333,7 +315,7 @@ export interface operations {
|
|
|
333
315
|
};
|
|
334
316
|
};
|
|
335
317
|
};
|
|
336
|
-
/** Sparse-update audience name and description
|
|
318
|
+
/** Sparse-update audience name and description */
|
|
337
319
|
updateAudience: {
|
|
338
320
|
parameters: {
|
|
339
321
|
path: {
|
|
@@ -360,15 +342,6 @@ export interface operations {
|
|
|
360
342
|
created_at: string;
|
|
361
343
|
/** Format: date-time */
|
|
362
344
|
updated_at: string;
|
|
363
|
-
scheduled_queries: {
|
|
364
|
-
id: number;
|
|
365
|
-
sql: string;
|
|
366
|
-
interval_minutes: number | null;
|
|
367
|
-
/** Format: date-time */
|
|
368
|
-
created_at: string;
|
|
369
|
-
/** Format: date-time */
|
|
370
|
-
updated_at: string;
|
|
371
|
-
}[];
|
|
372
345
|
};
|
|
373
346
|
};
|
|
374
347
|
};
|
|
@@ -402,11 +375,6 @@ export interface operations {
|
|
|
402
375
|
"application/json": {
|
|
403
376
|
name?: string;
|
|
404
377
|
description?: string | null;
|
|
405
|
-
scheduled_queries?: {
|
|
406
|
-
sql: string;
|
|
407
|
-
interval_minutes: number | null;
|
|
408
|
-
id?: number;
|
|
409
|
-
}[];
|
|
410
378
|
};
|
|
411
379
|
};
|
|
412
380
|
};
|
|
@@ -1318,6 +1286,71 @@ export interface operations {
|
|
|
1318
1286
|
};
|
|
1319
1287
|
};
|
|
1320
1288
|
};
|
|
1289
|
+
/** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
|
|
1290
|
+
deleteAudienceMembers: {
|
|
1291
|
+
parameters: {
|
|
1292
|
+
path: {
|
|
1293
|
+
id: number;
|
|
1294
|
+
};
|
|
1295
|
+
header: {
|
|
1296
|
+
/** Cookie */
|
|
1297
|
+
Cookie: string;
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
responses: {
|
|
1301
|
+
/** 200 response */
|
|
1302
|
+
200: {
|
|
1303
|
+
content: {
|
|
1304
|
+
"application/json": {
|
|
1305
|
+
status: 200;
|
|
1306
|
+
message: string;
|
|
1307
|
+
result: {
|
|
1308
|
+
audience_id: number;
|
|
1309
|
+
complete: boolean;
|
|
1310
|
+
deleted: number;
|
|
1311
|
+
unconfirmed: {
|
|
1312
|
+
/** Format: uuid */
|
|
1313
|
+
user_id: string;
|
|
1314
|
+
}[];
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
/** 400 response */
|
|
1320
|
+
400: {
|
|
1321
|
+
content: {
|
|
1322
|
+
"application/json": {
|
|
1323
|
+
status: 400;
|
|
1324
|
+
message: string;
|
|
1325
|
+
errors?: {
|
|
1326
|
+
message: string;
|
|
1327
|
+
path?: string;
|
|
1328
|
+
}[];
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
/** 404 response */
|
|
1333
|
+
404: {
|
|
1334
|
+
content: {
|
|
1335
|
+
"application/json": {
|
|
1336
|
+
status: 404;
|
|
1337
|
+
message: string;
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
};
|
|
1341
|
+
};
|
|
1342
|
+
/** payload */
|
|
1343
|
+
requestBody: {
|
|
1344
|
+
content: {
|
|
1345
|
+
"application/json": {
|
|
1346
|
+
members: {
|
|
1347
|
+
/** Format: uuid */
|
|
1348
|
+
user_id: string;
|
|
1349
|
+
}[];
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
};
|
|
1321
1354
|
evaluateExperiments: {
|
|
1322
1355
|
parameters: {};
|
|
1323
1356
|
responses: {
|