@voyantjs/availability-react 0.4.5 → 0.6.0

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.
@@ -13,6 +13,7 @@ export declare function useAvailabilityRuleMutation(): {
13
13
  cutoffMinutes: number | null;
14
14
  earlyBookingLimitMinutes: number | null;
15
15
  active: boolean;
16
+ productName?: string | null | undefined;
16
17
  }, Error, {
17
18
  productId: string;
18
19
  timezone: string;
@@ -39,6 +40,7 @@ export declare function useAvailabilityRuleMutation(): {
39
40
  cutoffMinutes: number | null;
40
41
  earlyBookingLimitMinutes: number | null;
41
42
  active: boolean;
43
+ productName?: string | null | undefined;
42
44
  }, Error, {
43
45
  id: string;
44
46
  input: UpdateAvailabilityRuleInput;
@@ -1 +1 @@
1
- {"version":3,"file":"use-availability-rule-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-availability-rule-mutation.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,eAAe,CAAA;AAEtB,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBC,MAAM;eAAS,2BAA2B;;;;;EA+BrF"}
1
+ {"version":3,"file":"use-availability-rule-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-availability-rule-mutation.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,eAAe,CAAA;AAEtB,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBC,MAAM;eAAS,2BAA2B;;;;;EA+BrF"}
@@ -18,6 +18,7 @@ export declare function useAvailabilitySlotMutation(): {
18
18
  nights: number | null;
19
19
  days: number | null;
20
20
  notes: string | null;
21
+ productName?: string | null | undefined;
21
22
  }, Error, {
22
23
  productId: string;
23
24
  dateLocal: string;
@@ -59,6 +60,7 @@ export declare function useAvailabilitySlotMutation(): {
59
60
  nights: number | null;
60
61
  days: number | null;
61
62
  notes: string | null;
63
+ productName?: string | null | undefined;
62
64
  }, Error, {
63
65
  id: string;
64
66
  input: UpdateAvailabilitySlotInput;
@@ -1 +1 @@
1
- {"version":3,"file":"use-availability-slot-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-availability-slot-mutation.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,eAAe,CAAA;AAEtB,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBC,MAAM;eAAS,2BAA2B;;;;;EA+BrF"}
1
+ {"version":3,"file":"use-availability-slot-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-availability-slot-mutation.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,eAAe,CAAA;AAEtB,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBC,MAAM;eAAS,2BAA2B;;;;;EA+BrF"}
@@ -10,6 +10,7 @@ export declare function useAvailabilityStartTimeMutation(): {
10
10
  durationMinutes: number | null;
11
11
  sortOrder: number;
12
12
  active: boolean;
13
+ productName?: string | null | undefined;
13
14
  }, Error, {
14
15
  productId: string;
15
16
  startTimeLocal: string;
@@ -30,6 +31,7 @@ export declare function useAvailabilityStartTimeMutation(): {
30
31
  durationMinutes: number | null;
31
32
  sortOrder: number;
32
33
  active: boolean;
34
+ productName?: string | null | undefined;
33
35
  }, Error, {
34
36
  id: string;
35
37
  input: UpdateAvailabilityStartTimeInput;
@@ -1 +1 @@
1
- {"version":3,"file":"use-availability-start-time-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-availability-start-time-mutation.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,gCAAgC,EACtC,MAAM,eAAe,CAAA;AAEtB,wBAAgB,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBJ,MAAM;eAAS,gCAAgC;;;;;EA+B1F"}
1
+ {"version":3,"file":"use-availability-start-time-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-availability-start-time-mutation.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,KAAK,gCAAgC,EACtC,MAAM,eAAe,CAAA;AAEtB,wBAAgB,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBJ,MAAM;eAAS,gCAAgC;;;;;EA+B1F"}
@@ -10,6 +10,7 @@ export declare function useCloseouts(options?: UseCloseoutsOptions): import("@ta
10
10
  dateLocal: string;
11
11
  reason: string | null;
12
12
  createdBy: string | null;
13
+ productName?: string | null | undefined;
13
14
  }[];
14
15
  total: number;
15
16
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-closeouts.d.ts","sourceRoot":"","sources":["../../src/hooks/use-closeouts.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAA;AAGxE,MAAM,WAAW,mBAAoB,SAAQ,gCAAgC;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB;;;;;;;;;;;;UAI7D"}
1
+ {"version":3,"file":"use-closeouts.d.ts","sourceRoot":"","sources":["../../src/hooks/use-closeouts.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAA;AAGxE,MAAM,WAAW,mBAAoB,SAAQ,gCAAgC;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB;;;;;;;;;;;;;UAI7D"}
@@ -10,6 +10,7 @@ export declare function usePickupPoints(options?: UsePickupPointsOptions): impor
10
10
  description: string | null;
11
11
  locationText: string | null;
12
12
  active: boolean;
13
+ productName?: string | null | undefined;
13
14
  }[];
14
15
  total: number;
15
16
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-pickup-points.d.ts","sourceRoot":"","sources":["../../src/hooks/use-pickup-points.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAA;AAG3E,MAAM,WAAW,sBAAuB,SAAQ,mCAAmC;IACjF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B;;;;;;;;;;;;UAInE"}
1
+ {"version":3,"file":"use-pickup-points.d.ts","sourceRoot":"","sources":["../../src/hooks/use-pickup-points.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAA;AAG3E,MAAM,WAAW,sBAAuB,SAAQ,mCAAmC;IACjF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B;;;;;;;;;;;;;UAInE"}
@@ -16,6 +16,7 @@ export declare function useRules(options?: UseRulesOptions): import("@tanstack/r
16
16
  cutoffMinutes: number | null;
17
17
  earlyBookingLimitMinutes: number | null;
18
18
  active: boolean;
19
+ productName?: string | null | undefined;
19
20
  }[];
20
21
  total: number;
21
22
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-rules.d.ts","sourceRoot":"","sources":["../../src/hooks/use-rules.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAGpE,MAAM,WAAW,eAAgB,SAAQ,4BAA4B;IACnE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB;;;;;;;;;;;;;;;;;;UAIrD"}
1
+ {"version":3,"file":"use-rules.d.ts","sourceRoot":"","sources":["../../src/hooks/use-rules.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAGpE,MAAM,WAAW,eAAgB,SAAQ,4BAA4B;IACnE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB;;;;;;;;;;;;;;;;;;;UAIrD"}
@@ -21,6 +21,7 @@ export declare function useSlots(options?: UseSlotsOptions): import("@tanstack/r
21
21
  nights: number | null;
22
22
  days: number | null;
23
23
  notes: string | null;
24
+ productName?: string | null | undefined;
24
25
  }[];
25
26
  total: number;
26
27
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-slots.d.ts","sourceRoot":"","sources":["../../src/hooks/use-slots.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAGpE,MAAM,WAAW,eAAgB,SAAQ,4BAA4B;IACnE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB;;;;;;;;;;;;;;;;;;;;;;;UAIrD"}
1
+ {"version":3,"file":"use-slots.d.ts","sourceRoot":"","sources":["../../src/hooks/use-slots.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAGpE,MAAM,WAAW,eAAgB,SAAQ,4BAA4B;IACnE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB;;;;;;;;;;;;;;;;;;;;;;;;UAIrD"}
@@ -13,6 +13,7 @@ export declare function useStartTimes(options?: UseStartTimesOptions): import("@
13
13
  durationMinutes: number | null;
14
14
  sortOrder: number;
15
15
  active: boolean;
16
+ productName?: string | null | undefined;
16
17
  }[];
17
18
  total: number;
18
19
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-start-times.d.ts","sourceRoot":"","sources":["../../src/hooks/use-start-times.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kBAAkB,CAAA;AAGzE,MAAM,WAAW,oBAAqB,SAAQ,iCAAiC;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;UAI/D"}
1
+ {"version":3,"file":"use-start-times.d.ts","sourceRoot":"","sources":["../../src/hooks/use-start-times.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kBAAkB,CAAA;AAGzE,MAAM,WAAW,oBAAqB,SAAQ,iCAAiC;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;;UAI/D"}
@@ -59,6 +59,7 @@ export declare function getRulesQueryOptions(client: FetchWithValidationOptions,
59
59
  cutoffMinutes: number | null;
60
60
  earlyBookingLimitMinutes: number | null;
61
61
  active: boolean;
62
+ productName?: string | null | undefined;
62
63
  }[];
63
64
  total: number;
64
65
  limit: number;
@@ -77,6 +78,7 @@ export declare function getRulesQueryOptions(client: FetchWithValidationOptions,
77
78
  cutoffMinutes: number | null;
78
79
  earlyBookingLimitMinutes: number | null;
79
80
  active: boolean;
81
+ productName?: string | null | undefined;
80
82
  }[];
81
83
  total: number;
82
84
  limit: number;
@@ -96,6 +98,7 @@ export declare function getRulesQueryOptions(client: FetchWithValidationOptions,
96
98
  cutoffMinutes: number | null;
97
99
  earlyBookingLimitMinutes: number | null;
98
100
  active: boolean;
101
+ productName?: string | null | undefined;
99
102
  }[];
100
103
  total: number;
101
104
  limit: number;
@@ -117,6 +120,7 @@ export declare function getRulesQueryOptions(client: FetchWithValidationOptions,
117
120
  cutoffMinutes: number | null;
118
121
  earlyBookingLimitMinutes: number | null;
119
122
  active: boolean;
123
+ productName?: string | null | undefined;
120
124
  }[];
121
125
  total: number;
122
126
  limit: number;
@@ -136,6 +140,7 @@ export declare function getStartTimesQueryOptions(client: FetchWithValidationOpt
136
140
  durationMinutes: number | null;
137
141
  sortOrder: number;
138
142
  active: boolean;
143
+ productName?: string | null | undefined;
139
144
  }[];
140
145
  total: number;
141
146
  limit: number;
@@ -151,6 +156,7 @@ export declare function getStartTimesQueryOptions(client: FetchWithValidationOpt
151
156
  durationMinutes: number | null;
152
157
  sortOrder: number;
153
158
  active: boolean;
159
+ productName?: string | null | undefined;
154
160
  }[];
155
161
  total: number;
156
162
  limit: number;
@@ -167,6 +173,7 @@ export declare function getStartTimesQueryOptions(client: FetchWithValidationOpt
167
173
  durationMinutes: number | null;
168
174
  sortOrder: number;
169
175
  active: boolean;
176
+ productName?: string | null | undefined;
170
177
  }[];
171
178
  total: number;
172
179
  limit: number;
@@ -185,6 +192,7 @@ export declare function getStartTimesQueryOptions(client: FetchWithValidationOpt
185
192
  durationMinutes: number | null;
186
193
  sortOrder: number;
187
194
  active: boolean;
195
+ productName?: string | null | undefined;
188
196
  }[];
189
197
  total: number;
190
198
  limit: number;
@@ -212,6 +220,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
212
220
  nights: number | null;
213
221
  days: number | null;
214
222
  notes: string | null;
223
+ productName?: string | null | undefined;
215
224
  }[];
216
225
  total: number;
217
226
  limit: number;
@@ -235,6 +244,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
235
244
  nights: number | null;
236
245
  days: number | null;
237
246
  notes: string | null;
247
+ productName?: string | null | undefined;
238
248
  }[];
239
249
  total: number;
240
250
  limit: number;
@@ -259,6 +269,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
259
269
  nights: number | null;
260
270
  days: number | null;
261
271
  notes: string | null;
272
+ productName?: string | null | undefined;
262
273
  }[];
263
274
  total: number;
264
275
  limit: number;
@@ -285,6 +296,7 @@ export declare function getSlotsQueryOptions(client: FetchWithValidationOptions,
285
296
  nights: number | null;
286
297
  days: number | null;
287
298
  notes: string | null;
299
+ productName?: string | null | undefined;
288
300
  }[];
289
301
  total: number;
290
302
  limit: number;
@@ -301,6 +313,7 @@ export declare function getCloseoutsQueryOptions(client: FetchWithValidationOpti
301
313
  dateLocal: string;
302
314
  reason: string | null;
303
315
  createdBy: string | null;
316
+ productName?: string | null | undefined;
304
317
  }[];
305
318
  total: number;
306
319
  limit: number;
@@ -313,6 +326,7 @@ export declare function getCloseoutsQueryOptions(client: FetchWithValidationOpti
313
326
  dateLocal: string;
314
327
  reason: string | null;
315
328
  createdBy: string | null;
329
+ productName?: string | null | undefined;
316
330
  }[];
317
331
  total: number;
318
332
  limit: number;
@@ -326,6 +340,7 @@ export declare function getCloseoutsQueryOptions(client: FetchWithValidationOpti
326
340
  dateLocal: string;
327
341
  reason: string | null;
328
342
  createdBy: string | null;
343
+ productName?: string | null | undefined;
329
344
  }[];
330
345
  total: number;
331
346
  limit: number;
@@ -341,6 +356,7 @@ export declare function getCloseoutsQueryOptions(client: FetchWithValidationOpti
341
356
  dateLocal: string;
342
357
  reason: string | null;
343
358
  createdBy: string | null;
359
+ productName?: string | null | undefined;
344
360
  }[];
345
361
  total: number;
346
362
  limit: number;
@@ -357,6 +373,7 @@ export declare function getPickupPointsQueryOptions(client: FetchWithValidationO
357
373
  description: string | null;
358
374
  locationText: string | null;
359
375
  active: boolean;
376
+ productName?: string | null | undefined;
360
377
  }[];
361
378
  total: number;
362
379
  limit: number;
@@ -369,6 +386,7 @@ export declare function getPickupPointsQueryOptions(client: FetchWithValidationO
369
386
  description: string | null;
370
387
  locationText: string | null;
371
388
  active: boolean;
389
+ productName?: string | null | undefined;
372
390
  }[];
373
391
  total: number;
374
392
  limit: number;
@@ -382,6 +400,7 @@ export declare function getPickupPointsQueryOptions(client: FetchWithValidationO
382
400
  description: string | null;
383
401
  locationText: string | null;
384
402
  active: boolean;
403
+ productName?: string | null | undefined;
385
404
  }[];
386
405
  total: number;
387
406
  limit: number;
@@ -397,6 +416,7 @@ export declare function getPickupPointsQueryOptions(client: FetchWithValidationO
397
416
  description: string | null;
398
417
  locationText: string | null;
399
418
  active: boolean;
419
+ productName?: string | null | undefined;
400
420
  }[];
401
421
  total: number;
402
422
  limit: number;
@@ -431,6 +451,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
431
451
  tooEarly: boolean;
432
452
  createdAt: string;
433
453
  updatedAt: string;
454
+ productName?: string | null | undefined;
434
455
  };
435
456
  }, Error, {
436
457
  data: {
@@ -458,6 +479,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
458
479
  tooEarly: boolean;
459
480
  createdAt: string;
460
481
  updatedAt: string;
482
+ productName?: string | null | undefined;
461
483
  };
462
484
  }, readonly ["voyant", "availability", "slots", "detail", string]>, "queryFn"> & {
463
485
  queryFn?: import("@tanstack/react-query").QueryFunction<{
@@ -486,6 +508,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
486
508
  tooEarly: boolean;
487
509
  createdAt: string;
488
510
  updatedAt: string;
511
+ productName?: string | null | undefined;
489
512
  };
490
513
  }, readonly ["voyant", "availability", "slots", "detail", string], never> | undefined;
491
514
  } & {
@@ -516,6 +539,7 @@ export declare function getSlotQueryOptions(client: FetchWithValidationOptions,
516
539
  tooEarly: boolean;
517
540
  createdAt: string;
518
541
  updatedAt: string;
542
+ productName?: string | null | undefined;
519
543
  };
520
544
  };
521
545
  [dataTagErrorSymbol]: Error;
@@ -609,6 +633,7 @@ export declare function getSlotCloseoutsQueryOptions(client: FetchWithValidation
609
633
  dateLocal: string;
610
634
  reason: string | null;
611
635
  createdBy: string | null;
636
+ productName?: string | null | undefined;
612
637
  }[];
613
638
  total: number;
614
639
  limit: number;
@@ -621,6 +646,7 @@ export declare function getSlotCloseoutsQueryOptions(client: FetchWithValidation
621
646
  dateLocal: string;
622
647
  reason: string | null;
623
648
  createdBy: string | null;
649
+ productName?: string | null | undefined;
624
650
  }[];
625
651
  total: number;
626
652
  limit: number;
@@ -634,6 +660,7 @@ export declare function getSlotCloseoutsQueryOptions(client: FetchWithValidation
634
660
  dateLocal: string;
635
661
  reason: string | null;
636
662
  createdBy: string | null;
663
+ productName?: string | null | undefined;
637
664
  }[];
638
665
  total: number;
639
666
  limit: number;
@@ -649,6 +676,7 @@ export declare function getSlotCloseoutsQueryOptions(client: FetchWithValidation
649
676
  dateLocal: string;
650
677
  reason: string | null;
651
678
  createdBy: string | null;
679
+ productName?: string | null | undefined;
652
680
  }[];
653
681
  total: number;
654
682
  limit: number;
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAuB,MAAM,aAAa,CAAA;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAsBtE,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,kBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjC;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,eAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB9B;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GED
@@ -20,6 +20,7 @@ export type ProductOption = z.infer<typeof productOptionSchema>;
20
20
  export declare const availabilityRuleRecordSchema: z.ZodObject<{
21
21
  id: z.ZodString;
22
22
  productId: z.ZodString;
23
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
24
  optionId: z.ZodNullable<z.ZodString>;
24
25
  facilityId: z.ZodNullable<z.ZodString>;
25
26
  timezone: z.ZodString;
@@ -36,6 +37,7 @@ export type AvailabilityRuleRow = AvailabilityRuleRecord;
36
37
  export declare const availabilityStartTimeRecordSchema: z.ZodObject<{
37
38
  id: z.ZodString;
38
39
  productId: z.ZodString;
40
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
41
  optionId: z.ZodNullable<z.ZodString>;
40
42
  facilityId: z.ZodNullable<z.ZodString>;
41
43
  label: z.ZodNullable<z.ZodString>;
@@ -49,6 +51,7 @@ export type AvailabilityStartTimeRow = AvailabilityStartTimeRecord;
49
51
  export declare const availabilitySlotRecordSchema: z.ZodObject<{
50
52
  id: z.ZodString;
51
53
  productId: z.ZodString;
54
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
55
  optionId: z.ZodNullable<z.ZodString>;
53
56
  facilityId: z.ZodNullable<z.ZodString>;
54
57
  availabilityRuleId: z.ZodNullable<z.ZodString>;
@@ -75,6 +78,7 @@ export type AvailabilitySlotRow = AvailabilitySlotRecord;
75
78
  export declare const availabilitySlotDetailSchema: z.ZodObject<{
76
79
  id: z.ZodString;
77
80
  productId: z.ZodString;
81
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
82
  optionId: z.ZodNullable<z.ZodString>;
79
83
  facilityId: z.ZodNullable<z.ZodString>;
80
84
  availabilityRuleId: z.ZodNullable<z.ZodString>;
@@ -107,6 +111,7 @@ export type AvailabilitySlotDetail = z.infer<typeof availabilitySlotDetailSchema
107
111
  export declare const availabilityCloseoutRecordSchema: z.ZodObject<{
108
112
  id: z.ZodString;
109
113
  productId: z.ZodString;
114
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
115
  slotId: z.ZodNullable<z.ZodString>;
111
116
  dateLocal: z.ZodString;
112
117
  reason: z.ZodNullable<z.ZodString>;
@@ -124,6 +129,7 @@ export type AvailabilitySlotPickupRow = z.infer<typeof availabilitySlotPickupRec
124
129
  export declare const availabilityPickupPointRecordSchema: z.ZodObject<{
125
130
  id: z.ZodString;
126
131
  productId: z.ZodString;
132
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
133
  name: z.ZodString;
128
134
  description: z.ZodNullable<z.ZodString>;
129
135
  locationText: z.ZodNullable<z.ZodString>;
@@ -176,6 +182,7 @@ export declare const availabilityRuleListResponse: z.ZodObject<{
176
182
  data: z.ZodArray<z.ZodObject<{
177
183
  id: z.ZodString;
178
184
  productId: z.ZodString;
185
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
179
186
  optionId: z.ZodNullable<z.ZodString>;
180
187
  facilityId: z.ZodNullable<z.ZodString>;
181
188
  timezone: z.ZodString;
@@ -195,6 +202,7 @@ export declare const availabilityRuleSingleResponse: z.ZodObject<{
195
202
  data: z.ZodObject<{
196
203
  id: z.ZodString;
197
204
  productId: z.ZodString;
205
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
206
  optionId: z.ZodNullable<z.ZodString>;
199
207
  facilityId: z.ZodNullable<z.ZodString>;
200
208
  timezone: z.ZodString;
@@ -211,6 +219,7 @@ export declare const availabilityStartTimeListResponse: z.ZodObject<{
211
219
  data: z.ZodArray<z.ZodObject<{
212
220
  id: z.ZodString;
213
221
  productId: z.ZodString;
222
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
223
  optionId: z.ZodNullable<z.ZodString>;
215
224
  facilityId: z.ZodNullable<z.ZodString>;
216
225
  label: z.ZodNullable<z.ZodString>;
@@ -227,6 +236,7 @@ export declare const availabilityStartTimeSingleResponse: z.ZodObject<{
227
236
  data: z.ZodObject<{
228
237
  id: z.ZodString;
229
238
  productId: z.ZodString;
239
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
240
  optionId: z.ZodNullable<z.ZodString>;
231
241
  facilityId: z.ZodNullable<z.ZodString>;
232
242
  label: z.ZodNullable<z.ZodString>;
@@ -240,6 +250,7 @@ export declare const availabilitySlotListResponse: z.ZodObject<{
240
250
  data: z.ZodArray<z.ZodObject<{
241
251
  id: z.ZodString;
242
252
  productId: z.ZodString;
253
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
254
  optionId: z.ZodNullable<z.ZodString>;
244
255
  facilityId: z.ZodNullable<z.ZodString>;
245
256
  availabilityRuleId: z.ZodNullable<z.ZodString>;
@@ -269,6 +280,7 @@ export declare const availabilitySlotRecordResponse: z.ZodObject<{
269
280
  data: z.ZodObject<{
270
281
  id: z.ZodString;
271
282
  productId: z.ZodString;
283
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
284
  optionId: z.ZodNullable<z.ZodString>;
273
285
  facilityId: z.ZodNullable<z.ZodString>;
274
286
  availabilityRuleId: z.ZodNullable<z.ZodString>;
@@ -295,6 +307,7 @@ export declare const availabilitySlotSingleResponse: z.ZodObject<{
295
307
  data: z.ZodObject<{
296
308
  id: z.ZodString;
297
309
  productId: z.ZodString;
310
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
311
  optionId: z.ZodNullable<z.ZodString>;
299
312
  facilityId: z.ZodNullable<z.ZodString>;
300
313
  availabilityRuleId: z.ZodNullable<z.ZodString>;
@@ -328,6 +341,7 @@ export declare const availabilityCloseoutListResponse: z.ZodObject<{
328
341
  data: z.ZodArray<z.ZodObject<{
329
342
  id: z.ZodString;
330
343
  productId: z.ZodString;
344
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
345
  slotId: z.ZodNullable<z.ZodString>;
332
346
  dateLocal: z.ZodString;
333
347
  reason: z.ZodNullable<z.ZodString>;
@@ -341,6 +355,7 @@ export declare const availabilityPickupPointListResponse: z.ZodObject<{
341
355
  data: z.ZodArray<z.ZodObject<{
342
356
  id: z.ZodString;
343
357
  productId: z.ZodString;
358
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
359
  name: z.ZodString;
345
360
  description: z.ZodNullable<z.ZodString>;
346
361
  locationText: z.ZodNullable<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,iCAAiC,EACjC,4BAA4B,EAC5B,4BAA4B,EAC5B,iCAAiC,EAClC,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;;;;iBAM7D,CAAA;AAEJ,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAC3F,eAAO,MAAM,eAAe;;iBAAqC,CAAA;AAEjE,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE/D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;iBAavC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AACjF,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAA;AAExD,eAAO,MAAM,iCAAiC;;;;;;;;;;iBAU5C,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAC3F,MAAM,MAAM,wBAAwB,GAAG,2BAA2B,CAAA;AAElE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;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GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
package/dist/schemas.js CHANGED
@@ -15,6 +15,7 @@ export const productOptionSchema = z.object({
15
15
  export const availabilityRuleRecordSchema = z.object({
16
16
  id: z.string(),
17
17
  productId: z.string(),
18
+ productName: z.string().nullable().optional(),
18
19
  optionId: z.string().nullable(),
19
20
  facilityId: z.string().nullable(),
20
21
  timezone: z.string(),
@@ -29,6 +30,7 @@ export const availabilityRuleRecordSchema = z.object({
29
30
  export const availabilityStartTimeRecordSchema = z.object({
30
31
  id: z.string(),
31
32
  productId: z.string(),
33
+ productName: z.string().nullable().optional(),
32
34
  optionId: z.string().nullable(),
33
35
  facilityId: z.string().nullable(),
34
36
  label: z.string().nullable(),
@@ -40,6 +42,7 @@ export const availabilityStartTimeRecordSchema = z.object({
40
42
  export const availabilitySlotRecordSchema = z.object({
41
43
  id: z.string(),
42
44
  productId: z.string(),
45
+ productName: z.string().nullable().optional(),
43
46
  optionId: z.string().nullable(),
44
47
  facilityId: z.string().nullable(),
45
48
  availabilityRuleId: z.string().nullable(),
@@ -68,6 +71,7 @@ export const availabilitySlotDetailSchema = availabilitySlotRecordSchema.extend(
68
71
  export const availabilityCloseoutRecordSchema = z.object({
69
72
  id: z.string(),
70
73
  productId: z.string(),
74
+ productName: z.string().nullable().optional(),
71
75
  slotId: z.string().nullable(),
72
76
  dateLocal: z.string(),
73
77
  reason: z.string().nullable(),
@@ -83,6 +87,7 @@ export const availabilitySlotPickupRecordSchema = z.object({
83
87
  export const availabilityPickupPointRecordSchema = z.object({
84
88
  id: z.string(),
85
89
  productId: z.string(),
90
+ productName: z.string().nullable().optional(),
86
91
  name: z.string(),
87
92
  description: z.string().nullable(),
88
93
  locationText: z.string().nullable(),
package/dist/utils.d.ts CHANGED
@@ -4,6 +4,6 @@ export declare function nullableNumber(value: string | null | undefined): number
4
4
  export declare function toLocalDateTimeInput(value: string | null | undefined): string;
5
5
  export declare function toIsoDateTime(value: string | null | undefined): string | null;
6
6
  export declare function formatDateTime(value: string | null): string;
7
- export declare function productNameById(products: ProductOption[], productId: string): string;
7
+ export declare function productNameById(products: ProductOption[], productId: string, productName?: string | null): string;
8
8
  export declare function formatSelectionLabel(count: number, singular: string, plural?: string): string;
9
9
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAG9D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAG9D;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,UAGpE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAG7D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,UAElD;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,SAAS,EAAE,MAAM,UAE3E;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAiB,UAE5F"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAG9D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAG9D;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,UAGpE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAG7D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,UAElD;AAED,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,aAAa,EAAE,EACzB,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,UAI5B;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAiB,UAE5F"}
package/dist/utils.js CHANGED
@@ -19,7 +19,9 @@ export function toIsoDateTime(value) {
19
19
  export function formatDateTime(value) {
20
20
  return value ? value.replace("T", " ").slice(0, 16) : "-";
21
21
  }
22
- export function productNameById(products, productId) {
22
+ export function productNameById(products, productId, productName) {
23
+ if (productName)
24
+ return productName;
23
25
  return products.find((product) => product.id === productId)?.name ?? productId;
24
26
  }
25
27
  export function formatSelectionLabel(count, singular, plural = `${singular}s`) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/availability-react",
3
- "version": "0.4.5",
3
+ "version": "0.6.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "react": "^19.0.0",
36
36
  "react-dom": "^19.0.0",
37
37
  "zod": "^4.0.0",
38
- "@voyantjs/availability": "0.4.5"
38
+ "@voyantjs/availability": "0.6.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@tanstack/react-query": "^5.96.2",
@@ -46,12 +46,12 @@
46
46
  "typescript": "^6.0.2",
47
47
  "vitest": "^4.1.2",
48
48
  "zod": "^4.3.6",
49
- "@voyantjs/availability": "0.4.5",
50
- "@voyantjs/react": "0.4.5",
49
+ "@voyantjs/availability": "0.6.0",
50
+ "@voyantjs/react": "0.6.0",
51
51
  "@voyantjs/voyant-typescript-config": "0.1.0"
52
52
  },
53
53
  "dependencies": {
54
- "@voyantjs/react": "0.4.5"
54
+ "@voyantjs/react": "0.6.0"
55
55
  },
56
56
  "files": [
57
57
  "dist"