@sellout/models 0.0.314 → 0.0.316

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.
@@ -74867,6 +74867,517 @@ $root.WaitListQuery = (function() {
74867
74867
  return WaitListQuery;
74868
74868
  })();
74869
74869
 
74870
+ $root.FindApiKeyRequest = (function() {
74871
+
74872
+ /**
74873
+ * Properties of a FindApiKeyRequest.
74874
+ * @exports IFindApiKeyRequest
74875
+ * @interface IFindApiKeyRequest
74876
+ * @property {string|null} [spanContext] FindApiKeyRequest spanContext
74877
+ * @property {string|null} [orgId] FindApiKeyRequest orgId
74878
+ * @property {string|null} [apiKey] FindApiKeyRequest apiKey
74879
+ */
74880
+
74881
+ /**
74882
+ * Constructs a new FindApiKeyRequest.
74883
+ * @exports FindApiKeyRequest
74884
+ * @classdesc Represents a FindApiKeyRequest.
74885
+ * @implements IFindApiKeyRequest
74886
+ * @constructor
74887
+ * @param {IFindApiKeyRequest=} [properties] Properties to set
74888
+ */
74889
+ function FindApiKeyRequest(properties) {
74890
+ if (properties)
74891
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
74892
+ if (properties[keys[i]] != null)
74893
+ this[keys[i]] = properties[keys[i]];
74894
+ }
74895
+
74896
+ /**
74897
+ * FindApiKeyRequest spanContext.
74898
+ * @member {string} spanContext
74899
+ * @memberof FindApiKeyRequest
74900
+ * @instance
74901
+ */
74902
+ FindApiKeyRequest.prototype.spanContext = "";
74903
+
74904
+ /**
74905
+ * FindApiKeyRequest orgId.
74906
+ * @member {string} orgId
74907
+ * @memberof FindApiKeyRequest
74908
+ * @instance
74909
+ */
74910
+ FindApiKeyRequest.prototype.orgId = "";
74911
+
74912
+ /**
74913
+ * FindApiKeyRequest apiKey.
74914
+ * @member {string} apiKey
74915
+ * @memberof FindApiKeyRequest
74916
+ * @instance
74917
+ */
74918
+ FindApiKeyRequest.prototype.apiKey = "";
74919
+
74920
+ /**
74921
+ * Creates a new FindApiKeyRequest instance using the specified properties.
74922
+ * @function create
74923
+ * @memberof FindApiKeyRequest
74924
+ * @static
74925
+ * @param {IFindApiKeyRequest=} [properties] Properties to set
74926
+ * @returns {FindApiKeyRequest} FindApiKeyRequest instance
74927
+ */
74928
+ FindApiKeyRequest.create = function create(properties) {
74929
+ return new FindApiKeyRequest(properties);
74930
+ };
74931
+
74932
+ /**
74933
+ * Encodes the specified FindApiKeyRequest message. Does not implicitly {@link FindApiKeyRequest.verify|verify} messages.
74934
+ * @function encode
74935
+ * @memberof FindApiKeyRequest
74936
+ * @static
74937
+ * @param {IFindApiKeyRequest} message FindApiKeyRequest message or plain object to encode
74938
+ * @param {$protobuf.Writer} [writer] Writer to encode to
74939
+ * @returns {$protobuf.Writer} Writer
74940
+ */
74941
+ FindApiKeyRequest.encode = function encode(message, writer) {
74942
+ if (!writer)
74943
+ writer = $Writer.create();
74944
+ if (message.spanContext != null && Object.hasOwnProperty.call(message, "spanContext"))
74945
+ writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
74946
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
74947
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
74948
+ if (message.apiKey != null && Object.hasOwnProperty.call(message, "apiKey"))
74949
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.apiKey);
74950
+ return writer;
74951
+ };
74952
+
74953
+ /**
74954
+ * Encodes the specified FindApiKeyRequest message, length delimited. Does not implicitly {@link FindApiKeyRequest.verify|verify} messages.
74955
+ * @function encodeDelimited
74956
+ * @memberof FindApiKeyRequest
74957
+ * @static
74958
+ * @param {IFindApiKeyRequest} message FindApiKeyRequest message or plain object to encode
74959
+ * @param {$protobuf.Writer} [writer] Writer to encode to
74960
+ * @returns {$protobuf.Writer} Writer
74961
+ */
74962
+ FindApiKeyRequest.encodeDelimited = function encodeDelimited(message, writer) {
74963
+ return this.encode(message, writer).ldelim();
74964
+ };
74965
+
74966
+ /**
74967
+ * Decodes a FindApiKeyRequest message from the specified reader or buffer.
74968
+ * @function decode
74969
+ * @memberof FindApiKeyRequest
74970
+ * @static
74971
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
74972
+ * @param {number} [length] Message length if known beforehand
74973
+ * @returns {FindApiKeyRequest} FindApiKeyRequest
74974
+ * @throws {Error} If the payload is not a reader or valid buffer
74975
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
74976
+ */
74977
+ FindApiKeyRequest.decode = function decode(reader, length) {
74978
+ if (!(reader instanceof $Reader))
74979
+ reader = $Reader.create(reader);
74980
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FindApiKeyRequest();
74981
+ while (reader.pos < end) {
74982
+ var tag = reader.uint32();
74983
+ switch (tag >>> 3) {
74984
+ case 0:
74985
+ message.spanContext = reader.string();
74986
+ break;
74987
+ case 1:
74988
+ message.orgId = reader.string();
74989
+ break;
74990
+ case 2:
74991
+ message.apiKey = reader.string();
74992
+ break;
74993
+ default:
74994
+ reader.skipType(tag & 7);
74995
+ break;
74996
+ }
74997
+ }
74998
+ return message;
74999
+ };
75000
+
75001
+ /**
75002
+ * Decodes a FindApiKeyRequest message from the specified reader or buffer, length delimited.
75003
+ * @function decodeDelimited
75004
+ * @memberof FindApiKeyRequest
75005
+ * @static
75006
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
75007
+ * @returns {FindApiKeyRequest} FindApiKeyRequest
75008
+ * @throws {Error} If the payload is not a reader or valid buffer
75009
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
75010
+ */
75011
+ FindApiKeyRequest.decodeDelimited = function decodeDelimited(reader) {
75012
+ if (!(reader instanceof $Reader))
75013
+ reader = new $Reader(reader);
75014
+ return this.decode(reader, reader.uint32());
75015
+ };
75016
+
75017
+ /**
75018
+ * Verifies a FindApiKeyRequest message.
75019
+ * @function verify
75020
+ * @memberof FindApiKeyRequest
75021
+ * @static
75022
+ * @param {Object.<string,*>} message Plain object to verify
75023
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
75024
+ */
75025
+ FindApiKeyRequest.verify = function verify(message) {
75026
+ if (typeof message !== "object" || message === null)
75027
+ return "object expected";
75028
+ if (message.spanContext != null && message.hasOwnProperty("spanContext"))
75029
+ if (!$util.isString(message.spanContext))
75030
+ return "spanContext: string expected";
75031
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
75032
+ if (!$util.isString(message.orgId))
75033
+ return "orgId: string expected";
75034
+ if (message.apiKey != null && message.hasOwnProperty("apiKey"))
75035
+ if (!$util.isString(message.apiKey))
75036
+ return "apiKey: string expected";
75037
+ return null;
75038
+ };
75039
+
75040
+ /**
75041
+ * Creates a FindApiKeyRequest message from a plain object. Also converts values to their respective internal types.
75042
+ * @function fromObject
75043
+ * @memberof FindApiKeyRequest
75044
+ * @static
75045
+ * @param {Object.<string,*>} object Plain object
75046
+ * @returns {FindApiKeyRequest} FindApiKeyRequest
75047
+ */
75048
+ FindApiKeyRequest.fromObject = function fromObject(object) {
75049
+ if (object instanceof $root.FindApiKeyRequest)
75050
+ return object;
75051
+ var message = new $root.FindApiKeyRequest();
75052
+ if (object.spanContext != null)
75053
+ message.spanContext = String(object.spanContext);
75054
+ if (object.orgId != null)
75055
+ message.orgId = String(object.orgId);
75056
+ if (object.apiKey != null)
75057
+ message.apiKey = String(object.apiKey);
75058
+ return message;
75059
+ };
75060
+
75061
+ /**
75062
+ * Creates a plain object from a FindApiKeyRequest message. Also converts values to other types if specified.
75063
+ * @function toObject
75064
+ * @memberof FindApiKeyRequest
75065
+ * @static
75066
+ * @param {FindApiKeyRequest} message FindApiKeyRequest
75067
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
75068
+ * @returns {Object.<string,*>} Plain object
75069
+ */
75070
+ FindApiKeyRequest.toObject = function toObject(message, options) {
75071
+ if (!options)
75072
+ options = {};
75073
+ var object = {};
75074
+ if (options.defaults) {
75075
+ object.spanContext = "";
75076
+ object.orgId = "";
75077
+ object.apiKey = "";
75078
+ }
75079
+ if (message.spanContext != null && message.hasOwnProperty("spanContext"))
75080
+ object.spanContext = message.spanContext;
75081
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
75082
+ object.orgId = message.orgId;
75083
+ if (message.apiKey != null && message.hasOwnProperty("apiKey"))
75084
+ object.apiKey = message.apiKey;
75085
+ return object;
75086
+ };
75087
+
75088
+ /**
75089
+ * Converts this FindApiKeyRequest to JSON.
75090
+ * @function toJSON
75091
+ * @memberof FindApiKeyRequest
75092
+ * @instance
75093
+ * @returns {Object.<string,*>} JSON object
75094
+ */
75095
+ FindApiKeyRequest.prototype.toJSON = function toJSON() {
75096
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
75097
+ };
75098
+
75099
+ return FindApiKeyRequest;
75100
+ })();
75101
+
75102
+ $root.FindApiKeyResponse = (function() {
75103
+
75104
+ /**
75105
+ * Properties of a FindApiKeyResponse.
75106
+ * @exports IFindApiKeyResponse
75107
+ * @interface IFindApiKeyResponse
75108
+ * @property {StatusCode|null} [status] FindApiKeyResponse status
75109
+ * @property {Array.<IError>|null} [errors] FindApiKeyResponse errors
75110
+ */
75111
+
75112
+ /**
75113
+ * Constructs a new FindApiKeyResponse.
75114
+ * @exports FindApiKeyResponse
75115
+ * @classdesc Represents a FindApiKeyResponse.
75116
+ * @implements IFindApiKeyResponse
75117
+ * @constructor
75118
+ * @param {IFindApiKeyResponse=} [properties] Properties to set
75119
+ */
75120
+ function FindApiKeyResponse(properties) {
75121
+ this.errors = [];
75122
+ if (properties)
75123
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
75124
+ if (properties[keys[i]] != null)
75125
+ this[keys[i]] = properties[keys[i]];
75126
+ }
75127
+
75128
+ /**
75129
+ * FindApiKeyResponse status.
75130
+ * @member {StatusCode} status
75131
+ * @memberof FindApiKeyResponse
75132
+ * @instance
75133
+ */
75134
+ FindApiKeyResponse.prototype.status = 0;
75135
+
75136
+ /**
75137
+ * FindApiKeyResponse errors.
75138
+ * @member {Array.<IError>} errors
75139
+ * @memberof FindApiKeyResponse
75140
+ * @instance
75141
+ */
75142
+ FindApiKeyResponse.prototype.errors = $util.emptyArray;
75143
+
75144
+ /**
75145
+ * Creates a new FindApiKeyResponse instance using the specified properties.
75146
+ * @function create
75147
+ * @memberof FindApiKeyResponse
75148
+ * @static
75149
+ * @param {IFindApiKeyResponse=} [properties] Properties to set
75150
+ * @returns {FindApiKeyResponse} FindApiKeyResponse instance
75151
+ */
75152
+ FindApiKeyResponse.create = function create(properties) {
75153
+ return new FindApiKeyResponse(properties);
75154
+ };
75155
+
75156
+ /**
75157
+ * Encodes the specified FindApiKeyResponse message. Does not implicitly {@link FindApiKeyResponse.verify|verify} messages.
75158
+ * @function encode
75159
+ * @memberof FindApiKeyResponse
75160
+ * @static
75161
+ * @param {IFindApiKeyResponse} message FindApiKeyResponse message or plain object to encode
75162
+ * @param {$protobuf.Writer} [writer] Writer to encode to
75163
+ * @returns {$protobuf.Writer} Writer
75164
+ */
75165
+ FindApiKeyResponse.encode = function encode(message, writer) {
75166
+ if (!writer)
75167
+ writer = $Writer.create();
75168
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
75169
+ writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
75170
+ if (message.errors != null && message.errors.length)
75171
+ for (var i = 0; i < message.errors.length; ++i)
75172
+ $root.Error.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
75173
+ return writer;
75174
+ };
75175
+
75176
+ /**
75177
+ * Encodes the specified FindApiKeyResponse message, length delimited. Does not implicitly {@link FindApiKeyResponse.verify|verify} messages.
75178
+ * @function encodeDelimited
75179
+ * @memberof FindApiKeyResponse
75180
+ * @static
75181
+ * @param {IFindApiKeyResponse} message FindApiKeyResponse message or plain object to encode
75182
+ * @param {$protobuf.Writer} [writer] Writer to encode to
75183
+ * @returns {$protobuf.Writer} Writer
75184
+ */
75185
+ FindApiKeyResponse.encodeDelimited = function encodeDelimited(message, writer) {
75186
+ return this.encode(message, writer).ldelim();
75187
+ };
75188
+
75189
+ /**
75190
+ * Decodes a FindApiKeyResponse message from the specified reader or buffer.
75191
+ * @function decode
75192
+ * @memberof FindApiKeyResponse
75193
+ * @static
75194
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
75195
+ * @param {number} [length] Message length if known beforehand
75196
+ * @returns {FindApiKeyResponse} FindApiKeyResponse
75197
+ * @throws {Error} If the payload is not a reader or valid buffer
75198
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
75199
+ */
75200
+ FindApiKeyResponse.decode = function decode(reader, length) {
75201
+ if (!(reader instanceof $Reader))
75202
+ reader = $Reader.create(reader);
75203
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FindApiKeyResponse();
75204
+ while (reader.pos < end) {
75205
+ var tag = reader.uint32();
75206
+ switch (tag >>> 3) {
75207
+ case 0:
75208
+ message.status = reader.int32();
75209
+ break;
75210
+ case 1:
75211
+ if (!(message.errors && message.errors.length))
75212
+ message.errors = [];
75213
+ message.errors.push($root.Error.decode(reader, reader.uint32()));
75214
+ break;
75215
+ default:
75216
+ reader.skipType(tag & 7);
75217
+ break;
75218
+ }
75219
+ }
75220
+ return message;
75221
+ };
75222
+
75223
+ /**
75224
+ * Decodes a FindApiKeyResponse message from the specified reader or buffer, length delimited.
75225
+ * @function decodeDelimited
75226
+ * @memberof FindApiKeyResponse
75227
+ * @static
75228
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
75229
+ * @returns {FindApiKeyResponse} FindApiKeyResponse
75230
+ * @throws {Error} If the payload is not a reader or valid buffer
75231
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
75232
+ */
75233
+ FindApiKeyResponse.decodeDelimited = function decodeDelimited(reader) {
75234
+ if (!(reader instanceof $Reader))
75235
+ reader = new $Reader(reader);
75236
+ return this.decode(reader, reader.uint32());
75237
+ };
75238
+
75239
+ /**
75240
+ * Verifies a FindApiKeyResponse message.
75241
+ * @function verify
75242
+ * @memberof FindApiKeyResponse
75243
+ * @static
75244
+ * @param {Object.<string,*>} message Plain object to verify
75245
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
75246
+ */
75247
+ FindApiKeyResponse.verify = function verify(message) {
75248
+ if (typeof message !== "object" || message === null)
75249
+ return "object expected";
75250
+ if (message.status != null && message.hasOwnProperty("status"))
75251
+ switch (message.status) {
75252
+ default:
75253
+ return "status: enum value expected";
75254
+ case 0:
75255
+ case 200:
75256
+ case 400:
75257
+ case 401:
75258
+ case 403:
75259
+ case 422:
75260
+ case 404:
75261
+ case 500:
75262
+ case 504:
75263
+ break;
75264
+ }
75265
+ if (message.errors != null && message.hasOwnProperty("errors")) {
75266
+ if (!Array.isArray(message.errors))
75267
+ return "errors: array expected";
75268
+ for (var i = 0; i < message.errors.length; ++i) {
75269
+ var error = $root.Error.verify(message.errors[i]);
75270
+ if (error)
75271
+ return "errors." + error;
75272
+ }
75273
+ }
75274
+ return null;
75275
+ };
75276
+
75277
+ /**
75278
+ * Creates a FindApiKeyResponse message from a plain object. Also converts values to their respective internal types.
75279
+ * @function fromObject
75280
+ * @memberof FindApiKeyResponse
75281
+ * @static
75282
+ * @param {Object.<string,*>} object Plain object
75283
+ * @returns {FindApiKeyResponse} FindApiKeyResponse
75284
+ */
75285
+ FindApiKeyResponse.fromObject = function fromObject(object) {
75286
+ if (object instanceof $root.FindApiKeyResponse)
75287
+ return object;
75288
+ var message = new $root.FindApiKeyResponse();
75289
+ switch (object.status) {
75290
+ case "UNKNOWN_CODE":
75291
+ case 0:
75292
+ message.status = 0;
75293
+ break;
75294
+ case "OK":
75295
+ case 200:
75296
+ message.status = 200;
75297
+ break;
75298
+ case "BAD_REQUEST":
75299
+ case 400:
75300
+ message.status = 400;
75301
+ break;
75302
+ case "UNAUTHORIZED":
75303
+ case 401:
75304
+ message.status = 401;
75305
+ break;
75306
+ case "FORBIDDEN":
75307
+ case 403:
75308
+ message.status = 403;
75309
+ break;
75310
+ case "UNPROCESSABLE_ENTITY":
75311
+ case 422:
75312
+ message.status = 422;
75313
+ break;
75314
+ case "NOT_FOUND":
75315
+ case 404:
75316
+ message.status = 404;
75317
+ break;
75318
+ case "INTERNAL_SERVER_ERROR":
75319
+ case 500:
75320
+ message.status = 500;
75321
+ break;
75322
+ case "GATEWAY_TIMEOUT":
75323
+ case 504:
75324
+ message.status = 504;
75325
+ break;
75326
+ }
75327
+ if (object.errors) {
75328
+ if (!Array.isArray(object.errors))
75329
+ throw TypeError(".FindApiKeyResponse.errors: array expected");
75330
+ message.errors = [];
75331
+ for (var i = 0; i < object.errors.length; ++i) {
75332
+ if (typeof object.errors[i] !== "object")
75333
+ throw TypeError(".FindApiKeyResponse.errors: object expected");
75334
+ message.errors[i] = $root.Error.fromObject(object.errors[i]);
75335
+ }
75336
+ }
75337
+ return message;
75338
+ };
75339
+
75340
+ /**
75341
+ * Creates a plain object from a FindApiKeyResponse message. Also converts values to other types if specified.
75342
+ * @function toObject
75343
+ * @memberof FindApiKeyResponse
75344
+ * @static
75345
+ * @param {FindApiKeyResponse} message FindApiKeyResponse
75346
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
75347
+ * @returns {Object.<string,*>} Plain object
75348
+ */
75349
+ FindApiKeyResponse.toObject = function toObject(message, options) {
75350
+ if (!options)
75351
+ options = {};
75352
+ var object = {};
75353
+ if (options.arrays || options.defaults)
75354
+ object.errors = [];
75355
+ if (options.defaults)
75356
+ object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
75357
+ if (message.status != null && message.hasOwnProperty("status"))
75358
+ object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
75359
+ if (message.errors && message.errors.length) {
75360
+ object.errors = [];
75361
+ for (var j = 0; j < message.errors.length; ++j)
75362
+ object.errors[j] = $root.Error.toObject(message.errors[j], options);
75363
+ }
75364
+ return object;
75365
+ };
75366
+
75367
+ /**
75368
+ * Converts this FindApiKeyResponse to JSON.
75369
+ * @function toJSON
75370
+ * @memberof FindApiKeyResponse
75371
+ * @instance
75372
+ * @returns {Object.<string,*>} JSON object
75373
+ */
75374
+ FindApiKeyResponse.prototype.toJSON = function toJSON() {
75375
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
75376
+ };
75377
+
75378
+ return FindApiKeyResponse;
75379
+ })();
75380
+
74870
75381
  $root.EventService = (function() {
74871
75382
 
74872
75383
  /**
@@ -75625,6 +76136,39 @@ $root.EventService = (function() {
75625
76136
  * @variation 2
75626
76137
  */
75627
76138
 
76139
+ /**
76140
+ * Callback as used by {@link EventService#findApiKey}.
76141
+ * @memberof EventService
76142
+ * @typedef findApiKeyCallback
76143
+ * @type {function}
76144
+ * @param {Error|null} error Error, if any
76145
+ * @param {FindApiKeyResponse} [response] FindApiKeyResponse
76146
+ */
76147
+
76148
+ /**
76149
+ * Calls findApiKey.
76150
+ * @function findApiKey
76151
+ * @memberof EventService
76152
+ * @instance
76153
+ * @param {IFindApiKeyRequest} request FindApiKeyRequest message or plain object
76154
+ * @param {EventService.findApiKeyCallback} callback Node-style callback called with the error, if any, and FindApiKeyResponse
76155
+ * @returns {undefined}
76156
+ * @variation 1
76157
+ */
76158
+ Object.defineProperty(EventService.prototype.findApiKey = function findApiKey(request, callback) {
76159
+ return this.rpcCall(findApiKey, $root.FindApiKeyRequest, $root.FindApiKeyResponse, request, callback);
76160
+ }, "name", { value: "findApiKey" });
76161
+
76162
+ /**
76163
+ * Calls findApiKey.
76164
+ * @function findApiKey
76165
+ * @memberof EventService
76166
+ * @instance
76167
+ * @param {IFindApiKeyRequest} request FindApiKeyRequest message or plain object
76168
+ * @returns {Promise<FindApiKeyResponse>} Promise
76169
+ * @variation 2
76170
+ */
76171
+
75628
76172
  return EventService;
75629
76173
  })();
75630
76174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.314",
3
+ "version": "0.0.316",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@apollo/client": "^3.9.6",
20
20
  "@hapi/joi": "^17.1.1",
21
- "@sellout/utils": "^0.0.314",
21
+ "@sellout/utils": "^0.0.316",
22
22
  "@types/hapi__joi": "^16.0.1",
23
23
  "@types/shortid": "^0.0.29",
24
24
  "@types/zen-observable": "^0.8.7",
@@ -32,5 +32,5 @@
32
32
  "protobufjs": "^6.11.2",
33
33
  "typescript": "^4.9.5"
34
34
  },
35
- "gitHead": "62b874ae28096bd7bf3f528c2178d13d9199fd87"
35
+ "gitHead": "1fe0c427e8209d63f9fa9679bb3878827ff887e5"
36
36
  }
@@ -634,6 +634,16 @@ message WaitListQuery {
634
634
  string eventQuery = 9;
635
635
  }
636
636
 
637
+ message FindApiKeyRequest {
638
+ string spanContext = 0;
639
+ string orgId = 1;
640
+ string apiKey = 2;
641
+ }
642
+
643
+ message FindApiKeyResponse {
644
+ StatusCode status = 0;
645
+ repeated Error errors = 1;
646
+ }
637
647
 
638
648
 
639
649
  service EventService {
@@ -684,5 +694,8 @@ service EventService {
684
694
 
685
695
  rpc updateHolds(HoldTicketRequest) returns (HoldTicketResponse) {}
686
696
  rpc generateWaitListReport(GenerateWaitListReportRequest) returns (GenerateWaitListReportResponse) {}
697
+ rpc findApiKey(FindApiKeyRequest) returns (FindApiKeyResponse) {}
698
+
699
+
687
700
 
688
701
  }