@zernio/node 0.2.1001 → 0.2.1002
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/README.md +8 -8
- package/dist/index.d.mts +34 -34
- package/dist/index.d.ts +34 -34
- package/dist/index.js +17 -17
- package/dist/index.mjs +17 -17
- package/package.json +1 -1
- package/src/client.ts +16 -16
- package/src/generated/sdk.gen.ts +48 -19
- package/src/generated/types.gen.ts +25 -25
|
@@ -3079,7 +3079,7 @@ export type CommentAutomationTemplateElement = {
|
|
|
3079
3079
|
/**
|
|
3080
3080
|
* An operation a store supports. Calling an operation outside this list answers 400 platform_not_supported.
|
|
3081
3081
|
*/
|
|
3082
|
-
export type CommerceCapability = 'products.read' | 'products.create' | 'products.update' | 'products.status' | 'products.price' | 'products.variants' | 'products.images' | 'products.images_remove' | 'collections.read' | 'collections.write' | 'metafields.read' | 'metafields.write' | 'pages.read' | 'pages.write' | 'inventory.read' | 'inventory.write' | 'channels.read' | 'channels.write' | 'discounts.read' | 'discounts.write' | 'navigation.read' | 'navigation.write' | 'metaobjects.read' | 'metaobjects.write' | 'markets.read' | 'markets.write' | 'marketing.write';
|
|
3082
|
+
export type CommerceCapability = 'products.read' | 'products.create' | 'products.update' | 'products.status' | 'products.price' | 'products.variants' | 'products.images' | 'products.images_remove' | 'collections.read' | 'collections.write' | 'collections.metafields' | 'metafields.read' | 'metafields.write' | 'pages.read' | 'pages.write' | 'inventory.read' | 'inventory.write' | 'channels.read' | 'channels.write' | 'discounts.read' | 'discounts.write' | 'discounts.codes' | 'navigation.read' | 'navigation.write' | 'metaobjects.read' | 'metaobjects.write' | 'markets.read' | 'markets.write' | 'marketing.write';
|
|
3083
3083
|
|
|
3084
3084
|
/**
|
|
3085
3085
|
* A store kept in sync with an ad-platform product catalog.
|
|
@@ -51910,7 +51910,7 @@ export type DuplicateCommerceProductError = (ErrorResponse | {
|
|
|
51910
51910
|
error?: string;
|
|
51911
51911
|
} | unknown);
|
|
51912
51912
|
|
|
51913
|
-
export type
|
|
51913
|
+
export type ListCommerceProductMetafieldsData = {
|
|
51914
51914
|
path: {
|
|
51915
51915
|
/**
|
|
51916
51916
|
* Platform-native id.
|
|
@@ -51925,15 +51925,15 @@ export type ListProductMetafieldsData = {
|
|
|
51925
51925
|
};
|
|
51926
51926
|
};
|
|
51927
51927
|
|
|
51928
|
-
export type
|
|
51928
|
+
export type ListCommerceProductMetafieldsResponse = ({
|
|
51929
51929
|
metafields?: Array<CommerceMetafield>;
|
|
51930
51930
|
});
|
|
51931
51931
|
|
|
51932
|
-
export type
|
|
51932
|
+
export type ListCommerceProductMetafieldsError = (ErrorResponse | {
|
|
51933
51933
|
error?: string;
|
|
51934
51934
|
} | unknown);
|
|
51935
51935
|
|
|
51936
|
-
export type
|
|
51936
|
+
export type SetCommerceProductMetafieldsData = {
|
|
51937
51937
|
body: {
|
|
51938
51938
|
accountId: string;
|
|
51939
51939
|
metafields: Array<CommerceMetafield>;
|
|
@@ -51946,15 +51946,15 @@ export type SetProductMetafieldsData = {
|
|
|
51946
51946
|
};
|
|
51947
51947
|
};
|
|
51948
51948
|
|
|
51949
|
-
export type
|
|
51949
|
+
export type SetCommerceProductMetafieldsResponse = ({
|
|
51950
51950
|
metafields?: Array<CommerceMetafield>;
|
|
51951
51951
|
});
|
|
51952
51952
|
|
|
51953
|
-
export type
|
|
51953
|
+
export type SetCommerceProductMetafieldsError = (ErrorResponse | {
|
|
51954
51954
|
error?: string;
|
|
51955
51955
|
} | unknown);
|
|
51956
51956
|
|
|
51957
|
-
export type
|
|
51957
|
+
export type DeleteCommerceProductMetafieldsData = {
|
|
51958
51958
|
path: {
|
|
51959
51959
|
/**
|
|
51960
51960
|
* Platform-native id.
|
|
@@ -51973,15 +51973,15 @@ export type DeleteProductMetafieldsData = {
|
|
|
51973
51973
|
};
|
|
51974
51974
|
};
|
|
51975
51975
|
|
|
51976
|
-
export type
|
|
51976
|
+
export type DeleteCommerceProductMetafieldsResponse = ({
|
|
51977
51977
|
deleted?: number;
|
|
51978
51978
|
});
|
|
51979
51979
|
|
|
51980
|
-
export type
|
|
51980
|
+
export type DeleteCommerceProductMetafieldsError = (ErrorResponse | {
|
|
51981
51981
|
error?: string;
|
|
51982
51982
|
} | unknown);
|
|
51983
51983
|
|
|
51984
|
-
export type
|
|
51984
|
+
export type ChangeCommerceProductChannelsData = {
|
|
51985
51985
|
body: {
|
|
51986
51986
|
accountId: string;
|
|
51987
51987
|
/**
|
|
@@ -51998,17 +51998,17 @@ export type ChangeProductChannelsData = {
|
|
|
51998
51998
|
};
|
|
51999
51999
|
};
|
|
52000
52000
|
|
|
52001
|
-
export type
|
|
52001
|
+
export type ChangeCommerceProductChannelsResponse = ({
|
|
52002
52002
|
productId?: string;
|
|
52003
52003
|
published?: Array<(string)>;
|
|
52004
52004
|
unpublished?: Array<(string)>;
|
|
52005
52005
|
});
|
|
52006
52006
|
|
|
52007
|
-
export type
|
|
52007
|
+
export type ChangeCommerceProductChannelsError = (ErrorResponse | {
|
|
52008
52008
|
error?: string;
|
|
52009
52009
|
} | unknown);
|
|
52010
52010
|
|
|
52011
|
-
export type
|
|
52011
|
+
export type ListCommerceCollectionMetafieldsData = {
|
|
52012
52012
|
path: {
|
|
52013
52013
|
/**
|
|
52014
52014
|
* Platform-native id.
|
|
@@ -52023,15 +52023,15 @@ export type ListCollectionMetafieldsData = {
|
|
|
52023
52023
|
};
|
|
52024
52024
|
};
|
|
52025
52025
|
|
|
52026
|
-
export type
|
|
52026
|
+
export type ListCommerceCollectionMetafieldsResponse = ({
|
|
52027
52027
|
metafields?: Array<CommerceMetafield>;
|
|
52028
52028
|
});
|
|
52029
52029
|
|
|
52030
|
-
export type
|
|
52030
|
+
export type ListCommerceCollectionMetafieldsError = (ErrorResponse | {
|
|
52031
52031
|
error?: string;
|
|
52032
52032
|
} | unknown);
|
|
52033
52033
|
|
|
52034
|
-
export type
|
|
52034
|
+
export type SetCommerceCollectionMetafieldsData = {
|
|
52035
52035
|
body: {
|
|
52036
52036
|
accountId: string;
|
|
52037
52037
|
metafields: Array<CommerceMetafield>;
|
|
@@ -52044,15 +52044,15 @@ export type SetCollectionMetafieldsData = {
|
|
|
52044
52044
|
};
|
|
52045
52045
|
};
|
|
52046
52046
|
|
|
52047
|
-
export type
|
|
52047
|
+
export type SetCommerceCollectionMetafieldsResponse = ({
|
|
52048
52048
|
metafields?: Array<CommerceMetafield>;
|
|
52049
52049
|
});
|
|
52050
52050
|
|
|
52051
|
-
export type
|
|
52051
|
+
export type SetCommerceCollectionMetafieldsError = (ErrorResponse | {
|
|
52052
52052
|
error?: string;
|
|
52053
52053
|
} | unknown);
|
|
52054
52054
|
|
|
52055
|
-
export type
|
|
52055
|
+
export type DeleteCommerceCollectionMetafieldsData = {
|
|
52056
52056
|
path: {
|
|
52057
52057
|
/**
|
|
52058
52058
|
* Platform-native id.
|
|
@@ -52071,15 +52071,15 @@ export type DeleteCollectionMetafieldsData = {
|
|
|
52071
52071
|
};
|
|
52072
52072
|
};
|
|
52073
52073
|
|
|
52074
|
-
export type
|
|
52074
|
+
export type DeleteCommerceCollectionMetafieldsResponse = ({
|
|
52075
52075
|
deleted?: number;
|
|
52076
52076
|
});
|
|
52077
52077
|
|
|
52078
|
-
export type
|
|
52078
|
+
export type DeleteCommerceCollectionMetafieldsError = (ErrorResponse | {
|
|
52079
52079
|
error?: string;
|
|
52080
52080
|
} | unknown);
|
|
52081
52081
|
|
|
52082
|
-
export type
|
|
52082
|
+
export type ChangeCommerceCollectionChannelsData = {
|
|
52083
52083
|
body: {
|
|
52084
52084
|
accountId: string;
|
|
52085
52085
|
/**
|
|
@@ -52096,13 +52096,13 @@ export type ChangeCollectionChannelsData = {
|
|
|
52096
52096
|
};
|
|
52097
52097
|
};
|
|
52098
52098
|
|
|
52099
|
-
export type
|
|
52099
|
+
export type ChangeCommerceCollectionChannelsResponse = ({
|
|
52100
52100
|
collectionId?: string;
|
|
52101
52101
|
published?: Array<(string)>;
|
|
52102
52102
|
unpublished?: Array<(string)>;
|
|
52103
52103
|
});
|
|
52104
52104
|
|
|
52105
|
-
export type
|
|
52105
|
+
export type ChangeCommerceCollectionChannelsError = (ErrorResponse | {
|
|
52106
52106
|
error?: string;
|
|
52107
52107
|
} | unknown);
|
|
52108
52108
|
|