@luxuryescapes/contract-svc-lab-v2 0.1.27 → 0.1.28

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 +28 -4
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -42,9 +42,9 @@ export interface paths {
42
42
  put: operations["replaceCampaignItems"];
43
43
  };
44
44
  "/api/lab/v2/admin/campaigns": {
45
- /** List scheduled campaigns for the admin overview */
45
+ /** List scheduled and always-on campaigns for the admin overview */
46
46
  get: operations["listCampaigns"];
47
- /** Create an empty scheduled campaign with an optional draft schedule */
47
+ /** Create an empty campaign (scheduled by default) with an optional draft schedule */
48
48
  post: operations["createCampaign"];
49
49
  };
50
50
  "/api/lab/v2/items/{id}": {
@@ -584,6 +584,10 @@ export interface operations {
584
584
  result: {
585
585
  id: number;
586
586
  name: string;
587
+ /** @description scheduled is live inside its schedule; always_on is live while enable is true */
588
+ type: "scheduled" | "always_on";
589
+ /** @description Turns an always_on campaign on; scheduled campaigns ignore it */
590
+ enable: boolean;
587
591
  priority: number;
588
592
  rollout: number;
589
593
  seed: number;
@@ -650,6 +654,10 @@ export interface operations {
650
654
  result: {
651
655
  id: number;
652
656
  name: string;
657
+ /** @description scheduled is live inside its schedule; always_on is live while enable is true */
658
+ type: "scheduled" | "always_on";
659
+ /** @description Turns an always_on campaign on; scheduled campaigns ignore it */
660
+ enable: boolean;
653
661
  priority: number;
654
662
  rollout: number;
655
663
  seed: number;
@@ -704,6 +712,10 @@ export interface operations {
704
712
  content: {
705
713
  "application/json": {
706
714
  name: string;
715
+ /** @description scheduled is live inside its schedule; always_on is live while enable is true */
716
+ type: "scheduled" | "always_on";
717
+ /** @description Turns an always_on campaign on; scheduled campaigns ignore it */
718
+ enable: boolean;
707
719
  priority: number;
708
720
  schedule: {
709
721
  /** Format: date-time */
@@ -1003,7 +1015,7 @@ export interface operations {
1003
1015
  };
1004
1016
  };
1005
1017
  };
1006
- /** List scheduled campaigns for the admin overview */
1018
+ /** List scheduled and always-on campaigns for the admin overview */
1007
1019
  listCampaigns: {
1008
1020
  parameters: {
1009
1021
  query: {
@@ -1029,6 +1041,10 @@ export interface operations {
1029
1041
  result: {
1030
1042
  id: number;
1031
1043
  name: string;
1044
+ /** @description scheduled is live inside its schedule; always_on is live while enable is true */
1045
+ type: "scheduled" | "always_on";
1046
+ /** @description Turns an always_on campaign on; scheduled campaigns ignore it */
1047
+ enable: boolean;
1032
1048
  priority: number;
1033
1049
  rollout: number;
1034
1050
  seed: number;
@@ -1077,7 +1093,7 @@ export interface operations {
1077
1093
  };
1078
1094
  };
1079
1095
  };
1080
- /** Create an empty scheduled campaign with an optional draft schedule */
1096
+ /** Create an empty campaign (scheduled by default) with an optional draft schedule */
1081
1097
  createCampaign: {
1082
1098
  parameters: {};
1083
1099
  responses: {
@@ -1090,6 +1106,10 @@ export interface operations {
1090
1106
  result: {
1091
1107
  id: number;
1092
1108
  name: string;
1109
+ /** @description scheduled is live inside its schedule; always_on is live while enable is true */
1110
+ type: "scheduled" | "always_on";
1111
+ /** @description Turns an always_on campaign on; scheduled campaigns ignore it */
1112
+ enable: boolean;
1093
1113
  priority: number;
1094
1114
  rollout: number;
1095
1115
  seed: number;
@@ -1135,6 +1155,10 @@ export interface operations {
1135
1155
  content: {
1136
1156
  "application/json": {
1137
1157
  name: string;
1158
+ /** @description scheduled is live inside its schedule; always_on is live while enable is true */
1159
+ type?: "scheduled" | "always_on";
1160
+ /** @description Turns an always_on campaign on; scheduled campaigns ignore it */
1161
+ enable?: boolean;
1138
1162
  priority?: number;
1139
1163
  targeting_conditions?: {
1140
1164
  [key: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [