@infisale-client/api 1.2.44 → 1.2.46
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/api/api.d.ts +53 -20
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -6104,7 +6104,7 @@ export interface IProductPostRequest {
|
|
|
6104
6104
|
* @type {boolean}
|
|
6105
6105
|
* @memberof IProductPostRequest
|
|
6106
6106
|
*/
|
|
6107
|
-
'negativeStock'
|
|
6107
|
+
'negativeStock'?: boolean;
|
|
6108
6108
|
/**
|
|
6109
6109
|
*
|
|
6110
6110
|
* @type {Array<string>}
|
|
@@ -6243,7 +6243,7 @@ export interface IProductResponse {
|
|
|
6243
6243
|
* @type {boolean}
|
|
6244
6244
|
* @memberof IProductResponse
|
|
6245
6245
|
*/
|
|
6246
|
-
'negativeStock'
|
|
6246
|
+
'negativeStock'?: boolean;
|
|
6247
6247
|
/**
|
|
6248
6248
|
*
|
|
6249
6249
|
* @type {Array<string>}
|
|
@@ -7262,7 +7262,7 @@ export interface IThemePatchRequest {
|
|
|
7262
7262
|
* @type {IThemeResponseTemplate}
|
|
7263
7263
|
* @memberof IThemePatchRequest
|
|
7264
7264
|
*/
|
|
7265
|
-
'template'
|
|
7265
|
+
'template'?: IThemeResponseTemplate;
|
|
7266
7266
|
/**
|
|
7267
7267
|
*
|
|
7268
7268
|
* @type {string}
|
|
@@ -7755,10 +7755,10 @@ export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
|
7755
7755
|
export interface MainVariantType {
|
|
7756
7756
|
/**
|
|
7757
7757
|
*
|
|
7758
|
-
* @type {
|
|
7758
|
+
* @type {string}
|
|
7759
7759
|
* @memberof MainVariantType
|
|
7760
7760
|
*/
|
|
7761
|
-
'
|
|
7761
|
+
'sku'?: string;
|
|
7762
7762
|
/**
|
|
7763
7763
|
*
|
|
7764
7764
|
* @type {string}
|
|
@@ -7767,38 +7767,38 @@ export interface MainVariantType {
|
|
|
7767
7767
|
'barcode'?: string;
|
|
7768
7768
|
/**
|
|
7769
7769
|
*
|
|
7770
|
-
* @type {
|
|
7770
|
+
* @type {Array<IImage>}
|
|
7771
7771
|
* @memberof MainVariantType
|
|
7772
7772
|
*/
|
|
7773
|
-
'
|
|
7773
|
+
'photos': Array<IImage>;
|
|
7774
7774
|
/**
|
|
7775
7775
|
*
|
|
7776
|
-
* @type {
|
|
7776
|
+
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
7777
7777
|
* @memberof MainVariantType
|
|
7778
7778
|
*/
|
|
7779
|
-
'
|
|
7779
|
+
'stock'?: {
|
|
7780
|
+
[key: string]: IProductResponseStockValue;
|
|
7781
|
+
};
|
|
7780
7782
|
/**
|
|
7781
7783
|
*
|
|
7782
|
-
* @type {{ [key: string]:
|
|
7784
|
+
* @type {{ [key: string]: SubVariantType; }}
|
|
7783
7785
|
* @memberof MainVariantType
|
|
7784
7786
|
*/
|
|
7785
|
-
'
|
|
7786
|
-
[key: string]:
|
|
7787
|
+
'variants'?: {
|
|
7788
|
+
[key: string]: SubVariantType;
|
|
7787
7789
|
};
|
|
7788
7790
|
/**
|
|
7789
7791
|
*
|
|
7790
|
-
* @type {
|
|
7792
|
+
* @type {boolean}
|
|
7791
7793
|
* @memberof MainVariantType
|
|
7792
7794
|
*/
|
|
7793
|
-
'
|
|
7795
|
+
'stocklessSale'?: boolean;
|
|
7794
7796
|
/**
|
|
7795
7797
|
*
|
|
7796
|
-
* @type {
|
|
7798
|
+
* @type {PriceType}
|
|
7797
7799
|
* @memberof MainVariantType
|
|
7798
7800
|
*/
|
|
7799
|
-
'
|
|
7800
|
-
[key: string]: SubVariantType;
|
|
7801
|
-
};
|
|
7801
|
+
'priceInfo'?: PriceType;
|
|
7802
7802
|
}
|
|
7803
7803
|
/**
|
|
7804
7804
|
*
|
|
@@ -9039,7 +9039,7 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9039
9039
|
* @type {boolean}
|
|
9040
9040
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate
|
|
9041
9041
|
*/
|
|
9042
|
-
'negativeStock'
|
|
9042
|
+
'negativeStock'?: boolean;
|
|
9043
9043
|
/**
|
|
9044
9044
|
*
|
|
9045
9045
|
* @type {Array<string>}
|
|
@@ -9175,7 +9175,7 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
|
|
|
9175
9175
|
* @type {boolean}
|
|
9176
9176
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9177
9177
|
*/
|
|
9178
|
-
'negativeStock'
|
|
9178
|
+
'negativeStock'?: boolean;
|
|
9179
9179
|
/**
|
|
9180
9180
|
*
|
|
9181
9181
|
* @type {Array<string>}
|
|
@@ -9744,6 +9744,39 @@ export interface PickIUserIdOrNameOrEmail {
|
|
|
9744
9744
|
*/
|
|
9745
9745
|
'_id': string;
|
|
9746
9746
|
}
|
|
9747
|
+
/**
|
|
9748
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
9749
|
+
* @export
|
|
9750
|
+
* @interface PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9751
|
+
*/
|
|
9752
|
+
export interface PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale {
|
|
9753
|
+
/**
|
|
9754
|
+
*
|
|
9755
|
+
* @type {string}
|
|
9756
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9757
|
+
*/
|
|
9758
|
+
'sku'?: string;
|
|
9759
|
+
/**
|
|
9760
|
+
*
|
|
9761
|
+
* @type {string}
|
|
9762
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9763
|
+
*/
|
|
9764
|
+
'barcode'?: string;
|
|
9765
|
+
/**
|
|
9766
|
+
*
|
|
9767
|
+
* @type {Array<IImage>}
|
|
9768
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9769
|
+
*/
|
|
9770
|
+
'photos': Array<IImage>;
|
|
9771
|
+
/**
|
|
9772
|
+
*
|
|
9773
|
+
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
9774
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9775
|
+
*/
|
|
9776
|
+
'stock'?: {
|
|
9777
|
+
[key: string]: IProductResponseStockValue;
|
|
9778
|
+
};
|
|
9779
|
+
}
|
|
9747
9780
|
/**
|
|
9748
9781
|
*
|
|
9749
9782
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.46",
|
|
4
4
|
"description": "api-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "f2881784c038f36b8cbcd9eb4d83ce5ceb3fbb3a"
|
|
41
41
|
}
|