wash-service-sdk 1.0.2 → 1.0.3
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.
|
@@ -69,10 +69,6 @@ export interface PaymentRequest {
|
|
|
69
69
|
* @generated from protobuf field: string storeId = 7
|
|
70
70
|
*/
|
|
71
71
|
storeId: string;
|
|
72
|
-
/**
|
|
73
|
-
* @generated from protobuf field: string transactionId = 8
|
|
74
|
-
*/
|
|
75
|
-
transactionId: string;
|
|
76
72
|
}
|
|
77
73
|
/**
|
|
78
74
|
* @generated from protobuf message payment.ConfirmPaymentRequest
|
|
@@ -129,8 +129,7 @@ class PaymentRequest$Type extends runtime_4.MessageType {
|
|
|
129
129
|
{ no: 4, name: "amount", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
130
130
|
{ no: 5, name: "data", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
131
131
|
{ no: 6, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
132
|
-
{ no: 7, name: "storeId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
133
|
-
{ no: 8, name: "transactionId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
132
|
+
{ no: 7, name: "storeId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
134
133
|
]);
|
|
135
134
|
}
|
|
136
135
|
create(value) {
|
|
@@ -142,7 +141,6 @@ class PaymentRequest$Type extends runtime_4.MessageType {
|
|
|
142
141
|
message.data = "";
|
|
143
142
|
message.type = "";
|
|
144
143
|
message.storeId = "";
|
|
145
|
-
message.transactionId = "";
|
|
146
144
|
if (value !== undefined)
|
|
147
145
|
runtime_3.reflectionMergePartial(this, message, value);
|
|
148
146
|
return message;
|
|
@@ -173,9 +171,6 @@ class PaymentRequest$Type extends runtime_4.MessageType {
|
|
|
173
171
|
case /* string storeId */ 7:
|
|
174
172
|
message.storeId = reader.string();
|
|
175
173
|
break;
|
|
176
|
-
case /* string transactionId */ 8:
|
|
177
|
-
message.transactionId = reader.string();
|
|
178
|
-
break;
|
|
179
174
|
default:
|
|
180
175
|
let u = options.readUnknownField;
|
|
181
176
|
if (u === "throw")
|
|
@@ -209,9 +204,6 @@ class PaymentRequest$Type extends runtime_4.MessageType {
|
|
|
209
204
|
/* string storeId = 7; */
|
|
210
205
|
if (message.storeId !== "")
|
|
211
206
|
writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.storeId);
|
|
212
|
-
/* string transactionId = 8; */
|
|
213
|
-
if (message.transactionId !== "")
|
|
214
|
-
writer.tag(8, runtime_1.WireType.LengthDelimited).string(message.transactionId);
|
|
215
207
|
let u = options.writeUnknownFields;
|
|
216
208
|
if (u !== false)
|
|
217
209
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wash-service-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"@grpc/grpc-js": "^1.14.1",
|
|
19
19
|
"@protobuf-ts/grpc-transport": "^2.11.1",
|
|
20
20
|
"@protobuf-ts/runtime": "^2.11.1",
|
|
21
|
-
"@protobuf-ts/runtime-rpc": "^2.11.1"
|
|
21
|
+
"@protobuf-ts/runtime-rpc": "^2.11.1",
|
|
22
|
+
"wash-service-sdk": "^1.0.2"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
25
|
"@protobuf-ts/plugin": "^2.11.1"
|
package/proto/payment.proto
CHANGED
package/src/generated/payment.ts
CHANGED
|
@@ -75,10 +75,6 @@ export interface PaymentRequest {
|
|
|
75
75
|
* @generated from protobuf field: string storeId = 7
|
|
76
76
|
*/
|
|
77
77
|
storeId: string;
|
|
78
|
-
/**
|
|
79
|
-
* @generated from protobuf field: string transactionId = 8
|
|
80
|
-
*/
|
|
81
|
-
transactionId: string;
|
|
82
78
|
}
|
|
83
79
|
/**
|
|
84
80
|
* @generated from protobuf message payment.ConfirmPaymentRequest
|
|
@@ -524,8 +520,7 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
|
|
|
524
520
|
{ no: 4, name: "amount", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
525
521
|
{ no: 5, name: "data", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
526
522
|
{ no: 6, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
527
|
-
{ no: 7, name: "storeId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
528
|
-
{ no: 8, name: "transactionId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
523
|
+
{ no: 7, name: "storeId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
529
524
|
]);
|
|
530
525
|
}
|
|
531
526
|
create(value?: PartialMessage<PaymentRequest>): PaymentRequest {
|
|
@@ -537,7 +532,6 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
|
|
|
537
532
|
message.data = "";
|
|
538
533
|
message.type = "";
|
|
539
534
|
message.storeId = "";
|
|
540
|
-
message.transactionId = "";
|
|
541
535
|
if (value !== undefined)
|
|
542
536
|
reflectionMergePartial<PaymentRequest>(this, message, value);
|
|
543
537
|
return message;
|
|
@@ -568,9 +562,6 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
|
|
|
568
562
|
case /* string storeId */ 7:
|
|
569
563
|
message.storeId = reader.string();
|
|
570
564
|
break;
|
|
571
|
-
case /* string transactionId */ 8:
|
|
572
|
-
message.transactionId = reader.string();
|
|
573
|
-
break;
|
|
574
565
|
default:
|
|
575
566
|
let u = options.readUnknownField;
|
|
576
567
|
if (u === "throw")
|
|
@@ -604,9 +595,6 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
|
|
|
604
595
|
/* string storeId = 7; */
|
|
605
596
|
if (message.storeId !== "")
|
|
606
597
|
writer.tag(7, WireType.LengthDelimited).string(message.storeId);
|
|
607
|
-
/* string transactionId = 8; */
|
|
608
|
-
if (message.transactionId !== "")
|
|
609
|
-
writer.tag(8, WireType.LengthDelimited).string(message.transactionId);
|
|
610
598
|
let u = options.writeUnknownFields;
|
|
611
599
|
if (u !== false)
|
|
612
600
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|