@sellout/models 0.0.129 → 0.0.130
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/.dist/graphql/queries/seatingKeys.query.d.ts +2 -0
- package/.dist/graphql/queries/seatingKeys.query.js +15 -0
- package/.dist/graphql/queries/seatingKeys.query.js.map +1 -0
- package/.dist/sellout-proto.js +22 -0
- package/package.json +3 -3
- package/src/graphql/queries/seatingKeys.query.ts +11 -0
- package/src/proto/user.proto +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
7
|
+
const query = (0, graphql_tag_1.default) `
|
|
8
|
+
query seating($orgId: String) {
|
|
9
|
+
seating(orgId: $orgId) {
|
|
10
|
+
secretKey
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = query;
|
|
15
|
+
//# sourceMappingURL=seatingKeys.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seatingKeys.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/seatingKeys.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;CAMhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
package/.dist/sellout-proto.js
CHANGED
|
@@ -86086,6 +86086,7 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86086
86086
|
* @interface ISendUserEmailVerificationRequest
|
|
86087
86087
|
* @property {string|null} [spanContext] SendUserEmailVerificationRequest spanContext
|
|
86088
86088
|
* @property {string|null} [userId] SendUserEmailVerificationRequest userId
|
|
86089
|
+
* @property {string|null} [email] SendUserEmailVerificationRequest email
|
|
86089
86090
|
*/
|
|
86090
86091
|
|
|
86091
86092
|
/**
|
|
@@ -86119,6 +86120,14 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86119
86120
|
*/
|
|
86120
86121
|
SendUserEmailVerificationRequest.prototype.userId = "";
|
|
86121
86122
|
|
|
86123
|
+
/**
|
|
86124
|
+
* SendUserEmailVerificationRequest email.
|
|
86125
|
+
* @member {string} email
|
|
86126
|
+
* @memberof SendUserEmailVerificationRequest
|
|
86127
|
+
* @instance
|
|
86128
|
+
*/
|
|
86129
|
+
SendUserEmailVerificationRequest.prototype.email = "";
|
|
86130
|
+
|
|
86122
86131
|
/**
|
|
86123
86132
|
* Creates a new SendUserEmailVerificationRequest instance using the specified properties.
|
|
86124
86133
|
* @function create
|
|
@@ -86147,6 +86156,8 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86147
86156
|
writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
|
|
86148
86157
|
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
86149
86158
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
86159
|
+
if (message.email != null && Object.hasOwnProperty.call(message, "email"))
|
|
86160
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
|
|
86150
86161
|
return writer;
|
|
86151
86162
|
};
|
|
86152
86163
|
|
|
@@ -86187,6 +86198,9 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86187
86198
|
case 1:
|
|
86188
86199
|
message.userId = reader.string();
|
|
86189
86200
|
break;
|
|
86201
|
+
case 2:
|
|
86202
|
+
message.email = reader.string();
|
|
86203
|
+
break;
|
|
86190
86204
|
default:
|
|
86191
86205
|
reader.skipType(tag & 7);
|
|
86192
86206
|
break;
|
|
@@ -86228,6 +86242,9 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86228
86242
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
86229
86243
|
if (!$util.isString(message.userId))
|
|
86230
86244
|
return "userId: string expected";
|
|
86245
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
86246
|
+
if (!$util.isString(message.email))
|
|
86247
|
+
return "email: string expected";
|
|
86231
86248
|
return null;
|
|
86232
86249
|
};
|
|
86233
86250
|
|
|
@@ -86247,6 +86264,8 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86247
86264
|
message.spanContext = String(object.spanContext);
|
|
86248
86265
|
if (object.userId != null)
|
|
86249
86266
|
message.userId = String(object.userId);
|
|
86267
|
+
if (object.email != null)
|
|
86268
|
+
message.email = String(object.email);
|
|
86250
86269
|
return message;
|
|
86251
86270
|
};
|
|
86252
86271
|
|
|
@@ -86266,11 +86285,14 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
86266
86285
|
if (options.defaults) {
|
|
86267
86286
|
object.spanContext = "";
|
|
86268
86287
|
object.userId = "";
|
|
86288
|
+
object.email = "";
|
|
86269
86289
|
}
|
|
86270
86290
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
86271
86291
|
object.spanContext = message.spanContext;
|
|
86272
86292
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
86273
86293
|
object.userId = message.userId;
|
|
86294
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
86295
|
+
object.email = message.email;
|
|
86274
86296
|
return object;
|
|
86275
86297
|
};
|
|
86276
86298
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.130",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/utils": "^0.0.130",
|
|
21
21
|
"@types/hapi__joi": "^16.0.1",
|
|
22
22
|
"@types/shortid": "^0.0.29",
|
|
23
23
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"protobufjs": "^6.11.2",
|
|
32
32
|
"typescript": "^4.4.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "c085b019cbd89df7b717eea620deb92ee9e6cf27"
|
|
35
35
|
}
|