@luxuryescapes/contract-svc-lab-v2 0.1.43 → 0.1.44

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.
Files changed (2) hide show
  1. package/dist/server.d.ts +2 -52
  2. 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: {
@@ -1803,6 +1751,8 @@ export interface operations {
1803
1751
  experiment_id: number;
1804
1752
  display_frequency: "once_per_session" | "once_per_7_days" | "once" | "everytime";
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [