@infisale-client/api 1.3.13 → 1.3.15
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 +74 -84
- package/dist/api/api.js +32 -49
- package/dist/api/api.mjs +28 -45
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -6250,10 +6250,10 @@ export interface IPageCollectionQueryParams {
|
|
|
6250
6250
|
'domain'?: string;
|
|
6251
6251
|
/**
|
|
6252
6252
|
*
|
|
6253
|
-
* @type {
|
|
6253
|
+
* @type {string}
|
|
6254
6254
|
* @memberof IPageCollectionQueryParams
|
|
6255
6255
|
*/
|
|
6256
|
-
'type'?:
|
|
6256
|
+
'type'?: string;
|
|
6257
6257
|
/**
|
|
6258
6258
|
*
|
|
6259
6259
|
* @type {ContentStatusEnum}
|
|
@@ -6298,10 +6298,10 @@ export interface IPageGetAllQueryParams {
|
|
|
6298
6298
|
'template'?: string;
|
|
6299
6299
|
/**
|
|
6300
6300
|
*
|
|
6301
|
-
* @type {Array<
|
|
6301
|
+
* @type {Array<string>}
|
|
6302
6302
|
* @memberof IPageGetAllQueryParams
|
|
6303
6303
|
*/
|
|
6304
|
-
'type'?: Array<
|
|
6304
|
+
'type'?: Array<string>;
|
|
6305
6305
|
}
|
|
6306
6306
|
/**
|
|
6307
6307
|
*
|
|
@@ -6329,10 +6329,10 @@ export interface IPagePatchRequest {
|
|
|
6329
6329
|
'thumbnail'?: IImage;
|
|
6330
6330
|
/**
|
|
6331
6331
|
*
|
|
6332
|
-
* @type {
|
|
6332
|
+
* @type {string}
|
|
6333
6333
|
* @memberof IPagePatchRequest
|
|
6334
6334
|
*/
|
|
6335
|
-
'type'?:
|
|
6335
|
+
'type'?: string;
|
|
6336
6336
|
}
|
|
6337
6337
|
/**
|
|
6338
6338
|
*
|
|
@@ -6360,10 +6360,10 @@ export interface IPagePostRequest {
|
|
|
6360
6360
|
'thumbnail'?: IImage;
|
|
6361
6361
|
/**
|
|
6362
6362
|
*
|
|
6363
|
-
* @type {
|
|
6363
|
+
* @type {string}
|
|
6364
6364
|
* @memberof IPagePostRequest
|
|
6365
6365
|
*/
|
|
6366
|
-
'type':
|
|
6366
|
+
'type': string;
|
|
6367
6367
|
/**
|
|
6368
6368
|
*
|
|
6369
6369
|
* @type {ITemplateResponse}
|
|
@@ -6435,10 +6435,10 @@ export interface IPageResponse {
|
|
|
6435
6435
|
'thumbnail'?: IImage;
|
|
6436
6436
|
/**
|
|
6437
6437
|
*
|
|
6438
|
-
* @type {
|
|
6438
|
+
* @type {string}
|
|
6439
6439
|
* @memberof IPageResponse
|
|
6440
6440
|
*/
|
|
6441
|
-
'type':
|
|
6441
|
+
'type': string;
|
|
6442
6442
|
/**
|
|
6443
6443
|
*
|
|
6444
6444
|
* @type {ContentStatusEnum}
|
|
@@ -8406,10 +8406,10 @@ export interface ITemplatePatchRequest {
|
|
|
8406
8406
|
'components'?: PartialRecordLanguageEnumITemplateComponentResponseArray;
|
|
8407
8407
|
/**
|
|
8408
8408
|
*
|
|
8409
|
-
* @type {
|
|
8409
|
+
* @type {string}
|
|
8410
8410
|
* @memberof ITemplatePatchRequest
|
|
8411
8411
|
*/
|
|
8412
|
-
'type'?:
|
|
8412
|
+
'type'?: string;
|
|
8413
8413
|
/**
|
|
8414
8414
|
*
|
|
8415
8415
|
* @type {boolean}
|
|
@@ -8449,10 +8449,10 @@ export interface ITemplatePostRequest {
|
|
|
8449
8449
|
'theme': string;
|
|
8450
8450
|
/**
|
|
8451
8451
|
*
|
|
8452
|
-
* @type {
|
|
8452
|
+
* @type {string}
|
|
8453
8453
|
* @memberof ITemplatePostRequest
|
|
8454
8454
|
*/
|
|
8455
|
-
'type':
|
|
8455
|
+
'type': string;
|
|
8456
8456
|
/**
|
|
8457
8457
|
*
|
|
8458
8458
|
* @type {boolean}
|
|
@@ -8510,10 +8510,10 @@ export interface ITemplateResponse {
|
|
|
8510
8510
|
'theme': string;
|
|
8511
8511
|
/**
|
|
8512
8512
|
*
|
|
8513
|
-
* @type {
|
|
8513
|
+
* @type {string}
|
|
8514
8514
|
* @memberof ITemplateResponse
|
|
8515
8515
|
*/
|
|
8516
|
-
'type':
|
|
8516
|
+
'type': string;
|
|
8517
8517
|
/**
|
|
8518
8518
|
*
|
|
8519
8519
|
* @type {boolean}
|
|
@@ -9459,22 +9459,6 @@ export declare const OrderStatusEnum: {
|
|
|
9459
9459
|
readonly CREATED: "created";
|
|
9460
9460
|
};
|
|
9461
9461
|
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
9462
|
/**
|
|
9479
9463
|
* Make all properties in T optional
|
|
9480
9464
|
* @export
|
|
@@ -10979,10 +10963,10 @@ export interface PickIPageExcludeKeyofIPageTemplate {
|
|
|
10979
10963
|
'thumbnail'?: IImage;
|
|
10980
10964
|
/**
|
|
10981
10965
|
*
|
|
10982
|
-
* @type {
|
|
10966
|
+
* @type {string}
|
|
10983
10967
|
* @memberof PickIPageExcludeKeyofIPageTemplate
|
|
10984
10968
|
*/
|
|
10985
|
-
'type':
|
|
10969
|
+
'type': string;
|
|
10986
10970
|
}
|
|
10987
10971
|
/**
|
|
10988
10972
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11010,10 +10994,10 @@ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrT
|
|
|
11010
10994
|
'thumbnail'?: IImage;
|
|
11011
10995
|
/**
|
|
11012
10996
|
*
|
|
11013
|
-
* @type {
|
|
10997
|
+
* @type {string}
|
|
11014
10998
|
* @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
|
|
11015
10999
|
*/
|
|
11016
|
-
'type':
|
|
11000
|
+
'type': string;
|
|
11017
11001
|
}
|
|
11018
11002
|
/**
|
|
11019
11003
|
* From T, pick a set of properties whose keys are in the union K
|
|
@@ -11468,10 +11452,10 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
|
|
|
11468
11452
|
'theme': string;
|
|
11469
11453
|
/**
|
|
11470
11454
|
*
|
|
11471
|
-
* @type {
|
|
11455
|
+
* @type {string}
|
|
11472
11456
|
* @memberof PickITemplateExcludeKeyofITemplateComponents
|
|
11473
11457
|
*/
|
|
11474
|
-
'type':
|
|
11458
|
+
'type': string;
|
|
11475
11459
|
/**
|
|
11476
11460
|
*
|
|
11477
11461
|
* @type {boolean}
|
|
@@ -11511,10 +11495,10 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
|
|
|
11511
11495
|
'theme': string;
|
|
11512
11496
|
/**
|
|
11513
11497
|
*
|
|
11514
|
-
* @type {
|
|
11498
|
+
* @type {string}
|
|
11515
11499
|
* @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
|
|
11516
11500
|
*/
|
|
11517
|
-
'type':
|
|
11501
|
+
'type': string;
|
|
11518
11502
|
/**
|
|
11519
11503
|
*
|
|
11520
11504
|
* @type {boolean}
|
|
@@ -12355,24 +12339,6 @@ export interface SubCategories {
|
|
|
12355
12339
|
*/
|
|
12356
12340
|
'_id': string;
|
|
12357
12341
|
}
|
|
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
12342
|
/**
|
|
12377
12343
|
*
|
|
12378
12344
|
* @export
|
|
@@ -19113,11 +19079,11 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
19113
19079
|
* @param {string} [domain]
|
|
19114
19080
|
* @param {string} [search]
|
|
19115
19081
|
* @param {string} [template]
|
|
19116
|
-
* @param {Array<
|
|
19082
|
+
* @param {Array<string>} [type]
|
|
19117
19083
|
* @param {*} [options] Override http request option.
|
|
19118
19084
|
* @throws {RequiredError}
|
|
19119
19085
|
*/
|
|
19120
|
-
getAllPages: (companyId?: string, domain?: string, search?: string, template?: string, type?: Array<
|
|
19086
|
+
getAllPages: (companyId?: string, domain?: string, search?: string, template?: string, type?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19121
19087
|
/**
|
|
19122
19088
|
*
|
|
19123
19089
|
* @param {string} id
|
|
@@ -19136,14 +19102,14 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
19136
19102
|
getPageBySlug: (slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19137
19103
|
/**
|
|
19138
19104
|
*
|
|
19139
|
-
* @param {
|
|
19105
|
+
* @param {string} type
|
|
19140
19106
|
* @param {string} [companyId]
|
|
19141
19107
|
* @param {string} [domain]
|
|
19142
19108
|
* @param {string} [template]
|
|
19143
19109
|
* @param {*} [options] Override http request option.
|
|
19144
19110
|
* @throws {RequiredError}
|
|
19145
19111
|
*/
|
|
19146
|
-
getPageByType: (type:
|
|
19112
|
+
getPageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19147
19113
|
/**
|
|
19148
19114
|
*
|
|
19149
19115
|
* @param {number} [page]
|
|
@@ -19156,12 +19122,12 @@ export declare const PageApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
19156
19122
|
* @param {string} [sort]
|
|
19157
19123
|
* @param {string} [companyId]
|
|
19158
19124
|
* @param {string} [domain]
|
|
19159
|
-
* @param {
|
|
19125
|
+
* @param {string} [type]
|
|
19160
19126
|
* @param {ContentStatusEnum} [status]
|
|
19161
19127
|
* @param {*} [options] Override http request option.
|
|
19162
19128
|
* @throws {RequiredError}
|
|
19163
19129
|
*/
|
|
19164
|
-
getPages: (page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?:
|
|
19130
|
+
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
19131
|
/**
|
|
19166
19132
|
*
|
|
19167
19133
|
* @param {string} id
|
|
@@ -19196,11 +19162,11 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
19196
19162
|
* @param {string} [domain]
|
|
19197
19163
|
* @param {string} [search]
|
|
19198
19164
|
* @param {string} [template]
|
|
19199
|
-
* @param {Array<
|
|
19165
|
+
* @param {Array<string>} [type]
|
|
19200
19166
|
* @param {*} [options] Override http request option.
|
|
19201
19167
|
* @throws {RequiredError}
|
|
19202
19168
|
*/
|
|
19203
|
-
getAllPages(companyId?: string, domain?: string, search?: string, template?: string, type?: Array<
|
|
19169
|
+
getAllPages(companyId?: string, domain?: string, search?: string, template?: string, type?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPagesResponse>>;
|
|
19204
19170
|
/**
|
|
19205
19171
|
*
|
|
19206
19172
|
* @param {string} id
|
|
@@ -19219,14 +19185,14 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
19219
19185
|
getPageBySlug(slug: string, companyId?: string, domain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
19220
19186
|
/**
|
|
19221
19187
|
*
|
|
19222
|
-
* @param {
|
|
19188
|
+
* @param {string} type
|
|
19223
19189
|
* @param {string} [companyId]
|
|
19224
19190
|
* @param {string} [domain]
|
|
19225
19191
|
* @param {string} [template]
|
|
19226
19192
|
* @param {*} [options] Override http request option.
|
|
19227
19193
|
* @throws {RequiredError}
|
|
19228
19194
|
*/
|
|
19229
|
-
getPageByType(type:
|
|
19195
|
+
getPageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IPageResponse>>;
|
|
19230
19196
|
/**
|
|
19231
19197
|
*
|
|
19232
19198
|
* @param {number} [page]
|
|
@@ -19239,12 +19205,12 @@ export declare const PageApiFp: (configuration?: Configuration) => {
|
|
|
19239
19205
|
* @param {string} [sort]
|
|
19240
19206
|
* @param {string} [companyId]
|
|
19241
19207
|
* @param {string} [domain]
|
|
19242
|
-
* @param {
|
|
19208
|
+
* @param {string} [type]
|
|
19243
19209
|
* @param {ContentStatusEnum} [status]
|
|
19244
19210
|
* @param {*} [options] Override http request option.
|
|
19245
19211
|
* @throws {RequiredError}
|
|
19246
19212
|
*/
|
|
19247
|
-
getPages(page?: number, itemsPerPage?: number, search?: string, startDate?: string, endDate?: string, dateField?: GetPagesDateFieldEnum, order?: OrderEnum, sort?: string, companyId?: string, domain?: string, type?:
|
|
19213
|
+
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
19214
|
/**
|
|
19249
19215
|
*
|
|
19250
19216
|
* @param {string} id
|
|
@@ -19374,10 +19340,10 @@ export interface PageApiGetAllPagesRequest {
|
|
|
19374
19340
|
readonly template?: string;
|
|
19375
19341
|
/**
|
|
19376
19342
|
*
|
|
19377
|
-
* @type {Array<
|
|
19343
|
+
* @type {Array<string>}
|
|
19378
19344
|
* @memberof PageApiGetAllPages
|
|
19379
19345
|
*/
|
|
19380
|
-
readonly type?: Array<
|
|
19346
|
+
readonly type?: Array<string>;
|
|
19381
19347
|
}
|
|
19382
19348
|
/**
|
|
19383
19349
|
* Request parameters for getPageById operation in PageApi.
|
|
@@ -19425,10 +19391,10 @@ export interface PageApiGetPageBySlugRequest {
|
|
|
19425
19391
|
export interface PageApiGetPageByTypeRequest {
|
|
19426
19392
|
/**
|
|
19427
19393
|
*
|
|
19428
|
-
* @type {
|
|
19394
|
+
* @type {string}
|
|
19429
19395
|
* @memberof PageApiGetPageByType
|
|
19430
19396
|
*/
|
|
19431
|
-
readonly type:
|
|
19397
|
+
readonly type: string;
|
|
19432
19398
|
/**
|
|
19433
19399
|
*
|
|
19434
19400
|
* @type {string}
|
|
@@ -19516,10 +19482,10 @@ export interface PageApiGetPagesRequest {
|
|
|
19516
19482
|
readonly domain?: string;
|
|
19517
19483
|
/**
|
|
19518
19484
|
*
|
|
19519
|
-
* @type {
|
|
19485
|
+
* @type {string}
|
|
19520
19486
|
* @memberof PageApiGetPages
|
|
19521
19487
|
*/
|
|
19522
|
-
readonly type?:
|
|
19488
|
+
readonly type?: string;
|
|
19523
19489
|
/**
|
|
19524
19490
|
*
|
|
19525
19491
|
* @type {ContentStatusEnum}
|
|
@@ -20737,14 +20703,14 @@ export declare const TemplateApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20737
20703
|
/**
|
|
20738
20704
|
*
|
|
20739
20705
|
* @param {string} companyId
|
|
20740
|
-
* @param {
|
|
20706
|
+
* @param {string} [type]
|
|
20741
20707
|
* @param {string} [search]
|
|
20742
20708
|
* @param {string} [theme]
|
|
20743
20709
|
* @param {boolean} [unique]
|
|
20744
20710
|
* @param {*} [options] Override http request option.
|
|
20745
20711
|
* @throws {RequiredError}
|
|
20746
20712
|
*/
|
|
20747
|
-
getTemplates: (companyId: string, type?:
|
|
20713
|
+
getTemplates: (companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20748
20714
|
/**
|
|
20749
20715
|
*
|
|
20750
20716
|
* @param {string} id
|
|
@@ -20776,14 +20742,14 @@ export declare const TemplateApiFp: (configuration?: Configuration) => {
|
|
|
20776
20742
|
/**
|
|
20777
20743
|
*
|
|
20778
20744
|
* @param {string} companyId
|
|
20779
|
-
* @param {
|
|
20745
|
+
* @param {string} [type]
|
|
20780
20746
|
* @param {string} [search]
|
|
20781
20747
|
* @param {string} [theme]
|
|
20782
20748
|
* @param {boolean} [unique]
|
|
20783
20749
|
* @param {*} [options] Override http request option.
|
|
20784
20750
|
* @throws {RequiredError}
|
|
20785
20751
|
*/
|
|
20786
|
-
getTemplates(companyId: string, type?:
|
|
20752
|
+
getTemplates(companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
|
|
20787
20753
|
/**
|
|
20788
20754
|
*
|
|
20789
20755
|
* @param {string} id
|
|
@@ -20867,10 +20833,10 @@ export interface TemplateApiGetTemplatesRequest {
|
|
|
20867
20833
|
readonly companyId: string;
|
|
20868
20834
|
/**
|
|
20869
20835
|
*
|
|
20870
|
-
* @type {
|
|
20836
|
+
* @type {string}
|
|
20871
20837
|
* @memberof TemplateApiGetTemplates
|
|
20872
20838
|
*/
|
|
20873
|
-
readonly type?:
|
|
20839
|
+
readonly type?: string;
|
|
20874
20840
|
/**
|
|
20875
20841
|
*
|
|
20876
20842
|
* @type {string}
|
|
@@ -21325,10 +21291,13 @@ export declare const UniquePageApiAxiosParamCreator: (configuration?: Configurat
|
|
|
21325
21291
|
/**
|
|
21326
21292
|
*
|
|
21327
21293
|
* @param {string} type
|
|
21294
|
+
* @param {string} [companyId]
|
|
21295
|
+
* @param {string} [domain]
|
|
21296
|
+
* @param {string} [template]
|
|
21328
21297
|
* @param {*} [options] Override http request option.
|
|
21329
21298
|
* @throws {RequiredError}
|
|
21330
21299
|
*/
|
|
21331
|
-
getUniquePageByType: (type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21300
|
+
getUniquePageByType: (type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21332
21301
|
/**
|
|
21333
21302
|
*
|
|
21334
21303
|
* @param {number} [page]
|
|
@@ -21369,10 +21338,13 @@ export declare const UniquePageApiFp: (configuration?: Configuration) => {
|
|
|
21369
21338
|
/**
|
|
21370
21339
|
*
|
|
21371
21340
|
* @param {string} type
|
|
21341
|
+
* @param {string} [companyId]
|
|
21342
|
+
* @param {string} [domain]
|
|
21343
|
+
* @param {string} [template]
|
|
21372
21344
|
* @param {*} [options] Override http request option.
|
|
21373
21345
|
* @throws {RequiredError}
|
|
21374
21346
|
*/
|
|
21375
|
-
getUniquePageByType(type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
|
|
21347
|
+
getUniquePageByType(type: string, companyId?: string, domain?: string, template?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUniquePageResponse>>;
|
|
21376
21348
|
/**
|
|
21377
21349
|
*
|
|
21378
21350
|
* @param {number} [page]
|
|
@@ -21457,6 +21429,24 @@ export interface UniquePageApiGetUniquePageByTypeRequest {
|
|
|
21457
21429
|
* @memberof UniquePageApiGetUniquePageByType
|
|
21458
21430
|
*/
|
|
21459
21431
|
readonly type: string;
|
|
21432
|
+
/**
|
|
21433
|
+
*
|
|
21434
|
+
* @type {string}
|
|
21435
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
21436
|
+
*/
|
|
21437
|
+
readonly companyId?: string;
|
|
21438
|
+
/**
|
|
21439
|
+
*
|
|
21440
|
+
* @type {string}
|
|
21441
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
21442
|
+
*/
|
|
21443
|
+
readonly domain?: string;
|
|
21444
|
+
/**
|
|
21445
|
+
*
|
|
21446
|
+
* @type {string}
|
|
21447
|
+
* @memberof UniquePageApiGetUniquePageByType
|
|
21448
|
+
*/
|
|
21449
|
+
readonly template?: string;
|
|
21460
21450
|
}
|
|
21461
21451
|
/**
|
|
21462
21452
|
* Request parameters for getUniquePages operation in UniquePageApi.
|
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.
|
|
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.
|
|
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 =
|
|
22
|
-
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator =
|
|
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.FileApi = 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.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = void 0;
|
|
21
|
+
exports.GetUniquePagesDateFieldEnum = 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 = void 0;
|
|
22
|
+
exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
23
23
|
const axios_1 = __importDefault(require("axios"));
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
@@ -603,21 +603,6 @@ exports.OrderStatusEnum = {
|
|
|
603
603
|
CANCELLED: 'cancelled',
|
|
604
604
|
CREATED: 'created'
|
|
605
605
|
};
|
|
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
606
|
/**
|
|
622
607
|
*
|
|
623
608
|
* @export
|
|
@@ -713,23 +698,6 @@ exports.SitemapTypeEnum = {
|
|
|
713
698
|
COLLECTIONS: 'collections',
|
|
714
699
|
BLOG: 'blog'
|
|
715
700
|
};
|
|
716
|
-
/**
|
|
717
|
-
*
|
|
718
|
-
* @export
|
|
719
|
-
* @enum {string}
|
|
720
|
-
*/
|
|
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'
|
|
732
|
-
};
|
|
733
701
|
/**
|
|
734
702
|
*
|
|
735
703
|
* @export
|
|
@@ -9179,7 +9147,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9179
9147
|
* @param {string} [domain]
|
|
9180
9148
|
* @param {string} [search]
|
|
9181
9149
|
* @param {string} [template]
|
|
9182
|
-
* @param {Array<
|
|
9150
|
+
* @param {Array<string>} [type]
|
|
9183
9151
|
* @param {*} [options] Override http request option.
|
|
9184
9152
|
* @throws {RequiredError}
|
|
9185
9153
|
*/
|
|
@@ -9283,7 +9251,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9283
9251
|
},
|
|
9284
9252
|
/**
|
|
9285
9253
|
*
|
|
9286
|
-
* @param {
|
|
9254
|
+
* @param {string} type
|
|
9287
9255
|
* @param {string} [companyId]
|
|
9288
9256
|
* @param {string} [domain]
|
|
9289
9257
|
* @param {string} [template]
|
|
@@ -9333,7 +9301,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9333
9301
|
* @param {string} [sort]
|
|
9334
9302
|
* @param {string} [companyId]
|
|
9335
9303
|
* @param {string} [domain]
|
|
9336
|
-
* @param {
|
|
9304
|
+
* @param {string} [type]
|
|
9337
9305
|
* @param {ContentStatusEnum} [status]
|
|
9338
9306
|
* @param {*} [options] Override http request option.
|
|
9339
9307
|
* @throws {RequiredError}
|
|
@@ -9470,7 +9438,7 @@ const PageApiFp = function (configuration) {
|
|
|
9470
9438
|
* @param {string} [domain]
|
|
9471
9439
|
* @param {string} [search]
|
|
9472
9440
|
* @param {string} [template]
|
|
9473
|
-
* @param {Array<
|
|
9441
|
+
* @param {Array<string>} [type]
|
|
9474
9442
|
* @param {*} [options] Override http request option.
|
|
9475
9443
|
* @throws {RequiredError}
|
|
9476
9444
|
*/
|
|
@@ -9508,7 +9476,7 @@ const PageApiFp = function (configuration) {
|
|
|
9508
9476
|
},
|
|
9509
9477
|
/**
|
|
9510
9478
|
*
|
|
9511
|
-
* @param {
|
|
9479
|
+
* @param {string} type
|
|
9512
9480
|
* @param {string} [companyId]
|
|
9513
9481
|
* @param {string} [domain]
|
|
9514
9482
|
* @param {string} [template]
|
|
@@ -9533,7 +9501,7 @@ const PageApiFp = function (configuration) {
|
|
|
9533
9501
|
* @param {string} [sort]
|
|
9534
9502
|
* @param {string} [companyId]
|
|
9535
9503
|
* @param {string} [domain]
|
|
9536
|
-
* @param {
|
|
9504
|
+
* @param {string} [type]
|
|
9537
9505
|
* @param {ContentStatusEnum} [status]
|
|
9538
9506
|
* @param {*} [options] Override http request option.
|
|
9539
9507
|
* @throws {RequiredError}
|
|
@@ -11101,7 +11069,7 @@ const TemplateApiAxiosParamCreator = function (configuration) {
|
|
|
11101
11069
|
/**
|
|
11102
11070
|
*
|
|
11103
11071
|
* @param {string} companyId
|
|
11104
|
-
* @param {
|
|
11072
|
+
* @param {string} [type]
|
|
11105
11073
|
* @param {string} [search]
|
|
11106
11074
|
* @param {string} [theme]
|
|
11107
11075
|
* @param {boolean} [unique]
|
|
@@ -11214,7 +11182,7 @@ const TemplateApiFp = function (configuration) {
|
|
|
11214
11182
|
/**
|
|
11215
11183
|
*
|
|
11216
11184
|
* @param {string} companyId
|
|
11217
|
-
* @param {
|
|
11185
|
+
* @param {string} [type]
|
|
11218
11186
|
* @param {string} [search]
|
|
11219
11187
|
* @param {string} [theme]
|
|
11220
11188
|
* @param {boolean} [unique]
|
|
@@ -11898,10 +11866,13 @@ const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11898
11866
|
/**
|
|
11899
11867
|
*
|
|
11900
11868
|
* @param {string} type
|
|
11869
|
+
* @param {string} [companyId]
|
|
11870
|
+
* @param {string} [domain]
|
|
11871
|
+
* @param {string} [template]
|
|
11901
11872
|
* @param {*} [options] Override http request option.
|
|
11902
11873
|
* @throws {RequiredError}
|
|
11903
11874
|
*/
|
|
11904
|
-
getUniquePageByType: async (type, options = {}) => {
|
|
11875
|
+
getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
|
|
11905
11876
|
// verify required parameter 'type' is not null or undefined
|
|
11906
11877
|
(0, common_1.assertParamExists)('getUniquePageByType', 'type', type);
|
|
11907
11878
|
const localVarPath = `/api/unique-pages/type/{type}`
|
|
@@ -11915,6 +11886,15 @@ const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11915
11886
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11916
11887
|
const localVarHeaderParameter = {};
|
|
11917
11888
|
const localVarQueryParameter = {};
|
|
11889
|
+
if (companyId !== undefined) {
|
|
11890
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
11891
|
+
}
|
|
11892
|
+
if (domain !== undefined) {
|
|
11893
|
+
localVarQueryParameter['domain'] = domain;
|
|
11894
|
+
}
|
|
11895
|
+
if (template !== undefined) {
|
|
11896
|
+
localVarQueryParameter['template'] = template;
|
|
11897
|
+
}
|
|
11918
11898
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11919
11899
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11920
11900
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -12049,11 +12029,14 @@ const UniquePageApiFp = function (configuration) {
|
|
|
12049
12029
|
/**
|
|
12050
12030
|
*
|
|
12051
12031
|
* @param {string} type
|
|
12032
|
+
* @param {string} [companyId]
|
|
12033
|
+
* @param {string} [domain]
|
|
12034
|
+
* @param {string} [template]
|
|
12052
12035
|
* @param {*} [options] Override http request option.
|
|
12053
12036
|
* @throws {RequiredError}
|
|
12054
12037
|
*/
|
|
12055
|
-
async getUniquePageByType(type, options) {
|
|
12056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
|
|
12038
|
+
async getUniquePageByType(type, companyId, domain, template, options) {
|
|
12039
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
|
|
12057
12040
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12058
12041
|
const localVarOperationServerBasePath = base_1.operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
12059
12042
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12118,7 +12101,7 @@ const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
|
12118
12101
|
* @throws {RequiredError}
|
|
12119
12102
|
*/
|
|
12120
12103
|
getUniquePageByType(requestParameters, options) {
|
|
12121
|
-
return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12104
|
+
return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
|
|
12122
12105
|
},
|
|
12123
12106
|
/**
|
|
12124
12107
|
*
|
|
@@ -12166,7 +12149,7 @@ class UniquePageApi extends base_1.BaseAPI {
|
|
|
12166
12149
|
* @memberof UniquePageApi
|
|
12167
12150
|
*/
|
|
12168
12151
|
getUniquePageByType(requestParameters, options) {
|
|
12169
|
-
return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12152
|
+
return (0, exports.UniquePageApiFp)(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
12170
12153
|
}
|
|
12171
12154
|
/**
|
|
12172
12155
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -591,21 +591,6 @@ export const OrderStatusEnum = {
|
|
|
591
591
|
CANCELLED: 'cancelled',
|
|
592
592
|
CREATED: 'created'
|
|
593
593
|
};
|
|
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
594
|
/**
|
|
610
595
|
*
|
|
611
596
|
* @export
|
|
@@ -701,23 +686,6 @@ export const SitemapTypeEnum = {
|
|
|
701
686
|
COLLECTIONS: 'collections',
|
|
702
687
|
BLOG: 'blog'
|
|
703
688
|
};
|
|
704
|
-
/**
|
|
705
|
-
*
|
|
706
|
-
* @export
|
|
707
|
-
* @enum {string}
|
|
708
|
-
*/
|
|
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'
|
|
720
|
-
};
|
|
721
689
|
/**
|
|
722
690
|
*
|
|
723
691
|
* @export
|
|
@@ -9119,7 +9087,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9119
9087
|
* @param {string} [domain]
|
|
9120
9088
|
* @param {string} [search]
|
|
9121
9089
|
* @param {string} [template]
|
|
9122
|
-
* @param {Array<
|
|
9090
|
+
* @param {Array<string>} [type]
|
|
9123
9091
|
* @param {*} [options] Override http request option.
|
|
9124
9092
|
* @throws {RequiredError}
|
|
9125
9093
|
*/
|
|
@@ -9223,7 +9191,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9223
9191
|
},
|
|
9224
9192
|
/**
|
|
9225
9193
|
*
|
|
9226
|
-
* @param {
|
|
9194
|
+
* @param {string} type
|
|
9227
9195
|
* @param {string} [companyId]
|
|
9228
9196
|
* @param {string} [domain]
|
|
9229
9197
|
* @param {string} [template]
|
|
@@ -9273,7 +9241,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
|
|
|
9273
9241
|
* @param {string} [sort]
|
|
9274
9242
|
* @param {string} [companyId]
|
|
9275
9243
|
* @param {string} [domain]
|
|
9276
|
-
* @param {
|
|
9244
|
+
* @param {string} [type]
|
|
9277
9245
|
* @param {ContentStatusEnum} [status]
|
|
9278
9246
|
* @param {*} [options] Override http request option.
|
|
9279
9247
|
* @throws {RequiredError}
|
|
@@ -9409,7 +9377,7 @@ export const PageApiFp = function (configuration) {
|
|
|
9409
9377
|
* @param {string} [domain]
|
|
9410
9378
|
* @param {string} [search]
|
|
9411
9379
|
* @param {string} [template]
|
|
9412
|
-
* @param {Array<
|
|
9380
|
+
* @param {Array<string>} [type]
|
|
9413
9381
|
* @param {*} [options] Override http request option.
|
|
9414
9382
|
* @throws {RequiredError}
|
|
9415
9383
|
*/
|
|
@@ -9447,7 +9415,7 @@ export const PageApiFp = function (configuration) {
|
|
|
9447
9415
|
},
|
|
9448
9416
|
/**
|
|
9449
9417
|
*
|
|
9450
|
-
* @param {
|
|
9418
|
+
* @param {string} type
|
|
9451
9419
|
* @param {string} [companyId]
|
|
9452
9420
|
* @param {string} [domain]
|
|
9453
9421
|
* @param {string} [template]
|
|
@@ -9472,7 +9440,7 @@ export const PageApiFp = function (configuration) {
|
|
|
9472
9440
|
* @param {string} [sort]
|
|
9473
9441
|
* @param {string} [companyId]
|
|
9474
9442
|
* @param {string} [domain]
|
|
9475
|
-
* @param {
|
|
9443
|
+
* @param {string} [type]
|
|
9476
9444
|
* @param {ContentStatusEnum} [status]
|
|
9477
9445
|
* @param {*} [options] Override http request option.
|
|
9478
9446
|
* @throws {RequiredError}
|
|
@@ -11025,7 +10993,7 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
|
|
|
11025
10993
|
/**
|
|
11026
10994
|
*
|
|
11027
10995
|
* @param {string} companyId
|
|
11028
|
-
* @param {
|
|
10996
|
+
* @param {string} [type]
|
|
11029
10997
|
* @param {string} [search]
|
|
11030
10998
|
* @param {string} [theme]
|
|
11031
10999
|
* @param {boolean} [unique]
|
|
@@ -11137,7 +11105,7 @@ export const TemplateApiFp = function (configuration) {
|
|
|
11137
11105
|
/**
|
|
11138
11106
|
*
|
|
11139
11107
|
* @param {string} companyId
|
|
11140
|
-
* @param {
|
|
11108
|
+
* @param {string} [type]
|
|
11141
11109
|
* @param {string} [search]
|
|
11142
11110
|
* @param {string} [theme]
|
|
11143
11111
|
* @param {boolean} [unique]
|
|
@@ -11814,10 +11782,13 @@ export const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11814
11782
|
/**
|
|
11815
11783
|
*
|
|
11816
11784
|
* @param {string} type
|
|
11785
|
+
* @param {string} [companyId]
|
|
11786
|
+
* @param {string} [domain]
|
|
11787
|
+
* @param {string} [template]
|
|
11817
11788
|
* @param {*} [options] Override http request option.
|
|
11818
11789
|
* @throws {RequiredError}
|
|
11819
11790
|
*/
|
|
11820
|
-
getUniquePageByType: async (type, options = {}) => {
|
|
11791
|
+
getUniquePageByType: async (type, companyId, domain, template, options = {}) => {
|
|
11821
11792
|
// verify required parameter 'type' is not null or undefined
|
|
11822
11793
|
assertParamExists('getUniquePageByType', 'type', type);
|
|
11823
11794
|
const localVarPath = `/api/unique-pages/type/{type}`
|
|
@@ -11831,6 +11802,15 @@ export const UniquePageApiAxiosParamCreator = function (configuration) {
|
|
|
11831
11802
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11832
11803
|
const localVarHeaderParameter = {};
|
|
11833
11804
|
const localVarQueryParameter = {};
|
|
11805
|
+
if (companyId !== undefined) {
|
|
11806
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
11807
|
+
}
|
|
11808
|
+
if (domain !== undefined) {
|
|
11809
|
+
localVarQueryParameter['domain'] = domain;
|
|
11810
|
+
}
|
|
11811
|
+
if (template !== undefined) {
|
|
11812
|
+
localVarQueryParameter['template'] = template;
|
|
11813
|
+
}
|
|
11834
11814
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11835
11815
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11836
11816
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -11964,11 +11944,14 @@ export const UniquePageApiFp = function (configuration) {
|
|
|
11964
11944
|
/**
|
|
11965
11945
|
*
|
|
11966
11946
|
* @param {string} type
|
|
11947
|
+
* @param {string} [companyId]
|
|
11948
|
+
* @param {string} [domain]
|
|
11949
|
+
* @param {string} [template]
|
|
11967
11950
|
* @param {*} [options] Override http request option.
|
|
11968
11951
|
* @throws {RequiredError}
|
|
11969
11952
|
*/
|
|
11970
|
-
async getUniquePageByType(type, options) {
|
|
11971
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, options);
|
|
11953
|
+
async getUniquePageByType(type, companyId, domain, template, options) {
|
|
11954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUniquePageByType(type, companyId, domain, template, options);
|
|
11972
11955
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11973
11956
|
const localVarOperationServerBasePath = operationServerMap['UniquePageApi.getUniquePageByType']?.[localVarOperationServerIndex]?.url;
|
|
11974
11957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12032,7 +12015,7 @@ export const UniquePageApiFactory = function (configuration, basePath, axios) {
|
|
|
12032
12015
|
* @throws {RequiredError}
|
|
12033
12016
|
*/
|
|
12034
12017
|
getUniquePageByType(requestParameters, options) {
|
|
12035
|
-
return localVarFp.getUniquePageByType(requestParameters.type, options).then((request) => request(axios, basePath));
|
|
12018
|
+
return localVarFp.getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(axios, basePath));
|
|
12036
12019
|
},
|
|
12037
12020
|
/**
|
|
12038
12021
|
*
|
|
@@ -12079,7 +12062,7 @@ export class UniquePageApi extends BaseAPI {
|
|
|
12079
12062
|
* @memberof UniquePageApi
|
|
12080
12063
|
*/
|
|
12081
12064
|
getUniquePageByType(requestParameters, options) {
|
|
12082
|
-
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
12065
|
+
return UniquePageApiFp(this.configuration).getUniquePageByType(requestParameters.type, requestParameters.companyId, requestParameters.domain, requestParameters.template, options).then((request) => request(this.axios, this.basePath));
|
|
12083
12066
|
}
|
|
12084
12067
|
/**
|
|
12085
12068
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
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": "
|
|
40
|
+
"gitHead": "ed051aa0c884e89aaa0a6754942f6850a01408a1"
|
|
41
41
|
}
|