@infisale-client/api 1.2.47 → 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 +103 -147
- 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
|
@@ -6054,11 +6054,17 @@ export interface IProductPatchRequest {
|
|
|
6054
6054
|
'contents'?: PartialRecordLanguageEnumIContentsValue;
|
|
6055
6055
|
/**
|
|
6056
6056
|
*
|
|
6057
|
-
* @type {
|
|
6057
|
+
* @type {Array<VariantType>}
|
|
6058
6058
|
* @memberof IProductPatchRequest
|
|
6059
6059
|
*/
|
|
6060
|
-
'variants'?:
|
|
6061
|
-
|
|
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>;
|
|
6062
6068
|
};
|
|
6063
6069
|
/**
|
|
6064
6070
|
*
|
|
@@ -6139,11 +6145,17 @@ export interface IProductPostRequest {
|
|
|
6139
6145
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
6140
6146
|
/**
|
|
6141
6147
|
*
|
|
6142
|
-
* @type {
|
|
6148
|
+
* @type {Array<VariantType>}
|
|
6143
6149
|
* @memberof IProductPostRequest
|
|
6144
6150
|
*/
|
|
6145
|
-
'variants'
|
|
6146
|
-
|
|
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>;
|
|
6147
6159
|
};
|
|
6148
6160
|
/**
|
|
6149
6161
|
*
|
|
@@ -6286,11 +6298,17 @@ export interface IProductResponse {
|
|
|
6286
6298
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
6287
6299
|
/**
|
|
6288
6300
|
*
|
|
6289
|
-
* @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>; }}
|
|
6290
6308
|
* @memberof IProductResponse
|
|
6291
6309
|
*/
|
|
6292
|
-
'
|
|
6293
|
-
[key: string]:
|
|
6310
|
+
'mainVariantsPhotos': {
|
|
6311
|
+
[key: string]: Array<IImage>;
|
|
6294
6312
|
};
|
|
6295
6313
|
/**
|
|
6296
6314
|
*
|
|
@@ -7729,59 +7747,6 @@ export declare const LanguageEnum: {
|
|
|
7729
7747
|
readonly DE: "de";
|
|
7730
7748
|
};
|
|
7731
7749
|
export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
7732
|
-
/**
|
|
7733
|
-
*
|
|
7734
|
-
* @export
|
|
7735
|
-
* @interface MainVariantType
|
|
7736
|
-
*/
|
|
7737
|
-
export interface MainVariantType {
|
|
7738
|
-
/**
|
|
7739
|
-
*
|
|
7740
|
-
* @type {string}
|
|
7741
|
-
* @memberof MainVariantType
|
|
7742
|
-
*/
|
|
7743
|
-
'sku'?: string;
|
|
7744
|
-
/**
|
|
7745
|
-
*
|
|
7746
|
-
* @type {string}
|
|
7747
|
-
* @memberof MainVariantType
|
|
7748
|
-
*/
|
|
7749
|
-
'barcode'?: string;
|
|
7750
|
-
/**
|
|
7751
|
-
*
|
|
7752
|
-
* @type {Array<IImage>}
|
|
7753
|
-
* @memberof MainVariantType
|
|
7754
|
-
*/
|
|
7755
|
-
'photos': Array<IImage>;
|
|
7756
|
-
/**
|
|
7757
|
-
*
|
|
7758
|
-
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
7759
|
-
* @memberof MainVariantType
|
|
7760
|
-
*/
|
|
7761
|
-
'stock'?: {
|
|
7762
|
-
[key: string]: IProductResponseStockValue;
|
|
7763
|
-
};
|
|
7764
|
-
/**
|
|
7765
|
-
*
|
|
7766
|
-
* @type {{ [key: string]: SubVariantType; }}
|
|
7767
|
-
* @memberof MainVariantType
|
|
7768
|
-
*/
|
|
7769
|
-
'variants'?: {
|
|
7770
|
-
[key: string]: SubVariantType;
|
|
7771
|
-
};
|
|
7772
|
-
/**
|
|
7773
|
-
*
|
|
7774
|
-
* @type {boolean}
|
|
7775
|
-
* @memberof MainVariantType
|
|
7776
|
-
*/
|
|
7777
|
-
'stocklessSale'?: boolean;
|
|
7778
|
-
/**
|
|
7779
|
-
*
|
|
7780
|
-
* @type {PriceType}
|
|
7781
|
-
* @memberof MainVariantType
|
|
7782
|
-
*/
|
|
7783
|
-
'priceInfo'?: PriceType;
|
|
7784
|
-
}
|
|
7785
7750
|
/**
|
|
7786
7751
|
*
|
|
7787
7752
|
* @export
|
|
@@ -9082,11 +9047,17 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate {
|
|
|
9082
9047
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9083
9048
|
/**
|
|
9084
9049
|
*
|
|
9085
|
-
* @type {
|
|
9050
|
+
* @type {Array<VariantType>}
|
|
9086
9051
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate
|
|
9087
9052
|
*/
|
|
9088
|
-
'variants'
|
|
9089
|
-
|
|
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>;
|
|
9090
9061
|
};
|
|
9091
9062
|
/**
|
|
9092
9063
|
*
|
|
@@ -9198,11 +9169,17 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
|
|
|
9198
9169
|
'contents': PartialRecordLanguageEnumIContentsValue;
|
|
9199
9170
|
/**
|
|
9200
9171
|
*
|
|
9201
|
-
* @type {
|
|
9172
|
+
* @type {Array<VariantType>}
|
|
9173
|
+
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9174
|
+
*/
|
|
9175
|
+
'variants': Array<VariantType>;
|
|
9176
|
+
/**
|
|
9177
|
+
* Construct a type with a set of properties K of type T
|
|
9178
|
+
* @type {{ [key: string]: Array<IImage>; }}
|
|
9202
9179
|
* @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
|
|
9203
9180
|
*/
|
|
9204
|
-
'
|
|
9205
|
-
[key: string]:
|
|
9181
|
+
'mainVariantsPhotos': {
|
|
9182
|
+
[key: string]: Array<IImage>;
|
|
9206
9183
|
};
|
|
9207
9184
|
/**
|
|
9208
9185
|
*
|
|
@@ -9714,39 +9691,6 @@ export interface PickIUserIdOrNameOrEmail {
|
|
|
9714
9691
|
*/
|
|
9715
9692
|
'_id': string;
|
|
9716
9693
|
}
|
|
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
|
-
}
|
|
9750
9694
|
/**
|
|
9751
9695
|
*
|
|
9752
9696
|
* @export
|
|
@@ -9775,8 +9719,8 @@ export type PlanStatusEnum = typeof PlanStatusEnum[keyof typeof PlanStatusEnum];
|
|
|
9775
9719
|
* @enum {string}
|
|
9776
9720
|
*/
|
|
9777
9721
|
export declare const PlanTypeEnum: {
|
|
9778
|
-
readonly FREE: "free";
|
|
9779
9722
|
readonly STANDARD: "standard";
|
|
9723
|
+
readonly ADVANCED: "advanced";
|
|
9780
9724
|
readonly PREMIUM: "premium";
|
|
9781
9725
|
};
|
|
9782
9726
|
export type PlanTypeEnum = typeof PlanTypeEnum[keyof typeof PlanTypeEnum];
|
|
@@ -9960,51 +9904,6 @@ export interface SubCategories {
|
|
|
9960
9904
|
*/
|
|
9961
9905
|
'_id': string;
|
|
9962
9906
|
}
|
|
9963
|
-
/**
|
|
9964
|
-
*
|
|
9965
|
-
* @export
|
|
9966
|
-
* @interface SubVariantType
|
|
9967
|
-
*/
|
|
9968
|
-
export interface SubVariantType {
|
|
9969
|
-
/**
|
|
9970
|
-
*
|
|
9971
|
-
* @type {Array<IImage>}
|
|
9972
|
-
* @memberof SubVariantType
|
|
9973
|
-
*/
|
|
9974
|
-
'photos': Array<IImage>;
|
|
9975
|
-
/**
|
|
9976
|
-
*
|
|
9977
|
-
* @type {string}
|
|
9978
|
-
* @memberof SubVariantType
|
|
9979
|
-
*/
|
|
9980
|
-
'barcode'?: string;
|
|
9981
|
-
/**
|
|
9982
|
-
*
|
|
9983
|
-
* @type {string}
|
|
9984
|
-
* @memberof SubVariantType
|
|
9985
|
-
*/
|
|
9986
|
-
'sku'?: string;
|
|
9987
|
-
/**
|
|
9988
|
-
*
|
|
9989
|
-
* @type {boolean}
|
|
9990
|
-
* @memberof SubVariantType
|
|
9991
|
-
*/
|
|
9992
|
-
'stocklessSale': boolean;
|
|
9993
|
-
/**
|
|
9994
|
-
*
|
|
9995
|
-
* @type {{ [key: string]: IProductResponseStockValue; }}
|
|
9996
|
-
* @memberof SubVariantType
|
|
9997
|
-
*/
|
|
9998
|
-
'stock'?: {
|
|
9999
|
-
[key: string]: IProductResponseStockValue;
|
|
10000
|
-
};
|
|
10001
|
-
/**
|
|
10002
|
-
*
|
|
10003
|
-
* @type {PriceType}
|
|
10004
|
-
* @memberof SubVariantType
|
|
10005
|
-
*/
|
|
10006
|
-
'priceInfo': PriceType;
|
|
10007
|
-
}
|
|
10008
9907
|
/**
|
|
10009
9908
|
*
|
|
10010
9909
|
* @export
|
|
@@ -10092,6 +9991,63 @@ export declare const UserStatusEnum: {
|
|
|
10092
9991
|
readonly WAITING_FOR_APPROVAL: "waiting_for_approval";
|
|
10093
9992
|
};
|
|
10094
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
|
+
}
|
|
10095
10051
|
/**
|
|
10096
10052
|
* AddressApi - axios parameter creator
|
|
10097
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
|
}
|