@rustic-ai/api-client 0.6.0 → 0.7.3
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/dist/api.d.ts +646 -13
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +882 -52
- package/dist/api.js.map +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -16,7 +16,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OauthApi = exports.OauthApiFactory = exports.OauthApiFp = exports.OauthApiAxiosParamCreator = exports.GuildsApi = exports.GuildsApiFactory = exports.GuildsApiFp = exports.GuildsApiAxiosParamCreator = exports.DependenciesApi = exports.DependenciesApiFactory = exports.DependenciesApiFp = exports.DependenciesApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.BoardsApi = exports.BoardsApiFactory = exports.BoardsApiFp = exports.BoardsApiAxiosParamCreator = exports.BlueprintsApi = exports.BlueprintsApiFactory = exports.BlueprintsApiFp = exports.BlueprintsApiAxiosParamCreator = exports.AgentsApi = exports.AgentsApiFactory = exports.AgentsApiFp = exports.AgentsApiAxiosParamCreator = exports.TypeEqualsPredicatePredicateTypeEnum = exports.TransformerStyleEnum = exports.StateUpdateFormat = exports.ProcessStatus = exports.Priority = exports.PayloadTransformerStyleEnum = exports.LaunchRequirementSourceOriginEnum = exports.LaunchRequirementStatusEnum = exports.LaunchRequirementKindEnum = exports.LaunchPreparationResponsePhaseEnum = exports.LaunchPreparationResponseStatusEnum = exports.LaunchPreflightResponseStatusEnum = exports.JSONataPredicatePredicateTypeEnum = exports.GuildStatus = exports.FunctionalTransformerStyleEnum = exports.DependencyAvailabilityStatusEnum = exports.CelPredicatePredicateTypeEnum = exports.BlueprintExposure = void 0;
|
|
20
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = void 0;
|
|
20
21
|
const axios_1 = __importDefault(require("axios"));
|
|
21
22
|
// Some imports not used depending on template conditions
|
|
22
23
|
// @ts-ignore
|
|
@@ -33,6 +34,12 @@ exports.BlueprintExposure = {
|
|
|
33
34
|
exports.CelPredicatePredicateTypeEnum = {
|
|
34
35
|
CelFn: 'cel_fn',
|
|
35
36
|
};
|
|
37
|
+
exports.DependencyAvailabilityStatusEnum = {
|
|
38
|
+
Ready: 'ready',
|
|
39
|
+
NeedsConfiguration: 'needs_configuration',
|
|
40
|
+
Unavailable: 'unavailable',
|
|
41
|
+
Unknown: 'unknown',
|
|
42
|
+
};
|
|
36
43
|
exports.FunctionalTransformerStyleEnum = {
|
|
37
44
|
Simple: 'simple',
|
|
38
45
|
ContentBasedRouter: 'content_based_router',
|
|
@@ -55,6 +62,36 @@ exports.GuildStatus = {
|
|
|
55
62
|
exports.JSONataPredicatePredicateTypeEnum = {
|
|
56
63
|
JsonataFn: 'jsonata_fn',
|
|
57
64
|
};
|
|
65
|
+
exports.LaunchPreflightResponseStatusEnum = {
|
|
66
|
+
Ready: 'ready',
|
|
67
|
+
Blocked: 'blocked',
|
|
68
|
+
};
|
|
69
|
+
exports.LaunchPreparationResponseStatusEnum = {
|
|
70
|
+
Queued: 'queued',
|
|
71
|
+
Preparing: 'preparing',
|
|
72
|
+
Ready: 'ready',
|
|
73
|
+
Failed: 'failed',
|
|
74
|
+
Canceled: 'canceled',
|
|
75
|
+
};
|
|
76
|
+
exports.LaunchPreparationResponsePhaseEnum = {
|
|
77
|
+
PythonRuntime: 'python_runtime',
|
|
78
|
+
AgentEnvironments: 'agent_environments',
|
|
79
|
+
Complete: 'complete',
|
|
80
|
+
};
|
|
81
|
+
exports.LaunchRequirementKindEnum = {
|
|
82
|
+
Secret: 'secret',
|
|
83
|
+
Oauth: 'oauth',
|
|
84
|
+
};
|
|
85
|
+
exports.LaunchRequirementStatusEnum = {
|
|
86
|
+
Configured: 'configured',
|
|
87
|
+
Missing: 'missing',
|
|
88
|
+
InsufficientScope: 'insufficient_scope',
|
|
89
|
+
ProviderUnavailable: 'provider_unavailable',
|
|
90
|
+
};
|
|
91
|
+
exports.LaunchRequirementSourceOriginEnum = {
|
|
92
|
+
Agent: 'agent',
|
|
93
|
+
Profile: 'profile',
|
|
94
|
+
};
|
|
58
95
|
exports.PayloadTransformerStyleEnum = {
|
|
59
96
|
Simple: 'simple',
|
|
60
97
|
ContentBasedRouter: 'content_based_router',
|
|
@@ -559,6 +596,41 @@ const BlueprintsApiAxiosParamCreator = function (configuration) {
|
|
|
559
596
|
options: localVarRequestOptions,
|
|
560
597
|
};
|
|
561
598
|
},
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @summary Create Launch Preparation
|
|
602
|
+
* @param {string} blueprintId
|
|
603
|
+
* @param {LaunchPreparationRequest} launchPreparationRequest
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
*/
|
|
607
|
+
createLaunchPreparation: async (blueprintId, launchPreparationRequest, options = {}) => {
|
|
608
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
609
|
+
(0, common_1.assertParamExists)('createLaunchPreparation', 'blueprintId', blueprintId);
|
|
610
|
+
// verify required parameter 'launchPreparationRequest' is not null or undefined
|
|
611
|
+
(0, common_1.assertParamExists)('createLaunchPreparation', 'launchPreparationRequest', launchPreparationRequest);
|
|
612
|
+
const localVarPath = `/catalog/blueprints/{blueprint_id}/guilds/preparations`
|
|
613
|
+
.replace('{blueprint_id}', encodeURIComponent(String(blueprintId)));
|
|
614
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
615
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
616
|
+
let baseOptions;
|
|
617
|
+
if (configuration) {
|
|
618
|
+
baseOptions = configuration.baseOptions;
|
|
619
|
+
}
|
|
620
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
621
|
+
const localVarHeaderParameter = {};
|
|
622
|
+
const localVarQueryParameter = {};
|
|
623
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
624
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
625
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
627
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
628
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchPreparationRequest, localVarRequestOptions, configuration);
|
|
629
|
+
return {
|
|
630
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
631
|
+
options: localVarRequestOptions,
|
|
632
|
+
};
|
|
633
|
+
},
|
|
562
634
|
/**
|
|
563
635
|
*
|
|
564
636
|
* @summary Get User Accessible Blueprints
|
|
@@ -1074,6 +1146,41 @@ const BlueprintsApiAxiosParamCreator = function (configuration) {
|
|
|
1074
1146
|
options: localVarRequestOptions,
|
|
1075
1147
|
};
|
|
1076
1148
|
},
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @summary Preflight Guild From Blueprint
|
|
1152
|
+
* @param {string | null} blueprintId
|
|
1153
|
+
* @param {LaunchPreflightRequest} launchPreflightRequest
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
*/
|
|
1157
|
+
preflightGuildFromBlueprint: async (blueprintId, launchPreflightRequest, options = {}) => {
|
|
1158
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
1159
|
+
(0, common_1.assertParamExists)('preflightGuildFromBlueprint', 'blueprintId', blueprintId);
|
|
1160
|
+
// verify required parameter 'launchPreflightRequest' is not null or undefined
|
|
1161
|
+
(0, common_1.assertParamExists)('preflightGuildFromBlueprint', 'launchPreflightRequest', launchPreflightRequest);
|
|
1162
|
+
const localVarPath = `/catalog/blueprints/{blueprint_id}/guilds/preflight`
|
|
1163
|
+
.replace('{blueprint_id}', encodeURIComponent(String(blueprintId)));
|
|
1164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1165
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1166
|
+
let baseOptions;
|
|
1167
|
+
if (configuration) {
|
|
1168
|
+
baseOptions = configuration.baseOptions;
|
|
1169
|
+
}
|
|
1170
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1171
|
+
const localVarHeaderParameter = {};
|
|
1172
|
+
const localVarQueryParameter = {};
|
|
1173
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1174
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1175
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1177
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1178
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchPreflightRequest, localVarRequestOptions, configuration);
|
|
1179
|
+
return {
|
|
1180
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1181
|
+
options: localVarRequestOptions,
|
|
1182
|
+
};
|
|
1183
|
+
},
|
|
1077
1184
|
/**
|
|
1078
1185
|
*
|
|
1079
1186
|
* @summary Share Blueprint With Organization
|
|
@@ -1220,6 +1327,20 @@ const BlueprintsApiFp = function (configuration) {
|
|
|
1220
1327
|
const localVarOperationServerBasePath = base_1.operationServerMap['BlueprintsApi.createBlueprintReview']?.[localVarOperationServerIndex]?.url;
|
|
1221
1328
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1222
1329
|
},
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @summary Create Launch Preparation
|
|
1333
|
+
* @param {string} blueprintId
|
|
1334
|
+
* @param {LaunchPreparationRequest} launchPreparationRequest
|
|
1335
|
+
* @param {*} [options] Override http request option.
|
|
1336
|
+
* @throws {RequiredError}
|
|
1337
|
+
*/
|
|
1338
|
+
async createLaunchPreparation(blueprintId, launchPreparationRequest, options) {
|
|
1339
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createLaunchPreparation(blueprintId, launchPreparationRequest, options);
|
|
1340
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1341
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['BlueprintsApi.createLaunchPreparation']?.[localVarOperationServerIndex]?.url;
|
|
1342
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1343
|
+
},
|
|
1223
1344
|
/**
|
|
1224
1345
|
*
|
|
1225
1346
|
* @summary Get User Accessible Blueprints
|
|
@@ -1431,6 +1552,20 @@ const BlueprintsApiFp = function (configuration) {
|
|
|
1431
1552
|
const localVarOperationServerBasePath = base_1.operationServerMap['BlueprintsApi.listTags']?.[localVarOperationServerIndex]?.url;
|
|
1432
1553
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1433
1554
|
},
|
|
1555
|
+
/**
|
|
1556
|
+
*
|
|
1557
|
+
* @summary Preflight Guild From Blueprint
|
|
1558
|
+
* @param {string | null} blueprintId
|
|
1559
|
+
* @param {LaunchPreflightRequest} launchPreflightRequest
|
|
1560
|
+
* @param {*} [options] Override http request option.
|
|
1561
|
+
* @throws {RequiredError}
|
|
1562
|
+
*/
|
|
1563
|
+
async preflightGuildFromBlueprint(blueprintId, launchPreflightRequest, options) {
|
|
1564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.preflightGuildFromBlueprint(blueprintId, launchPreflightRequest, options);
|
|
1565
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1566
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['BlueprintsApi.preflightGuildFromBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
1567
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1568
|
+
},
|
|
1434
1569
|
/**
|
|
1435
1570
|
*
|
|
1436
1571
|
* @summary Share Blueprint With Organization
|
|
@@ -1510,6 +1645,16 @@ const BlueprintsApiFactory = function (configuration, basePath, axios) {
|
|
|
1510
1645
|
createBlueprintReview(requestParameters, options) {
|
|
1511
1646
|
return localVarFp.createBlueprintReview(requestParameters.blueprintId, requestParameters.blueprintReviewCreate, requestParameters.sqldb, options).then((request) => request(axios, basePath));
|
|
1512
1647
|
},
|
|
1648
|
+
/**
|
|
1649
|
+
*
|
|
1650
|
+
* @summary Create Launch Preparation
|
|
1651
|
+
* @param {BlueprintsApiCreateLaunchPreparationRequest} requestParameters Request parameters.
|
|
1652
|
+
* @param {*} [options] Override http request option.
|
|
1653
|
+
* @throws {RequiredError}
|
|
1654
|
+
*/
|
|
1655
|
+
createLaunchPreparation(requestParameters, options) {
|
|
1656
|
+
return localVarFp.createLaunchPreparation(requestParameters.blueprintId, requestParameters.launchPreparationRequest, options).then((request) => request(axios, basePath));
|
|
1657
|
+
},
|
|
1513
1658
|
/**
|
|
1514
1659
|
*
|
|
1515
1660
|
* @summary Get User Accessible Blueprints
|
|
@@ -1660,6 +1805,16 @@ const BlueprintsApiFactory = function (configuration, basePath, axios) {
|
|
|
1660
1805
|
listTags(requestParameters = {}, options) {
|
|
1661
1806
|
return localVarFp.listTags(requestParameters.sqldb, options).then((request) => request(axios, basePath));
|
|
1662
1807
|
},
|
|
1808
|
+
/**
|
|
1809
|
+
*
|
|
1810
|
+
* @summary Preflight Guild From Blueprint
|
|
1811
|
+
* @param {BlueprintsApiPreflightGuildFromBlueprintRequest} requestParameters Request parameters.
|
|
1812
|
+
* @param {*} [options] Override http request option.
|
|
1813
|
+
* @throws {RequiredError}
|
|
1814
|
+
*/
|
|
1815
|
+
preflightGuildFromBlueprint(requestParameters, options) {
|
|
1816
|
+
return localVarFp.preflightGuildFromBlueprint(requestParameters.blueprintId, requestParameters.launchPreflightRequest, options).then((request) => request(axios, basePath));
|
|
1817
|
+
},
|
|
1663
1818
|
/**
|
|
1664
1819
|
*
|
|
1665
1820
|
* @summary Share Blueprint With Organization
|
|
@@ -1727,6 +1882,16 @@ class BlueprintsApi extends base_1.BaseAPI {
|
|
|
1727
1882
|
createBlueprintReview(requestParameters, options) {
|
|
1728
1883
|
return (0, exports.BlueprintsApiFp)(this.configuration).createBlueprintReview(requestParameters.blueprintId, requestParameters.blueprintReviewCreate, requestParameters.sqldb, options).then((request) => request(this.axios, this.basePath));
|
|
1729
1884
|
}
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @summary Create Launch Preparation
|
|
1888
|
+
* @param {BlueprintsApiCreateLaunchPreparationRequest} requestParameters Request parameters.
|
|
1889
|
+
* @param {*} [options] Override http request option.
|
|
1890
|
+
* @throws {RequiredError}
|
|
1891
|
+
*/
|
|
1892
|
+
createLaunchPreparation(requestParameters, options) {
|
|
1893
|
+
return (0, exports.BlueprintsApiFp)(this.configuration).createLaunchPreparation(requestParameters.blueprintId, requestParameters.launchPreparationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1894
|
+
}
|
|
1730
1895
|
/**
|
|
1731
1896
|
*
|
|
1732
1897
|
* @summary Get User Accessible Blueprints
|
|
@@ -1877,6 +2042,16 @@ class BlueprintsApi extends base_1.BaseAPI {
|
|
|
1877
2042
|
listTags(requestParameters = {}, options) {
|
|
1878
2043
|
return (0, exports.BlueprintsApiFp)(this.configuration).listTags(requestParameters.sqldb, options).then((request) => request(this.axios, this.basePath));
|
|
1879
2044
|
}
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
* @summary Preflight Guild From Blueprint
|
|
2048
|
+
* @param {BlueprintsApiPreflightGuildFromBlueprintRequest} requestParameters Request parameters.
|
|
2049
|
+
* @param {*} [options] Override http request option.
|
|
2050
|
+
* @throws {RequiredError}
|
|
2051
|
+
*/
|
|
2052
|
+
preflightGuildFromBlueprint(requestParameters, options) {
|
|
2053
|
+
return (0, exports.BlueprintsApiFp)(this.configuration).preflightGuildFromBlueprint(requestParameters.blueprintId, requestParameters.launchPreflightRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2054
|
+
}
|
|
1880
2055
|
/**
|
|
1881
2056
|
*
|
|
1882
2057
|
* @summary Share Blueprint With Organization
|
|
@@ -2398,6 +2573,51 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2398
2573
|
options: localVarRequestOptions,
|
|
2399
2574
|
};
|
|
2400
2575
|
},
|
|
2576
|
+
/**
|
|
2577
|
+
*
|
|
2578
|
+
* @summary Permanently delete a quiescent guild
|
|
2579
|
+
* @param {string | null} guildId
|
|
2580
|
+
* @param {string | null} userId
|
|
2581
|
+
* @param {string | null} orgId
|
|
2582
|
+
* @param {boolean} [force]
|
|
2583
|
+
* @param {*} [options] Override http request option.
|
|
2584
|
+
* @throws {RequiredError}
|
|
2585
|
+
*/
|
|
2586
|
+
deleteGuild: async (guildId, userId, orgId, force, options = {}) => {
|
|
2587
|
+
// verify required parameter 'guildId' is not null or undefined
|
|
2588
|
+
(0, common_1.assertParamExists)('deleteGuild', 'guildId', guildId);
|
|
2589
|
+
// verify required parameter 'userId' is not null or undefined
|
|
2590
|
+
(0, common_1.assertParamExists)('deleteGuild', 'userId', userId);
|
|
2591
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
2592
|
+
(0, common_1.assertParamExists)('deleteGuild', 'orgId', orgId);
|
|
2593
|
+
const localVarPath = `/api/guilds/{guild_id}`
|
|
2594
|
+
.replace('{guild_id}', encodeURIComponent(String(guildId)));
|
|
2595
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2596
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2597
|
+
let baseOptions;
|
|
2598
|
+
if (configuration) {
|
|
2599
|
+
baseOptions = configuration.baseOptions;
|
|
2600
|
+
}
|
|
2601
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
2602
|
+
const localVarHeaderParameter = {};
|
|
2603
|
+
const localVarQueryParameter = {};
|
|
2604
|
+
if (userId !== undefined) {
|
|
2605
|
+
localVarQueryParameter['user_id'] = userId;
|
|
2606
|
+
}
|
|
2607
|
+
if (orgId !== undefined) {
|
|
2608
|
+
localVarQueryParameter['org_id'] = orgId;
|
|
2609
|
+
}
|
|
2610
|
+
if (force !== undefined) {
|
|
2611
|
+
localVarQueryParameter['force'] = force;
|
|
2612
|
+
}
|
|
2613
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2614
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2615
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2616
|
+
return {
|
|
2617
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2618
|
+
options: localVarRequestOptions,
|
|
2619
|
+
};
|
|
2620
|
+
},
|
|
2401
2621
|
/**
|
|
2402
2622
|
*
|
|
2403
2623
|
* @summary Delete File For Guild
|
|
@@ -2626,6 +2846,32 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2626
2846
|
options: localVarRequestOptions,
|
|
2627
2847
|
};
|
|
2628
2848
|
},
|
|
2849
|
+
/**
|
|
2850
|
+
*
|
|
2851
|
+
* @summary Get Forge Capabilities
|
|
2852
|
+
* @param {*} [options] Override http request option.
|
|
2853
|
+
* @throws {RequiredError}
|
|
2854
|
+
*/
|
|
2855
|
+
getForgeCapabilities: async (options = {}) => {
|
|
2856
|
+
const localVarPath = `/capabilities`;
|
|
2857
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2858
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2859
|
+
let baseOptions;
|
|
2860
|
+
if (configuration) {
|
|
2861
|
+
baseOptions = configuration.baseOptions;
|
|
2862
|
+
}
|
|
2863
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2864
|
+
const localVarHeaderParameter = {};
|
|
2865
|
+
const localVarQueryParameter = {};
|
|
2866
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2867
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2868
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2869
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2870
|
+
return {
|
|
2871
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2872
|
+
options: localVarRequestOptions,
|
|
2873
|
+
};
|
|
2874
|
+
},
|
|
2629
2875
|
/**
|
|
2630
2876
|
* Retrieves details for a guild based on the provided guild_id. Args: guild_id (str): The ID of the guild to retrieve details for. Returns: GuildSpecResponse: The retrieved guild details, or None if the guild was not found. Raises: HTTPException: If the guild is not found, raises an HTTPException with a status code of 404.
|
|
2631
2877
|
* @summary Get Guild
|
|
@@ -2991,7 +3237,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2991
3237
|
/**
|
|
2992
3238
|
*
|
|
2993
3239
|
* @summary Node Heartbeat
|
|
2994
|
-
* @param {string} nodeId
|
|
3240
|
+
* @param {string | null} nodeId
|
|
3241
|
+
* @param {NodeHeartbeatRequest} [nodeHeartbeatRequest]
|
|
2995
3242
|
* @param {*} [options] Override http request option.
|
|
2996
3243
|
* @throws {RequiredError}
|
|
2997
3244
|
*/
|
|
@@ -3259,6 +3506,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
3259
3506
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.deleteAgentFile']?.[localVarOperationServerIndex]?.url;
|
|
3260
3507
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3261
3508
|
},
|
|
3509
|
+
/**
|
|
3510
|
+
*
|
|
3511
|
+
* @summary Permanently delete a quiescent guild
|
|
3512
|
+
* @param {string | null} guildId
|
|
3513
|
+
* @param {string | null} userId
|
|
3514
|
+
* @param {string | null} orgId
|
|
3515
|
+
* @param {boolean} [force]
|
|
3516
|
+
* @param {*} [options] Override http request option.
|
|
3517
|
+
* @throws {RequiredError}
|
|
3518
|
+
*/
|
|
3519
|
+
async deleteGuild(guildId, userId, orgId, force, options) {
|
|
3520
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGuild(guildId, userId, orgId, force, options);
|
|
3521
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3522
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.deleteGuild']?.[localVarOperationServerIndex]?.url;
|
|
3523
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3524
|
+
},
|
|
3262
3525
|
/**
|
|
3263
3526
|
*
|
|
3264
3527
|
* @summary Delete File For Guild
|
|
@@ -3349,6 +3612,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
3349
3612
|
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getFileForGuild']?.[localVarOperationServerIndex]?.url;
|
|
3350
3613
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3351
3614
|
},
|
|
3615
|
+
/**
|
|
3616
|
+
*
|
|
3617
|
+
* @summary Get Forge Capabilities
|
|
3618
|
+
* @param {*} [options] Override http request option.
|
|
3619
|
+
* @throws {RequiredError}
|
|
3620
|
+
*/
|
|
3621
|
+
async getForgeCapabilities(options) {
|
|
3622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getForgeCapabilities(options);
|
|
3623
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3624
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.getForgeCapabilities']?.[localVarOperationServerIndex]?.url;
|
|
3625
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3626
|
+
},
|
|
3352
3627
|
/**
|
|
3353
3628
|
* Retrieves details for a guild based on the provided guild_id. Args: guild_id (str): The ID of the guild to retrieve details for. Returns: GuildSpecResponse: The retrieved guild details, or None if the guild was not found. Raises: HTTPException: If the guild is not found, raises an HTTPException with a status code of 404.
|
|
3354
3629
|
* @summary Get Guild
|
|
@@ -3508,7 +3783,8 @@ const DefaultApiFp = function (configuration) {
|
|
|
3508
3783
|
/**
|
|
3509
3784
|
*
|
|
3510
3785
|
* @summary Node Heartbeat
|
|
3511
|
-
* @param {string} nodeId
|
|
3786
|
+
* @param {string | null} nodeId
|
|
3787
|
+
* @param {NodeHeartbeatRequest} [nodeHeartbeatRequest]
|
|
3512
3788
|
* @param {*} [options] Override http request option.
|
|
3513
3789
|
* @throws {RequiredError}
|
|
3514
3790
|
*/
|
|
@@ -3629,6 +3905,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3629
3905
|
deleteAgentFile(requestParameters, options) {
|
|
3630
3906
|
return localVarFp.deleteAgentFile(requestParameters.guildId, requestParameters.agentId, requestParameters.filename, requestParameters.sqldb, options).then((request) => request(axios, basePath));
|
|
3631
3907
|
},
|
|
3908
|
+
/**
|
|
3909
|
+
*
|
|
3910
|
+
* @summary Permanently delete a quiescent guild
|
|
3911
|
+
* @param {DefaultApiDeleteGuildRequest} requestParameters Request parameters.
|
|
3912
|
+
* @param {*} [options] Override http request option.
|
|
3913
|
+
* @throws {RequiredError}
|
|
3914
|
+
*/
|
|
3915
|
+
deleteGuild(requestParameters, options) {
|
|
3916
|
+
return localVarFp.deleteGuild(requestParameters.guildId, requestParameters.userId, requestParameters.orgId, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
3917
|
+
},
|
|
3632
3918
|
/**
|
|
3633
3919
|
*
|
|
3634
3920
|
* @summary Delete File For Guild
|
|
@@ -3689,6 +3975,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3689
3975
|
getFileForGuild(requestParameters, options) {
|
|
3690
3976
|
return localVarFp.getFileForGuild(requestParameters.guildId, requestParameters.filename, requestParameters.download, requestParameters.sqldb, options).then((request) => request(axios, basePath));
|
|
3691
3977
|
},
|
|
3978
|
+
/**
|
|
3979
|
+
*
|
|
3980
|
+
* @summary Get Forge Capabilities
|
|
3981
|
+
* @param {*} [options] Override http request option.
|
|
3982
|
+
* @throws {RequiredError}
|
|
3983
|
+
*/
|
|
3984
|
+
getForgeCapabilities(options) {
|
|
3985
|
+
return localVarFp.getForgeCapabilities(options).then((request) => request(axios, basePath));
|
|
3986
|
+
},
|
|
3692
3987
|
/**
|
|
3693
3988
|
* Retrieves details for a guild based on the provided guild_id. Args: guild_id (str): The ID of the guild to retrieve details for. Returns: GuildSpecResponse: The retrieved guild details, or None if the guild was not found. Raises: HTTPException: If the guild is not found, raises an HTTPException with a status code of 404.
|
|
3694
3989
|
* @summary Get Guild
|
|
@@ -3899,6 +4194,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3899
4194
|
deleteAgentFile(requestParameters, options) {
|
|
3900
4195
|
return (0, exports.DefaultApiFp)(this.configuration).deleteAgentFile(requestParameters.guildId, requestParameters.agentId, requestParameters.filename, requestParameters.sqldb, options).then((request) => request(this.axios, this.basePath));
|
|
3901
4196
|
}
|
|
4197
|
+
/**
|
|
4198
|
+
*
|
|
4199
|
+
* @summary Permanently delete a quiescent guild
|
|
4200
|
+
* @param {DefaultApiDeleteGuildRequest} requestParameters Request parameters.
|
|
4201
|
+
* @param {*} [options] Override http request option.
|
|
4202
|
+
* @throws {RequiredError}
|
|
4203
|
+
*/
|
|
4204
|
+
deleteGuild(requestParameters, options) {
|
|
4205
|
+
return (0, exports.DefaultApiFp)(this.configuration).deleteGuild(requestParameters.guildId, requestParameters.userId, requestParameters.orgId, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
4206
|
+
}
|
|
3902
4207
|
/**
|
|
3903
4208
|
*
|
|
3904
4209
|
* @summary Delete File For Guild
|
|
@@ -3959,6 +4264,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3959
4264
|
getFileForGuild(requestParameters, options) {
|
|
3960
4265
|
return (0, exports.DefaultApiFp)(this.configuration).getFileForGuild(requestParameters.guildId, requestParameters.filename, requestParameters.download, requestParameters.sqldb, options).then((request) => request(this.axios, this.basePath));
|
|
3961
4266
|
}
|
|
4267
|
+
/**
|
|
4268
|
+
*
|
|
4269
|
+
* @summary Get Forge Capabilities
|
|
4270
|
+
* @param {*} [options] Override http request option.
|
|
4271
|
+
* @throws {RequiredError}
|
|
4272
|
+
*/
|
|
4273
|
+
getForgeCapabilities(options) {
|
|
4274
|
+
return (0, exports.DefaultApiFp)(this.configuration).getForgeCapabilities(options).then((request) => request(this.axios, this.basePath));
|
|
4275
|
+
}
|
|
3962
4276
|
/**
|
|
3963
4277
|
* Retrieves details for a guild based on the provided guild_id. Args: guild_id (str): The ID of the guild to retrieve details for. Returns: GuildSpecResponse: The retrieved guild details, or None if the guild was not found. Raises: HTTPException: If the guild is not found, raises an HTTPException with a status code of 404.
|
|
3964
4278
|
* @summary Get Guild
|
|
@@ -4135,23 +4449,21 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4135
4449
|
}
|
|
4136
4450
|
exports.DefaultApi = DefaultApi;
|
|
4137
4451
|
/**
|
|
4138
|
-
*
|
|
4452
|
+
* DependenciesApi - axios parameter creator
|
|
4139
4453
|
*/
|
|
4140
|
-
const
|
|
4454
|
+
const DependenciesApiAxiosParamCreator = function (configuration) {
|
|
4141
4455
|
return {
|
|
4142
4456
|
/**
|
|
4143
|
-
*
|
|
4144
|
-
* @summary
|
|
4145
|
-
* @param {string}
|
|
4146
|
-
* @param {string} [
|
|
4457
|
+
*
|
|
4458
|
+
* @summary List Configured Dependencies
|
|
4459
|
+
* @param {string | null} [providedType]
|
|
4460
|
+
* @param {string | null} [capability]
|
|
4461
|
+
* @param {boolean} [includeUnavailable]
|
|
4147
4462
|
* @param {*} [options] Override http request option.
|
|
4148
4463
|
* @throws {RequiredError}
|
|
4149
4464
|
*/
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
(0, common_1.assertParamExists)('getUsersAddedToGuild', 'guildId', guildId);
|
|
4153
|
-
const localVarPath = `/catalog/guilds/{guild_id}/users`
|
|
4154
|
-
.replace('{guild_id}', encodeURIComponent(String(guildId)));
|
|
4465
|
+
listConfiguredDependencies: async (providedType, capability, includeUnavailable, options = {}) => {
|
|
4466
|
+
const localVarPath = `/catalog/dependencies`;
|
|
4155
4467
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4156
4468
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4157
4469
|
let baseOptions;
|
|
@@ -4161,8 +4473,14 @@ const GuildsApiAxiosParamCreator = function (configuration) {
|
|
|
4161
4473
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4162
4474
|
const localVarHeaderParameter = {};
|
|
4163
4475
|
const localVarQueryParameter = {};
|
|
4164
|
-
if (
|
|
4165
|
-
localVarQueryParameter['
|
|
4476
|
+
if (providedType !== undefined) {
|
|
4477
|
+
localVarQueryParameter['provided_type'] = providedType;
|
|
4478
|
+
}
|
|
4479
|
+
if (capability !== undefined) {
|
|
4480
|
+
localVarQueryParameter['capability'] = capability;
|
|
4481
|
+
}
|
|
4482
|
+
if (includeUnavailable !== undefined) {
|
|
4483
|
+
localVarQueryParameter['include_unavailable'] = includeUnavailable;
|
|
4166
4484
|
}
|
|
4167
4485
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4168
4486
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4173,54 +4491,432 @@ const GuildsApiAxiosParamCreator = function (configuration) {
|
|
|
4173
4491
|
options: localVarRequestOptions,
|
|
4174
4492
|
};
|
|
4175
4493
|
},
|
|
4494
|
+
};
|
|
4495
|
+
};
|
|
4496
|
+
exports.DependenciesApiAxiosParamCreator = DependenciesApiAxiosParamCreator;
|
|
4497
|
+
/**
|
|
4498
|
+
* DependenciesApi - functional programming interface
|
|
4499
|
+
*/
|
|
4500
|
+
const DependenciesApiFp = function (configuration) {
|
|
4501
|
+
const localVarAxiosParamCreator = (0, exports.DependenciesApiAxiosParamCreator)(configuration);
|
|
4502
|
+
return {
|
|
4176
4503
|
/**
|
|
4177
4504
|
*
|
|
4178
|
-
* @summary
|
|
4179
|
-
* @param {string}
|
|
4180
|
-
* @param {
|
|
4181
|
-
* @param {
|
|
4505
|
+
* @summary List Configured Dependencies
|
|
4506
|
+
* @param {string | null} [providedType]
|
|
4507
|
+
* @param {string | null} [capability]
|
|
4508
|
+
* @param {boolean} [includeUnavailable]
|
|
4182
4509
|
* @param {*} [options] Override http request option.
|
|
4183
4510
|
* @throws {RequiredError}
|
|
4184
4511
|
*/
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
(0, common_1.
|
|
4190
|
-
const localVarPath = `/catalog/blueprints/{blueprint_id}/guilds`
|
|
4191
|
-
.replace('{blueprint_id}', encodeURIComponent(String(blueprintId)));
|
|
4192
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4193
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4194
|
-
let baseOptions;
|
|
4195
|
-
if (configuration) {
|
|
4196
|
-
baseOptions = configuration.baseOptions;
|
|
4197
|
-
}
|
|
4198
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4199
|
-
const localVarHeaderParameter = {};
|
|
4200
|
-
const localVarQueryParameter = {};
|
|
4201
|
-
if (sqldb !== undefined) {
|
|
4202
|
-
localVarQueryParameter['sqldb'] = sqldb;
|
|
4203
|
-
}
|
|
4204
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4205
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4206
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4207
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4208
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4209
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchGuildFromBlueprintRequest, localVarRequestOptions, configuration);
|
|
4210
|
-
return {
|
|
4211
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4212
|
-
options: localVarRequestOptions,
|
|
4213
|
-
};
|
|
4512
|
+
async listConfiguredDependencies(providedType, capability, includeUnavailable, options) {
|
|
4513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listConfiguredDependencies(providedType, capability, includeUnavailable, options);
|
|
4514
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4515
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DependenciesApi.listConfiguredDependencies']?.[localVarOperationServerIndex]?.url;
|
|
4516
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4214
4517
|
},
|
|
4215
4518
|
};
|
|
4216
4519
|
};
|
|
4217
|
-
exports.
|
|
4520
|
+
exports.DependenciesApiFp = DependenciesApiFp;
|
|
4218
4521
|
/**
|
|
4219
|
-
*
|
|
4522
|
+
* DependenciesApi - factory interface
|
|
4220
4523
|
*/
|
|
4221
|
-
const
|
|
4524
|
+
const DependenciesApiFactory = function (configuration, basePath, axios) {
|
|
4525
|
+
const localVarFp = (0, exports.DependenciesApiFp)(configuration);
|
|
4526
|
+
return {
|
|
4527
|
+
/**
|
|
4528
|
+
*
|
|
4529
|
+
* @summary List Configured Dependencies
|
|
4530
|
+
* @param {DependenciesApiListConfiguredDependenciesRequest} requestParameters Request parameters.
|
|
4531
|
+
* @param {*} [options] Override http request option.
|
|
4532
|
+
* @throws {RequiredError}
|
|
4533
|
+
*/
|
|
4534
|
+
listConfiguredDependencies(requestParameters = {}, options) {
|
|
4535
|
+
return localVarFp.listConfiguredDependencies(requestParameters.providedType, requestParameters.capability, requestParameters.includeUnavailable, options).then((request) => request(axios, basePath));
|
|
4536
|
+
},
|
|
4537
|
+
};
|
|
4538
|
+
};
|
|
4539
|
+
exports.DependenciesApiFactory = DependenciesApiFactory;
|
|
4540
|
+
/**
|
|
4541
|
+
* DependenciesApi - object-oriented interface
|
|
4542
|
+
*/
|
|
4543
|
+
class DependenciesApi extends base_1.BaseAPI {
|
|
4544
|
+
/**
|
|
4545
|
+
*
|
|
4546
|
+
* @summary List Configured Dependencies
|
|
4547
|
+
* @param {DependenciesApiListConfiguredDependenciesRequest} requestParameters Request parameters.
|
|
4548
|
+
* @param {*} [options] Override http request option.
|
|
4549
|
+
* @throws {RequiredError}
|
|
4550
|
+
*/
|
|
4551
|
+
listConfiguredDependencies(requestParameters = {}, options) {
|
|
4552
|
+
return (0, exports.DependenciesApiFp)(this.configuration).listConfiguredDependencies(requestParameters.providedType, requestParameters.capability, requestParameters.includeUnavailable, options).then((request) => request(this.axios, this.basePath));
|
|
4553
|
+
}
|
|
4554
|
+
}
|
|
4555
|
+
exports.DependenciesApi = DependenciesApi;
|
|
4556
|
+
/**
|
|
4557
|
+
* GuildsApi - axios parameter creator
|
|
4558
|
+
*/
|
|
4559
|
+
const GuildsApiAxiosParamCreator = function (configuration) {
|
|
4560
|
+
return {
|
|
4561
|
+
/**
|
|
4562
|
+
*
|
|
4563
|
+
* @summary Authorize an opaque launch OAuth requirement
|
|
4564
|
+
* @param {string} preflightId
|
|
4565
|
+
* @param {string} requirementId
|
|
4566
|
+
* @param {LaunchOAuthActionRequest} launchOAuthActionRequest
|
|
4567
|
+
* @param {*} [options] Override http request option.
|
|
4568
|
+
* @throws {RequiredError}
|
|
4569
|
+
*/
|
|
4570
|
+
authorizeLaunchOAuth: async (preflightId, requirementId, launchOAuthActionRequest, options = {}) => {
|
|
4571
|
+
// verify required parameter 'preflightId' is not null or undefined
|
|
4572
|
+
(0, common_1.assertParamExists)('authorizeLaunchOAuth', 'preflightId', preflightId);
|
|
4573
|
+
// verify required parameter 'requirementId' is not null or undefined
|
|
4574
|
+
(0, common_1.assertParamExists)('authorizeLaunchOAuth', 'requirementId', requirementId);
|
|
4575
|
+
// verify required parameter 'launchOAuthActionRequest' is not null or undefined
|
|
4576
|
+
(0, common_1.assertParamExists)('authorizeLaunchOAuth', 'launchOAuthActionRequest', launchOAuthActionRequest);
|
|
4577
|
+
const localVarPath = `/catalog/launch-preflights/{preflight_id}/requirements/{requirement_id}/oauth`
|
|
4578
|
+
.replace('{preflight_id}', encodeURIComponent(String(preflightId)))
|
|
4579
|
+
.replace('{requirement_id}', encodeURIComponent(String(requirementId)));
|
|
4580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4581
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4582
|
+
let baseOptions;
|
|
4583
|
+
if (configuration) {
|
|
4584
|
+
baseOptions = configuration.baseOptions;
|
|
4585
|
+
}
|
|
4586
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4587
|
+
const localVarHeaderParameter = {};
|
|
4588
|
+
const localVarQueryParameter = {};
|
|
4589
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4590
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4591
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4592
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4593
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4594
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchOAuthActionRequest, localVarRequestOptions, configuration);
|
|
4595
|
+
return {
|
|
4596
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4597
|
+
options: localVarRequestOptions,
|
|
4598
|
+
};
|
|
4599
|
+
},
|
|
4600
|
+
/**
|
|
4601
|
+
*
|
|
4602
|
+
* @summary Cancel Launch Preparation
|
|
4603
|
+
* @param {string} preparationId
|
|
4604
|
+
* @param {*} [options] Override http request option.
|
|
4605
|
+
* @throws {RequiredError}
|
|
4606
|
+
*/
|
|
4607
|
+
cancelLaunchPreparation: async (preparationId, options = {}) => {
|
|
4608
|
+
// verify required parameter 'preparationId' is not null or undefined
|
|
4609
|
+
(0, common_1.assertParamExists)('cancelLaunchPreparation', 'preparationId', preparationId);
|
|
4610
|
+
const localVarPath = `/catalog/launch-preparations/{preparation_id}`
|
|
4611
|
+
.replace('{preparation_id}', encodeURIComponent(String(preparationId)));
|
|
4612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4613
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4614
|
+
let baseOptions;
|
|
4615
|
+
if (configuration) {
|
|
4616
|
+
baseOptions = configuration.baseOptions;
|
|
4617
|
+
}
|
|
4618
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4619
|
+
const localVarHeaderParameter = {};
|
|
4620
|
+
const localVarQueryParameter = {};
|
|
4621
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4622
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4623
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4624
|
+
return {
|
|
4625
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4626
|
+
options: localVarRequestOptions,
|
|
4627
|
+
};
|
|
4628
|
+
},
|
|
4629
|
+
/**
|
|
4630
|
+
*
|
|
4631
|
+
* @summary Configure an opaque launch secret requirement
|
|
4632
|
+
* @param {string | null} preflightId
|
|
4633
|
+
* @param {string | null} requirementId
|
|
4634
|
+
* @param {LaunchSecretActionRequest} launchSecretActionRequest
|
|
4635
|
+
* @param {*} [options] Override http request option.
|
|
4636
|
+
* @throws {RequiredError}
|
|
4637
|
+
*/
|
|
4638
|
+
configureLaunchSecret: async (preflightId, requirementId, launchSecretActionRequest, options = {}) => {
|
|
4639
|
+
// verify required parameter 'preflightId' is not null or undefined
|
|
4640
|
+
(0, common_1.assertParamExists)('configureLaunchSecret', 'preflightId', preflightId);
|
|
4641
|
+
// verify required parameter 'requirementId' is not null or undefined
|
|
4642
|
+
(0, common_1.assertParamExists)('configureLaunchSecret', 'requirementId', requirementId);
|
|
4643
|
+
// verify required parameter 'launchSecretActionRequest' is not null or undefined
|
|
4644
|
+
(0, common_1.assertParamExists)('configureLaunchSecret', 'launchSecretActionRequest', launchSecretActionRequest);
|
|
4645
|
+
const localVarPath = `/catalog/launch-preflights/{preflight_id}/requirements/{requirement_id}/secret`
|
|
4646
|
+
.replace('{preflight_id}', encodeURIComponent(String(preflightId)))
|
|
4647
|
+
.replace('{requirement_id}', encodeURIComponent(String(requirementId)));
|
|
4648
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4649
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4650
|
+
let baseOptions;
|
|
4651
|
+
if (configuration) {
|
|
4652
|
+
baseOptions = configuration.baseOptions;
|
|
4653
|
+
}
|
|
4654
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4655
|
+
const localVarHeaderParameter = {};
|
|
4656
|
+
const localVarQueryParameter = {};
|
|
4657
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4658
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4659
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4660
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4661
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4662
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchSecretActionRequest, localVarRequestOptions, configuration);
|
|
4663
|
+
return {
|
|
4664
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4665
|
+
options: localVarRequestOptions,
|
|
4666
|
+
};
|
|
4667
|
+
},
|
|
4668
|
+
/**
|
|
4669
|
+
*
|
|
4670
|
+
* @summary Create Launch Preparation
|
|
4671
|
+
* @param {string} blueprintId
|
|
4672
|
+
* @param {LaunchPreparationRequest} launchPreparationRequest
|
|
4673
|
+
* @param {*} [options] Override http request option.
|
|
4674
|
+
* @throws {RequiredError}
|
|
4675
|
+
*/
|
|
4676
|
+
createLaunchPreparation: async (blueprintId, launchPreparationRequest, options = {}) => {
|
|
4677
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
4678
|
+
(0, common_1.assertParamExists)('createLaunchPreparation', 'blueprintId', blueprintId);
|
|
4679
|
+
// verify required parameter 'launchPreparationRequest' is not null or undefined
|
|
4680
|
+
(0, common_1.assertParamExists)('createLaunchPreparation', 'launchPreparationRequest', launchPreparationRequest);
|
|
4681
|
+
const localVarPath = `/catalog/blueprints/{blueprint_id}/guilds/preparations`
|
|
4682
|
+
.replace('{blueprint_id}', encodeURIComponent(String(blueprintId)));
|
|
4683
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4684
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4685
|
+
let baseOptions;
|
|
4686
|
+
if (configuration) {
|
|
4687
|
+
baseOptions = configuration.baseOptions;
|
|
4688
|
+
}
|
|
4689
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4690
|
+
const localVarHeaderParameter = {};
|
|
4691
|
+
const localVarQueryParameter = {};
|
|
4692
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4693
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4694
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4695
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4696
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4697
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchPreparationRequest, localVarRequestOptions, configuration);
|
|
4698
|
+
return {
|
|
4699
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4700
|
+
options: localVarRequestOptions,
|
|
4701
|
+
};
|
|
4702
|
+
},
|
|
4703
|
+
/**
|
|
4704
|
+
*
|
|
4705
|
+
* @summary Get Launch Preparation
|
|
4706
|
+
* @param {string | null} preparationId
|
|
4707
|
+
* @param {*} [options] Override http request option.
|
|
4708
|
+
* @throws {RequiredError}
|
|
4709
|
+
*/
|
|
4710
|
+
getLaunchPreparation: async (preparationId, options = {}) => {
|
|
4711
|
+
// verify required parameter 'preparationId' is not null or undefined
|
|
4712
|
+
(0, common_1.assertParamExists)('getLaunchPreparation', 'preparationId', preparationId);
|
|
4713
|
+
const localVarPath = `/catalog/launch-preparations/{preparation_id}`
|
|
4714
|
+
.replace('{preparation_id}', encodeURIComponent(String(preparationId)));
|
|
4715
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4716
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4717
|
+
let baseOptions;
|
|
4718
|
+
if (configuration) {
|
|
4719
|
+
baseOptions = configuration.baseOptions;
|
|
4720
|
+
}
|
|
4721
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4722
|
+
const localVarHeaderParameter = {};
|
|
4723
|
+
const localVarQueryParameter = {};
|
|
4724
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4725
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4726
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4727
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4728
|
+
return {
|
|
4729
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4730
|
+
options: localVarRequestOptions,
|
|
4731
|
+
};
|
|
4732
|
+
},
|
|
4733
|
+
/**
|
|
4734
|
+
* Get the list of users added to a guild. This includes both active and inactive users.
|
|
4735
|
+
* @summary Get Guild Users
|
|
4736
|
+
* @param {string} guildId
|
|
4737
|
+
* @param {string} [sqldb]
|
|
4738
|
+
* @param {*} [options] Override http request option.
|
|
4739
|
+
* @throws {RequiredError}
|
|
4740
|
+
*/
|
|
4741
|
+
getUsersAddedToGuild: async (guildId, sqldb, options = {}) => {
|
|
4742
|
+
// verify required parameter 'guildId' is not null or undefined
|
|
4743
|
+
(0, common_1.assertParamExists)('getUsersAddedToGuild', 'guildId', guildId);
|
|
4744
|
+
const localVarPath = `/catalog/guilds/{guild_id}/users`
|
|
4745
|
+
.replace('{guild_id}', encodeURIComponent(String(guildId)));
|
|
4746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4747
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4748
|
+
let baseOptions;
|
|
4749
|
+
if (configuration) {
|
|
4750
|
+
baseOptions = configuration.baseOptions;
|
|
4751
|
+
}
|
|
4752
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4753
|
+
const localVarHeaderParameter = {};
|
|
4754
|
+
const localVarQueryParameter = {};
|
|
4755
|
+
if (sqldb !== undefined) {
|
|
4756
|
+
localVarQueryParameter['sqldb'] = sqldb;
|
|
4757
|
+
}
|
|
4758
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4759
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4760
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4761
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4762
|
+
return {
|
|
4763
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4764
|
+
options: localVarRequestOptions,
|
|
4765
|
+
};
|
|
4766
|
+
},
|
|
4767
|
+
/**
|
|
4768
|
+
*
|
|
4769
|
+
* @summary Launch Guild From Blueprint
|
|
4770
|
+
* @param {string} blueprintId
|
|
4771
|
+
* @param {LaunchGuildFromBlueprintRequest} launchGuildFromBlueprintRequest
|
|
4772
|
+
* @param {string} [sqldb]
|
|
4773
|
+
* @param {*} [options] Override http request option.
|
|
4774
|
+
* @throws {RequiredError}
|
|
4775
|
+
*/
|
|
4776
|
+
launchGuildFromBlueprint: async (blueprintId, launchGuildFromBlueprintRequest, sqldb, options = {}) => {
|
|
4777
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
4778
|
+
(0, common_1.assertParamExists)('launchGuildFromBlueprint', 'blueprintId', blueprintId);
|
|
4779
|
+
// verify required parameter 'launchGuildFromBlueprintRequest' is not null or undefined
|
|
4780
|
+
(0, common_1.assertParamExists)('launchGuildFromBlueprint', 'launchGuildFromBlueprintRequest', launchGuildFromBlueprintRequest);
|
|
4781
|
+
const localVarPath = `/catalog/blueprints/{blueprint_id}/guilds`
|
|
4782
|
+
.replace('{blueprint_id}', encodeURIComponent(String(blueprintId)));
|
|
4783
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4784
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4785
|
+
let baseOptions;
|
|
4786
|
+
if (configuration) {
|
|
4787
|
+
baseOptions = configuration.baseOptions;
|
|
4788
|
+
}
|
|
4789
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4790
|
+
const localVarHeaderParameter = {};
|
|
4791
|
+
const localVarQueryParameter = {};
|
|
4792
|
+
if (sqldb !== undefined) {
|
|
4793
|
+
localVarQueryParameter['sqldb'] = sqldb;
|
|
4794
|
+
}
|
|
4795
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4796
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4797
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4798
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4799
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4800
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchGuildFromBlueprintRequest, localVarRequestOptions, configuration);
|
|
4801
|
+
return {
|
|
4802
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4803
|
+
options: localVarRequestOptions,
|
|
4804
|
+
};
|
|
4805
|
+
},
|
|
4806
|
+
/**
|
|
4807
|
+
*
|
|
4808
|
+
* @summary Preflight Guild From Blueprint
|
|
4809
|
+
* @param {string | null} blueprintId
|
|
4810
|
+
* @param {LaunchPreflightRequest} launchPreflightRequest
|
|
4811
|
+
* @param {*} [options] Override http request option.
|
|
4812
|
+
* @throws {RequiredError}
|
|
4813
|
+
*/
|
|
4814
|
+
preflightGuildFromBlueprint: async (blueprintId, launchPreflightRequest, options = {}) => {
|
|
4815
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
4816
|
+
(0, common_1.assertParamExists)('preflightGuildFromBlueprint', 'blueprintId', blueprintId);
|
|
4817
|
+
// verify required parameter 'launchPreflightRequest' is not null or undefined
|
|
4818
|
+
(0, common_1.assertParamExists)('preflightGuildFromBlueprint', 'launchPreflightRequest', launchPreflightRequest);
|
|
4819
|
+
const localVarPath = `/catalog/blueprints/{blueprint_id}/guilds/preflight`
|
|
4820
|
+
.replace('{blueprint_id}', encodeURIComponent(String(blueprintId)));
|
|
4821
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4822
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4823
|
+
let baseOptions;
|
|
4824
|
+
if (configuration) {
|
|
4825
|
+
baseOptions = configuration.baseOptions;
|
|
4826
|
+
}
|
|
4827
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
4828
|
+
const localVarHeaderParameter = {};
|
|
4829
|
+
const localVarQueryParameter = {};
|
|
4830
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4831
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4832
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4833
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4834
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4835
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(launchPreflightRequest, localVarRequestOptions, configuration);
|
|
4836
|
+
return {
|
|
4837
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4838
|
+
options: localVarRequestOptions,
|
|
4839
|
+
};
|
|
4840
|
+
},
|
|
4841
|
+
};
|
|
4842
|
+
};
|
|
4843
|
+
exports.GuildsApiAxiosParamCreator = GuildsApiAxiosParamCreator;
|
|
4844
|
+
/**
|
|
4845
|
+
* GuildsApi - functional programming interface
|
|
4846
|
+
*/
|
|
4847
|
+
const GuildsApiFp = function (configuration) {
|
|
4222
4848
|
const localVarAxiosParamCreator = (0, exports.GuildsApiAxiosParamCreator)(configuration);
|
|
4223
4849
|
return {
|
|
4850
|
+
/**
|
|
4851
|
+
*
|
|
4852
|
+
* @summary Authorize an opaque launch OAuth requirement
|
|
4853
|
+
* @param {string} preflightId
|
|
4854
|
+
* @param {string} requirementId
|
|
4855
|
+
* @param {LaunchOAuthActionRequest} launchOAuthActionRequest
|
|
4856
|
+
* @param {*} [options] Override http request option.
|
|
4857
|
+
* @throws {RequiredError}
|
|
4858
|
+
*/
|
|
4859
|
+
async authorizeLaunchOAuth(preflightId, requirementId, launchOAuthActionRequest, options) {
|
|
4860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authorizeLaunchOAuth(preflightId, requirementId, launchOAuthActionRequest, options);
|
|
4861
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4862
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.authorizeLaunchOAuth']?.[localVarOperationServerIndex]?.url;
|
|
4863
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4864
|
+
},
|
|
4865
|
+
/**
|
|
4866
|
+
*
|
|
4867
|
+
* @summary Cancel Launch Preparation
|
|
4868
|
+
* @param {string} preparationId
|
|
4869
|
+
* @param {*} [options] Override http request option.
|
|
4870
|
+
* @throws {RequiredError}
|
|
4871
|
+
*/
|
|
4872
|
+
async cancelLaunchPreparation(preparationId, options) {
|
|
4873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelLaunchPreparation(preparationId, options);
|
|
4874
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4875
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.cancelLaunchPreparation']?.[localVarOperationServerIndex]?.url;
|
|
4876
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4877
|
+
},
|
|
4878
|
+
/**
|
|
4879
|
+
*
|
|
4880
|
+
* @summary Configure an opaque launch secret requirement
|
|
4881
|
+
* @param {string | null} preflightId
|
|
4882
|
+
* @param {string | null} requirementId
|
|
4883
|
+
* @param {LaunchSecretActionRequest} launchSecretActionRequest
|
|
4884
|
+
* @param {*} [options] Override http request option.
|
|
4885
|
+
* @throws {RequiredError}
|
|
4886
|
+
*/
|
|
4887
|
+
async configureLaunchSecret(preflightId, requirementId, launchSecretActionRequest, options) {
|
|
4888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configureLaunchSecret(preflightId, requirementId, launchSecretActionRequest, options);
|
|
4889
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4890
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.configureLaunchSecret']?.[localVarOperationServerIndex]?.url;
|
|
4891
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4892
|
+
},
|
|
4893
|
+
/**
|
|
4894
|
+
*
|
|
4895
|
+
* @summary Create Launch Preparation
|
|
4896
|
+
* @param {string} blueprintId
|
|
4897
|
+
* @param {LaunchPreparationRequest} launchPreparationRequest
|
|
4898
|
+
* @param {*} [options] Override http request option.
|
|
4899
|
+
* @throws {RequiredError}
|
|
4900
|
+
*/
|
|
4901
|
+
async createLaunchPreparation(blueprintId, launchPreparationRequest, options) {
|
|
4902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createLaunchPreparation(blueprintId, launchPreparationRequest, options);
|
|
4903
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4904
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.createLaunchPreparation']?.[localVarOperationServerIndex]?.url;
|
|
4905
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4906
|
+
},
|
|
4907
|
+
/**
|
|
4908
|
+
*
|
|
4909
|
+
* @summary Get Launch Preparation
|
|
4910
|
+
* @param {string | null} preparationId
|
|
4911
|
+
* @param {*} [options] Override http request option.
|
|
4912
|
+
* @throws {RequiredError}
|
|
4913
|
+
*/
|
|
4914
|
+
async getLaunchPreparation(preparationId, options) {
|
|
4915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLaunchPreparation(preparationId, options);
|
|
4916
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4917
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.getLaunchPreparation']?.[localVarOperationServerIndex]?.url;
|
|
4918
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4919
|
+
},
|
|
4224
4920
|
/**
|
|
4225
4921
|
* Get the list of users added to a guild. This includes both active and inactive users.
|
|
4226
4922
|
* @summary Get Guild Users
|
|
@@ -4250,6 +4946,20 @@ const GuildsApiFp = function (configuration) {
|
|
|
4250
4946
|
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.launchGuildFromBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
4251
4947
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4252
4948
|
},
|
|
4949
|
+
/**
|
|
4950
|
+
*
|
|
4951
|
+
* @summary Preflight Guild From Blueprint
|
|
4952
|
+
* @param {string | null} blueprintId
|
|
4953
|
+
* @param {LaunchPreflightRequest} launchPreflightRequest
|
|
4954
|
+
* @param {*} [options] Override http request option.
|
|
4955
|
+
* @throws {RequiredError}
|
|
4956
|
+
*/
|
|
4957
|
+
async preflightGuildFromBlueprint(blueprintId, launchPreflightRequest, options) {
|
|
4958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.preflightGuildFromBlueprint(blueprintId, launchPreflightRequest, options);
|
|
4959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4960
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['GuildsApi.preflightGuildFromBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
4961
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4962
|
+
},
|
|
4253
4963
|
};
|
|
4254
4964
|
};
|
|
4255
4965
|
exports.GuildsApiFp = GuildsApiFp;
|
|
@@ -4259,6 +4969,56 @@ exports.GuildsApiFp = GuildsApiFp;
|
|
|
4259
4969
|
const GuildsApiFactory = function (configuration, basePath, axios) {
|
|
4260
4970
|
const localVarFp = (0, exports.GuildsApiFp)(configuration);
|
|
4261
4971
|
return {
|
|
4972
|
+
/**
|
|
4973
|
+
*
|
|
4974
|
+
* @summary Authorize an opaque launch OAuth requirement
|
|
4975
|
+
* @param {GuildsApiAuthorizeLaunchOAuthRequest} requestParameters Request parameters.
|
|
4976
|
+
* @param {*} [options] Override http request option.
|
|
4977
|
+
* @throws {RequiredError}
|
|
4978
|
+
*/
|
|
4979
|
+
authorizeLaunchOAuth(requestParameters, options) {
|
|
4980
|
+
return localVarFp.authorizeLaunchOAuth(requestParameters.preflightId, requestParameters.requirementId, requestParameters.launchOAuthActionRequest, options).then((request) => request(axios, basePath));
|
|
4981
|
+
},
|
|
4982
|
+
/**
|
|
4983
|
+
*
|
|
4984
|
+
* @summary Cancel Launch Preparation
|
|
4985
|
+
* @param {GuildsApiCancelLaunchPreparationRequest} requestParameters Request parameters.
|
|
4986
|
+
* @param {*} [options] Override http request option.
|
|
4987
|
+
* @throws {RequiredError}
|
|
4988
|
+
*/
|
|
4989
|
+
cancelLaunchPreparation(requestParameters, options) {
|
|
4990
|
+
return localVarFp.cancelLaunchPreparation(requestParameters.preparationId, options).then((request) => request(axios, basePath));
|
|
4991
|
+
},
|
|
4992
|
+
/**
|
|
4993
|
+
*
|
|
4994
|
+
* @summary Configure an opaque launch secret requirement
|
|
4995
|
+
* @param {GuildsApiConfigureLaunchSecretRequest} requestParameters Request parameters.
|
|
4996
|
+
* @param {*} [options] Override http request option.
|
|
4997
|
+
* @throws {RequiredError}
|
|
4998
|
+
*/
|
|
4999
|
+
configureLaunchSecret(requestParameters, options) {
|
|
5000
|
+
return localVarFp.configureLaunchSecret(requestParameters.preflightId, requestParameters.requirementId, requestParameters.launchSecretActionRequest, options).then((request) => request(axios, basePath));
|
|
5001
|
+
},
|
|
5002
|
+
/**
|
|
5003
|
+
*
|
|
5004
|
+
* @summary Create Launch Preparation
|
|
5005
|
+
* @param {GuildsApiCreateLaunchPreparationRequest} requestParameters Request parameters.
|
|
5006
|
+
* @param {*} [options] Override http request option.
|
|
5007
|
+
* @throws {RequiredError}
|
|
5008
|
+
*/
|
|
5009
|
+
createLaunchPreparation(requestParameters, options) {
|
|
5010
|
+
return localVarFp.createLaunchPreparation(requestParameters.blueprintId, requestParameters.launchPreparationRequest, options).then((request) => request(axios, basePath));
|
|
5011
|
+
},
|
|
5012
|
+
/**
|
|
5013
|
+
*
|
|
5014
|
+
* @summary Get Launch Preparation
|
|
5015
|
+
* @param {GuildsApiGetLaunchPreparationRequest} requestParameters Request parameters.
|
|
5016
|
+
* @param {*} [options] Override http request option.
|
|
5017
|
+
* @throws {RequiredError}
|
|
5018
|
+
*/
|
|
5019
|
+
getLaunchPreparation(requestParameters, options) {
|
|
5020
|
+
return localVarFp.getLaunchPreparation(requestParameters.preparationId, options).then((request) => request(axios, basePath));
|
|
5021
|
+
},
|
|
4262
5022
|
/**
|
|
4263
5023
|
* Get the list of users added to a guild. This includes both active and inactive users.
|
|
4264
5024
|
* @summary Get Guild Users
|
|
@@ -4279,6 +5039,16 @@ const GuildsApiFactory = function (configuration, basePath, axios) {
|
|
|
4279
5039
|
launchGuildFromBlueprint(requestParameters, options) {
|
|
4280
5040
|
return localVarFp.launchGuildFromBlueprint(requestParameters.blueprintId, requestParameters.launchGuildFromBlueprintRequest, requestParameters.sqldb, options).then((request) => request(axios, basePath));
|
|
4281
5041
|
},
|
|
5042
|
+
/**
|
|
5043
|
+
*
|
|
5044
|
+
* @summary Preflight Guild From Blueprint
|
|
5045
|
+
* @param {GuildsApiPreflightGuildFromBlueprintRequest} requestParameters Request parameters.
|
|
5046
|
+
* @param {*} [options] Override http request option.
|
|
5047
|
+
* @throws {RequiredError}
|
|
5048
|
+
*/
|
|
5049
|
+
preflightGuildFromBlueprint(requestParameters, options) {
|
|
5050
|
+
return localVarFp.preflightGuildFromBlueprint(requestParameters.blueprintId, requestParameters.launchPreflightRequest, options).then((request) => request(axios, basePath));
|
|
5051
|
+
},
|
|
4282
5052
|
};
|
|
4283
5053
|
};
|
|
4284
5054
|
exports.GuildsApiFactory = GuildsApiFactory;
|
|
@@ -4286,6 +5056,56 @@ exports.GuildsApiFactory = GuildsApiFactory;
|
|
|
4286
5056
|
* GuildsApi - object-oriented interface
|
|
4287
5057
|
*/
|
|
4288
5058
|
class GuildsApi extends base_1.BaseAPI {
|
|
5059
|
+
/**
|
|
5060
|
+
*
|
|
5061
|
+
* @summary Authorize an opaque launch OAuth requirement
|
|
5062
|
+
* @param {GuildsApiAuthorizeLaunchOAuthRequest} requestParameters Request parameters.
|
|
5063
|
+
* @param {*} [options] Override http request option.
|
|
5064
|
+
* @throws {RequiredError}
|
|
5065
|
+
*/
|
|
5066
|
+
authorizeLaunchOAuth(requestParameters, options) {
|
|
5067
|
+
return (0, exports.GuildsApiFp)(this.configuration).authorizeLaunchOAuth(requestParameters.preflightId, requestParameters.requirementId, requestParameters.launchOAuthActionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5068
|
+
}
|
|
5069
|
+
/**
|
|
5070
|
+
*
|
|
5071
|
+
* @summary Cancel Launch Preparation
|
|
5072
|
+
* @param {GuildsApiCancelLaunchPreparationRequest} requestParameters Request parameters.
|
|
5073
|
+
* @param {*} [options] Override http request option.
|
|
5074
|
+
* @throws {RequiredError}
|
|
5075
|
+
*/
|
|
5076
|
+
cancelLaunchPreparation(requestParameters, options) {
|
|
5077
|
+
return (0, exports.GuildsApiFp)(this.configuration).cancelLaunchPreparation(requestParameters.preparationId, options).then((request) => request(this.axios, this.basePath));
|
|
5078
|
+
}
|
|
5079
|
+
/**
|
|
5080
|
+
*
|
|
5081
|
+
* @summary Configure an opaque launch secret requirement
|
|
5082
|
+
* @param {GuildsApiConfigureLaunchSecretRequest} requestParameters Request parameters.
|
|
5083
|
+
* @param {*} [options] Override http request option.
|
|
5084
|
+
* @throws {RequiredError}
|
|
5085
|
+
*/
|
|
5086
|
+
configureLaunchSecret(requestParameters, options) {
|
|
5087
|
+
return (0, exports.GuildsApiFp)(this.configuration).configureLaunchSecret(requestParameters.preflightId, requestParameters.requirementId, requestParameters.launchSecretActionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5088
|
+
}
|
|
5089
|
+
/**
|
|
5090
|
+
*
|
|
5091
|
+
* @summary Create Launch Preparation
|
|
5092
|
+
* @param {GuildsApiCreateLaunchPreparationRequest} requestParameters Request parameters.
|
|
5093
|
+
* @param {*} [options] Override http request option.
|
|
5094
|
+
* @throws {RequiredError}
|
|
5095
|
+
*/
|
|
5096
|
+
createLaunchPreparation(requestParameters, options) {
|
|
5097
|
+
return (0, exports.GuildsApiFp)(this.configuration).createLaunchPreparation(requestParameters.blueprintId, requestParameters.launchPreparationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5098
|
+
}
|
|
5099
|
+
/**
|
|
5100
|
+
*
|
|
5101
|
+
* @summary Get Launch Preparation
|
|
5102
|
+
* @param {GuildsApiGetLaunchPreparationRequest} requestParameters Request parameters.
|
|
5103
|
+
* @param {*} [options] Override http request option.
|
|
5104
|
+
* @throws {RequiredError}
|
|
5105
|
+
*/
|
|
5106
|
+
getLaunchPreparation(requestParameters, options) {
|
|
5107
|
+
return (0, exports.GuildsApiFp)(this.configuration).getLaunchPreparation(requestParameters.preparationId, options).then((request) => request(this.axios, this.basePath));
|
|
5108
|
+
}
|
|
4289
5109
|
/**
|
|
4290
5110
|
* Get the list of users added to a guild. This includes both active and inactive users.
|
|
4291
5111
|
* @summary Get Guild Users
|
|
@@ -4306,6 +5126,16 @@ class GuildsApi extends base_1.BaseAPI {
|
|
|
4306
5126
|
launchGuildFromBlueprint(requestParameters, options) {
|
|
4307
5127
|
return (0, exports.GuildsApiFp)(this.configuration).launchGuildFromBlueprint(requestParameters.blueprintId, requestParameters.launchGuildFromBlueprintRequest, requestParameters.sqldb, options).then((request) => request(this.axios, this.basePath));
|
|
4308
5128
|
}
|
|
5129
|
+
/**
|
|
5130
|
+
*
|
|
5131
|
+
* @summary Preflight Guild From Blueprint
|
|
5132
|
+
* @param {GuildsApiPreflightGuildFromBlueprintRequest} requestParameters Request parameters.
|
|
5133
|
+
* @param {*} [options] Override http request option.
|
|
5134
|
+
* @throws {RequiredError}
|
|
5135
|
+
*/
|
|
5136
|
+
preflightGuildFromBlueprint(requestParameters, options) {
|
|
5137
|
+
return (0, exports.GuildsApiFp)(this.configuration).preflightGuildFromBlueprint(requestParameters.blueprintId, requestParameters.launchPreflightRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5138
|
+
}
|
|
4309
5139
|
}
|
|
4310
5140
|
exports.GuildsApi = GuildsApi;
|
|
4311
5141
|
/**
|