@coralogix/rum-cli 1.1.21 → 1.1.22
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.
- package/README.md +8 -4
- package/api/rum-api.ts +1 -1
- package/cli/commands/delete-source-maps-command.ts +1 -1
- package/cli/commands/index.ts +5 -4
- package/cli/commands/update-source-maps-command.ts +1 -1
- package/cli/commands/upload-react-native-source-maps-command.ts +39 -0
- package/cli/commands/upload-source-maps-command.ts +1 -1
- package/cli/rum-cli.ts +8 -7
- package/dist/api/rum-api.js +2 -2
- package/dist/cli/commands/delete-source-maps-command.d.ts +1 -1
- package/dist/cli/commands/delete-source-maps-command.js +4 -4
- package/dist/cli/commands/index.d.ts +4 -3
- package/dist/cli/commands/index.js +3 -2
- package/dist/cli/commands/update-source-maps-command.d.ts +1 -1
- package/dist/cli/commands/update-source-maps-command.js +4 -4
- package/dist/cli/commands/upload-react-native-source-maps-command.d.ts +2 -0
- package/dist/cli/commands/upload-react-native-source-maps-command.js +47 -0
- package/dist/cli/commands/upload-source-maps-command.d.ts +1 -1
- package/dist/cli/commands/upload-source-maps-command.js +4 -4
- package/dist/cli/rum-cli.js +9 -7
- package/dist/proto-models/com/coralogix/rum/v2/analytics.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/analytics.js +115 -102
- package/dist/proto-models/com/coralogix/rum/v2/audit_log.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/audit_log.js +5 -3
- package/dist/proto-models/com/coralogix/rum/v2/chunk.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/chunk.js +54 -49
- package/dist/proto-models/com/coralogix/rum/v2/file.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/file.js +24 -34
- package/dist/proto-models/com/coralogix/rum/v2/rum_react_native_source_map_service.d.ts +69 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_react_native_source_map_service.js +189 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_saved_filters_service.d.ts +526 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_saved_filters_service.js +1560 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_service.d.ts +98 -3
- package/dist/proto-models/com/coralogix/rum/v2/rum_service.js +475 -127
- package/dist/proto-models/com/coralogix/rum/v2/rum_session_recording_service.d.ts +1 -59
- package/dist/proto-models/com/coralogix/rum/v2/rum_session_recording_service.js +4 -175
- package/dist/proto-models/com/coralogix/rum/v2/rum_snooze_errors_service.d.ts +261 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_snooze_errors_service.js +698 -0
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.js +65 -41
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.d.ts +55 -0
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.js +267 -0
- package/dist/proto-models/com/coralogix/rum/v2/snooze_errors.d.ts +109 -0
- package/dist/proto-models/com/coralogix/rum/v2/snooze_errors.js +580 -0
- package/dist/proto-models/com/coralogix/rum/v2/source_code_file_mapping.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/source_code_file_mapping.js +47 -24
- package/dist/proto-models/com/coralogix/rum/v2/source_map_release.d.ts +1 -1
- package/dist/proto-models/com/coralogix/rum/v2/source_map_release.js +43 -38
- package/dist/proto-models/com/coralogix/rum/v2/template.d.ts +14 -1
- package/dist/proto-models/com/coralogix/rum/v2/template.js +148 -54
- package/dist/proto-models/google/protobuf/descriptor.d.ts +1 -1
- package/dist/proto-models/google/protobuf/descriptor.js +537 -427
- package/dist/services/react-native-source-maps.service.d.ts +3 -0
- package/dist/services/react-native-source-maps.service.js +42 -0
- package/dist/services/source-maps.service.js +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +4 -4
- package/package.json +1 -1
- package/proto-models/com/coralogix/rum/v2/analytics.ts +113 -108
- package/proto-models/com/coralogix/rum/v2/audit_log.ts +6 -4
- package/proto-models/com/coralogix/rum/v2/chunk.ts +55 -56
- package/proto-models/com/coralogix/rum/v2/file.ts +25 -39
- package/proto-models/com/coralogix/rum/v2/rum_react_native_source_map_service.ts +223 -0
- package/proto-models/com/coralogix/rum/v2/rum_saved_filters_service.ts +1837 -0
- package/proto-models/com/coralogix/rum/v2/rum_service.ts +533 -146
- package/proto-models/com/coralogix/rum/v2/rum_session_recording_service.ts +1 -208
- package/proto-models/com/coralogix/rum/v2/rum_snooze_errors_service.ts +818 -0
- package/proto-models/com/coralogix/rum/v2/rum_source_map_service.ts +65 -46
- package/proto-models/com/coralogix/rum/v2/saved_filter.ts +301 -0
- package/proto-models/com/coralogix/rum/v2/snooze_errors.ts +656 -0
- package/proto-models/com/coralogix/rum/v2/source_code_file_mapping.ts +48 -27
- package/proto-models/com/coralogix/rum/v2/source_map_release.ts +44 -44
- package/proto-models/com/coralogix/rum/v2/template.ts +161 -59
- package/proto-models/google/protobuf/descriptor.ts +551 -464
- package/protofetch.lock +2 -2
- package/protofetch.toml +1 -1
- package/protos/com/coralogix/rum/v2/rum_react_native_source_map_service.proto +19 -0
- package/protos/com/coralogix/rum/v2/rum_saved_filters_service.proto +128 -0
- package/protos/com/coralogix/rum/v2/rum_service.proto +26 -0
- package/protos/com/coralogix/rum/v2/rum_session_recording_service.proto +1 -12
- package/protos/com/coralogix/rum/v2/rum_snooze_errors_service.proto +64 -0
- package/protos/com/coralogix/rum/v2/rum_source_map_service.proto +1 -1
- package/protos/com/coralogix/rum/v2/saved_filter.proto +28 -0
- package/protos/com/coralogix/rum/v2/snooze_errors.proto +55 -0
- package/protos/com/coralogix/rum/v2/template.proto +6 -0
- package/protoset.bin +0 -0
- package/services/react-native-source-maps.service.ts +40 -0
- package/services/source-maps.service.ts +2 -2
- package/utils/index.ts +3 -3
|
@@ -0,0 +1,818 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Categories, Category, Management, TimeCondition } from "./snooze_errors";
|
|
4
|
+
|
|
5
|
+
export const protobufPackage = "com.coralogix.rum.v2";
|
|
6
|
+
|
|
7
|
+
export interface CreateSnoozeErrorRequest {
|
|
8
|
+
snoozeType?: { $case: "templateId"; templateId: string } | { $case: "category"; category: Categories } | undefined;
|
|
9
|
+
snoozeCondition?: { $case: "timeCondition"; timeCondition: TimeCondition } | undefined;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface CreateSnoozeErrorResponse {
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface UpdateSnoozeErrorRequest {
|
|
17
|
+
snoozeType?: { $case: "templateId"; templateId: string } | { $case: "category"; category: Categories } | undefined;
|
|
18
|
+
snoozeCondition?: { $case: "timeCondition"; timeCondition: TimeCondition } | undefined;
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface UpdateSnoozeErrorResponse {
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface GetActiveSnoozeErrorRequest {
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface GetActiveSnoozeErrorResponse {
|
|
30
|
+
templateId: string[];
|
|
31
|
+
category: Category[];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface GetManagementSnoozeErrorDataRequest {
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface GetManagementSnoozeErrorDataResponse {
|
|
38
|
+
managements: Management[];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface DeleteSnoozeErrorRequest {
|
|
42
|
+
id: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface DeleteSnoozeErrorResponse {
|
|
46
|
+
id: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function createBaseCreateSnoozeErrorRequest(): CreateSnoozeErrorRequest {
|
|
50
|
+
return { snoozeType: undefined, snoozeCondition: undefined };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export const CreateSnoozeErrorRequest = {
|
|
54
|
+
encode(message: CreateSnoozeErrorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
55
|
+
switch (message.snoozeType?.$case) {
|
|
56
|
+
case "templateId":
|
|
57
|
+
writer.uint32(10).string(message.snoozeType.templateId);
|
|
58
|
+
break;
|
|
59
|
+
case "category":
|
|
60
|
+
Categories.encode(message.snoozeType.category, writer.uint32(18).fork()).ldelim();
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
switch (message.snoozeCondition?.$case) {
|
|
64
|
+
case "timeCondition":
|
|
65
|
+
TimeCondition.encode(message.snoozeCondition.timeCondition, writer.uint32(26).fork()).ldelim();
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
return writer;
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreateSnoozeErrorRequest {
|
|
72
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
73
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
74
|
+
const message = createBaseCreateSnoozeErrorRequest();
|
|
75
|
+
while (reader.pos < end) {
|
|
76
|
+
const tag = reader.uint32();
|
|
77
|
+
switch (tag >>> 3) {
|
|
78
|
+
case 1:
|
|
79
|
+
if (tag !== 10) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message.snoozeType = { $case: "templateId", templateId: reader.string() };
|
|
84
|
+
continue;
|
|
85
|
+
case 2:
|
|
86
|
+
if (tag !== 18) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
message.snoozeType = { $case: "category", category: Categories.decode(reader, reader.uint32()) };
|
|
91
|
+
continue;
|
|
92
|
+
case 3:
|
|
93
|
+
if (tag !== 26) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
message.snoozeCondition = {
|
|
98
|
+
$case: "timeCondition",
|
|
99
|
+
timeCondition: TimeCondition.decode(reader, reader.uint32()),
|
|
100
|
+
};
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
reader.skipType(tag & 7);
|
|
107
|
+
}
|
|
108
|
+
return message;
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
fromJSON(object: any): CreateSnoozeErrorRequest {
|
|
112
|
+
return {
|
|
113
|
+
snoozeType: isSet(object.templateId)
|
|
114
|
+
? { $case: "templateId", templateId: globalThis.String(object.templateId) }
|
|
115
|
+
: isSet(object.category)
|
|
116
|
+
? { $case: "category", category: Categories.fromJSON(object.category) }
|
|
117
|
+
: undefined,
|
|
118
|
+
snoozeCondition: isSet(object.timeCondition)
|
|
119
|
+
? { $case: "timeCondition", timeCondition: TimeCondition.fromJSON(object.timeCondition) }
|
|
120
|
+
: undefined,
|
|
121
|
+
};
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
toJSON(message: CreateSnoozeErrorRequest): unknown {
|
|
125
|
+
const obj: any = {};
|
|
126
|
+
if (message.snoozeType?.$case === "templateId") {
|
|
127
|
+
obj.templateId = message.snoozeType.templateId;
|
|
128
|
+
}
|
|
129
|
+
if (message.snoozeType?.$case === "category") {
|
|
130
|
+
obj.category = Categories.toJSON(message.snoozeType.category);
|
|
131
|
+
}
|
|
132
|
+
if (message.snoozeCondition?.$case === "timeCondition") {
|
|
133
|
+
obj.timeCondition = TimeCondition.toJSON(message.snoozeCondition.timeCondition);
|
|
134
|
+
}
|
|
135
|
+
return obj;
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
create(base?: DeepPartial<CreateSnoozeErrorRequest>): CreateSnoozeErrorRequest {
|
|
139
|
+
return CreateSnoozeErrorRequest.fromPartial(base ?? {});
|
|
140
|
+
},
|
|
141
|
+
fromPartial(object: DeepPartial<CreateSnoozeErrorRequest>): CreateSnoozeErrorRequest {
|
|
142
|
+
const message = createBaseCreateSnoozeErrorRequest();
|
|
143
|
+
if (
|
|
144
|
+
object.snoozeType?.$case === "templateId" &&
|
|
145
|
+
object.snoozeType?.templateId !== undefined &&
|
|
146
|
+
object.snoozeType?.templateId !== null
|
|
147
|
+
) {
|
|
148
|
+
message.snoozeType = { $case: "templateId", templateId: object.snoozeType.templateId };
|
|
149
|
+
}
|
|
150
|
+
if (
|
|
151
|
+
object.snoozeType?.$case === "category" &&
|
|
152
|
+
object.snoozeType?.category !== undefined &&
|
|
153
|
+
object.snoozeType?.category !== null
|
|
154
|
+
) {
|
|
155
|
+
message.snoozeType = { $case: "category", category: Categories.fromPartial(object.snoozeType.category) };
|
|
156
|
+
}
|
|
157
|
+
if (
|
|
158
|
+
object.snoozeCondition?.$case === "timeCondition" &&
|
|
159
|
+
object.snoozeCondition?.timeCondition !== undefined &&
|
|
160
|
+
object.snoozeCondition?.timeCondition !== null
|
|
161
|
+
) {
|
|
162
|
+
message.snoozeCondition = {
|
|
163
|
+
$case: "timeCondition",
|
|
164
|
+
timeCondition: TimeCondition.fromPartial(object.snoozeCondition.timeCondition),
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
return message;
|
|
168
|
+
},
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
function createBaseCreateSnoozeErrorResponse(): CreateSnoozeErrorResponse {
|
|
172
|
+
return { id: "" };
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export const CreateSnoozeErrorResponse = {
|
|
176
|
+
encode(message: CreateSnoozeErrorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
177
|
+
if (message.id !== "") {
|
|
178
|
+
writer.uint32(10).string(message.id);
|
|
179
|
+
}
|
|
180
|
+
return writer;
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CreateSnoozeErrorResponse {
|
|
184
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
185
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
186
|
+
const message = createBaseCreateSnoozeErrorResponse();
|
|
187
|
+
while (reader.pos < end) {
|
|
188
|
+
const tag = reader.uint32();
|
|
189
|
+
switch (tag >>> 3) {
|
|
190
|
+
case 1:
|
|
191
|
+
if (tag !== 10) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
message.id = reader.string();
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
reader.skipType(tag & 7);
|
|
202
|
+
}
|
|
203
|
+
return message;
|
|
204
|
+
},
|
|
205
|
+
|
|
206
|
+
fromJSON(object: any): CreateSnoozeErrorResponse {
|
|
207
|
+
return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
|
|
208
|
+
},
|
|
209
|
+
|
|
210
|
+
toJSON(message: CreateSnoozeErrorResponse): unknown {
|
|
211
|
+
const obj: any = {};
|
|
212
|
+
if (message.id !== "") {
|
|
213
|
+
obj.id = message.id;
|
|
214
|
+
}
|
|
215
|
+
return obj;
|
|
216
|
+
},
|
|
217
|
+
|
|
218
|
+
create(base?: DeepPartial<CreateSnoozeErrorResponse>): CreateSnoozeErrorResponse {
|
|
219
|
+
return CreateSnoozeErrorResponse.fromPartial(base ?? {});
|
|
220
|
+
},
|
|
221
|
+
fromPartial(object: DeepPartial<CreateSnoozeErrorResponse>): CreateSnoozeErrorResponse {
|
|
222
|
+
const message = createBaseCreateSnoozeErrorResponse();
|
|
223
|
+
message.id = object.id ?? "";
|
|
224
|
+
return message;
|
|
225
|
+
},
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
function createBaseUpdateSnoozeErrorRequest(): UpdateSnoozeErrorRequest {
|
|
229
|
+
return { snoozeType: undefined, snoozeCondition: undefined, id: "" };
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export const UpdateSnoozeErrorRequest = {
|
|
233
|
+
encode(message: UpdateSnoozeErrorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
234
|
+
switch (message.snoozeType?.$case) {
|
|
235
|
+
case "templateId":
|
|
236
|
+
writer.uint32(10).string(message.snoozeType.templateId);
|
|
237
|
+
break;
|
|
238
|
+
case "category":
|
|
239
|
+
Categories.encode(message.snoozeType.category, writer.uint32(18).fork()).ldelim();
|
|
240
|
+
break;
|
|
241
|
+
}
|
|
242
|
+
switch (message.snoozeCondition?.$case) {
|
|
243
|
+
case "timeCondition":
|
|
244
|
+
TimeCondition.encode(message.snoozeCondition.timeCondition, writer.uint32(26).fork()).ldelim();
|
|
245
|
+
break;
|
|
246
|
+
}
|
|
247
|
+
if (message.id !== "") {
|
|
248
|
+
writer.uint32(34).string(message.id);
|
|
249
|
+
}
|
|
250
|
+
return writer;
|
|
251
|
+
},
|
|
252
|
+
|
|
253
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateSnoozeErrorRequest {
|
|
254
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
255
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
256
|
+
const message = createBaseUpdateSnoozeErrorRequest();
|
|
257
|
+
while (reader.pos < end) {
|
|
258
|
+
const tag = reader.uint32();
|
|
259
|
+
switch (tag >>> 3) {
|
|
260
|
+
case 1:
|
|
261
|
+
if (tag !== 10) {
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
message.snoozeType = { $case: "templateId", templateId: reader.string() };
|
|
266
|
+
continue;
|
|
267
|
+
case 2:
|
|
268
|
+
if (tag !== 18) {
|
|
269
|
+
break;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
message.snoozeType = { $case: "category", category: Categories.decode(reader, reader.uint32()) };
|
|
273
|
+
continue;
|
|
274
|
+
case 3:
|
|
275
|
+
if (tag !== 26) {
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
message.snoozeCondition = {
|
|
280
|
+
$case: "timeCondition",
|
|
281
|
+
timeCondition: TimeCondition.decode(reader, reader.uint32()),
|
|
282
|
+
};
|
|
283
|
+
continue;
|
|
284
|
+
case 4:
|
|
285
|
+
if (tag !== 34) {
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
message.id = reader.string();
|
|
290
|
+
continue;
|
|
291
|
+
}
|
|
292
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
293
|
+
break;
|
|
294
|
+
}
|
|
295
|
+
reader.skipType(tag & 7);
|
|
296
|
+
}
|
|
297
|
+
return message;
|
|
298
|
+
},
|
|
299
|
+
|
|
300
|
+
fromJSON(object: any): UpdateSnoozeErrorRequest {
|
|
301
|
+
return {
|
|
302
|
+
snoozeType: isSet(object.templateId)
|
|
303
|
+
? { $case: "templateId", templateId: globalThis.String(object.templateId) }
|
|
304
|
+
: isSet(object.category)
|
|
305
|
+
? { $case: "category", category: Categories.fromJSON(object.category) }
|
|
306
|
+
: undefined,
|
|
307
|
+
snoozeCondition: isSet(object.timeCondition)
|
|
308
|
+
? { $case: "timeCondition", timeCondition: TimeCondition.fromJSON(object.timeCondition) }
|
|
309
|
+
: undefined,
|
|
310
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
311
|
+
};
|
|
312
|
+
},
|
|
313
|
+
|
|
314
|
+
toJSON(message: UpdateSnoozeErrorRequest): unknown {
|
|
315
|
+
const obj: any = {};
|
|
316
|
+
if (message.snoozeType?.$case === "templateId") {
|
|
317
|
+
obj.templateId = message.snoozeType.templateId;
|
|
318
|
+
}
|
|
319
|
+
if (message.snoozeType?.$case === "category") {
|
|
320
|
+
obj.category = Categories.toJSON(message.snoozeType.category);
|
|
321
|
+
}
|
|
322
|
+
if (message.snoozeCondition?.$case === "timeCondition") {
|
|
323
|
+
obj.timeCondition = TimeCondition.toJSON(message.snoozeCondition.timeCondition);
|
|
324
|
+
}
|
|
325
|
+
if (message.id !== "") {
|
|
326
|
+
obj.id = message.id;
|
|
327
|
+
}
|
|
328
|
+
return obj;
|
|
329
|
+
},
|
|
330
|
+
|
|
331
|
+
create(base?: DeepPartial<UpdateSnoozeErrorRequest>): UpdateSnoozeErrorRequest {
|
|
332
|
+
return UpdateSnoozeErrorRequest.fromPartial(base ?? {});
|
|
333
|
+
},
|
|
334
|
+
fromPartial(object: DeepPartial<UpdateSnoozeErrorRequest>): UpdateSnoozeErrorRequest {
|
|
335
|
+
const message = createBaseUpdateSnoozeErrorRequest();
|
|
336
|
+
if (
|
|
337
|
+
object.snoozeType?.$case === "templateId" &&
|
|
338
|
+
object.snoozeType?.templateId !== undefined &&
|
|
339
|
+
object.snoozeType?.templateId !== null
|
|
340
|
+
) {
|
|
341
|
+
message.snoozeType = { $case: "templateId", templateId: object.snoozeType.templateId };
|
|
342
|
+
}
|
|
343
|
+
if (
|
|
344
|
+
object.snoozeType?.$case === "category" &&
|
|
345
|
+
object.snoozeType?.category !== undefined &&
|
|
346
|
+
object.snoozeType?.category !== null
|
|
347
|
+
) {
|
|
348
|
+
message.snoozeType = { $case: "category", category: Categories.fromPartial(object.snoozeType.category) };
|
|
349
|
+
}
|
|
350
|
+
if (
|
|
351
|
+
object.snoozeCondition?.$case === "timeCondition" &&
|
|
352
|
+
object.snoozeCondition?.timeCondition !== undefined &&
|
|
353
|
+
object.snoozeCondition?.timeCondition !== null
|
|
354
|
+
) {
|
|
355
|
+
message.snoozeCondition = {
|
|
356
|
+
$case: "timeCondition",
|
|
357
|
+
timeCondition: TimeCondition.fromPartial(object.snoozeCondition.timeCondition),
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
message.id = object.id ?? "";
|
|
361
|
+
return message;
|
|
362
|
+
},
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
function createBaseUpdateSnoozeErrorResponse(): UpdateSnoozeErrorResponse {
|
|
366
|
+
return { id: "" };
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export const UpdateSnoozeErrorResponse = {
|
|
370
|
+
encode(message: UpdateSnoozeErrorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
371
|
+
if (message.id !== "") {
|
|
372
|
+
writer.uint32(10).string(message.id);
|
|
373
|
+
}
|
|
374
|
+
return writer;
|
|
375
|
+
},
|
|
376
|
+
|
|
377
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateSnoozeErrorResponse {
|
|
378
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
379
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
380
|
+
const message = createBaseUpdateSnoozeErrorResponse();
|
|
381
|
+
while (reader.pos < end) {
|
|
382
|
+
const tag = reader.uint32();
|
|
383
|
+
switch (tag >>> 3) {
|
|
384
|
+
case 1:
|
|
385
|
+
if (tag !== 10) {
|
|
386
|
+
break;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
message.id = reader.string();
|
|
390
|
+
continue;
|
|
391
|
+
}
|
|
392
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
395
|
+
reader.skipType(tag & 7);
|
|
396
|
+
}
|
|
397
|
+
return message;
|
|
398
|
+
},
|
|
399
|
+
|
|
400
|
+
fromJSON(object: any): UpdateSnoozeErrorResponse {
|
|
401
|
+
return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
|
|
402
|
+
},
|
|
403
|
+
|
|
404
|
+
toJSON(message: UpdateSnoozeErrorResponse): unknown {
|
|
405
|
+
const obj: any = {};
|
|
406
|
+
if (message.id !== "") {
|
|
407
|
+
obj.id = message.id;
|
|
408
|
+
}
|
|
409
|
+
return obj;
|
|
410
|
+
},
|
|
411
|
+
|
|
412
|
+
create(base?: DeepPartial<UpdateSnoozeErrorResponse>): UpdateSnoozeErrorResponse {
|
|
413
|
+
return UpdateSnoozeErrorResponse.fromPartial(base ?? {});
|
|
414
|
+
},
|
|
415
|
+
fromPartial(object: DeepPartial<UpdateSnoozeErrorResponse>): UpdateSnoozeErrorResponse {
|
|
416
|
+
const message = createBaseUpdateSnoozeErrorResponse();
|
|
417
|
+
message.id = object.id ?? "";
|
|
418
|
+
return message;
|
|
419
|
+
},
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
function createBaseGetActiveSnoozeErrorRequest(): GetActiveSnoozeErrorRequest {
|
|
423
|
+
return {};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export const GetActiveSnoozeErrorRequest = {
|
|
427
|
+
encode(_: GetActiveSnoozeErrorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
428
|
+
return writer;
|
|
429
|
+
},
|
|
430
|
+
|
|
431
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetActiveSnoozeErrorRequest {
|
|
432
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
433
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
434
|
+
const message = createBaseGetActiveSnoozeErrorRequest();
|
|
435
|
+
while (reader.pos < end) {
|
|
436
|
+
const tag = reader.uint32();
|
|
437
|
+
switch (tag >>> 3) {
|
|
438
|
+
}
|
|
439
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
reader.skipType(tag & 7);
|
|
443
|
+
}
|
|
444
|
+
return message;
|
|
445
|
+
},
|
|
446
|
+
|
|
447
|
+
fromJSON(_: any): GetActiveSnoozeErrorRequest {
|
|
448
|
+
return {};
|
|
449
|
+
},
|
|
450
|
+
|
|
451
|
+
toJSON(_: GetActiveSnoozeErrorRequest): unknown {
|
|
452
|
+
const obj: any = {};
|
|
453
|
+
return obj;
|
|
454
|
+
},
|
|
455
|
+
|
|
456
|
+
create(base?: DeepPartial<GetActiveSnoozeErrorRequest>): GetActiveSnoozeErrorRequest {
|
|
457
|
+
return GetActiveSnoozeErrorRequest.fromPartial(base ?? {});
|
|
458
|
+
},
|
|
459
|
+
fromPartial(_: DeepPartial<GetActiveSnoozeErrorRequest>): GetActiveSnoozeErrorRequest {
|
|
460
|
+
const message = createBaseGetActiveSnoozeErrorRequest();
|
|
461
|
+
return message;
|
|
462
|
+
},
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
function createBaseGetActiveSnoozeErrorResponse(): GetActiveSnoozeErrorResponse {
|
|
466
|
+
return { templateId: [], category: [] };
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export const GetActiveSnoozeErrorResponse = {
|
|
470
|
+
encode(message: GetActiveSnoozeErrorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
471
|
+
for (const v of message.templateId) {
|
|
472
|
+
writer.uint32(10).string(v!);
|
|
473
|
+
}
|
|
474
|
+
for (const v of message.category) {
|
|
475
|
+
Category.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
476
|
+
}
|
|
477
|
+
return writer;
|
|
478
|
+
},
|
|
479
|
+
|
|
480
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetActiveSnoozeErrorResponse {
|
|
481
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
482
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
483
|
+
const message = createBaseGetActiveSnoozeErrorResponse();
|
|
484
|
+
while (reader.pos < end) {
|
|
485
|
+
const tag = reader.uint32();
|
|
486
|
+
switch (tag >>> 3) {
|
|
487
|
+
case 1:
|
|
488
|
+
if (tag !== 10) {
|
|
489
|
+
break;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
message.templateId.push(reader.string());
|
|
493
|
+
continue;
|
|
494
|
+
case 2:
|
|
495
|
+
if (tag !== 18) {
|
|
496
|
+
break;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
message.category.push(Category.decode(reader, reader.uint32()));
|
|
500
|
+
continue;
|
|
501
|
+
}
|
|
502
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
503
|
+
break;
|
|
504
|
+
}
|
|
505
|
+
reader.skipType(tag & 7);
|
|
506
|
+
}
|
|
507
|
+
return message;
|
|
508
|
+
},
|
|
509
|
+
|
|
510
|
+
fromJSON(object: any): GetActiveSnoozeErrorResponse {
|
|
511
|
+
return {
|
|
512
|
+
templateId: globalThis.Array.isArray(object?.templateId)
|
|
513
|
+
? object.templateId.map((e: any) => globalThis.String(e))
|
|
514
|
+
: [],
|
|
515
|
+
category: globalThis.Array.isArray(object?.category) ? object.category.map((e: any) => Category.fromJSON(e)) : [],
|
|
516
|
+
};
|
|
517
|
+
},
|
|
518
|
+
|
|
519
|
+
toJSON(message: GetActiveSnoozeErrorResponse): unknown {
|
|
520
|
+
const obj: any = {};
|
|
521
|
+
if (message.templateId?.length) {
|
|
522
|
+
obj.templateId = message.templateId;
|
|
523
|
+
}
|
|
524
|
+
if (message.category?.length) {
|
|
525
|
+
obj.category = message.category.map((e) => Category.toJSON(e));
|
|
526
|
+
}
|
|
527
|
+
return obj;
|
|
528
|
+
},
|
|
529
|
+
|
|
530
|
+
create(base?: DeepPartial<GetActiveSnoozeErrorResponse>): GetActiveSnoozeErrorResponse {
|
|
531
|
+
return GetActiveSnoozeErrorResponse.fromPartial(base ?? {});
|
|
532
|
+
},
|
|
533
|
+
fromPartial(object: DeepPartial<GetActiveSnoozeErrorResponse>): GetActiveSnoozeErrorResponse {
|
|
534
|
+
const message = createBaseGetActiveSnoozeErrorResponse();
|
|
535
|
+
message.templateId = object.templateId?.map((e) => e) || [];
|
|
536
|
+
message.category = object.category?.map((e) => Category.fromPartial(e)) || [];
|
|
537
|
+
return message;
|
|
538
|
+
},
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
function createBaseGetManagementSnoozeErrorDataRequest(): GetManagementSnoozeErrorDataRequest {
|
|
542
|
+
return {};
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export const GetManagementSnoozeErrorDataRequest = {
|
|
546
|
+
encode(_: GetManagementSnoozeErrorDataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
547
|
+
return writer;
|
|
548
|
+
},
|
|
549
|
+
|
|
550
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetManagementSnoozeErrorDataRequest {
|
|
551
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
552
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
553
|
+
const message = createBaseGetManagementSnoozeErrorDataRequest();
|
|
554
|
+
while (reader.pos < end) {
|
|
555
|
+
const tag = reader.uint32();
|
|
556
|
+
switch (tag >>> 3) {
|
|
557
|
+
}
|
|
558
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
559
|
+
break;
|
|
560
|
+
}
|
|
561
|
+
reader.skipType(tag & 7);
|
|
562
|
+
}
|
|
563
|
+
return message;
|
|
564
|
+
},
|
|
565
|
+
|
|
566
|
+
fromJSON(_: any): GetManagementSnoozeErrorDataRequest {
|
|
567
|
+
return {};
|
|
568
|
+
},
|
|
569
|
+
|
|
570
|
+
toJSON(_: GetManagementSnoozeErrorDataRequest): unknown {
|
|
571
|
+
const obj: any = {};
|
|
572
|
+
return obj;
|
|
573
|
+
},
|
|
574
|
+
|
|
575
|
+
create(base?: DeepPartial<GetManagementSnoozeErrorDataRequest>): GetManagementSnoozeErrorDataRequest {
|
|
576
|
+
return GetManagementSnoozeErrorDataRequest.fromPartial(base ?? {});
|
|
577
|
+
},
|
|
578
|
+
fromPartial(_: DeepPartial<GetManagementSnoozeErrorDataRequest>): GetManagementSnoozeErrorDataRequest {
|
|
579
|
+
const message = createBaseGetManagementSnoozeErrorDataRequest();
|
|
580
|
+
return message;
|
|
581
|
+
},
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
function createBaseGetManagementSnoozeErrorDataResponse(): GetManagementSnoozeErrorDataResponse {
|
|
585
|
+
return { managements: [] };
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export const GetManagementSnoozeErrorDataResponse = {
|
|
589
|
+
encode(message: GetManagementSnoozeErrorDataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
590
|
+
for (const v of message.managements) {
|
|
591
|
+
Management.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
592
|
+
}
|
|
593
|
+
return writer;
|
|
594
|
+
},
|
|
595
|
+
|
|
596
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetManagementSnoozeErrorDataResponse {
|
|
597
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
598
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
599
|
+
const message = createBaseGetManagementSnoozeErrorDataResponse();
|
|
600
|
+
while (reader.pos < end) {
|
|
601
|
+
const tag = reader.uint32();
|
|
602
|
+
switch (tag >>> 3) {
|
|
603
|
+
case 1:
|
|
604
|
+
if (tag !== 10) {
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
message.managements.push(Management.decode(reader, reader.uint32()));
|
|
609
|
+
continue;
|
|
610
|
+
}
|
|
611
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
612
|
+
break;
|
|
613
|
+
}
|
|
614
|
+
reader.skipType(tag & 7);
|
|
615
|
+
}
|
|
616
|
+
return message;
|
|
617
|
+
},
|
|
618
|
+
|
|
619
|
+
fromJSON(object: any): GetManagementSnoozeErrorDataResponse {
|
|
620
|
+
return {
|
|
621
|
+
managements: globalThis.Array.isArray(object?.managements)
|
|
622
|
+
? object.managements.map((e: any) => Management.fromJSON(e))
|
|
623
|
+
: [],
|
|
624
|
+
};
|
|
625
|
+
},
|
|
626
|
+
|
|
627
|
+
toJSON(message: GetManagementSnoozeErrorDataResponse): unknown {
|
|
628
|
+
const obj: any = {};
|
|
629
|
+
if (message.managements?.length) {
|
|
630
|
+
obj.managements = message.managements.map((e) => Management.toJSON(e));
|
|
631
|
+
}
|
|
632
|
+
return obj;
|
|
633
|
+
},
|
|
634
|
+
|
|
635
|
+
create(base?: DeepPartial<GetManagementSnoozeErrorDataResponse>): GetManagementSnoozeErrorDataResponse {
|
|
636
|
+
return GetManagementSnoozeErrorDataResponse.fromPartial(base ?? {});
|
|
637
|
+
},
|
|
638
|
+
fromPartial(object: DeepPartial<GetManagementSnoozeErrorDataResponse>): GetManagementSnoozeErrorDataResponse {
|
|
639
|
+
const message = createBaseGetManagementSnoozeErrorDataResponse();
|
|
640
|
+
message.managements = object.managements?.map((e) => Management.fromPartial(e)) || [];
|
|
641
|
+
return message;
|
|
642
|
+
},
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
function createBaseDeleteSnoozeErrorRequest(): DeleteSnoozeErrorRequest {
|
|
646
|
+
return { id: "" };
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export const DeleteSnoozeErrorRequest = {
|
|
650
|
+
encode(message: DeleteSnoozeErrorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
651
|
+
if (message.id !== "") {
|
|
652
|
+
writer.uint32(10).string(message.id);
|
|
653
|
+
}
|
|
654
|
+
return writer;
|
|
655
|
+
},
|
|
656
|
+
|
|
657
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteSnoozeErrorRequest {
|
|
658
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
659
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
660
|
+
const message = createBaseDeleteSnoozeErrorRequest();
|
|
661
|
+
while (reader.pos < end) {
|
|
662
|
+
const tag = reader.uint32();
|
|
663
|
+
switch (tag >>> 3) {
|
|
664
|
+
case 1:
|
|
665
|
+
if (tag !== 10) {
|
|
666
|
+
break;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
message.id = reader.string();
|
|
670
|
+
continue;
|
|
671
|
+
}
|
|
672
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
673
|
+
break;
|
|
674
|
+
}
|
|
675
|
+
reader.skipType(tag & 7);
|
|
676
|
+
}
|
|
677
|
+
return message;
|
|
678
|
+
},
|
|
679
|
+
|
|
680
|
+
fromJSON(object: any): DeleteSnoozeErrorRequest {
|
|
681
|
+
return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
|
|
682
|
+
},
|
|
683
|
+
|
|
684
|
+
toJSON(message: DeleteSnoozeErrorRequest): unknown {
|
|
685
|
+
const obj: any = {};
|
|
686
|
+
if (message.id !== "") {
|
|
687
|
+
obj.id = message.id;
|
|
688
|
+
}
|
|
689
|
+
return obj;
|
|
690
|
+
},
|
|
691
|
+
|
|
692
|
+
create(base?: DeepPartial<DeleteSnoozeErrorRequest>): DeleteSnoozeErrorRequest {
|
|
693
|
+
return DeleteSnoozeErrorRequest.fromPartial(base ?? {});
|
|
694
|
+
},
|
|
695
|
+
fromPartial(object: DeepPartial<DeleteSnoozeErrorRequest>): DeleteSnoozeErrorRequest {
|
|
696
|
+
const message = createBaseDeleteSnoozeErrorRequest();
|
|
697
|
+
message.id = object.id ?? "";
|
|
698
|
+
return message;
|
|
699
|
+
},
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
function createBaseDeleteSnoozeErrorResponse(): DeleteSnoozeErrorResponse {
|
|
703
|
+
return { id: "" };
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export const DeleteSnoozeErrorResponse = {
|
|
707
|
+
encode(message: DeleteSnoozeErrorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
708
|
+
if (message.id !== "") {
|
|
709
|
+
writer.uint32(10).string(message.id);
|
|
710
|
+
}
|
|
711
|
+
return writer;
|
|
712
|
+
},
|
|
713
|
+
|
|
714
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteSnoozeErrorResponse {
|
|
715
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
716
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
717
|
+
const message = createBaseDeleteSnoozeErrorResponse();
|
|
718
|
+
while (reader.pos < end) {
|
|
719
|
+
const tag = reader.uint32();
|
|
720
|
+
switch (tag >>> 3) {
|
|
721
|
+
case 1:
|
|
722
|
+
if (tag !== 10) {
|
|
723
|
+
break;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
message.id = reader.string();
|
|
727
|
+
continue;
|
|
728
|
+
}
|
|
729
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
730
|
+
break;
|
|
731
|
+
}
|
|
732
|
+
reader.skipType(tag & 7);
|
|
733
|
+
}
|
|
734
|
+
return message;
|
|
735
|
+
},
|
|
736
|
+
|
|
737
|
+
fromJSON(object: any): DeleteSnoozeErrorResponse {
|
|
738
|
+
return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
|
|
739
|
+
},
|
|
740
|
+
|
|
741
|
+
toJSON(message: DeleteSnoozeErrorResponse): unknown {
|
|
742
|
+
const obj: any = {};
|
|
743
|
+
if (message.id !== "") {
|
|
744
|
+
obj.id = message.id;
|
|
745
|
+
}
|
|
746
|
+
return obj;
|
|
747
|
+
},
|
|
748
|
+
|
|
749
|
+
create(base?: DeepPartial<DeleteSnoozeErrorResponse>): DeleteSnoozeErrorResponse {
|
|
750
|
+
return DeleteSnoozeErrorResponse.fromPartial(base ?? {});
|
|
751
|
+
},
|
|
752
|
+
fromPartial(object: DeepPartial<DeleteSnoozeErrorResponse>): DeleteSnoozeErrorResponse {
|
|
753
|
+
const message = createBaseDeleteSnoozeErrorResponse();
|
|
754
|
+
message.id = object.id ?? "";
|
|
755
|
+
return message;
|
|
756
|
+
},
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
export type RumSnoozeErrorServiceDefinition = typeof RumSnoozeErrorServiceDefinition;
|
|
760
|
+
export const RumSnoozeErrorServiceDefinition = {
|
|
761
|
+
name: "RumSnoozeErrorService",
|
|
762
|
+
fullName: "com.coralogix.rum.v2.RumSnoozeErrorService",
|
|
763
|
+
methods: {
|
|
764
|
+
createSnoozeError: {
|
|
765
|
+
name: "CreateSnoozeError",
|
|
766
|
+
requestType: CreateSnoozeErrorRequest,
|
|
767
|
+
requestStream: false,
|
|
768
|
+
responseType: CreateSnoozeErrorResponse,
|
|
769
|
+
responseStream: false,
|
|
770
|
+
options: {},
|
|
771
|
+
},
|
|
772
|
+
updateSnoozeError: {
|
|
773
|
+
name: "UpdateSnoozeError",
|
|
774
|
+
requestType: UpdateSnoozeErrorRequest,
|
|
775
|
+
requestStream: false,
|
|
776
|
+
responseType: UpdateSnoozeErrorResponse,
|
|
777
|
+
responseStream: false,
|
|
778
|
+
options: {},
|
|
779
|
+
},
|
|
780
|
+
deleteSnoozeError: {
|
|
781
|
+
name: "DeleteSnoozeError",
|
|
782
|
+
requestType: DeleteSnoozeErrorRequest,
|
|
783
|
+
requestStream: false,
|
|
784
|
+
responseType: DeleteSnoozeErrorResponse,
|
|
785
|
+
responseStream: false,
|
|
786
|
+
options: {},
|
|
787
|
+
},
|
|
788
|
+
getActiveSnoozeError: {
|
|
789
|
+
name: "GetActiveSnoozeError",
|
|
790
|
+
requestType: GetActiveSnoozeErrorRequest,
|
|
791
|
+
requestStream: false,
|
|
792
|
+
responseType: GetActiveSnoozeErrorResponse,
|
|
793
|
+
responseStream: false,
|
|
794
|
+
options: {},
|
|
795
|
+
},
|
|
796
|
+
getManagementSnoozeErrorData: {
|
|
797
|
+
name: "GetManagementSnoozeErrorData",
|
|
798
|
+
requestType: GetManagementSnoozeErrorDataRequest,
|
|
799
|
+
requestStream: false,
|
|
800
|
+
responseType: GetManagementSnoozeErrorDataResponse,
|
|
801
|
+
responseStream: false,
|
|
802
|
+
options: {},
|
|
803
|
+
},
|
|
804
|
+
},
|
|
805
|
+
} as const;
|
|
806
|
+
|
|
807
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
808
|
+
|
|
809
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
810
|
+
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
811
|
+
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
812
|
+
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
813
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
814
|
+
: Partial<T>;
|
|
815
|
+
|
|
816
|
+
function isSet(value: any): boolean {
|
|
817
|
+
return value !== null && value !== undefined;
|
|
818
|
+
}
|