@infisale-client/api 1.3.14 → 1.3.16

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
@@ -377,7 +377,6 @@ export declare const CurrencyEnum: {
377
377
  readonly EUR: "eur";
378
378
  readonly TRY: "try";
379
379
  readonly GBP: "gbp";
380
- readonly JPY: "jpy";
381
380
  };
382
381
  export type CurrencyEnum = typeof CurrencyEnum[keyof typeof CurrencyEnum];
383
382
  /**
@@ -2896,10 +2895,10 @@ export interface ICompanyCreateShippingProvidersRequest {
2896
2895
  'title': string;
2897
2896
  /**
2898
2897
  *
2899
- * @type {Array<string>}
2898
+ * @type {Array<StoreLocationEnum>}
2900
2899
  * @memberof ICompanyCreateShippingProvidersRequest
2901
2900
  */
2902
- 'states': Array<string>;
2901
+ 'states': Array<StoreLocationEnum>;
2903
2902
  /**
2904
2903
  *
2905
2904
  * @type {Array<ShippingProviderRates>}
@@ -3384,6 +3383,12 @@ export interface ICompanyPostRequest {
3384
3383
  * @memberof ICompanyPostRequest
3385
3384
  */
3386
3385
  'currency': CurrencyEnum;
3386
+ /**
3387
+ *
3388
+ * @type {StoreLocationEnum}
3389
+ * @memberof ICompanyPostRequest
3390
+ */
3391
+ 'storeLocation': StoreLocationEnum;
3387
3392
  /**
3388
3393
  *
3389
3394
  * @type {string}
@@ -4049,10 +4054,10 @@ export interface ICompanyUpdateShippingProvidersRequest {
4049
4054
  'title'?: string;
4050
4055
  /**
4051
4056
  *
4052
- * @type {Array<string>}
4057
+ * @type {Array<StoreLocationEnum>}
4053
4058
  * @memberof ICompanyUpdateShippingProvidersRequest
4054
4059
  */
4055
- 'states'?: Array<string>;
4060
+ 'states'?: Array<StoreLocationEnum>;
4056
4061
  /**
4057
4062
  *
4058
4063
  * @type {Array<ShippingProviderRates>}
@@ -6250,10 +6255,10 @@ export interface IPageCollectionQueryParams {
6250
6255
  'domain'?: string;
6251
6256
  /**
6252
6257
  *
6253
- * @type {PageTypeEnum}
6258
+ * @type {string}
6254
6259
  * @memberof IPageCollectionQueryParams
6255
6260
  */
6256
- 'type'?: PageTypeEnum;
6261
+ 'type'?: string;
6257
6262
  /**
6258
6263
  *
6259
6264
  * @type {ContentStatusEnum}
@@ -6298,10 +6303,10 @@ export interface IPageGetAllQueryParams {
6298
6303
  'template'?: string;
6299
6304
  /**
6300
6305
  *
6301
- * @type {Array<PageTypeEnum>}
6306
+ * @type {Array<string>}
6302
6307
  * @memberof IPageGetAllQueryParams
6303
6308
  */
6304
- 'type'?: Array<PageTypeEnum>;
6309
+ 'type'?: Array<string>;
6305
6310
  }
6306
6311
  /**
6307
6312
  *
@@ -6329,10 +6334,10 @@ export interface IPagePatchRequest {
6329
6334
  'thumbnail'?: IImage;
6330
6335
  /**
6331
6336
  *
6332
- * @type {PageTypeEnum}
6337
+ * @type {string}
6333
6338
  * @memberof IPagePatchRequest
6334
6339
  */
6335
- 'type'?: PageTypeEnum;
6340
+ 'type'?: string;
6336
6341
  }
6337
6342
  /**
6338
6343
  *
@@ -6360,10 +6365,10 @@ export interface IPagePostRequest {
6360
6365
  'thumbnail'?: IImage;
6361
6366
  /**
6362
6367
  *
6363
- * @type {PageTypeEnum}
6368
+ * @type {string}
6364
6369
  * @memberof IPagePostRequest
6365
6370
  */
6366
- 'type': PageTypeEnum;
6371
+ 'type': string;
6367
6372
  /**
6368
6373
  *
6369
6374
  * @type {ITemplateResponse}
@@ -6435,10 +6440,10 @@ export interface IPageResponse {
6435
6440
  'thumbnail'?: IImage;
6436
6441
  /**
6437
6442
  *
6438
- * @type {PageTypeEnum}
6443
+ * @type {string}
6439
6444
  * @memberof IPageResponse
6440
6445
  */
6441
- 'type': PageTypeEnum;
6446
+ 'type': string;
6442
6447
  /**
6443
6448
  *
6444
6449
  * @type {ContentStatusEnum}
@@ -8406,10 +8411,10 @@ export interface ITemplatePatchRequest {
8406
8411
  'components'?: PartialRecordLanguageEnumITemplateComponentResponseArray;
8407
8412
  /**
8408
8413
  *
8409
- * @type {TemplateTypeEnum}
8414
+ * @type {string}
8410
8415
  * @memberof ITemplatePatchRequest
8411
8416
  */
8412
- 'type'?: TemplateTypeEnum;
8417
+ 'type'?: string;
8413
8418
  /**
8414
8419
  *
8415
8420
  * @type {boolean}
@@ -8449,10 +8454,10 @@ export interface ITemplatePostRequest {
8449
8454
  'theme': string;
8450
8455
  /**
8451
8456
  *
8452
- * @type {TemplateTypeEnum}
8457
+ * @type {string}
8453
8458
  * @memberof ITemplatePostRequest
8454
8459
  */
8455
- 'type': TemplateTypeEnum;
8460
+ 'type': string;
8456
8461
  /**
8457
8462
  *
8458
8463
  * @type {boolean}
@@ -8510,10 +8515,10 @@ export interface ITemplateResponse {
8510
8515
  'theme': string;
8511
8516
  /**
8512
8517
  *
8513
- * @type {TemplateTypeEnum}
8518
+ * @type {string}
8514
8519
  * @memberof ITemplateResponse
8515
8520
  */
8516
- 'type': TemplateTypeEnum;
8521
+ 'type': string;
8517
8522
  /**
8518
8523
  *
8519
8524
  * @type {boolean}
@@ -9459,22 +9464,6 @@ export declare const OrderStatusEnum: {
9459
9464
  readonly CREATED: "created";
9460
9465
  };
9461
9466
  export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
9462
- /**
9463
- *
9464
- * @export
9465
- * @enum {string}
9466
- */
9467
- export declare const PageTypeEnum: {
9468
- readonly BLOG: "blog";
9469
- readonly PAGE: "page";
9470
- readonly HOME: "home";
9471
- readonly CART: "cart";
9472
- readonly CHECKOUT: "checkout";
9473
- readonly SEARCH: "search";
9474
- readonly NOT_FOUND: "not-found";
9475
- readonly BLOGS: "blogs";
9476
- };
9477
- export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
9478
9467
  /**
9479
9468
  * Make all properties in T optional
9480
9469
  * @export
@@ -10979,10 +10968,10 @@ export interface PickIPageExcludeKeyofIPageTemplate {
10979
10968
  'thumbnail'?: IImage;
10980
10969
  /**
10981
10970
  *
10982
- * @type {PageTypeEnum}
10971
+ * @type {string}
10983
10972
  * @memberof PickIPageExcludeKeyofIPageTemplate
10984
10973
  */
10985
- 'type': PageTypeEnum;
10974
+ 'type': string;
10986
10975
  }
10987
10976
  /**
10988
10977
  * From T, pick a set of properties whose keys are in the union K
@@ -11010,10 +10999,10 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
11010
10999
  'thumbnail'?: IImage;
11011
11000
  /**
11012
11001
  *
11013
- * @type {PageTypeEnum}
11002
+ * @type {string}
11014
11003
  * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
11015
11004
  */
11016
- 'type': PageTypeEnum;
11005
+ 'type': string;
11017
11006
  }
11018
11007
  /**
11019
11008
  * From T, pick a set of properties whose keys are in the union K
@@ -11468,10 +11457,10 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
11468
11457
  'theme': string;
11469
11458
  /**
11470
11459
  *
11471
- * @type {TemplateTypeEnum}
11460
+ * @type {string}
11472
11461
  * @memberof PickITemplateExcludeKeyofITemplateComponents
11473
11462
  */
11474
- 'type': TemplateTypeEnum;
11463
+ 'type': string;
11475
11464
  /**
11476
11465
  *
11477
11466
  * @type {boolean}
@@ -11511,10 +11500,10 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
11511
11500
  'theme': string;
11512
11501
  /**
11513
11502
  *
11514
- * @type {TemplateTypeEnum}
11503
+ * @type {string}
11515
11504
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
11516
11505
  */
11517
- 'type': TemplateTypeEnum;
11506
+ 'type': string;
11518
11507
  /**
11519
11508
  *
11520
11509
  * @type {boolean}
@@ -11887,10 +11876,10 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
11887
11876
  'title': string;
11888
11877
  /**
11889
11878
  *
11890
- * @type {Array<string>}
11879
+ * @type {Array<StoreLocationEnum>}
11891
11880
  * @memberof PickShippingProviderExcludeKeyofShippingProviderId
11892
11881
  */
11893
- 'states': Array<string>;
11882
+ 'states': Array<StoreLocationEnum>;
11894
11883
  /**
11895
11884
  *
11896
11885
  * @type {Array<ShippingProviderRates>}
@@ -12029,12 +12018,6 @@ export interface RecordCurrencyEnumCurrency {
12029
12018
  * @memberof RecordCurrencyEnumCurrency
12030
12019
  */
12031
12020
  'gbp': Currency;
12032
- /**
12033
- *
12034
- * @type {Currency}
12035
- * @memberof RecordCurrencyEnumCurrency
12036
- */
12037
- 'jpy': Currency;
12038
12021
  }
12039
12022
  /**
12040
12023
  * Construct a type with a set of properties K of type T
@@ -12066,12 +12049,6 @@ export interface RecordCurrencyEnumNumber {
12066
12049
  * @memberof RecordCurrencyEnumNumber
12067
12050
  */
12068
12051
  'gbp': number;
12069
- /**
12070
- *
12071
- * @type {number}
12072
- * @memberof RecordCurrencyEnumNumber
12073
- */
12074
- 'jpy': number;
12075
12052
  }
12076
12053
  /**
12077
12054
  * Construct a type with a set of properties K of type T
@@ -12233,10 +12210,10 @@ export interface ShippingProvider {
12233
12210
  'rates': Array<ShippingProviderRates>;
12234
12211
  /**
12235
12212
  *
12236
- * @type {Array<string>}
12213
+ * @type {Array<StoreLocationEnum>}
12237
12214
  * @memberof ShippingProvider
12238
12215
  */
12239
- 'states': Array<string>;
12216
+ 'states': Array<StoreLocationEnum>;
12240
12217
  /**
12241
12218
  *
12242
12219
  * @type {string}
@@ -12324,6 +12301,16 @@ export interface StockTypeValue {
12324
12301
  */
12325
12302
  'quantity': number;
12326
12303
  }
12304
+ /**
12305
+ *
12306
+ * @export
12307
+ * @enum {string}
12308
+ */
12309
+ export declare const StoreLocationEnum: {
12310
+ readonly DE: "DE";
12311
+ readonly TR: "TR";
12312
+ };
12313
+ export type StoreLocationEnum = typeof StoreLocationEnum[keyof typeof StoreLocationEnum];
12327
12314
  /**
12328
12315
  *
12329
12316
  * @export
@@ -12355,24 +12342,6 @@ export interface SubCategories {
12355
12342
  */
12356
12343
  '_id': string;
12357
12344
  }
12358
- /**
12359
- *
12360
- * @export
12361
- * @enum {string}
12362
- */
12363
- export declare const TemplateTypeEnum: {
12364
- readonly PRODUCT: "product";
12365
- readonly PAGE: "page";
12366
- readonly COLLECTION: "collection";
12367
- readonly HOME: "home";
12368
- readonly CART: "cart";
12369
- readonly CHECKOUT: "checkout";
12370
- readonly NOT_FOUND: "not-found";
12371
- readonly BLOG: "blog";
12372
- readonly SEARCH: "search";
12373
- readonly BLOGS: "blogs";
12374
- };
12375
- export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
12376
12345
  /**
12377
12346
  *
12378
12347
  * @export
@@ -19113,11 +19082,11 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
19113
19082
  * @param {string} [domain]
19114
19083
  * @param {string} [search]
19115
19084
  * @param {string} [template]
19116
- * @param {Array<PageTypeEnum>} [type]
19085
+ * @param {Array<string>} [type]
19117
19086
  * @param {*} [options] Override http request option.
19118
19087
  * @throws {RequiredError}
19119
19088
  */
19120
- getAllPages: (companyId?: string, domain?: string, search?: string, template?: string, type?: Array<PageTypeEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19089
+ getAllPages: (companyId?: string, domain?: string, search?: string, template?: string, type?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19121
19090
  /**
19122
19091
  *
19123
19092
  * @param {string} id
@@ -19136,14 +19105,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
19136
19105
  getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19137
19106
  /**
19138
19107
  *
19139
- * @param {PageTypeEnum} type
19108
+ * @param {string} type
19140
19109
  * @param {string} [companyId]
19141
19110
  * @param {string} [domain]
19142
19111
  * @param {string} [template]
19143
19112
  * @param {*} [options] Override http request option.
19144
19113
  * @throws {RequiredError}
19145
19114
  */
19146
- getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19115
+ getPageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19147
19116
  /**
19148
19117
  *
19149
19118
  * @param {number} [page]
@@ -19156,12 +19125,12 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
19156
19125
  * @param {string} [sort]
19157
19126
  * @param {string} [companyId]
19158
19127
  * @param {string} [domain]
19159
- * @param {PageTypeEnum} [type]
19128
+ * @param {string} [type]
19160
19129
  * @param {ContentStatusEnum} [status]
19161
19130
  * @param {*} [options] Override http request option.
19162
19131
  * @throws {RequiredError}
19163
19132
  */
19164
- getPages: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?: PageTypeEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19133
+ getPages: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19165
19134
  /**
19166
19135
  *
19167
19136
  * @param {string} id
@@ -19196,11 +19165,11 @@ export declare const PageApiFp: (configuration?: Configuration) => {
19196
19165
  * @param {string} [domain]
19197
19166
  * @param {string} [search]
19198
19167
  * @param {string} [template]
19199
- * @param {Array<PageTypeEnum>} [type]
19168
+ * @param {Array<string>} [type]
19200
19169
  * @param {*} [options] Override http request option.
19201
19170
  * @throws {RequiredError}
19202
19171
  */
19203
- getAllPages(companyId?: string, domain?: string, search?: string, template?: string, type?: Array<PageTypeEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
19172
+ getAllPages(companyId?: string, domain?: string, search?: string, template?: string, type?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
19204
19173
  /**
19205
19174
  *
19206
19175
  * @param {string} id
@@ -19219,14 +19188,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
19219
19188
  getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
19220
19189
  /**
19221
19190
  *
19222
- * @param {PageTypeEnum} type
19191
+ * @param {string} type
19223
19192
  * @param {string} [companyId]
19224
19193
  * @param {string} [domain]
19225
19194
  * @param {string} [template]
19226
19195
  * @param {*} [options] Override http request option.
19227
19196
  * @throws {RequiredError}
19228
19197
  */
19229
- getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
19198
+ getPageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
19230
19199
  /**
19231
19200
  *
19232
19201
  * @param {number} [page]
@@ -19239,12 +19208,12 @@ export declare const PageApiFp: (configuration?: Configuration) => {
19239
19208
  * @param {string} [sort]
19240
19209
  * @param {string} [companyId]
19241
19210
  * @param {string} [domain]
19242
- * @param {PageTypeEnum} [type]
19211
+ * @param {string} [type]
19243
19212
  * @param {ContentStatusEnum} [status]
19244
19213
  * @param {*} [options] Override http request option.
19245
19214
  * @throws {RequiredError}
19246
19215
  */
19247
- getPages(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?: PageTypeEnum, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
19216
+ getPages(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?: string, status?: ContentStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
19248
19217
  /**
19249
19218
  *
19250
19219
  * @param {string} id
@@ -19374,10 +19343,10 @@ export interface PageApiGetAllPagesRequest {
19374
19343
  readonly template?: string;
19375
19344
  /**
19376
19345
  *
19377
- * @type {Array<PageTypeEnum>}
19346
+ * @type {Array<string>}
19378
19347
  * @memberof PageApiGetAllPages
19379
19348
  */
19380
- readonly type?: Array<PageTypeEnum>;
19349
+ readonly type?: Array<string>;
19381
19350
  }
19382
19351
  /**
19383
19352
  * Request parameters for getPageById operation in PageApi.
@@ -19425,10 +19394,10 @@ export interface PageApiGetPageBySlugRequest {
19425
19394
  export interface PageApiGetPageByTypeRequest {
19426
19395
  /**
19427
19396
  *
19428
- * @type {PageTypeEnum}
19397
+ * @type {string}
19429
19398
  * @memberof PageApiGetPageByType
19430
19399
  */
19431
- readonly type: PageTypeEnum;
19400
+ readonly type: string;
19432
19401
  /**
19433
19402
  *
19434
19403
  * @type {string}
@@ -19516,10 +19485,10 @@ export interface PageApiGetPagesRequest {
19516
19485
  readonly domain?: string;
19517
19486
  /**
19518
19487
  *
19519
- * @type {PageTypeEnum}
19488
+ * @type {string}
19520
19489
  * @memberof PageApiGetPages
19521
19490
  */
19522
- readonly type?: PageTypeEnum;
19491
+ readonly type?: string;
19523
19492
  /**
19524
19493
  *
19525
19494
  * @type {ContentStatusEnum}
@@ -20737,14 +20706,14 @@ export declare const TemplateApiAxiosParamCreator: (configuration?: Configuratio
20737
20706
  /**
20738
20707
  *
20739
20708
  * @param {string} companyId
20740
- * @param {TemplateTypeEnum} [type]
20709
+ * @param {string} [type]
20741
20710
  * @param {string} [search]
20742
20711
  * @param {string} [theme]
20743
20712
  * @param {boolean} [unique]
20744
20713
  * @param {*} [options] Override http request option.
20745
20714
  * @throws {RequiredError}
20746
20715
  */
20747
- getTemplates: (companyId: string, type?: TemplateTypeEnum, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20716
+ getTemplates: (companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20748
20717
  /**
20749
20718
  *
20750
20719
  * @param {string} id
@@ -20776,14 +20745,14 @@ export declare const TemplateApiFp: (configuration?: Configuration) => {
20776
20745
  /**
20777
20746
  *
20778
20747
  * @param {string} companyId
20779
- * @param {TemplateTypeEnum} [type]
20748
+ * @param {string} [type]
20780
20749
  * @param {string} [search]
20781
20750
  * @param {string} [theme]
20782
20751
  * @param {boolean} [unique]
20783
20752
  * @param {*} [options] Override http request option.
20784
20753
  * @throws {RequiredError}
20785
20754
  */
20786
- getTemplates(companyId: string, type?: TemplateTypeEnum, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
20755
+ getTemplates(companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
20787
20756
  /**
20788
20757
  *
20789
20758
  * @param {string} id
@@ -20867,10 +20836,10 @@ export interface TemplateApiGetTemplatesRequest {
20867
20836
  readonly companyId: string;
20868
20837
  /**
20869
20838
  *
20870
- * @type {TemplateTypeEnum}
20839
+ * @type {string}
20871
20840
  * @memberof TemplateApiGetTemplates
20872
20841
  */
20873
- readonly type?: TemplateTypeEnum;
20842
+ readonly type?: string;
20874
20843
  /**
20875
20844
  *
20876
20845
  * @type {string}
package/dist/api/api.js CHANGED
@@ -16,10 +16,10 @@ 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.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentStatusEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = 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.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
- exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = void 0;
21
- exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = void 0;
22
- exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = exports.UniquePageApi = void 0;
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.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
+ exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = 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 = exports.PlanStatusEnum = void 0;
21
+ exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = void 0;
22
+ exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.GetUniquePagesDateFieldEnum = void 0;
23
23
  const axios_1 = __importDefault(require("axios"));
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
@@ -356,8 +356,7 @@ exports.CurrencyEnum = {
356
356
  USD: 'usd',
357
357
  EUR: 'eur',
358
358
  TRY: 'try',
359
- GBP: 'gbp',
360
- JPY: 'jpy'
359
+ GBP: 'gbp'
361
360
  };
362
361
  /**
363
362
  *
@@ -603,21 +602,6 @@ exports.OrderStatusEnum = {
603
602
  CANCELLED: 'cancelled',
604
603
  CREATED: 'created'
605
604
  };
606
- /**
607
- *
608
- * @export
609
- * @enum {string}
610
- */
611
- exports.PageTypeEnum = {
612
- BLOG: 'blog',
613
- PAGE: 'page',
614
- HOME: 'home',
615
- CART: 'cart',
616
- CHECKOUT: 'checkout',
617
- SEARCH: 'search',
618
- NOT_FOUND: 'not-found',
619
- BLOGS: 'blogs'
620
- };
621
605
  /**
622
606
  *
623
607
  * @export
@@ -718,17 +702,9 @@ exports.SitemapTypeEnum = {
718
702
  * @export
719
703
  * @enum {string}
720
704
  */
721
- exports.TemplateTypeEnum = {
722
- PRODUCT: 'product',
723
- PAGE: 'page',
724
- COLLECTION: 'collection',
725
- HOME: 'home',
726
- CART: 'cart',
727
- CHECKOUT: 'checkout',
728
- NOT_FOUND: 'not-found',
729
- BLOG: 'blog',
730
- SEARCH: 'search',
731
- BLOGS: 'blogs'
705
+ exports.StoreLocationEnum = {
706
+ DE: 'DE',
707
+ TR: 'TR'
732
708
  };
733
709
  /**
734
710
  *
@@ -9179,7 +9155,7 @@ const PageApiAxiosParamCreator = function (configuration) {
9179
9155
  * @param {string} [domain]
9180
9156
  * @param {string} [search]
9181
9157
  * @param {string} [template]
9182
- * @param {Array<PageTypeEnum>} [type]
9158
+ * @param {Array<string>} [type]
9183
9159
  * @param {*} [options] Override http request option.
9184
9160
  * @throws {RequiredError}
9185
9161
  */
@@ -9283,7 +9259,7 @@ const PageApiAxiosParamCreator = function (configuration) {
9283
9259
  },
9284
9260
  /**
9285
9261
  *
9286
- * @param {PageTypeEnum} type
9262
+ * @param {string} type
9287
9263
  * @param {string} [companyId]
9288
9264
  * @param {string} [domain]
9289
9265
  * @param {string} [template]
@@ -9333,7 +9309,7 @@ const PageApiAxiosParamCreator = function (configuration) {
9333
9309
  * @param {string} [sort]
9334
9310
  * @param {string} [companyId]
9335
9311
  * @param {string} [domain]
9336
- * @param {PageTypeEnum} [type]
9312
+ * @param {string} [type]
9337
9313
  * @param {ContentStatusEnum} [status]
9338
9314
  * @param {*} [options] Override http request option.
9339
9315
  * @throws {RequiredError}
@@ -9470,7 +9446,7 @@ const PageApiFp = function (configuration) {
9470
9446
  * @param {string} [domain]
9471
9447
  * @param {string} [search]
9472
9448
  * @param {string} [template]
9473
- * @param {Array<PageTypeEnum>} [type]
9449
+ * @param {Array<string>} [type]
9474
9450
  * @param {*} [options] Override http request option.
9475
9451
  * @throws {RequiredError}
9476
9452
  */
@@ -9508,7 +9484,7 @@ const PageApiFp = function (configuration) {
9508
9484
  },
9509
9485
  /**
9510
9486
  *
9511
- * @param {PageTypeEnum} type
9487
+ * @param {string} type
9512
9488
  * @param {string} [companyId]
9513
9489
  * @param {string} [domain]
9514
9490
  * @param {string} [template]
@@ -9533,7 +9509,7 @@ const PageApiFp = function (configuration) {
9533
9509
  * @param {string} [sort]
9534
9510
  * @param {string} [companyId]
9535
9511
  * @param {string} [domain]
9536
- * @param {PageTypeEnum} [type]
9512
+ * @param {string} [type]
9537
9513
  * @param {ContentStatusEnum} [status]
9538
9514
  * @param {*} [options] Override http request option.
9539
9515
  * @throws {RequiredError}
@@ -11101,7 +11077,7 @@ const TemplateApiAxiosParamCreator = function (configuration) {
11101
11077
  /**
11102
11078
  *
11103
11079
  * @param {string} companyId
11104
- * @param {TemplateTypeEnum} [type]
11080
+ * @param {string} [type]
11105
11081
  * @param {string} [search]
11106
11082
  * @param {string} [theme]
11107
11083
  * @param {boolean} [unique]
@@ -11214,7 +11190,7 @@ const TemplateApiFp = function (configuration) {
11214
11190
  /**
11215
11191
  *
11216
11192
  * @param {string} companyId
11217
- * @param {TemplateTypeEnum} [type]
11193
+ * @param {string} [type]
11218
11194
  * @param {string} [search]
11219
11195
  * @param {string} [theme]
11220
11196
  * @param {boolean} [unique]
package/dist/api/api.mjs CHANGED
@@ -344,8 +344,7 @@ export const CurrencyEnum = {
344
344
  USD: 'usd',
345
345
  EUR: 'eur',
346
346
  TRY: 'try',
347
- GBP: 'gbp',
348
- JPY: 'jpy'
347
+ GBP: 'gbp'
349
348
  };
350
349
  /**
351
350
  *
@@ -591,21 +590,6 @@ export const OrderStatusEnum = {
591
590
  CANCELLED: 'cancelled',
592
591
  CREATED: 'created'
593
592
  };
594
- /**
595
- *
596
- * @export
597
- * @enum {string}
598
- */
599
- export const PageTypeEnum = {
600
- BLOG: 'blog',
601
- PAGE: 'page',
602
- HOME: 'home',
603
- CART: 'cart',
604
- CHECKOUT: 'checkout',
605
- SEARCH: 'search',
606
- NOT_FOUND: 'not-found',
607
- BLOGS: 'blogs'
608
- };
609
593
  /**
610
594
  *
611
595
  * @export
@@ -706,17 +690,9 @@ export const SitemapTypeEnum = {
706
690
  * @export
707
691
  * @enum {string}
708
692
  */
709
- export const TemplateTypeEnum = {
710
- PRODUCT: 'product',
711
- PAGE: 'page',
712
- COLLECTION: 'collection',
713
- HOME: 'home',
714
- CART: 'cart',
715
- CHECKOUT: 'checkout',
716
- NOT_FOUND: 'not-found',
717
- BLOG: 'blog',
718
- SEARCH: 'search',
719
- BLOGS: 'blogs'
693
+ export const StoreLocationEnum = {
694
+ DE: 'DE',
695
+ TR: 'TR'
720
696
  };
721
697
  /**
722
698
  *
@@ -9119,7 +9095,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
9119
9095
  * @param {string} [domain]
9120
9096
  * @param {string} [search]
9121
9097
  * @param {string} [template]
9122
- * @param {Array<PageTypeEnum>} [type]
9098
+ * @param {Array<string>} [type]
9123
9099
  * @param {*} [options] Override http request option.
9124
9100
  * @throws {RequiredError}
9125
9101
  */
@@ -9223,7 +9199,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
9223
9199
  },
9224
9200
  /**
9225
9201
  *
9226
- * @param {PageTypeEnum} type
9202
+ * @param {string} type
9227
9203
  * @param {string} [companyId]
9228
9204
  * @param {string} [domain]
9229
9205
  * @param {string} [template]
@@ -9273,7 +9249,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
9273
9249
  * @param {string} [sort]
9274
9250
  * @param {string} [companyId]
9275
9251
  * @param {string} [domain]
9276
- * @param {PageTypeEnum} [type]
9252
+ * @param {string} [type]
9277
9253
  * @param {ContentStatusEnum} [status]
9278
9254
  * @param {*} [options] Override http request option.
9279
9255
  * @throws {RequiredError}
@@ -9409,7 +9385,7 @@ export const PageApiFp = function (configuration) {
9409
9385
  * @param {string} [domain]
9410
9386
  * @param {string} [search]
9411
9387
  * @param {string} [template]
9412
- * @param {Array<PageTypeEnum>} [type]
9388
+ * @param {Array<string>} [type]
9413
9389
  * @param {*} [options] Override http request option.
9414
9390
  * @throws {RequiredError}
9415
9391
  */
@@ -9447,7 +9423,7 @@ export const PageApiFp = function (configuration) {
9447
9423
  },
9448
9424
  /**
9449
9425
  *
9450
- * @param {PageTypeEnum} type
9426
+ * @param {string} type
9451
9427
  * @param {string} [companyId]
9452
9428
  * @param {string} [domain]
9453
9429
  * @param {string} [template]
@@ -9472,7 +9448,7 @@ export const PageApiFp = function (configuration) {
9472
9448
  * @param {string} [sort]
9473
9449
  * @param {string} [companyId]
9474
9450
  * @param {string} [domain]
9475
- * @param {PageTypeEnum} [type]
9451
+ * @param {string} [type]
9476
9452
  * @param {ContentStatusEnum} [status]
9477
9453
  * @param {*} [options] Override http request option.
9478
9454
  * @throws {RequiredError}
@@ -11025,7 +11001,7 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
11025
11001
  /**
11026
11002
  *
11027
11003
  * @param {string} companyId
11028
- * @param {TemplateTypeEnum} [type]
11004
+ * @param {string} [type]
11029
11005
  * @param {string} [search]
11030
11006
  * @param {string} [theme]
11031
11007
  * @param {boolean} [unique]
@@ -11137,7 +11113,7 @@ export const TemplateApiFp = function (configuration) {
11137
11113
  /**
11138
11114
  *
11139
11115
  * @param {string} companyId
11140
- * @param {TemplateTypeEnum} [type]
11116
+ * @param {string} [type]
11141
11117
  * @param {string} [search]
11142
11118
  * @param {string} [theme]
11143
11119
  * @param {boolean} [unique]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.14",
3
+ "version": "1.3.16",
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": "8e51b1b93bf08404bd818ca52c09bb067646a373"
40
+ "gitHead": "5be8a1e91cbb68a81fc78ece586c9028aeb1e1be"
41
41
  }