@infisale-client/api 1.3.18 → 1.3.19
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 +591 -1
- package/dist/api/api.js +417 -4
- package/dist/api/api.mjs +409 -0
- package/package.json +2 -2
package/dist/api/api.mjs
CHANGED
|
@@ -411,6 +411,10 @@ export const IMyOrderCollectionQueryParamsDateFieldEnum = {
|
|
|
411
411
|
CREATED_AT: 'createdAt',
|
|
412
412
|
UPDATED_AT: 'updatedAt'
|
|
413
413
|
};
|
|
414
|
+
export const INavigationCollectionQueryParamsDateFieldEnum = {
|
|
415
|
+
CREATED_AT: 'createdAt',
|
|
416
|
+
UPDATED_AT: 'updatedAt'
|
|
417
|
+
};
|
|
414
418
|
export const INotificationCollectionQueryParamsDateFieldEnum = {
|
|
415
419
|
CREATED_AT: 'createdAt',
|
|
416
420
|
UPDATED_AT: 'updatedAt'
|
|
@@ -464,6 +468,22 @@ export const LanguageEnum = {
|
|
|
464
468
|
EN: 'en',
|
|
465
469
|
DE: 'de'
|
|
466
470
|
};
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @export
|
|
474
|
+
* @enum {string}
|
|
475
|
+
*/
|
|
476
|
+
export const NavigationLinkTypeEnum = {
|
|
477
|
+
BLOG_LINK: 'blog_link',
|
|
478
|
+
COLLECTION_LINK: 'collection_link',
|
|
479
|
+
CATEGORY_LINK: 'category_link',
|
|
480
|
+
CUSTOMER_ACCOUNT_PAGE_LINK: 'customer_account_page_link',
|
|
481
|
+
HTTP_LINK: 'http_link',
|
|
482
|
+
PAGE_LINK: 'page_link',
|
|
483
|
+
POLICY_LINK: 'policy_link',
|
|
484
|
+
PRODUCT_LINK: 'product_link',
|
|
485
|
+
UNIQUE_PAGE_LINK: 'unique_page_link'
|
|
486
|
+
};
|
|
467
487
|
export const NavigationUrlTargetEnum = {
|
|
468
488
|
BLANK: '_blank'
|
|
469
489
|
};
|
|
@@ -6992,6 +7012,395 @@ export const GetFilesDateFieldEnum = {
|
|
|
6992
7012
|
CREATED_AT: 'createdAt',
|
|
6993
7013
|
UPDATED_AT: 'updatedAt'
|
|
6994
7014
|
};
|
|
7015
|
+
/**
|
|
7016
|
+
* NavigationApi - axios parameter creator
|
|
7017
|
+
* @export
|
|
7018
|
+
*/
|
|
7019
|
+
export const NavigationApiAxiosParamCreator = function (configuration) {
|
|
7020
|
+
return {
|
|
7021
|
+
/**
|
|
7022
|
+
*
|
|
7023
|
+
* @param {INavigationPostRequest} iNavigationPostRequest
|
|
7024
|
+
* @param {*} [options] Override http request option.
|
|
7025
|
+
* @throws {RequiredError}
|
|
7026
|
+
*/
|
|
7027
|
+
createNavigation: async (iNavigationPostRequest, options = {}) => {
|
|
7028
|
+
// verify required parameter 'iNavigationPostRequest' is not null or undefined
|
|
7029
|
+
assertParamExists('createNavigation', 'iNavigationPostRequest', iNavigationPostRequest);
|
|
7030
|
+
const localVarPath = `/api/navigations`;
|
|
7031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7033
|
+
let baseOptions;
|
|
7034
|
+
if (configuration) {
|
|
7035
|
+
baseOptions = configuration.baseOptions;
|
|
7036
|
+
}
|
|
7037
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7038
|
+
const localVarHeaderParameter = {};
|
|
7039
|
+
const localVarQueryParameter = {};
|
|
7040
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7041
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7042
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7043
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7044
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iNavigationPostRequest, localVarRequestOptions, configuration);
|
|
7045
|
+
return {
|
|
7046
|
+
url: toPathString(localVarUrlObj),
|
|
7047
|
+
options: localVarRequestOptions,
|
|
7048
|
+
};
|
|
7049
|
+
},
|
|
7050
|
+
/**
|
|
7051
|
+
*
|
|
7052
|
+
* @param {string} id
|
|
7053
|
+
* @param {*} [options] Override http request option.
|
|
7054
|
+
* @throws {RequiredError}
|
|
7055
|
+
*/
|
|
7056
|
+
deleteNavigation: async (id, options = {}) => {
|
|
7057
|
+
// verify required parameter 'id' is not null or undefined
|
|
7058
|
+
assertParamExists('deleteNavigation', 'id', id);
|
|
7059
|
+
const localVarPath = `/api/navigations/{id}`
|
|
7060
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7061
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7062
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7063
|
+
let baseOptions;
|
|
7064
|
+
if (configuration) {
|
|
7065
|
+
baseOptions = configuration.baseOptions;
|
|
7066
|
+
}
|
|
7067
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
7068
|
+
const localVarHeaderParameter = {};
|
|
7069
|
+
const localVarQueryParameter = {};
|
|
7070
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7072
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7073
|
+
return {
|
|
7074
|
+
url: toPathString(localVarUrlObj),
|
|
7075
|
+
options: localVarRequestOptions,
|
|
7076
|
+
};
|
|
7077
|
+
},
|
|
7078
|
+
/**
|
|
7079
|
+
*
|
|
7080
|
+
* @param {string} id
|
|
7081
|
+
* @param {*} [options] Override http request option.
|
|
7082
|
+
* @throws {RequiredError}
|
|
7083
|
+
*/
|
|
7084
|
+
getNavigationById: async (id, options = {}) => {
|
|
7085
|
+
// verify required parameter 'id' is not null or undefined
|
|
7086
|
+
assertParamExists('getNavigationById', 'id', id);
|
|
7087
|
+
const localVarPath = `/api/navigations/{id}`
|
|
7088
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7091
|
+
let baseOptions;
|
|
7092
|
+
if (configuration) {
|
|
7093
|
+
baseOptions = configuration.baseOptions;
|
|
7094
|
+
}
|
|
7095
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7096
|
+
const localVarHeaderParameter = {};
|
|
7097
|
+
const localVarQueryParameter = {};
|
|
7098
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7099
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7101
|
+
return {
|
|
7102
|
+
url: toPathString(localVarUrlObj),
|
|
7103
|
+
options: localVarRequestOptions,
|
|
7104
|
+
};
|
|
7105
|
+
},
|
|
7106
|
+
/**
|
|
7107
|
+
*
|
|
7108
|
+
* @param {string} companyId
|
|
7109
|
+
* @param {number} [page]
|
|
7110
|
+
* @param {number} [itemsPerPage]
|
|
7111
|
+
* @param {string} [search]
|
|
7112
|
+
* @param {string} [startDate]
|
|
7113
|
+
* @param {string} [endDate]
|
|
7114
|
+
* @param {GetNavigationsDateFieldEnum} [dateField]
|
|
7115
|
+
* @param {OrderEnum} [order]
|
|
7116
|
+
* @param {string} [sort]
|
|
7117
|
+
* @param {*} [options] Override http request option.
|
|
7118
|
+
* @throws {RequiredError}
|
|
7119
|
+
*/
|
|
7120
|
+
getNavigations: async (companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, options = {}) => {
|
|
7121
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
7122
|
+
assertParamExists('getNavigations', 'companyId', companyId);
|
|
7123
|
+
const localVarPath = `/api/navigations`;
|
|
7124
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7125
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7126
|
+
let baseOptions;
|
|
7127
|
+
if (configuration) {
|
|
7128
|
+
baseOptions = configuration.baseOptions;
|
|
7129
|
+
}
|
|
7130
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7131
|
+
const localVarHeaderParameter = {};
|
|
7132
|
+
const localVarQueryParameter = {};
|
|
7133
|
+
if (page !== undefined) {
|
|
7134
|
+
localVarQueryParameter['page'] = page;
|
|
7135
|
+
}
|
|
7136
|
+
if (itemsPerPage !== undefined) {
|
|
7137
|
+
localVarQueryParameter['itemsPerPage'] = itemsPerPage;
|
|
7138
|
+
}
|
|
7139
|
+
if (search !== undefined) {
|
|
7140
|
+
localVarQueryParameter['search'] = search;
|
|
7141
|
+
}
|
|
7142
|
+
if (startDate !== undefined) {
|
|
7143
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
7144
|
+
startDate.toISOString() :
|
|
7145
|
+
startDate;
|
|
7146
|
+
}
|
|
7147
|
+
if (endDate !== undefined) {
|
|
7148
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
7149
|
+
endDate.toISOString() :
|
|
7150
|
+
endDate;
|
|
7151
|
+
}
|
|
7152
|
+
if (dateField !== undefined) {
|
|
7153
|
+
localVarQueryParameter['dateField'] = dateField;
|
|
7154
|
+
}
|
|
7155
|
+
if (order !== undefined) {
|
|
7156
|
+
localVarQueryParameter['order'] = order;
|
|
7157
|
+
}
|
|
7158
|
+
if (sort !== undefined) {
|
|
7159
|
+
localVarQueryParameter['sort'] = sort;
|
|
7160
|
+
}
|
|
7161
|
+
if (companyId !== undefined) {
|
|
7162
|
+
localVarQueryParameter['companyId'] = companyId;
|
|
7163
|
+
}
|
|
7164
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7165
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7166
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7167
|
+
return {
|
|
7168
|
+
url: toPathString(localVarUrlObj),
|
|
7169
|
+
options: localVarRequestOptions,
|
|
7170
|
+
};
|
|
7171
|
+
},
|
|
7172
|
+
/**
|
|
7173
|
+
*
|
|
7174
|
+
* @param {string} id
|
|
7175
|
+
* @param {INavigationPostRequest} iNavigationPostRequest
|
|
7176
|
+
* @param {*} [options] Override http request option.
|
|
7177
|
+
* @throws {RequiredError}
|
|
7178
|
+
*/
|
|
7179
|
+
patchNavigation: async (id, iNavigationPostRequest, options = {}) => {
|
|
7180
|
+
// verify required parameter 'id' is not null or undefined
|
|
7181
|
+
assertParamExists('patchNavigation', 'id', id);
|
|
7182
|
+
// verify required parameter 'iNavigationPostRequest' is not null or undefined
|
|
7183
|
+
assertParamExists('patchNavigation', 'iNavigationPostRequest', iNavigationPostRequest);
|
|
7184
|
+
const localVarPath = `/api/navigations/{id}`
|
|
7185
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7188
|
+
let baseOptions;
|
|
7189
|
+
if (configuration) {
|
|
7190
|
+
baseOptions = configuration.baseOptions;
|
|
7191
|
+
}
|
|
7192
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
7193
|
+
const localVarHeaderParameter = {};
|
|
7194
|
+
const localVarQueryParameter = {};
|
|
7195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7198
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iNavigationPostRequest, localVarRequestOptions, configuration);
|
|
7200
|
+
return {
|
|
7201
|
+
url: toPathString(localVarUrlObj),
|
|
7202
|
+
options: localVarRequestOptions,
|
|
7203
|
+
};
|
|
7204
|
+
},
|
|
7205
|
+
};
|
|
7206
|
+
};
|
|
7207
|
+
/**
|
|
7208
|
+
* NavigationApi - functional programming interface
|
|
7209
|
+
* @export
|
|
7210
|
+
*/
|
|
7211
|
+
export const NavigationApiFp = function (configuration) {
|
|
7212
|
+
const localVarAxiosParamCreator = NavigationApiAxiosParamCreator(configuration);
|
|
7213
|
+
return {
|
|
7214
|
+
/**
|
|
7215
|
+
*
|
|
7216
|
+
* @param {INavigationPostRequest} iNavigationPostRequest
|
|
7217
|
+
* @param {*} [options] Override http request option.
|
|
7218
|
+
* @throws {RequiredError}
|
|
7219
|
+
*/
|
|
7220
|
+
async createNavigation(iNavigationPostRequest, options) {
|
|
7221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createNavigation(iNavigationPostRequest, options);
|
|
7222
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7223
|
+
const localVarOperationServerBasePath = operationServerMap['NavigationApi.createNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7224
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7225
|
+
},
|
|
7226
|
+
/**
|
|
7227
|
+
*
|
|
7228
|
+
* @param {string} id
|
|
7229
|
+
* @param {*} [options] Override http request option.
|
|
7230
|
+
* @throws {RequiredError}
|
|
7231
|
+
*/
|
|
7232
|
+
async deleteNavigation(id, options) {
|
|
7233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNavigation(id, options);
|
|
7234
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7235
|
+
const localVarOperationServerBasePath = operationServerMap['NavigationApi.deleteNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7236
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7237
|
+
},
|
|
7238
|
+
/**
|
|
7239
|
+
*
|
|
7240
|
+
* @param {string} id
|
|
7241
|
+
* @param {*} [options] Override http request option.
|
|
7242
|
+
* @throws {RequiredError}
|
|
7243
|
+
*/
|
|
7244
|
+
async getNavigationById(id, options) {
|
|
7245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigationById(id, options);
|
|
7246
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7247
|
+
const localVarOperationServerBasePath = operationServerMap['NavigationApi.getNavigationById']?.[localVarOperationServerIndex]?.url;
|
|
7248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7249
|
+
},
|
|
7250
|
+
/**
|
|
7251
|
+
*
|
|
7252
|
+
* @param {string} companyId
|
|
7253
|
+
* @param {number} [page]
|
|
7254
|
+
* @param {number} [itemsPerPage]
|
|
7255
|
+
* @param {string} [search]
|
|
7256
|
+
* @param {string} [startDate]
|
|
7257
|
+
* @param {string} [endDate]
|
|
7258
|
+
* @param {GetNavigationsDateFieldEnum} [dateField]
|
|
7259
|
+
* @param {OrderEnum} [order]
|
|
7260
|
+
* @param {string} [sort]
|
|
7261
|
+
* @param {*} [options] Override http request option.
|
|
7262
|
+
* @throws {RequiredError}
|
|
7263
|
+
*/
|
|
7264
|
+
async getNavigations(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, options) {
|
|
7265
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNavigations(companyId, page, itemsPerPage, search, startDate, endDate, dateField, order, sort, options);
|
|
7266
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7267
|
+
const localVarOperationServerBasePath = operationServerMap['NavigationApi.getNavigations']?.[localVarOperationServerIndex]?.url;
|
|
7268
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7269
|
+
},
|
|
7270
|
+
/**
|
|
7271
|
+
*
|
|
7272
|
+
* @param {string} id
|
|
7273
|
+
* @param {INavigationPostRequest} iNavigationPostRequest
|
|
7274
|
+
* @param {*} [options] Override http request option.
|
|
7275
|
+
* @throws {RequiredError}
|
|
7276
|
+
*/
|
|
7277
|
+
async patchNavigation(id, iNavigationPostRequest, options) {
|
|
7278
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchNavigation(id, iNavigationPostRequest, options);
|
|
7279
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7280
|
+
const localVarOperationServerBasePath = operationServerMap['NavigationApi.patchNavigation']?.[localVarOperationServerIndex]?.url;
|
|
7281
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7282
|
+
},
|
|
7283
|
+
};
|
|
7284
|
+
};
|
|
7285
|
+
/**
|
|
7286
|
+
* NavigationApi - factory interface
|
|
7287
|
+
* @export
|
|
7288
|
+
*/
|
|
7289
|
+
export const NavigationApiFactory = function (configuration, basePath, axios) {
|
|
7290
|
+
const localVarFp = NavigationApiFp(configuration);
|
|
7291
|
+
return {
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @param {NavigationApiCreateNavigationRequest} requestParameters Request parameters.
|
|
7295
|
+
* @param {*} [options] Override http request option.
|
|
7296
|
+
* @throws {RequiredError}
|
|
7297
|
+
*/
|
|
7298
|
+
createNavigation(requestParameters, options) {
|
|
7299
|
+
return localVarFp.createNavigation(requestParameters.iNavigationPostRequest, options).then((request) => request(axios, basePath));
|
|
7300
|
+
},
|
|
7301
|
+
/**
|
|
7302
|
+
*
|
|
7303
|
+
* @param {NavigationApiDeleteNavigationRequest} requestParameters Request parameters.
|
|
7304
|
+
* @param {*} [options] Override http request option.
|
|
7305
|
+
* @throws {RequiredError}
|
|
7306
|
+
*/
|
|
7307
|
+
deleteNavigation(requestParameters, options) {
|
|
7308
|
+
return localVarFp.deleteNavigation(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7309
|
+
},
|
|
7310
|
+
/**
|
|
7311
|
+
*
|
|
7312
|
+
* @param {NavigationApiGetNavigationByIdRequest} requestParameters Request parameters.
|
|
7313
|
+
* @param {*} [options] Override http request option.
|
|
7314
|
+
* @throws {RequiredError}
|
|
7315
|
+
*/
|
|
7316
|
+
getNavigationById(requestParameters, options) {
|
|
7317
|
+
return localVarFp.getNavigationById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7318
|
+
},
|
|
7319
|
+
/**
|
|
7320
|
+
*
|
|
7321
|
+
* @param {NavigationApiGetNavigationsRequest} requestParameters Request parameters.
|
|
7322
|
+
* @param {*} [options] Override http request option.
|
|
7323
|
+
* @throws {RequiredError}
|
|
7324
|
+
*/
|
|
7325
|
+
getNavigations(requestParameters, options) {
|
|
7326
|
+
return localVarFp.getNavigations(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, options).then((request) => request(axios, basePath));
|
|
7327
|
+
},
|
|
7328
|
+
/**
|
|
7329
|
+
*
|
|
7330
|
+
* @param {NavigationApiPatchNavigationRequest} requestParameters Request parameters.
|
|
7331
|
+
* @param {*} [options] Override http request option.
|
|
7332
|
+
* @throws {RequiredError}
|
|
7333
|
+
*/
|
|
7334
|
+
patchNavigation(requestParameters, options) {
|
|
7335
|
+
return localVarFp.patchNavigation(requestParameters.id, requestParameters.iNavigationPostRequest, options).then((request) => request(axios, basePath));
|
|
7336
|
+
},
|
|
7337
|
+
};
|
|
7338
|
+
};
|
|
7339
|
+
/**
|
|
7340
|
+
* NavigationApi - object-oriented interface
|
|
7341
|
+
* @export
|
|
7342
|
+
* @class NavigationApi
|
|
7343
|
+
* @extends {BaseAPI}
|
|
7344
|
+
*/
|
|
7345
|
+
export class NavigationApi extends BaseAPI {
|
|
7346
|
+
/**
|
|
7347
|
+
*
|
|
7348
|
+
* @param {NavigationApiCreateNavigationRequest} requestParameters Request parameters.
|
|
7349
|
+
* @param {*} [options] Override http request option.
|
|
7350
|
+
* @throws {RequiredError}
|
|
7351
|
+
* @memberof NavigationApi
|
|
7352
|
+
*/
|
|
7353
|
+
createNavigation(requestParameters, options) {
|
|
7354
|
+
return NavigationApiFp(this.configuration).createNavigation(requestParameters.iNavigationPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7355
|
+
}
|
|
7356
|
+
/**
|
|
7357
|
+
*
|
|
7358
|
+
* @param {NavigationApiDeleteNavigationRequest} requestParameters Request parameters.
|
|
7359
|
+
* @param {*} [options] Override http request option.
|
|
7360
|
+
* @throws {RequiredError}
|
|
7361
|
+
* @memberof NavigationApi
|
|
7362
|
+
*/
|
|
7363
|
+
deleteNavigation(requestParameters, options) {
|
|
7364
|
+
return NavigationApiFp(this.configuration).deleteNavigation(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7365
|
+
}
|
|
7366
|
+
/**
|
|
7367
|
+
*
|
|
7368
|
+
* @param {NavigationApiGetNavigationByIdRequest} requestParameters Request parameters.
|
|
7369
|
+
* @param {*} [options] Override http request option.
|
|
7370
|
+
* @throws {RequiredError}
|
|
7371
|
+
* @memberof NavigationApi
|
|
7372
|
+
*/
|
|
7373
|
+
getNavigationById(requestParameters, options) {
|
|
7374
|
+
return NavigationApiFp(this.configuration).getNavigationById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7375
|
+
}
|
|
7376
|
+
/**
|
|
7377
|
+
*
|
|
7378
|
+
* @param {NavigationApiGetNavigationsRequest} requestParameters Request parameters.
|
|
7379
|
+
* @param {*} [options] Override http request option.
|
|
7380
|
+
* @throws {RequiredError}
|
|
7381
|
+
* @memberof NavigationApi
|
|
7382
|
+
*/
|
|
7383
|
+
getNavigations(requestParameters, options) {
|
|
7384
|
+
return NavigationApiFp(this.configuration).getNavigations(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, options).then((request) => request(this.axios, this.basePath));
|
|
7385
|
+
}
|
|
7386
|
+
/**
|
|
7387
|
+
*
|
|
7388
|
+
* @param {NavigationApiPatchNavigationRequest} requestParameters Request parameters.
|
|
7389
|
+
* @param {*} [options] Override http request option.
|
|
7390
|
+
* @throws {RequiredError}
|
|
7391
|
+
* @memberof NavigationApi
|
|
7392
|
+
*/
|
|
7393
|
+
patchNavigation(requestParameters, options) {
|
|
7394
|
+
return NavigationApiFp(this.configuration).patchNavigation(requestParameters.id, requestParameters.iNavigationPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7395
|
+
}
|
|
7396
|
+
}
|
|
7397
|
+
/**
|
|
7398
|
+
* @export
|
|
7399
|
+
*/
|
|
7400
|
+
export const GetNavigationsDateFieldEnum = {
|
|
7401
|
+
CREATED_AT: 'createdAt',
|
|
7402
|
+
UPDATED_AT: 'updatedAt'
|
|
7403
|
+
};
|
|
6995
7404
|
/**
|
|
6996
7405
|
* NotificationApi - axios parameter creator
|
|
6997
7406
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.19",
|
|
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": "ab2a2d0253bff294e342c7f3c545f8657f47ea11"
|
|
41
41
|
}
|