@infisale-client/api 1.3.20 → 1.3.22
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 +62 -12
- package/dist/api/api.js +12 -11
- package/dist/api/api.mjs +12 -11
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -5077,6 +5077,12 @@ export type INavigationCollectionQueryParamsDateFieldEnum = typeof INavigationCo
|
|
|
5077
5077
|
* @interface INavigationLink
|
|
5078
5078
|
*/
|
|
5079
5079
|
export interface INavigationLink {
|
|
5080
|
+
/**
|
|
5081
|
+
*
|
|
5082
|
+
* @type {string}
|
|
5083
|
+
* @memberof INavigationLink
|
|
5084
|
+
*/
|
|
5085
|
+
'_id': string;
|
|
5080
5086
|
/**
|
|
5081
5087
|
*
|
|
5082
5088
|
* @type {string}
|
|
@@ -5095,6 +5101,12 @@ export interface INavigationLink {
|
|
|
5095
5101
|
* @memberof INavigationLink
|
|
5096
5102
|
*/
|
|
5097
5103
|
'type': NavigationLinkTypeEnum;
|
|
5104
|
+
/**
|
|
5105
|
+
*
|
|
5106
|
+
* @type {Array<INavigationLink>}
|
|
5107
|
+
* @memberof INavigationLink
|
|
5108
|
+
*/
|
|
5109
|
+
'links': Array<INavigationLink>;
|
|
5098
5110
|
/**
|
|
5099
5111
|
*
|
|
5100
5112
|
* @type {any}
|
|
@@ -5102,12 +5114,43 @@ export interface INavigationLink {
|
|
|
5102
5114
|
*/
|
|
5103
5115
|
'object': any;
|
|
5104
5116
|
}
|
|
5117
|
+
/**
|
|
5118
|
+
*
|
|
5119
|
+
* @export
|
|
5120
|
+
* @interface INavigationPatchRequest
|
|
5121
|
+
*/
|
|
5122
|
+
export interface INavigationPatchRequest {
|
|
5123
|
+
/**
|
|
5124
|
+
*
|
|
5125
|
+
* @type {string}
|
|
5126
|
+
* @memberof INavigationPatchRequest
|
|
5127
|
+
*/
|
|
5128
|
+
'title'?: string;
|
|
5129
|
+
/**
|
|
5130
|
+
*
|
|
5131
|
+
* @type {LanguageEnum}
|
|
5132
|
+
* @memberof INavigationPatchRequest
|
|
5133
|
+
*/
|
|
5134
|
+
'locale'?: LanguageEnum;
|
|
5135
|
+
/**
|
|
5136
|
+
*
|
|
5137
|
+
* @type {Array<INavigationLink>}
|
|
5138
|
+
* @memberof INavigationPatchRequest
|
|
5139
|
+
*/
|
|
5140
|
+
'links'?: Array<INavigationLink>;
|
|
5141
|
+
}
|
|
5105
5142
|
/**
|
|
5106
5143
|
*
|
|
5107
5144
|
* @export
|
|
5108
5145
|
* @interface INavigationPostRequest
|
|
5109
5146
|
*/
|
|
5110
5147
|
export interface INavigationPostRequest {
|
|
5148
|
+
/**
|
|
5149
|
+
*
|
|
5150
|
+
* @type {string}
|
|
5151
|
+
* @memberof INavigationPostRequest
|
|
5152
|
+
*/
|
|
5153
|
+
'company': string;
|
|
5111
5154
|
/**
|
|
5112
5155
|
*
|
|
5113
5156
|
* @type {string}
|
|
@@ -10584,31 +10627,37 @@ export interface PickIContactFormExcludeKeyofIContactFormKeyofMongoResponseOrCom
|
|
|
10584
10627
|
/**
|
|
10585
10628
|
* From T, pick a set of properties whose keys are in the union K
|
|
10586
10629
|
* @export
|
|
10587
|
-
* @interface
|
|
10630
|
+
* @interface PickINavigationExcludeKeyofINavigationKeyofMongoResponse
|
|
10588
10631
|
*/
|
|
10589
|
-
export interface
|
|
10632
|
+
export interface PickINavigationExcludeKeyofINavigationKeyofMongoResponse {
|
|
10590
10633
|
/**
|
|
10591
10634
|
*
|
|
10592
10635
|
* @type {string}
|
|
10593
|
-
* @memberof
|
|
10636
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
|
|
10637
|
+
*/
|
|
10638
|
+
'company': string;
|
|
10639
|
+
/**
|
|
10640
|
+
*
|
|
10641
|
+
* @type {string}
|
|
10642
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
|
|
10594
10643
|
*/
|
|
10595
10644
|
'title': string;
|
|
10596
10645
|
/**
|
|
10597
10646
|
*
|
|
10598
10647
|
* @type {string}
|
|
10599
|
-
* @memberof
|
|
10648
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
|
|
10600
10649
|
*/
|
|
10601
10650
|
'slug': string;
|
|
10602
10651
|
/**
|
|
10603
10652
|
*
|
|
10604
10653
|
* @type {LanguageEnum}
|
|
10605
|
-
* @memberof
|
|
10654
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
|
|
10606
10655
|
*/
|
|
10607
10656
|
'locale': LanguageEnum;
|
|
10608
10657
|
/**
|
|
10609
10658
|
*
|
|
10610
10659
|
* @type {Array<INavigationLink>}
|
|
10611
|
-
* @memberof
|
|
10660
|
+
* @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
|
|
10612
10661
|
*/
|
|
10613
10662
|
'links': Array<INavigationLink>;
|
|
10614
10663
|
}
|
|
@@ -12420,6 +12469,7 @@ export declare const SitemapTypeEnum: {
|
|
|
12420
12469
|
readonly PAGES: "pages";
|
|
12421
12470
|
readonly COLLECTIONS: "collections";
|
|
12422
12471
|
readonly BLOG: "blog";
|
|
12472
|
+
readonly UNIQUE_PAGES: "unique-pages";
|
|
12423
12473
|
};
|
|
12424
12474
|
export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
|
|
12425
12475
|
/**
|
|
@@ -17609,11 +17659,11 @@ export declare const NavigationApiAxiosParamCreator: (configuration?: Configurat
|
|
|
17609
17659
|
/**
|
|
17610
17660
|
*
|
|
17611
17661
|
* @param {string} id
|
|
17612
|
-
* @param {
|
|
17662
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
17613
17663
|
* @param {*} [options] Override http request option.
|
|
17614
17664
|
* @throws {RequiredError}
|
|
17615
17665
|
*/
|
|
17616
|
-
patchNavigation: (id: string,
|
|
17666
|
+
patchNavigation: (id: string, iNavigationPatchRequest: INavigationPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17617
17667
|
};
|
|
17618
17668
|
/**
|
|
17619
17669
|
* NavigationApi - functional programming interface
|
|
@@ -17668,11 +17718,11 @@ export declare const NavigationApiFp: (configuration?: Configuration) => {
|
|
|
17668
17718
|
/**
|
|
17669
17719
|
*
|
|
17670
17720
|
* @param {string} id
|
|
17671
|
-
* @param {
|
|
17721
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
17672
17722
|
* @param {*} [options] Override http request option.
|
|
17673
17723
|
* @throws {RequiredError}
|
|
17674
17724
|
*/
|
|
17675
|
-
patchNavigation(id: string,
|
|
17725
|
+
patchNavigation(id: string, iNavigationPatchRequest: INavigationPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<INavigationResponse>>;
|
|
17676
17726
|
};
|
|
17677
17727
|
/**
|
|
17678
17728
|
* NavigationApi - factory interface
|
|
@@ -17861,10 +17911,10 @@ export interface NavigationApiPatchNavigationRequest {
|
|
|
17861
17911
|
readonly id: string;
|
|
17862
17912
|
/**
|
|
17863
17913
|
*
|
|
17864
|
-
* @type {
|
|
17914
|
+
* @type {INavigationPatchRequest}
|
|
17865
17915
|
* @memberof NavigationApiPatchNavigation
|
|
17866
17916
|
*/
|
|
17867
|
-
readonly
|
|
17917
|
+
readonly iNavigationPatchRequest: INavigationPatchRequest;
|
|
17868
17918
|
}
|
|
17869
17919
|
/**
|
|
17870
17920
|
* NavigationApi - object-oriented interface
|
package/dist/api/api.js
CHANGED
|
@@ -687,7 +687,8 @@ exports.SitemapTypeEnum = {
|
|
|
687
687
|
PRODUCTS: 'products',
|
|
688
688
|
PAGES: 'pages',
|
|
689
689
|
COLLECTIONS: 'collections',
|
|
690
|
-
BLOG: 'blog'
|
|
690
|
+
BLOG: 'blog',
|
|
691
|
+
UNIQUE_PAGES: 'unique-pages'
|
|
691
692
|
};
|
|
692
693
|
/**
|
|
693
694
|
*
|
|
@@ -7260,15 +7261,15 @@ const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7260
7261
|
/**
|
|
7261
7262
|
*
|
|
7262
7263
|
* @param {string} id
|
|
7263
|
-
* @param {
|
|
7264
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7264
7265
|
* @param {*} [options] Override http request option.
|
|
7265
7266
|
* @throws {RequiredError}
|
|
7266
7267
|
*/
|
|
7267
|
-
patchNavigation: async (id,
|
|
7268
|
+
patchNavigation: async (id, iNavigationPatchRequest, options = {}) => {
|
|
7268
7269
|
// verify required parameter 'id' is not null or undefined
|
|
7269
7270
|
(0, common_1.assertParamExists)('patchNavigation', 'id', id);
|
|
7270
|
-
// verify required parameter '
|
|
7271
|
-
(0, common_1.assertParamExists)('patchNavigation', '
|
|
7271
|
+
// verify required parameter 'iNavigationPatchRequest' is not null or undefined
|
|
7272
|
+
(0, common_1.assertParamExists)('patchNavigation', 'iNavigationPatchRequest', iNavigationPatchRequest);
|
|
7272
7273
|
const localVarPath = `/api/navigations/{id}`
|
|
7273
7274
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7274
7275
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7284,7 +7285,7 @@ const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7284
7285
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7285
7286
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7286
7287
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7287
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
7288
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iNavigationPatchRequest, localVarRequestOptions, configuration);
|
|
7288
7289
|
return {
|
|
7289
7290
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7290
7291
|
options: localVarRequestOptions,
|
|
@@ -7373,12 +7374,12 @@ const NavigationApiFp = function (configuration) {
|
|
|
7373
7374
|
/**
|
|
7374
7375
|
*
|
|
7375
7376
|
* @param {string} id
|
|
7376
|
-
* @param {
|
|
7377
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7377
7378
|
* @param {*} [options] Override http request option.
|
|
7378
7379
|
* @throws {RequiredError}
|
|
7379
7380
|
*/
|
|
7380
|
-
async patchNavigation(id,
|
|
7381
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id,
|
|
7381
|
+
async patchNavigation(id, iNavigationPatchRequest, options) {
|
|
7382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id, iNavigationPatchRequest, options);
|
|
7382
7383
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7383
7384
|
const localVarOperationServerBasePath = base_1.operationServerMap['NavigationApi.patchNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7384
7385
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7445,7 +7446,7 @@ const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
|
7445
7446
|
* @throws {RequiredError}
|
|
7446
7447
|
*/
|
|
7447
7448
|
patchNavigation(requestParameters, options) {
|
|
7448
|
-
return localVarFp.patchNavigation(requestParameters.id, requestParameters.
|
|
7449
|
+
return localVarFp.patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(axios, basePath));
|
|
7449
7450
|
},
|
|
7450
7451
|
};
|
|
7451
7452
|
};
|
|
@@ -7515,7 +7516,7 @@ class NavigationApi extends base_1.BaseAPI {
|
|
|
7515
7516
|
* @memberof NavigationApi
|
|
7516
7517
|
*/
|
|
7517
7518
|
patchNavigation(requestParameters, options) {
|
|
7518
|
-
return (0, exports.NavigationApiFp)(this.configuration).patchNavigation(requestParameters.id, requestParameters.
|
|
7519
|
+
return (0, exports.NavigationApiFp)(this.configuration).patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7519
7520
|
}
|
|
7520
7521
|
}
|
|
7521
7522
|
exports.NavigationApi = NavigationApi;
|
package/dist/api/api.mjs
CHANGED
|
@@ -675,7 +675,8 @@ export const SitemapTypeEnum = {
|
|
|
675
675
|
PRODUCTS: 'products',
|
|
676
676
|
PAGES: 'pages',
|
|
677
677
|
COLLECTIONS: 'collections',
|
|
678
|
-
BLOG: 'blog'
|
|
678
|
+
BLOG: 'blog',
|
|
679
|
+
UNIQUE_PAGES: 'unique-pages'
|
|
679
680
|
};
|
|
680
681
|
/**
|
|
681
682
|
*
|
|
@@ -7212,15 +7213,15 @@ export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7212
7213
|
/**
|
|
7213
7214
|
*
|
|
7214
7215
|
* @param {string} id
|
|
7215
|
-
* @param {
|
|
7216
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7216
7217
|
* @param {*} [options] Override http request option.
|
|
7217
7218
|
* @throws {RequiredError}
|
|
7218
7219
|
*/
|
|
7219
|
-
patchNavigation: async (id,
|
|
7220
|
+
patchNavigation: async (id, iNavigationPatchRequest, options = {}) => {
|
|
7220
7221
|
// verify required parameter 'id' is not null or undefined
|
|
7221
7222
|
assertParamExists('patchNavigation', 'id', id);
|
|
7222
|
-
// verify required parameter '
|
|
7223
|
-
assertParamExists('patchNavigation', '
|
|
7223
|
+
// verify required parameter 'iNavigationPatchRequest' is not null or undefined
|
|
7224
|
+
assertParamExists('patchNavigation', 'iNavigationPatchRequest', iNavigationPatchRequest);
|
|
7224
7225
|
const localVarPath = `/api/navigations/{id}`
|
|
7225
7226
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7226
7227
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7236,7 +7237,7 @@ export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7236
7237
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7237
7238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7238
7239
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7239
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
7240
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iNavigationPatchRequest, localVarRequestOptions, configuration);
|
|
7240
7241
|
return {
|
|
7241
7242
|
url: toPathString(localVarUrlObj),
|
|
7242
7243
|
options: localVarRequestOptions,
|
|
@@ -7324,12 +7325,12 @@ export const NavigationApiFp = function (configuration) {
|
|
|
7324
7325
|
/**
|
|
7325
7326
|
*
|
|
7326
7327
|
* @param {string} id
|
|
7327
|
-
* @param {
|
|
7328
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7328
7329
|
* @param {*} [options] Override http request option.
|
|
7329
7330
|
* @throws {RequiredError}
|
|
7330
7331
|
*/
|
|
7331
|
-
async patchNavigation(id,
|
|
7332
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id,
|
|
7332
|
+
async patchNavigation(id, iNavigationPatchRequest, options) {
|
|
7333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id, iNavigationPatchRequest, options);
|
|
7333
7334
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7334
7335
|
const localVarOperationServerBasePath = operationServerMap['NavigationApi.patchNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7335
7336
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7395,7 +7396,7 @@ export const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
|
7395
7396
|
* @throws {RequiredError}
|
|
7396
7397
|
*/
|
|
7397
7398
|
patchNavigation(requestParameters, options) {
|
|
7398
|
-
return localVarFp.patchNavigation(requestParameters.id, requestParameters.
|
|
7399
|
+
return localVarFp.patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(axios, basePath));
|
|
7399
7400
|
},
|
|
7400
7401
|
};
|
|
7401
7402
|
};
|
|
@@ -7464,7 +7465,7 @@ export class NavigationApi extends BaseAPI {
|
|
|
7464
7465
|
* @memberof NavigationApi
|
|
7465
7466
|
*/
|
|
7466
7467
|
patchNavigation(requestParameters, options) {
|
|
7467
|
-
return NavigationApiFp(this.configuration).patchNavigation(requestParameters.id, requestParameters.
|
|
7468
|
+
return NavigationApiFp(this.configuration).patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7468
7469
|
}
|
|
7469
7470
|
}
|
|
7470
7471
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.22",
|
|
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": "8df397f878fe42a8a52dc9892278be254c511da1"
|
|
41
41
|
}
|