@infisale-client/api 1.2.46 → 1.2.48
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 +109 -183
- package/dist/api/api.js +1 -1
- package/dist/api/api.mjs +1 -1
- 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}
|
|
@@ -6060,11 +6054,17 @@ export interface IProductPatchRequest {
|
|
|
6060
6054
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
6061
6055
|
/**
|
|
6062
6056
|
*
|
|
6063
|
-
* @type {
|
|
6057
|
+
* @type {Array<VariantType>}
|
|
6064
6058
|
* @memberof IProductPatchRequest
|
|
6065
6059
|
*/
|
|
6066
|
-
'variants'?:
|
|
6067
|
-
|
|
6060
|
+
'variants'?: Array<VariantType>;
|
|
6061
|
+
/**
|
|
6062
|
+
* Construct a type with a set of properties K of type T
|
|
6063
|
+
* @type {{ [key: string]: Array<IImage>; }}
|
|
6064
|
+
* @memberof IProductPatchRequest
|
|
6065
|
+
*/
|
|
6066
|
+
'mainVariantsPhotos'?: {
|
|
6067
|
+
[key: string]: Array<IImage>;
|
|
6068
6068
|
};
|
|
6069
6069
|
/**
|
|
6070
6070
|
*
|
|
@@ -6087,18 +6087,6 @@ export interface IProductPostRequest {
|
|
|
6087
6087
|
* @memberof IProductPostRequest
|
|
6088
6088
|
*/
|
|
6089
6089
|
'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
6090
|
/**
|
|
6103
6091
|
*
|
|
6104
6092
|
* @type {boolean}
|
|
@@ -6157,11 +6145,17 @@ export interface IProductPostRequest {
|
|
|
6157
6145
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
6158
6146
|
/**
|
|
6159
6147
|
*
|
|
6160
|
-
* @type {
|
|
6148
|
+
* @type {Array<VariantType>}
|
|
6161
6149
|
* @memberof IProductPostRequest
|
|
6162
6150
|
*/
|
|
6163
|
-
'variants'
|
|
6164
|
-
|
|
6151
|
+
'variants': Array<VariantType>;
|
|
6152
|
+
/**
|
|
6153
|
+
* Construct a type with a set of properties K of type T
|
|
6154
|
+
* @type {{ [key: string]: Array<IImage>; }}
|
|
6155
|
+
* @memberof IProductPostRequest
|
|
6156
|
+
*/
|
|
6157
|
+
'mainVariantsPhotos': {
|
|
6158
|
+
[key: string]: Array<IImage>;
|
|
6165
6159
|
};
|
|
6166
6160
|
/**
|
|
6167
6161
|
*
|
|
@@ -6304,11 +6298,17 @@ export interface IProductResponse {
|
|
|
6304
6298
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
6305
6299
|
/**
|
|
6306
6300
|
*
|
|
6307
|
-
* @type {
|
|
6301
|
+
* @type {Array<VariantType>}
|
|
6302
|
+
* @memberof IProductResponse
|
|
6303
|
+
*/
|
|
6304
|
+
'variants': Array<VariantType>;
|
|
6305
|
+
/**
|
|
6306
|
+
* Construct a type with a set of properties K of type T
|
|
6307
|
+
* @type {{ [key: string]: Array<IImage>; }}
|
|
6308
6308
|
* @memberof IProductResponse
|
|
6309
6309
|
*/
|
|
6310
|
-
'
|
|
6311
|
-
[key: string]:
|
|
6310
|
+
'mainVariantsPhotos': {
|
|
6311
|
+
[key: string]: Array<IImage>;
|
|
6312
6312
|
};
|
|
6313
6313
|
/**
|
|
6314
6314
|
*
|
|
@@ -7747,59 +7747,6 @@ export declare const LanguageEnum: {
|
|
|
7747
7747
|
readonly DE: "de";
|
|
7748
7748
|
};
|
|
7749
7749
|
export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
7750
|
-
/**
|
|
7751
|
-
*
|
|
7752
|
-
* @export
|
|
7753
|
-
* @interface MainVariantType
|
|
7754
|
-
*/
|
|
7755
|
-
export interface MainVariantType {
|
|
7756
|
-
/**
|
|
7757
|
-
*
|
|
7758
|
-
* @type {string}
|
|
7759
|
-
* @memberof MainVariantType
|
|
7760
|
-
*/
|
|
7761
|
-
'sku'?: string;
|
|
7762
|
-
/**
|
|
7763
|
-
*
|
|
7764
|
-
* @type {string}
|
|
7765
|
-
* @memberof MainVariantType
|
|
7766
|
-
*/
|
|
7767
|
-
'barcode'?: string;
|
|
7768
|
-
/**
|
|
7769
|
-
*
|
|
7770
|
-
* @type {Array<IImage>}
|
|
7771
|
-
* @memberof MainVariantType
|
|
7772
|
-
*/
|
|
7773
|
-
'photos': Array<IImage>;
|
|
7774
|
-
/**
|
|
7775
|
-
*
|
|
7776
|
-
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
7777
|
-
* @memberof MainVariantType
|
|
7778
|
-
*/
|
|
7779
|
-
'stock'?: {
|
|
7780
|
-
[key: string]: IProductResponseStockValue;
|
|
7781
|
-
};
|
|
7782
|
-
/**
|
|
7783
|
-
*
|
|
7784
|
-
* @type {{ [key: string]: SubVariantType; }}
|
|
7785
|
-
* @memberof MainVariantType
|
|
7786
|
-
*/
|
|
7787
|
-
'variants'?: {
|
|
7788
|
-
[key: string]: SubVariantType;
|
|
7789
|
-
};
|
|
7790
|
-
/**
|
|
7791
|
-
*
|
|
7792
|
-
* @type {boolean}
|
|
7793
|
-
* @memberof MainVariantType
|
|
7794
|
-
*/
|
|
7795
|
-
'stocklessSale'?: boolean;
|
|
7796
|
-
/**
|
|
7797
|
-
*
|
|
7798
|
-
* @type {PriceType}
|
|
7799
|
-
* @memberof MainVariantType
|
|
7800
|
-
*/
|
|
7801
|
-
'priceInfo'?: PriceType;
|
|
7802
|
-
}
|
|
7803
7750
|
/**
|
|
7804
7751
|
*
|
|
7805
7752
|
* @export
|
|
@@ -9100,11 +9047,17 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9100
9047
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9101
9048
|
/**
|
|
9102
9049
|
*
|
|
9103
|
-
* @type {
|
|
9050
|
+
* @type {Array<VariantType>}
|
|
9104
9051
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate
|
|
9105
9052
|
*/
|
|
9106
|
-
'variants'
|
|
9107
|
-
|
|
9053
|
+
'variants': Array<VariantType>;
|
|
9054
|
+
/**
|
|
9055
|
+
* Construct a type with a set of properties K of type T
|
|
9056
|
+
* @type {{ [key: string]: Array<IImage>; }}
|
|
9057
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate
|
|
9058
|
+
*/
|
|
9059
|
+
'mainVariantsPhotos': {
|
|
9060
|
+
[key: string]: Array<IImage>;
|
|
9108
9061
|
};
|
|
9109
9062
|
/**
|
|
9110
9063
|
*
|
|
@@ -9158,18 +9111,6 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
|
|
|
9158
9111
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9159
9112
|
*/
|
|
9160
9113
|
'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
9114
|
/**
|
|
9174
9115
|
*
|
|
9175
9116
|
* @type {boolean}
|
|
@@ -9228,11 +9169,17 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
|
|
|
9228
9169
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9229
9170
|
/**
|
|
9230
9171
|
*
|
|
9231
|
-
* @type {
|
|
9172
|
+
* @type {Array<VariantType>}
|
|
9232
9173
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9233
9174
|
*/
|
|
9234
|
-
'variants'
|
|
9235
|
-
|
|
9175
|
+
'variants': Array<VariantType>;
|
|
9176
|
+
/**
|
|
9177
|
+
* Construct a type with a set of properties K of type T
|
|
9178
|
+
* @type {{ [key: string]: Array<IImage>; }}
|
|
9179
|
+
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9180
|
+
*/
|
|
9181
|
+
'mainVariantsPhotos': {
|
|
9182
|
+
[key: string]: Array<IImage>;
|
|
9236
9183
|
};
|
|
9237
9184
|
/**
|
|
9238
9185
|
*
|
|
@@ -9744,39 +9691,6 @@ export interface PickIUserIdOrNameOrEmail {
|
|
|
9744
9691
|
*/
|
|
9745
9692
|
'_id': string;
|
|
9746
9693
|
}
|
|
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
|
-
}
|
|
9780
9694
|
/**
|
|
9781
9695
|
*
|
|
9782
9696
|
* @export
|
|
@@ -9805,8 +9719,8 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
|
|
|
9805
9719
|
* @enum {string}
|
|
9806
9720
|
*/
|
|
9807
9721
|
export declare const PlanTypeEnum: {
|
|
9808
|
-
readonly FREE: "free";
|
|
9809
9722
|
readonly STANDARD: "standard";
|
|
9723
|
+
readonly ADVANCED: "advanced";
|
|
9810
9724
|
readonly PREMIUM: "premium";
|
|
9811
9725
|
};
|
|
9812
9726
|
export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
|
|
@@ -9990,51 +9904,6 @@ export interface SubCategories {
|
|
|
9990
9904
|
*/
|
|
9991
9905
|
'_id': string;
|
|
9992
9906
|
}
|
|
9993
|
-
/**
|
|
9994
|
-
*
|
|
9995
|
-
* @export
|
|
9996
|
-
* @interface SubVariantType
|
|
9997
|
-
*/
|
|
9998
|
-
export interface SubVariantType {
|
|
9999
|
-
/**
|
|
10000
|
-
*
|
|
10001
|
-
* @type {Array<IImage>}
|
|
10002
|
-
* @memberof SubVariantType
|
|
10003
|
-
*/
|
|
10004
|
-
'photos': Array<IImage>;
|
|
10005
|
-
/**
|
|
10006
|
-
*
|
|
10007
|
-
* @type {string}
|
|
10008
|
-
* @memberof SubVariantType
|
|
10009
|
-
*/
|
|
10010
|
-
'barcode'?: string;
|
|
10011
|
-
/**
|
|
10012
|
-
*
|
|
10013
|
-
* @type {string}
|
|
10014
|
-
* @memberof SubVariantType
|
|
10015
|
-
*/
|
|
10016
|
-
'sku'?: string;
|
|
10017
|
-
/**
|
|
10018
|
-
*
|
|
10019
|
-
* @type {boolean}
|
|
10020
|
-
* @memberof SubVariantType
|
|
10021
|
-
*/
|
|
10022
|
-
'stocklessSale': boolean;
|
|
10023
|
-
/**
|
|
10024
|
-
*
|
|
10025
|
-
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
10026
|
-
* @memberof SubVariantType
|
|
10027
|
-
*/
|
|
10028
|
-
'stock'?: {
|
|
10029
|
-
[key: string]: IProductResponseStockValue;
|
|
10030
|
-
};
|
|
10031
|
-
/**
|
|
10032
|
-
*
|
|
10033
|
-
* @type {PriceType}
|
|
10034
|
-
* @memberof SubVariantType
|
|
10035
|
-
*/
|
|
10036
|
-
'priceInfo': PriceType;
|
|
10037
|
-
}
|
|
10038
9907
|
/**
|
|
10039
9908
|
*
|
|
10040
9909
|
* @export
|
|
@@ -10122,6 +9991,63 @@ export declare const UserStatusEnum: {
|
|
|
10122
9991
|
readonly WAITING_FOR_APPROVAL: "waiting_for_approval";
|
|
10123
9992
|
};
|
|
10124
9993
|
export type UserStatusEnum = typeof UserStatusEnum[keyof typeof UserStatusEnum];
|
|
9994
|
+
/**
|
|
9995
|
+
*
|
|
9996
|
+
* @export
|
|
9997
|
+
* @interface VariantType
|
|
9998
|
+
*/
|
|
9999
|
+
export interface VariantType {
|
|
10000
|
+
/**
|
|
10001
|
+
*
|
|
10002
|
+
* @type {string}
|
|
10003
|
+
* @memberof VariantType
|
|
10004
|
+
*/
|
|
10005
|
+
'barcode'?: string;
|
|
10006
|
+
/**
|
|
10007
|
+
*
|
|
10008
|
+
* @type {string}
|
|
10009
|
+
* @memberof VariantType
|
|
10010
|
+
*/
|
|
10011
|
+
'sku'?: string;
|
|
10012
|
+
/**
|
|
10013
|
+
*
|
|
10014
|
+
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
10015
|
+
* @memberof VariantType
|
|
10016
|
+
*/
|
|
10017
|
+
'stock'?: {
|
|
10018
|
+
[key: string]: IProductResponseStockValue;
|
|
10019
|
+
};
|
|
10020
|
+
/**
|
|
10021
|
+
*
|
|
10022
|
+
* @type {Array<IImage>}
|
|
10023
|
+
* @memberof VariantType
|
|
10024
|
+
*/
|
|
10025
|
+
'photos': Array<IImage>;
|
|
10026
|
+
/**
|
|
10027
|
+
*
|
|
10028
|
+
* @type {boolean}
|
|
10029
|
+
* @memberof VariantType
|
|
10030
|
+
*/
|
|
10031
|
+
'stocklessSale'?: boolean;
|
|
10032
|
+
/**
|
|
10033
|
+
*
|
|
10034
|
+
* @type {PriceType}
|
|
10035
|
+
* @memberof VariantType
|
|
10036
|
+
*/
|
|
10037
|
+
'priceInfo': PriceType;
|
|
10038
|
+
/**
|
|
10039
|
+
*
|
|
10040
|
+
* @type {string}
|
|
10041
|
+
* @memberof VariantType
|
|
10042
|
+
*/
|
|
10043
|
+
'subVariant'?: string;
|
|
10044
|
+
/**
|
|
10045
|
+
*
|
|
10046
|
+
* @type {string}
|
|
10047
|
+
* @memberof VariantType
|
|
10048
|
+
*/
|
|
10049
|
+
'mainVariant': string;
|
|
10050
|
+
}
|
|
10125
10051
|
/**
|
|
10126
10052
|
* AddressApi - axios parameter creator
|
|
10127
10053
|
* @export
|
package/dist/api/api.js
CHANGED
package/dist/api/api.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.48",
|
|
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": "263a4506ad4e6b73a8291fb9d8127032c2e11f1f"
|
|
41
41
|
}
|