@infisale-client/api 1.2.45 → 1.2.47
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 +58 -55
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -2829,6 +2829,12 @@ export interface ICompanyPostRequest {
|
|
|
2829
2829
|
* @memberof ICompanyPostRequest
|
|
2830
2830
|
*/
|
|
2831
2831
|
'currency': CurrencyEnum;
|
|
2832
|
+
/**
|
|
2833
|
+
*
|
|
2834
|
+
* @type {string}
|
|
2835
|
+
* @memberof ICompanyPostRequest
|
|
2836
|
+
*/
|
|
2837
|
+
'theme': string;
|
|
2832
2838
|
}
|
|
2833
2839
|
/**
|
|
2834
2840
|
*
|
|
@@ -5990,18 +5996,6 @@ export interface IProductPatchRequest {
|
|
|
5990
5996
|
* @memberof IProductPatchRequest
|
|
5991
5997
|
*/
|
|
5992
5998
|
'company'?: string;
|
|
5993
|
-
/**
|
|
5994
|
-
*
|
|
5995
|
-
* @type {number}
|
|
5996
|
-
* @memberof IProductPatchRequest
|
|
5997
|
-
*/
|
|
5998
|
-
'totalStock'?: number;
|
|
5999
|
-
/**
|
|
6000
|
-
*
|
|
6001
|
-
* @type {number}
|
|
6002
|
-
* @memberof IProductPatchRequest
|
|
6003
|
-
*/
|
|
6004
|
-
'totalSale'?: number;
|
|
6005
5999
|
/**
|
|
6006
6000
|
*
|
|
6007
6001
|
* @type {boolean}
|
|
@@ -6087,24 +6081,12 @@ export interface IProductPostRequest {
|
|
|
6087
6081
|
* @memberof IProductPostRequest
|
|
6088
6082
|
*/
|
|
6089
6083
|
'company': string;
|
|
6090
|
-
/**
|
|
6091
|
-
*
|
|
6092
|
-
* @type {number}
|
|
6093
|
-
* @memberof IProductPostRequest
|
|
6094
|
-
*/
|
|
6095
|
-
'totalStock': number;
|
|
6096
|
-
/**
|
|
6097
|
-
*
|
|
6098
|
-
* @type {number}
|
|
6099
|
-
* @memberof IProductPostRequest
|
|
6100
|
-
*/
|
|
6101
|
-
'totalSale': number;
|
|
6102
6084
|
/**
|
|
6103
6085
|
*
|
|
6104
6086
|
* @type {boolean}
|
|
6105
6087
|
* @memberof IProductPostRequest
|
|
6106
6088
|
*/
|
|
6107
|
-
'negativeStock'
|
|
6089
|
+
'negativeStock'?: boolean;
|
|
6108
6090
|
/**
|
|
6109
6091
|
*
|
|
6110
6092
|
* @type {Array<string>}
|
|
@@ -6243,7 +6225,7 @@ export interface IProductResponse {
|
|
|
6243
6225
|
* @type {boolean}
|
|
6244
6226
|
* @memberof IProductResponse
|
|
6245
6227
|
*/
|
|
6246
|
-
'negativeStock'
|
|
6228
|
+
'negativeStock'?: boolean;
|
|
6247
6229
|
/**
|
|
6248
6230
|
*
|
|
6249
6231
|
* @type {Array<string>}
|
|
@@ -7755,10 +7737,10 @@ export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
|
7755
7737
|
export interface MainVariantType {
|
|
7756
7738
|
/**
|
|
7757
7739
|
*
|
|
7758
|
-
* @type {
|
|
7740
|
+
* @type {string}
|
|
7759
7741
|
* @memberof MainVariantType
|
|
7760
7742
|
*/
|
|
7761
|
-
'
|
|
7743
|
+
'sku'?: string;
|
|
7762
7744
|
/**
|
|
7763
7745
|
*
|
|
7764
7746
|
* @type {string}
|
|
@@ -7767,38 +7749,38 @@ export interface MainVariantType {
|
|
|
7767
7749
|
'barcode'?: string;
|
|
7768
7750
|
/**
|
|
7769
7751
|
*
|
|
7770
|
-
* @type {
|
|
7752
|
+
* @type {Array<IImage>}
|
|
7771
7753
|
* @memberof MainVariantType
|
|
7772
7754
|
*/
|
|
7773
|
-
'
|
|
7755
|
+
'photos': Array<IImage>;
|
|
7774
7756
|
/**
|
|
7775
7757
|
*
|
|
7776
|
-
* @type {
|
|
7758
|
+
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
7777
7759
|
* @memberof MainVariantType
|
|
7778
7760
|
*/
|
|
7779
|
-
'
|
|
7761
|
+
'stock'?: {
|
|
7762
|
+
[key: string]: IProductResponseStockValue;
|
|
7763
|
+
};
|
|
7780
7764
|
/**
|
|
7781
7765
|
*
|
|
7782
|
-
* @type {{ [key: string]:
|
|
7766
|
+
* @type {{ [key: string]: SubVariantType; }}
|
|
7783
7767
|
* @memberof MainVariantType
|
|
7784
7768
|
*/
|
|
7785
|
-
'
|
|
7786
|
-
[key: string]:
|
|
7769
|
+
'variants'?: {
|
|
7770
|
+
[key: string]: SubVariantType;
|
|
7787
7771
|
};
|
|
7788
7772
|
/**
|
|
7789
7773
|
*
|
|
7790
|
-
* @type {
|
|
7774
|
+
* @type {boolean}
|
|
7791
7775
|
* @memberof MainVariantType
|
|
7792
7776
|
*/
|
|
7793
|
-
'
|
|
7777
|
+
'stocklessSale'?: boolean;
|
|
7794
7778
|
/**
|
|
7795
7779
|
*
|
|
7796
|
-
* @type {
|
|
7780
|
+
* @type {PriceType}
|
|
7797
7781
|
* @memberof MainVariantType
|
|
7798
7782
|
*/
|
|
7799
|
-
'
|
|
7800
|
-
[key: string]: SubVariantType;
|
|
7801
|
-
};
|
|
7783
|
+
'priceInfo'?: PriceType;
|
|
7802
7784
|
}
|
|
7803
7785
|
/**
|
|
7804
7786
|
*
|
|
@@ -9039,7 +9021,7 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9039
9021
|
* @type {boolean}
|
|
9040
9022
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate
|
|
9041
9023
|
*/
|
|
9042
|
-
'negativeStock'
|
|
9024
|
+
'negativeStock'?: boolean;
|
|
9043
9025
|
/**
|
|
9044
9026
|
*
|
|
9045
9027
|
* @type {Array<string>}
|
|
@@ -9158,24 +9140,12 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
|
|
|
9158
9140
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9159
9141
|
*/
|
|
9160
9142
|
'company': string;
|
|
9161
|
-
/**
|
|
9162
|
-
*
|
|
9163
|
-
* @type {number}
|
|
9164
|
-
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9165
|
-
*/
|
|
9166
|
-
'totalStock': number;
|
|
9167
|
-
/**
|
|
9168
|
-
*
|
|
9169
|
-
* @type {number}
|
|
9170
|
-
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9171
|
-
*/
|
|
9172
|
-
'totalSale': number;
|
|
9173
9143
|
/**
|
|
9174
9144
|
*
|
|
9175
9145
|
* @type {boolean}
|
|
9176
9146
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9177
9147
|
*/
|
|
9178
|
-
'negativeStock'
|
|
9148
|
+
'negativeStock'?: boolean;
|
|
9179
9149
|
/**
|
|
9180
9150
|
*
|
|
9181
9151
|
* @type {Array<string>}
|
|
@@ -9744,6 +9714,39 @@ export interface PickIUserIdOrNameOrEmail {
|
|
|
9744
9714
|
*/
|
|
9745
9715
|
'_id': string;
|
|
9746
9716
|
}
|
|
9717
|
+
/**
|
|
9718
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
9719
|
+
* @export
|
|
9720
|
+
* @interface PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9721
|
+
*/
|
|
9722
|
+
export interface PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale {
|
|
9723
|
+
/**
|
|
9724
|
+
*
|
|
9725
|
+
* @type {string}
|
|
9726
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9727
|
+
*/
|
|
9728
|
+
'sku'?: string;
|
|
9729
|
+
/**
|
|
9730
|
+
*
|
|
9731
|
+
* @type {string}
|
|
9732
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9733
|
+
*/
|
|
9734
|
+
'barcode'?: string;
|
|
9735
|
+
/**
|
|
9736
|
+
*
|
|
9737
|
+
* @type {Array<IImage>}
|
|
9738
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9739
|
+
*/
|
|
9740
|
+
'photos': Array<IImage>;
|
|
9741
|
+
/**
|
|
9742
|
+
*
|
|
9743
|
+
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
9744
|
+
* @memberof PickSubVariantTypeExcludeKeyofSubVariantTypePriceInfoOrStocklessSale
|
|
9745
|
+
*/
|
|
9746
|
+
'stock'?: {
|
|
9747
|
+
[key: string]: IProductResponseStockValue;
|
|
9748
|
+
};
|
|
9749
|
+
}
|
|
9747
9750
|
/**
|
|
9748
9751
|
*
|
|
9749
9752
|
* @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.47",
|
|
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": "8e429efb5b800a6259a57ef605b2f5ce3de9c1fb"
|
|
41
41
|
}
|