@luxuryescapes/contract-svc-lab-v2 0.1.24 → 0.1.25

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 +67 -0
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -47,6 +47,10 @@ export interface paths {
47
47
  /** Create an empty scheduled campaign with an optional draft schedule */
48
48
  post: operations["createCampaign"];
49
49
  };
50
+ "/api/lab/v2/items/{id}": {
51
+ /** Public and identical for every user, so CDN-cacheable. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
52
+ get: operations["getItemPayload"];
53
+ };
50
54
  "/api/lab/v2/admin/audiences/{id}/member-deletions": {
51
55
  /** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
52
56
  post: operations["deleteAudienceMembers"];
@@ -1138,6 +1142,69 @@ export interface operations {
1138
1142
  };
1139
1143
  };
1140
1144
  };
1145
+ /** Public and identical for every user, so CDN-cacheable. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
1146
+ getItemPayload: {
1147
+ parameters: {
1148
+ path: {
1149
+ id: string;
1150
+ };
1151
+ };
1152
+ responses: {
1153
+ /** 200 response */
1154
+ 200: {
1155
+ content: {
1156
+ "application/json": {
1157
+ status: 200;
1158
+ message: string;
1159
+ result: {
1160
+ /** Format: uuid */
1161
+ id: string;
1162
+ kind: "config";
1163
+ payload: {
1164
+ [key: string]: unknown;
1165
+ };
1166
+ } | {
1167
+ /** Format: uuid */
1168
+ id: string;
1169
+ kind: "ui";
1170
+ type: "header_banner";
1171
+ payload: components["schemas"]["HeaderBannerPayload"];
1172
+ } | {
1173
+ /** Format: uuid */
1174
+ id: string;
1175
+ kind: "ui";
1176
+ type: "popup";
1177
+ payload: components["schemas"]["PopupPayload"];
1178
+ } | {
1179
+ /** Format: uuid */
1180
+ id: string;
1181
+ kind: "ui";
1182
+ type: "snackbar";
1183
+ payload: components["schemas"]["SnackbarPayload"];
1184
+ };
1185
+ };
1186
+ };
1187
+ };
1188
+ /** 404 response */
1189
+ 404: {
1190
+ content: {
1191
+ "application/json": {
1192
+ status: 404;
1193
+ message: string;
1194
+ };
1195
+ };
1196
+ };
1197
+ /** 503 response */
1198
+ 503: {
1199
+ content: {
1200
+ "application/json": {
1201
+ status: 503;
1202
+ message: string;
1203
+ };
1204
+ };
1205
+ };
1206
+ };
1207
+ };
1141
1208
  /** Delete up to 10000 members by user_id. A user_id that is not a member is counted as deleted. */
1142
1209
  deleteAudienceMembers: {
1143
1210
  parameters: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [