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
package/api/pack-api.ts CHANGED
@@ -42,27 +42,35 @@ import {
42
42
  operationServerMap,
43
43
  } from "../base";
44
44
  // @ts-ignore
45
+ import type { AttachBuildToVersionRequest } from "../model";
46
+ // @ts-ignore
45
47
  import type { Build } from "../model";
46
48
  // @ts-ignore
47
- import type { BuildVersionParams } from "../model";
49
+ import type { CreateBuildRequest } from "../model";
48
50
  // @ts-ignore
49
- import type { BuildVersions } from "../model";
51
+ import type { CreatePackRequest } from "../model";
50
52
  // @ts-ignore
51
- import type { Builds } from "../model";
53
+ import type { DeletePackFromGroupRequest } from "../model";
52
54
  // @ts-ignore
53
- import type { Notification } from "../model";
55
+ import type { DeletePackFromUserRequest } from "../model";
54
56
  // @ts-ignore
55
- import type { Pack } from "../model";
57
+ import type { ListBuildVersions200Response } from "../model";
56
58
  // @ts-ignore
57
- import type { PackTeamParams } from "../model";
59
+ import type { ListBuilds200Response } from "../model";
58
60
  // @ts-ignore
59
- import type { PackTeams } from "../model";
61
+ import type { ListPackGroups200Response } from "../model";
60
62
  // @ts-ignore
61
- import type { PackUserParams } from "../model";
63
+ import type { ListPackUsers200Response } from "../model";
62
64
  // @ts-ignore
63
- import type { PackUsers } from "../model";
65
+ import type { ListPacks200Response } from "../model";
64
66
  // @ts-ignore
65
- import type { Packs } from "../model";
67
+ import type { Notification } from "../model";
68
+ // @ts-ignore
69
+ import type { Pack } from "../model";
70
+ // @ts-ignore
71
+ import type { PermitPackGroupRequest } from "../model";
72
+ // @ts-ignore
73
+ import type { PermitPackUserRequest } from "../model";
66
74
  /**
67
75
  * PackApi - axios parameter creator
68
76
  * @export
@@ -76,25 +84,25 @@ export const PackApiAxiosParamCreator = function (
76
84
  * @summary Attach a version to a build
77
85
  * @param {string} packId A pack identifier or slug
78
86
  * @param {string} buildId A build identifier or slug
79
- * @param {BuildVersionParams} buildVersionParams The build version data to attach
87
+ * @param {AttachBuildToVersionRequest} attachBuildToVersionRequest The build version data to create or delete
80
88
  * @param {*} [options] Override http request option.
81
89
  * @throws {RequiredError}
82
90
  */
83
91
  attachBuildToVersion: async (
84
92
  packId: string,
85
93
  buildId: string,
86
- buildVersionParams: BuildVersionParams,
94
+ attachBuildToVersionRequest: AttachBuildToVersionRequest,
87
95
  options: RawAxiosRequestConfig = {},
88
96
  ): Promise<RequestArgs> => {
89
97
  // verify required parameter 'packId' is not null or undefined
90
98
  assertParamExists("attachBuildToVersion", "packId", packId);
91
99
  // verify required parameter 'buildId' is not null or undefined
92
100
  assertParamExists("attachBuildToVersion", "buildId", buildId);
93
- // verify required parameter 'buildVersionParams' is not null or undefined
101
+ // verify required parameter 'attachBuildToVersionRequest' is not null or undefined
94
102
  assertParamExists(
95
103
  "attachBuildToVersion",
96
- "buildVersionParams",
97
- buildVersionParams,
104
+ "attachBuildToVersionRequest",
105
+ attachBuildToVersionRequest,
98
106
  );
99
107
  const localVarPath = `/packs/{pack_id}/builds/{build_id}/versions`
100
108
  .replace(`{${"pack_id"}}`, encodeURIComponent(String(packId)))
@@ -114,9 +122,6 @@ export const PackApiAxiosParamCreator = function (
114
122
  const localVarHeaderParameter = {} as any;
115
123
  const localVarQueryParameter = {} as any;
116
124
 
117
- // authentication Cookie required
118
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
119
-
120
125
  // authentication Basic required
121
126
  // http basic authentication required
122
127
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -143,7 +148,7 @@ export const PackApiAxiosParamCreator = function (
143
148
  ...options.headers,
144
149
  };
145
150
  localVarRequestOptions.data = serializeDataIfNeeded(
146
- buildVersionParams,
151
+ attachBuildToVersionRequest,
147
152
  localVarRequestOptions,
148
153
  configuration,
149
154
  );
@@ -155,22 +160,26 @@ export const PackApiAxiosParamCreator = function (
155
160
  },
156
161
  /**
157
162
  *
158
- * @summary Attach a team to pack
163
+ * @summary Attach a group to pack
159
164
  * @param {string} packId A pack identifier or slug
160
- * @param {PackTeamParams} packTeamParams The team data to attach
165
+ * @param {PermitPackGroupRequest} permitPackGroupRequest The pack group data to permit
161
166
  * @param {*} [options] Override http request option.
162
167
  * @throws {RequiredError}
163
168
  */
164
- attachPackToTeam: async (
169
+ attachPackToGroup: async (
165
170
  packId: string,
166
- packTeamParams: PackTeamParams,
171
+ permitPackGroupRequest: PermitPackGroupRequest,
167
172
  options: RawAxiosRequestConfig = {},
168
173
  ): Promise<RequestArgs> => {
169
174
  // verify required parameter 'packId' is not null or undefined
170
- assertParamExists("attachPackToTeam", "packId", packId);
171
- // verify required parameter 'packTeamParams' is not null or undefined
172
- assertParamExists("attachPackToTeam", "packTeamParams", packTeamParams);
173
- const localVarPath = `/packs/{pack_id}/teams`.replace(
175
+ assertParamExists("attachPackToGroup", "packId", packId);
176
+ // verify required parameter 'permitPackGroupRequest' is not null or undefined
177
+ assertParamExists(
178
+ "attachPackToGroup",
179
+ "permitPackGroupRequest",
180
+ permitPackGroupRequest,
181
+ );
182
+ const localVarPath = `/packs/{pack_id}/groups`.replace(
174
183
  `{${"pack_id"}}`,
175
184
  encodeURIComponent(String(packId)),
176
185
  );
@@ -189,9 +198,6 @@ export const PackApiAxiosParamCreator = function (
189
198
  const localVarHeaderParameter = {} as any;
190
199
  const localVarQueryParameter = {} as any;
191
200
 
192
- // authentication Cookie required
193
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
194
-
195
201
  // authentication Basic required
196
202
  // http basic authentication required
197
203
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -218,7 +224,7 @@ export const PackApiAxiosParamCreator = function (
218
224
  ...options.headers,
219
225
  };
220
226
  localVarRequestOptions.data = serializeDataIfNeeded(
221
- packTeamParams,
227
+ permitPackGroupRequest,
222
228
  localVarRequestOptions,
223
229
  configuration,
224
230
  );
@@ -232,19 +238,23 @@ export const PackApiAxiosParamCreator = function (
232
238
  *
233
239
  * @summary Attach a user to pack
234
240
  * @param {string} packId A pack identifier or slug
235
- * @param {PackUserParams} packUserParams The user data to attach
241
+ * @param {PermitPackUserRequest} permitPackUserRequest The pack user data to permit
236
242
  * @param {*} [options] Override http request option.
237
243
  * @throws {RequiredError}
238
244
  */
239
245
  attachPackToUser: async (
240
246
  packId: string,
241
- packUserParams: PackUserParams,
247
+ permitPackUserRequest: PermitPackUserRequest,
242
248
  options: RawAxiosRequestConfig = {},
243
249
  ): Promise<RequestArgs> => {
244
250
  // verify required parameter 'packId' is not null or undefined
245
251
  assertParamExists("attachPackToUser", "packId", packId);
246
- // verify required parameter 'packUserParams' is not null or undefined
247
- assertParamExists("attachPackToUser", "packUserParams", packUserParams);
252
+ // verify required parameter 'permitPackUserRequest' is not null or undefined
253
+ assertParamExists(
254
+ "attachPackToUser",
255
+ "permitPackUserRequest",
256
+ permitPackUserRequest,
257
+ );
248
258
  const localVarPath = `/packs/{pack_id}/users`.replace(
249
259
  `{${"pack_id"}}`,
250
260
  encodeURIComponent(String(packId)),
@@ -264,9 +274,6 @@ export const PackApiAxiosParamCreator = function (
264
274
  const localVarHeaderParameter = {} as any;
265
275
  const localVarQueryParameter = {} as any;
266
276
 
267
- // authentication Cookie required
268
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
269
-
270
277
  // authentication Basic required
271
278
  // http basic authentication required
272
279
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -293,7 +300,7 @@ export const PackApiAxiosParamCreator = function (
293
300
  ...options.headers,
294
301
  };
295
302
  localVarRequestOptions.data = serializeDataIfNeeded(
296
- packUserParams,
303
+ permitPackUserRequest,
297
304
  localVarRequestOptions,
298
305
  configuration,
299
306
  );
@@ -307,19 +314,23 @@ export const PackApiAxiosParamCreator = function (
307
314
  *
308
315
  * @summary Create a new build for a pack
309
316
  * @param {string} packId A pack identifier or slug
310
- * @param {Build} build The build data to create
317
+ * @param {CreateBuildRequest} createBuildRequest The build data to create
311
318
  * @param {*} [options] Override http request option.
312
319
  * @throws {RequiredError}
313
320
  */
314
321
  createBuild: async (
315
322
  packId: string,
316
- build: Build,
323
+ createBuildRequest: CreateBuildRequest,
317
324
  options: RawAxiosRequestConfig = {},
318
325
  ): Promise<RequestArgs> => {
319
326
  // verify required parameter 'packId' is not null or undefined
320
327
  assertParamExists("createBuild", "packId", packId);
321
- // verify required parameter 'build' is not null or undefined
322
- assertParamExists("createBuild", "build", build);
328
+ // verify required parameter 'createBuildRequest' is not null or undefined
329
+ assertParamExists(
330
+ "createBuild",
331
+ "createBuildRequest",
332
+ createBuildRequest,
333
+ );
323
334
  const localVarPath = `/packs/{pack_id}/builds`.replace(
324
335
  `{${"pack_id"}}`,
325
336
  encodeURIComponent(String(packId)),
@@ -339,9 +350,6 @@ export const PackApiAxiosParamCreator = function (
339
350
  const localVarHeaderParameter = {} as any;
340
351
  const localVarQueryParameter = {} as any;
341
352
 
342
- // authentication Cookie required
343
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
344
-
345
353
  // authentication Basic required
346
354
  // http basic authentication required
347
355
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -368,7 +376,7 @@ export const PackApiAxiosParamCreator = function (
368
376
  ...options.headers,
369
377
  };
370
378
  localVarRequestOptions.data = serializeDataIfNeeded(
371
- build,
379
+ createBuildRequest,
372
380
  localVarRequestOptions,
373
381
  configuration,
374
382
  );
@@ -381,16 +389,16 @@ export const PackApiAxiosParamCreator = function (
381
389
  /**
382
390
  *
383
391
  * @summary Create a new pack
384
- * @param {Pack} pack The pack data to create
392
+ * @param {CreatePackRequest} createPackRequest The pack data to create
385
393
  * @param {*} [options] Override http request option.
386
394
  * @throws {RequiredError}
387
395
  */
388
396
  createPack: async (
389
- pack: Pack,
397
+ createPackRequest: CreatePackRequest,
390
398
  options: RawAxiosRequestConfig = {},
391
399
  ): Promise<RequestArgs> => {
392
- // verify required parameter 'pack' is not null or undefined
393
- assertParamExists("createPack", "pack", pack);
400
+ // verify required parameter 'createPackRequest' is not null or undefined
401
+ assertParamExists("createPack", "createPackRequest", createPackRequest);
394
402
  const localVarPath = `/packs`;
395
403
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
396
404
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -407,9 +415,6 @@ export const PackApiAxiosParamCreator = function (
407
415
  const localVarHeaderParameter = {} as any;
408
416
  const localVarQueryParameter = {} as any;
409
417
 
410
- // authentication Cookie required
411
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
412
-
413
418
  // authentication Basic required
414
419
  // http basic authentication required
415
420
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -436,7 +441,7 @@ export const PackApiAxiosParamCreator = function (
436
441
  ...options.headers,
437
442
  };
438
443
  localVarRequestOptions.data = serializeDataIfNeeded(
439
- pack,
444
+ createPackRequest,
440
445
  localVarRequestOptions,
441
446
  configuration,
442
447
  );
@@ -481,9 +486,6 @@ export const PackApiAxiosParamCreator = function (
481
486
  const localVarHeaderParameter = {} as any;
482
487
  const localVarQueryParameter = {} as any;
483
488
 
484
- // authentication Cookie required
485
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
486
-
487
489
  // authentication Basic required
488
490
  // http basic authentication required
489
491
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -518,25 +520,25 @@ export const PackApiAxiosParamCreator = function (
518
520
  * @summary Unlink a version from a build
519
521
  * @param {string} packId A pack identifier or slug
520
522
  * @param {string} buildId A build identifier or slug
521
- * @param {BuildVersionParams} buildVersionParams The build version data to unlink
523
+ * @param {AttachBuildToVersionRequest} attachBuildToVersionRequest The build version data to create or delete
522
524
  * @param {*} [options] Override http request option.
523
525
  * @throws {RequiredError}
524
526
  */
525
527
  deleteBuildFromVersion: async (
526
528
  packId: string,
527
529
  buildId: string,
528
- buildVersionParams: BuildVersionParams,
530
+ attachBuildToVersionRequest: AttachBuildToVersionRequest,
529
531
  options: RawAxiosRequestConfig = {},
530
532
  ): Promise<RequestArgs> => {
531
533
  // verify required parameter 'packId' is not null or undefined
532
534
  assertParamExists("deleteBuildFromVersion", "packId", packId);
533
535
  // verify required parameter 'buildId' is not null or undefined
534
536
  assertParamExists("deleteBuildFromVersion", "buildId", buildId);
535
- // verify required parameter 'buildVersionParams' is not null or undefined
537
+ // verify required parameter 'attachBuildToVersionRequest' is not null or undefined
536
538
  assertParamExists(
537
539
  "deleteBuildFromVersion",
538
- "buildVersionParams",
539
- buildVersionParams,
540
+ "attachBuildToVersionRequest",
541
+ attachBuildToVersionRequest,
540
542
  );
541
543
  const localVarPath = `/packs/{pack_id}/builds/{build_id}/versions`
542
544
  .replace(`{${"pack_id"}}`, encodeURIComponent(String(packId)))
@@ -556,9 +558,6 @@ export const PackApiAxiosParamCreator = function (
556
558
  const localVarHeaderParameter = {} as any;
557
559
  const localVarQueryParameter = {} as any;
558
560
 
559
- // authentication Cookie required
560
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
561
-
562
561
  // authentication Basic required
563
562
  // http basic authentication required
564
563
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -585,7 +584,7 @@ export const PackApiAxiosParamCreator = function (
585
584
  ...options.headers,
586
585
  };
587
586
  localVarRequestOptions.data = serializeDataIfNeeded(
588
- buildVersionParams,
587
+ attachBuildToVersionRequest,
589
588
  localVarRequestOptions,
590
589
  configuration,
591
590
  );
@@ -627,9 +626,6 @@ export const PackApiAxiosParamCreator = function (
627
626
  const localVarHeaderParameter = {} as any;
628
627
  const localVarQueryParameter = {} as any;
629
628
 
630
- // authentication Cookie required
631
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
632
-
633
629
  // authentication Basic required
634
630
  // http basic authentication required
635
631
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -661,22 +657,26 @@ export const PackApiAxiosParamCreator = function (
661
657
  },
662
658
  /**
663
659
  *
664
- * @summary Unlink a team from pack
660
+ * @summary Unlink a group from pack
665
661
  * @param {string} packId A pack identifier or slug
666
- * @param {PackTeamParams} packTeamParams The pack team data to unlink
662
+ * @param {DeletePackFromGroupRequest} deletePackFromGroupRequest The pack group data to unlink
667
663
  * @param {*} [options] Override http request option.
668
664
  * @throws {RequiredError}
669
665
  */
670
- deletePackFromTeam: async (
666
+ deletePackFromGroup: async (
671
667
  packId: string,
672
- packTeamParams: PackTeamParams,
668
+ deletePackFromGroupRequest: DeletePackFromGroupRequest,
673
669
  options: RawAxiosRequestConfig = {},
674
670
  ): Promise<RequestArgs> => {
675
671
  // verify required parameter 'packId' is not null or undefined
676
- assertParamExists("deletePackFromTeam", "packId", packId);
677
- // verify required parameter 'packTeamParams' is not null or undefined
678
- assertParamExists("deletePackFromTeam", "packTeamParams", packTeamParams);
679
- const localVarPath = `/packs/{pack_id}/teams`.replace(
672
+ assertParamExists("deletePackFromGroup", "packId", packId);
673
+ // verify required parameter 'deletePackFromGroupRequest' is not null or undefined
674
+ assertParamExists(
675
+ "deletePackFromGroup",
676
+ "deletePackFromGroupRequest",
677
+ deletePackFromGroupRequest,
678
+ );
679
+ const localVarPath = `/packs/{pack_id}/groups`.replace(
680
680
  `{${"pack_id"}}`,
681
681
  encodeURIComponent(String(packId)),
682
682
  );
@@ -695,9 +695,6 @@ export const PackApiAxiosParamCreator = function (
695
695
  const localVarHeaderParameter = {} as any;
696
696
  const localVarQueryParameter = {} as any;
697
697
 
698
- // authentication Cookie required
699
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
700
-
701
698
  // authentication Basic required
702
699
  // http basic authentication required
703
700
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -724,7 +721,7 @@ export const PackApiAxiosParamCreator = function (
724
721
  ...options.headers,
725
722
  };
726
723
  localVarRequestOptions.data = serializeDataIfNeeded(
727
- packTeamParams,
724
+ deletePackFromGroupRequest,
728
725
  localVarRequestOptions,
729
726
  configuration,
730
727
  );
@@ -738,19 +735,23 @@ export const PackApiAxiosParamCreator = function (
738
735
  *
739
736
  * @summary Unlink a user from pack
740
737
  * @param {string} packId A pack identifier or slug
741
- * @param {PackUserParams} packUserParams The pack user data to unlink
738
+ * @param {DeletePackFromUserRequest} deletePackFromUserRequest The pack user data to unlink
742
739
  * @param {*} [options] Override http request option.
743
740
  * @throws {RequiredError}
744
741
  */
745
742
  deletePackFromUser: async (
746
743
  packId: string,
747
- packUserParams: PackUserParams,
744
+ deletePackFromUserRequest: DeletePackFromUserRequest,
748
745
  options: RawAxiosRequestConfig = {},
749
746
  ): Promise<RequestArgs> => {
750
747
  // verify required parameter 'packId' is not null or undefined
751
748
  assertParamExists("deletePackFromUser", "packId", packId);
752
- // verify required parameter 'packUserParams' is not null or undefined
753
- assertParamExists("deletePackFromUser", "packUserParams", packUserParams);
749
+ // verify required parameter 'deletePackFromUserRequest' is not null or undefined
750
+ assertParamExists(
751
+ "deletePackFromUser",
752
+ "deletePackFromUserRequest",
753
+ deletePackFromUserRequest,
754
+ );
754
755
  const localVarPath = `/packs/{pack_id}/users`.replace(
755
756
  `{${"pack_id"}}`,
756
757
  encodeURIComponent(String(packId)),
@@ -770,9 +771,6 @@ export const PackApiAxiosParamCreator = function (
770
771
  const localVarHeaderParameter = {} as any;
771
772
  const localVarQueryParameter = {} as any;
772
773
 
773
- // authentication Cookie required
774
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
775
-
776
774
  // authentication Basic required
777
775
  // http basic authentication required
778
776
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -799,7 +797,7 @@ export const PackApiAxiosParamCreator = function (
799
797
  ...options.headers,
800
798
  };
801
799
  localVarRequestOptions.data = serializeDataIfNeeded(
802
- packUserParams,
800
+ deletePackFromUserRequest,
803
801
  localVarRequestOptions,
804
802
  configuration,
805
803
  );
@@ -815,7 +813,7 @@ export const PackApiAxiosParamCreator = function (
815
813
  * @param {string} packId A pack identifier or slug
816
814
  * @param {string} buildId A build identifier or slug
817
815
  * @param {string} [search] Search query
818
- * @param {ListBuildVersionsSortEnum} [sort] Sorting column
816
+ * @param {string} [sort] Sorting column
819
817
  * @param {ListBuildVersionsOrderEnum} [order] Sorting order
820
818
  * @param {number} [limit] Paging limit
821
819
  * @param {number} [offset] Paging offset
@@ -826,7 +824,7 @@ export const PackApiAxiosParamCreator = function (
826
824
  packId: string,
827
825
  buildId: string,
828
826
  search?: string,
829
- sort?: ListBuildVersionsSortEnum,
827
+ sort?: string,
830
828
  order?: ListBuildVersionsOrderEnum,
831
829
  limit?: number,
832
830
  offset?: number,
@@ -854,9 +852,6 @@ export const PackApiAxiosParamCreator = function (
854
852
  const localVarHeaderParameter = {} as any;
855
853
  const localVarQueryParameter = {} as any;
856
854
 
857
- // authentication Cookie required
858
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
859
-
860
855
  // authentication Basic required
861
856
  // http basic authentication required
862
857
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -911,7 +906,7 @@ export const PackApiAxiosParamCreator = function (
911
906
  * @summary Fetch all available builds for a pack
912
907
  * @param {string} packId A pack identifier or slug
913
908
  * @param {string} [search] Search query
914
- * @param {ListBuildsSortEnum} [sort] Sorting column
909
+ * @param {string} [sort] Sorting column
915
910
  * @param {ListBuildsOrderEnum} [order] Sorting order
916
911
  * @param {number} [limit] Paging limit
917
912
  * @param {number} [offset] Paging offset
@@ -921,7 +916,7 @@ export const PackApiAxiosParamCreator = function (
921
916
  listBuilds: async (
922
917
  packId: string,
923
918
  search?: string,
924
- sort?: ListBuildsSortEnum,
919
+ sort?: string,
925
920
  order?: ListBuildsOrderEnum,
926
921
  limit?: number,
927
922
  offset?: number,
@@ -948,9 +943,6 @@ export const PackApiAxiosParamCreator = function (
948
943
  const localVarHeaderParameter = {} as any;
949
944
  const localVarQueryParameter = {} as any;
950
945
 
951
- // authentication Cookie required
952
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
953
-
954
946
  // authentication Basic required
955
947
  // http basic authentication required
956
948
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1002,28 +994,28 @@ export const PackApiAxiosParamCreator = function (
1002
994
  },
1003
995
  /**
1004
996
  *
1005
- * @summary Fetch all teams attached to pack
997
+ * @summary Fetch all groups attached to pack
1006
998
  * @param {string} packId A pack identifier or slug
1007
999
  * @param {string} [search] Search query
1008
- * @param {ListPackTeamsSortEnum} [sort] Sorting column
1009
- * @param {ListPackTeamsOrderEnum} [order] Sorting order
1000
+ * @param {string} [sort] Sorting column
1001
+ * @param {ListPackGroupsOrderEnum} [order] Sorting order
1010
1002
  * @param {number} [limit] Paging limit
1011
1003
  * @param {number} [offset] Paging offset
1012
1004
  * @param {*} [options] Override http request option.
1013
1005
  * @throws {RequiredError}
1014
1006
  */
1015
- listPackTeams: async (
1007
+ listPackGroups: async (
1016
1008
  packId: string,
1017
1009
  search?: string,
1018
- sort?: ListPackTeamsSortEnum,
1019
- order?: ListPackTeamsOrderEnum,
1010
+ sort?: string,
1011
+ order?: ListPackGroupsOrderEnum,
1020
1012
  limit?: number,
1021
1013
  offset?: number,
1022
1014
  options: RawAxiosRequestConfig = {},
1023
1015
  ): Promise<RequestArgs> => {
1024
1016
  // verify required parameter 'packId' is not null or undefined
1025
- assertParamExists("listPackTeams", "packId", packId);
1026
- const localVarPath = `/packs/{pack_id}/teams`.replace(
1017
+ assertParamExists("listPackGroups", "packId", packId);
1018
+ const localVarPath = `/packs/{pack_id}/groups`.replace(
1027
1019
  `{${"pack_id"}}`,
1028
1020
  encodeURIComponent(String(packId)),
1029
1021
  );
@@ -1042,9 +1034,6 @@ export const PackApiAxiosParamCreator = function (
1042
1034
  const localVarHeaderParameter = {} as any;
1043
1035
  const localVarQueryParameter = {} as any;
1044
1036
 
1045
- // authentication Cookie required
1046
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1047
-
1048
1037
  // authentication Basic required
1049
1038
  // http basic authentication required
1050
1039
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1099,7 +1088,7 @@ export const PackApiAxiosParamCreator = function (
1099
1088
  * @summary Fetch all users attached to pack
1100
1089
  * @param {string} packId A pack identifier or slug
1101
1090
  * @param {string} [search] Search query
1102
- * @param {ListPackUsersSortEnum} [sort] Sorting column
1091
+ * @param {string} [sort] Sorting column
1103
1092
  * @param {ListPackUsersOrderEnum} [order] Sorting order
1104
1093
  * @param {number} [limit] Paging limit
1105
1094
  * @param {number} [offset] Paging offset
@@ -1109,7 +1098,7 @@ export const PackApiAxiosParamCreator = function (
1109
1098
  listPackUsers: async (
1110
1099
  packId: string,
1111
1100
  search?: string,
1112
- sort?: ListPackUsersSortEnum,
1101
+ sort?: string,
1113
1102
  order?: ListPackUsersOrderEnum,
1114
1103
  limit?: number,
1115
1104
  offset?: number,
@@ -1136,9 +1125,6 @@ export const PackApiAxiosParamCreator = function (
1136
1125
  const localVarHeaderParameter = {} as any;
1137
1126
  const localVarQueryParameter = {} as any;
1138
1127
 
1139
- // authentication Cookie required
1140
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1141
-
1142
1128
  // authentication Basic required
1143
1129
  // http basic authentication required
1144
1130
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1192,7 +1178,7 @@ export const PackApiAxiosParamCreator = function (
1192
1178
  *
1193
1179
  * @summary Fetch all available packs
1194
1180
  * @param {string} [search] Search query
1195
- * @param {ListPacksSortEnum} [sort] Sorting column
1181
+ * @param {string} [sort] Sorting column
1196
1182
  * @param {ListPacksOrderEnum} [order] Sorting order
1197
1183
  * @param {number} [limit] Paging limit
1198
1184
  * @param {number} [offset] Paging offset
@@ -1201,7 +1187,7 @@ export const PackApiAxiosParamCreator = function (
1201
1187
  */
1202
1188
  listPacks: async (
1203
1189
  search?: string,
1204
- sort?: ListPacksSortEnum,
1190
+ sort?: string,
1205
1191
  order?: ListPacksOrderEnum,
1206
1192
  limit?: number,
1207
1193
  offset?: number,
@@ -1223,9 +1209,6 @@ export const PackApiAxiosParamCreator = function (
1223
1209
  const localVarHeaderParameter = {} as any;
1224
1210
  const localVarQueryParameter = {} as any;
1225
1211
 
1226
- // authentication Cookie required
1227
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1228
-
1229
1212
  // authentication Basic required
1230
1213
  // http basic authentication required
1231
1214
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1277,22 +1260,26 @@ export const PackApiAxiosParamCreator = function (
1277
1260
  },
1278
1261
  /**
1279
1262
  *
1280
- * @summary Update team perms for pack
1263
+ * @summary Update group perms for pack
1281
1264
  * @param {string} packId A pack identifier or slug
1282
- * @param {PackTeamParams} packTeamParams The team data to update
1265
+ * @param {PermitPackGroupRequest} permitPackGroupRequest The pack group data to permit
1283
1266
  * @param {*} [options] Override http request option.
1284
1267
  * @throws {RequiredError}
1285
1268
  */
1286
- permitPackTeam: async (
1269
+ permitPackGroup: async (
1287
1270
  packId: string,
1288
- packTeamParams: PackTeamParams,
1271
+ permitPackGroupRequest: PermitPackGroupRequest,
1289
1272
  options: RawAxiosRequestConfig = {},
1290
1273
  ): Promise<RequestArgs> => {
1291
1274
  // verify required parameter 'packId' is not null or undefined
1292
- assertParamExists("permitPackTeam", "packId", packId);
1293
- // verify required parameter 'packTeamParams' is not null or undefined
1294
- assertParamExists("permitPackTeam", "packTeamParams", packTeamParams);
1295
- const localVarPath = `/packs/{pack_id}/teams`.replace(
1275
+ assertParamExists("permitPackGroup", "packId", packId);
1276
+ // verify required parameter 'permitPackGroupRequest' is not null or undefined
1277
+ assertParamExists(
1278
+ "permitPackGroup",
1279
+ "permitPackGroupRequest",
1280
+ permitPackGroupRequest,
1281
+ );
1282
+ const localVarPath = `/packs/{pack_id}/groups`.replace(
1296
1283
  `{${"pack_id"}}`,
1297
1284
  encodeURIComponent(String(packId)),
1298
1285
  );
@@ -1311,9 +1298,6 @@ export const PackApiAxiosParamCreator = function (
1311
1298
  const localVarHeaderParameter = {} as any;
1312
1299
  const localVarQueryParameter = {} as any;
1313
1300
 
1314
- // authentication Cookie required
1315
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1316
-
1317
1301
  // authentication Basic required
1318
1302
  // http basic authentication required
1319
1303
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1340,7 +1324,7 @@ export const PackApiAxiosParamCreator = function (
1340
1324
  ...options.headers,
1341
1325
  };
1342
1326
  localVarRequestOptions.data = serializeDataIfNeeded(
1343
- packTeamParams,
1327
+ permitPackGroupRequest,
1344
1328
  localVarRequestOptions,
1345
1329
  configuration,
1346
1330
  );
@@ -1354,19 +1338,23 @@ export const PackApiAxiosParamCreator = function (
1354
1338
  *
1355
1339
  * @summary Update user perms for pack
1356
1340
  * @param {string} packId A pack identifier or slug
1357
- * @param {PackUserParams} packUserParams The user data to update
1341
+ * @param {PermitPackUserRequest} permitPackUserRequest The pack user data to permit
1358
1342
  * @param {*} [options] Override http request option.
1359
1343
  * @throws {RequiredError}
1360
1344
  */
1361
1345
  permitPackUser: async (
1362
1346
  packId: string,
1363
- packUserParams: PackUserParams,
1347
+ permitPackUserRequest: PermitPackUserRequest,
1364
1348
  options: RawAxiosRequestConfig = {},
1365
1349
  ): Promise<RequestArgs> => {
1366
1350
  // verify required parameter 'packId' is not null or undefined
1367
1351
  assertParamExists("permitPackUser", "packId", packId);
1368
- // verify required parameter 'packUserParams' is not null or undefined
1369
- assertParamExists("permitPackUser", "packUserParams", packUserParams);
1352
+ // verify required parameter 'permitPackUserRequest' is not null or undefined
1353
+ assertParamExists(
1354
+ "permitPackUser",
1355
+ "permitPackUserRequest",
1356
+ permitPackUserRequest,
1357
+ );
1370
1358
  const localVarPath = `/packs/{pack_id}/users`.replace(
1371
1359
  `{${"pack_id"}}`,
1372
1360
  encodeURIComponent(String(packId)),
@@ -1386,9 +1374,6 @@ export const PackApiAxiosParamCreator = function (
1386
1374
  const localVarHeaderParameter = {} as any;
1387
1375
  const localVarQueryParameter = {} as any;
1388
1376
 
1389
- // authentication Cookie required
1390
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1391
-
1392
1377
  // authentication Basic required
1393
1378
  // http basic authentication required
1394
1379
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1415,7 +1400,7 @@ export const PackApiAxiosParamCreator = function (
1415
1400
  ...options.headers,
1416
1401
  };
1417
1402
  localVarRequestOptions.data = serializeDataIfNeeded(
1418
- packUserParams,
1403
+ permitPackUserRequest,
1419
1404
  localVarRequestOptions,
1420
1405
  configuration,
1421
1406
  );
@@ -1460,9 +1445,6 @@ export const PackApiAxiosParamCreator = function (
1460
1445
  const localVarHeaderParameter = {} as any;
1461
1446
  const localVarQueryParameter = {} as any;
1462
1447
 
1463
- // authentication Cookie required
1464
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1465
-
1466
1448
  // authentication Basic required
1467
1449
  // http basic authentication required
1468
1450
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1524,9 +1506,6 @@ export const PackApiAxiosParamCreator = function (
1524
1506
  const localVarHeaderParameter = {} as any;
1525
1507
  const localVarQueryParameter = {} as any;
1526
1508
 
1527
- // authentication Cookie required
1528
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1529
-
1530
1509
  // authentication Basic required
1531
1510
  // http basic authentication required
1532
1511
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1561,22 +1540,26 @@ export const PackApiAxiosParamCreator = function (
1561
1540
  * @summary Update a specific build for a pack
1562
1541
  * @param {string} packId A pack identifier or slug
1563
1542
  * @param {string} buildId A build identifier or slug
1564
- * @param {Build} build The build data to update
1543
+ * @param {CreateBuildRequest} createBuildRequest The build data to update
1565
1544
  * @param {*} [options] Override http request option.
1566
1545
  * @throws {RequiredError}
1567
1546
  */
1568
1547
  updateBuild: async (
1569
1548
  packId: string,
1570
1549
  buildId: string,
1571
- build: Build,
1550
+ createBuildRequest: CreateBuildRequest,
1572
1551
  options: RawAxiosRequestConfig = {},
1573
1552
  ): Promise<RequestArgs> => {
1574
1553
  // verify required parameter 'packId' is not null or undefined
1575
1554
  assertParamExists("updateBuild", "packId", packId);
1576
1555
  // verify required parameter 'buildId' is not null or undefined
1577
1556
  assertParamExists("updateBuild", "buildId", buildId);
1578
- // verify required parameter 'build' is not null or undefined
1579
- assertParamExists("updateBuild", "build", build);
1557
+ // verify required parameter 'createBuildRequest' is not null or undefined
1558
+ assertParamExists(
1559
+ "updateBuild",
1560
+ "createBuildRequest",
1561
+ createBuildRequest,
1562
+ );
1580
1563
  const localVarPath = `/packs/{pack_id}/builds/{build_id}`
1581
1564
  .replace(`{${"pack_id"}}`, encodeURIComponent(String(packId)))
1582
1565
  .replace(`{${"build_id"}}`, encodeURIComponent(String(buildId)));
@@ -1595,9 +1578,6 @@ export const PackApiAxiosParamCreator = function (
1595
1578
  const localVarHeaderParameter = {} as any;
1596
1579
  const localVarQueryParameter = {} as any;
1597
1580
 
1598
- // authentication Cookie required
1599
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1600
-
1601
1581
  // authentication Basic required
1602
1582
  // http basic authentication required
1603
1583
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1624,7 +1604,7 @@ export const PackApiAxiosParamCreator = function (
1624
1604
  ...options.headers,
1625
1605
  };
1626
1606
  localVarRequestOptions.data = serializeDataIfNeeded(
1627
- build,
1607
+ createBuildRequest,
1628
1608
  localVarRequestOptions,
1629
1609
  configuration,
1630
1610
  );
@@ -1638,19 +1618,19 @@ export const PackApiAxiosParamCreator = function (
1638
1618
  *
1639
1619
  * @summary Update a specific pack
1640
1620
  * @param {string} packId A pack identifier or slug
1641
- * @param {Pack} pack The pack data to update
1621
+ * @param {CreatePackRequest} createPackRequest The pack data to update
1642
1622
  * @param {*} [options] Override http request option.
1643
1623
  * @throws {RequiredError}
1644
1624
  */
1645
1625
  updatePack: async (
1646
1626
  packId: string,
1647
- pack: Pack,
1627
+ createPackRequest: CreatePackRequest,
1648
1628
  options: RawAxiosRequestConfig = {},
1649
1629
  ): Promise<RequestArgs> => {
1650
1630
  // verify required parameter 'packId' is not null or undefined
1651
1631
  assertParamExists("updatePack", "packId", packId);
1652
- // verify required parameter 'pack' is not null or undefined
1653
- assertParamExists("updatePack", "pack", pack);
1632
+ // verify required parameter 'createPackRequest' is not null or undefined
1633
+ assertParamExists("updatePack", "createPackRequest", createPackRequest);
1654
1634
  const localVarPath = `/packs/{pack_id}`.replace(
1655
1635
  `{${"pack_id"}}`,
1656
1636
  encodeURIComponent(String(packId)),
@@ -1670,9 +1650,6 @@ export const PackApiAxiosParamCreator = function (
1670
1650
  const localVarHeaderParameter = {} as any;
1671
1651
  const localVarQueryParameter = {} as any;
1672
1652
 
1673
- // authentication Cookie required
1674
- await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
1675
-
1676
1653
  // authentication Basic required
1677
1654
  // http basic authentication required
1678
1655
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -1699,7 +1676,7 @@ export const PackApiAxiosParamCreator = function (
1699
1676
  ...options.headers,
1700
1677
  };
1701
1678
  localVarRequestOptions.data = serializeDataIfNeeded(
1702
- pack,
1679
+ createPackRequest,
1703
1680
  localVarRequestOptions,
1704
1681
  configuration,
1705
1682
  );
@@ -1724,14 +1701,14 @@ export const PackApiFp = function (configuration?: Configuration) {
1724
1701
  * @summary Attach a version to a build
1725
1702
  * @param {string} packId A pack identifier or slug
1726
1703
  * @param {string} buildId A build identifier or slug
1727
- * @param {BuildVersionParams} buildVersionParams The build version data to attach
1704
+ * @param {AttachBuildToVersionRequest} attachBuildToVersionRequest The build version data to create or delete
1728
1705
  * @param {*} [options] Override http request option.
1729
1706
  * @throws {RequiredError}
1730
1707
  */
1731
1708
  async attachBuildToVersion(
1732
1709
  packId: string,
1733
1710
  buildId: string,
1734
- buildVersionParams: BuildVersionParams,
1711
+ attachBuildToVersionRequest: AttachBuildToVersionRequest,
1735
1712
  options?: RawAxiosRequestConfig,
1736
1713
  ): Promise<
1737
1714
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
@@ -1740,7 +1717,7 @@ export const PackApiFp = function (configuration?: Configuration) {
1740
1717
  await localVarAxiosParamCreator.attachBuildToVersion(
1741
1718
  packId,
1742
1719
  buildId,
1743
- buildVersionParams,
1720
+ attachBuildToVersionRequest,
1744
1721
  options,
1745
1722
  );
1746
1723
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -1758,28 +1735,28 @@ export const PackApiFp = function (configuration?: Configuration) {
1758
1735
  },
1759
1736
  /**
1760
1737
  *
1761
- * @summary Attach a team to pack
1738
+ * @summary Attach a group to pack
1762
1739
  * @param {string} packId A pack identifier or slug
1763
- * @param {PackTeamParams} packTeamParams The team data to attach
1740
+ * @param {PermitPackGroupRequest} permitPackGroupRequest The pack group data to permit
1764
1741
  * @param {*} [options] Override http request option.
1765
1742
  * @throws {RequiredError}
1766
1743
  */
1767
- async attachPackToTeam(
1744
+ async attachPackToGroup(
1768
1745
  packId: string,
1769
- packTeamParams: PackTeamParams,
1746
+ permitPackGroupRequest: PermitPackGroupRequest,
1770
1747
  options?: RawAxiosRequestConfig,
1771
1748
  ): Promise<
1772
1749
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
1773
1750
  > {
1774
1751
  const localVarAxiosArgs =
1775
- await localVarAxiosParamCreator.attachPackToTeam(
1752
+ await localVarAxiosParamCreator.attachPackToGroup(
1776
1753
  packId,
1777
- packTeamParams,
1754
+ permitPackGroupRequest,
1778
1755
  options,
1779
1756
  );
1780
1757
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1781
1758
  const localVarOperationServerBasePath =
1782
- operationServerMap["PackApi.attachPackToTeam"]?.[
1759
+ operationServerMap["PackApi.attachPackToGroup"]?.[
1783
1760
  localVarOperationServerIndex
1784
1761
  ]?.url;
1785
1762
  return (axios, basePath) =>
@@ -1794,13 +1771,13 @@ export const PackApiFp = function (configuration?: Configuration) {
1794
1771
  *
1795
1772
  * @summary Attach a user to pack
1796
1773
  * @param {string} packId A pack identifier or slug
1797
- * @param {PackUserParams} packUserParams The user data to attach
1774
+ * @param {PermitPackUserRequest} permitPackUserRequest The pack user data to permit
1798
1775
  * @param {*} [options] Override http request option.
1799
1776
  * @throws {RequiredError}
1800
1777
  */
1801
1778
  async attachPackToUser(
1802
1779
  packId: string,
1803
- packUserParams: PackUserParams,
1780
+ permitPackUserRequest: PermitPackUserRequest,
1804
1781
  options?: RawAxiosRequestConfig,
1805
1782
  ): Promise<
1806
1783
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
@@ -1808,7 +1785,7 @@ export const PackApiFp = function (configuration?: Configuration) {
1808
1785
  const localVarAxiosArgs =
1809
1786
  await localVarAxiosParamCreator.attachPackToUser(
1810
1787
  packId,
1811
- packUserParams,
1788
+ permitPackUserRequest,
1812
1789
  options,
1813
1790
  );
1814
1791
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -1828,20 +1805,20 @@ export const PackApiFp = function (configuration?: Configuration) {
1828
1805
  *
1829
1806
  * @summary Create a new build for a pack
1830
1807
  * @param {string} packId A pack identifier or slug
1831
- * @param {Build} build The build data to create
1808
+ * @param {CreateBuildRequest} createBuildRequest The build data to create
1832
1809
  * @param {*} [options] Override http request option.
1833
1810
  * @throws {RequiredError}
1834
1811
  */
1835
1812
  async createBuild(
1836
1813
  packId: string,
1837
- build: Build,
1814
+ createBuildRequest: CreateBuildRequest,
1838
1815
  options?: RawAxiosRequestConfig,
1839
1816
  ): Promise<
1840
1817
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>
1841
1818
  > {
1842
1819
  const localVarAxiosArgs = await localVarAxiosParamCreator.createBuild(
1843
1820
  packId,
1844
- build,
1821
+ createBuildRequest,
1845
1822
  options,
1846
1823
  );
1847
1824
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -1860,18 +1837,18 @@ export const PackApiFp = function (configuration?: Configuration) {
1860
1837
  /**
1861
1838
  *
1862
1839
  * @summary Create a new pack
1863
- * @param {Pack} pack The pack data to create
1840
+ * @param {CreatePackRequest} createPackRequest The pack data to create
1864
1841
  * @param {*} [options] Override http request option.
1865
1842
  * @throws {RequiredError}
1866
1843
  */
1867
1844
  async createPack(
1868
- pack: Pack,
1845
+ createPackRequest: CreatePackRequest,
1869
1846
  options?: RawAxiosRequestConfig,
1870
1847
  ): Promise<
1871
1848
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pack>
1872
1849
  > {
1873
1850
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPack(
1874
- pack,
1851
+ createPackRequest,
1875
1852
  options,
1876
1853
  );
1877
1854
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -1924,14 +1901,14 @@ export const PackApiFp = function (configuration?: Configuration) {
1924
1901
  * @summary Unlink a version from a build
1925
1902
  * @param {string} packId A pack identifier or slug
1926
1903
  * @param {string} buildId A build identifier or slug
1927
- * @param {BuildVersionParams} buildVersionParams The build version data to unlink
1904
+ * @param {AttachBuildToVersionRequest} attachBuildToVersionRequest The build version data to create or delete
1928
1905
  * @param {*} [options] Override http request option.
1929
1906
  * @throws {RequiredError}
1930
1907
  */
1931
1908
  async deleteBuildFromVersion(
1932
1909
  packId: string,
1933
1910
  buildId: string,
1934
- buildVersionParams: BuildVersionParams,
1911
+ attachBuildToVersionRequest: AttachBuildToVersionRequest,
1935
1912
  options?: RawAxiosRequestConfig,
1936
1913
  ): Promise<
1937
1914
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
@@ -1940,7 +1917,7 @@ export const PackApiFp = function (configuration?: Configuration) {
1940
1917
  await localVarAxiosParamCreator.deleteBuildFromVersion(
1941
1918
  packId,
1942
1919
  buildId,
1943
- buildVersionParams,
1920
+ attachBuildToVersionRequest,
1944
1921
  options,
1945
1922
  );
1946
1923
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -1987,28 +1964,28 @@ export const PackApiFp = function (configuration?: Configuration) {
1987
1964
  },
1988
1965
  /**
1989
1966
  *
1990
- * @summary Unlink a team from pack
1967
+ * @summary Unlink a group from pack
1991
1968
  * @param {string} packId A pack identifier or slug
1992
- * @param {PackTeamParams} packTeamParams The pack team data to unlink
1969
+ * @param {DeletePackFromGroupRequest} deletePackFromGroupRequest The pack group data to unlink
1993
1970
  * @param {*} [options] Override http request option.
1994
1971
  * @throws {RequiredError}
1995
1972
  */
1996
- async deletePackFromTeam(
1973
+ async deletePackFromGroup(
1997
1974
  packId: string,
1998
- packTeamParams: PackTeamParams,
1975
+ deletePackFromGroupRequest: DeletePackFromGroupRequest,
1999
1976
  options?: RawAxiosRequestConfig,
2000
1977
  ): Promise<
2001
1978
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
2002
1979
  > {
2003
1980
  const localVarAxiosArgs =
2004
- await localVarAxiosParamCreator.deletePackFromTeam(
1981
+ await localVarAxiosParamCreator.deletePackFromGroup(
2005
1982
  packId,
2006
- packTeamParams,
1983
+ deletePackFromGroupRequest,
2007
1984
  options,
2008
1985
  );
2009
1986
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2010
1987
  const localVarOperationServerBasePath =
2011
- operationServerMap["PackApi.deletePackFromTeam"]?.[
1988
+ operationServerMap["PackApi.deletePackFromGroup"]?.[
2012
1989
  localVarOperationServerIndex
2013
1990
  ]?.url;
2014
1991
  return (axios, basePath) =>
@@ -2023,13 +2000,13 @@ export const PackApiFp = function (configuration?: Configuration) {
2023
2000
  *
2024
2001
  * @summary Unlink a user from pack
2025
2002
  * @param {string} packId A pack identifier or slug
2026
- * @param {PackUserParams} packUserParams The pack user data to unlink
2003
+ * @param {DeletePackFromUserRequest} deletePackFromUserRequest The pack user data to unlink
2027
2004
  * @param {*} [options] Override http request option.
2028
2005
  * @throws {RequiredError}
2029
2006
  */
2030
2007
  async deletePackFromUser(
2031
2008
  packId: string,
2032
- packUserParams: PackUserParams,
2009
+ deletePackFromUserRequest: DeletePackFromUserRequest,
2033
2010
  options?: RawAxiosRequestConfig,
2034
2011
  ): Promise<
2035
2012
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
@@ -2037,7 +2014,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2037
2014
  const localVarAxiosArgs =
2038
2015
  await localVarAxiosParamCreator.deletePackFromUser(
2039
2016
  packId,
2040
- packUserParams,
2017
+ deletePackFromUserRequest,
2041
2018
  options,
2042
2019
  );
2043
2020
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -2059,7 +2036,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2059
2036
  * @param {string} packId A pack identifier or slug
2060
2037
  * @param {string} buildId A build identifier or slug
2061
2038
  * @param {string} [search] Search query
2062
- * @param {ListBuildVersionsSortEnum} [sort] Sorting column
2039
+ * @param {string} [sort] Sorting column
2063
2040
  * @param {ListBuildVersionsOrderEnum} [order] Sorting order
2064
2041
  * @param {number} [limit] Paging limit
2065
2042
  * @param {number} [offset] Paging offset
@@ -2070,13 +2047,16 @@ export const PackApiFp = function (configuration?: Configuration) {
2070
2047
  packId: string,
2071
2048
  buildId: string,
2072
2049
  search?: string,
2073
- sort?: ListBuildVersionsSortEnum,
2050
+ sort?: string,
2074
2051
  order?: ListBuildVersionsOrderEnum,
2075
2052
  limit?: number,
2076
2053
  offset?: number,
2077
2054
  options?: RawAxiosRequestConfig,
2078
2055
  ): Promise<
2079
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildVersions>
2056
+ (
2057
+ axios?: AxiosInstance,
2058
+ basePath?: string,
2059
+ ) => AxiosPromise<ListBuildVersions200Response>
2080
2060
  > {
2081
2061
  const localVarAxiosArgs =
2082
2062
  await localVarAxiosParamCreator.listBuildVersions(
@@ -2107,7 +2087,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2107
2087
  * @summary Fetch all available builds for a pack
2108
2088
  * @param {string} packId A pack identifier or slug
2109
2089
  * @param {string} [search] Search query
2110
- * @param {ListBuildsSortEnum} [sort] Sorting column
2090
+ * @param {string} [sort] Sorting column
2111
2091
  * @param {ListBuildsOrderEnum} [order] Sorting order
2112
2092
  * @param {number} [limit] Paging limit
2113
2093
  * @param {number} [offset] Paging offset
@@ -2117,13 +2097,16 @@ export const PackApiFp = function (configuration?: Configuration) {
2117
2097
  async listBuilds(
2118
2098
  packId: string,
2119
2099
  search?: string,
2120
- sort?: ListBuildsSortEnum,
2100
+ sort?: string,
2121
2101
  order?: ListBuildsOrderEnum,
2122
2102
  limit?: number,
2123
2103
  offset?: number,
2124
2104
  options?: RawAxiosRequestConfig,
2125
2105
  ): Promise<
2126
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Builds>
2106
+ (
2107
+ axios?: AxiosInstance,
2108
+ basePath?: string,
2109
+ ) => AxiosPromise<ListBuilds200Response>
2127
2110
  > {
2128
2111
  const localVarAxiosArgs = await localVarAxiosParamCreator.listBuilds(
2129
2112
  packId,
@@ -2148,28 +2131,31 @@ export const PackApiFp = function (configuration?: Configuration) {
2148
2131
  },
2149
2132
  /**
2150
2133
  *
2151
- * @summary Fetch all teams attached to pack
2134
+ * @summary Fetch all groups attached to pack
2152
2135
  * @param {string} packId A pack identifier or slug
2153
2136
  * @param {string} [search] Search query
2154
- * @param {ListPackTeamsSortEnum} [sort] Sorting column
2155
- * @param {ListPackTeamsOrderEnum} [order] Sorting order
2137
+ * @param {string} [sort] Sorting column
2138
+ * @param {ListPackGroupsOrderEnum} [order] Sorting order
2156
2139
  * @param {number} [limit] Paging limit
2157
2140
  * @param {number} [offset] Paging offset
2158
2141
  * @param {*} [options] Override http request option.
2159
2142
  * @throws {RequiredError}
2160
2143
  */
2161
- async listPackTeams(
2144
+ async listPackGroups(
2162
2145
  packId: string,
2163
2146
  search?: string,
2164
- sort?: ListPackTeamsSortEnum,
2165
- order?: ListPackTeamsOrderEnum,
2147
+ sort?: string,
2148
+ order?: ListPackGroupsOrderEnum,
2166
2149
  limit?: number,
2167
2150
  offset?: number,
2168
2151
  options?: RawAxiosRequestConfig,
2169
2152
  ): Promise<
2170
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackTeams>
2153
+ (
2154
+ axios?: AxiosInstance,
2155
+ basePath?: string,
2156
+ ) => AxiosPromise<ListPackGroups200Response>
2171
2157
  > {
2172
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPackTeams(
2158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPackGroups(
2173
2159
  packId,
2174
2160
  search,
2175
2161
  sort,
@@ -2180,7 +2166,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2180
2166
  );
2181
2167
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2182
2168
  const localVarOperationServerBasePath =
2183
- operationServerMap["PackApi.listPackTeams"]?.[
2169
+ operationServerMap["PackApi.listPackGroups"]?.[
2184
2170
  localVarOperationServerIndex
2185
2171
  ]?.url;
2186
2172
  return (axios, basePath) =>
@@ -2196,7 +2182,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2196
2182
  * @summary Fetch all users attached to pack
2197
2183
  * @param {string} packId A pack identifier or slug
2198
2184
  * @param {string} [search] Search query
2199
- * @param {ListPackUsersSortEnum} [sort] Sorting column
2185
+ * @param {string} [sort] Sorting column
2200
2186
  * @param {ListPackUsersOrderEnum} [order] Sorting order
2201
2187
  * @param {number} [limit] Paging limit
2202
2188
  * @param {number} [offset] Paging offset
@@ -2206,13 +2192,16 @@ export const PackApiFp = function (configuration?: Configuration) {
2206
2192
  async listPackUsers(
2207
2193
  packId: string,
2208
2194
  search?: string,
2209
- sort?: ListPackUsersSortEnum,
2195
+ sort?: string,
2210
2196
  order?: ListPackUsersOrderEnum,
2211
2197
  limit?: number,
2212
2198
  offset?: number,
2213
2199
  options?: RawAxiosRequestConfig,
2214
2200
  ): Promise<
2215
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackUsers>
2201
+ (
2202
+ axios?: AxiosInstance,
2203
+ basePath?: string,
2204
+ ) => AxiosPromise<ListPackUsers200Response>
2216
2205
  > {
2217
2206
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPackUsers(
2218
2207
  packId,
@@ -2240,7 +2229,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2240
2229
  *
2241
2230
  * @summary Fetch all available packs
2242
2231
  * @param {string} [search] Search query
2243
- * @param {ListPacksSortEnum} [sort] Sorting column
2232
+ * @param {string} [sort] Sorting column
2244
2233
  * @param {ListPacksOrderEnum} [order] Sorting order
2245
2234
  * @param {number} [limit] Paging limit
2246
2235
  * @param {number} [offset] Paging offset
@@ -2249,13 +2238,16 @@ export const PackApiFp = function (configuration?: Configuration) {
2249
2238
  */
2250
2239
  async listPacks(
2251
2240
  search?: string,
2252
- sort?: ListPacksSortEnum,
2241
+ sort?: string,
2253
2242
  order?: ListPacksOrderEnum,
2254
2243
  limit?: number,
2255
2244
  offset?: number,
2256
2245
  options?: RawAxiosRequestConfig,
2257
2246
  ): Promise<
2258
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Packs>
2247
+ (
2248
+ axios?: AxiosInstance,
2249
+ basePath?: string,
2250
+ ) => AxiosPromise<ListPacks200Response>
2259
2251
  > {
2260
2252
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPacks(
2261
2253
  search,
@@ -2279,27 +2271,27 @@ export const PackApiFp = function (configuration?: Configuration) {
2279
2271
  },
2280
2272
  /**
2281
2273
  *
2282
- * @summary Update team perms for pack
2274
+ * @summary Update group perms for pack
2283
2275
  * @param {string} packId A pack identifier or slug
2284
- * @param {PackTeamParams} packTeamParams The team data to update
2276
+ * @param {PermitPackGroupRequest} permitPackGroupRequest The pack group data to permit
2285
2277
  * @param {*} [options] Override http request option.
2286
2278
  * @throws {RequiredError}
2287
2279
  */
2288
- async permitPackTeam(
2280
+ async permitPackGroup(
2289
2281
  packId: string,
2290
- packTeamParams: PackTeamParams,
2282
+ permitPackGroupRequest: PermitPackGroupRequest,
2291
2283
  options?: RawAxiosRequestConfig,
2292
2284
  ): Promise<
2293
2285
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
2294
2286
  > {
2295
- const localVarAxiosArgs = await localVarAxiosParamCreator.permitPackTeam(
2287
+ const localVarAxiosArgs = await localVarAxiosParamCreator.permitPackGroup(
2296
2288
  packId,
2297
- packTeamParams,
2289
+ permitPackGroupRequest,
2298
2290
  options,
2299
2291
  );
2300
2292
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2301
2293
  const localVarOperationServerBasePath =
2302
- operationServerMap["PackApi.permitPackTeam"]?.[
2294
+ operationServerMap["PackApi.permitPackGroup"]?.[
2303
2295
  localVarOperationServerIndex
2304
2296
  ]?.url;
2305
2297
  return (axios, basePath) =>
@@ -2314,20 +2306,20 @@ export const PackApiFp = function (configuration?: Configuration) {
2314
2306
  *
2315
2307
  * @summary Update user perms for pack
2316
2308
  * @param {string} packId A pack identifier or slug
2317
- * @param {PackUserParams} packUserParams The user data to update
2309
+ * @param {PermitPackUserRequest} permitPackUserRequest The pack user data to permit
2318
2310
  * @param {*} [options] Override http request option.
2319
2311
  * @throws {RequiredError}
2320
2312
  */
2321
2313
  async permitPackUser(
2322
2314
  packId: string,
2323
- packUserParams: PackUserParams,
2315
+ permitPackUserRequest: PermitPackUserRequest,
2324
2316
  options?: RawAxiosRequestConfig,
2325
2317
  ): Promise<
2326
2318
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
2327
2319
  > {
2328
2320
  const localVarAxiosArgs = await localVarAxiosParamCreator.permitPackUser(
2329
2321
  packId,
2330
- packUserParams,
2322
+ permitPackUserRequest,
2331
2323
  options,
2332
2324
  );
2333
2325
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -2409,14 +2401,14 @@ export const PackApiFp = function (configuration?: Configuration) {
2409
2401
  * @summary Update a specific build for a pack
2410
2402
  * @param {string} packId A pack identifier or slug
2411
2403
  * @param {string} buildId A build identifier or slug
2412
- * @param {Build} build The build data to update
2404
+ * @param {CreateBuildRequest} createBuildRequest The build data to update
2413
2405
  * @param {*} [options] Override http request option.
2414
2406
  * @throws {RequiredError}
2415
2407
  */
2416
2408
  async updateBuild(
2417
2409
  packId: string,
2418
2410
  buildId: string,
2419
- build: Build,
2411
+ createBuildRequest: CreateBuildRequest,
2420
2412
  options?: RawAxiosRequestConfig,
2421
2413
  ): Promise<
2422
2414
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Build>
@@ -2424,7 +2416,7 @@ export const PackApiFp = function (configuration?: Configuration) {
2424
2416
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateBuild(
2425
2417
  packId,
2426
2418
  buildId,
2427
- build,
2419
+ createBuildRequest,
2428
2420
  options,
2429
2421
  );
2430
2422
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -2444,20 +2436,20 @@ export const PackApiFp = function (configuration?: Configuration) {
2444
2436
  *
2445
2437
  * @summary Update a specific pack
2446
2438
  * @param {string} packId A pack identifier or slug
2447
- * @param {Pack} pack The pack data to update
2439
+ * @param {CreatePackRequest} createPackRequest The pack data to update
2448
2440
  * @param {*} [options] Override http request option.
2449
2441
  * @throws {RequiredError}
2450
2442
  */
2451
2443
  async updatePack(
2452
2444
  packId: string,
2453
- pack: Pack,
2445
+ createPackRequest: CreatePackRequest,
2454
2446
  options?: RawAxiosRequestConfig,
2455
2447
  ): Promise<
2456
2448
  (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pack>
2457
2449
  > {
2458
2450
  const localVarAxiosArgs = await localVarAxiosParamCreator.updatePack(
2459
2451
  packId,
2460
- pack,
2452
+ createPackRequest,
2461
2453
  options,
2462
2454
  );
2463
2455
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -2501,26 +2493,26 @@ export const PackApiFactory = function (
2501
2493
  .attachBuildToVersion(
2502
2494
  requestParameters.packId,
2503
2495
  requestParameters.buildId,
2504
- requestParameters.buildVersionParams,
2496
+ requestParameters.attachBuildToVersionRequest,
2505
2497
  options,
2506
2498
  )
2507
2499
  .then((request) => request(axios, basePath));
2508
2500
  },
2509
2501
  /**
2510
2502
  *
2511
- * @summary Attach a team to pack
2512
- * @param {PackApiAttachPackToTeamRequest} requestParameters Request parameters.
2503
+ * @summary Attach a group to pack
2504
+ * @param {PackApiAttachPackToGroupRequest} requestParameters Request parameters.
2513
2505
  * @param {*} [options] Override http request option.
2514
2506
  * @throws {RequiredError}
2515
2507
  */
2516
- attachPackToTeam(
2517
- requestParameters: PackApiAttachPackToTeamRequest,
2508
+ attachPackToGroup(
2509
+ requestParameters: PackApiAttachPackToGroupRequest,
2518
2510
  options?: RawAxiosRequestConfig,
2519
2511
  ): AxiosPromise<Notification> {
2520
2512
  return localVarFp
2521
- .attachPackToTeam(
2513
+ .attachPackToGroup(
2522
2514
  requestParameters.packId,
2523
- requestParameters.packTeamParams,
2515
+ requestParameters.permitPackGroupRequest,
2524
2516
  options,
2525
2517
  )
2526
2518
  .then((request) => request(axios, basePath));
@@ -2539,7 +2531,7 @@ export const PackApiFactory = function (
2539
2531
  return localVarFp
2540
2532
  .attachPackToUser(
2541
2533
  requestParameters.packId,
2542
- requestParameters.packUserParams,
2534
+ requestParameters.permitPackUserRequest,
2543
2535
  options,
2544
2536
  )
2545
2537
  .then((request) => request(axios, basePath));
@@ -2556,7 +2548,11 @@ export const PackApiFactory = function (
2556
2548
  options?: RawAxiosRequestConfig,
2557
2549
  ): AxiosPromise<Build> {
2558
2550
  return localVarFp
2559
- .createBuild(requestParameters.packId, requestParameters.build, options)
2551
+ .createBuild(
2552
+ requestParameters.packId,
2553
+ requestParameters.createBuildRequest,
2554
+ options,
2555
+ )
2560
2556
  .then((request) => request(axios, basePath));
2561
2557
  },
2562
2558
  /**
@@ -2571,7 +2567,7 @@ export const PackApiFactory = function (
2571
2567
  options?: RawAxiosRequestConfig,
2572
2568
  ): AxiosPromise<Pack> {
2573
2569
  return localVarFp
2574
- .createPack(requestParameters.pack, options)
2570
+ .createPack(requestParameters.createPackRequest, options)
2575
2571
  .then((request) => request(axios, basePath));
2576
2572
  },
2577
2573
  /**
@@ -2608,7 +2604,7 @@ export const PackApiFactory = function (
2608
2604
  .deleteBuildFromVersion(
2609
2605
  requestParameters.packId,
2610
2606
  requestParameters.buildId,
2611
- requestParameters.buildVersionParams,
2607
+ requestParameters.attachBuildToVersionRequest,
2612
2608
  options,
2613
2609
  )
2614
2610
  .then((request) => request(axios, basePath));
@@ -2630,19 +2626,19 @@ export const PackApiFactory = function (
2630
2626
  },
2631
2627
  /**
2632
2628
  *
2633
- * @summary Unlink a team from pack
2634
- * @param {PackApiDeletePackFromTeamRequest} requestParameters Request parameters.
2629
+ * @summary Unlink a group from pack
2630
+ * @param {PackApiDeletePackFromGroupRequest} requestParameters Request parameters.
2635
2631
  * @param {*} [options] Override http request option.
2636
2632
  * @throws {RequiredError}
2637
2633
  */
2638
- deletePackFromTeam(
2639
- requestParameters: PackApiDeletePackFromTeamRequest,
2634
+ deletePackFromGroup(
2635
+ requestParameters: PackApiDeletePackFromGroupRequest,
2640
2636
  options?: RawAxiosRequestConfig,
2641
2637
  ): AxiosPromise<Notification> {
2642
2638
  return localVarFp
2643
- .deletePackFromTeam(
2639
+ .deletePackFromGroup(
2644
2640
  requestParameters.packId,
2645
- requestParameters.packTeamParams,
2641
+ requestParameters.deletePackFromGroupRequest,
2646
2642
  options,
2647
2643
  )
2648
2644
  .then((request) => request(axios, basePath));
@@ -2661,7 +2657,7 @@ export const PackApiFactory = function (
2661
2657
  return localVarFp
2662
2658
  .deletePackFromUser(
2663
2659
  requestParameters.packId,
2664
- requestParameters.packUserParams,
2660
+ requestParameters.deletePackFromUserRequest,
2665
2661
  options,
2666
2662
  )
2667
2663
  .then((request) => request(axios, basePath));
@@ -2676,7 +2672,7 @@ export const PackApiFactory = function (
2676
2672
  listBuildVersions(
2677
2673
  requestParameters: PackApiListBuildVersionsRequest,
2678
2674
  options?: RawAxiosRequestConfig,
2679
- ): AxiosPromise<BuildVersions> {
2675
+ ): AxiosPromise<ListBuildVersions200Response> {
2680
2676
  return localVarFp
2681
2677
  .listBuildVersions(
2682
2678
  requestParameters.packId,
@@ -2700,7 +2696,7 @@ export const PackApiFactory = function (
2700
2696
  listBuilds(
2701
2697
  requestParameters: PackApiListBuildsRequest,
2702
2698
  options?: RawAxiosRequestConfig,
2703
- ): AxiosPromise<Builds> {
2699
+ ): AxiosPromise<ListBuilds200Response> {
2704
2700
  return localVarFp
2705
2701
  .listBuilds(
2706
2702
  requestParameters.packId,
@@ -2715,17 +2711,17 @@ export const PackApiFactory = function (
2715
2711
  },
2716
2712
  /**
2717
2713
  *
2718
- * @summary Fetch all teams attached to pack
2719
- * @param {PackApiListPackTeamsRequest} requestParameters Request parameters.
2714
+ * @summary Fetch all groups attached to pack
2715
+ * @param {PackApiListPackGroupsRequest} requestParameters Request parameters.
2720
2716
  * @param {*} [options] Override http request option.
2721
2717
  * @throws {RequiredError}
2722
2718
  */
2723
- listPackTeams(
2724
- requestParameters: PackApiListPackTeamsRequest,
2719
+ listPackGroups(
2720
+ requestParameters: PackApiListPackGroupsRequest,
2725
2721
  options?: RawAxiosRequestConfig,
2726
- ): AxiosPromise<PackTeams> {
2722
+ ): AxiosPromise<ListPackGroups200Response> {
2727
2723
  return localVarFp
2728
- .listPackTeams(
2724
+ .listPackGroups(
2729
2725
  requestParameters.packId,
2730
2726
  requestParameters.search,
2731
2727
  requestParameters.sort,
@@ -2746,7 +2742,7 @@ export const PackApiFactory = function (
2746
2742
  listPackUsers(
2747
2743
  requestParameters: PackApiListPackUsersRequest,
2748
2744
  options?: RawAxiosRequestConfig,
2749
- ): AxiosPromise<PackUsers> {
2745
+ ): AxiosPromise<ListPackUsers200Response> {
2750
2746
  return localVarFp
2751
2747
  .listPackUsers(
2752
2748
  requestParameters.packId,
@@ -2769,7 +2765,7 @@ export const PackApiFactory = function (
2769
2765
  listPacks(
2770
2766
  requestParameters: PackApiListPacksRequest = {},
2771
2767
  options?: RawAxiosRequestConfig,
2772
- ): AxiosPromise<Packs> {
2768
+ ): AxiosPromise<ListPacks200Response> {
2773
2769
  return localVarFp
2774
2770
  .listPacks(
2775
2771
  requestParameters.search,
@@ -2783,19 +2779,19 @@ export const PackApiFactory = function (
2783
2779
  },
2784
2780
  /**
2785
2781
  *
2786
- * @summary Update team perms for pack
2787
- * @param {PackApiPermitPackTeamRequest} requestParameters Request parameters.
2782
+ * @summary Update group perms for pack
2783
+ * @param {PackApiPermitPackGroupRequest} requestParameters Request parameters.
2788
2784
  * @param {*} [options] Override http request option.
2789
2785
  * @throws {RequiredError}
2790
2786
  */
2791
- permitPackTeam(
2792
- requestParameters: PackApiPermitPackTeamRequest,
2787
+ permitPackGroup(
2788
+ requestParameters: PackApiPermitPackGroupRequest,
2793
2789
  options?: RawAxiosRequestConfig,
2794
2790
  ): AxiosPromise<Notification> {
2795
2791
  return localVarFp
2796
- .permitPackTeam(
2792
+ .permitPackGroup(
2797
2793
  requestParameters.packId,
2798
- requestParameters.packTeamParams,
2794
+ requestParameters.permitPackGroupRequest,
2799
2795
  options,
2800
2796
  )
2801
2797
  .then((request) => request(axios, basePath));
@@ -2814,7 +2810,7 @@ export const PackApiFactory = function (
2814
2810
  return localVarFp
2815
2811
  .permitPackUser(
2816
2812
  requestParameters.packId,
2817
- requestParameters.packUserParams,
2813
+ requestParameters.permitPackUserRequest,
2818
2814
  options,
2819
2815
  )
2820
2816
  .then((request) => request(axios, basePath));
@@ -2864,7 +2860,7 @@ export const PackApiFactory = function (
2864
2860
  .updateBuild(
2865
2861
  requestParameters.packId,
2866
2862
  requestParameters.buildId,
2867
- requestParameters.build,
2863
+ requestParameters.createBuildRequest,
2868
2864
  options,
2869
2865
  )
2870
2866
  .then((request) => request(axios, basePath));
@@ -2881,7 +2877,11 @@ export const PackApiFactory = function (
2881
2877
  options?: RawAxiosRequestConfig,
2882
2878
  ): AxiosPromise<Pack> {
2883
2879
  return localVarFp
2884
- .updatePack(requestParameters.packId, requestParameters.pack, options)
2880
+ .updatePack(
2881
+ requestParameters.packId,
2882
+ requestParameters.createPackRequest,
2883
+ options,
2884
+ )
2885
2885
  .then((request) => request(axios, basePath));
2886
2886
  },
2887
2887
  };
@@ -2908,32 +2908,32 @@ export interface PackApiAttachBuildToVersionRequest {
2908
2908
  readonly buildId: string;
2909
2909
 
2910
2910
  /**
2911
- * The build version data to attach
2912
- * @type {BuildVersionParams}
2911
+ * The build version data to create or delete
2912
+ * @type {AttachBuildToVersionRequest}
2913
2913
  * @memberof PackApiAttachBuildToVersion
2914
2914
  */
2915
- readonly buildVersionParams: BuildVersionParams;
2915
+ readonly attachBuildToVersionRequest: AttachBuildToVersionRequest;
2916
2916
  }
2917
2917
 
2918
2918
  /**
2919
- * Request parameters for attachPackToTeam operation in PackApi.
2919
+ * Request parameters for attachPackToGroup operation in PackApi.
2920
2920
  * @export
2921
- * @interface PackApiAttachPackToTeamRequest
2921
+ * @interface PackApiAttachPackToGroupRequest
2922
2922
  */
2923
- export interface PackApiAttachPackToTeamRequest {
2923
+ export interface PackApiAttachPackToGroupRequest {
2924
2924
  /**
2925
2925
  * A pack identifier or slug
2926
2926
  * @type {string}
2927
- * @memberof PackApiAttachPackToTeam
2927
+ * @memberof PackApiAttachPackToGroup
2928
2928
  */
2929
2929
  readonly packId: string;
2930
2930
 
2931
2931
  /**
2932
- * The team data to attach
2933
- * @type {PackTeamParams}
2934
- * @memberof PackApiAttachPackToTeam
2932
+ * The pack group data to permit
2933
+ * @type {PermitPackGroupRequest}
2934
+ * @memberof PackApiAttachPackToGroup
2935
2935
  */
2936
- readonly packTeamParams: PackTeamParams;
2936
+ readonly permitPackGroupRequest: PermitPackGroupRequest;
2937
2937
  }
2938
2938
 
2939
2939
  /**
@@ -2950,11 +2950,11 @@ export interface PackApiAttachPackToUserRequest {
2950
2950
  readonly packId: string;
2951
2951
 
2952
2952
  /**
2953
- * The user data to attach
2954
- * @type {PackUserParams}
2953
+ * The pack user data to permit
2954
+ * @type {PermitPackUserRequest}
2955
2955
  * @memberof PackApiAttachPackToUser
2956
2956
  */
2957
- readonly packUserParams: PackUserParams;
2957
+ readonly permitPackUserRequest: PermitPackUserRequest;
2958
2958
  }
2959
2959
 
2960
2960
  /**
@@ -2972,10 +2972,10 @@ export interface PackApiCreateBuildRequest {
2972
2972
 
2973
2973
  /**
2974
2974
  * The build data to create
2975
- * @type {Build}
2975
+ * @type {CreateBuildRequest}
2976
2976
  * @memberof PackApiCreateBuild
2977
2977
  */
2978
- readonly build: Build;
2978
+ readonly createBuildRequest: CreateBuildRequest;
2979
2979
  }
2980
2980
 
2981
2981
  /**
@@ -2986,10 +2986,10 @@ export interface PackApiCreateBuildRequest {
2986
2986
  export interface PackApiCreatePackRequest {
2987
2987
  /**
2988
2988
  * The pack data to create
2989
- * @type {Pack}
2989
+ * @type {CreatePackRequest}
2990
2990
  * @memberof PackApiCreatePack
2991
2991
  */
2992
- readonly pack: Pack;
2992
+ readonly createPackRequest: CreatePackRequest;
2993
2993
  }
2994
2994
 
2995
2995
  /**
@@ -3034,11 +3034,11 @@ export interface PackApiDeleteBuildFromVersionRequest {
3034
3034
  readonly buildId: string;
3035
3035
 
3036
3036
  /**
3037
- * The build version data to unlink
3038
- * @type {BuildVersionParams}
3037
+ * The build version data to create or delete
3038
+ * @type {AttachBuildToVersionRequest}
3039
3039
  * @memberof PackApiDeleteBuildFromVersion
3040
3040
  */
3041
- readonly buildVersionParams: BuildVersionParams;
3041
+ readonly attachBuildToVersionRequest: AttachBuildToVersionRequest;
3042
3042
  }
3043
3043
 
3044
3044
  /**
@@ -3056,24 +3056,24 @@ export interface PackApiDeletePackRequest {
3056
3056
  }
3057
3057
 
3058
3058
  /**
3059
- * Request parameters for deletePackFromTeam operation in PackApi.
3059
+ * Request parameters for deletePackFromGroup operation in PackApi.
3060
3060
  * @export
3061
- * @interface PackApiDeletePackFromTeamRequest
3061
+ * @interface PackApiDeletePackFromGroupRequest
3062
3062
  */
3063
- export interface PackApiDeletePackFromTeamRequest {
3063
+ export interface PackApiDeletePackFromGroupRequest {
3064
3064
  /**
3065
3065
  * A pack identifier or slug
3066
3066
  * @type {string}
3067
- * @memberof PackApiDeletePackFromTeam
3067
+ * @memberof PackApiDeletePackFromGroup
3068
3068
  */
3069
3069
  readonly packId: string;
3070
3070
 
3071
3071
  /**
3072
- * The pack team data to unlink
3073
- * @type {PackTeamParams}
3074
- * @memberof PackApiDeletePackFromTeam
3072
+ * The pack group data to unlink
3073
+ * @type {DeletePackFromGroupRequest}
3074
+ * @memberof PackApiDeletePackFromGroup
3075
3075
  */
3076
- readonly packTeamParams: PackTeamParams;
3076
+ readonly deletePackFromGroupRequest: DeletePackFromGroupRequest;
3077
3077
  }
3078
3078
 
3079
3079
  /**
@@ -3091,10 +3091,10 @@ export interface PackApiDeletePackFromUserRequest {
3091
3091
 
3092
3092
  /**
3093
3093
  * The pack user data to unlink
3094
- * @type {PackUserParams}
3094
+ * @type {DeletePackFromUserRequest}
3095
3095
  * @memberof PackApiDeletePackFromUser
3096
3096
  */
3097
- readonly packUserParams: PackUserParams;
3097
+ readonly deletePackFromUserRequest: DeletePackFromUserRequest;
3098
3098
  }
3099
3099
 
3100
3100
  /**
@@ -3126,10 +3126,10 @@ export interface PackApiListBuildVersionsRequest {
3126
3126
 
3127
3127
  /**
3128
3128
  * Sorting column
3129
- * @type {'name' | 'public'}
3129
+ * @type {string}
3130
3130
  * @memberof PackApiListBuildVersions
3131
3131
  */
3132
- readonly sort?: ListBuildVersionsSortEnum;
3132
+ readonly sort?: string;
3133
3133
 
3134
3134
  /**
3135
3135
  * Sorting order
@@ -3175,10 +3175,10 @@ export interface PackApiListBuildsRequest {
3175
3175
 
3176
3176
  /**
3177
3177
  * Sorting column
3178
- * @type {'name' | 'public'}
3178
+ * @type {string}
3179
3179
  * @memberof PackApiListBuilds
3180
3180
  */
3181
- readonly sort?: ListBuildsSortEnum;
3181
+ readonly sort?: string;
3182
3182
 
3183
3183
  /**
3184
3184
  * Sorting order
@@ -3203,50 +3203,50 @@ export interface PackApiListBuildsRequest {
3203
3203
  }
3204
3204
 
3205
3205
  /**
3206
- * Request parameters for listPackTeams operation in PackApi.
3206
+ * Request parameters for listPackGroups operation in PackApi.
3207
3207
  * @export
3208
- * @interface PackApiListPackTeamsRequest
3208
+ * @interface PackApiListPackGroupsRequest
3209
3209
  */
3210
- export interface PackApiListPackTeamsRequest {
3210
+ export interface PackApiListPackGroupsRequest {
3211
3211
  /**
3212
3212
  * A pack identifier or slug
3213
3213
  * @type {string}
3214
- * @memberof PackApiListPackTeams
3214
+ * @memberof PackApiListPackGroups
3215
3215
  */
3216
3216
  readonly packId: string;
3217
3217
 
3218
3218
  /**
3219
3219
  * Search query
3220
3220
  * @type {string}
3221
- * @memberof PackApiListPackTeams
3221
+ * @memberof PackApiListPackGroups
3222
3222
  */
3223
3223
  readonly search?: string;
3224
3224
 
3225
3225
  /**
3226
3226
  * Sorting column
3227
- * @type {'slug' | 'name'}
3228
- * @memberof PackApiListPackTeams
3227
+ * @type {string}
3228
+ * @memberof PackApiListPackGroups
3229
3229
  */
3230
- readonly sort?: ListPackTeamsSortEnum;
3230
+ readonly sort?: string;
3231
3231
 
3232
3232
  /**
3233
3233
  * Sorting order
3234
3234
  * @type {'asc' | 'desc'}
3235
- * @memberof PackApiListPackTeams
3235
+ * @memberof PackApiListPackGroups
3236
3236
  */
3237
- readonly order?: ListPackTeamsOrderEnum;
3237
+ readonly order?: ListPackGroupsOrderEnum;
3238
3238
 
3239
3239
  /**
3240
3240
  * Paging limit
3241
3241
  * @type {number}
3242
- * @memberof PackApiListPackTeams
3242
+ * @memberof PackApiListPackGroups
3243
3243
  */
3244
3244
  readonly limit?: number;
3245
3245
 
3246
3246
  /**
3247
3247
  * Paging offset
3248
3248
  * @type {number}
3249
- * @memberof PackApiListPackTeams
3249
+ * @memberof PackApiListPackGroups
3250
3250
  */
3251
3251
  readonly offset?: number;
3252
3252
  }
@@ -3273,10 +3273,10 @@ export interface PackApiListPackUsersRequest {
3273
3273
 
3274
3274
  /**
3275
3275
  * Sorting column
3276
- * @type {'username' | 'email' | 'fullname' | 'admin' | 'active'}
3276
+ * @type {string}
3277
3277
  * @memberof PackApiListPackUsers
3278
3278
  */
3279
- readonly sort?: ListPackUsersSortEnum;
3279
+ readonly sort?: string;
3280
3280
 
3281
3281
  /**
3282
3282
  * Sorting order
@@ -3315,10 +3315,10 @@ export interface PackApiListPacksRequest {
3315
3315
 
3316
3316
  /**
3317
3317
  * Sorting column
3318
- * @type {'slug' | 'name' | 'public'}
3318
+ * @type {string}
3319
3319
  * @memberof PackApiListPacks
3320
3320
  */
3321
- readonly sort?: ListPacksSortEnum;
3321
+ readonly sort?: string;
3322
3322
 
3323
3323
  /**
3324
3324
  * Sorting order
@@ -3343,24 +3343,24 @@ export interface PackApiListPacksRequest {
3343
3343
  }
3344
3344
 
3345
3345
  /**
3346
- * Request parameters for permitPackTeam operation in PackApi.
3346
+ * Request parameters for permitPackGroup operation in PackApi.
3347
3347
  * @export
3348
- * @interface PackApiPermitPackTeamRequest
3348
+ * @interface PackApiPermitPackGroupRequest
3349
3349
  */
3350
- export interface PackApiPermitPackTeamRequest {
3350
+ export interface PackApiPermitPackGroupRequest {
3351
3351
  /**
3352
3352
  * A pack identifier or slug
3353
3353
  * @type {string}
3354
- * @memberof PackApiPermitPackTeam
3354
+ * @memberof PackApiPermitPackGroup
3355
3355
  */
3356
3356
  readonly packId: string;
3357
3357
 
3358
3358
  /**
3359
- * The team data to update
3360
- * @type {PackTeamParams}
3361
- * @memberof PackApiPermitPackTeam
3359
+ * The pack group data to permit
3360
+ * @type {PermitPackGroupRequest}
3361
+ * @memberof PackApiPermitPackGroup
3362
3362
  */
3363
- readonly packTeamParams: PackTeamParams;
3363
+ readonly permitPackGroupRequest: PermitPackGroupRequest;
3364
3364
  }
3365
3365
 
3366
3366
  /**
@@ -3377,11 +3377,11 @@ export interface PackApiPermitPackUserRequest {
3377
3377
  readonly packId: string;
3378
3378
 
3379
3379
  /**
3380
- * The user data to update
3381
- * @type {PackUserParams}
3380
+ * The pack user data to permit
3381
+ * @type {PermitPackUserRequest}
3382
3382
  * @memberof PackApiPermitPackUser
3383
3383
  */
3384
- readonly packUserParams: PackUserParams;
3384
+ readonly permitPackUserRequest: PermitPackUserRequest;
3385
3385
  }
3386
3386
 
3387
3387
  /**
@@ -3441,10 +3441,10 @@ export interface PackApiUpdateBuildRequest {
3441
3441
 
3442
3442
  /**
3443
3443
  * The build data to update
3444
- * @type {Build}
3444
+ * @type {CreateBuildRequest}
3445
3445
  * @memberof PackApiUpdateBuild
3446
3446
  */
3447
- readonly build: Build;
3447
+ readonly createBuildRequest: CreateBuildRequest;
3448
3448
  }
3449
3449
 
3450
3450
  /**
@@ -3462,10 +3462,10 @@ export interface PackApiUpdatePackRequest {
3462
3462
 
3463
3463
  /**
3464
3464
  * The pack data to update
3465
- * @type {Pack}
3465
+ * @type {CreatePackRequest}
3466
3466
  * @memberof PackApiUpdatePack
3467
3467
  */
3468
- readonly pack: Pack;
3468
+ readonly createPackRequest: CreatePackRequest;
3469
3469
  }
3470
3470
 
3471
3471
  /**
@@ -3491,7 +3491,7 @@ export class PackApi extends BaseAPI {
3491
3491
  .attachBuildToVersion(
3492
3492
  requestParameters.packId,
3493
3493
  requestParameters.buildId,
3494
- requestParameters.buildVersionParams,
3494
+ requestParameters.attachBuildToVersionRequest,
3495
3495
  options,
3496
3496
  )
3497
3497
  .then((request) => request(this.axios, this.basePath));
@@ -3499,20 +3499,20 @@ export class PackApi extends BaseAPI {
3499
3499
 
3500
3500
  /**
3501
3501
  *
3502
- * @summary Attach a team to pack
3503
- * @param {PackApiAttachPackToTeamRequest} requestParameters Request parameters.
3502
+ * @summary Attach a group to pack
3503
+ * @param {PackApiAttachPackToGroupRequest} requestParameters Request parameters.
3504
3504
  * @param {*} [options] Override http request option.
3505
3505
  * @throws {RequiredError}
3506
3506
  * @memberof PackApi
3507
3507
  */
3508
- public attachPackToTeam(
3509
- requestParameters: PackApiAttachPackToTeamRequest,
3508
+ public attachPackToGroup(
3509
+ requestParameters: PackApiAttachPackToGroupRequest,
3510
3510
  options?: RawAxiosRequestConfig,
3511
3511
  ) {
3512
3512
  return PackApiFp(this.configuration)
3513
- .attachPackToTeam(
3513
+ .attachPackToGroup(
3514
3514
  requestParameters.packId,
3515
- requestParameters.packTeamParams,
3515
+ requestParameters.permitPackGroupRequest,
3516
3516
  options,
3517
3517
  )
3518
3518
  .then((request) => request(this.axios, this.basePath));
@@ -3533,7 +3533,7 @@ export class PackApi extends BaseAPI {
3533
3533
  return PackApiFp(this.configuration)
3534
3534
  .attachPackToUser(
3535
3535
  requestParameters.packId,
3536
- requestParameters.packUserParams,
3536
+ requestParameters.permitPackUserRequest,
3537
3537
  options,
3538
3538
  )
3539
3539
  .then((request) => request(this.axios, this.basePath));
@@ -3552,7 +3552,11 @@ export class PackApi extends BaseAPI {
3552
3552
  options?: RawAxiosRequestConfig,
3553
3553
  ) {
3554
3554
  return PackApiFp(this.configuration)
3555
- .createBuild(requestParameters.packId, requestParameters.build, options)
3555
+ .createBuild(
3556
+ requestParameters.packId,
3557
+ requestParameters.createBuildRequest,
3558
+ options,
3559
+ )
3556
3560
  .then((request) => request(this.axios, this.basePath));
3557
3561
  }
3558
3562
 
@@ -3569,7 +3573,7 @@ export class PackApi extends BaseAPI {
3569
3573
  options?: RawAxiosRequestConfig,
3570
3574
  ) {
3571
3575
  return PackApiFp(this.configuration)
3572
- .createPack(requestParameters.pack, options)
3576
+ .createPack(requestParameters.createPackRequest, options)
3573
3577
  .then((request) => request(this.axios, this.basePath));
3574
3578
  }
3575
3579
 
@@ -3606,7 +3610,7 @@ export class PackApi extends BaseAPI {
3606
3610
  .deleteBuildFromVersion(
3607
3611
  requestParameters.packId,
3608
3612
  requestParameters.buildId,
3609
- requestParameters.buildVersionParams,
3613
+ requestParameters.attachBuildToVersionRequest,
3610
3614
  options,
3611
3615
  )
3612
3616
  .then((request) => request(this.axios, this.basePath));
@@ -3631,20 +3635,20 @@ export class PackApi extends BaseAPI {
3631
3635
 
3632
3636
  /**
3633
3637
  *
3634
- * @summary Unlink a team from pack
3635
- * @param {PackApiDeletePackFromTeamRequest} requestParameters Request parameters.
3638
+ * @summary Unlink a group from pack
3639
+ * @param {PackApiDeletePackFromGroupRequest} requestParameters Request parameters.
3636
3640
  * @param {*} [options] Override http request option.
3637
3641
  * @throws {RequiredError}
3638
3642
  * @memberof PackApi
3639
3643
  */
3640
- public deletePackFromTeam(
3641
- requestParameters: PackApiDeletePackFromTeamRequest,
3644
+ public deletePackFromGroup(
3645
+ requestParameters: PackApiDeletePackFromGroupRequest,
3642
3646
  options?: RawAxiosRequestConfig,
3643
3647
  ) {
3644
3648
  return PackApiFp(this.configuration)
3645
- .deletePackFromTeam(
3649
+ .deletePackFromGroup(
3646
3650
  requestParameters.packId,
3647
- requestParameters.packTeamParams,
3651
+ requestParameters.deletePackFromGroupRequest,
3648
3652
  options,
3649
3653
  )
3650
3654
  .then((request) => request(this.axios, this.basePath));
@@ -3665,7 +3669,7 @@ export class PackApi extends BaseAPI {
3665
3669
  return PackApiFp(this.configuration)
3666
3670
  .deletePackFromUser(
3667
3671
  requestParameters.packId,
3668
- requestParameters.packUserParams,
3672
+ requestParameters.deletePackFromUserRequest,
3669
3673
  options,
3670
3674
  )
3671
3675
  .then((request) => request(this.axios, this.basePath));
@@ -3724,18 +3728,18 @@ export class PackApi extends BaseAPI {
3724
3728
 
3725
3729
  /**
3726
3730
  *
3727
- * @summary Fetch all teams attached to pack
3728
- * @param {PackApiListPackTeamsRequest} requestParameters Request parameters.
3731
+ * @summary Fetch all groups attached to pack
3732
+ * @param {PackApiListPackGroupsRequest} requestParameters Request parameters.
3729
3733
  * @param {*} [options] Override http request option.
3730
3734
  * @throws {RequiredError}
3731
3735
  * @memberof PackApi
3732
3736
  */
3733
- public listPackTeams(
3734
- requestParameters: PackApiListPackTeamsRequest,
3737
+ public listPackGroups(
3738
+ requestParameters: PackApiListPackGroupsRequest,
3735
3739
  options?: RawAxiosRequestConfig,
3736
3740
  ) {
3737
3741
  return PackApiFp(this.configuration)
3738
- .listPackTeams(
3742
+ .listPackGroups(
3739
3743
  requestParameters.packId,
3740
3744
  requestParameters.search,
3741
3745
  requestParameters.sort,
@@ -3798,20 +3802,20 @@ export class PackApi extends BaseAPI {
3798
3802
 
3799
3803
  /**
3800
3804
  *
3801
- * @summary Update team perms for pack
3802
- * @param {PackApiPermitPackTeamRequest} requestParameters Request parameters.
3805
+ * @summary Update group perms for pack
3806
+ * @param {PackApiPermitPackGroupRequest} requestParameters Request parameters.
3803
3807
  * @param {*} [options] Override http request option.
3804
3808
  * @throws {RequiredError}
3805
3809
  * @memberof PackApi
3806
3810
  */
3807
- public permitPackTeam(
3808
- requestParameters: PackApiPermitPackTeamRequest,
3811
+ public permitPackGroup(
3812
+ requestParameters: PackApiPermitPackGroupRequest,
3809
3813
  options?: RawAxiosRequestConfig,
3810
3814
  ) {
3811
3815
  return PackApiFp(this.configuration)
3812
- .permitPackTeam(
3816
+ .permitPackGroup(
3813
3817
  requestParameters.packId,
3814
- requestParameters.packTeamParams,
3818
+ requestParameters.permitPackGroupRequest,
3815
3819
  options,
3816
3820
  )
3817
3821
  .then((request) => request(this.axios, this.basePath));
@@ -3832,7 +3836,7 @@ export class PackApi extends BaseAPI {
3832
3836
  return PackApiFp(this.configuration)
3833
3837
  .permitPackUser(
3834
3838
  requestParameters.packId,
3835
- requestParameters.packUserParams,
3839
+ requestParameters.permitPackUserRequest,
3836
3840
  options,
3837
3841
  )
3838
3842
  .then((request) => request(this.axios, this.basePath));
@@ -3888,7 +3892,7 @@ export class PackApi extends BaseAPI {
3888
3892
  .updateBuild(
3889
3893
  requestParameters.packId,
3890
3894
  requestParameters.buildId,
3891
- requestParameters.build,
3895
+ requestParameters.createBuildRequest,
3892
3896
  options,
3893
3897
  )
3894
3898
  .then((request) => request(this.axios, this.basePath));
@@ -3907,20 +3911,15 @@ export class PackApi extends BaseAPI {
3907
3911
  options?: RawAxiosRequestConfig,
3908
3912
  ) {
3909
3913
  return PackApiFp(this.configuration)
3910
- .updatePack(requestParameters.packId, requestParameters.pack, options)
3914
+ .updatePack(
3915
+ requestParameters.packId,
3916
+ requestParameters.createPackRequest,
3917
+ options,
3918
+ )
3911
3919
  .then((request) => request(this.axios, this.basePath));
3912
3920
  }
3913
3921
  }
3914
3922
 
3915
- /**
3916
- * @export
3917
- */
3918
- export const ListBuildVersionsSortEnum = {
3919
- Name: "name",
3920
- Public: "public",
3921
- } as const;
3922
- export type ListBuildVersionsSortEnum =
3923
- (typeof ListBuildVersionsSortEnum)[keyof typeof ListBuildVersionsSortEnum];
3924
3923
  /**
3925
3924
  * @export
3926
3925
  */
@@ -3933,15 +3932,6 @@ export type ListBuildVersionsOrderEnum =
3933
3932
  /**
3934
3933
  * @export
3935
3934
  */
3936
- export const ListBuildsSortEnum = {
3937
- Name: "name",
3938
- Public: "public",
3939
- } as const;
3940
- export type ListBuildsSortEnum =
3941
- (typeof ListBuildsSortEnum)[keyof typeof ListBuildsSortEnum];
3942
- /**
3943
- * @export
3944
- */
3945
3935
  export const ListBuildsOrderEnum = {
3946
3936
  Asc: "asc",
3947
3937
  Desc: "desc",
@@ -3951,33 +3941,12 @@ export type ListBuildsOrderEnum =
3951
3941
  /**
3952
3942
  * @export
3953
3943
  */
3954
- export const ListPackTeamsSortEnum = {
3955
- Slug: "slug",
3956
- Name: "name",
3957
- } as const;
3958
- export type ListPackTeamsSortEnum =
3959
- (typeof ListPackTeamsSortEnum)[keyof typeof ListPackTeamsSortEnum];
3960
- /**
3961
- * @export
3962
- */
3963
- export const ListPackTeamsOrderEnum = {
3944
+ export const ListPackGroupsOrderEnum = {
3964
3945
  Asc: "asc",
3965
3946
  Desc: "desc",
3966
3947
  } as const;
3967
- export type ListPackTeamsOrderEnum =
3968
- (typeof ListPackTeamsOrderEnum)[keyof typeof ListPackTeamsOrderEnum];
3969
- /**
3970
- * @export
3971
- */
3972
- export const ListPackUsersSortEnum = {
3973
- Username: "username",
3974
- Email: "email",
3975
- Fullname: "fullname",
3976
- Admin: "admin",
3977
- Active: "active",
3978
- } as const;
3979
- export type ListPackUsersSortEnum =
3980
- (typeof ListPackUsersSortEnum)[keyof typeof ListPackUsersSortEnum];
3948
+ export type ListPackGroupsOrderEnum =
3949
+ (typeof ListPackGroupsOrderEnum)[keyof typeof ListPackGroupsOrderEnum];
3981
3950
  /**
3982
3951
  * @export
3983
3952
  */
@@ -3990,16 +3959,6 @@ export type ListPackUsersOrderEnum =
3990
3959
  /**
3991
3960
  * @export
3992
3961
  */
3993
- export const ListPacksSortEnum = {
3994
- Slug: "slug",
3995
- Name: "name",
3996
- Public: "public",
3997
- } as const;
3998
- export type ListPacksSortEnum =
3999
- (typeof ListPacksSortEnum)[keyof typeof ListPacksSortEnum];
4000
- /**
4001
- * @export
4002
- */
4003
3962
  export const ListPacksOrderEnum = {
4004
3963
  Asc: "asc",
4005
3964
  Desc: "desc",