@infisale-client/api 1.3.19 → 1.3.20
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 +60 -2
- package/dist/api/api.js +78 -5
- package/dist/api/api.mjs +78 -5
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/api/api.d.ts
CHANGED
|
@@ -17578,10 +17578,19 @@ export declare const NavigationApiAxiosParamCreator: (configuration?: Configurat
|
|
|
17578
17578
|
/**
|
|
17579
17579
|
*
|
|
17580
17580
|
* @param {string} id
|
|
17581
|
+
* @param {string} companyId
|
|
17582
|
+
* @param {*} [options] Override http request option.
|
|
17583
|
+
* @throws {RequiredError}
|
|
17584
|
+
*/
|
|
17585
|
+
getNavigationById: (id: string, companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17586
|
+
/**
|
|
17587
|
+
*
|
|
17588
|
+
* @param {string} companyId
|
|
17589
|
+
* @param {string} slug
|
|
17581
17590
|
* @param {*} [options] Override http request option.
|
|
17582
17591
|
* @throws {RequiredError}
|
|
17583
17592
|
*/
|
|
17584
|
-
|
|
17593
|
+
getNavigationBySlug: (companyId: string, slug: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17585
17594
|
/**
|
|
17586
17595
|
*
|
|
17587
17596
|
* @param {string} companyId
|
|
@@ -17628,10 +17637,19 @@ export declare const NavigationApiFp: (configuration?: Configuration) => {
|
|
|
17628
17637
|
/**
|
|
17629
17638
|
*
|
|
17630
17639
|
* @param {string} id
|
|
17640
|
+
* @param {string} companyId
|
|
17641
|
+
* @param {*} [options] Override http request option.
|
|
17642
|
+
* @throws {RequiredError}
|
|
17643
|
+
*/
|
|
17644
|
+
getNavigationById(id: string, companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<INavigationResponse>>;
|
|
17645
|
+
/**
|
|
17646
|
+
*
|
|
17647
|
+
* @param {string} companyId
|
|
17648
|
+
* @param {string} slug
|
|
17631
17649
|
* @param {*} [options] Override http request option.
|
|
17632
17650
|
* @throws {RequiredError}
|
|
17633
17651
|
*/
|
|
17634
|
-
|
|
17652
|
+
getNavigationBySlug(companyId: string, slug: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<INavigationResponse>>;
|
|
17635
17653
|
/**
|
|
17636
17654
|
*
|
|
17637
17655
|
* @param {string} companyId
|
|
@@ -17682,6 +17700,13 @@ export declare const NavigationApiFactory: (configuration?: Configuration, baseP
|
|
|
17682
17700
|
* @throws {RequiredError}
|
|
17683
17701
|
*/
|
|
17684
17702
|
getNavigationById(requestParameters: NavigationApiGetNavigationByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<INavigationResponse>;
|
|
17703
|
+
/**
|
|
17704
|
+
*
|
|
17705
|
+
* @param {NavigationApiGetNavigationBySlugRequest} requestParameters Request parameters.
|
|
17706
|
+
* @param {*} [options] Override http request option.
|
|
17707
|
+
* @throws {RequiredError}
|
|
17708
|
+
*/
|
|
17709
|
+
getNavigationBySlug(requestParameters: NavigationApiGetNavigationBySlugRequest, options?: RawAxiosRequestConfig): AxiosPromise<INavigationResponse>;
|
|
17685
17710
|
/**
|
|
17686
17711
|
*
|
|
17687
17712
|
* @param {NavigationApiGetNavigationsRequest} requestParameters Request parameters.
|
|
@@ -17735,6 +17760,31 @@ export interface NavigationApiGetNavigationByIdRequest {
|
|
|
17735
17760
|
* @memberof NavigationApiGetNavigationById
|
|
17736
17761
|
*/
|
|
17737
17762
|
readonly id: string;
|
|
17763
|
+
/**
|
|
17764
|
+
*
|
|
17765
|
+
* @type {string}
|
|
17766
|
+
* @memberof NavigationApiGetNavigationById
|
|
17767
|
+
*/
|
|
17768
|
+
readonly companyId: string;
|
|
17769
|
+
}
|
|
17770
|
+
/**
|
|
17771
|
+
* Request parameters for getNavigationBySlug operation in NavigationApi.
|
|
17772
|
+
* @export
|
|
17773
|
+
* @interface NavigationApiGetNavigationBySlugRequest
|
|
17774
|
+
*/
|
|
17775
|
+
export interface NavigationApiGetNavigationBySlugRequest {
|
|
17776
|
+
/**
|
|
17777
|
+
*
|
|
17778
|
+
* @type {string}
|
|
17779
|
+
* @memberof NavigationApiGetNavigationBySlug
|
|
17780
|
+
*/
|
|
17781
|
+
readonly companyId: string;
|
|
17782
|
+
/**
|
|
17783
|
+
*
|
|
17784
|
+
* @type {string}
|
|
17785
|
+
* @memberof NavigationApiGetNavigationBySlug
|
|
17786
|
+
*/
|
|
17787
|
+
readonly slug: string;
|
|
17738
17788
|
}
|
|
17739
17789
|
/**
|
|
17740
17790
|
* Request parameters for getNavigations operation in NavigationApi.
|
|
@@ -17847,6 +17897,14 @@ export declare class NavigationApi extends BaseAPI {
|
|
|
17847
17897
|
* @memberof NavigationApi
|
|
17848
17898
|
*/
|
|
17849
17899
|
getNavigationById(requestParameters: NavigationApiGetNavigationByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<INavigationResponse, any>>;
|
|
17900
|
+
/**
|
|
17901
|
+
*
|
|
17902
|
+
* @param {NavigationApiGetNavigationBySlugRequest} requestParameters Request parameters.
|
|
17903
|
+
* @param {*} [options] Override http request option.
|
|
17904
|
+
* @throws {RequiredError}
|
|
17905
|
+
* @memberof NavigationApi
|
|
17906
|
+
*/
|
|
17907
|
+
getNavigationBySlug(requestParameters: NavigationApiGetNavigationBySlugRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<INavigationResponse, any>>;
|
|
17850
17908
|
/**
|
|
17851
17909
|
*
|
|
17852
17910
|
* @param {NavigationApiGetNavigationsRequest} requestParameters Request parameters.
|
package/dist/api/api.js
CHANGED
|
@@ -7126,12 +7126,15 @@ const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7126
7126
|
/**
|
|
7127
7127
|
*
|
|
7128
7128
|
* @param {string} id
|
|
7129
|
+
* @param {string} companyId
|
|
7129
7130
|
* @param {*} [options] Override http request option.
|
|
7130
7131
|
* @throws {RequiredError}
|
|
7131
7132
|
*/
|
|
7132
|
-
getNavigationById: async (id, options = {}) => {
|
|
7133
|
+
getNavigationById: async (id, companyId, options = {}) => {
|
|
7133
7134
|
// verify required parameter 'id' is not null or undefined
|
|
7134
7135
|
(0, common_1.assertParamExists)('getNavigationById', 'id', id);
|
|
7136
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
7137
|
+
(0, common_1.assertParamExists)('getNavigationById', 'companyId', companyId);
|
|
7135
7138
|
const localVarPath = `/api/navigations/{id}`
|
|
7136
7139
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7137
7140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7143,6 +7146,43 @@ const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7143
7146
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7144
7147
|
const localVarHeaderParameter = {};
|
|
7145
7148
|
const localVarQueryParameter = {};
|
|
7149
|
+
if (companyId !== undefined) {
|
|
7150
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
7151
|
+
}
|
|
7152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7154
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7155
|
+
return {
|
|
7156
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7157
|
+
options: localVarRequestOptions,
|
|
7158
|
+
};
|
|
7159
|
+
},
|
|
7160
|
+
/**
|
|
7161
|
+
*
|
|
7162
|
+
* @param {string} companyId
|
|
7163
|
+
* @param {string} slug
|
|
7164
|
+
* @param {*} [options] Override http request option.
|
|
7165
|
+
* @throws {RequiredError}
|
|
7166
|
+
*/
|
|
7167
|
+
getNavigationBySlug: async (companyId, slug, options = {}) => {
|
|
7168
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
7169
|
+
(0, common_1.assertParamExists)('getNavigationBySlug', 'companyId', companyId);
|
|
7170
|
+
// verify required parameter 'slug' is not null or undefined
|
|
7171
|
+
(0, common_1.assertParamExists)('getNavigationBySlug', 'slug', slug);
|
|
7172
|
+
const localVarPath = `/api/navigations/slug/{slug}`
|
|
7173
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
7174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7175
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7176
|
+
let baseOptions;
|
|
7177
|
+
if (configuration) {
|
|
7178
|
+
baseOptions = configuration.baseOptions;
|
|
7179
|
+
}
|
|
7180
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7181
|
+
const localVarHeaderParameter = {};
|
|
7182
|
+
const localVarQueryParameter = {};
|
|
7183
|
+
if (companyId !== undefined) {
|
|
7184
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
7185
|
+
}
|
|
7146
7186
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7147
7187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7148
7188
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -7287,15 +7327,29 @@ const NavigationApiFp = function (configuration) {
|
|
|
7287
7327
|
/**
|
|
7288
7328
|
*
|
|
7289
7329
|
* @param {string} id
|
|
7330
|
+
* @param {string} companyId
|
|
7290
7331
|
* @param {*} [options] Override http request option.
|
|
7291
7332
|
* @throws {RequiredError}
|
|
7292
7333
|
*/
|
|
7293
|
-
async getNavigationById(id, options) {
|
|
7294
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationById(id, options);
|
|
7334
|
+
async getNavigationById(id, companyId, options) {
|
|
7335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationById(id, companyId, options);
|
|
7295
7336
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7296
7337
|
const localVarOperationServerBasePath = base_1.operationServerMap['NavigationApi.getNavigationById']?.[localVarOperationServerIndex]?.url;
|
|
7297
7338
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7298
7339
|
},
|
|
7340
|
+
/**
|
|
7341
|
+
*
|
|
7342
|
+
* @param {string} companyId
|
|
7343
|
+
* @param {string} slug
|
|
7344
|
+
* @param {*} [options] Override http request option.
|
|
7345
|
+
* @throws {RequiredError}
|
|
7346
|
+
*/
|
|
7347
|
+
async getNavigationBySlug(companyId, slug, options) {
|
|
7348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationBySlug(companyId, slug, options);
|
|
7349
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7350
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['NavigationApi.getNavigationBySlug']?.[localVarOperationServerIndex]?.url;
|
|
7351
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7352
|
+
},
|
|
7299
7353
|
/**
|
|
7300
7354
|
*
|
|
7301
7355
|
* @param {string} companyId
|
|
@@ -7364,7 +7418,16 @@ const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
|
7364
7418
|
* @throws {RequiredError}
|
|
7365
7419
|
*/
|
|
7366
7420
|
getNavigationById(requestParameters, options) {
|
|
7367
|
-
return localVarFp.getNavigationById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7421
|
+
return localVarFp.getNavigationById(requestParameters.id, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
7422
|
+
},
|
|
7423
|
+
/**
|
|
7424
|
+
*
|
|
7425
|
+
* @param {NavigationApiGetNavigationBySlugRequest} requestParameters Request parameters.
|
|
7426
|
+
* @param {*} [options] Override http request option.
|
|
7427
|
+
* @throws {RequiredError}
|
|
7428
|
+
*/
|
|
7429
|
+
getNavigationBySlug(requestParameters, options) {
|
|
7430
|
+
return localVarFp.getNavigationBySlug(requestParameters.companyId, requestParameters.slug, options).then((request) => request(axios, basePath));
|
|
7368
7431
|
},
|
|
7369
7432
|
/**
|
|
7370
7433
|
*
|
|
@@ -7422,7 +7485,17 @@ class NavigationApi extends base_1.BaseAPI {
|
|
|
7422
7485
|
* @memberof NavigationApi
|
|
7423
7486
|
*/
|
|
7424
7487
|
getNavigationById(requestParameters, options) {
|
|
7425
|
-
return (0, exports.NavigationApiFp)(this.configuration).getNavigationById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7488
|
+
return (0, exports.NavigationApiFp)(this.configuration).getNavigationById(requestParameters.id, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
7489
|
+
}
|
|
7490
|
+
/**
|
|
7491
|
+
*
|
|
7492
|
+
* @param {NavigationApiGetNavigationBySlugRequest} requestParameters Request parameters.
|
|
7493
|
+
* @param {*} [options] Override http request option.
|
|
7494
|
+
* @throws {RequiredError}
|
|
7495
|
+
* @memberof NavigationApi
|
|
7496
|
+
*/
|
|
7497
|
+
getNavigationBySlug(requestParameters, options) {
|
|
7498
|
+
return (0, exports.NavigationApiFp)(this.configuration).getNavigationBySlug(requestParameters.companyId, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
|
|
7426
7499
|
}
|
|
7427
7500
|
/**
|
|
7428
7501
|
*
|
package/dist/api/api.mjs
CHANGED
|
@@ -7078,12 +7078,15 @@ export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7078
7078
|
/**
|
|
7079
7079
|
*
|
|
7080
7080
|
* @param {string} id
|
|
7081
|
+
* @param {string} companyId
|
|
7081
7082
|
* @param {*} [options] Override http request option.
|
|
7082
7083
|
* @throws {RequiredError}
|
|
7083
7084
|
*/
|
|
7084
|
-
getNavigationById: async (id, options = {}) => {
|
|
7085
|
+
getNavigationById: async (id, companyId, options = {}) => {
|
|
7085
7086
|
// verify required parameter 'id' is not null or undefined
|
|
7086
7087
|
assertParamExists('getNavigationById', 'id', id);
|
|
7088
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
7089
|
+
assertParamExists('getNavigationById', 'companyId', companyId);
|
|
7087
7090
|
const localVarPath = `/api/navigations/{id}`
|
|
7088
7091
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7089
7092
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7095,6 +7098,43 @@ export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
|
7095
7098
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7096
7099
|
const localVarHeaderParameter = {};
|
|
7097
7100
|
const localVarQueryParameter = {};
|
|
7101
|
+
if (companyId !== undefined) {
|
|
7102
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
7103
|
+
}
|
|
7104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7107
|
+
return {
|
|
7108
|
+
url: toPathString(localVarUrlObj),
|
|
7109
|
+
options: localVarRequestOptions,
|
|
7110
|
+
};
|
|
7111
|
+
},
|
|
7112
|
+
/**
|
|
7113
|
+
*
|
|
7114
|
+
* @param {string} companyId
|
|
7115
|
+
* @param {string} slug
|
|
7116
|
+
* @param {*} [options] Override http request option.
|
|
7117
|
+
* @throws {RequiredError}
|
|
7118
|
+
*/
|
|
7119
|
+
getNavigationBySlug: async (companyId, slug, options = {}) => {
|
|
7120
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
7121
|
+
assertParamExists('getNavigationBySlug', 'companyId', companyId);
|
|
7122
|
+
// verify required parameter 'slug' is not null or undefined
|
|
7123
|
+
assertParamExists('getNavigationBySlug', 'slug', slug);
|
|
7124
|
+
const localVarPath = `/api/navigations/slug/{slug}`
|
|
7125
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
7126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7128
|
+
let baseOptions;
|
|
7129
|
+
if (configuration) {
|
|
7130
|
+
baseOptions = configuration.baseOptions;
|
|
7131
|
+
}
|
|
7132
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7133
|
+
const localVarHeaderParameter = {};
|
|
7134
|
+
const localVarQueryParameter = {};
|
|
7135
|
+
if (companyId !== undefined) {
|
|
7136
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
7137
|
+
}
|
|
7098
7138
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7099
7139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7100
7140
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -7238,15 +7278,29 @@ export const NavigationApiFp = function (configuration) {
|
|
|
7238
7278
|
/**
|
|
7239
7279
|
*
|
|
7240
7280
|
* @param {string} id
|
|
7281
|
+
* @param {string} companyId
|
|
7241
7282
|
* @param {*} [options] Override http request option.
|
|
7242
7283
|
* @throws {RequiredError}
|
|
7243
7284
|
*/
|
|
7244
|
-
async getNavigationById(id, options) {
|
|
7245
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationById(id, options);
|
|
7285
|
+
async getNavigationById(id, companyId, options) {
|
|
7286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationById(id, companyId, options);
|
|
7246
7287
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7247
7288
|
const localVarOperationServerBasePath = operationServerMap['NavigationApi.getNavigationById']?.[localVarOperationServerIndex]?.url;
|
|
7248
7289
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7249
7290
|
},
|
|
7291
|
+
/**
|
|
7292
|
+
*
|
|
7293
|
+
* @param {string} companyId
|
|
7294
|
+
* @param {string} slug
|
|
7295
|
+
* @param {*} [options] Override http request option.
|
|
7296
|
+
* @throws {RequiredError}
|
|
7297
|
+
*/
|
|
7298
|
+
async getNavigationBySlug(companyId, slug, options) {
|
|
7299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationBySlug(companyId, slug, options);
|
|
7300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7301
|
+
const localVarOperationServerBasePath = operationServerMap['NavigationApi.getNavigationBySlug']?.[localVarOperationServerIndex]?.url;
|
|
7302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7303
|
+
},
|
|
7250
7304
|
/**
|
|
7251
7305
|
*
|
|
7252
7306
|
* @param {string} companyId
|
|
@@ -7314,7 +7368,16 @@ export const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
|
7314
7368
|
* @throws {RequiredError}
|
|
7315
7369
|
*/
|
|
7316
7370
|
getNavigationById(requestParameters, options) {
|
|
7317
|
-
return localVarFp.getNavigationById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7371
|
+
return localVarFp.getNavigationById(requestParameters.id, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
7372
|
+
},
|
|
7373
|
+
/**
|
|
7374
|
+
*
|
|
7375
|
+
* @param {NavigationApiGetNavigationBySlugRequest} requestParameters Request parameters.
|
|
7376
|
+
* @param {*} [options] Override http request option.
|
|
7377
|
+
* @throws {RequiredError}
|
|
7378
|
+
*/
|
|
7379
|
+
getNavigationBySlug(requestParameters, options) {
|
|
7380
|
+
return localVarFp.getNavigationBySlug(requestParameters.companyId, requestParameters.slug, options).then((request) => request(axios, basePath));
|
|
7318
7381
|
},
|
|
7319
7382
|
/**
|
|
7320
7383
|
*
|
|
@@ -7371,7 +7434,17 @@ export class NavigationApi extends BaseAPI {
|
|
|
7371
7434
|
* @memberof NavigationApi
|
|
7372
7435
|
*/
|
|
7373
7436
|
getNavigationById(requestParameters, options) {
|
|
7374
|
-
return NavigationApiFp(this.configuration).getNavigationById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7437
|
+
return NavigationApiFp(this.configuration).getNavigationById(requestParameters.id, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
7438
|
+
}
|
|
7439
|
+
/**
|
|
7440
|
+
*
|
|
7441
|
+
* @param {NavigationApiGetNavigationBySlugRequest} requestParameters Request parameters.
|
|
7442
|
+
* @param {*} [options] Override http request option.
|
|
7443
|
+
* @throws {RequiredError}
|
|
7444
|
+
* @memberof NavigationApi
|
|
7445
|
+
*/
|
|
7446
|
+
getNavigationBySlug(requestParameters, options) {
|
|
7447
|
+
return NavigationApiFp(this.configuration).getNavigationBySlug(requestParameters.companyId, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
|
|
7375
7448
|
}
|
|
7376
7449
|
/**
|
|
7377
7450
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ interface IApiClient {
|
|
|
21
21
|
BasketApi: doc.BasketApi;
|
|
22
22
|
OrderApi: doc.OrderApi;
|
|
23
23
|
UniquePageApi: doc.UniquePageApi;
|
|
24
|
+
NavigationApi: doc.NavigationApi;
|
|
24
25
|
interceptors: {
|
|
25
26
|
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
26
27
|
response: AxiosInterceptorManager<AxiosResponse>;
|
|
@@ -55,6 +56,7 @@ export declare class ApiClient implements IApiClient {
|
|
|
55
56
|
BasketApi: doc.BasketApi;
|
|
56
57
|
OrderApi: doc.OrderApi;
|
|
57
58
|
UniquePageApi: doc.UniquePageApi;
|
|
59
|
+
NavigationApi: doc.NavigationApi;
|
|
58
60
|
constructor(baseURL: string, options?: {
|
|
59
61
|
headers?: Record<string, string>;
|
|
60
62
|
} | undefined);
|
package/dist/index.js
CHANGED
|
@@ -65,6 +65,7 @@ class ApiClient {
|
|
|
65
65
|
this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
|
|
66
66
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
67
67
|
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
68
|
+
this.NavigationApi = new doc.NavigationApi(undefined, this.baseURL, this.api);
|
|
68
69
|
this.interceptors = {
|
|
69
70
|
request: this.api.interceptors.request,
|
|
70
71
|
response: this.api.interceptors.response,
|
package/dist/index.mjs
CHANGED
|
@@ -33,6 +33,7 @@ export class ApiClient {
|
|
|
33
33
|
this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
|
|
34
34
|
this.OrderApi = new doc.OrderApi(undefined, this.baseURL, this.api);
|
|
35
35
|
this.UniquePageApi = new doc.UniquePageApi(undefined, this.baseURL, this.api);
|
|
36
|
+
this.NavigationApi = new doc.NavigationApi(undefined, this.baseURL, this.api);
|
|
36
37
|
this.interceptors = {
|
|
37
38
|
request: this.api.interceptors.request,
|
|
38
39
|
response: this.api.interceptors.response,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.20",
|
|
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": "17f94551e23afbdf2b6104c0a6b659cc804eab99"
|
|
41
41
|
}
|