@onefivecommerce/sdk 0.12.0 → 0.13.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.
- package/dist/index.d.ts +29 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -977,6 +977,8 @@ interface components {
|
|
|
977
977
|
* @enum {string|null}
|
|
978
978
|
*/
|
|
979
979
|
weight_unit: "g" | "kg" | "oz" | "lb" | null;
|
|
980
|
+
/** @example 0 */
|
|
981
|
+
position: number;
|
|
980
982
|
/**
|
|
981
983
|
* @example {
|
|
982
984
|
* "Color": "Black",
|
|
@@ -8828,6 +8830,33 @@ interface operations {
|
|
|
8828
8830
|
};
|
|
8829
8831
|
};
|
|
8830
8832
|
};
|
|
8833
|
+
reorderVariants: {
|
|
8834
|
+
parameters: {
|
|
8835
|
+
query?: never;
|
|
8836
|
+
header?: never;
|
|
8837
|
+
path?: never;
|
|
8838
|
+
cookie?: never;
|
|
8839
|
+
};
|
|
8840
|
+
requestBody?: {
|
|
8841
|
+
content: {
|
|
8842
|
+
"application/json": {
|
|
8843
|
+
variants: {
|
|
8844
|
+
id: string;
|
|
8845
|
+
position: number;
|
|
8846
|
+
}[];
|
|
8847
|
+
};
|
|
8848
|
+
};
|
|
8849
|
+
};
|
|
8850
|
+
responses: {
|
|
8851
|
+
/** @description Variants reordered */
|
|
8852
|
+
204: {
|
|
8853
|
+
headers: {
|
|
8854
|
+
[name: string]: unknown;
|
|
8855
|
+
};
|
|
8856
|
+
content?: never;
|
|
8857
|
+
};
|
|
8858
|
+
};
|
|
8859
|
+
};
|
|
8831
8860
|
getVariant: {
|
|
8832
8861
|
parameters: {
|
|
8833
8862
|
query?: {
|