@inverted-tech/fragments 0.7.2 → 0.9.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/dist/esm/Authentication/UserInterface_pb.js +59 -278
- package/dist/esm/Authentication/UserRecord_pb.js +11 -1
- package/dist/esm/Authorization/Payment/AdminPaymentInterface_pb.js +12 -1
- package/dist/esm/Authorization/Payment/Stripe/StripeInterface_pb.js +3 -1
- package/dist/esm/Authorization/Payment/Stripe/connect/StripeInterface_connect.js +2 -54
- package/dist/esm/Authorization/Payment/connect/AdminPaymentInterface_connect.js +9 -0
- package/dist/esm/Errors_pb.js +93 -2
- package/dist/esm/buf/validate/validate_pb.js +1 -1
- package/dist/protos/Authentication/UserInterface_pb.d.ts +70 -268
- package/dist/protos/Authentication/UserRecord_pb.d.ts +44 -0
- package/dist/protos/Authorization/Payment/AdminPaymentInterface_pb.d.ts +61 -0
- package/dist/protos/Authorization/Payment/Stripe/StripeInterface_pb.d.ts +2 -48
- package/dist/protos/Authorization/Payment/Stripe/connect/StripeInterface_connect.d.ts +2 -54
- package/dist/protos/Authorization/Payment/connect/AdminPaymentInterface_connect.d.ts +9 -0
- package/dist/protos/Errors_pb.d.ts +108 -1
- package/package.json +1 -1
|
@@ -1,34 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
-
import type {
|
|
3
|
+
import type { APIError } from "../Errors_pb";
|
|
4
4
|
import type { UserNormalRecord, UserPublicRecord } from "./UserRecord_pb";
|
|
5
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file Protos/IT/WebServices/Fragments/Authentication/UserInterface.proto.
|
|
8
8
|
*/
|
|
9
9
|
export declare const file_Protos_IT_WebServices_Fragments_Authentication_UserInterface: GenFile;
|
|
10
|
-
/**
|
|
11
|
-
* @generated from message IT.WebServices.Fragments.Authentication.AuthError
|
|
12
|
-
*/
|
|
13
|
-
export type AuthError = Message<"IT.WebServices.Fragments.Authentication.AuthError"> & {
|
|
14
|
-
/**
|
|
15
|
-
* @generated from field: IT.WebServices.Fragments.Authentication.AuthErrorReason Type = 1;
|
|
16
|
-
*/
|
|
17
|
-
Type: AuthErrorReason;
|
|
18
|
-
/**
|
|
19
|
-
* @generated from field: string Message = 2;
|
|
20
|
-
*/
|
|
21
|
-
Message: string;
|
|
22
|
-
/**
|
|
23
|
-
* @generated from field: repeated IT.WebServices.Fragments.ValidationIssue Validation = 3;
|
|
24
|
-
*/
|
|
25
|
-
Validation: ValidationIssue[];
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Describes the message IT.WebServices.Fragments.Authentication.AuthError.
|
|
29
|
-
* Use `create(AuthErrorSchema)` to create a new message.
|
|
30
|
-
*/
|
|
31
|
-
export declare const AuthErrorSchema: GenMessage<AuthError>;
|
|
32
10
|
/**
|
|
33
11
|
* @generated from message IT.WebServices.Fragments.Authentication.AuthenticateUserRequest
|
|
34
12
|
*/
|
|
@@ -68,9 +46,9 @@ export type AuthenticateUserResponse = Message<"IT.WebServices.Fragments.Authent
|
|
|
68
46
|
*/
|
|
69
47
|
UserRecord?: UserNormalRecord;
|
|
70
48
|
/**
|
|
71
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
49
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 4;
|
|
72
50
|
*/
|
|
73
|
-
Error?:
|
|
51
|
+
Error?: APIError;
|
|
74
52
|
};
|
|
75
53
|
/**
|
|
76
54
|
* Describes the message IT.WebServices.Fragments.Authentication.AuthenticateUserResponse.
|
|
@@ -102,9 +80,9 @@ export declare const ChangeOtherPasswordRequestSchema: GenMessage<ChangeOtherPas
|
|
|
102
80
|
*/
|
|
103
81
|
export type ChangeOtherPasswordResponse = Message<"IT.WebServices.Fragments.Authentication.ChangeOtherPasswordResponse"> & {
|
|
104
82
|
/**
|
|
105
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
83
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
106
84
|
*/
|
|
107
|
-
Error?:
|
|
85
|
+
Error?: APIError;
|
|
108
86
|
};
|
|
109
87
|
/**
|
|
110
88
|
* Describes the message IT.WebServices.Fragments.Authentication.ChangeOtherPasswordResponse.
|
|
@@ -136,9 +114,9 @@ export declare const ChangeOtherProfileImageRequestSchema: GenMessage<ChangeOthe
|
|
|
136
114
|
*/
|
|
137
115
|
export type ChangeOtherProfileImageResponse = Message<"IT.WebServices.Fragments.Authentication.ChangeOtherProfileImageResponse"> & {
|
|
138
116
|
/**
|
|
139
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
117
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
140
118
|
*/
|
|
141
|
-
Error?:
|
|
119
|
+
Error?: APIError;
|
|
142
120
|
};
|
|
143
121
|
/**
|
|
144
122
|
* Describes the message IT.WebServices.Fragments.Authentication.ChangeOtherProfileImageResponse.
|
|
@@ -168,9 +146,9 @@ export declare const ChangeOwnPasswordRequestSchema: GenMessage<ChangeOwnPasswor
|
|
|
168
146
|
*/
|
|
169
147
|
export type ChangeOwnPasswordResponse = Message<"IT.WebServices.Fragments.Authentication.ChangeOwnPasswordResponse"> & {
|
|
170
148
|
/**
|
|
171
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
149
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
172
150
|
*/
|
|
173
|
-
Error?:
|
|
151
|
+
Error?: APIError;
|
|
174
152
|
};
|
|
175
153
|
/**
|
|
176
154
|
* Describes the message IT.WebServices.Fragments.Authentication.ChangeOwnPasswordResponse.
|
|
@@ -196,9 +174,9 @@ export declare const ChangeOwnProfileImageRequestSchema: GenMessage<ChangeOwnPro
|
|
|
196
174
|
*/
|
|
197
175
|
export type ChangeOwnProfileImageResponse = Message<"IT.WebServices.Fragments.Authentication.ChangeOwnProfileImageResponse"> & {
|
|
198
176
|
/**
|
|
199
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
177
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
200
178
|
*/
|
|
201
|
-
Error?:
|
|
179
|
+
Error?: APIError;
|
|
202
180
|
};
|
|
203
181
|
/**
|
|
204
182
|
* Describes the message IT.WebServices.Fragments.Authentication.ChangeOwnProfileImageResponse.
|
|
@@ -239,6 +217,18 @@ export type CreateUserRequest = Message<"IT.WebServices.Fragments.Authentication
|
|
|
239
217
|
* @generated from field: string Email = 5;
|
|
240
218
|
*/
|
|
241
219
|
Email: string;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string FirstName = 6;
|
|
222
|
+
*/
|
|
223
|
+
FirstName: string;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: string LastName = 7;
|
|
226
|
+
*/
|
|
227
|
+
LastName: string;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string PostalCode = 8;
|
|
230
|
+
*/
|
|
231
|
+
PostalCode: string;
|
|
242
232
|
};
|
|
243
233
|
/**
|
|
244
234
|
* Describes the message IT.WebServices.Fragments.Authentication.CreateUserRequest.
|
|
@@ -254,9 +244,9 @@ export type CreateUserResponse = Message<"IT.WebServices.Fragments.Authenticatio
|
|
|
254
244
|
*/
|
|
255
245
|
BearerToken: string;
|
|
256
246
|
/**
|
|
257
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
247
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 2;
|
|
258
248
|
*/
|
|
259
|
-
Error?:
|
|
249
|
+
Error?: APIError;
|
|
260
250
|
};
|
|
261
251
|
/**
|
|
262
252
|
* Describes the message IT.WebServices.Fragments.Authentication.CreateUserResponse.
|
|
@@ -284,32 +274,15 @@ export declare const DisableEnableOtherUserRequestSchema: GenMessage<DisableEnab
|
|
|
284
274
|
*/
|
|
285
275
|
export type DisableEnableOtherUserResponse = Message<"IT.WebServices.Fragments.Authentication.DisableEnableOtherUserResponse"> & {
|
|
286
276
|
/**
|
|
287
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
277
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
288
278
|
*/
|
|
289
|
-
Error?:
|
|
279
|
+
Error?: APIError;
|
|
290
280
|
};
|
|
291
281
|
/**
|
|
292
282
|
* Describes the message IT.WebServices.Fragments.Authentication.DisableEnableOtherUserResponse.
|
|
293
283
|
* Use `create(DisableEnableOtherUserResponseSchema)` to create a new message.
|
|
294
284
|
*/
|
|
295
285
|
export declare const DisableEnableOtherUserResponseSchema: GenMessage<DisableEnableOtherUserResponse>;
|
|
296
|
-
/**
|
|
297
|
-
* @generated from enum IT.WebServices.Fragments.Authentication.DisableEnableOtherUserResponse.DisableEnableOtherUserResponseErrorType
|
|
298
|
-
*/
|
|
299
|
-
export declare enum DisableEnableOtherUserResponse_DisableEnableOtherUserResponseErrorType {
|
|
300
|
-
/**
|
|
301
|
-
* @generated from enum value: NoError = 0;
|
|
302
|
-
*/
|
|
303
|
-
NoError = 0,
|
|
304
|
-
/**
|
|
305
|
-
* @generated from enum value: UnknownError = -1;
|
|
306
|
-
*/
|
|
307
|
-
UnknownError = -1
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* Describes the enum IT.WebServices.Fragments.Authentication.DisableEnableOtherUserResponse.DisableEnableOtherUserResponseErrorType.
|
|
311
|
-
*/
|
|
312
|
-
export declare const DisableEnableOtherUserResponse_DisableEnableOtherUserResponseErrorTypeSchema: GenEnum<DisableEnableOtherUserResponse_DisableEnableOtherUserResponseErrorType>;
|
|
313
286
|
/**
|
|
314
287
|
* @generated from message IT.WebServices.Fragments.Authentication.DisableOtherTotpRequest
|
|
315
288
|
*/
|
|
@@ -333,9 +306,9 @@ export declare const DisableOtherTotpRequestSchema: GenMessage<DisableOtherTotpR
|
|
|
333
306
|
*/
|
|
334
307
|
export type DisableOtherTotpResponse = Message<"IT.WebServices.Fragments.Authentication.DisableOtherTotpResponse"> & {
|
|
335
308
|
/**
|
|
336
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
309
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
337
310
|
*/
|
|
338
|
-
Error?:
|
|
311
|
+
Error?: APIError;
|
|
339
312
|
};
|
|
340
313
|
/**
|
|
341
314
|
* Describes the message IT.WebServices.Fragments.Authentication.DisableOtherTotpResponse.
|
|
@@ -361,9 +334,9 @@ export declare const DisableOwnTotpRequestSchema: GenMessage<DisableOwnTotpReque
|
|
|
361
334
|
*/
|
|
362
335
|
export type DisableOwnTotpResponse = Message<"IT.WebServices.Fragments.Authentication.DisableOwnTotpResponse"> & {
|
|
363
336
|
/**
|
|
364
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
337
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
365
338
|
*/
|
|
366
|
-
Error?:
|
|
339
|
+
Error?: APIError;
|
|
367
340
|
};
|
|
368
341
|
/**
|
|
369
342
|
* Describes the message IT.WebServices.Fragments.Authentication.DisableOwnTotpResponse.
|
|
@@ -405,9 +378,9 @@ export type GenerateOtherTotpResponse = Message<"IT.WebServices.Fragments.Authen
|
|
|
405
378
|
*/
|
|
406
379
|
QRCode: string;
|
|
407
380
|
/**
|
|
408
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
381
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
409
382
|
*/
|
|
410
|
-
Error?:
|
|
383
|
+
Error?: APIError;
|
|
411
384
|
};
|
|
412
385
|
/**
|
|
413
386
|
* Describes the message IT.WebServices.Fragments.Authentication.GenerateOtherTotpResponse.
|
|
@@ -445,9 +418,9 @@ export type GenerateOwnTotpResponse = Message<"IT.WebServices.Fragments.Authenti
|
|
|
445
418
|
*/
|
|
446
419
|
QRCode: string;
|
|
447
420
|
/**
|
|
448
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
421
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
449
422
|
*/
|
|
450
|
-
Error?:
|
|
423
|
+
Error?: APIError;
|
|
451
424
|
};
|
|
452
425
|
/**
|
|
453
426
|
* Describes the message IT.WebServices.Fragments.Authentication.GenerateOwnTotpResponse.
|
|
@@ -772,6 +745,18 @@ export type ModifyOtherUserRequest = Message<"IT.WebServices.Fragments.Authentic
|
|
|
772
745
|
* @generated from field: string Email = 5;
|
|
773
746
|
*/
|
|
774
747
|
Email: string;
|
|
748
|
+
/**
|
|
749
|
+
* @generated from field: string FirstName = 6;
|
|
750
|
+
*/
|
|
751
|
+
FirstName: string;
|
|
752
|
+
/**
|
|
753
|
+
* @generated from field: string LastName = 7;
|
|
754
|
+
*/
|
|
755
|
+
LastName: string;
|
|
756
|
+
/**
|
|
757
|
+
* @generated from field: string PostalCode = 8;
|
|
758
|
+
*/
|
|
759
|
+
PostalCode: string;
|
|
775
760
|
};
|
|
776
761
|
/**
|
|
777
762
|
* Describes the message IT.WebServices.Fragments.Authentication.ModifyOtherUserRequest.
|
|
@@ -783,9 +768,9 @@ export declare const ModifyOtherUserRequestSchema: GenMessage<ModifyOtherUserReq
|
|
|
783
768
|
*/
|
|
784
769
|
export type ModifyOtherUserResponse = Message<"IT.WebServices.Fragments.Authentication.ModifyOtherUserResponse"> & {
|
|
785
770
|
/**
|
|
786
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
771
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
787
772
|
*/
|
|
788
|
-
Error?:
|
|
773
|
+
Error?: APIError;
|
|
789
774
|
};
|
|
790
775
|
/**
|
|
791
776
|
* Describes the message IT.WebServices.Fragments.Authentication.ModifyOtherUserResponse.
|
|
@@ -819,9 +804,9 @@ export declare const ModifyOtherUserRolesRequestSchema: GenMessage<ModifyOtherUs
|
|
|
819
804
|
*/
|
|
820
805
|
export type ModifyOtherUserRolesResponse = Message<"IT.WebServices.Fragments.Authentication.ModifyOtherUserRolesResponse"> & {
|
|
821
806
|
/**
|
|
822
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
807
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
823
808
|
*/
|
|
824
|
-
Error?:
|
|
809
|
+
Error?: APIError;
|
|
825
810
|
};
|
|
826
811
|
/**
|
|
827
812
|
* Describes the message IT.WebServices.Fragments.Authentication.ModifyOtherUserRolesResponse.
|
|
@@ -856,6 +841,18 @@ export type ModifyOwnUserRequest = Message<"IT.WebServices.Fragments.Authenticat
|
|
|
856
841
|
* @generated from field: string Email = 4;
|
|
857
842
|
*/
|
|
858
843
|
Email: string;
|
|
844
|
+
/**
|
|
845
|
+
* @generated from field: string FirstName = 5;
|
|
846
|
+
*/
|
|
847
|
+
FirstName: string;
|
|
848
|
+
/**
|
|
849
|
+
* @generated from field: string LastName = 6;
|
|
850
|
+
*/
|
|
851
|
+
LastName: string;
|
|
852
|
+
/**
|
|
853
|
+
* @generated from field: string PostalCode = 7;
|
|
854
|
+
*/
|
|
855
|
+
PostalCode: string;
|
|
859
856
|
};
|
|
860
857
|
/**
|
|
861
858
|
* Describes the message IT.WebServices.Fragments.Authentication.ModifyOwnUserRequest.
|
|
@@ -867,9 +864,9 @@ export declare const ModifyOwnUserRequestSchema: GenMessage<ModifyOwnUserRequest
|
|
|
867
864
|
*/
|
|
868
865
|
export type ModifyOwnUserResponse = Message<"IT.WebServices.Fragments.Authentication.ModifyOwnUserResponse"> & {
|
|
869
866
|
/**
|
|
870
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
867
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 1;
|
|
871
868
|
*/
|
|
872
|
-
Error?:
|
|
869
|
+
Error?: APIError;
|
|
873
870
|
/**
|
|
874
871
|
* @generated from field: string BearerToken = 2;
|
|
875
872
|
*/
|
|
@@ -1080,9 +1077,9 @@ export declare const VerifyOtherTotpRequestSchema: GenMessage<VerifyOtherTotpReq
|
|
|
1080
1077
|
*/
|
|
1081
1078
|
export type VerifyOtherTotpResponse = Message<"IT.WebServices.Fragments.Authentication.VerifyOtherTotpResponse"> & {
|
|
1082
1079
|
/**
|
|
1083
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
1080
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
1084
1081
|
*/
|
|
1085
|
-
Error?:
|
|
1082
|
+
Error?: APIError;
|
|
1086
1083
|
};
|
|
1087
1084
|
/**
|
|
1088
1085
|
* Describes the message IT.WebServices.Fragments.Authentication.VerifyOtherTotpResponse.
|
|
@@ -1112,210 +1109,15 @@ export declare const VerifyOwnTotpRequestSchema: GenMessage<VerifyOwnTotpRequest
|
|
|
1112
1109
|
*/
|
|
1113
1110
|
export type VerifyOwnTotpResponse = Message<"IT.WebServices.Fragments.Authentication.VerifyOwnTotpResponse"> & {
|
|
1114
1111
|
/**
|
|
1115
|
-
* @generated from field: IT.WebServices.Fragments.
|
|
1112
|
+
* @generated from field: IT.WebServices.Fragments.APIError Error = 10;
|
|
1116
1113
|
*/
|
|
1117
|
-
Error?:
|
|
1114
|
+
Error?: APIError;
|
|
1118
1115
|
};
|
|
1119
1116
|
/**
|
|
1120
1117
|
* Describes the message IT.WebServices.Fragments.Authentication.VerifyOwnTotpResponse.
|
|
1121
1118
|
* Use `create(VerifyOwnTotpResponseSchema)` to create a new message.
|
|
1122
1119
|
*/
|
|
1123
1120
|
export declare const VerifyOwnTotpResponseSchema: GenMessage<VerifyOwnTotpResponse>;
|
|
1124
|
-
/**
|
|
1125
|
-
* @generated from enum IT.WebServices.Fragments.Authentication.AuthErrorReason
|
|
1126
|
-
*/
|
|
1127
|
-
export declare enum AuthErrorReason {
|
|
1128
|
-
/**
|
|
1129
|
-
* 0s — generic
|
|
1130
|
-
*
|
|
1131
|
-
* @generated from enum value: AUTH_REASON_UNSPECIFIED = 0;
|
|
1132
|
-
*/
|
|
1133
|
-
AUTH_REASON_UNSPECIFIED = 0,
|
|
1134
|
-
/**
|
|
1135
|
-
* 1–49: AuthenticateUser (login)
|
|
1136
|
-
*
|
|
1137
|
-
* @generated from enum value: LOGIN_ERROR_INVALID_CREDENTIALS = 1;
|
|
1138
|
-
*/
|
|
1139
|
-
LOGIN_ERROR_INVALID_CREDENTIALS = 1,
|
|
1140
|
-
/**
|
|
1141
|
-
* @generated from enum value: LOGIN_ERROR_MFA_REQUIRED = 2;
|
|
1142
|
-
*/
|
|
1143
|
-
LOGIN_ERROR_MFA_REQUIRED = 2,
|
|
1144
|
-
/**
|
|
1145
|
-
* @generated from enum value: LOGIN_ERROR_INVALID_MFA_CODE = 3;
|
|
1146
|
-
*/
|
|
1147
|
-
LOGIN_ERROR_INVALID_MFA_CODE = 3,
|
|
1148
|
-
/**
|
|
1149
|
-
* @generated from enum value: LOGIN_ERROR_SERVICE_UNAVAILABLE = 4;
|
|
1150
|
-
*/
|
|
1151
|
-
LOGIN_ERROR_SERVICE_UNAVAILABLE = 4,
|
|
1152
|
-
/**
|
|
1153
|
-
* 100–149: ChangeOtherPassword
|
|
1154
|
-
*
|
|
1155
|
-
* @generated from enum value: CHANGE_OTHER_PASSWORD_ERROR_USER_NOT_FOUND = 100;
|
|
1156
|
-
*/
|
|
1157
|
-
CHANGE_OTHER_PASSWORD_ERROR_USER_NOT_FOUND = 100,
|
|
1158
|
-
/**
|
|
1159
|
-
* @generated from enum value: CHANGE_OTHER_PASSWORD_ERROR_BAD_NEW_PASSWORD = 101;
|
|
1160
|
-
*/
|
|
1161
|
-
CHANGE_OTHER_PASSWORD_ERROR_BAD_NEW_PASSWORD = 101,
|
|
1162
|
-
/**
|
|
1163
|
-
* @generated from enum value: CHANGE_OTHER_PASSWORD_ERROR_UNKNOWN = 149;
|
|
1164
|
-
*/
|
|
1165
|
-
CHANGE_OTHER_PASSWORD_ERROR_UNKNOWN = 149,
|
|
1166
|
-
/**
|
|
1167
|
-
* 200–249: ChangeOtherProfileImage
|
|
1168
|
-
*
|
|
1169
|
-
* @generated from enum value: CHANGE_OTHER_PROFILE_IMAGE_ERROR_USER_NOT_FOUND = 200;
|
|
1170
|
-
*/
|
|
1171
|
-
CHANGE_OTHER_PROFILE_IMAGE_ERROR_USER_NOT_FOUND = 200,
|
|
1172
|
-
/**
|
|
1173
|
-
* @generated from enum value: CHANGE_OTHER_PROFILE_IMAGE_ERROR_BAD_FORMAT = 201;
|
|
1174
|
-
*/
|
|
1175
|
-
CHANGE_OTHER_PROFILE_IMAGE_ERROR_BAD_FORMAT = 201,
|
|
1176
|
-
/**
|
|
1177
|
-
* @generated from enum value: CHANGE_OTHER_PROFILE_IMAGE_ERROR_UNKNOWN = 249;
|
|
1178
|
-
*/
|
|
1179
|
-
CHANGE_OTHER_PROFILE_IMAGE_ERROR_UNKNOWN = 249,
|
|
1180
|
-
/**
|
|
1181
|
-
* 300–349: ChangeOwnPassword
|
|
1182
|
-
*
|
|
1183
|
-
* @generated from enum value: CHANGE_OWN_PASSWORD_ERROR_BAD_OLD_PASSWORD = 300;
|
|
1184
|
-
*/
|
|
1185
|
-
CHANGE_OWN_PASSWORD_ERROR_BAD_OLD_PASSWORD = 300,
|
|
1186
|
-
/**
|
|
1187
|
-
* @generated from enum value: CHANGE_OWN_PASSWORD_ERROR_BAD_NEW_PASSWORD = 301;
|
|
1188
|
-
*/
|
|
1189
|
-
CHANGE_OWN_PASSWORD_ERROR_BAD_NEW_PASSWORD = 301,
|
|
1190
|
-
/**
|
|
1191
|
-
* @generated from enum value: CHANGE_OWN_PASSWORD_ERROR_UNKNOWN = 349;
|
|
1192
|
-
*/
|
|
1193
|
-
CHANGE_OWN_PASSWORD_ERROR_UNKNOWN = 349,
|
|
1194
|
-
/**
|
|
1195
|
-
* 400–449: ChangeOwnProfileImage
|
|
1196
|
-
*
|
|
1197
|
-
* @generated from enum value: CHANGE_OWN_PROFILE_IMAGE_ERROR_BAD_FORMAT = 400;
|
|
1198
|
-
*/
|
|
1199
|
-
CHANGE_OWN_PROFILE_IMAGE_ERROR_BAD_FORMAT = 400,
|
|
1200
|
-
/**
|
|
1201
|
-
* @generated from enum value: CHANGE_OWN_PROFILE_IMAGE_ERROR_UNKNOWN = 449;
|
|
1202
|
-
*/
|
|
1203
|
-
CHANGE_OWN_PROFILE_IMAGE_ERROR_UNKNOWN = 449,
|
|
1204
|
-
/**
|
|
1205
|
-
* 500–549: CreateUser
|
|
1206
|
-
*
|
|
1207
|
-
* @generated from enum value: CREATE_USER_ERROR_USERNAME_TAKEN = 500;
|
|
1208
|
-
*/
|
|
1209
|
-
CREATE_USER_ERROR_USERNAME_TAKEN = 500,
|
|
1210
|
-
/**
|
|
1211
|
-
* @generated from enum value: CREATE_USER_ERROR_EMAIL_TAKEN = 501;
|
|
1212
|
-
*/
|
|
1213
|
-
CREATE_USER_ERROR_EMAIL_TAKEN = 501,
|
|
1214
|
-
/**
|
|
1215
|
-
* @generated from enum value: CREATE_USER_ERROR_UNKNOWN = 549;
|
|
1216
|
-
*/
|
|
1217
|
-
CREATE_USER_ERROR_UNKNOWN = 549,
|
|
1218
|
-
/**
|
|
1219
|
-
* 600–649: Disable/Enable other user
|
|
1220
|
-
*
|
|
1221
|
-
* @generated from enum value: DISABLE_OTHER_USER_ERROR_UNKNOWN = 600;
|
|
1222
|
-
*/
|
|
1223
|
-
DISABLE_OTHER_USER_ERROR_UNKNOWN = 600,
|
|
1224
|
-
/**
|
|
1225
|
-
* @generated from enum value: ENABLE_OTHER_USER_ERROR_UNKNOWN = 601;
|
|
1226
|
-
*/
|
|
1227
|
-
ENABLE_OTHER_USER_ERROR_UNKNOWN = 601,
|
|
1228
|
-
/**
|
|
1229
|
-
* 700–749: Disable TOTP
|
|
1230
|
-
*
|
|
1231
|
-
* @generated from enum value: DISABLE_OTHER_TOTP_ERROR_UNKNOWN = 700;
|
|
1232
|
-
*/
|
|
1233
|
-
DISABLE_OTHER_TOTP_ERROR_UNKNOWN = 700,
|
|
1234
|
-
/**
|
|
1235
|
-
* @generated from enum value: DISABLE_OWN_TOTP_ERROR_UNKNOWN = 701;
|
|
1236
|
-
*/
|
|
1237
|
-
DISABLE_OWN_TOTP_ERROR_UNKNOWN = 701,
|
|
1238
|
-
/**
|
|
1239
|
-
* 800–849: Generate TOTP
|
|
1240
|
-
*
|
|
1241
|
-
* @generated from enum value: GENERATE_OTHER_TOTP_ERROR_UNKNOWN = 800;
|
|
1242
|
-
*/
|
|
1243
|
-
GENERATE_OTHER_TOTP_ERROR_UNKNOWN = 800,
|
|
1244
|
-
/**
|
|
1245
|
-
* @generated from enum value: GENERATE_OWN_TOTP_ERROR_UNKNOWN = 801;
|
|
1246
|
-
*/
|
|
1247
|
-
GENERATE_OWN_TOTP_ERROR_UNKNOWN = 801,
|
|
1248
|
-
/**
|
|
1249
|
-
* 900–949: ModifyOtherUser
|
|
1250
|
-
*
|
|
1251
|
-
* @generated from enum value: MODIFY_OTHER_USER_ERROR_UNAUTHORIZED = 900;
|
|
1252
|
-
*/
|
|
1253
|
-
MODIFY_OTHER_USER_ERROR_UNAUTHORIZED = 900,
|
|
1254
|
-
/**
|
|
1255
|
-
* @generated from enum value: MODIFY_OTHER_USER_ERROR_USER_NOT_FOUND = 901;
|
|
1256
|
-
*/
|
|
1257
|
-
MODIFY_OTHER_USER_ERROR_USER_NOT_FOUND = 901,
|
|
1258
|
-
/**
|
|
1259
|
-
* @generated from enum value: MODIFY_OTHER_USER_ERROR_USERNAME_TAKEN = 902;
|
|
1260
|
-
*/
|
|
1261
|
-
MODIFY_OTHER_USER_ERROR_USERNAME_TAKEN = 902,
|
|
1262
|
-
/**
|
|
1263
|
-
* @generated from enum value: MODIFY_OTHER_USER_ERROR_EMAIL_TAKEN = 903;
|
|
1264
|
-
*/
|
|
1265
|
-
MODIFY_OTHER_USER_ERROR_EMAIL_TAKEN = 903,
|
|
1266
|
-
/**
|
|
1267
|
-
* @generated from enum value: MODIFY_OTHER_USER_ERROR_SERVICE_OFFLINE = 904;
|
|
1268
|
-
*/
|
|
1269
|
-
MODIFY_OTHER_USER_ERROR_SERVICE_OFFLINE = 904,
|
|
1270
|
-
/**
|
|
1271
|
-
* @generated from enum value: MODIFY_OTHER_USER_ERROR_UNKNOWN = 949;
|
|
1272
|
-
*/
|
|
1273
|
-
MODIFY_OTHER_USER_ERROR_UNKNOWN = 949,
|
|
1274
|
-
/**
|
|
1275
|
-
* 950–999: ModifyOtherUserRoles
|
|
1276
|
-
*
|
|
1277
|
-
* @generated from enum value: MODIFY_OTHER_USER_ROLES_ERROR_UNKNOWN = 950;
|
|
1278
|
-
*/
|
|
1279
|
-
MODIFY_OTHER_USER_ROLES_ERROR_UNKNOWN = 950,
|
|
1280
|
-
/**
|
|
1281
|
-
* 1000–1049: ModifyOwnUser
|
|
1282
|
-
*
|
|
1283
|
-
* @generated from enum value: MODIFY_OWN_USER_ERROR_UNKNOWN = 1000;
|
|
1284
|
-
*/
|
|
1285
|
-
MODIFY_OWN_USER_ERROR_UNKNOWN = 1000,
|
|
1286
|
-
/**
|
|
1287
|
-
* 1100–1149: Verify TOTP
|
|
1288
|
-
*
|
|
1289
|
-
* @generated from enum value: VERIFY_OTHER_TOTP_ERROR_INVALID_CODE = 1100;
|
|
1290
|
-
*/
|
|
1291
|
-
VERIFY_OTHER_TOTP_ERROR_INVALID_CODE = 1100,
|
|
1292
|
-
/**
|
|
1293
|
-
* @generated from enum value: VERIFY_OTHER_TOTP_ERROR_UNKNOWN = 1149;
|
|
1294
|
-
*/
|
|
1295
|
-
VERIFY_OTHER_TOTP_ERROR_UNKNOWN = 1149,
|
|
1296
|
-
/**
|
|
1297
|
-
* @generated from enum value: VERIFY_OWN_TOTP_ERROR_INVALID_CODE = 1150;
|
|
1298
|
-
*/
|
|
1299
|
-
VERIFY_OWN_TOTP_ERROR_INVALID_CODE = 1150,
|
|
1300
|
-
/**
|
|
1301
|
-
* @generated from enum value: VERIFY_OWN_TOTP_ERROR_UNKNOWN = 1199;
|
|
1302
|
-
*/
|
|
1303
|
-
VERIFY_OWN_TOTP_ERROR_UNKNOWN = 1199,
|
|
1304
|
-
/**
|
|
1305
|
-
* 1200–1249: RenewToken
|
|
1306
|
-
*
|
|
1307
|
-
* @generated from enum value: RENEW_TOKEN_ERROR_UNAUTHENTICATED = 1200;
|
|
1308
|
-
*/
|
|
1309
|
-
RENEW_TOKEN_ERROR_UNAUTHENTICATED = 1200,
|
|
1310
|
-
/**
|
|
1311
|
-
* @generated from enum value: RENEW_TOKEN_ERROR_UNKNOWN = 1249;
|
|
1312
|
-
*/
|
|
1313
|
-
RENEW_TOKEN_ERROR_UNKNOWN = 1249
|
|
1314
|
-
}
|
|
1315
|
-
/**
|
|
1316
|
-
* Describes the enum IT.WebServices.Fragments.Authentication.AuthErrorReason.
|
|
1317
|
-
*/
|
|
1318
|
-
export declare const AuthErrorReasonSchema: GenEnum<AuthErrorReason>;
|
|
1319
1121
|
/**
|
|
1320
1122
|
* Service for Authentication user fragment interface
|
|
1321
1123
|
*
|
|
@@ -163,6 +163,18 @@ export type UserPrivateData = Message<"IT.WebServices.Fragments.Authentication.U
|
|
|
163
163
|
* @generated from field: string Email = 1;
|
|
164
164
|
*/
|
|
165
165
|
Email: string;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: string FirstName = 11;
|
|
168
|
+
*/
|
|
169
|
+
FirstName: string;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string LastName = 12;
|
|
172
|
+
*/
|
|
173
|
+
LastName: string;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string PostalCode = 21;
|
|
176
|
+
*/
|
|
177
|
+
PostalCode: string;
|
|
166
178
|
/**
|
|
167
179
|
* @generated from field: string OldUserID = 51;
|
|
168
180
|
*/
|
|
@@ -193,6 +205,10 @@ export type UserServerRecord = Message<"IT.WebServices.Fragments.Authentication.
|
|
|
193
205
|
* @generated from field: repeated IT.WebServices.Fragments.Authentication.TOTPDevice TOTPDevices = 10;
|
|
194
206
|
*/
|
|
195
207
|
TOTPDevices: TOTPDevice[];
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: IT.WebServices.Fragments.Authentication.AuthProviders AuthProviders = 11;
|
|
210
|
+
*/
|
|
211
|
+
AuthProviders?: AuthProviders;
|
|
196
212
|
/**
|
|
197
213
|
* @generated from field: string OldPassword = 51;
|
|
198
214
|
*/
|
|
@@ -253,3 +269,31 @@ export type TOTPDevice = Message<"IT.WebServices.Fragments.Authentication.TOTPDe
|
|
|
253
269
|
* Use `create(TOTPDeviceSchema)` to create a new message.
|
|
254
270
|
*/
|
|
255
271
|
export declare const TOTPDeviceSchema: GenMessage<TOTPDevice>;
|
|
272
|
+
/**
|
|
273
|
+
* @generated from message IT.WebServices.Fragments.Authentication.AuthProviders
|
|
274
|
+
*/
|
|
275
|
+
export type AuthProviders = Message<"IT.WebServices.Fragments.Authentication.AuthProviders"> & {
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: IT.WebServices.Fragments.Authentication.MicrosoftAuthProvider Microsoft = 1;
|
|
278
|
+
*/
|
|
279
|
+
Microsoft?: MicrosoftAuthProvider;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message IT.WebServices.Fragments.Authentication.AuthProviders.
|
|
283
|
+
* Use `create(AuthProvidersSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const AuthProvidersSchema: GenMessage<AuthProviders>;
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message IT.WebServices.Fragments.Authentication.MicrosoftAuthProvider
|
|
288
|
+
*/
|
|
289
|
+
export type MicrosoftAuthProvider = Message<"IT.WebServices.Fragments.Authentication.MicrosoftAuthProvider"> & {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string UserId = 1;
|
|
292
|
+
*/
|
|
293
|
+
UserId: string;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Describes the message IT.WebServices.Fragments.Authentication.MicrosoftAuthProvider.
|
|
297
|
+
* Use `create(MicrosoftAuthProviderSchema)` to create a new message.
|
|
298
|
+
*/
|
|
299
|
+
export declare const MicrosoftAuthProviderSchema: GenMessage<MicrosoftAuthProvider>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { CancelSubscriptionResponseSchema, GetOneTimeRecordResponseSchema, GetOneTimeRecordsResponseSchema, GetSubscriptionRecordResponseSchema, GetSubscriptionRecordsResponseSchema, ReconcileSubscriptionResponseSchema } from "./PaymentInterface_pb";
|
|
3
3
|
import type { PaymentBulkAction, PaymentBulkActionProgress } from "./SharedTypes_pb";
|
|
4
|
+
import type { GenericSubscriptionFullRecord } from "./DataRecords_pb";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/AdminPaymentInterface.proto.
|
|
@@ -189,6 +190,58 @@ export type ReconcileOtherSubscriptionRequest = Message<"IT.WebServices.Fragment
|
|
|
189
190
|
* Use `create(ReconcileOtherSubscriptionRequestSchema)` to create a new message.
|
|
190
191
|
*/
|
|
191
192
|
export declare const ReconcileOtherSubscriptionRequestSchema: GenMessage<ReconcileOtherSubscriptionRequest>;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message IT.WebServices.Fragments.Authorization.Payment.ListSubscriptionsRequest
|
|
195
|
+
*/
|
|
196
|
+
export type ListSubscriptionsRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.ListSubscriptionsRequest"> & {
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: uint32 PageSize = 1;
|
|
199
|
+
*/
|
|
200
|
+
PageSize: number;
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: uint32 PageOffset = 2;
|
|
203
|
+
*/
|
|
204
|
+
PageOffset: number;
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: bool IncludeInactive = 3;
|
|
207
|
+
*/
|
|
208
|
+
IncludeInactive: boolean;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Describes the message IT.WebServices.Fragments.Authorization.Payment.ListSubscriptionsRequest.
|
|
212
|
+
* Use `create(ListSubscriptionsRequestSchema)` to create a new message.
|
|
213
|
+
*/
|
|
214
|
+
export declare const ListSubscriptionsRequestSchema: GenMessage<ListSubscriptionsRequest>;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from message IT.WebServices.Fragments.Authorization.Payment.ListSubscriptionsResponse
|
|
217
|
+
*/
|
|
218
|
+
export type ListSubscriptionsResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.ListSubscriptionsResponse"> & {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string Error = 1;
|
|
221
|
+
*/
|
|
222
|
+
Error: string;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionFullRecord Subscriptions = 2;
|
|
225
|
+
*/
|
|
226
|
+
Subscriptions: GenericSubscriptionFullRecord[];
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: uint32 PageTotalItems = 3;
|
|
229
|
+
*/
|
|
230
|
+
PageTotalItems: number;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: uint32 PageOffsetStart = 4;
|
|
233
|
+
*/
|
|
234
|
+
PageOffsetStart: number;
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: uint32 PageOffsetEnd = 5;
|
|
237
|
+
*/
|
|
238
|
+
PageOffsetEnd: number;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message IT.WebServices.Fragments.Authorization.Payment.ListSubscriptionsResponse.
|
|
242
|
+
* Use `create(ListSubscriptionsResponseSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const ListSubscriptionsResponseSchema: GenMessage<ListSubscriptionsResponse>;
|
|
192
245
|
/**
|
|
193
246
|
* @generated from service IT.WebServices.Fragments.Authorization.Payment.AdminPaymentInterface
|
|
194
247
|
*/
|
|
@@ -265,4 +318,12 @@ export declare const AdminPaymentInterface: GenService<{
|
|
|
265
318
|
input: typeof ReconcileOtherSubscriptionRequestSchema;
|
|
266
319
|
output: typeof ReconcileSubscriptionResponseSchema;
|
|
267
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* @generated from rpc IT.WebServices.Fragments.Authorization.Payment.AdminPaymentInterface.ListSubscriptions
|
|
323
|
+
*/
|
|
324
|
+
listSubscriptions: {
|
|
325
|
+
methodKind: "unary";
|
|
326
|
+
input: typeof ListSubscriptionsRequestSchema;
|
|
327
|
+
output: typeof ListSubscriptionsResponseSchema;
|
|
328
|
+
};
|
|
268
329
|
}>;
|