wash-service-sdk 1.0.0 → 1.0.1

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.
@@ -370,11 +370,27 @@ export interface GetPaymentV1Response {
370
370
  */
371
371
  paymentMethod: string;
372
372
  /**
373
- * @generated from protobuf field: string createdAt = 7
373
+ * @generated from protobuf field: optional string paidAt = 7
374
+ */
375
+ paidAt?: string;
376
+ /**
377
+ * @generated from protobuf field: optional string failedAt = 8
378
+ */
379
+ failedAt?: string;
380
+ /**
381
+ * @generated from protobuf field: optional string cancelledAt = 9
382
+ */
383
+ cancelledAt?: string;
384
+ /**
385
+ * @generated from protobuf field: optional string failureReason = 10
386
+ */
387
+ failureReason?: string;
388
+ /**
389
+ * @generated from protobuf field: string createdAt = 11
374
390
  */
375
391
  createdAt: string;
376
392
  /**
377
- * @generated from protobuf field: string updatedAt = 8
393
+ * @generated from protobuf field: string updatedAt = 12
378
394
  */
379
395
  updatedAt: string;
380
396
  }
@@ -1183,8 +1183,12 @@ class GetPaymentV1Response$Type extends runtime_4.MessageType {
1183
1183
  { no: 4, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1184
1184
  { no: 5, name: "method", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1185
1185
  { no: 6, name: "paymentMethod", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1186
- { no: 7, name: "createdAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1187
- { no: 8, name: "updatedAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1186
+ { no: 7, name: "paidAt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1187
+ { no: 8, name: "failedAt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1188
+ { no: 9, name: "cancelledAt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1189
+ { no: 10, name: "failureReason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1190
+ { no: 11, name: "createdAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1191
+ { no: 12, name: "updatedAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1188
1192
  ]);
1189
1193
  }
1190
1194
  create(value) {
@@ -1223,10 +1227,22 @@ class GetPaymentV1Response$Type extends runtime_4.MessageType {
1223
1227
  case /* string paymentMethod */ 6:
1224
1228
  message.paymentMethod = reader.string();
1225
1229
  break;
1226
- case /* string createdAt */ 7:
1230
+ case /* optional string paidAt */ 7:
1231
+ message.paidAt = reader.string();
1232
+ break;
1233
+ case /* optional string failedAt */ 8:
1234
+ message.failedAt = reader.string();
1235
+ break;
1236
+ case /* optional string cancelledAt */ 9:
1237
+ message.cancelledAt = reader.string();
1238
+ break;
1239
+ case /* optional string failureReason */ 10:
1240
+ message.failureReason = reader.string();
1241
+ break;
1242
+ case /* string createdAt */ 11:
1227
1243
  message.createdAt = reader.string();
1228
1244
  break;
1229
- case /* string updatedAt */ 8:
1245
+ case /* string updatedAt */ 12:
1230
1246
  message.updatedAt = reader.string();
1231
1247
  break;
1232
1248
  default:
@@ -1259,12 +1275,24 @@ class GetPaymentV1Response$Type extends runtime_4.MessageType {
1259
1275
  /* string paymentMethod = 6; */
1260
1276
  if (message.paymentMethod !== "")
1261
1277
  writer.tag(6, runtime_1.WireType.LengthDelimited).string(message.paymentMethod);
1262
- /* string createdAt = 7; */
1278
+ /* optional string paidAt = 7; */
1279
+ if (message.paidAt !== undefined)
1280
+ writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.paidAt);
1281
+ /* optional string failedAt = 8; */
1282
+ if (message.failedAt !== undefined)
1283
+ writer.tag(8, runtime_1.WireType.LengthDelimited).string(message.failedAt);
1284
+ /* optional string cancelledAt = 9; */
1285
+ if (message.cancelledAt !== undefined)
1286
+ writer.tag(9, runtime_1.WireType.LengthDelimited).string(message.cancelledAt);
1287
+ /* optional string failureReason = 10; */
1288
+ if (message.failureReason !== undefined)
1289
+ writer.tag(10, runtime_1.WireType.LengthDelimited).string(message.failureReason);
1290
+ /* string createdAt = 11; */
1263
1291
  if (message.createdAt !== "")
1264
- writer.tag(7, runtime_1.WireType.LengthDelimited).string(message.createdAt);
1265
- /* string updatedAt = 8; */
1292
+ writer.tag(11, runtime_1.WireType.LengthDelimited).string(message.createdAt);
1293
+ /* string updatedAt = 12; */
1266
1294
  if (message.updatedAt !== "")
1267
- writer.tag(8, runtime_1.WireType.LengthDelimited).string(message.updatedAt);
1295
+ writer.tag(12, runtime_1.WireType.LengthDelimited).string(message.updatedAt);
1268
1296
  let u = options.writeUnknownFields;
1269
1297
  if (u !== false)
1270
1298
  (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.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "",
@@ -128,8 +128,12 @@ message GetPaymentV1Response {
128
128
  string status = 4;
129
129
  string method = 5;
130
130
  string paymentMethod = 6;
131
- string createdAt = 7;
132
- string updatedAt = 8;
131
+ optional string paidAt = 7;
132
+ optional string failedAt = 8;
133
+ optional string cancelledAt = 9;
134
+ optional string failureReason = 10;
135
+ string createdAt = 11;
136
+ string updatedAt = 12;
133
137
  }
134
138
 
135
139
  // 결제 서비스 정의
@@ -376,11 +376,27 @@ export interface GetPaymentV1Response {
376
376
  */
377
377
  paymentMethod: string;
378
378
  /**
379
- * @generated from protobuf field: string createdAt = 7
379
+ * @generated from protobuf field: optional string paidAt = 7
380
+ */
381
+ paidAt?: string;
382
+ /**
383
+ * @generated from protobuf field: optional string failedAt = 8
384
+ */
385
+ failedAt?: string;
386
+ /**
387
+ * @generated from protobuf field: optional string cancelledAt = 9
388
+ */
389
+ cancelledAt?: string;
390
+ /**
391
+ * @generated from protobuf field: optional string failureReason = 10
392
+ */
393
+ failureReason?: string;
394
+ /**
395
+ * @generated from protobuf field: string createdAt = 11
380
396
  */
381
397
  createdAt: string;
382
398
  /**
383
- * @generated from protobuf field: string updatedAt = 8
399
+ * @generated from protobuf field: string updatedAt = 12
384
400
  */
385
401
  updatedAt: string;
386
402
  }
@@ -1558,8 +1574,12 @@ class GetPaymentV1Response$Type extends MessageType<GetPaymentV1Response> {
1558
1574
  { no: 4, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1559
1575
  { no: 5, name: "method", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1560
1576
  { no: 6, name: "paymentMethod", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1561
- { no: 7, name: "createdAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1562
- { no: 8, name: "updatedAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1577
+ { no: 7, name: "paidAt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1578
+ { no: 8, name: "failedAt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1579
+ { no: 9, name: "cancelledAt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1580
+ { no: 10, name: "failureReason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1581
+ { no: 11, name: "createdAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1582
+ { no: 12, name: "updatedAt", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1563
1583
  ]);
1564
1584
  }
1565
1585
  create(value?: PartialMessage<GetPaymentV1Response>): GetPaymentV1Response {
@@ -1598,10 +1618,22 @@ class GetPaymentV1Response$Type extends MessageType<GetPaymentV1Response> {
1598
1618
  case /* string paymentMethod */ 6:
1599
1619
  message.paymentMethod = reader.string();
1600
1620
  break;
1601
- case /* string createdAt */ 7:
1621
+ case /* optional string paidAt */ 7:
1622
+ message.paidAt = reader.string();
1623
+ break;
1624
+ case /* optional string failedAt */ 8:
1625
+ message.failedAt = reader.string();
1626
+ break;
1627
+ case /* optional string cancelledAt */ 9:
1628
+ message.cancelledAt = reader.string();
1629
+ break;
1630
+ case /* optional string failureReason */ 10:
1631
+ message.failureReason = reader.string();
1632
+ break;
1633
+ case /* string createdAt */ 11:
1602
1634
  message.createdAt = reader.string();
1603
1635
  break;
1604
- case /* string updatedAt */ 8:
1636
+ case /* string updatedAt */ 12:
1605
1637
  message.updatedAt = reader.string();
1606
1638
  break;
1607
1639
  default:
@@ -1634,12 +1666,24 @@ class GetPaymentV1Response$Type extends MessageType<GetPaymentV1Response> {
1634
1666
  /* string paymentMethod = 6; */
1635
1667
  if (message.paymentMethod !== "")
1636
1668
  writer.tag(6, WireType.LengthDelimited).string(message.paymentMethod);
1637
- /* string createdAt = 7; */
1669
+ /* optional string paidAt = 7; */
1670
+ if (message.paidAt !== undefined)
1671
+ writer.tag(7, WireType.LengthDelimited).string(message.paidAt);
1672
+ /* optional string failedAt = 8; */
1673
+ if (message.failedAt !== undefined)
1674
+ writer.tag(8, WireType.LengthDelimited).string(message.failedAt);
1675
+ /* optional string cancelledAt = 9; */
1676
+ if (message.cancelledAt !== undefined)
1677
+ writer.tag(9, WireType.LengthDelimited).string(message.cancelledAt);
1678
+ /* optional string failureReason = 10; */
1679
+ if (message.failureReason !== undefined)
1680
+ writer.tag(10, WireType.LengthDelimited).string(message.failureReason);
1681
+ /* string createdAt = 11; */
1638
1682
  if (message.createdAt !== "")
1639
- writer.tag(7, WireType.LengthDelimited).string(message.createdAt);
1640
- /* string updatedAt = 8; */
1683
+ writer.tag(11, WireType.LengthDelimited).string(message.createdAt);
1684
+ /* string updatedAt = 12; */
1641
1685
  if (message.updatedAt !== "")
1642
- writer.tag(8, WireType.LengthDelimited).string(message.updatedAt);
1686
+ writer.tag(12, WireType.LengthDelimited).string(message.updatedAt);
1643
1687
  let u = options.writeUnknownFields;
1644
1688
  if (u !== false)
1645
1689
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);