@infisale-client/api-client 1.3.17 → 1.3.19
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 +331 -180
- package/dist/api/api.js +23 -31
- package/dist/api/api.mjs +20 -28
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -47,37 +47,6 @@ export declare const CompanyUserStatusEnum: {
|
|
|
47
47
|
readonly DELETED: "deleted";
|
|
48
48
|
};
|
|
49
49
|
export type CompanyUserStatusEnum = typeof CompanyUserStatusEnum[keyof typeof CompanyUserStatusEnum];
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @export
|
|
53
|
-
* @enum {string}
|
|
54
|
-
*/
|
|
55
|
-
export declare const ComponentProductListTypeEnum: {
|
|
56
|
-
readonly GRID: "grid";
|
|
57
|
-
readonly CAROUSEL: "carousel";
|
|
58
|
-
};
|
|
59
|
-
export type ComponentProductListTypeEnum = typeof ComponentProductListTypeEnum[keyof typeof ComponentProductListTypeEnum];
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @export
|
|
63
|
-
* @enum {string}
|
|
64
|
-
*/
|
|
65
|
-
export declare const ComponentProductOrderEnum: {
|
|
66
|
-
readonly NEWEST: "newest";
|
|
67
|
-
readonly BEST_SELLING: "best_selling";
|
|
68
|
-
};
|
|
69
|
-
export type ComponentProductOrderEnum = typeof ComponentProductOrderEnum[keyof typeof ComponentProductOrderEnum];
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @export
|
|
73
|
-
* @enum {string}
|
|
74
|
-
*/
|
|
75
|
-
export declare const ComponentProductTypeEnum: {
|
|
76
|
-
readonly CATEGORY: "category";
|
|
77
|
-
readonly COLLECTION: "collection";
|
|
78
|
-
readonly BRAND: "brand";
|
|
79
|
-
};
|
|
80
|
-
export type ComponentProductTypeEnum = typeof ComponentProductTypeEnum[keyof typeof ComponentProductTypeEnum];
|
|
81
50
|
/**
|
|
82
51
|
*
|
|
83
52
|
* @export
|
|
@@ -4259,6 +4228,12 @@ export interface IContactFormPostRequest {
|
|
|
4259
4228
|
* @memberof IContactFormPostRequest
|
|
4260
4229
|
*/
|
|
4261
4230
|
'data': Array<IContactFormResponseDataInner>;
|
|
4231
|
+
/**
|
|
4232
|
+
*
|
|
4233
|
+
* @type {string}
|
|
4234
|
+
* @memberof IContactFormPostRequest
|
|
4235
|
+
*/
|
|
4236
|
+
'title'?: string;
|
|
4262
4237
|
/**
|
|
4263
4238
|
*
|
|
4264
4239
|
* @type {string}
|
|
@@ -4308,6 +4283,12 @@ export interface IContactFormResponse {
|
|
|
4308
4283
|
* @memberof IContactFormResponse
|
|
4309
4284
|
*/
|
|
4310
4285
|
'ip': string;
|
|
4286
|
+
/**
|
|
4287
|
+
*
|
|
4288
|
+
* @type {string}
|
|
4289
|
+
* @memberof IContactFormResponse
|
|
4290
|
+
*/
|
|
4291
|
+
'title': string;
|
|
4311
4292
|
/**
|
|
4312
4293
|
*
|
|
4313
4294
|
* @type {Array<IContactFormResponseDataInner>}
|
|
@@ -4326,7 +4307,7 @@ export interface IContactFormResponseDataInner {
|
|
|
4326
4307
|
* @type {string}
|
|
4327
4308
|
* @memberof IContactFormResponseDataInner
|
|
4328
4309
|
*/
|
|
4329
|
-
'value'
|
|
4310
|
+
'value'?: string;
|
|
4330
4311
|
/**
|
|
4331
4312
|
*
|
|
4332
4313
|
* @type {string}
|
|
@@ -5011,6 +4992,232 @@ export declare const IMyOrderCollectionQueryParamsDateFieldEnum: {
|
|
|
5011
4992
|
readonly UPDATED_AT: "updatedAt";
|
|
5012
4993
|
};
|
|
5013
4994
|
export type IMyOrderCollectionQueryParamsDateFieldEnum = typeof IMyOrderCollectionQueryParamsDateFieldEnum[keyof typeof IMyOrderCollectionQueryParamsDateFieldEnum];
|
|
4995
|
+
/**
|
|
4996
|
+
*
|
|
4997
|
+
* @export
|
|
4998
|
+
* @interface INavigationCollectionQueryParams
|
|
4999
|
+
*/
|
|
5000
|
+
export interface INavigationCollectionQueryParams {
|
|
5001
|
+
/**
|
|
5002
|
+
*
|
|
5003
|
+
* @type {number}
|
|
5004
|
+
* @memberof INavigationCollectionQueryParams
|
|
5005
|
+
*/
|
|
5006
|
+
'page'?: number;
|
|
5007
|
+
/**
|
|
5008
|
+
*
|
|
5009
|
+
* @type {number}
|
|
5010
|
+
* @memberof INavigationCollectionQueryParams
|
|
5011
|
+
*/
|
|
5012
|
+
'itemsPerPage'?: number;
|
|
5013
|
+
/**
|
|
5014
|
+
*
|
|
5015
|
+
* @type {string}
|
|
5016
|
+
* @memberof INavigationCollectionQueryParams
|
|
5017
|
+
*/
|
|
5018
|
+
'search'?: string;
|
|
5019
|
+
/**
|
|
5020
|
+
*
|
|
5021
|
+
* @type {string}
|
|
5022
|
+
* @memberof INavigationCollectionQueryParams
|
|
5023
|
+
*/
|
|
5024
|
+
'startDate'?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
*
|
|
5027
|
+
* @type {string}
|
|
5028
|
+
* @memberof INavigationCollectionQueryParams
|
|
5029
|
+
*/
|
|
5030
|
+
'endDate'?: string;
|
|
5031
|
+
/**
|
|
5032
|
+
*
|
|
5033
|
+
* @type {string}
|
|
5034
|
+
* @memberof INavigationCollectionQueryParams
|
|
5035
|
+
*/
|
|
5036
|
+
'dateField'?: INavigationCollectionQueryParamsDateFieldEnum;
|
|
5037
|
+
/**
|
|
5038
|
+
*
|
|
5039
|
+
* @type {OrderEnum}
|
|
5040
|
+
* @memberof INavigationCollectionQueryParams
|
|
5041
|
+
*/
|
|
5042
|
+
'order'?: OrderEnum;
|
|
5043
|
+
/**
|
|
5044
|
+
*
|
|
5045
|
+
* @type {string}
|
|
5046
|
+
* @memberof INavigationCollectionQueryParams
|
|
5047
|
+
*/
|
|
5048
|
+
'sort'?: string;
|
|
5049
|
+
/**
|
|
5050
|
+
*
|
|
5051
|
+
* @type {string}
|
|
5052
|
+
* @memberof INavigationCollectionQueryParams
|
|
5053
|
+
*/
|
|
5054
|
+
'companyId': string;
|
|
5055
|
+
}
|
|
5056
|
+
export declare const INavigationCollectionQueryParamsDateFieldEnum: {
|
|
5057
|
+
readonly CREATED_AT: "createdAt";
|
|
5058
|
+
readonly UPDATED_AT: "updatedAt";
|
|
5059
|
+
};
|
|
5060
|
+
export type INavigationCollectionQueryParamsDateFieldEnum = typeof INavigationCollectionQueryParamsDateFieldEnum[keyof typeof INavigationCollectionQueryParamsDateFieldEnum];
|
|
5061
|
+
/**
|
|
5062
|
+
*
|
|
5063
|
+
* @export
|
|
5064
|
+
* @interface INavigationLink
|
|
5065
|
+
*/
|
|
5066
|
+
export interface INavigationLink {
|
|
5067
|
+
/**
|
|
5068
|
+
*
|
|
5069
|
+
* @type {string}
|
|
5070
|
+
* @memberof INavigationLink
|
|
5071
|
+
*/
|
|
5072
|
+
'title': string;
|
|
5073
|
+
/**
|
|
5074
|
+
*
|
|
5075
|
+
* @type {string}
|
|
5076
|
+
* @memberof INavigationLink
|
|
5077
|
+
*/
|
|
5078
|
+
'url': string;
|
|
5079
|
+
/**
|
|
5080
|
+
*
|
|
5081
|
+
* @type {NavigationLinkTypeEnum}
|
|
5082
|
+
* @memberof INavigationLink
|
|
5083
|
+
*/
|
|
5084
|
+
'type': NavigationLinkTypeEnum;
|
|
5085
|
+
/**
|
|
5086
|
+
*
|
|
5087
|
+
* @type {any}
|
|
5088
|
+
* @memberof INavigationLink
|
|
5089
|
+
*/
|
|
5090
|
+
'object': any;
|
|
5091
|
+
}
|
|
5092
|
+
/**
|
|
5093
|
+
*
|
|
5094
|
+
* @export
|
|
5095
|
+
* @interface INavigationPostRequest
|
|
5096
|
+
*/
|
|
5097
|
+
export interface INavigationPostRequest {
|
|
5098
|
+
/**
|
|
5099
|
+
*
|
|
5100
|
+
* @type {string}
|
|
5101
|
+
* @memberof INavigationPostRequest
|
|
5102
|
+
*/
|
|
5103
|
+
'title': string;
|
|
5104
|
+
/**
|
|
5105
|
+
*
|
|
5106
|
+
* @type {string}
|
|
5107
|
+
* @memberof INavigationPostRequest
|
|
5108
|
+
*/
|
|
5109
|
+
'slug': string;
|
|
5110
|
+
/**
|
|
5111
|
+
*
|
|
5112
|
+
* @type {LanguageEnum}
|
|
5113
|
+
* @memberof INavigationPostRequest
|
|
5114
|
+
*/
|
|
5115
|
+
'locale': LanguageEnum;
|
|
5116
|
+
/**
|
|
5117
|
+
*
|
|
5118
|
+
* @type {Array<INavigationLink>}
|
|
5119
|
+
* @memberof INavigationPostRequest
|
|
5120
|
+
*/
|
|
5121
|
+
'links': Array<INavigationLink>;
|
|
5122
|
+
}
|
|
5123
|
+
/**
|
|
5124
|
+
*
|
|
5125
|
+
* @export
|
|
5126
|
+
* @interface INavigationResponse
|
|
5127
|
+
*/
|
|
5128
|
+
export interface INavigationResponse {
|
|
5129
|
+
/**
|
|
5130
|
+
*
|
|
5131
|
+
* @type {string}
|
|
5132
|
+
* @memberof INavigationResponse
|
|
5133
|
+
*/
|
|
5134
|
+
'_id': string;
|
|
5135
|
+
/**
|
|
5136
|
+
*
|
|
5137
|
+
* @type {number}
|
|
5138
|
+
* @memberof INavigationResponse
|
|
5139
|
+
*/
|
|
5140
|
+
'__v': number;
|
|
5141
|
+
/**
|
|
5142
|
+
*
|
|
5143
|
+
* @type {string}
|
|
5144
|
+
* @memberof INavigationResponse
|
|
5145
|
+
*/
|
|
5146
|
+
'createdAt': string;
|
|
5147
|
+
/**
|
|
5148
|
+
*
|
|
5149
|
+
* @type {string}
|
|
5150
|
+
* @memberof INavigationResponse
|
|
5151
|
+
*/
|
|
5152
|
+
'updatedAt': string;
|
|
5153
|
+
/**
|
|
5154
|
+
*
|
|
5155
|
+
* @type {string}
|
|
5156
|
+
* @memberof INavigationResponse
|
|
5157
|
+
*/
|
|
5158
|
+
'company': string;
|
|
5159
|
+
/**
|
|
5160
|
+
*
|
|
5161
|
+
* @type {LanguageEnum}
|
|
5162
|
+
* @memberof INavigationResponse
|
|
5163
|
+
*/
|
|
5164
|
+
'locale': LanguageEnum;
|
|
5165
|
+
/**
|
|
5166
|
+
*
|
|
5167
|
+
* @type {string}
|
|
5168
|
+
* @memberof INavigationResponse
|
|
5169
|
+
*/
|
|
5170
|
+
'title': string;
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @type {string}
|
|
5174
|
+
* @memberof INavigationResponse
|
|
5175
|
+
*/
|
|
5176
|
+
'slug': string;
|
|
5177
|
+
/**
|
|
5178
|
+
*
|
|
5179
|
+
* @type {Array<INavigationLink>}
|
|
5180
|
+
* @memberof INavigationResponse
|
|
5181
|
+
*/
|
|
5182
|
+
'links': Array<INavigationLink>;
|
|
5183
|
+
}
|
|
5184
|
+
/**
|
|
5185
|
+
*
|
|
5186
|
+
* @export
|
|
5187
|
+
* @interface INavigationsResponse
|
|
5188
|
+
*/
|
|
5189
|
+
export interface INavigationsResponse {
|
|
5190
|
+
/**
|
|
5191
|
+
*
|
|
5192
|
+
* @type {number}
|
|
5193
|
+
* @memberof INavigationsResponse
|
|
5194
|
+
*/
|
|
5195
|
+
'page': number;
|
|
5196
|
+
/**
|
|
5197
|
+
*
|
|
5198
|
+
* @type {number}
|
|
5199
|
+
* @memberof INavigationsResponse
|
|
5200
|
+
*/
|
|
5201
|
+
'itemsPerPage': number;
|
|
5202
|
+
/**
|
|
5203
|
+
*
|
|
5204
|
+
* @type {number}
|
|
5205
|
+
* @memberof INavigationsResponse
|
|
5206
|
+
*/
|
|
5207
|
+
'total': number;
|
|
5208
|
+
/**
|
|
5209
|
+
*
|
|
5210
|
+
* @type {number}
|
|
5211
|
+
* @memberof INavigationsResponse
|
|
5212
|
+
*/
|
|
5213
|
+
'totalPages': number;
|
|
5214
|
+
/**
|
|
5215
|
+
*
|
|
5216
|
+
* @type {Array<INavigationResponse>}
|
|
5217
|
+
* @memberof INavigationsResponse
|
|
5218
|
+
*/
|
|
5219
|
+
'data': Array<INavigationResponse>;
|
|
5220
|
+
}
|
|
5014
5221
|
/**
|
|
5015
5222
|
*
|
|
5016
5223
|
* @export
|
|
@@ -7459,10 +7666,10 @@ export interface IProductResponse {
|
|
|
7459
7666
|
'reviewCount': number;
|
|
7460
7667
|
/**
|
|
7461
7668
|
*
|
|
7462
|
-
* @type {
|
|
7669
|
+
* @type {PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts}
|
|
7463
7670
|
* @memberof IProductResponse
|
|
7464
7671
|
*/
|
|
7465
|
-
'reviewCounts':
|
|
7672
|
+
'reviewCounts': PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts;
|
|
7466
7673
|
/**
|
|
7467
7674
|
*
|
|
7468
7675
|
* @type {ContentStatusEnum}
|
|
@@ -7530,43 +7737,6 @@ export interface IProductResponse {
|
|
|
7530
7737
|
*/
|
|
7531
7738
|
'template': ITemplateResponse;
|
|
7532
7739
|
}
|
|
7533
|
-
/**
|
|
7534
|
-
*
|
|
7535
|
-
* @export
|
|
7536
|
-
* @interface IProductResponseReviewCounts
|
|
7537
|
-
*/
|
|
7538
|
-
export interface IProductResponseReviewCounts {
|
|
7539
|
-
/**
|
|
7540
|
-
*
|
|
7541
|
-
* @type {number}
|
|
7542
|
-
* @memberof IProductResponseReviewCounts
|
|
7543
|
-
*/
|
|
7544
|
-
'1': number;
|
|
7545
|
-
/**
|
|
7546
|
-
*
|
|
7547
|
-
* @type {number}
|
|
7548
|
-
* @memberof IProductResponseReviewCounts
|
|
7549
|
-
*/
|
|
7550
|
-
'2': number;
|
|
7551
|
-
/**
|
|
7552
|
-
*
|
|
7553
|
-
* @type {number}
|
|
7554
|
-
* @memberof IProductResponseReviewCounts
|
|
7555
|
-
*/
|
|
7556
|
-
'3': number;
|
|
7557
|
-
/**
|
|
7558
|
-
*
|
|
7559
|
-
* @type {number}
|
|
7560
|
-
* @memberof IProductResponseReviewCounts
|
|
7561
|
-
*/
|
|
7562
|
-
'4': number;
|
|
7563
|
-
/**
|
|
7564
|
-
*
|
|
7565
|
-
* @type {number}
|
|
7566
|
-
* @memberof IProductResponseReviewCounts
|
|
7567
|
-
*/
|
|
7568
|
-
'5': number;
|
|
7569
|
-
}
|
|
7570
7740
|
/**
|
|
7571
7741
|
*
|
|
7572
7742
|
* @export
|
|
@@ -8268,110 +8438,6 @@ export interface ITemplateComponentResponse {
|
|
|
8268
8438
|
* @memberof ITemplateComponentResponse
|
|
8269
8439
|
*/
|
|
8270
8440
|
'contents': Array<ITemplateComponentContentResponse>;
|
|
8271
|
-
/**
|
|
8272
|
-
*
|
|
8273
|
-
* @type {ITemplateComponentResponseProducts}
|
|
8274
|
-
* @memberof ITemplateComponentResponse
|
|
8275
|
-
*/
|
|
8276
|
-
'products'?: ITemplateComponentResponseProducts;
|
|
8277
|
-
/**
|
|
8278
|
-
*
|
|
8279
|
-
* @type {Array<ICategoryResponse>}
|
|
8280
|
-
* @memberof ITemplateComponentResponse
|
|
8281
|
-
*/
|
|
8282
|
-
'categories'?: Array<ICategoryResponse>;
|
|
8283
|
-
/**
|
|
8284
|
-
*
|
|
8285
|
-
* @type {Array<IBrandResponse>}
|
|
8286
|
-
* @memberof ITemplateComponentResponse
|
|
8287
|
-
*/
|
|
8288
|
-
'brands'?: Array<IBrandResponse>;
|
|
8289
|
-
/**
|
|
8290
|
-
*
|
|
8291
|
-
* @type {Array<ICollectionResponse>}
|
|
8292
|
-
* @memberof ITemplateComponentResponse
|
|
8293
|
-
*/
|
|
8294
|
-
'collections'?: Array<ICollectionResponse>;
|
|
8295
|
-
/**
|
|
8296
|
-
*
|
|
8297
|
-
* @type {ITemplateComponentResponsePages}
|
|
8298
|
-
* @memberof ITemplateComponentResponse
|
|
8299
|
-
*/
|
|
8300
|
-
'pages'?: ITemplateComponentResponsePages;
|
|
8301
|
-
}
|
|
8302
|
-
/**
|
|
8303
|
-
*
|
|
8304
|
-
* @export
|
|
8305
|
-
* @interface ITemplateComponentResponsePages
|
|
8306
|
-
*/
|
|
8307
|
-
export interface ITemplateComponentResponsePages {
|
|
8308
|
-
/**
|
|
8309
|
-
*
|
|
8310
|
-
* @type {number}
|
|
8311
|
-
* @memberof ITemplateComponentResponsePages
|
|
8312
|
-
*/
|
|
8313
|
-
'limit'?: number;
|
|
8314
|
-
/**
|
|
8315
|
-
*
|
|
8316
|
-
* @type {Array<IPageResponse>}
|
|
8317
|
-
* @memberof ITemplateComponentResponsePages
|
|
8318
|
-
*/
|
|
8319
|
-
'list'?: Array<IPageResponse>;
|
|
8320
|
-
/**
|
|
8321
|
-
*
|
|
8322
|
-
* @type {Array<IPageResponse>}
|
|
8323
|
-
* @memberof ITemplateComponentResponsePages
|
|
8324
|
-
*/
|
|
8325
|
-
'items'?: Array<IPageResponse>;
|
|
8326
|
-
}
|
|
8327
|
-
/**
|
|
8328
|
-
*
|
|
8329
|
-
* @export
|
|
8330
|
-
* @interface ITemplateComponentResponseProducts
|
|
8331
|
-
*/
|
|
8332
|
-
export interface ITemplateComponentResponseProducts {
|
|
8333
|
-
/**
|
|
8334
|
-
*
|
|
8335
|
-
* @type {Array<IProductResponse>}
|
|
8336
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8337
|
-
*/
|
|
8338
|
-
'list'?: Array<IProductResponse>;
|
|
8339
|
-
/**
|
|
8340
|
-
*
|
|
8341
|
-
* @type {number}
|
|
8342
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8343
|
-
*/
|
|
8344
|
-
'limit'?: number;
|
|
8345
|
-
/**
|
|
8346
|
-
*
|
|
8347
|
-
* @type {ComponentProductListTypeEnum}
|
|
8348
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8349
|
-
*/
|
|
8350
|
-
'listType': ComponentProductListTypeEnum;
|
|
8351
|
-
/**
|
|
8352
|
-
*
|
|
8353
|
-
* @type {ComponentProductOrderEnum}
|
|
8354
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8355
|
-
*/
|
|
8356
|
-
'order'?: ComponentProductOrderEnum;
|
|
8357
|
-
/**
|
|
8358
|
-
*
|
|
8359
|
-
* @type {ComponentProductTypeEnum}
|
|
8360
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8361
|
-
*/
|
|
8362
|
-
'relType'?: ComponentProductTypeEnum;
|
|
8363
|
-
/**
|
|
8364
|
-
*
|
|
8365
|
-
* @type {string}
|
|
8366
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8367
|
-
*/
|
|
8368
|
-
'relation'?: string;
|
|
8369
|
-
/**
|
|
8370
|
-
*
|
|
8371
|
-
* @type {Array<IProductResponse>}
|
|
8372
|
-
* @memberof ITemplateComponentResponseProducts
|
|
8373
|
-
*/
|
|
8374
|
-
'items'?: Array<IProductResponse>;
|
|
8375
8441
|
}
|
|
8376
8442
|
/**
|
|
8377
8443
|
*
|
|
@@ -9294,6 +9360,23 @@ export declare const LanguageEnum: {
|
|
|
9294
9360
|
readonly DE: "de";
|
|
9295
9361
|
};
|
|
9296
9362
|
export type LanguageEnum = typeof LanguageEnum[keyof typeof LanguageEnum];
|
|
9363
|
+
/**
|
|
9364
|
+
*
|
|
9365
|
+
* @export
|
|
9366
|
+
* @enum {string}
|
|
9367
|
+
*/
|
|
9368
|
+
export declare const NavigationLinkTypeEnum: {
|
|
9369
|
+
readonly BLOG_LINK: "blog_link";
|
|
9370
|
+
readonly COLLECTION_LINK: "collection_link";
|
|
9371
|
+
readonly CATEGORY_LINK: "category_link";
|
|
9372
|
+
readonly CUSTOMER_ACCOUNT_PAGE_LINK: "customer_account_page_link";
|
|
9373
|
+
readonly HTTP_LINK: "http_link";
|
|
9374
|
+
readonly PAGE_LINK: "page_link";
|
|
9375
|
+
readonly POLICY_LINK: "policy_link";
|
|
9376
|
+
readonly PRODUCT_LINK: "product_link";
|
|
9377
|
+
readonly UNIQUE_PAGE_LINK: "unique_page_link";
|
|
9378
|
+
};
|
|
9379
|
+
export type NavigationLinkTypeEnum = typeof NavigationLinkTypeEnum[keyof typeof NavigationLinkTypeEnum];
|
|
9297
9380
|
/**
|
|
9298
9381
|
*
|
|
9299
9382
|
* @export
|
|
@@ -10475,16 +10558,47 @@ export interface PickICompanyNameOrDomainsOrIdOrUsersOrLanguageOrOwnerOrRolesUse
|
|
|
10475
10558
|
/**
|
|
10476
10559
|
* From T, pick a set of properties whose keys are in the union K
|
|
10477
10560
|
* @export
|
|
10478
|
-
* @interface
|
|
10561
|
+
* @interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIpOrTitle
|
|
10479
10562
|
*/
|
|
10480
|
-
export interface
|
|
10563
|
+
export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIpOrTitle {
|
|
10481
10564
|
/**
|
|
10482
10565
|
*
|
|
10483
10566
|
* @type {Array<IContactFormResponseDataInner>}
|
|
10484
|
-
* @memberof
|
|
10567
|
+
* @memberof PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCompanyOrIpOrTitle
|
|
10485
10568
|
*/
|
|
10486
10569
|
'data': Array<IContactFormResponseDataInner>;
|
|
10487
10570
|
}
|
|
10571
|
+
/**
|
|
10572
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
10573
|
+
* @export
|
|
10574
|
+
* @interface PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
|
|
10575
|
+
*/
|
|
10576
|
+
export interface PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany {
|
|
10577
|
+
/**
|
|
10578
|
+
*
|
|
10579
|
+
* @type {string}
|
|
10580
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
|
|
10581
|
+
*/
|
|
10582
|
+
'title': string;
|
|
10583
|
+
/**
|
|
10584
|
+
*
|
|
10585
|
+
* @type {string}
|
|
10586
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
|
|
10587
|
+
*/
|
|
10588
|
+
'slug': string;
|
|
10589
|
+
/**
|
|
10590
|
+
*
|
|
10591
|
+
* @type {LanguageEnum}
|
|
10592
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
|
|
10593
|
+
*/
|
|
10594
|
+
'locale': LanguageEnum;
|
|
10595
|
+
/**
|
|
10596
|
+
*
|
|
10597
|
+
* @type {Array<INavigationLink>}
|
|
10598
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponseOrCompany
|
|
10599
|
+
*/
|
|
10600
|
+
'links': Array<INavigationLink>;
|
|
10601
|
+
}
|
|
10488
10602
|
/**
|
|
10489
10603
|
* From T, pick a set of properties whose keys are in the union K
|
|
10490
10604
|
* @export
|
|
@@ -11122,10 +11236,47 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
|
|
|
11122
11236
|
'reviewCount': number;
|
|
11123
11237
|
/**
|
|
11124
11238
|
*
|
|
11125
|
-
* @type {
|
|
11239
|
+
* @type {PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts}
|
|
11126
11240
|
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
|
|
11127
11241
|
*/
|
|
11128
|
-
'reviewCounts':
|
|
11242
|
+
'reviewCounts': PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts;
|
|
11243
|
+
}
|
|
11244
|
+
/**
|
|
11245
|
+
*
|
|
11246
|
+
* @export
|
|
11247
|
+
* @interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11248
|
+
*/
|
|
11249
|
+
export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts {
|
|
11250
|
+
/**
|
|
11251
|
+
*
|
|
11252
|
+
* @type {number}
|
|
11253
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11254
|
+
*/
|
|
11255
|
+
'1': number;
|
|
11256
|
+
/**
|
|
11257
|
+
*
|
|
11258
|
+
* @type {number}
|
|
11259
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11260
|
+
*/
|
|
11261
|
+
'2': number;
|
|
11262
|
+
/**
|
|
11263
|
+
*
|
|
11264
|
+
* @type {number}
|
|
11265
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11266
|
+
*/
|
|
11267
|
+
'3': number;
|
|
11268
|
+
/**
|
|
11269
|
+
*
|
|
11270
|
+
* @type {number}
|
|
11271
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11272
|
+
*/
|
|
11273
|
+
'4': number;
|
|
11274
|
+
/**
|
|
11275
|
+
*
|
|
11276
|
+
* @type {number}
|
|
11277
|
+
* @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFieldsReviewCounts
|
|
11278
|
+
*/
|
|
11279
|
+
'5': number;
|
|
11129
11280
|
}
|
|
11130
11281
|
/**
|
|
11131
11282
|
* From T, pick a set of properties whose keys are in the union K
|
package/dist/api/api.js
CHANGED
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.
|
|
20
|
-
exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum =
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator =
|
|
19
|
+
exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.NavigationLinkTypeEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPaymentPostRequestPeriodEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
@@ -56,34 +56,6 @@ exports.CompanyUserStatusEnum = {
|
|
|
56
56
|
UNEMPLOYED: 'unemployed',
|
|
57
57
|
DELETED: 'deleted'
|
|
58
58
|
};
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @export
|
|
62
|
-
* @enum {string}
|
|
63
|
-
*/
|
|
64
|
-
exports.ComponentProductListTypeEnum = {
|
|
65
|
-
GRID: 'grid',
|
|
66
|
-
CAROUSEL: 'carousel'
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
* @enum {string}
|
|
72
|
-
*/
|
|
73
|
-
exports.ComponentProductOrderEnum = {
|
|
74
|
-
NEWEST: 'newest',
|
|
75
|
-
BEST_SELLING: 'best_selling'
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @export
|
|
80
|
-
* @enum {string}
|
|
81
|
-
*/
|
|
82
|
-
exports.ComponentProductTypeEnum = {
|
|
83
|
-
CATEGORY: 'category',
|
|
84
|
-
COLLECTION: 'collection',
|
|
85
|
-
BRAND: 'brand'
|
|
86
|
-
};
|
|
87
59
|
/**
|
|
88
60
|
*
|
|
89
61
|
* @export
|
|
@@ -450,6 +422,10 @@ exports.IMyOrderCollectionQueryParamsDateFieldEnum = {
|
|
|
450
422
|
CREATED_AT: 'createdAt',
|
|
451
423
|
UPDATED_AT: 'updatedAt'
|
|
452
424
|
};
|
|
425
|
+
exports.INavigationCollectionQueryParamsDateFieldEnum = {
|
|
426
|
+
CREATED_AT: 'createdAt',
|
|
427
|
+
UPDATED_AT: 'updatedAt'
|
|
428
|
+
};
|
|
453
429
|
exports.INotificationCollectionQueryParamsDateFieldEnum = {
|
|
454
430
|
CREATED_AT: 'createdAt',
|
|
455
431
|
UPDATED_AT: 'updatedAt'
|
|
@@ -503,6 +479,22 @@ exports.LanguageEnum = {
|
|
|
503
479
|
EN: 'en',
|
|
504
480
|
DE: 'de'
|
|
505
481
|
};
|
|
482
|
+
/**
|
|
483
|
+
*
|
|
484
|
+
* @export
|
|
485
|
+
* @enum {string}
|
|
486
|
+
*/
|
|
487
|
+
exports.NavigationLinkTypeEnum = {
|
|
488
|
+
BLOG_LINK: 'blog_link',
|
|
489
|
+
COLLECTION_LINK: 'collection_link',
|
|
490
|
+
CATEGORY_LINK: 'category_link',
|
|
491
|
+
CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
|
|
492
|
+
HTTP_LINK: 'http_link',
|
|
493
|
+
PAGE_LINK: 'page_link',
|
|
494
|
+
POLICY_LINK: 'policy_link',
|
|
495
|
+
PRODUCT_LINK: 'product_link',
|
|
496
|
+
UNIQUE_PAGE_LINK: 'unique_page_link'
|
|
497
|
+
};
|
|
506
498
|
exports.NavigationUrlTargetEnum = {
|
|
507
499
|
BLANK: '_blank'
|
|
508
500
|
};
|
package/dist/api/api.mjs
CHANGED
|
@@ -45,34 +45,6 @@ export const CompanyUserStatusEnum = {
|
|
|
45
45
|
UNEMPLOYED: 'unemployed',
|
|
46
46
|
DELETED: 'deleted'
|
|
47
47
|
};
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @export
|
|
51
|
-
* @enum {string}
|
|
52
|
-
*/
|
|
53
|
-
export const ComponentProductListTypeEnum = {
|
|
54
|
-
GRID: 'grid',
|
|
55
|
-
CAROUSEL: 'carousel'
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @export
|
|
60
|
-
* @enum {string}
|
|
61
|
-
*/
|
|
62
|
-
export const ComponentProductOrderEnum = {
|
|
63
|
-
NEWEST: 'newest',
|
|
64
|
-
BEST_SELLING: 'best_selling'
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @export
|
|
69
|
-
* @enum {string}
|
|
70
|
-
*/
|
|
71
|
-
export const ComponentProductTypeEnum = {
|
|
72
|
-
CATEGORY: 'category',
|
|
73
|
-
COLLECTION: 'collection',
|
|
74
|
-
BRAND: 'brand'
|
|
75
|
-
};
|
|
76
48
|
/**
|
|
77
49
|
*
|
|
78
50
|
* @export
|
|
@@ -439,6 +411,10 @@ export const IMyOrderCollectionQueryParamsDateFieldEnum = {
|
|
|
439
411
|
CREATED_AT: 'createdAt',
|
|
440
412
|
UPDATED_AT: 'updatedAt'
|
|
441
413
|
};
|
|
414
|
+
export const INavigationCollectionQueryParamsDateFieldEnum = {
|
|
415
|
+
CREATED_AT: 'createdAt',
|
|
416
|
+
UPDATED_AT: 'updatedAt'
|
|
417
|
+
};
|
|
442
418
|
export const INotificationCollectionQueryParamsDateFieldEnum = {
|
|
443
419
|
CREATED_AT: 'createdAt',
|
|
444
420
|
UPDATED_AT: 'updatedAt'
|
|
@@ -492,6 +468,22 @@ export const LanguageEnum = {
|
|
|
492
468
|
EN: 'en',
|
|
493
469
|
DE: 'de'
|
|
494
470
|
};
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @export
|
|
474
|
+
* @enum {string}
|
|
475
|
+
*/
|
|
476
|
+
export const NavigationLinkTypeEnum = {
|
|
477
|
+
BLOG_LINK: 'blog_link',
|
|
478
|
+
COLLECTION_LINK: 'collection_link',
|
|
479
|
+
CATEGORY_LINK: 'category_link',
|
|
480
|
+
CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
|
|
481
|
+
HTTP_LINK: 'http_link',
|
|
482
|
+
PAGE_LINK: 'page_link',
|
|
483
|
+
POLICY_LINK: 'policy_link',
|
|
484
|
+
PRODUCT_LINK: 'product_link',
|
|
485
|
+
UNIQUE_PAGE_LINK: 'unique_page_link'
|
|
486
|
+
};
|
|
495
487
|
export const NavigationUrlTargetEnum = {
|
|
496
488
|
BLANK: '_blank'
|
|
497
489
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.19",
|
|
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": "
|
|
40
|
+
"gitHead": "ab2a2d0253bff294e342c7f3c545f8657f47ea11"
|
|
41
41
|
}
|