@alis-build/alis-open-notifications-v1 1.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,269 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
2
+ // @generated from file alis/open/notifications/v1/devices.proto (package alis.open.notifications.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { EmptySchema, FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { RetrieveRulesRequestSchema, RetrieveRulesResponseSchema, ValidateMessageRequestSchema, ValidateMessageResponseSchema } from "@alis-build/alis-open-validation-v1/alis/open/validation/v1/validation_pb";
9
+ import type { GetIamPolicyRequestSchema, SetIamPolicyRequestSchema, TestIamPermissionsRequestSchema, TestIamPermissionsResponseSchema } from "@alis-build/google-iam-v1/google/iam/v1/iam_policy_pb";
10
+ import type { PolicySchema } from "@alis-build/google-iam-v1/google/iam/v1/policy_pb";
11
+ import type { AddIamBindingsRequestSchema, RemoveIamBindingsRequestSchema } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/iam_pb";
12
+
13
+ /**
14
+ * Describes the file alis/open/notifications/v1/devices.proto.
15
+ */
16
+ export declare const file_alis_open_notifications_v1_devices: GenFile;
17
+
18
+ /**
19
+ * @generated from message alis.open.notifications.v1.Device
20
+ */
21
+ export declare type Device = Message<"alis.open.notifications.v1.Device"> & {
22
+ /**
23
+ * @generated from field: string name = 1;
24
+ */
25
+ name: string;
26
+
27
+ /**
28
+ * @generated from field: string token = 2;
29
+ */
30
+ token: string;
31
+
32
+ /**
33
+ * @generated from field: string etag = 97;
34
+ */
35
+ etag: string;
36
+
37
+ /**
38
+ * @generated from field: google.protobuf.Timestamp create_time = 98;
39
+ */
40
+ createTime?: Timestamp | undefined;
41
+
42
+ /**
43
+ * @generated from field: google.protobuf.Timestamp update_time = 99;
44
+ */
45
+ updateTime?: Timestamp | undefined;
46
+ };
47
+
48
+ /**
49
+ * Describes the message alis.open.notifications.v1.Device.
50
+ * Use `create(DeviceSchema)` to create a new message.
51
+ */
52
+ export declare const DeviceSchema: GenMessage<Device>;
53
+
54
+ /**
55
+ * @generated from message alis.open.notifications.v1.GetDeviceRequest
56
+ */
57
+ export declare type GetDeviceRequest = Message<"alis.open.notifications.v1.GetDeviceRequest"> & {
58
+ /**
59
+ * @generated from field: string name = 1;
60
+ */
61
+ name: string;
62
+ };
63
+
64
+ /**
65
+ * Describes the message alis.open.notifications.v1.GetDeviceRequest.
66
+ * Use `create(GetDeviceRequestSchema)` to create a new message.
67
+ */
68
+ export declare const GetDeviceRequestSchema: GenMessage<GetDeviceRequest>;
69
+
70
+ /**
71
+ * @generated from message alis.open.notifications.v1.ListDevicesRequest
72
+ */
73
+ export declare type ListDevicesRequest = Message<"alis.open.notifications.v1.ListDevicesRequest"> & {
74
+ /**
75
+ * @generated from field: string parent = 1;
76
+ */
77
+ parent: string;
78
+
79
+ /**
80
+ * @generated from field: int32 page_size = 2;
81
+ */
82
+ pageSize: number;
83
+
84
+ /**
85
+ * @generated from field: string page_token = 3;
86
+ */
87
+ pageToken: string;
88
+
89
+ /**
90
+ * @generated from field: google.protobuf.FieldMask read_mask = 4;
91
+ */
92
+ readMask?: FieldMask | undefined;
93
+
94
+ /**
95
+ * @generated from field: string filter = 5;
96
+ */
97
+ filter: string;
98
+ };
99
+
100
+ /**
101
+ * Describes the message alis.open.notifications.v1.ListDevicesRequest.
102
+ * Use `create(ListDevicesRequestSchema)` to create a new message.
103
+ */
104
+ export declare const ListDevicesRequestSchema: GenMessage<ListDevicesRequest>;
105
+
106
+ /**
107
+ * @generated from message alis.open.notifications.v1.ListDevicesResponse
108
+ */
109
+ export declare type ListDevicesResponse = Message<"alis.open.notifications.v1.ListDevicesResponse"> & {
110
+ /**
111
+ * @generated from field: repeated alis.open.notifications.v1.Device devices = 1;
112
+ */
113
+ devices: Device[];
114
+
115
+ /**
116
+ * @generated from field: string next_page_token = 2;
117
+ */
118
+ nextPageToken: string;
119
+ };
120
+
121
+ /**
122
+ * Describes the message alis.open.notifications.v1.ListDevicesResponse.
123
+ * Use `create(ListDevicesResponseSchema)` to create a new message.
124
+ */
125
+ export declare const ListDevicesResponseSchema: GenMessage<ListDevicesResponse>;
126
+
127
+ /**
128
+ * @generated from message alis.open.notifications.v1.DeleteDeviceRequest
129
+ */
130
+ export declare type DeleteDeviceRequest = Message<"alis.open.notifications.v1.DeleteDeviceRequest"> & {
131
+ /**
132
+ * @generated from field: string name = 1;
133
+ */
134
+ name: string;
135
+ };
136
+
137
+ /**
138
+ * Describes the message alis.open.notifications.v1.DeleteDeviceRequest.
139
+ * Use `create(DeleteDeviceRequestSchema)` to create a new message.
140
+ */
141
+ export declare const DeleteDeviceRequestSchema: GenMessage<DeleteDeviceRequest>;
142
+
143
+ /**
144
+ * @generated from message alis.open.notifications.v1.RegisterDeviceRequest
145
+ */
146
+ export declare type RegisterDeviceRequest = Message<"alis.open.notifications.v1.RegisterDeviceRequest"> & {
147
+ /**
148
+ * @generated from field: string device_id = 1;
149
+ */
150
+ deviceId: string;
151
+
152
+ /**
153
+ * @generated from field: string device_token = 2;
154
+ */
155
+ deviceToken: string;
156
+ };
157
+
158
+ /**
159
+ * Describes the message alis.open.notifications.v1.RegisterDeviceRequest.
160
+ * Use `create(RegisterDeviceRequestSchema)` to create a new message.
161
+ */
162
+ export declare const RegisterDeviceRequestSchema: GenMessage<RegisterDeviceRequest>;
163
+
164
+ /**
165
+ * @generated from message alis.open.notifications.v1.RegisterDeviceResponse
166
+ */
167
+ export declare type RegisterDeviceResponse = Message<"alis.open.notifications.v1.RegisterDeviceResponse"> & {
168
+ };
169
+
170
+ /**
171
+ * Describes the message alis.open.notifications.v1.RegisterDeviceResponse.
172
+ * Use `create(RegisterDeviceResponseSchema)` to create a new message.
173
+ */
174
+ export declare const RegisterDeviceResponseSchema: GenMessage<RegisterDeviceResponse>;
175
+
176
+ /**
177
+ * @generated from service alis.open.notifications.v1.DevicesService
178
+ */
179
+ export declare const DevicesService: GenService<{
180
+ /**
181
+ * @generated from rpc alis.open.notifications.v1.DevicesService.ValidateMessage
182
+ */
183
+ validateMessage: {
184
+ methodKind: "unary";
185
+ input: typeof ValidateMessageRequestSchema;
186
+ output: typeof ValidateMessageResponseSchema;
187
+ },
188
+ /**
189
+ * @generated from rpc alis.open.notifications.v1.DevicesService.RetrieveRules
190
+ */
191
+ retrieveRules: {
192
+ methodKind: "unary";
193
+ input: typeof RetrieveRulesRequestSchema;
194
+ output: typeof RetrieveRulesResponseSchema;
195
+ },
196
+ /**
197
+ * @generated from rpc alis.open.notifications.v1.DevicesService.GetIamPolicy
198
+ */
199
+ getIamPolicy: {
200
+ methodKind: "unary";
201
+ input: typeof GetIamPolicyRequestSchema;
202
+ output: typeof PolicySchema;
203
+ },
204
+ /**
205
+ * @generated from rpc alis.open.notifications.v1.DevicesService.SetIamPolicy
206
+ */
207
+ setIamPolicy: {
208
+ methodKind: "unary";
209
+ input: typeof SetIamPolicyRequestSchema;
210
+ output: typeof PolicySchema;
211
+ },
212
+ /**
213
+ * @generated from rpc alis.open.notifications.v1.DevicesService.TestIamPermissions
214
+ */
215
+ testIamPermissions: {
216
+ methodKind: "unary";
217
+ input: typeof TestIamPermissionsRequestSchema;
218
+ output: typeof TestIamPermissionsResponseSchema;
219
+ },
220
+ /**
221
+ * @generated from rpc alis.open.notifications.v1.DevicesService.AddIamBindings
222
+ */
223
+ addIamBindings: {
224
+ methodKind: "unary";
225
+ input: typeof AddIamBindingsRequestSchema;
226
+ output: typeof PolicySchema;
227
+ },
228
+ /**
229
+ * @generated from rpc alis.open.notifications.v1.DevicesService.RemoveIamBindings
230
+ */
231
+ removeIamBindings: {
232
+ methodKind: "unary";
233
+ input: typeof RemoveIamBindingsRequestSchema;
234
+ output: typeof PolicySchema;
235
+ },
236
+ /**
237
+ * @generated from rpc alis.open.notifications.v1.DevicesService.RegisterDevice
238
+ */
239
+ registerDevice: {
240
+ methodKind: "unary";
241
+ input: typeof RegisterDeviceRequestSchema;
242
+ output: typeof RegisterDeviceResponseSchema;
243
+ },
244
+ /**
245
+ * @generated from rpc alis.open.notifications.v1.DevicesService.GetDevice
246
+ */
247
+ getDevice: {
248
+ methodKind: "unary";
249
+ input: typeof GetDeviceRequestSchema;
250
+ output: typeof DeviceSchema;
251
+ },
252
+ /**
253
+ * @generated from rpc alis.open.notifications.v1.DevicesService.ListDevices
254
+ */
255
+ listDevices: {
256
+ methodKind: "unary";
257
+ input: typeof ListDevicesRequestSchema;
258
+ output: typeof ListDevicesResponseSchema;
259
+ },
260
+ /**
261
+ * @generated from rpc alis.open.notifications.v1.DevicesService.DeleteDevice
262
+ */
263
+ deleteDevice: {
264
+ methodKind: "unary";
265
+ input: typeof DeleteDeviceRequestSchema;
266
+ output: typeof EmptySchema;
267
+ },
268
+ }>;
269
+
@@ -0,0 +1,72 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
2
+ // @generated from file alis/open/notifications/v1/devices.proto (package alis.open.notifications.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_alis_open_iam_v1_iam } from "@alis-build/alis-open-iam-v1/alis/open/iam/v1/iam_pb";
7
+ import { file_alis_open_validation_v1_validation } from "@alis-build/alis-open-validation-v1/alis/open/validation/v1/validation_pb";
8
+ import { file_google_iam_v1_iam_policy } from "@alis-build/google-iam-v1/google/iam/v1/iam_policy_pb";
9
+ import { file_google_iam_v1_policy } from "@alis-build/google-iam-v1/google/iam/v1/policy_pb";
10
+ import { file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file alis/open/notifications/v1/devices.proto.
14
+ */
15
+ export const file_alis_open_notifications_v1_dev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FsaXMub3Blbi5ub3RpZmljYXRpb25zLnYxLkxpc3REZXZpY2VzUmVzcG9uc2UiABJZCgxEZWxldGVEZXZpY2USLy5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5EZWxldGVEZXZpY2VSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IgBCLlosZ28uYWxpcy5idWlsZC9jb21tb24vYWxpcy9vcGVuL25vdGlmaWNhdGlvbnNiBnByb3RvMw", [file_alis_open_iam_v1_iam, file_alis_open_validation_v1_validation, file_google_iam_v1_iam_policy, file_google_iam_v1_policy, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_protobuf_timestamp]);
17
+
18
+ /**
19
+ * Describes the message alis.open.notifications.v1.Device.
20
+ * Use `create(DeviceSchema)` to create a new message.
21
+ */
22
+ export const DeviceSchema = /*@__PURE__*/
23
+ messageDesc(file_alis_open_notifications_v1_devices, 0);
24
+
25
+ /**
26
+ * Describes the message alis.open.notifications.v1.GetDeviceRequest.
27
+ * Use `create(GetDeviceRequestSchema)` to create a new message.
28
+ */
29
+ export const GetDeviceRequestSchema = /*@__PURE__*/
30
+ messageDesc(file_alis_open_notifications_v1_devices, 1);
31
+
32
+ /**
33
+ * Describes the message alis.open.notifications.v1.ListDevicesRequest.
34
+ * Use `create(ListDevicesRequestSchema)` to create a new message.
35
+ */
36
+ export const ListDevicesRequestSchema = /*@__PURE__*/
37
+ messageDesc(file_alis_open_notifications_v1_devices, 2);
38
+
39
+ /**
40
+ * Describes the message alis.open.notifications.v1.ListDevicesResponse.
41
+ * Use `create(ListDevicesResponseSchema)` to create a new message.
42
+ */
43
+ export const ListDevicesResponseSchema = /*@__PURE__*/
44
+ messageDesc(file_alis_open_notifications_v1_devices, 3);
45
+
46
+ /**
47
+ * Describes the message alis.open.notifications.v1.DeleteDeviceRequest.
48
+ * Use `create(DeleteDeviceRequestSchema)` to create a new message.
49
+ */
50
+ export const DeleteDeviceRequestSchema = /*@__PURE__*/
51
+ messageDesc(file_alis_open_notifications_v1_devices, 4);
52
+
53
+ /**
54
+ * Describes the message alis.open.notifications.v1.RegisterDeviceRequest.
55
+ * Use `create(RegisterDeviceRequestSchema)` to create a new message.
56
+ */
57
+ export const RegisterDeviceRequestSchema = /*@__PURE__*/
58
+ messageDesc(file_alis_open_notifications_v1_devices, 5);
59
+
60
+ /**
61
+ * Describes the message alis.open.notifications.v1.RegisterDeviceResponse.
62
+ * Use `create(RegisterDeviceResponseSchema)` to create a new message.
63
+ */
64
+ export const RegisterDeviceResponseSchema = /*@__PURE__*/
65
+ messageDesc(file_alis_open_notifications_v1_devices, 6);
66
+
67
+ /**
68
+ * @generated from service alis.open.notifications.v1.DevicesService
69
+ */
70
+ export const DevicesService = /*@__PURE__*/
71
+ serviceDesc(file_alis_open_notifications_v1_devices, 0);
72
+
@@ -0,0 +1,155 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
2
+ // @generated from file alis/open/notifications/v1/notifications.proto (package alis.open.notifications.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { RetrieveRulesRequestSchema, RetrieveRulesResponseSchema, ValidateMessageRequestSchema, ValidateMessageResponseSchema } from "@alis-build/alis-open-validation-v1/alis/open/validation/v1/validation_pb";
8
+ import type { TestIamPermissionsRequestSchema, TestIamPermissionsResponseSchema } from "@alis-build/google-iam-v1/google/iam/v1/iam_policy_pb";
9
+
10
+ /**
11
+ * Describes the file alis/open/notifications/v1/notifications.proto.
12
+ */
13
+ export declare const file_alis_open_notifications_v1_notifications: GenFile;
14
+
15
+ /**
16
+ * @generated from message alis.open.notifications.v1.SendFcmMessageRequest
17
+ */
18
+ export declare type SendFcmMessageRequest = Message<"alis.open.notifications.v1.SendFcmMessageRequest"> & {
19
+ /**
20
+ * @generated from oneof alis.open.notifications.v1.SendFcmMessageRequest.target
21
+ */
22
+ target: {
23
+ /**
24
+ * @generated from field: string user = 1;
25
+ */
26
+ value: string;
27
+ case: "user";
28
+ } | { case: undefined; value?: undefined };
29
+
30
+ /**
31
+ * @generated from field: string title = 3;
32
+ */
33
+ title: string;
34
+
35
+ /**
36
+ * @generated from field: string body = 4;
37
+ */
38
+ body: string;
39
+
40
+ /**
41
+ * @generated from field: string image = 5;
42
+ */
43
+ image: string;
44
+
45
+ /**
46
+ * @generated from field: map<string, string> data = 6;
47
+ */
48
+ data: { [key: string]: string };
49
+
50
+ /**
51
+ * @generated from field: string uri = 7;
52
+ */
53
+ uri: string;
54
+ };
55
+
56
+ /**
57
+ * Describes the message alis.open.notifications.v1.SendFcmMessageRequest.
58
+ * Use `create(SendFcmMessageRequestSchema)` to create a new message.
59
+ */
60
+ export declare const SendFcmMessageRequestSchema: GenMessage<SendFcmMessageRequest>;
61
+
62
+ /**
63
+ * @generated from message alis.open.notifications.v1.SendFcmMessageResponse
64
+ */
65
+ export declare type SendFcmMessageResponse = Message<"alis.open.notifications.v1.SendFcmMessageResponse"> & {
66
+ /**
67
+ * @generated from field: repeated string message_ids = 1;
68
+ */
69
+ messageIds: string[];
70
+ };
71
+
72
+ /**
73
+ * Describes the message alis.open.notifications.v1.SendFcmMessageResponse.
74
+ * Use `create(SendFcmMessageResponseSchema)` to create a new message.
75
+ */
76
+ export declare const SendFcmMessageResponseSchema: GenMessage<SendFcmMessageResponse>;
77
+
78
+ /**
79
+ * @generated from message alis.open.notifications.v1.BatchSendFcmMessagesRequest
80
+ */
81
+ export declare type BatchSendFcmMessagesRequest = Message<"alis.open.notifications.v1.BatchSendFcmMessagesRequest"> & {
82
+ /**
83
+ * @generated from field: repeated alis.open.notifications.v1.SendFcmMessageRequest requests = 1;
84
+ */
85
+ requests: SendFcmMessageRequest[];
86
+ };
87
+
88
+ /**
89
+ * Describes the message alis.open.notifications.v1.BatchSendFcmMessagesRequest.
90
+ * Use `create(BatchSendFcmMessagesRequestSchema)` to create a new message.
91
+ */
92
+ export declare const BatchSendFcmMessagesRequestSchema: GenMessage<BatchSendFcmMessagesRequest>;
93
+
94
+ /**
95
+ * @generated from message alis.open.notifications.v1.BatchSendFcmMessagesResponse
96
+ */
97
+ export declare type BatchSendFcmMessagesResponse = Message<"alis.open.notifications.v1.BatchSendFcmMessagesResponse"> & {
98
+ /**
99
+ * @generated from field: repeated string message_ids = 1;
100
+ */
101
+ messageIds: string[];
102
+ };
103
+
104
+ /**
105
+ * Describes the message alis.open.notifications.v1.BatchSendFcmMessagesResponse.
106
+ * Use `create(BatchSendFcmMessagesResponseSchema)` to create a new message.
107
+ */
108
+ export declare const BatchSendFcmMessagesResponseSchema: GenMessage<BatchSendFcmMessagesResponse>;
109
+
110
+ /**
111
+ * @generated from service alis.open.notifications.v1.NotificationsService
112
+ */
113
+ export declare const NotificationsService: GenService<{
114
+ /**
115
+ * @generated from rpc alis.open.notifications.v1.NotificationsService.ValidateMessage
116
+ */
117
+ validateMessage: {
118
+ methodKind: "unary";
119
+ input: typeof ValidateMessageRequestSchema;
120
+ output: typeof ValidateMessageResponseSchema;
121
+ },
122
+ /**
123
+ * @generated from rpc alis.open.notifications.v1.NotificationsService.RetrieveRules
124
+ */
125
+ retrieveRules: {
126
+ methodKind: "unary";
127
+ input: typeof RetrieveRulesRequestSchema;
128
+ output: typeof RetrieveRulesResponseSchema;
129
+ },
130
+ /**
131
+ * @generated from rpc alis.open.notifications.v1.NotificationsService.TestIamPermissions
132
+ */
133
+ testIamPermissions: {
134
+ methodKind: "unary";
135
+ input: typeof TestIamPermissionsRequestSchema;
136
+ output: typeof TestIamPermissionsResponseSchema;
137
+ },
138
+ /**
139
+ * @generated from rpc alis.open.notifications.v1.NotificationsService.SendFcmMessage
140
+ */
141
+ sendFcmMessage: {
142
+ methodKind: "unary";
143
+ input: typeof SendFcmMessageRequestSchema;
144
+ output: typeof SendFcmMessageResponseSchema;
145
+ },
146
+ /**
147
+ * @generated from rpc alis.open.notifications.v1.NotificationsService.BatchSendFcmMessages
148
+ */
149
+ batchSendFcmMessages: {
150
+ methodKind: "unary";
151
+ input: typeof BatchSendFcmMessagesRequestSchema;
152
+ output: typeof BatchSendFcmMessagesResponseSchema;
153
+ },
154
+ }>;
155
+
@@ -0,0 +1,48 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
2
+ // @generated from file alis/open/notifications/v1/notifications.proto (package alis.open.notifications.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_alis_open_validation_v1_validation } from "@alis-build/alis-open-validation-v1/alis/open/validation/v1/validation_pb";
7
+ import { file_google_iam_v1_iam_policy } from "@alis-build/google-iam-v1/google/iam/v1/iam_policy_pb";
8
+
9
+ /**
10
+ * Describes the file alis/open/notifications/v1/notifications.proto.
11
+ */
12
+ export const file_alis_open_notifications_v1_notifications = /*@__PURE__*/
13
+ fileDesc("Ci5hbGlzL29wZW4vbm90aWZpY2F0aW9ucy92MS9ub3RpZmljYXRpb25zLnByb3RvEhphbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MSLiAQoVU2VuZEZjbU1lc3NhZ2VSZXF1ZXN0Eg4KBHVzZXIYASABKAlIABINCgV0aXRsZRgDIAEoCRIMCgRib2R5GAQgASgJEg0KBWltYWdlGAUgASgJEkkKBGRhdGEYBiADKAsyOy5hbGlzLm9wZW4ubm90aWZpY2F0aW9ucy52MS5TZW5kRmNtTWVzc2FnZVJlcXVlc3QuRGF0YUVudHJ5EgsKA3VyaRgHIAEoCRorCglEYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIICgZ0YXJnZXQiLQoWU2VuZEZjbU1lc3NhZ2VSZXNwb25zZRITCgttZXNzYWdlX2lkcxgBIAMoCSJiChtCYXRjaFNlbmRGY21NZXNzYWdlc1JlcXVlc3QSQwoIcmVxdWVzdHMYASADKAsyMS5hbGlzLm9wZW4ubm90aWZpY2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_policy]);
14
+
15
+ /**
16
+ * Describes the message alis.open.notifications.v1.SendFcmMessageRequest.
17
+ * Use `create(SendFcmMessageRequestSchema)` to create a new message.
18
+ */
19
+ export const SendFcmMessageRequestSchema = /*@__PURE__*/
20
+ messageDesc(file_alis_open_notifications_v1_notifications, 0);
21
+
22
+ /**
23
+ * Describes the message alis.open.notifications.v1.SendFcmMessageResponse.
24
+ * Use `create(SendFcmMessageResponseSchema)` to create a new message.
25
+ */
26
+ export const SendFcmMessageResponseSchema = /*@__PURE__*/
27
+ messageDesc(file_alis_open_notifications_v1_notifications, 1);
28
+
29
+ /**
30
+ * Describes the message alis.open.notifications.v1.BatchSendFcmMessagesRequest.
31
+ * Use `create(BatchSendFcmMessagesRequestSchema)` to create a new message.
32
+ */
33
+ export const BatchSendFcmMessagesRequestSchema = /*@__PURE__*/
34
+ messageDesc(file_alis_open_notifications_v1_notifications, 2);
35
+
36
+ /**
37
+ * Describes the message alis.open.notifications.v1.BatchSendFcmMessagesResponse.
38
+ * Use `create(BatchSendFcmMessagesResponseSchema)` to create a new message.
39
+ */
40
+ export const BatchSendFcmMessagesResponseSchema = /*@__PURE__*/
41
+ messageDesc(file_alis_open_notifications_v1_notifications, 3);
42
+
43
+ /**
44
+ * @generated from service alis.open.notifications.v1.NotificationsService
45
+ */
46
+ export const NotificationsService = /*@__PURE__*/
47
+ serviceDesc(file_alis_open_notifications_v1_notifications, 0);
48
+
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "dependencies": {
3
+ "@alis-build/alis-open-iam-v1": "*",
4
+ "@alis-build/alis-open-validation-v1": "*",
5
+ "@alis-build/google-iam-v1": "*",
6
+ "@bufbuild/protobuf": "^2.11.0",
7
+ "@connectrpc/connect": "^2.1.1",
8
+ "@connectrpc/connect-web": "^2.1.1"
9
+ },
10
+ "description": "Ecmascript and Connect-Web stubs generated by Alis Build",
11
+ "name": "@alis-build/alis-open-notifications-v1",
12
+ "version": "1.2.0"
13
+ }