@luxuryescapes/contract-svc-lab-v2 0.1.43 → 0.1.45
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 +6 -56
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -21,10 +21,6 @@ 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
|
-
};
|
|
28
24
|
"/api/lab/v2/admin/audiences/{id}/members": {
|
|
29
25
|
/** Preview unexpired members with cursor pagination */
|
|
30
26
|
get: operations["listAudienceMembers"];
|
|
@@ -426,54 +422,6 @@ export interface operations {
|
|
|
426
422
|
};
|
|
427
423
|
};
|
|
428
424
|
};
|
|
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
|
-
};
|
|
477
425
|
/** Preview unexpired members with cursor pagination */
|
|
478
426
|
listAudienceMembers: {
|
|
479
427
|
parameters: {
|
|
@@ -888,7 +836,7 @@ export interface operations {
|
|
|
888
836
|
created_at: string;
|
|
889
837
|
/** Format: date-time */
|
|
890
838
|
updated_at: string;
|
|
891
|
-
display_frequency: "once_per_session" | "once_per_7_days" | "once"
|
|
839
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once";
|
|
892
840
|
payload: components["schemas"]["PopupPayload"];
|
|
893
841
|
})[];
|
|
894
842
|
};
|
|
@@ -967,7 +915,7 @@ export interface operations {
|
|
|
967
915
|
created_at: string;
|
|
968
916
|
/** Format: date-time */
|
|
969
917
|
updated_at: string;
|
|
970
|
-
display_frequency: "once_per_session" | "once_per_7_days" | "once"
|
|
918
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once";
|
|
971
919
|
payload: components["schemas"]["PopupPayload"];
|
|
972
920
|
})[];
|
|
973
921
|
};
|
|
@@ -1016,7 +964,7 @@ export interface operations {
|
|
|
1016
964
|
} | {
|
|
1017
965
|
type: "popup";
|
|
1018
966
|
enable: boolean;
|
|
1019
|
-
display_frequency: "once_per_session" | "once_per_7_days" | "once"
|
|
967
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once";
|
|
1020
968
|
payload: components["schemas"]["PopupPayload"];
|
|
1021
969
|
})[];
|
|
1022
970
|
};
|
|
@@ -1801,8 +1749,10 @@ export interface operations {
|
|
|
1801
1749
|
/** Format: uuid */
|
|
1802
1750
|
id: string;
|
|
1803
1751
|
experiment_id: number;
|
|
1804
|
-
display_frequency: "once_per_session" | "once_per_7_days" | "once"
|
|
1752
|
+
display_frequency: "once_per_session" | "once_per_7_days" | "once";
|
|
1805
1753
|
})[];
|
|
1754
|
+
/** @description Ids of the stored audiences the signed-in member is currently in (unexpired memberships), ascending. Present, possibly empty, only when the request carries a valid customer token; absent for guests, and absent when experiments are unavailable (configs and uis are then empty too). System audiences such as Everyone are virtual and never listed. Ids only: names are not returned. */
|
|
1755
|
+
audiences?: number[];
|
|
1806
1756
|
};
|
|
1807
1757
|
};
|
|
1808
1758
|
};
|