@inverted-tech/fragments 0.3.9 → 0.5.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 (63) 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 +3 -1
  15. package/dist/esm/Content/AudioAssetRecord_pb.js +2 -1
  16. package/dist/esm/Content/ContentError_pb.js +110 -0
  17. package/dist/esm/Content/ContentRecord_pb.js +1 -1
  18. package/dist/esm/Content/Content_pb.js +3 -2
  19. package/dist/esm/Content/ImageAssetRecord_pb.js +2 -1
  20. package/dist/esm/Content/Rumble_pb.js +3 -1
  21. package/dist/esm/Content/Stats/StatsProgressInterface_pb.js +2 -1
  22. package/dist/esm/Content/Video_pb.js +2 -1
  23. package/dist/esm/Content/connect/Content_connect.js +2 -1
  24. package/dist/esm/Content/index.js +1 -0
  25. package/dist/esm/Notification/NotificationError_pb.js +68 -0
  26. package/dist/esm/Notification/NotificationInterface_pb.js +2 -1
  27. package/dist/esm/Notification/UserNotificationInterface_pb.js +2 -1
  28. package/dist/esm/Notification/index.js +1 -0
  29. package/dist/esm/Page/PageError_pb.js +138 -0
  30. package/dist/esm/Page/PageInterface_pb.js +2 -1
  31. package/dist/esm/Page/index.js +1 -0
  32. package/dist/esm/Settings/SettingsInterface_pb.js +2 -20
  33. package/dist/protos/Authentication/UserInterface_pb.d.ts +10 -106
  34. package/dist/protos/Authorization/Events/AdminEventInterface_pb.d.ts +5 -5
  35. package/dist/protos/Authorization/Events/EventError_pb.d.ts +101 -286
  36. package/dist/protos/Authorization/Events/EventInterface_pb.d.ts +11 -11
  37. package/dist/protos/Authorization/Payment/AdminPaymentInterface_pb.d.ts +13 -0
  38. package/dist/protos/Authorization/Payment/PaymentError_pb.d.ts +164 -0
  39. package/dist/protos/Authorization/Payment/PaymentInterface_pb.d.ts +29 -4
  40. package/dist/protos/Authorization/Payment/Paypal/PaypalInterface_pb.d.ts +3 -2
  41. package/dist/protos/Authorization/Payment/Stripe/StripeInterface_pb.d.ts +21 -20
  42. package/dist/protos/Authorization/Payment/index.d.ts +1 -0
  43. package/dist/protos/Comment/CommentError_pb.d.ts +138 -0
  44. package/dist/protos/Comment/CommentInterface_pb.d.ts +5 -4
  45. package/dist/protos/Comment/index.d.ts +1 -0
  46. package/dist/protos/Content/AssetInterface_pb.d.ts +21 -0
  47. package/dist/protos/Content/ContentError_pb.d.ts +124 -0
  48. package/dist/protos/Content/ContentRecord_pb.d.ts +0 -4
  49. package/dist/protos/Content/Content_pb.d.ts +2 -1
  50. package/dist/protos/Content/Rumble_pb.d.ts +7 -6
  51. package/dist/protos/Content/Stats/StatsProgressInterface_pb.d.ts +3 -2
  52. package/dist/protos/Content/Video_pb.d.ts +3 -2
  53. package/dist/protos/Content/connect/Content_connect.d.ts +2 -1
  54. package/dist/protos/Content/index.d.ts +1 -0
  55. package/dist/protos/Notification/NotificationError_pb.d.ts +82 -0
  56. package/dist/protos/Notification/NotificationInterface_pb.d.ts +3 -2
  57. package/dist/protos/Notification/UserNotificationInterface_pb.d.ts +7 -6
  58. package/dist/protos/Notification/index.d.ts +1 -0
  59. package/dist/protos/Page/PageError_pb.d.ts +152 -0
  60. package/dist/protos/Page/PageInterface_pb.d.ts +49 -0
  61. package/dist/protos/Page/index.d.ts +1 -0
  62. package/dist/protos/Settings/SettingsInterface_pb.d.ts +37 -162
  63. package/package.json +118 -1
@@ -0,0 +1,124 @@
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/Content/ContentError.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Content_ContentError: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Content.ContentError
10
+ */
11
+ export type ContentError = Message<"IT.WebServices.Fragments.Content.ContentError"> & {
12
+ /**
13
+ * @generated from field: IT.WebServices.Fragments.Content.ContentErrorReason Type = 1;
14
+ */
15
+ Type: ContentErrorReason;
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.Content.ContentError.
27
+ * Use `create(ContentErrorSchema)` to create a new message.
28
+ */
29
+ export declare const ContentErrorSchema: GenMessage<ContentError>;
30
+ /**
31
+ * @generated from enum IT.WebServices.Fragments.Content.ContentErrorReason
32
+ */
33
+ export declare enum ContentErrorReason {
34
+ /**
35
+ * @generated from enum value: CONTENT_REASON_UNSPECIFIED = 0;
36
+ */
37
+ CONTENT_REASON_UNSPECIFIED = 0,
38
+ /**
39
+ * Asset Creation 100-149
40
+ *
41
+ * @generated from enum value: CREATE_ASSET_ERROR_INVALID_FORMAT = 100;
42
+ */
43
+ CREATE_ASSET_ERROR_INVALID_FORMAT = 100,
44
+ /**
45
+ * @generated from enum value: CREATE_ASSET_ERROR_FILE_TOO_LARGE = 101;
46
+ */
47
+ CREATE_ASSET_ERROR_FILE_TOO_LARGE = 101,
48
+ /**
49
+ * @generated from enum value: CREATE_ASSET_ERROR_UPLOAD_FAILED = 102;
50
+ */
51
+ CREATE_ASSET_ERROR_UPLOAD_FAILED = 102,
52
+ /**
53
+ * @generated from enum value: CREATE_ASSET_ERROR_UNAUTHORIZED = 103;
54
+ */
55
+ CREATE_ASSET_ERROR_UNAUTHORIZED = 103,
56
+ /**
57
+ * @generated from enum value: CREATE_ASSET_ERROR_UNKNOWN = 149;
58
+ */
59
+ CREATE_ASSET_ERROR_UNKNOWN = 149,
60
+ /**
61
+ * Asset Retrieval 200-249
62
+ *
63
+ * @generated from enum value: GET_ASSET_ERROR_NOT_FOUND = 200;
64
+ */
65
+ GET_ASSET_ERROR_NOT_FOUND = 200,
66
+ /**
67
+ * @generated from enum value: GET_ASSET_ERROR_UNAUTHORIZED = 201;
68
+ */
69
+ GET_ASSET_ERROR_UNAUTHORIZED = 201,
70
+ /**
71
+ * @generated from enum value: GET_ASSET_ERROR_UNKNOWN = 249;
72
+ */
73
+ GET_ASSET_ERROR_UNKNOWN = 249,
74
+ /**
75
+ * Asset Search 300-349
76
+ *
77
+ * @generated from enum value: SEARCH_ASSET_ERROR_INVALID_QUERY = 300;
78
+ */
79
+ SEARCH_ASSET_ERROR_INVALID_QUERY = 300,
80
+ /**
81
+ * @generated from enum value: SEARCH_ASSET_ERROR_UNAUTHORIZED = 301;
82
+ */
83
+ SEARCH_ASSET_ERROR_UNAUTHORIZED = 301,
84
+ /**
85
+ * @generated from enum value: SEARCH_ASSET_ERROR_UNKNOWN = 349;
86
+ */
87
+ SEARCH_ASSET_ERROR_UNKNOWN = 349,
88
+ /**
89
+ * Asset Admin Operations 400-449
90
+ *
91
+ * @generated from enum value: ADMIN_ASSET_ERROR_NOT_FOUND = 400;
92
+ */
93
+ ADMIN_ASSET_ERROR_NOT_FOUND = 400,
94
+ /**
95
+ * @generated from enum value: ADMIN_ASSET_ERROR_UNAUTHORIZED = 401;
96
+ */
97
+ ADMIN_ASSET_ERROR_UNAUTHORIZED = 401,
98
+ /**
99
+ * @generated from enum value: ADMIN_ASSET_ERROR_UNKNOWN = 449;
100
+ */
101
+ ADMIN_ASSET_ERROR_UNKNOWN = 449,
102
+ /**
103
+ * Generic 900-999
104
+ *
105
+ * @generated from enum value: CONTENT_ERROR_SERVICE_OFFLINE = 900;
106
+ */
107
+ CONTENT_ERROR_SERVICE_OFFLINE = 900,
108
+ /**
109
+ * @generated from enum value: CONTENT_ERROR_VALIDATION_FAILED = 901;
110
+ */
111
+ CONTENT_ERROR_VALIDATION_FAILED = 901,
112
+ /**
113
+ * @generated from enum value: CONTENT_ERROR_UNAUTHORIZED = 902;
114
+ */
115
+ CONTENT_ERROR_UNAUTHORIZED = 902,
116
+ /**
117
+ * @generated from enum value: CONTENT_ERROR_UNKNOWN = 999;
118
+ */
119
+ CONTENT_ERROR_UNKNOWN = 999
120
+ }
121
+ /**
122
+ * Describes the enum IT.WebServices.Fragments.Content.ContentErrorReason.
123
+ */
124
+ export declare const ContentErrorReasonSchema: GenEnum<ContentErrorReason>;
@@ -136,14 +136,10 @@ export type ContentPublicData = Message<"IT.WebServices.Fragments.Content.Conten
136
136
  */
137
137
  Author: string;
138
138
  /**
139
- * AuthorID is server-filled; allow empty on requests
140
- *
141
139
  * @generated from field: string AuthorID = 13;
142
140
  */
143
141
  AuthorID: string;
144
142
  /**
145
- * URL is a slug, not a full URI
146
- *
147
143
  * @generated from field: string URL = 4;
148
144
  */
149
145
  URL: string;
@@ -826,7 +826,8 @@ export declare enum ContentType {
826
826
  */
827
827
  export declare const ContentTypeSchema: GenEnum<ContentType>;
828
828
  /**
829
- * Service for Content fragment interface
829
+ * TODO: Move Error Structure
830
+ * TODO: Add Other Validation Types To Requests
830
831
  *
831
832
  * @generated from service IT.WebServices.Fragments.Content.ContentInterface
832
833
  */
@@ -1,4 +1,5 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ContentError } from "./ContentError_pb";
2
3
  import type { Message } from "@bufbuild/protobuf";
3
4
  /**
4
5
  * Describes the file Protos/IT/WebServices/Fragments/Content/Rumble.proto.
@@ -74,9 +75,9 @@ export type StoredDataResponse = Message<"IT.WebServices.Fragments.Content.Store
74
75
  */
75
76
  Msg: string;
76
77
  /**
77
- * @generated from field: string Error = 3;
78
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 3;
78
79
  */
79
- Error: string;
80
+ Error?: ContentError;
80
81
  /**
81
82
  * @generated from field: IT.WebServices.Fragments.Content.RumbleData Data = 4;
82
83
  */
@@ -128,9 +129,9 @@ export type RumbleVideoResponse = Message<"IT.WebServices.Fragments.Content.Rumb
128
129
  */
129
130
  Msg: string;
130
131
  /**
131
- * @generated from field: string Error = 3;
132
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 3;
132
133
  */
133
- Error: string;
134
+ Error?: ContentError;
134
135
  /**
135
136
  * @generated from field: IT.WebServices.Fragments.Content.RumbleVideo Video = 4;
136
137
  */
@@ -190,9 +191,9 @@ export type RumbleChannelResponse = Message<"IT.WebServices.Fragments.Content.Ru
190
191
  */
191
192
  Msg: string;
192
193
  /**
193
- * @generated from field: string Error = 3;
194
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 3;
194
195
  */
195
- Error: string;
196
+ Error?: ContentError;
196
197
  /**
197
198
  * @generated from field: IT.WebServices.Fragments.Content.RumbleData Data = 4;
198
199
  */
@@ -1,4 +1,5 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ContentError } from "../ContentError_pb";
2
3
  import type { Message } from "@bufbuild/protobuf";
3
4
  /**
4
5
  * Describes the file Protos/IT/WebServices/Fragments/Content/Stats/StatsProgressInterface.proto.
@@ -27,9 +28,9 @@ export declare const LogProgressContentRequestSchema: GenMessage<LogProgressCont
27
28
  */
28
29
  export type LogProgressContentResponse = Message<"IT.WebServices.Fragments.Content.Stats.LogProgressContentResponse"> & {
29
30
  /**
30
- * @generated from field: string Error = 1;
31
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 1;
31
32
  */
32
- Error: string;
33
+ Error?: ContentError;
33
34
  };
34
35
  /**
35
36
  * Describes the message IT.WebServices.Fragments.Content.Stats.LogProgressContentResponse.
@@ -1,5 +1,6 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { RumbleData } from "./Rumble_pb";
3
+ import type { ContentError } from "./ContentError_pb";
3
4
  import type { Message } from "@bufbuild/protobuf";
4
5
  /**
5
6
  * Describes the file Protos/IT/WebServices/Fragments/Content/Video.proto.
@@ -60,9 +61,9 @@ export type DataResponse = Message<"IT.WebServices.Fragments.Content.DataRespons
60
61
  */
61
62
  Success: boolean;
62
63
  /**
63
- * @generated from field: string Error = 2;
64
+ * @generated from field: IT.WebServices.Fragments.Content.ContentError Error = 2;
64
65
  */
65
- Error: string;
66
+ Error?: ContentError;
66
67
  /**
67
68
  * @generated from field: string Msg = 3;
68
69
  */
@@ -1,5 +1,6 @@
1
1
  /**
2
- * Service for Content fragment interface
2
+ * TODO: Move Error Structure
3
+ * TODO: Add Other Validation Types To Requests
3
4
  *
4
5
  * @generated from service IT.WebServices.Fragments.Content.ContentInterface
5
6
  */
@@ -2,6 +2,7 @@ export * from './AssetBackup_pb';
2
2
  export * from './AssetInterface_pb';
3
3
  export * from './AssetRecord_pb';
4
4
  export * from './AudioAssetRecord_pb';
5
+ export * from './ContentError_pb';
5
6
  export * from './ContentRecord_pb';
6
7
  export * from './Content_pb';
7
8
  export * from './ImageAssetRecord_pb';
@@ -0,0 +1,82 @@
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/Notification/NotificationError.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Notification_NotificationError: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Notification.NotificationError
10
+ */
11
+ export type NotificationError = Message<"IT.WebServices.Fragments.Notification.NotificationError"> & {
12
+ /**
13
+ * @generated from field: IT.WebServices.Fragments.Notification.NotificationErrorReason Type = 1;
14
+ */
15
+ Type: NotificationErrorReason;
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.Notification.NotificationError.
27
+ * Use `create(NotificationErrorSchema)` to create a new message.
28
+ */
29
+ export declare const NotificationErrorSchema: GenMessage<NotificationError>;
30
+ /**
31
+ * @generated from enum IT.WebServices.Fragments.Notification.NotificationErrorReason
32
+ */
33
+ export declare enum NotificationErrorReason {
34
+ /**
35
+ * @generated from enum value: NOTIFICATION_REASON_UNSPECIFIED = 0;
36
+ */
37
+ NOTIFICATION_REASON_UNSPECIFIED = 0,
38
+ /**
39
+ * Email Sending 100-149
40
+ *
41
+ * @generated from enum value: SEND_EMAIL_ERROR_INVALID_ADDRESS = 100;
42
+ */
43
+ SEND_EMAIL_ERROR_INVALID_ADDRESS = 100,
44
+ /**
45
+ * @generated from enum value: SEND_EMAIL_ERROR_DELIVERY_FAILED = 101;
46
+ */
47
+ SEND_EMAIL_ERROR_DELIVERY_FAILED = 101,
48
+ /**
49
+ * @generated from enum value: SEND_EMAIL_ERROR_TEMPLATE_ERROR = 102;
50
+ */
51
+ SEND_EMAIL_ERROR_TEMPLATE_ERROR = 102,
52
+ /**
53
+ * @generated from enum value: SEND_EMAIL_ERROR_RATE_LIMITED = 103;
54
+ */
55
+ SEND_EMAIL_ERROR_RATE_LIMITED = 103,
56
+ /**
57
+ * @generated from enum value: SEND_EMAIL_ERROR_UNKNOWN = 149;
58
+ */
59
+ SEND_EMAIL_ERROR_UNKNOWN = 149,
60
+ /**
61
+ * Generic 900-999
62
+ *
63
+ * @generated from enum value: NOTIFICATION_ERROR_SERVICE_OFFLINE = 900;
64
+ */
65
+ NOTIFICATION_ERROR_SERVICE_OFFLINE = 900,
66
+ /**
67
+ * @generated from enum value: NOTIFICATION_ERROR_VALIDATION_FAILED = 901;
68
+ */
69
+ NOTIFICATION_ERROR_VALIDATION_FAILED = 901,
70
+ /**
71
+ * @generated from enum value: NOTIFICATION_ERROR_UNAUTHORIZED = 902;
72
+ */
73
+ NOTIFICATION_ERROR_UNAUTHORIZED = 902,
74
+ /**
75
+ * @generated from enum value: NOTIFICATION_ERROR_UNKNOWN = 999;
76
+ */
77
+ NOTIFICATION_ERROR_UNKNOWN = 999
78
+ }
79
+ /**
80
+ * Describes the enum IT.WebServices.Fragments.Notification.NotificationErrorReason.
81
+ */
82
+ export declare const NotificationErrorReasonSchema: GenEnum<NotificationErrorReason>;
@@ -1,4 +1,5 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { NotificationError } from "./NotificationError_pb";
2
3
  import type { Message } from "@bufbuild/protobuf";
3
4
  /**
4
5
  * Describes the file Protos/IT/WebServices/Fragments/Notification/NotificationInterface.proto.
@@ -35,9 +36,9 @@ export declare const SendEmailRequestSchema: GenMessage<SendEmailRequest>;
35
36
  */
36
37
  export type SendEmailResponse = Message<"IT.WebServices.Fragments.Notification.SendEmailResponse"> & {
37
38
  /**
38
- * @generated from field: string Error = 1;
39
+ * @generated from field: IT.WebServices.Fragments.Notification.NotificationError Error = 1;
39
40
  */
40
- Error: string;
41
+ Error?: NotificationError;
41
42
  };
42
43
  /**
43
44
  * Describes the message IT.WebServices.Fragments.Notification.SendEmailResponse.
@@ -1,5 +1,6 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { UserNotificationSettingsNormalRecord, UserNotificationSettingsRecord } from "./UserNotificationSettingsRecord_pb";
3
+ import type { NotificationError } from "./NotificationError_pb";
3
4
  import type { Message } from "@bufbuild/protobuf";
4
5
  /**
5
6
  * Describes the file Protos/IT/WebServices/Fragments/Notification/UserNotificationInterface.proto.
@@ -75,9 +76,9 @@ export declare const ModifyNormalRecordRequestSchema: GenMessage<ModifyNormalRec
75
76
  */
76
77
  export type ModifyNormalRecordResponse = Message<"IT.WebServices.Fragments.Notification.ModifyNormalRecordResponse"> & {
77
78
  /**
78
- * @generated from field: string Error = 100;
79
+ * @generated from field: IT.WebServices.Fragments.Notification.NotificationError Error = 1;
79
80
  */
80
- Error: string;
81
+ Error?: NotificationError;
81
82
  };
82
83
  /**
83
84
  * Describes the message IT.WebServices.Fragments.Notification.ModifyNormalRecordResponse.
@@ -103,9 +104,9 @@ export declare const RegisterNewTokenRequestSchema: GenMessage<RegisterNewTokenR
103
104
  */
104
105
  export type RegisterNewTokenResponse = Message<"IT.WebServices.Fragments.Notification.RegisterNewTokenResponse"> & {
105
106
  /**
106
- * @generated from field: string Error = 100;
107
+ * @generated from field: IT.WebServices.Fragments.Notification.NotificationError Error = 1;
107
108
  */
108
- Error: string;
109
+ Error?: NotificationError;
109
110
  };
110
111
  /**
111
112
  * Describes the message IT.WebServices.Fragments.Notification.RegisterNewTokenResponse.
@@ -131,9 +132,9 @@ export declare const UnRegisterNewTokenRequestSchema: GenMessage<UnRegisterNewTo
131
132
  */
132
133
  export type UnRegisterNewTokenResponse = Message<"IT.WebServices.Fragments.Notification.UnRegisterNewTokenResponse"> & {
133
134
  /**
134
- * @generated from field: string Error = 100;
135
+ * @generated from field: IT.WebServices.Fragments.Notification.NotificationError Error = 1;
135
136
  */
136
- Error: string;
137
+ Error?: NotificationError;
137
138
  };
138
139
  /**
139
140
  * Describes the message IT.WebServices.Fragments.Notification.UnRegisterNewTokenResponse.
@@ -1,3 +1,4 @@
1
+ export * from './NotificationError_pb';
1
2
  export * from './NotificationInterface_pb';
2
3
  export * from './NotificationSettings_pb';
3
4
  export * from './NotificationUserRecord_pb';
@@ -0,0 +1,152 @@
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/Page/PageError.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Page_PageError: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Page.PageError
10
+ */
11
+ export type PageError = Message<"IT.WebServices.Fragments.Page.PageError"> & {
12
+ /**
13
+ * @generated from field: IT.WebServices.Fragments.Page.PageErrorReason Type = 1;
14
+ */
15
+ Type: PageErrorReason;
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.Page.PageError.
27
+ * Use `create(PageErrorSchema)` to create a new message.
28
+ */
29
+ export declare const PageErrorSchema: GenMessage<PageError>;
30
+ /**
31
+ * @generated from enum IT.WebServices.Fragments.Page.PageErrorReason
32
+ */
33
+ export declare enum PageErrorReason {
34
+ /**
35
+ * @generated from enum value: PAGE_REASON_UNSPECIFIED = 0;
36
+ */
37
+ PAGE_REASON_UNSPECIFIED = 0,
38
+ /**
39
+ * Page Creation 100-149
40
+ *
41
+ * @generated from enum value: CREATE_PAGE_ERROR_URL_CONFLICT = 100;
42
+ */
43
+ CREATE_PAGE_ERROR_URL_CONFLICT = 100,
44
+ /**
45
+ * @generated from enum value: CREATE_PAGE_ERROR_INVALID_CONTENT = 101;
46
+ */
47
+ CREATE_PAGE_ERROR_INVALID_CONTENT = 101,
48
+ /**
49
+ * @generated from enum value: CREATE_PAGE_ERROR_UNAUTHORIZED = 102;
50
+ */
51
+ CREATE_PAGE_ERROR_UNAUTHORIZED = 102,
52
+ /**
53
+ * @generated from enum value: CREATE_PAGE_ERROR_UNKNOWN = 149;
54
+ */
55
+ CREATE_PAGE_ERROR_UNKNOWN = 149,
56
+ /**
57
+ * Page Retrieval 200-249
58
+ *
59
+ * @generated from enum value: GET_PAGE_ERROR_NOT_FOUND = 200;
60
+ */
61
+ GET_PAGE_ERROR_NOT_FOUND = 200,
62
+ /**
63
+ * @generated from enum value: GET_PAGE_ERROR_UNAUTHORIZED = 201;
64
+ */
65
+ GET_PAGE_ERROR_UNAUTHORIZED = 201,
66
+ /**
67
+ * @generated from enum value: GET_PAGE_ERROR_UNKNOWN = 249;
68
+ */
69
+ GET_PAGE_ERROR_UNKNOWN = 249,
70
+ /**
71
+ * Page Modification 300-349
72
+ *
73
+ * @generated from enum value: MODIFY_PAGE_ERROR_NOT_FOUND = 300;
74
+ */
75
+ MODIFY_PAGE_ERROR_NOT_FOUND = 300,
76
+ /**
77
+ * @generated from enum value: MODIFY_PAGE_ERROR_UNAUTHORIZED = 301;
78
+ */
79
+ MODIFY_PAGE_ERROR_UNAUTHORIZED = 301,
80
+ /**
81
+ * @generated from enum value: MODIFY_PAGE_ERROR_URL_CONFLICT = 302;
82
+ */
83
+ MODIFY_PAGE_ERROR_URL_CONFLICT = 302,
84
+ /**
85
+ * @generated from enum value: MODIFY_PAGE_ERROR_UNKNOWN = 349;
86
+ */
87
+ MODIFY_PAGE_ERROR_UNKNOWN = 349,
88
+ /**
89
+ * Page Publishing 400-449
90
+ *
91
+ * @generated from enum value: PUBLISH_PAGE_ERROR_NOT_FOUND = 400;
92
+ */
93
+ PUBLISH_PAGE_ERROR_NOT_FOUND = 400,
94
+ /**
95
+ * @generated from enum value: PUBLISH_PAGE_ERROR_UNAUTHORIZED = 401;
96
+ */
97
+ PUBLISH_PAGE_ERROR_UNAUTHORIZED = 401,
98
+ /**
99
+ * @generated from enum value: PUBLISH_PAGE_ERROR_INVALID_DATE = 402;
100
+ */
101
+ PUBLISH_PAGE_ERROR_INVALID_DATE = 402,
102
+ /**
103
+ * @generated from enum value: PUBLISH_PAGE_ERROR_UNKNOWN = 449;
104
+ */
105
+ PUBLISH_PAGE_ERROR_UNKNOWN = 449,
106
+ /**
107
+ * Page Deletion 500-549
108
+ *
109
+ * @generated from enum value: DELETE_PAGE_ERROR_NOT_FOUND = 500;
110
+ */
111
+ DELETE_PAGE_ERROR_NOT_FOUND = 500,
112
+ /**
113
+ * @generated from enum value: DELETE_PAGE_ERROR_UNAUTHORIZED = 501;
114
+ */
115
+ DELETE_PAGE_ERROR_UNAUTHORIZED = 501,
116
+ /**
117
+ * @generated from enum value: DELETE_PAGE_ERROR_UNKNOWN = 549;
118
+ */
119
+ DELETE_PAGE_ERROR_UNKNOWN = 549,
120
+ /**
121
+ * Page Search 600-649
122
+ *
123
+ * @generated from enum value: SEARCH_PAGE_ERROR_INVALID_QUERY = 600;
124
+ */
125
+ SEARCH_PAGE_ERROR_INVALID_QUERY = 600,
126
+ /**
127
+ * @generated from enum value: SEARCH_PAGE_ERROR_UNKNOWN = 649;
128
+ */
129
+ SEARCH_PAGE_ERROR_UNKNOWN = 649,
130
+ /**
131
+ * Generic 900-999
132
+ *
133
+ * @generated from enum value: PAGE_ERROR_SERVICE_OFFLINE = 900;
134
+ */
135
+ PAGE_ERROR_SERVICE_OFFLINE = 900,
136
+ /**
137
+ * @generated from enum value: PAGE_ERROR_VALIDATION_FAILED = 901;
138
+ */
139
+ PAGE_ERROR_VALIDATION_FAILED = 901,
140
+ /**
141
+ * @generated from enum value: PAGE_ERROR_UNAUTHORIZED = 902;
142
+ */
143
+ PAGE_ERROR_UNAUTHORIZED = 902,
144
+ /**
145
+ * @generated from enum value: PAGE_ERROR_UNKNOWN = 999;
146
+ */
147
+ PAGE_ERROR_UNKNOWN = 999
148
+ }
149
+ /**
150
+ * Describes the enum IT.WebServices.Fragments.Page.PageErrorReason.
151
+ */
152
+ export declare const PageErrorReasonSchema: GenEnum<PageErrorReason>;