@inverted-tech/fragments 0.3.9 → 0.4.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 (55) hide show
  1. package/dist/esm/Authentication/UserInterface_pb.js +1 -101
  2. package/dist/esm/Authorization/Events/AdminEventInterface_pb.js +1 -1
  3. package/dist/esm/Authorization/Events/EventError_pb.js +97 -223
  4. package/dist/esm/Authorization/Events/EventInterface_pb.js +1 -1
  5. package/dist/esm/Authorization/Payment/AdminPaymentInterface_pb.js +2 -1
  6. package/dist/esm/Authorization/Payment/PaymentError_pb.js +150 -0
  7. package/dist/esm/Authorization/Payment/PaymentInterface_pb.js +2 -1
  8. package/dist/esm/Authorization/Payment/Paypal/PaypalInterface_pb.js +2 -1
  9. package/dist/esm/Authorization/Payment/Stripe/StripeInterface_pb.js +2 -1
  10. package/dist/esm/Authorization/Payment/index.js +1 -0
  11. package/dist/esm/Comment/CommentError_pb.js +124 -0
  12. package/dist/esm/Comment/CommentInterface_pb.js +2 -1
  13. package/dist/esm/Comment/index.js +1 -0
  14. package/dist/esm/Content/AssetInterface_pb.js +2 -1
  15. package/dist/esm/Content/ContentError_pb.js +110 -0
  16. package/dist/esm/Content/Rumble_pb.js +2 -1
  17. package/dist/esm/Content/Stats/StatsProgressInterface_pb.js +2 -1
  18. package/dist/esm/Content/Video_pb.js +2 -1
  19. package/dist/esm/Content/index.js +1 -0
  20. package/dist/esm/Notification/NotificationError_pb.js +68 -0
  21. package/dist/esm/Notification/NotificationInterface_pb.js +2 -1
  22. package/dist/esm/Notification/UserNotificationInterface_pb.js +2 -1
  23. package/dist/esm/Notification/index.js +1 -0
  24. package/dist/esm/Page/PageError_pb.js +138 -0
  25. package/dist/esm/Page/PageInterface_pb.js +2 -1
  26. package/dist/esm/Page/index.js +1 -0
  27. package/dist/esm/Settings/SettingsInterface_pb.js +2 -20
  28. package/dist/protos/Authentication/UserInterface_pb.d.ts +10 -106
  29. package/dist/protos/Authorization/Events/AdminEventInterface_pb.d.ts +5 -5
  30. package/dist/protos/Authorization/Events/EventError_pb.d.ts +101 -286
  31. package/dist/protos/Authorization/Events/EventInterface_pb.d.ts +11 -11
  32. package/dist/protos/Authorization/Payment/AdminPaymentInterface_pb.d.ts +13 -0
  33. package/dist/protos/Authorization/Payment/PaymentError_pb.d.ts +164 -0
  34. package/dist/protos/Authorization/Payment/PaymentInterface_pb.d.ts +29 -4
  35. package/dist/protos/Authorization/Payment/Paypal/PaypalInterface_pb.d.ts +3 -2
  36. package/dist/protos/Authorization/Payment/Stripe/StripeInterface_pb.d.ts +21 -20
  37. package/dist/protos/Authorization/Payment/index.d.ts +1 -0
  38. package/dist/protos/Comment/CommentError_pb.d.ts +138 -0
  39. package/dist/protos/Comment/CommentInterface_pb.d.ts +5 -4
  40. package/dist/protos/Comment/index.d.ts +1 -0
  41. package/dist/protos/Content/AssetInterface_pb.d.ts +21 -0
  42. package/dist/protos/Content/ContentError_pb.d.ts +124 -0
  43. package/dist/protos/Content/Rumble_pb.d.ts +7 -6
  44. package/dist/protos/Content/Stats/StatsProgressInterface_pb.d.ts +3 -2
  45. package/dist/protos/Content/Video_pb.d.ts +3 -2
  46. package/dist/protos/Content/index.d.ts +1 -0
  47. package/dist/protos/Notification/NotificationError_pb.d.ts +82 -0
  48. package/dist/protos/Notification/NotificationInterface_pb.d.ts +3 -2
  49. package/dist/protos/Notification/UserNotificationInterface_pb.d.ts +7 -6
  50. package/dist/protos/Notification/index.d.ts +1 -0
  51. package/dist/protos/Page/PageError_pb.d.ts +152 -0
  52. package/dist/protos/Page/PageInterface_pb.d.ts +49 -0
  53. package/dist/protos/Page/index.d.ts +1 -0
  54. package/dist/protos/Settings/SettingsInterface_pb.d.ts +37 -162
  55. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ValidationIssue } from "../../Errors_pb";
2
3
  import type { Message } from "@bufbuild/protobuf";
3
4
  /**
4
5
  * Describes the file Protos/IT/WebServices/Fragments/Authorization/Events/EventError.proto.
@@ -9,46 +10,17 @@ export declare const file_Protos_IT_WebServices_Fragments_Authorization_Events_E
9
10
  */
10
11
  export type EventError = Message<"IT.WebServices.Fragments.Authorization.Events.EventError"> & {
11
12
  /**
12
- * @generated from field: string Message = 1;
13
+ * @generated from field: IT.WebServices.Fragments.Authorization.Events.EventErrorReason Type = 1;
14
+ */
15
+ Type: EventErrorReason;
16
+ /**
17
+ * @generated from field: string Message = 2;
13
18
  */
14
19
  Message: string;
15
20
  /**
16
- * @generated from oneof IT.WebServices.Fragments.Authorization.Events.EventError.ErrorTypeOneOf
17
- */
18
- ErrorTypeOneOf: {
19
- /**
20
- * Error type for event creation
21
- *
22
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.CreateEventErrorType CreateEventError = 2;
23
- */
24
- value: CreateEventErrorType;
25
- case: "CreateEventError";
26
- } | {
27
- /**
28
- * Error type for recurring event creation
29
- *
30
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.CreateRecurringEventErrorType CreateRecurringEventError = 3;
31
- */
32
- value: CreateRecurringEventErrorType;
33
- case: "CreateRecurringEventError";
34
- } | {
35
- /**
36
- * Error type for event cancellation
37
- *
38
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.CancelEventErrorType CancelEventError = 4;
39
- */
40
- value: CancelEventErrorType;
41
- case: "CancelEventError";
42
- } | {
43
- /**
44
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.GetEventErrorType GetEventError = 5;
45
- */
46
- value: GetEventErrorType;
47
- case: "GetEventError";
48
- } | {
49
- case: undefined;
50
- value?: undefined;
51
- };
21
+ * @generated from field: repeated IT.WebServices.Fragments.ValidationIssue Validation = 3;
22
+ */
23
+ Validation: ValidationIssue[];
52
24
  };
53
25
  /**
54
26
  * Describes the message IT.WebServices.Fragments.Authorization.Events.EventError.
@@ -56,344 +28,187 @@ export type EventError = Message<"IT.WebServices.Fragments.Authorization.Events.
56
28
  */
57
29
  export declare const EventErrorSchema: GenMessage<EventError>;
58
30
  /**
59
- * @generated from message IT.WebServices.Fragments.Authorization.Events.TicketError
31
+ * @generated from enum IT.WebServices.Fragments.Authorization.Events.EventErrorReason
60
32
  */
61
- export type TicketError = Message<"IT.WebServices.Fragments.Authorization.Events.TicketError"> & {
33
+ export declare enum EventErrorReason {
62
34
  /**
63
- * @generated from field: string Message = 1;
35
+ * @generated from enum value: EVENT_REASON_UNSPECIFIED = 0;
64
36
  */
65
- Message: string;
66
- /**
67
- * @generated from oneof IT.WebServices.Fragments.Authorization.Events.TicketError.TicketErrorType
68
- */
69
- TicketErrorType: {
70
- /**
71
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.ReserveTicketErrorType ReserveTicketError = 2;
72
- */
73
- value: ReserveTicketErrorType;
74
- case: "ReserveTicketError";
75
- } | {
76
- /**
77
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.CancelTicketErrorType CancelTicketError = 3;
78
- */
79
- value: CancelTicketErrorType;
80
- case: "CancelTicketError";
81
- } | {
82
- /**
83
- * Error type for using a ticket
84
- *
85
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.UseTicketErrorType UseTicketError = 4;
86
- */
87
- value: UseTicketErrorType;
88
- case: "UseTicketError";
89
- } | {
90
- case: undefined;
91
- value?: undefined;
92
- };
93
- };
94
- /**
95
- * Describes the message IT.WebServices.Fragments.Authorization.Events.TicketError.
96
- * Use `create(TicketErrorSchema)` to create a new message.
97
- */
98
- export declare const TicketErrorSchema: GenMessage<TicketError>;
99
- /**
100
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.CreateEventErrorType
101
- */
102
- export declare enum CreateEventErrorType {
37
+ EVENT_REASON_UNSPECIFIED = 0,
103
38
  /**
104
- * No error occurred
39
+ * Event Creation 100-149
105
40
  *
106
- * @generated from enum value: CREATE_EVENT_NO_ERROR = 0;
41
+ * @generated from enum value: CREATE_EVENT_ERROR_INVALID_REQUEST = 100;
107
42
  */
108
- CREATE_EVENT_NO_ERROR = 0,
43
+ CREATE_EVENT_ERROR_INVALID_REQUEST = 100,
109
44
  /**
110
- * The request was invalid
111
- *
112
- * @generated from enum value: CREATE_EVENT_INVALID_REQUEST = 1;
45
+ * @generated from enum value: CREATE_EVENT_ERROR_UNAUTHORIZED = 101;
113
46
  */
114
- CREATE_EVENT_INVALID_REQUEST = 1,
47
+ CREATE_EVENT_ERROR_UNAUTHORIZED = 101,
115
48
  /**
116
- * The user is not authorized to create events
117
- *
118
- * @generated from enum value: CREATE_EVENT_UNAUTHORIZED = 2;
49
+ * @generated from enum value: CREATE_EVENT_ERROR_NULL_BODY = 102;
119
50
  */
120
- CREATE_EVENT_UNAUTHORIZED = 2,
51
+ CREATE_EVENT_ERROR_NULL_BODY = 102,
121
52
  /**
122
- * The request body was null
123
- *
124
- * @generated from enum value: CREATE_EVENT_NULL_BODY = 3;
53
+ * @generated from enum value: CREATE_EVENT_ERROR_ALREADY_EXISTS = 103;
125
54
  */
126
- CREATE_EVENT_NULL_BODY = 3,
55
+ CREATE_EVENT_ERROR_ALREADY_EXISTS = 103,
127
56
  /**
128
- * Event Already Exists
129
- *
130
- * @generated from enum value: CREATE_EVENT_FILE_EXISTS = 4;
57
+ * @generated from enum value: CREATE_EVENT_ERROR_UNKNOWN = 149;
131
58
  */
132
- CREATE_EVENT_FILE_EXISTS = 4,
59
+ CREATE_EVENT_ERROR_UNKNOWN = 149,
133
60
  /**
134
- * An unknown error occurred
61
+ * Recurring Event Creation 200-249
135
62
  *
136
- * @generated from enum value: CREATE_EVENT_UNKNOWN = 5;
63
+ * @generated from enum value: CREATE_RECURRING_EVENT_ERROR_INVALID_REQUEST = 200;
137
64
  */
138
- CREATE_EVENT_UNKNOWN = 5
139
- }
140
- /**
141
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.CreateEventErrorType.
142
- */
143
- export declare const CreateEventErrorTypeSchema: GenEnum<CreateEventErrorType>;
144
- /**
145
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.CreateRecurringEventErrorType
146
- */
147
- export declare enum CreateRecurringEventErrorType {
65
+ CREATE_RECURRING_EVENT_ERROR_INVALID_REQUEST = 200,
148
66
  /**
149
- * No error occurred
150
- *
151
- * @generated from enum value: CREATE_RECURRING_EVENT_NO_ERROR = 0;
67
+ * @generated from enum value: CREATE_RECURRING_EVENT_ERROR_UNAUTHORIZED = 201;
152
68
  */
153
- CREATE_RECURRING_EVENT_NO_ERROR = 0,
69
+ CREATE_RECURRING_EVENT_ERROR_UNAUTHORIZED = 201,
154
70
  /**
155
- * The request was invalid
156
- *
157
- * @generated from enum value: CREATE_RECURRING_EVENT_INVALID_REQUEST = 1;
71
+ * @generated from enum value: CREATE_RECURRING_EVENT_ERROR_NULL_BODY = 202;
158
72
  */
159
- CREATE_RECURRING_EVENT_INVALID_REQUEST = 1,
73
+ CREATE_RECURRING_EVENT_ERROR_NULL_BODY = 202,
160
74
  /**
161
- * The user is not authorized to create recurring events
162
- *
163
- * @generated from enum value: CREATE_RECURRING_EVENT_UNAUTHORIZED = 2;
75
+ * @generated from enum value: CREATE_RECURRING_EVENT_ERROR_INVALID_RECURRENCE = 203;
164
76
  */
165
- CREATE_RECURRING_EVENT_UNAUTHORIZED = 2,
77
+ CREATE_RECURRING_EVENT_ERROR_INVALID_RECURRENCE = 203,
166
78
  /**
167
- * The request body was null
168
- *
169
- * @generated from enum value: CREATE_RECURRING_EVENT_NULL_BODY = 3;
79
+ * @generated from enum value: CREATE_RECURRING_EVENT_ERROR_INVALID_HASH = 204;
170
80
  */
171
- CREATE_RECURRING_EVENT_NULL_BODY = 3,
81
+ CREATE_RECURRING_EVENT_ERROR_INVALID_HASH = 204,
172
82
  /**
173
- * An Invalidd recurrence rule was provided
174
- *
175
- * @generated from enum value: CREATE_RECURRING_EVENT_IVALID_RECURRENCE = 4;
83
+ * @generated from enum value: CREATE_RECURRING_EVENT_ERROR_UNKNOWN = 249;
176
84
  */
177
- CREATE_RECURRING_EVENT_IVALID_RECURRENCE = 4,
85
+ CREATE_RECURRING_EVENT_ERROR_UNKNOWN = 249,
178
86
  /**
179
- * An unknown error occurred
87
+ * Event Retrieval 300-349
180
88
  *
181
- * @generated from enum value: CREATE_RECURRING_EVENT_UNKNOWN = 5;
89
+ * @generated from enum value: GET_EVENT_ERROR_NOT_FOUND = 300;
182
90
  */
183
- CREATE_RECURRING_EVENT_UNKNOWN = 5,
91
+ GET_EVENT_ERROR_NOT_FOUND = 300,
184
92
  /**
185
- * The recurrence hash provided is invalid
186
- *
187
- * @generated from enum value: CREATE_RECURRING_EVENT_INVALID_HASH = 6;
93
+ * @generated from enum value: GET_EVENT_ERROR_UNAUTHORIZED = 301;
188
94
  */
189
- CREATE_RECURRING_EVENT_INVALID_HASH = 6
190
- }
191
- /**
192
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.CreateRecurringEventErrorType.
193
- */
194
- export declare const CreateRecurringEventErrorTypeSchema: GenEnum<CreateRecurringEventErrorType>;
195
- /**
196
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.GetEventErrorType
197
- */
198
- export declare enum GetEventErrorType {
95
+ GET_EVENT_ERROR_UNAUTHORIZED = 301,
199
96
  /**
200
- * No error occurred
201
- *
202
- * @generated from enum value: GET_EVENT_NO_ERROR = 0;
97
+ * @generated from enum value: GET_EVENT_ERROR_INVALID_HASH = 302;
203
98
  */
204
- GET_EVENT_NO_ERROR = 0,
99
+ GET_EVENT_ERROR_INVALID_HASH = 302,
205
100
  /**
206
- * The requested event was not found
207
- *
208
- * @generated from enum value: GET_EVENT_NOT_FOUND = 1;
101
+ * @generated from enum value: GET_EVENT_ERROR_UNKNOWN = 349;
209
102
  */
210
- GET_EVENT_NOT_FOUND = 1,
103
+ GET_EVENT_ERROR_UNKNOWN = 349,
211
104
  /**
212
- * The user is not authorized to view the event
105
+ * Event Cancellation 400-449
213
106
  *
214
- * @generated from enum value: GET_EVENT_UNAUTHORIZED = 2;
107
+ * @generated from enum value: CANCEL_EVENT_ERROR_NOT_FOUND = 400;
215
108
  */
216
- GET_EVENT_UNAUTHORIZED = 2,
109
+ CANCEL_EVENT_ERROR_NOT_FOUND = 400,
217
110
  /**
218
- * An unknown error occurred
219
- *
220
- * @generated from enum value: GET_EVENT_UNKNOWN = 3;
111
+ * @generated from enum value: CANCEL_EVENT_ERROR_UNAUTHORIZED = 401;
221
112
  */
222
- GET_EVENT_UNKNOWN = 3,
113
+ CANCEL_EVENT_ERROR_UNAUTHORIZED = 401,
223
114
  /**
224
- * The recurrence hash provided is invalid
225
- *
226
- * @generated from enum value: GET_EVENT_INVALID_HASH = 4;
115
+ * @generated from enum value: CANCEL_EVENT_ERROR_UNKNOWN = 449;
227
116
  */
228
- GET_EVENT_INVALID_HASH = 4
229
- }
230
- /**
231
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.GetEventErrorType.
232
- */
233
- export declare const GetEventErrorTypeSchema: GenEnum<GetEventErrorType>;
234
- /**
235
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.CancelEventErrorType
236
- */
237
- export declare enum CancelEventErrorType {
117
+ CANCEL_EVENT_ERROR_UNKNOWN = 449,
238
118
  /**
239
- * No error occurred
119
+ * Ticket Reservation 500-549
240
120
  *
241
- * @generated from enum value: CANCEL_EVENT_NO_ERROR = 0;
121
+ * @generated from enum value: RESERVE_TICKET_ERROR_INVALID_REQUEST = 500;
242
122
  */
243
- CANCEL_EVENT_NO_ERROR = 0,
123
+ RESERVE_TICKET_ERROR_INVALID_REQUEST = 500,
244
124
  /**
245
- * The event to cancel was not found
246
- *
247
- * @generated from enum value: CANCEL_EVENT_NOT_FOUND = 1;
125
+ * @generated from enum value: RESERVE_TICKET_ERROR_UNAUTHORIZED = 501;
248
126
  */
249
- CANCEL_EVENT_NOT_FOUND = 1,
127
+ RESERVE_TICKET_ERROR_UNAUTHORIZED = 501,
250
128
  /**
251
- * The user is not authorized to cancel the event
252
- *
253
- * @generated from enum value: CANCEL_EVENT_UNAUTHORIZED = 2;
129
+ * @generated from enum value: RESERVE_TICKET_ERROR_EVENT_NOT_FOUND = 502;
254
130
  */
255
- CANCEL_EVENT_UNAUTHORIZED = 2,
131
+ RESERVE_TICKET_ERROR_EVENT_NOT_FOUND = 502,
256
132
  /**
257
- * An unknown error occurred
258
- *
259
- * @generated from enum value: CANCEL_EVENT_UNKNOWN = 3;
133
+ * @generated from enum value: RESERVE_TICKET_ERROR_MAX_LIMIT_REACHED = 503;
260
134
  */
261
- CANCEL_EVENT_UNKNOWN = 3
262
- }
263
- /**
264
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.CancelEventErrorType.
265
- */
266
- export declare const CancelEventErrorTypeSchema: GenEnum<CancelEventErrorType>;
267
- /**
268
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.ReserveTicketErrorType
269
- */
270
- export declare enum ReserveTicketErrorType {
135
+ RESERVE_TICKET_ERROR_MAX_LIMIT_REACHED = 503,
271
136
  /**
272
- * No error occurred
273
- *
274
- * @generated from enum value: RESERVE_TICKET_NO_ERROR = 0;
137
+ * @generated from enum value: RESERVE_TICKET_ERROR_NOT_ON_SALE = 504;
275
138
  */
276
- RESERVE_TICKET_NO_ERROR = 0,
139
+ RESERVE_TICKET_ERROR_NOT_ON_SALE = 504,
277
140
  /**
278
- * The request was invalid
279
- *
280
- * @generated from enum value: RESERVE_TICKET_INVALID_REQUEST = 1;
141
+ * @generated from enum value: RESERVE_TICKET_ERROR_UNKNOWN = 549;
281
142
  */
282
- RESERVE_TICKET_INVALID_REQUEST = 1,
143
+ RESERVE_TICKET_ERROR_UNKNOWN = 549,
283
144
  /**
284
- * The user is not authorized to reserve tickets
145
+ * Ticket Cancellation 600-649
285
146
  *
286
- * @generated from enum value: RESERVE_TICKET_UNAUTHORIZED = 2;
147
+ * @generated from enum value: CANCEL_TICKET_ERROR_UNAUTHORIZED = 600;
287
148
  */
288
- RESERVE_TICKET_UNAUTHORIZED = 2,
149
+ CANCEL_TICKET_ERROR_UNAUTHORIZED = 600,
289
150
  /**
290
- * The event for which to reserve tickets was not found
291
- *
292
- * @generated from enum value: RESERVE_TICKET_EVENT_NOT_FOUND = 3;
151
+ * @generated from enum value: CANCEL_TICKET_ERROR_EVENT_NOT_FOUND = 601;
293
152
  */
294
- RESERVE_TICKET_EVENT_NOT_FOUND = 3,
153
+ CANCEL_TICKET_ERROR_EVENT_NOT_FOUND = 601,
295
154
  /**
296
- * The maximum number of tickets for the event has been reached
297
- *
298
- * @generated from enum value: RESERVE_TICKET_MAX_LIMIT_REACHED = 4;
155
+ * @generated from enum value: CANCEL_TICKET_ERROR_TICKET_NOT_FOUND = 602;
299
156
  */
300
- RESERVE_TICKET_MAX_LIMIT_REACHED = 4,
157
+ CANCEL_TICKET_ERROR_TICKET_NOT_FOUND = 602,
301
158
  /**
302
- * The tickets for the event are not currently on sale
303
- *
304
- * @generated from enum value: RESERVE_TICKET_NOT_ON_SALE = 5;
159
+ * @generated from enum value: CANCEL_TICKET_ERROR_UNKNOWN = 649;
305
160
  */
306
- RESERVE_TICKET_NOT_ON_SALE = 5,
161
+ CANCEL_TICKET_ERROR_UNKNOWN = 649,
307
162
  /**
308
- * An unknown error occurred
163
+ * Ticket Usage 700-749
309
164
  *
310
- * @generated from enum value: RESERVE_TICKET_UNKNOWN = 6;
311
- */
312
- RESERVE_TICKET_UNKNOWN = 6
313
- }
314
- /**
315
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.ReserveTicketErrorType.
316
- */
317
- export declare const ReserveTicketErrorTypeSchema: GenEnum<ReserveTicketErrorType>;
318
- /**
319
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.CancelTicketErrorType
320
- */
321
- export declare enum CancelTicketErrorType {
322
- /**
323
- * @generated from enum value: CANCEL_TICKET_NO_ERROR = 0;
165
+ * @generated from enum value: USE_TICKET_ERROR_UNAUTHORIZED = 700;
324
166
  */
325
- CANCEL_TICKET_NO_ERROR = 0,
167
+ USE_TICKET_ERROR_UNAUTHORIZED = 700,
326
168
  /**
327
- * @generated from enum value: CANCEL_TICKET_UNAUTHORIZED = 1;
169
+ * @generated from enum value: USE_TICKET_ERROR_EVENT_NOT_FOUND = 701;
328
170
  */
329
- CANCEL_TICKET_UNAUTHORIZED = 1,
171
+ USE_TICKET_ERROR_EVENT_NOT_FOUND = 701,
330
172
  /**
331
- * @generated from enum value: CANCEL_TICKET_EVENT_NOT_FOUND = 2;
173
+ * @generated from enum value: USE_TICKET_ERROR_TICKET_NOT_FOUND = 702;
332
174
  */
333
- CANCEL_TICKET_EVENT_NOT_FOUND = 2,
334
- /**
335
- * @generated from enum value: CANCEL_TICKET_TICKET_NOT_FOUND = 3;
336
- */
337
- CANCEL_TICKET_TICKET_NOT_FOUND = 3
338
- }
339
- /**
340
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.CancelTicketErrorType.
341
- */
342
- export declare const CancelTicketErrorTypeSchema: GenEnum<CancelTicketErrorType>;
343
- /**
344
- * @generated from enum IT.WebServices.Fragments.Authorization.Events.UseTicketErrorType
345
- */
346
- export declare enum UseTicketErrorType {
175
+ USE_TICKET_ERROR_TICKET_NOT_FOUND = 702,
347
176
  /**
348
- * No error occurred
349
- *
350
- * @generated from enum value: USE_TICKET_NO_ERROR = 0;
177
+ * @generated from enum value: USE_TICKET_ERROR_ALREADY_USED = 703;
351
178
  */
352
- USE_TICKET_NO_ERROR = 0,
179
+ USE_TICKET_ERROR_ALREADY_USED = 703,
353
180
  /**
354
- * The user is not authorized to use the ticket
355
- *
356
- * @generated from enum value: USE_TICKET_UNAUTHORIZED = 1;
181
+ * @generated from enum value: USE_TICKET_ERROR_EXPIRED = 704;
357
182
  */
358
- USE_TICKET_UNAUTHORIZED = 1,
183
+ USE_TICKET_ERROR_EXPIRED = 704,
359
184
  /**
360
- * The event for which to use the ticket was not found
361
- *
362
- * @generated from enum value: USE_TICKET_EVENT_NOT_FOUND = 2;
185
+ * @generated from enum value: USE_TICKET_ERROR_CANCELED = 705;
363
186
  */
364
- USE_TICKET_EVENT_NOT_FOUND = 2,
187
+ USE_TICKET_ERROR_CANCELED = 705,
365
188
  /**
366
- * The ticket to use was not found
367
- *
368
- * @generated from enum value: USE_TICKET_TICKET_NOT_FOUND = 3;
189
+ * @generated from enum value: USE_TICKET_ERROR_UNKNOWN = 749;
369
190
  */
370
- USE_TICKET_TICKET_NOT_FOUND = 3,
191
+ USE_TICKET_ERROR_UNKNOWN = 749,
371
192
  /**
372
- * The ticket has already been used
193
+ * Generic 900-999
373
194
  *
374
- * @generated from enum value: USE_TICKET_ALREADY_USED = 4;
195
+ * @generated from enum value: EVENT_ERROR_SERVICE_OFFLINE = 900;
375
196
  */
376
- USE_TICKET_ALREADY_USED = 4,
197
+ EVENT_ERROR_SERVICE_OFFLINE = 900,
377
198
  /**
378
- * The ticket has expired
379
- *
380
- * @generated from enum value: USE_TICKET_EXPIRED = 5;
199
+ * @generated from enum value: EVENT_ERROR_VALIDATION_FAILED = 901;
381
200
  */
382
- USE_TICKET_EXPIRED = 5,
201
+ EVENT_ERROR_VALIDATION_FAILED = 901,
383
202
  /**
384
- * The ticket has been canceled
385
- *
386
- * @generated from enum value: USE_TICKET_CANCELED = 6;
203
+ * @generated from enum value: EVENT_ERROR_UNAUTHORIZED = 902;
387
204
  */
388
- USE_TICKET_CANCELED = 6,
205
+ EVENT_ERROR_UNAUTHORIZED = 902,
389
206
  /**
390
- * An unknown error occurred
391
- *
392
- * @generated from enum value: USE_TICKET_UNKNOWN = 7;
207
+ * @generated from enum value: EVENT_ERROR_UNKNOWN = 999;
393
208
  */
394
- USE_TICKET_UNKNOWN = 7
209
+ EVENT_ERROR_UNKNOWN = 999
395
210
  }
396
211
  /**
397
- * Describes the enum IT.WebServices.Fragments.Authorization.Events.UseTicketErrorType.
212
+ * Describes the enum IT.WebServices.Fragments.Authorization.Events.EventErrorReason.
398
213
  */
399
- export declare const UseTicketErrorTypeSchema: GenEnum<UseTicketErrorType>;
214
+ export declare const EventErrorReasonSchema: GenEnum<EventErrorReason>;
@@ -1,7 +1,7 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { EventPublicRecord } from "./EventRecord_pb";
3
3
  import type { EventTicketPublicRecord, EventTicketRecord } from "./EventTicketRecord_pb";
4
- import type { EventError, TicketError } from "./EventError_pb";
4
+ import type { EventError } from "./EventError_pb";
5
5
  import type { Pagination } from "../../CommonTypes_pb";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
7
  /**
@@ -125,9 +125,9 @@ export type GetOwnTicketResponse = Message<"IT.WebServices.Fragments.Authorizati
125
125
  */
126
126
  Record?: EventTicketPublicRecord;
127
127
  /**
128
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.TicketError Error = 2;
128
+ * @generated from field: IT.WebServices.Fragments.Authorization.Events.EventError Error = 2;
129
129
  */
130
- Error?: TicketError;
130
+ Error?: EventError;
131
131
  };
132
132
  /**
133
133
  * Describes the message IT.WebServices.Fragments.Authorization.Events.GetOwnTicketResponse.
@@ -175,9 +175,9 @@ export type GetOwnTicketsResponse = Message<"IT.WebServices.Fragments.Authorizat
175
175
  */
176
176
  Records: EventTicketPublicRecord[];
177
177
  /**
178
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.TicketError Error = 2;
178
+ * @generated from field: IT.WebServices.Fragments.Authorization.Events.EventError Error = 2;
179
179
  */
180
- Error?: TicketError;
180
+ Error?: EventError;
181
181
  };
182
182
  /**
183
183
  * Describes the message IT.WebServices.Fragments.Authorization.Events.GetOwnTicketsResponse.
@@ -211,9 +211,9 @@ export declare const CancelOwnTicketRequestSchema: GenMessage<CancelOwnTicketReq
211
211
  */
212
212
  export type CancelOwnTicketResponse = Message<"IT.WebServices.Fragments.Authorization.Events.CancelOwnTicketResponse"> & {
213
213
  /**
214
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.TicketError Error = 1;
214
+ * @generated from field: IT.WebServices.Fragments.Authorization.Events.EventError Error = 1;
215
215
  */
216
- Error?: TicketError;
216
+ Error?: EventError;
217
217
  };
218
218
  /**
219
219
  * Describes the message IT.WebServices.Fragments.Authorization.Events.CancelOwnTicketResponse.
@@ -255,9 +255,9 @@ export type ReserveTicketForEventResponse = Message<"IT.WebServices.Fragments.Au
255
255
  /**
256
256
  * Error information if reservation failed
257
257
  *
258
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.TicketError Error = 1;
258
+ * @generated from field: IT.WebServices.Fragments.Authorization.Events.EventError Error = 1;
259
259
  */
260
- Error?: TicketError;
260
+ Error?: EventError;
261
261
  /**
262
262
  * The reserved ticket record if successful
263
263
  *
@@ -293,9 +293,9 @@ export type UseTicketResponse = Message<"IT.WebServices.Fragments.Authorization.
293
293
  /**
294
294
  * Error information if using the ticket failed
295
295
  *
296
- * @generated from field: IT.WebServices.Fragments.Authorization.Events.TicketError Error = 1;
296
+ * @generated from field: IT.WebServices.Fragments.Authorization.Events.EventError Error = 1;
297
297
  */
298
- Error?: TicketError;
298
+ Error?: EventError;
299
299
  };
300
300
  /**
301
301
  * Describes the message IT.WebServices.Fragments.Authorization.Events.UseTicketResponse.
@@ -1,5 +1,6 @@
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
+ import type { PaymentError } from "./PaymentError_pb";
3
4
  import type { PaymentBulkAction, PaymentBulkActionProgress } from "./SharedTypes_pb";
4
5
  import type { Message } from "@bufbuild/protobuf";
5
6
  /**
@@ -28,6 +29,10 @@ export type BulkActionCancelResponse = Message<"IT.WebServices.Fragments.Authori
28
29
  * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.PaymentBulkActionProgress RunningActions = 1;
29
30
  */
30
31
  RunningActions: PaymentBulkActionProgress[];
32
+ /**
33
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
34
+ */
35
+ Error?: PaymentError;
31
36
  };
32
37
  /**
33
38
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.BulkActionCancelResponse.
@@ -56,6 +61,10 @@ export type BulkActionStartResponse = Message<"IT.WebServices.Fragments.Authoriz
56
61
  * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.PaymentBulkActionProgress RunningActions = 1;
57
62
  */
58
63
  RunningActions: PaymentBulkActionProgress[];
64
+ /**
65
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
66
+ */
67
+ Error?: PaymentError;
59
68
  };
60
69
  /**
61
70
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.BulkActionStartResponse.
@@ -79,6 +88,10 @@ export type BulkActionStatusResponse = Message<"IT.WebServices.Fragments.Authori
79
88
  * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.PaymentBulkActionProgress RunningActions = 1;
80
89
  */
81
90
  RunningActions: PaymentBulkActionProgress[];
91
+ /**
92
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
93
+ */
94
+ Error?: PaymentError;
82
95
  };
83
96
  /**
84
97
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.BulkActionStatusResponse.