@use-tusk/drift-schemas 0.1.13 → 0.1.15

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.
@@ -4,9 +4,9 @@ import "../timestamp-D0q8Zt_J.js";
4
4
  import "../json_schema-dDDndex9.js";
5
5
  import "../span-C1sXvAwC.js";
6
6
  import { CreateDriftRunRequest, CreateDriftRunResponse, GetAllTraceTestsRequest, GetAllTraceTestsResponse, GetDriftRunTraceTestsRequest, GetDriftRunTraceTestsResponse, GetGlobalSpansRequest, GetGlobalSpansResponse, GetPreAppStartSpansRequest, GetPreAppStartSpansResponse, GetTraceTestRequest, GetTraceTestResponse, UpdateDriftRunCIStatusRequest, UpdateDriftRunCIStatusResponse, UploadTraceTestResultsRequest, UploadTraceTestResultsResponse } from "../test_run_service-ccCYCNTL.js";
7
- import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
7
+ import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
8
8
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
9
- import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
9
+ import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
10
10
 
11
11
  //#region generated/ts/backend/test_run_service.client.d.ts
12
12
 
@@ -72,9 +72,9 @@ interface ITestRunServiceClient {
72
72
  declare class TestRunServiceClient implements ITestRunServiceClient, ServiceInfo {
73
73
  private readonly _transport;
74
74
  typeName: string;
75
- methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
75
+ methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
76
76
  options: {
77
- [extensionName: string]: _protobuf_ts_runtime0.JsonValue;
77
+ [extensionName: string]: _protobuf_ts_runtime2.JsonValue;
78
78
  };
79
79
  constructor(_transport: RpcTransport);
80
80
  /**
@@ -155,6 +155,12 @@ interface SDKMessage {
155
155
  * @generated from protobuf field: tusk.drift.core.v1.SendInboundSpanForReplayRequest send_inbound_span_for_replay_request = 5
156
156
  */
157
157
  sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest;
158
+ } | {
159
+ oneofKind: "sendAlertRequest";
160
+ /**
161
+ * @generated from protobuf field: tusk.drift.core.v1.SendAlertRequest send_alert_request = 6
162
+ */
163
+ sendAlertRequest: SendAlertRequest;
158
164
  } | {
159
165
  oneofKind: undefined;
160
166
  };
@@ -214,6 +220,67 @@ interface SendInboundSpanForReplayResponse {
214
220
  */
215
221
  success: boolean;
216
222
  }
223
+ /**
224
+ * @generated from protobuf message tusk.drift.core.v1.SendAlertRequest
225
+ */
226
+ interface SendAlertRequest {
227
+ /**
228
+ * @generated from protobuf oneof: alert
229
+ */
230
+ alert: {
231
+ oneofKind: "versionMismatch";
232
+ /**
233
+ * @generated from protobuf field: tusk.drift.core.v1.InstrumentationVersionMismatchAlert version_mismatch = 1
234
+ */
235
+ versionMismatch: InstrumentationVersionMismatchAlert;
236
+ } | {
237
+ oneofKind: "unpatchedDependency";
238
+ /**
239
+ * @generated from protobuf field: tusk.drift.core.v1.UnpatchedDependencyAlert unpatched_dependency = 2
240
+ */
241
+ unpatchedDependency: UnpatchedDependencyAlert;
242
+ } | {
243
+ oneofKind: undefined;
244
+ };
245
+ }
246
+ /**
247
+ * @generated from protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
248
+ */
249
+ interface InstrumentationVersionMismatchAlert {
250
+ /**
251
+ * @generated from protobuf field: string module_name = 1
252
+ */
253
+ moduleName: string;
254
+ /**
255
+ * @generated from protobuf field: string requested_version = 2
256
+ */
257
+ requestedVersion: string;
258
+ /**
259
+ * @generated from protobuf field: repeated string supported_versions = 3
260
+ */
261
+ supportedVersions: string[];
262
+ /**
263
+ * @generated from protobuf field: string sdk_version = 4
264
+ */
265
+ sdkVersion: string;
266
+ }
267
+ /**
268
+ * @generated from protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
269
+ */
270
+ interface UnpatchedDependencyAlert {
271
+ /**
272
+ * @generated from protobuf field: string stack_trace = 1
273
+ */
274
+ stackTrace: string;
275
+ /**
276
+ * @generated from protobuf field: string trace_test_server_span_id = 2
277
+ */
278
+ traceTestServerSpanId: string;
279
+ /**
280
+ * @generated from protobuf field: string sdk_version = 3
281
+ */
282
+ sdkVersion: string;
283
+ }
217
284
  /**
218
285
  * @generated from protobuf enum tusk.drift.core.v1.MessageType
219
286
  */
@@ -234,6 +301,10 @@ declare enum MessageType$1 {
234
301
  * @generated from protobuf enum value: MESSAGE_TYPE_INBOUND_SPAN = 3;
235
302
  */
236
303
  INBOUND_SPAN = 3,
304
+ /**
305
+ * @generated from protobuf enum value: MESSAGE_TYPE_ALERT = 4;
306
+ */
307
+ ALERT = 4,
237
308
  }
238
309
  declare class ConnectRequest$Type extends MessageType<ConnectRequest> {
239
310
  constructor();
@@ -316,10 +387,40 @@ declare class SendInboundSpanForReplayResponse$Type extends MessageType<SendInbo
316
387
  * @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse
317
388
  */
318
389
  declare const SendInboundSpanForReplayResponse: SendInboundSpanForReplayResponse$Type;
390
+ declare class SendAlertRequest$Type extends MessageType<SendAlertRequest> {
391
+ constructor();
392
+ create(value?: PartialMessage<SendAlertRequest>): SendAlertRequest;
393
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendAlertRequest): SendAlertRequest;
394
+ internalBinaryWrite(message: SendAlertRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
395
+ }
396
+ /**
397
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SendAlertRequest
398
+ */
399
+ declare const SendAlertRequest: SendAlertRequest$Type;
400
+ declare class InstrumentationVersionMismatchAlert$Type extends MessageType<InstrumentationVersionMismatchAlert> {
401
+ constructor();
402
+ create(value?: PartialMessage<InstrumentationVersionMismatchAlert>): InstrumentationVersionMismatchAlert;
403
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstrumentationVersionMismatchAlert): InstrumentationVersionMismatchAlert;
404
+ internalBinaryWrite(message: InstrumentationVersionMismatchAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
405
+ }
406
+ /**
407
+ * @generated MessageType for protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
408
+ */
409
+ declare const InstrumentationVersionMismatchAlert: InstrumentationVersionMismatchAlert$Type;
410
+ declare class UnpatchedDependencyAlert$Type extends MessageType<UnpatchedDependencyAlert> {
411
+ constructor();
412
+ create(value?: PartialMessage<UnpatchedDependencyAlert>): UnpatchedDependencyAlert;
413
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UnpatchedDependencyAlert): UnpatchedDependencyAlert;
414
+ internalBinaryWrite(message: UnpatchedDependencyAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
415
+ }
416
+ /**
417
+ * @generated MessageType for protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
418
+ */
419
+ declare const UnpatchedDependencyAlert: UnpatchedDependencyAlert$Type;
319
420
  /**
320
421
  * @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
321
422
  */
322
423
  declare const MockService: ServiceType;
323
424
  //#endregion
324
- export { CLIMessage, ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, MessageType$1 as MessageType, MockService, SDKMessage, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse };
325
- //# sourceMappingURL=communication-jCfEhBYI.d.ts.map
425
+ export { CLIMessage, ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, InstrumentationVersionMismatchAlert, MessageType$1 as MessageType, MockService, SDKMessage, SendAlertRequest, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse, UnpatchedDependencyAlert };
426
+ //# sourceMappingURL=communication-C-wJ5gyo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"communication-C-wJ5gyo.d.ts","names":[],"sources":["../generated/ts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 interface SDKMessage {
155
155
  * @generated from protobuf field: tusk.drift.core.v1.SendInboundSpanForReplayRequest send_inbound_span_for_replay_request = 5
156
156
  */
157
157
  sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest;
158
+ } | {
159
+ oneofKind: "sendAlertRequest";
160
+ /**
161
+ * @generated from protobuf field: tusk.drift.core.v1.SendAlertRequest send_alert_request = 6
162
+ */
163
+ sendAlertRequest: SendAlertRequest;
158
164
  } | {
159
165
  oneofKind: undefined;
160
166
  };
@@ -214,6 +220,67 @@ interface SendInboundSpanForReplayResponse {
214
220
  */
215
221
  success: boolean;
216
222
  }
223
+ /**
224
+ * @generated from protobuf message tusk.drift.core.v1.SendAlertRequest
225
+ */
226
+ interface SendAlertRequest {
227
+ /**
228
+ * @generated from protobuf oneof: alert
229
+ */
230
+ alert: {
231
+ oneofKind: "versionMismatch";
232
+ /**
233
+ * @generated from protobuf field: tusk.drift.core.v1.InstrumentationVersionMismatchAlert version_mismatch = 1
234
+ */
235
+ versionMismatch: InstrumentationVersionMismatchAlert;
236
+ } | {
237
+ oneofKind: "unpatchedDependency";
238
+ /**
239
+ * @generated from protobuf field: tusk.drift.core.v1.UnpatchedDependencyAlert unpatched_dependency = 2
240
+ */
241
+ unpatchedDependency: UnpatchedDependencyAlert;
242
+ } | {
243
+ oneofKind: undefined;
244
+ };
245
+ }
246
+ /**
247
+ * @generated from protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
248
+ */
249
+ interface InstrumentationVersionMismatchAlert {
250
+ /**
251
+ * @generated from protobuf field: string module_name = 1
252
+ */
253
+ moduleName: string;
254
+ /**
255
+ * @generated from protobuf field: string requested_version = 2
256
+ */
257
+ requestedVersion: string;
258
+ /**
259
+ * @generated from protobuf field: repeated string supported_versions = 3
260
+ */
261
+ supportedVersions: string[];
262
+ /**
263
+ * @generated from protobuf field: string sdk_version = 4
264
+ */
265
+ sdkVersion: string;
266
+ }
267
+ /**
268
+ * @generated from protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
269
+ */
270
+ interface UnpatchedDependencyAlert {
271
+ /**
272
+ * @generated from protobuf field: string stack_trace = 1
273
+ */
274
+ stackTrace: string;
275
+ /**
276
+ * @generated from protobuf field: string trace_test_server_span_id = 2
277
+ */
278
+ traceTestServerSpanId: string;
279
+ /**
280
+ * @generated from protobuf field: string sdk_version = 3
281
+ */
282
+ sdkVersion: string;
283
+ }
217
284
  /**
218
285
  * @generated from protobuf enum tusk.drift.core.v1.MessageType
219
286
  */
@@ -234,6 +301,10 @@ declare enum MessageType$1 {
234
301
  * @generated from protobuf enum value: MESSAGE_TYPE_INBOUND_SPAN = 3;
235
302
  */
236
303
  INBOUND_SPAN = 3,
304
+ /**
305
+ * @generated from protobuf enum value: MESSAGE_TYPE_ALERT = 4;
306
+ */
307
+ ALERT = 4,
237
308
  }
238
309
  declare class ConnectRequest$Type extends MessageType<ConnectRequest> {
239
310
  constructor();
@@ -316,10 +387,40 @@ declare class SendInboundSpanForReplayResponse$Type extends MessageType<SendInbo
316
387
  * @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse
317
388
  */
318
389
  declare const SendInboundSpanForReplayResponse: SendInboundSpanForReplayResponse$Type;
390
+ declare class SendAlertRequest$Type extends MessageType<SendAlertRequest> {
391
+ constructor();
392
+ create(value?: PartialMessage<SendAlertRequest>): SendAlertRequest;
393
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendAlertRequest): SendAlertRequest;
394
+ internalBinaryWrite(message: SendAlertRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
395
+ }
396
+ /**
397
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SendAlertRequest
398
+ */
399
+ declare const SendAlertRequest: SendAlertRequest$Type;
400
+ declare class InstrumentationVersionMismatchAlert$Type extends MessageType<InstrumentationVersionMismatchAlert> {
401
+ constructor();
402
+ create(value?: PartialMessage<InstrumentationVersionMismatchAlert>): InstrumentationVersionMismatchAlert;
403
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstrumentationVersionMismatchAlert): InstrumentationVersionMismatchAlert;
404
+ internalBinaryWrite(message: InstrumentationVersionMismatchAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
405
+ }
406
+ /**
407
+ * @generated MessageType for protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
408
+ */
409
+ declare const InstrumentationVersionMismatchAlert: InstrumentationVersionMismatchAlert$Type;
410
+ declare class UnpatchedDependencyAlert$Type extends MessageType<UnpatchedDependencyAlert> {
411
+ constructor();
412
+ create(value?: PartialMessage<UnpatchedDependencyAlert>): UnpatchedDependencyAlert;
413
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UnpatchedDependencyAlert): UnpatchedDependencyAlert;
414
+ internalBinaryWrite(message: UnpatchedDependencyAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
415
+ }
416
+ /**
417
+ * @generated MessageType for protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
418
+ */
419
+ declare const UnpatchedDependencyAlert: UnpatchedDependencyAlert$Type;
319
420
  /**
320
421
  * @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
321
422
  */
322
423
  declare const MockService: ServiceType;
323
424
  //#endregion
324
- export { CLIMessage, ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, MessageType$1 as MessageType, MockService, SDKMessage, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse };
325
- //# sourceMappingURL=communication-BGQiGs3U.d.cts.map
425
+ export { CLIMessage, ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, InstrumentationVersionMismatchAlert, MessageType$1 as MessageType, MockService, SDKMessage, SendAlertRequest, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse, UnpatchedDependencyAlert };
426
+ //# sourceMappingURL=communication-CRyEwx4G.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"communication-CRy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AIxB,aAAW"}
@@ -28,6 +28,10 @@ let MessageType = /* @__PURE__ */ function(MessageType$1) {
28
28
  * @generated from protobuf enum value: MESSAGE_TYPE_INBOUND_SPAN = 3;
29
29
  */
30
30
  MessageType$1[MessageType$1["INBOUND_SPAN"] = 3] = "INBOUND_SPAN";
31
+ /**
32
+ * @generated from protobuf enum value: MESSAGE_TYPE_ALERT = 4;
33
+ */
34
+ MessageType$1[MessageType$1["ALERT"] = 4] = "ALERT";
31
35
  return MessageType$1;
32
36
  }({});
33
37
  var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
@@ -447,6 +451,13 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
447
451
  kind: "message",
448
452
  oneof: "payload",
449
453
  T: () => SendInboundSpanForReplayRequest
454
+ },
455
+ {
456
+ no: 6,
457
+ name: "send_alert_request",
458
+ kind: "message",
459
+ oneof: "payload",
460
+ T: () => SendAlertRequest
450
461
  }
451
462
  ]);
452
463
  }
@@ -487,6 +498,12 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
487
498
  sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest.internalBinaryRead(reader, reader.uint32(), options, message.payload.sendInboundSpanForReplayRequest)
488
499
  };
489
500
  break;
501
+ case 6:
502
+ message.payload = {
503
+ oneofKind: "sendAlertRequest",
504
+ sendAlertRequest: SendAlertRequest.internalBinaryRead(reader, reader.uint32(), options, message.payload.sendAlertRequest)
505
+ };
506
+ break;
490
507
  default:
491
508
  let u = options.readUnknownField;
492
509
  if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
@@ -502,6 +519,7 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
502
519
  if (message.payload.oneofKind === "connectRequest") ConnectRequest.internalBinaryWrite(message.payload.connectRequest, writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
503
520
  if (message.payload.oneofKind === "getMockRequest") GetMockRequest.internalBinaryWrite(message.payload.getMockRequest, writer.tag(4, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
504
521
  if (message.payload.oneofKind === "sendInboundSpanForReplayRequest") SendInboundSpanForReplayRequest.internalBinaryWrite(message.payload.sendInboundSpanForReplayRequest, writer.tag(5, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
522
+ if (message.payload.oneofKind === "sendAlertRequest") SendAlertRequest.internalBinaryWrite(message.payload.sendAlertRequest, writer.tag(6, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
505
523
  let u = options.writeUnknownFields;
506
524
  if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
507
525
  return writer;
@@ -699,6 +717,212 @@ var SendInboundSpanForReplayResponse$Type = class extends __protobuf_ts_runtime.
699
717
  * @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse
700
718
  */
701
719
  const SendInboundSpanForReplayResponse = new SendInboundSpanForReplayResponse$Type();
720
+ var SendAlertRequest$Type = class extends __protobuf_ts_runtime.MessageType {
721
+ constructor() {
722
+ super("tusk.drift.core.v1.SendAlertRequest", [{
723
+ no: 1,
724
+ name: "version_mismatch",
725
+ kind: "message",
726
+ oneof: "alert",
727
+ T: () => InstrumentationVersionMismatchAlert
728
+ }, {
729
+ no: 2,
730
+ name: "unpatched_dependency",
731
+ kind: "message",
732
+ oneof: "alert",
733
+ T: () => UnpatchedDependencyAlert
734
+ }]);
735
+ }
736
+ create(value) {
737
+ const message = globalThis.Object.create(this.messagePrototype);
738
+ message.alert = { oneofKind: void 0 };
739
+ if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
740
+ return message;
741
+ }
742
+ internalBinaryRead(reader, length, options, target) {
743
+ let message = target ?? this.create(), end = reader.pos + length;
744
+ while (reader.pos < end) {
745
+ let [fieldNo, wireType] = reader.tag();
746
+ switch (fieldNo) {
747
+ case 1:
748
+ message.alert = {
749
+ oneofKind: "versionMismatch",
750
+ versionMismatch: InstrumentationVersionMismatchAlert.internalBinaryRead(reader, reader.uint32(), options, message.alert.versionMismatch)
751
+ };
752
+ break;
753
+ case 2:
754
+ message.alert = {
755
+ oneofKind: "unpatchedDependency",
756
+ unpatchedDependency: UnpatchedDependencyAlert.internalBinaryRead(reader, reader.uint32(), options, message.alert.unpatchedDependency)
757
+ };
758
+ break;
759
+ default:
760
+ let u = options.readUnknownField;
761
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
762
+ let d = reader.skip(wireType);
763
+ if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
764
+ }
765
+ }
766
+ return message;
767
+ }
768
+ internalBinaryWrite(message, writer, options) {
769
+ if (message.alert.oneofKind === "versionMismatch") InstrumentationVersionMismatchAlert.internalBinaryWrite(message.alert.versionMismatch, writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
770
+ if (message.alert.oneofKind === "unpatchedDependency") UnpatchedDependencyAlert.internalBinaryWrite(message.alert.unpatchedDependency, writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
771
+ let u = options.writeUnknownFields;
772
+ if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
773
+ return writer;
774
+ }
775
+ };
776
+ /**
777
+ * @generated MessageType for protobuf message tusk.drift.core.v1.SendAlertRequest
778
+ */
779
+ const SendAlertRequest = new SendAlertRequest$Type();
780
+ var InstrumentationVersionMismatchAlert$Type = class extends __protobuf_ts_runtime.MessageType {
781
+ constructor() {
782
+ super("tusk.drift.core.v1.InstrumentationVersionMismatchAlert", [
783
+ {
784
+ no: 1,
785
+ name: "module_name",
786
+ kind: "scalar",
787
+ T: 9
788
+ },
789
+ {
790
+ no: 2,
791
+ name: "requested_version",
792
+ kind: "scalar",
793
+ T: 9
794
+ },
795
+ {
796
+ no: 3,
797
+ name: "supported_versions",
798
+ kind: "scalar",
799
+ repeat: 2,
800
+ T: 9
801
+ },
802
+ {
803
+ no: 4,
804
+ name: "sdk_version",
805
+ kind: "scalar",
806
+ T: 9
807
+ }
808
+ ]);
809
+ }
810
+ create(value) {
811
+ const message = globalThis.Object.create(this.messagePrototype);
812
+ message.moduleName = "";
813
+ message.requestedVersion = "";
814
+ message.supportedVersions = [];
815
+ message.sdkVersion = "";
816
+ if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
817
+ return message;
818
+ }
819
+ internalBinaryRead(reader, length, options, target) {
820
+ let message = target ?? this.create(), end = reader.pos + length;
821
+ while (reader.pos < end) {
822
+ let [fieldNo, wireType] = reader.tag();
823
+ switch (fieldNo) {
824
+ case 1:
825
+ message.moduleName = reader.string();
826
+ break;
827
+ case 2:
828
+ message.requestedVersion = reader.string();
829
+ break;
830
+ case 3:
831
+ message.supportedVersions.push(reader.string());
832
+ break;
833
+ case 4:
834
+ message.sdkVersion = reader.string();
835
+ break;
836
+ default:
837
+ let u = options.readUnknownField;
838
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
839
+ let d = reader.skip(wireType);
840
+ if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
841
+ }
842
+ }
843
+ return message;
844
+ }
845
+ internalBinaryWrite(message, writer, options) {
846
+ if (message.moduleName !== "") writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.moduleName);
847
+ if (message.requestedVersion !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.requestedVersion);
848
+ for (let i = 0; i < message.supportedVersions.length; i++) writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.supportedVersions[i]);
849
+ if (message.sdkVersion !== "") writer.tag(4, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.sdkVersion);
850
+ let u = options.writeUnknownFields;
851
+ if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
852
+ return writer;
853
+ }
854
+ };
855
+ /**
856
+ * @generated MessageType for protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
857
+ */
858
+ const InstrumentationVersionMismatchAlert = new InstrumentationVersionMismatchAlert$Type();
859
+ var UnpatchedDependencyAlert$Type = class extends __protobuf_ts_runtime.MessageType {
860
+ constructor() {
861
+ super("tusk.drift.core.v1.UnpatchedDependencyAlert", [
862
+ {
863
+ no: 1,
864
+ name: "stack_trace",
865
+ kind: "scalar",
866
+ T: 9
867
+ },
868
+ {
869
+ no: 2,
870
+ name: "trace_test_server_span_id",
871
+ kind: "scalar",
872
+ T: 9
873
+ },
874
+ {
875
+ no: 3,
876
+ name: "sdk_version",
877
+ kind: "scalar",
878
+ T: 9
879
+ }
880
+ ]);
881
+ }
882
+ create(value) {
883
+ const message = globalThis.Object.create(this.messagePrototype);
884
+ message.stackTrace = "";
885
+ message.traceTestServerSpanId = "";
886
+ message.sdkVersion = "";
887
+ if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
888
+ return message;
889
+ }
890
+ internalBinaryRead(reader, length, options, target) {
891
+ let message = target ?? this.create(), end = reader.pos + length;
892
+ while (reader.pos < end) {
893
+ let [fieldNo, wireType] = reader.tag();
894
+ switch (fieldNo) {
895
+ case 1:
896
+ message.stackTrace = reader.string();
897
+ break;
898
+ case 2:
899
+ message.traceTestServerSpanId = reader.string();
900
+ break;
901
+ case 3:
902
+ message.sdkVersion = reader.string();
903
+ break;
904
+ default:
905
+ let u = options.readUnknownField;
906
+ if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
907
+ let d = reader.skip(wireType);
908
+ if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
909
+ }
910
+ }
911
+ return message;
912
+ }
913
+ internalBinaryWrite(message, writer, options) {
914
+ if (message.stackTrace !== "") writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.stackTrace);
915
+ if (message.traceTestServerSpanId !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.traceTestServerSpanId);
916
+ if (message.sdkVersion !== "") writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.sdkVersion);
917
+ let u = options.writeUnknownFields;
918
+ if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
919
+ return writer;
920
+ }
921
+ };
922
+ /**
923
+ * @generated MessageType for protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
924
+ */
925
+ const UnpatchedDependencyAlert = new UnpatchedDependencyAlert$Type();
702
926
  /**
703
927
  * @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
704
928
  */
@@ -754,6 +978,12 @@ Object.defineProperty(exports, 'GetMockResponse', {
754
978
  return GetMockResponse;
755
979
  }
756
980
  });
981
+ Object.defineProperty(exports, 'InstrumentationVersionMismatchAlert', {
982
+ enumerable: true,
983
+ get: function () {
984
+ return InstrumentationVersionMismatchAlert;
985
+ }
986
+ });
757
987
  Object.defineProperty(exports, 'MessageType', {
758
988
  enumerable: true,
759
989
  get: function () {
@@ -772,6 +1002,12 @@ Object.defineProperty(exports, 'SDKMessage', {
772
1002
  return SDKMessage;
773
1003
  }
774
1004
  });
1005
+ Object.defineProperty(exports, 'SendAlertRequest', {
1006
+ enumerable: true,
1007
+ get: function () {
1008
+ return SendAlertRequest;
1009
+ }
1010
+ });
775
1011
  Object.defineProperty(exports, 'SendInboundSpanForReplayRequest', {
776
1012
  enumerable: true,
777
1013
  get: function () {
@@ -784,4 +1020,10 @@ Object.defineProperty(exports, 'SendInboundSpanForReplayResponse', {
784
1020
  return SendInboundSpanForReplayResponse;
785
1021
  }
786
1022
  });
787
- //# sourceMappingURL=communication-CCZ2ZNgd.cjs.map
1023
+ Object.defineProperty(exports, 'UnpatchedDependencyAlert', {
1024
+ enumerable: true,
1025
+ get: function () {
1026
+ return UnpatchedDependencyAlert;
1027
+ }
1028
+ });
1029
+ //# sourceMappingURL=communication-CrsH38km.cjs.map