@luxuryescapes/contract-svc-lab-v2 0.1.16 → 0.1.17

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 +40 -4
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -6,7 +6,7 @@ export interface paths {
6
6
  "/api/lab/v2/admin/audiences": {
7
7
  /** List audiences with offset pagination, name filter, and sorting */
8
8
  get: operations["listAudiences"];
9
- /** Create an empty audience */
9
+ /** Create an audience, optionally with BigQuery scheduled queries */
10
10
  post: operations["createAudience"];
11
11
  };
12
12
  "/api/lab/v2/admin/audiences/{id}": {
@@ -14,7 +14,7 @@ export interface paths {
14
14
  get: operations["getAudience"];
15
15
  /** Delete an unreferenced audience */
16
16
  delete: operations["deleteAudience"];
17
- /** Sparse-update audience name and description */
17
+ /** Sparse-update audience name and description. scheduled_queries, when present, replaces the set: ids update in place, entries without an id are created, and omitted ids are deleted. interval_minutes null runs the query once. */
18
18
  patch: operations["updateAudience"];
19
19
  };
20
20
  "/api/lab/v2/admin/audiences/{id}/member-counts": {
@@ -173,7 +173,7 @@ export interface operations {
173
173
  };
174
174
  };
175
175
  };
176
- /** Create an empty audience */
176
+ /** Create an audience, optionally with BigQuery scheduled queries */
177
177
  createAudience: {
178
178
  parameters: {
179
179
  header: {
@@ -197,6 +197,15 @@ export interface operations {
197
197
  created_at: string;
198
198
  /** Format: date-time */
199
199
  updated_at: string;
200
+ scheduled_queries: {
201
+ id: number;
202
+ sql: string;
203
+ interval_minutes: number | null;
204
+ /** Format: date-time */
205
+ created_at: string;
206
+ /** Format: date-time */
207
+ updated_at: string;
208
+ }[];
200
209
  };
201
210
  };
202
211
  };
@@ -221,6 +230,10 @@ export interface operations {
221
230
  "application/json": {
222
231
  name: string;
223
232
  description?: string | null;
233
+ scheduled_queries?: {
234
+ sql: string;
235
+ interval_minutes: number | null;
236
+ }[];
224
237
  };
225
238
  };
226
239
  };
@@ -252,6 +265,15 @@ export interface operations {
252
265
  created_at: string;
253
266
  /** Format: date-time */
254
267
  updated_at: string;
268
+ scheduled_queries: {
269
+ id: number;
270
+ sql: string;
271
+ interval_minutes: number | null;
272
+ /** Format: date-time */
273
+ created_at: string;
274
+ /** Format: date-time */
275
+ updated_at: string;
276
+ }[];
255
277
  };
256
278
  };
257
279
  };
@@ -311,7 +333,7 @@ export interface operations {
311
333
  };
312
334
  };
313
335
  };
314
- /** Sparse-update audience name and description */
336
+ /** Sparse-update audience name and description. scheduled_queries, when present, replaces the set: ids update in place, entries without an id are created, and omitted ids are deleted. interval_minutes null runs the query once. */
315
337
  updateAudience: {
316
338
  parameters: {
317
339
  path: {
@@ -338,6 +360,15 @@ export interface operations {
338
360
  created_at: string;
339
361
  /** Format: date-time */
340
362
  updated_at: string;
363
+ scheduled_queries: {
364
+ id: number;
365
+ sql: string;
366
+ interval_minutes: number | null;
367
+ /** Format: date-time */
368
+ created_at: string;
369
+ /** Format: date-time */
370
+ updated_at: string;
371
+ }[];
341
372
  };
342
373
  };
343
374
  };
@@ -371,6 +402,11 @@ export interface operations {
371
402
  "application/json": {
372
403
  name?: string;
373
404
  description?: string | null;
405
+ scheduled_queries?: {
406
+ sql: string;
407
+ interval_minutes: number | null;
408
+ id?: number;
409
+ }[];
374
410
  };
375
411
  };
376
412
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [