@luxuryescapes/contract-svc-lab-v2 0.1.41 → 0.1.43
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 +53 -1
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -21,6 +21,10 @@ export interface paths {
|
|
|
21
21
|
/** Count unexpired members for an ordinary audience */
|
|
22
22
|
get: operations["countAudienceMembers"];
|
|
23
23
|
};
|
|
24
|
+
"/api/lab/v2/admin/audiences/{id}/membership": {
|
|
25
|
+
/** Whether a subject has an unexpired membership in an ordinary audience. subject_id is opaque; the service resolves it to user ids. */
|
|
26
|
+
get: operations["checkAudienceMembership"];
|
|
27
|
+
};
|
|
24
28
|
"/api/lab/v2/admin/audiences/{id}/members": {
|
|
25
29
|
/** Preview unexpired members with cursor pagination */
|
|
26
30
|
get: operations["listAudienceMembers"];
|
|
@@ -422,6 +426,54 @@ export interface operations {
|
|
|
422
426
|
};
|
|
423
427
|
};
|
|
424
428
|
};
|
|
429
|
+
/** Whether a subject has an unexpired membership in an ordinary audience. subject_id is opaque; the service resolves it to user ids. */
|
|
430
|
+
checkAudienceMembership: {
|
|
431
|
+
parameters: {
|
|
432
|
+
path: {
|
|
433
|
+
id: number;
|
|
434
|
+
};
|
|
435
|
+
query: {
|
|
436
|
+
subject_id: string;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
responses: {
|
|
440
|
+
/** 200 response */
|
|
441
|
+
200: {
|
|
442
|
+
content: {
|
|
443
|
+
"application/json": {
|
|
444
|
+
status: 200;
|
|
445
|
+
message: string;
|
|
446
|
+
result: {
|
|
447
|
+
audience_id: number;
|
|
448
|
+
is_member: boolean;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
/** 400 response */
|
|
454
|
+
400: {
|
|
455
|
+
content: {
|
|
456
|
+
"application/json": {
|
|
457
|
+
status: 400;
|
|
458
|
+
message: string;
|
|
459
|
+
errors?: {
|
|
460
|
+
message: string;
|
|
461
|
+
path?: string;
|
|
462
|
+
}[];
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
/** 404 response */
|
|
467
|
+
404: {
|
|
468
|
+
content: {
|
|
469
|
+
"application/json": {
|
|
470
|
+
status: 404;
|
|
471
|
+
message: string;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
};
|
|
425
477
|
/** Preview unexpired members with cursor pagination */
|
|
426
478
|
listAudienceMembers: {
|
|
427
479
|
parameters: {
|
|
@@ -1738,7 +1790,7 @@ export interface operations {
|
|
|
1738
1790
|
experiment_id: number;
|
|
1739
1791
|
};
|
|
1740
1792
|
};
|
|
1741
|
-
/** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry, in this order. For popup,
|
|
1793
|
+
/** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry, in this order. For popup, skip entries the client suppresses (for example by display_frequency) and show the first entry that is not suppressed, in this order. */
|
|
1742
1794
|
uis: ({
|
|
1743
1795
|
type: "header_banner";
|
|
1744
1796
|
/** Format: uuid */
|