@bondsports/types 2.4.14-squad-c-1 → 2.4.14-squad-c-2
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/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +1 -1
- package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +95 -40
- package/dist/types/product-pricing/types/consts/product-category.consts.js +12 -4
- package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +2 -2
- package/package.json +1 -1
|
@@ -104,7 +104,7 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
|
|
|
104
104
|
punchPassOnly?: boolean;
|
|
105
105
|
includePaymentPlan?: boolean;
|
|
106
106
|
includeResourceSettings?: boolean;
|
|
107
|
-
|
|
107
|
+
categoriesIds?: number[];
|
|
108
108
|
includeOnlyNotAssignedToCategory?: boolean;
|
|
109
109
|
}
|
|
110
110
|
export declare class GetPunchPassProductsByTypeQueryDto extends PaginationQuery implements IGetPunchPassProductsOptions {
|
|
@@ -192,52 +192,55 @@ export declare const RESERVATION_SETTINGS_SCHEMA: z.ZodEffects<z.ZodObject<{
|
|
|
192
192
|
unit?: TimeUnit;
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
195
|
-
memberships: z.ZodNullable<z.
|
|
195
|
+
memberships: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
196
|
+
id: z.ZodString;
|
|
196
197
|
name: z.ZodString;
|
|
197
198
|
membershipsIds: z.ZodArray<z.ZodNumber, "atleastone">;
|
|
198
|
-
advanceBookingWindow: z.
|
|
199
|
+
advanceBookingWindow: z.ZodObject<{
|
|
199
200
|
amount: z.ZodNumber;
|
|
200
201
|
unit: z.ZodNativeEnum<typeof TimeUnit>;
|
|
201
|
-
},
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
203
|
amount?: number;
|
|
203
204
|
unit?: TimeUnit;
|
|
204
205
|
}, {
|
|
205
206
|
amount?: number;
|
|
206
207
|
unit?: TimeUnit;
|
|
207
|
-
}
|
|
208
|
-
minimumBookingNotice: z.
|
|
208
|
+
}>;
|
|
209
|
+
minimumBookingNotice: z.ZodObject<{
|
|
209
210
|
amount: z.ZodNumber;
|
|
210
211
|
unit: z.ZodNativeEnum<typeof TimeUnit>;
|
|
211
|
-
},
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
213
|
amount?: number;
|
|
213
214
|
unit?: TimeUnit;
|
|
214
215
|
}, {
|
|
215
216
|
amount?: number;
|
|
216
217
|
unit?: TimeUnit;
|
|
217
|
-
}
|
|
218
|
+
}>;
|
|
218
219
|
}, "strip", z.ZodTypeAny, {
|
|
219
220
|
name?: string;
|
|
220
221
|
membershipsIds?: [number, ...number[]];
|
|
221
|
-
|
|
222
|
+
id?: string;
|
|
223
|
+
advanceBookingWindow?: {
|
|
222
224
|
amount?: number;
|
|
223
225
|
unit?: TimeUnit;
|
|
224
|
-
}
|
|
225
|
-
minimumBookingNotice?:
|
|
226
|
+
};
|
|
227
|
+
minimumBookingNotice?: {
|
|
226
228
|
amount?: number;
|
|
227
229
|
unit?: TimeUnit;
|
|
228
|
-
}
|
|
230
|
+
};
|
|
229
231
|
}, {
|
|
230
232
|
name?: string;
|
|
231
233
|
membershipsIds?: [number, ...number[]];
|
|
232
|
-
|
|
234
|
+
id?: string;
|
|
235
|
+
advanceBookingWindow?: {
|
|
233
236
|
amount?: number;
|
|
234
237
|
unit?: TimeUnit;
|
|
235
|
-
}
|
|
236
|
-
minimumBookingNotice?:
|
|
238
|
+
};
|
|
239
|
+
minimumBookingNotice?: {
|
|
237
240
|
amount?: number;
|
|
238
241
|
unit?: TimeUnit;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
242
|
+
};
|
|
243
|
+
}>, "atleastone">>;
|
|
241
244
|
}, "strip", z.ZodTypeAny, {
|
|
242
245
|
default?: {
|
|
243
246
|
advanceBookingWindow?: {
|
|
@@ -279,18 +282,31 @@ export declare const RESERVATION_SETTINGS_SCHEMA: z.ZodEffects<z.ZodObject<{
|
|
|
279
282
|
unit?: TimeUnit;
|
|
280
283
|
};
|
|
281
284
|
};
|
|
282
|
-
memberships?:
|
|
285
|
+
memberships?: [{
|
|
283
286
|
name?: string;
|
|
284
287
|
membershipsIds?: [number, ...number[]];
|
|
285
|
-
|
|
288
|
+
id?: string;
|
|
289
|
+
advanceBookingWindow?: {
|
|
286
290
|
amount?: number;
|
|
287
291
|
unit?: TimeUnit;
|
|
288
|
-
}
|
|
289
|
-
minimumBookingNotice?:
|
|
292
|
+
};
|
|
293
|
+
minimumBookingNotice?: {
|
|
290
294
|
amount?: number;
|
|
291
295
|
unit?: TimeUnit;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
296
|
+
};
|
|
297
|
+
}, ...{
|
|
298
|
+
name?: string;
|
|
299
|
+
membershipsIds?: [number, ...number[]];
|
|
300
|
+
id?: string;
|
|
301
|
+
advanceBookingWindow?: {
|
|
302
|
+
amount?: number;
|
|
303
|
+
unit?: TimeUnit;
|
|
304
|
+
};
|
|
305
|
+
minimumBookingNotice?: {
|
|
306
|
+
amount?: number;
|
|
307
|
+
unit?: TimeUnit;
|
|
308
|
+
};
|
|
309
|
+
}[]];
|
|
294
310
|
}, {
|
|
295
311
|
default?: {
|
|
296
312
|
advanceBookingWindow?: {
|
|
@@ -332,18 +348,31 @@ export declare const RESERVATION_SETTINGS_SCHEMA: z.ZodEffects<z.ZodObject<{
|
|
|
332
348
|
unit?: TimeUnit;
|
|
333
349
|
};
|
|
334
350
|
};
|
|
335
|
-
memberships?:
|
|
351
|
+
memberships?: [{
|
|
336
352
|
name?: string;
|
|
337
353
|
membershipsIds?: [number, ...number[]];
|
|
338
|
-
|
|
354
|
+
id?: string;
|
|
355
|
+
advanceBookingWindow?: {
|
|
339
356
|
amount?: number;
|
|
340
357
|
unit?: TimeUnit;
|
|
341
|
-
}
|
|
342
|
-
minimumBookingNotice?:
|
|
358
|
+
};
|
|
359
|
+
minimumBookingNotice?: {
|
|
343
360
|
amount?: number;
|
|
344
361
|
unit?: TimeUnit;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
362
|
+
};
|
|
363
|
+
}, ...{
|
|
364
|
+
name?: string;
|
|
365
|
+
membershipsIds?: [number, ...number[]];
|
|
366
|
+
id?: string;
|
|
367
|
+
advanceBookingWindow?: {
|
|
368
|
+
amount?: number;
|
|
369
|
+
unit?: TimeUnit;
|
|
370
|
+
};
|
|
371
|
+
minimumBookingNotice?: {
|
|
372
|
+
amount?: number;
|
|
373
|
+
unit?: TimeUnit;
|
|
374
|
+
};
|
|
375
|
+
}[]];
|
|
347
376
|
}>, {
|
|
348
377
|
default?: {
|
|
349
378
|
advanceBookingWindow?: {
|
|
@@ -385,18 +414,31 @@ export declare const RESERVATION_SETTINGS_SCHEMA: z.ZodEffects<z.ZodObject<{
|
|
|
385
414
|
unit?: TimeUnit;
|
|
386
415
|
};
|
|
387
416
|
};
|
|
388
|
-
memberships?:
|
|
417
|
+
memberships?: [{
|
|
389
418
|
name?: string;
|
|
390
419
|
membershipsIds?: [number, ...number[]];
|
|
391
|
-
|
|
420
|
+
id?: string;
|
|
421
|
+
advanceBookingWindow?: {
|
|
392
422
|
amount?: number;
|
|
393
423
|
unit?: TimeUnit;
|
|
394
|
-
}
|
|
395
|
-
minimumBookingNotice?:
|
|
424
|
+
};
|
|
425
|
+
minimumBookingNotice?: {
|
|
396
426
|
amount?: number;
|
|
397
427
|
unit?: TimeUnit;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
428
|
+
};
|
|
429
|
+
}, ...{
|
|
430
|
+
name?: string;
|
|
431
|
+
membershipsIds?: [number, ...number[]];
|
|
432
|
+
id?: string;
|
|
433
|
+
advanceBookingWindow?: {
|
|
434
|
+
amount?: number;
|
|
435
|
+
unit?: TimeUnit;
|
|
436
|
+
};
|
|
437
|
+
minimumBookingNotice?: {
|
|
438
|
+
amount?: number;
|
|
439
|
+
unit?: TimeUnit;
|
|
440
|
+
};
|
|
441
|
+
}[]];
|
|
400
442
|
}, {
|
|
401
443
|
default?: {
|
|
402
444
|
advanceBookingWindow?: {
|
|
@@ -438,18 +480,31 @@ export declare const RESERVATION_SETTINGS_SCHEMA: z.ZodEffects<z.ZodObject<{
|
|
|
438
480
|
unit?: TimeUnit;
|
|
439
481
|
};
|
|
440
482
|
};
|
|
441
|
-
memberships?:
|
|
483
|
+
memberships?: [{
|
|
442
484
|
name?: string;
|
|
443
485
|
membershipsIds?: [number, ...number[]];
|
|
444
|
-
|
|
486
|
+
id?: string;
|
|
487
|
+
advanceBookingWindow?: {
|
|
445
488
|
amount?: number;
|
|
446
489
|
unit?: TimeUnit;
|
|
447
|
-
}
|
|
448
|
-
minimumBookingNotice?:
|
|
490
|
+
};
|
|
491
|
+
minimumBookingNotice?: {
|
|
449
492
|
amount?: number;
|
|
450
493
|
unit?: TimeUnit;
|
|
451
|
-
}
|
|
452
|
-
}
|
|
494
|
+
};
|
|
495
|
+
}, ...{
|
|
496
|
+
name?: string;
|
|
497
|
+
membershipsIds?: [number, ...number[]];
|
|
498
|
+
id?: string;
|
|
499
|
+
advanceBookingWindow?: {
|
|
500
|
+
amount?: number;
|
|
501
|
+
unit?: TimeUnit;
|
|
502
|
+
};
|
|
503
|
+
minimumBookingNotice?: {
|
|
504
|
+
amount?: number;
|
|
505
|
+
unit?: TimeUnit;
|
|
506
|
+
};
|
|
507
|
+
}[]];
|
|
453
508
|
}>;
|
|
454
509
|
export type TProductCategoryOnlineBookingSettings = z.infer<typeof RESERVATION_SETTINGS_SCHEMA>;
|
|
455
510
|
export declare const RESERVATION_DEFAULT_SETTINGS: TProductCategoryOnlineBookingSettings;
|
|
@@ -65,16 +65,24 @@ exports.RESERVATION_SETTINGS_SCHEMA = zod_1.z
|
|
|
65
65
|
maxSequentialBookings: DURATION_SCHEMA.nullable(),
|
|
66
66
|
}),
|
|
67
67
|
memberships: zod_1.z
|
|
68
|
-
.
|
|
68
|
+
.array(zod_1.z.object({
|
|
69
|
+
id: zod_1.z.string().uuid(),
|
|
69
70
|
name: zod_1.z.string(),
|
|
70
71
|
membershipsIds: zod_1.z.array(zod_1.z.number().int()).nonempty(),
|
|
71
|
-
advanceBookingWindow: zod_1.z.
|
|
72
|
-
|
|
72
|
+
advanceBookingWindow: zod_1.z.object({
|
|
73
|
+
amount: INTEGER_SCHEMA,
|
|
74
|
+
unit: zod_1.z.nativeEnum(date_time_1.TimeUnit),
|
|
75
|
+
}),
|
|
76
|
+
minimumBookingNotice: zod_1.z.object({
|
|
77
|
+
amount: INTEGER_SCHEMA,
|
|
78
|
+
unit: zod_1.z.nativeEnum(date_time_1.TimeUnit),
|
|
79
|
+
}),
|
|
73
80
|
}))
|
|
81
|
+
.nonempty()
|
|
74
82
|
.nullable(),
|
|
75
83
|
})
|
|
76
84
|
.superRefine((settings, ctx) => {
|
|
77
|
-
const membershipIds =
|
|
85
|
+
const membershipIds = settings.memberships?.flatMap(setting => setting.membershipsIds) ?? [];
|
|
78
86
|
const uniqueMembershipIds = [...new Set(membershipIds)];
|
|
79
87
|
});
|
|
80
88
|
exports.RESERVATION_DEFAULT_SETTINGS = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-category.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-category.consts.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AAC9D,6BAAmC;AAEnC,mEAAwF;AAExF,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,cAAc,GAAc,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE1D,MAAM,eAAe,GAAiF,OAAC,CAAC,MAAM,CAAC;IAC9G,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,oBAAQ,CAAC;CAC5B,CAAC,CAAC;AAEU,QAAA,2B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EAAE,OAAC,CAAC,UAAU,CAAC,oBAAQ,CAAC;SAC5B,CAAC;QACF,oBAAoB,EAAE,OAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,cAAc;YACtB,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,oBAAQ,CAAC;SAC5B,CAAC;QACF,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;QAC3C,qBAAqB,EAAE,eAAe,CAAC,QAAQ,EAAE;KACjD,CAAC;IACF,WAAW,EAAE,OAAC;SACZ,
|
|
1
|
+
{"version":3,"file":"product-category.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-category.consts.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AAC9D,6BAAmC;AAEnC,mEAAwF;AAExF,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,cAAc,GAAc,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE1D,MAAM,eAAe,GAAiF,OAAC,CAAC,MAAM,CAAC;IAC9G,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,oBAAQ,CAAC;CAC5B,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,OAAC;KAC1C,MAAM,CAAC;IACP,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,UAAU,CAAC,gCAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE;IAEjE,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAE3C,sBAAsB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAElD,6BAA6B,EAAE,OAAC;SAC9B,MAAM,CAAC,OAAC,CAAC,UAAU,CAAC,mCAAmB,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,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E;YACb,MAAM,EAAE,EAAE;YACV,IAAI,EAAE,oBAAQ,CAAC,MAAM;SACrB;QACD,eAAe,EAAE;YAChB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,oBAAQ,CAAC,IAAI;SACnB;KACD;IACD,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,IAAI;IACtB,sBAAsB,EAAE,IAAI;IAC5B,6BAA6B,EAAE,IAAI;CACnC,CAAC"}
|
|
@@ -16,7 +16,7 @@ export interface IGetCurrentPricesOptions {
|
|
|
16
16
|
skipProrated?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export interface IGetProductsByTypeOptions extends IPagination {
|
|
19
|
-
|
|
19
|
+
categoriesIds?: number[];
|
|
20
20
|
customersIds?: number[];
|
|
21
21
|
excludeProductIds?: number[];
|
|
22
22
|
excludeResourceIds?: number[];
|
|
@@ -27,13 +27,13 @@ export interface IGetProductsByTypeOptions extends IPagination {
|
|
|
27
27
|
includeEntitlementDiscounts?: boolean;
|
|
28
28
|
includeFacilities?: boolean;
|
|
29
29
|
includeGlCodes?: boolean;
|
|
30
|
+
includeOnlyNotAssignedToCategory?: boolean;
|
|
30
31
|
includePaymentPlan?: boolean;
|
|
31
32
|
includePricesSchedule?: boolean;
|
|
32
33
|
includeProductCategories?: boolean;
|
|
33
34
|
includeProductResources?: boolean;
|
|
34
35
|
includePunchPass?: boolean;
|
|
35
36
|
includeResources?: boolean;
|
|
36
|
-
includeOnlyNotAssignedToCategory?: boolean;
|
|
37
37
|
includeResourceSettings?: boolean;
|
|
38
38
|
inclusion?: boolean;
|
|
39
39
|
instructorsIds?: number[];
|