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.
Files changed (104) hide show
  1. package/.github/RELEASE +1 -1
  2. package/.github/workflows/flake.yml +1 -1
  3. package/.github/workflows/general.yml +1 -1
  4. package/.github/workflows/openapi.yml +1 -1
  5. package/.github/workflows/release.yml +1 -1
  6. package/.openapi-generator/FILES +56 -55
  7. package/CHANGELOG.md +12 -0
  8. package/README.md +2 -2
  9. package/api/auth-api.ts +251 -147
  10. package/api/fabric-api.ts +47 -67
  11. package/api/forge-api.ts +47 -67
  12. package/api/{team-api.ts → group-api.ts} +921 -936
  13. package/api/minecraft-api.ts +44 -67
  14. package/api/mod-api.ts +1016 -461
  15. package/api/neoforge-api.ts +47 -67
  16. package/api/pack-api.ts +378 -419
  17. package/api/profile-api.ts +18 -21
  18. package/api/quilt-api.ts +48 -68
  19. package/api/user-api.ts +554 -580
  20. package/api.ts +1 -1
  21. package/flake.lock +9 -9
  22. package/model/attach-build-to-version-request.ts +33 -0
  23. package/model/attach-minecraft-to-build-request.ts +33 -0
  24. package/model/build.ts +0 -6
  25. package/model/create-build-request.ts +87 -0
  26. package/model/{quilt-build-params.ts → create-group-request.ts} +7 -7
  27. package/model/{pack-icon.ts → create-mod-request.ts} +19 -25
  28. package/model/create-pack-request.ts +45 -0
  29. package/model/create-user-request.ts +57 -0
  30. package/model/create-version-request.ts +39 -0
  31. package/model/delete-group-from-mod-request.ts +27 -0
  32. package/model/delete-group-from-pack-request.ts +27 -0
  33. package/model/delete-pack-from-group-request.ts +27 -0
  34. package/model/delete-pack-from-user-request.ts +27 -0
  35. package/model/{team-mod.ts → group-mod.ts} +19 -19
  36. package/model/{team-pack.ts → group-pack.ts} +19 -19
  37. package/model/{team.ts → group.ts} +8 -8
  38. package/model/index.ts +55 -54
  39. package/model/{build-versions.ts → list-build-versions200-response.ts} +25 -13
  40. package/model/{builds.ts → list-builds200-response.ts} +20 -8
  41. package/model/{fabric-builds.ts → list-fabric-builds200-response.ts} +22 -10
  42. package/model/{fabrics.ts → list-fabrics200-response.ts} +19 -7
  43. package/model/{forge-builds.ts → list-forge-builds200-response.ts} +22 -10
  44. package/model/{forges.ts → list-forges200-response.ts} +19 -7
  45. package/model/list-group-mods200-response.ts +58 -0
  46. package/model/list-group-packs200-response.ts +58 -0
  47. package/model/list-group-users200-response.ts +58 -0
  48. package/model/list-groups200-response.ts +49 -0
  49. package/model/{minecraft-builds.ts → list-minecraft-builds200-response.ts} +22 -10
  50. package/model/{minecrafts.ts → list-minecrafts200-response.ts} +19 -7
  51. package/model/{mod-teams.ts → list-mod-groups200-response.ts} +25 -13
  52. package/model/{mod-users.ts → list-mod-users200-response.ts} +22 -10
  53. package/model/{mods.ts → list-mods200-response.ts} +19 -7
  54. package/model/{neoforge-builds.ts → list-neoforge-builds200-response.ts} +22 -10
  55. package/model/{neoforges.ts → list-neoforges200-response.ts} +19 -7
  56. package/model/{pack-teams.ts → list-pack-groups200-response.ts} +25 -13
  57. package/model/{pack-users.ts → list-pack-users200-response.ts} +22 -10
  58. package/model/{packs.ts → list-packs200-response.ts} +19 -7
  59. package/model/{providers.ts → list-providers200-response.ts} +7 -7
  60. package/model/{quilt-builds.ts → list-quilt-builds200-response.ts} +22 -10
  61. package/model/{quilts.ts → list-quilts200-response.ts} +19 -7
  62. package/model/{user-teams.ts → list-user-groups200-response.ts} +24 -12
  63. package/model/{user-mods.ts → list-user-mods200-response.ts} +22 -10
  64. package/model/{user-packs.ts → list-user-packs200-response.ts} +22 -10
  65. package/model/{users.ts → list-users200-response.ts} +19 -7
  66. package/model/{version-builds.ts → list-version-builds200-response.ts} +25 -13
  67. package/model/{versions.ts → list-versions200-response.ts} +20 -8
  68. package/model/{auth-login.ts → login-auth-request.ts} +4 -4
  69. package/model/mod-avatar.ts +45 -0
  70. package/model/mod.ts +10 -0
  71. package/model/pack-avatar.ts +45 -0
  72. package/model/pack.ts +3 -21
  73. package/model/{build-version-params.ts → permit-group-mod-request.ts} +6 -6
  74. package/model/{forge-build-params.ts → permit-group-pack-request.ts} +6 -6
  75. package/model/{fabric-build-params.ts → permit-pack-group-request.ts} +7 -7
  76. package/model/permit-pack-user-request.ts +33 -0
  77. package/model/profile.ts +9 -9
  78. package/model/redirect-auth-request.ts +27 -0
  79. package/model/update-profile-request.ts +45 -0
  80. package/model/update-user-request.ts +57 -0
  81. package/model/{user-team.ts → user-group.ts} +19 -19
  82. package/model/version-file.ts +0 -12
  83. package/model/version.ts +0 -6
  84. package/openapi.yml +1 -1
  85. package/package.json +1 -1
  86. package/model/minecraft-build-params.ts +0 -33
  87. package/model/mod-team-params.ts +0 -42
  88. package/model/mod-user-params.ts +0 -42
  89. package/model/neoforge-build-params.ts +0 -33
  90. package/model/pack-back.ts +0 -75
  91. package/model/pack-logo.ts +0 -75
  92. package/model/pack-team-params.ts +0 -42
  93. package/model/pack-user-params.ts +0 -42
  94. package/model/team-mod-params.ts +0 -42
  95. package/model/team-mods.ts +0 -46
  96. package/model/team-pack-params.ts +0 -42
  97. package/model/team-packs.ts +0 -46
  98. package/model/team-user-params.ts +0 -42
  99. package/model/team-users.ts +0 -46
  100. package/model/teams.ts +0 -37
  101. package/model/user-mod-params.ts +0 -42
  102. package/model/user-pack-params.ts +0 -42
  103. package/model/user-team-params.ts +0 -42
  104. 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 { Notification } from "../model";
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 { Team } from "../model";
55
+ import type { ListGroupMods200Response } from "../model";
48
56
  // @ts-ignore
49
- import type { TeamModParams } from "../model";
57
+ import type { ListGroupPacks200Response } from "../model";
50
58
  // @ts-ignore
51
- import type { TeamMods } from "../model";
59
+ import type { ListGroupUsers200Response } from "../model";
52
60
  // @ts-ignore
53
- import type { TeamPackParams } from "../model";
61
+ import type { ListGroups200Response } from "../model";
54
62
  // @ts-ignore
55
- import type { TeamPacks } from "../model";
63
+ import type { Notification } from "../model";
56
64
  // @ts-ignore
57
- import type { TeamUserParams } from "../model";
65
+ import type { PermitGroupModRequest } from "../model";
58
66
  // @ts-ignore
59
- import type { TeamUsers } from "../model";
67
+ import type { PermitGroupPackRequest } from "../model";
60
68
  // @ts-ignore
61
- import type { Teams } from "../model";
69
+ import type { PermitPackUserRequest } from "../model";
62
70
  /**
63
- * TeamApi - axios parameter creator
71
+ * GroupApi - axios parameter creator
64
72
  * @export
65
73
  */
66
- export const TeamApiAxiosParamCreator = function (
74
+ export const GroupApiAxiosParamCreator = function (
67
75
  configuration?: Configuration,
68
76
  ) {
69
77
  return {
70
78
  /**
71
79
  *
72
- * @summary Attach a mod to team
73
- * @param {string} teamId A team identifier or slug
74
- * @param {TeamModParams} teamModParams The team mod data to attach
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
- attachTeamToMod: async (
79
- teamId: string,
80
- teamModParams: TeamModParams,
86
+ attachGroupToMod: async (
87
+ groupId: string,
88
+ permitGroupModRequest: PermitGroupModRequest,
81
89
  options: RawAxiosRequestConfig = {},
82
90
  ): Promise<RequestArgs> => {
83
- // verify required parameter 'teamId' is not null or undefined
84
- assertParamExists("attachTeamToMod", "teamId", teamId);
85
- // verify required parameter 'teamModParams' is not null or undefined
86
- assertParamExists("attachTeamToMod", "teamModParams", teamModParams);
87
- const localVarPath = `/teams/{team_id}/mods`.replace(
88
- `{${"team_id"}}`,
89
- encodeURIComponent(String(teamId)),
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
- teamModParams,
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 team
148
- * @param {string} teamId A team identifier or slug
149
- * @param {TeamPackParams} teamPackParams The team pack data to attach
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
- attachTeamToPack: async (
154
- teamId: string,
155
- teamPackParams: TeamPackParams,
162
+ attachGroupToPack: async (
163
+ groupId: string,
164
+ permitGroupPackRequest: PermitGroupPackRequest,
156
165
  options: RawAxiosRequestConfig = {},
157
166
  ): Promise<RequestArgs> => {
158
- // verify required parameter 'teamId' is not null or undefined
159
- assertParamExists("attachTeamToPack", "teamId", teamId);
160
- // verify required parameter 'teamPackParams' is not null or undefined
161
- assertParamExists("attachTeamToPack", "teamPackParams", teamPackParams);
162
- const localVarPath = `/teams/{team_id}/packs`.replace(
163
- `{${"team_id"}}`,
164
- encodeURIComponent(String(teamId)),
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
- teamPackParams,
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 team
223
- * @param {string} teamId A team identifier or slug
224
- * @param {TeamUserParams} teamUserParams The team user data to attach
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
- attachTeamToUser: async (
229
- teamId: string,
230
- teamUserParams: TeamUserParams,
238
+ attachGroupToUser: async (
239
+ groupId: string,
240
+ permitPackUserRequest: PermitPackUserRequest,
231
241
  options: RawAxiosRequestConfig = {},
232
242
  ): Promise<RequestArgs> => {
233
- // verify required parameter 'teamId' is not null or undefined
234
- assertParamExists("attachTeamToUser", "teamId", teamId);
235
- // verify required parameter 'teamUserParams' is not null or undefined
236
- assertParamExists("attachTeamToUser", "teamUserParams", teamUserParams);
237
- const localVarPath = `/teams/{team_id}/users`.replace(
238
- `{${"team_id"}}`,
239
- encodeURIComponent(String(teamId)),
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
- teamUserParams,
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 team
298
- * @param {Team} team The team data to create
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
- createTeam: async (
303
- team: Team,
313
+ createGroup: async (
314
+ createGroupRequest: CreateGroupRequest,
304
315
  options: RawAxiosRequestConfig = {},
305
316
  ): Promise<RequestArgs> => {
306
- // verify required parameter 'team' is not null or undefined
307
- assertParamExists("createTeam", "team", team);
308
- const localVarPath = `/teams`;
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
- team,
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 team
366
- * @param {string} teamId A team identifier or slug
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
- deleteTeam: async (
371
- teamId: string,
382
+ deleteGroup: async (
383
+ groupId: string,
372
384
  options: RawAxiosRequestConfig = {},
373
385
  ): Promise<RequestArgs> => {
374
- // verify required parameter 'teamId' is not null or undefined
375
- assertParamExists("deleteTeam", "teamId", teamId);
376
- const localVarPath = `/teams/{team_id}`.replace(
377
- `{${"team_id"}}`,
378
- encodeURIComponent(String(teamId)),
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 team
430
- * @param {string} teamId A team identifier or slug
431
- * @param {TeamModParams} teamModParams The team mod data to unlink
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
- deleteTeamFromMod: async (
436
- teamId: string,
437
- teamModParams: TeamModParams,
444
+ deleteGroupFromMod: async (
445
+ groupId: string,
446
+ deleteGroupFromModRequest: DeleteGroupFromModRequest,
438
447
  options: RawAxiosRequestConfig = {},
439
448
  ): Promise<RequestArgs> => {
440
- // verify required parameter 'teamId' is not null or undefined
441
- assertParamExists("deleteTeamFromMod", "teamId", teamId);
442
- // verify required parameter 'teamModParams' is not null or undefined
443
- assertParamExists("deleteTeamFromMod", "teamModParams", teamModParams);
444
- const localVarPath = `/teams/{team_id}/mods`.replace(
445
- `{${"team_id"}}`,
446
- encodeURIComponent(String(teamId)),
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
- teamModParams,
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 team
505
- * @param {string} teamId A team identifier or slug
506
- * @param {TeamPackParams} teamPackParams The team pack data to unlink
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
- deleteTeamFromPack: async (
511
- teamId: string,
512
- teamPackParams: TeamPackParams,
520
+ deleteGroupFromPack: async (
521
+ groupId: string,
522
+ deleteGroupFromPackRequest: DeleteGroupFromPackRequest,
513
523
  options: RawAxiosRequestConfig = {},
514
524
  ): Promise<RequestArgs> => {
515
- // verify required parameter 'teamId' is not null or undefined
516
- assertParamExists("deleteTeamFromPack", "teamId", teamId);
517
- // verify required parameter 'teamPackParams' is not null or undefined
518
- assertParamExists("deleteTeamFromPack", "teamPackParams", teamPackParams);
519
- const localVarPath = `/teams/{team_id}/packs`.replace(
520
- `{${"team_id"}}`,
521
- encodeURIComponent(String(teamId)),
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
- teamPackParams,
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 team
580
- * @param {string} teamId A team identifier or slug
581
- * @param {TeamUserParams} teamUserParams The team user data to unlink
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
- deleteTeamFromUser: async (
586
- teamId: string,
587
- teamUserParams: TeamUserParams,
596
+ deleteGroupFromUser: async (
597
+ groupId: string,
598
+ deletePackFromUserRequest: DeletePackFromUserRequest,
588
599
  options: RawAxiosRequestConfig = {},
589
600
  ): Promise<RequestArgs> => {
590
- // verify required parameter 'teamId' is not null or undefined
591
- assertParamExists("deleteTeamFromUser", "teamId", teamId);
592
- // verify required parameter 'teamUserParams' is not null or undefined
593
- assertParamExists("deleteTeamFromUser", "teamUserParams", teamUserParams);
594
- const localVarPath = `/teams/{team_id}/users`.replace(
595
- `{${"team_id"}}`,
596
- encodeURIComponent(String(teamId)),
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
- teamUserParams,
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 team
655
- * @param {string} teamId A team identifier or slug
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 {ListTeamModsSortEnum} [sort] Sorting column
658
- * @param {ListTeamModsOrderEnum} [order] Sorting order
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
- listTeamMods: async (
665
- teamId: string,
676
+ listGroupMods: async (
677
+ groupId: string,
666
678
  search?: string,
667
- sort?: ListTeamModsSortEnum,
668
- order?: ListTeamModsOrderEnum,
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 'teamId' is not null or undefined
674
- assertParamExists("listTeamMods", "teamId", teamId);
675
- const localVarPath = `/teams/{team_id}/mods`.replace(
676
- `{${"team_id"}}`,
677
- encodeURIComponent(String(teamId)),
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 team
749
- * @param {string} teamId A team identifier or slug
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 {ListTeamPacksSortEnum} [sort] Sorting column
752
- * @param {ListTeamPacksOrderEnum} [order] Sorting order
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
- listTeamPacks: async (
759
- teamId: string,
767
+ listGroupPacks: async (
768
+ groupId: string,
760
769
  search?: string,
761
- sort?: ListTeamPacksSortEnum,
762
- order?: ListTeamPacksOrderEnum,
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 'teamId' is not null or undefined
768
- assertParamExists("listTeamPacks", "teamId", teamId);
769
- const localVarPath = `/teams/{team_id}/packs`.replace(
770
- `{${"team_id"}}`,
771
- encodeURIComponent(String(teamId)),
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 team
843
- * @param {string} teamId A team identifier or slug
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 {ListTeamUsersSortEnum} [sort] Sorting column
846
- * @param {ListTeamUsersOrderEnum} [order] Sorting order
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
- listTeamUsers: async (
853
- teamId: string,
858
+ listGroupUsers: async (
859
+ groupId: string,
854
860
  search?: string,
855
- sort?: ListTeamUsersSortEnum,
856
- order?: ListTeamUsersOrderEnum,
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 'teamId' is not null or undefined
862
- assertParamExists("listTeamUsers", "teamId", teamId);
863
- const localVarPath = `/teams/{team_id}/users`.replace(
864
- `{${"team_id"}}`,
865
- encodeURIComponent(String(teamId)),
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 teams
939
+ * @summary Fetch all available groups
937
940
  * @param {string} [search] Search query
938
- * @param {ListTeamsSortEnum} [sort] Sorting column
939
- * @param {ListTeamsOrderEnum} [order] Sorting order
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
- listTeams: async (
948
+ listGroups: async (
946
949
  search?: string,
947
- sort?: ListTeamsSortEnum,
948
- order?: ListTeamsOrderEnum,
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 = `/teams`;
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 team
1024
- * @param {string} teamId A team identifier or slug
1025
- * @param {TeamModParams} teamModParams The team mod data to update
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
- permitTeamMod: async (
1030
- teamId: string,
1031
- teamModParams: TeamModParams,
1029
+ permitGroupMod: async (
1030
+ groupId: string,
1031
+ permitGroupModRequest: PermitGroupModRequest,
1032
1032
  options: RawAxiosRequestConfig = {},
1033
1033
  ): Promise<RequestArgs> => {
1034
- // verify required parameter 'teamId' is not null or undefined
1035
- assertParamExists("permitTeamMod", "teamId", teamId);
1036
- // verify required parameter 'teamModParams' is not null or undefined
1037
- assertParamExists("permitTeamMod", "teamModParams", teamModParams);
1038
- const localVarPath = `/teams/{team_id}/mods`.replace(
1039
- `{${"team_id"}}`,
1040
- encodeURIComponent(String(teamId)),
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
- teamModParams,
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 team
1099
- * @param {string} teamId A team identifier or slug
1100
- * @param {TeamPackParams} teamPackParams The team pack data to update
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
- permitTeamPack: async (
1105
- teamId: string,
1106
- teamPackParams: TeamPackParams,
1105
+ permitGroupPack: async (
1106
+ groupId: string,
1107
+ permitGroupPackRequest: PermitGroupPackRequest,
1107
1108
  options: RawAxiosRequestConfig = {},
1108
1109
  ): Promise<RequestArgs> => {
1109
- // verify required parameter 'teamId' is not null or undefined
1110
- assertParamExists("permitTeamPack", "teamId", teamId);
1111
- // verify required parameter 'teamPackParams' is not null or undefined
1112
- assertParamExists("permitTeamPack", "teamPackParams", teamPackParams);
1113
- const localVarPath = `/teams/{team_id}/packs`.replace(
1114
- `{${"team_id"}}`,
1115
- encodeURIComponent(String(teamId)),
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
- teamPackParams,
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 team
1174
- * @param {string} teamId A team identifier or slug
1175
- * @param {TeamUserParams} teamUserParams The team user data to update
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
- permitTeamUser: async (
1180
- teamId: string,
1181
- teamUserParams: TeamUserParams,
1181
+ permitGroupUser: async (
1182
+ groupId: string,
1183
+ permitPackUserRequest: PermitPackUserRequest,
1182
1184
  options: RawAxiosRequestConfig = {},
1183
1185
  ): Promise<RequestArgs> => {
1184
- // verify required parameter 'teamId' is not null or undefined
1185
- assertParamExists("permitTeamUser", "teamId", teamId);
1186
- // verify required parameter 'teamUserParams' is not null or undefined
1187
- assertParamExists("permitTeamUser", "teamUserParams", teamUserParams);
1188
- const localVarPath = `/teams/{team_id}/users`.replace(
1189
- `{${"team_id"}}`,
1190
- encodeURIComponent(String(teamId)),
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
- teamUserParams,
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 team
1249
- * @param {string} teamId A team identifier or slug
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
- showTeam: async (
1254
- teamId: string,
1256
+ showGroup: async (
1257
+ groupId: string,
1255
1258
  options: RawAxiosRequestConfig = {},
1256
1259
  ): Promise<RequestArgs> => {
1257
- // verify required parameter 'teamId' is not null or undefined
1258
- assertParamExists("showTeam", "teamId", teamId);
1259
- const localVarPath = `/teams/{team_id}`.replace(
1260
- `{${"team_id"}}`,
1261
- encodeURIComponent(String(teamId)),
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 team
1313
- * @param {string} teamId A team identifier or slug
1314
- * @param {Team} team The team data to update
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
- updateTeam: async (
1319
- teamId: string,
1320
- team: Team,
1318
+ updateGroup: async (
1319
+ groupId: string,
1320
+ createGroupRequest: CreateGroupRequest,
1321
1321
  options: RawAxiosRequestConfig = {},
1322
1322
  ): Promise<RequestArgs> => {
1323
- // verify required parameter 'teamId' is not null or undefined
1324
- assertParamExists("updateTeam", "teamId", teamId);
1325
- // verify required parameter 'team' is not null or undefined
1326
- assertParamExists("updateTeam", "team", team);
1327
- const localVarPath = `/teams/{team_id}`.replace(
1328
- `{${"team_id"}}`,
1329
- encodeURIComponent(String(teamId)),
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
- team,
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
- * TeamApi - functional programming interface
1390
+ * GroupApi - functional programming interface
1390
1391
  * @export
1391
1392
  */
1392
- export const TeamApiFp = function (configuration?: Configuration) {
1393
- const localVarAxiosParamCreator = TeamApiAxiosParamCreator(configuration);
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 team
1398
- * @param {string} teamId A team identifier or slug
1399
- * @param {TeamModParams} teamModParams The team mod data to attach
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 attachTeamToMod(
1404
- teamId: string,
1405
- teamModParams: TeamModParams,
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 = await localVarAxiosParamCreator.attachTeamToMod(
1411
- teamId,
1412
- teamModParams,
1413
- options,
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["TeamApi.attachTeamToMod"]?.[
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 team
1431
- * @param {string} teamId A team identifier or slug
1432
- * @param {TeamPackParams} teamPackParams The team pack data to attach
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 attachTeamToPack(
1437
- teamId: string,
1438
- teamPackParams: TeamPackParams,
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.attachTeamToPack(
1445
- teamId,
1446
- teamPackParams,
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["TeamApi.attachTeamToPack"]?.[
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 team
1465
- * @param {string} teamId A team identifier or slug
1466
- * @param {TeamUserParams} teamUserParams The team user data to attach
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 attachTeamToUser(
1471
- teamId: string,
1472
- teamUserParams: TeamUserParams,
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.attachTeamToUser(
1479
- teamId,
1480
- teamUserParams,
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["TeamApi.attachTeamToUser"]?.[
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 team
1499
- * @param {Team} team The team data to create
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 createTeam(
1504
- team: Team,
1505
+ async createGroup(
1506
+ createGroupRequest: CreateGroupRequest,
1505
1507
  options?: RawAxiosRequestConfig,
1506
1508
  ): Promise<
1507
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Team>
1509
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>
1508
1510
  > {
1509
- const localVarAxiosArgs = await localVarAxiosParamCreator.createTeam(
1510
- team,
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["TeamApi.createTeam"]?.[localVarOperationServerIndex]
1516
- ?.url;
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 team
1528
- * @param {string} teamId A team identifier or slug
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 deleteTeam(
1533
- teamId: string,
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.deleteTeam(
1539
- teamId,
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["TeamApi.deleteTeam"]?.[localVarOperationServerIndex]
1545
- ?.url;
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 team
1557
- * @param {string} teamId A team identifier or slug
1558
- * @param {TeamModParams} teamModParams The team mod data to unlink
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 deleteTeamFromMod(
1563
- teamId: string,
1564
- teamModParams: TeamModParams,
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.deleteTeamFromMod(
1571
- teamId,
1572
- teamModParams,
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["TeamApi.deleteTeamFromMod"]?.[
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 team
1591
- * @param {string} teamId A team identifier or slug
1592
- * @param {TeamPackParams} teamPackParams The team pack data to unlink
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 deleteTeamFromPack(
1597
- teamId: string,
1598
- teamPackParams: TeamPackParams,
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.deleteTeamFromPack(
1605
- teamId,
1606
- teamPackParams,
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["TeamApi.deleteTeamFromPack"]?.[
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 team
1625
- * @param {string} teamId A team identifier or slug
1626
- * @param {TeamUserParams} teamUserParams The team user data to unlink
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 deleteTeamFromUser(
1631
- teamId: string,
1632
- teamUserParams: TeamUserParams,
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.deleteTeamFromUser(
1639
- teamId,
1640
- teamUserParams,
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["TeamApi.deleteTeamFromUser"]?.[
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 team
1659
- * @param {string} teamId A team identifier or slug
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 {ListTeamModsSortEnum} [sort] Sorting column
1662
- * @param {ListTeamModsOrderEnum} [order] Sorting order
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 listTeamMods(
1669
- teamId: string,
1672
+ async listGroupMods(
1673
+ groupId: string,
1670
1674
  search?: string,
1671
- sort?: ListTeamModsSortEnum,
1672
- order?: ListTeamModsOrderEnum,
1675
+ sort?: string,
1676
+ order?: ListGroupModsOrderEnum,
1673
1677
  limit?: number,
1674
1678
  offset?: number,
1675
1679
  options?: RawAxiosRequestConfig,
1676
1680
  ): Promise<
1677
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamMods>
1681
+ (
1682
+ axios?: AxiosInstance,
1683
+ basePath?: string,
1684
+ ) => AxiosPromise<ListGroupMods200Response>
1678
1685
  > {
1679
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTeamMods(
1680
- teamId,
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["TeamApi.listTeamMods"]?.[
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 team
1704
- * @param {string} teamId A team identifier or slug
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 {ListTeamPacksSortEnum} [sort] Sorting column
1707
- * @param {ListTeamPacksOrderEnum} [order] Sorting order
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 listTeamPacks(
1714
- teamId: string,
1720
+ async listGroupPacks(
1721
+ groupId: string,
1715
1722
  search?: string,
1716
- sort?: ListTeamPacksSortEnum,
1717
- order?: ListTeamPacksOrderEnum,
1723
+ sort?: string,
1724
+ order?: ListGroupPacksOrderEnum,
1718
1725
  limit?: number,
1719
1726
  offset?: number,
1720
1727
  options?: RawAxiosRequestConfig,
1721
1728
  ): Promise<
1722
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamPacks>
1729
+ (
1730
+ axios?: AxiosInstance,
1731
+ basePath?: string,
1732
+ ) => AxiosPromise<ListGroupPacks200Response>
1723
1733
  > {
1724
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTeamPacks(
1725
- teamId,
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["TeamApi.listTeamPacks"]?.[
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 team
1749
- * @param {string} teamId A team identifier or slug
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 {ListTeamUsersSortEnum} [sort] Sorting column
1752
- * @param {ListTeamUsersOrderEnum} [order] Sorting order
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 listTeamUsers(
1759
- teamId: string,
1768
+ async listGroupUsers(
1769
+ groupId: string,
1760
1770
  search?: string,
1761
- sort?: ListTeamUsersSortEnum,
1762
- order?: ListTeamUsersOrderEnum,
1771
+ sort?: string,
1772
+ order?: ListGroupUsersOrderEnum,
1763
1773
  limit?: number,
1764
1774
  offset?: number,
1765
1775
  options?: RawAxiosRequestConfig,
1766
1776
  ): Promise<
1767
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeamUsers>
1777
+ (
1778
+ axios?: AxiosInstance,
1779
+ basePath?: string,
1780
+ ) => AxiosPromise<ListGroupUsers200Response>
1768
1781
  > {
1769
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTeamUsers(
1770
- teamId,
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["TeamApi.listTeamUsers"]?.[
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 teams
1806
+ * @summary Fetch all available groups
1794
1807
  * @param {string} [search] Search query
1795
- * @param {ListTeamsSortEnum} [sort] Sorting column
1796
- * @param {ListTeamsOrderEnum} [order] Sorting order
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 listTeams(
1815
+ async listGroups(
1803
1816
  search?: string,
1804
- sort?: ListTeamsSortEnum,
1805
- order?: ListTeamsOrderEnum,
1817
+ sort?: string,
1818
+ order?: ListGroupsOrderEnum,
1806
1819
  limit?: number,
1807
1820
  offset?: number,
1808
1821
  options?: RawAxiosRequestConfig,
1809
1822
  ): Promise<
1810
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Teams>
1823
+ (
1824
+ axios?: AxiosInstance,
1825
+ basePath?: string,
1826
+ ) => AxiosPromise<ListGroups200Response>
1811
1827
  > {
1812
- const localVarAxiosArgs = await localVarAxiosParamCreator.listTeams(
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["TeamApi.listTeams"]?.[localVarOperationServerIndex]
1823
- ?.url;
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 team
1835
- * @param {string} teamId A team identifier or slug
1836
- * @param {TeamModParams} teamModParams The team mod data to update
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 permitTeamMod(
1841
- teamId: string,
1842
- teamModParams: TeamModParams,
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.permitTeamMod(
1848
- teamId,
1849
- teamModParams,
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["TeamApi.permitTeamMod"]?.[
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 team
1868
- * @param {string} teamId A team identifier or slug
1869
- * @param {TeamPackParams} teamPackParams The team pack data to update
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 permitTeamPack(
1874
- teamId: string,
1875
- teamPackParams: TeamPackParams,
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.permitTeamPack(
1881
- teamId,
1882
- teamPackParams,
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["TeamApi.permitTeamPack"]?.[
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 team
1901
- * @param {string} teamId A team identifier or slug
1902
- * @param {TeamUserParams} teamUserParams The team user data to update
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 permitTeamUser(
1907
- teamId: string,
1908
- teamUserParams: TeamUserParams,
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.permitTeamUser(
1914
- teamId,
1915
- teamUserParams,
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["TeamApi.permitTeamUser"]?.[
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 team
1934
- * @param {string} teamId A team identifier or slug
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 showTeam(
1939
- teamId: string,
1955
+ async showGroup(
1956
+ groupId: string,
1940
1957
  options?: RawAxiosRequestConfig,
1941
1958
  ): Promise<
1942
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Team>
1959
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>
1943
1960
  > {
1944
- const localVarAxiosArgs = await localVarAxiosParamCreator.showTeam(
1945
- teamId,
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["TeamApi.showTeam"]?.[localVarOperationServerIndex]
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 team
1963
- * @param {string} teamId A team identifier or slug
1964
- * @param {Team} team The team data to update
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 updateTeam(
1969
- teamId: string,
1970
- team: Team,
1985
+ async updateGroup(
1986
+ groupId: string,
1987
+ createGroupRequest: CreateGroupRequest,
1971
1988
  options?: RawAxiosRequestConfig,
1972
1989
  ): Promise<
1973
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Team>
1990
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>
1974
1991
  > {
1975
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateTeam(
1976
- teamId,
1977
- team,
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["TeamApi.updateTeam"]?.[localVarOperationServerIndex]
1983
- ?.url;
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
- * TeamApi - factory interface
2014
+ * GroupApi - factory interface
1997
2015
  * @export
1998
2016
  */
1999
- export const TeamApiFactory = function (
2017
+ export const GroupApiFactory = function (
2000
2018
  configuration?: Configuration,
2001
2019
  basePath?: string,
2002
2020
  axios?: AxiosInstance,
2003
2021
  ) {
2004
- const localVarFp = TeamApiFp(configuration);
2022
+ const localVarFp = GroupApiFp(configuration);
2005
2023
  return {
2006
2024
  /**
2007
2025
  *
2008
- * @summary Attach a mod to team
2009
- * @param {TeamApiAttachTeamToModRequest} requestParameters Request parameters.
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
- attachTeamToMod(
2014
- requestParameters: TeamApiAttachTeamToModRequest,
2031
+ attachGroupToMod(
2032
+ requestParameters: GroupApiAttachGroupToModRequest,
2015
2033
  options?: RawAxiosRequestConfig,
2016
2034
  ): AxiosPromise<Notification> {
2017
2035
  return localVarFp
2018
- .attachTeamToMod(
2019
- requestParameters.teamId,
2020
- requestParameters.teamModParams,
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 team
2028
- * @param {TeamApiAttachTeamToPackRequest} requestParameters Request parameters.
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
- attachTeamToPack(
2033
- requestParameters: TeamApiAttachTeamToPackRequest,
2050
+ attachGroupToPack(
2051
+ requestParameters: GroupApiAttachGroupToPackRequest,
2034
2052
  options?: RawAxiosRequestConfig,
2035
2053
  ): AxiosPromise<Notification> {
2036
2054
  return localVarFp
2037
- .attachTeamToPack(
2038
- requestParameters.teamId,
2039
- requestParameters.teamPackParams,
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 team
2047
- * @param {TeamApiAttachTeamToUserRequest} requestParameters Request parameters.
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
- attachTeamToUser(
2052
- requestParameters: TeamApiAttachTeamToUserRequest,
2069
+ attachGroupToUser(
2070
+ requestParameters: GroupApiAttachGroupToUserRequest,
2053
2071
  options?: RawAxiosRequestConfig,
2054
2072
  ): AxiosPromise<Notification> {
2055
2073
  return localVarFp
2056
- .attachTeamToUser(
2057
- requestParameters.teamId,
2058
- requestParameters.teamUserParams,
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 team
2066
- * @param {TeamApiCreateTeamRequest} requestParameters Request parameters.
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
- createTeam(
2071
- requestParameters: TeamApiCreateTeamRequest,
2088
+ createGroup(
2089
+ requestParameters: GroupApiCreateGroupRequest,
2072
2090
  options?: RawAxiosRequestConfig,
2073
- ): AxiosPromise<Team> {
2091
+ ): AxiosPromise<Group> {
2074
2092
  return localVarFp
2075
- .createTeam(requestParameters.team, options)
2093
+ .createGroup(requestParameters.createGroupRequest, options)
2076
2094
  .then((request) => request(axios, basePath));
2077
2095
  },
2078
2096
  /**
2079
2097
  *
2080
- * @summary Delete a specific team
2081
- * @param {TeamApiDeleteTeamRequest} requestParameters Request parameters.
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
- deleteTeam(
2086
- requestParameters: TeamApiDeleteTeamRequest,
2103
+ deleteGroup(
2104
+ requestParameters: GroupApiDeleteGroupRequest,
2087
2105
  options?: RawAxiosRequestConfig,
2088
2106
  ): AxiosPromise<Notification> {
2089
2107
  return localVarFp
2090
- .deleteTeam(requestParameters.teamId, options)
2108
+ .deleteGroup(requestParameters.groupId, options)
2091
2109
  .then((request) => request(axios, basePath));
2092
2110
  },
2093
2111
  /**
2094
2112
  *
2095
- * @summary Unlink a mod from team
2096
- * @param {TeamApiDeleteTeamFromModRequest} requestParameters Request parameters.
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
- deleteTeamFromMod(
2101
- requestParameters: TeamApiDeleteTeamFromModRequest,
2118
+ deleteGroupFromMod(
2119
+ requestParameters: GroupApiDeleteGroupFromModRequest,
2102
2120
  options?: RawAxiosRequestConfig,
2103
2121
  ): AxiosPromise<Notification> {
2104
2122
  return localVarFp
2105
- .deleteTeamFromMod(
2106
- requestParameters.teamId,
2107
- requestParameters.teamModParams,
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 team
2115
- * @param {TeamApiDeleteTeamFromPackRequest} requestParameters Request parameters.
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
- deleteTeamFromPack(
2120
- requestParameters: TeamApiDeleteTeamFromPackRequest,
2137
+ deleteGroupFromPack(
2138
+ requestParameters: GroupApiDeleteGroupFromPackRequest,
2121
2139
  options?: RawAxiosRequestConfig,
2122
2140
  ): AxiosPromise<Notification> {
2123
2141
  return localVarFp
2124
- .deleteTeamFromPack(
2125
- requestParameters.teamId,
2126
- requestParameters.teamPackParams,
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 team
2134
- * @param {TeamApiDeleteTeamFromUserRequest} requestParameters Request parameters.
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
- deleteTeamFromUser(
2139
- requestParameters: TeamApiDeleteTeamFromUserRequest,
2156
+ deleteGroupFromUser(
2157
+ requestParameters: GroupApiDeleteGroupFromUserRequest,
2140
2158
  options?: RawAxiosRequestConfig,
2141
2159
  ): AxiosPromise<Notification> {
2142
2160
  return localVarFp
2143
- .deleteTeamFromUser(
2144
- requestParameters.teamId,
2145
- requestParameters.teamUserParams,
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 team
2153
- * @param {TeamApiListTeamModsRequest} requestParameters Request parameters.
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
- listTeamMods(
2158
- requestParameters: TeamApiListTeamModsRequest,
2175
+ listGroupMods(
2176
+ requestParameters: GroupApiListGroupModsRequest,
2159
2177
  options?: RawAxiosRequestConfig,
2160
- ): AxiosPromise<TeamMods> {
2178
+ ): AxiosPromise<ListGroupMods200Response> {
2161
2179
  return localVarFp
2162
- .listTeamMods(
2163
- requestParameters.teamId,
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 team
2176
- * @param {TeamApiListTeamPacksRequest} requestParameters Request parameters.
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
- listTeamPacks(
2181
- requestParameters: TeamApiListTeamPacksRequest,
2198
+ listGroupPacks(
2199
+ requestParameters: GroupApiListGroupPacksRequest,
2182
2200
  options?: RawAxiosRequestConfig,
2183
- ): AxiosPromise<TeamPacks> {
2201
+ ): AxiosPromise<ListGroupPacks200Response> {
2184
2202
  return localVarFp
2185
- .listTeamPacks(
2186
- requestParameters.teamId,
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 team
2199
- * @param {TeamApiListTeamUsersRequest} requestParameters Request parameters.
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
- listTeamUsers(
2204
- requestParameters: TeamApiListTeamUsersRequest,
2221
+ listGroupUsers(
2222
+ requestParameters: GroupApiListGroupUsersRequest,
2205
2223
  options?: RawAxiosRequestConfig,
2206
- ): AxiosPromise<TeamUsers> {
2224
+ ): AxiosPromise<ListGroupUsers200Response> {
2207
2225
  return localVarFp
2208
- .listTeamUsers(
2209
- requestParameters.teamId,
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 teams
2222
- * @param {TeamApiListTeamsRequest} requestParameters Request parameters.
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
- listTeams(
2227
- requestParameters: TeamApiListTeamsRequest = {},
2244
+ listGroups(
2245
+ requestParameters: GroupApiListGroupsRequest = {},
2228
2246
  options?: RawAxiosRequestConfig,
2229
- ): AxiosPromise<Teams> {
2247
+ ): AxiosPromise<ListGroups200Response> {
2230
2248
  return localVarFp
2231
- .listTeams(
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 team
2244
- * @param {TeamApiPermitTeamModRequest} requestParameters Request parameters.
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
- permitTeamMod(
2249
- requestParameters: TeamApiPermitTeamModRequest,
2266
+ permitGroupMod(
2267
+ requestParameters: GroupApiPermitGroupModRequest,
2250
2268
  options?: RawAxiosRequestConfig,
2251
2269
  ): AxiosPromise<Notification> {
2252
2270
  return localVarFp
2253
- .permitTeamMod(
2254
- requestParameters.teamId,
2255
- requestParameters.teamModParams,
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 team
2263
- * @param {TeamApiPermitTeamPackRequest} requestParameters Request parameters.
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
- permitTeamPack(
2268
- requestParameters: TeamApiPermitTeamPackRequest,
2285
+ permitGroupPack(
2286
+ requestParameters: GroupApiPermitGroupPackRequest,
2269
2287
  options?: RawAxiosRequestConfig,
2270
2288
  ): AxiosPromise<Notification> {
2271
2289
  return localVarFp
2272
- .permitTeamPack(
2273
- requestParameters.teamId,
2274
- requestParameters.teamPackParams,
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 team
2282
- * @param {TeamApiPermitTeamUserRequest} requestParameters Request parameters.
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
- permitTeamUser(
2287
- requestParameters: TeamApiPermitTeamUserRequest,
2304
+ permitGroupUser(
2305
+ requestParameters: GroupApiPermitGroupUserRequest,
2288
2306
  options?: RawAxiosRequestConfig,
2289
2307
  ): AxiosPromise<Notification> {
2290
2308
  return localVarFp
2291
- .permitTeamUser(
2292
- requestParameters.teamId,
2293
- requestParameters.teamUserParams,
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 team
2301
- * @param {TeamApiShowTeamRequest} requestParameters Request parameters.
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
- showTeam(
2306
- requestParameters: TeamApiShowTeamRequest,
2323
+ showGroup(
2324
+ requestParameters: GroupApiShowGroupRequest,
2307
2325
  options?: RawAxiosRequestConfig,
2308
- ): AxiosPromise<Team> {
2326
+ ): AxiosPromise<Group> {
2309
2327
  return localVarFp
2310
- .showTeam(requestParameters.teamId, options)
2328
+ .showGroup(requestParameters.groupId, options)
2311
2329
  .then((request) => request(axios, basePath));
2312
2330
  },
2313
2331
  /**
2314
2332
  *
2315
- * @summary Update a specific team
2316
- * @param {TeamApiUpdateTeamRequest} requestParameters Request parameters.
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
- updateTeam(
2321
- requestParameters: TeamApiUpdateTeamRequest,
2338
+ updateGroup(
2339
+ requestParameters: GroupApiUpdateGroupRequest,
2322
2340
  options?: RawAxiosRequestConfig,
2323
- ): AxiosPromise<Team> {
2341
+ ): AxiosPromise<Group> {
2324
2342
  return localVarFp
2325
- .updateTeam(requestParameters.teamId, requestParameters.team, options)
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 attachTeamToMod operation in TeamApi.
2354
+ * Request parameters for attachGroupToMod operation in GroupApi.
2333
2355
  * @export
2334
- * @interface TeamApiAttachTeamToModRequest
2356
+ * @interface GroupApiAttachGroupToModRequest
2335
2357
  */
2336
- export interface TeamApiAttachTeamToModRequest {
2358
+ export interface GroupApiAttachGroupToModRequest {
2337
2359
  /**
2338
- * A team identifier or slug
2360
+ * A group identifier or slug
2339
2361
  * @type {string}
2340
- * @memberof TeamApiAttachTeamToMod
2362
+ * @memberof GroupApiAttachGroupToMod
2341
2363
  */
2342
- readonly teamId: string;
2364
+ readonly groupId: string;
2343
2365
 
2344
2366
  /**
2345
- * The team mod data to attach
2346
- * @type {TeamModParams}
2347
- * @memberof TeamApiAttachTeamToMod
2367
+ * The group mod data to permit
2368
+ * @type {PermitGroupModRequest}
2369
+ * @memberof GroupApiAttachGroupToMod
2348
2370
  */
2349
- readonly teamModParams: TeamModParams;
2371
+ readonly permitGroupModRequest: PermitGroupModRequest;
2350
2372
  }
2351
2373
 
2352
2374
  /**
2353
- * Request parameters for attachTeamToPack operation in TeamApi.
2375
+ * Request parameters for attachGroupToPack operation in GroupApi.
2354
2376
  * @export
2355
- * @interface TeamApiAttachTeamToPackRequest
2377
+ * @interface GroupApiAttachGroupToPackRequest
2356
2378
  */
2357
- export interface TeamApiAttachTeamToPackRequest {
2379
+ export interface GroupApiAttachGroupToPackRequest {
2358
2380
  /**
2359
- * A team identifier or slug
2381
+ * A group identifier or slug
2360
2382
  * @type {string}
2361
- * @memberof TeamApiAttachTeamToPack
2383
+ * @memberof GroupApiAttachGroupToPack
2362
2384
  */
2363
- readonly teamId: string;
2385
+ readonly groupId: string;
2364
2386
 
2365
2387
  /**
2366
- * The team pack data to attach
2367
- * @type {TeamPackParams}
2368
- * @memberof TeamApiAttachTeamToPack
2388
+ * The group pack data to permit
2389
+ * @type {PermitGroupPackRequest}
2390
+ * @memberof GroupApiAttachGroupToPack
2369
2391
  */
2370
- readonly teamPackParams: TeamPackParams;
2392
+ readonly permitGroupPackRequest: PermitGroupPackRequest;
2371
2393
  }
2372
2394
 
2373
2395
  /**
2374
- * Request parameters for attachTeamToUser operation in TeamApi.
2396
+ * Request parameters for attachGroupToUser operation in GroupApi.
2375
2397
  * @export
2376
- * @interface TeamApiAttachTeamToUserRequest
2398
+ * @interface GroupApiAttachGroupToUserRequest
2377
2399
  */
2378
- export interface TeamApiAttachTeamToUserRequest {
2400
+ export interface GroupApiAttachGroupToUserRequest {
2379
2401
  /**
2380
- * A team identifier or slug
2402
+ * A group identifier or slug
2381
2403
  * @type {string}
2382
- * @memberof TeamApiAttachTeamToUser
2404
+ * @memberof GroupApiAttachGroupToUser
2383
2405
  */
2384
- readonly teamId: string;
2406
+ readonly groupId: string;
2385
2407
 
2386
2408
  /**
2387
- * The team user data to attach
2388
- * @type {TeamUserParams}
2389
- * @memberof TeamApiAttachTeamToUser
2409
+ * The group user data to permit
2410
+ * @type {PermitPackUserRequest}
2411
+ * @memberof GroupApiAttachGroupToUser
2390
2412
  */
2391
- readonly teamUserParams: TeamUserParams;
2413
+ readonly permitPackUserRequest: PermitPackUserRequest;
2392
2414
  }
2393
2415
 
2394
2416
  /**
2395
- * Request parameters for createTeam operation in TeamApi.
2417
+ * Request parameters for createGroup operation in GroupApi.
2396
2418
  * @export
2397
- * @interface TeamApiCreateTeamRequest
2419
+ * @interface GroupApiCreateGroupRequest
2398
2420
  */
2399
- export interface TeamApiCreateTeamRequest {
2421
+ export interface GroupApiCreateGroupRequest {
2400
2422
  /**
2401
- * The team data to create
2402
- * @type {Team}
2403
- * @memberof TeamApiCreateTeam
2423
+ * The group data to create
2424
+ * @type {CreateGroupRequest}
2425
+ * @memberof GroupApiCreateGroup
2404
2426
  */
2405
- readonly team: Team;
2427
+ readonly createGroupRequest: CreateGroupRequest;
2406
2428
  }
2407
2429
 
2408
2430
  /**
2409
- * Request parameters for deleteTeam operation in TeamApi.
2431
+ * Request parameters for deleteGroup operation in GroupApi.
2410
2432
  * @export
2411
- * @interface TeamApiDeleteTeamRequest
2433
+ * @interface GroupApiDeleteGroupRequest
2412
2434
  */
2413
- export interface TeamApiDeleteTeamRequest {
2435
+ export interface GroupApiDeleteGroupRequest {
2414
2436
  /**
2415
- * A team identifier or slug
2437
+ * A group identifier or slug
2416
2438
  * @type {string}
2417
- * @memberof TeamApiDeleteTeam
2439
+ * @memberof GroupApiDeleteGroup
2418
2440
  */
2419
- readonly teamId: string;
2441
+ readonly groupId: string;
2420
2442
  }
2421
2443
 
2422
2444
  /**
2423
- * Request parameters for deleteTeamFromMod operation in TeamApi.
2445
+ * Request parameters for deleteGroupFromMod operation in GroupApi.
2424
2446
  * @export
2425
- * @interface TeamApiDeleteTeamFromModRequest
2447
+ * @interface GroupApiDeleteGroupFromModRequest
2426
2448
  */
2427
- export interface TeamApiDeleteTeamFromModRequest {
2449
+ export interface GroupApiDeleteGroupFromModRequest {
2428
2450
  /**
2429
- * A team identifier or slug
2451
+ * A group identifier or slug
2430
2452
  * @type {string}
2431
- * @memberof TeamApiDeleteTeamFromMod
2453
+ * @memberof GroupApiDeleteGroupFromMod
2432
2454
  */
2433
- readonly teamId: string;
2455
+ readonly groupId: string;
2434
2456
 
2435
2457
  /**
2436
- * The team mod data to unlink
2437
- * @type {TeamModParams}
2438
- * @memberof TeamApiDeleteTeamFromMod
2458
+ * The group mod data to unlink
2459
+ * @type {DeleteGroupFromModRequest}
2460
+ * @memberof GroupApiDeleteGroupFromMod
2439
2461
  */
2440
- readonly teamModParams: TeamModParams;
2462
+ readonly deleteGroupFromModRequest: DeleteGroupFromModRequest;
2441
2463
  }
2442
2464
 
2443
2465
  /**
2444
- * Request parameters for deleteTeamFromPack operation in TeamApi.
2466
+ * Request parameters for deleteGroupFromPack operation in GroupApi.
2445
2467
  * @export
2446
- * @interface TeamApiDeleteTeamFromPackRequest
2468
+ * @interface GroupApiDeleteGroupFromPackRequest
2447
2469
  */
2448
- export interface TeamApiDeleteTeamFromPackRequest {
2470
+ export interface GroupApiDeleteGroupFromPackRequest {
2449
2471
  /**
2450
- * A team identifier or slug
2472
+ * A group identifier or slug
2451
2473
  * @type {string}
2452
- * @memberof TeamApiDeleteTeamFromPack
2474
+ * @memberof GroupApiDeleteGroupFromPack
2453
2475
  */
2454
- readonly teamId: string;
2476
+ readonly groupId: string;
2455
2477
 
2456
2478
  /**
2457
- * The team pack data to unlink
2458
- * @type {TeamPackParams}
2459
- * @memberof TeamApiDeleteTeamFromPack
2479
+ * The group pack data to unlink
2480
+ * @type {DeleteGroupFromPackRequest}
2481
+ * @memberof GroupApiDeleteGroupFromPack
2460
2482
  */
2461
- readonly teamPackParams: TeamPackParams;
2483
+ readonly deleteGroupFromPackRequest: DeleteGroupFromPackRequest;
2462
2484
  }
2463
2485
 
2464
2486
  /**
2465
- * Request parameters for deleteTeamFromUser operation in TeamApi.
2487
+ * Request parameters for deleteGroupFromUser operation in GroupApi.
2466
2488
  * @export
2467
- * @interface TeamApiDeleteTeamFromUserRequest
2489
+ * @interface GroupApiDeleteGroupFromUserRequest
2468
2490
  */
2469
- export interface TeamApiDeleteTeamFromUserRequest {
2491
+ export interface GroupApiDeleteGroupFromUserRequest {
2470
2492
  /**
2471
- * A team identifier or slug
2493
+ * A group identifier or slug
2472
2494
  * @type {string}
2473
- * @memberof TeamApiDeleteTeamFromUser
2495
+ * @memberof GroupApiDeleteGroupFromUser
2474
2496
  */
2475
- readonly teamId: string;
2497
+ readonly groupId: string;
2476
2498
 
2477
2499
  /**
2478
- * The team user data to unlink
2479
- * @type {TeamUserParams}
2480
- * @memberof TeamApiDeleteTeamFromUser
2500
+ * The group user data to unlink
2501
+ * @type {DeletePackFromUserRequest}
2502
+ * @memberof GroupApiDeleteGroupFromUser
2481
2503
  */
2482
- readonly teamUserParams: TeamUserParams;
2504
+ readonly deletePackFromUserRequest: DeletePackFromUserRequest;
2483
2505
  }
2484
2506
 
2485
2507
  /**
2486
- * Request parameters for listTeamMods operation in TeamApi.
2508
+ * Request parameters for listGroupMods operation in GroupApi.
2487
2509
  * @export
2488
- * @interface TeamApiListTeamModsRequest
2510
+ * @interface GroupApiListGroupModsRequest
2489
2511
  */
2490
- export interface TeamApiListTeamModsRequest {
2512
+ export interface GroupApiListGroupModsRequest {
2491
2513
  /**
2492
- * A team identifier or slug
2514
+ * A group identifier or slug
2493
2515
  * @type {string}
2494
- * @memberof TeamApiListTeamMods
2516
+ * @memberof GroupApiListGroupMods
2495
2517
  */
2496
- readonly teamId: string;
2518
+ readonly groupId: string;
2497
2519
 
2498
2520
  /**
2499
2521
  * Search query
2500
2522
  * @type {string}
2501
- * @memberof TeamApiListTeamMods
2523
+ * @memberof GroupApiListGroupMods
2502
2524
  */
2503
2525
  readonly search?: string;
2504
2526
 
2505
2527
  /**
2506
2528
  * Sorting column
2507
- * @type {'slug' | 'name' | 'public'}
2508
- * @memberof TeamApiListTeamMods
2529
+ * @type {string}
2530
+ * @memberof GroupApiListGroupMods
2509
2531
  */
2510
- readonly sort?: ListTeamModsSortEnum;
2532
+ readonly sort?: string;
2511
2533
 
2512
2534
  /**
2513
2535
  * Sorting order
2514
2536
  * @type {'asc' | 'desc'}
2515
- * @memberof TeamApiListTeamMods
2537
+ * @memberof GroupApiListGroupMods
2516
2538
  */
2517
- readonly order?: ListTeamModsOrderEnum;
2539
+ readonly order?: ListGroupModsOrderEnum;
2518
2540
 
2519
2541
  /**
2520
2542
  * Paging limit
2521
2543
  * @type {number}
2522
- * @memberof TeamApiListTeamMods
2544
+ * @memberof GroupApiListGroupMods
2523
2545
  */
2524
2546
  readonly limit?: number;
2525
2547
 
2526
2548
  /**
2527
2549
  * Paging offset
2528
2550
  * @type {number}
2529
- * @memberof TeamApiListTeamMods
2551
+ * @memberof GroupApiListGroupMods
2530
2552
  */
2531
2553
  readonly offset?: number;
2532
2554
  }
2533
2555
 
2534
2556
  /**
2535
- * Request parameters for listTeamPacks operation in TeamApi.
2557
+ * Request parameters for listGroupPacks operation in GroupApi.
2536
2558
  * @export
2537
- * @interface TeamApiListTeamPacksRequest
2559
+ * @interface GroupApiListGroupPacksRequest
2538
2560
  */
2539
- export interface TeamApiListTeamPacksRequest {
2561
+ export interface GroupApiListGroupPacksRequest {
2540
2562
  /**
2541
- * A team identifier or slug
2563
+ * A group identifier or slug
2542
2564
  * @type {string}
2543
- * @memberof TeamApiListTeamPacks
2565
+ * @memberof GroupApiListGroupPacks
2544
2566
  */
2545
- readonly teamId: string;
2567
+ readonly groupId: string;
2546
2568
 
2547
2569
  /**
2548
2570
  * Search query
2549
2571
  * @type {string}
2550
- * @memberof TeamApiListTeamPacks
2572
+ * @memberof GroupApiListGroupPacks
2551
2573
  */
2552
2574
  readonly search?: string;
2553
2575
 
2554
2576
  /**
2555
2577
  * Sorting column
2556
- * @type {'slug' | 'name' | 'public'}
2557
- * @memberof TeamApiListTeamPacks
2578
+ * @type {string}
2579
+ * @memberof GroupApiListGroupPacks
2558
2580
  */
2559
- readonly sort?: ListTeamPacksSortEnum;
2581
+ readonly sort?: string;
2560
2582
 
2561
2583
  /**
2562
2584
  * Sorting order
2563
2585
  * @type {'asc' | 'desc'}
2564
- * @memberof TeamApiListTeamPacks
2586
+ * @memberof GroupApiListGroupPacks
2565
2587
  */
2566
- readonly order?: ListTeamPacksOrderEnum;
2588
+ readonly order?: ListGroupPacksOrderEnum;
2567
2589
 
2568
2590
  /**
2569
2591
  * Paging limit
2570
2592
  * @type {number}
2571
- * @memberof TeamApiListTeamPacks
2593
+ * @memberof GroupApiListGroupPacks
2572
2594
  */
2573
2595
  readonly limit?: number;
2574
2596
 
2575
2597
  /**
2576
2598
  * Paging offset
2577
2599
  * @type {number}
2578
- * @memberof TeamApiListTeamPacks
2600
+ * @memberof GroupApiListGroupPacks
2579
2601
  */
2580
2602
  readonly offset?: number;
2581
2603
  }
2582
2604
 
2583
2605
  /**
2584
- * Request parameters for listTeamUsers operation in TeamApi.
2606
+ * Request parameters for listGroupUsers operation in GroupApi.
2585
2607
  * @export
2586
- * @interface TeamApiListTeamUsersRequest
2608
+ * @interface GroupApiListGroupUsersRequest
2587
2609
  */
2588
- export interface TeamApiListTeamUsersRequest {
2610
+ export interface GroupApiListGroupUsersRequest {
2589
2611
  /**
2590
- * A team identifier or slug
2612
+ * A group identifier or slug
2591
2613
  * @type {string}
2592
- * @memberof TeamApiListTeamUsers
2614
+ * @memberof GroupApiListGroupUsers
2593
2615
  */
2594
- readonly teamId: string;
2616
+ readonly groupId: string;
2595
2617
 
2596
2618
  /**
2597
2619
  * Search query
2598
2620
  * @type {string}
2599
- * @memberof TeamApiListTeamUsers
2621
+ * @memberof GroupApiListGroupUsers
2600
2622
  */
2601
2623
  readonly search?: string;
2602
2624
 
2603
2625
  /**
2604
2626
  * Sorting column
2605
- * @type {'username' | 'email' | 'fullname' | 'admin' | 'active'}
2606
- * @memberof TeamApiListTeamUsers
2627
+ * @type {string}
2628
+ * @memberof GroupApiListGroupUsers
2607
2629
  */
2608
- readonly sort?: ListTeamUsersSortEnum;
2630
+ readonly sort?: string;
2609
2631
 
2610
2632
  /**
2611
2633
  * Sorting order
2612
2634
  * @type {'asc' | 'desc'}
2613
- * @memberof TeamApiListTeamUsers
2635
+ * @memberof GroupApiListGroupUsers
2614
2636
  */
2615
- readonly order?: ListTeamUsersOrderEnum;
2637
+ readonly order?: ListGroupUsersOrderEnum;
2616
2638
 
2617
2639
  /**
2618
2640
  * Paging limit
2619
2641
  * @type {number}
2620
- * @memberof TeamApiListTeamUsers
2642
+ * @memberof GroupApiListGroupUsers
2621
2643
  */
2622
2644
  readonly limit?: number;
2623
2645
 
2624
2646
  /**
2625
2647
  * Paging offset
2626
2648
  * @type {number}
2627
- * @memberof TeamApiListTeamUsers
2649
+ * @memberof GroupApiListGroupUsers
2628
2650
  */
2629
2651
  readonly offset?: number;
2630
2652
  }
2631
2653
 
2632
2654
  /**
2633
- * Request parameters for listTeams operation in TeamApi.
2655
+ * Request parameters for listGroups operation in GroupApi.
2634
2656
  * @export
2635
- * @interface TeamApiListTeamsRequest
2657
+ * @interface GroupApiListGroupsRequest
2636
2658
  */
2637
- export interface TeamApiListTeamsRequest {
2659
+ export interface GroupApiListGroupsRequest {
2638
2660
  /**
2639
2661
  * Search query
2640
2662
  * @type {string}
2641
- * @memberof TeamApiListTeams
2663
+ * @memberof GroupApiListGroups
2642
2664
  */
2643
2665
  readonly search?: string;
2644
2666
 
2645
2667
  /**
2646
2668
  * Sorting column
2647
- * @type {'slug' | 'name'}
2648
- * @memberof TeamApiListTeams
2669
+ * @type {string}
2670
+ * @memberof GroupApiListGroups
2649
2671
  */
2650
- readonly sort?: ListTeamsSortEnum;
2672
+ readonly sort?: string;
2651
2673
 
2652
2674
  /**
2653
2675
  * Sorting order
2654
2676
  * @type {'asc' | 'desc'}
2655
- * @memberof TeamApiListTeams
2677
+ * @memberof GroupApiListGroups
2656
2678
  */
2657
- readonly order?: ListTeamsOrderEnum;
2679
+ readonly order?: ListGroupsOrderEnum;
2658
2680
 
2659
2681
  /**
2660
2682
  * Paging limit
2661
2683
  * @type {number}
2662
- * @memberof TeamApiListTeams
2684
+ * @memberof GroupApiListGroups
2663
2685
  */
2664
2686
  readonly limit?: number;
2665
2687
 
2666
2688
  /**
2667
2689
  * Paging offset
2668
2690
  * @type {number}
2669
- * @memberof TeamApiListTeams
2691
+ * @memberof GroupApiListGroups
2670
2692
  */
2671
2693
  readonly offset?: number;
2672
2694
  }
2673
2695
 
2674
2696
  /**
2675
- * Request parameters for permitTeamMod operation in TeamApi.
2697
+ * Request parameters for permitGroupMod operation in GroupApi.
2676
2698
  * @export
2677
- * @interface TeamApiPermitTeamModRequest
2699
+ * @interface GroupApiPermitGroupModRequest
2678
2700
  */
2679
- export interface TeamApiPermitTeamModRequest {
2701
+ export interface GroupApiPermitGroupModRequest {
2680
2702
  /**
2681
- * A team identifier or slug
2703
+ * A group identifier or slug
2682
2704
  * @type {string}
2683
- * @memberof TeamApiPermitTeamMod
2705
+ * @memberof GroupApiPermitGroupMod
2684
2706
  */
2685
- readonly teamId: string;
2707
+ readonly groupId: string;
2686
2708
 
2687
2709
  /**
2688
- * The team mod data to update
2689
- * @type {TeamModParams}
2690
- * @memberof TeamApiPermitTeamMod
2710
+ * The group mod data to permit
2711
+ * @type {PermitGroupModRequest}
2712
+ * @memberof GroupApiPermitGroupMod
2691
2713
  */
2692
- readonly teamModParams: TeamModParams;
2714
+ readonly permitGroupModRequest: PermitGroupModRequest;
2693
2715
  }
2694
2716
 
2695
2717
  /**
2696
- * Request parameters for permitTeamPack operation in TeamApi.
2718
+ * Request parameters for permitGroupPack operation in GroupApi.
2697
2719
  * @export
2698
- * @interface TeamApiPermitTeamPackRequest
2720
+ * @interface GroupApiPermitGroupPackRequest
2699
2721
  */
2700
- export interface TeamApiPermitTeamPackRequest {
2722
+ export interface GroupApiPermitGroupPackRequest {
2701
2723
  /**
2702
- * A team identifier or slug
2724
+ * A group identifier or slug
2703
2725
  * @type {string}
2704
- * @memberof TeamApiPermitTeamPack
2726
+ * @memberof GroupApiPermitGroupPack
2705
2727
  */
2706
- readonly teamId: string;
2728
+ readonly groupId: string;
2707
2729
 
2708
2730
  /**
2709
- * The team pack data to update
2710
- * @type {TeamPackParams}
2711
- * @memberof TeamApiPermitTeamPack
2731
+ * The group pack data to permit
2732
+ * @type {PermitGroupPackRequest}
2733
+ * @memberof GroupApiPermitGroupPack
2712
2734
  */
2713
- readonly teamPackParams: TeamPackParams;
2735
+ readonly permitGroupPackRequest: PermitGroupPackRequest;
2714
2736
  }
2715
2737
 
2716
2738
  /**
2717
- * Request parameters for permitTeamUser operation in TeamApi.
2739
+ * Request parameters for permitGroupUser operation in GroupApi.
2718
2740
  * @export
2719
- * @interface TeamApiPermitTeamUserRequest
2741
+ * @interface GroupApiPermitGroupUserRequest
2720
2742
  */
2721
- export interface TeamApiPermitTeamUserRequest {
2743
+ export interface GroupApiPermitGroupUserRequest {
2722
2744
  /**
2723
- * A team identifier or slug
2745
+ * A group identifier or slug
2724
2746
  * @type {string}
2725
- * @memberof TeamApiPermitTeamUser
2747
+ * @memberof GroupApiPermitGroupUser
2726
2748
  */
2727
- readonly teamId: string;
2749
+ readonly groupId: string;
2728
2750
 
2729
2751
  /**
2730
- * The team user data to update
2731
- * @type {TeamUserParams}
2732
- * @memberof TeamApiPermitTeamUser
2752
+ * The group user data to permit
2753
+ * @type {PermitPackUserRequest}
2754
+ * @memberof GroupApiPermitGroupUser
2733
2755
  */
2734
- readonly teamUserParams: TeamUserParams;
2756
+ readonly permitPackUserRequest: PermitPackUserRequest;
2735
2757
  }
2736
2758
 
2737
2759
  /**
2738
- * Request parameters for showTeam operation in TeamApi.
2760
+ * Request parameters for showGroup operation in GroupApi.
2739
2761
  * @export
2740
- * @interface TeamApiShowTeamRequest
2762
+ * @interface GroupApiShowGroupRequest
2741
2763
  */
2742
- export interface TeamApiShowTeamRequest {
2764
+ export interface GroupApiShowGroupRequest {
2743
2765
  /**
2744
- * A team identifier or slug
2766
+ * A group identifier or slug
2745
2767
  * @type {string}
2746
- * @memberof TeamApiShowTeam
2768
+ * @memberof GroupApiShowGroup
2747
2769
  */
2748
- readonly teamId: string;
2770
+ readonly groupId: string;
2749
2771
  }
2750
2772
 
2751
2773
  /**
2752
- * Request parameters for updateTeam operation in TeamApi.
2774
+ * Request parameters for updateGroup operation in GroupApi.
2753
2775
  * @export
2754
- * @interface TeamApiUpdateTeamRequest
2776
+ * @interface GroupApiUpdateGroupRequest
2755
2777
  */
2756
- export interface TeamApiUpdateTeamRequest {
2778
+ export interface GroupApiUpdateGroupRequest {
2757
2779
  /**
2758
- * A team identifier or slug
2780
+ * A group identifier or slug
2759
2781
  * @type {string}
2760
- * @memberof TeamApiUpdateTeam
2782
+ * @memberof GroupApiUpdateGroup
2761
2783
  */
2762
- readonly teamId: string;
2784
+ readonly groupId: string;
2763
2785
 
2764
2786
  /**
2765
- * The team data to update
2766
- * @type {Team}
2767
- * @memberof TeamApiUpdateTeam
2787
+ * The group data to update
2788
+ * @type {CreateGroupRequest}
2789
+ * @memberof GroupApiUpdateGroup
2768
2790
  */
2769
- readonly team: Team;
2791
+ readonly createGroupRequest: CreateGroupRequest;
2770
2792
  }
2771
2793
 
2772
2794
  /**
2773
- * TeamApi - object-oriented interface
2795
+ * GroupApi - object-oriented interface
2774
2796
  * @export
2775
- * @class TeamApi
2797
+ * @class GroupApi
2776
2798
  * @extends {BaseAPI}
2777
2799
  */
2778
- export class TeamApi extends BaseAPI {
2800
+ export class GroupApi extends BaseAPI {
2779
2801
  /**
2780
2802
  *
2781
- * @summary Attach a mod to team
2782
- * @param {TeamApiAttachTeamToModRequest} requestParameters Request parameters.
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 TeamApi
2807
+ * @memberof GroupApi
2786
2808
  */
2787
- public attachTeamToMod(
2788
- requestParameters: TeamApiAttachTeamToModRequest,
2809
+ public attachGroupToMod(
2810
+ requestParameters: GroupApiAttachGroupToModRequest,
2789
2811
  options?: RawAxiosRequestConfig,
2790
2812
  ) {
2791
- return TeamApiFp(this.configuration)
2792
- .attachTeamToMod(
2793
- requestParameters.teamId,
2794
- requestParameters.teamModParams,
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 team
2803
- * @param {TeamApiAttachTeamToPackRequest} requestParameters Request parameters.
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 TeamApi
2828
+ * @memberof GroupApi
2807
2829
  */
2808
- public attachTeamToPack(
2809
- requestParameters: TeamApiAttachTeamToPackRequest,
2830
+ public attachGroupToPack(
2831
+ requestParameters: GroupApiAttachGroupToPackRequest,
2810
2832
  options?: RawAxiosRequestConfig,
2811
2833
  ) {
2812
- return TeamApiFp(this.configuration)
2813
- .attachTeamToPack(
2814
- requestParameters.teamId,
2815
- requestParameters.teamPackParams,
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 team
2824
- * @param {TeamApiAttachTeamToUserRequest} requestParameters Request parameters.
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 TeamApi
2849
+ * @memberof GroupApi
2828
2850
  */
2829
- public attachTeamToUser(
2830
- requestParameters: TeamApiAttachTeamToUserRequest,
2851
+ public attachGroupToUser(
2852
+ requestParameters: GroupApiAttachGroupToUserRequest,
2831
2853
  options?: RawAxiosRequestConfig,
2832
2854
  ) {
2833
- return TeamApiFp(this.configuration)
2834
- .attachTeamToUser(
2835
- requestParameters.teamId,
2836
- requestParameters.teamUserParams,
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 team
2845
- * @param {TeamApiCreateTeamRequest} requestParameters Request parameters.
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 TeamApi
2870
+ * @memberof GroupApi
2849
2871
  */
2850
- public createTeam(
2851
- requestParameters: TeamApiCreateTeamRequest,
2872
+ public createGroup(
2873
+ requestParameters: GroupApiCreateGroupRequest,
2852
2874
  options?: RawAxiosRequestConfig,
2853
2875
  ) {
2854
- return TeamApiFp(this.configuration)
2855
- .createTeam(requestParameters.team, options)
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 team
2862
- * @param {TeamApiDeleteTeamRequest} requestParameters Request parameters.
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 TeamApi
2887
+ * @memberof GroupApi
2866
2888
  */
2867
- public deleteTeam(
2868
- requestParameters: TeamApiDeleteTeamRequest,
2889
+ public deleteGroup(
2890
+ requestParameters: GroupApiDeleteGroupRequest,
2869
2891
  options?: RawAxiosRequestConfig,
2870
2892
  ) {
2871
- return TeamApiFp(this.configuration)
2872
- .deleteTeam(requestParameters.teamId, options)
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 team
2879
- * @param {TeamApiDeleteTeamFromModRequest} requestParameters Request parameters.
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 TeamApi
2904
+ * @memberof GroupApi
2883
2905
  */
2884
- public deleteTeamFromMod(
2885
- requestParameters: TeamApiDeleteTeamFromModRequest,
2906
+ public deleteGroupFromMod(
2907
+ requestParameters: GroupApiDeleteGroupFromModRequest,
2886
2908
  options?: RawAxiosRequestConfig,
2887
2909
  ) {
2888
- return TeamApiFp(this.configuration)
2889
- .deleteTeamFromMod(
2890
- requestParameters.teamId,
2891
- requestParameters.teamModParams,
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 team
2900
- * @param {TeamApiDeleteTeamFromPackRequest} requestParameters Request parameters.
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 TeamApi
2925
+ * @memberof GroupApi
2904
2926
  */
2905
- public deleteTeamFromPack(
2906
- requestParameters: TeamApiDeleteTeamFromPackRequest,
2927
+ public deleteGroupFromPack(
2928
+ requestParameters: GroupApiDeleteGroupFromPackRequest,
2907
2929
  options?: RawAxiosRequestConfig,
2908
2930
  ) {
2909
- return TeamApiFp(this.configuration)
2910
- .deleteTeamFromPack(
2911
- requestParameters.teamId,
2912
- requestParameters.teamPackParams,
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 team
2921
- * @param {TeamApiDeleteTeamFromUserRequest} requestParameters Request parameters.
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 TeamApi
2946
+ * @memberof GroupApi
2925
2947
  */
2926
- public deleteTeamFromUser(
2927
- requestParameters: TeamApiDeleteTeamFromUserRequest,
2948
+ public deleteGroupFromUser(
2949
+ requestParameters: GroupApiDeleteGroupFromUserRequest,
2928
2950
  options?: RawAxiosRequestConfig,
2929
2951
  ) {
2930
- return TeamApiFp(this.configuration)
2931
- .deleteTeamFromUser(
2932
- requestParameters.teamId,
2933
- requestParameters.teamUserParams,
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 team
2942
- * @param {TeamApiListTeamModsRequest} requestParameters Request parameters.
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 TeamApi
2967
+ * @memberof GroupApi
2946
2968
  */
2947
- public listTeamMods(
2948
- requestParameters: TeamApiListTeamModsRequest,
2969
+ public listGroupMods(
2970
+ requestParameters: GroupApiListGroupModsRequest,
2949
2971
  options?: RawAxiosRequestConfig,
2950
2972
  ) {
2951
- return TeamApiFp(this.configuration)
2952
- .listTeamMods(
2953
- requestParameters.teamId,
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 team
2967
- * @param {TeamApiListTeamPacksRequest} requestParameters Request parameters.
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 TeamApi
2992
+ * @memberof GroupApi
2971
2993
  */
2972
- public listTeamPacks(
2973
- requestParameters: TeamApiListTeamPacksRequest,
2994
+ public listGroupPacks(
2995
+ requestParameters: GroupApiListGroupPacksRequest,
2974
2996
  options?: RawAxiosRequestConfig,
2975
2997
  ) {
2976
- return TeamApiFp(this.configuration)
2977
- .listTeamPacks(
2978
- requestParameters.teamId,
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 team
2992
- * @param {TeamApiListTeamUsersRequest} requestParameters Request parameters.
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 TeamApi
3017
+ * @memberof GroupApi
2996
3018
  */
2997
- public listTeamUsers(
2998
- requestParameters: TeamApiListTeamUsersRequest,
3019
+ public listGroupUsers(
3020
+ requestParameters: GroupApiListGroupUsersRequest,
2999
3021
  options?: RawAxiosRequestConfig,
3000
3022
  ) {
3001
- return TeamApiFp(this.configuration)
3002
- .listTeamUsers(
3003
- requestParameters.teamId,
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 teams
3017
- * @param {TeamApiListTeamsRequest} requestParameters Request parameters.
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 TeamApi
3042
+ * @memberof GroupApi
3021
3043
  */
3022
- public listTeams(
3023
- requestParameters: TeamApiListTeamsRequest = {},
3044
+ public listGroups(
3045
+ requestParameters: GroupApiListGroupsRequest = {},
3024
3046
  options?: RawAxiosRequestConfig,
3025
3047
  ) {
3026
- return TeamApiFp(this.configuration)
3027
- .listTeams(
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 team
3041
- * @param {TeamApiPermitTeamModRequest} requestParameters Request parameters.
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 TeamApi
3066
+ * @memberof GroupApi
3045
3067
  */
3046
- public permitTeamMod(
3047
- requestParameters: TeamApiPermitTeamModRequest,
3068
+ public permitGroupMod(
3069
+ requestParameters: GroupApiPermitGroupModRequest,
3048
3070
  options?: RawAxiosRequestConfig,
3049
3071
  ) {
3050
- return TeamApiFp(this.configuration)
3051
- .permitTeamMod(
3052
- requestParameters.teamId,
3053
- requestParameters.teamModParams,
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 team
3062
- * @param {TeamApiPermitTeamPackRequest} requestParameters Request parameters.
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 TeamApi
3087
+ * @memberof GroupApi
3066
3088
  */
3067
- public permitTeamPack(
3068
- requestParameters: TeamApiPermitTeamPackRequest,
3089
+ public permitGroupPack(
3090
+ requestParameters: GroupApiPermitGroupPackRequest,
3069
3091
  options?: RawAxiosRequestConfig,
3070
3092
  ) {
3071
- return TeamApiFp(this.configuration)
3072
- .permitTeamPack(
3073
- requestParameters.teamId,
3074
- requestParameters.teamPackParams,
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 team
3083
- * @param {TeamApiPermitTeamUserRequest} requestParameters Request parameters.
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 TeamApi
3108
+ * @memberof GroupApi
3087
3109
  */
3088
- public permitTeamUser(
3089
- requestParameters: TeamApiPermitTeamUserRequest,
3110
+ public permitGroupUser(
3111
+ requestParameters: GroupApiPermitGroupUserRequest,
3090
3112
  options?: RawAxiosRequestConfig,
3091
3113
  ) {
3092
- return TeamApiFp(this.configuration)
3093
- .permitTeamUser(
3094
- requestParameters.teamId,
3095
- requestParameters.teamUserParams,
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 team
3104
- * @param {TeamApiShowTeamRequest} requestParameters Request parameters.
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 TeamApi
3129
+ * @memberof GroupApi
3108
3130
  */
3109
- public showTeam(
3110
- requestParameters: TeamApiShowTeamRequest,
3131
+ public showGroup(
3132
+ requestParameters: GroupApiShowGroupRequest,
3111
3133
  options?: RawAxiosRequestConfig,
3112
3134
  ) {
3113
- return TeamApiFp(this.configuration)
3114
- .showTeam(requestParameters.teamId, options)
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 team
3121
- * @param {TeamApiUpdateTeamRequest} requestParameters Request parameters.
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 TeamApi
3146
+ * @memberof GroupApi
3125
3147
  */
3126
- public updateTeam(
3127
- requestParameters: TeamApiUpdateTeamRequest,
3148
+ public updateGroup(
3149
+ requestParameters: GroupApiUpdateGroupRequest,
3128
3150
  options?: RawAxiosRequestConfig,
3129
3151
  ) {
3130
- return TeamApiFp(this.configuration)
3131
- .updateTeam(requestParameters.teamId, requestParameters.team, options)
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 ListTeamModsSortEnum = {
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 ListTeamModsOrderEnum =
3154
- (typeof ListTeamModsOrderEnum)[keyof typeof ListTeamModsOrderEnum];
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 ListTeamPacksOrderEnum = {
3174
+ export const ListGroupPacksOrderEnum = {
3169
3175
  Asc: "asc",
3170
3176
  Desc: "desc",
3171
3177
  } as const;
3172
- export type ListTeamPacksOrderEnum =
3173
- (typeof ListTeamPacksOrderEnum)[keyof typeof ListTeamPacksOrderEnum];
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 ListTeamUsersOrderEnum = {
3183
+ export const ListGroupUsersOrderEnum = {
3190
3184
  Asc: "asc",
3191
3185
  Desc: "desc",
3192
3186
  } as const;
3193
- export type ListTeamUsersOrderEnum =
3194
- (typeof ListTeamUsersOrderEnum)[keyof typeof ListTeamUsersOrderEnum];
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 ListTeamsOrderEnum = {
3192
+ export const ListGroupsOrderEnum = {
3208
3193
  Asc: "asc",
3209
3194
  Desc: "desc",
3210
3195
  } as const;
3211
- export type ListTeamsOrderEnum =
3212
- (typeof ListTeamsOrderEnum)[keyof typeof ListTeamsOrderEnum];
3196
+ export type ListGroupsOrderEnum =
3197
+ (typeof ListGroupsOrderEnum)[keyof typeof ListGroupsOrderEnum];