@wix/auto_sdk_ecom_draft-orders 1.0.53 → 1.0.54

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.
@@ -317,6 +317,12 @@ interface OrderLineItem {
317
317
  * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
318
318
  */
319
319
  extendedFields?: ExtendedFields;
320
+ /**
321
+ * Modifier groups that were added to the item.
322
+ * @readonly
323
+ * @maxSize 10
324
+ */
325
+ modifierGroups?: ModifierGroup[];
320
326
  }
321
327
  interface ProductName {
322
328
  /**
@@ -736,6 +742,63 @@ interface ExtendedFields {
736
742
  */
737
743
  namespaces?: Record<string, Record<string, any>>;
738
744
  }
745
+ interface ModifierGroup {
746
+ /**
747
+ * Modifier group ID.
748
+ * @minLength 1
749
+ * @maxLength 36
750
+ */
751
+ id?: string;
752
+ /** Modifier group name. */
753
+ name?: TranslatableString;
754
+ /**
755
+ * List of modifiers in this group.
756
+ * @minSize 1
757
+ * @maxSize 10
758
+ */
759
+ modifiers?: ItemModifier[];
760
+ }
761
+ interface TranslatableString {
762
+ /**
763
+ * __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
764
+ *
765
+ * Min: 1 character.
766
+ * Max: 200 characters.
767
+ * @minLength 1
768
+ * @maxLength 200
769
+ */
770
+ original?: string;
771
+ /**
772
+ * String translated into the buyer's language.
773
+ *
774
+ * Min: 1 character.
775
+ * Max: 400 characters.
776
+ * Default: Same as `original`.
777
+ * @minLength 1
778
+ * @maxLength 400
779
+ */
780
+ translated?: string | null;
781
+ }
782
+ interface ItemModifier {
783
+ /**
784
+ * Modifier ID.
785
+ * @minLength 1
786
+ * @maxLength 36
787
+ */
788
+ id?: string;
789
+ /**
790
+ * The quantity of this modifier.
791
+ * @min 1
792
+ * @max 100000
793
+ */
794
+ quantity?: number | null;
795
+ /** Primary display label for the modifier. */
796
+ label?: TranslatableString;
797
+ /** Additional details. */
798
+ details?: TranslatableString;
799
+ /** The price of the modifier. */
800
+ price?: Price;
801
+ }
739
802
  interface ItemChangedDetails {
740
803
  /**
741
804
  * Line item quantity before change.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_draft-orders",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.draft_order"
51
51
  }
52
52
  },
53
- "falconPackageHash": "30aba863a58364a2df3679da7704097d0da0a2f2dabd85e68a7cdbb3"
53
+ "falconPackageHash": "bf2c1703ebd4ad2356716f3e4869872096a5cdbee29e8183366a8deb"
54
54
  }