@gitpod/supervisor-api-grpcweb 0.1.5-pd-ssh-gateway.11 → 0.1.5-pd-use-userpk.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -75,3 +75,43 @@ export namespace CreateSSHKeyPairResponse {
75
75
  }
76
76
  }
77
77
 
78
+ export class VerifyPublicKeyRequest extends jspb.Message {
79
+ getPublicKey(): string;
80
+ setPublicKey(value: string): void;
81
+
82
+ serializeBinary(): Uint8Array;
83
+ toObject(includeInstance?: boolean): VerifyPublicKeyRequest.AsObject;
84
+ static toObject(includeInstance: boolean, msg: VerifyPublicKeyRequest): VerifyPublicKeyRequest.AsObject;
85
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
86
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
87
+ static serializeBinaryToWriter(message: VerifyPublicKeyRequest, writer: jspb.BinaryWriter): void;
88
+ static deserializeBinary(bytes: Uint8Array): VerifyPublicKeyRequest;
89
+ static deserializeBinaryFromReader(message: VerifyPublicKeyRequest, reader: jspb.BinaryReader): VerifyPublicKeyRequest;
90
+ }
91
+
92
+ export namespace VerifyPublicKeyRequest {
93
+ export type AsObject = {
94
+ publicKey: string,
95
+ }
96
+ }
97
+
98
+ export class VerifyPublicKeyResponse extends jspb.Message {
99
+ getOk(): boolean;
100
+ setOk(value: boolean): void;
101
+
102
+ serializeBinary(): Uint8Array;
103
+ toObject(includeInstance?: boolean): VerifyPublicKeyResponse.AsObject;
104
+ static toObject(includeInstance: boolean, msg: VerifyPublicKeyResponse): VerifyPublicKeyResponse.AsObject;
105
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
106
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
107
+ static serializeBinaryToWriter(message: VerifyPublicKeyResponse, writer: jspb.BinaryWriter): void;
108
+ static deserializeBinary(bytes: Uint8Array): VerifyPublicKeyResponse;
109
+ static deserializeBinaryFromReader(message: VerifyPublicKeyResponse, reader: jspb.BinaryReader): VerifyPublicKeyResponse;
110
+ }
111
+
112
+ export namespace VerifyPublicKeyResponse {
113
+ export type AsObject = {
114
+ ok: boolean,
115
+ }
116
+ }
117
+
package/lib/control_pb.js CHANGED
@@ -13,18 +13,14 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
23
17
 
24
18
  goog.exportSymbol('proto.supervisor.CreateSSHKeyPairRequest', null, global);
25
19
  goog.exportSymbol('proto.supervisor.CreateSSHKeyPairResponse', null, global);
26
20
  goog.exportSymbol('proto.supervisor.ExposePortRequest', null, global);
27
21
  goog.exportSymbol('proto.supervisor.ExposePortResponse', null, global);
22
+ goog.exportSymbol('proto.supervisor.VerifyPublicKeyRequest', null, global);
23
+ goog.exportSymbol('proto.supervisor.VerifyPublicKeyResponse', null, global);
28
24
  /**
29
25
  * Generated by JsPbCodeGenerator.
30
26
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -109,6 +105,48 @@ if (goog.DEBUG && !COMPILED) {
109
105
  */
110
106
  proto.supervisor.CreateSSHKeyPairResponse.displayName = 'proto.supervisor.CreateSSHKeyPairResponse';
111
107
  }
108
+ /**
109
+ * Generated by JsPbCodeGenerator.
110
+ * @param {Array=} opt_data Optional initial data array, typically from a
111
+ * server response, or constructed directly in Javascript. The array is used
112
+ * in place and becomes part of the constructed object. It is not cloned.
113
+ * If no data is provided, the constructed object will be empty, but still
114
+ * valid.
115
+ * @extends {jspb.Message}
116
+ * @constructor
117
+ */
118
+ proto.supervisor.VerifyPublicKeyRequest = function(opt_data) {
119
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
120
+ };
121
+ goog.inherits(proto.supervisor.VerifyPublicKeyRequest, jspb.Message);
122
+ if (goog.DEBUG && !COMPILED) {
123
+ /**
124
+ * @public
125
+ * @override
126
+ */
127
+ proto.supervisor.VerifyPublicKeyRequest.displayName = 'proto.supervisor.VerifyPublicKeyRequest';
128
+ }
129
+ /**
130
+ * Generated by JsPbCodeGenerator.
131
+ * @param {Array=} opt_data Optional initial data array, typically from a
132
+ * server response, or constructed directly in Javascript. The array is used
133
+ * in place and becomes part of the constructed object. It is not cloned.
134
+ * If no data is provided, the constructed object will be empty, but still
135
+ * valid.
136
+ * @extends {jspb.Message}
137
+ * @constructor
138
+ */
139
+ proto.supervisor.VerifyPublicKeyResponse = function(opt_data) {
140
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
141
+ };
142
+ goog.inherits(proto.supervisor.VerifyPublicKeyResponse, jspb.Message);
143
+ if (goog.DEBUG && !COMPILED) {
144
+ /**
145
+ * @public
146
+ * @override
147
+ */
148
+ proto.supervisor.VerifyPublicKeyResponse.displayName = 'proto.supervisor.VerifyPublicKeyResponse';
149
+ }
112
150
 
113
151
 
114
152
 
@@ -571,4 +609,264 @@ proto.supervisor.CreateSSHKeyPairResponse.prototype.setPrivateKey = function(val
571
609
  };
572
610
 
573
611
 
612
+
613
+
614
+
615
+ if (jspb.Message.GENERATE_TO_OBJECT) {
616
+ /**
617
+ * Creates an object representation of this proto.
618
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
619
+ * Optional fields that are not set will be set to undefined.
620
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
621
+ * For the list of reserved names please see:
622
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
623
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
624
+ * JSPB instance for transitional soy proto support:
625
+ * http://goto/soy-param-migration
626
+ * @return {!Object}
627
+ */
628
+ proto.supervisor.VerifyPublicKeyRequest.prototype.toObject = function(opt_includeInstance) {
629
+ return proto.supervisor.VerifyPublicKeyRequest.toObject(opt_includeInstance, this);
630
+ };
631
+
632
+
633
+ /**
634
+ * Static version of the {@see toObject} method.
635
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
636
+ * the JSPB instance for transitional soy proto support:
637
+ * http://goto/soy-param-migration
638
+ * @param {!proto.supervisor.VerifyPublicKeyRequest} msg The msg instance to transform.
639
+ * @return {!Object}
640
+ * @suppress {unusedLocalVariables} f is only used for nested messages
641
+ */
642
+ proto.supervisor.VerifyPublicKeyRequest.toObject = function(includeInstance, msg) {
643
+ var f, obj = {
644
+ publicKey: jspb.Message.getFieldWithDefault(msg, 1, "")
645
+ };
646
+
647
+ if (includeInstance) {
648
+ obj.$jspbMessageInstance = msg;
649
+ }
650
+ return obj;
651
+ };
652
+ }
653
+
654
+
655
+ /**
656
+ * Deserializes binary data (in protobuf wire format).
657
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
658
+ * @return {!proto.supervisor.VerifyPublicKeyRequest}
659
+ */
660
+ proto.supervisor.VerifyPublicKeyRequest.deserializeBinary = function(bytes) {
661
+ var reader = new jspb.BinaryReader(bytes);
662
+ var msg = new proto.supervisor.VerifyPublicKeyRequest;
663
+ return proto.supervisor.VerifyPublicKeyRequest.deserializeBinaryFromReader(msg, reader);
664
+ };
665
+
666
+
667
+ /**
668
+ * Deserializes binary data (in protobuf wire format) from the
669
+ * given reader into the given message object.
670
+ * @param {!proto.supervisor.VerifyPublicKeyRequest} msg The message object to deserialize into.
671
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
672
+ * @return {!proto.supervisor.VerifyPublicKeyRequest}
673
+ */
674
+ proto.supervisor.VerifyPublicKeyRequest.deserializeBinaryFromReader = function(msg, reader) {
675
+ while (reader.nextField()) {
676
+ if (reader.isEndGroup()) {
677
+ break;
678
+ }
679
+ var field = reader.getFieldNumber();
680
+ switch (field) {
681
+ case 1:
682
+ var value = /** @type {string} */ (reader.readString());
683
+ msg.setPublicKey(value);
684
+ break;
685
+ default:
686
+ reader.skipField();
687
+ break;
688
+ }
689
+ }
690
+ return msg;
691
+ };
692
+
693
+
694
+ /**
695
+ * Serializes the message to binary data (in protobuf wire format).
696
+ * @return {!Uint8Array}
697
+ */
698
+ proto.supervisor.VerifyPublicKeyRequest.prototype.serializeBinary = function() {
699
+ var writer = new jspb.BinaryWriter();
700
+ proto.supervisor.VerifyPublicKeyRequest.serializeBinaryToWriter(this, writer);
701
+ return writer.getResultBuffer();
702
+ };
703
+
704
+
705
+ /**
706
+ * Serializes the given message to binary data (in protobuf wire
707
+ * format), writing to the given BinaryWriter.
708
+ * @param {!proto.supervisor.VerifyPublicKeyRequest} message
709
+ * @param {!jspb.BinaryWriter} writer
710
+ * @suppress {unusedLocalVariables} f is only used for nested messages
711
+ */
712
+ proto.supervisor.VerifyPublicKeyRequest.serializeBinaryToWriter = function(message, writer) {
713
+ var f = undefined;
714
+ f = message.getPublicKey();
715
+ if (f.length > 0) {
716
+ writer.writeString(
717
+ 1,
718
+ f
719
+ );
720
+ }
721
+ };
722
+
723
+
724
+ /**
725
+ * optional string public_key = 1;
726
+ * @return {string}
727
+ */
728
+ proto.supervisor.VerifyPublicKeyRequest.prototype.getPublicKey = function() {
729
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
730
+ };
731
+
732
+
733
+ /**
734
+ * @param {string} value
735
+ * @return {!proto.supervisor.VerifyPublicKeyRequest} returns this
736
+ */
737
+ proto.supervisor.VerifyPublicKeyRequest.prototype.setPublicKey = function(value) {
738
+ return jspb.Message.setProto3StringField(this, 1, value);
739
+ };
740
+
741
+
742
+
743
+
744
+
745
+ if (jspb.Message.GENERATE_TO_OBJECT) {
746
+ /**
747
+ * Creates an object representation of this proto.
748
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
749
+ * Optional fields that are not set will be set to undefined.
750
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
751
+ * For the list of reserved names please see:
752
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
753
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
754
+ * JSPB instance for transitional soy proto support:
755
+ * http://goto/soy-param-migration
756
+ * @return {!Object}
757
+ */
758
+ proto.supervisor.VerifyPublicKeyResponse.prototype.toObject = function(opt_includeInstance) {
759
+ return proto.supervisor.VerifyPublicKeyResponse.toObject(opt_includeInstance, this);
760
+ };
761
+
762
+
763
+ /**
764
+ * Static version of the {@see toObject} method.
765
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
766
+ * the JSPB instance for transitional soy proto support:
767
+ * http://goto/soy-param-migration
768
+ * @param {!proto.supervisor.VerifyPublicKeyResponse} msg The msg instance to transform.
769
+ * @return {!Object}
770
+ * @suppress {unusedLocalVariables} f is only used for nested messages
771
+ */
772
+ proto.supervisor.VerifyPublicKeyResponse.toObject = function(includeInstance, msg) {
773
+ var f, obj = {
774
+ ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
775
+ };
776
+
777
+ if (includeInstance) {
778
+ obj.$jspbMessageInstance = msg;
779
+ }
780
+ return obj;
781
+ };
782
+ }
783
+
784
+
785
+ /**
786
+ * Deserializes binary data (in protobuf wire format).
787
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
788
+ * @return {!proto.supervisor.VerifyPublicKeyResponse}
789
+ */
790
+ proto.supervisor.VerifyPublicKeyResponse.deserializeBinary = function(bytes) {
791
+ var reader = new jspb.BinaryReader(bytes);
792
+ var msg = new proto.supervisor.VerifyPublicKeyResponse;
793
+ return proto.supervisor.VerifyPublicKeyResponse.deserializeBinaryFromReader(msg, reader);
794
+ };
795
+
796
+
797
+ /**
798
+ * Deserializes binary data (in protobuf wire format) from the
799
+ * given reader into the given message object.
800
+ * @param {!proto.supervisor.VerifyPublicKeyResponse} msg The message object to deserialize into.
801
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
802
+ * @return {!proto.supervisor.VerifyPublicKeyResponse}
803
+ */
804
+ proto.supervisor.VerifyPublicKeyResponse.deserializeBinaryFromReader = function(msg, reader) {
805
+ while (reader.nextField()) {
806
+ if (reader.isEndGroup()) {
807
+ break;
808
+ }
809
+ var field = reader.getFieldNumber();
810
+ switch (field) {
811
+ case 1:
812
+ var value = /** @type {boolean} */ (reader.readBool());
813
+ msg.setOk(value);
814
+ break;
815
+ default:
816
+ reader.skipField();
817
+ break;
818
+ }
819
+ }
820
+ return msg;
821
+ };
822
+
823
+
824
+ /**
825
+ * Serializes the message to binary data (in protobuf wire format).
826
+ * @return {!Uint8Array}
827
+ */
828
+ proto.supervisor.VerifyPublicKeyResponse.prototype.serializeBinary = function() {
829
+ var writer = new jspb.BinaryWriter();
830
+ proto.supervisor.VerifyPublicKeyResponse.serializeBinaryToWriter(this, writer);
831
+ return writer.getResultBuffer();
832
+ };
833
+
834
+
835
+ /**
836
+ * Serializes the given message to binary data (in protobuf wire
837
+ * format), writing to the given BinaryWriter.
838
+ * @param {!proto.supervisor.VerifyPublicKeyResponse} message
839
+ * @param {!jspb.BinaryWriter} writer
840
+ * @suppress {unusedLocalVariables} f is only used for nested messages
841
+ */
842
+ proto.supervisor.VerifyPublicKeyResponse.serializeBinaryToWriter = function(message, writer) {
843
+ var f = undefined;
844
+ f = message.getOk();
845
+ if (f) {
846
+ writer.writeBool(
847
+ 1,
848
+ f
849
+ );
850
+ }
851
+ };
852
+
853
+
854
+ /**
855
+ * optional bool ok = 1;
856
+ * @return {boolean}
857
+ */
858
+ proto.supervisor.VerifyPublicKeyResponse.prototype.getOk = function() {
859
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
860
+ };
861
+
862
+
863
+ /**
864
+ * @param {boolean} value
865
+ * @return {!proto.supervisor.VerifyPublicKeyResponse} returns this
866
+ */
867
+ proto.supervisor.VerifyPublicKeyResponse.prototype.setOk = function(value) {
868
+ return jspb.Message.setProto3BooleanField(this, 1, value);
869
+ };
870
+
871
+
574
872
  goog.object.extend(exports, proto.supervisor);
@@ -22,10 +22,20 @@ type ControlServiceCreateSSHKeyPair = {
22
22
  readonly responseType: typeof control_pb.CreateSSHKeyPairResponse;
23
23
  };
24
24
 
25
+ type ControlServiceVerifyKeyPair = {
26
+ readonly methodName: string;
27
+ readonly service: typeof ControlService;
28
+ readonly requestStream: false;
29
+ readonly responseStream: false;
30
+ readonly requestType: typeof control_pb.VerifyPublicKeyRequest;
31
+ readonly responseType: typeof control_pb.VerifyPublicKeyResponse;
32
+ };
33
+
25
34
  export class ControlService {
26
35
  static readonly serviceName: string;
27
36
  static readonly ExposePort: ControlServiceExposePort;
28
37
  static readonly CreateSSHKeyPair: ControlServiceCreateSSHKeyPair;
38
+ static readonly VerifyKeyPair: ControlServiceVerifyKeyPair;
29
39
  }
30
40
 
31
41
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -78,5 +88,14 @@ export class ControlServiceClient {
78
88
  requestMessage: control_pb.CreateSSHKeyPairRequest,
79
89
  callback: (error: ServiceError|null, responseMessage: control_pb.CreateSSHKeyPairResponse|null) => void
80
90
  ): UnaryResponse;
91
+ verifyKeyPair(
92
+ requestMessage: control_pb.VerifyPublicKeyRequest,
93
+ metadata: grpc.Metadata,
94
+ callback: (error: ServiceError|null, responseMessage: control_pb.VerifyPublicKeyResponse|null) => void
95
+ ): UnaryResponse;
96
+ verifyKeyPair(
97
+ requestMessage: control_pb.VerifyPublicKeyRequest,
98
+ callback: (error: ServiceError|null, responseMessage: control_pb.VerifyPublicKeyResponse|null) => void
99
+ ): UnaryResponse;
81
100
  }
82
101
 
@@ -28,6 +28,15 @@ ControlService.CreateSSHKeyPair = {
28
28
  responseType: control_pb.CreateSSHKeyPairResponse
29
29
  };
30
30
 
31
+ ControlService.VerifyKeyPair = {
32
+ methodName: "VerifyKeyPair",
33
+ service: ControlService,
34
+ requestStream: false,
35
+ responseStream: false,
36
+ requestType: control_pb.VerifyPublicKeyRequest,
37
+ responseType: control_pb.VerifyPublicKeyResponse
38
+ };
39
+
31
40
  exports.ControlService = ControlService;
32
41
 
33
42
  function ControlServiceClient(serviceHost, options) {
@@ -97,5 +106,36 @@ ControlServiceClient.prototype.createSSHKeyPair = function createSSHKeyPair(requ
97
106
  };
98
107
  };
99
108
 
109
+ ControlServiceClient.prototype.verifyKeyPair = function verifyKeyPair(requestMessage, metadata, callback) {
110
+ if (arguments.length === 2) {
111
+ callback = arguments[1];
112
+ }
113
+ var client = grpc.unary(ControlService.VerifyKeyPair, {
114
+ request: requestMessage,
115
+ host: this.serviceHost,
116
+ metadata: metadata,
117
+ transport: this.options.transport,
118
+ debug: this.options.debug,
119
+ onEnd: function (response) {
120
+ if (callback) {
121
+ if (response.status !== grpc.Code.OK) {
122
+ var err = new Error(response.statusMessage);
123
+ err.code = response.status;
124
+ err.metadata = response.trailers;
125
+ callback(err, null);
126
+ } else {
127
+ callback(null, response.message);
128
+ }
129
+ }
130
+ }
131
+ });
132
+ return {
133
+ cancel: function () {
134
+ callback = null;
135
+ client.close();
136
+ }
137
+ };
138
+ };
139
+
100
140
  exports.ControlServiceClient = ControlServiceClient;
101
141
 
package/lib/info_pb.js CHANGED
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
23
17
 
24
18
  goog.exportSymbol('proto.supervisor.WorkspaceInfoRequest', null, global);
25
19
  goog.exportSymbol('proto.supervisor.WorkspaceInfoResponse', null, global);
@@ -145,3 +145,188 @@ export namespace RespondResponse {
145
145
  }
146
146
  }
147
147
 
148
+ export class NotifyActiveRequest extends jspb.Message {
149
+ hasOpen(): boolean;
150
+ clearOpen(): void;
151
+ getOpen(): NotifyActiveRequest.OpenData | undefined;
152
+ setOpen(value?: NotifyActiveRequest.OpenData): void;
153
+
154
+ hasPreview(): boolean;
155
+ clearPreview(): void;
156
+ getPreview(): NotifyActiveRequest.PreviewData | undefined;
157
+ setPreview(value?: NotifyActiveRequest.PreviewData): void;
158
+
159
+ getActionDataCase(): NotifyActiveRequest.ActionDataCase;
160
+ serializeBinary(): Uint8Array;
161
+ toObject(includeInstance?: boolean): NotifyActiveRequest.AsObject;
162
+ static toObject(includeInstance: boolean, msg: NotifyActiveRequest): NotifyActiveRequest.AsObject;
163
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
164
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
165
+ static serializeBinaryToWriter(message: NotifyActiveRequest, writer: jspb.BinaryWriter): void;
166
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveRequest;
167
+ static deserializeBinaryFromReader(message: NotifyActiveRequest, reader: jspb.BinaryReader): NotifyActiveRequest;
168
+ }
169
+
170
+ export namespace NotifyActiveRequest {
171
+ export type AsObject = {
172
+ open?: NotifyActiveRequest.OpenData.AsObject,
173
+ preview?: NotifyActiveRequest.PreviewData.AsObject,
174
+ }
175
+
176
+ export class OpenData extends jspb.Message {
177
+ clearUrlsList(): void;
178
+ getUrlsList(): Array<string>;
179
+ setUrlsList(value: Array<string>): void;
180
+ addUrls(value: string, index?: number): string;
181
+
182
+ getAwait(): boolean;
183
+ setAwait(value: boolean): void;
184
+
185
+ serializeBinary(): Uint8Array;
186
+ toObject(includeInstance?: boolean): OpenData.AsObject;
187
+ static toObject(includeInstance: boolean, msg: OpenData): OpenData.AsObject;
188
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
189
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
190
+ static serializeBinaryToWriter(message: OpenData, writer: jspb.BinaryWriter): void;
191
+ static deserializeBinary(bytes: Uint8Array): OpenData;
192
+ static deserializeBinaryFromReader(message: OpenData, reader: jspb.BinaryReader): OpenData;
193
+ }
194
+
195
+ export namespace OpenData {
196
+ export type AsObject = {
197
+ urlsList: Array<string>,
198
+ await: boolean,
199
+ }
200
+ }
201
+
202
+ export class PreviewData extends jspb.Message {
203
+ getUrl(): string;
204
+ setUrl(value: string): void;
205
+
206
+ getExternal(): boolean;
207
+ setExternal(value: boolean): void;
208
+
209
+ serializeBinary(): Uint8Array;
210
+ toObject(includeInstance?: boolean): PreviewData.AsObject;
211
+ static toObject(includeInstance: boolean, msg: PreviewData): PreviewData.AsObject;
212
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
213
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
214
+ static serializeBinaryToWriter(message: PreviewData, writer: jspb.BinaryWriter): void;
215
+ static deserializeBinary(bytes: Uint8Array): PreviewData;
216
+ static deserializeBinaryFromReader(message: PreviewData, reader: jspb.BinaryReader): PreviewData;
217
+ }
218
+
219
+ export namespace PreviewData {
220
+ export type AsObject = {
221
+ url: string,
222
+ external: boolean,
223
+ }
224
+ }
225
+
226
+ export enum ActionDataCase {
227
+ ACTION_DATA_NOT_SET = 0,
228
+ OPEN = 1,
229
+ PREVIEW = 2,
230
+ }
231
+ }
232
+
233
+ export class NotifyActiveResponse extends jspb.Message {
234
+ serializeBinary(): Uint8Array;
235
+ toObject(includeInstance?: boolean): NotifyActiveResponse.AsObject;
236
+ static toObject(includeInstance: boolean, msg: NotifyActiveResponse): NotifyActiveResponse.AsObject;
237
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
238
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
239
+ static serializeBinaryToWriter(message: NotifyActiveResponse, writer: jspb.BinaryWriter): void;
240
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveResponse;
241
+ static deserializeBinaryFromReader(message: NotifyActiveResponse, reader: jspb.BinaryReader): NotifyActiveResponse;
242
+ }
243
+
244
+ export namespace NotifyActiveResponse {
245
+ export type AsObject = {
246
+ }
247
+ }
248
+
249
+ export class SubscribeActiveRequest extends jspb.Message {
250
+ serializeBinary(): Uint8Array;
251
+ toObject(includeInstance?: boolean): SubscribeActiveRequest.AsObject;
252
+ static toObject(includeInstance: boolean, msg: SubscribeActiveRequest): SubscribeActiveRequest.AsObject;
253
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
254
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
255
+ static serializeBinaryToWriter(message: SubscribeActiveRequest, writer: jspb.BinaryWriter): void;
256
+ static deserializeBinary(bytes: Uint8Array): SubscribeActiveRequest;
257
+ static deserializeBinaryFromReader(message: SubscribeActiveRequest, reader: jspb.BinaryReader): SubscribeActiveRequest;
258
+ }
259
+
260
+ export namespace SubscribeActiveRequest {
261
+ export type AsObject = {
262
+ }
263
+ }
264
+
265
+ export class SubscribeActiveResponse extends jspb.Message {
266
+ getRequestid(): number;
267
+ setRequestid(value: number): void;
268
+
269
+ hasRequest(): boolean;
270
+ clearRequest(): void;
271
+ getRequest(): NotifyActiveRequest | undefined;
272
+ setRequest(value?: NotifyActiveRequest): void;
273
+
274
+ serializeBinary(): Uint8Array;
275
+ toObject(includeInstance?: boolean): SubscribeActiveResponse.AsObject;
276
+ static toObject(includeInstance: boolean, msg: SubscribeActiveResponse): SubscribeActiveResponse.AsObject;
277
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
278
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
279
+ static serializeBinaryToWriter(message: SubscribeActiveResponse, writer: jspb.BinaryWriter): void;
280
+ static deserializeBinary(bytes: Uint8Array): SubscribeActiveResponse;
281
+ static deserializeBinaryFromReader(message: SubscribeActiveResponse, reader: jspb.BinaryReader): SubscribeActiveResponse;
282
+ }
283
+
284
+ export namespace SubscribeActiveResponse {
285
+ export type AsObject = {
286
+ requestid: number,
287
+ request?: NotifyActiveRequest.AsObject,
288
+ }
289
+ }
290
+
291
+ export class NotifyActiveRespondRequest extends jspb.Message {
292
+ getRequestid(): number;
293
+ setRequestid(value: number): void;
294
+
295
+ hasResponse(): boolean;
296
+ clearResponse(): void;
297
+ getResponse(): NotifyActiveResponse | undefined;
298
+ setResponse(value?: NotifyActiveResponse): void;
299
+
300
+ serializeBinary(): Uint8Array;
301
+ toObject(includeInstance?: boolean): NotifyActiveRespondRequest.AsObject;
302
+ static toObject(includeInstance: boolean, msg: NotifyActiveRespondRequest): NotifyActiveRespondRequest.AsObject;
303
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
304
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
305
+ static serializeBinaryToWriter(message: NotifyActiveRespondRequest, writer: jspb.BinaryWriter): void;
306
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveRespondRequest;
307
+ static deserializeBinaryFromReader(message: NotifyActiveRespondRequest, reader: jspb.BinaryReader): NotifyActiveRespondRequest;
308
+ }
309
+
310
+ export namespace NotifyActiveRespondRequest {
311
+ export type AsObject = {
312
+ requestid: number,
313
+ response?: NotifyActiveResponse.AsObject,
314
+ }
315
+ }
316
+
317
+ export class NotifyActiveRespondResponse extends jspb.Message {
318
+ serializeBinary(): Uint8Array;
319
+ toObject(includeInstance?: boolean): NotifyActiveRespondResponse.AsObject;
320
+ static toObject(includeInstance: boolean, msg: NotifyActiveRespondResponse): NotifyActiveRespondResponse.AsObject;
321
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
322
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
323
+ static serializeBinaryToWriter(message: NotifyActiveRespondResponse, writer: jspb.BinaryWriter): void;
324
+ static deserializeBinary(bytes: Uint8Array): NotifyActiveRespondResponse;
325
+ static deserializeBinaryFromReader(message: NotifyActiveRespondResponse, reader: jspb.BinaryReader): NotifyActiveRespondResponse;
326
+ }
327
+
328
+ export namespace NotifyActiveRespondResponse {
329
+ export type AsObject = {
330
+ }
331
+ }
332
+