@inverted-tech/fragments 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/esm/Authentication/Backup_pb.js +1 -1
  2. package/dist/esm/Authentication/UserInterface_pb.js +5 -105
  3. package/dist/esm/Authentication/index.js +5 -5
  4. package/dist/esm/Authorization/Events/AdminEventInterface_pb.js +7 -7
  5. package/dist/esm/Authorization/Events/EventError_pb.js +97 -223
  6. package/dist/esm/Authorization/Events/EventInterface_pb.js +6 -6
  7. package/dist/esm/Authorization/Events/EventRecord_pb.js +2 -2
  8. package/dist/esm/Authorization/Events/EventsSettings_pb.js +2 -2
  9. package/dist/esm/Authorization/Events/index.js +8 -8
  10. package/dist/esm/Authorization/Payment/AdminPaymentInterface_pb.js +5 -4
  11. package/dist/esm/Authorization/Payment/BackupInterface_pb.js +1 -1
  12. package/dist/esm/Authorization/Payment/Crypto/Backup_pb.js +2 -2
  13. package/dist/esm/Authorization/Payment/Crypto/BitcoinInterface_pb.js +2 -2
  14. package/dist/esm/Authorization/Payment/Crypto/CryptoSettings_pb.js +1 -1
  15. package/dist/esm/Authorization/Payment/Crypto/index.js +7 -7
  16. package/dist/esm/Authorization/Payment/DataRecords_pb.js +1 -1
  17. package/dist/esm/Authorization/Payment/Fortis/FortisInterface_pb.js +2 -2
  18. package/dist/esm/Authorization/Payment/Fortis/FortisSettings_pb.js +1 -1
  19. package/dist/esm/Authorization/Payment/Fortis/index.js +4 -4
  20. package/dist/esm/Authorization/Payment/Manual/Backup_pb.js +1 -1
  21. package/dist/esm/Authorization/Payment/Manual/ManualPaymentInterface_pb.js +2 -2
  22. package/dist/esm/Authorization/Payment/Manual/ManualPaymentSettings_pb.js +1 -1
  23. package/dist/esm/Authorization/Payment/Manual/index.js +5 -5
  24. package/dist/esm/Authorization/Payment/PaymentError_pb.js +150 -0
  25. package/dist/esm/Authorization/Payment/PaymentInterface_pb.js +8 -7
  26. package/dist/esm/Authorization/Payment/Paypal/PaypalInterface_pb.js +4 -3
  27. package/dist/esm/Authorization/Payment/Paypal/PaypalSettings_pb.js +1 -1
  28. package/dist/esm/Authorization/Payment/Paypal/index.js +4 -4
  29. package/dist/esm/Authorization/Payment/Stripe/StripeInterface_pb.js +6 -5
  30. package/dist/esm/Authorization/Payment/Stripe/StripeSettings_pb.js +1 -1
  31. package/dist/esm/Authorization/Payment/Stripe/index.js +5 -5
  32. package/dist/esm/Authorization/Payment/index.js +12 -11
  33. package/dist/esm/Authorization/index.js +5 -5
  34. package/dist/esm/Comment/CommentError_pb.js +124 -0
  35. package/dist/esm/Comment/CommentInterface_pb.js +5 -4
  36. package/dist/esm/Comment/index.js +5 -4
  37. package/dist/esm/Content/AssetBackup_pb.js +1 -1
  38. package/dist/esm/Content/AssetInterface_pb.js +7 -5
  39. package/dist/esm/Content/AssetRecord_pb.js +2 -2
  40. package/dist/esm/Content/AudioAssetRecord_pb.js +2 -1
  41. package/dist/esm/Content/ContentError_pb.js +110 -0
  42. package/dist/esm/Content/ContentRecord_pb.js +2 -2
  43. package/dist/esm/Content/Content_pb.js +6 -5
  44. package/dist/esm/Content/ImageAssetRecord_pb.js +2 -1
  45. package/dist/esm/Content/Music/MusicInterface_pb.js +2 -2
  46. package/dist/esm/Content/Music/index.js +3 -3
  47. package/dist/esm/Content/Rumble_pb.js +3 -1
  48. package/dist/esm/Content/Stats/StatsLikeInterface_pb.js +1 -1
  49. package/dist/esm/Content/Stats/StatsProgressInterface_pb.js +3 -2
  50. package/dist/esm/Content/Stats/StatsQueryInterface_pb.js +2 -2
  51. package/dist/esm/Content/Stats/StatsSaveInterface_pb.js +1 -1
  52. package/dist/esm/Content/Stats/StatsShareInterface_pb.js +1 -1
  53. package/dist/esm/Content/Stats/index.js +8 -8
  54. package/dist/esm/Content/Video_pb.js +3 -2
  55. package/dist/esm/Content/connect/Backup_connect.js +1 -1
  56. package/dist/esm/Content/connect/Content_connect.js +2 -1
  57. package/dist/esm/Content/index.js +14 -13
  58. package/dist/esm/CreatorDashboard/Settings/SettingsManager_pb.js +1 -1
  59. package/dist/esm/CreatorDashboard/Settings/index.js +3 -3
  60. package/dist/esm/CreatorDashboard/Subscribers/Manage_pb.js +2 -2
  61. package/dist/esm/CreatorDashboard/Subscribers/index.js +4 -4
  62. package/dist/esm/CreatorDashboard/index.js +2 -2
  63. package/dist/esm/Errors_pb.js +1 -1
  64. package/dist/esm/Generic/index.js +2 -2
  65. package/dist/esm/Notification/NotificationError_pb.js +68 -0
  66. package/dist/esm/Notification/NotificationInterface_pb.js +3 -2
  67. package/dist/esm/Notification/NotificationSettings_pb.js +1 -1
  68. package/dist/esm/Notification/UserNotificationInterface_pb.js +4 -3
  69. package/dist/esm/Notification/index.js +7 -6
  70. package/dist/esm/Page/PageError_pb.js +138 -0
  71. package/dist/esm/Page/PageInterface_pb.js +4 -3
  72. package/dist/esm/Page/index.js +4 -3
  73. package/dist/esm/Settings/Backup_pb.js +1 -1
  74. package/dist/esm/Settings/SettingsError_pb.js +2 -2
  75. package/dist/esm/Settings/SettingsInterface_pb.js +8 -26
  76. package/dist/esm/Settings/SettingsRecord_pb.js +11 -11
  77. package/dist/esm/Settings/index.js +5 -5
  78. package/dist/esm/client.js +297 -0
  79. package/dist/esm/google/api/annotations_pb.js +1 -1
  80. package/dist/esm/index.js +11 -11
  81. package/dist/esm/validation.js +10 -10
  82. package/dist/protos/Authentication/UserInterface_pb.d.ts +10 -106
  83. package/dist/protos/Authorization/Events/AdminEventInterface_pb.d.ts +5 -5
  84. package/dist/protos/Authorization/Events/EventError_pb.d.ts +101 -286
  85. package/dist/protos/Authorization/Events/EventInterface_pb.d.ts +11 -11
  86. package/dist/protos/Authorization/Payment/AdminPaymentInterface_pb.d.ts +13 -0
  87. package/dist/protos/Authorization/Payment/PaymentError_pb.d.ts +164 -0
  88. package/dist/protos/Authorization/Payment/PaymentInterface_pb.d.ts +29 -4
  89. package/dist/protos/Authorization/Payment/Paypal/PaypalInterface_pb.d.ts +3 -2
  90. package/dist/protos/Authorization/Payment/Stripe/StripeInterface_pb.d.ts +21 -20
  91. package/dist/protos/Authorization/Payment/index.d.ts +1 -0
  92. package/dist/protos/Comment/CommentError_pb.d.ts +138 -0
  93. package/dist/protos/Comment/CommentInterface_pb.d.ts +5 -4
  94. package/dist/protos/Comment/index.d.ts +1 -0
  95. package/dist/protos/Content/AssetInterface_pb.d.ts +21 -0
  96. package/dist/protos/Content/ContentError_pb.d.ts +124 -0
  97. package/dist/protos/Content/ContentRecord_pb.d.ts +0 -4
  98. package/dist/protos/Content/Content_pb.d.ts +2 -1
  99. package/dist/protos/Content/Rumble_pb.d.ts +7 -6
  100. package/dist/protos/Content/Stats/StatsProgressInterface_pb.d.ts +3 -2
  101. package/dist/protos/Content/Video_pb.d.ts +3 -2
  102. package/dist/protos/Content/connect/Content_connect.d.ts +2 -1
  103. package/dist/protos/Content/index.d.ts +1 -0
  104. package/dist/protos/Notification/NotificationError_pb.d.ts +82 -0
  105. package/dist/protos/Notification/NotificationInterface_pb.d.ts +3 -2
  106. package/dist/protos/Notification/UserNotificationInterface_pb.d.ts +7 -6
  107. package/dist/protos/Notification/index.d.ts +1 -0
  108. package/dist/protos/Page/PageError_pb.d.ts +152 -0
  109. package/dist/protos/Page/PageInterface_pb.d.ts +49 -0
  110. package/dist/protos/Page/index.d.ts +1 -0
  111. package/dist/protos/Settings/SettingsInterface_pb.d.ts +37 -162
  112. package/dist/protos/client.d.ts +185 -0
  113. package/package.json +13 -4
@@ -0,0 +1,164 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ValidationIssue } from "../../Errors_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/PaymentError.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Authorization_Payment_PaymentError: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.PaymentError
10
+ */
11
+ export type PaymentError = Message<"IT.WebServices.Fragments.Authorization.Payment.PaymentError"> & {
12
+ /**
13
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentErrorReason Type = 1;
14
+ */
15
+ Type: PaymentErrorReason;
16
+ /**
17
+ * @generated from field: string Message = 2;
18
+ */
19
+ Message: string;
20
+ /**
21
+ * @generated from field: repeated IT.WebServices.Fragments.ValidationIssue Validation = 3;
22
+ */
23
+ Validation: ValidationIssue[];
24
+ };
25
+ /**
26
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.PaymentError.
27
+ * Use `create(PaymentErrorSchema)` to create a new message.
28
+ */
29
+ export declare const PaymentErrorSchema: GenMessage<PaymentError>;
30
+ /**
31
+ * @generated from enum IT.WebServices.Fragments.Authorization.Payment.PaymentErrorReason
32
+ */
33
+ export declare enum PaymentErrorReason {
34
+ /**
35
+ * @generated from enum value: PAYMENT_REASON_UNSPECIFIED = 0;
36
+ */
37
+ PAYMENT_REASON_UNSPECIFIED = 0,
38
+ /**
39
+ * Subscription Operations 100-199
40
+ *
41
+ * @generated from enum value: CANCEL_SUBSCRIPTION_ERROR_NOT_FOUND = 100;
42
+ */
43
+ CANCEL_SUBSCRIPTION_ERROR_NOT_FOUND = 100,
44
+ /**
45
+ * @generated from enum value: CANCEL_SUBSCRIPTION_ERROR_UNAUTHORIZED = 101;
46
+ */
47
+ CANCEL_SUBSCRIPTION_ERROR_UNAUTHORIZED = 101,
48
+ /**
49
+ * @generated from enum value: CANCEL_SUBSCRIPTION_ERROR_ALREADY_CANCELED = 102;
50
+ */
51
+ CANCEL_SUBSCRIPTION_ERROR_ALREADY_CANCELED = 102,
52
+ /**
53
+ * @generated from enum value: CANCEL_SUBSCRIPTION_ERROR_UNKNOWN = 149;
54
+ */
55
+ CANCEL_SUBSCRIPTION_ERROR_UNKNOWN = 149,
56
+ /**
57
+ * @generated from enum value: GET_SUBSCRIPTION_ERROR_NOT_FOUND = 150;
58
+ */
59
+ GET_SUBSCRIPTION_ERROR_NOT_FOUND = 150,
60
+ /**
61
+ * @generated from enum value: GET_SUBSCRIPTION_ERROR_UNAUTHORIZED = 151;
62
+ */
63
+ GET_SUBSCRIPTION_ERROR_UNAUTHORIZED = 151,
64
+ /**
65
+ * @generated from enum value: GET_SUBSCRIPTION_ERROR_UNKNOWN = 169;
66
+ */
67
+ GET_SUBSCRIPTION_ERROR_UNKNOWN = 169,
68
+ /**
69
+ * @generated from enum value: RECONCILE_SUBSCRIPTION_ERROR_NOT_FOUND = 170;
70
+ */
71
+ RECONCILE_SUBSCRIPTION_ERROR_NOT_FOUND = 170,
72
+ /**
73
+ * @generated from enum value: RECONCILE_SUBSCRIPTION_ERROR_UNAUTHORIZED = 171;
74
+ */
75
+ RECONCILE_SUBSCRIPTION_ERROR_UNAUTHORIZED = 171,
76
+ /**
77
+ * @generated from enum value: RECONCILE_SUBSCRIPTION_ERROR_PROVIDER_ERROR = 172;
78
+ */
79
+ RECONCILE_SUBSCRIPTION_ERROR_PROVIDER_ERROR = 172,
80
+ /**
81
+ * @generated from enum value: RECONCILE_SUBSCRIPTION_ERROR_UNKNOWN = 189;
82
+ */
83
+ RECONCILE_SUBSCRIPTION_ERROR_UNKNOWN = 189,
84
+ /**
85
+ * One-Time Payment Operations 200-299
86
+ *
87
+ * @generated from enum value: GET_PAYMENT_ERROR_NOT_FOUND = 200;
88
+ */
89
+ GET_PAYMENT_ERROR_NOT_FOUND = 200,
90
+ /**
91
+ * @generated from enum value: GET_PAYMENT_ERROR_UNAUTHORIZED = 201;
92
+ */
93
+ GET_PAYMENT_ERROR_UNAUTHORIZED = 201,
94
+ /**
95
+ * @generated from enum value: GET_PAYMENT_ERROR_UNKNOWN = 249;
96
+ */
97
+ GET_PAYMENT_ERROR_UNKNOWN = 249,
98
+ /**
99
+ * New Payment Setup 300-399
100
+ *
101
+ * @generated from enum value: GET_NEW_DETAILS_ERROR_INVALID_LEVEL = 300;
102
+ */
103
+ GET_NEW_DETAILS_ERROR_INVALID_LEVEL = 300,
104
+ /**
105
+ * @generated from enum value: GET_NEW_DETAILS_ERROR_PROVIDER_ERROR = 301;
106
+ */
107
+ GET_NEW_DETAILS_ERROR_PROVIDER_ERROR = 301,
108
+ /**
109
+ * @generated from enum value: GET_NEW_DETAILS_ERROR_UNKNOWN = 349;
110
+ */
111
+ GET_NEW_DETAILS_ERROR_UNKNOWN = 349,
112
+ /**
113
+ * @generated from enum value: GET_NEW_ONETIME_ERROR_INVALID_REQUEST = 350;
114
+ */
115
+ GET_NEW_ONETIME_ERROR_INVALID_REQUEST = 350,
116
+ /**
117
+ * @generated from enum value: GET_NEW_ONETIME_ERROR_PROVIDER_ERROR = 351;
118
+ */
119
+ GET_NEW_ONETIME_ERROR_PROVIDER_ERROR = 351,
120
+ /**
121
+ * @generated from enum value: GET_NEW_ONETIME_ERROR_UNKNOWN = 369;
122
+ */
123
+ GET_NEW_ONETIME_ERROR_UNKNOWN = 369,
124
+ /**
125
+ * Admin Operations 400-499
126
+ *
127
+ * @generated from enum value: ADMIN_BULK_ACTION_ERROR_UNAUTHORIZED = 400;
128
+ */
129
+ ADMIN_BULK_ACTION_ERROR_UNAUTHORIZED = 400,
130
+ /**
131
+ * @generated from enum value: ADMIN_BULK_ACTION_ERROR_INVALID_ACTION = 401;
132
+ */
133
+ ADMIN_BULK_ACTION_ERROR_INVALID_ACTION = 401,
134
+ /**
135
+ * @generated from enum value: ADMIN_BULK_ACTION_ERROR_UNKNOWN = 449;
136
+ */
137
+ ADMIN_BULK_ACTION_ERROR_UNKNOWN = 449,
138
+ /**
139
+ * Generic 900-999
140
+ *
141
+ * @generated from enum value: PAYMENT_ERROR_SERVICE_OFFLINE = 900;
142
+ */
143
+ PAYMENT_ERROR_SERVICE_OFFLINE = 900,
144
+ /**
145
+ * @generated from enum value: PAYMENT_ERROR_VALIDATION_FAILED = 901;
146
+ */
147
+ PAYMENT_ERROR_VALIDATION_FAILED = 901,
148
+ /**
149
+ * @generated from enum value: PAYMENT_ERROR_UNAUTHORIZED = 902;
150
+ */
151
+ PAYMENT_ERROR_UNAUTHORIZED = 902,
152
+ /**
153
+ * @generated from enum value: PAYMENT_ERROR_PROVIDER_UNAVAILABLE = 903;
154
+ */
155
+ PAYMENT_ERROR_PROVIDER_UNAVAILABLE = 903,
156
+ /**
157
+ * @generated from enum value: PAYMENT_ERROR_UNKNOWN = 999;
158
+ */
159
+ PAYMENT_ERROR_UNKNOWN = 999
160
+ }
161
+ /**
162
+ * Describes the enum IT.WebServices.Fragments.Authorization.Payment.PaymentErrorReason.
163
+ */
164
+ export declare const PaymentErrorReasonSchema: GenEnum<PaymentErrorReason>;
@@ -1,5 +1,6 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { GenericOneTimePaymentRecord, GenericSubscriptionFullRecord, GenericSubscriptionRecord } from "./DataRecords_pb";
3
+ import type { PaymentError } from "./PaymentError_pb";
3
4
  import type { CryptoNewDetails } from "./Crypto/CryptoRecords_pb";
4
5
  import type { ManualSubscriptionRecord } from "./Manual/ManualSubscriptionRecord_pb";
5
6
  import type { PaypalNewDetails } from "./Paypal/PaypalRecords_pb";
@@ -36,9 +37,9 @@ export type CancelSubscriptionResponse = Message<"IT.WebServices.Fragments.Autho
36
37
  */
37
38
  Record?: GenericSubscriptionRecord;
38
39
  /**
39
- * @generated from field: string Error = 2;
40
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
40
41
  */
41
- Error: string;
42
+ Error?: PaymentError;
42
43
  };
43
44
  /**
44
45
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.CancelSubscriptionResponse.
@@ -79,6 +80,10 @@ export type GetNewDetailsResponse = Message<"IT.WebServices.Fragments.Authorizat
79
80
  * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeNewDetails Stripe = 6;
80
81
  */
81
82
  Stripe?: StripeNewDetails;
83
+ /**
84
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 7;
85
+ */
86
+ Error?: PaymentError;
82
87
  };
83
88
  /**
84
89
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.GetNewDetailsResponse.
@@ -118,6 +123,10 @@ export type GetNewOneTimeDetailsResponse = Message<"IT.WebServices.Fragments.Aut
118
123
  * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeNewOneTimeDetails Stripe = 6;
119
124
  */
120
125
  Stripe?: StripeNewOneTimeDetails;
126
+ /**
127
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 7;
128
+ */
129
+ Error?: PaymentError;
121
130
  };
122
131
  /**
123
132
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.GetNewOneTimeDetailsResponse.
@@ -150,6 +159,10 @@ export type GetSubscriptionRecordResponse = Message<"IT.WebServices.Fragments.Au
150
159
  * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Manual.ManualSubscriptionRecord Manual = 2;
151
160
  */
152
161
  Manual?: ManualSubscriptionRecord;
162
+ /**
163
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 3;
164
+ */
165
+ Error?: PaymentError;
153
166
  };
154
167
  /**
155
168
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.GetSubscriptionRecordResponse.
@@ -177,6 +190,10 @@ export type GetSubscriptionRecordsResponse = Message<"IT.WebServices.Fragments.A
177
190
  * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.Manual.ManualSubscriptionRecord Manual = 2;
178
191
  */
179
192
  Manual: ManualSubscriptionRecord[];
193
+ /**
194
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 3;
195
+ */
196
+ Error?: PaymentError;
180
197
  };
181
198
  /**
182
199
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.GetSubscriptionRecordsResponse.
@@ -205,6 +222,10 @@ export type GetOneTimeRecordResponse = Message<"IT.WebServices.Fragments.Authori
205
222
  * @generated from field: IT.WebServices.Fragments.Authorization.Payment.GenericOneTimePaymentRecord Generic = 1;
206
223
  */
207
224
  Generic?: GenericOneTimePaymentRecord;
225
+ /**
226
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
227
+ */
228
+ Error?: PaymentError;
208
229
  };
209
230
  /**
210
231
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.GetOneTimeRecordResponse.
@@ -228,6 +249,10 @@ export type GetOneTimeRecordsResponse = Message<"IT.WebServices.Fragments.Author
228
249
  * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.GenericOneTimePaymentRecord Generic = 1;
229
250
  */
230
251
  Generic: GenericOneTimePaymentRecord[];
252
+ /**
253
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
254
+ */
255
+ Error?: PaymentError;
231
256
  };
232
257
  /**
233
258
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.GetOneTimeRecordsResponse.
@@ -257,9 +282,9 @@ export type ReconcileSubscriptionResponse = Message<"IT.WebServices.Fragments.Au
257
282
  */
258
283
  Record?: GenericSubscriptionFullRecord;
259
284
  /**
260
- * @generated from field: string Error = 2;
285
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
261
286
  */
262
- Error: string;
287
+ Error?: PaymentError;
263
288
  };
264
289
  /**
265
290
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.ReconcileSubscriptionResponse.
@@ -1,5 +1,6 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { GenericSubscriptionRecord } from "../DataRecords_pb";
3
+ import type { PaymentError } from "../PaymentError_pb";
3
4
  import type { Message } from "@bufbuild/protobuf";
4
5
  /**
5
6
  * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Paypal/PaypalInterface.proto.
@@ -28,9 +29,9 @@ export type PaypalNewOwnSubscriptionResponse = Message<"IT.WebServices.Fragments
28
29
  */
29
30
  Record?: GenericSubscriptionRecord;
30
31
  /**
31
- * @generated from field: string Error = 2;
32
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
32
33
  */
33
- Error: string;
34
+ Error?: PaymentError;
34
35
  };
35
36
  /**
36
37
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Paypal.PaypalNewOwnSubscriptionResponse.
@@ -2,6 +2,7 @@ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegen
2
2
  import type { GenericSubscriptionFullRecord, GenericSubscriptionRecord } from "../DataRecords_pb";
3
3
  import type { PaymentBulkAction, PaymentBulkActionProgress } from "../SharedTypes_pb";
4
4
  import type { ProductList } from "./ProductRecord_pb";
5
+ import type { PaymentError } from "../PaymentError_pb";
5
6
  import type { Message } from "@bufbuild/protobuf";
6
7
  /**
7
8
  * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Stripe/StripeInterface.proto.
@@ -109,9 +110,9 @@ export type StripeCheckOtherSubscriptionResponse = Message<"IT.WebServices.Fragm
109
110
  */
110
111
  Records: GenericSubscriptionFullRecord[];
111
112
  /**
112
- * @generated from field: string Error = 2;
113
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
113
114
  */
114
- Error: string;
115
+ Error?: PaymentError;
115
116
  };
116
117
  /**
117
118
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionResponse.
@@ -136,9 +137,9 @@ export type StripeCheckOwnSubscriptionResponse = Message<"IT.WebServices.Fragmen
136
137
  */
137
138
  Records: GenericSubscriptionFullRecord[];
138
139
  /**
139
- * @generated from field: string Error = 2;
140
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
140
141
  */
141
- Error: string;
142
+ Error?: PaymentError;
142
143
  };
143
144
  /**
144
145
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionResponse.
@@ -168,9 +169,9 @@ export type StripeCheckoutSessionResponse = Message<"IT.WebServices.Fragments.Au
168
169
  */
169
170
  SessionUrl: string;
170
171
  /**
171
- * @generated from field: string Error = 2;
172
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
172
173
  */
173
- Error: string;
174
+ Error?: PaymentError;
174
175
  };
175
176
  /**
176
177
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionResponse.
@@ -200,9 +201,9 @@ export type StripeCreateBillingPortalResponse = Message<"IT.WebServices.Fragment
200
201
  */
201
202
  Url: string;
202
203
  /**
203
- * @generated from field: string Error = 2;
204
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
204
205
  */
205
- Error: string;
206
+ Error?: PaymentError;
206
207
  };
207
208
  /**
208
209
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalResponse.
@@ -240,9 +241,9 @@ export type StripeCancelOtherSubscriptionResponse = Message<"IT.WebServices.Frag
240
241
  */
241
242
  Record?: GenericSubscriptionRecord;
242
243
  /**
243
- * @generated from field: string Error = 2;
244
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
244
245
  */
245
- Error: string;
246
+ Error?: PaymentError;
246
247
  };
247
248
  /**
248
249
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCancelOtherSubscriptionResponse.
@@ -276,9 +277,9 @@ export type StripeCancelOwnSubscriptionResponse = Message<"IT.WebServices.Fragme
276
277
  */
277
278
  Record?: GenericSubscriptionRecord;
278
279
  /**
279
- * @generated from field: string Error = 2;
280
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
280
281
  */
281
- Error: string;
282
+ Error?: PaymentError;
282
283
  };
283
284
  /**
284
285
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCancelOwnSubscriptionResponse.
@@ -394,9 +395,9 @@ export type StripeNewOwnSubscriptionResponse = Message<"IT.WebServices.Fragments
394
395
  */
395
396
  Record?: GenericSubscriptionRecord;
396
397
  /**
397
- * @generated from field: string Error = 2;
398
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
398
399
  */
399
- Error: string;
400
+ Error?: PaymentError;
400
401
  };
401
402
  /**
402
403
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeNewOwnSubscriptionResponse.
@@ -434,9 +435,9 @@ export declare const StripeEnsureOneTimeProductRequestSchema: GenMessage<StripeE
434
435
  */
435
436
  export type StripeEnsureOneTimeProductResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeEnsureOneTimeProductResponse"> & {
436
437
  /**
437
- * @generated from field: string Error = 1;
438
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 1;
438
439
  */
439
- Error: string;
440
+ Error?: PaymentError;
440
441
  };
441
442
  /**
442
443
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeEnsureOneTimeProductResponse.
@@ -470,9 +471,9 @@ export type StripeReconcileOtherSubscriptionResponse = Message<"IT.WebServices.F
470
471
  */
471
472
  Record?: GenericSubscriptionFullRecord;
472
473
  /**
473
- * @generated from field: string Error = 2;
474
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
474
475
  */
475
- Error: string;
476
+ Error?: PaymentError;
476
477
  };
477
478
  /**
478
479
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionResponse.
@@ -502,9 +503,9 @@ export type StripeReconcileOwnSubscriptionResponse = Message<"IT.WebServices.Fra
502
503
  */
503
504
  Record?: GenericSubscriptionFullRecord;
504
505
  /**
505
- * @generated from field: string Error = 2;
506
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.PaymentError Error = 2;
506
507
  */
507
- Error: string;
508
+ Error?: PaymentError;
508
509
  };
509
510
  /**
510
511
  * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionResponse.
@@ -1,6 +1,7 @@
1
1
  export * from './AdminPaymentInterface_pb';
2
2
  export * from './BackupInterface_pb';
3
3
  export * from './DataRecords_pb';
4
+ export * from './PaymentError_pb';
4
5
  export * from './PaymentInterface_pb';
5
6
  export * from './SharedTypes_pb';
6
7
  export * as connect from './connect';
@@ -0,0 +1,138 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ValidationIssue } from "../Errors_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file Protos/IT/WebServices/Fragments/Comment/CommentError.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Comment_CommentError: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Comment.CommentError
10
+ */
11
+ export type CommentError = Message<"IT.WebServices.Fragments.Comment.CommentError"> & {
12
+ /**
13
+ * @generated from field: IT.WebServices.Fragments.Comment.CommentErrorReason Type = 1;
14
+ */
15
+ Type: CommentErrorReason;
16
+ /**
17
+ * @generated from field: string Message = 2;
18
+ */
19
+ Message: string;
20
+ /**
21
+ * @generated from field: repeated IT.WebServices.Fragments.ValidationIssue Validation = 3;
22
+ */
23
+ Validation: ValidationIssue[];
24
+ };
25
+ /**
26
+ * Describes the message IT.WebServices.Fragments.Comment.CommentError.
27
+ * Use `create(CommentErrorSchema)` to create a new message.
28
+ */
29
+ export declare const CommentErrorSchema: GenMessage<CommentError>;
30
+ /**
31
+ * @generated from enum IT.WebServices.Fragments.Comment.CommentErrorReason
32
+ */
33
+ export declare enum CommentErrorReason {
34
+ /**
35
+ * @generated from enum value: COMMENT_REASON_UNSPECIFIED = 0;
36
+ */
37
+ COMMENT_REASON_UNSPECIFIED = 0,
38
+ /**
39
+ * Create Comment 100-149
40
+ *
41
+ * @generated from enum value: CREATE_COMMENT_ERROR_CONTENT_NOT_FOUND = 100;
42
+ */
43
+ CREATE_COMMENT_ERROR_CONTENT_NOT_FOUND = 100,
44
+ /**
45
+ * @generated from enum value: CREATE_COMMENT_ERROR_PARENT_NOT_FOUND = 101;
46
+ */
47
+ CREATE_COMMENT_ERROR_PARENT_NOT_FOUND = 101,
48
+ /**
49
+ * @generated from enum value: CREATE_COMMENT_ERROR_TEXT_INVALID = 102;
50
+ */
51
+ CREATE_COMMENT_ERROR_TEXT_INVALID = 102,
52
+ /**
53
+ * @generated from enum value: CREATE_COMMENT_ERROR_UNAUTHORIZED = 103;
54
+ */
55
+ CREATE_COMMENT_ERROR_UNAUTHORIZED = 103,
56
+ /**
57
+ * @generated from enum value: CREATE_COMMENT_ERROR_UNKNOWN = 149;
58
+ */
59
+ CREATE_COMMENT_ERROR_UNKNOWN = 149,
60
+ /**
61
+ * Edit Comment 200-249
62
+ *
63
+ * @generated from enum value: EDIT_COMMENT_ERROR_NOT_FOUND = 200;
64
+ */
65
+ EDIT_COMMENT_ERROR_NOT_FOUND = 200,
66
+ /**
67
+ * @generated from enum value: EDIT_COMMENT_ERROR_UNAUTHORIZED = 201;
68
+ */
69
+ EDIT_COMMENT_ERROR_UNAUTHORIZED = 201,
70
+ /**
71
+ * @generated from enum value: EDIT_COMMENT_ERROR_TEXT_INVALID = 202;
72
+ */
73
+ EDIT_COMMENT_ERROR_TEXT_INVALID = 202,
74
+ /**
75
+ * @generated from enum value: EDIT_COMMENT_ERROR_UNKNOWN = 249;
76
+ */
77
+ EDIT_COMMENT_ERROR_UNKNOWN = 249,
78
+ /**
79
+ * Delete Comment 300-349
80
+ *
81
+ * @generated from enum value: DELETE_COMMENT_ERROR_NOT_FOUND = 300;
82
+ */
83
+ DELETE_COMMENT_ERROR_NOT_FOUND = 300,
84
+ /**
85
+ * @generated from enum value: DELETE_COMMENT_ERROR_UNAUTHORIZED = 301;
86
+ */
87
+ DELETE_COMMENT_ERROR_UNAUTHORIZED = 301,
88
+ /**
89
+ * @generated from enum value: DELETE_COMMENT_ERROR_UNKNOWN = 349;
90
+ */
91
+ DELETE_COMMENT_ERROR_UNKNOWN = 349,
92
+ /**
93
+ * Like/Unlike Comment 400-449
94
+ *
95
+ * @generated from enum value: LIKE_COMMENT_ERROR_NOT_FOUND = 400;
96
+ */
97
+ LIKE_COMMENT_ERROR_NOT_FOUND = 400,
98
+ /**
99
+ * @generated from enum value: LIKE_COMMENT_ERROR_UNAUTHORIZED = 401;
100
+ */
101
+ LIKE_COMMENT_ERROR_UNAUTHORIZED = 401,
102
+ /**
103
+ * @generated from enum value: LIKE_COMMENT_ERROR_UNKNOWN = 449;
104
+ */
105
+ LIKE_COMMENT_ERROR_UNKNOWN = 449,
106
+ /**
107
+ * Admin Operations 500-549
108
+ *
109
+ * @generated from enum value: ADMIN_COMMENT_ERROR_NOT_FOUND = 500;
110
+ */
111
+ ADMIN_COMMENT_ERROR_NOT_FOUND = 500,
112
+ /**
113
+ * @generated from enum value: ADMIN_COMMENT_ERROR_UNAUTHORIZED = 501;
114
+ */
115
+ ADMIN_COMMENT_ERROR_UNAUTHORIZED = 501,
116
+ /**
117
+ * @generated from enum value: ADMIN_COMMENT_ERROR_UNKNOWN = 549;
118
+ */
119
+ ADMIN_COMMENT_ERROR_UNKNOWN = 549,
120
+ /**
121
+ * Generic 900-999
122
+ *
123
+ * @generated from enum value: COMMENT_ERROR_SERVICE_OFFLINE = 900;
124
+ */
125
+ COMMENT_ERROR_SERVICE_OFFLINE = 900,
126
+ /**
127
+ * @generated from enum value: COMMENT_ERROR_VALIDATION_FAILED = 901;
128
+ */
129
+ COMMENT_ERROR_VALIDATION_FAILED = 901,
130
+ /**
131
+ * @generated from enum value: COMMENT_ERROR_UNKNOWN = 999;
132
+ */
133
+ COMMENT_ERROR_UNKNOWN = 999
134
+ }
135
+ /**
136
+ * Describes the enum IT.WebServices.Fragments.Comment.CommentErrorReason.
137
+ */
138
+ export declare const CommentErrorReasonSchema: GenEnum<CommentErrorReason>;
@@ -2,6 +2,7 @@ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegen
2
2
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
3
  import type { CommentPublicRecord } from "./CommentRecord_pb";
4
4
  import type { CommentOrder } from "./SharedTypes_pb";
5
+ import type { CommentError } from "./CommentError_pb";
5
6
  import type { Message } from "@bufbuild/protobuf";
6
7
  /**
7
8
  * Describes the file Protos/IT/WebServices/Fragments/Comment/CommentInterface.proto.
@@ -164,9 +165,9 @@ export type CreateCommentResponse = Message<"IT.WebServices.Fragments.Comment.Cr
164
165
  */
165
166
  Record?: CommentPublicRecord;
166
167
  /**
167
- * @generated from field: string Error = 2;
168
+ * @generated from field: IT.WebServices.Fragments.Comment.CommentError Error = 2;
168
169
  */
169
- Error: string;
170
+ Error?: CommentError;
170
171
  };
171
172
  /**
172
173
  * Describes the message IT.WebServices.Fragments.Comment.CreateCommentResponse.
@@ -228,9 +229,9 @@ export type EditCommentResponse = Message<"IT.WebServices.Fragments.Comment.Edit
228
229
  */
229
230
  Record?: CommentPublicRecord;
230
231
  /**
231
- * @generated from field: string Error = 2;
232
+ * @generated from field: IT.WebServices.Fragments.Comment.CommentError Error = 2;
232
233
  */
233
- Error: string;
234
+ Error?: CommentError;
234
235
  };
235
236
  /**
236
237
  * Describes the message IT.WebServices.Fragments.Comment.EditCommentResponse.
@@ -1,3 +1,4 @@
1
+ export * from './CommentError_pb';
1
2
  export * from './CommentInterface_pb';
2
3
  export * from './CommentRecord_pb';
3
4
  export * from './SharedTypes_pb';
@@ -3,6 +3,7 @@ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
3
  import type { AssetRecord } from "./AssetRecord_pb";
4
4
  import type { AudioAssetData, AudioAssetPublicRecord } from "./AudioAssetRecord_pb";
5
5
  import type { ImageAssetData, ImageAssetPublicRecord } from "./ImageAssetRecord_pb";
6
+ import type { ContentError } from "./ContentError_pb";
6
7
  import type { Message } from "@bufbuild/protobuf";
7
8
  /**
8
9
  * Describes the file Protos/IT/WebServices/Fragments/Content/AssetInterface.proto.
@@ -45,6 +46,10 @@ export type CreateAssetResponse = Message<"IT.WebServices.Fragments.Content.Crea
45
46
  * @generated from field: IT.WebServices.Fragments.Content.AssetRecord Record = 1;
46
47
  */
47
48
  Record?: AssetRecord;
49
+ /**
50
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 2;
51
+ */
52
+ Error?: ContentError;
48
53
  };
49
54
  /**
50
55
  * Describes the message IT.WebServices.Fragments.Content.CreateAssetResponse.
@@ -90,6 +95,10 @@ export type GetAssetResponse = Message<"IT.WebServices.Fragments.Content.GetAsse
90
95
  case: undefined;
91
96
  value?: undefined;
92
97
  };
98
+ /**
99
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 3;
100
+ */
101
+ Error?: ContentError;
93
102
  };
94
103
  /**
95
104
  * Describes the message IT.WebServices.Fragments.Content.GetAssetResponse.
@@ -120,6 +129,10 @@ export type GetAssetAdminResponse = Message<"IT.WebServices.Fragments.Content.Ge
120
129
  * @generated from field: IT.WebServices.Fragments.Content.AssetRecord Record = 1;
121
130
  */
122
131
  Record?: AssetRecord;
132
+ /**
133
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 2;
134
+ */
135
+ Error?: ContentError;
123
136
  };
124
137
  /**
125
138
  * Describes the message IT.WebServices.Fragments.Content.GetAssetAdminResponse.
@@ -148,6 +161,10 @@ export type GetAssetByOldContentIDResponse = Message<"IT.WebServices.Fragments.C
148
161
  * @generated from field: IT.WebServices.Fragments.Content.AssetRecord Record = 1;
149
162
  */
150
163
  Record?: AssetRecord;
164
+ /**
165
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 2;
166
+ */
167
+ Error?: ContentError;
151
168
  };
152
169
  /**
153
170
  * Describes the message IT.WebServices.Fragments.Content.GetAssetByOldContentIDResponse.
@@ -258,6 +275,10 @@ export type SearchAssetResponse = Message<"IT.WebServices.Fragments.Content.Sear
258
275
  * @generated from field: uint32 PageTotalItems = 13;
259
276
  */
260
277
  PageTotalItems: number;
278
+ /**
279
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 14;
280
+ */
281
+ Error?: ContentError;
261
282
  };
262
283
  /**
263
284
  * Describes the message IT.WebServices.Fragments.Content.SearchAssetResponse.