@seekora-ai/admin-api 1.1.35 → 1.1.37
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/README.md +27 -14
- package/api.ts +894 -131
- package/dist/api.d.ts +627 -56
- package/dist/api.js +502 -138
- package/dist/esm/api.d.ts +627 -56
- package/dist/esm/api.js +487 -131
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.37.tgz +0 -0
- package/seekora-ai-admin-api-1.1.35.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -182,6 +182,19 @@ export const DataTypesUpdateWordStatusRequestWordTypeEnum = {
|
|
|
182
182
|
StoreLanguage: 'store_language',
|
|
183
183
|
Custom: 'custom'
|
|
184
184
|
};
|
|
185
|
+
export const MenuRoutesAddMenuRequestMenuLevelEnum = {
|
|
186
|
+
Org: 'org',
|
|
187
|
+
Store: 'store'
|
|
188
|
+
};
|
|
189
|
+
export const MenuRoutesAddMenuRequestMenuLocationEnum = {
|
|
190
|
+
Navbar: 'navbar',
|
|
191
|
+
ProfileDropdown: 'profile_dropdown'
|
|
192
|
+
};
|
|
193
|
+
export const MenuRoutesAddMenuRequestModuleTypeEnum = {
|
|
194
|
+
Admin: 'Admin',
|
|
195
|
+
Search: 'Search',
|
|
196
|
+
Billing: 'Billing'
|
|
197
|
+
};
|
|
185
198
|
/**
|
|
186
199
|
*
|
|
187
200
|
* @export
|
|
@@ -14423,6 +14436,177 @@ export class CustomStopwordsApi extends BaseAPI {
|
|
|
14423
14436
|
return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14424
14437
|
}
|
|
14425
14438
|
}
|
|
14439
|
+
/**
|
|
14440
|
+
* DefaultMenuManagementApi - axios parameter creator
|
|
14441
|
+
* @export
|
|
14442
|
+
*/
|
|
14443
|
+
export const DefaultMenuManagementApiAxiosParamCreator = function (configuration) {
|
|
14444
|
+
return {
|
|
14445
|
+
/**
|
|
14446
|
+
* Retrieve all default menus with their global visibility settings
|
|
14447
|
+
* @summary Get all default menus with visibility flags
|
|
14448
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
14449
|
+
* @param {*} [options] Override http request option.
|
|
14450
|
+
* @throws {RequiredError}
|
|
14451
|
+
*/
|
|
14452
|
+
adminDefaultMenusGet: (menuLevel_1, ...args_1) => __awaiter(this, [menuLevel_1, ...args_1], void 0, function* (menuLevel, options = {}) {
|
|
14453
|
+
const localVarPath = `/admin/default-menus`;
|
|
14454
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14455
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14456
|
+
let baseOptions;
|
|
14457
|
+
if (configuration) {
|
|
14458
|
+
baseOptions = configuration.baseOptions;
|
|
14459
|
+
}
|
|
14460
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14461
|
+
const localVarHeaderParameter = {};
|
|
14462
|
+
const localVarQueryParameter = {};
|
|
14463
|
+
// authentication BearerAuth required
|
|
14464
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
14465
|
+
if (menuLevel !== undefined) {
|
|
14466
|
+
localVarQueryParameter['menuLevel'] = menuLevel;
|
|
14467
|
+
}
|
|
14468
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14470
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14471
|
+
return {
|
|
14472
|
+
url: toPathString(localVarUrlObj),
|
|
14473
|
+
options: localVarRequestOptions,
|
|
14474
|
+
};
|
|
14475
|
+
}),
|
|
14476
|
+
/**
|
|
14477
|
+
* Update the global visibility flag for a default menu
|
|
14478
|
+
* @summary Update menu global visibility
|
|
14479
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
14480
|
+
* @param {*} [options] Override http request option.
|
|
14481
|
+
* @throws {RequiredError}
|
|
14482
|
+
*/
|
|
14483
|
+
adminDefaultMenusVisibilityPut: (defaultMenuRoutesUpdateMenuVisibilityRequest_1, ...args_1) => __awaiter(this, [defaultMenuRoutesUpdateMenuVisibilityRequest_1, ...args_1], void 0, function* (defaultMenuRoutesUpdateMenuVisibilityRequest, options = {}) {
|
|
14484
|
+
// verify required parameter 'defaultMenuRoutesUpdateMenuVisibilityRequest' is not null or undefined
|
|
14485
|
+
assertParamExists('adminDefaultMenusVisibilityPut', 'defaultMenuRoutesUpdateMenuVisibilityRequest', defaultMenuRoutesUpdateMenuVisibilityRequest);
|
|
14486
|
+
const localVarPath = `/admin/default-menus/visibility`;
|
|
14487
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14488
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14489
|
+
let baseOptions;
|
|
14490
|
+
if (configuration) {
|
|
14491
|
+
baseOptions = configuration.baseOptions;
|
|
14492
|
+
}
|
|
14493
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
14494
|
+
const localVarHeaderParameter = {};
|
|
14495
|
+
const localVarQueryParameter = {};
|
|
14496
|
+
// authentication BearerAuth required
|
|
14497
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
14498
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14500
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14501
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14502
|
+
localVarRequestOptions.data = serializeDataIfNeeded(defaultMenuRoutesUpdateMenuVisibilityRequest, localVarRequestOptions, configuration);
|
|
14503
|
+
return {
|
|
14504
|
+
url: toPathString(localVarUrlObj),
|
|
14505
|
+
options: localVarRequestOptions,
|
|
14506
|
+
};
|
|
14507
|
+
}),
|
|
14508
|
+
};
|
|
14509
|
+
};
|
|
14510
|
+
/**
|
|
14511
|
+
* DefaultMenuManagementApi - functional programming interface
|
|
14512
|
+
* @export
|
|
14513
|
+
*/
|
|
14514
|
+
export const DefaultMenuManagementApiFp = function (configuration) {
|
|
14515
|
+
const localVarAxiosParamCreator = DefaultMenuManagementApiAxiosParamCreator(configuration);
|
|
14516
|
+
return {
|
|
14517
|
+
/**
|
|
14518
|
+
* Retrieve all default menus with their global visibility settings
|
|
14519
|
+
* @summary Get all default menus with visibility flags
|
|
14520
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
14521
|
+
* @param {*} [options] Override http request option.
|
|
14522
|
+
* @throws {RequiredError}
|
|
14523
|
+
*/
|
|
14524
|
+
adminDefaultMenusGet(menuLevel, options) {
|
|
14525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14526
|
+
var _a, _b, _c;
|
|
14527
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminDefaultMenusGet(menuLevel, options);
|
|
14528
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14529
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultMenuManagementApi.adminDefaultMenusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14531
|
+
});
|
|
14532
|
+
},
|
|
14533
|
+
/**
|
|
14534
|
+
* Update the global visibility flag for a default menu
|
|
14535
|
+
* @summary Update menu global visibility
|
|
14536
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
14537
|
+
* @param {*} [options] Override http request option.
|
|
14538
|
+
* @throws {RequiredError}
|
|
14539
|
+
*/
|
|
14540
|
+
adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options) {
|
|
14541
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14542
|
+
var _a, _b, _c;
|
|
14543
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options);
|
|
14544
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14545
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultMenuManagementApi.adminDefaultMenusVisibilityPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14546
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14547
|
+
});
|
|
14548
|
+
},
|
|
14549
|
+
};
|
|
14550
|
+
};
|
|
14551
|
+
/**
|
|
14552
|
+
* DefaultMenuManagementApi - factory interface
|
|
14553
|
+
* @export
|
|
14554
|
+
*/
|
|
14555
|
+
export const DefaultMenuManagementApiFactory = function (configuration, basePath, axios) {
|
|
14556
|
+
const localVarFp = DefaultMenuManagementApiFp(configuration);
|
|
14557
|
+
return {
|
|
14558
|
+
/**
|
|
14559
|
+
* Retrieve all default menus with their global visibility settings
|
|
14560
|
+
* @summary Get all default menus with visibility flags
|
|
14561
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
14562
|
+
* @param {*} [options] Override http request option.
|
|
14563
|
+
* @throws {RequiredError}
|
|
14564
|
+
*/
|
|
14565
|
+
adminDefaultMenusGet(menuLevel, options) {
|
|
14566
|
+
return localVarFp.adminDefaultMenusGet(menuLevel, options).then((request) => request(axios, basePath));
|
|
14567
|
+
},
|
|
14568
|
+
/**
|
|
14569
|
+
* Update the global visibility flag for a default menu
|
|
14570
|
+
* @summary Update menu global visibility
|
|
14571
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
14572
|
+
* @param {*} [options] Override http request option.
|
|
14573
|
+
* @throws {RequiredError}
|
|
14574
|
+
*/
|
|
14575
|
+
adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options) {
|
|
14576
|
+
return localVarFp.adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options).then((request) => request(axios, basePath));
|
|
14577
|
+
},
|
|
14578
|
+
};
|
|
14579
|
+
};
|
|
14580
|
+
/**
|
|
14581
|
+
* DefaultMenuManagementApi - object-oriented interface
|
|
14582
|
+
* @export
|
|
14583
|
+
* @class DefaultMenuManagementApi
|
|
14584
|
+
* @extends {BaseAPI}
|
|
14585
|
+
*/
|
|
14586
|
+
export class DefaultMenuManagementApi extends BaseAPI {
|
|
14587
|
+
/**
|
|
14588
|
+
* Retrieve all default menus with their global visibility settings
|
|
14589
|
+
* @summary Get all default menus with visibility flags
|
|
14590
|
+
* @param {string} [menuLevel] Filter by menu level (org/store)
|
|
14591
|
+
* @param {*} [options] Override http request option.
|
|
14592
|
+
* @throws {RequiredError}
|
|
14593
|
+
* @memberof DefaultMenuManagementApi
|
|
14594
|
+
*/
|
|
14595
|
+
adminDefaultMenusGet(menuLevel, options) {
|
|
14596
|
+
return DefaultMenuManagementApiFp(this.configuration).adminDefaultMenusGet(menuLevel, options).then((request) => request(this.axios, this.basePath));
|
|
14597
|
+
}
|
|
14598
|
+
/**
|
|
14599
|
+
* Update the global visibility flag for a default menu
|
|
14600
|
+
* @summary Update menu global visibility
|
|
14601
|
+
* @param {DefaultMenuRoutesUpdateMenuVisibilityRequest} defaultMenuRoutesUpdateMenuVisibilityRequest Visibility update details
|
|
14602
|
+
* @param {*} [options] Override http request option.
|
|
14603
|
+
* @throws {RequiredError}
|
|
14604
|
+
* @memberof DefaultMenuManagementApi
|
|
14605
|
+
*/
|
|
14606
|
+
adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options) {
|
|
14607
|
+
return DefaultMenuManagementApiFp(this.configuration).adminDefaultMenusVisibilityPut(defaultMenuRoutesUpdateMenuVisibilityRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14608
|
+
}
|
|
14609
|
+
}
|
|
14426
14610
|
/**
|
|
14427
14611
|
* DocumentsApi - axios parameter creator
|
|
14428
14612
|
* @export
|
|
@@ -17195,6 +17379,178 @@ export class LimitsApi extends BaseAPI {
|
|
|
17195
17379
|
return LimitsApiFp(this.configuration).miscLimitsPost(dataTypesCreateLimitRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
17196
17380
|
}
|
|
17197
17381
|
}
|
|
17382
|
+
/**
|
|
17383
|
+
* MenuManagementApi - axios parameter creator
|
|
17384
|
+
* @export
|
|
17385
|
+
*/
|
|
17386
|
+
export const MenuManagementApiAxiosParamCreator = function (configuration) {
|
|
17387
|
+
return {
|
|
17388
|
+
/**
|
|
17389
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
17390
|
+
* @summary Add new menu with permissions
|
|
17391
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17392
|
+
* @param {*} [options] Override http request option.
|
|
17393
|
+
* @throws {RequiredError}
|
|
17394
|
+
*/
|
|
17395
|
+
adminMenusAddPost: (menuRoutesAddMenuRequest_1, ...args_1) => __awaiter(this, [menuRoutesAddMenuRequest_1, ...args_1], void 0, function* (menuRoutesAddMenuRequest, options = {}) {
|
|
17396
|
+
// verify required parameter 'menuRoutesAddMenuRequest' is not null or undefined
|
|
17397
|
+
assertParamExists('adminMenusAddPost', 'menuRoutesAddMenuRequest', menuRoutesAddMenuRequest);
|
|
17398
|
+
const localVarPath = `/admin/menus/add`;
|
|
17399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17401
|
+
let baseOptions;
|
|
17402
|
+
if (configuration) {
|
|
17403
|
+
baseOptions = configuration.baseOptions;
|
|
17404
|
+
}
|
|
17405
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17406
|
+
const localVarHeaderParameter = {};
|
|
17407
|
+
const localVarQueryParameter = {};
|
|
17408
|
+
// authentication BearerAuth required
|
|
17409
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
17410
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17411
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17412
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17413
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17414
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuRoutesAddMenuRequest, localVarRequestOptions, configuration);
|
|
17415
|
+
return {
|
|
17416
|
+
url: toPathString(localVarUrlObj),
|
|
17417
|
+
options: localVarRequestOptions,
|
|
17418
|
+
};
|
|
17419
|
+
}),
|
|
17420
|
+
/**
|
|
17421
|
+
* Preview what would happen when adding a menu (dry run)
|
|
17422
|
+
* @summary Get menu addition preview
|
|
17423
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17424
|
+
* @param {*} [options] Override http request option.
|
|
17425
|
+
* @throws {RequiredError}
|
|
17426
|
+
*/
|
|
17427
|
+
adminMenusPreviewPost: (menuRoutesAddMenuRequest_1, ...args_1) => __awaiter(this, [menuRoutesAddMenuRequest_1, ...args_1], void 0, function* (menuRoutesAddMenuRequest, options = {}) {
|
|
17428
|
+
// verify required parameter 'menuRoutesAddMenuRequest' is not null or undefined
|
|
17429
|
+
assertParamExists('adminMenusPreviewPost', 'menuRoutesAddMenuRequest', menuRoutesAddMenuRequest);
|
|
17430
|
+
const localVarPath = `/admin/menus/preview`;
|
|
17431
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17432
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17433
|
+
let baseOptions;
|
|
17434
|
+
if (configuration) {
|
|
17435
|
+
baseOptions = configuration.baseOptions;
|
|
17436
|
+
}
|
|
17437
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17438
|
+
const localVarHeaderParameter = {};
|
|
17439
|
+
const localVarQueryParameter = {};
|
|
17440
|
+
// authentication BearerAuth required
|
|
17441
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
17442
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17443
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17444
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17445
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17446
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuRoutesAddMenuRequest, localVarRequestOptions, configuration);
|
|
17447
|
+
return {
|
|
17448
|
+
url: toPathString(localVarUrlObj),
|
|
17449
|
+
options: localVarRequestOptions,
|
|
17450
|
+
};
|
|
17451
|
+
}),
|
|
17452
|
+
};
|
|
17453
|
+
};
|
|
17454
|
+
/**
|
|
17455
|
+
* MenuManagementApi - functional programming interface
|
|
17456
|
+
* @export
|
|
17457
|
+
*/
|
|
17458
|
+
export const MenuManagementApiFp = function (configuration) {
|
|
17459
|
+
const localVarAxiosParamCreator = MenuManagementApiAxiosParamCreator(configuration);
|
|
17460
|
+
return {
|
|
17461
|
+
/**
|
|
17462
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
17463
|
+
* @summary Add new menu with permissions
|
|
17464
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17465
|
+
* @param {*} [options] Override http request option.
|
|
17466
|
+
* @throws {RequiredError}
|
|
17467
|
+
*/
|
|
17468
|
+
adminMenusAddPost(menuRoutesAddMenuRequest, options) {
|
|
17469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17470
|
+
var _a, _b, _c;
|
|
17471
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminMenusAddPost(menuRoutesAddMenuRequest, options);
|
|
17472
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17473
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MenuManagementApi.adminMenusAddPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17474
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17475
|
+
});
|
|
17476
|
+
},
|
|
17477
|
+
/**
|
|
17478
|
+
* Preview what would happen when adding a menu (dry run)
|
|
17479
|
+
* @summary Get menu addition preview
|
|
17480
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17481
|
+
* @param {*} [options] Override http request option.
|
|
17482
|
+
* @throws {RequiredError}
|
|
17483
|
+
*/
|
|
17484
|
+
adminMenusPreviewPost(menuRoutesAddMenuRequest, options) {
|
|
17485
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17486
|
+
var _a, _b, _c;
|
|
17487
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminMenusPreviewPost(menuRoutesAddMenuRequest, options);
|
|
17488
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17489
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MenuManagementApi.adminMenusPreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17490
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17491
|
+
});
|
|
17492
|
+
},
|
|
17493
|
+
};
|
|
17494
|
+
};
|
|
17495
|
+
/**
|
|
17496
|
+
* MenuManagementApi - factory interface
|
|
17497
|
+
* @export
|
|
17498
|
+
*/
|
|
17499
|
+
export const MenuManagementApiFactory = function (configuration, basePath, axios) {
|
|
17500
|
+
const localVarFp = MenuManagementApiFp(configuration);
|
|
17501
|
+
return {
|
|
17502
|
+
/**
|
|
17503
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
17504
|
+
* @summary Add new menu with permissions
|
|
17505
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17506
|
+
* @param {*} [options] Override http request option.
|
|
17507
|
+
* @throws {RequiredError}
|
|
17508
|
+
*/
|
|
17509
|
+
adminMenusAddPost(menuRoutesAddMenuRequest, options) {
|
|
17510
|
+
return localVarFp.adminMenusAddPost(menuRoutesAddMenuRequest, options).then((request) => request(axios, basePath));
|
|
17511
|
+
},
|
|
17512
|
+
/**
|
|
17513
|
+
* Preview what would happen when adding a menu (dry run)
|
|
17514
|
+
* @summary Get menu addition preview
|
|
17515
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17516
|
+
* @param {*} [options] Override http request option.
|
|
17517
|
+
* @throws {RequiredError}
|
|
17518
|
+
*/
|
|
17519
|
+
adminMenusPreviewPost(menuRoutesAddMenuRequest, options) {
|
|
17520
|
+
return localVarFp.adminMenusPreviewPost(menuRoutesAddMenuRequest, options).then((request) => request(axios, basePath));
|
|
17521
|
+
},
|
|
17522
|
+
};
|
|
17523
|
+
};
|
|
17524
|
+
/**
|
|
17525
|
+
* MenuManagementApi - object-oriented interface
|
|
17526
|
+
* @export
|
|
17527
|
+
* @class MenuManagementApi
|
|
17528
|
+
* @extends {BaseAPI}
|
|
17529
|
+
*/
|
|
17530
|
+
export class MenuManagementApi extends BaseAPI {
|
|
17531
|
+
/**
|
|
17532
|
+
* Safely adds a new menu to default configuration and retroactively applies to existing users/orgs/stores
|
|
17533
|
+
* @summary Add new menu with permissions
|
|
17534
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17535
|
+
* @param {*} [options] Override http request option.
|
|
17536
|
+
* @throws {RequiredError}
|
|
17537
|
+
* @memberof MenuManagementApi
|
|
17538
|
+
*/
|
|
17539
|
+
adminMenusAddPost(menuRoutesAddMenuRequest, options) {
|
|
17540
|
+
return MenuManagementApiFp(this.configuration).adminMenusAddPost(menuRoutesAddMenuRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17541
|
+
}
|
|
17542
|
+
/**
|
|
17543
|
+
* Preview what would happen when adding a menu (dry run)
|
|
17544
|
+
* @summary Get menu addition preview
|
|
17545
|
+
* @param {MenuRoutesAddMenuRequest} menuRoutesAddMenuRequest Menu details
|
|
17546
|
+
* @param {*} [options] Override http request option.
|
|
17547
|
+
* @throws {RequiredError}
|
|
17548
|
+
* @memberof MenuManagementApi
|
|
17549
|
+
*/
|
|
17550
|
+
adminMenusPreviewPost(menuRoutesAddMenuRequest, options) {
|
|
17551
|
+
return MenuManagementApiFp(this.configuration).adminMenusPreviewPost(menuRoutesAddMenuRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17552
|
+
}
|
|
17553
|
+
}
|
|
17198
17554
|
/**
|
|
17199
17555
|
* MenuRouteMetricsApi - axios parameter creator
|
|
17200
17556
|
* @export
|
|
@@ -21967,9 +22323,9 @@ export class ParentMenusApi extends BaseAPI {
|
|
|
21967
22323
|
export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
21968
22324
|
return {
|
|
21969
22325
|
/**
|
|
21970
|
-
* Creates a payment order using specified or default payment gateway
|
|
22326
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
21971
22327
|
* @summary Create a new payment order
|
|
21972
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
22328
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
21973
22329
|
* @param {*} [options] Override http request option.
|
|
21974
22330
|
* @throws {RequiredError}
|
|
21975
22331
|
*/
|
|
@@ -22419,9 +22775,9 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
22419
22775
|
const localVarAxiosParamCreator = PaymentGatewayApiAxiosParamCreator(configuration);
|
|
22420
22776
|
return {
|
|
22421
22777
|
/**
|
|
22422
|
-
* Creates a payment order using specified or default payment gateway
|
|
22778
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
22423
22779
|
* @summary Create a new payment order
|
|
22424
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
22780
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
22425
22781
|
* @param {*} [options] Override http request option.
|
|
22426
22782
|
* @throws {RequiredError}
|
|
22427
22783
|
*/
|
|
@@ -22647,9 +23003,9 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
22647
23003
|
const localVarFp = PaymentGatewayApiFp(configuration);
|
|
22648
23004
|
return {
|
|
22649
23005
|
/**
|
|
22650
|
-
* Creates a payment order using specified or default payment gateway
|
|
23006
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
22651
23007
|
* @summary Create a new payment order
|
|
22652
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
23008
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
22653
23009
|
* @param {*} [options] Override http request option.
|
|
22654
23010
|
* @throws {RequiredError}
|
|
22655
23011
|
*/
|
|
@@ -22797,9 +23153,9 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
22797
23153
|
*/
|
|
22798
23154
|
export class PaymentGatewayApi extends BaseAPI {
|
|
22799
23155
|
/**
|
|
22800
|
-
* Creates a payment order using specified or default payment gateway
|
|
23156
|
+
* Creates a payment order using specified or default payment gateway. Organization ID is automatically extracted from JWT token.
|
|
22801
23157
|
* @summary Create a new payment order
|
|
22802
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
23158
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details (org_id will be auto-populated from JWT)
|
|
22803
23159
|
* @param {*} [options] Override http request option.
|
|
22804
23160
|
* @throws {RequiredError}
|
|
22805
23161
|
* @memberof PaymentGatewayApi
|
|
@@ -34375,10 +34731,10 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34375
34731
|
* @param {*} [options] Override http request option.
|
|
34376
34732
|
* @throws {RequiredError}
|
|
34377
34733
|
*/
|
|
34378
|
-
|
|
34734
|
+
v1InvitationsInvitationIdDelete: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
34379
34735
|
// verify required parameter 'invitationId' is not null or undefined
|
|
34380
|
-
assertParamExists('
|
|
34381
|
-
const localVarPath = `/
|
|
34736
|
+
assertParamExists('v1InvitationsInvitationIdDelete', 'invitationId', invitationId);
|
|
34737
|
+
const localVarPath = `/v1/invitations/{invitationId}`
|
|
34382
34738
|
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
34383
34739
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34384
34740
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34406,10 +34762,10 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34406
34762
|
* @param {*} [options] Override http request option.
|
|
34407
34763
|
* @throws {RequiredError}
|
|
34408
34764
|
*/
|
|
34409
|
-
|
|
34765
|
+
v1InvitationsTokenAcceptPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
34410
34766
|
// verify required parameter 'token' is not null or undefined
|
|
34411
|
-
assertParamExists('
|
|
34412
|
-
const localVarPath = `/
|
|
34767
|
+
assertParamExists('v1InvitationsTokenAcceptPost', 'token', token);
|
|
34768
|
+
const localVarPath = `/v1/invitations/{token}/accept`
|
|
34413
34769
|
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
34414
34770
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34415
34771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34437,10 +34793,10 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34437
34793
|
* @param {*} [options] Override http request option.
|
|
34438
34794
|
* @throws {RequiredError}
|
|
34439
34795
|
*/
|
|
34440
|
-
|
|
34796
|
+
v1StoresStoreIdAccessGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
|
|
34441
34797
|
// verify required parameter 'storeId' is not null or undefined
|
|
34442
|
-
assertParamExists('
|
|
34443
|
-
const localVarPath = `/
|
|
34798
|
+
assertParamExists('v1StoresStoreIdAccessGet', 'storeId', storeId);
|
|
34799
|
+
const localVarPath = `/v1/stores/{storeId}/access`
|
|
34444
34800
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
34445
34801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34446
34802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34469,12 +34825,12 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34469
34825
|
* @param {*} [options] Override http request option.
|
|
34470
34826
|
* @throws {RequiredError}
|
|
34471
34827
|
*/
|
|
34472
|
-
|
|
34828
|
+
v1StoresStoreIdAccessPost: (storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1], void 0, function* (storeId, dataTypesGrantStoreAccessRequest, options = {}) {
|
|
34473
34829
|
// verify required parameter 'storeId' is not null or undefined
|
|
34474
|
-
assertParamExists('
|
|
34830
|
+
assertParamExists('v1StoresStoreIdAccessPost', 'storeId', storeId);
|
|
34475
34831
|
// verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
|
|
34476
|
-
assertParamExists('
|
|
34477
|
-
const localVarPath = `/
|
|
34832
|
+
assertParamExists('v1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
|
|
34833
|
+
const localVarPath = `/v1/stores/{storeId}/access`
|
|
34478
34834
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
34479
34835
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34480
34836
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34505,12 +34861,12 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34505
34861
|
* @param {*} [options] Override http request option.
|
|
34506
34862
|
* @throws {RequiredError}
|
|
34507
34863
|
*/
|
|
34508
|
-
|
|
34864
|
+
v1StoresStoreIdAccessUserIdDelete: (storeId_1, userId_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, ...args_1], void 0, function* (storeId, userId, options = {}) {
|
|
34509
34865
|
// verify required parameter 'storeId' is not null or undefined
|
|
34510
|
-
assertParamExists('
|
|
34866
|
+
assertParamExists('v1StoresStoreIdAccessUserIdDelete', 'storeId', storeId);
|
|
34511
34867
|
// verify required parameter 'userId' is not null or undefined
|
|
34512
|
-
assertParamExists('
|
|
34513
|
-
const localVarPath = `/
|
|
34868
|
+
assertParamExists('v1StoresStoreIdAccessUserIdDelete', 'userId', userId);
|
|
34869
|
+
const localVarPath = `/v1/stores/{storeId}/access/{userId}`
|
|
34514
34870
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
34515
34871
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34516
34872
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34541,14 +34897,14 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34541
34897
|
* @param {*} [options] Override http request option.
|
|
34542
34898
|
* @throws {RequiredError}
|
|
34543
34899
|
*/
|
|
34544
|
-
|
|
34900
|
+
v1StoresStoreIdAccessUserIdPut: (storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1], void 0, function* (storeId, userId, dataTypesUpdateStoreAccessRequest, options = {}) {
|
|
34545
34901
|
// verify required parameter 'storeId' is not null or undefined
|
|
34546
|
-
assertParamExists('
|
|
34902
|
+
assertParamExists('v1StoresStoreIdAccessUserIdPut', 'storeId', storeId);
|
|
34547
34903
|
// verify required parameter 'userId' is not null or undefined
|
|
34548
|
-
assertParamExists('
|
|
34904
|
+
assertParamExists('v1StoresStoreIdAccessUserIdPut', 'userId', userId);
|
|
34549
34905
|
// verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
|
|
34550
|
-
assertParamExists('
|
|
34551
|
-
const localVarPath = `/
|
|
34906
|
+
assertParamExists('v1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest);
|
|
34907
|
+
const localVarPath = `/v1/stores/{storeId}/access/{userId}`
|
|
34552
34908
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
34553
34909
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34554
34910
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -34578,8 +34934,8 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34578
34934
|
* @param {*} [options] Override http request option.
|
|
34579
34935
|
* @throws {RequiredError}
|
|
34580
34936
|
*/
|
|
34581
|
-
|
|
34582
|
-
const localVarPath = `/
|
|
34937
|
+
v1TeamInvitationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
34938
|
+
const localVarPath = `/v1/team/invitations`;
|
|
34583
34939
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34584
34940
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34585
34941
|
let baseOptions;
|
|
@@ -34605,8 +34961,8 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34605
34961
|
* @param {*} [options] Override http request option.
|
|
34606
34962
|
* @throws {RequiredError}
|
|
34607
34963
|
*/
|
|
34608
|
-
|
|
34609
|
-
const localVarPath = `/
|
|
34964
|
+
v1TeamMembersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
34965
|
+
const localVarPath = `/v1/team/members`;
|
|
34610
34966
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34611
34967
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34612
34968
|
let baseOptions;
|
|
@@ -34633,10 +34989,10 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34633
34989
|
* @param {*} [options] Override http request option.
|
|
34634
34990
|
* @throws {RequiredError}
|
|
34635
34991
|
*/
|
|
34636
|
-
|
|
34992
|
+
v1TeamMembersInvitePost: (dataTypesInviteMemberRequest_1, ...args_1) => __awaiter(this, [dataTypesInviteMemberRequest_1, ...args_1], void 0, function* (dataTypesInviteMemberRequest, options = {}) {
|
|
34637
34993
|
// verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
|
|
34638
|
-
assertParamExists('
|
|
34639
|
-
const localVarPath = `/
|
|
34994
|
+
assertParamExists('v1TeamMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest);
|
|
34995
|
+
const localVarPath = `/v1/team/members/invite`;
|
|
34640
34996
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34641
34997
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34642
34998
|
let baseOptions;
|
|
@@ -34665,10 +35021,10 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34665
35021
|
* @param {*} [options] Override http request option.
|
|
34666
35022
|
* @throws {RequiredError}
|
|
34667
35023
|
*/
|
|
34668
|
-
|
|
35024
|
+
v1TeamMembersMemberIdDelete: (memberId_1, ...args_1) => __awaiter(this, [memberId_1, ...args_1], void 0, function* (memberId, options = {}) {
|
|
34669
35025
|
// verify required parameter 'memberId' is not null or undefined
|
|
34670
|
-
assertParamExists('
|
|
34671
|
-
const localVarPath = `/
|
|
35026
|
+
assertParamExists('v1TeamMembersMemberIdDelete', 'memberId', memberId);
|
|
35027
|
+
const localVarPath = `/v1/team/members/{memberId}`
|
|
34672
35028
|
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
34673
35029
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34674
35030
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34697,12 +35053,12 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34697
35053
|
* @param {*} [options] Override http request option.
|
|
34698
35054
|
* @throws {RequiredError}
|
|
34699
35055
|
*/
|
|
34700
|
-
|
|
35056
|
+
v1TeamMembersMemberIdRolePut: (memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1) => __awaiter(this, [memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1], void 0, function* (memberId, dataTypesUpdateMemberRoleRequest, options = {}) {
|
|
34701
35057
|
// verify required parameter 'memberId' is not null or undefined
|
|
34702
|
-
assertParamExists('
|
|
35058
|
+
assertParamExists('v1TeamMembersMemberIdRolePut', 'memberId', memberId);
|
|
34703
35059
|
// verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
|
|
34704
|
-
assertParamExists('
|
|
34705
|
-
const localVarPath = `/
|
|
35060
|
+
assertParamExists('v1TeamMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
|
|
35061
|
+
const localVarPath = `/v1/team/members/{memberId}/role`
|
|
34706
35062
|
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
34707
35063
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34708
35064
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34732,10 +35088,10 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34732
35088
|
* @param {*} [options] Override http request option.
|
|
34733
35089
|
* @throws {RequiredError}
|
|
34734
35090
|
*/
|
|
34735
|
-
|
|
35091
|
+
v1UsersUserIdStoresGet: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
34736
35092
|
// verify required parameter 'userId' is not null or undefined
|
|
34737
|
-
assertParamExists('
|
|
34738
|
-
const localVarPath = `/
|
|
35093
|
+
assertParamExists('v1UsersUserIdStoresGet', 'userId', userId);
|
|
35094
|
+
const localVarPath = `/v1/users/{userId}/stores`
|
|
34739
35095
|
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34740
35096
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34741
35097
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34772,12 +35128,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34772
35128
|
* @param {*} [options] Override http request option.
|
|
34773
35129
|
* @throws {RequiredError}
|
|
34774
35130
|
*/
|
|
34775
|
-
|
|
35131
|
+
v1InvitationsInvitationIdDelete(invitationId, options) {
|
|
34776
35132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34777
35133
|
var _a, _b, _c;
|
|
34778
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35134
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsInvitationIdDelete(invitationId, options);
|
|
34779
35135
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34780
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35136
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsInvitationIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34781
35137
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34782
35138
|
});
|
|
34783
35139
|
},
|
|
@@ -34788,12 +35144,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34788
35144
|
* @param {*} [options] Override http request option.
|
|
34789
35145
|
* @throws {RequiredError}
|
|
34790
35146
|
*/
|
|
34791
|
-
|
|
35147
|
+
v1InvitationsTokenAcceptPost(token, options) {
|
|
34792
35148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34793
35149
|
var _a, _b, _c;
|
|
34794
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35150
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenAcceptPost(token, options);
|
|
34795
35151
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34796
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35152
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsTokenAcceptPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34797
35153
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34798
35154
|
});
|
|
34799
35155
|
},
|
|
@@ -34804,12 +35160,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34804
35160
|
* @param {*} [options] Override http request option.
|
|
34805
35161
|
* @throws {RequiredError}
|
|
34806
35162
|
*/
|
|
34807
|
-
|
|
35163
|
+
v1StoresStoreIdAccessGet(storeId, options) {
|
|
34808
35164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34809
35165
|
var _a, _b, _c;
|
|
34810
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35166
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1StoresStoreIdAccessGet(storeId, options);
|
|
34811
35167
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34812
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35168
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1StoresStoreIdAccessGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34813
35169
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34814
35170
|
});
|
|
34815
35171
|
},
|
|
@@ -34821,12 +35177,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34821
35177
|
* @param {*} [options] Override http request option.
|
|
34822
35178
|
* @throws {RequiredError}
|
|
34823
35179
|
*/
|
|
34824
|
-
|
|
35180
|
+
v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
34825
35181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34826
35182
|
var _a, _b, _c;
|
|
34827
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35183
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
|
|
34828
35184
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34829
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35185
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1StoresStoreIdAccessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34830
35186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34831
35187
|
});
|
|
34832
35188
|
},
|
|
@@ -34838,12 +35194,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34838
35194
|
* @param {*} [options] Override http request option.
|
|
34839
35195
|
* @throws {RequiredError}
|
|
34840
35196
|
*/
|
|
34841
|
-
|
|
35197
|
+
v1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
34842
35198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34843
35199
|
var _a, _b, _c;
|
|
34844
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35200
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
|
|
34845
35201
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34846
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35202
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1StoresStoreIdAccessUserIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34847
35203
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34848
35204
|
});
|
|
34849
35205
|
},
|
|
@@ -34856,12 +35212,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34856
35212
|
* @param {*} [options] Override http request option.
|
|
34857
35213
|
* @throws {RequiredError}
|
|
34858
35214
|
*/
|
|
34859
|
-
|
|
35215
|
+
v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
34860
35216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34861
35217
|
var _a, _b, _c;
|
|
34862
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35218
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
|
|
34863
35219
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34864
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35220
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1StoresStoreIdAccessUserIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34865
35221
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34866
35222
|
});
|
|
34867
35223
|
},
|
|
@@ -34871,12 +35227,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34871
35227
|
* @param {*} [options] Override http request option.
|
|
34872
35228
|
* @throws {RequiredError}
|
|
34873
35229
|
*/
|
|
34874
|
-
|
|
35230
|
+
v1TeamInvitationsGet(options) {
|
|
34875
35231
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34876
35232
|
var _a, _b, _c;
|
|
34877
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35233
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamInvitationsGet(options);
|
|
34878
35234
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34879
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35235
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1TeamInvitationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34880
35236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34881
35237
|
});
|
|
34882
35238
|
},
|
|
@@ -34886,12 +35242,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34886
35242
|
* @param {*} [options] Override http request option.
|
|
34887
35243
|
* @throws {RequiredError}
|
|
34888
35244
|
*/
|
|
34889
|
-
|
|
35245
|
+
v1TeamMembersGet(options) {
|
|
34890
35246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34891
35247
|
var _a, _b, _c;
|
|
34892
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35248
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamMembersGet(options);
|
|
34893
35249
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34894
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35250
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1TeamMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34895
35251
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34896
35252
|
});
|
|
34897
35253
|
},
|
|
@@ -34902,12 +35258,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34902
35258
|
* @param {*} [options] Override http request option.
|
|
34903
35259
|
* @throws {RequiredError}
|
|
34904
35260
|
*/
|
|
34905
|
-
|
|
35261
|
+
v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options) {
|
|
34906
35262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34907
35263
|
var _a, _b, _c;
|
|
34908
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35264
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options);
|
|
34909
35265
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34910
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35266
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1TeamMembersInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34911
35267
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34912
35268
|
});
|
|
34913
35269
|
},
|
|
@@ -34918,12 +35274,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34918
35274
|
* @param {*} [options] Override http request option.
|
|
34919
35275
|
* @throws {RequiredError}
|
|
34920
35276
|
*/
|
|
34921
|
-
|
|
35277
|
+
v1TeamMembersMemberIdDelete(memberId, options) {
|
|
34922
35278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34923
35279
|
var _a, _b, _c;
|
|
34924
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35280
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamMembersMemberIdDelete(memberId, options);
|
|
34925
35281
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34926
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35282
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1TeamMembersMemberIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34927
35283
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34928
35284
|
});
|
|
34929
35285
|
},
|
|
@@ -34935,12 +35291,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34935
35291
|
* @param {*} [options] Override http request option.
|
|
34936
35292
|
* @throws {RequiredError}
|
|
34937
35293
|
*/
|
|
34938
|
-
|
|
35294
|
+
v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
34939
35295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34940
35296
|
var _a, _b, _c;
|
|
34941
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35297
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options);
|
|
34942
35298
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34943
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35299
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1TeamMembersMemberIdRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34944
35300
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34945
35301
|
});
|
|
34946
35302
|
},
|
|
@@ -34951,12 +35307,12 @@ export const TeamApiFp = function (configuration) {
|
|
|
34951
35307
|
* @param {*} [options] Override http request option.
|
|
34952
35308
|
* @throws {RequiredError}
|
|
34953
35309
|
*/
|
|
34954
|
-
|
|
35310
|
+
v1UsersUserIdStoresGet(userId, options) {
|
|
34955
35311
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34956
35312
|
var _a, _b, _c;
|
|
34957
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35313
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1UsersUserIdStoresGet(userId, options);
|
|
34958
35314
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34959
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.
|
|
35315
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1UsersUserIdStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34960
35316
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34961
35317
|
});
|
|
34962
35318
|
},
|
|
@@ -34976,8 +35332,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
34976
35332
|
* @param {*} [options] Override http request option.
|
|
34977
35333
|
* @throws {RequiredError}
|
|
34978
35334
|
*/
|
|
34979
|
-
|
|
34980
|
-
return localVarFp.
|
|
35335
|
+
v1InvitationsInvitationIdDelete(invitationId, options) {
|
|
35336
|
+
return localVarFp.v1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(axios, basePath));
|
|
34981
35337
|
},
|
|
34982
35338
|
/**
|
|
34983
35339
|
* Accepts a team invitation using token
|
|
@@ -34986,8 +35342,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
34986
35342
|
* @param {*} [options] Override http request option.
|
|
34987
35343
|
* @throws {RequiredError}
|
|
34988
35344
|
*/
|
|
34989
|
-
|
|
34990
|
-
return localVarFp.
|
|
35345
|
+
v1InvitationsTokenAcceptPost(token, options) {
|
|
35346
|
+
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
34991
35347
|
},
|
|
34992
35348
|
/**
|
|
34993
35349
|
* Retrieves all users with access to a store
|
|
@@ -34996,8 +35352,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
34996
35352
|
* @param {*} [options] Override http request option.
|
|
34997
35353
|
* @throws {RequiredError}
|
|
34998
35354
|
*/
|
|
34999
|
-
|
|
35000
|
-
return localVarFp.
|
|
35355
|
+
v1StoresStoreIdAccessGet(storeId, options) {
|
|
35356
|
+
return localVarFp.v1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
|
|
35001
35357
|
},
|
|
35002
35358
|
/**
|
|
35003
35359
|
* Grants a user access to a store
|
|
@@ -35007,8 +35363,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35007
35363
|
* @param {*} [options] Override http request option.
|
|
35008
35364
|
* @throws {RequiredError}
|
|
35009
35365
|
*/
|
|
35010
|
-
|
|
35011
|
-
return localVarFp.
|
|
35366
|
+
v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
35367
|
+
return localVarFp.v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
35012
35368
|
},
|
|
35013
35369
|
/**
|
|
35014
35370
|
* Revokes a user\'s access to a store
|
|
@@ -35018,8 +35374,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35018
35374
|
* @param {*} [options] Override http request option.
|
|
35019
35375
|
* @throws {RequiredError}
|
|
35020
35376
|
*/
|
|
35021
|
-
|
|
35022
|
-
return localVarFp.
|
|
35377
|
+
v1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
35378
|
+
return localVarFp.v1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
|
|
35023
35379
|
},
|
|
35024
35380
|
/**
|
|
35025
35381
|
* Updates a user\'s access level to a store
|
|
@@ -35030,8 +35386,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35030
35386
|
* @param {*} [options] Override http request option.
|
|
35031
35387
|
* @throws {RequiredError}
|
|
35032
35388
|
*/
|
|
35033
|
-
|
|
35034
|
-
return localVarFp.
|
|
35389
|
+
v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
35390
|
+
return localVarFp.v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
35035
35391
|
},
|
|
35036
35392
|
/**
|
|
35037
35393
|
* Retrieves all pending invitations for the user\'s organization
|
|
@@ -35039,8 +35395,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35039
35395
|
* @param {*} [options] Override http request option.
|
|
35040
35396
|
* @throws {RequiredError}
|
|
35041
35397
|
*/
|
|
35042
|
-
|
|
35043
|
-
return localVarFp.
|
|
35398
|
+
v1TeamInvitationsGet(options) {
|
|
35399
|
+
return localVarFp.v1TeamInvitationsGet(options).then((request) => request(axios, basePath));
|
|
35044
35400
|
},
|
|
35045
35401
|
/**
|
|
35046
35402
|
* Retrieves all members of the user\'s organization with their details
|
|
@@ -35048,8 +35404,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35048
35404
|
* @param {*} [options] Override http request option.
|
|
35049
35405
|
* @throws {RequiredError}
|
|
35050
35406
|
*/
|
|
35051
|
-
|
|
35052
|
-
return localVarFp.
|
|
35407
|
+
v1TeamMembersGet(options) {
|
|
35408
|
+
return localVarFp.v1TeamMembersGet(options).then((request) => request(axios, basePath));
|
|
35053
35409
|
},
|
|
35054
35410
|
/**
|
|
35055
35411
|
* Sends an invitation to a user to join the user\'s organization
|
|
@@ -35058,8 +35414,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35058
35414
|
* @param {*} [options] Override http request option.
|
|
35059
35415
|
* @throws {RequiredError}
|
|
35060
35416
|
*/
|
|
35061
|
-
|
|
35062
|
-
return localVarFp.
|
|
35417
|
+
v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options) {
|
|
35418
|
+
return localVarFp.v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
|
|
35063
35419
|
},
|
|
35064
35420
|
/**
|
|
35065
35421
|
* Removes a member from the user\'s organization
|
|
@@ -35068,8 +35424,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35068
35424
|
* @param {*} [options] Override http request option.
|
|
35069
35425
|
* @throws {RequiredError}
|
|
35070
35426
|
*/
|
|
35071
|
-
|
|
35072
|
-
return localVarFp.
|
|
35427
|
+
v1TeamMembersMemberIdDelete(memberId, options) {
|
|
35428
|
+
return localVarFp.v1TeamMembersMemberIdDelete(memberId, options).then((request) => request(axios, basePath));
|
|
35073
35429
|
},
|
|
35074
35430
|
/**
|
|
35075
35431
|
* Updates the role of a member in the user\'s organization
|
|
@@ -35079,8 +35435,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35079
35435
|
* @param {*} [options] Override http request option.
|
|
35080
35436
|
* @throws {RequiredError}
|
|
35081
35437
|
*/
|
|
35082
|
-
|
|
35083
|
-
return localVarFp.
|
|
35438
|
+
v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
35439
|
+
return localVarFp.v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
|
|
35084
35440
|
},
|
|
35085
35441
|
/**
|
|
35086
35442
|
* Retrieves all stores accessible to a user
|
|
@@ -35089,8 +35445,8 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35089
35445
|
* @param {*} [options] Override http request option.
|
|
35090
35446
|
* @throws {RequiredError}
|
|
35091
35447
|
*/
|
|
35092
|
-
|
|
35093
|
-
return localVarFp.
|
|
35448
|
+
v1UsersUserIdStoresGet(userId, options) {
|
|
35449
|
+
return localVarFp.v1UsersUserIdStoresGet(userId, options).then((request) => request(axios, basePath));
|
|
35094
35450
|
},
|
|
35095
35451
|
};
|
|
35096
35452
|
};
|
|
@@ -35109,8 +35465,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35109
35465
|
* @throws {RequiredError}
|
|
35110
35466
|
* @memberof TeamApi
|
|
35111
35467
|
*/
|
|
35112
|
-
|
|
35113
|
-
return TeamApiFp(this.configuration).
|
|
35468
|
+
v1InvitationsInvitationIdDelete(invitationId, options) {
|
|
35469
|
+
return TeamApiFp(this.configuration).v1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
35114
35470
|
}
|
|
35115
35471
|
/**
|
|
35116
35472
|
* Accepts a team invitation using token
|
|
@@ -35120,8 +35476,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35120
35476
|
* @throws {RequiredError}
|
|
35121
35477
|
* @memberof TeamApi
|
|
35122
35478
|
*/
|
|
35123
|
-
|
|
35124
|
-
return TeamApiFp(this.configuration).
|
|
35479
|
+
v1InvitationsTokenAcceptPost(token, options) {
|
|
35480
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
35125
35481
|
}
|
|
35126
35482
|
/**
|
|
35127
35483
|
* Retrieves all users with access to a store
|
|
@@ -35131,8 +35487,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35131
35487
|
* @throws {RequiredError}
|
|
35132
35488
|
* @memberof TeamApi
|
|
35133
35489
|
*/
|
|
35134
|
-
|
|
35135
|
-
return TeamApiFp(this.configuration).
|
|
35490
|
+
v1StoresStoreIdAccessGet(storeId, options) {
|
|
35491
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
35136
35492
|
}
|
|
35137
35493
|
/**
|
|
35138
35494
|
* Grants a user access to a store
|
|
@@ -35143,8 +35499,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35143
35499
|
* @throws {RequiredError}
|
|
35144
35500
|
* @memberof TeamApi
|
|
35145
35501
|
*/
|
|
35146
|
-
|
|
35147
|
-
return TeamApiFp(this.configuration).
|
|
35502
|
+
v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
35503
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35148
35504
|
}
|
|
35149
35505
|
/**
|
|
35150
35506
|
* Revokes a user\'s access to a store
|
|
@@ -35155,8 +35511,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35155
35511
|
* @throws {RequiredError}
|
|
35156
35512
|
* @memberof TeamApi
|
|
35157
35513
|
*/
|
|
35158
|
-
|
|
35159
|
-
return TeamApiFp(this.configuration).
|
|
35514
|
+
v1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
35515
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
35160
35516
|
}
|
|
35161
35517
|
/**
|
|
35162
35518
|
* Updates a user\'s access level to a store
|
|
@@ -35168,8 +35524,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35168
35524
|
* @throws {RequiredError}
|
|
35169
35525
|
* @memberof TeamApi
|
|
35170
35526
|
*/
|
|
35171
|
-
|
|
35172
|
-
return TeamApiFp(this.configuration).
|
|
35527
|
+
v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
35528
|
+
return TeamApiFp(this.configuration).v1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35173
35529
|
}
|
|
35174
35530
|
/**
|
|
35175
35531
|
* Retrieves all pending invitations for the user\'s organization
|
|
@@ -35178,8 +35534,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35178
35534
|
* @throws {RequiredError}
|
|
35179
35535
|
* @memberof TeamApi
|
|
35180
35536
|
*/
|
|
35181
|
-
|
|
35182
|
-
return TeamApiFp(this.configuration).
|
|
35537
|
+
v1TeamInvitationsGet(options) {
|
|
35538
|
+
return TeamApiFp(this.configuration).v1TeamInvitationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
35183
35539
|
}
|
|
35184
35540
|
/**
|
|
35185
35541
|
* Retrieves all members of the user\'s organization with their details
|
|
@@ -35188,8 +35544,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35188
35544
|
* @throws {RequiredError}
|
|
35189
35545
|
* @memberof TeamApi
|
|
35190
35546
|
*/
|
|
35191
|
-
|
|
35192
|
-
return TeamApiFp(this.configuration).
|
|
35547
|
+
v1TeamMembersGet(options) {
|
|
35548
|
+
return TeamApiFp(this.configuration).v1TeamMembersGet(options).then((request) => request(this.axios, this.basePath));
|
|
35193
35549
|
}
|
|
35194
35550
|
/**
|
|
35195
35551
|
* Sends an invitation to a user to join the user\'s organization
|
|
@@ -35199,8 +35555,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35199
35555
|
* @throws {RequiredError}
|
|
35200
35556
|
* @memberof TeamApi
|
|
35201
35557
|
*/
|
|
35202
|
-
|
|
35203
|
-
return TeamApiFp(this.configuration).
|
|
35558
|
+
v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options) {
|
|
35559
|
+
return TeamApiFp(this.configuration).v1TeamMembersInvitePost(dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35204
35560
|
}
|
|
35205
35561
|
/**
|
|
35206
35562
|
* Removes a member from the user\'s organization
|
|
@@ -35210,8 +35566,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35210
35566
|
* @throws {RequiredError}
|
|
35211
35567
|
* @memberof TeamApi
|
|
35212
35568
|
*/
|
|
35213
|
-
|
|
35214
|
-
return TeamApiFp(this.configuration).
|
|
35569
|
+
v1TeamMembersMemberIdDelete(memberId, options) {
|
|
35570
|
+
return TeamApiFp(this.configuration).v1TeamMembersMemberIdDelete(memberId, options).then((request) => request(this.axios, this.basePath));
|
|
35215
35571
|
}
|
|
35216
35572
|
/**
|
|
35217
35573
|
* Updates the role of a member in the user\'s organization
|
|
@@ -35222,8 +35578,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35222
35578
|
* @throws {RequiredError}
|
|
35223
35579
|
* @memberof TeamApi
|
|
35224
35580
|
*/
|
|
35225
|
-
|
|
35226
|
-
return TeamApiFp(this.configuration).
|
|
35581
|
+
v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
35582
|
+
return TeamApiFp(this.configuration).v1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35227
35583
|
}
|
|
35228
35584
|
/**
|
|
35229
35585
|
* Retrieves all stores accessible to a user
|
|
@@ -35233,8 +35589,8 @@ export class TeamApi extends BaseAPI {
|
|
|
35233
35589
|
* @throws {RequiredError}
|
|
35234
35590
|
* @memberof TeamApi
|
|
35235
35591
|
*/
|
|
35236
|
-
|
|
35237
|
-
return TeamApiFp(this.configuration).
|
|
35592
|
+
v1UsersUserIdStoresGet(userId, options) {
|
|
35593
|
+
return TeamApiFp(this.configuration).v1UsersUserIdStoresGet(userId, options).then((request) => request(this.axios, this.basePath));
|
|
35238
35594
|
}
|
|
35239
35595
|
}
|
|
35240
35596
|
/**
|