gopadjs 2.18.0 → 3.0.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 (47) hide show
  1. package/.github/RELEASE +1 -1
  2. package/.github/workflows/general.yml +2 -2
  3. package/.github/workflows/openapi.yml +2 -2
  4. package/.github/workflows/release.yml +2 -2
  5. package/.openapi-generator/FILES +10 -10
  6. package/.openapi-generator/VERSION +1 -1
  7. package/CHANGELOG.md +22 -0
  8. package/README.md +2 -2
  9. package/api/auth-api.ts +8 -36
  10. package/api/group-api.ts +12 -89
  11. package/api/profile-api.ts +0 -13
  12. package/api/user-api.ts +12 -89
  13. package/base.ts +0 -24
  14. package/common.ts +0 -37
  15. package/configuration.ts +25 -18
  16. package/docs/AuthApi.md +2 -2
  17. package/docs/GroupApi.md +4 -4
  18. package/docs/UserApi.md +4 -4
  19. package/flake.lock +36 -33
  20. package/model/auth-token.ts +0 -15
  21. package/model/auth-verify.ts +0 -15
  22. package/model/create-group-request.ts +0 -15
  23. package/model/create-user-request.ts +0 -35
  24. package/model/delete-group-from-user-request.ts +0 -10
  25. package/model/delete-user-from-group-request.ts +0 -10
  26. package/model/group.ts +0 -27
  27. package/model/index.ts +5 -5
  28. package/model/{inline-object2.ts → list-group-users200-response.ts} +1 -31
  29. package/model/{inline-object1.ts → list-groups200-response.ts} +1 -26
  30. package/model/{inline-object.ts → list-providers200-response.ts} +1 -16
  31. package/model/{inline-object4.ts → list-user-groups200-response.ts} +1 -31
  32. package/model/{inline-object3.ts → list-users200-response.ts} +1 -26
  33. package/model/login-auth-request.ts +0 -15
  34. package/model/notification.ts +0 -17
  35. package/model/permit-group-user-request.ts +0 -15
  36. package/model/permit-user-group-request.ts +0 -15
  37. package/model/profile.ts +0 -62
  38. package/model/provider.ts +0 -22
  39. package/model/redirect-auth-request.ts +0 -10
  40. package/model/update-profile-request.ts +0 -25
  41. package/model/update-user-request.ts +0 -35
  42. package/model/user-auth.ts +0 -22
  43. package/model/user-group.ts +0 -37
  44. package/model/user.ts +0 -57
  45. package/model/validation.ts +0 -12
  46. package/openapi.yml +1 -1
  47. package/package.json +2 -2
package/api/group-api.ts CHANGED
@@ -48,16 +48,15 @@ import type { DeleteGroupFromUserRequest } from "../model";
48
48
  // @ts-ignore
49
49
  import type { Group } from "../model";
50
50
  // @ts-ignore
51
- import type { InlineObject1 } from "../model";
51
+ import type { ListGroupUsers200Response } from "../model";
52
52
  // @ts-ignore
53
- import type { InlineObject2 } from "../model";
53
+ import type { ListGroups200Response } from "../model";
54
54
  // @ts-ignore
55
55
  import type { Notification } from "../model";
56
56
  // @ts-ignore
57
57
  import type { PermitGroupUserRequest } from "../model";
58
58
  /**
59
59
  * GroupApi - axios parameter creator
60
- * @export
61
60
  */
62
61
  export const GroupApiAxiosParamCreator = function (
63
62
  configuration?: Configuration,
@@ -738,7 +737,6 @@ export const GroupApiAxiosParamCreator = function (
738
737
 
739
738
  /**
740
739
  * GroupApi - functional programming interface
741
- * @export
742
740
  */
743
741
  export const GroupApiFp = function (configuration?: Configuration) {
744
742
  const localVarAxiosParamCreator = GroupApiAxiosParamCreator(configuration);
@@ -892,7 +890,10 @@ export const GroupApiFp = function (configuration?: Configuration) {
892
890
  offset?: number,
893
891
  options?: RawAxiosRequestConfig,
894
892
  ): Promise<
895
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject2>
893
+ (
894
+ axios?: AxiosInstance,
895
+ basePath?: string,
896
+ ) => AxiosPromise<ListGroupUsers200Response>
896
897
  > {
897
898
  const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupUsers(
898
899
  groupId,
@@ -935,7 +936,10 @@ export const GroupApiFp = function (configuration?: Configuration) {
935
936
  offset?: number,
936
937
  options?: RawAxiosRequestConfig,
937
938
  ): Promise<
938
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>
939
+ (
940
+ axios?: AxiosInstance,
941
+ basePath?: string,
942
+ ) => AxiosPromise<ListGroups200Response>
939
943
  > {
940
944
  const localVarAxiosArgs = await localVarAxiosParamCreator.listGroups(
941
945
  search,
@@ -1058,7 +1062,6 @@ export const GroupApiFp = function (configuration?: Configuration) {
1058
1062
 
1059
1063
  /**
1060
1064
  * GroupApi - factory interface
1061
- * @export
1062
1065
  */
1063
1066
  export const GroupApiFactory = function (
1064
1067
  configuration?: Configuration,
@@ -1145,7 +1148,7 @@ export const GroupApiFactory = function (
1145
1148
  listGroupUsers(
1146
1149
  requestParameters: GroupApiListGroupUsersRequest,
1147
1150
  options?: RawAxiosRequestConfig,
1148
- ): AxiosPromise<InlineObject2> {
1151
+ ): AxiosPromise<ListGroupUsers200Response> {
1149
1152
  return localVarFp
1150
1153
  .listGroupUsers(
1151
1154
  requestParameters.groupId,
@@ -1168,7 +1171,7 @@ export const GroupApiFactory = function (
1168
1171
  listGroups(
1169
1172
  requestParameters: GroupApiListGroupsRequest = {},
1170
1173
  options?: RawAxiosRequestConfig,
1171
- ): AxiosPromise<InlineObject1> {
1174
+ ): AxiosPromise<ListGroups200Response> {
1172
1175
  return localVarFp
1173
1176
  .listGroups(
1174
1177
  requestParameters.search,
@@ -1238,226 +1241,161 @@ export const GroupApiFactory = function (
1238
1241
 
1239
1242
  /**
1240
1243
  * Request parameters for attachGroupToUser operation in GroupApi.
1241
- * @export
1242
- * @interface GroupApiAttachGroupToUserRequest
1243
1244
  */
1244
1245
  export interface GroupApiAttachGroupToUserRequest {
1245
1246
  /**
1246
1247
  * A group identifier or slug
1247
- * @type {string}
1248
- * @memberof GroupApiAttachGroupToUser
1249
1248
  */
1250
1249
  readonly groupId: string;
1251
1250
 
1252
1251
  /**
1253
1252
  * The group user data to permit
1254
- * @type {PermitGroupUserRequest}
1255
- * @memberof GroupApiAttachGroupToUser
1256
1253
  */
1257
1254
  readonly permitGroupUserRequest: PermitGroupUserRequest;
1258
1255
  }
1259
1256
 
1260
1257
  /**
1261
1258
  * Request parameters for createGroup operation in GroupApi.
1262
- * @export
1263
- * @interface GroupApiCreateGroupRequest
1264
1259
  */
1265
1260
  export interface GroupApiCreateGroupRequest {
1266
1261
  /**
1267
1262
  * The group data to create
1268
- * @type {CreateGroupRequest}
1269
- * @memberof GroupApiCreateGroup
1270
1263
  */
1271
1264
  readonly createGroupRequest: CreateGroupRequest;
1272
1265
  }
1273
1266
 
1274
1267
  /**
1275
1268
  * Request parameters for deleteGroup operation in GroupApi.
1276
- * @export
1277
- * @interface GroupApiDeleteGroupRequest
1278
1269
  */
1279
1270
  export interface GroupApiDeleteGroupRequest {
1280
1271
  /**
1281
1272
  * A group identifier or slug
1282
- * @type {string}
1283
- * @memberof GroupApiDeleteGroup
1284
1273
  */
1285
1274
  readonly groupId: string;
1286
1275
  }
1287
1276
 
1288
1277
  /**
1289
1278
  * Request parameters for deleteGroupFromUser operation in GroupApi.
1290
- * @export
1291
- * @interface GroupApiDeleteGroupFromUserRequest
1292
1279
  */
1293
1280
  export interface GroupApiDeleteGroupFromUserRequest {
1294
1281
  /**
1295
1282
  * A group identifier or slug
1296
- * @type {string}
1297
- * @memberof GroupApiDeleteGroupFromUser
1298
1283
  */
1299
1284
  readonly groupId: string;
1300
1285
 
1301
1286
  /**
1302
1287
  * The group user data to unlink
1303
- * @type {DeleteGroupFromUserRequest}
1304
- * @memberof GroupApiDeleteGroupFromUser
1305
1288
  */
1306
1289
  readonly deleteGroupFromUserRequest: DeleteGroupFromUserRequest;
1307
1290
  }
1308
1291
 
1309
1292
  /**
1310
1293
  * Request parameters for listGroupUsers operation in GroupApi.
1311
- * @export
1312
- * @interface GroupApiListGroupUsersRequest
1313
1294
  */
1314
1295
  export interface GroupApiListGroupUsersRequest {
1315
1296
  /**
1316
1297
  * A group identifier or slug
1317
- * @type {string}
1318
- * @memberof GroupApiListGroupUsers
1319
1298
  */
1320
1299
  readonly groupId: string;
1321
1300
 
1322
1301
  /**
1323
1302
  * Search query
1324
- * @type {string}
1325
- * @memberof GroupApiListGroupUsers
1326
1303
  */
1327
1304
  readonly search?: string;
1328
1305
 
1329
1306
  /**
1330
1307
  * Sorting column
1331
- * @type {string}
1332
- * @memberof GroupApiListGroupUsers
1333
1308
  */
1334
1309
  readonly sort?: string;
1335
1310
 
1336
1311
  /**
1337
1312
  * Sorting order
1338
- * @type {'asc' | 'desc'}
1339
- * @memberof GroupApiListGroupUsers
1340
1313
  */
1341
1314
  readonly order?: ListGroupUsersOrderEnum;
1342
1315
 
1343
1316
  /**
1344
1317
  * Paging limit
1345
- * @type {number}
1346
- * @memberof GroupApiListGroupUsers
1347
1318
  */
1348
1319
  readonly limit?: number;
1349
1320
 
1350
1321
  /**
1351
1322
  * Paging offset
1352
- * @type {number}
1353
- * @memberof GroupApiListGroupUsers
1354
1323
  */
1355
1324
  readonly offset?: number;
1356
1325
  }
1357
1326
 
1358
1327
  /**
1359
1328
  * Request parameters for listGroups operation in GroupApi.
1360
- * @export
1361
- * @interface GroupApiListGroupsRequest
1362
1329
  */
1363
1330
  export interface GroupApiListGroupsRequest {
1364
1331
  /**
1365
1332
  * Search query
1366
- * @type {string}
1367
- * @memberof GroupApiListGroups
1368
1333
  */
1369
1334
  readonly search?: string;
1370
1335
 
1371
1336
  /**
1372
1337
  * Sorting column
1373
- * @type {string}
1374
- * @memberof GroupApiListGroups
1375
1338
  */
1376
1339
  readonly sort?: string;
1377
1340
 
1378
1341
  /**
1379
1342
  * Sorting order
1380
- * @type {'asc' | 'desc'}
1381
- * @memberof GroupApiListGroups
1382
1343
  */
1383
1344
  readonly order?: ListGroupsOrderEnum;
1384
1345
 
1385
1346
  /**
1386
1347
  * Paging limit
1387
- * @type {number}
1388
- * @memberof GroupApiListGroups
1389
1348
  */
1390
1349
  readonly limit?: number;
1391
1350
 
1392
1351
  /**
1393
1352
  * Paging offset
1394
- * @type {number}
1395
- * @memberof GroupApiListGroups
1396
1353
  */
1397
1354
  readonly offset?: number;
1398
1355
  }
1399
1356
 
1400
1357
  /**
1401
1358
  * Request parameters for permitGroupUser operation in GroupApi.
1402
- * @export
1403
- * @interface GroupApiPermitGroupUserRequest
1404
1359
  */
1405
1360
  export interface GroupApiPermitGroupUserRequest {
1406
1361
  /**
1407
1362
  * A group identifier or slug
1408
- * @type {string}
1409
- * @memberof GroupApiPermitGroupUser
1410
1363
  */
1411
1364
  readonly groupId: string;
1412
1365
 
1413
1366
  /**
1414
1367
  * The group user data to permit
1415
- * @type {PermitGroupUserRequest}
1416
- * @memberof GroupApiPermitGroupUser
1417
1368
  */
1418
1369
  readonly permitGroupUserRequest: PermitGroupUserRequest;
1419
1370
  }
1420
1371
 
1421
1372
  /**
1422
1373
  * Request parameters for showGroup operation in GroupApi.
1423
- * @export
1424
- * @interface GroupApiShowGroupRequest
1425
1374
  */
1426
1375
  export interface GroupApiShowGroupRequest {
1427
1376
  /**
1428
1377
  * A group identifier or slug
1429
- * @type {string}
1430
- * @memberof GroupApiShowGroup
1431
1378
  */
1432
1379
  readonly groupId: string;
1433
1380
  }
1434
1381
 
1435
1382
  /**
1436
1383
  * Request parameters for updateGroup operation in GroupApi.
1437
- * @export
1438
- * @interface GroupApiUpdateGroupRequest
1439
1384
  */
1440
1385
  export interface GroupApiUpdateGroupRequest {
1441
1386
  /**
1442
1387
  * A group identifier or slug
1443
- * @type {string}
1444
- * @memberof GroupApiUpdateGroup
1445
1388
  */
1446
1389
  readonly groupId: string;
1447
1390
 
1448
1391
  /**
1449
1392
  * The group data to update
1450
- * @type {CreateGroupRequest}
1451
- * @memberof GroupApiUpdateGroup
1452
1393
  */
1453
1394
  readonly createGroupRequest: CreateGroupRequest;
1454
1395
  }
1455
1396
 
1456
1397
  /**
1457
1398
  * GroupApi - object-oriented interface
1458
- * @export
1459
- * @class GroupApi
1460
- * @extends {BaseAPI}
1461
1399
  */
1462
1400
  export class GroupApi extends BaseAPI {
1463
1401
  /**
@@ -1466,7 +1404,6 @@ export class GroupApi extends BaseAPI {
1466
1404
  * @param {GroupApiAttachGroupToUserRequest} requestParameters Request parameters.
1467
1405
  * @param {*} [options] Override http request option.
1468
1406
  * @throws {RequiredError}
1469
- * @memberof GroupApi
1470
1407
  */
1471
1408
  public attachGroupToUser(
1472
1409
  requestParameters: GroupApiAttachGroupToUserRequest,
@@ -1487,7 +1424,6 @@ export class GroupApi extends BaseAPI {
1487
1424
  * @param {GroupApiCreateGroupRequest} requestParameters Request parameters.
1488
1425
  * @param {*} [options] Override http request option.
1489
1426
  * @throws {RequiredError}
1490
- * @memberof GroupApi
1491
1427
  */
1492
1428
  public createGroup(
1493
1429
  requestParameters: GroupApiCreateGroupRequest,
@@ -1504,7 +1440,6 @@ export class GroupApi extends BaseAPI {
1504
1440
  * @param {GroupApiDeleteGroupRequest} requestParameters Request parameters.
1505
1441
  * @param {*} [options] Override http request option.
1506
1442
  * @throws {RequiredError}
1507
- * @memberof GroupApi
1508
1443
  */
1509
1444
  public deleteGroup(
1510
1445
  requestParameters: GroupApiDeleteGroupRequest,
@@ -1521,7 +1456,6 @@ export class GroupApi extends BaseAPI {
1521
1456
  * @param {GroupApiDeleteGroupFromUserRequest} requestParameters Request parameters.
1522
1457
  * @param {*} [options] Override http request option.
1523
1458
  * @throws {RequiredError}
1524
- * @memberof GroupApi
1525
1459
  */
1526
1460
  public deleteGroupFromUser(
1527
1461
  requestParameters: GroupApiDeleteGroupFromUserRequest,
@@ -1542,7 +1476,6 @@ export class GroupApi extends BaseAPI {
1542
1476
  * @param {GroupApiListGroupUsersRequest} requestParameters Request parameters.
1543
1477
  * @param {*} [options] Override http request option.
1544
1478
  * @throws {RequiredError}
1545
- * @memberof GroupApi
1546
1479
  */
1547
1480
  public listGroupUsers(
1548
1481
  requestParameters: GroupApiListGroupUsersRequest,
@@ -1567,7 +1500,6 @@ export class GroupApi extends BaseAPI {
1567
1500
  * @param {GroupApiListGroupsRequest} requestParameters Request parameters.
1568
1501
  * @param {*} [options] Override http request option.
1569
1502
  * @throws {RequiredError}
1570
- * @memberof GroupApi
1571
1503
  */
1572
1504
  public listGroups(
1573
1505
  requestParameters: GroupApiListGroupsRequest = {},
@@ -1591,7 +1523,6 @@ export class GroupApi extends BaseAPI {
1591
1523
  * @param {GroupApiPermitGroupUserRequest} requestParameters Request parameters.
1592
1524
  * @param {*} [options] Override http request option.
1593
1525
  * @throws {RequiredError}
1594
- * @memberof GroupApi
1595
1526
  */
1596
1527
  public permitGroupUser(
1597
1528
  requestParameters: GroupApiPermitGroupUserRequest,
@@ -1612,7 +1543,6 @@ export class GroupApi extends BaseAPI {
1612
1543
  * @param {GroupApiShowGroupRequest} requestParameters Request parameters.
1613
1544
  * @param {*} [options] Override http request option.
1614
1545
  * @throws {RequiredError}
1615
- * @memberof GroupApi
1616
1546
  */
1617
1547
  public showGroup(
1618
1548
  requestParameters: GroupApiShowGroupRequest,
@@ -1629,7 +1559,6 @@ export class GroupApi extends BaseAPI {
1629
1559
  * @param {GroupApiUpdateGroupRequest} requestParameters Request parameters.
1630
1560
  * @param {*} [options] Override http request option.
1631
1561
  * @throws {RequiredError}
1632
- * @memberof GroupApi
1633
1562
  */
1634
1563
  public updateGroup(
1635
1564
  requestParameters: GroupApiUpdateGroupRequest,
@@ -1645,18 +1574,12 @@ export class GroupApi extends BaseAPI {
1645
1574
  }
1646
1575
  }
1647
1576
 
1648
- /**
1649
- * @export
1650
- */
1651
1577
  export const ListGroupUsersOrderEnum = {
1652
1578
  Asc: "asc",
1653
1579
  Desc: "desc",
1654
1580
  } as const;
1655
1581
  export type ListGroupUsersOrderEnum =
1656
1582
  (typeof ListGroupUsersOrderEnum)[keyof typeof ListGroupUsersOrderEnum];
1657
- /**
1658
- * @export
1659
- */
1660
1583
  export const ListGroupsOrderEnum = {
1661
1584
  Asc: "asc",
1662
1585
  Desc: "desc",
@@ -51,7 +51,6 @@ import type { Profile } from "../model";
51
51
  import type { UpdateProfileRequest } from "../model";
52
52
  /**
53
53
  * ProfileApi - axios parameter creator
54
- * @export
55
54
  */
56
55
  export const ProfileApiAxiosParamCreator = function (
57
56
  configuration?: Configuration,
@@ -239,7 +238,6 @@ export const ProfileApiAxiosParamCreator = function (
239
238
 
240
239
  /**
241
240
  * ProfileApi - functional programming interface
242
- * @export
243
241
  */
244
242
  export const ProfileApiFp = function (configuration?: Configuration) {
245
243
  const localVarAxiosParamCreator = ProfileApiAxiosParamCreator(configuration);
@@ -331,7 +329,6 @@ export const ProfileApiFp = function (configuration?: Configuration) {
331
329
 
332
330
  /**
333
331
  * ProfileApi - factory interface
334
- * @export
335
332
  */
336
333
  export const ProfileApiFactory = function (
337
334
  configuration?: Configuration,
@@ -382,23 +379,16 @@ export const ProfileApiFactory = function (
382
379
 
383
380
  /**
384
381
  * Request parameters for updateProfile operation in ProfileApi.
385
- * @export
386
- * @interface ProfileApiUpdateProfileRequest
387
382
  */
388
383
  export interface ProfileApiUpdateProfileRequest {
389
384
  /**
390
385
  * The profile data to update
391
- * @type {UpdateProfileRequest}
392
- * @memberof ProfileApiUpdateProfile
393
386
  */
394
387
  readonly updateProfileRequest: UpdateProfileRequest;
395
388
  }
396
389
 
397
390
  /**
398
391
  * ProfileApi - object-oriented interface
399
- * @export
400
- * @class ProfileApi
401
- * @extends {BaseAPI}
402
392
  */
403
393
  export class ProfileApi extends BaseAPI {
404
394
  /**
@@ -406,7 +396,6 @@ export class ProfileApi extends BaseAPI {
406
396
  * @summary Fetch profile details of the personal account
407
397
  * @param {*} [options] Override http request option.
408
398
  * @throws {RequiredError}
409
- * @memberof ProfileApi
410
399
  */
411
400
  public showProfile(options?: RawAxiosRequestConfig) {
412
401
  return ProfileApiFp(this.configuration)
@@ -419,7 +408,6 @@ export class ProfileApi extends BaseAPI {
419
408
  * @summary Retrieve an unlimited auth token
420
409
  * @param {*} [options] Override http request option.
421
410
  * @throws {RequiredError}
422
- * @memberof ProfileApi
423
411
  */
424
412
  public tokenProfile(options?: RawAxiosRequestConfig) {
425
413
  return ProfileApiFp(this.configuration)
@@ -433,7 +421,6 @@ export class ProfileApi extends BaseAPI {
433
421
  * @param {ProfileApiUpdateProfileRequest} requestParameters Request parameters.
434
422
  * @param {*} [options] Override http request option.
435
423
  * @throws {RequiredError}
436
- * @memberof ProfileApi
437
424
  */
438
425
  public updateProfile(
439
426
  requestParameters: ProfileApiUpdateProfileRequest,