@coralogix/rum-cli 1.1.41 → 1.1.43
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 +1 -0
- package/api/base/base.api.ts +29 -34
- package/api/dsym/dsym.api.ts +8 -0
- package/api/proguard/proguard.api.ts +8 -0
- package/api/react-native/react-native.api.ts +8 -0
- package/api/source-maps/source-maps.api.ts +4 -74
- package/cli/commands/dsym/upload-dsym-command.ts +4 -2
- package/cli/commands/proguard/upload-proguard-command.ts +4 -2
- package/cli/commands/react-native/upload-react-native-source-maps-command.ts +4 -2
- package/cli/commands/source-maps/upload-source-maps-command.ts +3 -2
- package/dist/api/base/base.api.d.ts +4 -5
- package/dist/api/base/base.api.js +16 -25
- package/dist/api/dsym/dsym.api.d.ts +2 -2
- package/dist/api/dsym/dsym.api.js +7 -3
- package/dist/api/proguard/proguard.api.d.ts +2 -2
- package/dist/api/proguard/proguard.api.js +7 -3
- package/dist/api/react-native/react-native.api.d.ts +2 -2
- package/dist/api/react-native/react-native.api.js +7 -3
- package/dist/api/source-maps/source-maps.api.d.ts +2 -5
- package/dist/api/source-maps/source-maps.api.js +5 -55
- package/dist/cli/commands/dsym/upload-dsym-command.js +5 -3
- package/dist/cli/commands/proguard/upload-proguard-command.js +5 -3
- package/dist/cli/commands/react-native/upload-react-native-source-maps-command.js +5 -3
- package/dist/cli/commands/source-maps/upload-source-maps-command.js +4 -3
- package/dist/grpc-client/grpc-client-factory.d.ts +86 -0
- package/dist/models/dsym-commands.model.d.ts +2 -0
- package/dist/models/dsym-commands.model.js +1 -1
- package/dist/models/proguard-commands.model.d.ts +2 -0
- package/dist/models/proguard-commands.model.js +1 -1
- package/dist/models/react-native-commands.model.d.ts +2 -0
- package/dist/models/react-native-commands.model.js +1 -1
- package/dist/models/source-maps-commands.model.d.ts +1 -0
- package/dist/models/source-maps-commands.model.js +1 -1
- package/dist/proto-models/com/coralogix/blobset/v2/entity_metadata.d.ts +16 -0
- package/dist/proto-models/com/coralogix/blobset/v2/entity_metadata.js +162 -6
- package/dist/proto-models/com/coralogix/rum/v2/ai_assist.d.ts +89 -0
- package/dist/proto-models/com/coralogix/rum/v2/ai_assist.js +290 -0
- package/dist/proto-models/com/coralogix/rum/v2/release_entity_metadata.d.ts +15 -0
- package/dist/proto-models/com/coralogix/rum/v2/release_entity_metadata.js +133 -2
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.d.ts +48 -1
- package/dist/proto-models/com/coralogix/rum/v2/rum_source_map_service.js +160 -2
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.d.ts +2 -1
- package/dist/proto-models/com/coralogix/rum/v2/saved_filter.js +7 -1
- package/dist/proto-models/google/protobuf/struct.d.ts +127 -0
- package/dist/proto-models/google/protobuf/struct.js +476 -0
- package/dist/services/base/base.service.d.ts +1 -1
- package/dist/services/base/base.service.js +7 -5
- package/dist/services/source-maps/source-maps.service.d.ts +0 -1
- package/dist/services/source-maps/source-maps.service.js +1 -23
- package/dist/utils/upload-mode.utils.d.ts +12 -0
- package/dist/utils/upload-mode.utils.js +26 -0
- package/dist/utils/version-context.utils.d.ts +20 -0
- package/dist/utils/version-context.utils.js +71 -0
- package/models/dsym-commands.model.ts +2 -0
- package/models/proguard-commands.model.ts +2 -0
- package/models/react-native-commands.model.ts +2 -0
- package/models/source-maps-commands.model.ts +1 -0
- package/package.json +2 -2
- package/protofetch.lock +4 -4
- package/protofetch.toml +2 -2
- package/services/base/base.service.ts +7 -3
- package/services/source-maps/source-maps.service.ts +0 -26
- package/utils/upload-mode.utils.ts +30 -0
- package/utils/version-context.utils.ts +95 -0
- package/proto-models/com/coralogix/blobset/v2/audit_log.ts +0 -84
- package/proto-models/com/coralogix/blobset/v2/blobset_query_service.ts +0 -64
- package/proto-models/com/coralogix/blobset/v2/blobset_service.ts +0 -209
- package/proto-models/com/coralogix/blobset/v2/case_file.ts +0 -188
- package/proto-models/com/coralogix/blobset/v2/dsym.ts +0 -434
- package/proto-models/com/coralogix/blobset/v2/entity_metadata.ts +0 -782
- package/proto-models/com/coralogix/blobset/v2/entity_type.ts +0 -68
- package/proto-models/com/coralogix/blobset/v2/investigation_file.ts +0 -188
- package/proto-models/com/coralogix/blobset/v2/proguard.ts +0 -466
- package/proto-models/com/coralogix/blobset/v2/s3_metadata.ts +0 -154
- package/proto-models/com/coralogix/blobset/v2/source_map.ts +0 -418
- package/proto-models/com/coralogix/rum/v2/analytics.ts +0 -924
- package/proto-models/com/coralogix/rum/v2/application_releases.ts +0 -213
- package/proto-models/com/coralogix/rum/v2/audit_log.ts +0 -84
- package/proto-models/com/coralogix/rum/v2/chunk.ts +0 -399
- package/proto-models/com/coralogix/rum/v2/file.ts +0 -159
- package/proto-models/com/coralogix/rum/v2/hide_errors.ts +0 -234
- package/proto-models/com/coralogix/rum/v2/merge_error.ts +0 -201
- package/proto-models/com/coralogix/rum/v2/release_entity_metadata.ts +0 -791
- package/proto-models/com/coralogix/rum/v2/release_entity_type.ts +0 -56
- package/proto-models/com/coralogix/rum/v2/rum_hide_errors_service.ts +0 -605
- package/proto-models/com/coralogix/rum/v2/rum_merge_erros_service.ts +0 -566
- package/proto-models/com/coralogix/rum/v2/rum_react_native_source_map_service.ts +0 -229
- package/proto-models/com/coralogix/rum/v2/rum_saved_filters_service.ts +0 -1679
- package/proto-models/com/coralogix/rum/v2/rum_sdk_versions.ts +0 -279
- package/proto-models/com/coralogix/rum/v2/rum_service.ts +0 -2620
- package/proto-models/com/coralogix/rum/v2/rum_session_recording_service.ts +0 -16
- package/proto-models/com/coralogix/rum/v2/rum_settings.ts +0 -215
- package/proto-models/com/coralogix/rum/v2/rum_settings_service.ts +0 -283
- package/proto-models/com/coralogix/rum/v2/rum_source_map_service.ts +0 -1069
- package/proto-models/com/coralogix/rum/v2/saved_filter.ts +0 -325
- package/proto-models/com/coralogix/rum/v2/source_code_file_mapping.ts +0 -358
- package/proto-models/com/coralogix/rum/v2/source_map_release.ts +0 -301
- package/proto-models/com/coralogix/rum/v2/template.ts +0 -620
- package/proto-models/google/protobuf/descriptor.ts +0 -4921
- package/protos/com/coralogix/blobset/v2/audit_log.proto +0 -13
- package/protos/com/coralogix/blobset/v2/blobset_query_service.proto +0 -19
- package/protos/com/coralogix/blobset/v2/blobset_service.proto +0 -18
- package/protos/com/coralogix/blobset/v2/case_file.proto +0 -12
- package/protos/com/coralogix/blobset/v2/dsym.proto +0 -20
- package/protos/com/coralogix/blobset/v2/entity_metadata.proto +0 -48
- package/protos/com/coralogix/blobset/v2/entity_type.proto +0 -13
- package/protos/com/coralogix/blobset/v2/investigation_file.proto +0 -12
- package/protos/com/coralogix/blobset/v2/proguard.proto +0 -30
- package/protos/com/coralogix/blobset/v2/s3_metadata.proto +0 -14
- package/protos/com/coralogix/blobset/v2/source_map.proto +0 -30
- package/protos/com/coralogix/rum/v2/analytics.proto +0 -57
- package/protos/com/coralogix/rum/v2/application_releases.proto +0 -14
- package/protos/com/coralogix/rum/v2/audit_log.proto +0 -13
- package/protos/com/coralogix/rum/v2/chunk.proto +0 -24
- package/protos/com/coralogix/rum/v2/file.proto +0 -8
- package/protos/com/coralogix/rum/v2/hide_errors.proto +0 -19
- package/protos/com/coralogix/rum/v2/merge_error.proto +0 -13
- package/protos/com/coralogix/rum/v2/release_entity_metadata.proto +0 -51
- package/protos/com/coralogix/rum/v2/release_entity_type.proto +0 -11
- package/protos/com/coralogix/rum/v2/rum_hide_errors_service.proto +0 -42
- package/protos/com/coralogix/rum/v2/rum_merge_erros_service.proto +0 -42
- package/protos/com/coralogix/rum/v2/rum_react_native_source_map_service.proto +0 -19
- package/protos/com/coralogix/rum/v2/rum_saved_filters_service.proto +0 -117
- package/protos/com/coralogix/rum/v2/rum_sdk_versions.proto +0 -17
- package/protos/com/coralogix/rum/v2/rum_service.proto +0 -167
- package/protos/com/coralogix/rum/v2/rum_session_recording_service.proto +0 -4
- package/protos/com/coralogix/rum/v2/rum_settings.proto +0 -26
- package/protos/com/coralogix/rum/v2/rum_settings_service.proto +0 -23
- package/protos/com/coralogix/rum/v2/rum_source_map_service.proto +0 -69
- package/protos/com/coralogix/rum/v2/saved_filter.proto +0 -31
- package/protos/com/coralogix/rum/v2/source_code_file_mapping.proto +0 -16
- package/protos/com/coralogix/rum/v2/source_map_release.proto +0 -18
- package/protos/com/coralogix/rum/v2/template.proto +0 -42
- package/protoset.bin +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v1.181.1
|
|
4
|
-
// protoc v3.19.1
|
|
5
|
-
// source: com/coralogix/rum/v2/rum_session_recording_service.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
|
|
9
|
-
export const protobufPackage = "com.coralogix.rum.v2";
|
|
10
|
-
|
|
11
|
-
export type RumSessionRecordingServiceDefinition = typeof RumSessionRecordingServiceDefinition;
|
|
12
|
-
export const RumSessionRecordingServiceDefinition = {
|
|
13
|
-
name: "RumSessionRecordingService",
|
|
14
|
-
fullName: "com.coralogix.rum.v2.RumSessionRecordingService",
|
|
15
|
-
methods: {},
|
|
16
|
-
} as const;
|
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v1.181.1
|
|
4
|
-
// protoc v3.19.1
|
|
5
|
-
// source: com/coralogix/rum/v2/rum_settings.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import _m0 from "protobufjs/minimal";
|
|
9
|
-
|
|
10
|
-
export const protobufPackage = "com.coralogix.rum.v2";
|
|
11
|
-
|
|
12
|
-
export enum TimeChoice {
|
|
13
|
-
TIME_CHOICE_UNSPECIFIED = 0,
|
|
14
|
-
TIME_CHOICE_LAST_1_MINUTE = 1,
|
|
15
|
-
TIME_CHOICE_LAST_2_MINUTES = 2,
|
|
16
|
-
TIME_CHOICE_LAST_5_MINUTES = 3,
|
|
17
|
-
TIME_CHOICE_LAST_15_MINUTES = 4,
|
|
18
|
-
TIME_CHOICE_LAST_30_MINUTES = 5,
|
|
19
|
-
TIME_CHOICE_LAST_1_HOUR = 6,
|
|
20
|
-
TIME_CHOICE_LAST_2_HOURS = 7,
|
|
21
|
-
TIME_CHOICE_LAST_6_HOURS = 8,
|
|
22
|
-
TIME_CHOICE_LAST_12_HOURS = 9,
|
|
23
|
-
TIME_CHOICE_LAST_24_HOURS = 10,
|
|
24
|
-
TIME_CHOICE_TODAY = 11,
|
|
25
|
-
TIME_CHOICE_LAST_2_DAYS = 12,
|
|
26
|
-
TIME_CHOICE_LAST_3_DAYS = 13,
|
|
27
|
-
TIME_CHOICE_LAST_5_DAYS = 14,
|
|
28
|
-
TIME_CHOICE_LAST_7_DAYS = 15,
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function timeChoiceFromJSON(object: any): TimeChoice {
|
|
32
|
-
switch (object) {
|
|
33
|
-
case 0:
|
|
34
|
-
case "TIME_CHOICE_UNSPECIFIED":
|
|
35
|
-
return TimeChoice.TIME_CHOICE_UNSPECIFIED;
|
|
36
|
-
case 1:
|
|
37
|
-
case "TIME_CHOICE_LAST_1_MINUTE":
|
|
38
|
-
return TimeChoice.TIME_CHOICE_LAST_1_MINUTE;
|
|
39
|
-
case 2:
|
|
40
|
-
case "TIME_CHOICE_LAST_2_MINUTES":
|
|
41
|
-
return TimeChoice.TIME_CHOICE_LAST_2_MINUTES;
|
|
42
|
-
case 3:
|
|
43
|
-
case "TIME_CHOICE_LAST_5_MINUTES":
|
|
44
|
-
return TimeChoice.TIME_CHOICE_LAST_5_MINUTES;
|
|
45
|
-
case 4:
|
|
46
|
-
case "TIME_CHOICE_LAST_15_MINUTES":
|
|
47
|
-
return TimeChoice.TIME_CHOICE_LAST_15_MINUTES;
|
|
48
|
-
case 5:
|
|
49
|
-
case "TIME_CHOICE_LAST_30_MINUTES":
|
|
50
|
-
return TimeChoice.TIME_CHOICE_LAST_30_MINUTES;
|
|
51
|
-
case 6:
|
|
52
|
-
case "TIME_CHOICE_LAST_1_HOUR":
|
|
53
|
-
return TimeChoice.TIME_CHOICE_LAST_1_HOUR;
|
|
54
|
-
case 7:
|
|
55
|
-
case "TIME_CHOICE_LAST_2_HOURS":
|
|
56
|
-
return TimeChoice.TIME_CHOICE_LAST_2_HOURS;
|
|
57
|
-
case 8:
|
|
58
|
-
case "TIME_CHOICE_LAST_6_HOURS":
|
|
59
|
-
return TimeChoice.TIME_CHOICE_LAST_6_HOURS;
|
|
60
|
-
case 9:
|
|
61
|
-
case "TIME_CHOICE_LAST_12_HOURS":
|
|
62
|
-
return TimeChoice.TIME_CHOICE_LAST_12_HOURS;
|
|
63
|
-
case 10:
|
|
64
|
-
case "TIME_CHOICE_LAST_24_HOURS":
|
|
65
|
-
return TimeChoice.TIME_CHOICE_LAST_24_HOURS;
|
|
66
|
-
case 11:
|
|
67
|
-
case "TIME_CHOICE_TODAY":
|
|
68
|
-
return TimeChoice.TIME_CHOICE_TODAY;
|
|
69
|
-
case 12:
|
|
70
|
-
case "TIME_CHOICE_LAST_2_DAYS":
|
|
71
|
-
return TimeChoice.TIME_CHOICE_LAST_2_DAYS;
|
|
72
|
-
case 13:
|
|
73
|
-
case "TIME_CHOICE_LAST_3_DAYS":
|
|
74
|
-
return TimeChoice.TIME_CHOICE_LAST_3_DAYS;
|
|
75
|
-
case 14:
|
|
76
|
-
case "TIME_CHOICE_LAST_5_DAYS":
|
|
77
|
-
return TimeChoice.TIME_CHOICE_LAST_5_DAYS;
|
|
78
|
-
case 15:
|
|
79
|
-
case "TIME_CHOICE_LAST_7_DAYS":
|
|
80
|
-
return TimeChoice.TIME_CHOICE_LAST_7_DAYS;
|
|
81
|
-
default:
|
|
82
|
-
throw new globalThis.Error("Unrecognized enum value " + object + " for enum TimeChoice");
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function timeChoiceToJSON(object: TimeChoice): string {
|
|
87
|
-
switch (object) {
|
|
88
|
-
case TimeChoice.TIME_CHOICE_UNSPECIFIED:
|
|
89
|
-
return "TIME_CHOICE_UNSPECIFIED";
|
|
90
|
-
case TimeChoice.TIME_CHOICE_LAST_1_MINUTE:
|
|
91
|
-
return "TIME_CHOICE_LAST_1_MINUTE";
|
|
92
|
-
case TimeChoice.TIME_CHOICE_LAST_2_MINUTES:
|
|
93
|
-
return "TIME_CHOICE_LAST_2_MINUTES";
|
|
94
|
-
case TimeChoice.TIME_CHOICE_LAST_5_MINUTES:
|
|
95
|
-
return "TIME_CHOICE_LAST_5_MINUTES";
|
|
96
|
-
case TimeChoice.TIME_CHOICE_LAST_15_MINUTES:
|
|
97
|
-
return "TIME_CHOICE_LAST_15_MINUTES";
|
|
98
|
-
case TimeChoice.TIME_CHOICE_LAST_30_MINUTES:
|
|
99
|
-
return "TIME_CHOICE_LAST_30_MINUTES";
|
|
100
|
-
case TimeChoice.TIME_CHOICE_LAST_1_HOUR:
|
|
101
|
-
return "TIME_CHOICE_LAST_1_HOUR";
|
|
102
|
-
case TimeChoice.TIME_CHOICE_LAST_2_HOURS:
|
|
103
|
-
return "TIME_CHOICE_LAST_2_HOURS";
|
|
104
|
-
case TimeChoice.TIME_CHOICE_LAST_6_HOURS:
|
|
105
|
-
return "TIME_CHOICE_LAST_6_HOURS";
|
|
106
|
-
case TimeChoice.TIME_CHOICE_LAST_12_HOURS:
|
|
107
|
-
return "TIME_CHOICE_LAST_12_HOURS";
|
|
108
|
-
case TimeChoice.TIME_CHOICE_LAST_24_HOURS:
|
|
109
|
-
return "TIME_CHOICE_LAST_24_HOURS";
|
|
110
|
-
case TimeChoice.TIME_CHOICE_TODAY:
|
|
111
|
-
return "TIME_CHOICE_TODAY";
|
|
112
|
-
case TimeChoice.TIME_CHOICE_LAST_2_DAYS:
|
|
113
|
-
return "TIME_CHOICE_LAST_2_DAYS";
|
|
114
|
-
case TimeChoice.TIME_CHOICE_LAST_3_DAYS:
|
|
115
|
-
return "TIME_CHOICE_LAST_3_DAYS";
|
|
116
|
-
case TimeChoice.TIME_CHOICE_LAST_5_DAYS:
|
|
117
|
-
return "TIME_CHOICE_LAST_5_DAYS";
|
|
118
|
-
case TimeChoice.TIME_CHOICE_LAST_7_DAYS:
|
|
119
|
-
return "TIME_CHOICE_LAST_7_DAYS";
|
|
120
|
-
default:
|
|
121
|
-
throw new globalThis.Error("Unrecognized enum value " + object + " for enum TimeChoice");
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export interface RumSettings {
|
|
126
|
-
isArchive?: boolean | undefined;
|
|
127
|
-
timeChoice?: TimeChoice | undefined;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function createBaseRumSettings(): RumSettings {
|
|
131
|
-
return { isArchive: undefined, timeChoice: undefined };
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export const RumSettings = {
|
|
135
|
-
encode(message: RumSettings, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
136
|
-
if (message.isArchive !== undefined) {
|
|
137
|
-
writer.uint32(8).bool(message.isArchive);
|
|
138
|
-
}
|
|
139
|
-
if (message.timeChoice !== undefined) {
|
|
140
|
-
writer.uint32(16).int32(message.timeChoice);
|
|
141
|
-
}
|
|
142
|
-
return writer;
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RumSettings {
|
|
146
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
147
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
148
|
-
const message = createBaseRumSettings();
|
|
149
|
-
while (reader.pos < end) {
|
|
150
|
-
const tag = reader.uint32();
|
|
151
|
-
switch (tag >>> 3) {
|
|
152
|
-
case 1:
|
|
153
|
-
if (tag !== 8) {
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
message.isArchive = reader.bool();
|
|
158
|
-
continue;
|
|
159
|
-
case 2:
|
|
160
|
-
if (tag !== 16) {
|
|
161
|
-
break;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
message.timeChoice = reader.int32() as any;
|
|
165
|
-
continue;
|
|
166
|
-
}
|
|
167
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
170
|
-
reader.skipType(tag & 7);
|
|
171
|
-
}
|
|
172
|
-
return message;
|
|
173
|
-
},
|
|
174
|
-
|
|
175
|
-
fromJSON(object: any): RumSettings {
|
|
176
|
-
return {
|
|
177
|
-
isArchive: isSet(object.isArchive) ? globalThis.Boolean(object.isArchive) : undefined,
|
|
178
|
-
timeChoice: isSet(object.timeChoice) ? timeChoiceFromJSON(object.timeChoice) : undefined,
|
|
179
|
-
};
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
toJSON(message: RumSettings): unknown {
|
|
183
|
-
const obj: any = {};
|
|
184
|
-
if (message.isArchive !== undefined) {
|
|
185
|
-
obj.isArchive = message.isArchive;
|
|
186
|
-
}
|
|
187
|
-
if (message.timeChoice !== undefined) {
|
|
188
|
-
obj.timeChoice = timeChoiceToJSON(message.timeChoice);
|
|
189
|
-
}
|
|
190
|
-
return obj;
|
|
191
|
-
},
|
|
192
|
-
|
|
193
|
-
create(base?: DeepPartial<RumSettings>): RumSettings {
|
|
194
|
-
return RumSettings.fromPartial(base ?? {});
|
|
195
|
-
},
|
|
196
|
-
fromPartial(object: DeepPartial<RumSettings>): RumSettings {
|
|
197
|
-
const message = createBaseRumSettings();
|
|
198
|
-
message.isArchive = object.isArchive ?? undefined;
|
|
199
|
-
message.timeChoice = object.timeChoice ?? undefined;
|
|
200
|
-
return message;
|
|
201
|
-
},
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
205
|
-
|
|
206
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
207
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
208
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
209
|
-
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
210
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
211
|
-
: Partial<T>;
|
|
212
|
-
|
|
213
|
-
function isSet(value: any): boolean {
|
|
214
|
-
return value !== null && value !== undefined;
|
|
215
|
-
}
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v1.181.1
|
|
4
|
-
// protoc v3.19.1
|
|
5
|
-
// source: com/coralogix/rum/v2/rum_settings_service.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import _m0 from "protobufjs/minimal";
|
|
9
|
-
import { RumSettings } from "./rum_settings";
|
|
10
|
-
|
|
11
|
-
export const protobufPackage = "com.coralogix.rum.v2";
|
|
12
|
-
|
|
13
|
-
export interface GetRumSettingsRequest {
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface GetRumSettingsResponse {
|
|
17
|
-
settings: RumSettings | undefined;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface UpdateRumSettingsRequest {
|
|
21
|
-
settings: RumSettings | undefined;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface UpdateRumSettingsResponse {
|
|
25
|
-
settings: RumSettings | undefined;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function createBaseGetRumSettingsRequest(): GetRumSettingsRequest {
|
|
29
|
-
return {};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export const GetRumSettingsRequest = {
|
|
33
|
-
encode(_: GetRumSettingsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
34
|
-
return writer;
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetRumSettingsRequest {
|
|
38
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
39
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
-
const message = createBaseGetRumSettingsRequest();
|
|
41
|
-
while (reader.pos < end) {
|
|
42
|
-
const tag = reader.uint32();
|
|
43
|
-
switch (tag >>> 3) {
|
|
44
|
-
}
|
|
45
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
reader.skipType(tag & 7);
|
|
49
|
-
}
|
|
50
|
-
return message;
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
fromJSON(_: any): GetRumSettingsRequest {
|
|
54
|
-
return {};
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
toJSON(_: GetRumSettingsRequest): unknown {
|
|
58
|
-
const obj: any = {};
|
|
59
|
-
return obj;
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
create(base?: DeepPartial<GetRumSettingsRequest>): GetRumSettingsRequest {
|
|
63
|
-
return GetRumSettingsRequest.fromPartial(base ?? {});
|
|
64
|
-
},
|
|
65
|
-
fromPartial(_: DeepPartial<GetRumSettingsRequest>): GetRumSettingsRequest {
|
|
66
|
-
const message = createBaseGetRumSettingsRequest();
|
|
67
|
-
return message;
|
|
68
|
-
},
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
function createBaseGetRumSettingsResponse(): GetRumSettingsResponse {
|
|
72
|
-
return { settings: undefined };
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export const GetRumSettingsResponse = {
|
|
76
|
-
encode(message: GetRumSettingsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
77
|
-
if (message.settings !== undefined) {
|
|
78
|
-
RumSettings.encode(message.settings, writer.uint32(10).fork()).ldelim();
|
|
79
|
-
}
|
|
80
|
-
return writer;
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetRumSettingsResponse {
|
|
84
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
85
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
86
|
-
const message = createBaseGetRumSettingsResponse();
|
|
87
|
-
while (reader.pos < end) {
|
|
88
|
-
const tag = reader.uint32();
|
|
89
|
-
switch (tag >>> 3) {
|
|
90
|
-
case 1:
|
|
91
|
-
if (tag !== 10) {
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
message.settings = RumSettings.decode(reader, reader.uint32());
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
reader.skipType(tag & 7);
|
|
102
|
-
}
|
|
103
|
-
return message;
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
fromJSON(object: any): GetRumSettingsResponse {
|
|
107
|
-
return { settings: isSet(object.settings) ? RumSettings.fromJSON(object.settings) : undefined };
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
toJSON(message: GetRumSettingsResponse): unknown {
|
|
111
|
-
const obj: any = {};
|
|
112
|
-
if (message.settings !== undefined) {
|
|
113
|
-
obj.settings = RumSettings.toJSON(message.settings);
|
|
114
|
-
}
|
|
115
|
-
return obj;
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
create(base?: DeepPartial<GetRumSettingsResponse>): GetRumSettingsResponse {
|
|
119
|
-
return GetRumSettingsResponse.fromPartial(base ?? {});
|
|
120
|
-
},
|
|
121
|
-
fromPartial(object: DeepPartial<GetRumSettingsResponse>): GetRumSettingsResponse {
|
|
122
|
-
const message = createBaseGetRumSettingsResponse();
|
|
123
|
-
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
124
|
-
? RumSettings.fromPartial(object.settings)
|
|
125
|
-
: undefined;
|
|
126
|
-
return message;
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
function createBaseUpdateRumSettingsRequest(): UpdateRumSettingsRequest {
|
|
131
|
-
return { settings: undefined };
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export const UpdateRumSettingsRequest = {
|
|
135
|
-
encode(message: UpdateRumSettingsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
136
|
-
if (message.settings !== undefined) {
|
|
137
|
-
RumSettings.encode(message.settings, writer.uint32(10).fork()).ldelim();
|
|
138
|
-
}
|
|
139
|
-
return writer;
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateRumSettingsRequest {
|
|
143
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
144
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
145
|
-
const message = createBaseUpdateRumSettingsRequest();
|
|
146
|
-
while (reader.pos < end) {
|
|
147
|
-
const tag = reader.uint32();
|
|
148
|
-
switch (tag >>> 3) {
|
|
149
|
-
case 1:
|
|
150
|
-
if (tag !== 10) {
|
|
151
|
-
break;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
message.settings = RumSettings.decode(reader, reader.uint32());
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
reader.skipType(tag & 7);
|
|
161
|
-
}
|
|
162
|
-
return message;
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
fromJSON(object: any): UpdateRumSettingsRequest {
|
|
166
|
-
return { settings: isSet(object.settings) ? RumSettings.fromJSON(object.settings) : undefined };
|
|
167
|
-
},
|
|
168
|
-
|
|
169
|
-
toJSON(message: UpdateRumSettingsRequest): unknown {
|
|
170
|
-
const obj: any = {};
|
|
171
|
-
if (message.settings !== undefined) {
|
|
172
|
-
obj.settings = RumSettings.toJSON(message.settings);
|
|
173
|
-
}
|
|
174
|
-
return obj;
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
create(base?: DeepPartial<UpdateRumSettingsRequest>): UpdateRumSettingsRequest {
|
|
178
|
-
return UpdateRumSettingsRequest.fromPartial(base ?? {});
|
|
179
|
-
},
|
|
180
|
-
fromPartial(object: DeepPartial<UpdateRumSettingsRequest>): UpdateRumSettingsRequest {
|
|
181
|
-
const message = createBaseUpdateRumSettingsRequest();
|
|
182
|
-
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
183
|
-
? RumSettings.fromPartial(object.settings)
|
|
184
|
-
: undefined;
|
|
185
|
-
return message;
|
|
186
|
-
},
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
function createBaseUpdateRumSettingsResponse(): UpdateRumSettingsResponse {
|
|
190
|
-
return { settings: undefined };
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export const UpdateRumSettingsResponse = {
|
|
194
|
-
encode(message: UpdateRumSettingsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
195
|
-
if (message.settings !== undefined) {
|
|
196
|
-
RumSettings.encode(message.settings, writer.uint32(10).fork()).ldelim();
|
|
197
|
-
}
|
|
198
|
-
return writer;
|
|
199
|
-
},
|
|
200
|
-
|
|
201
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateRumSettingsResponse {
|
|
202
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
203
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
204
|
-
const message = createBaseUpdateRumSettingsResponse();
|
|
205
|
-
while (reader.pos < end) {
|
|
206
|
-
const tag = reader.uint32();
|
|
207
|
-
switch (tag >>> 3) {
|
|
208
|
-
case 1:
|
|
209
|
-
if (tag !== 10) {
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
message.settings = RumSettings.decode(reader, reader.uint32());
|
|
214
|
-
continue;
|
|
215
|
-
}
|
|
216
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
217
|
-
break;
|
|
218
|
-
}
|
|
219
|
-
reader.skipType(tag & 7);
|
|
220
|
-
}
|
|
221
|
-
return message;
|
|
222
|
-
},
|
|
223
|
-
|
|
224
|
-
fromJSON(object: any): UpdateRumSettingsResponse {
|
|
225
|
-
return { settings: isSet(object.settings) ? RumSettings.fromJSON(object.settings) : undefined };
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
toJSON(message: UpdateRumSettingsResponse): unknown {
|
|
229
|
-
const obj: any = {};
|
|
230
|
-
if (message.settings !== undefined) {
|
|
231
|
-
obj.settings = RumSettings.toJSON(message.settings);
|
|
232
|
-
}
|
|
233
|
-
return obj;
|
|
234
|
-
},
|
|
235
|
-
|
|
236
|
-
create(base?: DeepPartial<UpdateRumSettingsResponse>): UpdateRumSettingsResponse {
|
|
237
|
-
return UpdateRumSettingsResponse.fromPartial(base ?? {});
|
|
238
|
-
},
|
|
239
|
-
fromPartial(object: DeepPartial<UpdateRumSettingsResponse>): UpdateRumSettingsResponse {
|
|
240
|
-
const message = createBaseUpdateRumSettingsResponse();
|
|
241
|
-
message.settings = (object.settings !== undefined && object.settings !== null)
|
|
242
|
-
? RumSettings.fromPartial(object.settings)
|
|
243
|
-
: undefined;
|
|
244
|
-
return message;
|
|
245
|
-
},
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
export type RumSettingsServiceDefinition = typeof RumSettingsServiceDefinition;
|
|
249
|
-
export const RumSettingsServiceDefinition = {
|
|
250
|
-
name: "RumSettingsService",
|
|
251
|
-
fullName: "com.coralogix.rum.v2.RumSettingsService",
|
|
252
|
-
methods: {
|
|
253
|
-
getRumSettings: {
|
|
254
|
-
name: "GetRumSettings",
|
|
255
|
-
requestType: GetRumSettingsRequest,
|
|
256
|
-
requestStream: false,
|
|
257
|
-
responseType: GetRumSettingsResponse,
|
|
258
|
-
responseStream: false,
|
|
259
|
-
options: {},
|
|
260
|
-
},
|
|
261
|
-
updateRumSettings: {
|
|
262
|
-
name: "UpdateRumSettings",
|
|
263
|
-
requestType: UpdateRumSettingsRequest,
|
|
264
|
-
requestStream: false,
|
|
265
|
-
responseType: UpdateRumSettingsResponse,
|
|
266
|
-
responseStream: false,
|
|
267
|
-
options: {},
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
} as const;
|
|
271
|
-
|
|
272
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
273
|
-
|
|
274
|
-
export type DeepPartial<T> = T extends Builtin ? T
|
|
275
|
-
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
|
|
276
|
-
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
277
|
-
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
278
|
-
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
279
|
-
: Partial<T>;
|
|
280
|
-
|
|
281
|
-
function isSet(value: any): boolean {
|
|
282
|
-
return value !== null && value !== undefined;
|
|
283
|
-
}
|