@luxuryescapes/contract-svc-lab-v2 0.1.8 → 0.1.9
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 +51 -2
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -22,11 +22,15 @@ export interface paths {
|
|
|
22
22
|
get: operations["countAudienceMembers"];
|
|
23
23
|
};
|
|
24
24
|
"/api/lab/v2/admin/audiences/{id}/members": {
|
|
25
|
-
/** Preview unexpired members with
|
|
25
|
+
/** Preview unexpired members with cursor pagination */
|
|
26
26
|
get: operations["listAudienceMembers"];
|
|
27
27
|
/** Upsert up to 10000 members by user_id. Existing members that are not submitted are left unchanged. */
|
|
28
28
|
post: operations["upsertAudienceMembers"];
|
|
29
29
|
};
|
|
30
|
+
"/api/lab/v2/admin/audiences/{id}/member-exports": {
|
|
31
|
+
/** Download a full CSV of every unexpired member for an ordinary audience (header + all rows) */
|
|
32
|
+
get: operations["exportAudienceMembers"];
|
|
33
|
+
};
|
|
30
34
|
"/api/lab/v2/admin/campaigns/{id}": {
|
|
31
35
|
get: operations["getCampaign"];
|
|
32
36
|
put: operations["updateCampaign"];
|
|
@@ -360,7 +364,7 @@ export interface operations {
|
|
|
360
364
|
};
|
|
361
365
|
};
|
|
362
366
|
};
|
|
363
|
-
/** Preview unexpired members with
|
|
367
|
+
/** Preview unexpired members with cursor pagination */
|
|
364
368
|
listAudienceMembers: {
|
|
365
369
|
parameters: {
|
|
366
370
|
path: {
|
|
@@ -383,6 +387,7 @@ export interface operations {
|
|
|
383
387
|
status: 200;
|
|
384
388
|
message: string;
|
|
385
389
|
result: {
|
|
390
|
+
/** Format: uuid */
|
|
386
391
|
user_id: string;
|
|
387
392
|
/** Format: date-time */
|
|
388
393
|
expires_at: string | null;
|
|
@@ -441,6 +446,7 @@ export interface operations {
|
|
|
441
446
|
complete: boolean;
|
|
442
447
|
upserted: number;
|
|
443
448
|
unconfirmed: {
|
|
449
|
+
/** Format: uuid */
|
|
444
450
|
user_id: string;
|
|
445
451
|
}[];
|
|
446
452
|
};
|
|
@@ -475,6 +481,7 @@ export interface operations {
|
|
|
475
481
|
content: {
|
|
476
482
|
"application/json": {
|
|
477
483
|
members: {
|
|
484
|
+
/** Format: uuid */
|
|
478
485
|
user_id: string;
|
|
479
486
|
/** Format: date-time */
|
|
480
487
|
expires_at?: string | null;
|
|
@@ -483,6 +490,48 @@ export interface operations {
|
|
|
483
490
|
};
|
|
484
491
|
};
|
|
485
492
|
};
|
|
493
|
+
/** Download a full CSV of every unexpired member for an ordinary audience (header + all rows) */
|
|
494
|
+
exportAudienceMembers: {
|
|
495
|
+
parameters: {
|
|
496
|
+
path: {
|
|
497
|
+
id: number;
|
|
498
|
+
};
|
|
499
|
+
header: {
|
|
500
|
+
/** Cookie */
|
|
501
|
+
Cookie: string;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
responses: {
|
|
505
|
+
/** 200 response */
|
|
506
|
+
200: {
|
|
507
|
+
content: {
|
|
508
|
+
"application/json": string;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
/** 400 response */
|
|
512
|
+
400: {
|
|
513
|
+
content: {
|
|
514
|
+
"application/json": {
|
|
515
|
+
status: 400;
|
|
516
|
+
message: string;
|
|
517
|
+
errors?: {
|
|
518
|
+
message: string;
|
|
519
|
+
path?: string;
|
|
520
|
+
}[];
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
/** 404 response */
|
|
525
|
+
404: {
|
|
526
|
+
content: {
|
|
527
|
+
"application/json": {
|
|
528
|
+
status: 404;
|
|
529
|
+
message: string;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
};
|
|
486
535
|
getCampaign: {
|
|
487
536
|
parameters: {
|
|
488
537
|
path: {
|