@sellout/models 0.0.200 → 0.0.201
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/sellout-proto.js +44 -0
- package/package.json +3 -3
- package/src/proto/order.proto +2 -0
package/.dist/sellout-proto.js
CHANGED
|
@@ -23485,6 +23485,7 @@ $root.CancelOrderRequest = (function() {
|
|
|
23485
23485
|
* @property {Array.<string>|null} [upgradeIds] CancelOrderRequest upgradeIds
|
|
23486
23486
|
* @property {string|null} [cancelReason] CancelOrderRequest cancelReason
|
|
23487
23487
|
* @property {string|null} [eventType] CancelOrderRequest eventType
|
|
23488
|
+
* @property {string|null} [requestorId] CancelOrderRequest requestorId
|
|
23488
23489
|
*/
|
|
23489
23490
|
|
|
23490
23491
|
/**
|
|
@@ -23560,6 +23561,14 @@ $root.CancelOrderRequest = (function() {
|
|
|
23560
23561
|
*/
|
|
23561
23562
|
CancelOrderRequest.prototype.eventType = "";
|
|
23562
23563
|
|
|
23564
|
+
/**
|
|
23565
|
+
* CancelOrderRequest requestorId.
|
|
23566
|
+
* @member {string} requestorId
|
|
23567
|
+
* @memberof CancelOrderRequest
|
|
23568
|
+
* @instance
|
|
23569
|
+
*/
|
|
23570
|
+
CancelOrderRequest.prototype.requestorId = "";
|
|
23571
|
+
|
|
23563
23572
|
/**
|
|
23564
23573
|
* Creates a new CancelOrderRequest instance using the specified properties.
|
|
23565
23574
|
* @function create
|
|
@@ -23600,6 +23609,8 @@ $root.CancelOrderRequest = (function() {
|
|
|
23600
23609
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.cancelReason);
|
|
23601
23610
|
if (message.eventType != null && Object.hasOwnProperty.call(message, "eventType"))
|
|
23602
23611
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.eventType);
|
|
23612
|
+
if (message.requestorId != null && Object.hasOwnProperty.call(message, "requestorId"))
|
|
23613
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.requestorId);
|
|
23603
23614
|
return writer;
|
|
23604
23615
|
};
|
|
23605
23616
|
|
|
@@ -23659,6 +23670,9 @@ $root.CancelOrderRequest = (function() {
|
|
|
23659
23670
|
case 6:
|
|
23660
23671
|
message.eventType = reader.string();
|
|
23661
23672
|
break;
|
|
23673
|
+
case 7:
|
|
23674
|
+
message.requestorId = reader.string();
|
|
23675
|
+
break;
|
|
23662
23676
|
default:
|
|
23663
23677
|
reader.skipType(tag & 7);
|
|
23664
23678
|
break;
|
|
@@ -23723,6 +23737,9 @@ $root.CancelOrderRequest = (function() {
|
|
|
23723
23737
|
if (message.eventType != null && message.hasOwnProperty("eventType"))
|
|
23724
23738
|
if (!$util.isString(message.eventType))
|
|
23725
23739
|
return "eventType: string expected";
|
|
23740
|
+
if (message.requestorId != null && message.hasOwnProperty("requestorId"))
|
|
23741
|
+
if (!$util.isString(message.requestorId))
|
|
23742
|
+
return "requestorId: string expected";
|
|
23726
23743
|
return null;
|
|
23727
23744
|
};
|
|
23728
23745
|
|
|
@@ -23762,6 +23779,8 @@ $root.CancelOrderRequest = (function() {
|
|
|
23762
23779
|
message.cancelReason = String(object.cancelReason);
|
|
23763
23780
|
if (object.eventType != null)
|
|
23764
23781
|
message.eventType = String(object.eventType);
|
|
23782
|
+
if (object.requestorId != null)
|
|
23783
|
+
message.requestorId = String(object.requestorId);
|
|
23765
23784
|
return message;
|
|
23766
23785
|
};
|
|
23767
23786
|
|
|
@@ -23788,6 +23807,7 @@ $root.CancelOrderRequest = (function() {
|
|
|
23788
23807
|
object.orderId = "";
|
|
23789
23808
|
object.cancelReason = "";
|
|
23790
23809
|
object.eventType = "";
|
|
23810
|
+
object.requestorId = "";
|
|
23791
23811
|
}
|
|
23792
23812
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
23793
23813
|
object.spanContext = message.spanContext;
|
|
@@ -23809,6 +23829,8 @@ $root.CancelOrderRequest = (function() {
|
|
|
23809
23829
|
object.cancelReason = message.cancelReason;
|
|
23810
23830
|
if (message.eventType != null && message.hasOwnProperty("eventType"))
|
|
23811
23831
|
object.eventType = message.eventType;
|
|
23832
|
+
if (message.requestorId != null && message.hasOwnProperty("requestorId"))
|
|
23833
|
+
object.requestorId = message.requestorId;
|
|
23812
23834
|
return object;
|
|
23813
23835
|
};
|
|
23814
23836
|
|
|
@@ -25386,6 +25408,7 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25386
25408
|
* @interface ISendOrderReceiptEmailRequest
|
|
25387
25409
|
* @property {string|null} [spanContext] SendOrderReceiptEmailRequest spanContext
|
|
25388
25410
|
* @property {string|null} [orderId] SendOrderReceiptEmailRequest orderId
|
|
25411
|
+
* @property {string|null} [requestorId] SendOrderReceiptEmailRequest requestorId
|
|
25389
25412
|
*/
|
|
25390
25413
|
|
|
25391
25414
|
/**
|
|
@@ -25419,6 +25442,14 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25419
25442
|
*/
|
|
25420
25443
|
SendOrderReceiptEmailRequest.prototype.orderId = "";
|
|
25421
25444
|
|
|
25445
|
+
/**
|
|
25446
|
+
* SendOrderReceiptEmailRequest requestorId.
|
|
25447
|
+
* @member {string} requestorId
|
|
25448
|
+
* @memberof SendOrderReceiptEmailRequest
|
|
25449
|
+
* @instance
|
|
25450
|
+
*/
|
|
25451
|
+
SendOrderReceiptEmailRequest.prototype.requestorId = "";
|
|
25452
|
+
|
|
25422
25453
|
/**
|
|
25423
25454
|
* Creates a new SendOrderReceiptEmailRequest instance using the specified properties.
|
|
25424
25455
|
* @function create
|
|
@@ -25447,6 +25478,8 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25447
25478
|
writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
|
|
25448
25479
|
if (message.orderId != null && Object.hasOwnProperty.call(message, "orderId"))
|
|
25449
25480
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.orderId);
|
|
25481
|
+
if (message.requestorId != null && Object.hasOwnProperty.call(message, "requestorId"))
|
|
25482
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.requestorId);
|
|
25450
25483
|
return writer;
|
|
25451
25484
|
};
|
|
25452
25485
|
|
|
@@ -25487,6 +25520,9 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25487
25520
|
case 1:
|
|
25488
25521
|
message.orderId = reader.string();
|
|
25489
25522
|
break;
|
|
25523
|
+
case 2:
|
|
25524
|
+
message.requestorId = reader.string();
|
|
25525
|
+
break;
|
|
25490
25526
|
default:
|
|
25491
25527
|
reader.skipType(tag & 7);
|
|
25492
25528
|
break;
|
|
@@ -25528,6 +25564,9 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25528
25564
|
if (message.orderId != null && message.hasOwnProperty("orderId"))
|
|
25529
25565
|
if (!$util.isString(message.orderId))
|
|
25530
25566
|
return "orderId: string expected";
|
|
25567
|
+
if (message.requestorId != null && message.hasOwnProperty("requestorId"))
|
|
25568
|
+
if (!$util.isString(message.requestorId))
|
|
25569
|
+
return "requestorId: string expected";
|
|
25531
25570
|
return null;
|
|
25532
25571
|
};
|
|
25533
25572
|
|
|
@@ -25547,6 +25586,8 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25547
25586
|
message.spanContext = String(object.spanContext);
|
|
25548
25587
|
if (object.orderId != null)
|
|
25549
25588
|
message.orderId = String(object.orderId);
|
|
25589
|
+
if (object.requestorId != null)
|
|
25590
|
+
message.requestorId = String(object.requestorId);
|
|
25550
25591
|
return message;
|
|
25551
25592
|
};
|
|
25552
25593
|
|
|
@@ -25566,11 +25607,14 @@ $root.SendOrderReceiptEmailRequest = (function() {
|
|
|
25566
25607
|
if (options.defaults) {
|
|
25567
25608
|
object.spanContext = "";
|
|
25568
25609
|
object.orderId = "";
|
|
25610
|
+
object.requestorId = "";
|
|
25569
25611
|
}
|
|
25570
25612
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
25571
25613
|
object.spanContext = message.spanContext;
|
|
25572
25614
|
if (message.orderId != null && message.hasOwnProperty("orderId"))
|
|
25573
25615
|
object.orderId = message.orderId;
|
|
25616
|
+
if (message.requestorId != null && message.hasOwnProperty("requestorId"))
|
|
25617
|
+
object.requestorId = message.requestorId;
|
|
25574
25618
|
return object;
|
|
25575
25619
|
};
|
|
25576
25620
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.201",
|
|
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.201",
|
|
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": "4172f8fb2ba3c22d5cae16599219e3e4ea7992bc"
|
|
35
35
|
}
|
package/src/proto/order.proto
CHANGED
|
@@ -348,6 +348,7 @@ message CancelOrderRequest {
|
|
|
348
348
|
repeated string upgradeIds = 4;
|
|
349
349
|
string cancelReason = 5;
|
|
350
350
|
string eventType = 6;
|
|
351
|
+
string requestorId = 7;
|
|
351
352
|
}
|
|
352
353
|
|
|
353
354
|
message CancelOrderResponse {
|
|
@@ -398,6 +399,7 @@ message UpdateOrderResponse {
|
|
|
398
399
|
message SendOrderReceiptEmailRequest {
|
|
399
400
|
string spanContext = 0;
|
|
400
401
|
string orderId = 1;
|
|
402
|
+
string requestorId = 2;
|
|
401
403
|
}
|
|
402
404
|
|
|
403
405
|
message SendOrderReceiptEmailResponse {
|