gopadjs 2.18.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/RELEASE +1 -1
- package/.openapi-generator/FILES +10 -10
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/api/auth-api.ts +8 -36
- package/api/group-api.ts +12 -89
- package/api/profile-api.ts +0 -13
- package/api/user-api.ts +12 -89
- package/base.ts +0 -24
- package/common.ts +0 -37
- package/configuration.ts +0 -17
- package/docs/AuthApi.md +2 -2
- package/docs/GroupApi.md +4 -4
- package/docs/UserApi.md +4 -4
- package/flake.lock +36 -33
- package/model/auth-token.ts +0 -15
- package/model/auth-verify.ts +0 -15
- package/model/create-group-request.ts +0 -15
- package/model/create-user-request.ts +0 -35
- package/model/delete-group-from-user-request.ts +0 -10
- package/model/delete-user-from-group-request.ts +0 -10
- package/model/group.ts +0 -27
- package/model/index.ts +5 -5
- package/model/{inline-object2.ts → list-group-users200-response.ts} +1 -31
- package/model/{inline-object1.ts → list-groups200-response.ts} +1 -26
- package/model/{inline-object.ts → list-providers200-response.ts} +1 -16
- package/model/{inline-object4.ts → list-user-groups200-response.ts} +1 -31
- package/model/{inline-object3.ts → list-users200-response.ts} +1 -26
- package/model/login-auth-request.ts +0 -15
- package/model/notification.ts +0 -17
- package/model/permit-group-user-request.ts +0 -15
- package/model/permit-user-group-request.ts +0 -15
- package/model/profile.ts +0 -62
- package/model/provider.ts +0 -22
- package/model/redirect-auth-request.ts +0 -10
- package/model/update-profile-request.ts +0 -25
- package/model/update-user-request.ts +0 -35
- package/model/user-auth.ts +0 -22
- package/model/user-group.ts +0 -37
- package/model/user.ts +0 -57
- package/model/validation.ts +0 -12
- package/openapi.yml +1 -1
- package/package.json +1 -1
package/.github/RELEASE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Mon
|
|
1
|
+
Mon Oct 6 08:13:40 UTC 2025
|
package/.openapi-generator/FILES
CHANGED
|
@@ -17,11 +17,11 @@ docs/DeleteGroupFromUserRequest.md
|
|
|
17
17
|
docs/DeleteUserFromGroupRequest.md
|
|
18
18
|
docs/Group.md
|
|
19
19
|
docs/GroupApi.md
|
|
20
|
-
docs/
|
|
21
|
-
docs/
|
|
22
|
-
docs/
|
|
23
|
-
docs/
|
|
24
|
-
docs/
|
|
20
|
+
docs/ListGroupUsers200Response.md
|
|
21
|
+
docs/ListGroups200Response.md
|
|
22
|
+
docs/ListProviders200Response.md
|
|
23
|
+
docs/ListUserGroups200Response.md
|
|
24
|
+
docs/ListUsers200Response.md
|
|
25
25
|
docs/LoginAuthRequest.md
|
|
26
26
|
docs/Notification.md
|
|
27
27
|
docs/PermitGroupUserRequest.md
|
|
@@ -46,11 +46,11 @@ model/delete-group-from-user-request.ts
|
|
|
46
46
|
model/delete-user-from-group-request.ts
|
|
47
47
|
model/group.ts
|
|
48
48
|
model/index.ts
|
|
49
|
-
model/
|
|
50
|
-
model/
|
|
51
|
-
model/
|
|
52
|
-
model/
|
|
53
|
-
model/
|
|
49
|
+
model/list-group-users200-response.ts
|
|
50
|
+
model/list-groups200-response.ts
|
|
51
|
+
model/list-providers200-response.ts
|
|
52
|
+
model/list-user-groups200-response.ts
|
|
53
|
+
model/list-users200-response.ts
|
|
54
54
|
model/login-auth-request.ts
|
|
55
55
|
model/notification.ts
|
|
56
56
|
model/permit-group-user-request.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.16.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.19.0](https://github.com/gopad/gopad-js/compare/v2.18.0...v2.19.0) (2025-10-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* automated openapi client update ([0e1a9ca](https://github.com/gopad/gopad-js/commit/0e1a9caae63fc6e50e5dd7dee8b28a62684a045e))
|
|
9
|
+
|
|
3
10
|
## [2.18.0](https://github.com/gopad/gopad-js/compare/v2.17.0...v2.18.0) (2025-09-22)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This repository provides a client SDK for Typescript/Javascript. This SDK is
|
|
|
6
6
|
automatically generated by the [OpenAPI Generator][generator] project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.0.0-alpha1
|
|
9
|
-
- Package version: 2.
|
|
9
|
+
- Package version: 2.19.0
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen
|
|
11
11
|
|
|
12
12
|
For more information, please visit [https://gopad.eu](https://gopad.eu)
|
|
@@ -39,7 +39,7 @@ the following command within your project directory, after that you can import
|
|
|
39
39
|
it as other libraries:
|
|
40
40
|
|
|
41
41
|
```console
|
|
42
|
-
npm install --save gopadjs@2.
|
|
42
|
+
npm install --save gopadjs@2.19.0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Installation with Git
|
package/api/auth-api.ts
CHANGED
|
@@ -46,7 +46,7 @@ import type { AuthToken } from "../model";
|
|
|
46
46
|
// @ts-ignore
|
|
47
47
|
import type { AuthVerify } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListProviders200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { LoginAuthRequest } from "../model";
|
|
52
52
|
// @ts-ignore
|
|
@@ -55,7 +55,6 @@ import type { Notification } from "../model";
|
|
|
55
55
|
import type { RedirectAuthRequest } from "../model";
|
|
56
56
|
/**
|
|
57
57
|
* AuthApi - axios parameter creator
|
|
58
|
-
* @export
|
|
59
58
|
*/
|
|
60
59
|
export const AuthApiAxiosParamCreator = function (
|
|
61
60
|
configuration?: Configuration,
|
|
@@ -421,7 +420,6 @@ export const AuthApiAxiosParamCreator = function (
|
|
|
421
420
|
|
|
422
421
|
/**
|
|
423
422
|
* AuthApi - functional programming interface
|
|
424
|
-
* @export
|
|
425
423
|
*/
|
|
426
424
|
export const AuthApiFp = function (configuration?: Configuration) {
|
|
427
425
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
@@ -472,7 +470,10 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
472
470
|
async listProviders(
|
|
473
471
|
options?: RawAxiosRequestConfig,
|
|
474
472
|
): Promise<
|
|
475
|
-
(
|
|
473
|
+
(
|
|
474
|
+
axios?: AxiosInstance,
|
|
475
|
+
basePath?: string,
|
|
476
|
+
) => AxiosPromise<ListProviders200Response>
|
|
476
477
|
> {
|
|
477
478
|
const localVarAxiosArgs =
|
|
478
479
|
await localVarAxiosParamCreator.listProviders(options);
|
|
@@ -634,7 +635,6 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
634
635
|
|
|
635
636
|
/**
|
|
636
637
|
* AuthApi - factory interface
|
|
637
|
-
* @export
|
|
638
638
|
*/
|
|
639
639
|
export const AuthApiFactory = function (
|
|
640
640
|
configuration?: Configuration,
|
|
@@ -669,7 +669,9 @@ export const AuthApiFactory = function (
|
|
|
669
669
|
* @param {*} [options] Override http request option.
|
|
670
670
|
* @throws {RequiredError}
|
|
671
671
|
*/
|
|
672
|
-
listProviders(
|
|
672
|
+
listProviders(
|
|
673
|
+
options?: RawAxiosRequestConfig,
|
|
674
|
+
): AxiosPromise<ListProviders200Response> {
|
|
673
675
|
return localVarFp
|
|
674
676
|
.listProviders(options)
|
|
675
677
|
.then((request) => request(axios, basePath));
|
|
@@ -746,79 +748,56 @@ export const AuthApiFactory = function (
|
|
|
746
748
|
|
|
747
749
|
/**
|
|
748
750
|
* Request parameters for callbackProvider operation in AuthApi.
|
|
749
|
-
* @export
|
|
750
|
-
* @interface AuthApiCallbackProviderRequest
|
|
751
751
|
*/
|
|
752
752
|
export interface AuthApiCallbackProviderRequest {
|
|
753
753
|
/**
|
|
754
754
|
* An identifier for the auth provider
|
|
755
|
-
* @type {string}
|
|
756
|
-
* @memberof AuthApiCallbackProvider
|
|
757
755
|
*/
|
|
758
756
|
readonly provider: string;
|
|
759
757
|
|
|
760
758
|
/**
|
|
761
759
|
* Auth state
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof AuthApiCallbackProvider
|
|
764
760
|
*/
|
|
765
761
|
readonly state?: string;
|
|
766
762
|
|
|
767
763
|
/**
|
|
768
764
|
* Auth code
|
|
769
|
-
* @type {string}
|
|
770
|
-
* @memberof AuthApiCallbackProvider
|
|
771
765
|
*/
|
|
772
766
|
readonly code?: string;
|
|
773
767
|
}
|
|
774
768
|
|
|
775
769
|
/**
|
|
776
770
|
* Request parameters for loginAuth operation in AuthApi.
|
|
777
|
-
* @export
|
|
778
|
-
* @interface AuthApiLoginAuthRequest
|
|
779
771
|
*/
|
|
780
772
|
export interface AuthApiLoginAuthRequest {
|
|
781
773
|
/**
|
|
782
774
|
* The credentials to authenticate
|
|
783
|
-
* @type {LoginAuthRequest}
|
|
784
|
-
* @memberof AuthApiLoginAuth
|
|
785
775
|
*/
|
|
786
776
|
readonly loginAuthRequest: LoginAuthRequest;
|
|
787
777
|
}
|
|
788
778
|
|
|
789
779
|
/**
|
|
790
780
|
* Request parameters for redirectAuth operation in AuthApi.
|
|
791
|
-
* @export
|
|
792
|
-
* @interface AuthApiRedirectAuthRequest
|
|
793
781
|
*/
|
|
794
782
|
export interface AuthApiRedirectAuthRequest {
|
|
795
783
|
/**
|
|
796
784
|
* The redirect token to authenticate
|
|
797
|
-
* @type {RedirectAuthRequest}
|
|
798
|
-
* @memberof AuthApiRedirectAuth
|
|
799
785
|
*/
|
|
800
786
|
readonly redirectAuthRequest: RedirectAuthRequest;
|
|
801
787
|
}
|
|
802
788
|
|
|
803
789
|
/**
|
|
804
790
|
* Request parameters for requestProvider operation in AuthApi.
|
|
805
|
-
* @export
|
|
806
|
-
* @interface AuthApiRequestProviderRequest
|
|
807
791
|
*/
|
|
808
792
|
export interface AuthApiRequestProviderRequest {
|
|
809
793
|
/**
|
|
810
794
|
* An identifier for the auth provider
|
|
811
|
-
* @type {string}
|
|
812
|
-
* @memberof AuthApiRequestProvider
|
|
813
795
|
*/
|
|
814
796
|
readonly provider: string;
|
|
815
797
|
}
|
|
816
798
|
|
|
817
799
|
/**
|
|
818
800
|
* AuthApi - object-oriented interface
|
|
819
|
-
* @export
|
|
820
|
-
* @class AuthApi
|
|
821
|
-
* @extends {BaseAPI}
|
|
822
801
|
*/
|
|
823
802
|
export class AuthApi extends BaseAPI {
|
|
824
803
|
/**
|
|
@@ -827,7 +806,6 @@ export class AuthApi extends BaseAPI {
|
|
|
827
806
|
* @param {AuthApiCallbackProviderRequest} requestParameters Request parameters.
|
|
828
807
|
* @param {*} [options] Override http request option.
|
|
829
808
|
* @throws {RequiredError}
|
|
830
|
-
* @memberof AuthApi
|
|
831
809
|
*/
|
|
832
810
|
public callbackProvider(
|
|
833
811
|
requestParameters: AuthApiCallbackProviderRequest,
|
|
@@ -848,7 +826,6 @@ export class AuthApi extends BaseAPI {
|
|
|
848
826
|
* @summary Fetch the available auth providers
|
|
849
827
|
* @param {*} [options] Override http request option.
|
|
850
828
|
* @throws {RequiredError}
|
|
851
|
-
* @memberof AuthApi
|
|
852
829
|
*/
|
|
853
830
|
public listProviders(options?: RawAxiosRequestConfig) {
|
|
854
831
|
return AuthApiFp(this.configuration)
|
|
@@ -862,7 +839,6 @@ export class AuthApi extends BaseAPI {
|
|
|
862
839
|
* @param {AuthApiLoginAuthRequest} requestParameters Request parameters.
|
|
863
840
|
* @param {*} [options] Override http request option.
|
|
864
841
|
* @throws {RequiredError}
|
|
865
|
-
* @memberof AuthApi
|
|
866
842
|
*/
|
|
867
843
|
public loginAuth(
|
|
868
844
|
requestParameters: AuthApiLoginAuthRequest,
|
|
@@ -879,7 +855,6 @@ export class AuthApi extends BaseAPI {
|
|
|
879
855
|
* @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
|
|
880
856
|
* @param {*} [options] Override http request option.
|
|
881
857
|
* @throws {RequiredError}
|
|
882
|
-
* @memberof AuthApi
|
|
883
858
|
*/
|
|
884
859
|
public redirectAuth(
|
|
885
860
|
requestParameters: AuthApiRedirectAuthRequest,
|
|
@@ -895,7 +870,6 @@ export class AuthApi extends BaseAPI {
|
|
|
895
870
|
* @summary Refresh an auth token before it expires
|
|
896
871
|
* @param {*} [options] Override http request option.
|
|
897
872
|
* @throws {RequiredError}
|
|
898
|
-
* @memberof AuthApi
|
|
899
873
|
*/
|
|
900
874
|
public refreshAuth(options?: RawAxiosRequestConfig) {
|
|
901
875
|
return AuthApiFp(this.configuration)
|
|
@@ -909,7 +883,6 @@ export class AuthApi extends BaseAPI {
|
|
|
909
883
|
* @param {AuthApiRequestProviderRequest} requestParameters Request parameters.
|
|
910
884
|
* @param {*} [options] Override http request option.
|
|
911
885
|
* @throws {RequiredError}
|
|
912
|
-
* @memberof AuthApi
|
|
913
886
|
*/
|
|
914
887
|
public requestProvider(
|
|
915
888
|
requestParameters: AuthApiRequestProviderRequest,
|
|
@@ -925,7 +898,6 @@ export class AuthApi extends BaseAPI {
|
|
|
925
898
|
* @summary Verify validity for an authentication token
|
|
926
899
|
* @param {*} [options] Override http request option.
|
|
927
900
|
* @throws {RequiredError}
|
|
928
|
-
* @memberof AuthApi
|
|
929
901
|
*/
|
|
930
902
|
public verifyAuth(options?: RawAxiosRequestConfig) {
|
|
931
903
|
return AuthApiFp(this.configuration)
|
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 {
|
|
51
|
+
import type { ListGroupUsers200Response } from "../model";
|
|
52
52
|
// @ts-ignore
|
|
53
|
-
import type {
|
|
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
|
-
(
|
|
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
|
-
(
|
|
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<
|
|
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<
|
|
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",
|