@infisale-client/api-client 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 CHANGED
@@ -6054,11 +6054,17 @@ export interface IProductPatchRequest {
6054
6054
  'contents'?: PartialRecordLanguageEnumIContentsValue;
6055
6055
  /**
6056
6056
  *
6057
- * @type {{ [key: string]: MainVariantType; }}
6057
+ * @type {Array<VariantType>}
6058
6058
  * @memberof IProductPatchRequest
6059
6059
  */
6060
- 'variants'?: {
6061
- [key: string]: MainVariantType;
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 {{ [key: string]: MainVariantType; }}
6148
+ * @type {Array<VariantType>}
6143
6149
  * @memberof IProductPostRequest
6144
6150
  */
6145
- 'variants'?: {
6146
- [key: string]: MainVariantType;
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 {{ [key: string]: MainVariantType; }}
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
- 'variants'?: {
6293
- [key: string]: MainVariantType;
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 {{ [key: string]: MainVariantType; }}
9050
+ * @type {Array<VariantType>}
9086
9051
  * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplate
9087
9052
  */
9088
- 'variants'?: {
9089
- [key: string]: MainVariantType;
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 {{ [key: string]: MainVariantType; }}
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
- 'variants'?: {
9205
- [key: string]: MainVariantType;
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];
@@ -9941,51 +9885,6 @@ export interface SubCategories {
9941
9885
  */
9942
9886
  '_id': string;
9943
9887
  }
9944
- /**
9945
- *
9946
- * @export
9947
- * @interface SubVariantType
9948
- */
9949
- export interface SubVariantType {
9950
- /**
9951
- *
9952
- * @type {Array<IImage>}
9953
- * @memberof SubVariantType
9954
- */
9955
- 'photos': Array<IImage>;
9956
- /**
9957
- *
9958
- * @type {string}
9959
- * @memberof SubVariantType
9960
- */
9961
- 'barcode'?: string;
9962
- /**
9963
- *
9964
- * @type {string}
9965
- * @memberof SubVariantType
9966
- */
9967
- 'sku'?: string;
9968
- /**
9969
- *
9970
- * @type {boolean}
9971
- * @memberof SubVariantType
9972
- */
9973
- 'stocklessSale': boolean;
9974
- /**
9975
- *
9976
- * @type {{ [key: string]: IProductResponseStockValue; }}
9977
- * @memberof SubVariantType
9978
- */
9979
- 'stock'?: {
9980
- [key: string]: IProductResponseStockValue;
9981
- };
9982
- /**
9983
- *
9984
- * @type {PriceType}
9985
- * @memberof SubVariantType
9986
- */
9987
- 'priceInfo': PriceType;
9988
- }
9989
9888
  /**
9990
9889
  *
9991
9890
  * @export
@@ -10073,6 +9972,63 @@ export declare const UserStatusEnum: {
10073
9972
  readonly WAITING_FOR_APPROVAL: "waiting_for_approval";
10074
9973
  };
10075
9974
  export type UserStatusEnum = typeof UserStatusEnum[keyof typeof UserStatusEnum];
9975
+ /**
9976
+ *
9977
+ * @export
9978
+ * @interface VariantType
9979
+ */
9980
+ export interface VariantType {
9981
+ /**
9982
+ *
9983
+ * @type {string}
9984
+ * @memberof VariantType
9985
+ */
9986
+ 'barcode'?: string;
9987
+ /**
9988
+ *
9989
+ * @type {string}
9990
+ * @memberof VariantType
9991
+ */
9992
+ 'sku'?: string;
9993
+ /**
9994
+ *
9995
+ * @type {{ [key: string]: IProductResponseStockValue; }}
9996
+ * @memberof VariantType
9997
+ */
9998
+ 'stock'?: {
9999
+ [key: string]: IProductResponseStockValue;
10000
+ };
10001
+ /**
10002
+ *
10003
+ * @type {Array<IImage>}
10004
+ * @memberof VariantType
10005
+ */
10006
+ 'photos': Array<IImage>;
10007
+ /**
10008
+ *
10009
+ * @type {boolean}
10010
+ * @memberof VariantType
10011
+ */
10012
+ 'stocklessSale'?: boolean;
10013
+ /**
10014
+ *
10015
+ * @type {PriceType}
10016
+ * @memberof VariantType
10017
+ */
10018
+ 'priceInfo': PriceType;
10019
+ /**
10020
+ *
10021
+ * @type {string}
10022
+ * @memberof VariantType
10023
+ */
10024
+ 'subVariant'?: string;
10025
+ /**
10026
+ *
10027
+ * @type {string}
10028
+ * @memberof VariantType
10029
+ */
10030
+ 'mainVariant': string;
10031
+ }
10076
10032
  /**
10077
10033
  * AddressApi - axios parameter creator
10078
10034
  * @export
package/dist/api/api.js CHANGED
@@ -699,8 +699,8 @@ exports.PlanStatusEnum = {
699
699
  * @enum {string}
700
700
  */
701
701
  exports.PlanTypeEnum = {
702
- FREE: 'free',
703
702
  STANDARD: 'standard',
703
+ ADVANCED: 'advanced',
704
704
  PREMIUM: 'premium'
705
705
  };
706
706
  /**
package/dist/api/api.mjs CHANGED
@@ -688,8 +688,8 @@ export const PlanStatusEnum = {
688
688
  * @enum {string}
689
689
  */
690
690
  export const PlanTypeEnum = {
691
- FREE: 'free',
692
691
  STANDARD: 'standard',
692
+ ADVANCED: 'advanced',
693
693
  PREMIUM: 'premium'
694
694
  };
695
695
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.2.47",
3
+ "version": "1.2.48",
4
4
  "description": "api-client-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": "8e429efb5b800a6259a57ef605b2f5ce3de9c1fb"
40
+ "gitHead": "263a4506ad4e6b73a8291fb9d8127032c2e11f1f"
41
41
  }