@slipway-systems/sdk 0.0.0-stage → 0.2.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.
@@ -0,0 +1,324 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { PageRequest, PageResponse } from "./common_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file slipway/v1/notifications.proto.
7
+ */
8
+ export declare const file_slipway_v1_notifications: GenFile;
9
+ /**
10
+ * Notification is one inbox entry.
11
+ *
12
+ * @generated from message slipway.v1.Notification
13
+ */
14
+ export type Notification = Message<"slipway.v1.Notification"> & {
15
+ /**
16
+ * ntf_…
17
+ *
18
+ * @generated from field: string id = 1;
19
+ */
20
+ id: string;
21
+ /**
22
+ * run.failed, run.fixed, deployment.waiting_approval, deployment.finished, runner.offline, billing.usage
23
+ *
24
+ * @generated from field: string event = 2;
25
+ */
26
+ event: string;
27
+ /**
28
+ * the domain event that produced it (evt_…)
29
+ *
30
+ * @generated from field: string event_id = 3;
31
+ */
32
+ eventId: string;
33
+ /**
34
+ * @generated from field: string title = 4;
35
+ */
36
+ title: string;
37
+ /**
38
+ * @generated from field: string body = 5;
39
+ */
40
+ body: string;
41
+ /**
42
+ * app path to open, empty when there is nothing to open
43
+ *
44
+ * @generated from field: string href = 6;
45
+ */
46
+ href: string;
47
+ /**
48
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
49
+ */
50
+ createdAt?: Timestamp | undefined;
51
+ /**
52
+ * unset while unread
53
+ *
54
+ * @generated from field: google.protobuf.Timestamp read_at = 8;
55
+ */
56
+ readAt?: Timestamp | undefined;
57
+ };
58
+ /**
59
+ * Describes the message slipway.v1.Notification.
60
+ * Use `create(NotificationSchema)` to create a new message.
61
+ */
62
+ export declare const NotificationSchema: GenMessage<Notification>;
63
+ /**
64
+ * @generated from message slipway.v1.ListNotificationsRequest
65
+ */
66
+ export type ListNotificationsRequest = Message<"slipway.v1.ListNotificationsRequest"> & {
67
+ /**
68
+ * @generated from field: slipway.v1.PageRequest page = 1;
69
+ */
70
+ page?: PageRequest | undefined;
71
+ /**
72
+ * @generated from field: bool unread_only = 2;
73
+ */
74
+ unreadOnly: boolean;
75
+ };
76
+ /**
77
+ * Describes the message slipway.v1.ListNotificationsRequest.
78
+ * Use `create(ListNotificationsRequestSchema)` to create a new message.
79
+ */
80
+ export declare const ListNotificationsRequestSchema: GenMessage<ListNotificationsRequest>;
81
+ /**
82
+ * @generated from message slipway.v1.ListNotificationsResponse
83
+ */
84
+ export type ListNotificationsResponse = Message<"slipway.v1.ListNotificationsResponse"> & {
85
+ /**
86
+ * @generated from field: repeated slipway.v1.Notification items = 1;
87
+ */
88
+ items: Notification[];
89
+ /**
90
+ * @generated from field: slipway.v1.PageResponse page = 2;
91
+ */
92
+ page?: PageResponse | undefined;
93
+ /**
94
+ * unread count in the organisation, independent of the page
95
+ *
96
+ * @generated from field: int32 unread = 3;
97
+ */
98
+ unread: number;
99
+ };
100
+ /**
101
+ * Describes the message slipway.v1.ListNotificationsResponse.
102
+ * Use `create(ListNotificationsResponseSchema)` to create a new message.
103
+ */
104
+ export declare const ListNotificationsResponseSchema: GenMessage<ListNotificationsResponse>;
105
+ /**
106
+ * @generated from message slipway.v1.MarkNotificationsReadRequest
107
+ */
108
+ export type MarkNotificationsReadRequest = Message<"slipway.v1.MarkNotificationsReadRequest"> & {
109
+ /**
110
+ * empty with all=true marks every unread notification
111
+ *
112
+ * @generated from field: repeated string ids = 1;
113
+ */
114
+ ids: string[];
115
+ /**
116
+ * @generated from field: bool all = 2;
117
+ */
118
+ all: boolean;
119
+ };
120
+ /**
121
+ * Describes the message slipway.v1.MarkNotificationsReadRequest.
122
+ * Use `create(MarkNotificationsReadRequestSchema)` to create a new message.
123
+ */
124
+ export declare const MarkNotificationsReadRequestSchema: GenMessage<MarkNotificationsReadRequest>;
125
+ /**
126
+ * @generated from message slipway.v1.MarkNotificationsReadResponse
127
+ */
128
+ export type MarkNotificationsReadResponse = Message<"slipway.v1.MarkNotificationsReadResponse"> & {
129
+ /**
130
+ * @generated from field: int32 marked = 1;
131
+ */
132
+ marked: number;
133
+ };
134
+ /**
135
+ * Describes the message slipway.v1.MarkNotificationsReadResponse.
136
+ * Use `create(MarkNotificationsReadResponseSchema)` to create a new message.
137
+ */
138
+ export declare const MarkNotificationsReadResponseSchema: GenMessage<MarkNotificationsReadResponse>;
139
+ /**
140
+ * WatchNotifications streams inbox changes: the current unread count on connect, then an update whenever a
141
+ * notification is added or read.
142
+ *
143
+ * @generated from message slipway.v1.WatchNotificationsRequest
144
+ */
145
+ export type WatchNotificationsRequest = Message<"slipway.v1.WatchNotificationsRequest"> & {};
146
+ /**
147
+ * Describes the message slipway.v1.WatchNotificationsRequest.
148
+ * Use `create(WatchNotificationsRequestSchema)` to create a new message.
149
+ */
150
+ export declare const WatchNotificationsRequestSchema: GenMessage<WatchNotificationsRequest>;
151
+ /**
152
+ * @generated from message slipway.v1.WatchNotificationsResponse
153
+ */
154
+ export type WatchNotificationsResponse = Message<"slipway.v1.WatchNotificationsResponse"> & {
155
+ /**
156
+ * @generated from field: int32 unread = 1;
157
+ */
158
+ unread: number;
159
+ /**
160
+ * set when a new notification arrived
161
+ *
162
+ * @generated from field: slipway.v1.Notification added = 2;
163
+ */
164
+ added?: Notification | undefined;
165
+ };
166
+ /**
167
+ * Describes the message slipway.v1.WatchNotificationsResponse.
168
+ * Use `create(WatchNotificationsResponseSchema)` to create a new message.
169
+ */
170
+ export declare const WatchNotificationsResponseSchema: GenMessage<WatchNotificationsResponse>;
171
+ /**
172
+ * NotificationPreference is one event's delivery choice.
173
+ *
174
+ * @generated from message slipway.v1.NotificationPreference
175
+ */
176
+ export type NotificationPreference = Message<"slipway.v1.NotificationPreference"> & {
177
+ /**
178
+ * @generated from field: string event = 1;
179
+ */
180
+ event: string;
181
+ /**
182
+ * @generated from field: bool in_app = 2;
183
+ */
184
+ inApp: boolean;
185
+ /**
186
+ * @generated from field: bool email = 3;
187
+ */
188
+ email: boolean;
189
+ };
190
+ /**
191
+ * Describes the message slipway.v1.NotificationPreference.
192
+ * Use `create(NotificationPreferenceSchema)` to create a new message.
193
+ */
194
+ export declare const NotificationPreferenceSchema: GenMessage<NotificationPreference>;
195
+ /**
196
+ * NotificationEvent describes an event the user can subscribe to.
197
+ *
198
+ * @generated from message slipway.v1.NotificationEvent
199
+ */
200
+ export type NotificationEvent = Message<"slipway.v1.NotificationEvent"> & {
201
+ /**
202
+ * @generated from field: string id = 1;
203
+ */
204
+ id: string;
205
+ /**
206
+ * @generated from field: string label = 2;
207
+ */
208
+ label: string;
209
+ /**
210
+ * @generated from field: string description = 3;
211
+ */
212
+ description: string;
213
+ };
214
+ /**
215
+ * Describes the message slipway.v1.NotificationEvent.
216
+ * Use `create(NotificationEventSchema)` to create a new message.
217
+ */
218
+ export declare const NotificationEventSchema: GenMessage<NotificationEvent>;
219
+ /**
220
+ * @generated from message slipway.v1.GetNotificationPreferencesRequest
221
+ */
222
+ export type GetNotificationPreferencesRequest = Message<"slipway.v1.GetNotificationPreferencesRequest"> & {};
223
+ /**
224
+ * Describes the message slipway.v1.GetNotificationPreferencesRequest.
225
+ * Use `create(GetNotificationPreferencesRequestSchema)` to create a new message.
226
+ */
227
+ export declare const GetNotificationPreferencesRequestSchema: GenMessage<GetNotificationPreferencesRequest>;
228
+ /**
229
+ * @generated from message slipway.v1.GetNotificationPreferencesResponse
230
+ */
231
+ export type GetNotificationPreferencesResponse = Message<"slipway.v1.GetNotificationPreferencesResponse"> & {
232
+ /**
233
+ * one per known event, defaults filled in
234
+ *
235
+ * @generated from field: repeated slipway.v1.NotificationPreference preferences = 1;
236
+ */
237
+ preferences: NotificationPreference[];
238
+ /**
239
+ * the catalogue, in display order
240
+ *
241
+ * @generated from field: repeated slipway.v1.NotificationEvent events = 2;
242
+ */
243
+ events: NotificationEvent[];
244
+ };
245
+ /**
246
+ * Describes the message slipway.v1.GetNotificationPreferencesResponse.
247
+ * Use `create(GetNotificationPreferencesResponseSchema)` to create a new message.
248
+ */
249
+ export declare const GetNotificationPreferencesResponseSchema: GenMessage<GetNotificationPreferencesResponse>;
250
+ /**
251
+ * @generated from message slipway.v1.UpdateNotificationPreferencesRequest
252
+ */
253
+ export type UpdateNotificationPreferencesRequest = Message<"slipway.v1.UpdateNotificationPreferencesRequest"> & {
254
+ /**
255
+ * events not listed keep their stored (or default) value
256
+ *
257
+ * @generated from field: repeated slipway.v1.NotificationPreference preferences = 1;
258
+ */
259
+ preferences: NotificationPreference[];
260
+ };
261
+ /**
262
+ * Describes the message slipway.v1.UpdateNotificationPreferencesRequest.
263
+ * Use `create(UpdateNotificationPreferencesRequestSchema)` to create a new message.
264
+ */
265
+ export declare const UpdateNotificationPreferencesRequestSchema: GenMessage<UpdateNotificationPreferencesRequest>;
266
+ /**
267
+ * @generated from message slipway.v1.UpdateNotificationPreferencesResponse
268
+ */
269
+ export type UpdateNotificationPreferencesResponse = Message<"slipway.v1.UpdateNotificationPreferencesResponse"> & {
270
+ /**
271
+ * @generated from field: repeated slipway.v1.NotificationPreference preferences = 1;
272
+ */
273
+ preferences: NotificationPreference[];
274
+ };
275
+ /**
276
+ * Describes the message slipway.v1.UpdateNotificationPreferencesResponse.
277
+ * Use `create(UpdateNotificationPreferencesResponseSchema)` to create a new message.
278
+ */
279
+ export declare const UpdateNotificationPreferencesResponseSchema: GenMessage<UpdateNotificationPreferencesResponse>;
280
+ /**
281
+ * @generated from service slipway.v1.NotificationService
282
+ */
283
+ export declare const NotificationService: GenService<{
284
+ /**
285
+ * @generated from rpc slipway.v1.NotificationService.ListNotifications
286
+ */
287
+ listNotifications: {
288
+ methodKind: "unary";
289
+ input: typeof ListNotificationsRequestSchema;
290
+ output: typeof ListNotificationsResponseSchema;
291
+ };
292
+ /**
293
+ * @generated from rpc slipway.v1.NotificationService.MarkNotificationsRead
294
+ */
295
+ markNotificationsRead: {
296
+ methodKind: "unary";
297
+ input: typeof MarkNotificationsReadRequestSchema;
298
+ output: typeof MarkNotificationsReadResponseSchema;
299
+ };
300
+ /**
301
+ * @generated from rpc slipway.v1.NotificationService.WatchNotifications
302
+ */
303
+ watchNotifications: {
304
+ methodKind: "server_streaming";
305
+ input: typeof WatchNotificationsRequestSchema;
306
+ output: typeof WatchNotificationsResponseSchema;
307
+ };
308
+ /**
309
+ * @generated from rpc slipway.v1.NotificationService.GetNotificationPreferences
310
+ */
311
+ getNotificationPreferences: {
312
+ methodKind: "unary";
313
+ input: typeof GetNotificationPreferencesRequestSchema;
314
+ output: typeof GetNotificationPreferencesResponseSchema;
315
+ };
316
+ /**
317
+ * @generated from rpc slipway.v1.NotificationService.UpdateNotificationPreferences
318
+ */
319
+ updateNotificationPreferences: {
320
+ methodKind: "unary";
321
+ input: typeof UpdateNotificationPreferencesRequestSchema;
322
+ output: typeof UpdateNotificationPreferencesResponseSchema;
323
+ };
324
+ }>;
@@ -0,0 +1,79 @@
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file slipway/v1/notifications.proto (package slipway.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ import { file_slipway_v1_common } from "./common_pb.js";
7
+ /**
8
+ * Describes the file slipway/v1/notifications.proto.
9
+ */
10
+ export const file_slipway_v1_notifications = /*@__PURE__*/ fileDesc("Ch5zbGlwd2F5L3YxL25vdGlmaWNhdGlvbnMucHJvdG8SCnNsaXB3YXkudjEiwwEKDE5vdGlmaWNhdGlvbhIKCgJpZBgBIAEoCRINCgVldmVudBgCIAEoCRIQCghldmVudF9pZBgDIAEoCRINCgV0aXRsZRgEIAEoCRIMCgRib2R5GAUgASgJEgwKBGhyZWYYBiABKAkSLgoKY3JlYXRlZF9hdBgHIAEoCz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cG9uc2VCrQEKDmNvbS5zbGlwd2F5LnYxQhJOb3RpZmljYXRpb25zUHJvdG9QAVo+Z2l0aHViLmNvbS9zbGlwd2F5LXN5c3RlbXMvc2xpcHdheS1zZGsvZ28vc2xpcHdheS92MTtzbGlwd2F5djGiAgNTWFiqAgpTbGlwd2F5LlYxygIKU2xpcHdheVxWMeICFlNsaXB3YXlcVjFcR1BCTWV0YWRhdGHqAgtTbGlwd2F5OjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp, file_slipway_v1_common]);
11
+ /**
12
+ * Describes the message slipway.v1.Notification.
13
+ * Use `create(NotificationSchema)` to create a new message.
14
+ */
15
+ export const NotificationSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 0);
16
+ /**
17
+ * Describes the message slipway.v1.ListNotificationsRequest.
18
+ * Use `create(ListNotificationsRequestSchema)` to create a new message.
19
+ */
20
+ export const ListNotificationsRequestSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 1);
21
+ /**
22
+ * Describes the message slipway.v1.ListNotificationsResponse.
23
+ * Use `create(ListNotificationsResponseSchema)` to create a new message.
24
+ */
25
+ export const ListNotificationsResponseSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 2);
26
+ /**
27
+ * Describes the message slipway.v1.MarkNotificationsReadRequest.
28
+ * Use `create(MarkNotificationsReadRequestSchema)` to create a new message.
29
+ */
30
+ export const MarkNotificationsReadRequestSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 3);
31
+ /**
32
+ * Describes the message slipway.v1.MarkNotificationsReadResponse.
33
+ * Use `create(MarkNotificationsReadResponseSchema)` to create a new message.
34
+ */
35
+ export const MarkNotificationsReadResponseSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 4);
36
+ /**
37
+ * Describes the message slipway.v1.WatchNotificationsRequest.
38
+ * Use `create(WatchNotificationsRequestSchema)` to create a new message.
39
+ */
40
+ export const WatchNotificationsRequestSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 5);
41
+ /**
42
+ * Describes the message slipway.v1.WatchNotificationsResponse.
43
+ * Use `create(WatchNotificationsResponseSchema)` to create a new message.
44
+ */
45
+ export const WatchNotificationsResponseSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 6);
46
+ /**
47
+ * Describes the message slipway.v1.NotificationPreference.
48
+ * Use `create(NotificationPreferenceSchema)` to create a new message.
49
+ */
50
+ export const NotificationPreferenceSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 7);
51
+ /**
52
+ * Describes the message slipway.v1.NotificationEvent.
53
+ * Use `create(NotificationEventSchema)` to create a new message.
54
+ */
55
+ export const NotificationEventSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 8);
56
+ /**
57
+ * Describes the message slipway.v1.GetNotificationPreferencesRequest.
58
+ * Use `create(GetNotificationPreferencesRequestSchema)` to create a new message.
59
+ */
60
+ export const GetNotificationPreferencesRequestSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 9);
61
+ /**
62
+ * Describes the message slipway.v1.GetNotificationPreferencesResponse.
63
+ * Use `create(GetNotificationPreferencesResponseSchema)` to create a new message.
64
+ */
65
+ export const GetNotificationPreferencesResponseSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 10);
66
+ /**
67
+ * Describes the message slipway.v1.UpdateNotificationPreferencesRequest.
68
+ * Use `create(UpdateNotificationPreferencesRequestSchema)` to create a new message.
69
+ */
70
+ export const UpdateNotificationPreferencesRequestSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 11);
71
+ /**
72
+ * Describes the message slipway.v1.UpdateNotificationPreferencesResponse.
73
+ * Use `create(UpdateNotificationPreferencesResponseSchema)` to create a new message.
74
+ */
75
+ export const UpdateNotificationPreferencesResponseSchema = /*@__PURE__*/ messageDesc(file_slipway_v1_notifications, 12);
76
+ /**
77
+ * @generated from service slipway.v1.NotificationService
78
+ */
79
+ export const NotificationService = /*@__PURE__*/ serviceDesc(file_slipway_v1_notifications, 0);