@seekora-ai/admin-api 1.1.44 → 1.1.46
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 +17 -4
- package/api.ts +690 -29
- package/dist/api.d.ts +480 -27
- package/dist/api.js +382 -15
- package/dist/esm/api.d.ts +480 -27
- package/dist/esm/api.js +382 -15
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.46.tgz +0 -0
- package/seekora-ai-admin-api-1.1.44.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -3916,10 +3916,11 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
3916
3916
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3917
3917
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3918
3918
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3919
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
3919
3920
|
* @param {*} [options] Override http request option.
|
|
3920
3921
|
* @throws {RequiredError}
|
|
3921
3922
|
*/
|
|
3922
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options = {}) {
|
|
3923
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet: (xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, noClicksOnly_1, ...args_1) => __awaiter(this, [xStoreID_1, query_1, startTime_1, endTime_1, analyticsTags_1, tagsMatchMode_1, tagsExclude_1, tagKeyFilter_1, tagValueFilter_1, search_1, compareMode_1, compareStartTime_1, compareEndTime_1, compareAnalyticsTags_1, compareTagsMatchMode_1, compareTagsExclude_1, compareTagKeyFilter_1, compareTagValueFilter_1, resultsPage_1, resultsPageSize_1, resultsSearch_1, filtersPage_1, filtersPageSize_1, filtersSearch_1, geoPage_1, geoPageSize_1, geoSearch_1, includeWidget_1, noClicksOnly_1, ...args_1], void 0, function* (xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options = {}) {
|
|
3923
3924
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
3924
3925
|
assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
|
|
3925
3926
|
// verify required parameter 'query' is not null or undefined
|
|
@@ -4016,6 +4017,9 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
4016
4017
|
if (includeWidget !== undefined) {
|
|
4017
4018
|
localVarQueryParameter['include_widget'] = includeWidget;
|
|
4018
4019
|
}
|
|
4020
|
+
if (noClicksOnly !== undefined) {
|
|
4021
|
+
localVarQueryParameter['no_clicks_only'] = noClicksOnly;
|
|
4022
|
+
}
|
|
4019
4023
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4020
4024
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4021
4025
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4897,13 +4901,14 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
4897
4901
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
4898
4902
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
4899
4903
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
4904
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
4900
4905
|
* @param {*} [options] Override http request option.
|
|
4901
4906
|
* @throws {RequiredError}
|
|
4902
4907
|
*/
|
|
4903
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
4908
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options) {
|
|
4904
4909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4905
4910
|
var _a, _b, _c;
|
|
4906
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options);
|
|
4911
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options);
|
|
4907
4912
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4908
4913
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4909
4914
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5432,11 +5437,12 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
5432
5437
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
5433
5438
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
5434
5439
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
5440
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
5435
5441
|
* @param {*} [options] Override http request option.
|
|
5436
5442
|
* @throws {RequiredError}
|
|
5437
5443
|
*/
|
|
5438
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
5439
|
-
return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(axios, basePath));
|
|
5444
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options) {
|
|
5445
|
+
return localVarFp.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options).then((request) => request(axios, basePath));
|
|
5440
5446
|
},
|
|
5441
5447
|
/**
|
|
5442
5448
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
@@ -5939,12 +5945,13 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
5939
5945
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
5940
5946
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
5941
5947
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
5948
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
5942
5949
|
* @param {*} [options] Override http request option.
|
|
5943
5950
|
* @throws {RequiredError}
|
|
5944
5951
|
* @memberof AnalyticsApi
|
|
5945
5952
|
*/
|
|
5946
|
-
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options) {
|
|
5947
|
-
return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(this.axios, this.basePath));
|
|
5953
|
+
adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options) {
|
|
5954
|
+
return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, noClicksOnly, options).then((request) => request(this.axios, this.basePath));
|
|
5948
5955
|
}
|
|
5949
5956
|
/**
|
|
5950
5957
|
* Retrieve analytics for top performing search results with optional enrichment. By default returns widget display fields for UI presentation. Use include_documents=true for full document data (heavier response). Supports lightweight widget-only mode for dashboards with analytics tags filtering and comparison mode support.
|
|
@@ -35401,6 +35408,109 @@ export class TaxManagementApi extends BaseAPI {
|
|
|
35401
35408
|
*/
|
|
35402
35409
|
export const TeamApiAxiosParamCreator = function (configuration) {
|
|
35403
35410
|
return {
|
|
35411
|
+
/**
|
|
35412
|
+
* Retrieves permission configuration for an invitation
|
|
35413
|
+
* @summary Get invitation permissions
|
|
35414
|
+
* @param {number} invitationId Invitation ID
|
|
35415
|
+
* @param {*} [options] Override http request option.
|
|
35416
|
+
* @throws {RequiredError}
|
|
35417
|
+
*/
|
|
35418
|
+
invitationsInvitationIdPermissionsGet: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
35419
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35420
|
+
assertParamExists('invitationsInvitationIdPermissionsGet', 'invitationId', invitationId);
|
|
35421
|
+
const localVarPath = `/invitations/{invitationId}/permissions`
|
|
35422
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35423
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35424
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35425
|
+
let baseOptions;
|
|
35426
|
+
if (configuration) {
|
|
35427
|
+
baseOptions = configuration.baseOptions;
|
|
35428
|
+
}
|
|
35429
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
35430
|
+
const localVarHeaderParameter = {};
|
|
35431
|
+
const localVarQueryParameter = {};
|
|
35432
|
+
// authentication BearerAuth required
|
|
35433
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
35434
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35435
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35436
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35437
|
+
return {
|
|
35438
|
+
url: toPathString(localVarUrlObj),
|
|
35439
|
+
options: localVarRequestOptions,
|
|
35440
|
+
};
|
|
35441
|
+
}),
|
|
35442
|
+
/**
|
|
35443
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
35444
|
+
* @summary Set invitation permission mode
|
|
35445
|
+
* @param {number} invitationId Invitation ID
|
|
35446
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
35447
|
+
* @param {*} [options] Override http request option.
|
|
35448
|
+
* @throws {RequiredError}
|
|
35449
|
+
*/
|
|
35450
|
+
invitationsInvitationIdPermissionsModePut: (invitationId_1, dataTypesInvitationPermissionModeRequest_1, ...args_1) => __awaiter(this, [invitationId_1, dataTypesInvitationPermissionModeRequest_1, ...args_1], void 0, function* (invitationId, dataTypesInvitationPermissionModeRequest, options = {}) {
|
|
35451
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35452
|
+
assertParamExists('invitationsInvitationIdPermissionsModePut', 'invitationId', invitationId);
|
|
35453
|
+
// verify required parameter 'dataTypesInvitationPermissionModeRequest' is not null or undefined
|
|
35454
|
+
assertParamExists('invitationsInvitationIdPermissionsModePut', 'dataTypesInvitationPermissionModeRequest', dataTypesInvitationPermissionModeRequest);
|
|
35455
|
+
const localVarPath = `/invitations/{invitationId}/permissions/mode`
|
|
35456
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35457
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35458
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35459
|
+
let baseOptions;
|
|
35460
|
+
if (configuration) {
|
|
35461
|
+
baseOptions = configuration.baseOptions;
|
|
35462
|
+
}
|
|
35463
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
35464
|
+
const localVarHeaderParameter = {};
|
|
35465
|
+
const localVarQueryParameter = {};
|
|
35466
|
+
// authentication BearerAuth required
|
|
35467
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
35468
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35469
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35470
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35471
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35472
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesInvitationPermissionModeRequest, localVarRequestOptions, configuration);
|
|
35473
|
+
return {
|
|
35474
|
+
url: toPathString(localVarUrlObj),
|
|
35475
|
+
options: localVarRequestOptions,
|
|
35476
|
+
};
|
|
35477
|
+
}),
|
|
35478
|
+
/**
|
|
35479
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
35480
|
+
* @summary Update invitation role permissions
|
|
35481
|
+
* @param {number} invitationId Invitation ID
|
|
35482
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
35483
|
+
* @param {*} [options] Override http request option.
|
|
35484
|
+
* @throws {RequiredError}
|
|
35485
|
+
*/
|
|
35486
|
+
invitationsInvitationIdPermissionsRolePut: (invitationId_1, dataTypesUpdateInvitationRolePermissionsRequest_1, ...args_1) => __awaiter(this, [invitationId_1, dataTypesUpdateInvitationRolePermissionsRequest_1, ...args_1], void 0, function* (invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options = {}) {
|
|
35487
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35488
|
+
assertParamExists('invitationsInvitationIdPermissionsRolePut', 'invitationId', invitationId);
|
|
35489
|
+
// verify required parameter 'dataTypesUpdateInvitationRolePermissionsRequest' is not null or undefined
|
|
35490
|
+
assertParamExists('invitationsInvitationIdPermissionsRolePut', 'dataTypesUpdateInvitationRolePermissionsRequest', dataTypesUpdateInvitationRolePermissionsRequest);
|
|
35491
|
+
const localVarPath = `/invitations/{invitationId}/permissions/role`
|
|
35492
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35495
|
+
let baseOptions;
|
|
35496
|
+
if (configuration) {
|
|
35497
|
+
baseOptions = configuration.baseOptions;
|
|
35498
|
+
}
|
|
35499
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
35500
|
+
const localVarHeaderParameter = {};
|
|
35501
|
+
const localVarQueryParameter = {};
|
|
35502
|
+
// authentication BearerAuth required
|
|
35503
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
35504
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35507
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35508
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateInvitationRolePermissionsRequest, localVarRequestOptions, configuration);
|
|
35509
|
+
return {
|
|
35510
|
+
url: toPathString(localVarUrlObj),
|
|
35511
|
+
options: localVarRequestOptions,
|
|
35512
|
+
};
|
|
35513
|
+
}),
|
|
35404
35514
|
/**
|
|
35405
35515
|
* Cancels a pending invitation
|
|
35406
35516
|
* @summary Cancel invitation
|
|
@@ -35463,6 +35573,69 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35463
35573
|
options: localVarRequestOptions,
|
|
35464
35574
|
};
|
|
35465
35575
|
}),
|
|
35576
|
+
/**
|
|
35577
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
35578
|
+
* @summary Accept invitation and set password (onboarding)
|
|
35579
|
+
* @param {string} token Invitation Token
|
|
35580
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
35581
|
+
* @param {*} [options] Override http request option.
|
|
35582
|
+
* @throws {RequiredError}
|
|
35583
|
+
*/
|
|
35584
|
+
v1InvitationsTokenAcceptWithPasswordPost: (token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1) => __awaiter(this, [token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1], void 0, function* (token, dataTypesAcceptInvitationWithPasswordRequest, options = {}) {
|
|
35585
|
+
// verify required parameter 'token' is not null or undefined
|
|
35586
|
+
assertParamExists('v1InvitationsTokenAcceptWithPasswordPost', 'token', token);
|
|
35587
|
+
// verify required parameter 'dataTypesAcceptInvitationWithPasswordRequest' is not null or undefined
|
|
35588
|
+
assertParamExists('v1InvitationsTokenAcceptWithPasswordPost', 'dataTypesAcceptInvitationWithPasswordRequest', dataTypesAcceptInvitationWithPasswordRequest);
|
|
35589
|
+
const localVarPath = `/v1/invitations/{token}/accept-with-password`
|
|
35590
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
35591
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35592
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35593
|
+
let baseOptions;
|
|
35594
|
+
if (configuration) {
|
|
35595
|
+
baseOptions = configuration.baseOptions;
|
|
35596
|
+
}
|
|
35597
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35598
|
+
const localVarHeaderParameter = {};
|
|
35599
|
+
const localVarQueryParameter = {};
|
|
35600
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35601
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35602
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35603
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35604
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAcceptInvitationWithPasswordRequest, localVarRequestOptions, configuration);
|
|
35605
|
+
return {
|
|
35606
|
+
url: toPathString(localVarUrlObj),
|
|
35607
|
+
options: localVarRequestOptions,
|
|
35608
|
+
};
|
|
35609
|
+
}),
|
|
35610
|
+
/**
|
|
35611
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
35612
|
+
* @summary Get invitation details by token
|
|
35613
|
+
* @param {string} token Invitation Token
|
|
35614
|
+
* @param {*} [options] Override http request option.
|
|
35615
|
+
* @throws {RequiredError}
|
|
35616
|
+
*/
|
|
35617
|
+
v1InvitationsTokenGet: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
35618
|
+
// verify required parameter 'token' is not null or undefined
|
|
35619
|
+
assertParamExists('v1InvitationsTokenGet', 'token', token);
|
|
35620
|
+
const localVarPath = `/v1/invitations/{token}`
|
|
35621
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
35622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35624
|
+
let baseOptions;
|
|
35625
|
+
if (configuration) {
|
|
35626
|
+
baseOptions = configuration.baseOptions;
|
|
35627
|
+
}
|
|
35628
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
35629
|
+
const localVarHeaderParameter = {};
|
|
35630
|
+
const localVarQueryParameter = {};
|
|
35631
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35632
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35633
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35634
|
+
return {
|
|
35635
|
+
url: toPathString(localVarUrlObj),
|
|
35636
|
+
options: localVarRequestOptions,
|
|
35637
|
+
};
|
|
35638
|
+
}),
|
|
35466
35639
|
/**
|
|
35467
35640
|
* Retrieves all users with access to a store
|
|
35468
35641
|
* @summary Get store access list
|
|
@@ -35798,6 +35971,56 @@ export const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35798
35971
|
export const TeamApiFp = function (configuration) {
|
|
35799
35972
|
const localVarAxiosParamCreator = TeamApiAxiosParamCreator(configuration);
|
|
35800
35973
|
return {
|
|
35974
|
+
/**
|
|
35975
|
+
* Retrieves permission configuration for an invitation
|
|
35976
|
+
* @summary Get invitation permissions
|
|
35977
|
+
* @param {number} invitationId Invitation ID
|
|
35978
|
+
* @param {*} [options] Override http request option.
|
|
35979
|
+
* @throws {RequiredError}
|
|
35980
|
+
*/
|
|
35981
|
+
invitationsInvitationIdPermissionsGet(invitationId, options) {
|
|
35982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35983
|
+
var _a, _b, _c;
|
|
35984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.invitationsInvitationIdPermissionsGet(invitationId, options);
|
|
35985
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
35986
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.invitationsInvitationIdPermissionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
35987
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35988
|
+
});
|
|
35989
|
+
},
|
|
35990
|
+
/**
|
|
35991
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
35992
|
+
* @summary Set invitation permission mode
|
|
35993
|
+
* @param {number} invitationId Invitation ID
|
|
35994
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
35995
|
+
* @param {*} [options] Override http request option.
|
|
35996
|
+
* @throws {RequiredError}
|
|
35997
|
+
*/
|
|
35998
|
+
invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options) {
|
|
35999
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36000
|
+
var _a, _b, _c;
|
|
36001
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options);
|
|
36002
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36003
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.invitationsInvitationIdPermissionsModePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36004
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36005
|
+
});
|
|
36006
|
+
},
|
|
36007
|
+
/**
|
|
36008
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
36009
|
+
* @summary Update invitation role permissions
|
|
36010
|
+
* @param {number} invitationId Invitation ID
|
|
36011
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
36012
|
+
* @param {*} [options] Override http request option.
|
|
36013
|
+
* @throws {RequiredError}
|
|
36014
|
+
*/
|
|
36015
|
+
invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36016
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36017
|
+
var _a, _b, _c;
|
|
36018
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options);
|
|
36019
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36020
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.invitationsInvitationIdPermissionsRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36022
|
+
});
|
|
36023
|
+
},
|
|
35801
36024
|
/**
|
|
35802
36025
|
* Cancels a pending invitation
|
|
35803
36026
|
* @summary Cancel invitation
|
|
@@ -35830,6 +36053,39 @@ export const TeamApiFp = function (configuration) {
|
|
|
35830
36053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35831
36054
|
});
|
|
35832
36055
|
},
|
|
36056
|
+
/**
|
|
36057
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
36058
|
+
* @summary Accept invitation and set password (onboarding)
|
|
36059
|
+
* @param {string} token Invitation Token
|
|
36060
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
36061
|
+
* @param {*} [options] Override http request option.
|
|
36062
|
+
* @throws {RequiredError}
|
|
36063
|
+
*/
|
|
36064
|
+
v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
|
|
36065
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36066
|
+
var _a, _b, _c;
|
|
36067
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options);
|
|
36068
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36069
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsTokenAcceptWithPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36070
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36071
|
+
});
|
|
36072
|
+
},
|
|
36073
|
+
/**
|
|
36074
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
36075
|
+
* @summary Get invitation details by token
|
|
36076
|
+
* @param {string} token Invitation Token
|
|
36077
|
+
* @param {*} [options] Override http request option.
|
|
36078
|
+
* @throws {RequiredError}
|
|
36079
|
+
*/
|
|
36080
|
+
v1InvitationsTokenGet(token, options) {
|
|
36081
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36082
|
+
var _a, _b, _c;
|
|
36083
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenGet(token, options);
|
|
36084
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36085
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.v1InvitationsTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36086
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36087
|
+
});
|
|
36088
|
+
},
|
|
35833
36089
|
/**
|
|
35834
36090
|
* Retrieves all users with access to a store
|
|
35835
36091
|
* @summary Get store access list
|
|
@@ -36002,6 +36258,38 @@ export const TeamApiFp = function (configuration) {
|
|
|
36002
36258
|
export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
36003
36259
|
const localVarFp = TeamApiFp(configuration);
|
|
36004
36260
|
return {
|
|
36261
|
+
/**
|
|
36262
|
+
* Retrieves permission configuration for an invitation
|
|
36263
|
+
* @summary Get invitation permissions
|
|
36264
|
+
* @param {number} invitationId Invitation ID
|
|
36265
|
+
* @param {*} [options] Override http request option.
|
|
36266
|
+
* @throws {RequiredError}
|
|
36267
|
+
*/
|
|
36268
|
+
invitationsInvitationIdPermissionsGet(invitationId, options) {
|
|
36269
|
+
return localVarFp.invitationsInvitationIdPermissionsGet(invitationId, options).then((request) => request(axios, basePath));
|
|
36270
|
+
},
|
|
36271
|
+
/**
|
|
36272
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
36273
|
+
* @summary Set invitation permission mode
|
|
36274
|
+
* @param {number} invitationId Invitation ID
|
|
36275
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
36276
|
+
* @param {*} [options] Override http request option.
|
|
36277
|
+
* @throws {RequiredError}
|
|
36278
|
+
*/
|
|
36279
|
+
invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options) {
|
|
36280
|
+
return localVarFp.invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options).then((request) => request(axios, basePath));
|
|
36281
|
+
},
|
|
36282
|
+
/**
|
|
36283
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
36284
|
+
* @summary Update invitation role permissions
|
|
36285
|
+
* @param {number} invitationId Invitation ID
|
|
36286
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
36287
|
+
* @param {*} [options] Override http request option.
|
|
36288
|
+
* @throws {RequiredError}
|
|
36289
|
+
*/
|
|
36290
|
+
invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36291
|
+
return localVarFp.invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
36292
|
+
},
|
|
36005
36293
|
/**
|
|
36006
36294
|
* Cancels a pending invitation
|
|
36007
36295
|
* @summary Cancel invitation
|
|
@@ -36022,6 +36310,27 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36022
36310
|
v1InvitationsTokenAcceptPost(token, options) {
|
|
36023
36311
|
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
36024
36312
|
},
|
|
36313
|
+
/**
|
|
36314
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
36315
|
+
* @summary Accept invitation and set password (onboarding)
|
|
36316
|
+
* @param {string} token Invitation Token
|
|
36317
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
36318
|
+
* @param {*} [options] Override http request option.
|
|
36319
|
+
* @throws {RequiredError}
|
|
36320
|
+
*/
|
|
36321
|
+
v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
|
|
36322
|
+
return localVarFp.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(axios, basePath));
|
|
36323
|
+
},
|
|
36324
|
+
/**
|
|
36325
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
36326
|
+
* @summary Get invitation details by token
|
|
36327
|
+
* @param {string} token Invitation Token
|
|
36328
|
+
* @param {*} [options] Override http request option.
|
|
36329
|
+
* @throws {RequiredError}
|
|
36330
|
+
*/
|
|
36331
|
+
v1InvitationsTokenGet(token, options) {
|
|
36332
|
+
return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
|
|
36333
|
+
},
|
|
36025
36334
|
/**
|
|
36026
36335
|
* Retrieves all users with access to a store
|
|
36027
36336
|
* @summary Get store access list
|
|
@@ -36134,6 +36443,41 @@ export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36134
36443
|
* @extends {BaseAPI}
|
|
36135
36444
|
*/
|
|
36136
36445
|
export class TeamApi extends BaseAPI {
|
|
36446
|
+
/**
|
|
36447
|
+
* Retrieves permission configuration for an invitation
|
|
36448
|
+
* @summary Get invitation permissions
|
|
36449
|
+
* @param {number} invitationId Invitation ID
|
|
36450
|
+
* @param {*} [options] Override http request option.
|
|
36451
|
+
* @throws {RequiredError}
|
|
36452
|
+
* @memberof TeamApi
|
|
36453
|
+
*/
|
|
36454
|
+
invitationsInvitationIdPermissionsGet(invitationId, options) {
|
|
36455
|
+
return TeamApiFp(this.configuration).invitationsInvitationIdPermissionsGet(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
36456
|
+
}
|
|
36457
|
+
/**
|
|
36458
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
36459
|
+
* @summary Set invitation permission mode
|
|
36460
|
+
* @param {number} invitationId Invitation ID
|
|
36461
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
36462
|
+
* @param {*} [options] Override http request option.
|
|
36463
|
+
* @throws {RequiredError}
|
|
36464
|
+
* @memberof TeamApi
|
|
36465
|
+
*/
|
|
36466
|
+
invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options) {
|
|
36467
|
+
return TeamApiFp(this.configuration).invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36468
|
+
}
|
|
36469
|
+
/**
|
|
36470
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
36471
|
+
* @summary Update invitation role permissions
|
|
36472
|
+
* @param {number} invitationId Invitation ID
|
|
36473
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
36474
|
+
* @param {*} [options] Override http request option.
|
|
36475
|
+
* @throws {RequiredError}
|
|
36476
|
+
* @memberof TeamApi
|
|
36477
|
+
*/
|
|
36478
|
+
invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36479
|
+
return TeamApiFp(this.configuration).invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36480
|
+
}
|
|
36137
36481
|
/**
|
|
36138
36482
|
* Cancels a pending invitation
|
|
36139
36483
|
* @summary Cancel invitation
|
|
@@ -36156,6 +36500,29 @@ export class TeamApi extends BaseAPI {
|
|
|
36156
36500
|
v1InvitationsTokenAcceptPost(token, options) {
|
|
36157
36501
|
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
36158
36502
|
}
|
|
36503
|
+
/**
|
|
36504
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
36505
|
+
* @summary Accept invitation and set password (onboarding)
|
|
36506
|
+
* @param {string} token Invitation Token
|
|
36507
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
36508
|
+
* @param {*} [options] Override http request option.
|
|
36509
|
+
* @throws {RequiredError}
|
|
36510
|
+
* @memberof TeamApi
|
|
36511
|
+
*/
|
|
36512
|
+
v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
|
|
36513
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36514
|
+
}
|
|
36515
|
+
/**
|
|
36516
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
36517
|
+
* @summary Get invitation details by token
|
|
36518
|
+
* @param {string} token Invitation Token
|
|
36519
|
+
* @param {*} [options] Override http request option.
|
|
36520
|
+
* @throws {RequiredError}
|
|
36521
|
+
* @memberof TeamApi
|
|
36522
|
+
*/
|
|
36523
|
+
v1InvitationsTokenGet(token, options) {
|
|
36524
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
36525
|
+
}
|
|
36159
36526
|
/**
|
|
36160
36527
|
* Retrieves all users with access to a store
|
|
36161
36528
|
* @summary Get store access list
|
|
@@ -36312,8 +36679,8 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
36312
36679
|
};
|
|
36313
36680
|
}),
|
|
36314
36681
|
/**
|
|
36315
|
-
* Fetches list of all users
|
|
36316
|
-
* @summary Fetches list of all users
|
|
36682
|
+
* Fetches list of all users with their role permissions included
|
|
36683
|
+
* @summary Fetches list of all users with role permissions
|
|
36317
36684
|
* @param {*} [options] Override http request option.
|
|
36318
36685
|
* @throws {RequiredError}
|
|
36319
36686
|
*/
|
|
@@ -36696,8 +37063,8 @@ export const UserApiFp = function (configuration) {
|
|
|
36696
37063
|
});
|
|
36697
37064
|
},
|
|
36698
37065
|
/**
|
|
36699
|
-
* Fetches list of all users
|
|
36700
|
-
* @summary Fetches list of all users
|
|
37066
|
+
* Fetches list of all users with their role permissions included
|
|
37067
|
+
* @summary Fetches list of all users with role permissions
|
|
36701
37068
|
* @param {*} [options] Override http request option.
|
|
36702
37069
|
* @throws {RequiredError}
|
|
36703
37070
|
*/
|
|
@@ -36895,8 +37262,8 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
36895
37262
|
return localVarFp.adminUsersActivateUserIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
36896
37263
|
},
|
|
36897
37264
|
/**
|
|
36898
|
-
* Fetches list of all users
|
|
36899
|
-
* @summary Fetches list of all users
|
|
37265
|
+
* Fetches list of all users with their role permissions included
|
|
37266
|
+
* @summary Fetches list of all users with role permissions
|
|
36900
37267
|
* @param {*} [options] Override http request option.
|
|
36901
37268
|
* @throws {RequiredError}
|
|
36902
37269
|
*/
|
|
@@ -37029,8 +37396,8 @@ export class UserApi extends BaseAPI {
|
|
|
37029
37396
|
return UserApiFp(this.configuration).adminUsersActivateUserIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
37030
37397
|
}
|
|
37031
37398
|
/**
|
|
37032
|
-
* Fetches list of all users
|
|
37033
|
-
* @summary Fetches list of all users
|
|
37399
|
+
* Fetches list of all users with their role permissions included
|
|
37400
|
+
* @summary Fetches list of all users with role permissions
|
|
37034
37401
|
* @param {*} [options] Override http request option.
|
|
37035
37402
|
* @throws {RequiredError}
|
|
37036
37403
|
* @memberof UserApi
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|