@seekora-ai/admin-api 1.1.11 → 1.1.13
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 +29 -46
- package/api.ts +9153 -9954
- package/dist/api.d.ts +1222 -1998
- package/dist/api.js +1152 -1069
- package/dist/esm/api.d.ts +1222 -1998
- package/dist/esm/api.js +1141 -1062
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.13.tgz +0 -0
- package/seekora-ai-admin-api-1.1.11.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -125,6 +125,15 @@ export const DataTypesCreateTaskRequestTypeEnum = {
|
|
|
125
125
|
Manual: 'manual',
|
|
126
126
|
PluginConnector: 'plugin_connector'
|
|
127
127
|
};
|
|
128
|
+
export const DataTypesGrantStoreAccessRequestAccessLevelEnum = {
|
|
129
|
+
Read: 'read',
|
|
130
|
+
Write: 'write',
|
|
131
|
+
Admin: 'admin'
|
|
132
|
+
};
|
|
133
|
+
export const DataTypesInviteMemberRequestMemberRoleEnum = {
|
|
134
|
+
Admin: 'admin',
|
|
135
|
+
Member: 'member'
|
|
136
|
+
};
|
|
128
137
|
export const DataTypesProcessRefundRequestDtoRefundTypeEnum = {
|
|
129
138
|
Full: 'full',
|
|
130
139
|
Partial: 'partial',
|
|
@@ -139,10 +148,25 @@ export const DataTypesRefundCalculationRequestDtoRefundTypeEnum = {
|
|
|
139
148
|
Partial: 'partial',
|
|
140
149
|
RemainingCredits: 'remaining_credits'
|
|
141
150
|
};
|
|
151
|
+
export const DataTypesStoreAccessRequestAccessLevelEnum = {
|
|
152
|
+
Read: 'read',
|
|
153
|
+
Write: 'write',
|
|
154
|
+
Admin: 'admin'
|
|
155
|
+
};
|
|
156
|
+
export const DataTypesUpdateMemberRoleRequestMemberRoleEnum = {
|
|
157
|
+
Owner: 'owner',
|
|
158
|
+
Admin: 'admin',
|
|
159
|
+
Member: 'member'
|
|
160
|
+
};
|
|
142
161
|
export const DataTypesUpdatePluralDeclensionRequestTypeEnum = {
|
|
143
162
|
Custom: 'custom',
|
|
144
163
|
Default: 'default'
|
|
145
164
|
};
|
|
165
|
+
export const DataTypesUpdateStoreAccessRequestAccessLevelEnum = {
|
|
166
|
+
Read: 'read',
|
|
167
|
+
Write: 'write',
|
|
168
|
+
Admin: 'admin'
|
|
169
|
+
};
|
|
146
170
|
export const DataTypesUpdateWordStatusRequestWordTypeEnum = {
|
|
147
171
|
Default: 'default',
|
|
148
172
|
StoreLanguage: 'store_language',
|
|
@@ -2284,145 +2308,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
2284
2308
|
options: localVarRequestOptions,
|
|
2285
2309
|
};
|
|
2286
2310
|
}),
|
|
2287
|
-
/**
|
|
2288
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
2289
|
-
* @summary Get Query Insights
|
|
2290
|
-
* @param {string} xStoreID Store ID
|
|
2291
|
-
* @param {string} query Search query to analyze
|
|
2292
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
2293
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
2294
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
2295
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
2296
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
2297
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
2298
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
2299
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
2300
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
2301
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
2302
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
2303
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
2304
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
2305
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
2306
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
2307
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
2308
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
2309
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
2310
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
2311
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
2312
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
2313
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
2314
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
2315
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
2316
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
2317
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
2318
|
-
* @param {*} [options] Override http request option.
|
|
2319
|
-
* @throws {RequiredError}
|
|
2320
|
-
*/
|
|
2321
|
-
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 = {}) {
|
|
2322
|
-
// verify required parameter 'xStoreID' is not null or undefined
|
|
2323
|
-
assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'xStoreID', xStoreID);
|
|
2324
|
-
// verify required parameter 'query' is not null or undefined
|
|
2325
|
-
assertParamExists('adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet', 'query', query);
|
|
2326
|
-
const localVarPath = `/admin/analytics/store/{xStoreID}/queries/{query}/insights`
|
|
2327
|
-
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
2328
|
-
.replace(`{${"query"}}`, encodeURIComponent(String(query)));
|
|
2329
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2330
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2331
|
-
let baseOptions;
|
|
2332
|
-
if (configuration) {
|
|
2333
|
-
baseOptions = configuration.baseOptions;
|
|
2334
|
-
}
|
|
2335
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2336
|
-
const localVarHeaderParameter = {};
|
|
2337
|
-
const localVarQueryParameter = {};
|
|
2338
|
-
// authentication BearerAuth required
|
|
2339
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2340
|
-
if (startTime !== undefined) {
|
|
2341
|
-
localVarQueryParameter['start_time'] = startTime;
|
|
2342
|
-
}
|
|
2343
|
-
if (endTime !== undefined) {
|
|
2344
|
-
localVarQueryParameter['end_time'] = endTime;
|
|
2345
|
-
}
|
|
2346
|
-
if (analyticsTags !== undefined) {
|
|
2347
|
-
localVarQueryParameter['analytics_tags'] = analyticsTags;
|
|
2348
|
-
}
|
|
2349
|
-
if (tagsMatchMode !== undefined) {
|
|
2350
|
-
localVarQueryParameter['tags_match_mode'] = tagsMatchMode;
|
|
2351
|
-
}
|
|
2352
|
-
if (tagsExclude !== undefined) {
|
|
2353
|
-
localVarQueryParameter['tags_exclude'] = tagsExclude;
|
|
2354
|
-
}
|
|
2355
|
-
if (tagKeyFilter !== undefined) {
|
|
2356
|
-
localVarQueryParameter['tag_key_filter'] = tagKeyFilter;
|
|
2357
|
-
}
|
|
2358
|
-
if (tagValueFilter !== undefined) {
|
|
2359
|
-
localVarQueryParameter['tag_value_filter'] = tagValueFilter;
|
|
2360
|
-
}
|
|
2361
|
-
if (search !== undefined) {
|
|
2362
|
-
localVarQueryParameter['search'] = search;
|
|
2363
|
-
}
|
|
2364
|
-
if (compareMode !== undefined) {
|
|
2365
|
-
localVarQueryParameter['compare_mode'] = compareMode;
|
|
2366
|
-
}
|
|
2367
|
-
if (compareStartTime !== undefined) {
|
|
2368
|
-
localVarQueryParameter['compare_start_time'] = compareStartTime;
|
|
2369
|
-
}
|
|
2370
|
-
if (compareEndTime !== undefined) {
|
|
2371
|
-
localVarQueryParameter['compare_end_time'] = compareEndTime;
|
|
2372
|
-
}
|
|
2373
|
-
if (compareAnalyticsTags !== undefined) {
|
|
2374
|
-
localVarQueryParameter['compare_analytics_tags'] = compareAnalyticsTags;
|
|
2375
|
-
}
|
|
2376
|
-
if (compareTagsMatchMode !== undefined) {
|
|
2377
|
-
localVarQueryParameter['compare_tags_match_mode'] = compareTagsMatchMode;
|
|
2378
|
-
}
|
|
2379
|
-
if (compareTagsExclude !== undefined) {
|
|
2380
|
-
localVarQueryParameter['compare_tags_exclude'] = compareTagsExclude;
|
|
2381
|
-
}
|
|
2382
|
-
if (compareTagKeyFilter !== undefined) {
|
|
2383
|
-
localVarQueryParameter['compare_tag_key_filter'] = compareTagKeyFilter;
|
|
2384
|
-
}
|
|
2385
|
-
if (compareTagValueFilter !== undefined) {
|
|
2386
|
-
localVarQueryParameter['compare_tag_value_filter'] = compareTagValueFilter;
|
|
2387
|
-
}
|
|
2388
|
-
if (resultsPage !== undefined) {
|
|
2389
|
-
localVarQueryParameter['results_page'] = resultsPage;
|
|
2390
|
-
}
|
|
2391
|
-
if (resultsPageSize !== undefined) {
|
|
2392
|
-
localVarQueryParameter['results_page_size'] = resultsPageSize;
|
|
2393
|
-
}
|
|
2394
|
-
if (resultsSearch !== undefined) {
|
|
2395
|
-
localVarQueryParameter['results_search'] = resultsSearch;
|
|
2396
|
-
}
|
|
2397
|
-
if (filtersPage !== undefined) {
|
|
2398
|
-
localVarQueryParameter['filters_page'] = filtersPage;
|
|
2399
|
-
}
|
|
2400
|
-
if (filtersPageSize !== undefined) {
|
|
2401
|
-
localVarQueryParameter['filters_page_size'] = filtersPageSize;
|
|
2402
|
-
}
|
|
2403
|
-
if (filtersSearch !== undefined) {
|
|
2404
|
-
localVarQueryParameter['filters_search'] = filtersSearch;
|
|
2405
|
-
}
|
|
2406
|
-
if (geoPage !== undefined) {
|
|
2407
|
-
localVarQueryParameter['geo_page'] = geoPage;
|
|
2408
|
-
}
|
|
2409
|
-
if (geoPageSize !== undefined) {
|
|
2410
|
-
localVarQueryParameter['geo_page_size'] = geoPageSize;
|
|
2411
|
-
}
|
|
2412
|
-
if (geoSearch !== undefined) {
|
|
2413
|
-
localVarQueryParameter['geo_search'] = geoSearch;
|
|
2414
|
-
}
|
|
2415
|
-
if (includeWidget !== undefined) {
|
|
2416
|
-
localVarQueryParameter['include_widget'] = includeWidget;
|
|
2417
|
-
}
|
|
2418
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2419
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2420
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2421
|
-
return {
|
|
2422
|
-
url: toPathString(localVarUrlObj),
|
|
2423
|
-
options: localVarRequestOptions,
|
|
2424
|
-
};
|
|
2425
|
-
}),
|
|
2426
2311
|
/**
|
|
2427
2312
|
* 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.
|
|
2428
2313
|
* @summary Get Top Results Analytics
|
|
@@ -3234,49 +3119,6 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
3234
3119
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3235
3120
|
});
|
|
3236
3121
|
},
|
|
3237
|
-
/**
|
|
3238
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
3239
|
-
* @summary Get Query Insights
|
|
3240
|
-
* @param {string} xStoreID Store ID
|
|
3241
|
-
* @param {string} query Search query to analyze
|
|
3242
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3243
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3244
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3245
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3246
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
3247
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
3248
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
3249
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
3250
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
3251
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
3252
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
3253
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
3254
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
3255
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
3256
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
3257
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3258
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
3259
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
3260
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
3261
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3262
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
3263
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3264
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
3265
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3266
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3267
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3268
|
-
* @param {*} [options] Override http request option.
|
|
3269
|
-
* @throws {RequiredError}
|
|
3270
|
-
*/
|
|
3271
|
-
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) {
|
|
3272
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3273
|
-
var _a, _b, _c;
|
|
3274
|
-
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);
|
|
3275
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3276
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3277
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3278
|
-
});
|
|
3279
|
-
},
|
|
3280
3122
|
/**
|
|
3281
3123
|
* 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.
|
|
3282
3124
|
* @summary Get Top Results Analytics
|
|
@@ -3753,43 +3595,6 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
3753
3595
|
adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
3754
3596
|
return localVarFp.adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
|
|
3755
3597
|
},
|
|
3756
|
-
/**
|
|
3757
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
3758
|
-
* @summary Get Query Insights
|
|
3759
|
-
* @param {string} xStoreID Store ID
|
|
3760
|
-
* @param {string} query Search query to analyze
|
|
3761
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
3762
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
3763
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
3764
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
3765
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
3766
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
3767
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
3768
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
3769
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
3770
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
3771
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
3772
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
3773
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
3774
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
3775
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
3776
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
3777
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
3778
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
3779
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
3780
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
3781
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
3782
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
3783
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
3784
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
3785
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
3786
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
3787
|
-
* @param {*} [options] Override http request option.
|
|
3788
|
-
* @throws {RequiredError}
|
|
3789
|
-
*/
|
|
3790
|
-
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) {
|
|
3791
|
-
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));
|
|
3792
|
-
},
|
|
3793
3598
|
/**
|
|
3794
3599
|
* 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.
|
|
3795
3600
|
* @summary Get Top Results Analytics
|
|
@@ -4250,44 +4055,6 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
4250
4055
|
adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options) {
|
|
4251
4056
|
return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesNoResultsGet(xStoreID, startTime, endTime, search, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
|
|
4252
4057
|
}
|
|
4253
|
-
/**
|
|
4254
|
-
* Retrieve comprehensive analytics for a specific search query including all core metrics (Searches, Results Shown, Clicks, CTR, Avg Result Rank, Avg Click Rank, Conversions, CVR, Conversion Rate per Search, No-Result Rate, No-Click Rate, Revenue), popular results, filters, click position histogram, geo analytics, and performance metrics with deep comparison mode support and independent pagination for popular results and filters
|
|
4255
|
-
* @summary Get Query Insights
|
|
4256
|
-
* @param {string} xStoreID Store ID
|
|
4257
|
-
* @param {string} query Search query to analyze
|
|
4258
|
-
* @param {string} [startTime] Start time in RFC3339 format
|
|
4259
|
-
* @param {string} [endTime] End time in RFC3339 format
|
|
4260
|
-
* @param {string} [analyticsTags] Comma-separated analytics tags to filter (e.g., \'campaign:summer,source:email\')
|
|
4261
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum} [tagsMatchMode] How to match multiple analytics tags
|
|
4262
|
-
* @param {string} [tagsExclude] Comma-separated analytics tags to exclude
|
|
4263
|
-
* @param {string} [tagKeyFilter] Filter by tag key pattern (matches tags starting with key:)
|
|
4264
|
-
* @param {string} [tagValueFilter] Filter by tag value pattern (matches tags ending with :value)
|
|
4265
|
-
* @param {string} [search] Search term to filter popular results, filters, and geo analytics (case-insensitive partial match)
|
|
4266
|
-
* @param {boolean} [compareMode] Enable comparison mode to compare with another time period/tag set
|
|
4267
|
-
* @param {string} [compareStartTime] Comparison period start time in RFC3339 format
|
|
4268
|
-
* @param {string} [compareEndTime] Comparison period end time in RFC3339 format
|
|
4269
|
-
* @param {string} [compareAnalyticsTags] Comma-separated analytics tags for comparison period
|
|
4270
|
-
* @param {AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum} [compareTagsMatchMode] How to match comparison analytics tags
|
|
4271
|
-
* @param {string} [compareTagsExclude] Comma-separated analytics tags to exclude in comparison
|
|
4272
|
-
* @param {string} [compareTagKeyFilter] Tag key filter for comparison period
|
|
4273
|
-
* @param {string} [compareTagValueFilter] Tag value filter for comparison period
|
|
4274
|
-
* @param {number} [resultsPage] Page number for popular results pagination
|
|
4275
|
-
* @param {number} [resultsPageSize] Number of results per page for popular results
|
|
4276
|
-
* @param {string} [resultsSearch] Search term to filter popular results (case-insensitive partial match on item IDs)
|
|
4277
|
-
* @param {number} [filtersPage] Page number for popular filters pagination
|
|
4278
|
-
* @param {number} [filtersPageSize] Number of filters per page
|
|
4279
|
-
* @param {string} [filtersSearch] Search term to filter popular filters (case-insensitive partial match on filter keys/values)
|
|
4280
|
-
* @param {number} [geoPage] Page number for geo analytics pagination
|
|
4281
|
-
* @param {number} [geoPageSize] Number of geo locations per page
|
|
4282
|
-
* @param {string} [geoSearch] Search term to filter geo analytics (case-insensitive partial match on country/region/city)
|
|
4283
|
-
* @param {boolean} [includeWidget] Whether to include widget display fields for popular results
|
|
4284
|
-
* @param {*} [options] Override http request option.
|
|
4285
|
-
* @throws {RequiredError}
|
|
4286
|
-
* @memberof AnalyticsApi
|
|
4287
|
-
*/
|
|
4288
|
-
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) {
|
|
4289
|
-
return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDQueriesQueryInsightsGet(xStoreID, query, startTime, endTime, analyticsTags, tagsMatchMode, tagsExclude, tagKeyFilter, tagValueFilter, search, compareMode, compareStartTime, compareEndTime, compareAnalyticsTags, compareTagsMatchMode, compareTagsExclude, compareTagKeyFilter, compareTagValueFilter, resultsPage, resultsPageSize, resultsSearch, filtersPage, filtersPageSize, filtersSearch, geoPage, geoPageSize, geoSearch, includeWidget, options).then((request) => request(this.axios, this.basePath));
|
|
4290
|
-
}
|
|
4291
4058
|
/**
|
|
4292
4059
|
* 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.
|
|
4293
4060
|
* @summary Get Top Results Analytics
|
|
@@ -4676,20 +4443,6 @@ export const AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = {
|
|
|
4676
4443
|
Asc: 'asc',
|
|
4677
4444
|
Desc: 'desc'
|
|
4678
4445
|
};
|
|
4679
|
-
/**
|
|
4680
|
-
* @export
|
|
4681
|
-
*/
|
|
4682
|
-
export const AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = {
|
|
4683
|
-
Any: 'any',
|
|
4684
|
-
All: 'all'
|
|
4685
|
-
};
|
|
4686
|
-
/**
|
|
4687
|
-
* @export
|
|
4688
|
-
*/
|
|
4689
|
-
export const AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = {
|
|
4690
|
-
Any: 'any',
|
|
4691
|
-
All: 'all'
|
|
4692
|
-
};
|
|
4693
4446
|
/**
|
|
4694
4447
|
* @export
|
|
4695
4448
|
*/
|
|
@@ -7597,8 +7350,8 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7597
7350
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
7598
7351
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
7599
7352
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
7600
|
-
* @param {
|
|
7601
|
-
* @param {
|
|
7353
|
+
* @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
|
|
7354
|
+
* @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
|
|
7602
7355
|
* @param {*} [options] Override http request option.
|
|
7603
7356
|
* @throws {RequiredError}
|
|
7604
7357
|
*/
|
|
@@ -7660,8 +7413,8 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7660
7413
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
7661
7414
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
7662
7415
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
7663
|
-
* @param {
|
|
7664
|
-
* @param {
|
|
7416
|
+
* @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
|
|
7417
|
+
* @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
|
|
7665
7418
|
* @param {*} [options] Override http request option.
|
|
7666
7419
|
* @throws {RequiredError}
|
|
7667
7420
|
*/
|
|
@@ -7723,8 +7476,8 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7723
7476
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
7724
7477
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
7725
7478
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
7726
|
-
* @param {
|
|
7727
|
-
* @param {
|
|
7479
|
+
* @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
7480
|
+
* @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
7728
7481
|
* @param {*} [options] Override http request option.
|
|
7729
7482
|
* @throws {RequiredError}
|
|
7730
7483
|
*/
|
|
@@ -7876,8 +7629,8 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7876
7629
|
* @param {number} [page] Page number (default: 1)
|
|
7877
7630
|
* @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
|
|
7878
7631
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
7879
|
-
* @param {
|
|
7880
|
-
* @param {
|
|
7632
|
+
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
7633
|
+
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
7881
7634
|
* @param {*} [options] Override http request option.
|
|
7882
7635
|
* @throws {RequiredError}
|
|
7883
7636
|
*/
|
|
@@ -8104,8 +7857,8 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
8104
7857
|
* @param {number} [page] Page number (default: 1)
|
|
8105
7858
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8106
7859
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
8107
|
-
* @param {
|
|
8108
|
-
* @param {
|
|
7860
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
|
|
7861
|
+
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
8109
7862
|
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
8110
7863
|
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
8111
7864
|
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
@@ -8351,8 +8104,8 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
8351
8104
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8352
8105
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
8353
8106
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
8354
|
-
* @param {
|
|
8355
|
-
* @param {
|
|
8107
|
+
* @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
8108
|
+
* @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
8356
8109
|
* @param {*} [options] Override http request option.
|
|
8357
8110
|
* @throws {RequiredError}
|
|
8358
8111
|
*/
|
|
@@ -8785,8 +8538,8 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
8785
8538
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8786
8539
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
8787
8540
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
8788
|
-
* @param {
|
|
8789
|
-
* @param {
|
|
8541
|
+
* @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
|
|
8542
|
+
* @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
|
|
8790
8543
|
* @param {*} [options] Override http request option.
|
|
8791
8544
|
* @throws {RequiredError}
|
|
8792
8545
|
*/
|
|
@@ -8809,8 +8562,8 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
8809
8562
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8810
8563
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
8811
8564
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
8812
|
-
* @param {
|
|
8813
|
-
* @param {
|
|
8565
|
+
* @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
|
|
8566
|
+
* @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
|
|
8814
8567
|
* @param {*} [options] Override http request option.
|
|
8815
8568
|
* @throws {RequiredError}
|
|
8816
8569
|
*/
|
|
@@ -8833,8 +8586,8 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
8833
8586
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8834
8587
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
8835
8588
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
8836
|
-
* @param {
|
|
8837
|
-
* @param {
|
|
8589
|
+
* @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
8590
|
+
* @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
8838
8591
|
* @param {*} [options] Override http request option.
|
|
8839
8592
|
* @throws {RequiredError}
|
|
8840
8593
|
*/
|
|
@@ -8905,8 +8658,8 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
8905
8658
|
* @param {number} [page] Page number (default: 1)
|
|
8906
8659
|
* @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
|
|
8907
8660
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
8908
|
-
* @param {
|
|
8909
|
-
* @param {
|
|
8661
|
+
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
8662
|
+
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
8910
8663
|
* @param {*} [options] Override http request option.
|
|
8911
8664
|
* @throws {RequiredError}
|
|
8912
8665
|
*/
|
|
@@ -9010,8 +8763,8 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
9010
8763
|
* @param {number} [page] Page number (default: 1)
|
|
9011
8764
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9012
8765
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9013
|
-
* @param {
|
|
9014
|
-
* @param {
|
|
8766
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
|
|
8767
|
+
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
9015
8768
|
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
9016
8769
|
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
9017
8770
|
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
@@ -9122,8 +8875,8 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
9122
8875
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9123
8876
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9124
8877
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9125
|
-
* @param {
|
|
9126
|
-
* @param {
|
|
8878
|
+
* @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
8879
|
+
* @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
9127
8880
|
* @param {*} [options] Override http request option.
|
|
9128
8881
|
* @throws {RequiredError}
|
|
9129
8882
|
*/
|
|
@@ -9346,8 +9099,8 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
9346
9099
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9347
9100
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9348
9101
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9349
|
-
* @param {
|
|
9350
|
-
* @param {
|
|
9102
|
+
* @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
|
|
9103
|
+
* @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
|
|
9351
9104
|
* @param {*} [options] Override http request option.
|
|
9352
9105
|
* @throws {RequiredError}
|
|
9353
9106
|
*/
|
|
@@ -9364,8 +9117,8 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
9364
9117
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9365
9118
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9366
9119
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9367
|
-
* @param {
|
|
9368
|
-
* @param {
|
|
9120
|
+
* @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
|
|
9121
|
+
* @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
|
|
9369
9122
|
* @param {*} [options] Override http request option.
|
|
9370
9123
|
* @throws {RequiredError}
|
|
9371
9124
|
*/
|
|
@@ -9382,8 +9135,8 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
9382
9135
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9383
9136
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9384
9137
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9385
|
-
* @param {
|
|
9386
|
-
* @param {
|
|
9138
|
+
* @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
9139
|
+
* @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
9387
9140
|
* @param {*} [options] Override http request option.
|
|
9388
9141
|
* @throws {RequiredError}
|
|
9389
9142
|
*/
|
|
@@ -9430,8 +9183,8 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
9430
9183
|
* @param {number} [page] Page number (default: 1)
|
|
9431
9184
|
* @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
|
|
9432
9185
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
9433
|
-
* @param {
|
|
9434
|
-
* @param {
|
|
9186
|
+
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
9187
|
+
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
9435
9188
|
* @param {*} [options] Override http request option.
|
|
9436
9189
|
* @throws {RequiredError}
|
|
9437
9190
|
*/
|
|
@@ -9499,8 +9252,8 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
9499
9252
|
* @param {number} [page] Page number (default: 1)
|
|
9500
9253
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9501
9254
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9502
|
-
* @param {
|
|
9503
|
-
* @param {
|
|
9255
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
|
|
9256
|
+
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
9504
9257
|
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
9505
9258
|
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
9506
9259
|
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
@@ -9575,8 +9328,8 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
9575
9328
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9576
9329
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9577
9330
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9578
|
-
* @param {
|
|
9579
|
-
* @param {
|
|
9331
|
+
* @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
9332
|
+
* @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
9580
9333
|
* @param {*} [options] Override http request option.
|
|
9581
9334
|
* @throws {RequiredError}
|
|
9582
9335
|
*/
|
|
@@ -9757,8 +9510,8 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
9757
9510
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9758
9511
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9759
9512
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9760
|
-
* @param {
|
|
9761
|
-
* @param {
|
|
9513
|
+
* @param {AdminBillingCreditLedgerGetSortByEnum} [sortBy] Field to sort by
|
|
9514
|
+
* @param {AdminBillingCreditLedgerGetSortOrderEnum} [sortOrder] Sort direction
|
|
9762
9515
|
* @param {*} [options] Override http request option.
|
|
9763
9516
|
* @throws {RequiredError}
|
|
9764
9517
|
* @memberof BillingDashboardApi
|
|
@@ -9776,8 +9529,8 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
9776
9529
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9777
9530
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9778
9531
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9779
|
-
* @param {
|
|
9780
|
-
* @param {
|
|
9532
|
+
* @param {AdminBillingCreditPurchasesGetSortByEnum} [sortBy] Field to sort by
|
|
9533
|
+
* @param {AdminBillingCreditPurchasesGetSortOrderEnum} [sortOrder] Sort direction
|
|
9781
9534
|
* @param {*} [options] Override http request option.
|
|
9782
9535
|
* @throws {RequiredError}
|
|
9783
9536
|
* @memberof BillingDashboardApi
|
|
@@ -9795,8 +9548,8 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
9795
9548
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9796
9549
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9797
9550
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
9798
|
-
* @param {
|
|
9799
|
-
* @param {
|
|
9551
|
+
* @param {AdminBillingCreditTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
9552
|
+
* @param {AdminBillingCreditTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
9800
9553
|
* @param {*} [options] Override http request option.
|
|
9801
9554
|
* @throws {RequiredError}
|
|
9802
9555
|
* @memberof BillingDashboardApi
|
|
@@ -9847,8 +9600,8 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
9847
9600
|
* @param {number} [page] Page number (default: 1)
|
|
9848
9601
|
* @param {number} [pageSize] Number of results per page (default: 20, max: 100) - alternative to limit
|
|
9849
9602
|
* @param {number} [limit] Number of results per page (default: 20, max: 100) - alternative to page_size
|
|
9850
|
-
* @param {
|
|
9851
|
-
* @param {
|
|
9603
|
+
* @param {AdminBillingInvoicesGetSortByEnum} [sortBy] Field to sort by
|
|
9604
|
+
* @param {AdminBillingInvoicesGetSortOrderEnum} [sortOrder] Sort direction
|
|
9852
9605
|
* @param {*} [options] Override http request option.
|
|
9853
9606
|
* @throws {RequiredError}
|
|
9854
9607
|
* @memberof BillingDashboardApi
|
|
@@ -9922,8 +9675,8 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
9922
9675
|
* @param {number} [page] Page number (default: 1)
|
|
9923
9676
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
9924
9677
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
9925
|
-
* @param {
|
|
9926
|
-
* @param {
|
|
9678
|
+
* @param {AdminBillingOrdersGetSortByEnum} [sortBy] Field to sort by
|
|
9679
|
+
* @param {AdminBillingOrdersGetSortOrderEnum} [sortOrder] Sort direction
|
|
9927
9680
|
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
9928
9681
|
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
9929
9682
|
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
@@ -10004,8 +9757,8 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
10004
9757
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
10005
9758
|
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
10006
9759
|
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
10007
|
-
* @param {
|
|
10008
|
-
* @param {
|
|
9760
|
+
* @param {AdminBillingPaymentTransactionsGetSortByEnum} [sortBy] Field to sort by
|
|
9761
|
+
* @param {AdminBillingPaymentTransactionsGetSortOrderEnum} [sortOrder] Sort direction
|
|
10009
9762
|
* @param {*} [options] Override http request option.
|
|
10010
9763
|
* @throws {RequiredError}
|
|
10011
9764
|
* @memberof BillingDashboardApi
|
|
@@ -10104,34 +9857,152 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
10104
9857
|
/**
|
|
10105
9858
|
* @export
|
|
10106
9859
|
*/
|
|
10107
|
-
export const
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
Month: 'month'
|
|
9860
|
+
export const AdminBillingCreditLedgerGetSortByEnum = {
|
|
9861
|
+
Id: 'id',
|
|
9862
|
+
Credits: 'credits',
|
|
9863
|
+
TransactionDate: 'transaction_date',
|
|
9864
|
+
TransactionType: 'transaction_type'
|
|
10113
9865
|
};
|
|
10114
9866
|
/**
|
|
10115
|
-
* CommonApi - axios parameter creator
|
|
10116
9867
|
* @export
|
|
10117
9868
|
*/
|
|
10118
|
-
export const
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
9869
|
+
export const AdminBillingCreditLedgerGetSortOrderEnum = {
|
|
9870
|
+
Asc: 'asc',
|
|
9871
|
+
Desc: 'desc',
|
|
9872
|
+
Asc2: 'ASC',
|
|
9873
|
+
Desc2: 'DESC'
|
|
9874
|
+
};
|
|
9875
|
+
/**
|
|
9876
|
+
* @export
|
|
9877
|
+
*/
|
|
9878
|
+
export const AdminBillingCreditPurchasesGetSortByEnum = {
|
|
9879
|
+
Id: 'id',
|
|
9880
|
+
Amount: 'amount',
|
|
9881
|
+
CreatedAt: 'created_at',
|
|
9882
|
+
CreditsPurchased: 'credits_purchased'
|
|
9883
|
+
};
|
|
9884
|
+
/**
|
|
9885
|
+
* @export
|
|
9886
|
+
*/
|
|
9887
|
+
export const AdminBillingCreditPurchasesGetSortOrderEnum = {
|
|
9888
|
+
Asc: 'asc',
|
|
9889
|
+
Desc: 'desc',
|
|
9890
|
+
Asc2: 'ASC',
|
|
9891
|
+
Desc2: 'DESC'
|
|
9892
|
+
};
|
|
9893
|
+
/**
|
|
9894
|
+
* @export
|
|
9895
|
+
*/
|
|
9896
|
+
export const AdminBillingCreditTransactionsGetSortByEnum = {
|
|
9897
|
+
Id: 'id',
|
|
9898
|
+
CreditsUsed: 'credits_used',
|
|
9899
|
+
TransactionDate: 'transaction_date',
|
|
9900
|
+
TransactionType: 'transaction_type'
|
|
9901
|
+
};
|
|
9902
|
+
/**
|
|
9903
|
+
* @export
|
|
9904
|
+
*/
|
|
9905
|
+
export const AdminBillingCreditTransactionsGetSortOrderEnum = {
|
|
9906
|
+
Asc: 'asc',
|
|
9907
|
+
Desc: 'desc',
|
|
9908
|
+
Asc2: 'ASC',
|
|
9909
|
+
Desc2: 'DESC'
|
|
9910
|
+
};
|
|
9911
|
+
/**
|
|
9912
|
+
* @export
|
|
9913
|
+
*/
|
|
9914
|
+
export const AdminBillingInvoicesGetSortByEnum = {
|
|
9915
|
+
Id: 'id',
|
|
9916
|
+
InvoiceId: 'invoice_id',
|
|
9917
|
+
InvoiceNumber: 'invoice_number',
|
|
9918
|
+
Amount: 'amount',
|
|
9919
|
+
TotalAmount: 'total_amount',
|
|
9920
|
+
CreatedAt: 'created_at',
|
|
9921
|
+
IssueDate: 'issue_date',
|
|
9922
|
+
DueDate: 'due_date',
|
|
9923
|
+
PaidDate: 'paid_date',
|
|
9924
|
+
Status: 'status'
|
|
9925
|
+
};
|
|
9926
|
+
/**
|
|
9927
|
+
* @export
|
|
9928
|
+
*/
|
|
9929
|
+
export const AdminBillingInvoicesGetSortOrderEnum = {
|
|
9930
|
+
Asc: 'asc',
|
|
9931
|
+
Desc: 'desc',
|
|
9932
|
+
Asc2: 'ASC',
|
|
9933
|
+
Desc2: 'DESC'
|
|
9934
|
+
};
|
|
9935
|
+
/**
|
|
9936
|
+
* @export
|
|
9937
|
+
*/
|
|
9938
|
+
export const AdminBillingOrdersGetSortByEnum = {
|
|
9939
|
+
Id: 'id',
|
|
9940
|
+
Amount: 'amount',
|
|
9941
|
+
CreatedAt: 'created_at',
|
|
9942
|
+
UpdatedAt: 'updated_at',
|
|
9943
|
+
Status: 'status'
|
|
9944
|
+
};
|
|
9945
|
+
/**
|
|
9946
|
+
* @export
|
|
9947
|
+
*/
|
|
9948
|
+
export const AdminBillingOrdersGetSortOrderEnum = {
|
|
9949
|
+
Asc: 'asc',
|
|
9950
|
+
Desc: 'desc',
|
|
9951
|
+
Asc2: 'ASC',
|
|
9952
|
+
Desc2: 'DESC'
|
|
9953
|
+
};
|
|
9954
|
+
/**
|
|
9955
|
+
* @export
|
|
9956
|
+
*/
|
|
9957
|
+
export const AdminBillingPaymentTransactionsGetSortByEnum = {
|
|
9958
|
+
PaymentId: 'payment_id',
|
|
9959
|
+
Amount: 'amount',
|
|
9960
|
+
PaymentDate: 'payment_date',
|
|
9961
|
+
CreatedAt: 'created_at',
|
|
9962
|
+
PaymentStatus: 'payment_status',
|
|
9963
|
+
Gateway: 'gateway',
|
|
9964
|
+
RefundAmount: 'refund_amount'
|
|
9965
|
+
};
|
|
9966
|
+
/**
|
|
9967
|
+
* @export
|
|
9968
|
+
*/
|
|
9969
|
+
export const AdminBillingPaymentTransactionsGetSortOrderEnum = {
|
|
9970
|
+
Asc: 'asc',
|
|
9971
|
+
Desc: 'desc',
|
|
9972
|
+
Asc2: 'ASC',
|
|
9973
|
+
Desc2: 'DESC'
|
|
9974
|
+
};
|
|
9975
|
+
/**
|
|
9976
|
+
* @export
|
|
9977
|
+
*/
|
|
9978
|
+
export const AdminBillingUsageDetailsGetGranularityEnum = {
|
|
9979
|
+
Minute: 'minute',
|
|
9980
|
+
Hour: 'hour',
|
|
9981
|
+
Day: 'day',
|
|
9982
|
+
Week: 'week',
|
|
9983
|
+
Month: 'month'
|
|
9984
|
+
};
|
|
9985
|
+
/**
|
|
9986
|
+
* CommonApi - axios parameter creator
|
|
9987
|
+
* @export
|
|
9988
|
+
*/
|
|
9989
|
+
export const CommonApiAxiosParamCreator = function (configuration) {
|
|
9990
|
+
return {
|
|
9991
|
+
/**
|
|
9992
|
+
* Retrieve list of supported languages for query suggestions with language codes, names, and locales
|
|
9993
|
+
* @summary Get Supported Languages
|
|
9994
|
+
* @param {*} [options] Override http request option.
|
|
9995
|
+
* @throws {RequiredError}
|
|
9996
|
+
*/
|
|
9997
|
+
v1CommonLanguagesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9998
|
+
const localVarPath = `/v1/common/languages`;
|
|
9999
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10000
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10001
|
+
let baseOptions;
|
|
10002
|
+
if (configuration) {
|
|
10003
|
+
baseOptions = configuration.baseOptions;
|
|
10004
|
+
}
|
|
10005
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10135
10006
|
const localVarHeaderParameter = {};
|
|
10136
10007
|
const localVarQueryParameter = {};
|
|
10137
10008
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14521,33 +14392,6 @@ export const LimitsApiAxiosParamCreator = function (configuration) {
|
|
|
14521
14392
|
options: localVarRequestOptions,
|
|
14522
14393
|
};
|
|
14523
14394
|
}),
|
|
14524
|
-
/**
|
|
14525
|
-
* Fetches list of all limits
|
|
14526
|
-
* @summary Fetches list of all limits
|
|
14527
|
-
* @param {*} [options] Override http request option.
|
|
14528
|
-
* @throws {RequiredError}
|
|
14529
|
-
*/
|
|
14530
|
-
miscLimitsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14531
|
-
const localVarPath = `/misc/limits`;
|
|
14532
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14533
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14534
|
-
let baseOptions;
|
|
14535
|
-
if (configuration) {
|
|
14536
|
-
baseOptions = configuration.baseOptions;
|
|
14537
|
-
}
|
|
14538
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14539
|
-
const localVarHeaderParameter = {};
|
|
14540
|
-
const localVarQueryParameter = {};
|
|
14541
|
-
// authentication BearerAuth required
|
|
14542
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
14543
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14544
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14545
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14546
|
-
return {
|
|
14547
|
-
url: toPathString(localVarUrlObj),
|
|
14548
|
-
options: localVarRequestOptions,
|
|
14549
|
-
};
|
|
14550
|
-
}),
|
|
14551
14395
|
/**
|
|
14552
14396
|
* Fetches limit by id
|
|
14553
14397
|
* @summary Fetches limit by id
|
|
@@ -14673,21 +14517,6 @@ export const LimitsApiFp = function (configuration) {
|
|
|
14673
14517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14674
14518
|
});
|
|
14675
14519
|
},
|
|
14676
|
-
/**
|
|
14677
|
-
* Fetches list of all limits
|
|
14678
|
-
* @summary Fetches list of all limits
|
|
14679
|
-
* @param {*} [options] Override http request option.
|
|
14680
|
-
* @throws {RequiredError}
|
|
14681
|
-
*/
|
|
14682
|
-
miscLimitsGet(options) {
|
|
14683
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14684
|
-
var _a, _b, _c;
|
|
14685
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscLimitsGet(options);
|
|
14686
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14687
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LimitsApi.miscLimitsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14688
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14689
|
-
});
|
|
14690
|
-
},
|
|
14691
14520
|
/**
|
|
14692
14521
|
* Fetches limit by id
|
|
14693
14522
|
* @summary Fetches limit by id
|
|
@@ -14757,15 +14586,6 @@ export const LimitsApiFactory = function (configuration, basePath, axios) {
|
|
|
14757
14586
|
miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
|
|
14758
14587
|
return localVarFp.miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(axios, basePath));
|
|
14759
14588
|
},
|
|
14760
|
-
/**
|
|
14761
|
-
* Fetches list of all limits
|
|
14762
|
-
* @summary Fetches list of all limits
|
|
14763
|
-
* @param {*} [options] Override http request option.
|
|
14764
|
-
* @throws {RequiredError}
|
|
14765
|
-
*/
|
|
14766
|
-
miscLimitsGet(options) {
|
|
14767
|
-
return localVarFp.miscLimitsGet(options).then((request) => request(axios, basePath));
|
|
14768
|
-
},
|
|
14769
14589
|
/**
|
|
14770
14590
|
* Fetches limit by id
|
|
14771
14591
|
* @summary Fetches limit by id
|
|
@@ -14818,16 +14638,6 @@ export class LimitsApi extends BaseAPI {
|
|
|
14818
14638
|
miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
|
|
14819
14639
|
return LimitsApiFp(this.configuration).miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(this.axios, this.basePath));
|
|
14820
14640
|
}
|
|
14821
|
-
/**
|
|
14822
|
-
* Fetches list of all limits
|
|
14823
|
-
* @summary Fetches list of all limits
|
|
14824
|
-
* @param {*} [options] Override http request option.
|
|
14825
|
-
* @throws {RequiredError}
|
|
14826
|
-
* @memberof LimitsApi
|
|
14827
|
-
*/
|
|
14828
|
-
miscLimitsGet(options) {
|
|
14829
|
-
return LimitsApiFp(this.configuration).miscLimitsGet(options).then((request) => request(this.axios, this.basePath));
|
|
14830
|
-
}
|
|
14831
14641
|
/**
|
|
14832
14642
|
* Fetches limit by id
|
|
14833
14643
|
* @summary Fetches limit by id
|
|
@@ -14869,33 +14679,6 @@ export class LimitsApi extends BaseAPI {
|
|
|
14869
14679
|
*/
|
|
14870
14680
|
export const MenusApiAxiosParamCreator = function (configuration) {
|
|
14871
14681
|
return {
|
|
14872
|
-
/**
|
|
14873
|
-
* Fetches list of all menus
|
|
14874
|
-
* @summary Fetches list of all menus
|
|
14875
|
-
* @param {*} [options] Override http request option.
|
|
14876
|
-
* @throws {RequiredError}
|
|
14877
|
-
*/
|
|
14878
|
-
miscMenusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14879
|
-
const localVarPath = `/misc/menus`;
|
|
14880
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14881
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14882
|
-
let baseOptions;
|
|
14883
|
-
if (configuration) {
|
|
14884
|
-
baseOptions = configuration.baseOptions;
|
|
14885
|
-
}
|
|
14886
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14887
|
-
const localVarHeaderParameter = {};
|
|
14888
|
-
const localVarQueryParameter = {};
|
|
14889
|
-
// authentication BearerAuth required
|
|
14890
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
14891
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14892
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14893
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14894
|
-
return {
|
|
14895
|
-
url: toPathString(localVarUrlObj),
|
|
14896
|
-
options: localVarRequestOptions,
|
|
14897
|
-
};
|
|
14898
|
-
}),
|
|
14899
14682
|
/**
|
|
14900
14683
|
* Deletes a menu from the system by ID.
|
|
14901
14684
|
* @summary Delete a menu
|
|
@@ -15346,21 +15129,6 @@ export const MenusApiAxiosParamCreator = function (configuration) {
|
|
|
15346
15129
|
export const MenusApiFp = function (configuration) {
|
|
15347
15130
|
const localVarAxiosParamCreator = MenusApiAxiosParamCreator(configuration);
|
|
15348
15131
|
return {
|
|
15349
|
-
/**
|
|
15350
|
-
* Fetches list of all menus
|
|
15351
|
-
* @summary Fetches list of all menus
|
|
15352
|
-
* @param {*} [options] Override http request option.
|
|
15353
|
-
* @throws {RequiredError}
|
|
15354
|
-
*/
|
|
15355
|
-
miscMenusGet(options) {
|
|
15356
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15357
|
-
var _a, _b, _c;
|
|
15358
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscMenusGet(options);
|
|
15359
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15360
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MenusApi.miscMenusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15361
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15362
|
-
});
|
|
15363
|
-
},
|
|
15364
15132
|
/**
|
|
15365
15133
|
* Deletes a menu from the system by ID.
|
|
15366
15134
|
* @summary Delete a menu
|
|
@@ -15586,15 +15354,6 @@ export const MenusApiFp = function (configuration) {
|
|
|
15586
15354
|
export const MenusApiFactory = function (configuration, basePath, axios) {
|
|
15587
15355
|
const localVarFp = MenusApiFp(configuration);
|
|
15588
15356
|
return {
|
|
15589
|
-
/**
|
|
15590
|
-
* Fetches list of all menus
|
|
15591
|
-
* @summary Fetches list of all menus
|
|
15592
|
-
* @param {*} [options] Override http request option.
|
|
15593
|
-
* @throws {RequiredError}
|
|
15594
|
-
*/
|
|
15595
|
-
miscMenusGet(options) {
|
|
15596
|
-
return localVarFp.miscMenusGet(options).then((request) => request(axios, basePath));
|
|
15597
|
-
},
|
|
15598
15357
|
/**
|
|
15599
15358
|
* Deletes a menu from the system by ID.
|
|
15600
15359
|
* @summary Delete a menu
|
|
@@ -15742,16 +15501,6 @@ export const MenusApiFactory = function (configuration, basePath, axios) {
|
|
|
15742
15501
|
* @extends {BaseAPI}
|
|
15743
15502
|
*/
|
|
15744
15503
|
export class MenusApi extends BaseAPI {
|
|
15745
|
-
/**
|
|
15746
|
-
* Fetches list of all menus
|
|
15747
|
-
* @summary Fetches list of all menus
|
|
15748
|
-
* @param {*} [options] Override http request option.
|
|
15749
|
-
* @throws {RequiredError}
|
|
15750
|
-
* @memberof MenusApi
|
|
15751
|
-
*/
|
|
15752
|
-
miscMenusGet(options) {
|
|
15753
|
-
return MenusApiFp(this.configuration).miscMenusGet(options).then((request) => request(this.axios, this.basePath));
|
|
15754
|
-
}
|
|
15755
15504
|
/**
|
|
15756
15505
|
* Deletes a menu from the system by ID.
|
|
15757
15506
|
* @summary Delete a menu
|
|
@@ -16723,33 +16472,6 @@ export class MongoDbApi extends BaseAPI {
|
|
|
16723
16472
|
*/
|
|
16724
16473
|
export const NewsLettersApiAxiosParamCreator = function (configuration) {
|
|
16725
16474
|
return {
|
|
16726
|
-
/**
|
|
16727
|
-
* Fetches list of all NewsLetterSubscription
|
|
16728
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
16729
|
-
* @param {*} [options] Override http request option.
|
|
16730
|
-
* @throws {RequiredError}
|
|
16731
|
-
*/
|
|
16732
|
-
miscNewsLettersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
16733
|
-
const localVarPath = `/misc/NewsLetters`;
|
|
16734
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16735
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16736
|
-
let baseOptions;
|
|
16737
|
-
if (configuration) {
|
|
16738
|
-
baseOptions = configuration.baseOptions;
|
|
16739
|
-
}
|
|
16740
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16741
|
-
const localVarHeaderParameter = {};
|
|
16742
|
-
const localVarQueryParameter = {};
|
|
16743
|
-
// authentication BearerAuth required
|
|
16744
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16745
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16746
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16747
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16748
|
-
return {
|
|
16749
|
-
url: toPathString(localVarUrlObj),
|
|
16750
|
-
options: localVarRequestOptions,
|
|
16751
|
-
};
|
|
16752
|
-
}),
|
|
16753
16475
|
/**
|
|
16754
16476
|
* Fetches NewsLetterSubscription by id
|
|
16755
16477
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -16893,21 +16615,6 @@ export const NewsLettersApiAxiosParamCreator = function (configuration) {
|
|
|
16893
16615
|
export const NewsLettersApiFp = function (configuration) {
|
|
16894
16616
|
const localVarAxiosParamCreator = NewsLettersApiAxiosParamCreator(configuration);
|
|
16895
16617
|
return {
|
|
16896
|
-
/**
|
|
16897
|
-
* Fetches list of all NewsLetterSubscription
|
|
16898
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
16899
|
-
* @param {*} [options] Override http request option.
|
|
16900
|
-
* @throws {RequiredError}
|
|
16901
|
-
*/
|
|
16902
|
-
miscNewsLettersGet(options) {
|
|
16903
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
16904
|
-
var _a, _b, _c;
|
|
16905
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscNewsLettersGet(options);
|
|
16906
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16907
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NewsLettersApi.miscNewsLettersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16908
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16909
|
-
});
|
|
16910
|
-
},
|
|
16911
16618
|
/**
|
|
16912
16619
|
* Fetches NewsLetterSubscription by id
|
|
16913
16620
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -16983,15 +16690,6 @@ export const NewsLettersApiFp = function (configuration) {
|
|
|
16983
16690
|
export const NewsLettersApiFactory = function (configuration, basePath, axios) {
|
|
16984
16691
|
const localVarFp = NewsLettersApiFp(configuration);
|
|
16985
16692
|
return {
|
|
16986
|
-
/**
|
|
16987
|
-
* Fetches list of all NewsLetterSubscription
|
|
16988
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
16989
|
-
* @param {*} [options] Override http request option.
|
|
16990
|
-
* @throws {RequiredError}
|
|
16991
|
-
*/
|
|
16992
|
-
miscNewsLettersGet(options) {
|
|
16993
|
-
return localVarFp.miscNewsLettersGet(options).then((request) => request(axios, basePath));
|
|
16994
|
-
},
|
|
16995
16693
|
/**
|
|
16996
16694
|
* Fetches NewsLetterSubscription by id
|
|
16997
16695
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -17043,16 +16741,6 @@ export const NewsLettersApiFactory = function (configuration, basePath, axios) {
|
|
|
17043
16741
|
* @extends {BaseAPI}
|
|
17044
16742
|
*/
|
|
17045
16743
|
export class NewsLettersApi extends BaseAPI {
|
|
17046
|
-
/**
|
|
17047
|
-
* Fetches list of all NewsLetterSubscription
|
|
17048
|
-
* @summary Fetches list of all NewsLetterSubscription
|
|
17049
|
-
* @param {*} [options] Override http request option.
|
|
17050
|
-
* @throws {RequiredError}
|
|
17051
|
-
* @memberof NewsLettersApi
|
|
17052
|
-
*/
|
|
17053
|
-
miscNewsLettersGet(options) {
|
|
17054
|
-
return NewsLettersApiFp(this.configuration).miscNewsLettersGet(options).then((request) => request(this.axios, this.basePath));
|
|
17055
|
-
}
|
|
17056
16744
|
/**
|
|
17057
16745
|
* Fetches NewsLetterSubscription by id
|
|
17058
16746
|
* @summary Fetches NewsLetterSubscription by id
|
|
@@ -17737,33 +17425,6 @@ export class OnboardingApi extends BaseAPI {
|
|
|
17737
17425
|
*/
|
|
17738
17426
|
export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
17739
17427
|
return {
|
|
17740
|
-
/**
|
|
17741
|
-
* Fetches list of all Organizations
|
|
17742
|
-
* @summary Fetches list of all Organizations
|
|
17743
|
-
* @param {*} [options] Override http request option.
|
|
17744
|
-
* @throws {RequiredError}
|
|
17745
|
-
*/
|
|
17746
|
-
adminOrganizationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
17747
|
-
const localVarPath = `/admin/Organizations`;
|
|
17748
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17749
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17750
|
-
let baseOptions;
|
|
17751
|
-
if (configuration) {
|
|
17752
|
-
baseOptions = configuration.baseOptions;
|
|
17753
|
-
}
|
|
17754
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17755
|
-
const localVarHeaderParameter = {};
|
|
17756
|
-
const localVarQueryParameter = {};
|
|
17757
|
-
// authentication BearerAuth required
|
|
17758
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
17759
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17760
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17761
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17762
|
-
return {
|
|
17763
|
-
url: toPathString(localVarUrlObj),
|
|
17764
|
-
options: localVarRequestOptions,
|
|
17765
|
-
};
|
|
17766
|
-
}),
|
|
17767
17428
|
/**
|
|
17768
17429
|
* Updates Orgnization information by ID.
|
|
17769
17430
|
* @summary Update an existing Orgnization
|
|
@@ -17907,21 +17568,6 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
17907
17568
|
export const OrganizationsApiFp = function (configuration) {
|
|
17908
17569
|
const localVarAxiosParamCreator = OrganizationsApiAxiosParamCreator(configuration);
|
|
17909
17570
|
return {
|
|
17910
|
-
/**
|
|
17911
|
-
* Fetches list of all Organizations
|
|
17912
|
-
* @summary Fetches list of all Organizations
|
|
17913
|
-
* @param {*} [options] Override http request option.
|
|
17914
|
-
* @throws {RequiredError}
|
|
17915
|
-
*/
|
|
17916
|
-
adminOrganizationsGet(options) {
|
|
17917
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17918
|
-
var _a, _b, _c;
|
|
17919
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminOrganizationsGet(options);
|
|
17920
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17921
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.adminOrganizationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17922
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17923
|
-
});
|
|
17924
|
-
},
|
|
17925
17571
|
/**
|
|
17926
17572
|
* Updates Orgnization information by ID.
|
|
17927
17573
|
* @summary Update an existing Orgnization
|
|
@@ -17997,15 +17643,6 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
17997
17643
|
export const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
17998
17644
|
const localVarFp = OrganizationsApiFp(configuration);
|
|
17999
17645
|
return {
|
|
18000
|
-
/**
|
|
18001
|
-
* Fetches list of all Organizations
|
|
18002
|
-
* @summary Fetches list of all Organizations
|
|
18003
|
-
* @param {*} [options] Override http request option.
|
|
18004
|
-
* @throws {RequiredError}
|
|
18005
|
-
*/
|
|
18006
|
-
adminOrganizationsGet(options) {
|
|
18007
|
-
return localVarFp.adminOrganizationsGet(options).then((request) => request(axios, basePath));
|
|
18008
|
-
},
|
|
18009
17646
|
/**
|
|
18010
17647
|
* Updates Orgnization information by ID.
|
|
18011
17648
|
* @summary Update an existing Orgnization
|
|
@@ -18058,20 +17695,10 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
18058
17695
|
*/
|
|
18059
17696
|
export class OrganizationsApi extends BaseAPI {
|
|
18060
17697
|
/**
|
|
18061
|
-
*
|
|
18062
|
-
* @summary
|
|
18063
|
-
* @param {
|
|
18064
|
-
* @
|
|
18065
|
-
* @memberof OrganizationsApi
|
|
18066
|
-
*/
|
|
18067
|
-
adminOrganizationsGet(options) {
|
|
18068
|
-
return OrganizationsApiFp(this.configuration).adminOrganizationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
18069
|
-
}
|
|
18070
|
-
/**
|
|
18071
|
-
* Updates Orgnization information by ID.
|
|
18072
|
-
* @summary Update an existing Orgnization
|
|
18073
|
-
* @param {number} id Org Id
|
|
18074
|
-
* @param {DataTypesCreateOrganizationRequest} dataTypesCreateOrganizationRequest Organization data to update
|
|
17698
|
+
* Updates Orgnization information by ID.
|
|
17699
|
+
* @summary Update an existing Orgnization
|
|
17700
|
+
* @param {number} id Org Id
|
|
17701
|
+
* @param {DataTypesCreateOrganizationRequest} dataTypesCreateOrganizationRequest Organization data to update
|
|
18075
17702
|
* @param {*} [options] Override http request option.
|
|
18076
17703
|
* @throws {RequiredError}
|
|
18077
17704
|
* @memberof OrganizationsApi
|
|
@@ -19487,33 +19114,6 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
19487
19114
|
*/
|
|
19488
19115
|
export const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
19489
19116
|
return {
|
|
19490
|
-
/**
|
|
19491
|
-
* Fetches list of all payments
|
|
19492
|
-
* @summary Fetches list of all payments
|
|
19493
|
-
* @param {*} [options] Override http request option.
|
|
19494
|
-
* @throws {RequiredError}
|
|
19495
|
-
*/
|
|
19496
|
-
adminPaymentsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
19497
|
-
const localVarPath = `/admin/payments/`;
|
|
19498
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19499
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19500
|
-
let baseOptions;
|
|
19501
|
-
if (configuration) {
|
|
19502
|
-
baseOptions = configuration.baseOptions;
|
|
19503
|
-
}
|
|
19504
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
19505
|
-
const localVarHeaderParameter = {};
|
|
19506
|
-
const localVarQueryParameter = {};
|
|
19507
|
-
// authentication BearerAuth required
|
|
19508
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
19509
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19510
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19511
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19512
|
-
return {
|
|
19513
|
-
url: toPathString(localVarUrlObj),
|
|
19514
|
-
options: localVarRequestOptions,
|
|
19515
|
-
};
|
|
19516
|
-
}),
|
|
19517
19117
|
/**
|
|
19518
19118
|
* Deletes a payment from the system by ID.
|
|
19519
19119
|
* @summary Delete a payment
|
|
@@ -19653,21 +19253,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
19653
19253
|
export const PaymentsApiFp = function (configuration) {
|
|
19654
19254
|
const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration);
|
|
19655
19255
|
return {
|
|
19656
|
-
/**
|
|
19657
|
-
* Fetches list of all payments
|
|
19658
|
-
* @summary Fetches list of all payments
|
|
19659
|
-
* @param {*} [options] Override http request option.
|
|
19660
|
-
* @throws {RequiredError}
|
|
19661
|
-
*/
|
|
19662
|
-
adminPaymentsGet(options) {
|
|
19663
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19664
|
-
var _a, _b, _c;
|
|
19665
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentsGet(options);
|
|
19666
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19667
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentsApi.adminPaymentsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19668
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19669
|
-
});
|
|
19670
|
-
},
|
|
19671
19256
|
/**
|
|
19672
19257
|
* Deletes a payment from the system by ID.
|
|
19673
19258
|
* @summary Delete a payment
|
|
@@ -19742,15 +19327,6 @@ export const PaymentsApiFp = function (configuration) {
|
|
|
19742
19327
|
export const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
19743
19328
|
const localVarFp = PaymentsApiFp(configuration);
|
|
19744
19329
|
return {
|
|
19745
|
-
/**
|
|
19746
|
-
* Fetches list of all payments
|
|
19747
|
-
* @summary Fetches list of all payments
|
|
19748
|
-
* @param {*} [options] Override http request option.
|
|
19749
|
-
* @throws {RequiredError}
|
|
19750
|
-
*/
|
|
19751
|
-
adminPaymentsGet(options) {
|
|
19752
|
-
return localVarFp.adminPaymentsGet(options).then((request) => request(axios, basePath));
|
|
19753
|
-
},
|
|
19754
19330
|
/**
|
|
19755
19331
|
* Deletes a payment from the system by ID.
|
|
19756
19332
|
* @summary Delete a payment
|
|
@@ -19801,16 +19377,6 @@ export const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
19801
19377
|
* @extends {BaseAPI}
|
|
19802
19378
|
*/
|
|
19803
19379
|
export class PaymentsApi extends BaseAPI {
|
|
19804
|
-
/**
|
|
19805
|
-
* Fetches list of all payments
|
|
19806
|
-
* @summary Fetches list of all payments
|
|
19807
|
-
* @param {*} [options] Override http request option.
|
|
19808
|
-
* @throws {RequiredError}
|
|
19809
|
-
* @memberof PaymentsApi
|
|
19810
|
-
*/
|
|
19811
|
-
adminPaymentsGet(options) {
|
|
19812
|
-
return PaymentsApiFp(this.configuration).adminPaymentsGet(options).then((request) => request(this.axios, this.basePath));
|
|
19813
|
-
}
|
|
19814
19380
|
/**
|
|
19815
19381
|
* Deletes a payment from the system by ID.
|
|
19816
19382
|
* @summary Delete a payment
|
|
@@ -19863,33 +19429,6 @@ export class PaymentsApi extends BaseAPI {
|
|
|
19863
19429
|
*/
|
|
19864
19430
|
export const PlansApiAxiosParamCreator = function (configuration) {
|
|
19865
19431
|
return {
|
|
19866
|
-
/**
|
|
19867
|
-
* Fetches list of all Plans
|
|
19868
|
-
* @summary Fetches list of all Plans
|
|
19869
|
-
* @param {*} [options] Override http request option.
|
|
19870
|
-
* @throws {RequiredError}
|
|
19871
|
-
*/
|
|
19872
|
-
miscPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
19873
|
-
const localVarPath = `/misc/Plans`;
|
|
19874
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19875
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19876
|
-
let baseOptions;
|
|
19877
|
-
if (configuration) {
|
|
19878
|
-
baseOptions = configuration.baseOptions;
|
|
19879
|
-
}
|
|
19880
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
19881
|
-
const localVarHeaderParameter = {};
|
|
19882
|
-
const localVarQueryParameter = {};
|
|
19883
|
-
// authentication BearerAuth required
|
|
19884
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
19885
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19886
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19887
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19888
|
-
return {
|
|
19889
|
-
url: toPathString(localVarUrlObj),
|
|
19890
|
-
options: localVarRequestOptions,
|
|
19891
|
-
};
|
|
19892
|
-
}),
|
|
19893
19432
|
/**
|
|
19894
19433
|
* Fetches plan by id
|
|
19895
19434
|
* @summary Fetches plan by id
|
|
@@ -20033,21 +19572,6 @@ export const PlansApiAxiosParamCreator = function (configuration) {
|
|
|
20033
19572
|
export const PlansApiFp = function (configuration) {
|
|
20034
19573
|
const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration);
|
|
20035
19574
|
return {
|
|
20036
|
-
/**
|
|
20037
|
-
* Fetches list of all Plans
|
|
20038
|
-
* @summary Fetches list of all Plans
|
|
20039
|
-
* @param {*} [options] Override http request option.
|
|
20040
|
-
* @throws {RequiredError}
|
|
20041
|
-
*/
|
|
20042
|
-
miscPlansGet(options) {
|
|
20043
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
20044
|
-
var _a, _b, _c;
|
|
20045
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscPlansGet(options);
|
|
20046
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20047
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlansApi.miscPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20048
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20049
|
-
});
|
|
20050
|
-
},
|
|
20051
19575
|
/**
|
|
20052
19576
|
* Fetches plan by id
|
|
20053
19577
|
* @summary Fetches plan by id
|
|
@@ -20123,15 +19647,6 @@ export const PlansApiFp = function (configuration) {
|
|
|
20123
19647
|
export const PlansApiFactory = function (configuration, basePath, axios) {
|
|
20124
19648
|
const localVarFp = PlansApiFp(configuration);
|
|
20125
19649
|
return {
|
|
20126
|
-
/**
|
|
20127
|
-
* Fetches list of all Plans
|
|
20128
|
-
* @summary Fetches list of all Plans
|
|
20129
|
-
* @param {*} [options] Override http request option.
|
|
20130
|
-
* @throws {RequiredError}
|
|
20131
|
-
*/
|
|
20132
|
-
miscPlansGet(options) {
|
|
20133
|
-
return localVarFp.miscPlansGet(options).then((request) => request(axios, basePath));
|
|
20134
|
-
},
|
|
20135
19650
|
/**
|
|
20136
19651
|
* Fetches plan by id
|
|
20137
19652
|
* @summary Fetches plan by id
|
|
@@ -20183,16 +19698,6 @@ export const PlansApiFactory = function (configuration, basePath, axios) {
|
|
|
20183
19698
|
* @extends {BaseAPI}
|
|
20184
19699
|
*/
|
|
20185
19700
|
export class PlansApi extends BaseAPI {
|
|
20186
|
-
/**
|
|
20187
|
-
* Fetches list of all Plans
|
|
20188
|
-
* @summary Fetches list of all Plans
|
|
20189
|
-
* @param {*} [options] Override http request option.
|
|
20190
|
-
* @throws {RequiredError}
|
|
20191
|
-
* @memberof PlansApi
|
|
20192
|
-
*/
|
|
20193
|
-
miscPlansGet(options) {
|
|
20194
|
-
return PlansApiFp(this.configuration).miscPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
20195
|
-
}
|
|
20196
19701
|
/**
|
|
20197
19702
|
* Fetches plan by id
|
|
20198
19703
|
* @summary Fetches plan by id
|
|
@@ -24773,33 +24278,6 @@ export class RegisterApi extends BaseAPI {
|
|
|
24773
24278
|
*/
|
|
24774
24279
|
export const RequestsApiAxiosParamCreator = function (configuration) {
|
|
24775
24280
|
return {
|
|
24776
|
-
/**
|
|
24777
|
-
* Fetches list of all ServiceRequest
|
|
24778
|
-
* @summary Fetches list of all ServiceRequest
|
|
24779
|
-
* @param {*} [options] Override http request option.
|
|
24780
|
-
* @throws {RequiredError}
|
|
24781
|
-
*/
|
|
24782
|
-
miscRequestsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
24783
|
-
const localVarPath = `/misc/Requests`;
|
|
24784
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24785
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24786
|
-
let baseOptions;
|
|
24787
|
-
if (configuration) {
|
|
24788
|
-
baseOptions = configuration.baseOptions;
|
|
24789
|
-
}
|
|
24790
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
24791
|
-
const localVarHeaderParameter = {};
|
|
24792
|
-
const localVarQueryParameter = {};
|
|
24793
|
-
// authentication BearerAuth required
|
|
24794
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
24795
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24796
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24797
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24798
|
-
return {
|
|
24799
|
-
url: toPathString(localVarUrlObj),
|
|
24800
|
-
options: localVarRequestOptions,
|
|
24801
|
-
};
|
|
24802
|
-
}),
|
|
24803
24281
|
/**
|
|
24804
24282
|
* Updates ServiceRequest information by ID.
|
|
24805
24283
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -24974,21 +24452,6 @@ export const RequestsApiAxiosParamCreator = function (configuration) {
|
|
|
24974
24452
|
export const RequestsApiFp = function (configuration) {
|
|
24975
24453
|
const localVarAxiosParamCreator = RequestsApiAxiosParamCreator(configuration);
|
|
24976
24454
|
return {
|
|
24977
|
-
/**
|
|
24978
|
-
* Fetches list of all ServiceRequest
|
|
24979
|
-
* @summary Fetches list of all ServiceRequest
|
|
24980
|
-
* @param {*} [options] Override http request option.
|
|
24981
|
-
* @throws {RequiredError}
|
|
24982
|
-
*/
|
|
24983
|
-
miscRequestsGet(options) {
|
|
24984
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24985
|
-
var _a, _b, _c;
|
|
24986
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsGet(options);
|
|
24987
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24988
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RequestsApi.miscRequestsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24989
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24990
|
-
});
|
|
24991
|
-
},
|
|
24992
24455
|
/**
|
|
24993
24456
|
* Updates ServiceRequest information by ID.
|
|
24994
24457
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -25080,15 +24543,6 @@ export const RequestsApiFp = function (configuration) {
|
|
|
25080
24543
|
export const RequestsApiFactory = function (configuration, basePath, axios) {
|
|
25081
24544
|
const localVarFp = RequestsApiFp(configuration);
|
|
25082
24545
|
return {
|
|
25083
|
-
/**
|
|
25084
|
-
* Fetches list of all ServiceRequest
|
|
25085
|
-
* @summary Fetches list of all ServiceRequest
|
|
25086
|
-
* @param {*} [options] Override http request option.
|
|
25087
|
-
* @throws {RequiredError}
|
|
25088
|
-
*/
|
|
25089
|
-
miscRequestsGet(options) {
|
|
25090
|
-
return localVarFp.miscRequestsGet(options).then((request) => request(axios, basePath));
|
|
25091
|
-
},
|
|
25092
24546
|
/**
|
|
25093
24547
|
* Updates ServiceRequest information by ID.
|
|
25094
24548
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -25150,16 +24604,6 @@ export const RequestsApiFactory = function (configuration, basePath, axios) {
|
|
|
25150
24604
|
* @extends {BaseAPI}
|
|
25151
24605
|
*/
|
|
25152
24606
|
export class RequestsApi extends BaseAPI {
|
|
25153
|
-
/**
|
|
25154
|
-
* Fetches list of all ServiceRequest
|
|
25155
|
-
* @summary Fetches list of all ServiceRequest
|
|
25156
|
-
* @param {*} [options] Override http request option.
|
|
25157
|
-
* @throws {RequiredError}
|
|
25158
|
-
* @memberof RequestsApi
|
|
25159
|
-
*/
|
|
25160
|
-
miscRequestsGet(options) {
|
|
25161
|
-
return RequestsApiFp(this.configuration).miscRequestsGet(options).then((request) => request(this.axios, this.basePath));
|
|
25162
|
-
}
|
|
25163
24607
|
/**
|
|
25164
24608
|
* Updates ServiceRequest information by ID.
|
|
25165
24609
|
* @summary Deletes an existing ServiceRequest
|
|
@@ -25256,33 +24700,6 @@ export const RoleRightsApiAxiosParamCreator = function (configuration) {
|
|
|
25256
24700
|
options: localVarRequestOptions,
|
|
25257
24701
|
};
|
|
25258
24702
|
}),
|
|
25259
|
-
/**
|
|
25260
|
-
* Fetches list of all roleright
|
|
25261
|
-
* @summary Fetches list of all roleright
|
|
25262
|
-
* @param {*} [options] Override http request option.
|
|
25263
|
-
* @throws {RequiredError}
|
|
25264
|
-
*/
|
|
25265
|
-
adminRolerightsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
25266
|
-
const localVarPath = `/admin/rolerights`;
|
|
25267
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25268
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25269
|
-
let baseOptions;
|
|
25270
|
-
if (configuration) {
|
|
25271
|
-
baseOptions = configuration.baseOptions;
|
|
25272
|
-
}
|
|
25273
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25274
|
-
const localVarHeaderParameter = {};
|
|
25275
|
-
const localVarQueryParameter = {};
|
|
25276
|
-
// authentication BearerAuth required
|
|
25277
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25278
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25279
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25280
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25281
|
-
return {
|
|
25282
|
-
url: toPathString(localVarUrlObj),
|
|
25283
|
-
options: localVarRequestOptions,
|
|
25284
|
-
};
|
|
25285
|
-
}),
|
|
25286
24703
|
/**
|
|
25287
24704
|
* Fetches roleright by role id
|
|
25288
24705
|
* @summary Fetches roleright by role id
|
|
@@ -25500,21 +24917,6 @@ export const RoleRightsApiFp = function (configuration) {
|
|
|
25500
24917
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25501
24918
|
});
|
|
25502
24919
|
},
|
|
25503
|
-
/**
|
|
25504
|
-
* Fetches list of all roleright
|
|
25505
|
-
* @summary Fetches list of all roleright
|
|
25506
|
-
* @param {*} [options] Override http request option.
|
|
25507
|
-
* @throws {RequiredError}
|
|
25508
|
-
*/
|
|
25509
|
-
adminRolerightsGet(options) {
|
|
25510
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
25511
|
-
var _a, _b, _c;
|
|
25512
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolerightsGet(options);
|
|
25513
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25514
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RoleRightsApi.adminRolerightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25515
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25516
|
-
});
|
|
25517
|
-
},
|
|
25518
24920
|
/**
|
|
25519
24921
|
* Fetches roleright by role id
|
|
25520
24922
|
* @summary Fetches roleright by role id
|
|
@@ -25631,15 +25033,6 @@ export const RoleRightsApiFactory = function (configuration, basePath, axios) {
|
|
|
25631
25033
|
adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
|
|
25632
25034
|
return localVarFp.adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(axios, basePath));
|
|
25633
25035
|
},
|
|
25634
|
-
/**
|
|
25635
|
-
* Fetches list of all roleright
|
|
25636
|
-
* @summary Fetches list of all roleright
|
|
25637
|
-
* @param {*} [options] Override http request option.
|
|
25638
|
-
* @throws {RequiredError}
|
|
25639
|
-
*/
|
|
25640
|
-
adminRolerightsGet(options) {
|
|
25641
|
-
return localVarFp.adminRolerightsGet(options).then((request) => request(axios, basePath));
|
|
25642
|
-
},
|
|
25643
25036
|
/**
|
|
25644
25037
|
* Fetches roleright by role id
|
|
25645
25038
|
* @summary Fetches roleright by role id
|
|
@@ -25721,16 +25114,6 @@ export class RoleRightsApi extends BaseAPI {
|
|
|
25721
25114
|
adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
|
|
25722
25115
|
return RoleRightsApiFp(this.configuration).adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
25723
25116
|
}
|
|
25724
|
-
/**
|
|
25725
|
-
* Fetches list of all roleright
|
|
25726
|
-
* @summary Fetches list of all roleright
|
|
25727
|
-
* @param {*} [options] Override http request option.
|
|
25728
|
-
* @throws {RequiredError}
|
|
25729
|
-
* @memberof RoleRightsApi
|
|
25730
|
-
*/
|
|
25731
|
-
adminRolerightsGet(options) {
|
|
25732
|
-
return RoleRightsApiFp(this.configuration).adminRolerightsGet(options).then((request) => request(this.axios, this.basePath));
|
|
25733
|
-
}
|
|
25734
25117
|
/**
|
|
25735
25118
|
* Fetches roleright by role id
|
|
25736
25119
|
* @summary Fetches roleright by role id
|
|
@@ -25872,37 +25255,6 @@ export const RolesApiAxiosParamCreator = function (configuration) {
|
|
|
25872
25255
|
options: localVarRequestOptions,
|
|
25873
25256
|
};
|
|
25874
25257
|
}),
|
|
25875
|
-
/**
|
|
25876
|
-
* Fetches list of all roles
|
|
25877
|
-
* @summary Fetches list of all roles
|
|
25878
|
-
* @param {number} orgId Org ID
|
|
25879
|
-
* @param {*} [options] Override http request option.
|
|
25880
|
-
* @throws {RequiredError}
|
|
25881
|
-
*/
|
|
25882
|
-
adminRolesOrgIdGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
25883
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
25884
|
-
assertParamExists('adminRolesOrgIdGet', 'orgId', orgId);
|
|
25885
|
-
const localVarPath = `/admin/roles/{OrgId}`
|
|
25886
|
-
.replace(`{${"OrgId"}}`, encodeURIComponent(String(orgId)));
|
|
25887
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25888
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25889
|
-
let baseOptions;
|
|
25890
|
-
if (configuration) {
|
|
25891
|
-
baseOptions = configuration.baseOptions;
|
|
25892
|
-
}
|
|
25893
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25894
|
-
const localVarHeaderParameter = {};
|
|
25895
|
-
const localVarQueryParameter = {};
|
|
25896
|
-
// authentication BearerAuth required
|
|
25897
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25898
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25899
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25900
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25901
|
-
return {
|
|
25902
|
-
url: toPathString(localVarUrlObj),
|
|
25903
|
-
options: localVarRequestOptions,
|
|
25904
|
-
};
|
|
25905
|
-
}),
|
|
25906
25258
|
/**
|
|
25907
25259
|
* Fetches role by id
|
|
25908
25260
|
* @summary Fetches role by id
|
|
@@ -26012,22 +25364,6 @@ export const RolesApiFp = function (configuration) {
|
|
|
26012
25364
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26013
25365
|
});
|
|
26014
25366
|
},
|
|
26015
|
-
/**
|
|
26016
|
-
* Fetches list of all roles
|
|
26017
|
-
* @summary Fetches list of all roles
|
|
26018
|
-
* @param {number} orgId Org ID
|
|
26019
|
-
* @param {*} [options] Override http request option.
|
|
26020
|
-
* @throws {RequiredError}
|
|
26021
|
-
*/
|
|
26022
|
-
adminRolesOrgIdGet(orgId, options) {
|
|
26023
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
26024
|
-
var _a, _b, _c;
|
|
26025
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolesOrgIdGet(orgId, options);
|
|
26026
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26027
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.adminRolesOrgIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26028
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26029
|
-
});
|
|
26030
|
-
},
|
|
26031
25367
|
/**
|
|
26032
25368
|
* Fetches role by id
|
|
26033
25369
|
* @summary Fetches role by id
|
|
@@ -26091,16 +25427,6 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
26091
25427
|
adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
|
|
26092
25428
|
return localVarFp.adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(axios, basePath));
|
|
26093
25429
|
},
|
|
26094
|
-
/**
|
|
26095
|
-
* Fetches list of all roles
|
|
26096
|
-
* @summary Fetches list of all roles
|
|
26097
|
-
* @param {number} orgId Org ID
|
|
26098
|
-
* @param {*} [options] Override http request option.
|
|
26099
|
-
* @throws {RequiredError}
|
|
26100
|
-
*/
|
|
26101
|
-
adminRolesOrgIdGet(orgId, options) {
|
|
26102
|
-
return localVarFp.adminRolesOrgIdGet(orgId, options).then((request) => request(axios, basePath));
|
|
26103
|
-
},
|
|
26104
25430
|
/**
|
|
26105
25431
|
* Fetches role by id
|
|
26106
25432
|
* @summary Fetches role by id
|
|
@@ -26154,17 +25480,6 @@ export class RolesApi extends BaseAPI {
|
|
|
26154
25480
|
adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
|
|
26155
25481
|
return RolesApiFp(this.configuration).adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
26156
25482
|
}
|
|
26157
|
-
/**
|
|
26158
|
-
* Fetches list of all roles
|
|
26159
|
-
* @summary Fetches list of all roles
|
|
26160
|
-
* @param {number} orgId Org ID
|
|
26161
|
-
* @param {*} [options] Override http request option.
|
|
26162
|
-
* @throws {RequiredError}
|
|
26163
|
-
* @memberof RolesApi
|
|
26164
|
-
*/
|
|
26165
|
-
adminRolesOrgIdGet(orgId, options) {
|
|
26166
|
-
return RolesApiFp(this.configuration).adminRolesOrgIdGet(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
26167
|
-
}
|
|
26168
25483
|
/**
|
|
26169
25484
|
* Fetches role by id
|
|
26170
25485
|
* @summary Fetches role by id
|
|
@@ -26390,62 +25705,20 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
26390
25705
|
options: localVarRequestOptions,
|
|
26391
25706
|
};
|
|
26392
25707
|
}),
|
|
25708
|
+
};
|
|
25709
|
+
};
|
|
25710
|
+
/**
|
|
25711
|
+
* SearchApi - functional programming interface
|
|
25712
|
+
* @export
|
|
25713
|
+
*/
|
|
25714
|
+
export const SearchApiFp = function (configuration) {
|
|
25715
|
+
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
25716
|
+
return {
|
|
26393
25717
|
/**
|
|
26394
|
-
* Search documents
|
|
26395
|
-
* @summary
|
|
26396
|
-
* @param {string}
|
|
26397
|
-
* @param {
|
|
26398
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26399
|
-
* @param {*} [options] Override http request option.
|
|
26400
|
-
* @throws {RequiredError}
|
|
26401
|
-
*/
|
|
26402
|
-
v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, options = {}) {
|
|
26403
|
-
// verify required parameter 'xStoreid' is not null or undefined
|
|
26404
|
-
assertParamExists('v1SearchPost', 'xStoreid', xStoreid);
|
|
26405
|
-
// verify required parameter 'xStoresecret' is not null or undefined
|
|
26406
|
-
assertParamExists('v1SearchPost', 'xStoresecret', xStoresecret);
|
|
26407
|
-
// verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
|
|
26408
|
-
assertParamExists('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
|
|
26409
|
-
const localVarPath = `/v1/search`;
|
|
26410
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26411
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26412
|
-
let baseOptions;
|
|
26413
|
-
if (configuration) {
|
|
26414
|
-
baseOptions = configuration.baseOptions;
|
|
26415
|
-
}
|
|
26416
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
26417
|
-
const localVarHeaderParameter = {};
|
|
26418
|
-
const localVarQueryParameter = {};
|
|
26419
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26420
|
-
if (xStoreid != null) {
|
|
26421
|
-
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
26422
|
-
}
|
|
26423
|
-
if (xStoresecret != null) {
|
|
26424
|
-
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
26425
|
-
}
|
|
26426
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26427
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26428
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26429
|
-
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
|
|
26430
|
-
return {
|
|
26431
|
-
url: toPathString(localVarUrlObj),
|
|
26432
|
-
options: localVarRequestOptions,
|
|
26433
|
-
};
|
|
26434
|
-
}),
|
|
26435
|
-
};
|
|
26436
|
-
};
|
|
26437
|
-
/**
|
|
26438
|
-
* SearchApi - functional programming interface
|
|
26439
|
-
* @export
|
|
26440
|
-
*/
|
|
26441
|
-
export const SearchApiFp = function (configuration) {
|
|
26442
|
-
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
26443
|
-
return {
|
|
26444
|
-
/**
|
|
26445
|
-
* Search documents with combined widget and document data, autocomplete suggestions, and configurable stopwords/synonyms
|
|
26446
|
-
* @summary Admin Search API
|
|
26447
|
-
* @param {string} xStoreID X-Store ID
|
|
26448
|
-
* @param {DataTypesAdminSearchRequest} dataTypesAdminSearchRequest Admin search request with optional stopword_sets and synonym_sets for granular control
|
|
25718
|
+
* Search documents with combined widget and document data, autocomplete suggestions, and configurable stopwords/synonyms
|
|
25719
|
+
* @summary Admin Search API
|
|
25720
|
+
* @param {string} xStoreID X-Store ID
|
|
25721
|
+
* @param {DataTypesAdminSearchRequest} dataTypesAdminSearchRequest Admin search request with optional stopword_sets and synonym_sets for granular control
|
|
26449
25722
|
* @param {*} [options] Override http request option.
|
|
26450
25723
|
* @throws {RequiredError}
|
|
26451
25724
|
*/
|
|
@@ -26541,24 +25814,6 @@ export const SearchApiFp = function (configuration) {
|
|
|
26541
25814
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26542
25815
|
});
|
|
26543
25816
|
},
|
|
26544
|
-
/**
|
|
26545
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
26546
|
-
* @summary Public Search API
|
|
26547
|
-
* @param {string} xStoreid Store ID
|
|
26548
|
-
* @param {string} xStoresecret Store Secret
|
|
26549
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26550
|
-
* @param {*} [options] Override http request option.
|
|
26551
|
-
* @throws {RequiredError}
|
|
26552
|
-
*/
|
|
26553
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
26554
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
26555
|
-
var _a, _b, _c;
|
|
26556
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
|
|
26557
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26558
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26559
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26560
|
-
});
|
|
26561
|
-
},
|
|
26562
25817
|
};
|
|
26563
25818
|
};
|
|
26564
25819
|
/**
|
|
@@ -26632,18 +25887,6 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
26632
25887
|
v1IndexIndexnameDefaultsGet(indexname, options) {
|
|
26633
25888
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
26634
25889
|
},
|
|
26635
|
-
/**
|
|
26636
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
26637
|
-
* @summary Public Search API
|
|
26638
|
-
* @param {string} xStoreid Store ID
|
|
26639
|
-
* @param {string} xStoresecret Store Secret
|
|
26640
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26641
|
-
* @param {*} [options] Override http request option.
|
|
26642
|
-
* @throws {RequiredError}
|
|
26643
|
-
*/
|
|
26644
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
26645
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
|
|
26646
|
-
},
|
|
26647
25890
|
};
|
|
26648
25891
|
};
|
|
26649
25892
|
/**
|
|
@@ -26723,19 +25966,6 @@ export class SearchApi extends BaseAPI {
|
|
|
26723
25966
|
v1IndexIndexnameDefaultsGet(indexname, options) {
|
|
26724
25967
|
return SearchApiFp(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
|
|
26725
25968
|
}
|
|
26726
|
-
/**
|
|
26727
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
26728
|
-
* @summary Public Search API
|
|
26729
|
-
* @param {string} xStoreid Store ID
|
|
26730
|
-
* @param {string} xStoresecret Store Secret
|
|
26731
|
-
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
26732
|
-
* @param {*} [options] Override http request option.
|
|
26733
|
-
* @throws {RequiredError}
|
|
26734
|
-
* @memberof SearchApi
|
|
26735
|
-
*/
|
|
26736
|
-
v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
|
|
26737
|
-
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26738
|
-
}
|
|
26739
25969
|
}
|
|
26740
25970
|
/**
|
|
26741
25971
|
* StopwordsApi - axios parameter creator
|
|
@@ -29944,33 +29174,6 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
29944
29174
|
options: localVarRequestOptions,
|
|
29945
29175
|
};
|
|
29946
29176
|
}),
|
|
29947
|
-
/**
|
|
29948
|
-
* Fetches list of all Subscription
|
|
29949
|
-
* @summary Fetches list of all Subscription
|
|
29950
|
-
* @param {*} [options] Override http request option.
|
|
29951
|
-
* @throws {RequiredError}
|
|
29952
|
-
*/
|
|
29953
|
-
miscSubscriptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
29954
|
-
const localVarPath = `/misc/subscriptions`;
|
|
29955
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29956
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29957
|
-
let baseOptions;
|
|
29958
|
-
if (configuration) {
|
|
29959
|
-
baseOptions = configuration.baseOptions;
|
|
29960
|
-
}
|
|
29961
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
29962
|
-
const localVarHeaderParameter = {};
|
|
29963
|
-
const localVarQueryParameter = {};
|
|
29964
|
-
// authentication BearerAuth required
|
|
29965
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29966
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29967
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29968
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29969
|
-
return {
|
|
29970
|
-
url: toPathString(localVarUrlObj),
|
|
29971
|
-
options: localVarRequestOptions,
|
|
29972
|
-
};
|
|
29973
|
-
}),
|
|
29974
29177
|
/**
|
|
29975
29178
|
* Adds a new Subscription to the system
|
|
29976
29179
|
* @summary Creates a new Subscription
|
|
@@ -30109,21 +29312,6 @@ export const SubscriptionsApiFp = function (configuration) {
|
|
|
30109
29312
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30110
29313
|
});
|
|
30111
29314
|
},
|
|
30112
|
-
/**
|
|
30113
|
-
* Fetches list of all Subscription
|
|
30114
|
-
* @summary Fetches list of all Subscription
|
|
30115
|
-
* @param {*} [options] Override http request option.
|
|
30116
|
-
* @throws {RequiredError}
|
|
30117
|
-
*/
|
|
30118
|
-
miscSubscriptionsGet(options) {
|
|
30119
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
30120
|
-
var _a, _b, _c;
|
|
30121
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.miscSubscriptionsGet(options);
|
|
30122
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30123
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsApi.miscSubscriptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30124
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30125
|
-
});
|
|
30126
|
-
},
|
|
30127
29315
|
/**
|
|
30128
29316
|
* Adds a new Subscription to the system
|
|
30129
29317
|
* @summary Creates a new Subscription
|
|
@@ -30207,15 +29395,6 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
|
|
|
30207
29395
|
adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
|
|
30208
29396
|
return localVarFp.adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(axios, basePath));
|
|
30209
29397
|
},
|
|
30210
|
-
/**
|
|
30211
|
-
* Fetches list of all Subscription
|
|
30212
|
-
* @summary Fetches list of all Subscription
|
|
30213
|
-
* @param {*} [options] Override http request option.
|
|
30214
|
-
* @throws {RequiredError}
|
|
30215
|
-
*/
|
|
30216
|
-
miscSubscriptionsGet(options) {
|
|
30217
|
-
return localVarFp.miscSubscriptionsGet(options).then((request) => request(axios, basePath));
|
|
30218
|
-
},
|
|
30219
29398
|
/**
|
|
30220
29399
|
* Adds a new Subscription to the system
|
|
30221
29400
|
* @summary Creates a new Subscription
|
|
@@ -30291,16 +29470,6 @@ export class SubscriptionsApi extends BaseAPI {
|
|
|
30291
29470
|
adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
|
|
30292
29471
|
return SubscriptionsApiFp(this.configuration).adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(this.axios, this.basePath));
|
|
30293
29472
|
}
|
|
30294
|
-
/**
|
|
30295
|
-
* Fetches list of all Subscription
|
|
30296
|
-
* @summary Fetches list of all Subscription
|
|
30297
|
-
* @param {*} [options] Override http request option.
|
|
30298
|
-
* @throws {RequiredError}
|
|
30299
|
-
* @memberof SubscriptionsApi
|
|
30300
|
-
*/
|
|
30301
|
-
miscSubscriptionsGet(options) {
|
|
30302
|
-
return SubscriptionsApiFp(this.configuration).miscSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
|
|
30303
|
-
}
|
|
30304
29473
|
/**
|
|
30305
29474
|
* Adds a new Subscription to the system
|
|
30306
29475
|
* @summary Creates a new Subscription
|
|
@@ -30626,6 +29795,916 @@ export class TaxManagementApi extends BaseAPI {
|
|
|
30626
29795
|
return TaxManagementApiFp(this.configuration).adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30627
29796
|
}
|
|
30628
29797
|
}
|
|
29798
|
+
/**
|
|
29799
|
+
* TeamApi - axios parameter creator
|
|
29800
|
+
* @export
|
|
29801
|
+
*/
|
|
29802
|
+
export const TeamApiAxiosParamCreator = function (configuration) {
|
|
29803
|
+
return {
|
|
29804
|
+
/**
|
|
29805
|
+
* Cancels a pending invitation
|
|
29806
|
+
* @summary Cancel invitation
|
|
29807
|
+
* @param {number} invitationId Invitation ID
|
|
29808
|
+
* @param {*} [options] Override http request option.
|
|
29809
|
+
* @throws {RequiredError}
|
|
29810
|
+
*/
|
|
29811
|
+
apiV1InvitationsInvitationIdDelete: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
29812
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
29813
|
+
assertParamExists('apiV1InvitationsInvitationIdDelete', 'invitationId', invitationId);
|
|
29814
|
+
const localVarPath = `/api/v1/invitations/{invitationId}`
|
|
29815
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
29816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29817
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29818
|
+
let baseOptions;
|
|
29819
|
+
if (configuration) {
|
|
29820
|
+
baseOptions = configuration.baseOptions;
|
|
29821
|
+
}
|
|
29822
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
29823
|
+
const localVarHeaderParameter = {};
|
|
29824
|
+
const localVarQueryParameter = {};
|
|
29825
|
+
// authentication BearerAuth required
|
|
29826
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29829
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29830
|
+
return {
|
|
29831
|
+
url: toPathString(localVarUrlObj),
|
|
29832
|
+
options: localVarRequestOptions,
|
|
29833
|
+
};
|
|
29834
|
+
}),
|
|
29835
|
+
/**
|
|
29836
|
+
* Accepts a team invitation using token
|
|
29837
|
+
* @summary Accept invitation
|
|
29838
|
+
* @param {string} token Invitation Token
|
|
29839
|
+
* @param {*} [options] Override http request option.
|
|
29840
|
+
* @throws {RequiredError}
|
|
29841
|
+
*/
|
|
29842
|
+
apiV1InvitationsTokenAcceptPost: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
29843
|
+
// verify required parameter 'token' is not null or undefined
|
|
29844
|
+
assertParamExists('apiV1InvitationsTokenAcceptPost', 'token', token);
|
|
29845
|
+
const localVarPath = `/api/v1/invitations/{token}/accept`
|
|
29846
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
29847
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29848
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29849
|
+
let baseOptions;
|
|
29850
|
+
if (configuration) {
|
|
29851
|
+
baseOptions = configuration.baseOptions;
|
|
29852
|
+
}
|
|
29853
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
29854
|
+
const localVarHeaderParameter = {};
|
|
29855
|
+
const localVarQueryParameter = {};
|
|
29856
|
+
// authentication BearerAuth required
|
|
29857
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29858
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29859
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29860
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29861
|
+
return {
|
|
29862
|
+
url: toPathString(localVarUrlObj),
|
|
29863
|
+
options: localVarRequestOptions,
|
|
29864
|
+
};
|
|
29865
|
+
}),
|
|
29866
|
+
/**
|
|
29867
|
+
* Retrieves all pending invitations for an organization
|
|
29868
|
+
* @summary Get pending invitations
|
|
29869
|
+
* @param {number} orgId Organization ID
|
|
29870
|
+
* @param {*} [options] Override http request option.
|
|
29871
|
+
* @throws {RequiredError}
|
|
29872
|
+
*/
|
|
29873
|
+
apiV1OrganizationsOrgIdInvitationsGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
29874
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
29875
|
+
assertParamExists('apiV1OrganizationsOrgIdInvitationsGet', 'orgId', orgId);
|
|
29876
|
+
const localVarPath = `/api/v1/organizations/{orgId}/invitations`
|
|
29877
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
29878
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29879
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29880
|
+
let baseOptions;
|
|
29881
|
+
if (configuration) {
|
|
29882
|
+
baseOptions = configuration.baseOptions;
|
|
29883
|
+
}
|
|
29884
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
29885
|
+
const localVarHeaderParameter = {};
|
|
29886
|
+
const localVarQueryParameter = {};
|
|
29887
|
+
// authentication BearerAuth required
|
|
29888
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29889
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29891
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29892
|
+
return {
|
|
29893
|
+
url: toPathString(localVarUrlObj),
|
|
29894
|
+
options: localVarRequestOptions,
|
|
29895
|
+
};
|
|
29896
|
+
}),
|
|
29897
|
+
/**
|
|
29898
|
+
* Retrieves all members of an organization with their details
|
|
29899
|
+
* @summary Get all members of an organization
|
|
29900
|
+
* @param {number} orgId Organization ID
|
|
29901
|
+
* @param {*} [options] Override http request option.
|
|
29902
|
+
* @throws {RequiredError}
|
|
29903
|
+
*/
|
|
29904
|
+
apiV1OrganizationsOrgIdMembersGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
29905
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
29906
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersGet', 'orgId', orgId);
|
|
29907
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members`
|
|
29908
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
29909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29911
|
+
let baseOptions;
|
|
29912
|
+
if (configuration) {
|
|
29913
|
+
baseOptions = configuration.baseOptions;
|
|
29914
|
+
}
|
|
29915
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
29916
|
+
const localVarHeaderParameter = {};
|
|
29917
|
+
const localVarQueryParameter = {};
|
|
29918
|
+
// authentication BearerAuth required
|
|
29919
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29922
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29923
|
+
return {
|
|
29924
|
+
url: toPathString(localVarUrlObj),
|
|
29925
|
+
options: localVarRequestOptions,
|
|
29926
|
+
};
|
|
29927
|
+
}),
|
|
29928
|
+
/**
|
|
29929
|
+
* Sends an invitation to a user to join the organization
|
|
29930
|
+
* @summary Invite a member to join organization
|
|
29931
|
+
* @param {number} orgId Organization ID
|
|
29932
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
29933
|
+
* @param {*} [options] Override http request option.
|
|
29934
|
+
* @throws {RequiredError}
|
|
29935
|
+
*/
|
|
29936
|
+
apiV1OrganizationsOrgIdMembersInvitePost: (orgId_1, dataTypesInviteMemberRequest_1, ...args_1) => __awaiter(this, [orgId_1, dataTypesInviteMemberRequest_1, ...args_1], void 0, function* (orgId, dataTypesInviteMemberRequest, options = {}) {
|
|
29937
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
29938
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersInvitePost', 'orgId', orgId);
|
|
29939
|
+
// verify required parameter 'dataTypesInviteMemberRequest' is not null or undefined
|
|
29940
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersInvitePost', 'dataTypesInviteMemberRequest', dataTypesInviteMemberRequest);
|
|
29941
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members/invite`
|
|
29942
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
29943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29945
|
+
let baseOptions;
|
|
29946
|
+
if (configuration) {
|
|
29947
|
+
baseOptions = configuration.baseOptions;
|
|
29948
|
+
}
|
|
29949
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
29950
|
+
const localVarHeaderParameter = {};
|
|
29951
|
+
const localVarQueryParameter = {};
|
|
29952
|
+
// authentication BearerAuth required
|
|
29953
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29954
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29955
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29956
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29957
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29958
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesInviteMemberRequest, localVarRequestOptions, configuration);
|
|
29959
|
+
return {
|
|
29960
|
+
url: toPathString(localVarUrlObj),
|
|
29961
|
+
options: localVarRequestOptions,
|
|
29962
|
+
};
|
|
29963
|
+
}),
|
|
29964
|
+
/**
|
|
29965
|
+
* Removes a member from the organization
|
|
29966
|
+
* @summary Remove member from organization
|
|
29967
|
+
* @param {number} orgId Organization ID
|
|
29968
|
+
* @param {number} memberId Member ID
|
|
29969
|
+
* @param {*} [options] Override http request option.
|
|
29970
|
+
* @throws {RequiredError}
|
|
29971
|
+
*/
|
|
29972
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete: (orgId_1, memberId_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, ...args_1], void 0, function* (orgId, memberId, options = {}) {
|
|
29973
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
29974
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'orgId', orgId);
|
|
29975
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
29976
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdDelete', 'memberId', memberId);
|
|
29977
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}`
|
|
29978
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
29979
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
29980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29982
|
+
let baseOptions;
|
|
29983
|
+
if (configuration) {
|
|
29984
|
+
baseOptions = configuration.baseOptions;
|
|
29985
|
+
}
|
|
29986
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
29987
|
+
const localVarHeaderParameter = {};
|
|
29988
|
+
const localVarQueryParameter = {};
|
|
29989
|
+
// authentication BearerAuth required
|
|
29990
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
29991
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29992
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29993
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
29994
|
+
return {
|
|
29995
|
+
url: toPathString(localVarUrlObj),
|
|
29996
|
+
options: localVarRequestOptions,
|
|
29997
|
+
};
|
|
29998
|
+
}),
|
|
29999
|
+
/**
|
|
30000
|
+
* Updates the role of a member in the organization
|
|
30001
|
+
* @summary Update member role
|
|
30002
|
+
* @param {number} orgId Organization ID
|
|
30003
|
+
* @param {number} memberId Member ID
|
|
30004
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30005
|
+
* @param {*} [options] Override http request option.
|
|
30006
|
+
* @throws {RequiredError}
|
|
30007
|
+
*/
|
|
30008
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut: (orgId_1, memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1) => __awaiter(this, [orgId_1, memberId_1, dataTypesUpdateMemberRoleRequest_1, ...args_1], void 0, function* (orgId, memberId, dataTypesUpdateMemberRoleRequest, options = {}) {
|
|
30009
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
30010
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'orgId', orgId);
|
|
30011
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
30012
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'memberId', memberId);
|
|
30013
|
+
// verify required parameter 'dataTypesUpdateMemberRoleRequest' is not null or undefined
|
|
30014
|
+
assertParamExists('apiV1OrganizationsOrgIdMembersMemberIdRolePut', 'dataTypesUpdateMemberRoleRequest', dataTypesUpdateMemberRoleRequest);
|
|
30015
|
+
const localVarPath = `/api/v1/organizations/{orgId}/members/{memberId}/role`
|
|
30016
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
30017
|
+
.replace(`{${"memberId"}}`, encodeURIComponent(String(memberId)));
|
|
30018
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30019
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30020
|
+
let baseOptions;
|
|
30021
|
+
if (configuration) {
|
|
30022
|
+
baseOptions = configuration.baseOptions;
|
|
30023
|
+
}
|
|
30024
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
30025
|
+
const localVarHeaderParameter = {};
|
|
30026
|
+
const localVarQueryParameter = {};
|
|
30027
|
+
// authentication BearerAuth required
|
|
30028
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
30029
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30030
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30031
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30032
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30033
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateMemberRoleRequest, localVarRequestOptions, configuration);
|
|
30034
|
+
return {
|
|
30035
|
+
url: toPathString(localVarUrlObj),
|
|
30036
|
+
options: localVarRequestOptions,
|
|
30037
|
+
};
|
|
30038
|
+
}),
|
|
30039
|
+
/**
|
|
30040
|
+
* Retrieves all users with access to a store
|
|
30041
|
+
* @summary Get store access list
|
|
30042
|
+
* @param {number} storeId Store ID
|
|
30043
|
+
* @param {*} [options] Override http request option.
|
|
30044
|
+
* @throws {RequiredError}
|
|
30045
|
+
*/
|
|
30046
|
+
apiV1StoresStoreIdAccessGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
|
|
30047
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30048
|
+
assertParamExists('apiV1StoresStoreIdAccessGet', 'storeId', storeId);
|
|
30049
|
+
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
30050
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
30051
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30052
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30053
|
+
let baseOptions;
|
|
30054
|
+
if (configuration) {
|
|
30055
|
+
baseOptions = configuration.baseOptions;
|
|
30056
|
+
}
|
|
30057
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30058
|
+
const localVarHeaderParameter = {};
|
|
30059
|
+
const localVarQueryParameter = {};
|
|
30060
|
+
// authentication BearerAuth required
|
|
30061
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
30062
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30063
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30064
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30065
|
+
return {
|
|
30066
|
+
url: toPathString(localVarUrlObj),
|
|
30067
|
+
options: localVarRequestOptions,
|
|
30068
|
+
};
|
|
30069
|
+
}),
|
|
30070
|
+
/**
|
|
30071
|
+
* Grants a user access to a store
|
|
30072
|
+
* @summary Grant store access
|
|
30073
|
+
* @param {number} storeId Store ID
|
|
30074
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30075
|
+
* @param {*} [options] Override http request option.
|
|
30076
|
+
* @throws {RequiredError}
|
|
30077
|
+
*/
|
|
30078
|
+
apiV1StoresStoreIdAccessPost: (storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1) => __awaiter(this, [storeId_1, dataTypesGrantStoreAccessRequest_1, ...args_1], void 0, function* (storeId, dataTypesGrantStoreAccessRequest, options = {}) {
|
|
30079
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30080
|
+
assertParamExists('apiV1StoresStoreIdAccessPost', 'storeId', storeId);
|
|
30081
|
+
// verify required parameter 'dataTypesGrantStoreAccessRequest' is not null or undefined
|
|
30082
|
+
assertParamExists('apiV1StoresStoreIdAccessPost', 'dataTypesGrantStoreAccessRequest', dataTypesGrantStoreAccessRequest);
|
|
30083
|
+
const localVarPath = `/api/v1/stores/{storeId}/access`
|
|
30084
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
30085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30087
|
+
let baseOptions;
|
|
30088
|
+
if (configuration) {
|
|
30089
|
+
baseOptions = configuration.baseOptions;
|
|
30090
|
+
}
|
|
30091
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
30092
|
+
const localVarHeaderParameter = {};
|
|
30093
|
+
const localVarQueryParameter = {};
|
|
30094
|
+
// authentication BearerAuth required
|
|
30095
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
30096
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30097
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30098
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30099
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30100
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesGrantStoreAccessRequest, localVarRequestOptions, configuration);
|
|
30101
|
+
return {
|
|
30102
|
+
url: toPathString(localVarUrlObj),
|
|
30103
|
+
options: localVarRequestOptions,
|
|
30104
|
+
};
|
|
30105
|
+
}),
|
|
30106
|
+
/**
|
|
30107
|
+
* Revokes a user\'s access to a store
|
|
30108
|
+
* @summary Revoke store access
|
|
30109
|
+
* @param {number} storeId Store ID
|
|
30110
|
+
* @param {number} userId User ID
|
|
30111
|
+
* @param {*} [options] Override http request option.
|
|
30112
|
+
* @throws {RequiredError}
|
|
30113
|
+
*/
|
|
30114
|
+
apiV1StoresStoreIdAccessUserIdDelete: (storeId_1, userId_1, ...args_1) => __awaiter(this, [storeId_1, userId_1, ...args_1], void 0, function* (storeId, userId, options = {}) {
|
|
30115
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30116
|
+
assertParamExists('apiV1StoresStoreIdAccessUserIdDelete', 'storeId', storeId);
|
|
30117
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30118
|
+
assertParamExists('apiV1StoresStoreIdAccessUserIdDelete', 'userId', userId);
|
|
30119
|
+
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
30120
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
30121
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
30122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30124
|
+
let baseOptions;
|
|
30125
|
+
if (configuration) {
|
|
30126
|
+
baseOptions = configuration.baseOptions;
|
|
30127
|
+
}
|
|
30128
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
30129
|
+
const localVarHeaderParameter = {};
|
|
30130
|
+
const localVarQueryParameter = {};
|
|
30131
|
+
// authentication BearerAuth required
|
|
30132
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
30133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30135
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30136
|
+
return {
|
|
30137
|
+
url: toPathString(localVarUrlObj),
|
|
30138
|
+
options: localVarRequestOptions,
|
|
30139
|
+
};
|
|
30140
|
+
}),
|
|
30141
|
+
/**
|
|
30142
|
+
* Updates a user\'s access level to a store
|
|
30143
|
+
* @summary Update store access level
|
|
30144
|
+
* @param {number} storeId Store ID
|
|
30145
|
+
* @param {number} userId User ID
|
|
30146
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30147
|
+
* @param {*} [options] Override http request option.
|
|
30148
|
+
* @throws {RequiredError}
|
|
30149
|
+
*/
|
|
30150
|
+
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 = {}) {
|
|
30151
|
+
// verify required parameter 'storeId' is not null or undefined
|
|
30152
|
+
assertParamExists('apiV1StoresStoreIdAccessUserIdPut', 'storeId', storeId);
|
|
30153
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30154
|
+
assertParamExists('apiV1StoresStoreIdAccessUserIdPut', 'userId', userId);
|
|
30155
|
+
// verify required parameter 'dataTypesUpdateStoreAccessRequest' is not null or undefined
|
|
30156
|
+
assertParamExists('apiV1StoresStoreIdAccessUserIdPut', 'dataTypesUpdateStoreAccessRequest', dataTypesUpdateStoreAccessRequest);
|
|
30157
|
+
const localVarPath = `/api/v1/stores/{storeId}/access/{userId}`
|
|
30158
|
+
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)))
|
|
30159
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
30160
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30162
|
+
let baseOptions;
|
|
30163
|
+
if (configuration) {
|
|
30164
|
+
baseOptions = configuration.baseOptions;
|
|
30165
|
+
}
|
|
30166
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
30167
|
+
const localVarHeaderParameter = {};
|
|
30168
|
+
const localVarQueryParameter = {};
|
|
30169
|
+
// authentication BearerAuth required
|
|
30170
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
30171
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30174
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30175
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateStoreAccessRequest, localVarRequestOptions, configuration);
|
|
30176
|
+
return {
|
|
30177
|
+
url: toPathString(localVarUrlObj),
|
|
30178
|
+
options: localVarRequestOptions,
|
|
30179
|
+
};
|
|
30180
|
+
}),
|
|
30181
|
+
/**
|
|
30182
|
+
* Retrieves all stores accessible to a user
|
|
30183
|
+
* @summary Get user\'s accessible stores
|
|
30184
|
+
* @param {number} userId User ID
|
|
30185
|
+
* @param {*} [options] Override http request option.
|
|
30186
|
+
* @throws {RequiredError}
|
|
30187
|
+
*/
|
|
30188
|
+
apiV1UsersUserIdStoresGet: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
30189
|
+
// verify required parameter 'userId' is not null or undefined
|
|
30190
|
+
assertParamExists('apiV1UsersUserIdStoresGet', 'userId', userId);
|
|
30191
|
+
const localVarPath = `/api/v1/users/{userId}/stores`
|
|
30192
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
30193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30195
|
+
let baseOptions;
|
|
30196
|
+
if (configuration) {
|
|
30197
|
+
baseOptions = configuration.baseOptions;
|
|
30198
|
+
}
|
|
30199
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
30200
|
+
const localVarHeaderParameter = {};
|
|
30201
|
+
const localVarQueryParameter = {};
|
|
30202
|
+
// authentication BearerAuth required
|
|
30203
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
30204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30206
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
30207
|
+
return {
|
|
30208
|
+
url: toPathString(localVarUrlObj),
|
|
30209
|
+
options: localVarRequestOptions,
|
|
30210
|
+
};
|
|
30211
|
+
}),
|
|
30212
|
+
};
|
|
30213
|
+
};
|
|
30214
|
+
/**
|
|
30215
|
+
* TeamApi - functional programming interface
|
|
30216
|
+
* @export
|
|
30217
|
+
*/
|
|
30218
|
+
export const TeamApiFp = function (configuration) {
|
|
30219
|
+
const localVarAxiosParamCreator = TeamApiAxiosParamCreator(configuration);
|
|
30220
|
+
return {
|
|
30221
|
+
/**
|
|
30222
|
+
* Cancels a pending invitation
|
|
30223
|
+
* @summary Cancel invitation
|
|
30224
|
+
* @param {number} invitationId Invitation ID
|
|
30225
|
+
* @param {*} [options] Override http request option.
|
|
30226
|
+
* @throws {RequiredError}
|
|
30227
|
+
*/
|
|
30228
|
+
apiV1InvitationsInvitationIdDelete(invitationId, options) {
|
|
30229
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30230
|
+
var _a, _b, _c;
|
|
30231
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsInvitationIdDelete(invitationId, options);
|
|
30232
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30233
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1InvitationsInvitationIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30235
|
+
});
|
|
30236
|
+
},
|
|
30237
|
+
/**
|
|
30238
|
+
* Accepts a team invitation using token
|
|
30239
|
+
* @summary Accept invitation
|
|
30240
|
+
* @param {string} token Invitation Token
|
|
30241
|
+
* @param {*} [options] Override http request option.
|
|
30242
|
+
* @throws {RequiredError}
|
|
30243
|
+
*/
|
|
30244
|
+
apiV1InvitationsTokenAcceptPost(token, options) {
|
|
30245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30246
|
+
var _a, _b, _c;
|
|
30247
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1InvitationsTokenAcceptPost(token, options);
|
|
30248
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30249
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1InvitationsTokenAcceptPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30251
|
+
});
|
|
30252
|
+
},
|
|
30253
|
+
/**
|
|
30254
|
+
* Retrieves all pending invitations for an organization
|
|
30255
|
+
* @summary Get pending invitations
|
|
30256
|
+
* @param {number} orgId Organization ID
|
|
30257
|
+
* @param {*} [options] Override http request option.
|
|
30258
|
+
* @throws {RequiredError}
|
|
30259
|
+
*/
|
|
30260
|
+
apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
|
|
30261
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30262
|
+
var _a, _b, _c;
|
|
30263
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdInvitationsGet(orgId, options);
|
|
30264
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30265
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdInvitationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30266
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30267
|
+
});
|
|
30268
|
+
},
|
|
30269
|
+
/**
|
|
30270
|
+
* Retrieves all members of an organization with their details
|
|
30271
|
+
* @summary Get all members of an organization
|
|
30272
|
+
* @param {number} orgId Organization ID
|
|
30273
|
+
* @param {*} [options] Override http request option.
|
|
30274
|
+
* @throws {RequiredError}
|
|
30275
|
+
*/
|
|
30276
|
+
apiV1OrganizationsOrgIdMembersGet(orgId, options) {
|
|
30277
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30278
|
+
var _a, _b, _c;
|
|
30279
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersGet(orgId, options);
|
|
30280
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30281
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30282
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30283
|
+
});
|
|
30284
|
+
},
|
|
30285
|
+
/**
|
|
30286
|
+
* Sends an invitation to a user to join the organization
|
|
30287
|
+
* @summary Invite a member to join organization
|
|
30288
|
+
* @param {number} orgId Organization ID
|
|
30289
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30290
|
+
* @param {*} [options] Override http request option.
|
|
30291
|
+
* @throws {RequiredError}
|
|
30292
|
+
*/
|
|
30293
|
+
apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
|
|
30294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30295
|
+
var _a, _b, _c;
|
|
30296
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options);
|
|
30297
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30298
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersInvitePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30299
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30300
|
+
});
|
|
30301
|
+
},
|
|
30302
|
+
/**
|
|
30303
|
+
* Removes a member from the organization
|
|
30304
|
+
* @summary Remove member from organization
|
|
30305
|
+
* @param {number} orgId Organization ID
|
|
30306
|
+
* @param {number} memberId Member ID
|
|
30307
|
+
* @param {*} [options] Override http request option.
|
|
30308
|
+
* @throws {RequiredError}
|
|
30309
|
+
*/
|
|
30310
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
|
|
30311
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30312
|
+
var _a, _b, _c;
|
|
30313
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options);
|
|
30314
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30315
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30316
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30317
|
+
});
|
|
30318
|
+
},
|
|
30319
|
+
/**
|
|
30320
|
+
* Updates the role of a member in the organization
|
|
30321
|
+
* @summary Update member role
|
|
30322
|
+
* @param {number} orgId Organization ID
|
|
30323
|
+
* @param {number} memberId Member ID
|
|
30324
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30325
|
+
* @param {*} [options] Override http request option.
|
|
30326
|
+
* @throws {RequiredError}
|
|
30327
|
+
*/
|
|
30328
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
30329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30330
|
+
var _a, _b, _c;
|
|
30331
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options);
|
|
30332
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30333
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1OrganizationsOrgIdMembersMemberIdRolePut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30334
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30335
|
+
});
|
|
30336
|
+
},
|
|
30337
|
+
/**
|
|
30338
|
+
* Retrieves all users with access to a store
|
|
30339
|
+
* @summary Get store access list
|
|
30340
|
+
* @param {number} storeId Store ID
|
|
30341
|
+
* @param {*} [options] Override http request option.
|
|
30342
|
+
* @throws {RequiredError}
|
|
30343
|
+
*/
|
|
30344
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
30345
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30346
|
+
var _a, _b, _c;
|
|
30347
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessGet(storeId, options);
|
|
30348
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30349
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30350
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30351
|
+
});
|
|
30352
|
+
},
|
|
30353
|
+
/**
|
|
30354
|
+
* Grants a user access to a store
|
|
30355
|
+
* @summary Grant store access
|
|
30356
|
+
* @param {number} storeId Store ID
|
|
30357
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30358
|
+
* @param {*} [options] Override http request option.
|
|
30359
|
+
* @throws {RequiredError}
|
|
30360
|
+
*/
|
|
30361
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
30362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30363
|
+
var _a, _b, _c;
|
|
30364
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options);
|
|
30365
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30366
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30367
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30368
|
+
});
|
|
30369
|
+
},
|
|
30370
|
+
/**
|
|
30371
|
+
* Revokes a user\'s access to a store
|
|
30372
|
+
* @summary Revoke store access
|
|
30373
|
+
* @param {number} storeId Store ID
|
|
30374
|
+
* @param {number} userId User ID
|
|
30375
|
+
* @param {*} [options] Override http request option.
|
|
30376
|
+
* @throws {RequiredError}
|
|
30377
|
+
*/
|
|
30378
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
30379
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30380
|
+
var _a, _b, _c;
|
|
30381
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options);
|
|
30382
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30383
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30384
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30385
|
+
});
|
|
30386
|
+
},
|
|
30387
|
+
/**
|
|
30388
|
+
* Updates a user\'s access level to a store
|
|
30389
|
+
* @summary Update store access level
|
|
30390
|
+
* @param {number} storeId Store ID
|
|
30391
|
+
* @param {number} userId User ID
|
|
30392
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30393
|
+
* @param {*} [options] Override http request option.
|
|
30394
|
+
* @throws {RequiredError}
|
|
30395
|
+
*/
|
|
30396
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
30397
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30398
|
+
var _a, _b, _c;
|
|
30399
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options);
|
|
30400
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30401
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1StoresStoreIdAccessUserIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30402
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30403
|
+
});
|
|
30404
|
+
},
|
|
30405
|
+
/**
|
|
30406
|
+
* Retrieves all stores accessible to a user
|
|
30407
|
+
* @summary Get user\'s accessible stores
|
|
30408
|
+
* @param {number} userId User ID
|
|
30409
|
+
* @param {*} [options] Override http request option.
|
|
30410
|
+
* @throws {RequiredError}
|
|
30411
|
+
*/
|
|
30412
|
+
apiV1UsersUserIdStoresGet(userId, options) {
|
|
30413
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30414
|
+
var _a, _b, _c;
|
|
30415
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1UsersUserIdStoresGet(userId, options);
|
|
30416
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
30417
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TeamApi.apiV1UsersUserIdStoresGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
30418
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30419
|
+
});
|
|
30420
|
+
},
|
|
30421
|
+
};
|
|
30422
|
+
};
|
|
30423
|
+
/**
|
|
30424
|
+
* TeamApi - factory interface
|
|
30425
|
+
* @export
|
|
30426
|
+
*/
|
|
30427
|
+
export const TeamApiFactory = function (configuration, basePath, axios) {
|
|
30428
|
+
const localVarFp = TeamApiFp(configuration);
|
|
30429
|
+
return {
|
|
30430
|
+
/**
|
|
30431
|
+
* Cancels a pending invitation
|
|
30432
|
+
* @summary Cancel invitation
|
|
30433
|
+
* @param {number} invitationId Invitation ID
|
|
30434
|
+
* @param {*} [options] Override http request option.
|
|
30435
|
+
* @throws {RequiredError}
|
|
30436
|
+
*/
|
|
30437
|
+
apiV1InvitationsInvitationIdDelete(invitationId, options) {
|
|
30438
|
+
return localVarFp.apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(axios, basePath));
|
|
30439
|
+
},
|
|
30440
|
+
/**
|
|
30441
|
+
* Accepts a team invitation using token
|
|
30442
|
+
* @summary Accept invitation
|
|
30443
|
+
* @param {string} token Invitation Token
|
|
30444
|
+
* @param {*} [options] Override http request option.
|
|
30445
|
+
* @throws {RequiredError}
|
|
30446
|
+
*/
|
|
30447
|
+
apiV1InvitationsTokenAcceptPost(token, options) {
|
|
30448
|
+
return localVarFp.apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
30449
|
+
},
|
|
30450
|
+
/**
|
|
30451
|
+
* Retrieves all pending invitations for an organization
|
|
30452
|
+
* @summary Get pending invitations
|
|
30453
|
+
* @param {number} orgId Organization ID
|
|
30454
|
+
* @param {*} [options] Override http request option.
|
|
30455
|
+
* @throws {RequiredError}
|
|
30456
|
+
*/
|
|
30457
|
+
apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
|
|
30458
|
+
return localVarFp.apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(axios, basePath));
|
|
30459
|
+
},
|
|
30460
|
+
/**
|
|
30461
|
+
* Retrieves all members of an organization with their details
|
|
30462
|
+
* @summary Get all members of an organization
|
|
30463
|
+
* @param {number} orgId Organization ID
|
|
30464
|
+
* @param {*} [options] Override http request option.
|
|
30465
|
+
* @throws {RequiredError}
|
|
30466
|
+
*/
|
|
30467
|
+
apiV1OrganizationsOrgIdMembersGet(orgId, options) {
|
|
30468
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(axios, basePath));
|
|
30469
|
+
},
|
|
30470
|
+
/**
|
|
30471
|
+
* Sends an invitation to a user to join the organization
|
|
30472
|
+
* @summary Invite a member to join organization
|
|
30473
|
+
* @param {number} orgId Organization ID
|
|
30474
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30475
|
+
* @param {*} [options] Override http request option.
|
|
30476
|
+
* @throws {RequiredError}
|
|
30477
|
+
*/
|
|
30478
|
+
apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
|
|
30479
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(axios, basePath));
|
|
30480
|
+
},
|
|
30481
|
+
/**
|
|
30482
|
+
* Removes a member from the organization
|
|
30483
|
+
* @summary Remove member from organization
|
|
30484
|
+
* @param {number} orgId Organization ID
|
|
30485
|
+
* @param {number} memberId Member ID
|
|
30486
|
+
* @param {*} [options] Override http request option.
|
|
30487
|
+
* @throws {RequiredError}
|
|
30488
|
+
*/
|
|
30489
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
|
|
30490
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(axios, basePath));
|
|
30491
|
+
},
|
|
30492
|
+
/**
|
|
30493
|
+
* Updates the role of a member in the organization
|
|
30494
|
+
* @summary Update member role
|
|
30495
|
+
* @param {number} orgId Organization ID
|
|
30496
|
+
* @param {number} memberId Member ID
|
|
30497
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30498
|
+
* @param {*} [options] Override http request option.
|
|
30499
|
+
* @throws {RequiredError}
|
|
30500
|
+
*/
|
|
30501
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
30502
|
+
return localVarFp.apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(axios, basePath));
|
|
30503
|
+
},
|
|
30504
|
+
/**
|
|
30505
|
+
* Retrieves all users with access to a store
|
|
30506
|
+
* @summary Get store access list
|
|
30507
|
+
* @param {number} storeId Store ID
|
|
30508
|
+
* @param {*} [options] Override http request option.
|
|
30509
|
+
* @throws {RequiredError}
|
|
30510
|
+
*/
|
|
30511
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
30512
|
+
return localVarFp.apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(axios, basePath));
|
|
30513
|
+
},
|
|
30514
|
+
/**
|
|
30515
|
+
* Grants a user access to a store
|
|
30516
|
+
* @summary Grant store access
|
|
30517
|
+
* @param {number} storeId Store ID
|
|
30518
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30519
|
+
* @param {*} [options] Override http request option.
|
|
30520
|
+
* @throws {RequiredError}
|
|
30521
|
+
*/
|
|
30522
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
30523
|
+
return localVarFp.apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
30524
|
+
},
|
|
30525
|
+
/**
|
|
30526
|
+
* Revokes a user\'s access to a store
|
|
30527
|
+
* @summary Revoke store access
|
|
30528
|
+
* @param {number} storeId Store ID
|
|
30529
|
+
* @param {number} userId User ID
|
|
30530
|
+
* @param {*} [options] Override http request option.
|
|
30531
|
+
* @throws {RequiredError}
|
|
30532
|
+
*/
|
|
30533
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
30534
|
+
return localVarFp.apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(axios, basePath));
|
|
30535
|
+
},
|
|
30536
|
+
/**
|
|
30537
|
+
* Updates a user\'s access level to a store
|
|
30538
|
+
* @summary Update store access level
|
|
30539
|
+
* @param {number} storeId Store ID
|
|
30540
|
+
* @param {number} userId User ID
|
|
30541
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30542
|
+
* @param {*} [options] Override http request option.
|
|
30543
|
+
* @throws {RequiredError}
|
|
30544
|
+
*/
|
|
30545
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
30546
|
+
return localVarFp.apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(axios, basePath));
|
|
30547
|
+
},
|
|
30548
|
+
/**
|
|
30549
|
+
* Retrieves all stores accessible to a user
|
|
30550
|
+
* @summary Get user\'s accessible stores
|
|
30551
|
+
* @param {number} userId User ID
|
|
30552
|
+
* @param {*} [options] Override http request option.
|
|
30553
|
+
* @throws {RequiredError}
|
|
30554
|
+
*/
|
|
30555
|
+
apiV1UsersUserIdStoresGet(userId, options) {
|
|
30556
|
+
return localVarFp.apiV1UsersUserIdStoresGet(userId, options).then((request) => request(axios, basePath));
|
|
30557
|
+
},
|
|
30558
|
+
};
|
|
30559
|
+
};
|
|
30560
|
+
/**
|
|
30561
|
+
* TeamApi - object-oriented interface
|
|
30562
|
+
* @export
|
|
30563
|
+
* @class TeamApi
|
|
30564
|
+
* @extends {BaseAPI}
|
|
30565
|
+
*/
|
|
30566
|
+
export class TeamApi extends BaseAPI {
|
|
30567
|
+
/**
|
|
30568
|
+
* Cancels a pending invitation
|
|
30569
|
+
* @summary Cancel invitation
|
|
30570
|
+
* @param {number} invitationId Invitation ID
|
|
30571
|
+
* @param {*} [options] Override http request option.
|
|
30572
|
+
* @throws {RequiredError}
|
|
30573
|
+
* @memberof TeamApi
|
|
30574
|
+
*/
|
|
30575
|
+
apiV1InvitationsInvitationIdDelete(invitationId, options) {
|
|
30576
|
+
return TeamApiFp(this.configuration).apiV1InvitationsInvitationIdDelete(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
30577
|
+
}
|
|
30578
|
+
/**
|
|
30579
|
+
* Accepts a team invitation using token
|
|
30580
|
+
* @summary Accept invitation
|
|
30581
|
+
* @param {string} token Invitation Token
|
|
30582
|
+
* @param {*} [options] Override http request option.
|
|
30583
|
+
* @throws {RequiredError}
|
|
30584
|
+
* @memberof TeamApi
|
|
30585
|
+
*/
|
|
30586
|
+
apiV1InvitationsTokenAcceptPost(token, options) {
|
|
30587
|
+
return TeamApiFp(this.configuration).apiV1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
30588
|
+
}
|
|
30589
|
+
/**
|
|
30590
|
+
* Retrieves all pending invitations for an organization
|
|
30591
|
+
* @summary Get pending invitations
|
|
30592
|
+
* @param {number} orgId Organization ID
|
|
30593
|
+
* @param {*} [options] Override http request option.
|
|
30594
|
+
* @throws {RequiredError}
|
|
30595
|
+
* @memberof TeamApi
|
|
30596
|
+
*/
|
|
30597
|
+
apiV1OrganizationsOrgIdInvitationsGet(orgId, options) {
|
|
30598
|
+
return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdInvitationsGet(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
30599
|
+
}
|
|
30600
|
+
/**
|
|
30601
|
+
* Retrieves all members of an organization with their details
|
|
30602
|
+
* @summary Get all members of an organization
|
|
30603
|
+
* @param {number} orgId Organization ID
|
|
30604
|
+
* @param {*} [options] Override http request option.
|
|
30605
|
+
* @throws {RequiredError}
|
|
30606
|
+
* @memberof TeamApi
|
|
30607
|
+
*/
|
|
30608
|
+
apiV1OrganizationsOrgIdMembersGet(orgId, options) {
|
|
30609
|
+
return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersGet(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
30610
|
+
}
|
|
30611
|
+
/**
|
|
30612
|
+
* Sends an invitation to a user to join the organization
|
|
30613
|
+
* @summary Invite a member to join organization
|
|
30614
|
+
* @param {number} orgId Organization ID
|
|
30615
|
+
* @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
|
|
30616
|
+
* @param {*} [options] Override http request option.
|
|
30617
|
+
* @throws {RequiredError}
|
|
30618
|
+
* @memberof TeamApi
|
|
30619
|
+
*/
|
|
30620
|
+
apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options) {
|
|
30621
|
+
return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersInvitePost(orgId, dataTypesInviteMemberRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30622
|
+
}
|
|
30623
|
+
/**
|
|
30624
|
+
* Removes a member from the organization
|
|
30625
|
+
* @summary Remove member from organization
|
|
30626
|
+
* @param {number} orgId Organization ID
|
|
30627
|
+
* @param {number} memberId Member ID
|
|
30628
|
+
* @param {*} [options] Override http request option.
|
|
30629
|
+
* @throws {RequiredError}
|
|
30630
|
+
* @memberof TeamApi
|
|
30631
|
+
*/
|
|
30632
|
+
apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options) {
|
|
30633
|
+
return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
30634
|
+
}
|
|
30635
|
+
/**
|
|
30636
|
+
* Updates the role of a member in the organization
|
|
30637
|
+
* @summary Update member role
|
|
30638
|
+
* @param {number} orgId Organization ID
|
|
30639
|
+
* @param {number} memberId Member ID
|
|
30640
|
+
* @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
|
|
30641
|
+
* @param {*} [options] Override http request option.
|
|
30642
|
+
* @throws {RequiredError}
|
|
30643
|
+
* @memberof TeamApi
|
|
30644
|
+
*/
|
|
30645
|
+
apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options) {
|
|
30646
|
+
return TeamApiFp(this.configuration).apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId, memberId, dataTypesUpdateMemberRoleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30647
|
+
}
|
|
30648
|
+
/**
|
|
30649
|
+
* Retrieves all users with access to a store
|
|
30650
|
+
* @summary Get store access list
|
|
30651
|
+
* @param {number} storeId Store ID
|
|
30652
|
+
* @param {*} [options] Override http request option.
|
|
30653
|
+
* @throws {RequiredError}
|
|
30654
|
+
* @memberof TeamApi
|
|
30655
|
+
*/
|
|
30656
|
+
apiV1StoresStoreIdAccessGet(storeId, options) {
|
|
30657
|
+
return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
30658
|
+
}
|
|
30659
|
+
/**
|
|
30660
|
+
* Grants a user access to a store
|
|
30661
|
+
* @summary Grant store access
|
|
30662
|
+
* @param {number} storeId Store ID
|
|
30663
|
+
* @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
|
|
30664
|
+
* @param {*} [options] Override http request option.
|
|
30665
|
+
* @throws {RequiredError}
|
|
30666
|
+
* @memberof TeamApi
|
|
30667
|
+
*/
|
|
30668
|
+
apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options) {
|
|
30669
|
+
return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessPost(storeId, dataTypesGrantStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30670
|
+
}
|
|
30671
|
+
/**
|
|
30672
|
+
* Revokes a user\'s access to a store
|
|
30673
|
+
* @summary Revoke store access
|
|
30674
|
+
* @param {number} storeId Store ID
|
|
30675
|
+
* @param {number} userId User ID
|
|
30676
|
+
* @param {*} [options] Override http request option.
|
|
30677
|
+
* @throws {RequiredError}
|
|
30678
|
+
* @memberof TeamApi
|
|
30679
|
+
*/
|
|
30680
|
+
apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options) {
|
|
30681
|
+
return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessUserIdDelete(storeId, userId, options).then((request) => request(this.axios, this.basePath));
|
|
30682
|
+
}
|
|
30683
|
+
/**
|
|
30684
|
+
* Updates a user\'s access level to a store
|
|
30685
|
+
* @summary Update store access level
|
|
30686
|
+
* @param {number} storeId Store ID
|
|
30687
|
+
* @param {number} userId User ID
|
|
30688
|
+
* @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
|
|
30689
|
+
* @param {*} [options] Override http request option.
|
|
30690
|
+
* @throws {RequiredError}
|
|
30691
|
+
* @memberof TeamApi
|
|
30692
|
+
*/
|
|
30693
|
+
apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options) {
|
|
30694
|
+
return TeamApiFp(this.configuration).apiV1StoresStoreIdAccessUserIdPut(storeId, userId, dataTypesUpdateStoreAccessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30695
|
+
}
|
|
30696
|
+
/**
|
|
30697
|
+
* Retrieves all stores accessible to a user
|
|
30698
|
+
* @summary Get user\'s accessible stores
|
|
30699
|
+
* @param {number} userId User ID
|
|
30700
|
+
* @param {*} [options] Override http request option.
|
|
30701
|
+
* @throws {RequiredError}
|
|
30702
|
+
* @memberof TeamApi
|
|
30703
|
+
*/
|
|
30704
|
+
apiV1UsersUserIdStoresGet(userId, options) {
|
|
30705
|
+
return TeamApiFp(this.configuration).apiV1UsersUserIdStoresGet(userId, options).then((request) => request(this.axios, this.basePath));
|
|
30706
|
+
}
|
|
30707
|
+
}
|
|
30629
30708
|
/**
|
|
30630
30709
|
* UserApi - axios parameter creator
|
|
30631
30710
|
* @export
|