@infisale-client/api-client 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
  /**
@@ -2883,10 +2882,10 @@ export interface ICompanyCreateShippingProvidersRequest {
2883
2882
  'title': string;
2884
2883
  /**
2885
2884
  *
2886
- * @type {Array<string>}
2885
+ * @type {Array<StoreLocationEnum>}
2887
2886
  * @memberof ICompanyCreateShippingProvidersRequest
2888
2887
  */
2889
- 'states': Array<string>;
2888
+ 'states': Array<StoreLocationEnum>;
2890
2889
  /**
2891
2890
  *
2892
2891
  * @type {Array<ShippingProviderRates>}
@@ -3371,6 +3370,12 @@ export interface ICompanyPostRequest {
3371
3370
  * @memberof ICompanyPostRequest
3372
3371
  */
3373
3372
  'currency': CurrencyEnum;
3373
+ /**
3374
+ *
3375
+ * @type {StoreLocationEnum}
3376
+ * @memberof ICompanyPostRequest
3377
+ */
3378
+ 'storeLocation': StoreLocationEnum;
3374
3379
  /**
3375
3380
  *
3376
3381
  * @type {string}
@@ -4036,10 +4041,10 @@ export interface ICompanyUpdateShippingProvidersRequest {
4036
4041
  'title'?: string;
4037
4042
  /**
4038
4043
  *
4039
- * @type {Array<string>}
4044
+ * @type {Array<StoreLocationEnum>}
4040
4045
  * @memberof ICompanyUpdateShippingProvidersRequest
4041
4046
  */
4042
- 'states'?: Array<string>;
4047
+ 'states'?: Array<StoreLocationEnum>;
4043
4048
  /**
4044
4049
  *
4045
4050
  * @type {Array<ShippingProviderRates>}
@@ -6237,10 +6242,10 @@ export interface IPageCollectionQueryParams {
6237
6242
  'domain'?: string;
6238
6243
  /**
6239
6244
  *
6240
- * @type {PageTypeEnum}
6245
+ * @type {string}
6241
6246
  * @memberof IPageCollectionQueryParams
6242
6247
  */
6243
- 'type'?: PageTypeEnum;
6248
+ 'type'?: string;
6244
6249
  /**
6245
6250
  *
6246
6251
  * @type {ContentStatusEnum}
@@ -6285,10 +6290,10 @@ export interface IPageGetAllQueryParams {
6285
6290
  'template'?: string;
6286
6291
  /**
6287
6292
  *
6288
- * @type {Array<PageTypeEnum>}
6293
+ * @type {Array<string>}
6289
6294
  * @memberof IPageGetAllQueryParams
6290
6295
  */
6291
- 'type'?: Array<PageTypeEnum>;
6296
+ 'type'?: Array<string>;
6292
6297
  }
6293
6298
  /**
6294
6299
  *
@@ -6316,10 +6321,10 @@ export interface IPagePatchRequest {
6316
6321
  'thumbnail'?: IImage;
6317
6322
  /**
6318
6323
  *
6319
- * @type {PageTypeEnum}
6324
+ * @type {string}
6320
6325
  * @memberof IPagePatchRequest
6321
6326
  */
6322
- 'type'?: PageTypeEnum;
6327
+ 'type'?: string;
6323
6328
  }
6324
6329
  /**
6325
6330
  *
@@ -6347,10 +6352,10 @@ export interface IPagePostRequest {
6347
6352
  'thumbnail'?: IImage;
6348
6353
  /**
6349
6354
  *
6350
- * @type {PageTypeEnum}
6355
+ * @type {string}
6351
6356
  * @memberof IPagePostRequest
6352
6357
  */
6353
- 'type': PageTypeEnum;
6358
+ 'type': string;
6354
6359
  /**
6355
6360
  *
6356
6361
  * @type {ITemplateResponse}
@@ -6422,10 +6427,10 @@ export interface IPageResponse {
6422
6427
  'thumbnail'?: IImage;
6423
6428
  /**
6424
6429
  *
6425
- * @type {PageTypeEnum}
6430
+ * @type {string}
6426
6431
  * @memberof IPageResponse
6427
6432
  */
6428
- 'type': PageTypeEnum;
6433
+ 'type': string;
6429
6434
  /**
6430
6435
  *
6431
6436
  * @type {ContentStatusEnum}
@@ -8393,10 +8398,10 @@ export interface ITemplatePatchRequest {
8393
8398
  'components'?: PartialRecordLanguageEnumITemplateComponentResponseArray;
8394
8399
  /**
8395
8400
  *
8396
- * @type {TemplateTypeEnum}
8401
+ * @type {string}
8397
8402
  * @memberof ITemplatePatchRequest
8398
8403
  */
8399
- 'type'?: TemplateTypeEnum;
8404
+ 'type'?: string;
8400
8405
  /**
8401
8406
  *
8402
8407
  * @type {boolean}
@@ -8436,10 +8441,10 @@ export interface ITemplatePostRequest {
8436
8441
  'theme': string;
8437
8442
  /**
8438
8443
  *
8439
- * @type {TemplateTypeEnum}
8444
+ * @type {string}
8440
8445
  * @memberof ITemplatePostRequest
8441
8446
  */
8442
- 'type': TemplateTypeEnum;
8447
+ 'type': string;
8443
8448
  /**
8444
8449
  *
8445
8450
  * @type {boolean}
@@ -8497,10 +8502,10 @@ export interface ITemplateResponse {
8497
8502
  'theme': string;
8498
8503
  /**
8499
8504
  *
8500
- * @type {TemplateTypeEnum}
8505
+ * @type {string}
8501
8506
  * @memberof ITemplateResponse
8502
8507
  */
8503
- 'type': TemplateTypeEnum;
8508
+ 'type': string;
8504
8509
  /**
8505
8510
  *
8506
8511
  * @type {boolean}
@@ -9446,22 +9451,6 @@ export declare const OrderStatusEnum: {
9446
9451
  readonly CREATED: "created";
9447
9452
  };
9448
9453
  export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];
9449
- /**
9450
- *
9451
- * @export
9452
- * @enum {string}
9453
- */
9454
- export declare const PageTypeEnum: {
9455
- readonly BLOG: "blog";
9456
- readonly PAGE: "page";
9457
- readonly HOME: "home";
9458
- readonly CART: "cart";
9459
- readonly CHECKOUT: "checkout";
9460
- readonly SEARCH: "search";
9461
- readonly NOT_FOUND: "not-found";
9462
- readonly BLOGS: "blogs";
9463
- };
9464
- export type PageTypeEnum = typeof PageTypeEnum[keyof typeof PageTypeEnum];
9465
9454
  /**
9466
9455
  * Make all properties in T optional
9467
9456
  * @export
@@ -10966,10 +10955,10 @@ export interface PickIPageExcludeKeyofIPageTemplate {
10966
10955
  'thumbnail'?: IImage;
10967
10956
  /**
10968
10957
  *
10969
- * @type {PageTypeEnum}
10958
+ * @type {string}
10970
10959
  * @memberof PickIPageExcludeKeyofIPageTemplate
10971
10960
  */
10972
- 'type': PageTypeEnum;
10961
+ 'type': string;
10973
10962
  }
10974
10963
  /**
10975
10964
  * From T, pick a set of properties whose keys are in the union K
@@ -10997,10 +10986,10 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
10997
10986
  'thumbnail'?: IImage;
10998
10987
  /**
10999
10988
  *
11000
- * @type {PageTypeEnum}
10989
+ * @type {string}
11001
10990
  * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
11002
10991
  */
11003
- 'type': PageTypeEnum;
10992
+ 'type': string;
11004
10993
  }
11005
10994
  /**
11006
10995
  * From T, pick a set of properties whose keys are in the union K
@@ -11455,10 +11444,10 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
11455
11444
  'theme': string;
11456
11445
  /**
11457
11446
  *
11458
- * @type {TemplateTypeEnum}
11447
+ * @type {string}
11459
11448
  * @memberof PickITemplateExcludeKeyofITemplateComponents
11460
11449
  */
11461
- 'type': TemplateTypeEnum;
11450
+ 'type': string;
11462
11451
  /**
11463
11452
  *
11464
11453
  * @type {boolean}
@@ -11498,10 +11487,10 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
11498
11487
  'theme': string;
11499
11488
  /**
11500
11489
  *
11501
- * @type {TemplateTypeEnum}
11490
+ * @type {string}
11502
11491
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
11503
11492
  */
11504
- 'type': TemplateTypeEnum;
11493
+ 'type': string;
11505
11494
  /**
11506
11495
  *
11507
11496
  * @type {boolean}
@@ -11874,10 +11863,10 @@ export interface PickShippingProviderExcludeKeyofShippingProviderId {
11874
11863
  'title': string;
11875
11864
  /**
11876
11865
  *
11877
- * @type {Array<string>}
11866
+ * @type {Array<StoreLocationEnum>}
11878
11867
  * @memberof PickShippingProviderExcludeKeyofShippingProviderId
11879
11868
  */
11880
- 'states': Array<string>;
11869
+ 'states': Array<StoreLocationEnum>;
11881
11870
  /**
11882
11871
  *
11883
11872
  * @type {Array<ShippingProviderRates>}
@@ -12016,12 +12005,6 @@ export interface RecordCurrencyEnumCurrency {
12016
12005
  * @memberof RecordCurrencyEnumCurrency
12017
12006
  */
12018
12007
  'gbp': Currency;
12019
- /**
12020
- *
12021
- * @type {Currency}
12022
- * @memberof RecordCurrencyEnumCurrency
12023
- */
12024
- 'jpy': Currency;
12025
12008
  }
12026
12009
  /**
12027
12010
  * Construct a type with a set of properties K of type T
@@ -12053,12 +12036,6 @@ export interface RecordCurrencyEnumNumber {
12053
12036
  * @memberof RecordCurrencyEnumNumber
12054
12037
  */
12055
12038
  'gbp': number;
12056
- /**
12057
- *
12058
- * @type {number}
12059
- * @memberof RecordCurrencyEnumNumber
12060
- */
12061
- 'jpy': number;
12062
12039
  }
12063
12040
  /**
12064
12041
  * Construct a type with a set of properties K of type T
@@ -12201,10 +12178,10 @@ export interface ShippingProvider {
12201
12178
  'rates': Array<ShippingProviderRates>;
12202
12179
  /**
12203
12180
  *
12204
- * @type {Array<string>}
12181
+ * @type {Array<StoreLocationEnum>}
12205
12182
  * @memberof ShippingProvider
12206
12183
  */
12207
- 'states': Array<string>;
12184
+ 'states': Array<StoreLocationEnum>;
12208
12185
  /**
12209
12186
  *
12210
12187
  * @type {string}
@@ -12292,6 +12269,16 @@ export interface StockTypeValue {
12292
12269
  */
12293
12270
  'quantity': number;
12294
12271
  }
12272
+ /**
12273
+ *
12274
+ * @export
12275
+ * @enum {string}
12276
+ */
12277
+ export declare const StoreLocationEnum: {
12278
+ readonly DE: "DE";
12279
+ readonly TR: "TR";
12280
+ };
12281
+ export type StoreLocationEnum = typeof StoreLocationEnum[keyof typeof StoreLocationEnum];
12295
12282
  /**
12296
12283
  *
12297
12284
  * @export
@@ -12323,24 +12310,6 @@ export interface SubCategories {
12323
12310
  */
12324
12311
  '_id': string;
12325
12312
  }
12326
- /**
12327
- *
12328
- * @export
12329
- * @enum {string}
12330
- */
12331
- export declare const TemplateTypeEnum: {
12332
- readonly PRODUCT: "product";
12333
- readonly PAGE: "page";
12334
- readonly COLLECTION: "collection";
12335
- readonly HOME: "home";
12336
- readonly CART: "cart";
12337
- readonly CHECKOUT: "checkout";
12338
- readonly NOT_FOUND: "not-found";
12339
- readonly BLOG: "blog";
12340
- readonly SEARCH: "search";
12341
- readonly BLOGS: "blogs";
12342
- };
12343
- export type TemplateTypeEnum = typeof TemplateTypeEnum[keyof typeof TemplateTypeEnum];
12344
12313
  /**
12345
12314
  *
12346
12315
  * @export
@@ -14240,14 +14209,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
14240
14209
  getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14241
14210
  /**
14242
14211
  *
14243
- * @param {PageTypeEnum} type
14212
+ * @param {string} type
14244
14213
  * @param {string} [companyId]
14245
14214
  * @param {string} [domain]
14246
14215
  * @param {string} [template]
14247
14216
  * @param {*} [options] Override http request option.
14248
14217
  * @throws {RequiredError}
14249
14218
  */
14250
- getPageByType: (type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14219
+ getPageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14251
14220
  /**
14252
14221
  *
14253
14222
  * @param {number} [page]
@@ -14260,12 +14229,12 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
14260
14229
  * @param {string} [sort]
14261
14230
  * @param {string} [companyId]
14262
14231
  * @param {string} [domain]
14263
- * @param {PageTypeEnum} [type]
14232
+ * @param {string} [type]
14264
14233
  * @param {ContentStatusEnum} [status]
14265
14234
  * @param {*} [options] Override http request option.
14266
14235
  * @throws {RequiredError}
14267
14236
  */
14268
- 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>;
14237
+ 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>;
14269
14238
  };
14270
14239
  /**
14271
14240
  * PageApi - functional programming interface
@@ -14283,14 +14252,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
14283
14252
  getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
14284
14253
  /**
14285
14254
  *
14286
- * @param {PageTypeEnum} type
14255
+ * @param {string} type
14287
14256
  * @param {string} [companyId]
14288
14257
  * @param {string} [domain]
14289
14258
  * @param {string} [template]
14290
14259
  * @param {*} [options] Override http request option.
14291
14260
  * @throws {RequiredError}
14292
14261
  */
14293
- getPageByType(type: PageTypeEnum, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
14262
+ getPageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
14294
14263
  /**
14295
14264
  *
14296
14265
  * @param {number} [page]
@@ -14303,12 +14272,12 @@ export declare const PageApiFp: (configuration?: Configuration) => {
14303
14272
  * @param {string} [sort]
14304
14273
  * @param {string} [companyId]
14305
14274
  * @param {string} [domain]
14306
- * @param {PageTypeEnum} [type]
14275
+ * @param {string} [type]
14307
14276
  * @param {ContentStatusEnum} [status]
14308
14277
  * @param {*} [options] Override http request option.
14309
14278
  * @throws {RequiredError}
14310
14279
  */
14311
- 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>>;
14280
+ 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>>;
14312
14281
  };
14313
14282
  /**
14314
14283
  * PageApi - factory interface
@@ -14370,10 +14339,10 @@ export interface PageApiGetPageBySlugRequest {
14370
14339
  export interface PageApiGetPageByTypeRequest {
14371
14340
  /**
14372
14341
  *
14373
- * @type {PageTypeEnum}
14342
+ * @type {string}
14374
14343
  * @memberof PageApiGetPageByType
14375
14344
  */
14376
- readonly type: PageTypeEnum;
14345
+ readonly type: string;
14377
14346
  /**
14378
14347
  *
14379
14348
  * @type {string}
@@ -14461,10 +14430,10 @@ export interface PageApiGetPagesRequest {
14461
14430
  readonly domain?: string;
14462
14431
  /**
14463
14432
  *
14464
- * @type {PageTypeEnum}
14433
+ * @type {string}
14465
14434
  * @memberof PageApiGetPages
14466
14435
  */
14467
- readonly type?: PageTypeEnum;
14436
+ readonly type?: string;
14468
14437
  /**
14469
14438
  *
14470
14439
  * @type {ContentStatusEnum}
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.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.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.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = 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 = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = 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.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 = exports.PlanStatusEnum = 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 = exports.GetProductsSortEnum = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
@@ -355,8 +355,7 @@ exports.CurrencyEnum = {
355
355
  USD: 'usd',
356
356
  EUR: 'eur',
357
357
  TRY: 'try',
358
- GBP: 'gbp',
359
- JPY: 'jpy'
358
+ GBP: 'gbp'
360
359
  };
361
360
  /**
362
361
  *
@@ -602,21 +601,6 @@ exports.OrderStatusEnum = {
602
601
  CANCELLED: 'cancelled',
603
602
  CREATED: 'created'
604
603
  };
605
- /**
606
- *
607
- * @export
608
- * @enum {string}
609
- */
610
- exports.PageTypeEnum = {
611
- BLOG: 'blog',
612
- PAGE: 'page',
613
- HOME: 'home',
614
- CART: 'cart',
615
- CHECKOUT: 'checkout',
616
- SEARCH: 'search',
617
- NOT_FOUND: 'not-found',
618
- BLOGS: 'blogs'
619
- };
620
604
  /**
621
605
  *
622
606
  * @export
@@ -717,17 +701,9 @@ exports.SitemapTypeEnum = {
717
701
  * @export
718
702
  * @enum {string}
719
703
  */
720
- exports.TemplateTypeEnum = {
721
- PRODUCT: 'product',
722
- PAGE: 'page',
723
- COLLECTION: 'collection',
724
- HOME: 'home',
725
- CART: 'cart',
726
- CHECKOUT: 'checkout',
727
- NOT_FOUND: 'not-found',
728
- BLOG: 'blog',
729
- SEARCH: 'search',
730
- BLOGS: 'blogs'
704
+ exports.StoreLocationEnum = {
705
+ DE: 'DE',
706
+ TR: 'TR'
731
707
  };
732
708
  /**
733
709
  *
@@ -3132,7 +3108,7 @@ const PageApiAxiosParamCreator = function (configuration) {
3132
3108
  },
3133
3109
  /**
3134
3110
  *
3135
- * @param {PageTypeEnum} type
3111
+ * @param {string} type
3136
3112
  * @param {string} [companyId]
3137
3113
  * @param {string} [domain]
3138
3114
  * @param {string} [template]
@@ -3182,7 +3158,7 @@ const PageApiAxiosParamCreator = function (configuration) {
3182
3158
  * @param {string} [sort]
3183
3159
  * @param {string} [companyId]
3184
3160
  * @param {string} [domain]
3185
- * @param {PageTypeEnum} [type]
3161
+ * @param {string} [type]
3186
3162
  * @param {ContentStatusEnum} [status]
3187
3163
  * @param {*} [options] Override http request option.
3188
3164
  * @throws {RequiredError}
@@ -3272,7 +3248,7 @@ const PageApiFp = function (configuration) {
3272
3248
  },
3273
3249
  /**
3274
3250
  *
3275
- * @param {PageTypeEnum} type
3251
+ * @param {string} type
3276
3252
  * @param {string} [companyId]
3277
3253
  * @param {string} [domain]
3278
3254
  * @param {string} [template]
@@ -3297,7 +3273,7 @@ const PageApiFp = function (configuration) {
3297
3273
  * @param {string} [sort]
3298
3274
  * @param {string} [companyId]
3299
3275
  * @param {string} [domain]
3300
- * @param {PageTypeEnum} [type]
3276
+ * @param {string} [type]
3301
3277
  * @param {ContentStatusEnum} [status]
3302
3278
  * @param {*} [options] Override http request option.
3303
3279
  * @throws {RequiredError}
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
  *
@@ -3093,7 +3069,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
3093
3069
  },
3094
3070
  /**
3095
3071
  *
3096
- * @param {PageTypeEnum} type
3072
+ * @param {string} type
3097
3073
  * @param {string} [companyId]
3098
3074
  * @param {string} [domain]
3099
3075
  * @param {string} [template]
@@ -3143,7 +3119,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
3143
3119
  * @param {string} [sort]
3144
3120
  * @param {string} [companyId]
3145
3121
  * @param {string} [domain]
3146
- * @param {PageTypeEnum} [type]
3122
+ * @param {string} [type]
3147
3123
  * @param {ContentStatusEnum} [status]
3148
3124
  * @param {*} [options] Override http request option.
3149
3125
  * @throws {RequiredError}
@@ -3232,7 +3208,7 @@ export const PageApiFp = function (configuration) {
3232
3208
  },
3233
3209
  /**
3234
3210
  *
3235
- * @param {PageTypeEnum} type
3211
+ * @param {string} type
3236
3212
  * @param {string} [companyId]
3237
3213
  * @param {string} [domain]
3238
3214
  * @param {string} [template]
@@ -3257,7 +3233,7 @@ export const PageApiFp = function (configuration) {
3257
3233
  * @param {string} [sort]
3258
3234
  * @param {string} [companyId]
3259
3235
  * @param {string} [domain]
3260
- * @param {PageTypeEnum} [type]
3236
+ * @param {string} [type]
3261
3237
  * @param {ContentStatusEnum} [status]
3262
3238
  * @param {*} [options] Override http request option.
3263
3239
  * @throws {RequiredError}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.3.14",
3
+ "version": "1.3.16",
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": "8e51b1b93bf08404bd818ca52c09bb067646a373"
40
+ "gitHead": "5be8a1e91cbb68a81fc78ece586c9028aeb1e1be"
41
41
  }