wash-service-sdk 1.0.1 → 1.0.2

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,6 +69,10 @@ 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;
72
76
  }
73
77
  /**
74
78
  * @generated from protobuf message payment.ConfirmPaymentRequest
@@ -129,7 +129,8 @@ 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*/ }
132
+ { no: 7, name: "storeId", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
133
+ { no: 8, name: "transactionId", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
133
134
  ]);
134
135
  }
135
136
  create(value) {
@@ -141,6 +142,7 @@ class PaymentRequest$Type extends runtime_4.MessageType {
141
142
  message.data = "";
142
143
  message.type = "";
143
144
  message.storeId = "";
145
+ message.transactionId = "";
144
146
  if (value !== undefined)
145
147
  runtime_3.reflectionMergePartial(this, message, value);
146
148
  return message;
@@ -171,6 +173,9 @@ class PaymentRequest$Type extends runtime_4.MessageType {
171
173
  case /* string storeId */ 7:
172
174
  message.storeId = reader.string();
173
175
  break;
176
+ case /* string transactionId */ 8:
177
+ message.transactionId = reader.string();
178
+ break;
174
179
  default:
175
180
  let u = options.readUnknownField;
176
181
  if (u === "throw")
@@ -204,6 +209,9 @@ class PaymentRequest$Type extends runtime_4.MessageType {
204
209
  /* string storeId = 7; */
205
210
  if (message.storeId !== "")
206
211
  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);
207
215
  let u = options.writeUnknownFields;
208
216
  if (u !== false)
209
217
  (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.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "",
@@ -23,6 +23,7 @@ message PaymentRequest {
23
23
  string data = 5; // 결제 데이터
24
24
  string type = 6; // 결제 데이터
25
25
  string storeId = 7;
26
+ string transactionId = 8;
26
27
  }
27
28
 
28
29
  message ConfirmPaymentRequest {
@@ -75,6 +75,10 @@ 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;
78
82
  }
79
83
  /**
80
84
  * @generated from protobuf message payment.ConfirmPaymentRequest
@@ -520,7 +524,8 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
520
524
  { no: 4, name: "amount", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
521
525
  { no: 5, name: "data", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
522
526
  { no: 6, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
523
- { no: 7, name: "storeId", 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*/ }
524
529
  ]);
525
530
  }
526
531
  create(value?: PartialMessage<PaymentRequest>): PaymentRequest {
@@ -532,6 +537,7 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
532
537
  message.data = "";
533
538
  message.type = "";
534
539
  message.storeId = "";
540
+ message.transactionId = "";
535
541
  if (value !== undefined)
536
542
  reflectionMergePartial<PaymentRequest>(this, message, value);
537
543
  return message;
@@ -562,6 +568,9 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
562
568
  case /* string storeId */ 7:
563
569
  message.storeId = reader.string();
564
570
  break;
571
+ case /* string transactionId */ 8:
572
+ message.transactionId = reader.string();
573
+ break;
565
574
  default:
566
575
  let u = options.readUnknownField;
567
576
  if (u === "throw")
@@ -595,6 +604,9 @@ class PaymentRequest$Type extends MessageType<PaymentRequest> {
595
604
  /* string storeId = 7; */
596
605
  if (message.storeId !== "")
597
606
  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);
598
610
  let u = options.writeUnknownFields;
599
611
  if (u !== false)
600
612
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);