@infisale-client/api 1.3.20 → 1.3.21
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 +61 -12
- package/dist/api/api.js +10 -10
- package/dist/api/api.mjs +10 -10
- 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
|
}
|
|
@@ -17609,11 +17658,11 @@ export declare const NavigationApiAxiosParamCreator: (configuration?: Configurat
|
|
|
17609
17658
|
/**
|
|
17610
17659
|
*
|
|
17611
17660
|
* @param {string} id
|
|
17612
|
-
* @param {
|
|
17661
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
17613
17662
|
* @param {*} [options] Override http request option.
|
|
17614
17663
|
* @throws {RequiredError}
|
|
17615
17664
|
*/
|
|
17616
|
-
patchNavigation: (id: string,
|
|
17665
|
+
patchNavigation: (id: string, iNavigationPatchRequest: INavigationPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17617
17666
|
};
|
|
17618
17667
|
/**
|
|
17619
17668
|
* NavigationApi - functional programming interface
|
|
@@ -17668,11 +17717,11 @@ export declare const NavigationApiFp: (configuration?: Configuration) => {
|
|
|
17668
17717
|
/**
|
|
17669
17718
|
*
|
|
17670
17719
|
* @param {string} id
|
|
17671
|
-
* @param {
|
|
17720
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
17672
17721
|
* @param {*} [options] Override http request option.
|
|
17673
17722
|
* @throws {RequiredError}
|
|
17674
17723
|
*/
|
|
17675
|
-
patchNavigation(id: string,
|
|
17724
|
+
patchNavigation(id: string, iNavigationPatchRequest: INavigationPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<INavigationResponse>>;
|
|
17676
17725
|
};
|
|
17677
17726
|
/**
|
|
17678
17727
|
* NavigationApi - factory interface
|
|
@@ -17861,10 +17910,10 @@ export interface NavigationApiPatchNavigationRequest {
|
|
|
17861
17910
|
readonly id: string;
|
|
17862
17911
|
/**
|
|
17863
17912
|
*
|
|
17864
|
-
* @type {
|
|
17913
|
+
* @type {INavigationPatchRequest}
|
|
17865
17914
|
* @memberof NavigationApiPatchNavigation
|
|
17866
17915
|
*/
|
|
17867
|
-
readonly
|
|
17916
|
+
readonly iNavigationPatchRequest: INavigationPatchRequest;
|
|
17868
17917
|
}
|
|
17869
17918
|
/**
|
|
17870
17919
|
* NavigationApi - object-oriented interface
|
package/dist/api/api.js
CHANGED
|
@@ -7260,15 +7260,15 @@ const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7260
7260
|
/**
|
|
7261
7261
|
*
|
|
7262
7262
|
* @param {string} id
|
|
7263
|
-
* @param {
|
|
7263
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7264
7264
|
* @param {*} [options] Override http request option.
|
|
7265
7265
|
* @throws {RequiredError}
|
|
7266
7266
|
*/
|
|
7267
|
-
patchNavigation: async (id,
|
|
7267
|
+
patchNavigation: async (id, iNavigationPatchRequest, options = {}) => {
|
|
7268
7268
|
// verify required parameter 'id' is not null or undefined
|
|
7269
7269
|
(0, common_1.assertParamExists)('patchNavigation', 'id', id);
|
|
7270
|
-
// verify required parameter '
|
|
7271
|
-
(0, common_1.assertParamExists)('patchNavigation', '
|
|
7270
|
+
// verify required parameter 'iNavigationPatchRequest' is not null or undefined
|
|
7271
|
+
(0, common_1.assertParamExists)('patchNavigation', 'iNavigationPatchRequest', iNavigationPatchRequest);
|
|
7272
7272
|
const localVarPath = `/api/navigations/{id}`
|
|
7273
7273
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7274
7274
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7284,7 +7284,7 @@ const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7284
7284
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7285
7285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7286
7286
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7287
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
7287
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iNavigationPatchRequest, localVarRequestOptions, configuration);
|
|
7288
7288
|
return {
|
|
7289
7289
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7290
7290
|
options: localVarRequestOptions,
|
|
@@ -7373,12 +7373,12 @@ const NavigationApiFp = function (configuration) {
|
|
|
7373
7373
|
/**
|
|
7374
7374
|
*
|
|
7375
7375
|
* @param {string} id
|
|
7376
|
-
* @param {
|
|
7376
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7377
7377
|
* @param {*} [options] Override http request option.
|
|
7378
7378
|
* @throws {RequiredError}
|
|
7379
7379
|
*/
|
|
7380
|
-
async patchNavigation(id,
|
|
7381
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id,
|
|
7380
|
+
async patchNavigation(id, iNavigationPatchRequest, options) {
|
|
7381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id, iNavigationPatchRequest, options);
|
|
7382
7382
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7383
7383
|
const localVarOperationServerBasePath = base_1.operationServerMap['NavigationApi.patchNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7384
7384
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7445,7 +7445,7 @@ const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
|
7445
7445
|
* @throws {RequiredError}
|
|
7446
7446
|
*/
|
|
7447
7447
|
patchNavigation(requestParameters, options) {
|
|
7448
|
-
return localVarFp.patchNavigation(requestParameters.id, requestParameters.
|
|
7448
|
+
return localVarFp.patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(axios, basePath));
|
|
7449
7449
|
},
|
|
7450
7450
|
};
|
|
7451
7451
|
};
|
|
@@ -7515,7 +7515,7 @@ class NavigationApi extends base_1.BaseAPI {
|
|
|
7515
7515
|
* @memberof NavigationApi
|
|
7516
7516
|
*/
|
|
7517
7517
|
patchNavigation(requestParameters, options) {
|
|
7518
|
-
return (0, exports.NavigationApiFp)(this.configuration).patchNavigation(requestParameters.id, requestParameters.
|
|
7518
|
+
return (0, exports.NavigationApiFp)(this.configuration).patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7519
7519
|
}
|
|
7520
7520
|
}
|
|
7521
7521
|
exports.NavigationApi = NavigationApi;
|
package/dist/api/api.mjs
CHANGED
|
@@ -7212,15 +7212,15 @@ export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7212
7212
|
/**
|
|
7213
7213
|
*
|
|
7214
7214
|
* @param {string} id
|
|
7215
|
-
* @param {
|
|
7215
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7216
7216
|
* @param {*} [options] Override http request option.
|
|
7217
7217
|
* @throws {RequiredError}
|
|
7218
7218
|
*/
|
|
7219
|
-
patchNavigation: async (id,
|
|
7219
|
+
patchNavigation: async (id, iNavigationPatchRequest, options = {}) => {
|
|
7220
7220
|
// verify required parameter 'id' is not null or undefined
|
|
7221
7221
|
assertParamExists('patchNavigation', 'id', id);
|
|
7222
|
-
// verify required parameter '
|
|
7223
|
-
assertParamExists('patchNavigation', '
|
|
7222
|
+
// verify required parameter 'iNavigationPatchRequest' is not null or undefined
|
|
7223
|
+
assertParamExists('patchNavigation', 'iNavigationPatchRequest', iNavigationPatchRequest);
|
|
7224
7224
|
const localVarPath = `/api/navigations/{id}`
|
|
7225
7225
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7226
7226
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7236,7 +7236,7 @@ export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7236
7236
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7237
7237
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7238
7238
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7239
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
7239
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iNavigationPatchRequest, localVarRequestOptions, configuration);
|
|
7240
7240
|
return {
|
|
7241
7241
|
url: toPathString(localVarUrlObj),
|
|
7242
7242
|
options: localVarRequestOptions,
|
|
@@ -7324,12 +7324,12 @@ export const NavigationApiFp = function (configuration) {
|
|
|
7324
7324
|
/**
|
|
7325
7325
|
*
|
|
7326
7326
|
* @param {string} id
|
|
7327
|
-
* @param {
|
|
7327
|
+
* @param {INavigationPatchRequest} iNavigationPatchRequest
|
|
7328
7328
|
* @param {*} [options] Override http request option.
|
|
7329
7329
|
* @throws {RequiredError}
|
|
7330
7330
|
*/
|
|
7331
|
-
async patchNavigation(id,
|
|
7332
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id,
|
|
7331
|
+
async patchNavigation(id, iNavigationPatchRequest, options) {
|
|
7332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id, iNavigationPatchRequest, options);
|
|
7333
7333
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7334
7334
|
const localVarOperationServerBasePath = operationServerMap['NavigationApi.patchNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7335
7335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7395,7 +7395,7 @@ export const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
|
7395
7395
|
* @throws {RequiredError}
|
|
7396
7396
|
*/
|
|
7397
7397
|
patchNavigation(requestParameters, options) {
|
|
7398
|
-
return localVarFp.patchNavigation(requestParameters.id, requestParameters.
|
|
7398
|
+
return localVarFp.patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(axios, basePath));
|
|
7399
7399
|
},
|
|
7400
7400
|
};
|
|
7401
7401
|
};
|
|
@@ -7464,7 +7464,7 @@ export class NavigationApi extends BaseAPI {
|
|
|
7464
7464
|
* @memberof NavigationApi
|
|
7465
7465
|
*/
|
|
7466
7466
|
patchNavigation(requestParameters, options) {
|
|
7467
|
-
return NavigationApiFp(this.configuration).patchNavigation(requestParameters.id, requestParameters.
|
|
7467
|
+
return NavigationApiFp(this.configuration).patchNavigation(requestParameters.id, requestParameters.iNavigationPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7468
7468
|
}
|
|
7469
7469
|
}
|
|
7470
7470
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
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": "34cae509a953fd0510fc20c973a4f6d2d55d79fe"
|
|
41
41
|
}
|