@wix/auto_sdk_bookings_pricing 1.0.1 → 1.0.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info-pricing.universal.js","sourceRoot":"","sources":["../../../../src/bookings-v2-price-info-pricing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2GAA6F;AA6R7F;;;;;GAKG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kEAAuC,CAAA;AACzC,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;AA6HD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA6ID,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,iBAAiB;IACjB,oCAAuB,CAAA;IACvB,sGAAsG;IACtG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB;AAED,sBAAsB;AACtB,IAAY,aAoCX;AApCD,WAAY,aAAa;IACvB;;;OAGG;IACH,oCAAmB,CAAA;IACnB;;;;;OAKG;IACH,wCAAuB,CAAA;IACvB;;;;;;OAMG;IACH,sCAAqB,CAAA;IACrB;;;OAGG;IACH,oCAAmB,CAAA;IACnB,6EAA6E;IAC7E,sCAAqB,CAAA;IACrB;;;;;;OAMG;IACH,8CAA6B,CAAA;AAC/B,CAAC,EApCW,aAAa,6BAAb,aAAa,QAoCxB;AAED;;;GAGG;AACH,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,gCAAgC;IAChC,wCAAuB,CAAA;IAC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,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;YAC7C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjCD,wCAiCC"}
1
+ {"version":3,"file":"bookings-v2-price-info-pricing.universal.js","sourceRoot":"","sources":["../../../../src/bookings-v2-price-info-pricing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,2GAA6F;AAwT7F;;;;;GAKG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kEAAuC,CAAA;AACzC,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;AAgJD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA6JD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,iBAAiB;IACjB,oCAAuB,CAAA;IACvB,sGAAsG;IACtG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB;AAED,sBAAsB;AACtB,IAAY,aAoCX;AApCD,WAAY,aAAa;IACvB;;;OAGG;IACH,oCAAmB,CAAA;I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AG,IAAA,8DAAqC,EAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IAE5E,MAAM,OAAO,GAAG,gCAAgC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;YAC7C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAjCD,wCAiCC"}
@@ -24,7 +24,10 @@ export interface PriceInfo extends PriceInfoTotalPriceOneOf {
24
24
  * rateType is CUSTOM
25
25
  */
26
26
  priceDescriptionInfo?: PriceDescriptionInfo;
27
- /** List of line items, including the number of participants and the price per participant. */
27
+ /**
28
+ * List of line items, including the number of participants and the price per participant.
29
+ * @maxSize 20
30
+ */
28
31
  bookingLineItems?: BookingLineItem[];
29
32
  /**
30
33
  * Total deposit the customer must pay when booking the service.
@@ -69,9 +72,13 @@ export interface BookingLineItem {
69
72
  *
70
73
  * Optional when using custom pricing logic defined with the
71
74
  * [Bookings Pricing Integration SPI](https://dev.wix.com/api/rest/wix-bookings/pricing-provider).
75
+ * @format GUID
72
76
  */
73
77
  serviceId?: string | null;
74
- /** Resource ID. Required for services of type appointment or class. */
78
+ /**
79
+ * Resource ID. Required for services of type appointment or class.
80
+ * @format GUID
81
+ */
75
82
  resourceId?: string | null;
76
83
  /**
77
84
  * Custom choices. Choices are specific values for an option the customer can choose to book.
@@ -79,7 +86,10 @@ export interface BookingLineItem {
79
86
  * Each choice may have a different price.
80
87
  */
81
88
  choices?: ServiceChoice[];
82
- /** Number of participants for the line item. */
89
+ /**
90
+ * Number of participants for the line item.
91
+ * @min 1
92
+ */
83
93
  numberOfParticipants?: number | null;
84
94
  /**
85
95
  * Price per participant for the line item.
@@ -100,6 +110,7 @@ export interface ServiceChoice extends ServiceChoiceChoiceOneOf {
100
110
  * ID of the corresponding option for the choice. For example, the choice `child`
101
111
  * could correspond to the option `ageGroup`. In this case, `optionId` is the ID
102
112
  * for the `ageGroup` option.
113
+ * @format GUID
103
114
  */
104
115
  optionId?: string;
105
116
  }
@@ -118,22 +129,35 @@ export interface Duration {
118
129
  /**
119
130
  * Duration of the service in minutes.
120
131
  * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
132
+ * @min 1
133
+ * @max 44639
121
134
  */
122
135
  minutes?: number;
123
136
  /**
124
137
  * Name of the duration option.
125
138
  * Defaults to the formatted duration e.g. "1 hour, 30 minutes".
139
+ * @maxLength 255
126
140
  */
127
141
  name?: string | null;
128
142
  }
129
143
  export interface PriceDescriptionInfo {
130
- /** The price description in the main site language */
144
+ /**
145
+ * The price description in the main site language
146
+ * @maxLength 50
147
+ */
131
148
  original?: string;
132
- /** The translated price description in case the booking was made in a secondary language */
149
+ /**
150
+ * The translated price description in case the booking was made in a secondary language
151
+ * @maxLength 50
152
+ */
133
153
  translated?: string | null;
134
154
  }
135
155
  export interface PreviewPriceRequest {
136
- /** List of line items to preview the price for. */
156
+ /**
157
+ * List of line items to preview the price for.
158
+ * @minSize 1
159
+ * @maxSize 20
160
+ */
137
161
  bookingLineItems: BookingLineItem[];
138
162
  }
139
163
  export interface PreviewPriceResponse {
@@ -150,6 +174,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
150
174
  * Total number of participants. Available only when the relevant service
151
175
  * doesn't have _variants and options_
152
176
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
177
+ * @min 1
153
178
  */
154
179
  totalParticipants?: number;
155
180
  /**
@@ -160,6 +185,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
160
185
  participantsChoices?: ParticipantChoices;
161
186
  /**
162
187
  * Booking ID.
188
+ * @format GUID
163
189
  * @readonly
164
190
  */
165
191
  id?: string | null;
@@ -258,6 +284,7 @@ export interface BookingParticipantsInfoOneOf {
258
284
  * Total number of participants. Available only when the relevant service
259
285
  * doesn't have _variants and options_
260
286
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
287
+ * @min 1
261
288
  */
262
289
  totalParticipants?: number;
263
290
  /**
@@ -297,6 +324,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
297
324
  * Session title at the time of booking. If there is no pre-existing session,
298
325
  * for example for appointment-based services, `title` is set to the service name.
299
326
  * @readonly
327
+ * @maxLength 6000
300
328
  */
301
329
  title?: string | null;
302
330
  /**
@@ -339,6 +367,8 @@ export interface BookedSlot {
339
367
  * For appointment-based services, Wix Bookings automatically populates `eventId`
340
368
  * when the booking `status` changes to `CONFIRMED`. For class bookings, it's
341
369
  * automatically populated upon booking creation.
370
+ * @minLength 36
371
+ * @maxLength 250
342
372
  */
343
373
  eventId?: string | null;
344
374
  /**
@@ -366,26 +396,42 @@ export interface BookedSlot {
366
396
  location?: Location;
367
397
  }
368
398
  export interface BookedResource {
369
- /** ID of the booking's primary resource. */
399
+ /**
400
+ * ID of the booking's primary resource.
401
+ * @format GUID
402
+ */
370
403
  id?: string;
371
- /** Resource's name at the time of booking. */
404
+ /**
405
+ * Resource's name at the time of booking.
406
+ * @maxLength 40
407
+ */
372
408
  name?: string | null;
373
- /** Resource's email at the time of booking. */
409
+ /**
410
+ * Resource's email at the time of booking.
411
+ * @maxLength 500
412
+ */
374
413
  email?: string | null;
375
- /** ID of the schedule belonging to the booking's primary resource. */
414
+ /**
415
+ * ID of the schedule belonging to the booking's primary resource.
416
+ * @format GUID
417
+ */
376
418
  scheduleId?: string | null;
377
419
  }
378
420
  export interface Location {
379
421
  /**
380
422
  * Business location ID. Available only for locations that are business locations,
381
423
  * meaning the `location_type` is `"OWNER_BUSINESS"`.
424
+ * @format GUID
382
425
  */
383
426
  id?: string | null;
384
427
  /** Location name. */
385
428
  name?: string | null;
386
429
  /** The full address of this location. */
387
430
  formattedAddress?: string | null;
388
- /** The full translated address of this location. */
431
+ /**
432
+ * The full translated address of this location.
433
+ * @maxLength 512
434
+ */
389
435
  formattedAddressTranslated?: string | null;
390
436
  /**
391
437
  * Location type.
@@ -408,7 +454,10 @@ export interface BookedSchedule {
408
454
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
409
455
  */
410
456
  scheduleId?: string;
411
- /** Booked service ID. */
457
+ /**
458
+ * Booked service ID.
459
+ * @format GUID
460
+ */
412
461
  serviceId?: string | null;
413
462
  /**
414
463
  * _Location_
@@ -436,7 +485,10 @@ export interface BookedSchedule {
436
485
  lastSessionEnd?: string | null;
437
486
  }
438
487
  export interface ContactDetails {
439
- /** Contact ID. */
488
+ /**
489
+ * Contact ID.
490
+ * @format GUID
491
+ */
440
492
  contactId?: string | null;
441
493
  /**
442
494
  * Contact's first name. When populated from a standard booking form, this
@@ -451,6 +503,7 @@ export interface ContactDetails {
451
503
  * Used to validate coupon usage limitations per contact. If not specified,
452
504
  * the coupon usage limitation will not be enforced. (Coupon usage limitation
453
505
  * validation is not supported yet).
506
+ * @format EMAIL
454
507
  */
455
508
  email?: string | null;
456
509
  /** Contact's phone number. */
@@ -465,6 +518,7 @@ export interface ContactDetails {
465
518
  /**
466
519
  * Contact's country in [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
467
520
  * format.
521
+ * @format COUNTRY
468
522
  */
469
523
  countryCode?: string | null;
470
524
  }
@@ -474,7 +528,10 @@ export interface Address extends AddressStreetOneOf {
474
528
  streetAddress?: StreetAddress;
475
529
  /** Main address line, usually street and number, as free text. */
476
530
  addressLine?: string | null;
477
- /** Country code. */
531
+ /**
532
+ * Country code.
533
+ * @format COUNTRY
534
+ */
478
535
  country?: string | null;
479
536
  /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
480
537
  subdivision?: string | null;
@@ -523,7 +580,10 @@ export interface Subdivision {
523
580
  name?: string;
524
581
  }
525
582
  export interface CustomFormField {
526
- /** ID of the form field as defined in the form. */
583
+ /**
584
+ * ID of the form field as defined in the form.
585
+ * @format GUID
586
+ */
527
587
  id?: string;
528
588
  /** Value that was submitted for this field. */
529
589
  value?: string | null;
@@ -627,6 +687,7 @@ export interface BookingSource {
627
687
  actor?: Actor;
628
688
  /**
629
689
  * Wix site ID of the application that created the booking.
690
+ * @format GUID
630
691
  * @readonly
631
692
  */
632
693
  appDefId?: string | null;
@@ -657,26 +718,53 @@ export interface ParticipantNotification {
657
718
  message?: string | null;
658
719
  }
659
720
  export interface IdentificationData extends IdentificationDataIdOneOf {
660
- /** ID of a site visitor that has not logged in to the site. */
721
+ /**
722
+ * ID of a site visitor that has not logged in to the site.
723
+ * @format GUID
724
+ */
661
725
  anonymousVisitorId?: string;
662
- /** ID of a site visitor that has logged in to the site. */
726
+ /**
727
+ * ID of a site visitor that has logged in to the site.
728
+ * @format GUID
729
+ */
663
730
  memberId?: string;
664
- /** ID of a Wix user (site owner, contributor, etc.). */
731
+ /**
732
+ * ID of a Wix user (site owner, contributor, etc.).
733
+ * @format GUID
734
+ */
665
735
  wixUserId?: string;
666
- /** ID of an app. */
736
+ /**
737
+ * ID of an app.
738
+ * @format GUID
739
+ */
667
740
  appId?: string;
668
- /** ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. */
741
+ /**
742
+ * ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
743
+ * @format GUID
744
+ */
669
745
  contactId?: string | null;
670
746
  }
671
747
  /** @oneof */
672
748
  export interface IdentificationDataIdOneOf {
673
- /** ID of a site visitor that has not logged in to the site. */
749
+ /**
750
+ * ID of a site visitor that has not logged in to the site.
751
+ * @format GUID
752
+ */
674
753
  anonymousVisitorId?: string;
675
- /** ID of a site visitor that has logged in to the site. */
754
+ /**
755
+ * ID of a site visitor that has logged in to the site.
756
+ * @format GUID
757
+ */
676
758
  memberId?: string;
677
- /** ID of a Wix user (site owner, contributor, etc.). */
759
+ /**
760
+ * ID of a Wix user (site owner, contributor, etc.).
761
+ * @format GUID
762
+ */
678
763
  wixUserId?: string;
679
- /** ID of an app. */
764
+ /**
765
+ * ID of an app.
766
+ * @format GUID
767
+ */
680
768
  appId?: string;
681
769
  }
682
770
  export declare enum IdentityType {
@@ -720,21 +808,30 @@ export interface ExtendedFields {
720
808
  namespaces?: Record<string, Record<string, any>>;
721
809
  }
722
810
  export interface ParticipantChoices {
723
- /** Information about the booked service choices. Includes the number of participants. */
811
+ /**
812
+ * Information about the booked service choices. Includes the number of participants.
813
+ * @minSize 1
814
+ * @maxSize 10
815
+ */
724
816
  serviceChoices?: ServiceChoices[];
725
817
  }
726
818
  export interface ServiceChoices {
727
819
  /**
728
820
  * Number of participants for this _variant_
729
821
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
822
+ * @min 1
730
823
  */
731
824
  numberOfParticipants?: number | null;
732
- /** Service choices for these participants. */
825
+ /**
826
+ * Service choices for these participants.
827
+ * @maxSize 5
828
+ */
733
829
  choices?: ServiceChoice[];
734
830
  }
735
831
  export interface MultiServiceBookingInfo {
736
832
  /**
737
833
  * Multi-service booking ID.
834
+ * @format GUID
738
835
  * @readonly
739
836
  */
740
837
  id?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-v2-price-info-pricing.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-price-info-pricing.types.ts"],"names":[],"mappings":"AAyRA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kEAAuC,CAAA;AACzC,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC;AA6HD,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AA8ID,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,iBAAiB;IACjB,oCAAuB,CAAA;IACvB,sGAAsG;IACtG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB;AAED,sBAAsB;AACtB,MAAM,CAAN,IAAY,aAoCX;AApCD,WAAY,aAAa;IACvB;;;OAGG;IACH,oCAAmB,CAAA;IACnB;;;;;OAKG;IACH,wCAAuB,CAAA;IACvB;;;;;;OAMG;IACH,sCAAqB,CAAA;IACrB;;;OAGG;IACH,oCAAmB,CAAA;IACnB,6EAA6E;IAC7E,sCAAqB,CAAA;IACrB;;;;;;OAMG;IACH,8CAA6B,CAAA;AAC/B,CAAC,EApCW,aAAa,KAAb,aAAa,QAoCxB;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,gCAAgC;IAChC,wCAAuB,CAAA;IACvB,8BAA8B;IAC9B,sCAAqB,CAAA;IACrB,iCAAiC;IACjC,8BAAa,CAAA;IACb,qCAAqC;IACrC,kDAAiC,CAAA;IACjC,+BAA+B;IAC/B,sCAAqB,CAAA;IACrB,qCAAqC;IACrC,kCAAiB,CAAA;AACnB,CAAC,EAbW,aAAa,KAAb,aAAa,QAaxB;AAED;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B,gCAAgC;IAChC,gDAAuB,CAAA;IACvB,uBAAuB;IACvB,4CAAmB,CAAA;IACnB,sBAAsB;IACtB,0CAAiB,CAAA;IACjB,wCAAwC;IACxC,kDAAyB,CAAA;IACzB;;;OAGG;IACH,kEAAyC,CAAA;AAC3C,CAAC,EAdW,qBAAqB,KAArB,qBAAqB,QAchC;AAmBD,MAAM,CAAN,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,qDAAyC,CAAA;IACzC,uBAAW,CAAA;IACX,qCAAyB,CAAA;AAC3B,CAAC,EAJW,QAAQ,KAAR,QAAQ,QAInB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4CAAmC,CAAA;IACnC,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AAsCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
1
+ {"version":3,"file":"bookings-v2-price-info-pricing.types.js","sourceRoot":"","sources":["../../../../src/bookings-v2-price-info-pricing.types.ts"],"names":[],"mappings":"AAoTA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kE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