@wix/auto_sdk_restaurants_fulfillment-methods 1.0.5 → 1.0.7

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 (29) hide show
  1. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +2 -2
  2. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +2 -2
  3. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +215 -49
  4. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +1 -1
  5. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts +249 -58
  6. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +2 -2
  7. package/build/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +1 -1
  8. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +2 -2
  9. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +2 -2
  10. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +215 -49
  11. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +1 -1
  12. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts +249 -58
  13. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +2 -2
  14. package/build/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +1 -1
  15. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +2 -2
  16. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +2 -2
  17. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +215 -49
  18. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +1 -1
  19. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts +249 -58
  20. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +2 -2
  21. package/build/internal/cjs/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +1 -1
  22. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.d.ts +2 -2
  23. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.http.js +2 -2
  24. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.d.ts +215 -49
  25. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.types.js.map +1 -1
  26. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.d.ts +249 -58
  27. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js +2 -2
  28. package/build/internal/es/src/restaurants-v1-fulfillment-method-fulfillment-methods.universal.js.map +1 -1
  29. package/package.json +2 -2
@@ -44,14 +44,14 @@ export declare function listFulfillmentMethods(payload: object): RequestOptionsF
44
44
  export declare function listAvailableFulfillmentMethodsForAddress(payload: object): RequestOptionsFactory<any>;
45
45
  /**
46
46
  * Retrieves the accumulated availability of all fulfillment methods.
47
- * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.fulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2024-09-29.
47
+ * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.FulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2024-09-29.
48
48
  */
49
49
  export declare function getAccumulatedFulfillmentMethodsAvailability(payload: object): RequestOptionsFactory<any>;
50
50
  /**
51
51
  * Retrieves the combined availability of a list of fulfillment methods.
52
52
  *
53
53
  * The combined availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
54
- * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.fulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2025-02-10.
54
+ * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.FulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2025-02-10.
55
55
  */
56
56
  export declare function getCombinedMethodAvailability(payload: object): RequestOptionsFactory<any>;
57
57
  /**
@@ -534,7 +534,7 @@ function listAvailableFulfillmentMethodsForAddress(payload) {
534
534
  exports.listAvailableFulfillmentMethodsForAddress = listAvailableFulfillmentMethodsForAddress;
535
535
  /**
536
536
  * Retrieves the accumulated availability of all fulfillment methods.
537
- * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.fulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2024-09-29.
537
+ * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.FulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2024-09-29.
538
538
  */
539
539
  function getAccumulatedFulfillmentMethodsAvailability(payload) {
540
540
  function __getAccumulatedFulfillmentMethodsAvailability({ host }) {
@@ -559,7 +559,7 @@ exports.getAccumulatedFulfillmentMethodsAvailability = getAccumulatedFulfillment
559
559
  * Retrieves the combined availability of a list of fulfillment methods.
560
560
  *
561
561
  * The combined availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
562
- * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.fulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2025-02-10.
562
+ * @deprecated It has been replaced with wix.restaurants.fulfillment.v1.FulfillmentMethodsService.GetAggregatedMethodAvailability(), and will be removed on 2025-02-10.
563
563
  */
564
564
  function getCombinedMethodAvailability(payload) {
565
565
  function __getCombinedMethodAvailability({ host }) {
@@ -6,6 +6,7 @@ export interface FulfillmentMethod extends FulfillmentMethodMethodOptionsOneOf {
6
6
  deliveryOptions?: DeliveryInfo;
7
7
  /**
8
8
  * Fulfillment method ID.
9
+ * @format GUID
9
10
  * @readonly
10
11
  */
11
12
  id?: string | null;
@@ -26,15 +27,25 @@ export interface FulfillmentMethod extends FulfillmentMethodMethodOptionsOneOf {
26
27
  updatedDate?: Date | null;
27
28
  /** Type of fulfillment method. */
28
29
  type?: FulfillmentMethodType;
29
- /** Fulfillment method name. */
30
+ /**
31
+ * Fulfillment method name.
32
+ * @minLength 1
33
+ * @maxLength 30
34
+ */
30
35
  name?: string | null;
31
36
  /** Whether the fulfillment method is enabled. */
32
37
  enabled?: boolean | null;
33
- /** Fee for using this fulfillment method. */
38
+ /**
39
+ * Fee for using this fulfillment method.
40
+ * @decimalValue options { maxScale:3 }
41
+ */
34
42
  fee?: string | null;
35
43
  /** Availability of this fulfillment method. */
36
44
  availability?: Availability;
37
- /** Minimum order price to qualify for using this fulfillment method. */
45
+ /**
46
+ * Minimum order price to qualify for using this fulfillment method.
47
+ * @decimalValue options { maxScale:3 }
48
+ */
38
49
  minOrderPrice?: string | null;
39
50
  }
40
51
  /** @oneof */
@@ -53,7 +64,10 @@ export declare enum FulfillmentMethodType {
53
64
  DELIVERY = "DELIVERY"
54
65
  }
55
66
  export interface PickupInfo {
56
- /** Instructions for the pickup. */
67
+ /**
68
+ * Instructions for the pickup.
69
+ * @maxLength 250
70
+ */
57
71
  instructions?: string | null;
58
72
  /**
59
73
  * Pickup address.
@@ -69,7 +83,10 @@ export interface CommonAddress extends CommonAddressStreetOneOf {
69
83
  streetAddress?: StreetAddress;
70
84
  /** Main address line, usually street and number as free text. */
71
85
  addressLine?: string | null;
72
- /** Country code. */
86
+ /**
87
+ * Country code.
88
+ * @format COUNTRY
89
+ */
73
90
  country?: string | null;
74
91
  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
75
92
  subdivision?: string | null;
@@ -126,16 +143,21 @@ export interface DeliveryInfo {
126
143
  /**
127
144
  * Threshold for offering free delivery.
128
145
  * If the order price exceeds this threshold, the delivery fee is waived.
146
+ * @decimalValue options { maxScale:3 }
129
147
  */
130
148
  freeDeliveryThreshold?: string | null;
131
149
  /** Delivery area supported by this delivery fulfillment method. */
132
150
  deliveryArea?: DeliveryArea;
133
151
  /**
134
152
  * Delivery provider app id.
153
+ * @format GUID
135
154
  * @readonly
136
155
  */
137
156
  deliveryProviderAppId?: string | null;
138
- /** Pickup instructions for couriers. */
157
+ /**
158
+ * Pickup instructions for couriers.
159
+ * @maxLength 250
160
+ */
139
161
  courierPickupInstructions?: string | null;
140
162
  }
141
163
  export interface DeliveryArea extends DeliveryAreaAreaOptionsOneOf {
@@ -175,6 +197,7 @@ export interface Radius {
175
197
  * The unit of the radius is specified in the `unit` field.
176
198
  * __Deprecated.__ Use `maxDistance` instead.
177
199
  * This property will be removed on {{Feb 18}}, {{2025}}.
200
+ * @decimalValue options { gte:0, lte:10000 }
178
201
  * @deprecated
179
202
  * @replacedBy max_distance
180
203
  * @targetRemovalDate 2025-02-18
@@ -183,11 +206,13 @@ export interface Radius {
183
206
  /**
184
207
  * Minimum distance value.
185
208
  * The unit of the radius is specified in the `unit` field.
209
+ * @decimalValue options { gte:0, lte:10000, maxScale:3 }
186
210
  */
187
211
  minDistance?: string | null;
188
212
  /**
189
213
  * Maximum distance value.
190
214
  * The unit of the radius is specified in the `unit` field.
215
+ * @decimalValue options { gte:0, lte:10000, maxScale:3 }
191
216
  */
192
217
  maxDistance?: string | null;
193
218
  /**
@@ -209,6 +234,7 @@ export declare enum Unit {
209
234
  export interface PostalCode {
210
235
  /**
211
236
  * Country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
237
+ * @format COUNTRY
212
238
  * @readonly
213
239
  */
214
240
  countryCode?: string | null;
@@ -216,6 +242,9 @@ export interface PostalCode {
216
242
  * List of postal codes and postal code regexes. For example, `10001`, `10002` or `1000*`.
217
243
  * A postal code regex will enable you to define a range of postal codes using an asterisk (*).
218
244
  * For example, to include the postal codes in the range of `10001`-`10009`, use `1000*`.
245
+ * @maxLength 20
246
+ * @minLength 1
247
+ * @maxSize 100
219
248
  */
220
249
  postalCodes?: string[] | null;
221
250
  }
@@ -347,9 +376,15 @@ export interface ActionEvent {
347
376
  bodyAsJson?: string;
348
377
  }
349
378
  export interface MessageEnvelope {
350
- /** App instance ID. */
379
+ /**
380
+ * App instance ID.
381
+ * @format GUID
382
+ */
351
383
  instanceId?: string | null;
352
- /** Event type. */
384
+ /**
385
+ * Event type.
386
+ * @maxLength 150
387
+ */
353
388
  eventType?: string;
354
389
  /** The identification type and identity data. */
355
390
  identity?: IdentificationData;
@@ -357,26 +392,50 @@ export interface MessageEnvelope {
357
392
  data?: string;
358
393
  }
359
394
  export interface IdentificationData extends IdentificationDataIdOneOf {
360
- /** ID of a site visitor that has not logged in to the site. */
395
+ /**
396
+ * ID of a site visitor that has not logged in to the site.
397
+ * @format GUID
398
+ */
361
399
  anonymousVisitorId?: string;
362
- /** ID of a site visitor that has logged in to the site. */
400
+ /**
401
+ * ID of a site visitor that has logged in to the site.
402
+ * @format GUID
403
+ */
363
404
  memberId?: string;
364
- /** ID of a Wix user (site owner, contributor, etc.). */
405
+ /**
406
+ * ID of a Wix user (site owner, contributor, etc.).
407
+ * @format GUID
408
+ */
365
409
  wixUserId?: string;
366
- /** ID of an app. */
410
+ /**
411
+ * ID of an app.
412
+ * @format GUID
413
+ */
367
414
  appId?: string;
368
415
  /** @readonly */
369
416
  identityType?: WebhookIdentityType;
370
417
  }
371
418
  /** @oneof */
372
419
  export interface IdentificationDataIdOneOf {
373
- /** ID of a site visitor that has not logged in to the site. */
420
+ /**
421
+ * ID of a site visitor that has not logged in to the site.
422
+ * @format GUID
423
+ */
374
424
  anonymousVisitorId?: string;
375
- /** ID of a site visitor that has logged in to the site. */
425
+ /**
426
+ * ID of a site visitor that has logged in to the site.
427
+ * @format GUID
428
+ */
376
429
  memberId?: string;
377
- /** ID of a Wix user (site owner, contributor, etc.). */
430
+ /**
431
+ * ID of a Wix user (site owner, contributor, etc.).
432
+ * @format GUID
433
+ */
378
434
  wixUserId?: string;
379
- /** ID of an app. */
435
+ /**
436
+ * ID of an app.
437
+ * @format GUID
438
+ */
380
439
  appId?: string;
381
440
  }
382
441
  export declare enum WebhookIdentityType {
@@ -387,9 +446,15 @@ export declare enum WebhookIdentityType {
387
446
  APP = "APP"
388
447
  }
389
448
  export interface InvalidateCache extends InvalidateCacheGetByOneOf {
390
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
449
+ /**
450
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
451
+ * @format GUID
452
+ */
391
453
  metaSiteId?: string;
392
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
454
+ /**
455
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
456
+ * @format GUID
457
+ */
393
458
  siteId?: string;
394
459
  /** Invalidate by App */
395
460
  app?: App;
@@ -399,7 +464,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
399
464
  uri?: URI;
400
465
  /** Invalidate by file (for media files such as PDFs) */
401
466
  file?: File;
402
- /** tell us why you're invalidating the cache. You don't need to add your app name */
467
+ /**
468
+ * tell us why you're invalidating the cache. You don't need to add your app name
469
+ * @maxLength 256
470
+ */
403
471
  reason?: string | null;
404
472
  /** Is local DS */
405
473
  localDc?: boolean;
@@ -407,9 +475,15 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
407
475
  }
408
476
  /** @oneof */
409
477
  export interface InvalidateCacheGetByOneOf {
410
- /** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
478
+ /**
479
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
480
+ * @format GUID
481
+ */
411
482
  metaSiteId?: string;
412
- /** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
483
+ /**
484
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
485
+ * @format GUID
486
+ */
413
487
  siteId?: string;
414
488
  /** Invalidate by App */
415
489
  app?: App;
@@ -421,27 +495,52 @@ export interface InvalidateCacheGetByOneOf {
421
495
  file?: File;
422
496
  }
423
497
  export interface App {
424
- /** The AppDefId */
498
+ /**
499
+ * The AppDefId
500
+ * @minLength 1
501
+ */
425
502
  appDefId?: string;
426
- /** The instance Id */
503
+ /**
504
+ * The instance Id
505
+ * @format GUID
506
+ */
427
507
  instanceId?: string;
428
508
  }
429
509
  export interface Page {
430
- /** the msid the page is on */
510
+ /**
511
+ * the msid the page is on
512
+ * @format GUID
513
+ */
431
514
  metaSiteId?: string;
432
- /** Invalidate by Page ID */
515
+ /**
516
+ * Invalidate by Page ID
517
+ * @minLength 1
518
+ */
433
519
  pageId?: string;
434
520
  }
435
521
  export interface URI {
436
- /** the msid the URI is on */
522
+ /**
523
+ * the msid the URI is on
524
+ * @format GUID
525
+ */
437
526
  metaSiteId?: string;
438
- /** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
527
+ /**
528
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
529
+ * @minLength 1
530
+ */
439
531
  uriPath?: string;
440
532
  }
441
533
  export interface File {
442
- /** the msid the file is related to */
534
+ /**
535
+ * the msid the file is related to
536
+ * @format GUID
537
+ */
443
538
  metaSiteId?: string;
444
- /** Invalidate by filename (for media files such as PDFs) */
539
+ /**
540
+ * Invalidate by filename (for media files such as PDFs)
541
+ * @minLength 1
542
+ * @maxLength 256
543
+ */
445
544
  fileName?: string;
446
545
  }
447
546
  export interface CreateFulfillmentMethodRequest {
@@ -453,7 +552,10 @@ export interface CreateFulfillmentMethodResponse {
453
552
  fulfillmentMethod?: FulfillmentMethod;
454
553
  }
455
554
  export interface BulkCreateFulfillmentMethodsRequest {
456
- /** Fulfillment methods to create. */
555
+ /**
556
+ * Fulfillment methods to create.
557
+ * @maxSize 100
558
+ */
457
559
  fulfillmentMethods?: FulfillmentMethod[];
458
560
  /** If true, the created entities will be returned. */
459
561
  returnEntity?: boolean;
@@ -497,7 +599,10 @@ export interface BulkActionMetadata {
497
599
  undetailedFailures?: number;
498
600
  }
499
601
  export interface GetFulfillmentMethodRequest {
500
- /** The ID of the fulfillment method to retrieve. */
602
+ /**
603
+ * The ID of the fulfillment method to retrieve.
604
+ * @format GUID
605
+ */
501
606
  fulfillmentMethodId: string;
502
607
  }
503
608
  export interface GetFulfillmentMethodResponse {
@@ -516,7 +621,10 @@ export interface UpdateFulfillmentMethodResponse {
516
621
  fulfillmentMethod?: FulfillmentMethod;
517
622
  }
518
623
  export interface DeleteFulfillmentMethodRequest {
519
- /** The ID of the fulfillment method to delete. */
624
+ /**
625
+ * The ID of the fulfillment method to delete.
626
+ * @format GUID
627
+ */
520
628
  fulfillmentMethodId: string;
521
629
  }
522
630
  export interface DeleteFulfillmentMethodResponse {
@@ -540,6 +648,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
540
648
  /**
541
649
  * Sort object in the following format:
542
650
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
651
+ * @maxSize 4
543
652
  */
544
653
  sort?: Sorting[];
545
654
  }
@@ -549,7 +658,10 @@ export interface CursorQueryPagingMethodOneOf {
549
658
  cursorPaging?: CursorPaging;
550
659
  }
551
660
  export interface Sorting {
552
- /** Name of the field to sort by. */
661
+ /**
662
+ * Name of the field to sort by.
663
+ * @maxLength 64
664
+ */
553
665
  fieldName?: string;
554
666
  /** Sort order. */
555
667
  order?: SortOrder;
@@ -559,13 +671,17 @@ export declare enum SortOrder {
559
671
  DESC = "DESC"
560
672
  }
561
673
  export interface CursorPaging {
562
- /** Maximum number of items to return in the results. */
674
+ /**
675
+ * Maximum number of items to return in the results.
676
+ * @max 100
677
+ */
563
678
  limit?: number | null;
564
679
  /**
565
680
  * Pointer to the next or previous page in the list of results.
566
681
  *
567
682
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
568
683
  * Not relevant for the first request.
684
+ * @maxLength 16000
569
685
  */
570
686
  cursor?: string | null;
571
687
  }
@@ -589,9 +705,15 @@ export interface CursorPagingMetadata {
589
705
  hasNext?: boolean | null;
590
706
  }
591
707
  export interface Cursors {
592
- /** Cursor string pointing to the next page in the list of results. */
708
+ /**
709
+ * Cursor string pointing to the next page in the list of results.
710
+ * @maxLength 16000
711
+ */
593
712
  next?: string | null;
594
- /** Cursor pointing to the previous page in the list of results. */
713
+ /**
714
+ * Cursor pointing to the previous page in the list of results.
715
+ * @maxLength 16000
716
+ */
595
717
  prev?: string | null;
596
718
  }
597
719
  export interface ListFulfillmentMethodsRequest {
@@ -609,7 +731,11 @@ export interface ListAvailableFulfillmentMethodsForAddressRequest {
609
731
  address?: CommonAddress;
610
732
  /** Cursor paging */
611
733
  cursorPaging?: CursorPaging;
612
- /** If provided, only fulfillment methods with the given IDs will be returned. */
734
+ /**
735
+ * If provided, only fulfillment methods with the given IDs will be returned.
736
+ * @format GUID
737
+ * @maxSize 500
738
+ */
613
739
  fulfillmentMethodIds?: string[];
614
740
  }
615
741
  export interface ListAvailableFulfillmentMethodsForAddressResponse {
@@ -619,7 +745,11 @@ export interface ListAvailableFulfillmentMethodsForAddressResponse {
619
745
  pagingMetadata?: CursorPagingMetadata;
620
746
  }
621
747
  export interface ListActiveFulfillmentMethodsRequest {
622
- /** Only fulfillment methods with the given IDs will be returned. */
748
+ /**
749
+ * Only fulfillment methods with the given IDs will be returned.
750
+ * @format GUID
751
+ * @maxSize 500
752
+ */
623
753
  fulfillmentMethodIds?: string[];
624
754
  /** Cursor paging */
625
755
  cursorPaging?: CursorPaging;
@@ -631,7 +761,11 @@ export interface ListActiveFulfillmentMethodsResponse {
631
761
  pagingMetadata?: CursorPagingMetadata;
632
762
  }
633
763
  export interface GetAccumulatedFulfillmentMethodsAvailabilityRequest {
634
- /** fulfillment method ids to check availability for. */
764
+ /**
765
+ * fulfillment method ids to check availability for.
766
+ * @format GUID
767
+ * @maxSize 500
768
+ */
635
769
  fulfillmentMethodIds?: string[];
636
770
  }
637
771
  export interface GetAccumulatedFulfillmentMethodsAvailabilityResponse {
@@ -641,23 +775,37 @@ export interface GetAccumulatedFulfillmentMethodsAvailabilityResponse {
641
775
  types?: FulfillmentMethodType[];
642
776
  }
643
777
  export interface GetCombinedMethodAvailabilityRequest {
644
- /** IDs of fulfillment methods used to determine the combined availability. */
778
+ /**
779
+ * IDs of fulfillment methods used to determine the combined availability.
780
+ * @format GUID
781
+ * @maxSize 500
782
+ */
645
783
  fulfillmentMethodIds: string[];
646
784
  }
647
785
  export interface GetCombinedMethodAvailabilityResponse {
648
786
  /** The combined availability of the given fulfillment methods. */
649
787
  combinedAvailability?: Availability;
650
- /** Types of fulfillment methods available during at least some the combined availability's `availableTimes`. */
788
+ /**
789
+ * Types of fulfillment methods available during at least some the combined availability's `availableTimes`.
790
+ * @maxSize 100
791
+ */
651
792
  fulfillmentTypes?: FulfillmentMethodType[];
652
793
  }
653
794
  export interface GetAggregatedMethodAvailabilityRequest {
654
- /** IDs of fulfillment methods used to determine the aggregated availability. */
795
+ /**
796
+ * IDs of fulfillment methods used to determine the aggregated availability.
797
+ * @format GUID
798
+ * @maxSize 500
799
+ */
655
800
  fulfillmentMethodIds: string[];
656
801
  }
657
802
  export interface GetAggregatedMethodAvailabilityResponse {
658
803
  /** The aggregated availability of the given fulfillment methods. */
659
804
  aggregatedAvailability?: Availability;
660
- /** Types of fulfillment methods available during at least some the aggregated availability's `availableTimes`. */
805
+ /**
806
+ * Types of fulfillment methods available during at least some the aggregated availability's `availableTimes`.
807
+ * @maxSize 100
808
+ */
661
809
  fulfillmentTypes?: FulfillmentMethodType[];
662
810
  }
663
811
  /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
@@ -666,7 +814,10 @@ export interface SitePropertiesNotification {
666
814
  metasiteId?: string;
667
815
  /** The actual update event. */
668
816
  event?: SitePropertiesEvent;
669
- /** A convenience set of mappings from the MetaSite ID to its constituent services. */
817
+ /**
818
+ * A convenience set of mappings from the MetaSite ID to its constituent services.
819
+ * @maxSize 500
820
+ */
670
821
  translations?: Translation[];
671
822
  /** Context of the notification */
672
823
  changeContext?: ChangeContext;
@@ -739,7 +890,10 @@ export interface Properties {
739
890
  export interface Categories {
740
891
  /** Primary site category. */
741
892
  primary?: string;
742
- /** Secondary site category. */
893
+ /**
894
+ * Secondary site category.
895
+ * @maxSize 50
896
+ */
743
897
  secondary?: string[];
744
898
  /** Business Term Id */
745
899
  businessTermId?: string | null;
@@ -759,7 +913,10 @@ export interface Address {
759
913
  country?: string;
760
914
  /** State. */
761
915
  state?: string;
762
- /** Zip or postal code. */
916
+ /**
917
+ * Zip or postal code.
918
+ * @maxLength 20
919
+ */
763
920
  zip?: string;
764
921
  /** Extra information to be displayed in the address. */
765
922
  hint?: AddressHint;
@@ -800,9 +957,15 @@ export interface GeoCoordinates {
800
957
  }
801
958
  /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
802
959
  export interface BusinessSchedule {
803
- /** Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods. */
960
+ /**
961
+ * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
962
+ * @maxSize 100
963
+ */
804
964
  periods?: TimePeriod[];
805
- /** Exceptions to the business's regular hours. The business can be open or closed during the exception. */
965
+ /**
966
+ * Exceptions to the business's regular hours. The business can be open or closed during the exception.
967
+ * @maxSize 100
968
+ */
806
969
  specialHourPeriod?: SpecialHourPeriod[];
807
970
  }
808
971
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
@@ -850,7 +1013,10 @@ export interface SpecialHourPeriod {
850
1013
  comment?: string;
851
1014
  }
852
1015
  export interface Multilingual {
853
- /** Supported languages list. */
1016
+ /**
1017
+ * Supported languages list.
1018
+ * @maxSize 200
1019
+ */
854
1020
  supportedLanguages?: SupportedLanguage[];
855
1021
  /** Whether to redirect to user language. */
856
1022
  autoRedirect?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"restaurants-v1-fulfillment-method-fulfillment-methods.types.js","sourceRoot":"","sources":["../../../src/restaurants-v1-fulfillment-method-fulfillment-methods.types.ts"],"names":[],"mappings":";;;AAgDA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,gCAAgC;IAChC,8EAAqD,CAAA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AmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAiMD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA4PD,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAsCD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAsCD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"restaurants-v1-fulfillment-method-fulfillment-methods.types.js","sourceRoot":"","sources":["../../../src/restaurants-v1-fulfillment-method-fulfillment-methods.types.ts"],"names":[],"mappings":";;;AA2DA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,gCAAgC;IAChC,8EAAqD,CAAA;IACrD,+DAA+D;IAC/D,0CAAiB,CAAA;IACjB,sGAAsG;IACtG,8CAAqB,CAAA;AACvB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAmED,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAA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