kleisterjs 2.5.1 → 2.6.0
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/.github/RELEASE +1 -1
- package/.github/workflows/flake.yml +1 -1
- package/.github/workflows/general.yml +1 -1
- package/.github/workflows/openapi.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.openapi-generator/FILES +56 -55
- package/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/api/auth-api.ts +251 -147
- package/api/fabric-api.ts +47 -67
- package/api/forge-api.ts +47 -67
- package/api/{team-api.ts → group-api.ts} +921 -936
- package/api/minecraft-api.ts +44 -67
- package/api/mod-api.ts +1016 -461
- package/api/neoforge-api.ts +47 -67
- package/api/pack-api.ts +378 -419
- package/api/profile-api.ts +18 -21
- package/api/quilt-api.ts +48 -68
- package/api/user-api.ts +554 -580
- package/api.ts +1 -1
- package/flake.lock +9 -9
- package/model/attach-build-to-version-request.ts +33 -0
- package/model/attach-minecraft-to-build-request.ts +33 -0
- package/model/build.ts +0 -6
- package/model/create-build-request.ts +87 -0
- package/model/{quilt-build-params.ts → create-group-request.ts} +7 -7
- package/model/{pack-icon.ts → create-mod-request.ts} +19 -25
- package/model/create-pack-request.ts +45 -0
- package/model/create-user-request.ts +57 -0
- package/model/create-version-request.ts +39 -0
- package/model/delete-group-from-mod-request.ts +27 -0
- package/model/delete-group-from-pack-request.ts +27 -0
- package/model/delete-pack-from-group-request.ts +27 -0
- package/model/delete-pack-from-user-request.ts +27 -0
- package/model/{team-mod.ts → group-mod.ts} +19 -19
- package/model/{team-pack.ts → group-pack.ts} +19 -19
- package/model/{team.ts → group.ts} +8 -8
- package/model/index.ts +55 -54
- package/model/{build-versions.ts → list-build-versions200-response.ts} +25 -13
- package/model/{builds.ts → list-builds200-response.ts} +20 -8
- package/model/{fabric-builds.ts → list-fabric-builds200-response.ts} +22 -10
- package/model/{fabrics.ts → list-fabrics200-response.ts} +19 -7
- package/model/{forge-builds.ts → list-forge-builds200-response.ts} +22 -10
- package/model/{forges.ts → list-forges200-response.ts} +19 -7
- package/model/list-group-mods200-response.ts +58 -0
- package/model/list-group-packs200-response.ts +58 -0
- package/model/list-group-users200-response.ts +58 -0
- package/model/list-groups200-response.ts +49 -0
- package/model/{minecraft-builds.ts → list-minecraft-builds200-response.ts} +22 -10
- package/model/{minecrafts.ts → list-minecrafts200-response.ts} +19 -7
- package/model/{mod-teams.ts → list-mod-groups200-response.ts} +25 -13
- package/model/{mod-users.ts → list-mod-users200-response.ts} +22 -10
- package/model/{mods.ts → list-mods200-response.ts} +19 -7
- package/model/{neoforge-builds.ts → list-neoforge-builds200-response.ts} +22 -10
- package/model/{neoforges.ts → list-neoforges200-response.ts} +19 -7
- package/model/{pack-teams.ts → list-pack-groups200-response.ts} +25 -13
- package/model/{pack-users.ts → list-pack-users200-response.ts} +22 -10
- package/model/{packs.ts → list-packs200-response.ts} +19 -7
- package/model/{providers.ts → list-providers200-response.ts} +7 -7
- package/model/{quilt-builds.ts → list-quilt-builds200-response.ts} +22 -10
- package/model/{quilts.ts → list-quilts200-response.ts} +19 -7
- package/model/{user-teams.ts → list-user-groups200-response.ts} +24 -12
- package/model/{user-mods.ts → list-user-mods200-response.ts} +22 -10
- package/model/{user-packs.ts → list-user-packs200-response.ts} +22 -10
- package/model/{users.ts → list-users200-response.ts} +19 -7
- package/model/{version-builds.ts → list-version-builds200-response.ts} +25 -13
- package/model/{versions.ts → list-versions200-response.ts} +20 -8
- package/model/{auth-login.ts → login-auth-request.ts} +4 -4
- package/model/mod-avatar.ts +45 -0
- package/model/mod.ts +10 -0
- package/model/pack-avatar.ts +45 -0
- package/model/pack.ts +3 -21
- package/model/{build-version-params.ts → permit-group-mod-request.ts} +6 -6
- package/model/{forge-build-params.ts → permit-group-pack-request.ts} +6 -6
- package/model/{fabric-build-params.ts → permit-pack-group-request.ts} +7 -7
- package/model/permit-pack-user-request.ts +33 -0
- package/model/profile.ts +9 -9
- package/model/redirect-auth-request.ts +27 -0
- package/model/update-profile-request.ts +45 -0
- package/model/update-user-request.ts +57 -0
- package/model/{user-team.ts → user-group.ts} +19 -19
- package/model/version-file.ts +0 -12
- package/model/version.ts +0 -6
- package/openapi.yml +1 -1
- package/package.json +1 -1
- package/model/minecraft-build-params.ts +0 -33
- package/model/mod-team-params.ts +0 -42
- package/model/mod-user-params.ts +0 -42
- package/model/neoforge-build-params.ts +0 -33
- package/model/pack-back.ts +0 -75
- package/model/pack-logo.ts +0 -75
- package/model/pack-team-params.ts +0 -42
- package/model/pack-user-params.ts +0 -42
- package/model/team-mod-params.ts +0 -42
- package/model/team-mods.ts +0 -46
- package/model/team-pack-params.ts +0 -42
- package/model/team-packs.ts +0 -46
- package/model/team-user-params.ts +0 -42
- package/model/team-users.ts +0 -46
- package/model/teams.ts +0 -37
- package/model/user-mod-params.ts +0 -42
- package/model/user-pack-params.ts +0 -42
- package/model/user-team-params.ts +0 -42
- package/model/version-build-params.ts +0 -33
|
@@ -42,51 +42,63 @@ import {
|
|
|
42
42
|
operationServerMap,
|
|
43
43
|
} from "../base";
|
|
44
44
|
// @ts-ignore
|
|
45
|
-
import type {
|
|
45
|
+
import type { CreateGroupRequest } from "../model";
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
import type { DeleteGroupFromModRequest } from "../model";
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
import type { DeleteGroupFromPackRequest } from "../model";
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
import type { DeletePackFromUserRequest } from "../model";
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
import type { Group } from "../model";
|
|
46
54
|
// @ts-ignore
|
|
47
|
-
import type {
|
|
55
|
+
import type { ListGroupMods200Response } from "../model";
|
|
48
56
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
57
|
+
import type { ListGroupPacks200Response } from "../model";
|
|
50
58
|
// @ts-ignore
|
|
51
|
-
import type {
|
|
59
|
+
import type { ListGroupUsers200Response } from "../model";
|
|
52
60
|
// @ts-ignore
|
|
53
|
-
import type {
|
|
61
|
+
import type { ListGroups200Response } from "../model";
|
|
54
62
|
// @ts-ignore
|
|
55
|
-
import type {
|
|
63
|
+
import type { Notification } from "../model";
|
|
56
64
|
// @ts-ignore
|
|
57
|
-
import type {
|
|
65
|
+
import type { PermitGroupModRequest } from "../model";
|
|
58
66
|
// @ts-ignore
|
|
59
|
-
import type {
|
|
67
|
+
import type { PermitGroupPackRequest } from "../model";
|
|
60
68
|
// @ts-ignore
|
|
61
|
-
import type {
|
|
69
|
+
import type { PermitPackUserRequest } from "../model";
|
|
62
70
|
/**
|
|
63
|
-
*
|
|
71
|
+
* GroupApi - axios parameter creator
|
|
64
72
|
* @export
|
|
65
73
|
*/
|
|
66
|
-
export const
|
|
74
|
+
export const GroupApiAxiosParamCreator = function (
|
|
67
75
|
configuration?: Configuration,
|
|
68
76
|
) {
|
|
69
77
|
return {
|
|
70
78
|
/**
|
|
71
79
|
*
|
|
72
|
-
* @summary Attach a mod to
|
|
73
|
-
* @param {string}
|
|
74
|
-
* @param {
|
|
80
|
+
* @summary Attach a mod to group
|
|
81
|
+
* @param {string} groupId A group identifier or slug
|
|
82
|
+
* @param {PermitGroupModRequest} permitGroupModRequest The group mod data to permit
|
|
75
83
|
* @param {*} [options] Override http request option.
|
|
76
84
|
* @throws {RequiredError}
|
|
77
85
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
86
|
+
attachGroupToMod: async (
|
|
87
|
+
groupId: string,
|
|
88
|
+
permitGroupModRequest: PermitGroupModRequest,
|
|
81
89
|
options: RawAxiosRequestConfig = {},
|
|
82
90
|
): Promise<RequestArgs> => {
|
|
83
|
-
// verify required parameter '
|
|
84
|
-
assertParamExists("
|
|
85
|
-
// verify required parameter '
|
|
86
|
-
assertParamExists(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
92
|
+
assertParamExists("attachGroupToMod", "groupId", groupId);
|
|
93
|
+
// verify required parameter 'permitGroupModRequest' is not null or undefined
|
|
94
|
+
assertParamExists(
|
|
95
|
+
"attachGroupToMod",
|
|
96
|
+
"permitGroupModRequest",
|
|
97
|
+
permitGroupModRequest,
|
|
98
|
+
);
|
|
99
|
+
const localVarPath = `/groups/{group_id}/mods`.replace(
|
|
100
|
+
`{${"group_id"}}`,
|
|
101
|
+
encodeURIComponent(String(groupId)),
|
|
90
102
|
);
|
|
91
103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
104
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -103,9 +115,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
103
115
|
const localVarHeaderParameter = {} as any;
|
|
104
116
|
const localVarQueryParameter = {} as any;
|
|
105
117
|
|
|
106
|
-
// authentication Cookie required
|
|
107
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
108
|
-
|
|
109
118
|
// authentication Basic required
|
|
110
119
|
// http basic authentication required
|
|
111
120
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -132,7 +141,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
132
141
|
...options.headers,
|
|
133
142
|
};
|
|
134
143
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
135
|
-
|
|
144
|
+
permitGroupModRequest,
|
|
136
145
|
localVarRequestOptions,
|
|
137
146
|
configuration,
|
|
138
147
|
);
|
|
@@ -144,24 +153,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
144
153
|
},
|
|
145
154
|
/**
|
|
146
155
|
*
|
|
147
|
-
* @summary Attach a pack to
|
|
148
|
-
* @param {string}
|
|
149
|
-
* @param {
|
|
156
|
+
* @summary Attach a pack to group
|
|
157
|
+
* @param {string} groupId A group identifier or slug
|
|
158
|
+
* @param {PermitGroupPackRequest} permitGroupPackRequest The group pack data to permit
|
|
150
159
|
* @param {*} [options] Override http request option.
|
|
151
160
|
* @throws {RequiredError}
|
|
152
161
|
*/
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
162
|
+
attachGroupToPack: async (
|
|
163
|
+
groupId: string,
|
|
164
|
+
permitGroupPackRequest: PermitGroupPackRequest,
|
|
156
165
|
options: RawAxiosRequestConfig = {},
|
|
157
166
|
): Promise<RequestArgs> => {
|
|
158
|
-
// verify required parameter '
|
|
159
|
-
assertParamExists("
|
|
160
|
-
// verify required parameter '
|
|
161
|
-
assertParamExists(
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
167
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
168
|
+
assertParamExists("attachGroupToPack", "groupId", groupId);
|
|
169
|
+
// verify required parameter 'permitGroupPackRequest' is not null or undefined
|
|
170
|
+
assertParamExists(
|
|
171
|
+
"attachGroupToPack",
|
|
172
|
+
"permitGroupPackRequest",
|
|
173
|
+
permitGroupPackRequest,
|
|
174
|
+
);
|
|
175
|
+
const localVarPath = `/groups/{group_id}/packs`.replace(
|
|
176
|
+
`{${"group_id"}}`,
|
|
177
|
+
encodeURIComponent(String(groupId)),
|
|
165
178
|
);
|
|
166
179
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
167
180
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -178,9 +191,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
178
191
|
const localVarHeaderParameter = {} as any;
|
|
179
192
|
const localVarQueryParameter = {} as any;
|
|
180
193
|
|
|
181
|
-
// authentication Cookie required
|
|
182
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
183
|
-
|
|
184
194
|
// authentication Basic required
|
|
185
195
|
// http basic authentication required
|
|
186
196
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -207,7 +217,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
207
217
|
...options.headers,
|
|
208
218
|
};
|
|
209
219
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
210
|
-
|
|
220
|
+
permitGroupPackRequest,
|
|
211
221
|
localVarRequestOptions,
|
|
212
222
|
configuration,
|
|
213
223
|
);
|
|
@@ -219,24 +229,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
219
229
|
},
|
|
220
230
|
/**
|
|
221
231
|
*
|
|
222
|
-
* @summary Attach a user to
|
|
223
|
-
* @param {string}
|
|
224
|
-
* @param {
|
|
232
|
+
* @summary Attach a user to group
|
|
233
|
+
* @param {string} groupId A group identifier or slug
|
|
234
|
+
* @param {PermitPackUserRequest} permitPackUserRequest The group user data to permit
|
|
225
235
|
* @param {*} [options] Override http request option.
|
|
226
236
|
* @throws {RequiredError}
|
|
227
237
|
*/
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
238
|
+
attachGroupToUser: async (
|
|
239
|
+
groupId: string,
|
|
240
|
+
permitPackUserRequest: PermitPackUserRequest,
|
|
231
241
|
options: RawAxiosRequestConfig = {},
|
|
232
242
|
): Promise<RequestArgs> => {
|
|
233
|
-
// verify required parameter '
|
|
234
|
-
assertParamExists("
|
|
235
|
-
// verify required parameter '
|
|
236
|
-
assertParamExists(
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
243
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
244
|
+
assertParamExists("attachGroupToUser", "groupId", groupId);
|
|
245
|
+
// verify required parameter 'permitPackUserRequest' is not null or undefined
|
|
246
|
+
assertParamExists(
|
|
247
|
+
"attachGroupToUser",
|
|
248
|
+
"permitPackUserRequest",
|
|
249
|
+
permitPackUserRequest,
|
|
250
|
+
);
|
|
251
|
+
const localVarPath = `/groups/{group_id}/users`.replace(
|
|
252
|
+
`{${"group_id"}}`,
|
|
253
|
+
encodeURIComponent(String(groupId)),
|
|
240
254
|
);
|
|
241
255
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
242
256
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -253,9 +267,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
253
267
|
const localVarHeaderParameter = {} as any;
|
|
254
268
|
const localVarQueryParameter = {} as any;
|
|
255
269
|
|
|
256
|
-
// authentication Cookie required
|
|
257
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
258
|
-
|
|
259
270
|
// authentication Basic required
|
|
260
271
|
// http basic authentication required
|
|
261
272
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -282,7 +293,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
282
293
|
...options.headers,
|
|
283
294
|
};
|
|
284
295
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
285
|
-
|
|
296
|
+
permitPackUserRequest,
|
|
286
297
|
localVarRequestOptions,
|
|
287
298
|
configuration,
|
|
288
299
|
);
|
|
@@ -294,18 +305,22 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
294
305
|
},
|
|
295
306
|
/**
|
|
296
307
|
*
|
|
297
|
-
* @summary Create a new
|
|
298
|
-
* @param {
|
|
308
|
+
* @summary Create a new group
|
|
309
|
+
* @param {CreateGroupRequest} createGroupRequest The group data to create
|
|
299
310
|
* @param {*} [options] Override http request option.
|
|
300
311
|
* @throws {RequiredError}
|
|
301
312
|
*/
|
|
302
|
-
|
|
303
|
-
|
|
313
|
+
createGroup: async (
|
|
314
|
+
createGroupRequest: CreateGroupRequest,
|
|
304
315
|
options: RawAxiosRequestConfig = {},
|
|
305
316
|
): Promise<RequestArgs> => {
|
|
306
|
-
// verify required parameter '
|
|
307
|
-
assertParamExists(
|
|
308
|
-
|
|
317
|
+
// verify required parameter 'createGroupRequest' is not null or undefined
|
|
318
|
+
assertParamExists(
|
|
319
|
+
"createGroup",
|
|
320
|
+
"createGroupRequest",
|
|
321
|
+
createGroupRequest,
|
|
322
|
+
);
|
|
323
|
+
const localVarPath = `/groups`;
|
|
309
324
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
310
325
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
311
326
|
let baseOptions;
|
|
@@ -321,9 +336,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
321
336
|
const localVarHeaderParameter = {} as any;
|
|
322
337
|
const localVarQueryParameter = {} as any;
|
|
323
338
|
|
|
324
|
-
// authentication Cookie required
|
|
325
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
326
|
-
|
|
327
339
|
// authentication Basic required
|
|
328
340
|
// http basic authentication required
|
|
329
341
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -350,7 +362,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
350
362
|
...options.headers,
|
|
351
363
|
};
|
|
352
364
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
353
|
-
|
|
365
|
+
createGroupRequest,
|
|
354
366
|
localVarRequestOptions,
|
|
355
367
|
configuration,
|
|
356
368
|
);
|
|
@@ -362,20 +374,20 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
362
374
|
},
|
|
363
375
|
/**
|
|
364
376
|
*
|
|
365
|
-
* @summary Delete a specific
|
|
366
|
-
* @param {string}
|
|
377
|
+
* @summary Delete a specific group
|
|
378
|
+
* @param {string} groupId A group identifier or slug
|
|
367
379
|
* @param {*} [options] Override http request option.
|
|
368
380
|
* @throws {RequiredError}
|
|
369
381
|
*/
|
|
370
|
-
|
|
371
|
-
|
|
382
|
+
deleteGroup: async (
|
|
383
|
+
groupId: string,
|
|
372
384
|
options: RawAxiosRequestConfig = {},
|
|
373
385
|
): Promise<RequestArgs> => {
|
|
374
|
-
// verify required parameter '
|
|
375
|
-
assertParamExists("
|
|
376
|
-
const localVarPath = `/
|
|
377
|
-
`{${"
|
|
378
|
-
encodeURIComponent(String(
|
|
386
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
387
|
+
assertParamExists("deleteGroup", "groupId", groupId);
|
|
388
|
+
const localVarPath = `/groups/{group_id}`.replace(
|
|
389
|
+
`{${"group_id"}}`,
|
|
390
|
+
encodeURIComponent(String(groupId)),
|
|
379
391
|
);
|
|
380
392
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
381
393
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -392,9 +404,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
392
404
|
const localVarHeaderParameter = {} as any;
|
|
393
405
|
const localVarQueryParameter = {} as any;
|
|
394
406
|
|
|
395
|
-
// authentication Cookie required
|
|
396
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
397
|
-
|
|
398
407
|
// authentication Basic required
|
|
399
408
|
// http basic authentication required
|
|
400
409
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -426,24 +435,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
426
435
|
},
|
|
427
436
|
/**
|
|
428
437
|
*
|
|
429
|
-
* @summary Unlink a mod from
|
|
430
|
-
* @param {string}
|
|
431
|
-
* @param {
|
|
438
|
+
* @summary Unlink a mod from group
|
|
439
|
+
* @param {string} groupId A group identifier or slug
|
|
440
|
+
* @param {DeleteGroupFromModRequest} deleteGroupFromModRequest The group mod data to unlink
|
|
432
441
|
* @param {*} [options] Override http request option.
|
|
433
442
|
* @throws {RequiredError}
|
|
434
443
|
*/
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
444
|
+
deleteGroupFromMod: async (
|
|
445
|
+
groupId: string,
|
|
446
|
+
deleteGroupFromModRequest: DeleteGroupFromModRequest,
|
|
438
447
|
options: RawAxiosRequestConfig = {},
|
|
439
448
|
): Promise<RequestArgs> => {
|
|
440
|
-
// verify required parameter '
|
|
441
|
-
assertParamExists("
|
|
442
|
-
// verify required parameter '
|
|
443
|
-
assertParamExists(
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
449
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
450
|
+
assertParamExists("deleteGroupFromMod", "groupId", groupId);
|
|
451
|
+
// verify required parameter 'deleteGroupFromModRequest' is not null or undefined
|
|
452
|
+
assertParamExists(
|
|
453
|
+
"deleteGroupFromMod",
|
|
454
|
+
"deleteGroupFromModRequest",
|
|
455
|
+
deleteGroupFromModRequest,
|
|
456
|
+
);
|
|
457
|
+
const localVarPath = `/groups/{group_id}/mods`.replace(
|
|
458
|
+
`{${"group_id"}}`,
|
|
459
|
+
encodeURIComponent(String(groupId)),
|
|
447
460
|
);
|
|
448
461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
449
462
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -460,9 +473,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
460
473
|
const localVarHeaderParameter = {} as any;
|
|
461
474
|
const localVarQueryParameter = {} as any;
|
|
462
475
|
|
|
463
|
-
// authentication Cookie required
|
|
464
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
465
|
-
|
|
466
476
|
// authentication Basic required
|
|
467
477
|
// http basic authentication required
|
|
468
478
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -489,7 +499,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
489
499
|
...options.headers,
|
|
490
500
|
};
|
|
491
501
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
492
|
-
|
|
502
|
+
deleteGroupFromModRequest,
|
|
493
503
|
localVarRequestOptions,
|
|
494
504
|
configuration,
|
|
495
505
|
);
|
|
@@ -501,24 +511,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
501
511
|
},
|
|
502
512
|
/**
|
|
503
513
|
*
|
|
504
|
-
* @summary Unlink a pack from
|
|
505
|
-
* @param {string}
|
|
506
|
-
* @param {
|
|
514
|
+
* @summary Unlink a pack from group
|
|
515
|
+
* @param {string} groupId A group identifier or slug
|
|
516
|
+
* @param {DeleteGroupFromPackRequest} deleteGroupFromPackRequest The group pack data to unlink
|
|
507
517
|
* @param {*} [options] Override http request option.
|
|
508
518
|
* @throws {RequiredError}
|
|
509
519
|
*/
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
520
|
+
deleteGroupFromPack: async (
|
|
521
|
+
groupId: string,
|
|
522
|
+
deleteGroupFromPackRequest: DeleteGroupFromPackRequest,
|
|
513
523
|
options: RawAxiosRequestConfig = {},
|
|
514
524
|
): Promise<RequestArgs> => {
|
|
515
|
-
// verify required parameter '
|
|
516
|
-
assertParamExists("
|
|
517
|
-
// verify required parameter '
|
|
518
|
-
assertParamExists(
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
525
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
526
|
+
assertParamExists("deleteGroupFromPack", "groupId", groupId);
|
|
527
|
+
// verify required parameter 'deleteGroupFromPackRequest' is not null or undefined
|
|
528
|
+
assertParamExists(
|
|
529
|
+
"deleteGroupFromPack",
|
|
530
|
+
"deleteGroupFromPackRequest",
|
|
531
|
+
deleteGroupFromPackRequest,
|
|
532
|
+
);
|
|
533
|
+
const localVarPath = `/groups/{group_id}/packs`.replace(
|
|
534
|
+
`{${"group_id"}}`,
|
|
535
|
+
encodeURIComponent(String(groupId)),
|
|
522
536
|
);
|
|
523
537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
524
538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -535,9 +549,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
535
549
|
const localVarHeaderParameter = {} as any;
|
|
536
550
|
const localVarQueryParameter = {} as any;
|
|
537
551
|
|
|
538
|
-
// authentication Cookie required
|
|
539
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
540
|
-
|
|
541
552
|
// authentication Basic required
|
|
542
553
|
// http basic authentication required
|
|
543
554
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -564,7 +575,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
564
575
|
...options.headers,
|
|
565
576
|
};
|
|
566
577
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
567
|
-
|
|
578
|
+
deleteGroupFromPackRequest,
|
|
568
579
|
localVarRequestOptions,
|
|
569
580
|
configuration,
|
|
570
581
|
);
|
|
@@ -576,24 +587,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
576
587
|
},
|
|
577
588
|
/**
|
|
578
589
|
*
|
|
579
|
-
* @summary Unlink a user from
|
|
580
|
-
* @param {string}
|
|
581
|
-
* @param {
|
|
590
|
+
* @summary Unlink a user from group
|
|
591
|
+
* @param {string} groupId A group identifier or slug
|
|
592
|
+
* @param {DeletePackFromUserRequest} deletePackFromUserRequest The group user data to unlink
|
|
582
593
|
* @param {*} [options] Override http request option.
|
|
583
594
|
* @throws {RequiredError}
|
|
584
595
|
*/
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
596
|
+
deleteGroupFromUser: async (
|
|
597
|
+
groupId: string,
|
|
598
|
+
deletePackFromUserRequest: DeletePackFromUserRequest,
|
|
588
599
|
options: RawAxiosRequestConfig = {},
|
|
589
600
|
): Promise<RequestArgs> => {
|
|
590
|
-
// verify required parameter '
|
|
591
|
-
assertParamExists("
|
|
592
|
-
// verify required parameter '
|
|
593
|
-
assertParamExists(
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
601
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
602
|
+
assertParamExists("deleteGroupFromUser", "groupId", groupId);
|
|
603
|
+
// verify required parameter 'deletePackFromUserRequest' is not null or undefined
|
|
604
|
+
assertParamExists(
|
|
605
|
+
"deleteGroupFromUser",
|
|
606
|
+
"deletePackFromUserRequest",
|
|
607
|
+
deletePackFromUserRequest,
|
|
608
|
+
);
|
|
609
|
+
const localVarPath = `/groups/{group_id}/users`.replace(
|
|
610
|
+
`{${"group_id"}}`,
|
|
611
|
+
encodeURIComponent(String(groupId)),
|
|
597
612
|
);
|
|
598
613
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
599
614
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -610,9 +625,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
610
625
|
const localVarHeaderParameter = {} as any;
|
|
611
626
|
const localVarQueryParameter = {} as any;
|
|
612
627
|
|
|
613
|
-
// authentication Cookie required
|
|
614
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
615
|
-
|
|
616
628
|
// authentication Basic required
|
|
617
629
|
// http basic authentication required
|
|
618
630
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -639,7 +651,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
639
651
|
...options.headers,
|
|
640
652
|
};
|
|
641
653
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
642
|
-
|
|
654
|
+
deletePackFromUserRequest,
|
|
643
655
|
localVarRequestOptions,
|
|
644
656
|
configuration,
|
|
645
657
|
);
|
|
@@ -651,30 +663,30 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
651
663
|
},
|
|
652
664
|
/**
|
|
653
665
|
*
|
|
654
|
-
* @summary Fetch all mods attached to
|
|
655
|
-
* @param {string}
|
|
666
|
+
* @summary Fetch all mods attached to group
|
|
667
|
+
* @param {string} groupId A group identifier or slug
|
|
656
668
|
* @param {string} [search] Search query
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {
|
|
669
|
+
* @param {string} [sort] Sorting column
|
|
670
|
+
* @param {ListGroupModsOrderEnum} [order] Sorting order
|
|
659
671
|
* @param {number} [limit] Paging limit
|
|
660
672
|
* @param {number} [offset] Paging offset
|
|
661
673
|
* @param {*} [options] Override http request option.
|
|
662
674
|
* @throws {RequiredError}
|
|
663
675
|
*/
|
|
664
|
-
|
|
665
|
-
|
|
676
|
+
listGroupMods: async (
|
|
677
|
+
groupId: string,
|
|
666
678
|
search?: string,
|
|
667
|
-
sort?:
|
|
668
|
-
order?:
|
|
679
|
+
sort?: string,
|
|
680
|
+
order?: ListGroupModsOrderEnum,
|
|
669
681
|
limit?: number,
|
|
670
682
|
offset?: number,
|
|
671
683
|
options: RawAxiosRequestConfig = {},
|
|
672
684
|
): Promise<RequestArgs> => {
|
|
673
|
-
// verify required parameter '
|
|
674
|
-
assertParamExists("
|
|
675
|
-
const localVarPath = `/
|
|
676
|
-
`{${"
|
|
677
|
-
encodeURIComponent(String(
|
|
685
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
686
|
+
assertParamExists("listGroupMods", "groupId", groupId);
|
|
687
|
+
const localVarPath = `/groups/{group_id}/mods`.replace(
|
|
688
|
+
`{${"group_id"}}`,
|
|
689
|
+
encodeURIComponent(String(groupId)),
|
|
678
690
|
);
|
|
679
691
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
680
692
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -691,9 +703,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
691
703
|
const localVarHeaderParameter = {} as any;
|
|
692
704
|
const localVarQueryParameter = {} as any;
|
|
693
705
|
|
|
694
|
-
// authentication Cookie required
|
|
695
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
696
|
-
|
|
697
706
|
// authentication Basic required
|
|
698
707
|
// http basic authentication required
|
|
699
708
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -745,30 +754,30 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
745
754
|
},
|
|
746
755
|
/**
|
|
747
756
|
*
|
|
748
|
-
* @summary Fetch all packs attached to
|
|
749
|
-
* @param {string}
|
|
757
|
+
* @summary Fetch all packs attached to group
|
|
758
|
+
* @param {string} groupId A group identifier or slug
|
|
750
759
|
* @param {string} [search] Search query
|
|
751
|
-
* @param {
|
|
752
|
-
* @param {
|
|
760
|
+
* @param {string} [sort] Sorting column
|
|
761
|
+
* @param {ListGroupPacksOrderEnum} [order] Sorting order
|
|
753
762
|
* @param {number} [limit] Paging limit
|
|
754
763
|
* @param {number} [offset] Paging offset
|
|
755
764
|
* @param {*} [options] Override http request option.
|
|
756
765
|
* @throws {RequiredError}
|
|
757
766
|
*/
|
|
758
|
-
|
|
759
|
-
|
|
767
|
+
listGroupPacks: async (
|
|
768
|
+
groupId: string,
|
|
760
769
|
search?: string,
|
|
761
|
-
sort?:
|
|
762
|
-
order?:
|
|
770
|
+
sort?: string,
|
|
771
|
+
order?: ListGroupPacksOrderEnum,
|
|
763
772
|
limit?: number,
|
|
764
773
|
offset?: number,
|
|
765
774
|
options: RawAxiosRequestConfig = {},
|
|
766
775
|
): Promise<RequestArgs> => {
|
|
767
|
-
// verify required parameter '
|
|
768
|
-
assertParamExists("
|
|
769
|
-
const localVarPath = `/
|
|
770
|
-
`{${"
|
|
771
|
-
encodeURIComponent(String(
|
|
776
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
777
|
+
assertParamExists("listGroupPacks", "groupId", groupId);
|
|
778
|
+
const localVarPath = `/groups/{group_id}/packs`.replace(
|
|
779
|
+
`{${"group_id"}}`,
|
|
780
|
+
encodeURIComponent(String(groupId)),
|
|
772
781
|
);
|
|
773
782
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
774
783
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -785,9 +794,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
785
794
|
const localVarHeaderParameter = {} as any;
|
|
786
795
|
const localVarQueryParameter = {} as any;
|
|
787
796
|
|
|
788
|
-
// authentication Cookie required
|
|
789
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
790
|
-
|
|
791
797
|
// authentication Basic required
|
|
792
798
|
// http basic authentication required
|
|
793
799
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -839,30 +845,30 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
839
845
|
},
|
|
840
846
|
/**
|
|
841
847
|
*
|
|
842
|
-
* @summary Fetch all users attached to
|
|
843
|
-
* @param {string}
|
|
848
|
+
* @summary Fetch all users attached to group
|
|
849
|
+
* @param {string} groupId A group identifier or slug
|
|
844
850
|
* @param {string} [search] Search query
|
|
845
|
-
* @param {
|
|
846
|
-
* @param {
|
|
851
|
+
* @param {string} [sort] Sorting column
|
|
852
|
+
* @param {ListGroupUsersOrderEnum} [order] Sorting order
|
|
847
853
|
* @param {number} [limit] Paging limit
|
|
848
854
|
* @param {number} [offset] Paging offset
|
|
849
855
|
* @param {*} [options] Override http request option.
|
|
850
856
|
* @throws {RequiredError}
|
|
851
857
|
*/
|
|
852
|
-
|
|
853
|
-
|
|
858
|
+
listGroupUsers: async (
|
|
859
|
+
groupId: string,
|
|
854
860
|
search?: string,
|
|
855
|
-
sort?:
|
|
856
|
-
order?:
|
|
861
|
+
sort?: string,
|
|
862
|
+
order?: ListGroupUsersOrderEnum,
|
|
857
863
|
limit?: number,
|
|
858
864
|
offset?: number,
|
|
859
865
|
options: RawAxiosRequestConfig = {},
|
|
860
866
|
): Promise<RequestArgs> => {
|
|
861
|
-
// verify required parameter '
|
|
862
|
-
assertParamExists("
|
|
863
|
-
const localVarPath = `/
|
|
864
|
-
`{${"
|
|
865
|
-
encodeURIComponent(String(
|
|
867
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
868
|
+
assertParamExists("listGroupUsers", "groupId", groupId);
|
|
869
|
+
const localVarPath = `/groups/{group_id}/users`.replace(
|
|
870
|
+
`{${"group_id"}}`,
|
|
871
|
+
encodeURIComponent(String(groupId)),
|
|
866
872
|
);
|
|
867
873
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
868
874
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -879,9 +885,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
879
885
|
const localVarHeaderParameter = {} as any;
|
|
880
886
|
const localVarQueryParameter = {} as any;
|
|
881
887
|
|
|
882
|
-
// authentication Cookie required
|
|
883
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
884
|
-
|
|
885
888
|
// authentication Basic required
|
|
886
889
|
// http basic authentication required
|
|
887
890
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -933,24 +936,24 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
933
936
|
},
|
|
934
937
|
/**
|
|
935
938
|
*
|
|
936
|
-
* @summary Fetch all available
|
|
939
|
+
* @summary Fetch all available groups
|
|
937
940
|
* @param {string} [search] Search query
|
|
938
|
-
* @param {
|
|
939
|
-
* @param {
|
|
941
|
+
* @param {string} [sort] Sorting column
|
|
942
|
+
* @param {ListGroupsOrderEnum} [order] Sorting order
|
|
940
943
|
* @param {number} [limit] Paging limit
|
|
941
944
|
* @param {number} [offset] Paging offset
|
|
942
945
|
* @param {*} [options] Override http request option.
|
|
943
946
|
* @throws {RequiredError}
|
|
944
947
|
*/
|
|
945
|
-
|
|
948
|
+
listGroups: async (
|
|
946
949
|
search?: string,
|
|
947
|
-
sort?:
|
|
948
|
-
order?:
|
|
950
|
+
sort?: string,
|
|
951
|
+
order?: ListGroupsOrderEnum,
|
|
949
952
|
limit?: number,
|
|
950
953
|
offset?: number,
|
|
951
954
|
options: RawAxiosRequestConfig = {},
|
|
952
955
|
): Promise<RequestArgs> => {
|
|
953
|
-
const localVarPath = `/
|
|
956
|
+
const localVarPath = `/groups`;
|
|
954
957
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
955
958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
956
959
|
let baseOptions;
|
|
@@ -966,9 +969,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
966
969
|
const localVarHeaderParameter = {} as any;
|
|
967
970
|
const localVarQueryParameter = {} as any;
|
|
968
971
|
|
|
969
|
-
// authentication Cookie required
|
|
970
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
971
|
-
|
|
972
972
|
// authentication Basic required
|
|
973
973
|
// http basic authentication required
|
|
974
974
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -1020,24 +1020,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1020
1020
|
},
|
|
1021
1021
|
/**
|
|
1022
1022
|
*
|
|
1023
|
-
* @summary Update mod perms for
|
|
1024
|
-
* @param {string}
|
|
1025
|
-
* @param {
|
|
1023
|
+
* @summary Update mod perms for group
|
|
1024
|
+
* @param {string} groupId A group identifier or slug
|
|
1025
|
+
* @param {PermitGroupModRequest} permitGroupModRequest The group mod data to permit
|
|
1026
1026
|
* @param {*} [options] Override http request option.
|
|
1027
1027
|
* @throws {RequiredError}
|
|
1028
1028
|
*/
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1029
|
+
permitGroupMod: async (
|
|
1030
|
+
groupId: string,
|
|
1031
|
+
permitGroupModRequest: PermitGroupModRequest,
|
|
1032
1032
|
options: RawAxiosRequestConfig = {},
|
|
1033
1033
|
): Promise<RequestArgs> => {
|
|
1034
|
-
// verify required parameter '
|
|
1035
|
-
assertParamExists("
|
|
1036
|
-
// verify required parameter '
|
|
1037
|
-
assertParamExists(
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1034
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1035
|
+
assertParamExists("permitGroupMod", "groupId", groupId);
|
|
1036
|
+
// verify required parameter 'permitGroupModRequest' is not null or undefined
|
|
1037
|
+
assertParamExists(
|
|
1038
|
+
"permitGroupMod",
|
|
1039
|
+
"permitGroupModRequest",
|
|
1040
|
+
permitGroupModRequest,
|
|
1041
|
+
);
|
|
1042
|
+
const localVarPath = `/groups/{group_id}/mods`.replace(
|
|
1043
|
+
`{${"group_id"}}`,
|
|
1044
|
+
encodeURIComponent(String(groupId)),
|
|
1041
1045
|
);
|
|
1042
1046
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1043
1047
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1054,9 +1058,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1054
1058
|
const localVarHeaderParameter = {} as any;
|
|
1055
1059
|
const localVarQueryParameter = {} as any;
|
|
1056
1060
|
|
|
1057
|
-
// authentication Cookie required
|
|
1058
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
1059
|
-
|
|
1060
1061
|
// authentication Basic required
|
|
1061
1062
|
// http basic authentication required
|
|
1062
1063
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -1083,7 +1084,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1083
1084
|
...options.headers,
|
|
1084
1085
|
};
|
|
1085
1086
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1086
|
-
|
|
1087
|
+
permitGroupModRequest,
|
|
1087
1088
|
localVarRequestOptions,
|
|
1088
1089
|
configuration,
|
|
1089
1090
|
);
|
|
@@ -1095,24 +1096,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1095
1096
|
},
|
|
1096
1097
|
/**
|
|
1097
1098
|
*
|
|
1098
|
-
* @summary Update pack perms for
|
|
1099
|
-
* @param {string}
|
|
1100
|
-
* @param {
|
|
1099
|
+
* @summary Update pack perms for group
|
|
1100
|
+
* @param {string} groupId A group identifier or slug
|
|
1101
|
+
* @param {PermitGroupPackRequest} permitGroupPackRequest The group pack data to permit
|
|
1101
1102
|
* @param {*} [options] Override http request option.
|
|
1102
1103
|
* @throws {RequiredError}
|
|
1103
1104
|
*/
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1105
|
+
permitGroupPack: async (
|
|
1106
|
+
groupId: string,
|
|
1107
|
+
permitGroupPackRequest: PermitGroupPackRequest,
|
|
1107
1108
|
options: RawAxiosRequestConfig = {},
|
|
1108
1109
|
): Promise<RequestArgs> => {
|
|
1109
|
-
// verify required parameter '
|
|
1110
|
-
assertParamExists("
|
|
1111
|
-
// verify required parameter '
|
|
1112
|
-
assertParamExists(
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1110
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1111
|
+
assertParamExists("permitGroupPack", "groupId", groupId);
|
|
1112
|
+
// verify required parameter 'permitGroupPackRequest' is not null or undefined
|
|
1113
|
+
assertParamExists(
|
|
1114
|
+
"permitGroupPack",
|
|
1115
|
+
"permitGroupPackRequest",
|
|
1116
|
+
permitGroupPackRequest,
|
|
1117
|
+
);
|
|
1118
|
+
const localVarPath = `/groups/{group_id}/packs`.replace(
|
|
1119
|
+
`{${"group_id"}}`,
|
|
1120
|
+
encodeURIComponent(String(groupId)),
|
|
1116
1121
|
);
|
|
1117
1122
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1118
1123
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1129,9 +1134,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1129
1134
|
const localVarHeaderParameter = {} as any;
|
|
1130
1135
|
const localVarQueryParameter = {} as any;
|
|
1131
1136
|
|
|
1132
|
-
// authentication Cookie required
|
|
1133
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
1134
|
-
|
|
1135
1137
|
// authentication Basic required
|
|
1136
1138
|
// http basic authentication required
|
|
1137
1139
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -1158,7 +1160,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1158
1160
|
...options.headers,
|
|
1159
1161
|
};
|
|
1160
1162
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1161
|
-
|
|
1163
|
+
permitGroupPackRequest,
|
|
1162
1164
|
localVarRequestOptions,
|
|
1163
1165
|
configuration,
|
|
1164
1166
|
);
|
|
@@ -1170,24 +1172,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1170
1172
|
},
|
|
1171
1173
|
/**
|
|
1172
1174
|
*
|
|
1173
|
-
* @summary Update user perms for
|
|
1174
|
-
* @param {string}
|
|
1175
|
-
* @param {
|
|
1175
|
+
* @summary Update user perms for group
|
|
1176
|
+
* @param {string} groupId A group identifier or slug
|
|
1177
|
+
* @param {PermitPackUserRequest} permitPackUserRequest The group user data to permit
|
|
1176
1178
|
* @param {*} [options] Override http request option.
|
|
1177
1179
|
* @throws {RequiredError}
|
|
1178
1180
|
*/
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1181
|
+
permitGroupUser: async (
|
|
1182
|
+
groupId: string,
|
|
1183
|
+
permitPackUserRequest: PermitPackUserRequest,
|
|
1182
1184
|
options: RawAxiosRequestConfig = {},
|
|
1183
1185
|
): Promise<RequestArgs> => {
|
|
1184
|
-
// verify required parameter '
|
|
1185
|
-
assertParamExists("
|
|
1186
|
-
// verify required parameter '
|
|
1187
|
-
assertParamExists(
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1186
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1187
|
+
assertParamExists("permitGroupUser", "groupId", groupId);
|
|
1188
|
+
// verify required parameter 'permitPackUserRequest' is not null or undefined
|
|
1189
|
+
assertParamExists(
|
|
1190
|
+
"permitGroupUser",
|
|
1191
|
+
"permitPackUserRequest",
|
|
1192
|
+
permitPackUserRequest,
|
|
1193
|
+
);
|
|
1194
|
+
const localVarPath = `/groups/{group_id}/users`.replace(
|
|
1195
|
+
`{${"group_id"}}`,
|
|
1196
|
+
encodeURIComponent(String(groupId)),
|
|
1191
1197
|
);
|
|
1192
1198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1193
1199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1204,9 +1210,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1204
1210
|
const localVarHeaderParameter = {} as any;
|
|
1205
1211
|
const localVarQueryParameter = {} as any;
|
|
1206
1212
|
|
|
1207
|
-
// authentication Cookie required
|
|
1208
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
1209
|
-
|
|
1210
1213
|
// authentication Basic required
|
|
1211
1214
|
// http basic authentication required
|
|
1212
1215
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -1233,7 +1236,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1233
1236
|
...options.headers,
|
|
1234
1237
|
};
|
|
1235
1238
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1236
|
-
|
|
1239
|
+
permitPackUserRequest,
|
|
1237
1240
|
localVarRequestOptions,
|
|
1238
1241
|
configuration,
|
|
1239
1242
|
);
|
|
@@ -1245,20 +1248,20 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1245
1248
|
},
|
|
1246
1249
|
/**
|
|
1247
1250
|
*
|
|
1248
|
-
* @summary Fetch a specific
|
|
1249
|
-
* @param {string}
|
|
1251
|
+
* @summary Fetch a specific group
|
|
1252
|
+
* @param {string} groupId A group identifier or slug
|
|
1250
1253
|
* @param {*} [options] Override http request option.
|
|
1251
1254
|
* @throws {RequiredError}
|
|
1252
1255
|
*/
|
|
1253
|
-
|
|
1254
|
-
|
|
1256
|
+
showGroup: async (
|
|
1257
|
+
groupId: string,
|
|
1255
1258
|
options: RawAxiosRequestConfig = {},
|
|
1256
1259
|
): Promise<RequestArgs> => {
|
|
1257
|
-
// verify required parameter '
|
|
1258
|
-
assertParamExists("
|
|
1259
|
-
const localVarPath = `/
|
|
1260
|
-
`{${"
|
|
1261
|
-
encodeURIComponent(String(
|
|
1260
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1261
|
+
assertParamExists("showGroup", "groupId", groupId);
|
|
1262
|
+
const localVarPath = `/groups/{group_id}`.replace(
|
|
1263
|
+
`{${"group_id"}}`,
|
|
1264
|
+
encodeURIComponent(String(groupId)),
|
|
1262
1265
|
);
|
|
1263
1266
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1264
1267
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1275,9 +1278,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1275
1278
|
const localVarHeaderParameter = {} as any;
|
|
1276
1279
|
const localVarQueryParameter = {} as any;
|
|
1277
1280
|
|
|
1278
|
-
// authentication Cookie required
|
|
1279
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
1280
|
-
|
|
1281
1281
|
// authentication Basic required
|
|
1282
1282
|
// http basic authentication required
|
|
1283
1283
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -1309,24 +1309,28 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1309
1309
|
},
|
|
1310
1310
|
/**
|
|
1311
1311
|
*
|
|
1312
|
-
* @summary Update a specific
|
|
1313
|
-
* @param {string}
|
|
1314
|
-
* @param {
|
|
1312
|
+
* @summary Update a specific group
|
|
1313
|
+
* @param {string} groupId A group identifier or slug
|
|
1314
|
+
* @param {CreateGroupRequest} createGroupRequest The group data to update
|
|
1315
1315
|
* @param {*} [options] Override http request option.
|
|
1316
1316
|
* @throws {RequiredError}
|
|
1317
1317
|
*/
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1318
|
+
updateGroup: async (
|
|
1319
|
+
groupId: string,
|
|
1320
|
+
createGroupRequest: CreateGroupRequest,
|
|
1321
1321
|
options: RawAxiosRequestConfig = {},
|
|
1322
1322
|
): Promise<RequestArgs> => {
|
|
1323
|
-
// verify required parameter '
|
|
1324
|
-
assertParamExists("
|
|
1325
|
-
// verify required parameter '
|
|
1326
|
-
assertParamExists(
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1323
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
1324
|
+
assertParamExists("updateGroup", "groupId", groupId);
|
|
1325
|
+
// verify required parameter 'createGroupRequest' is not null or undefined
|
|
1326
|
+
assertParamExists(
|
|
1327
|
+
"updateGroup",
|
|
1328
|
+
"createGroupRequest",
|
|
1329
|
+
createGroupRequest,
|
|
1330
|
+
);
|
|
1331
|
+
const localVarPath = `/groups/{group_id}`.replace(
|
|
1332
|
+
`{${"group_id"}}`,
|
|
1333
|
+
encodeURIComponent(String(groupId)),
|
|
1330
1334
|
);
|
|
1331
1335
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1332
1336
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1343,9 +1347,6 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1343
1347
|
const localVarHeaderParameter = {} as any;
|
|
1344
1348
|
const localVarQueryParameter = {} as any;
|
|
1345
1349
|
|
|
1346
|
-
// authentication Cookie required
|
|
1347
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
1348
|
-
|
|
1349
1350
|
// authentication Basic required
|
|
1350
1351
|
// http basic authentication required
|
|
1351
1352
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -1372,7 +1373,7 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1372
1373
|
...options.headers,
|
|
1373
1374
|
};
|
|
1374
1375
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1375
|
-
|
|
1376
|
+
createGroupRequest,
|
|
1376
1377
|
localVarRequestOptions,
|
|
1377
1378
|
configuration,
|
|
1378
1379
|
);
|
|
@@ -1386,35 +1387,36 @@ export const TeamApiAxiosParamCreator = function (
|
|
|
1386
1387
|
};
|
|
1387
1388
|
|
|
1388
1389
|
/**
|
|
1389
|
-
*
|
|
1390
|
+
* GroupApi - functional programming interface
|
|
1390
1391
|
* @export
|
|
1391
1392
|
*/
|
|
1392
|
-
export const
|
|
1393
|
-
const localVarAxiosParamCreator =
|
|
1393
|
+
export const GroupApiFp = function (configuration?: Configuration) {
|
|
1394
|
+
const localVarAxiosParamCreator = GroupApiAxiosParamCreator(configuration);
|
|
1394
1395
|
return {
|
|
1395
1396
|
/**
|
|
1396
1397
|
*
|
|
1397
|
-
* @summary Attach a mod to
|
|
1398
|
-
* @param {string}
|
|
1399
|
-
* @param {
|
|
1398
|
+
* @summary Attach a mod to group
|
|
1399
|
+
* @param {string} groupId A group identifier or slug
|
|
1400
|
+
* @param {PermitGroupModRequest} permitGroupModRequest The group mod data to permit
|
|
1400
1401
|
* @param {*} [options] Override http request option.
|
|
1401
1402
|
* @throws {RequiredError}
|
|
1402
1403
|
*/
|
|
1403
|
-
async
|
|
1404
|
-
|
|
1405
|
-
|
|
1404
|
+
async attachGroupToMod(
|
|
1405
|
+
groupId: string,
|
|
1406
|
+
permitGroupModRequest: PermitGroupModRequest,
|
|
1406
1407
|
options?: RawAxiosRequestConfig,
|
|
1407
1408
|
): Promise<
|
|
1408
1409
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1409
1410
|
> {
|
|
1410
|
-
const localVarAxiosArgs =
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1411
|
+
const localVarAxiosArgs =
|
|
1412
|
+
await localVarAxiosParamCreator.attachGroupToMod(
|
|
1413
|
+
groupId,
|
|
1414
|
+
permitGroupModRequest,
|
|
1415
|
+
options,
|
|
1416
|
+
);
|
|
1415
1417
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1416
1418
|
const localVarOperationServerBasePath =
|
|
1417
|
-
operationServerMap["
|
|
1419
|
+
operationServerMap["GroupApi.attachGroupToMod"]?.[
|
|
1418
1420
|
localVarOperationServerIndex
|
|
1419
1421
|
]?.url;
|
|
1420
1422
|
return (axios, basePath) =>
|
|
@@ -1427,28 +1429,28 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1427
1429
|
},
|
|
1428
1430
|
/**
|
|
1429
1431
|
*
|
|
1430
|
-
* @summary Attach a pack to
|
|
1431
|
-
* @param {string}
|
|
1432
|
-
* @param {
|
|
1432
|
+
* @summary Attach a pack to group
|
|
1433
|
+
* @param {string} groupId A group identifier or slug
|
|
1434
|
+
* @param {PermitGroupPackRequest} permitGroupPackRequest The group pack data to permit
|
|
1433
1435
|
* @param {*} [options] Override http request option.
|
|
1434
1436
|
* @throws {RequiredError}
|
|
1435
1437
|
*/
|
|
1436
|
-
async
|
|
1437
|
-
|
|
1438
|
-
|
|
1438
|
+
async attachGroupToPack(
|
|
1439
|
+
groupId: string,
|
|
1440
|
+
permitGroupPackRequest: PermitGroupPackRequest,
|
|
1439
1441
|
options?: RawAxiosRequestConfig,
|
|
1440
1442
|
): Promise<
|
|
1441
1443
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1442
1444
|
> {
|
|
1443
1445
|
const localVarAxiosArgs =
|
|
1444
|
-
await localVarAxiosParamCreator.
|
|
1445
|
-
|
|
1446
|
-
|
|
1446
|
+
await localVarAxiosParamCreator.attachGroupToPack(
|
|
1447
|
+
groupId,
|
|
1448
|
+
permitGroupPackRequest,
|
|
1447
1449
|
options,
|
|
1448
1450
|
);
|
|
1449
1451
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1450
1452
|
const localVarOperationServerBasePath =
|
|
1451
|
-
operationServerMap["
|
|
1453
|
+
operationServerMap["GroupApi.attachGroupToPack"]?.[
|
|
1452
1454
|
localVarOperationServerIndex
|
|
1453
1455
|
]?.url;
|
|
1454
1456
|
return (axios, basePath) =>
|
|
@@ -1461,28 +1463,28 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1461
1463
|
},
|
|
1462
1464
|
/**
|
|
1463
1465
|
*
|
|
1464
|
-
* @summary Attach a user to
|
|
1465
|
-
* @param {string}
|
|
1466
|
-
* @param {
|
|
1466
|
+
* @summary Attach a user to group
|
|
1467
|
+
* @param {string} groupId A group identifier or slug
|
|
1468
|
+
* @param {PermitPackUserRequest} permitPackUserRequest The group user data to permit
|
|
1467
1469
|
* @param {*} [options] Override http request option.
|
|
1468
1470
|
* @throws {RequiredError}
|
|
1469
1471
|
*/
|
|
1470
|
-
async
|
|
1471
|
-
|
|
1472
|
-
|
|
1472
|
+
async attachGroupToUser(
|
|
1473
|
+
groupId: string,
|
|
1474
|
+
permitPackUserRequest: PermitPackUserRequest,
|
|
1473
1475
|
options?: RawAxiosRequestConfig,
|
|
1474
1476
|
): Promise<
|
|
1475
1477
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1476
1478
|
> {
|
|
1477
1479
|
const localVarAxiosArgs =
|
|
1478
|
-
await localVarAxiosParamCreator.
|
|
1479
|
-
|
|
1480
|
-
|
|
1480
|
+
await localVarAxiosParamCreator.attachGroupToUser(
|
|
1481
|
+
groupId,
|
|
1482
|
+
permitPackUserRequest,
|
|
1481
1483
|
options,
|
|
1482
1484
|
);
|
|
1483
1485
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1484
1486
|
const localVarOperationServerBasePath =
|
|
1485
|
-
operationServerMap["
|
|
1487
|
+
operationServerMap["GroupApi.attachGroupToUser"]?.[
|
|
1486
1488
|
localVarOperationServerIndex
|
|
1487
1489
|
]?.url;
|
|
1488
1490
|
return (axios, basePath) =>
|
|
@@ -1495,25 +1497,26 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1495
1497
|
},
|
|
1496
1498
|
/**
|
|
1497
1499
|
*
|
|
1498
|
-
* @summary Create a new
|
|
1499
|
-
* @param {
|
|
1500
|
+
* @summary Create a new group
|
|
1501
|
+
* @param {CreateGroupRequest} createGroupRequest The group data to create
|
|
1500
1502
|
* @param {*} [options] Override http request option.
|
|
1501
1503
|
* @throws {RequiredError}
|
|
1502
1504
|
*/
|
|
1503
|
-
async
|
|
1504
|
-
|
|
1505
|
+
async createGroup(
|
|
1506
|
+
createGroupRequest: CreateGroupRequest,
|
|
1505
1507
|
options?: RawAxiosRequestConfig,
|
|
1506
1508
|
): Promise<
|
|
1507
|
-
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1509
|
+
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>
|
|
1508
1510
|
> {
|
|
1509
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1510
|
-
|
|
1511
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createGroup(
|
|
1512
|
+
createGroupRequest,
|
|
1511
1513
|
options,
|
|
1512
1514
|
);
|
|
1513
1515
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1514
1516
|
const localVarOperationServerBasePath =
|
|
1515
|
-
operationServerMap["
|
|
1516
|
-
|
|
1517
|
+
operationServerMap["GroupApi.createGroup"]?.[
|
|
1518
|
+
localVarOperationServerIndex
|
|
1519
|
+
]?.url;
|
|
1517
1520
|
return (axios, basePath) =>
|
|
1518
1521
|
createRequestFunction(
|
|
1519
1522
|
localVarAxiosArgs,
|
|
@@ -1524,25 +1527,26 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1524
1527
|
},
|
|
1525
1528
|
/**
|
|
1526
1529
|
*
|
|
1527
|
-
* @summary Delete a specific
|
|
1528
|
-
* @param {string}
|
|
1530
|
+
* @summary Delete a specific group
|
|
1531
|
+
* @param {string} groupId A group identifier or slug
|
|
1529
1532
|
* @param {*} [options] Override http request option.
|
|
1530
1533
|
* @throws {RequiredError}
|
|
1531
1534
|
*/
|
|
1532
|
-
async
|
|
1533
|
-
|
|
1535
|
+
async deleteGroup(
|
|
1536
|
+
groupId: string,
|
|
1534
1537
|
options?: RawAxiosRequestConfig,
|
|
1535
1538
|
): Promise<
|
|
1536
1539
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1537
1540
|
> {
|
|
1538
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1539
|
-
|
|
1541
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroup(
|
|
1542
|
+
groupId,
|
|
1540
1543
|
options,
|
|
1541
1544
|
);
|
|
1542
1545
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1543
1546
|
const localVarOperationServerBasePath =
|
|
1544
|
-
operationServerMap["
|
|
1545
|
-
|
|
1547
|
+
operationServerMap["GroupApi.deleteGroup"]?.[
|
|
1548
|
+
localVarOperationServerIndex
|
|
1549
|
+
]?.url;
|
|
1546
1550
|
return (axios, basePath) =>
|
|
1547
1551
|
createRequestFunction(
|
|
1548
1552
|
localVarAxiosArgs,
|
|
@@ -1553,28 +1557,28 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1553
1557
|
},
|
|
1554
1558
|
/**
|
|
1555
1559
|
*
|
|
1556
|
-
* @summary Unlink a mod from
|
|
1557
|
-
* @param {string}
|
|
1558
|
-
* @param {
|
|
1560
|
+
* @summary Unlink a mod from group
|
|
1561
|
+
* @param {string} groupId A group identifier or slug
|
|
1562
|
+
* @param {DeleteGroupFromModRequest} deleteGroupFromModRequest The group mod data to unlink
|
|
1559
1563
|
* @param {*} [options] Override http request option.
|
|
1560
1564
|
* @throws {RequiredError}
|
|
1561
1565
|
*/
|
|
1562
|
-
async
|
|
1563
|
-
|
|
1564
|
-
|
|
1566
|
+
async deleteGroupFromMod(
|
|
1567
|
+
groupId: string,
|
|
1568
|
+
deleteGroupFromModRequest: DeleteGroupFromModRequest,
|
|
1565
1569
|
options?: RawAxiosRequestConfig,
|
|
1566
1570
|
): Promise<
|
|
1567
1571
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1568
1572
|
> {
|
|
1569
1573
|
const localVarAxiosArgs =
|
|
1570
|
-
await localVarAxiosParamCreator.
|
|
1571
|
-
|
|
1572
|
-
|
|
1574
|
+
await localVarAxiosParamCreator.deleteGroupFromMod(
|
|
1575
|
+
groupId,
|
|
1576
|
+
deleteGroupFromModRequest,
|
|
1573
1577
|
options,
|
|
1574
1578
|
);
|
|
1575
1579
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1576
1580
|
const localVarOperationServerBasePath =
|
|
1577
|
-
operationServerMap["
|
|
1581
|
+
operationServerMap["GroupApi.deleteGroupFromMod"]?.[
|
|
1578
1582
|
localVarOperationServerIndex
|
|
1579
1583
|
]?.url;
|
|
1580
1584
|
return (axios, basePath) =>
|
|
@@ -1587,28 +1591,28 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1587
1591
|
},
|
|
1588
1592
|
/**
|
|
1589
1593
|
*
|
|
1590
|
-
* @summary Unlink a pack from
|
|
1591
|
-
* @param {string}
|
|
1592
|
-
* @param {
|
|
1594
|
+
* @summary Unlink a pack from group
|
|
1595
|
+
* @param {string} groupId A group identifier or slug
|
|
1596
|
+
* @param {DeleteGroupFromPackRequest} deleteGroupFromPackRequest The group pack data to unlink
|
|
1593
1597
|
* @param {*} [options] Override http request option.
|
|
1594
1598
|
* @throws {RequiredError}
|
|
1595
1599
|
*/
|
|
1596
|
-
async
|
|
1597
|
-
|
|
1598
|
-
|
|
1600
|
+
async deleteGroupFromPack(
|
|
1601
|
+
groupId: string,
|
|
1602
|
+
deleteGroupFromPackRequest: DeleteGroupFromPackRequest,
|
|
1599
1603
|
options?: RawAxiosRequestConfig,
|
|
1600
1604
|
): Promise<
|
|
1601
1605
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1602
1606
|
> {
|
|
1603
1607
|
const localVarAxiosArgs =
|
|
1604
|
-
await localVarAxiosParamCreator.
|
|
1605
|
-
|
|
1606
|
-
|
|
1608
|
+
await localVarAxiosParamCreator.deleteGroupFromPack(
|
|
1609
|
+
groupId,
|
|
1610
|
+
deleteGroupFromPackRequest,
|
|
1607
1611
|
options,
|
|
1608
1612
|
);
|
|
1609
1613
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1610
1614
|
const localVarOperationServerBasePath =
|
|
1611
|
-
operationServerMap["
|
|
1615
|
+
operationServerMap["GroupApi.deleteGroupFromPack"]?.[
|
|
1612
1616
|
localVarOperationServerIndex
|
|
1613
1617
|
]?.url;
|
|
1614
1618
|
return (axios, basePath) =>
|
|
@@ -1621,28 +1625,28 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1621
1625
|
},
|
|
1622
1626
|
/**
|
|
1623
1627
|
*
|
|
1624
|
-
* @summary Unlink a user from
|
|
1625
|
-
* @param {string}
|
|
1626
|
-
* @param {
|
|
1628
|
+
* @summary Unlink a user from group
|
|
1629
|
+
* @param {string} groupId A group identifier or slug
|
|
1630
|
+
* @param {DeletePackFromUserRequest} deletePackFromUserRequest The group user data to unlink
|
|
1627
1631
|
* @param {*} [options] Override http request option.
|
|
1628
1632
|
* @throws {RequiredError}
|
|
1629
1633
|
*/
|
|
1630
|
-
async
|
|
1631
|
-
|
|
1632
|
-
|
|
1634
|
+
async deleteGroupFromUser(
|
|
1635
|
+
groupId: string,
|
|
1636
|
+
deletePackFromUserRequest: DeletePackFromUserRequest,
|
|
1633
1637
|
options?: RawAxiosRequestConfig,
|
|
1634
1638
|
): Promise<
|
|
1635
1639
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1636
1640
|
> {
|
|
1637
1641
|
const localVarAxiosArgs =
|
|
1638
|
-
await localVarAxiosParamCreator.
|
|
1639
|
-
|
|
1640
|
-
|
|
1642
|
+
await localVarAxiosParamCreator.deleteGroupFromUser(
|
|
1643
|
+
groupId,
|
|
1644
|
+
deletePackFromUserRequest,
|
|
1641
1645
|
options,
|
|
1642
1646
|
);
|
|
1643
1647
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1644
1648
|
const localVarOperationServerBasePath =
|
|
1645
|
-
operationServerMap["
|
|
1649
|
+
operationServerMap["GroupApi.deleteGroupFromUser"]?.[
|
|
1646
1650
|
localVarOperationServerIndex
|
|
1647
1651
|
]?.url;
|
|
1648
1652
|
return (axios, basePath) =>
|
|
@@ -1655,29 +1659,32 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1655
1659
|
},
|
|
1656
1660
|
/**
|
|
1657
1661
|
*
|
|
1658
|
-
* @summary Fetch all mods attached to
|
|
1659
|
-
* @param {string}
|
|
1662
|
+
* @summary Fetch all mods attached to group
|
|
1663
|
+
* @param {string} groupId A group identifier or slug
|
|
1660
1664
|
* @param {string} [search] Search query
|
|
1661
|
-
* @param {
|
|
1662
|
-
* @param {
|
|
1665
|
+
* @param {string} [sort] Sorting column
|
|
1666
|
+
* @param {ListGroupModsOrderEnum} [order] Sorting order
|
|
1663
1667
|
* @param {number} [limit] Paging limit
|
|
1664
1668
|
* @param {number} [offset] Paging offset
|
|
1665
1669
|
* @param {*} [options] Override http request option.
|
|
1666
1670
|
* @throws {RequiredError}
|
|
1667
1671
|
*/
|
|
1668
|
-
async
|
|
1669
|
-
|
|
1672
|
+
async listGroupMods(
|
|
1673
|
+
groupId: string,
|
|
1670
1674
|
search?: string,
|
|
1671
|
-
sort?:
|
|
1672
|
-
order?:
|
|
1675
|
+
sort?: string,
|
|
1676
|
+
order?: ListGroupModsOrderEnum,
|
|
1673
1677
|
limit?: number,
|
|
1674
1678
|
offset?: number,
|
|
1675
1679
|
options?: RawAxiosRequestConfig,
|
|
1676
1680
|
): Promise<
|
|
1677
|
-
(
|
|
1681
|
+
(
|
|
1682
|
+
axios?: AxiosInstance,
|
|
1683
|
+
basePath?: string,
|
|
1684
|
+
) => AxiosPromise<ListGroupMods200Response>
|
|
1678
1685
|
> {
|
|
1679
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1680
|
-
|
|
1686
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupMods(
|
|
1687
|
+
groupId,
|
|
1681
1688
|
search,
|
|
1682
1689
|
sort,
|
|
1683
1690
|
order,
|
|
@@ -1687,7 +1694,7 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1687
1694
|
);
|
|
1688
1695
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1689
1696
|
const localVarOperationServerBasePath =
|
|
1690
|
-
operationServerMap["
|
|
1697
|
+
operationServerMap["GroupApi.listGroupMods"]?.[
|
|
1691
1698
|
localVarOperationServerIndex
|
|
1692
1699
|
]?.url;
|
|
1693
1700
|
return (axios, basePath) =>
|
|
@@ -1700,29 +1707,32 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1700
1707
|
},
|
|
1701
1708
|
/**
|
|
1702
1709
|
*
|
|
1703
|
-
* @summary Fetch all packs attached to
|
|
1704
|
-
* @param {string}
|
|
1710
|
+
* @summary Fetch all packs attached to group
|
|
1711
|
+
* @param {string} groupId A group identifier or slug
|
|
1705
1712
|
* @param {string} [search] Search query
|
|
1706
|
-
* @param {
|
|
1707
|
-
* @param {
|
|
1713
|
+
* @param {string} [sort] Sorting column
|
|
1714
|
+
* @param {ListGroupPacksOrderEnum} [order] Sorting order
|
|
1708
1715
|
* @param {number} [limit] Paging limit
|
|
1709
1716
|
* @param {number} [offset] Paging offset
|
|
1710
1717
|
* @param {*} [options] Override http request option.
|
|
1711
1718
|
* @throws {RequiredError}
|
|
1712
1719
|
*/
|
|
1713
|
-
async
|
|
1714
|
-
|
|
1720
|
+
async listGroupPacks(
|
|
1721
|
+
groupId: string,
|
|
1715
1722
|
search?: string,
|
|
1716
|
-
sort?:
|
|
1717
|
-
order?:
|
|
1723
|
+
sort?: string,
|
|
1724
|
+
order?: ListGroupPacksOrderEnum,
|
|
1718
1725
|
limit?: number,
|
|
1719
1726
|
offset?: number,
|
|
1720
1727
|
options?: RawAxiosRequestConfig,
|
|
1721
1728
|
): Promise<
|
|
1722
|
-
(
|
|
1729
|
+
(
|
|
1730
|
+
axios?: AxiosInstance,
|
|
1731
|
+
basePath?: string,
|
|
1732
|
+
) => AxiosPromise<ListGroupPacks200Response>
|
|
1723
1733
|
> {
|
|
1724
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1725
|
-
|
|
1734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupPacks(
|
|
1735
|
+
groupId,
|
|
1726
1736
|
search,
|
|
1727
1737
|
sort,
|
|
1728
1738
|
order,
|
|
@@ -1732,7 +1742,7 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1732
1742
|
);
|
|
1733
1743
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1734
1744
|
const localVarOperationServerBasePath =
|
|
1735
|
-
operationServerMap["
|
|
1745
|
+
operationServerMap["GroupApi.listGroupPacks"]?.[
|
|
1736
1746
|
localVarOperationServerIndex
|
|
1737
1747
|
]?.url;
|
|
1738
1748
|
return (axios, basePath) =>
|
|
@@ -1745,29 +1755,32 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1745
1755
|
},
|
|
1746
1756
|
/**
|
|
1747
1757
|
*
|
|
1748
|
-
* @summary Fetch all users attached to
|
|
1749
|
-
* @param {string}
|
|
1758
|
+
* @summary Fetch all users attached to group
|
|
1759
|
+
* @param {string} groupId A group identifier or slug
|
|
1750
1760
|
* @param {string} [search] Search query
|
|
1751
|
-
* @param {
|
|
1752
|
-
* @param {
|
|
1761
|
+
* @param {string} [sort] Sorting column
|
|
1762
|
+
* @param {ListGroupUsersOrderEnum} [order] Sorting order
|
|
1753
1763
|
* @param {number} [limit] Paging limit
|
|
1754
1764
|
* @param {number} [offset] Paging offset
|
|
1755
1765
|
* @param {*} [options] Override http request option.
|
|
1756
1766
|
* @throws {RequiredError}
|
|
1757
1767
|
*/
|
|
1758
|
-
async
|
|
1759
|
-
|
|
1768
|
+
async listGroupUsers(
|
|
1769
|
+
groupId: string,
|
|
1760
1770
|
search?: string,
|
|
1761
|
-
sort?:
|
|
1762
|
-
order?:
|
|
1771
|
+
sort?: string,
|
|
1772
|
+
order?: ListGroupUsersOrderEnum,
|
|
1763
1773
|
limit?: number,
|
|
1764
1774
|
offset?: number,
|
|
1765
1775
|
options?: RawAxiosRequestConfig,
|
|
1766
1776
|
): Promise<
|
|
1767
|
-
(
|
|
1777
|
+
(
|
|
1778
|
+
axios?: AxiosInstance,
|
|
1779
|
+
basePath?: string,
|
|
1780
|
+
) => AxiosPromise<ListGroupUsers200Response>
|
|
1768
1781
|
> {
|
|
1769
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1770
|
-
|
|
1782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupUsers(
|
|
1783
|
+
groupId,
|
|
1771
1784
|
search,
|
|
1772
1785
|
sort,
|
|
1773
1786
|
order,
|
|
@@ -1777,7 +1790,7 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1777
1790
|
);
|
|
1778
1791
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1779
1792
|
const localVarOperationServerBasePath =
|
|
1780
|
-
operationServerMap["
|
|
1793
|
+
operationServerMap["GroupApi.listGroupUsers"]?.[
|
|
1781
1794
|
localVarOperationServerIndex
|
|
1782
1795
|
]?.url;
|
|
1783
1796
|
return (axios, basePath) =>
|
|
@@ -1790,26 +1803,29 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1790
1803
|
},
|
|
1791
1804
|
/**
|
|
1792
1805
|
*
|
|
1793
|
-
* @summary Fetch all available
|
|
1806
|
+
* @summary Fetch all available groups
|
|
1794
1807
|
* @param {string} [search] Search query
|
|
1795
|
-
* @param {
|
|
1796
|
-
* @param {
|
|
1808
|
+
* @param {string} [sort] Sorting column
|
|
1809
|
+
* @param {ListGroupsOrderEnum} [order] Sorting order
|
|
1797
1810
|
* @param {number} [limit] Paging limit
|
|
1798
1811
|
* @param {number} [offset] Paging offset
|
|
1799
1812
|
* @param {*} [options] Override http request option.
|
|
1800
1813
|
* @throws {RequiredError}
|
|
1801
1814
|
*/
|
|
1802
|
-
async
|
|
1815
|
+
async listGroups(
|
|
1803
1816
|
search?: string,
|
|
1804
|
-
sort?:
|
|
1805
|
-
order?:
|
|
1817
|
+
sort?: string,
|
|
1818
|
+
order?: ListGroupsOrderEnum,
|
|
1806
1819
|
limit?: number,
|
|
1807
1820
|
offset?: number,
|
|
1808
1821
|
options?: RawAxiosRequestConfig,
|
|
1809
1822
|
): Promise<
|
|
1810
|
-
(
|
|
1823
|
+
(
|
|
1824
|
+
axios?: AxiosInstance,
|
|
1825
|
+
basePath?: string,
|
|
1826
|
+
) => AxiosPromise<ListGroups200Response>
|
|
1811
1827
|
> {
|
|
1812
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroups(
|
|
1813
1829
|
search,
|
|
1814
1830
|
sort,
|
|
1815
1831
|
order,
|
|
@@ -1819,8 +1835,9 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1819
1835
|
);
|
|
1820
1836
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1821
1837
|
const localVarOperationServerBasePath =
|
|
1822
|
-
operationServerMap["
|
|
1823
|
-
|
|
1838
|
+
operationServerMap["GroupApi.listGroups"]?.[
|
|
1839
|
+
localVarOperationServerIndex
|
|
1840
|
+
]?.url;
|
|
1824
1841
|
return (axios, basePath) =>
|
|
1825
1842
|
createRequestFunction(
|
|
1826
1843
|
localVarAxiosArgs,
|
|
@@ -1831,27 +1848,27 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1831
1848
|
},
|
|
1832
1849
|
/**
|
|
1833
1850
|
*
|
|
1834
|
-
* @summary Update mod perms for
|
|
1835
|
-
* @param {string}
|
|
1836
|
-
* @param {
|
|
1851
|
+
* @summary Update mod perms for group
|
|
1852
|
+
* @param {string} groupId A group identifier or slug
|
|
1853
|
+
* @param {PermitGroupModRequest} permitGroupModRequest The group mod data to permit
|
|
1837
1854
|
* @param {*} [options] Override http request option.
|
|
1838
1855
|
* @throws {RequiredError}
|
|
1839
1856
|
*/
|
|
1840
|
-
async
|
|
1841
|
-
|
|
1842
|
-
|
|
1857
|
+
async permitGroupMod(
|
|
1858
|
+
groupId: string,
|
|
1859
|
+
permitGroupModRequest: PermitGroupModRequest,
|
|
1843
1860
|
options?: RawAxiosRequestConfig,
|
|
1844
1861
|
): Promise<
|
|
1845
1862
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1846
1863
|
> {
|
|
1847
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1848
|
-
|
|
1849
|
-
|
|
1864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.permitGroupMod(
|
|
1865
|
+
groupId,
|
|
1866
|
+
permitGroupModRequest,
|
|
1850
1867
|
options,
|
|
1851
1868
|
);
|
|
1852
1869
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1853
1870
|
const localVarOperationServerBasePath =
|
|
1854
|
-
operationServerMap["
|
|
1871
|
+
operationServerMap["GroupApi.permitGroupMod"]?.[
|
|
1855
1872
|
localVarOperationServerIndex
|
|
1856
1873
|
]?.url;
|
|
1857
1874
|
return (axios, basePath) =>
|
|
@@ -1864,27 +1881,27 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1864
1881
|
},
|
|
1865
1882
|
/**
|
|
1866
1883
|
*
|
|
1867
|
-
* @summary Update pack perms for
|
|
1868
|
-
* @param {string}
|
|
1869
|
-
* @param {
|
|
1884
|
+
* @summary Update pack perms for group
|
|
1885
|
+
* @param {string} groupId A group identifier or slug
|
|
1886
|
+
* @param {PermitGroupPackRequest} permitGroupPackRequest The group pack data to permit
|
|
1870
1887
|
* @param {*} [options] Override http request option.
|
|
1871
1888
|
* @throws {RequiredError}
|
|
1872
1889
|
*/
|
|
1873
|
-
async
|
|
1874
|
-
|
|
1875
|
-
|
|
1890
|
+
async permitGroupPack(
|
|
1891
|
+
groupId: string,
|
|
1892
|
+
permitGroupPackRequest: PermitGroupPackRequest,
|
|
1876
1893
|
options?: RawAxiosRequestConfig,
|
|
1877
1894
|
): Promise<
|
|
1878
1895
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1879
1896
|
> {
|
|
1880
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1881
|
-
|
|
1882
|
-
|
|
1897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.permitGroupPack(
|
|
1898
|
+
groupId,
|
|
1899
|
+
permitGroupPackRequest,
|
|
1883
1900
|
options,
|
|
1884
1901
|
);
|
|
1885
1902
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1886
1903
|
const localVarOperationServerBasePath =
|
|
1887
|
-
operationServerMap["
|
|
1904
|
+
operationServerMap["GroupApi.permitGroupPack"]?.[
|
|
1888
1905
|
localVarOperationServerIndex
|
|
1889
1906
|
]?.url;
|
|
1890
1907
|
return (axios, basePath) =>
|
|
@@ -1897,27 +1914,27 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1897
1914
|
},
|
|
1898
1915
|
/**
|
|
1899
1916
|
*
|
|
1900
|
-
* @summary Update user perms for
|
|
1901
|
-
* @param {string}
|
|
1902
|
-
* @param {
|
|
1917
|
+
* @summary Update user perms for group
|
|
1918
|
+
* @param {string} groupId A group identifier or slug
|
|
1919
|
+
* @param {PermitPackUserRequest} permitPackUserRequest The group user data to permit
|
|
1903
1920
|
* @param {*} [options] Override http request option.
|
|
1904
1921
|
* @throws {RequiredError}
|
|
1905
1922
|
*/
|
|
1906
|
-
async
|
|
1907
|
-
|
|
1908
|
-
|
|
1923
|
+
async permitGroupUser(
|
|
1924
|
+
groupId: string,
|
|
1925
|
+
permitPackUserRequest: PermitPackUserRequest,
|
|
1909
1926
|
options?: RawAxiosRequestConfig,
|
|
1910
1927
|
): Promise<
|
|
1911
1928
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
1912
1929
|
> {
|
|
1913
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1914
|
-
|
|
1915
|
-
|
|
1930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.permitGroupUser(
|
|
1931
|
+
groupId,
|
|
1932
|
+
permitPackUserRequest,
|
|
1916
1933
|
options,
|
|
1917
1934
|
);
|
|
1918
1935
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1919
1936
|
const localVarOperationServerBasePath =
|
|
1920
|
-
operationServerMap["
|
|
1937
|
+
operationServerMap["GroupApi.permitGroupUser"]?.[
|
|
1921
1938
|
localVarOperationServerIndex
|
|
1922
1939
|
]?.url;
|
|
1923
1940
|
return (axios, basePath) =>
|
|
@@ -1930,24 +1947,24 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1930
1947
|
},
|
|
1931
1948
|
/**
|
|
1932
1949
|
*
|
|
1933
|
-
* @summary Fetch a specific
|
|
1934
|
-
* @param {string}
|
|
1950
|
+
* @summary Fetch a specific group
|
|
1951
|
+
* @param {string} groupId A group identifier or slug
|
|
1935
1952
|
* @param {*} [options] Override http request option.
|
|
1936
1953
|
* @throws {RequiredError}
|
|
1937
1954
|
*/
|
|
1938
|
-
async
|
|
1939
|
-
|
|
1955
|
+
async showGroup(
|
|
1956
|
+
groupId: string,
|
|
1940
1957
|
options?: RawAxiosRequestConfig,
|
|
1941
1958
|
): Promise<
|
|
1942
|
-
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1959
|
+
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>
|
|
1943
1960
|
> {
|
|
1944
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1945
|
-
|
|
1961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.showGroup(
|
|
1962
|
+
groupId,
|
|
1946
1963
|
options,
|
|
1947
1964
|
);
|
|
1948
1965
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1949
1966
|
const localVarOperationServerBasePath =
|
|
1950
|
-
operationServerMap["
|
|
1967
|
+
operationServerMap["GroupApi.showGroup"]?.[localVarOperationServerIndex]
|
|
1951
1968
|
?.url;
|
|
1952
1969
|
return (axios, basePath) =>
|
|
1953
1970
|
createRequestFunction(
|
|
@@ -1959,28 +1976,29 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1959
1976
|
},
|
|
1960
1977
|
/**
|
|
1961
1978
|
*
|
|
1962
|
-
* @summary Update a specific
|
|
1963
|
-
* @param {string}
|
|
1964
|
-
* @param {
|
|
1979
|
+
* @summary Update a specific group
|
|
1980
|
+
* @param {string} groupId A group identifier or slug
|
|
1981
|
+
* @param {CreateGroupRequest} createGroupRequest The group data to update
|
|
1965
1982
|
* @param {*} [options] Override http request option.
|
|
1966
1983
|
* @throws {RequiredError}
|
|
1967
1984
|
*/
|
|
1968
|
-
async
|
|
1969
|
-
|
|
1970
|
-
|
|
1985
|
+
async updateGroup(
|
|
1986
|
+
groupId: string,
|
|
1987
|
+
createGroupRequest: CreateGroupRequest,
|
|
1971
1988
|
options?: RawAxiosRequestConfig,
|
|
1972
1989
|
): Promise<
|
|
1973
|
-
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1990
|
+
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>
|
|
1974
1991
|
> {
|
|
1975
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1976
|
-
|
|
1977
|
-
|
|
1992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroup(
|
|
1993
|
+
groupId,
|
|
1994
|
+
createGroupRequest,
|
|
1978
1995
|
options,
|
|
1979
1996
|
);
|
|
1980
1997
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1981
1998
|
const localVarOperationServerBasePath =
|
|
1982
|
-
operationServerMap["
|
|
1983
|
-
|
|
1999
|
+
operationServerMap["GroupApi.updateGroup"]?.[
|
|
2000
|
+
localVarOperationServerIndex
|
|
2001
|
+
]?.url;
|
|
1984
2002
|
return (axios, basePath) =>
|
|
1985
2003
|
createRequestFunction(
|
|
1986
2004
|
localVarAxiosArgs,
|
|
@@ -1993,174 +2011,174 @@ export const TeamApiFp = function (configuration?: Configuration) {
|
|
|
1993
2011
|
};
|
|
1994
2012
|
|
|
1995
2013
|
/**
|
|
1996
|
-
*
|
|
2014
|
+
* GroupApi - factory interface
|
|
1997
2015
|
* @export
|
|
1998
2016
|
*/
|
|
1999
|
-
export const
|
|
2017
|
+
export const GroupApiFactory = function (
|
|
2000
2018
|
configuration?: Configuration,
|
|
2001
2019
|
basePath?: string,
|
|
2002
2020
|
axios?: AxiosInstance,
|
|
2003
2021
|
) {
|
|
2004
|
-
const localVarFp =
|
|
2022
|
+
const localVarFp = GroupApiFp(configuration);
|
|
2005
2023
|
return {
|
|
2006
2024
|
/**
|
|
2007
2025
|
*
|
|
2008
|
-
* @summary Attach a mod to
|
|
2009
|
-
* @param {
|
|
2026
|
+
* @summary Attach a mod to group
|
|
2027
|
+
* @param {GroupApiAttachGroupToModRequest} requestParameters Request parameters.
|
|
2010
2028
|
* @param {*} [options] Override http request option.
|
|
2011
2029
|
* @throws {RequiredError}
|
|
2012
2030
|
*/
|
|
2013
|
-
|
|
2014
|
-
requestParameters:
|
|
2031
|
+
attachGroupToMod(
|
|
2032
|
+
requestParameters: GroupApiAttachGroupToModRequest,
|
|
2015
2033
|
options?: RawAxiosRequestConfig,
|
|
2016
2034
|
): AxiosPromise<Notification> {
|
|
2017
2035
|
return localVarFp
|
|
2018
|
-
.
|
|
2019
|
-
requestParameters.
|
|
2020
|
-
requestParameters.
|
|
2036
|
+
.attachGroupToMod(
|
|
2037
|
+
requestParameters.groupId,
|
|
2038
|
+
requestParameters.permitGroupModRequest,
|
|
2021
2039
|
options,
|
|
2022
2040
|
)
|
|
2023
2041
|
.then((request) => request(axios, basePath));
|
|
2024
2042
|
},
|
|
2025
2043
|
/**
|
|
2026
2044
|
*
|
|
2027
|
-
* @summary Attach a pack to
|
|
2028
|
-
* @param {
|
|
2045
|
+
* @summary Attach a pack to group
|
|
2046
|
+
* @param {GroupApiAttachGroupToPackRequest} requestParameters Request parameters.
|
|
2029
2047
|
* @param {*} [options] Override http request option.
|
|
2030
2048
|
* @throws {RequiredError}
|
|
2031
2049
|
*/
|
|
2032
|
-
|
|
2033
|
-
requestParameters:
|
|
2050
|
+
attachGroupToPack(
|
|
2051
|
+
requestParameters: GroupApiAttachGroupToPackRequest,
|
|
2034
2052
|
options?: RawAxiosRequestConfig,
|
|
2035
2053
|
): AxiosPromise<Notification> {
|
|
2036
2054
|
return localVarFp
|
|
2037
|
-
.
|
|
2038
|
-
requestParameters.
|
|
2039
|
-
requestParameters.
|
|
2055
|
+
.attachGroupToPack(
|
|
2056
|
+
requestParameters.groupId,
|
|
2057
|
+
requestParameters.permitGroupPackRequest,
|
|
2040
2058
|
options,
|
|
2041
2059
|
)
|
|
2042
2060
|
.then((request) => request(axios, basePath));
|
|
2043
2061
|
},
|
|
2044
2062
|
/**
|
|
2045
2063
|
*
|
|
2046
|
-
* @summary Attach a user to
|
|
2047
|
-
* @param {
|
|
2064
|
+
* @summary Attach a user to group
|
|
2065
|
+
* @param {GroupApiAttachGroupToUserRequest} requestParameters Request parameters.
|
|
2048
2066
|
* @param {*} [options] Override http request option.
|
|
2049
2067
|
* @throws {RequiredError}
|
|
2050
2068
|
*/
|
|
2051
|
-
|
|
2052
|
-
requestParameters:
|
|
2069
|
+
attachGroupToUser(
|
|
2070
|
+
requestParameters: GroupApiAttachGroupToUserRequest,
|
|
2053
2071
|
options?: RawAxiosRequestConfig,
|
|
2054
2072
|
): AxiosPromise<Notification> {
|
|
2055
2073
|
return localVarFp
|
|
2056
|
-
.
|
|
2057
|
-
requestParameters.
|
|
2058
|
-
requestParameters.
|
|
2074
|
+
.attachGroupToUser(
|
|
2075
|
+
requestParameters.groupId,
|
|
2076
|
+
requestParameters.permitPackUserRequest,
|
|
2059
2077
|
options,
|
|
2060
2078
|
)
|
|
2061
2079
|
.then((request) => request(axios, basePath));
|
|
2062
2080
|
},
|
|
2063
2081
|
/**
|
|
2064
2082
|
*
|
|
2065
|
-
* @summary Create a new
|
|
2066
|
-
* @param {
|
|
2083
|
+
* @summary Create a new group
|
|
2084
|
+
* @param {GroupApiCreateGroupRequest} requestParameters Request parameters.
|
|
2067
2085
|
* @param {*} [options] Override http request option.
|
|
2068
2086
|
* @throws {RequiredError}
|
|
2069
2087
|
*/
|
|
2070
|
-
|
|
2071
|
-
requestParameters:
|
|
2088
|
+
createGroup(
|
|
2089
|
+
requestParameters: GroupApiCreateGroupRequest,
|
|
2072
2090
|
options?: RawAxiosRequestConfig,
|
|
2073
|
-
): AxiosPromise<
|
|
2091
|
+
): AxiosPromise<Group> {
|
|
2074
2092
|
return localVarFp
|
|
2075
|
-
.
|
|
2093
|
+
.createGroup(requestParameters.createGroupRequest, options)
|
|
2076
2094
|
.then((request) => request(axios, basePath));
|
|
2077
2095
|
},
|
|
2078
2096
|
/**
|
|
2079
2097
|
*
|
|
2080
|
-
* @summary Delete a specific
|
|
2081
|
-
* @param {
|
|
2098
|
+
* @summary Delete a specific group
|
|
2099
|
+
* @param {GroupApiDeleteGroupRequest} requestParameters Request parameters.
|
|
2082
2100
|
* @param {*} [options] Override http request option.
|
|
2083
2101
|
* @throws {RequiredError}
|
|
2084
2102
|
*/
|
|
2085
|
-
|
|
2086
|
-
requestParameters:
|
|
2103
|
+
deleteGroup(
|
|
2104
|
+
requestParameters: GroupApiDeleteGroupRequest,
|
|
2087
2105
|
options?: RawAxiosRequestConfig,
|
|
2088
2106
|
): AxiosPromise<Notification> {
|
|
2089
2107
|
return localVarFp
|
|
2090
|
-
.
|
|
2108
|
+
.deleteGroup(requestParameters.groupId, options)
|
|
2091
2109
|
.then((request) => request(axios, basePath));
|
|
2092
2110
|
},
|
|
2093
2111
|
/**
|
|
2094
2112
|
*
|
|
2095
|
-
* @summary Unlink a mod from
|
|
2096
|
-
* @param {
|
|
2113
|
+
* @summary Unlink a mod from group
|
|
2114
|
+
* @param {GroupApiDeleteGroupFromModRequest} requestParameters Request parameters.
|
|
2097
2115
|
* @param {*} [options] Override http request option.
|
|
2098
2116
|
* @throws {RequiredError}
|
|
2099
2117
|
*/
|
|
2100
|
-
|
|
2101
|
-
requestParameters:
|
|
2118
|
+
deleteGroupFromMod(
|
|
2119
|
+
requestParameters: GroupApiDeleteGroupFromModRequest,
|
|
2102
2120
|
options?: RawAxiosRequestConfig,
|
|
2103
2121
|
): AxiosPromise<Notification> {
|
|
2104
2122
|
return localVarFp
|
|
2105
|
-
.
|
|
2106
|
-
requestParameters.
|
|
2107
|
-
requestParameters.
|
|
2123
|
+
.deleteGroupFromMod(
|
|
2124
|
+
requestParameters.groupId,
|
|
2125
|
+
requestParameters.deleteGroupFromModRequest,
|
|
2108
2126
|
options,
|
|
2109
2127
|
)
|
|
2110
2128
|
.then((request) => request(axios, basePath));
|
|
2111
2129
|
},
|
|
2112
2130
|
/**
|
|
2113
2131
|
*
|
|
2114
|
-
* @summary Unlink a pack from
|
|
2115
|
-
* @param {
|
|
2132
|
+
* @summary Unlink a pack from group
|
|
2133
|
+
* @param {GroupApiDeleteGroupFromPackRequest} requestParameters Request parameters.
|
|
2116
2134
|
* @param {*} [options] Override http request option.
|
|
2117
2135
|
* @throws {RequiredError}
|
|
2118
2136
|
*/
|
|
2119
|
-
|
|
2120
|
-
requestParameters:
|
|
2137
|
+
deleteGroupFromPack(
|
|
2138
|
+
requestParameters: GroupApiDeleteGroupFromPackRequest,
|
|
2121
2139
|
options?: RawAxiosRequestConfig,
|
|
2122
2140
|
): AxiosPromise<Notification> {
|
|
2123
2141
|
return localVarFp
|
|
2124
|
-
.
|
|
2125
|
-
requestParameters.
|
|
2126
|
-
requestParameters.
|
|
2142
|
+
.deleteGroupFromPack(
|
|
2143
|
+
requestParameters.groupId,
|
|
2144
|
+
requestParameters.deleteGroupFromPackRequest,
|
|
2127
2145
|
options,
|
|
2128
2146
|
)
|
|
2129
2147
|
.then((request) => request(axios, basePath));
|
|
2130
2148
|
},
|
|
2131
2149
|
/**
|
|
2132
2150
|
*
|
|
2133
|
-
* @summary Unlink a user from
|
|
2134
|
-
* @param {
|
|
2151
|
+
* @summary Unlink a user from group
|
|
2152
|
+
* @param {GroupApiDeleteGroupFromUserRequest} requestParameters Request parameters.
|
|
2135
2153
|
* @param {*} [options] Override http request option.
|
|
2136
2154
|
* @throws {RequiredError}
|
|
2137
2155
|
*/
|
|
2138
|
-
|
|
2139
|
-
requestParameters:
|
|
2156
|
+
deleteGroupFromUser(
|
|
2157
|
+
requestParameters: GroupApiDeleteGroupFromUserRequest,
|
|
2140
2158
|
options?: RawAxiosRequestConfig,
|
|
2141
2159
|
): AxiosPromise<Notification> {
|
|
2142
2160
|
return localVarFp
|
|
2143
|
-
.
|
|
2144
|
-
requestParameters.
|
|
2145
|
-
requestParameters.
|
|
2161
|
+
.deleteGroupFromUser(
|
|
2162
|
+
requestParameters.groupId,
|
|
2163
|
+
requestParameters.deletePackFromUserRequest,
|
|
2146
2164
|
options,
|
|
2147
2165
|
)
|
|
2148
2166
|
.then((request) => request(axios, basePath));
|
|
2149
2167
|
},
|
|
2150
2168
|
/**
|
|
2151
2169
|
*
|
|
2152
|
-
* @summary Fetch all mods attached to
|
|
2153
|
-
* @param {
|
|
2170
|
+
* @summary Fetch all mods attached to group
|
|
2171
|
+
* @param {GroupApiListGroupModsRequest} requestParameters Request parameters.
|
|
2154
2172
|
* @param {*} [options] Override http request option.
|
|
2155
2173
|
* @throws {RequiredError}
|
|
2156
2174
|
*/
|
|
2157
|
-
|
|
2158
|
-
requestParameters:
|
|
2175
|
+
listGroupMods(
|
|
2176
|
+
requestParameters: GroupApiListGroupModsRequest,
|
|
2159
2177
|
options?: RawAxiosRequestConfig,
|
|
2160
|
-
): AxiosPromise<
|
|
2178
|
+
): AxiosPromise<ListGroupMods200Response> {
|
|
2161
2179
|
return localVarFp
|
|
2162
|
-
.
|
|
2163
|
-
requestParameters.
|
|
2180
|
+
.listGroupMods(
|
|
2181
|
+
requestParameters.groupId,
|
|
2164
2182
|
requestParameters.search,
|
|
2165
2183
|
requestParameters.sort,
|
|
2166
2184
|
requestParameters.order,
|
|
@@ -2172,18 +2190,18 @@ export const TeamApiFactory = function (
|
|
|
2172
2190
|
},
|
|
2173
2191
|
/**
|
|
2174
2192
|
*
|
|
2175
|
-
* @summary Fetch all packs attached to
|
|
2176
|
-
* @param {
|
|
2193
|
+
* @summary Fetch all packs attached to group
|
|
2194
|
+
* @param {GroupApiListGroupPacksRequest} requestParameters Request parameters.
|
|
2177
2195
|
* @param {*} [options] Override http request option.
|
|
2178
2196
|
* @throws {RequiredError}
|
|
2179
2197
|
*/
|
|
2180
|
-
|
|
2181
|
-
requestParameters:
|
|
2198
|
+
listGroupPacks(
|
|
2199
|
+
requestParameters: GroupApiListGroupPacksRequest,
|
|
2182
2200
|
options?: RawAxiosRequestConfig,
|
|
2183
|
-
): AxiosPromise<
|
|
2201
|
+
): AxiosPromise<ListGroupPacks200Response> {
|
|
2184
2202
|
return localVarFp
|
|
2185
|
-
.
|
|
2186
|
-
requestParameters.
|
|
2203
|
+
.listGroupPacks(
|
|
2204
|
+
requestParameters.groupId,
|
|
2187
2205
|
requestParameters.search,
|
|
2188
2206
|
requestParameters.sort,
|
|
2189
2207
|
requestParameters.order,
|
|
@@ -2195,18 +2213,18 @@ export const TeamApiFactory = function (
|
|
|
2195
2213
|
},
|
|
2196
2214
|
/**
|
|
2197
2215
|
*
|
|
2198
|
-
* @summary Fetch all users attached to
|
|
2199
|
-
* @param {
|
|
2216
|
+
* @summary Fetch all users attached to group
|
|
2217
|
+
* @param {GroupApiListGroupUsersRequest} requestParameters Request parameters.
|
|
2200
2218
|
* @param {*} [options] Override http request option.
|
|
2201
2219
|
* @throws {RequiredError}
|
|
2202
2220
|
*/
|
|
2203
|
-
|
|
2204
|
-
requestParameters:
|
|
2221
|
+
listGroupUsers(
|
|
2222
|
+
requestParameters: GroupApiListGroupUsersRequest,
|
|
2205
2223
|
options?: RawAxiosRequestConfig,
|
|
2206
|
-
): AxiosPromise<
|
|
2224
|
+
): AxiosPromise<ListGroupUsers200Response> {
|
|
2207
2225
|
return localVarFp
|
|
2208
|
-
.
|
|
2209
|
-
requestParameters.
|
|
2226
|
+
.listGroupUsers(
|
|
2227
|
+
requestParameters.groupId,
|
|
2210
2228
|
requestParameters.search,
|
|
2211
2229
|
requestParameters.sort,
|
|
2212
2230
|
requestParameters.order,
|
|
@@ -2218,17 +2236,17 @@ export const TeamApiFactory = function (
|
|
|
2218
2236
|
},
|
|
2219
2237
|
/**
|
|
2220
2238
|
*
|
|
2221
|
-
* @summary Fetch all available
|
|
2222
|
-
* @param {
|
|
2239
|
+
* @summary Fetch all available groups
|
|
2240
|
+
* @param {GroupApiListGroupsRequest} requestParameters Request parameters.
|
|
2223
2241
|
* @param {*} [options] Override http request option.
|
|
2224
2242
|
* @throws {RequiredError}
|
|
2225
2243
|
*/
|
|
2226
|
-
|
|
2227
|
-
requestParameters:
|
|
2244
|
+
listGroups(
|
|
2245
|
+
requestParameters: GroupApiListGroupsRequest = {},
|
|
2228
2246
|
options?: RawAxiosRequestConfig,
|
|
2229
|
-
): AxiosPromise<
|
|
2247
|
+
): AxiosPromise<ListGroups200Response> {
|
|
2230
2248
|
return localVarFp
|
|
2231
|
-
.
|
|
2249
|
+
.listGroups(
|
|
2232
2250
|
requestParameters.search,
|
|
2233
2251
|
requestParameters.sort,
|
|
2234
2252
|
requestParameters.order,
|
|
@@ -2240,558 +2258,562 @@ export const TeamApiFactory = function (
|
|
|
2240
2258
|
},
|
|
2241
2259
|
/**
|
|
2242
2260
|
*
|
|
2243
|
-
* @summary Update mod perms for
|
|
2244
|
-
* @param {
|
|
2261
|
+
* @summary Update mod perms for group
|
|
2262
|
+
* @param {GroupApiPermitGroupModRequest} requestParameters Request parameters.
|
|
2245
2263
|
* @param {*} [options] Override http request option.
|
|
2246
2264
|
* @throws {RequiredError}
|
|
2247
2265
|
*/
|
|
2248
|
-
|
|
2249
|
-
requestParameters:
|
|
2266
|
+
permitGroupMod(
|
|
2267
|
+
requestParameters: GroupApiPermitGroupModRequest,
|
|
2250
2268
|
options?: RawAxiosRequestConfig,
|
|
2251
2269
|
): AxiosPromise<Notification> {
|
|
2252
2270
|
return localVarFp
|
|
2253
|
-
.
|
|
2254
|
-
requestParameters.
|
|
2255
|
-
requestParameters.
|
|
2271
|
+
.permitGroupMod(
|
|
2272
|
+
requestParameters.groupId,
|
|
2273
|
+
requestParameters.permitGroupModRequest,
|
|
2256
2274
|
options,
|
|
2257
2275
|
)
|
|
2258
2276
|
.then((request) => request(axios, basePath));
|
|
2259
2277
|
},
|
|
2260
2278
|
/**
|
|
2261
2279
|
*
|
|
2262
|
-
* @summary Update pack perms for
|
|
2263
|
-
* @param {
|
|
2280
|
+
* @summary Update pack perms for group
|
|
2281
|
+
* @param {GroupApiPermitGroupPackRequest} requestParameters Request parameters.
|
|
2264
2282
|
* @param {*} [options] Override http request option.
|
|
2265
2283
|
* @throws {RequiredError}
|
|
2266
2284
|
*/
|
|
2267
|
-
|
|
2268
|
-
requestParameters:
|
|
2285
|
+
permitGroupPack(
|
|
2286
|
+
requestParameters: GroupApiPermitGroupPackRequest,
|
|
2269
2287
|
options?: RawAxiosRequestConfig,
|
|
2270
2288
|
): AxiosPromise<Notification> {
|
|
2271
2289
|
return localVarFp
|
|
2272
|
-
.
|
|
2273
|
-
requestParameters.
|
|
2274
|
-
requestParameters.
|
|
2290
|
+
.permitGroupPack(
|
|
2291
|
+
requestParameters.groupId,
|
|
2292
|
+
requestParameters.permitGroupPackRequest,
|
|
2275
2293
|
options,
|
|
2276
2294
|
)
|
|
2277
2295
|
.then((request) => request(axios, basePath));
|
|
2278
2296
|
},
|
|
2279
2297
|
/**
|
|
2280
2298
|
*
|
|
2281
|
-
* @summary Update user perms for
|
|
2282
|
-
* @param {
|
|
2299
|
+
* @summary Update user perms for group
|
|
2300
|
+
* @param {GroupApiPermitGroupUserRequest} requestParameters Request parameters.
|
|
2283
2301
|
* @param {*} [options] Override http request option.
|
|
2284
2302
|
* @throws {RequiredError}
|
|
2285
2303
|
*/
|
|
2286
|
-
|
|
2287
|
-
requestParameters:
|
|
2304
|
+
permitGroupUser(
|
|
2305
|
+
requestParameters: GroupApiPermitGroupUserRequest,
|
|
2288
2306
|
options?: RawAxiosRequestConfig,
|
|
2289
2307
|
): AxiosPromise<Notification> {
|
|
2290
2308
|
return localVarFp
|
|
2291
|
-
.
|
|
2292
|
-
requestParameters.
|
|
2293
|
-
requestParameters.
|
|
2309
|
+
.permitGroupUser(
|
|
2310
|
+
requestParameters.groupId,
|
|
2311
|
+
requestParameters.permitPackUserRequest,
|
|
2294
2312
|
options,
|
|
2295
2313
|
)
|
|
2296
2314
|
.then((request) => request(axios, basePath));
|
|
2297
2315
|
},
|
|
2298
2316
|
/**
|
|
2299
2317
|
*
|
|
2300
|
-
* @summary Fetch a specific
|
|
2301
|
-
* @param {
|
|
2318
|
+
* @summary Fetch a specific group
|
|
2319
|
+
* @param {GroupApiShowGroupRequest} requestParameters Request parameters.
|
|
2302
2320
|
* @param {*} [options] Override http request option.
|
|
2303
2321
|
* @throws {RequiredError}
|
|
2304
2322
|
*/
|
|
2305
|
-
|
|
2306
|
-
requestParameters:
|
|
2323
|
+
showGroup(
|
|
2324
|
+
requestParameters: GroupApiShowGroupRequest,
|
|
2307
2325
|
options?: RawAxiosRequestConfig,
|
|
2308
|
-
): AxiosPromise<
|
|
2326
|
+
): AxiosPromise<Group> {
|
|
2309
2327
|
return localVarFp
|
|
2310
|
-
.
|
|
2328
|
+
.showGroup(requestParameters.groupId, options)
|
|
2311
2329
|
.then((request) => request(axios, basePath));
|
|
2312
2330
|
},
|
|
2313
2331
|
/**
|
|
2314
2332
|
*
|
|
2315
|
-
* @summary Update a specific
|
|
2316
|
-
* @param {
|
|
2333
|
+
* @summary Update a specific group
|
|
2334
|
+
* @param {GroupApiUpdateGroupRequest} requestParameters Request parameters.
|
|
2317
2335
|
* @param {*} [options] Override http request option.
|
|
2318
2336
|
* @throws {RequiredError}
|
|
2319
2337
|
*/
|
|
2320
|
-
|
|
2321
|
-
requestParameters:
|
|
2338
|
+
updateGroup(
|
|
2339
|
+
requestParameters: GroupApiUpdateGroupRequest,
|
|
2322
2340
|
options?: RawAxiosRequestConfig,
|
|
2323
|
-
): AxiosPromise<
|
|
2341
|
+
): AxiosPromise<Group> {
|
|
2324
2342
|
return localVarFp
|
|
2325
|
-
.
|
|
2343
|
+
.updateGroup(
|
|
2344
|
+
requestParameters.groupId,
|
|
2345
|
+
requestParameters.createGroupRequest,
|
|
2346
|
+
options,
|
|
2347
|
+
)
|
|
2326
2348
|
.then((request) => request(axios, basePath));
|
|
2327
2349
|
},
|
|
2328
2350
|
};
|
|
2329
2351
|
};
|
|
2330
2352
|
|
|
2331
2353
|
/**
|
|
2332
|
-
* Request parameters for
|
|
2354
|
+
* Request parameters for attachGroupToMod operation in GroupApi.
|
|
2333
2355
|
* @export
|
|
2334
|
-
* @interface
|
|
2356
|
+
* @interface GroupApiAttachGroupToModRequest
|
|
2335
2357
|
*/
|
|
2336
|
-
export interface
|
|
2358
|
+
export interface GroupApiAttachGroupToModRequest {
|
|
2337
2359
|
/**
|
|
2338
|
-
* A
|
|
2360
|
+
* A group identifier or slug
|
|
2339
2361
|
* @type {string}
|
|
2340
|
-
* @memberof
|
|
2362
|
+
* @memberof GroupApiAttachGroupToMod
|
|
2341
2363
|
*/
|
|
2342
|
-
readonly
|
|
2364
|
+
readonly groupId: string;
|
|
2343
2365
|
|
|
2344
2366
|
/**
|
|
2345
|
-
* The
|
|
2346
|
-
* @type {
|
|
2347
|
-
* @memberof
|
|
2367
|
+
* The group mod data to permit
|
|
2368
|
+
* @type {PermitGroupModRequest}
|
|
2369
|
+
* @memberof GroupApiAttachGroupToMod
|
|
2348
2370
|
*/
|
|
2349
|
-
readonly
|
|
2371
|
+
readonly permitGroupModRequest: PermitGroupModRequest;
|
|
2350
2372
|
}
|
|
2351
2373
|
|
|
2352
2374
|
/**
|
|
2353
|
-
* Request parameters for
|
|
2375
|
+
* Request parameters for attachGroupToPack operation in GroupApi.
|
|
2354
2376
|
* @export
|
|
2355
|
-
* @interface
|
|
2377
|
+
* @interface GroupApiAttachGroupToPackRequest
|
|
2356
2378
|
*/
|
|
2357
|
-
export interface
|
|
2379
|
+
export interface GroupApiAttachGroupToPackRequest {
|
|
2358
2380
|
/**
|
|
2359
|
-
* A
|
|
2381
|
+
* A group identifier or slug
|
|
2360
2382
|
* @type {string}
|
|
2361
|
-
* @memberof
|
|
2383
|
+
* @memberof GroupApiAttachGroupToPack
|
|
2362
2384
|
*/
|
|
2363
|
-
readonly
|
|
2385
|
+
readonly groupId: string;
|
|
2364
2386
|
|
|
2365
2387
|
/**
|
|
2366
|
-
* The
|
|
2367
|
-
* @type {
|
|
2368
|
-
* @memberof
|
|
2388
|
+
* The group pack data to permit
|
|
2389
|
+
* @type {PermitGroupPackRequest}
|
|
2390
|
+
* @memberof GroupApiAttachGroupToPack
|
|
2369
2391
|
*/
|
|
2370
|
-
readonly
|
|
2392
|
+
readonly permitGroupPackRequest: PermitGroupPackRequest;
|
|
2371
2393
|
}
|
|
2372
2394
|
|
|
2373
2395
|
/**
|
|
2374
|
-
* Request parameters for
|
|
2396
|
+
* Request parameters for attachGroupToUser operation in GroupApi.
|
|
2375
2397
|
* @export
|
|
2376
|
-
* @interface
|
|
2398
|
+
* @interface GroupApiAttachGroupToUserRequest
|
|
2377
2399
|
*/
|
|
2378
|
-
export interface
|
|
2400
|
+
export interface GroupApiAttachGroupToUserRequest {
|
|
2379
2401
|
/**
|
|
2380
|
-
* A
|
|
2402
|
+
* A group identifier or slug
|
|
2381
2403
|
* @type {string}
|
|
2382
|
-
* @memberof
|
|
2404
|
+
* @memberof GroupApiAttachGroupToUser
|
|
2383
2405
|
*/
|
|
2384
|
-
readonly
|
|
2406
|
+
readonly groupId: string;
|
|
2385
2407
|
|
|
2386
2408
|
/**
|
|
2387
|
-
* The
|
|
2388
|
-
* @type {
|
|
2389
|
-
* @memberof
|
|
2409
|
+
* The group user data to permit
|
|
2410
|
+
* @type {PermitPackUserRequest}
|
|
2411
|
+
* @memberof GroupApiAttachGroupToUser
|
|
2390
2412
|
*/
|
|
2391
|
-
readonly
|
|
2413
|
+
readonly permitPackUserRequest: PermitPackUserRequest;
|
|
2392
2414
|
}
|
|
2393
2415
|
|
|
2394
2416
|
/**
|
|
2395
|
-
* Request parameters for
|
|
2417
|
+
* Request parameters for createGroup operation in GroupApi.
|
|
2396
2418
|
* @export
|
|
2397
|
-
* @interface
|
|
2419
|
+
* @interface GroupApiCreateGroupRequest
|
|
2398
2420
|
*/
|
|
2399
|
-
export interface
|
|
2421
|
+
export interface GroupApiCreateGroupRequest {
|
|
2400
2422
|
/**
|
|
2401
|
-
* The
|
|
2402
|
-
* @type {
|
|
2403
|
-
* @memberof
|
|
2423
|
+
* The group data to create
|
|
2424
|
+
* @type {CreateGroupRequest}
|
|
2425
|
+
* @memberof GroupApiCreateGroup
|
|
2404
2426
|
*/
|
|
2405
|
-
readonly
|
|
2427
|
+
readonly createGroupRequest: CreateGroupRequest;
|
|
2406
2428
|
}
|
|
2407
2429
|
|
|
2408
2430
|
/**
|
|
2409
|
-
* Request parameters for
|
|
2431
|
+
* Request parameters for deleteGroup operation in GroupApi.
|
|
2410
2432
|
* @export
|
|
2411
|
-
* @interface
|
|
2433
|
+
* @interface GroupApiDeleteGroupRequest
|
|
2412
2434
|
*/
|
|
2413
|
-
export interface
|
|
2435
|
+
export interface GroupApiDeleteGroupRequest {
|
|
2414
2436
|
/**
|
|
2415
|
-
* A
|
|
2437
|
+
* A group identifier or slug
|
|
2416
2438
|
* @type {string}
|
|
2417
|
-
* @memberof
|
|
2439
|
+
* @memberof GroupApiDeleteGroup
|
|
2418
2440
|
*/
|
|
2419
|
-
readonly
|
|
2441
|
+
readonly groupId: string;
|
|
2420
2442
|
}
|
|
2421
2443
|
|
|
2422
2444
|
/**
|
|
2423
|
-
* Request parameters for
|
|
2445
|
+
* Request parameters for deleteGroupFromMod operation in GroupApi.
|
|
2424
2446
|
* @export
|
|
2425
|
-
* @interface
|
|
2447
|
+
* @interface GroupApiDeleteGroupFromModRequest
|
|
2426
2448
|
*/
|
|
2427
|
-
export interface
|
|
2449
|
+
export interface GroupApiDeleteGroupFromModRequest {
|
|
2428
2450
|
/**
|
|
2429
|
-
* A
|
|
2451
|
+
* A group identifier or slug
|
|
2430
2452
|
* @type {string}
|
|
2431
|
-
* @memberof
|
|
2453
|
+
* @memberof GroupApiDeleteGroupFromMod
|
|
2432
2454
|
*/
|
|
2433
|
-
readonly
|
|
2455
|
+
readonly groupId: string;
|
|
2434
2456
|
|
|
2435
2457
|
/**
|
|
2436
|
-
* The
|
|
2437
|
-
* @type {
|
|
2438
|
-
* @memberof
|
|
2458
|
+
* The group mod data to unlink
|
|
2459
|
+
* @type {DeleteGroupFromModRequest}
|
|
2460
|
+
* @memberof GroupApiDeleteGroupFromMod
|
|
2439
2461
|
*/
|
|
2440
|
-
readonly
|
|
2462
|
+
readonly deleteGroupFromModRequest: DeleteGroupFromModRequest;
|
|
2441
2463
|
}
|
|
2442
2464
|
|
|
2443
2465
|
/**
|
|
2444
|
-
* Request parameters for
|
|
2466
|
+
* Request parameters for deleteGroupFromPack operation in GroupApi.
|
|
2445
2467
|
* @export
|
|
2446
|
-
* @interface
|
|
2468
|
+
* @interface GroupApiDeleteGroupFromPackRequest
|
|
2447
2469
|
*/
|
|
2448
|
-
export interface
|
|
2470
|
+
export interface GroupApiDeleteGroupFromPackRequest {
|
|
2449
2471
|
/**
|
|
2450
|
-
* A
|
|
2472
|
+
* A group identifier or slug
|
|
2451
2473
|
* @type {string}
|
|
2452
|
-
* @memberof
|
|
2474
|
+
* @memberof GroupApiDeleteGroupFromPack
|
|
2453
2475
|
*/
|
|
2454
|
-
readonly
|
|
2476
|
+
readonly groupId: string;
|
|
2455
2477
|
|
|
2456
2478
|
/**
|
|
2457
|
-
* The
|
|
2458
|
-
* @type {
|
|
2459
|
-
* @memberof
|
|
2479
|
+
* The group pack data to unlink
|
|
2480
|
+
* @type {DeleteGroupFromPackRequest}
|
|
2481
|
+
* @memberof GroupApiDeleteGroupFromPack
|
|
2460
2482
|
*/
|
|
2461
|
-
readonly
|
|
2483
|
+
readonly deleteGroupFromPackRequest: DeleteGroupFromPackRequest;
|
|
2462
2484
|
}
|
|
2463
2485
|
|
|
2464
2486
|
/**
|
|
2465
|
-
* Request parameters for
|
|
2487
|
+
* Request parameters for deleteGroupFromUser operation in GroupApi.
|
|
2466
2488
|
* @export
|
|
2467
|
-
* @interface
|
|
2489
|
+
* @interface GroupApiDeleteGroupFromUserRequest
|
|
2468
2490
|
*/
|
|
2469
|
-
export interface
|
|
2491
|
+
export interface GroupApiDeleteGroupFromUserRequest {
|
|
2470
2492
|
/**
|
|
2471
|
-
* A
|
|
2493
|
+
* A group identifier or slug
|
|
2472
2494
|
* @type {string}
|
|
2473
|
-
* @memberof
|
|
2495
|
+
* @memberof GroupApiDeleteGroupFromUser
|
|
2474
2496
|
*/
|
|
2475
|
-
readonly
|
|
2497
|
+
readonly groupId: string;
|
|
2476
2498
|
|
|
2477
2499
|
/**
|
|
2478
|
-
* The
|
|
2479
|
-
* @type {
|
|
2480
|
-
* @memberof
|
|
2500
|
+
* The group user data to unlink
|
|
2501
|
+
* @type {DeletePackFromUserRequest}
|
|
2502
|
+
* @memberof GroupApiDeleteGroupFromUser
|
|
2481
2503
|
*/
|
|
2482
|
-
readonly
|
|
2504
|
+
readonly deletePackFromUserRequest: DeletePackFromUserRequest;
|
|
2483
2505
|
}
|
|
2484
2506
|
|
|
2485
2507
|
/**
|
|
2486
|
-
* Request parameters for
|
|
2508
|
+
* Request parameters for listGroupMods operation in GroupApi.
|
|
2487
2509
|
* @export
|
|
2488
|
-
* @interface
|
|
2510
|
+
* @interface GroupApiListGroupModsRequest
|
|
2489
2511
|
*/
|
|
2490
|
-
export interface
|
|
2512
|
+
export interface GroupApiListGroupModsRequest {
|
|
2491
2513
|
/**
|
|
2492
|
-
* A
|
|
2514
|
+
* A group identifier or slug
|
|
2493
2515
|
* @type {string}
|
|
2494
|
-
* @memberof
|
|
2516
|
+
* @memberof GroupApiListGroupMods
|
|
2495
2517
|
*/
|
|
2496
|
-
readonly
|
|
2518
|
+
readonly groupId: string;
|
|
2497
2519
|
|
|
2498
2520
|
/**
|
|
2499
2521
|
* Search query
|
|
2500
2522
|
* @type {string}
|
|
2501
|
-
* @memberof
|
|
2523
|
+
* @memberof GroupApiListGroupMods
|
|
2502
2524
|
*/
|
|
2503
2525
|
readonly search?: string;
|
|
2504
2526
|
|
|
2505
2527
|
/**
|
|
2506
2528
|
* Sorting column
|
|
2507
|
-
* @type {
|
|
2508
|
-
* @memberof
|
|
2529
|
+
* @type {string}
|
|
2530
|
+
* @memberof GroupApiListGroupMods
|
|
2509
2531
|
*/
|
|
2510
|
-
readonly sort?:
|
|
2532
|
+
readonly sort?: string;
|
|
2511
2533
|
|
|
2512
2534
|
/**
|
|
2513
2535
|
* Sorting order
|
|
2514
2536
|
* @type {'asc' | 'desc'}
|
|
2515
|
-
* @memberof
|
|
2537
|
+
* @memberof GroupApiListGroupMods
|
|
2516
2538
|
*/
|
|
2517
|
-
readonly order?:
|
|
2539
|
+
readonly order?: ListGroupModsOrderEnum;
|
|
2518
2540
|
|
|
2519
2541
|
/**
|
|
2520
2542
|
* Paging limit
|
|
2521
2543
|
* @type {number}
|
|
2522
|
-
* @memberof
|
|
2544
|
+
* @memberof GroupApiListGroupMods
|
|
2523
2545
|
*/
|
|
2524
2546
|
readonly limit?: number;
|
|
2525
2547
|
|
|
2526
2548
|
/**
|
|
2527
2549
|
* Paging offset
|
|
2528
2550
|
* @type {number}
|
|
2529
|
-
* @memberof
|
|
2551
|
+
* @memberof GroupApiListGroupMods
|
|
2530
2552
|
*/
|
|
2531
2553
|
readonly offset?: number;
|
|
2532
2554
|
}
|
|
2533
2555
|
|
|
2534
2556
|
/**
|
|
2535
|
-
* Request parameters for
|
|
2557
|
+
* Request parameters for listGroupPacks operation in GroupApi.
|
|
2536
2558
|
* @export
|
|
2537
|
-
* @interface
|
|
2559
|
+
* @interface GroupApiListGroupPacksRequest
|
|
2538
2560
|
*/
|
|
2539
|
-
export interface
|
|
2561
|
+
export interface GroupApiListGroupPacksRequest {
|
|
2540
2562
|
/**
|
|
2541
|
-
* A
|
|
2563
|
+
* A group identifier or slug
|
|
2542
2564
|
* @type {string}
|
|
2543
|
-
* @memberof
|
|
2565
|
+
* @memberof GroupApiListGroupPacks
|
|
2544
2566
|
*/
|
|
2545
|
-
readonly
|
|
2567
|
+
readonly groupId: string;
|
|
2546
2568
|
|
|
2547
2569
|
/**
|
|
2548
2570
|
* Search query
|
|
2549
2571
|
* @type {string}
|
|
2550
|
-
* @memberof
|
|
2572
|
+
* @memberof GroupApiListGroupPacks
|
|
2551
2573
|
*/
|
|
2552
2574
|
readonly search?: string;
|
|
2553
2575
|
|
|
2554
2576
|
/**
|
|
2555
2577
|
* Sorting column
|
|
2556
|
-
* @type {
|
|
2557
|
-
* @memberof
|
|
2578
|
+
* @type {string}
|
|
2579
|
+
* @memberof GroupApiListGroupPacks
|
|
2558
2580
|
*/
|
|
2559
|
-
readonly sort?:
|
|
2581
|
+
readonly sort?: string;
|
|
2560
2582
|
|
|
2561
2583
|
/**
|
|
2562
2584
|
* Sorting order
|
|
2563
2585
|
* @type {'asc' | 'desc'}
|
|
2564
|
-
* @memberof
|
|
2586
|
+
* @memberof GroupApiListGroupPacks
|
|
2565
2587
|
*/
|
|
2566
|
-
readonly order?:
|
|
2588
|
+
readonly order?: ListGroupPacksOrderEnum;
|
|
2567
2589
|
|
|
2568
2590
|
/**
|
|
2569
2591
|
* Paging limit
|
|
2570
2592
|
* @type {number}
|
|
2571
|
-
* @memberof
|
|
2593
|
+
* @memberof GroupApiListGroupPacks
|
|
2572
2594
|
*/
|
|
2573
2595
|
readonly limit?: number;
|
|
2574
2596
|
|
|
2575
2597
|
/**
|
|
2576
2598
|
* Paging offset
|
|
2577
2599
|
* @type {number}
|
|
2578
|
-
* @memberof
|
|
2600
|
+
* @memberof GroupApiListGroupPacks
|
|
2579
2601
|
*/
|
|
2580
2602
|
readonly offset?: number;
|
|
2581
2603
|
}
|
|
2582
2604
|
|
|
2583
2605
|
/**
|
|
2584
|
-
* Request parameters for
|
|
2606
|
+
* Request parameters for listGroupUsers operation in GroupApi.
|
|
2585
2607
|
* @export
|
|
2586
|
-
* @interface
|
|
2608
|
+
* @interface GroupApiListGroupUsersRequest
|
|
2587
2609
|
*/
|
|
2588
|
-
export interface
|
|
2610
|
+
export interface GroupApiListGroupUsersRequest {
|
|
2589
2611
|
/**
|
|
2590
|
-
* A
|
|
2612
|
+
* A group identifier or slug
|
|
2591
2613
|
* @type {string}
|
|
2592
|
-
* @memberof
|
|
2614
|
+
* @memberof GroupApiListGroupUsers
|
|
2593
2615
|
*/
|
|
2594
|
-
readonly
|
|
2616
|
+
readonly groupId: string;
|
|
2595
2617
|
|
|
2596
2618
|
/**
|
|
2597
2619
|
* Search query
|
|
2598
2620
|
* @type {string}
|
|
2599
|
-
* @memberof
|
|
2621
|
+
* @memberof GroupApiListGroupUsers
|
|
2600
2622
|
*/
|
|
2601
2623
|
readonly search?: string;
|
|
2602
2624
|
|
|
2603
2625
|
/**
|
|
2604
2626
|
* Sorting column
|
|
2605
|
-
* @type {
|
|
2606
|
-
* @memberof
|
|
2627
|
+
* @type {string}
|
|
2628
|
+
* @memberof GroupApiListGroupUsers
|
|
2607
2629
|
*/
|
|
2608
|
-
readonly sort?:
|
|
2630
|
+
readonly sort?: string;
|
|
2609
2631
|
|
|
2610
2632
|
/**
|
|
2611
2633
|
* Sorting order
|
|
2612
2634
|
* @type {'asc' | 'desc'}
|
|
2613
|
-
* @memberof
|
|
2635
|
+
* @memberof GroupApiListGroupUsers
|
|
2614
2636
|
*/
|
|
2615
|
-
readonly order?:
|
|
2637
|
+
readonly order?: ListGroupUsersOrderEnum;
|
|
2616
2638
|
|
|
2617
2639
|
/**
|
|
2618
2640
|
* Paging limit
|
|
2619
2641
|
* @type {number}
|
|
2620
|
-
* @memberof
|
|
2642
|
+
* @memberof GroupApiListGroupUsers
|
|
2621
2643
|
*/
|
|
2622
2644
|
readonly limit?: number;
|
|
2623
2645
|
|
|
2624
2646
|
/**
|
|
2625
2647
|
* Paging offset
|
|
2626
2648
|
* @type {number}
|
|
2627
|
-
* @memberof
|
|
2649
|
+
* @memberof GroupApiListGroupUsers
|
|
2628
2650
|
*/
|
|
2629
2651
|
readonly offset?: number;
|
|
2630
2652
|
}
|
|
2631
2653
|
|
|
2632
2654
|
/**
|
|
2633
|
-
* Request parameters for
|
|
2655
|
+
* Request parameters for listGroups operation in GroupApi.
|
|
2634
2656
|
* @export
|
|
2635
|
-
* @interface
|
|
2657
|
+
* @interface GroupApiListGroupsRequest
|
|
2636
2658
|
*/
|
|
2637
|
-
export interface
|
|
2659
|
+
export interface GroupApiListGroupsRequest {
|
|
2638
2660
|
/**
|
|
2639
2661
|
* Search query
|
|
2640
2662
|
* @type {string}
|
|
2641
|
-
* @memberof
|
|
2663
|
+
* @memberof GroupApiListGroups
|
|
2642
2664
|
*/
|
|
2643
2665
|
readonly search?: string;
|
|
2644
2666
|
|
|
2645
2667
|
/**
|
|
2646
2668
|
* Sorting column
|
|
2647
|
-
* @type {
|
|
2648
|
-
* @memberof
|
|
2669
|
+
* @type {string}
|
|
2670
|
+
* @memberof GroupApiListGroups
|
|
2649
2671
|
*/
|
|
2650
|
-
readonly sort?:
|
|
2672
|
+
readonly sort?: string;
|
|
2651
2673
|
|
|
2652
2674
|
/**
|
|
2653
2675
|
* Sorting order
|
|
2654
2676
|
* @type {'asc' | 'desc'}
|
|
2655
|
-
* @memberof
|
|
2677
|
+
* @memberof GroupApiListGroups
|
|
2656
2678
|
*/
|
|
2657
|
-
readonly order?:
|
|
2679
|
+
readonly order?: ListGroupsOrderEnum;
|
|
2658
2680
|
|
|
2659
2681
|
/**
|
|
2660
2682
|
* Paging limit
|
|
2661
2683
|
* @type {number}
|
|
2662
|
-
* @memberof
|
|
2684
|
+
* @memberof GroupApiListGroups
|
|
2663
2685
|
*/
|
|
2664
2686
|
readonly limit?: number;
|
|
2665
2687
|
|
|
2666
2688
|
/**
|
|
2667
2689
|
* Paging offset
|
|
2668
2690
|
* @type {number}
|
|
2669
|
-
* @memberof
|
|
2691
|
+
* @memberof GroupApiListGroups
|
|
2670
2692
|
*/
|
|
2671
2693
|
readonly offset?: number;
|
|
2672
2694
|
}
|
|
2673
2695
|
|
|
2674
2696
|
/**
|
|
2675
|
-
* Request parameters for
|
|
2697
|
+
* Request parameters for permitGroupMod operation in GroupApi.
|
|
2676
2698
|
* @export
|
|
2677
|
-
* @interface
|
|
2699
|
+
* @interface GroupApiPermitGroupModRequest
|
|
2678
2700
|
*/
|
|
2679
|
-
export interface
|
|
2701
|
+
export interface GroupApiPermitGroupModRequest {
|
|
2680
2702
|
/**
|
|
2681
|
-
* A
|
|
2703
|
+
* A group identifier or slug
|
|
2682
2704
|
* @type {string}
|
|
2683
|
-
* @memberof
|
|
2705
|
+
* @memberof GroupApiPermitGroupMod
|
|
2684
2706
|
*/
|
|
2685
|
-
readonly
|
|
2707
|
+
readonly groupId: string;
|
|
2686
2708
|
|
|
2687
2709
|
/**
|
|
2688
|
-
* The
|
|
2689
|
-
* @type {
|
|
2690
|
-
* @memberof
|
|
2710
|
+
* The group mod data to permit
|
|
2711
|
+
* @type {PermitGroupModRequest}
|
|
2712
|
+
* @memberof GroupApiPermitGroupMod
|
|
2691
2713
|
*/
|
|
2692
|
-
readonly
|
|
2714
|
+
readonly permitGroupModRequest: PermitGroupModRequest;
|
|
2693
2715
|
}
|
|
2694
2716
|
|
|
2695
2717
|
/**
|
|
2696
|
-
* Request parameters for
|
|
2718
|
+
* Request parameters for permitGroupPack operation in GroupApi.
|
|
2697
2719
|
* @export
|
|
2698
|
-
* @interface
|
|
2720
|
+
* @interface GroupApiPermitGroupPackRequest
|
|
2699
2721
|
*/
|
|
2700
|
-
export interface
|
|
2722
|
+
export interface GroupApiPermitGroupPackRequest {
|
|
2701
2723
|
/**
|
|
2702
|
-
* A
|
|
2724
|
+
* A group identifier or slug
|
|
2703
2725
|
* @type {string}
|
|
2704
|
-
* @memberof
|
|
2726
|
+
* @memberof GroupApiPermitGroupPack
|
|
2705
2727
|
*/
|
|
2706
|
-
readonly
|
|
2728
|
+
readonly groupId: string;
|
|
2707
2729
|
|
|
2708
2730
|
/**
|
|
2709
|
-
* The
|
|
2710
|
-
* @type {
|
|
2711
|
-
* @memberof
|
|
2731
|
+
* The group pack data to permit
|
|
2732
|
+
* @type {PermitGroupPackRequest}
|
|
2733
|
+
* @memberof GroupApiPermitGroupPack
|
|
2712
2734
|
*/
|
|
2713
|
-
readonly
|
|
2735
|
+
readonly permitGroupPackRequest: PermitGroupPackRequest;
|
|
2714
2736
|
}
|
|
2715
2737
|
|
|
2716
2738
|
/**
|
|
2717
|
-
* Request parameters for
|
|
2739
|
+
* Request parameters for permitGroupUser operation in GroupApi.
|
|
2718
2740
|
* @export
|
|
2719
|
-
* @interface
|
|
2741
|
+
* @interface GroupApiPermitGroupUserRequest
|
|
2720
2742
|
*/
|
|
2721
|
-
export interface
|
|
2743
|
+
export interface GroupApiPermitGroupUserRequest {
|
|
2722
2744
|
/**
|
|
2723
|
-
* A
|
|
2745
|
+
* A group identifier or slug
|
|
2724
2746
|
* @type {string}
|
|
2725
|
-
* @memberof
|
|
2747
|
+
* @memberof GroupApiPermitGroupUser
|
|
2726
2748
|
*/
|
|
2727
|
-
readonly
|
|
2749
|
+
readonly groupId: string;
|
|
2728
2750
|
|
|
2729
2751
|
/**
|
|
2730
|
-
* The
|
|
2731
|
-
* @type {
|
|
2732
|
-
* @memberof
|
|
2752
|
+
* The group user data to permit
|
|
2753
|
+
* @type {PermitPackUserRequest}
|
|
2754
|
+
* @memberof GroupApiPermitGroupUser
|
|
2733
2755
|
*/
|
|
2734
|
-
readonly
|
|
2756
|
+
readonly permitPackUserRequest: PermitPackUserRequest;
|
|
2735
2757
|
}
|
|
2736
2758
|
|
|
2737
2759
|
/**
|
|
2738
|
-
* Request parameters for
|
|
2760
|
+
* Request parameters for showGroup operation in GroupApi.
|
|
2739
2761
|
* @export
|
|
2740
|
-
* @interface
|
|
2762
|
+
* @interface GroupApiShowGroupRequest
|
|
2741
2763
|
*/
|
|
2742
|
-
export interface
|
|
2764
|
+
export interface GroupApiShowGroupRequest {
|
|
2743
2765
|
/**
|
|
2744
|
-
* A
|
|
2766
|
+
* A group identifier or slug
|
|
2745
2767
|
* @type {string}
|
|
2746
|
-
* @memberof
|
|
2768
|
+
* @memberof GroupApiShowGroup
|
|
2747
2769
|
*/
|
|
2748
|
-
readonly
|
|
2770
|
+
readonly groupId: string;
|
|
2749
2771
|
}
|
|
2750
2772
|
|
|
2751
2773
|
/**
|
|
2752
|
-
* Request parameters for
|
|
2774
|
+
* Request parameters for updateGroup operation in GroupApi.
|
|
2753
2775
|
* @export
|
|
2754
|
-
* @interface
|
|
2776
|
+
* @interface GroupApiUpdateGroupRequest
|
|
2755
2777
|
*/
|
|
2756
|
-
export interface
|
|
2778
|
+
export interface GroupApiUpdateGroupRequest {
|
|
2757
2779
|
/**
|
|
2758
|
-
* A
|
|
2780
|
+
* A group identifier or slug
|
|
2759
2781
|
* @type {string}
|
|
2760
|
-
* @memberof
|
|
2782
|
+
* @memberof GroupApiUpdateGroup
|
|
2761
2783
|
*/
|
|
2762
|
-
readonly
|
|
2784
|
+
readonly groupId: string;
|
|
2763
2785
|
|
|
2764
2786
|
/**
|
|
2765
|
-
* The
|
|
2766
|
-
* @type {
|
|
2767
|
-
* @memberof
|
|
2787
|
+
* The group data to update
|
|
2788
|
+
* @type {CreateGroupRequest}
|
|
2789
|
+
* @memberof GroupApiUpdateGroup
|
|
2768
2790
|
*/
|
|
2769
|
-
readonly
|
|
2791
|
+
readonly createGroupRequest: CreateGroupRequest;
|
|
2770
2792
|
}
|
|
2771
2793
|
|
|
2772
2794
|
/**
|
|
2773
|
-
*
|
|
2795
|
+
* GroupApi - object-oriented interface
|
|
2774
2796
|
* @export
|
|
2775
|
-
* @class
|
|
2797
|
+
* @class GroupApi
|
|
2776
2798
|
* @extends {BaseAPI}
|
|
2777
2799
|
*/
|
|
2778
|
-
export class
|
|
2800
|
+
export class GroupApi extends BaseAPI {
|
|
2779
2801
|
/**
|
|
2780
2802
|
*
|
|
2781
|
-
* @summary Attach a mod to
|
|
2782
|
-
* @param {
|
|
2803
|
+
* @summary Attach a mod to group
|
|
2804
|
+
* @param {GroupApiAttachGroupToModRequest} requestParameters Request parameters.
|
|
2783
2805
|
* @param {*} [options] Override http request option.
|
|
2784
2806
|
* @throws {RequiredError}
|
|
2785
|
-
* @memberof
|
|
2807
|
+
* @memberof GroupApi
|
|
2786
2808
|
*/
|
|
2787
|
-
public
|
|
2788
|
-
requestParameters:
|
|
2809
|
+
public attachGroupToMod(
|
|
2810
|
+
requestParameters: GroupApiAttachGroupToModRequest,
|
|
2789
2811
|
options?: RawAxiosRequestConfig,
|
|
2790
2812
|
) {
|
|
2791
|
-
return
|
|
2792
|
-
.
|
|
2793
|
-
requestParameters.
|
|
2794
|
-
requestParameters.
|
|
2813
|
+
return GroupApiFp(this.configuration)
|
|
2814
|
+
.attachGroupToMod(
|
|
2815
|
+
requestParameters.groupId,
|
|
2816
|
+
requestParameters.permitGroupModRequest,
|
|
2795
2817
|
options,
|
|
2796
2818
|
)
|
|
2797
2819
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -2799,20 +2821,20 @@ export class TeamApi extends BaseAPI {
|
|
|
2799
2821
|
|
|
2800
2822
|
/**
|
|
2801
2823
|
*
|
|
2802
|
-
* @summary Attach a pack to
|
|
2803
|
-
* @param {
|
|
2824
|
+
* @summary Attach a pack to group
|
|
2825
|
+
* @param {GroupApiAttachGroupToPackRequest} requestParameters Request parameters.
|
|
2804
2826
|
* @param {*} [options] Override http request option.
|
|
2805
2827
|
* @throws {RequiredError}
|
|
2806
|
-
* @memberof
|
|
2828
|
+
* @memberof GroupApi
|
|
2807
2829
|
*/
|
|
2808
|
-
public
|
|
2809
|
-
requestParameters:
|
|
2830
|
+
public attachGroupToPack(
|
|
2831
|
+
requestParameters: GroupApiAttachGroupToPackRequest,
|
|
2810
2832
|
options?: RawAxiosRequestConfig,
|
|
2811
2833
|
) {
|
|
2812
|
-
return
|
|
2813
|
-
.
|
|
2814
|
-
requestParameters.
|
|
2815
|
-
requestParameters.
|
|
2834
|
+
return GroupApiFp(this.configuration)
|
|
2835
|
+
.attachGroupToPack(
|
|
2836
|
+
requestParameters.groupId,
|
|
2837
|
+
requestParameters.permitGroupPackRequest,
|
|
2816
2838
|
options,
|
|
2817
2839
|
)
|
|
2818
2840
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -2820,20 +2842,20 @@ export class TeamApi extends BaseAPI {
|
|
|
2820
2842
|
|
|
2821
2843
|
/**
|
|
2822
2844
|
*
|
|
2823
|
-
* @summary Attach a user to
|
|
2824
|
-
* @param {
|
|
2845
|
+
* @summary Attach a user to group
|
|
2846
|
+
* @param {GroupApiAttachGroupToUserRequest} requestParameters Request parameters.
|
|
2825
2847
|
* @param {*} [options] Override http request option.
|
|
2826
2848
|
* @throws {RequiredError}
|
|
2827
|
-
* @memberof
|
|
2849
|
+
* @memberof GroupApi
|
|
2828
2850
|
*/
|
|
2829
|
-
public
|
|
2830
|
-
requestParameters:
|
|
2851
|
+
public attachGroupToUser(
|
|
2852
|
+
requestParameters: GroupApiAttachGroupToUserRequest,
|
|
2831
2853
|
options?: RawAxiosRequestConfig,
|
|
2832
2854
|
) {
|
|
2833
|
-
return
|
|
2834
|
-
.
|
|
2835
|
-
requestParameters.
|
|
2836
|
-
requestParameters.
|
|
2855
|
+
return GroupApiFp(this.configuration)
|
|
2856
|
+
.attachGroupToUser(
|
|
2857
|
+
requestParameters.groupId,
|
|
2858
|
+
requestParameters.permitPackUserRequest,
|
|
2837
2859
|
options,
|
|
2838
2860
|
)
|
|
2839
2861
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -2841,54 +2863,54 @@ export class TeamApi extends BaseAPI {
|
|
|
2841
2863
|
|
|
2842
2864
|
/**
|
|
2843
2865
|
*
|
|
2844
|
-
* @summary Create a new
|
|
2845
|
-
* @param {
|
|
2866
|
+
* @summary Create a new group
|
|
2867
|
+
* @param {GroupApiCreateGroupRequest} requestParameters Request parameters.
|
|
2846
2868
|
* @param {*} [options] Override http request option.
|
|
2847
2869
|
* @throws {RequiredError}
|
|
2848
|
-
* @memberof
|
|
2870
|
+
* @memberof GroupApi
|
|
2849
2871
|
*/
|
|
2850
|
-
public
|
|
2851
|
-
requestParameters:
|
|
2872
|
+
public createGroup(
|
|
2873
|
+
requestParameters: GroupApiCreateGroupRequest,
|
|
2852
2874
|
options?: RawAxiosRequestConfig,
|
|
2853
2875
|
) {
|
|
2854
|
-
return
|
|
2855
|
-
.
|
|
2876
|
+
return GroupApiFp(this.configuration)
|
|
2877
|
+
.createGroup(requestParameters.createGroupRequest, options)
|
|
2856
2878
|
.then((request) => request(this.axios, this.basePath));
|
|
2857
2879
|
}
|
|
2858
2880
|
|
|
2859
2881
|
/**
|
|
2860
2882
|
*
|
|
2861
|
-
* @summary Delete a specific
|
|
2862
|
-
* @param {
|
|
2883
|
+
* @summary Delete a specific group
|
|
2884
|
+
* @param {GroupApiDeleteGroupRequest} requestParameters Request parameters.
|
|
2863
2885
|
* @param {*} [options] Override http request option.
|
|
2864
2886
|
* @throws {RequiredError}
|
|
2865
|
-
* @memberof
|
|
2887
|
+
* @memberof GroupApi
|
|
2866
2888
|
*/
|
|
2867
|
-
public
|
|
2868
|
-
requestParameters:
|
|
2889
|
+
public deleteGroup(
|
|
2890
|
+
requestParameters: GroupApiDeleteGroupRequest,
|
|
2869
2891
|
options?: RawAxiosRequestConfig,
|
|
2870
2892
|
) {
|
|
2871
|
-
return
|
|
2872
|
-
.
|
|
2893
|
+
return GroupApiFp(this.configuration)
|
|
2894
|
+
.deleteGroup(requestParameters.groupId, options)
|
|
2873
2895
|
.then((request) => request(this.axios, this.basePath));
|
|
2874
2896
|
}
|
|
2875
2897
|
|
|
2876
2898
|
/**
|
|
2877
2899
|
*
|
|
2878
|
-
* @summary Unlink a mod from
|
|
2879
|
-
* @param {
|
|
2900
|
+
* @summary Unlink a mod from group
|
|
2901
|
+
* @param {GroupApiDeleteGroupFromModRequest} requestParameters Request parameters.
|
|
2880
2902
|
* @param {*} [options] Override http request option.
|
|
2881
2903
|
* @throws {RequiredError}
|
|
2882
|
-
* @memberof
|
|
2904
|
+
* @memberof GroupApi
|
|
2883
2905
|
*/
|
|
2884
|
-
public
|
|
2885
|
-
requestParameters:
|
|
2906
|
+
public deleteGroupFromMod(
|
|
2907
|
+
requestParameters: GroupApiDeleteGroupFromModRequest,
|
|
2886
2908
|
options?: RawAxiosRequestConfig,
|
|
2887
2909
|
) {
|
|
2888
|
-
return
|
|
2889
|
-
.
|
|
2890
|
-
requestParameters.
|
|
2891
|
-
requestParameters.
|
|
2910
|
+
return GroupApiFp(this.configuration)
|
|
2911
|
+
.deleteGroupFromMod(
|
|
2912
|
+
requestParameters.groupId,
|
|
2913
|
+
requestParameters.deleteGroupFromModRequest,
|
|
2892
2914
|
options,
|
|
2893
2915
|
)
|
|
2894
2916
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -2896,20 +2918,20 @@ export class TeamApi extends BaseAPI {
|
|
|
2896
2918
|
|
|
2897
2919
|
/**
|
|
2898
2920
|
*
|
|
2899
|
-
* @summary Unlink a pack from
|
|
2900
|
-
* @param {
|
|
2921
|
+
* @summary Unlink a pack from group
|
|
2922
|
+
* @param {GroupApiDeleteGroupFromPackRequest} requestParameters Request parameters.
|
|
2901
2923
|
* @param {*} [options] Override http request option.
|
|
2902
2924
|
* @throws {RequiredError}
|
|
2903
|
-
* @memberof
|
|
2925
|
+
* @memberof GroupApi
|
|
2904
2926
|
*/
|
|
2905
|
-
public
|
|
2906
|
-
requestParameters:
|
|
2927
|
+
public deleteGroupFromPack(
|
|
2928
|
+
requestParameters: GroupApiDeleteGroupFromPackRequest,
|
|
2907
2929
|
options?: RawAxiosRequestConfig,
|
|
2908
2930
|
) {
|
|
2909
|
-
return
|
|
2910
|
-
.
|
|
2911
|
-
requestParameters.
|
|
2912
|
-
requestParameters.
|
|
2931
|
+
return GroupApiFp(this.configuration)
|
|
2932
|
+
.deleteGroupFromPack(
|
|
2933
|
+
requestParameters.groupId,
|
|
2934
|
+
requestParameters.deleteGroupFromPackRequest,
|
|
2913
2935
|
options,
|
|
2914
2936
|
)
|
|
2915
2937
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -2917,20 +2939,20 @@ export class TeamApi extends BaseAPI {
|
|
|
2917
2939
|
|
|
2918
2940
|
/**
|
|
2919
2941
|
*
|
|
2920
|
-
* @summary Unlink a user from
|
|
2921
|
-
* @param {
|
|
2942
|
+
* @summary Unlink a user from group
|
|
2943
|
+
* @param {GroupApiDeleteGroupFromUserRequest} requestParameters Request parameters.
|
|
2922
2944
|
* @param {*} [options] Override http request option.
|
|
2923
2945
|
* @throws {RequiredError}
|
|
2924
|
-
* @memberof
|
|
2946
|
+
* @memberof GroupApi
|
|
2925
2947
|
*/
|
|
2926
|
-
public
|
|
2927
|
-
requestParameters:
|
|
2948
|
+
public deleteGroupFromUser(
|
|
2949
|
+
requestParameters: GroupApiDeleteGroupFromUserRequest,
|
|
2928
2950
|
options?: RawAxiosRequestConfig,
|
|
2929
2951
|
) {
|
|
2930
|
-
return
|
|
2931
|
-
.
|
|
2932
|
-
requestParameters.
|
|
2933
|
-
requestParameters.
|
|
2952
|
+
return GroupApiFp(this.configuration)
|
|
2953
|
+
.deleteGroupFromUser(
|
|
2954
|
+
requestParameters.groupId,
|
|
2955
|
+
requestParameters.deletePackFromUserRequest,
|
|
2934
2956
|
options,
|
|
2935
2957
|
)
|
|
2936
2958
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -2938,19 +2960,19 @@ export class TeamApi extends BaseAPI {
|
|
|
2938
2960
|
|
|
2939
2961
|
/**
|
|
2940
2962
|
*
|
|
2941
|
-
* @summary Fetch all mods attached to
|
|
2942
|
-
* @param {
|
|
2963
|
+
* @summary Fetch all mods attached to group
|
|
2964
|
+
* @param {GroupApiListGroupModsRequest} requestParameters Request parameters.
|
|
2943
2965
|
* @param {*} [options] Override http request option.
|
|
2944
2966
|
* @throws {RequiredError}
|
|
2945
|
-
* @memberof
|
|
2967
|
+
* @memberof GroupApi
|
|
2946
2968
|
*/
|
|
2947
|
-
public
|
|
2948
|
-
requestParameters:
|
|
2969
|
+
public listGroupMods(
|
|
2970
|
+
requestParameters: GroupApiListGroupModsRequest,
|
|
2949
2971
|
options?: RawAxiosRequestConfig,
|
|
2950
2972
|
) {
|
|
2951
|
-
return
|
|
2952
|
-
.
|
|
2953
|
-
requestParameters.
|
|
2973
|
+
return GroupApiFp(this.configuration)
|
|
2974
|
+
.listGroupMods(
|
|
2975
|
+
requestParameters.groupId,
|
|
2954
2976
|
requestParameters.search,
|
|
2955
2977
|
requestParameters.sort,
|
|
2956
2978
|
requestParameters.order,
|
|
@@ -2963,19 +2985,19 @@ export class TeamApi extends BaseAPI {
|
|
|
2963
2985
|
|
|
2964
2986
|
/**
|
|
2965
2987
|
*
|
|
2966
|
-
* @summary Fetch all packs attached to
|
|
2967
|
-
* @param {
|
|
2988
|
+
* @summary Fetch all packs attached to group
|
|
2989
|
+
* @param {GroupApiListGroupPacksRequest} requestParameters Request parameters.
|
|
2968
2990
|
* @param {*} [options] Override http request option.
|
|
2969
2991
|
* @throws {RequiredError}
|
|
2970
|
-
* @memberof
|
|
2992
|
+
* @memberof GroupApi
|
|
2971
2993
|
*/
|
|
2972
|
-
public
|
|
2973
|
-
requestParameters:
|
|
2994
|
+
public listGroupPacks(
|
|
2995
|
+
requestParameters: GroupApiListGroupPacksRequest,
|
|
2974
2996
|
options?: RawAxiosRequestConfig,
|
|
2975
2997
|
) {
|
|
2976
|
-
return
|
|
2977
|
-
.
|
|
2978
|
-
requestParameters.
|
|
2998
|
+
return GroupApiFp(this.configuration)
|
|
2999
|
+
.listGroupPacks(
|
|
3000
|
+
requestParameters.groupId,
|
|
2979
3001
|
requestParameters.search,
|
|
2980
3002
|
requestParameters.sort,
|
|
2981
3003
|
requestParameters.order,
|
|
@@ -2988,19 +3010,19 @@ export class TeamApi extends BaseAPI {
|
|
|
2988
3010
|
|
|
2989
3011
|
/**
|
|
2990
3012
|
*
|
|
2991
|
-
* @summary Fetch all users attached to
|
|
2992
|
-
* @param {
|
|
3013
|
+
* @summary Fetch all users attached to group
|
|
3014
|
+
* @param {GroupApiListGroupUsersRequest} requestParameters Request parameters.
|
|
2993
3015
|
* @param {*} [options] Override http request option.
|
|
2994
3016
|
* @throws {RequiredError}
|
|
2995
|
-
* @memberof
|
|
3017
|
+
* @memberof GroupApi
|
|
2996
3018
|
*/
|
|
2997
|
-
public
|
|
2998
|
-
requestParameters:
|
|
3019
|
+
public listGroupUsers(
|
|
3020
|
+
requestParameters: GroupApiListGroupUsersRequest,
|
|
2999
3021
|
options?: RawAxiosRequestConfig,
|
|
3000
3022
|
) {
|
|
3001
|
-
return
|
|
3002
|
-
.
|
|
3003
|
-
requestParameters.
|
|
3023
|
+
return GroupApiFp(this.configuration)
|
|
3024
|
+
.listGroupUsers(
|
|
3025
|
+
requestParameters.groupId,
|
|
3004
3026
|
requestParameters.search,
|
|
3005
3027
|
requestParameters.sort,
|
|
3006
3028
|
requestParameters.order,
|
|
@@ -3013,18 +3035,18 @@ export class TeamApi extends BaseAPI {
|
|
|
3013
3035
|
|
|
3014
3036
|
/**
|
|
3015
3037
|
*
|
|
3016
|
-
* @summary Fetch all available
|
|
3017
|
-
* @param {
|
|
3038
|
+
* @summary Fetch all available groups
|
|
3039
|
+
* @param {GroupApiListGroupsRequest} requestParameters Request parameters.
|
|
3018
3040
|
* @param {*} [options] Override http request option.
|
|
3019
3041
|
* @throws {RequiredError}
|
|
3020
|
-
* @memberof
|
|
3042
|
+
* @memberof GroupApi
|
|
3021
3043
|
*/
|
|
3022
|
-
public
|
|
3023
|
-
requestParameters:
|
|
3044
|
+
public listGroups(
|
|
3045
|
+
requestParameters: GroupApiListGroupsRequest = {},
|
|
3024
3046
|
options?: RawAxiosRequestConfig,
|
|
3025
3047
|
) {
|
|
3026
|
-
return
|
|
3027
|
-
.
|
|
3048
|
+
return GroupApiFp(this.configuration)
|
|
3049
|
+
.listGroups(
|
|
3028
3050
|
requestParameters.search,
|
|
3029
3051
|
requestParameters.sort,
|
|
3030
3052
|
requestParameters.order,
|
|
@@ -3037,20 +3059,20 @@ export class TeamApi extends BaseAPI {
|
|
|
3037
3059
|
|
|
3038
3060
|
/**
|
|
3039
3061
|
*
|
|
3040
|
-
* @summary Update mod perms for
|
|
3041
|
-
* @param {
|
|
3062
|
+
* @summary Update mod perms for group
|
|
3063
|
+
* @param {GroupApiPermitGroupModRequest} requestParameters Request parameters.
|
|
3042
3064
|
* @param {*} [options] Override http request option.
|
|
3043
3065
|
* @throws {RequiredError}
|
|
3044
|
-
* @memberof
|
|
3066
|
+
* @memberof GroupApi
|
|
3045
3067
|
*/
|
|
3046
|
-
public
|
|
3047
|
-
requestParameters:
|
|
3068
|
+
public permitGroupMod(
|
|
3069
|
+
requestParameters: GroupApiPermitGroupModRequest,
|
|
3048
3070
|
options?: RawAxiosRequestConfig,
|
|
3049
3071
|
) {
|
|
3050
|
-
return
|
|
3051
|
-
.
|
|
3052
|
-
requestParameters.
|
|
3053
|
-
requestParameters.
|
|
3072
|
+
return GroupApiFp(this.configuration)
|
|
3073
|
+
.permitGroupMod(
|
|
3074
|
+
requestParameters.groupId,
|
|
3075
|
+
requestParameters.permitGroupModRequest,
|
|
3054
3076
|
options,
|
|
3055
3077
|
)
|
|
3056
3078
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -3058,20 +3080,20 @@ export class TeamApi extends BaseAPI {
|
|
|
3058
3080
|
|
|
3059
3081
|
/**
|
|
3060
3082
|
*
|
|
3061
|
-
* @summary Update pack perms for
|
|
3062
|
-
* @param {
|
|
3083
|
+
* @summary Update pack perms for group
|
|
3084
|
+
* @param {GroupApiPermitGroupPackRequest} requestParameters Request parameters.
|
|
3063
3085
|
* @param {*} [options] Override http request option.
|
|
3064
3086
|
* @throws {RequiredError}
|
|
3065
|
-
* @memberof
|
|
3087
|
+
* @memberof GroupApi
|
|
3066
3088
|
*/
|
|
3067
|
-
public
|
|
3068
|
-
requestParameters:
|
|
3089
|
+
public permitGroupPack(
|
|
3090
|
+
requestParameters: GroupApiPermitGroupPackRequest,
|
|
3069
3091
|
options?: RawAxiosRequestConfig,
|
|
3070
3092
|
) {
|
|
3071
|
-
return
|
|
3072
|
-
.
|
|
3073
|
-
requestParameters.
|
|
3074
|
-
requestParameters.
|
|
3093
|
+
return GroupApiFp(this.configuration)
|
|
3094
|
+
.permitGroupPack(
|
|
3095
|
+
requestParameters.groupId,
|
|
3096
|
+
requestParameters.permitGroupPackRequest,
|
|
3075
3097
|
options,
|
|
3076
3098
|
)
|
|
3077
3099
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -3079,20 +3101,20 @@ export class TeamApi extends BaseAPI {
|
|
|
3079
3101
|
|
|
3080
3102
|
/**
|
|
3081
3103
|
*
|
|
3082
|
-
* @summary Update user perms for
|
|
3083
|
-
* @param {
|
|
3104
|
+
* @summary Update user perms for group
|
|
3105
|
+
* @param {GroupApiPermitGroupUserRequest} requestParameters Request parameters.
|
|
3084
3106
|
* @param {*} [options] Override http request option.
|
|
3085
3107
|
* @throws {RequiredError}
|
|
3086
|
-
* @memberof
|
|
3108
|
+
* @memberof GroupApi
|
|
3087
3109
|
*/
|
|
3088
|
-
public
|
|
3089
|
-
requestParameters:
|
|
3110
|
+
public permitGroupUser(
|
|
3111
|
+
requestParameters: GroupApiPermitGroupUserRequest,
|
|
3090
3112
|
options?: RawAxiosRequestConfig,
|
|
3091
3113
|
) {
|
|
3092
|
-
return
|
|
3093
|
-
.
|
|
3094
|
-
requestParameters.
|
|
3095
|
-
requestParameters.
|
|
3114
|
+
return GroupApiFp(this.configuration)
|
|
3115
|
+
.permitGroupUser(
|
|
3116
|
+
requestParameters.groupId,
|
|
3117
|
+
requestParameters.permitPackUserRequest,
|
|
3096
3118
|
options,
|
|
3097
3119
|
)
|
|
3098
3120
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -3100,35 +3122,39 @@ export class TeamApi extends BaseAPI {
|
|
|
3100
3122
|
|
|
3101
3123
|
/**
|
|
3102
3124
|
*
|
|
3103
|
-
* @summary Fetch a specific
|
|
3104
|
-
* @param {
|
|
3125
|
+
* @summary Fetch a specific group
|
|
3126
|
+
* @param {GroupApiShowGroupRequest} requestParameters Request parameters.
|
|
3105
3127
|
* @param {*} [options] Override http request option.
|
|
3106
3128
|
* @throws {RequiredError}
|
|
3107
|
-
* @memberof
|
|
3129
|
+
* @memberof GroupApi
|
|
3108
3130
|
*/
|
|
3109
|
-
public
|
|
3110
|
-
requestParameters:
|
|
3131
|
+
public showGroup(
|
|
3132
|
+
requestParameters: GroupApiShowGroupRequest,
|
|
3111
3133
|
options?: RawAxiosRequestConfig,
|
|
3112
3134
|
) {
|
|
3113
|
-
return
|
|
3114
|
-
.
|
|
3135
|
+
return GroupApiFp(this.configuration)
|
|
3136
|
+
.showGroup(requestParameters.groupId, options)
|
|
3115
3137
|
.then((request) => request(this.axios, this.basePath));
|
|
3116
3138
|
}
|
|
3117
3139
|
|
|
3118
3140
|
/**
|
|
3119
3141
|
*
|
|
3120
|
-
* @summary Update a specific
|
|
3121
|
-
* @param {
|
|
3142
|
+
* @summary Update a specific group
|
|
3143
|
+
* @param {GroupApiUpdateGroupRequest} requestParameters Request parameters.
|
|
3122
3144
|
* @param {*} [options] Override http request option.
|
|
3123
3145
|
* @throws {RequiredError}
|
|
3124
|
-
* @memberof
|
|
3146
|
+
* @memberof GroupApi
|
|
3125
3147
|
*/
|
|
3126
|
-
public
|
|
3127
|
-
requestParameters:
|
|
3148
|
+
public updateGroup(
|
|
3149
|
+
requestParameters: GroupApiUpdateGroupRequest,
|
|
3128
3150
|
options?: RawAxiosRequestConfig,
|
|
3129
3151
|
) {
|
|
3130
|
-
return
|
|
3131
|
-
.
|
|
3152
|
+
return GroupApiFp(this.configuration)
|
|
3153
|
+
.updateGroup(
|
|
3154
|
+
requestParameters.groupId,
|
|
3155
|
+
requestParameters.createGroupRequest,
|
|
3156
|
+
options,
|
|
3157
|
+
)
|
|
3132
3158
|
.then((request) => request(this.axios, this.basePath));
|
|
3133
3159
|
}
|
|
3134
3160
|
}
|
|
@@ -3136,77 +3162,36 @@ export class TeamApi extends BaseAPI {
|
|
|
3136
3162
|
/**
|
|
3137
3163
|
* @export
|
|
3138
3164
|
*/
|
|
3139
|
-
export const
|
|
3140
|
-
Slug: "slug",
|
|
3141
|
-
Name: "name",
|
|
3142
|
-
Public: "public",
|
|
3143
|
-
} as const;
|
|
3144
|
-
export type ListTeamModsSortEnum =
|
|
3145
|
-
(typeof ListTeamModsSortEnum)[keyof typeof ListTeamModsSortEnum];
|
|
3146
|
-
/**
|
|
3147
|
-
* @export
|
|
3148
|
-
*/
|
|
3149
|
-
export const ListTeamModsOrderEnum = {
|
|
3165
|
+
export const ListGroupModsOrderEnum = {
|
|
3150
3166
|
Asc: "asc",
|
|
3151
3167
|
Desc: "desc",
|
|
3152
3168
|
} as const;
|
|
3153
|
-
export type
|
|
3154
|
-
(typeof
|
|
3155
|
-
/**
|
|
3156
|
-
* @export
|
|
3157
|
-
*/
|
|
3158
|
-
export const ListTeamPacksSortEnum = {
|
|
3159
|
-
Slug: "slug",
|
|
3160
|
-
Name: "name",
|
|
3161
|
-
Public: "public",
|
|
3162
|
-
} as const;
|
|
3163
|
-
export type ListTeamPacksSortEnum =
|
|
3164
|
-
(typeof ListTeamPacksSortEnum)[keyof typeof ListTeamPacksSortEnum];
|
|
3169
|
+
export type ListGroupModsOrderEnum =
|
|
3170
|
+
(typeof ListGroupModsOrderEnum)[keyof typeof ListGroupModsOrderEnum];
|
|
3165
3171
|
/**
|
|
3166
3172
|
* @export
|
|
3167
3173
|
*/
|
|
3168
|
-
export const
|
|
3174
|
+
export const ListGroupPacksOrderEnum = {
|
|
3169
3175
|
Asc: "asc",
|
|
3170
3176
|
Desc: "desc",
|
|
3171
3177
|
} as const;
|
|
3172
|
-
export type
|
|
3173
|
-
(typeof
|
|
3174
|
-
/**
|
|
3175
|
-
* @export
|
|
3176
|
-
*/
|
|
3177
|
-
export const ListTeamUsersSortEnum = {
|
|
3178
|
-
Username: "username",
|
|
3179
|
-
Email: "email",
|
|
3180
|
-
Fullname: "fullname",
|
|
3181
|
-
Admin: "admin",
|
|
3182
|
-
Active: "active",
|
|
3183
|
-
} as const;
|
|
3184
|
-
export type ListTeamUsersSortEnum =
|
|
3185
|
-
(typeof ListTeamUsersSortEnum)[keyof typeof ListTeamUsersSortEnum];
|
|
3178
|
+
export type ListGroupPacksOrderEnum =
|
|
3179
|
+
(typeof ListGroupPacksOrderEnum)[keyof typeof ListGroupPacksOrderEnum];
|
|
3186
3180
|
/**
|
|
3187
3181
|
* @export
|
|
3188
3182
|
*/
|
|
3189
|
-
export const
|
|
3183
|
+
export const ListGroupUsersOrderEnum = {
|
|
3190
3184
|
Asc: "asc",
|
|
3191
3185
|
Desc: "desc",
|
|
3192
3186
|
} as const;
|
|
3193
|
-
export type
|
|
3194
|
-
(typeof
|
|
3195
|
-
/**
|
|
3196
|
-
* @export
|
|
3197
|
-
*/
|
|
3198
|
-
export const ListTeamsSortEnum = {
|
|
3199
|
-
Slug: "slug",
|
|
3200
|
-
Name: "name",
|
|
3201
|
-
} as const;
|
|
3202
|
-
export type ListTeamsSortEnum =
|
|
3203
|
-
(typeof ListTeamsSortEnum)[keyof typeof ListTeamsSortEnum];
|
|
3187
|
+
export type ListGroupUsersOrderEnum =
|
|
3188
|
+
(typeof ListGroupUsersOrderEnum)[keyof typeof ListGroupUsersOrderEnum];
|
|
3204
3189
|
/**
|
|
3205
3190
|
* @export
|
|
3206
3191
|
*/
|
|
3207
|
-
export const
|
|
3192
|
+
export const ListGroupsOrderEnum = {
|
|
3208
3193
|
Asc: "asc",
|
|
3209
3194
|
Desc: "desc",
|
|
3210
3195
|
} as const;
|
|
3211
|
-
export type
|
|
3212
|
-
(typeof
|
|
3196
|
+
export type ListGroupsOrderEnum =
|
|
3197
|
+
(typeof ListGroupsOrderEnum)[keyof typeof ListGroupsOrderEnum];
|