@chotot/ct-logic-uni-rev-order-v1 1.204.0 → 1.206.0

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.
@@ -15,6 +15,7 @@ message AddServicesRequest {
15
15
  string platform = 4;
16
16
  string version = 5;
17
17
  int64 ttl = 6;
18
+ bool add_to_all_carts = 7;
18
19
  }
19
20
 
20
21
  message CartService {
@@ -40,6 +40,11 @@ export declare class AddServicesRequest extends Message<AddServicesRequest> {
40
40
  */
41
41
  ttl: bigint;
42
42
 
43
+ /**
44
+ * @generated from field: bool add_to_all_carts = 7;
45
+ */
46
+ addToAllCarts: boolean;
47
+
43
48
  constructor(data?: PartialMessage<AddServicesRequest>);
44
49
 
45
50
  static readonly runtime: typeof proto3;
@@ -17,6 +17,7 @@ export const AddServicesRequest = proto3.makeMessageType(
17
17
  { no: 4, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18
18
  { no: 5, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
19
  { no: 6, name: "ttl", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
20
+ { no: 7, name: "add_to_all_carts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
20
21
  ],
21
22
  );
22
23
 
@@ -16,7 +16,12 @@ message RequestChangeOrderStatusRequest {
16
16
  }];
17
17
  string payment_method = 3 [(validate.rules).string = {
18
18
  min_len: 1,
19
- in: ["virtual_account", "virtual_account_cake", "bank_transfer"],
19
+ in: [
20
+ "virtual_account",
21
+ "virtual_account_cake",
22
+ "bank_transfer",
23
+ "virtual_account_vpb_transfer"
24
+ ],
20
25
  }];
21
26
  string customer_ticket_id = 4 [(validate.rules).string = {min_len: 1}];
22
27
  string admin_id = 5 [(validate.rules).string = {min_len: 1}];
@@ -97,7 +102,7 @@ message ProcessOrderAsPostPaidRequest {
97
102
  repeated PaymentStatusServiceMessage services = 12;
98
103
  int64 payment_attempt_id = 13;
99
104
  string vendor_order_id = 14;
100
- int64 tax_amount = 15; //
105
+ int64 tax_amount = 15;
101
106
  int64 tax_rate = 16; // ex: 8% = 800, 8.5% = 850, 8.75% = 875
102
107
  }
103
108
 
@@ -411,8 +411,6 @@ export declare class ProcessOrderAsPostPaidRequest extends Message<ProcessOrderA
411
411
  vendorOrderId: string;
412
412
 
413
413
  /**
414
- *
415
- *
416
414
  * @generated from field: int64 tax_amount = 15;
417
415
  */
418
416
  taxAmount: bigint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chotot/ct-logic-uni-rev-order-v1",
3
- "version": "1.204.0",
3
+ "version": "1.206.0",
4
4
  "dependencies": {
5
5
  "@bufbuild/protobuf": "1.3.1",
6
6
  "@connectrpc/connect": "1.0.0",