@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/api.js
CHANGED
|
@@ -3950,10 +3950,11 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
3950
3950
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3951
3951
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3952
3952
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3953
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
3953
3954
|
* @param {*} [options] Override http request option.
|
|
3954
3955
|
* @throws {RequiredError}
|
|
3955
3956
|
*/
|
|
3956
|
-
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 = {}) {
|
|
3957
|
+
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 = {}) {
|
|
3957
3958
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
3958
3959
|
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
|
|
3959
3960
|
// verify required parameter 'query' is not null or undefined
|
|
@@ -4050,6 +4051,9 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
4050
4051
|
if (includeWidget !== undefined) {
|
|
4051
4052
|
localVarQueryParameter['include_widget'] = includeWidget;
|
|
4052
4053
|
}
|
|
4054
|
+
if (noClicksOnly !== undefined) {
|
|
4055
|
+
localVarQueryParameter['no_clicks_only'] = noClicksOnly;
|
|
4056
|
+
}
|
|
4053
4057
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4054
4058
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4055
4059
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4932,13 +4936,14 @@ const AnalyticsApiFp = function (configuration) {
|
|
|
4932
4936
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
4933
4937
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
4934
4938
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
4939
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
4935
4940
|
* @param {*} [options] Override http request option.
|
|
4936
4941
|
* @throws {RequiredError}
|
|
4937
4942
|
*/
|
|
4938
|
-
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) {
|
|
4943
|
+
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) {
|
|
4939
4944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4940
4945
|
var _a, _b, _c;
|
|
4941
|
-
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);
|
|
4946
|
+
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);
|
|
4942
4947
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4943
4948
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4944
4949
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5468,11 +5473,12 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
5468
5473
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
5469
5474
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
5470
5475
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
5476
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
5471
5477
|
* @param {*} [options] Override http request option.
|
|
5472
5478
|
* @throws {RequiredError}
|
|
5473
5479
|
*/
|
|
5474
|
-
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) {
|
|
5475
|
-
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));
|
|
5480
|
+
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) {
|
|
5481
|
+
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));
|
|
5476
5482
|
},
|
|
5477
5483
|
/**
|
|
5478
5484
|
* 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.
|
|
@@ -5976,12 +5982,13 @@ class AnalyticsApi extends base_1.BaseAPI {
|
|
|
5976
5982
|
* @param {number} [geoPageSize] Number of geo locations per page
|
|
5977
5983
|
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
5978
5984
|
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
5985
|
+
* @param {boolean} [noClicksOnly] Filter to show insights only for searches that had no clicks (useful when clicking on queries from \'searches without clicks\' list)
|
|
5979
5986
|
* @param {*} [options] Override http request option.
|
|
5980
5987
|
* @throws {RequiredError}
|
|
5981
5988
|
* @memberof AnalyticsApi
|
|
5982
5989
|
*/
|
|
5983
|
-
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) {
|
|
5984
|
-
return (0, exports.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));
|
|
5990
|
+
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) {
|
|
5991
|
+
return (0, exports.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));
|
|
5985
5992
|
}
|
|
5986
5993
|
/**
|
|
5987
5994
|
* 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.
|
|
@@ -35647,6 +35654,109 @@ exports.TaxManagementApi = TaxManagementApi;
|
|
|
35647
35654
|
*/
|
|
35648
35655
|
const TeamApiAxiosParamCreator = function (configuration) {
|
|
35649
35656
|
return {
|
|
35657
|
+
/**
|
|
35658
|
+
* Retrieves permission configuration for an invitation
|
|
35659
|
+
* @summary Get invitation permissions
|
|
35660
|
+
* @param {number} invitationId Invitation ID
|
|
35661
|
+
* @param {*} [options] Override http request option.
|
|
35662
|
+
* @throws {RequiredError}
|
|
35663
|
+
*/
|
|
35664
|
+
invitationsInvitationIdPermissionsGet: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
35665
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35666
|
+
(0, common_1.assertParamExists)('invitationsInvitationIdPermissionsGet', 'invitationId', invitationId);
|
|
35667
|
+
const localVarPath = `/invitations/{invitationId}/permissions`
|
|
35668
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35669
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35670
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35671
|
+
let baseOptions;
|
|
35672
|
+
if (configuration) {
|
|
35673
|
+
baseOptions = configuration.baseOptions;
|
|
35674
|
+
}
|
|
35675
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
35676
|
+
const localVarHeaderParameter = {};
|
|
35677
|
+
const localVarQueryParameter = {};
|
|
35678
|
+
// authentication BearerAuth required
|
|
35679
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
35680
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35681
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35682
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35683
|
+
return {
|
|
35684
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35685
|
+
options: localVarRequestOptions,
|
|
35686
|
+
};
|
|
35687
|
+
}),
|
|
35688
|
+
/**
|
|
35689
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
35690
|
+
* @summary Set invitation permission mode
|
|
35691
|
+
* @param {number} invitationId Invitation ID
|
|
35692
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
35693
|
+
* @param {*} [options] Override http request option.
|
|
35694
|
+
* @throws {RequiredError}
|
|
35695
|
+
*/
|
|
35696
|
+
invitationsInvitationIdPermissionsModePut: (invitationId_1, dataTypesInvitationPermissionModeRequest_1, ...args_1) => __awaiter(this, [invitationId_1, dataTypesInvitationPermissionModeRequest_1, ...args_1], void 0, function* (invitationId, dataTypesInvitationPermissionModeRequest, options = {}) {
|
|
35697
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35698
|
+
(0, common_1.assertParamExists)('invitationsInvitationIdPermissionsModePut', 'invitationId', invitationId);
|
|
35699
|
+
// verify required parameter 'dataTypesInvitationPermissionModeRequest' is not null or undefined
|
|
35700
|
+
(0, common_1.assertParamExists)('invitationsInvitationIdPermissionsModePut', 'dataTypesInvitationPermissionModeRequest', dataTypesInvitationPermissionModeRequest);
|
|
35701
|
+
const localVarPath = `/invitations/{invitationId}/permissions/mode`
|
|
35702
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35703
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35704
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35705
|
+
let baseOptions;
|
|
35706
|
+
if (configuration) {
|
|
35707
|
+
baseOptions = configuration.baseOptions;
|
|
35708
|
+
}
|
|
35709
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
35710
|
+
const localVarHeaderParameter = {};
|
|
35711
|
+
const localVarQueryParameter = {};
|
|
35712
|
+
// authentication BearerAuth required
|
|
35713
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
35714
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35715
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35716
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35717
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35718
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesInvitationPermissionModeRequest, localVarRequestOptions, configuration);
|
|
35719
|
+
return {
|
|
35720
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35721
|
+
options: localVarRequestOptions,
|
|
35722
|
+
};
|
|
35723
|
+
}),
|
|
35724
|
+
/**
|
|
35725
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
35726
|
+
* @summary Update invitation role permissions
|
|
35727
|
+
* @param {number} invitationId Invitation ID
|
|
35728
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
35729
|
+
* @param {*} [options] Override http request option.
|
|
35730
|
+
* @throws {RequiredError}
|
|
35731
|
+
*/
|
|
35732
|
+
invitationsInvitationIdPermissionsRolePut: (invitationId_1, dataTypesUpdateInvitationRolePermissionsRequest_1, ...args_1) => __awaiter(this, [invitationId_1, dataTypesUpdateInvitationRolePermissionsRequest_1, ...args_1], void 0, function* (invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options = {}) {
|
|
35733
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
35734
|
+
(0, common_1.assertParamExists)('invitationsInvitationIdPermissionsRolePut', 'invitationId', invitationId);
|
|
35735
|
+
// verify required parameter 'dataTypesUpdateInvitationRolePermissionsRequest' is not null or undefined
|
|
35736
|
+
(0, common_1.assertParamExists)('invitationsInvitationIdPermissionsRolePut', 'dataTypesUpdateInvitationRolePermissionsRequest', dataTypesUpdateInvitationRolePermissionsRequest);
|
|
35737
|
+
const localVarPath = `/invitations/{invitationId}/permissions/role`
|
|
35738
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
35739
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35740
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35741
|
+
let baseOptions;
|
|
35742
|
+
if (configuration) {
|
|
35743
|
+
baseOptions = configuration.baseOptions;
|
|
35744
|
+
}
|
|
35745
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
35746
|
+
const localVarHeaderParameter = {};
|
|
35747
|
+
const localVarQueryParameter = {};
|
|
35748
|
+
// authentication BearerAuth required
|
|
35749
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
35750
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35751
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35753
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35754
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateInvitationRolePermissionsRequest, localVarRequestOptions, configuration);
|
|
35755
|
+
return {
|
|
35756
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35757
|
+
options: localVarRequestOptions,
|
|
35758
|
+
};
|
|
35759
|
+
}),
|
|
35650
35760
|
/**
|
|
35651
35761
|
* Cancels a pending invitation
|
|
35652
35762
|
* @summary Cancel invitation
|
|
@@ -35709,6 +35819,69 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
35709
35819
|
options: localVarRequestOptions,
|
|
35710
35820
|
};
|
|
35711
35821
|
}),
|
|
35822
|
+
/**
|
|
35823
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
35824
|
+
* @summary Accept invitation and set password (onboarding)
|
|
35825
|
+
* @param {string} token Invitation Token
|
|
35826
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
35827
|
+
* @param {*} [options] Override http request option.
|
|
35828
|
+
* @throws {RequiredError}
|
|
35829
|
+
*/
|
|
35830
|
+
v1InvitationsTokenAcceptWithPasswordPost: (token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1) => __awaiter(this, [token_1, dataTypesAcceptInvitationWithPasswordRequest_1, ...args_1], void 0, function* (token, dataTypesAcceptInvitationWithPasswordRequest, options = {}) {
|
|
35831
|
+
// verify required parameter 'token' is not null or undefined
|
|
35832
|
+
(0, common_1.assertParamExists)('v1InvitationsTokenAcceptWithPasswordPost', 'token', token);
|
|
35833
|
+
// verify required parameter 'dataTypesAcceptInvitationWithPasswordRequest' is not null or undefined
|
|
35834
|
+
(0, common_1.assertParamExists)('v1InvitationsTokenAcceptWithPasswordPost', 'dataTypesAcceptInvitationWithPasswordRequest', dataTypesAcceptInvitationWithPasswordRequest);
|
|
35835
|
+
const localVarPath = `/v1/invitations/{token}/accept-with-password`
|
|
35836
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
35837
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35838
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35839
|
+
let baseOptions;
|
|
35840
|
+
if (configuration) {
|
|
35841
|
+
baseOptions = configuration.baseOptions;
|
|
35842
|
+
}
|
|
35843
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
35844
|
+
const localVarHeaderParameter = {};
|
|
35845
|
+
const localVarQueryParameter = {};
|
|
35846
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35847
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35849
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35850
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesAcceptInvitationWithPasswordRequest, localVarRequestOptions, configuration);
|
|
35851
|
+
return {
|
|
35852
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35853
|
+
options: localVarRequestOptions,
|
|
35854
|
+
};
|
|
35855
|
+
}),
|
|
35856
|
+
/**
|
|
35857
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
35858
|
+
* @summary Get invitation details by token
|
|
35859
|
+
* @param {string} token Invitation Token
|
|
35860
|
+
* @param {*} [options] Override http request option.
|
|
35861
|
+
* @throws {RequiredError}
|
|
35862
|
+
*/
|
|
35863
|
+
v1InvitationsTokenGet: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
35864
|
+
// verify required parameter 'token' is not null or undefined
|
|
35865
|
+
(0, common_1.assertParamExists)('v1InvitationsTokenGet', 'token', token);
|
|
35866
|
+
const localVarPath = `/v1/invitations/{token}`
|
|
35867
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
35868
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35869
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35870
|
+
let baseOptions;
|
|
35871
|
+
if (configuration) {
|
|
35872
|
+
baseOptions = configuration.baseOptions;
|
|
35873
|
+
}
|
|
35874
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
35875
|
+
const localVarHeaderParameter = {};
|
|
35876
|
+
const localVarQueryParameter = {};
|
|
35877
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
35878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35879
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35880
|
+
return {
|
|
35881
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
35882
|
+
options: localVarRequestOptions,
|
|
35883
|
+
};
|
|
35884
|
+
}),
|
|
35712
35885
|
/**
|
|
35713
35886
|
* Retrieves all users with access to a store
|
|
35714
35887
|
* @summary Get store access list
|
|
@@ -36045,6 +36218,56 @@ exports.TeamApiAxiosParamCreator = TeamApiAxiosParamCreator;
|
|
|
36045
36218
|
const TeamApiFp = function (configuration) {
|
|
36046
36219
|
const localVarAxiosParamCreator = (0, exports.TeamApiAxiosParamCreator)(configuration);
|
|
36047
36220
|
return {
|
|
36221
|
+
/**
|
|
36222
|
+
* Retrieves permission configuration for an invitation
|
|
36223
|
+
* @summary Get invitation permissions
|
|
36224
|
+
* @param {number} invitationId Invitation ID
|
|
36225
|
+
* @param {*} [options] Override http request option.
|
|
36226
|
+
* @throws {RequiredError}
|
|
36227
|
+
*/
|
|
36228
|
+
invitationsInvitationIdPermissionsGet(invitationId, options) {
|
|
36229
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36230
|
+
var _a, _b, _c;
|
|
36231
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.invitationsInvitationIdPermissionsGet(invitationId, options);
|
|
36232
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36233
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.invitationsInvitationIdPermissionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36234
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36235
|
+
});
|
|
36236
|
+
},
|
|
36237
|
+
/**
|
|
36238
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
36239
|
+
* @summary Set invitation permission mode
|
|
36240
|
+
* @param {number} invitationId Invitation ID
|
|
36241
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
36242
|
+
* @param {*} [options] Override http request option.
|
|
36243
|
+
* @throws {RequiredError}
|
|
36244
|
+
*/
|
|
36245
|
+
invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options) {
|
|
36246
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36247
|
+
var _a, _b, _c;
|
|
36248
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options);
|
|
36249
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36250
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.invitationsInvitationIdPermissionsModePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36251
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36252
|
+
});
|
|
36253
|
+
},
|
|
36254
|
+
/**
|
|
36255
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
36256
|
+
* @summary Update invitation role permissions
|
|
36257
|
+
* @param {number} invitationId Invitation ID
|
|
36258
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
36259
|
+
* @param {*} [options] Override http request option.
|
|
36260
|
+
* @throws {RequiredError}
|
|
36261
|
+
*/
|
|
36262
|
+
invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36264
|
+
var _a, _b, _c;
|
|
36265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options);
|
|
36266
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36267
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.invitationsInvitationIdPermissionsRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36268
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36269
|
+
});
|
|
36270
|
+
},
|
|
36048
36271
|
/**
|
|
36049
36272
|
* Cancels a pending invitation
|
|
36050
36273
|
* @summary Cancel invitation
|
|
@@ -36077,6 +36300,39 @@ const TeamApiFp = function (configuration) {
|
|
|
36077
36300
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36078
36301
|
});
|
|
36079
36302
|
},
|
|
36303
|
+
/**
|
|
36304
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
36305
|
+
* @summary Accept invitation and set password (onboarding)
|
|
36306
|
+
* @param {string} token Invitation Token
|
|
36307
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
36308
|
+
* @param {*} [options] Override http request option.
|
|
36309
|
+
* @throws {RequiredError}
|
|
36310
|
+
*/
|
|
36311
|
+
v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
|
|
36312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36313
|
+
var _a, _b, _c;
|
|
36314
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options);
|
|
36315
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36316
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsTokenAcceptWithPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36317
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36318
|
+
});
|
|
36319
|
+
},
|
|
36320
|
+
/**
|
|
36321
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
36322
|
+
* @summary Get invitation details by token
|
|
36323
|
+
* @param {string} token Invitation Token
|
|
36324
|
+
* @param {*} [options] Override http request option.
|
|
36325
|
+
* @throws {RequiredError}
|
|
36326
|
+
*/
|
|
36327
|
+
v1InvitationsTokenGet(token, options) {
|
|
36328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36329
|
+
var _a, _b, _c;
|
|
36330
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1InvitationsTokenGet(token, options);
|
|
36331
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36332
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.v1InvitationsTokenGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36333
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36334
|
+
});
|
|
36335
|
+
},
|
|
36080
36336
|
/**
|
|
36081
36337
|
* Retrieves all users with access to a store
|
|
36082
36338
|
* @summary Get store access list
|
|
@@ -36250,6 +36506,38 @@ exports.TeamApiFp = TeamApiFp;
|
|
|
36250
36506
|
const TeamApiFactory = function (configuration, basePath, axios) {
|
|
36251
36507
|
const localVarFp = (0, exports.TeamApiFp)(configuration);
|
|
36252
36508
|
return {
|
|
36509
|
+
/**
|
|
36510
|
+
* Retrieves permission configuration for an invitation
|
|
36511
|
+
* @summary Get invitation permissions
|
|
36512
|
+
* @param {number} invitationId Invitation ID
|
|
36513
|
+
* @param {*} [options] Override http request option.
|
|
36514
|
+
* @throws {RequiredError}
|
|
36515
|
+
*/
|
|
36516
|
+
invitationsInvitationIdPermissionsGet(invitationId, options) {
|
|
36517
|
+
return localVarFp.invitationsInvitationIdPermissionsGet(invitationId, options).then((request) => request(axios, basePath));
|
|
36518
|
+
},
|
|
36519
|
+
/**
|
|
36520
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
36521
|
+
* @summary Set invitation permission mode
|
|
36522
|
+
* @param {number} invitationId Invitation ID
|
|
36523
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
36524
|
+
* @param {*} [options] Override http request option.
|
|
36525
|
+
* @throws {RequiredError}
|
|
36526
|
+
*/
|
|
36527
|
+
invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options) {
|
|
36528
|
+
return localVarFp.invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options).then((request) => request(axios, basePath));
|
|
36529
|
+
},
|
|
36530
|
+
/**
|
|
36531
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
36532
|
+
* @summary Update invitation role permissions
|
|
36533
|
+
* @param {number} invitationId Invitation ID
|
|
36534
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
36535
|
+
* @param {*} [options] Override http request option.
|
|
36536
|
+
* @throws {RequiredError}
|
|
36537
|
+
*/
|
|
36538
|
+
invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36539
|
+
return localVarFp.invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
36540
|
+
},
|
|
36253
36541
|
/**
|
|
36254
36542
|
* Cancels a pending invitation
|
|
36255
36543
|
* @summary Cancel invitation
|
|
@@ -36270,6 +36558,27 @@ const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
36270
36558
|
v1InvitationsTokenAcceptPost(token, options) {
|
|
36271
36559
|
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
36272
36560
|
},
|
|
36561
|
+
/**
|
|
36562
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
36563
|
+
* @summary Accept invitation and set password (onboarding)
|
|
36564
|
+
* @param {string} token Invitation Token
|
|
36565
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
36566
|
+
* @param {*} [options] Override http request option.
|
|
36567
|
+
* @throws {RequiredError}
|
|
36568
|
+
*/
|
|
36569
|
+
v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
|
|
36570
|
+
return localVarFp.v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(axios, basePath));
|
|
36571
|
+
},
|
|
36572
|
+
/**
|
|
36573
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
36574
|
+
* @summary Get invitation details by token
|
|
36575
|
+
* @param {string} token Invitation Token
|
|
36576
|
+
* @param {*} [options] Override http request option.
|
|
36577
|
+
* @throws {RequiredError}
|
|
36578
|
+
*/
|
|
36579
|
+
v1InvitationsTokenGet(token, options) {
|
|
36580
|
+
return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
|
|
36581
|
+
},
|
|
36273
36582
|
/**
|
|
36274
36583
|
* Retrieves all users with access to a store
|
|
36275
36584
|
* @summary Get store access list
|
|
@@ -36383,6 +36692,41 @@ exports.TeamApiFactory = TeamApiFactory;
|
|
|
36383
36692
|
* @extends {BaseAPI}
|
|
36384
36693
|
*/
|
|
36385
36694
|
class TeamApi extends base_1.BaseAPI {
|
|
36695
|
+
/**
|
|
36696
|
+
* Retrieves permission configuration for an invitation
|
|
36697
|
+
* @summary Get invitation permissions
|
|
36698
|
+
* @param {number} invitationId Invitation ID
|
|
36699
|
+
* @param {*} [options] Override http request option.
|
|
36700
|
+
* @throws {RequiredError}
|
|
36701
|
+
* @memberof TeamApi
|
|
36702
|
+
*/
|
|
36703
|
+
invitationsInvitationIdPermissionsGet(invitationId, options) {
|
|
36704
|
+
return (0, exports.TeamApiFp)(this.configuration).invitationsInvitationIdPermissionsGet(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
36705
|
+
}
|
|
36706
|
+
/**
|
|
36707
|
+
* Sets whether invitation uses custom permissions or a regular role
|
|
36708
|
+
* @summary Set invitation permission mode
|
|
36709
|
+
* @param {number} invitationId Invitation ID
|
|
36710
|
+
* @param {DataTypesInvitationPermissionModeRequest} dataTypesInvitationPermissionModeRequest Permission mode configuration
|
|
36711
|
+
* @param {*} [options] Override http request option.
|
|
36712
|
+
* @throws {RequiredError}
|
|
36713
|
+
* @memberof TeamApi
|
|
36714
|
+
*/
|
|
36715
|
+
invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options) {
|
|
36716
|
+
return (0, exports.TeamApiFp)(this.configuration).invitationsInvitationIdPermissionsModePut(invitationId, dataTypesInvitationPermissionModeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36717
|
+
}
|
|
36718
|
+
/**
|
|
36719
|
+
* Updates role permissions for an invitation (only applies if useCustomPermissions = true)
|
|
36720
|
+
* @summary Update invitation role permissions
|
|
36721
|
+
* @param {number} invitationId Invitation ID
|
|
36722
|
+
* @param {DataTypesUpdateInvitationRolePermissionsRequest} dataTypesUpdateInvitationRolePermissionsRequest Permission configuration
|
|
36723
|
+
* @param {*} [options] Override http request option.
|
|
36724
|
+
* @throws {RequiredError}
|
|
36725
|
+
* @memberof TeamApi
|
|
36726
|
+
*/
|
|
36727
|
+
invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options) {
|
|
36728
|
+
return (0, exports.TeamApiFp)(this.configuration).invitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36729
|
+
}
|
|
36386
36730
|
/**
|
|
36387
36731
|
* Cancels a pending invitation
|
|
36388
36732
|
* @summary Cancel invitation
|
|
@@ -36405,6 +36749,29 @@ class TeamApi extends base_1.BaseAPI {
|
|
|
36405
36749
|
v1InvitationsTokenAcceptPost(token, options) {
|
|
36406
36750
|
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
36407
36751
|
}
|
|
36752
|
+
/**
|
|
36753
|
+
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
36754
|
+
* @summary Accept invitation and set password (onboarding)
|
|
36755
|
+
* @param {string} token Invitation Token
|
|
36756
|
+
* @param {DataTypesAcceptInvitationWithPasswordRequest} dataTypesAcceptInvitationWithPasswordRequest Password and user details
|
|
36757
|
+
* @param {*} [options] Override http request option.
|
|
36758
|
+
* @throws {RequiredError}
|
|
36759
|
+
* @memberof TeamApi
|
|
36760
|
+
*/
|
|
36761
|
+
v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options) {
|
|
36762
|
+
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenAcceptWithPasswordPost(token, dataTypesAcceptInvitationWithPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36763
|
+
}
|
|
36764
|
+
/**
|
|
36765
|
+
* Retrieves invitation details by token (public endpoint for onboarding)
|
|
36766
|
+
* @summary Get invitation details by token
|
|
36767
|
+
* @param {string} token Invitation Token
|
|
36768
|
+
* @param {*} [options] Override http request option.
|
|
36769
|
+
* @throws {RequiredError}
|
|
36770
|
+
* @memberof TeamApi
|
|
36771
|
+
*/
|
|
36772
|
+
v1InvitationsTokenGet(token, options) {
|
|
36773
|
+
return (0, exports.TeamApiFp)(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
36774
|
+
}
|
|
36408
36775
|
/**
|
|
36409
36776
|
* Retrieves all users with access to a store
|
|
36410
36777
|
* @summary Get store access list
|
|
@@ -36562,8 +36929,8 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
36562
36929
|
};
|
|
36563
36930
|
}),
|
|
36564
36931
|
/**
|
|
36565
|
-
* Fetches list of all users
|
|
36566
|
-
* @summary Fetches list of all users
|
|
36932
|
+
* Fetches list of all users with their role permissions included
|
|
36933
|
+
* @summary Fetches list of all users with role permissions
|
|
36567
36934
|
* @param {*} [options] Override http request option.
|
|
36568
36935
|
* @throws {RequiredError}
|
|
36569
36936
|
*/
|
|
@@ -36947,8 +37314,8 @@ const UserApiFp = function (configuration) {
|
|
|
36947
37314
|
});
|
|
36948
37315
|
},
|
|
36949
37316
|
/**
|
|
36950
|
-
* Fetches list of all users
|
|
36951
|
-
* @summary Fetches list of all users
|
|
37317
|
+
* Fetches list of all users with their role permissions included
|
|
37318
|
+
* @summary Fetches list of all users with role permissions
|
|
36952
37319
|
* @param {*} [options] Override http request option.
|
|
36953
37320
|
* @throws {RequiredError}
|
|
36954
37321
|
*/
|
|
@@ -37147,8 +37514,8 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
37147
37514
|
return localVarFp.adminUsersActivateUserIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
37148
37515
|
},
|
|
37149
37516
|
/**
|
|
37150
|
-
* Fetches list of all users
|
|
37151
|
-
* @summary Fetches list of all users
|
|
37517
|
+
* Fetches list of all users with their role permissions included
|
|
37518
|
+
* @summary Fetches list of all users with role permissions
|
|
37152
37519
|
* @param {*} [options] Override http request option.
|
|
37153
37520
|
* @throws {RequiredError}
|
|
37154
37521
|
*/
|
|
@@ -37282,8 +37649,8 @@ class UserApi extends base_1.BaseAPI {
|
|
|
37282
37649
|
return (0, exports.UserApiFp)(this.configuration).adminUsersActivateUserIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
37283
37650
|
}
|
|
37284
37651
|
/**
|
|
37285
|
-
* Fetches list of all users
|
|
37286
|
-
* @summary Fetches list of all users
|
|
37652
|
+
* Fetches list of all users with their role permissions included
|
|
37653
|
+
* @summary Fetches list of all users with role permissions
|
|
37287
37654
|
* @param {*} [options] Override http request option.
|
|
37288
37655
|
* @throws {RequiredError}
|
|
37289
37656
|
* @memberof UserApi
|