@viu/emporix-sdk 2.33.4 → 2.33.5

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/index.d.cts CHANGED
@@ -1023,12 +1023,30 @@ type SequenceSchema$1 = SequenceSchemaCreate$1 & {
1023
1023
  };
1024
1024
  };
1025
1025
  /**
1026
- * The filler text for values based on certain properties or settings in the system.
1026
+ * Placeholder definitions used in `preText` and `postText`. Names must start and end with `__`.
1027
1027
  */
1028
1028
  type Placeholders = {
1029
1029
  [key: string]: {
1030
- required?: boolean;
1030
+ /**
1031
+ * Flag indicating whether the placeholder must be resolved when generating an ID.
1032
+ */
1033
+ required: boolean;
1034
+ /**
1035
+ * Replacement used when the placeholder is not set in the request. Used only when `required` is `false`.
1036
+ */
1031
1037
  default?: string;
1038
+ /**
1039
+ * Dotted path into the site or site mixins response. Resolved when `siteCode` is provided.
1040
+ */
1041
+ sitePath?: string;
1042
+ /**
1043
+ * Maximum array elements to include. Defaults to `3`. Ignored for scalars.
1044
+ */
1045
+ arrayLimit?: number;
1046
+ /**
1047
+ * Separator for joined array elements. Defaults to `-`. Ignored for scalars.
1048
+ */
1049
+ delimiter?: string;
1032
1050
  };
1033
1051
  };
1034
1052
  type SequenceSchemaCreate$1 = {
@@ -1867,7 +1885,7 @@ type IdResponse$1 = {
1867
1885
  /**
1868
1886
  * Type which the schema should be assigned to. Can be one of the predefined values or any custom schema type id.
1869
1887
  */
1870
- type SchemaType = 'CART' | 'CART_ITEM' | 'CATEGORY' | 'COMPANY' | 'COUPON' | 'CUSTOMER' | 'CUSTOMER_ADDRESS' | 'ORDER' | 'ORDER_ENTRY' | 'PRODUCT' | 'QUOTE' | 'RETURN' | 'PRICE_LIST' | 'SITE' | 'CUSTOM_ENTITY' | 'VENDOR' | 'MEDIA';
1888
+ type SchemaType = 'AVAILABILITY' | 'CART' | 'CART_ITEM' | 'CATEGORY' | 'COMPANY' | 'COUPON' | 'CUSTOMER' | 'CUSTOMER_ADDRESS' | 'LOCATION' | 'ORDER' | 'ORDER_ENTRY' | 'PRODUCT' | 'QUOTE' | 'RETURN' | 'PRICE_LIST' | 'SITE' | 'CUSTOM_ENTITY' | 'VENDOR' | 'MEDIA';
1871
1889
  /**
1872
1890
  * Type of the attribute.
1873
1891
  *
package/dist/index.d.ts CHANGED
@@ -1023,12 +1023,30 @@ type SequenceSchema$1 = SequenceSchemaCreate$1 & {
1023
1023
  };
1024
1024
  };
1025
1025
  /**
1026
- * The filler text for values based on certain properties or settings in the system.
1026
+ * Placeholder definitions used in `preText` and `postText`. Names must start and end with `__`.
1027
1027
  */
1028
1028
  type Placeholders = {
1029
1029
  [key: string]: {
1030
- required?: boolean;
1030
+ /**
1031
+ * Flag indicating whether the placeholder must be resolved when generating an ID.
1032
+ */
1033
+ required: boolean;
1034
+ /**
1035
+ * Replacement used when the placeholder is not set in the request. Used only when `required` is `false`.
1036
+ */
1031
1037
  default?: string;
1038
+ /**
1039
+ * Dotted path into the site or site mixins response. Resolved when `siteCode` is provided.
1040
+ */
1041
+ sitePath?: string;
1042
+ /**
1043
+ * Maximum array elements to include. Defaults to `3`. Ignored for scalars.
1044
+ */
1045
+ arrayLimit?: number;
1046
+ /**
1047
+ * Separator for joined array elements. Defaults to `-`. Ignored for scalars.
1048
+ */
1049
+ delimiter?: string;
1032
1050
  };
1033
1051
  };
1034
1052
  type SequenceSchemaCreate$1 = {
@@ -1867,7 +1885,7 @@ type IdResponse$1 = {
1867
1885
  /**
1868
1886
  * Type which the schema should be assigned to. Can be one of the predefined values or any custom schema type id.
1869
1887
  */
1870
- type SchemaType = 'CART' | 'CART_ITEM' | 'CATEGORY' | 'COMPANY' | 'COUPON' | 'CUSTOMER' | 'CUSTOMER_ADDRESS' | 'ORDER' | 'ORDER_ENTRY' | 'PRODUCT' | 'QUOTE' | 'RETURN' | 'PRICE_LIST' | 'SITE' | 'CUSTOM_ENTITY' | 'VENDOR' | 'MEDIA';
1888
+ type SchemaType = 'AVAILABILITY' | 'CART' | 'CART_ITEM' | 'CATEGORY' | 'COMPANY' | 'COUPON' | 'CUSTOMER' | 'CUSTOMER_ADDRESS' | 'LOCATION' | 'ORDER' | 'ORDER_ENTRY' | 'PRODUCT' | 'QUOTE' | 'RETURN' | 'PRICE_LIST' | 'SITE' | 'CUSTOM_ENTITY' | 'VENDOR' | 'MEDIA';
1871
1889
  /**
1872
1890
  * Type of the attribute.
1873
1891
  *
package/dist/index.js CHANGED
@@ -686,7 +686,7 @@ var HttpClient = class {
686
686
  };
687
687
 
688
688
  // package.json
689
- var version = "2.33.4";
689
+ var version = "2.33.5";
690
690
 
691
691
  // src/version.ts
692
692
  var SDK_VERSION = version;