@infisale-client/api 1.1.36 → 1.1.39
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 +294 -4
- package/dist/api/api.js +193 -2
- package/dist/api/api.mjs +186 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +3 -3
package/dist/api/api.d.ts
CHANGED
|
@@ -560,13 +560,13 @@ export interface IAddProductToBasketRequest {
|
|
|
560
560
|
* @type {string}
|
|
561
561
|
* @memberof IAddProductToBasketRequest
|
|
562
562
|
*/
|
|
563
|
-
'
|
|
563
|
+
'mainVariant'?: string;
|
|
564
564
|
/**
|
|
565
565
|
*
|
|
566
566
|
* @type {string}
|
|
567
567
|
* @memberof IAddProductToBasketRequest
|
|
568
568
|
*/
|
|
569
|
-
'
|
|
569
|
+
'subVariant'?: string;
|
|
570
570
|
}
|
|
571
571
|
/**
|
|
572
572
|
*
|
|
@@ -680,13 +680,13 @@ export interface IBasketResponseItemsInner {
|
|
|
680
680
|
* @type {string}
|
|
681
681
|
* @memberof IBasketResponseItemsInner
|
|
682
682
|
*/
|
|
683
|
-
'
|
|
683
|
+
'subVariant'?: string;
|
|
684
684
|
/**
|
|
685
685
|
*
|
|
686
686
|
* @type {string}
|
|
687
687
|
* @memberof IBasketResponseItemsInner
|
|
688
688
|
*/
|
|
689
|
-
'
|
|
689
|
+
'mainVariant'?: string;
|
|
690
690
|
/**
|
|
691
691
|
*
|
|
692
692
|
* @type {number}
|
|
@@ -1760,6 +1760,12 @@ export interface ICompany {
|
|
|
1760
1760
|
* @memberof ICompany
|
|
1761
1761
|
*/
|
|
1762
1762
|
'logo'?: IImage;
|
|
1763
|
+
/**
|
|
1764
|
+
*
|
|
1765
|
+
* @type {IImage}
|
|
1766
|
+
* @memberof ICompany
|
|
1767
|
+
*/
|
|
1768
|
+
'email_logo'?: IImage;
|
|
1763
1769
|
/**
|
|
1764
1770
|
*
|
|
1765
1771
|
* @type {IImage}
|
|
@@ -1846,6 +1852,12 @@ export interface ICompany {
|
|
|
1846
1852
|
* @memberof ICompany
|
|
1847
1853
|
*/
|
|
1848
1854
|
'firebase_login': PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysFirebaseLogin;
|
|
1855
|
+
/**
|
|
1856
|
+
*
|
|
1857
|
+
* @type {string}
|
|
1858
|
+
* @memberof ICompany
|
|
1859
|
+
*/
|
|
1860
|
+
'dkim'?: string;
|
|
1849
1861
|
/**
|
|
1850
1862
|
*
|
|
1851
1863
|
* @type {string}
|
|
@@ -1987,6 +1999,12 @@ export interface ICompanyAdminResponse {
|
|
|
1987
1999
|
* @memberof ICompanyAdminResponse
|
|
1988
2000
|
*/
|
|
1989
2001
|
'logo'?: IImage;
|
|
2002
|
+
/**
|
|
2003
|
+
*
|
|
2004
|
+
* @type {IImage}
|
|
2005
|
+
* @memberof ICompanyAdminResponse
|
|
2006
|
+
*/
|
|
2007
|
+
'email_logo'?: IImage;
|
|
1990
2008
|
/**
|
|
1991
2009
|
*
|
|
1992
2010
|
* @type {IImage}
|
|
@@ -2488,6 +2506,12 @@ export interface ICompanyPatchRequest {
|
|
|
2488
2506
|
* @memberof ICompanyPatchRequest
|
|
2489
2507
|
*/
|
|
2490
2508
|
'address'?: ICompanyResponseAddress;
|
|
2509
|
+
/**
|
|
2510
|
+
*
|
|
2511
|
+
* @type {string}
|
|
2512
|
+
* @memberof ICompanyPatchRequest
|
|
2513
|
+
*/
|
|
2514
|
+
'dkim'?: string;
|
|
2491
2515
|
/**
|
|
2492
2516
|
*
|
|
2493
2517
|
* @type {CompanyTypeEnum}
|
|
@@ -2526,6 +2550,12 @@ export interface ICompanyPatchRequest {
|
|
|
2526
2550
|
* @memberof ICompanyPatchRequest
|
|
2527
2551
|
*/
|
|
2528
2552
|
'logo'?: IImage;
|
|
2553
|
+
/**
|
|
2554
|
+
*
|
|
2555
|
+
* @type {IImage}
|
|
2556
|
+
* @memberof ICompanyPatchRequest
|
|
2557
|
+
*/
|
|
2558
|
+
'email_logo'?: IImage;
|
|
2529
2559
|
/**
|
|
2530
2560
|
*
|
|
2531
2561
|
* @type {IImage}
|
|
@@ -2722,6 +2752,12 @@ export interface ICompanyResponse {
|
|
|
2722
2752
|
* @memberof ICompanyResponse
|
|
2723
2753
|
*/
|
|
2724
2754
|
'logo'?: IImage;
|
|
2755
|
+
/**
|
|
2756
|
+
*
|
|
2757
|
+
* @type {IImage}
|
|
2758
|
+
* @memberof ICompanyResponse
|
|
2759
|
+
*/
|
|
2760
|
+
'email_logo'?: IImage;
|
|
2725
2761
|
/**
|
|
2726
2762
|
*
|
|
2727
2763
|
* @type {IImage}
|
|
@@ -3200,6 +3236,12 @@ export interface ICompanyUpdateConfigRequest {
|
|
|
3200
3236
|
* @memberof ICompanyUpdateConfigRequest
|
|
3201
3237
|
*/
|
|
3202
3238
|
'logo'?: IImage;
|
|
3239
|
+
/**
|
|
3240
|
+
*
|
|
3241
|
+
* @type {IImage}
|
|
3242
|
+
* @memberof ICompanyUpdateConfigRequest
|
|
3243
|
+
*/
|
|
3244
|
+
'email_logo'?: IImage;
|
|
3203
3245
|
/**
|
|
3204
3246
|
*
|
|
3205
3247
|
* @type {IImage}
|
|
@@ -5826,6 +5868,82 @@ export interface ISearchProductsResponse {
|
|
|
5826
5868
|
*/
|
|
5827
5869
|
'data': Array<IProductResponse>;
|
|
5828
5870
|
}
|
|
5871
|
+
/**
|
|
5872
|
+
*
|
|
5873
|
+
* @export
|
|
5874
|
+
* @interface ISitemapResponse
|
|
5875
|
+
*/
|
|
5876
|
+
export interface ISitemapResponse {
|
|
5877
|
+
/**
|
|
5878
|
+
*
|
|
5879
|
+
* @type {LanguageEnum}
|
|
5880
|
+
* @memberof ISitemapResponse
|
|
5881
|
+
*/
|
|
5882
|
+
'companyDefaultLanguage': LanguageEnum;
|
|
5883
|
+
/**
|
|
5884
|
+
*
|
|
5885
|
+
* @type {Array<ISitemapResponseSlugsInner>}
|
|
5886
|
+
* @memberof ISitemapResponse
|
|
5887
|
+
*/
|
|
5888
|
+
'slugs': Array<ISitemapResponseSlugsInner>;
|
|
5889
|
+
}
|
|
5890
|
+
/**
|
|
5891
|
+
*
|
|
5892
|
+
* @export
|
|
5893
|
+
* @interface ISitemapResponseSlugsInner
|
|
5894
|
+
*/
|
|
5895
|
+
export interface ISitemapResponseSlugsInner {
|
|
5896
|
+
/**
|
|
5897
|
+
*
|
|
5898
|
+
* @type {string}
|
|
5899
|
+
* @memberof ISitemapResponseSlugsInner
|
|
5900
|
+
*/
|
|
5901
|
+
'updatedAt': string;
|
|
5902
|
+
/**
|
|
5903
|
+
*
|
|
5904
|
+
* @type {string}
|
|
5905
|
+
* @memberof ISitemapResponseSlugsInner
|
|
5906
|
+
*/
|
|
5907
|
+
'slug': string;
|
|
5908
|
+
/**
|
|
5909
|
+
*
|
|
5910
|
+
* @type {LanguageEnum}
|
|
5911
|
+
* @memberof ISitemapResponseSlugsInner
|
|
5912
|
+
*/
|
|
5913
|
+
'lang': LanguageEnum;
|
|
5914
|
+
}
|
|
5915
|
+
/**
|
|
5916
|
+
*
|
|
5917
|
+
* @export
|
|
5918
|
+
* @interface ISitemapsResponse
|
|
5919
|
+
*/
|
|
5920
|
+
export interface ISitemapsResponse {
|
|
5921
|
+
/**
|
|
5922
|
+
*
|
|
5923
|
+
* @type {Array<ISitemapsResponseDataInner>}
|
|
5924
|
+
* @memberof ISitemapsResponse
|
|
5925
|
+
*/
|
|
5926
|
+
'data': Array<ISitemapsResponseDataInner>;
|
|
5927
|
+
}
|
|
5928
|
+
/**
|
|
5929
|
+
*
|
|
5930
|
+
* @export
|
|
5931
|
+
* @interface ISitemapsResponseDataInner
|
|
5932
|
+
*/
|
|
5933
|
+
export interface ISitemapsResponseDataInner {
|
|
5934
|
+
/**
|
|
5935
|
+
*
|
|
5936
|
+
* @type {Array<number>}
|
|
5937
|
+
* @memberof ISitemapsResponseDataInner
|
|
5938
|
+
*/
|
|
5939
|
+
'pages': Array<number>;
|
|
5940
|
+
/**
|
|
5941
|
+
*
|
|
5942
|
+
* @type {SitemapTypeEnum}
|
|
5943
|
+
* @memberof ISitemapsResponseDataInner
|
|
5944
|
+
*/
|
|
5945
|
+
'type': SitemapTypeEnum;
|
|
5946
|
+
}
|
|
5829
5947
|
/**
|
|
5830
5948
|
*
|
|
5831
5949
|
* @export
|
|
@@ -6024,6 +6142,12 @@ export interface ITemplateResponseComponentsInner {
|
|
|
6024
6142
|
* @interface ITemplateResponseComponentsInnerConfig
|
|
6025
6143
|
*/
|
|
6026
6144
|
export interface ITemplateResponseComponentsInnerConfig {
|
|
6145
|
+
/**
|
|
6146
|
+
*
|
|
6147
|
+
* @type {ProductDetailImageZoomTypeEnum}
|
|
6148
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
6149
|
+
*/
|
|
6150
|
+
'productDetailImageZoomType'?: ProductDetailImageZoomTypeEnum;
|
|
6027
6151
|
/**
|
|
6028
6152
|
*
|
|
6029
6153
|
* @type {FontSizeEnum}
|
|
@@ -6066,6 +6190,12 @@ export interface ITemplateResponseComponentsInnerConfig {
|
|
|
6066
6190
|
* @memberof ITemplateResponseComponentsInnerConfig
|
|
6067
6191
|
*/
|
|
6068
6192
|
'slide'?: boolean;
|
|
6193
|
+
/**
|
|
6194
|
+
*
|
|
6195
|
+
* @type {boolean}
|
|
6196
|
+
* @memberof ITemplateResponseComponentsInnerConfig
|
|
6197
|
+
*/
|
|
6198
|
+
'cardContainer'?: boolean;
|
|
6069
6199
|
/**
|
|
6070
6200
|
*
|
|
6071
6201
|
* @type {boolean}
|
|
@@ -6226,6 +6356,12 @@ export interface ITemplateResponseComponentsInnerIdentity {
|
|
|
6226
6356
|
* @memberof ITemplateResponseComponentsInnerIdentity
|
|
6227
6357
|
*/
|
|
6228
6358
|
'buttons'?: Array<ITemplateResponseComponentsInnerIdentityButtonsInner>;
|
|
6359
|
+
/**
|
|
6360
|
+
*
|
|
6361
|
+
* @type {PartialRecordLanguageEnumString}
|
|
6362
|
+
* @memberof ITemplateResponseComponentsInnerIdentity
|
|
6363
|
+
*/
|
|
6364
|
+
'url'?: PartialRecordLanguageEnumString;
|
|
6229
6365
|
/**
|
|
6230
6366
|
*
|
|
6231
6367
|
* @type {PartialRecordLanguageEnumIImage}
|
|
@@ -7310,6 +7446,12 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
|
|
|
7310
7446
|
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
7311
7447
|
*/
|
|
7312
7448
|
'logo'?: IImage;
|
|
7449
|
+
/**
|
|
7450
|
+
*
|
|
7451
|
+
* @type {IImage}
|
|
7452
|
+
* @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
|
|
7453
|
+
*/
|
|
7454
|
+
'email_logo'?: IImage;
|
|
7313
7455
|
/**
|
|
7314
7456
|
*
|
|
7315
7457
|
* @type {IImage}
|
|
@@ -8225,6 +8367,16 @@ export interface PriceType {
|
|
|
8225
8367
|
*/
|
|
8226
8368
|
'price': number;
|
|
8227
8369
|
}
|
|
8370
|
+
/**
|
|
8371
|
+
*
|
|
8372
|
+
* @export
|
|
8373
|
+
* @enum {string}
|
|
8374
|
+
*/
|
|
8375
|
+
export declare const ProductDetailImageZoomTypeEnum: {
|
|
8376
|
+
readonly MOVE: "move";
|
|
8377
|
+
readonly CLICK: "click";
|
|
8378
|
+
};
|
|
8379
|
+
export type ProductDetailImageZoomTypeEnum = typeof ProductDetailImageZoomTypeEnum[keyof typeof ProductDetailImageZoomTypeEnum];
|
|
8228
8380
|
/**
|
|
8229
8381
|
* Construct a type with a set of properties K of type T
|
|
8230
8382
|
* @export
|
|
@@ -8318,6 +8470,18 @@ export interface SetCompanySenderEmailRequest {
|
|
|
8318
8470
|
*/
|
|
8319
8471
|
'sender_email': string;
|
|
8320
8472
|
}
|
|
8473
|
+
/**
|
|
8474
|
+
*
|
|
8475
|
+
* @export
|
|
8476
|
+
* @enum {string}
|
|
8477
|
+
*/
|
|
8478
|
+
export declare const SitemapTypeEnum: {
|
|
8479
|
+
readonly PRODUCTS: "products";
|
|
8480
|
+
readonly PAGES: "pages";
|
|
8481
|
+
readonly COLLECTIONS: "collections";
|
|
8482
|
+
readonly BLOG: "blog";
|
|
8483
|
+
};
|
|
8484
|
+
export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
|
|
8321
8485
|
/**
|
|
8322
8486
|
*
|
|
8323
8487
|
* @export
|
|
@@ -14250,6 +14414,132 @@ export declare class ProductApi extends BaseAPI {
|
|
|
14250
14414
|
*/
|
|
14251
14415
|
updateProduct(requestParameters: ProductApiUpdateProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IProductResponse, any>>;
|
|
14252
14416
|
}
|
|
14417
|
+
/**
|
|
14418
|
+
* SitemapApi - axios parameter creator
|
|
14419
|
+
* @export
|
|
14420
|
+
*/
|
|
14421
|
+
export declare const SitemapApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14422
|
+
/**
|
|
14423
|
+
*
|
|
14424
|
+
* @param {string} type
|
|
14425
|
+
* @param {string} page
|
|
14426
|
+
* @param {string} domain
|
|
14427
|
+
* @param {*} [options] Override http request option.
|
|
14428
|
+
* @throws {RequiredError}
|
|
14429
|
+
*/
|
|
14430
|
+
getSitemapByType: (type: string, page: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14431
|
+
/**
|
|
14432
|
+
*
|
|
14433
|
+
* @param {string} domain
|
|
14434
|
+
* @param {*} [options] Override http request option.
|
|
14435
|
+
* @throws {RequiredError}
|
|
14436
|
+
*/
|
|
14437
|
+
getSitemaps: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
14438
|
+
};
|
|
14439
|
+
/**
|
|
14440
|
+
* SitemapApi - functional programming interface
|
|
14441
|
+
* @export
|
|
14442
|
+
*/
|
|
14443
|
+
export declare const SitemapApiFp: (configuration?: Configuration) => {
|
|
14444
|
+
/**
|
|
14445
|
+
*
|
|
14446
|
+
* @param {string} type
|
|
14447
|
+
* @param {string} page
|
|
14448
|
+
* @param {string} domain
|
|
14449
|
+
* @param {*} [options] Override http request option.
|
|
14450
|
+
* @throws {RequiredError}
|
|
14451
|
+
*/
|
|
14452
|
+
getSitemapByType(type: string, page: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapResponse>>;
|
|
14453
|
+
/**
|
|
14454
|
+
*
|
|
14455
|
+
* @param {string} domain
|
|
14456
|
+
* @param {*} [options] Override http request option.
|
|
14457
|
+
* @throws {RequiredError}
|
|
14458
|
+
*/
|
|
14459
|
+
getSitemaps(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ISitemapsResponse>>;
|
|
14460
|
+
};
|
|
14461
|
+
/**
|
|
14462
|
+
* SitemapApi - factory interface
|
|
14463
|
+
* @export
|
|
14464
|
+
*/
|
|
14465
|
+
export declare const SitemapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14466
|
+
/**
|
|
14467
|
+
*
|
|
14468
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
14469
|
+
* @param {*} [options] Override http request option.
|
|
14470
|
+
* @throws {RequiredError}
|
|
14471
|
+
*/
|
|
14472
|
+
getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapResponse>;
|
|
14473
|
+
/**
|
|
14474
|
+
*
|
|
14475
|
+
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
14476
|
+
* @param {*} [options] Override http request option.
|
|
14477
|
+
* @throws {RequiredError}
|
|
14478
|
+
*/
|
|
14479
|
+
getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ISitemapsResponse>;
|
|
14480
|
+
};
|
|
14481
|
+
/**
|
|
14482
|
+
* Request parameters for getSitemapByType operation in SitemapApi.
|
|
14483
|
+
* @export
|
|
14484
|
+
* @interface SitemapApiGetSitemapByTypeRequest
|
|
14485
|
+
*/
|
|
14486
|
+
export interface SitemapApiGetSitemapByTypeRequest {
|
|
14487
|
+
/**
|
|
14488
|
+
*
|
|
14489
|
+
* @type {string}
|
|
14490
|
+
* @memberof SitemapApiGetSitemapByType
|
|
14491
|
+
*/
|
|
14492
|
+
readonly type: string;
|
|
14493
|
+
/**
|
|
14494
|
+
*
|
|
14495
|
+
* @type {string}
|
|
14496
|
+
* @memberof SitemapApiGetSitemapByType
|
|
14497
|
+
*/
|
|
14498
|
+
readonly page: string;
|
|
14499
|
+
/**
|
|
14500
|
+
*
|
|
14501
|
+
* @type {string}
|
|
14502
|
+
* @memberof SitemapApiGetSitemapByType
|
|
14503
|
+
*/
|
|
14504
|
+
readonly domain: string;
|
|
14505
|
+
}
|
|
14506
|
+
/**
|
|
14507
|
+
* Request parameters for getSitemaps operation in SitemapApi.
|
|
14508
|
+
* @export
|
|
14509
|
+
* @interface SitemapApiGetSitemapsRequest
|
|
14510
|
+
*/
|
|
14511
|
+
export interface SitemapApiGetSitemapsRequest {
|
|
14512
|
+
/**
|
|
14513
|
+
*
|
|
14514
|
+
* @type {string}
|
|
14515
|
+
* @memberof SitemapApiGetSitemaps
|
|
14516
|
+
*/
|
|
14517
|
+
readonly domain: string;
|
|
14518
|
+
}
|
|
14519
|
+
/**
|
|
14520
|
+
* SitemapApi - object-oriented interface
|
|
14521
|
+
* @export
|
|
14522
|
+
* @class SitemapApi
|
|
14523
|
+
* @extends {BaseAPI}
|
|
14524
|
+
*/
|
|
14525
|
+
export declare class SitemapApi extends BaseAPI {
|
|
14526
|
+
/**
|
|
14527
|
+
*
|
|
14528
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
14529
|
+
* @param {*} [options] Override http request option.
|
|
14530
|
+
* @throws {RequiredError}
|
|
14531
|
+
* @memberof SitemapApi
|
|
14532
|
+
*/
|
|
14533
|
+
getSitemapByType(requestParameters: SitemapApiGetSitemapByTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapResponse, any>>;
|
|
14534
|
+
/**
|
|
14535
|
+
*
|
|
14536
|
+
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
14537
|
+
* @param {*} [options] Override http request option.
|
|
14538
|
+
* @throws {RequiredError}
|
|
14539
|
+
* @memberof SitemapApi
|
|
14540
|
+
*/
|
|
14541
|
+
getSitemaps(requestParameters: SitemapApiGetSitemapsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ISitemapsResponse, any>>;
|
|
14542
|
+
}
|
|
14253
14543
|
/**
|
|
14254
14544
|
* TemplateApi - axios parameter creator
|
|
14255
14545
|
* @export
|
package/dist/api/api.js
CHANGED
|
@@ -16,8 +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.
|
|
20
|
-
exports.
|
|
19
|
+
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.ThemeTypeEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PageTypeEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
|
|
20
|
+
exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = void 0;
|
|
21
22
|
const axios_1 = __importDefault(require("axios"));
|
|
22
23
|
// Some imports not used depending on template conditions
|
|
23
24
|
// @ts-ignore
|
|
@@ -571,6 +572,26 @@ exports.PlanTypeEnum = {
|
|
|
571
572
|
STANDARD: 'standard',
|
|
572
573
|
PREMIUM: 'premium'
|
|
573
574
|
};
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @export
|
|
578
|
+
* @enum {string}
|
|
579
|
+
*/
|
|
580
|
+
exports.ProductDetailImageZoomTypeEnum = {
|
|
581
|
+
MOVE: 'move',
|
|
582
|
+
CLICK: 'click'
|
|
583
|
+
};
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @export
|
|
587
|
+
* @enum {string}
|
|
588
|
+
*/
|
|
589
|
+
exports.SitemapTypeEnum = {
|
|
590
|
+
PRODUCTS: 'products',
|
|
591
|
+
PAGES: 'pages',
|
|
592
|
+
COLLECTIONS: 'collections',
|
|
593
|
+
BLOG: 'blog'
|
|
594
|
+
};
|
|
574
595
|
/**
|
|
575
596
|
*
|
|
576
597
|
* @export
|
|
@@ -7997,6 +8018,176 @@ class ProductApi extends base_1.BaseAPI {
|
|
|
7997
8018
|
}
|
|
7998
8019
|
}
|
|
7999
8020
|
exports.ProductApi = ProductApi;
|
|
8021
|
+
/**
|
|
8022
|
+
* SitemapApi - axios parameter creator
|
|
8023
|
+
* @export
|
|
8024
|
+
*/
|
|
8025
|
+
const SitemapApiAxiosParamCreator = function (configuration) {
|
|
8026
|
+
return {
|
|
8027
|
+
/**
|
|
8028
|
+
*
|
|
8029
|
+
* @param {string} type
|
|
8030
|
+
* @param {string} page
|
|
8031
|
+
* @param {string} domain
|
|
8032
|
+
* @param {*} [options] Override http request option.
|
|
8033
|
+
* @throws {RequiredError}
|
|
8034
|
+
*/
|
|
8035
|
+
getSitemapByType: async (type, page, domain, options = {}) => {
|
|
8036
|
+
// verify required parameter 'type' is not null or undefined
|
|
8037
|
+
(0, common_1.assertParamExists)('getSitemapByType', 'type', type);
|
|
8038
|
+
// verify required parameter 'page' is not null or undefined
|
|
8039
|
+
(0, common_1.assertParamExists)('getSitemapByType', 'page', page);
|
|
8040
|
+
// verify required parameter 'domain' is not null or undefined
|
|
8041
|
+
(0, common_1.assertParamExists)('getSitemapByType', 'domain', domain);
|
|
8042
|
+
const localVarPath = `/api/sitemaps/{type}/{page}`
|
|
8043
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
8044
|
+
.replace(`{${"page"}}`, encodeURIComponent(String(page)));
|
|
8045
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8046
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8047
|
+
let baseOptions;
|
|
8048
|
+
if (configuration) {
|
|
8049
|
+
baseOptions = configuration.baseOptions;
|
|
8050
|
+
}
|
|
8051
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8052
|
+
const localVarHeaderParameter = {};
|
|
8053
|
+
const localVarQueryParameter = {};
|
|
8054
|
+
if (domain !== undefined) {
|
|
8055
|
+
localVarQueryParameter['domain'] = domain;
|
|
8056
|
+
}
|
|
8057
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8059
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8060
|
+
return {
|
|
8061
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8062
|
+
options: localVarRequestOptions,
|
|
8063
|
+
};
|
|
8064
|
+
},
|
|
8065
|
+
/**
|
|
8066
|
+
*
|
|
8067
|
+
* @param {string} domain
|
|
8068
|
+
* @param {*} [options] Override http request option.
|
|
8069
|
+
* @throws {RequiredError}
|
|
8070
|
+
*/
|
|
8071
|
+
getSitemaps: async (domain, options = {}) => {
|
|
8072
|
+
// verify required parameter 'domain' is not null or undefined
|
|
8073
|
+
(0, common_1.assertParamExists)('getSitemaps', 'domain', domain);
|
|
8074
|
+
const localVarPath = `/api/sitemaps`;
|
|
8075
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8076
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8077
|
+
let baseOptions;
|
|
8078
|
+
if (configuration) {
|
|
8079
|
+
baseOptions = configuration.baseOptions;
|
|
8080
|
+
}
|
|
8081
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8082
|
+
const localVarHeaderParameter = {};
|
|
8083
|
+
const localVarQueryParameter = {};
|
|
8084
|
+
if (domain !== undefined) {
|
|
8085
|
+
localVarQueryParameter['domain'] = domain;
|
|
8086
|
+
}
|
|
8087
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8088
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8089
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8090
|
+
return {
|
|
8091
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8092
|
+
options: localVarRequestOptions,
|
|
8093
|
+
};
|
|
8094
|
+
},
|
|
8095
|
+
};
|
|
8096
|
+
};
|
|
8097
|
+
exports.SitemapApiAxiosParamCreator = SitemapApiAxiosParamCreator;
|
|
8098
|
+
/**
|
|
8099
|
+
* SitemapApi - functional programming interface
|
|
8100
|
+
* @export
|
|
8101
|
+
*/
|
|
8102
|
+
const SitemapApiFp = function (configuration) {
|
|
8103
|
+
const localVarAxiosParamCreator = (0, exports.SitemapApiAxiosParamCreator)(configuration);
|
|
8104
|
+
return {
|
|
8105
|
+
/**
|
|
8106
|
+
*
|
|
8107
|
+
* @param {string} type
|
|
8108
|
+
* @param {string} page
|
|
8109
|
+
* @param {string} domain
|
|
8110
|
+
* @param {*} [options] Override http request option.
|
|
8111
|
+
* @throws {RequiredError}
|
|
8112
|
+
*/
|
|
8113
|
+
async getSitemapByType(type, page, domain, options) {
|
|
8114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
|
|
8115
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8116
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
|
|
8117
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8118
|
+
},
|
|
8119
|
+
/**
|
|
8120
|
+
*
|
|
8121
|
+
* @param {string} domain
|
|
8122
|
+
* @param {*} [options] Override http request option.
|
|
8123
|
+
* @throws {RequiredError}
|
|
8124
|
+
*/
|
|
8125
|
+
async getSitemaps(domain, options) {
|
|
8126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
|
|
8127
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8128
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
|
|
8129
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8130
|
+
},
|
|
8131
|
+
};
|
|
8132
|
+
};
|
|
8133
|
+
exports.SitemapApiFp = SitemapApiFp;
|
|
8134
|
+
/**
|
|
8135
|
+
* SitemapApi - factory interface
|
|
8136
|
+
* @export
|
|
8137
|
+
*/
|
|
8138
|
+
const SitemapApiFactory = function (configuration, basePath, axios) {
|
|
8139
|
+
const localVarFp = (0, exports.SitemapApiFp)(configuration);
|
|
8140
|
+
return {
|
|
8141
|
+
/**
|
|
8142
|
+
*
|
|
8143
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
8144
|
+
* @param {*} [options] Override http request option.
|
|
8145
|
+
* @throws {RequiredError}
|
|
8146
|
+
*/
|
|
8147
|
+
getSitemapByType(requestParameters, options) {
|
|
8148
|
+
return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
8149
|
+
},
|
|
8150
|
+
/**
|
|
8151
|
+
*
|
|
8152
|
+
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
8153
|
+
* @param {*} [options] Override http request option.
|
|
8154
|
+
* @throws {RequiredError}
|
|
8155
|
+
*/
|
|
8156
|
+
getSitemaps(requestParameters, options) {
|
|
8157
|
+
return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
8158
|
+
},
|
|
8159
|
+
};
|
|
8160
|
+
};
|
|
8161
|
+
exports.SitemapApiFactory = SitemapApiFactory;
|
|
8162
|
+
/**
|
|
8163
|
+
* SitemapApi - object-oriented interface
|
|
8164
|
+
* @export
|
|
8165
|
+
* @class SitemapApi
|
|
8166
|
+
* @extends {BaseAPI}
|
|
8167
|
+
*/
|
|
8168
|
+
class SitemapApi extends base_1.BaseAPI {
|
|
8169
|
+
/**
|
|
8170
|
+
*
|
|
8171
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
8172
|
+
* @param {*} [options] Override http request option.
|
|
8173
|
+
* @throws {RequiredError}
|
|
8174
|
+
* @memberof SitemapApi
|
|
8175
|
+
*/
|
|
8176
|
+
getSitemapByType(requestParameters, options) {
|
|
8177
|
+
return (0, exports.SitemapApiFp)(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
8178
|
+
}
|
|
8179
|
+
/**
|
|
8180
|
+
*
|
|
8181
|
+
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
8182
|
+
* @param {*} [options] Override http request option.
|
|
8183
|
+
* @throws {RequiredError}
|
|
8184
|
+
* @memberof SitemapApi
|
|
8185
|
+
*/
|
|
8186
|
+
getSitemaps(requestParameters, options) {
|
|
8187
|
+
return (0, exports.SitemapApiFp)(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
8188
|
+
}
|
|
8189
|
+
}
|
|
8190
|
+
exports.SitemapApi = SitemapApi;
|
|
8000
8191
|
/**
|
|
8001
8192
|
* TemplateApi - axios parameter creator
|
|
8002
8193
|
* @export
|
package/dist/api/api.mjs
CHANGED
|
@@ -561,6 +561,26 @@ export const PlanTypeEnum = {
|
|
|
561
561
|
STANDARD: 'standard',
|
|
562
562
|
PREMIUM: 'premium'
|
|
563
563
|
};
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @export
|
|
567
|
+
* @enum {string}
|
|
568
|
+
*/
|
|
569
|
+
export const ProductDetailImageZoomTypeEnum = {
|
|
570
|
+
MOVE: 'move',
|
|
571
|
+
CLICK: 'click'
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @export
|
|
576
|
+
* @enum {string}
|
|
577
|
+
*/
|
|
578
|
+
export const SitemapTypeEnum = {
|
|
579
|
+
PRODUCTS: 'products',
|
|
580
|
+
PAGES: 'pages',
|
|
581
|
+
COLLECTIONS: 'collections',
|
|
582
|
+
BLOG: 'blog'
|
|
583
|
+
};
|
|
564
584
|
/**
|
|
565
585
|
*
|
|
566
586
|
* @export
|
|
@@ -7931,6 +7951,172 @@ export class ProductApi extends BaseAPI {
|
|
|
7931
7951
|
return ProductApiFp(this.configuration).updateProduct(requestParameters.id, requestParameters.iProductPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7932
7952
|
}
|
|
7933
7953
|
}
|
|
7954
|
+
/**
|
|
7955
|
+
* SitemapApi - axios parameter creator
|
|
7956
|
+
* @export
|
|
7957
|
+
*/
|
|
7958
|
+
export const SitemapApiAxiosParamCreator = function (configuration) {
|
|
7959
|
+
return {
|
|
7960
|
+
/**
|
|
7961
|
+
*
|
|
7962
|
+
* @param {string} type
|
|
7963
|
+
* @param {string} page
|
|
7964
|
+
* @param {string} domain
|
|
7965
|
+
* @param {*} [options] Override http request option.
|
|
7966
|
+
* @throws {RequiredError}
|
|
7967
|
+
*/
|
|
7968
|
+
getSitemapByType: async (type, page, domain, options = {}) => {
|
|
7969
|
+
// verify required parameter 'type' is not null or undefined
|
|
7970
|
+
assertParamExists('getSitemapByType', 'type', type);
|
|
7971
|
+
// verify required parameter 'page' is not null or undefined
|
|
7972
|
+
assertParamExists('getSitemapByType', 'page', page);
|
|
7973
|
+
// verify required parameter 'domain' is not null or undefined
|
|
7974
|
+
assertParamExists('getSitemapByType', 'domain', domain);
|
|
7975
|
+
const localVarPath = `/api/sitemaps/{type}/{page}`
|
|
7976
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
7977
|
+
.replace(`{${"page"}}`, encodeURIComponent(String(page)));
|
|
7978
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7979
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7980
|
+
let baseOptions;
|
|
7981
|
+
if (configuration) {
|
|
7982
|
+
baseOptions = configuration.baseOptions;
|
|
7983
|
+
}
|
|
7984
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7985
|
+
const localVarHeaderParameter = {};
|
|
7986
|
+
const localVarQueryParameter = {};
|
|
7987
|
+
if (domain !== undefined) {
|
|
7988
|
+
localVarQueryParameter['domain'] = domain;
|
|
7989
|
+
}
|
|
7990
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7991
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7992
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7993
|
+
return {
|
|
7994
|
+
url: toPathString(localVarUrlObj),
|
|
7995
|
+
options: localVarRequestOptions,
|
|
7996
|
+
};
|
|
7997
|
+
},
|
|
7998
|
+
/**
|
|
7999
|
+
*
|
|
8000
|
+
* @param {string} domain
|
|
8001
|
+
* @param {*} [options] Override http request option.
|
|
8002
|
+
* @throws {RequiredError}
|
|
8003
|
+
*/
|
|
8004
|
+
getSitemaps: async (domain, options = {}) => {
|
|
8005
|
+
// verify required parameter 'domain' is not null or undefined
|
|
8006
|
+
assertParamExists('getSitemaps', 'domain', domain);
|
|
8007
|
+
const localVarPath = `/api/sitemaps`;
|
|
8008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8010
|
+
let baseOptions;
|
|
8011
|
+
if (configuration) {
|
|
8012
|
+
baseOptions = configuration.baseOptions;
|
|
8013
|
+
}
|
|
8014
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8015
|
+
const localVarHeaderParameter = {};
|
|
8016
|
+
const localVarQueryParameter = {};
|
|
8017
|
+
if (domain !== undefined) {
|
|
8018
|
+
localVarQueryParameter['domain'] = domain;
|
|
8019
|
+
}
|
|
8020
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8021
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8022
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8023
|
+
return {
|
|
8024
|
+
url: toPathString(localVarUrlObj),
|
|
8025
|
+
options: localVarRequestOptions,
|
|
8026
|
+
};
|
|
8027
|
+
},
|
|
8028
|
+
};
|
|
8029
|
+
};
|
|
8030
|
+
/**
|
|
8031
|
+
* SitemapApi - functional programming interface
|
|
8032
|
+
* @export
|
|
8033
|
+
*/
|
|
8034
|
+
export const SitemapApiFp = function (configuration) {
|
|
8035
|
+
const localVarAxiosParamCreator = SitemapApiAxiosParamCreator(configuration);
|
|
8036
|
+
return {
|
|
8037
|
+
/**
|
|
8038
|
+
*
|
|
8039
|
+
* @param {string} type
|
|
8040
|
+
* @param {string} page
|
|
8041
|
+
* @param {string} domain
|
|
8042
|
+
* @param {*} [options] Override http request option.
|
|
8043
|
+
* @throws {RequiredError}
|
|
8044
|
+
*/
|
|
8045
|
+
async getSitemapByType(type, page, domain, options) {
|
|
8046
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemapByType(type, page, domain, options);
|
|
8047
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8048
|
+
const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemapByType']?.[localVarOperationServerIndex]?.url;
|
|
8049
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8050
|
+
},
|
|
8051
|
+
/**
|
|
8052
|
+
*
|
|
8053
|
+
* @param {string} domain
|
|
8054
|
+
* @param {*} [options] Override http request option.
|
|
8055
|
+
* @throws {RequiredError}
|
|
8056
|
+
*/
|
|
8057
|
+
async getSitemaps(domain, options) {
|
|
8058
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSitemaps(domain, options);
|
|
8059
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8060
|
+
const localVarOperationServerBasePath = operationServerMap['SitemapApi.getSitemaps']?.[localVarOperationServerIndex]?.url;
|
|
8061
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8062
|
+
},
|
|
8063
|
+
};
|
|
8064
|
+
};
|
|
8065
|
+
/**
|
|
8066
|
+
* SitemapApi - factory interface
|
|
8067
|
+
* @export
|
|
8068
|
+
*/
|
|
8069
|
+
export const SitemapApiFactory = function (configuration, basePath, axios) {
|
|
8070
|
+
const localVarFp = SitemapApiFp(configuration);
|
|
8071
|
+
return {
|
|
8072
|
+
/**
|
|
8073
|
+
*
|
|
8074
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
8075
|
+
* @param {*} [options] Override http request option.
|
|
8076
|
+
* @throws {RequiredError}
|
|
8077
|
+
*/
|
|
8078
|
+
getSitemapByType(requestParameters, options) {
|
|
8079
|
+
return localVarFp.getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
8080
|
+
},
|
|
8081
|
+
/**
|
|
8082
|
+
*
|
|
8083
|
+
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
8084
|
+
* @param {*} [options] Override http request option.
|
|
8085
|
+
* @throws {RequiredError}
|
|
8086
|
+
*/
|
|
8087
|
+
getSitemaps(requestParameters, options) {
|
|
8088
|
+
return localVarFp.getSitemaps(requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
8089
|
+
},
|
|
8090
|
+
};
|
|
8091
|
+
};
|
|
8092
|
+
/**
|
|
8093
|
+
* SitemapApi - object-oriented interface
|
|
8094
|
+
* @export
|
|
8095
|
+
* @class SitemapApi
|
|
8096
|
+
* @extends {BaseAPI}
|
|
8097
|
+
*/
|
|
8098
|
+
export class SitemapApi extends BaseAPI {
|
|
8099
|
+
/**
|
|
8100
|
+
*
|
|
8101
|
+
* @param {SitemapApiGetSitemapByTypeRequest} requestParameters Request parameters.
|
|
8102
|
+
* @param {*} [options] Override http request option.
|
|
8103
|
+
* @throws {RequiredError}
|
|
8104
|
+
* @memberof SitemapApi
|
|
8105
|
+
*/
|
|
8106
|
+
getSitemapByType(requestParameters, options) {
|
|
8107
|
+
return SitemapApiFp(this.configuration).getSitemapByType(requestParameters.type, requestParameters.page, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
8108
|
+
}
|
|
8109
|
+
/**
|
|
8110
|
+
*
|
|
8111
|
+
* @param {SitemapApiGetSitemapsRequest} requestParameters Request parameters.
|
|
8112
|
+
* @param {*} [options] Override http request option.
|
|
8113
|
+
* @throws {RequiredError}
|
|
8114
|
+
* @memberof SitemapApi
|
|
8115
|
+
*/
|
|
8116
|
+
getSitemaps(requestParameters, options) {
|
|
8117
|
+
return SitemapApiFp(this.configuration).getSitemaps(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
8118
|
+
}
|
|
8119
|
+
}
|
|
7934
8120
|
/**
|
|
7935
8121
|
* TemplateApi - axios parameter creator
|
|
7936
8122
|
* @export
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ interface IApiClient {
|
|
|
17
17
|
ThemeApi: doc.ThemeApi;
|
|
18
18
|
TemplateApi: doc.TemplateApi;
|
|
19
19
|
ContactFormApi: doc.ContactFormApi;
|
|
20
|
+
SitemapApi: doc.SitemapApi;
|
|
20
21
|
interceptors: {
|
|
21
22
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
22
23
|
response: AxiosInterceptorManager<AxiosResponse>;
|
|
@@ -47,6 +48,7 @@ export declare class ApiClient implements IApiClient {
|
|
|
47
48
|
ThemeApi: doc.ThemeApi;
|
|
48
49
|
TemplateApi: doc.TemplateApi;
|
|
49
50
|
ContactFormApi: doc.ContactFormApi;
|
|
51
|
+
SitemapApi: doc.SitemapApi;
|
|
50
52
|
constructor(baseURL: string, options?: {
|
|
51
53
|
headers?: Record<string, string>;
|
|
52
54
|
} | undefined);
|
package/dist/index.js
CHANGED
|
@@ -61,6 +61,7 @@ class ApiClient {
|
|
|
61
61
|
this.ThemeApi = new doc.ThemeApi(undefined, this.baseURL, this.api);
|
|
62
62
|
this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
|
|
63
63
|
this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
|
|
64
|
+
this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
|
|
64
65
|
this.interceptors = {
|
|
65
66
|
request: this.api.interceptors.request,
|
|
66
67
|
response: this.api.interceptors.response,
|
package/dist/index.mjs
CHANGED
|
@@ -29,6 +29,7 @@ export class ApiClient {
|
|
|
29
29
|
this.ThemeApi = new doc.ThemeApi(undefined, this.baseURL, this.api);
|
|
30
30
|
this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
|
|
31
31
|
this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
|
|
32
|
+
this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
|
|
32
33
|
this.interceptors = {
|
|
33
34
|
request: this.api.interceptors.request,
|
|
34
35
|
response: this.api.interceptors.response,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.39",
|
|
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",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "npm run openapi && npm exec tsc-multi",
|
|
14
|
-
"openapi": "npx @openapitools/openapi-generator-cli generate -i swagger.json -g typescript-axios -o lib/api --additional-properties=useSingleRequestParameter=true,enumPropertyNaming=UPPERCASE"
|
|
14
|
+
"openapi": "npx @openapitools/openapi-generator-cli generate -i swagger.json -g typescript-axios -o lib/api --additional-properties=useSingleRequestParameter=true,enumPropertyNaming=UPPERCASE,legacyDiscriminatorBehavior=false"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"dist"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "910aed4adc0509233b726a1cf12da6866017cfee"
|
|
41
41
|
}
|