@seekora-ai/admin-api 1.1.33 → 1.1.35
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 +9 -7
- package/api.ts +472 -284
- package/dist/api.d.ts +284 -176
- package/dist/api.js +426 -285
- package/dist/esm/api.d.ts +284 -176
- package/dist/esm/api.js +415 -278
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.35.tgz +0 -0
- package/seekora-ai-admin-api-1.1.33.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = void 0;
|
|
25
|
+
exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = void 0;
|
|
26
|
+
exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = void 0;
|
|
28
|
+
exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.LimitsApi = void 0;
|
|
30
|
+
exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = void 0;
|
|
31
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -1199,6 +1199,113 @@ class AccountSettingsApi extends base_1.BaseAPI {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
1201
|
exports.AccountSettingsApi = AccountSettingsApi;
|
|
1202
|
+
/**
|
|
1203
|
+
* AdminAnalyticsApi - axios parameter creator
|
|
1204
|
+
* @export
|
|
1205
|
+
*/
|
|
1206
|
+
const AdminAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
1207
|
+
return {
|
|
1208
|
+
/**
|
|
1209
|
+
* Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
|
|
1210
|
+
* @summary Enable/Disable analytics test mode (Admin)
|
|
1211
|
+
* @param {object} body Test mode status
|
|
1212
|
+
* @param {*} [options] Override http request option.
|
|
1213
|
+
* @throws {RequiredError}
|
|
1214
|
+
*/
|
|
1215
|
+
v1AdminAnalyticsTestModePost: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
|
|
1216
|
+
// verify required parameter 'body' is not null or undefined
|
|
1217
|
+
(0, common_1.assertParamExists)('v1AdminAnalyticsTestModePost', 'body', body);
|
|
1218
|
+
const localVarPath = `/v1/admin/analytics/test-mode`;
|
|
1219
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1220
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1221
|
+
let baseOptions;
|
|
1222
|
+
if (configuration) {
|
|
1223
|
+
baseOptions = configuration.baseOptions;
|
|
1224
|
+
}
|
|
1225
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1226
|
+
const localVarHeaderParameter = {};
|
|
1227
|
+
const localVarQueryParameter = {};
|
|
1228
|
+
// authentication BearerAuth required
|
|
1229
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1230
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1231
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1232
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1233
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1234
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1235
|
+
return {
|
|
1236
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1237
|
+
options: localVarRequestOptions,
|
|
1238
|
+
};
|
|
1239
|
+
}),
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
exports.AdminAnalyticsApiAxiosParamCreator = AdminAnalyticsApiAxiosParamCreator;
|
|
1243
|
+
/**
|
|
1244
|
+
* AdminAnalyticsApi - functional programming interface
|
|
1245
|
+
* @export
|
|
1246
|
+
*/
|
|
1247
|
+
const AdminAnalyticsApiFp = function (configuration) {
|
|
1248
|
+
const localVarAxiosParamCreator = (0, exports.AdminAnalyticsApiAxiosParamCreator)(configuration);
|
|
1249
|
+
return {
|
|
1250
|
+
/**
|
|
1251
|
+
* Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
|
|
1252
|
+
* @summary Enable/Disable analytics test mode (Admin)
|
|
1253
|
+
* @param {object} body Test mode status
|
|
1254
|
+
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
*/
|
|
1257
|
+
v1AdminAnalyticsTestModePost(body, options) {
|
|
1258
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1259
|
+
var _a, _b, _c;
|
|
1260
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminAnalyticsTestModePost(body, options);
|
|
1261
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1262
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAnalyticsApi.v1AdminAnalyticsTestModePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1263
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1264
|
+
});
|
|
1265
|
+
},
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
exports.AdminAnalyticsApiFp = AdminAnalyticsApiFp;
|
|
1269
|
+
/**
|
|
1270
|
+
* AdminAnalyticsApi - factory interface
|
|
1271
|
+
* @export
|
|
1272
|
+
*/
|
|
1273
|
+
const AdminAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
1274
|
+
const localVarFp = (0, exports.AdminAnalyticsApiFp)(configuration);
|
|
1275
|
+
return {
|
|
1276
|
+
/**
|
|
1277
|
+
* Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
|
|
1278
|
+
* @summary Enable/Disable analytics test mode (Admin)
|
|
1279
|
+
* @param {object} body Test mode status
|
|
1280
|
+
* @param {*} [options] Override http request option.
|
|
1281
|
+
* @throws {RequiredError}
|
|
1282
|
+
*/
|
|
1283
|
+
v1AdminAnalyticsTestModePost(body, options) {
|
|
1284
|
+
return localVarFp.v1AdminAnalyticsTestModePost(body, options).then((request) => request(axios, basePath));
|
|
1285
|
+
},
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
exports.AdminAnalyticsApiFactory = AdminAnalyticsApiFactory;
|
|
1289
|
+
/**
|
|
1290
|
+
* AdminAnalyticsApi - object-oriented interface
|
|
1291
|
+
* @export
|
|
1292
|
+
* @class AdminAnalyticsApi
|
|
1293
|
+
* @extends {BaseAPI}
|
|
1294
|
+
*/
|
|
1295
|
+
class AdminAnalyticsApi extends base_1.BaseAPI {
|
|
1296
|
+
/**
|
|
1297
|
+
* Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
|
|
1298
|
+
* @summary Enable/Disable analytics test mode (Admin)
|
|
1299
|
+
* @param {object} body Test mode status
|
|
1300
|
+
* @param {*} [options] Override http request option.
|
|
1301
|
+
* @throws {RequiredError}
|
|
1302
|
+
* @memberof AdminAnalyticsApi
|
|
1303
|
+
*/
|
|
1304
|
+
v1AdminAnalyticsTestModePost(body, options) {
|
|
1305
|
+
return (0, exports.AdminAnalyticsApiFp)(this.configuration).v1AdminAnalyticsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
exports.AdminAnalyticsApi = AdminAnalyticsApi;
|
|
1202
1309
|
/**
|
|
1203
1310
|
* AdminNotificationTemplatesApi - axios parameter creator
|
|
1204
1311
|
* @export
|
|
@@ -1939,6 +2046,38 @@ const AdminNotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
1939
2046
|
options: localVarRequestOptions,
|
|
1940
2047
|
};
|
|
1941
2048
|
}),
|
|
2049
|
+
/**
|
|
2050
|
+
* Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
|
|
2051
|
+
* @summary Enable/Disable notification test mode (Admin)
|
|
2052
|
+
* @param {object} body Test mode status
|
|
2053
|
+
* @param {*} [options] Override http request option.
|
|
2054
|
+
* @throws {RequiredError}
|
|
2055
|
+
*/
|
|
2056
|
+
v1AdminNotificationsTestModePost: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
|
|
2057
|
+
// verify required parameter 'body' is not null or undefined
|
|
2058
|
+
(0, common_1.assertParamExists)('v1AdminNotificationsTestModePost', 'body', body);
|
|
2059
|
+
const localVarPath = `/v1/admin/notifications/test/mode`;
|
|
2060
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2061
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2062
|
+
let baseOptions;
|
|
2063
|
+
if (configuration) {
|
|
2064
|
+
baseOptions = configuration.baseOptions;
|
|
2065
|
+
}
|
|
2066
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2067
|
+
const localVarHeaderParameter = {};
|
|
2068
|
+
const localVarQueryParameter = {};
|
|
2069
|
+
// authentication BearerAuth required
|
|
2070
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2071
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2072
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2073
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2074
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2075
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
2076
|
+
return {
|
|
2077
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2078
|
+
options: localVarRequestOptions,
|
|
2079
|
+
};
|
|
2080
|
+
}),
|
|
1942
2081
|
/**
|
|
1943
2082
|
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
1944
2083
|
* @summary Send test notification (Admin)
|
|
@@ -2131,6 +2270,22 @@ const AdminNotificationsApiFp = function (configuration) {
|
|
|
2131
2270
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2132
2271
|
});
|
|
2133
2272
|
},
|
|
2273
|
+
/**
|
|
2274
|
+
* Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
|
|
2275
|
+
* @summary Enable/Disable notification test mode (Admin)
|
|
2276
|
+
* @param {object} body Test mode status
|
|
2277
|
+
* @param {*} [options] Override http request option.
|
|
2278
|
+
* @throws {RequiredError}
|
|
2279
|
+
*/
|
|
2280
|
+
v1AdminNotificationsTestModePost(body, options) {
|
|
2281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2282
|
+
var _a, _b, _c;
|
|
2283
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminNotificationsTestModePost(body, options);
|
|
2284
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2285
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminNotificationsApi.v1AdminNotificationsTestModePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2286
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2287
|
+
});
|
|
2288
|
+
},
|
|
2134
2289
|
/**
|
|
2135
2290
|
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
2136
2291
|
* @summary Send test notification (Admin)
|
|
@@ -2248,6 +2403,16 @@ const AdminNotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
2248
2403
|
v1AdminNotificationsStatsGet(startDate, endDate, options) {
|
|
2249
2404
|
return localVarFp.v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
2250
2405
|
},
|
|
2406
|
+
/**
|
|
2407
|
+
* Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
|
|
2408
|
+
* @summary Enable/Disable notification test mode (Admin)
|
|
2409
|
+
* @param {object} body Test mode status
|
|
2410
|
+
* @param {*} [options] Override http request option.
|
|
2411
|
+
* @throws {RequiredError}
|
|
2412
|
+
*/
|
|
2413
|
+
v1AdminNotificationsTestModePost(body, options) {
|
|
2414
|
+
return localVarFp.v1AdminNotificationsTestModePost(body, options).then((request) => request(axios, basePath));
|
|
2415
|
+
},
|
|
2251
2416
|
/**
|
|
2252
2417
|
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
2253
2418
|
* @summary Send test notification (Admin)
|
|
@@ -2368,6 +2533,17 @@ class AdminNotificationsApi extends base_1.BaseAPI {
|
|
|
2368
2533
|
v1AdminNotificationsStatsGet(startDate, endDate, options) {
|
|
2369
2534
|
return (0, exports.AdminNotificationsApiFp)(this.configuration).v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
2370
2535
|
}
|
|
2536
|
+
/**
|
|
2537
|
+
* Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
|
|
2538
|
+
* @summary Enable/Disable notification test mode (Admin)
|
|
2539
|
+
* @param {object} body Test mode status
|
|
2540
|
+
* @param {*} [options] Override http request option.
|
|
2541
|
+
* @throws {RequiredError}
|
|
2542
|
+
* @memberof AdminNotificationsApi
|
|
2543
|
+
*/
|
|
2544
|
+
v1AdminNotificationsTestModePost(body, options) {
|
|
2545
|
+
return (0, exports.AdminNotificationsApiFp)(this.configuration).v1AdminNotificationsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
|
|
2546
|
+
}
|
|
2371
2547
|
/**
|
|
2372
2548
|
* Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
|
|
2373
2549
|
* @summary Send test notification (Admin)
|
|
@@ -34476,17 +34652,17 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34476
34652
|
};
|
|
34477
34653
|
}),
|
|
34478
34654
|
/**
|
|
34479
|
-
* Retrieves all
|
|
34480
|
-
* @summary Get
|
|
34481
|
-
* @param {number}
|
|
34655
|
+
* Retrieves all users with access to a store
|
|
34656
|
+
* @summary Get store access list
|
|
34657
|
+
* @param {number} storeId Store ID
|
|
34482
34658
|
* @param {*} [options] Override http request option.
|
|
34483
34659
|
* @throws {RequiredError}
|
|
34484
34660
|
*/
|
|
34485
|
-
|
|
34486
|
-
// verify required parameter '
|
|
34487
|
-
(0, common_1.assertParamExists)('
|
|
34488
|
-
const localVarPath = `/api/v1/
|
|
34489
|
-
.replace(`{${"
|
|
34661
|
+
apiV1StoresStoreIdAccessGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
|
|
34662
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
34663
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessGet', 'storeId', storeId);
|
|
34664
|
+
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
34665
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
34490
34666
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34491
34667
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34492
34668
|
let baseOptions;
|
|
@@ -34507,159 +34683,151 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34507
34683
|
};
|
|
34508
34684
|
}),
|
|
34509
34685
|
/**
|
|
34510
|
-
*
|
|
34511
|
-
* @summary
|
|
34512
|
-
* @param {number}
|
|
34686
|
+
* Grants a user access to a store
|
|
34687
|
+
* @summary Grant store access
|
|
34688
|
+
* @param {number} storeId Store ID
|
|
34689
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
34513
34690
|
* @param {*} [options] Override http request option.
|
|
34514
34691
|
* @throws {RequiredError}
|
|
34515
34692
|
*/
|
|
34516
|
-
|
|
34517
|
-
// verify required parameter '
|
|
34518
|
-
(0, common_1.assertParamExists)('
|
|
34519
|
-
|
|
34520
|
-
|
|
34693
|
+
apiV1StoresStoreIdAccessPost: (storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1], void 0, function* (storeId, dataTypesGrantStoreAccessRequest, options = {}) {
|
|
34694
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
34695
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'storeId', storeId);
|
|
34696
|
+
// verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
|
|
34697
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
|
|
34698
|
+
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
34699
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
34521
34700
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34522
34701
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34523
34702
|
let baseOptions;
|
|
34524
34703
|
if (configuration) {
|
|
34525
34704
|
baseOptions = configuration.baseOptions;
|
|
34526
34705
|
}
|
|
34527
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
34706
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
34528
34707
|
const localVarHeaderParameter = {};
|
|
34529
34708
|
const localVarQueryParameter = {};
|
|
34530
34709
|
// authentication BearerAuth required
|
|
34531
34710
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
34711
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34532
34712
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34533
34713
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34534
34714
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34715
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesGrantStoreAccessRequest, localVarRequestOptions, configuration);
|
|
34535
34716
|
return {
|
|
34536
34717
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34537
34718
|
options: localVarRequestOptions,
|
|
34538
34719
|
};
|
|
34539
34720
|
}),
|
|
34540
34721
|
/**
|
|
34541
|
-
*
|
|
34542
|
-
* @summary
|
|
34543
|
-
* @param {number}
|
|
34544
|
-
* @param {
|
|
34722
|
+
* Revokes a user\'s access to a store
|
|
34723
|
+
* @summary Revoke store access
|
|
34724
|
+
* @param {number} storeId Store ID
|
|
34725
|
+
* @param {number} userId User ID
|
|
34545
34726
|
* @param {*} [options] Override http request option.
|
|
34546
34727
|
* @throws {RequiredError}
|
|
34547
34728
|
*/
|
|
34548
|
-
|
|
34549
|
-
// verify required parameter '
|
|
34550
|
-
(0, common_1.assertParamExists)('
|
|
34551
|
-
// verify required parameter '
|
|
34552
|
-
(0, common_1.assertParamExists)('
|
|
34553
|
-
const localVarPath = `/api/v1/
|
|
34554
|
-
.replace(`{${"
|
|
34729
|
+
apiV1StoresStoreIdAccessUserIdDelete: (storeId_1, userId_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, ...args_1], void 0, function* (storeId, userId, options = {}) {
|
|
34730
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
34731
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdDelete', 'storeId', storeId);
|
|
34732
|
+
// verify required parameter 'userId' is not null or undefined
|
|
34733
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdDelete', 'userId', userId);
|
|
34734
|
+
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
34735
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
34736
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34555
34737
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34556
34738
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34557
34739
|
let baseOptions;
|
|
34558
34740
|
if (configuration) {
|
|
34559
34741
|
baseOptions = configuration.baseOptions;
|
|
34560
34742
|
}
|
|
34561
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
34743
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
34562
34744
|
const localVarHeaderParameter = {};
|
|
34563
34745
|
const localVarQueryParameter = {};
|
|
34564
34746
|
// authentication BearerAuth required
|
|
34565
34747
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
34566
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34567
34748
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34568
34749
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34569
34750
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34570
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesInviteMemberRequest, localVarRequestOptions, configuration);
|
|
34571
34751
|
return {
|
|
34572
34752
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34573
34753
|
options: localVarRequestOptions,
|
|
34574
34754
|
};
|
|
34575
34755
|
}),
|
|
34576
34756
|
/**
|
|
34577
|
-
*
|
|
34578
|
-
* @summary
|
|
34579
|
-
* @param {number}
|
|
34580
|
-
* @param {number}
|
|
34757
|
+
* Updates a user\'s access level to a store
|
|
34758
|
+
* @summary Update store access level
|
|
34759
|
+
* @param {number} storeId Store ID
|
|
34760
|
+
* @param {number} userId User ID
|
|
34761
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
34581
34762
|
* @param {*} [options] Override http request option.
|
|
34582
34763
|
* @throws {RequiredError}
|
|
34583
34764
|
*/
|
|
34584
|
-
|
|
34585
|
-
// verify required parameter '
|
|
34586
|
-
(0, common_1.assertParamExists)('
|
|
34587
|
-
// verify required parameter '
|
|
34588
|
-
(0, common_1.assertParamExists)('
|
|
34589
|
-
|
|
34590
|
-
|
|
34591
|
-
|
|
34765
|
+
apiV1StoresStoreIdAccessUserIdPut: (storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, dataTypesUpdateStoreAccessRequest_1, ...args_1], void 0, function* (storeId, userId, dataTypesUpdateStoreAccessRequest, options = {}) {
|
|
34766
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
34767
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'storeId', storeId);
|
|
34768
|
+
// verify required parameter 'userId' is not null or undefined
|
|
34769
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'userId', userId);
|
|
34770
|
+
// verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
|
|
34771
|
+
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest);
|
|
34772
|
+
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
34773
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
34774
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34592
34775
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34593
34776
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34594
34777
|
let baseOptions;
|
|
34595
34778
|
if (configuration) {
|
|
34596
34779
|
baseOptions = configuration.baseOptions;
|
|
34597
34780
|
}
|
|
34598
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
34781
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
34599
34782
|
const localVarHeaderParameter = {};
|
|
34600
34783
|
const localVarQueryParameter = {};
|
|
34601
34784
|
// authentication BearerAuth required
|
|
34602
34785
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
34786
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34603
34787
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34604
34788
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34605
34789
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34790
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateStoreAccessRequest, localVarRequestOptions, configuration);
|
|
34606
34791
|
return {
|
|
34607
34792
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34608
34793
|
options: localVarRequestOptions,
|
|
34609
34794
|
};
|
|
34610
34795
|
}),
|
|
34611
34796
|
/**
|
|
34612
|
-
*
|
|
34613
|
-
* @summary
|
|
34614
|
-
* @param {number} orgId Organization ID
|
|
34615
|
-
* @param {number} memberId Member ID
|
|
34616
|
-
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
34797
|
+
* Retrieves all pending invitations for the user\'s organization
|
|
34798
|
+
* @summary Get pending invitations
|
|
34617
34799
|
* @param {*} [options] Override http request option.
|
|
34618
34800
|
* @throws {RequiredError}
|
|
34619
34801
|
*/
|
|
34620
|
-
|
|
34621
|
-
|
|
34622
|
-
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'orgId', orgId);
|
|
34623
|
-
// verify required parameter 'memberId' is not null or undefined
|
|
34624
|
-
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'memberId', memberId);
|
|
34625
|
-
// verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
|
|
34626
|
-
(0, common_1.assertParamExists)('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
|
|
34627
|
-
const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}/role`
|
|
34628
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
34629
|
-
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
34802
|
+
apiV1TeamInvitationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
34803
|
+
const localVarPath = `/api/v1/team/invitations`;
|
|
34630
34804
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34631
34805
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34632
34806
|
let baseOptions;
|
|
34633
34807
|
if (configuration) {
|
|
34634
34808
|
baseOptions = configuration.baseOptions;
|
|
34635
34809
|
}
|
|
34636
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
34810
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34637
34811
|
const localVarHeaderParameter = {};
|
|
34638
34812
|
const localVarQueryParameter = {};
|
|
34639
34813
|
// authentication BearerAuth required
|
|
34640
34814
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
34641
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34642
34815
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34643
34816
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34644
34817
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34645
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateMemberRoleRequest, localVarRequestOptions, configuration);
|
|
34646
34818
|
return {
|
|
34647
34819
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34648
34820
|
options: localVarRequestOptions,
|
|
34649
34821
|
};
|
|
34650
34822
|
}),
|
|
34651
34823
|
/**
|
|
34652
|
-
* Retrieves all
|
|
34653
|
-
* @summary Get
|
|
34654
|
-
* @param {number} storeId Store ID
|
|
34824
|
+
* Retrieves all members of the user\'s organization with their details
|
|
34825
|
+
* @summary Get all members of an organization
|
|
34655
34826
|
* @param {*} [options] Override http request option.
|
|
34656
34827
|
* @throws {RequiredError}
|
|
34657
34828
|
*/
|
|
34658
|
-
|
|
34659
|
-
|
|
34660
|
-
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessGet', 'storeId', storeId);
|
|
34661
|
-
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
34662
|
-
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
34829
|
+
apiV1TeamMembersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
34830
|
+
const localVarPath = `/api/v1/team/members`;
|
|
34663
34831
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34664
34832
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34665
34833
|
let baseOptions;
|
|
@@ -34680,20 +34848,16 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34680
34848
|
};
|
|
34681
34849
|
}),
|
|
34682
34850
|
/**
|
|
34683
|
-
*
|
|
34684
|
-
* @summary
|
|
34685
|
-
* @param {
|
|
34686
|
-
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
34851
|
+
* Sends an invitation to a user to join the user\'s organization
|
|
34852
|
+
* @summary Invite a member to join organization
|
|
34853
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
34687
34854
|
* @param {*} [options] Override http request option.
|
|
34688
34855
|
* @throws {RequiredError}
|
|
34689
34856
|
*/
|
|
34690
|
-
|
|
34691
|
-
// verify required parameter '
|
|
34692
|
-
(0, common_1.assertParamExists)('
|
|
34693
|
-
|
|
34694
|
-
(0, common_1.assertParamExists)('apiV1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
|
|
34695
|
-
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
34696
|
-
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
34857
|
+
apiV1TeamMembersInvitePost: (dataTypesInviteMemberRequest_1, ...args_1) => __awaiter(this, [dataTypesInviteMemberRequest_1, ...args_1], void 0, function* (dataTypesInviteMemberRequest, options = {}) {
|
|
34858
|
+
// verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
|
|
34859
|
+
(0, common_1.assertParamExists)('apiV1TeamMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest);
|
|
34860
|
+
const localVarPath = `/api/v1/team/members/invite`;
|
|
34697
34861
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34698
34862
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34699
34863
|
let baseOptions;
|
|
@@ -34709,28 +34873,24 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34709
34873
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34710
34874
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34711
34875
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34712
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
34876
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesInviteMemberRequest, localVarRequestOptions, configuration);
|
|
34713
34877
|
return {
|
|
34714
34878
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34715
34879
|
options: localVarRequestOptions,
|
|
34716
34880
|
};
|
|
34717
34881
|
}),
|
|
34718
34882
|
/**
|
|
34719
|
-
*
|
|
34720
|
-
* @summary
|
|
34721
|
-
* @param {number}
|
|
34722
|
-
* @param {number} userId User ID
|
|
34883
|
+
* Removes a member from the user\'s organization
|
|
34884
|
+
* @summary Remove member from organization
|
|
34885
|
+
* @param {number} memberId Member ID
|
|
34723
34886
|
* @param {*} [options] Override http request option.
|
|
34724
34887
|
* @throws {RequiredError}
|
|
34725
34888
|
*/
|
|
34726
|
-
|
|
34727
|
-
// verify required parameter '
|
|
34728
|
-
(0, common_1.assertParamExists)('
|
|
34729
|
-
|
|
34730
|
-
|
|
34731
|
-
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
34732
|
-
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
34733
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34889
|
+
apiV1TeamMembersMemberIdDelete: (memberId_1, ...args_1) => __awaiter(this, [memberId_1, ...args_1], void 0, function* (memberId, options = {}) {
|
|
34890
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
34891
|
+
(0, common_1.assertParamExists)('apiV1TeamMembersMemberIdDelete', 'memberId', memberId);
|
|
34892
|
+
const localVarPath = `/api/v1/team/members/{memberId}`
|
|
34893
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
34734
34894
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34735
34895
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34736
34896
|
let baseOptions;
|
|
@@ -34751,24 +34911,20 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34751
34911
|
};
|
|
34752
34912
|
}),
|
|
34753
34913
|
/**
|
|
34754
|
-
* Updates a user\'s
|
|
34755
|
-
* @summary Update
|
|
34756
|
-
* @param {number}
|
|
34757
|
-
* @param {
|
|
34758
|
-
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
34914
|
+
* Updates the role of a member in the user\'s organization
|
|
34915
|
+
* @summary Update member role
|
|
34916
|
+
* @param {number} memberId Member ID
|
|
34917
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
34759
34918
|
* @param {*} [options] Override http request option.
|
|
34760
34919
|
* @throws {RequiredError}
|
|
34761
34920
|
*/
|
|
34762
|
-
|
|
34763
|
-
// verify required parameter '
|
|
34764
|
-
(0, common_1.assertParamExists)('
|
|
34765
|
-
// verify required parameter '
|
|
34766
|
-
(0, common_1.assertParamExists)('
|
|
34767
|
-
|
|
34768
|
-
|
|
34769
|
-
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
34770
|
-
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
34771
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
34921
|
+
apiV1TeamMembersMemberIdRolePut: (memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1) => __awaiter(this, [memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1], void 0, function* (memberId, dataTypesUpdateMemberRoleRequest, options = {}) {
|
|
34922
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
34923
|
+
(0, common_1.assertParamExists)('apiV1TeamMembersMemberIdRolePut', 'memberId', memberId);
|
|
34924
|
+
// verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
|
|
34925
|
+
(0, common_1.assertParamExists)('apiV1TeamMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
|
|
34926
|
+
const localVarPath = `/api/v1/team/members/{memberId}/role`
|
|
34927
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
34772
34928
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34773
34929
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34774
34930
|
let baseOptions;
|
|
@@ -34784,7 +34940,7 @@ const TeamApiAxiosParamCreator = function (configuration) {
|
|
|
34784
34940
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34785
34941
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34786
34942
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34787
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
34943
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateMemberRoleRequest, localVarRequestOptions, configuration);
|
|
34788
34944
|
return {
|
|
34789
34945
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34790
34946
|
options: localVarRequestOptions,
|
|
@@ -34864,154 +35020,149 @@ const TeamApiFp = function (configuration) {
|
|
|
34864
35020
|
});
|
|
34865
35021
|
},
|
|
34866
35022
|
/**
|
|
34867
|
-
* Retrieves all
|
|
34868
|
-
* @summary Get
|
|
34869
|
-
* @param {number}
|
|
35023
|
+
* Retrieves all users with access to a store
|
|
35024
|
+
* @summary Get store access list
|
|
35025
|
+
* @param {number} storeId Store ID
|
|
34870
35026
|
* @param {*} [options] Override http request option.
|
|
34871
35027
|
* @throws {RequiredError}
|
|
34872
35028
|
*/
|
|
34873
|
-
|
|
35029
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
34874
35030
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34875
35031
|
var _a, _b, _c;
|
|
34876
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35032
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessGet(storeId, options);
|
|
34877
35033
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34878
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35034
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34879
35035
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34880
35036
|
});
|
|
34881
35037
|
},
|
|
34882
35038
|
/**
|
|
34883
|
-
*
|
|
34884
|
-
* @summary
|
|
34885
|
-
* @param {number}
|
|
35039
|
+
* Grants a user access to a store
|
|
35040
|
+
* @summary Grant store access
|
|
35041
|
+
* @param {number} storeId Store ID
|
|
35042
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
34886
35043
|
* @param {*} [options] Override http request option.
|
|
34887
35044
|
* @throws {RequiredError}
|
|
34888
35045
|
*/
|
|
34889
|
-
|
|
35046
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
34890
35047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34891
35048
|
var _a, _b, _c;
|
|
34892
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35049
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
|
|
34893
35050
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34894
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35051
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34895
35052
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34896
35053
|
});
|
|
34897
35054
|
},
|
|
34898
35055
|
/**
|
|
34899
|
-
*
|
|
34900
|
-
* @summary
|
|
34901
|
-
* @param {number}
|
|
34902
|
-
* @param {
|
|
35056
|
+
* Revokes a user\'s access to a store
|
|
35057
|
+
* @summary Revoke store access
|
|
35058
|
+
* @param {number} storeId Store ID
|
|
35059
|
+
* @param {number} userId User ID
|
|
34903
35060
|
* @param {*} [options] Override http request option.
|
|
34904
35061
|
* @throws {RequiredError}
|
|
34905
35062
|
*/
|
|
34906
|
-
|
|
35063
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
34907
35064
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34908
35065
|
var _a, _b, _c;
|
|
34909
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35066
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
|
|
34910
35067
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34911
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35068
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34912
35069
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34913
35070
|
});
|
|
34914
35071
|
},
|
|
34915
35072
|
/**
|
|
34916
|
-
*
|
|
34917
|
-
* @summary
|
|
34918
|
-
* @param {number}
|
|
34919
|
-
* @param {number}
|
|
35073
|
+
* Updates a user\'s access level to a store
|
|
35074
|
+
* @summary Update store access level
|
|
35075
|
+
* @param {number} storeId Store ID
|
|
35076
|
+
* @param {number} userId User ID
|
|
35077
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
34920
35078
|
* @param {*} [options] Override http request option.
|
|
34921
35079
|
* @throws {RequiredError}
|
|
34922
35080
|
*/
|
|
34923
|
-
|
|
35081
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
34924
35082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34925
35083
|
var _a, _b, _c;
|
|
34926
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35084
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
|
|
34927
35085
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34928
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35086
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34929
35087
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34930
35088
|
});
|
|
34931
35089
|
},
|
|
34932
35090
|
/**
|
|
34933
|
-
*
|
|
34934
|
-
* @summary
|
|
34935
|
-
* @param {number} orgId Organization ID
|
|
34936
|
-
* @param {number} memberId Member ID
|
|
34937
|
-
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
35091
|
+
* Retrieves all pending invitations for the user\'s organization
|
|
35092
|
+
* @summary Get pending invitations
|
|
34938
35093
|
* @param {*} [options] Override http request option.
|
|
34939
35094
|
* @throws {RequiredError}
|
|
34940
35095
|
*/
|
|
34941
|
-
|
|
35096
|
+
apiV1TeamInvitationsGet(options) {
|
|
34942
35097
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34943
35098
|
var _a, _b, _c;
|
|
34944
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35099
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1TeamInvitationsGet(options);
|
|
34945
35100
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34946
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35101
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1TeamInvitationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34947
35102
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34948
35103
|
});
|
|
34949
35104
|
},
|
|
34950
35105
|
/**
|
|
34951
|
-
* Retrieves all
|
|
34952
|
-
* @summary Get
|
|
34953
|
-
* @param {number} storeId Store ID
|
|
35106
|
+
* Retrieves all members of the user\'s organization with their details
|
|
35107
|
+
* @summary Get all members of an organization
|
|
34954
35108
|
* @param {*} [options] Override http request option.
|
|
34955
35109
|
* @throws {RequiredError}
|
|
34956
35110
|
*/
|
|
34957
|
-
|
|
35111
|
+
apiV1TeamMembersGet(options) {
|
|
34958
35112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34959
35113
|
var _a, _b, _c;
|
|
34960
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35114
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1TeamMembersGet(options);
|
|
34961
35115
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34962
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35116
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1TeamMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34963
35117
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34964
35118
|
});
|
|
34965
35119
|
},
|
|
34966
35120
|
/**
|
|
34967
|
-
*
|
|
34968
|
-
* @summary
|
|
34969
|
-
* @param {
|
|
34970
|
-
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
35121
|
+
* Sends an invitation to a user to join the user\'s organization
|
|
35122
|
+
* @summary Invite a member to join organization
|
|
35123
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
34971
35124
|
* @param {*} [options] Override http request option.
|
|
34972
35125
|
* @throws {RequiredError}
|
|
34973
35126
|
*/
|
|
34974
|
-
|
|
35127
|
+
apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest, options) {
|
|
34975
35128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34976
35129
|
var _a, _b, _c;
|
|
34977
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35130
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest, options);
|
|
34978
35131
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34979
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35132
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1TeamMembersInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34980
35133
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34981
35134
|
});
|
|
34982
35135
|
},
|
|
34983
35136
|
/**
|
|
34984
|
-
*
|
|
34985
|
-
* @summary
|
|
34986
|
-
* @param {number}
|
|
34987
|
-
* @param {number} userId User ID
|
|
35137
|
+
* Removes a member from the user\'s organization
|
|
35138
|
+
* @summary Remove member from organization
|
|
35139
|
+
* @param {number} memberId Member ID
|
|
34988
35140
|
* @param {*} [options] Override http request option.
|
|
34989
35141
|
* @throws {RequiredError}
|
|
34990
35142
|
*/
|
|
34991
|
-
|
|
35143
|
+
apiV1TeamMembersMemberIdDelete(memberId, options) {
|
|
34992
35144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34993
35145
|
var _a, _b, _c;
|
|
34994
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35146
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1TeamMembersMemberIdDelete(memberId, options);
|
|
34995
35147
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34996
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35148
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1TeamMembersMemberIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34997
35149
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34998
35150
|
});
|
|
34999
35151
|
},
|
|
35000
35152
|
/**
|
|
35001
|
-
* Updates a user\'s
|
|
35002
|
-
* @summary Update
|
|
35003
|
-
* @param {number}
|
|
35004
|
-
* @param {
|
|
35005
|
-
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
35153
|
+
* Updates the role of a member in the user\'s organization
|
|
35154
|
+
* @summary Update member role
|
|
35155
|
+
* @param {number} memberId Member ID
|
|
35156
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
35006
35157
|
* @param {*} [options] Override http request option.
|
|
35007
35158
|
* @throws {RequiredError}
|
|
35008
35159
|
*/
|
|
35009
|
-
|
|
35160
|
+
apiV1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
35010
35161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35011
35162
|
var _a, _b, _c;
|
|
35012
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
35163
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options);
|
|
35013
35164
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
35014
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.
|
|
35165
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TeamApi.apiV1TeamMembersMemberIdRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
35015
35166
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35016
35167
|
});
|
|
35017
35168
|
},
|
|
@@ -35062,102 +35213,97 @@ const TeamApiFactory = function (configuration, basePath, axios) {
|
|
|
35062
35213
|
return localVarFp.apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
35063
35214
|
},
|
|
35064
35215
|
/**
|
|
35065
|
-
* Retrieves all
|
|
35066
|
-
* @summary Get
|
|
35067
|
-
* @param {number}
|
|
35216
|
+
* Retrieves all users with access to a store
|
|
35217
|
+
* @summary Get store access list
|
|
35218
|
+
* @param {number} storeId Store ID
|
|
35068
35219
|
* @param {*} [options] Override http request option.
|
|
35069
35220
|
* @throws {RequiredError}
|
|
35070
35221
|
*/
|
|
35071
|
-
|
|
35072
|
-
return localVarFp.
|
|
35222
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
35223
|
+
return localVarFp.apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
|
|
35073
35224
|
},
|
|
35074
35225
|
/**
|
|
35075
|
-
*
|
|
35076
|
-
* @summary
|
|
35077
|
-
* @param {number}
|
|
35226
|
+
* Grants a user access to a store
|
|
35227
|
+
* @summary Grant store access
|
|
35228
|
+
* @param {number} storeId Store ID
|
|
35229
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
35078
35230
|
* @param {*} [options] Override http request option.
|
|
35079
35231
|
* @throws {RequiredError}
|
|
35080
35232
|
*/
|
|
35081
|
-
|
|
35082
|
-
return localVarFp.
|
|
35233
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
35234
|
+
return localVarFp.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
35083
35235
|
},
|
|
35084
35236
|
/**
|
|
35085
|
-
*
|
|
35086
|
-
* @summary
|
|
35087
|
-
* @param {number}
|
|
35088
|
-
* @param {
|
|
35237
|
+
* Revokes a user\'s access to a store
|
|
35238
|
+
* @summary Revoke store access
|
|
35239
|
+
* @param {number} storeId Store ID
|
|
35240
|
+
* @param {number} userId User ID
|
|
35089
35241
|
* @param {*} [options] Override http request option.
|
|
35090
35242
|
* @throws {RequiredError}
|
|
35091
35243
|
*/
|
|
35092
|
-
|
|
35093
|
-
return localVarFp.
|
|
35244
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
35245
|
+
return localVarFp.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
|
|
35094
35246
|
},
|
|
35095
35247
|
/**
|
|
35096
|
-
*
|
|
35097
|
-
* @summary
|
|
35098
|
-
* @param {number}
|
|
35099
|
-
* @param {number}
|
|
35248
|
+
* Updates a user\'s access level to a store
|
|
35249
|
+
* @summary Update store access level
|
|
35250
|
+
* @param {number} storeId Store ID
|
|
35251
|
+
* @param {number} userId User ID
|
|
35252
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
35100
35253
|
* @param {*} [options] Override http request option.
|
|
35101
35254
|
* @throws {RequiredError}
|
|
35102
35255
|
*/
|
|
35103
|
-
|
|
35104
|
-
return localVarFp.
|
|
35256
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
35257
|
+
return localVarFp.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
35105
35258
|
},
|
|
35106
35259
|
/**
|
|
35107
|
-
*
|
|
35108
|
-
* @summary
|
|
35109
|
-
* @param {number} orgId Organization ID
|
|
35110
|
-
* @param {number} memberId Member ID
|
|
35111
|
-
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
35260
|
+
* Retrieves all pending invitations for the user\'s organization
|
|
35261
|
+
* @summary Get pending invitations
|
|
35112
35262
|
* @param {*} [options] Override http request option.
|
|
35113
35263
|
* @throws {RequiredError}
|
|
35114
35264
|
*/
|
|
35115
|
-
|
|
35116
|
-
return localVarFp.
|
|
35265
|
+
apiV1TeamInvitationsGet(options) {
|
|
35266
|
+
return localVarFp.apiV1TeamInvitationsGet(options).then((request) => request(axios, basePath));
|
|
35117
35267
|
},
|
|
35118
35268
|
/**
|
|
35119
|
-
* Retrieves all
|
|
35120
|
-
* @summary Get
|
|
35121
|
-
* @param {number} storeId Store ID
|
|
35269
|
+
* Retrieves all members of the user\'s organization with their details
|
|
35270
|
+
* @summary Get all members of an organization
|
|
35122
35271
|
* @param {*} [options] Override http request option.
|
|
35123
35272
|
* @throws {RequiredError}
|
|
35124
35273
|
*/
|
|
35125
|
-
|
|
35126
|
-
return localVarFp.
|
|
35274
|
+
apiV1TeamMembersGet(options) {
|
|
35275
|
+
return localVarFp.apiV1TeamMembersGet(options).then((request) => request(axios, basePath));
|
|
35127
35276
|
},
|
|
35128
35277
|
/**
|
|
35129
|
-
*
|
|
35130
|
-
* @summary
|
|
35131
|
-
* @param {
|
|
35132
|
-
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
35278
|
+
* Sends an invitation to a user to join the user\'s organization
|
|
35279
|
+
* @summary Invite a member to join organization
|
|
35280
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
35133
35281
|
* @param {*} [options] Override http request option.
|
|
35134
35282
|
* @throws {RequiredError}
|
|
35135
35283
|
*/
|
|
35136
|
-
|
|
35137
|
-
return localVarFp.
|
|
35284
|
+
apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest, options) {
|
|
35285
|
+
return localVarFp.apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
|
|
35138
35286
|
},
|
|
35139
35287
|
/**
|
|
35140
|
-
*
|
|
35141
|
-
* @summary
|
|
35142
|
-
* @param {number}
|
|
35143
|
-
* @param {number} userId User ID
|
|
35288
|
+
* Removes a member from the user\'s organization
|
|
35289
|
+
* @summary Remove member from organization
|
|
35290
|
+
* @param {number} memberId Member ID
|
|
35144
35291
|
* @param {*} [options] Override http request option.
|
|
35145
35292
|
* @throws {RequiredError}
|
|
35146
35293
|
*/
|
|
35147
|
-
|
|
35148
|
-
return localVarFp.
|
|
35294
|
+
apiV1TeamMembersMemberIdDelete(memberId, options) {
|
|
35295
|
+
return localVarFp.apiV1TeamMembersMemberIdDelete(memberId, options).then((request) => request(axios, basePath));
|
|
35149
35296
|
},
|
|
35150
35297
|
/**
|
|
35151
|
-
* Updates a user\'s
|
|
35152
|
-
* @summary Update
|
|
35153
|
-
* @param {number}
|
|
35154
|
-
* @param {
|
|
35155
|
-
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
35298
|
+
* Updates the role of a member in the user\'s organization
|
|
35299
|
+
* @summary Update member role
|
|
35300
|
+
* @param {number} memberId Member ID
|
|
35301
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
35156
35302
|
* @param {*} [options] Override http request option.
|
|
35157
35303
|
* @throws {RequiredError}
|
|
35158
35304
|
*/
|
|
35159
|
-
|
|
35160
|
-
return localVarFp.
|
|
35305
|
+
apiV1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
35306
|
+
return localVarFp.apiV1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
|
|
35161
35307
|
},
|
|
35162
35308
|
/**
|
|
35163
35309
|
* Retrieves all stores accessible to a user
|
|
@@ -35202,111 +35348,106 @@ class TeamApi extends base_1.BaseAPI {
|
|
|
35202
35348
|
return (0, exports.TeamApiFp)(this.configuration).apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
35203
35349
|
}
|
|
35204
35350
|
/**
|
|
35205
|
-
* Retrieves all
|
|
35206
|
-
* @summary Get
|
|
35207
|
-
* @param {number}
|
|
35351
|
+
* Retrieves all users with access to a store
|
|
35352
|
+
* @summary Get store access list
|
|
35353
|
+
* @param {number} storeId Store ID
|
|
35208
35354
|
* @param {*} [options] Override http request option.
|
|
35209
35355
|
* @throws {RequiredError}
|
|
35210
35356
|
* @memberof TeamApi
|
|
35211
35357
|
*/
|
|
35212
|
-
|
|
35213
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35358
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
35359
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
35214
35360
|
}
|
|
35215
35361
|
/**
|
|
35216
|
-
*
|
|
35217
|
-
* @summary
|
|
35218
|
-
* @param {number}
|
|
35362
|
+
* Grants a user access to a store
|
|
35363
|
+
* @summary Grant store access
|
|
35364
|
+
* @param {number} storeId Store ID
|
|
35365
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
35219
35366
|
* @param {*} [options] Override http request option.
|
|
35220
35367
|
* @throws {RequiredError}
|
|
35221
35368
|
* @memberof TeamApi
|
|
35222
35369
|
*/
|
|
35223
|
-
|
|
35224
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35370
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
35371
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35225
35372
|
}
|
|
35226
35373
|
/**
|
|
35227
|
-
*
|
|
35228
|
-
* @summary
|
|
35229
|
-
* @param {number}
|
|
35230
|
-
* @param {
|
|
35374
|
+
* Revokes a user\'s access to a store
|
|
35375
|
+
* @summary Revoke store access
|
|
35376
|
+
* @param {number} storeId Store ID
|
|
35377
|
+
* @param {number} userId User ID
|
|
35231
35378
|
* @param {*} [options] Override http request option.
|
|
35232
35379
|
* @throws {RequiredError}
|
|
35233
35380
|
* @memberof TeamApi
|
|
35234
35381
|
*/
|
|
35235
|
-
|
|
35236
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35382
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
35383
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
35237
35384
|
}
|
|
35238
35385
|
/**
|
|
35239
|
-
*
|
|
35240
|
-
* @summary
|
|
35241
|
-
* @param {number}
|
|
35242
|
-
* @param {number}
|
|
35386
|
+
* Updates a user\'s access level to a store
|
|
35387
|
+
* @summary Update store access level
|
|
35388
|
+
* @param {number} storeId Store ID
|
|
35389
|
+
* @param {number} userId User ID
|
|
35390
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
35243
35391
|
* @param {*} [options] Override http request option.
|
|
35244
35392
|
* @throws {RequiredError}
|
|
35245
35393
|
* @memberof TeamApi
|
|
35246
35394
|
*/
|
|
35247
|
-
|
|
35248
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35395
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
35396
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35249
35397
|
}
|
|
35250
35398
|
/**
|
|
35251
|
-
*
|
|
35252
|
-
* @summary
|
|
35253
|
-
* @param {number} orgId Organization ID
|
|
35254
|
-
* @param {number} memberId Member ID
|
|
35255
|
-
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
35399
|
+
* Retrieves all pending invitations for the user\'s organization
|
|
35400
|
+
* @summary Get pending invitations
|
|
35256
35401
|
* @param {*} [options] Override http request option.
|
|
35257
35402
|
* @throws {RequiredError}
|
|
35258
35403
|
* @memberof TeamApi
|
|
35259
35404
|
*/
|
|
35260
|
-
|
|
35261
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35405
|
+
apiV1TeamInvitationsGet(options) {
|
|
35406
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1TeamInvitationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
35262
35407
|
}
|
|
35263
35408
|
/**
|
|
35264
|
-
* Retrieves all
|
|
35265
|
-
* @summary Get
|
|
35266
|
-
* @param {number} storeId Store ID
|
|
35409
|
+
* Retrieves all members of the user\'s organization with their details
|
|
35410
|
+
* @summary Get all members of an organization
|
|
35267
35411
|
* @param {*} [options] Override http request option.
|
|
35268
35412
|
* @throws {RequiredError}
|
|
35269
35413
|
* @memberof TeamApi
|
|
35270
35414
|
*/
|
|
35271
|
-
|
|
35272
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35415
|
+
apiV1TeamMembersGet(options) {
|
|
35416
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1TeamMembersGet(options).then((request) => request(this.axios, this.basePath));
|
|
35273
35417
|
}
|
|
35274
35418
|
/**
|
|
35275
|
-
*
|
|
35276
|
-
* @summary
|
|
35277
|
-
* @param {
|
|
35278
|
-
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
35419
|
+
* Sends an invitation to a user to join the user\'s organization
|
|
35420
|
+
* @summary Invite a member to join organization
|
|
35421
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
35279
35422
|
* @param {*} [options] Override http request option.
|
|
35280
35423
|
* @throws {RequiredError}
|
|
35281
35424
|
* @memberof TeamApi
|
|
35282
35425
|
*/
|
|
35283
|
-
|
|
35284
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35426
|
+
apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest, options) {
|
|
35427
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35285
35428
|
}
|
|
35286
35429
|
/**
|
|
35287
|
-
*
|
|
35288
|
-
* @summary
|
|
35289
|
-
* @param {number}
|
|
35290
|
-
* @param {number} userId User ID
|
|
35430
|
+
* Removes a member from the user\'s organization
|
|
35431
|
+
* @summary Remove member from organization
|
|
35432
|
+
* @param {number} memberId Member ID
|
|
35291
35433
|
* @param {*} [options] Override http request option.
|
|
35292
35434
|
* @throws {RequiredError}
|
|
35293
35435
|
* @memberof TeamApi
|
|
35294
35436
|
*/
|
|
35295
|
-
|
|
35296
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35437
|
+
apiV1TeamMembersMemberIdDelete(memberId, options) {
|
|
35438
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1TeamMembersMemberIdDelete(memberId, options).then((request) => request(this.axios, this.basePath));
|
|
35297
35439
|
}
|
|
35298
35440
|
/**
|
|
35299
|
-
* Updates a user\'s
|
|
35300
|
-
* @summary Update
|
|
35301
|
-
* @param {number}
|
|
35302
|
-
* @param {
|
|
35303
|
-
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
35441
|
+
* Updates the role of a member in the user\'s organization
|
|
35442
|
+
* @summary Update member role
|
|
35443
|
+
* @param {number} memberId Member ID
|
|
35444
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
35304
35445
|
* @param {*} [options] Override http request option.
|
|
35305
35446
|
* @throws {RequiredError}
|
|
35306
35447
|
* @memberof TeamApi
|
|
35307
35448
|
*/
|
|
35308
|
-
|
|
35309
|
-
return (0, exports.TeamApiFp)(this.configuration).
|
|
35449
|
+
apiV1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
35450
|
+
return (0, exports.TeamApiFp)(this.configuration).apiV1TeamMembersMemberIdRolePut(memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
35310
35451
|
}
|
|
35311
35452
|
/**
|
|
35312
35453
|
* Retrieves all stores accessible to a user
|