@sellout/models 0.0.277 → 0.0.278

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.
@@ -46287,13 +46287,13 @@ $root.EmailService = (function() {
46287
46287
  * @function waitListEmail
46288
46288
  * @memberof EmailService
46289
46289
  * @instance
46290
- * @param {IwaitListEmailRequest} request waitListEmailRequest message or plain object
46290
+ * @param {IQueueOrderQRCodeEmailRequest} request QueueOrderQRCodeEmailRequest message or plain object
46291
46291
  * @param {EmailService.waitListEmailCallback} callback Node-style callback called with the error, if any, and Empty
46292
46292
  * @returns {undefined}
46293
46293
  * @variation 1
46294
46294
  */
46295
46295
  Object.defineProperty(EmailService.prototype.waitListEmail = function waitListEmail(request, callback) {
46296
- return this.rpcCall(waitListEmail, $root.waitListEmailRequest, $root.google.protobuf.Empty, request, callback);
46296
+ return this.rpcCall(waitListEmail, $root.QueueOrderQRCodeEmailRequest, $root.google.protobuf.Empty, request, callback);
46297
46297
  }, "name", { value: "waitListEmail" });
46298
46298
 
46299
46299
  /**
@@ -46301,7 +46301,7 @@ $root.EmailService = (function() {
46301
46301
  * @function waitListEmail
46302
46302
  * @memberof EmailService
46303
46303
  * @instance
46304
- * @param {IwaitListEmailRequest} request waitListEmailRequest message or plain object
46304
+ * @param {IQueueOrderQRCodeEmailRequest} request QueueOrderQRCodeEmailRequest message or plain object
46305
46305
  * @returns {Promise<google.protobuf.Empty>} Promise
46306
46306
  * @variation 2
46307
46307
  */
@@ -46339,6 +46339,39 @@ $root.EmailService = (function() {
46339
46339
  * @variation 2
46340
46340
  */
46341
46341
 
46342
+ /**
46343
+ * Callback as used by {@link EmailService#immediateNotifyEmail}.
46344
+ * @memberof EmailService
46345
+ * @typedef immediateNotifyEmailCallback
46346
+ * @type {function}
46347
+ * @param {Error|null} error Error, if any
46348
+ * @param {google.protobuf.Empty} [response] Empty
46349
+ */
46350
+
46351
+ /**
46352
+ * Calls immediateNotifyEmail.
46353
+ * @function immediateNotifyEmail
46354
+ * @memberof EmailService
46355
+ * @instance
46356
+ * @param {IQueueOrderQRCodeEmailRequest} request QueueOrderQRCodeEmailRequest message or plain object
46357
+ * @param {EmailService.immediateNotifyEmailCallback} callback Node-style callback called with the error, if any, and Empty
46358
+ * @returns {undefined}
46359
+ * @variation 1
46360
+ */
46361
+ Object.defineProperty(EmailService.prototype.immediateNotifyEmail = function immediateNotifyEmail(request, callback) {
46362
+ return this.rpcCall(immediateNotifyEmail, $root.QueueOrderQRCodeEmailRequest, $root.google.protobuf.Empty, request, callback);
46363
+ }, "name", { value: "immediateNotifyEmail" });
46364
+
46365
+ /**
46366
+ * Calls immediateNotifyEmail.
46367
+ * @function immediateNotifyEmail
46368
+ * @memberof EmailService
46369
+ * @instance
46370
+ * @param {IQueueOrderQRCodeEmailRequest} request QueueOrderQRCodeEmailRequest message or plain object
46371
+ * @returns {Promise<google.protobuf.Empty>} Promise
46372
+ * @variation 2
46373
+ */
46374
+
46342
46375
  return EmailService;
46343
46376
  })();
46344
46377
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.277",
3
+ "version": "0.0.278",
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.277",
20
+ "@sellout/utils": "^0.0.278",
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": "6517643f2980bd656faf48c72bac02ef153e5e2d"
34
+ "gitHead": "4624b52eed40c8e3421089f3de6bcd4bd294a4fd"
35
35
  }
@@ -312,6 +312,7 @@ service EmailService {
312
312
  rpc orderQRCodeEmailOnDay (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
313
313
  rpc salesReportEmail (salesReportEmailRequest) returns (google.protobuf.Empty) {}
314
314
  rpc customerSheetEmail (customerSheetEmailRequest) returns (google.protobuf.Empty) {}
315
- rpc waitListEmail (waitListEmailRequest) returns (google.protobuf.Empty) {}
315
+ rpc waitListEmail (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
316
316
  rpc notifyEmail (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
317
+ rpc immediateNotifyEmail (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
317
318
  }