@chotot/ct-logic-uni-rev-payment-v1 1.133.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.
Files changed (100) hide show
  1. package/ad_service.proto +53 -0
  2. package/ad_service_pb.d.ts +248 -0
  3. package/ad_service_pb.js +99 -0
  4. package/cart.proto +122 -0
  5. package/cart_pb.d.ts +656 -0
  6. package/cart_pb.js +237 -0
  7. package/configuration.proto +147 -0
  8. package/configuration_pb.d.ts +716 -0
  9. package/configuration_pb.js +237 -0
  10. package/crepro_campaign.proto +277 -0
  11. package/crepro_campaign_pb.d.ts +1266 -0
  12. package/crepro_campaign_pb.js +436 -0
  13. package/crepro_code.proto +77 -0
  14. package/crepro_code_pb.d.ts +355 -0
  15. package/crepro_code_pb.js +130 -0
  16. package/crepro_log.proto +32 -0
  17. package/crepro_log_pb.d.ts +142 -0
  18. package/crepro_log_pb.js +51 -0
  19. package/crepro_redemption.proto +76 -0
  20. package/crepro_redemption_pb.d.ts +352 -0
  21. package/crepro_redemption_pb.js +119 -0
  22. package/dongtot.proto +758 -0
  23. package/dongtot_pb.d.ts +4169 -0
  24. package/dongtot_pb.js +1357 -0
  25. package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.d.ts +350 -0
  26. package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.js +551 -0
  27. package/dongtot_service.proto +154 -0
  28. package/dongtot_service_connect.d.ts +316 -0
  29. package/dongtot_service_connect.js +316 -0
  30. package/econtract.proto +675 -0
  31. package/econtract_pb.d.ts +3522 -0
  32. package/econtract_pb.js +1176 -0
  33. package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.d.ts +419 -0
  34. package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.js +673 -0
  35. package/econtract_service.proto +71 -0
  36. package/econtract_service_connect.d.ts +381 -0
  37. package/econtract_service_connect.js +381 -0
  38. package/fundiin.proto +53 -0
  39. package/fundiin_pb.d.ts +255 -0
  40. package/fundiin_pb.js +85 -0
  41. package/google_billing.proto +65 -0
  42. package/google_billing_pb.d.ts +372 -0
  43. package/google_billing_pb.js +146 -0
  44. package/iap.proto +53 -0
  45. package/iap_pb.d.ts +281 -0
  46. package/iap_pb.js +109 -0
  47. package/momo.proto +92 -0
  48. package/momo_pb.d.ts +481 -0
  49. package/momo_pb.js +150 -0
  50. package/napas.proto +110 -0
  51. package/napas_pb.d.ts +587 -0
  52. package/napas_pb.js +192 -0
  53. package/order.proto +81 -0
  54. package/order_pb.d.ts +372 -0
  55. package/order_pb.js +123 -0
  56. package/package.json +10 -0
  57. package/package.proto +382 -0
  58. package/package_pb.d.ts +1907 -0
  59. package/package_pb.js +621 -0
  60. package/payment_promotion.proto +170 -0
  61. package/payment_promotion_pb.d.ts +893 -0
  62. package/payment_promotion_pb.js +311 -0
  63. package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.d.ts +112 -0
  64. package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.js +171 -0
  65. package/payment_promotion_service.proto +73 -0
  66. package/payment_promotion_service_connect.d.ts +102 -0
  67. package/payment_promotion_service_connect.js +102 -0
  68. package/payoo.proto +55 -0
  69. package/payoo_pb.d.ts +282 -0
  70. package/payoo_pb.js +105 -0
  71. package/pricer.proto +154 -0
  72. package/pricer_pb.d.ts +823 -0
  73. package/pricer_pb.js +260 -0
  74. package/rabbit_mq.proto +51 -0
  75. package/rabbit_mq_pb.d.ts +257 -0
  76. package/rabbit_mq_pb.js +78 -0
  77. package/refund_order.proto +37 -0
  78. package/refund_order_pb.d.ts +184 -0
  79. package/refund_order_pb.js +63 -0
  80. package/scripts/modify_package_json.js +50 -0
  81. package/service-LogicUniRevPaymentService_connectquery.d.ts +1239 -0
  82. package/service-LogicUniRevPaymentService_connectquery.js +1968 -0
  83. package/service.proto +643 -0
  84. package/service_connect.d.ts +1120 -0
  85. package/service_connect.js +1120 -0
  86. package/subscription.proto +24 -0
  87. package/subscription_pb.d.ts +98 -0
  88. package/subscription_pb.js +37 -0
  89. package/template.proto +76 -0
  90. package/template_pb.d.ts +387 -0
  91. package/template_pb.js +140 -0
  92. package/transaction.proto +513 -0
  93. package/transaction_pb.d.ts +2717 -0
  94. package/transaction_pb.js +856 -0
  95. package/virtual_account.proto +265 -0
  96. package/virtual_account_pb.d.ts +1442 -0
  97. package/virtual_account_pb.js +478 -0
  98. package/zalopay.proto +78 -0
  99. package/zalopay_pb.d.ts +423 -0
  100. package/zalopay_pb.js +153 -0
@@ -0,0 +1,102 @@
1
+ // @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
2
+ // @generated from file ct-logic-uni-rev-payment/v1/payment_promotion_service.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { ChangePaymentPromotionCampaignStatusRequest, ChangePaymentPromotionCampaignStatusResponse, CreatePaymentPromotionCampaignRequest, CreatePaymentPromotionCampaignResponse, GetActionLogsRequest, GetActionLogsResponse, GetPaymentMethodsRequest, GetPaymentMethodsResponse, GetPaymentPromotionCampaignByIdRequest, GetPaymentPromotionCampaignByIdResponse, GetPaymentPromotionCampaignsRequest, GetPaymentPromotionCampaignsResponse, GetRedeemLogsRequest, GetRedeemLogsResponse, GetRedeemsRequest, GetRedeemsResponse, UpdatePaymentPromotionCampaignRequest, UpdatePaymentPromotionCampaignResponse } from "./payment_promotion_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService
11
+ */
12
+ export declare const LogicUniRevPaymentPromotionService: {
13
+ readonly typeName: "ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetPaymentMethods
17
+ */
18
+ readonly getPaymentMethods: {
19
+ readonly name: "GetPaymentMethods",
20
+ readonly I: typeof GetPaymentMethodsRequest,
21
+ readonly O: typeof GetPaymentMethodsResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * CAMPAIGN
26
+ *
27
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.CreatePaymentPromotionCampaign
28
+ */
29
+ readonly createPaymentPromotionCampaign: {
30
+ readonly name: "CreatePaymentPromotionCampaign",
31
+ readonly I: typeof CreatePaymentPromotionCampaignRequest,
32
+ readonly O: typeof CreatePaymentPromotionCampaignResponse,
33
+ readonly kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.UpdatePaymentPromotionCampaign
37
+ */
38
+ readonly updatePaymentPromotionCampaign: {
39
+ readonly name: "UpdatePaymentPromotionCampaign",
40
+ readonly I: typeof UpdatePaymentPromotionCampaignRequest,
41
+ readonly O: typeof UpdatePaymentPromotionCampaignResponse,
42
+ readonly kind: MethodKind.Unary,
43
+ },
44
+ /**
45
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.ChangePaymentPromotionCampaignStatus
46
+ */
47
+ readonly changePaymentPromotionCampaignStatus: {
48
+ readonly name: "ChangePaymentPromotionCampaignStatus",
49
+ readonly I: typeof ChangePaymentPromotionCampaignStatusRequest,
50
+ readonly O: typeof ChangePaymentPromotionCampaignStatusResponse,
51
+ readonly kind: MethodKind.Unary,
52
+ },
53
+ /**
54
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetPaymentPromotionCampaigns
55
+ */
56
+ readonly getPaymentPromotionCampaigns: {
57
+ readonly name: "GetPaymentPromotionCampaigns",
58
+ readonly I: typeof GetPaymentPromotionCampaignsRequest,
59
+ readonly O: typeof GetPaymentPromotionCampaignsResponse,
60
+ readonly kind: MethodKind.Unary,
61
+ },
62
+ /**
63
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetPaymentPromotionCampaignById
64
+ */
65
+ readonly getPaymentPromotionCampaignById: {
66
+ readonly name: "GetPaymentPromotionCampaignById",
67
+ readonly I: typeof GetPaymentPromotionCampaignByIdRequest,
68
+ readonly O: typeof GetPaymentPromotionCampaignByIdResponse,
69
+ readonly kind: MethodKind.Unary,
70
+ },
71
+ /**
72
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetRedeems
73
+ */
74
+ readonly getRedeems: {
75
+ readonly name: "GetRedeems",
76
+ readonly I: typeof GetRedeemsRequest,
77
+ readonly O: typeof GetRedeemsResponse,
78
+ readonly kind: MethodKind.Unary,
79
+ },
80
+ /**
81
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetActionLogs
82
+ */
83
+ readonly getActionLogs: {
84
+ readonly name: "GetActionLogs",
85
+ readonly I: typeof GetActionLogsRequest,
86
+ readonly O: typeof GetActionLogsResponse,
87
+ readonly kind: MethodKind.Unary,
88
+ },
89
+ /**
90
+ * REDEEM LOG
91
+ *
92
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetRedeemLogs
93
+ */
94
+ readonly getRedeemLogs: {
95
+ readonly name: "GetRedeemLogs",
96
+ readonly I: typeof GetRedeemLogsRequest,
97
+ readonly O: typeof GetRedeemLogsResponse,
98
+ readonly kind: MethodKind.Unary,
99
+ },
100
+ }
101
+ };
102
+
@@ -0,0 +1,102 @@
1
+ // @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
2
+ // @generated from file ct-logic-uni-rev-payment/v1/payment_promotion_service.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { ChangePaymentPromotionCampaignStatusRequest, ChangePaymentPromotionCampaignStatusResponse, CreatePaymentPromotionCampaignRequest, CreatePaymentPromotionCampaignResponse, GetActionLogsRequest, GetActionLogsResponse, GetPaymentMethodsRequest, GetPaymentMethodsResponse, GetPaymentPromotionCampaignByIdRequest, GetPaymentPromotionCampaignByIdResponse, GetPaymentPromotionCampaignsRequest, GetPaymentPromotionCampaignsResponse, GetRedeemLogsRequest, GetRedeemLogsResponse, GetRedeemsRequest, GetRedeemsResponse, UpdatePaymentPromotionCampaignRequest, UpdatePaymentPromotionCampaignResponse } from "./payment_promotion_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService
11
+ */
12
+ export const LogicUniRevPaymentPromotionService = {
13
+ typeName: "ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetPaymentMethods
17
+ */
18
+ getPaymentMethods: {
19
+ name: "GetPaymentMethods",
20
+ I: GetPaymentMethodsRequest,
21
+ O: GetPaymentMethodsResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * CAMPAIGN
26
+ *
27
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.CreatePaymentPromotionCampaign
28
+ */
29
+ createPaymentPromotionCampaign: {
30
+ name: "CreatePaymentPromotionCampaign",
31
+ I: CreatePaymentPromotionCampaignRequest,
32
+ O: CreatePaymentPromotionCampaignResponse,
33
+ kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.UpdatePaymentPromotionCampaign
37
+ */
38
+ updatePaymentPromotionCampaign: {
39
+ name: "UpdatePaymentPromotionCampaign",
40
+ I: UpdatePaymentPromotionCampaignRequest,
41
+ O: UpdatePaymentPromotionCampaignResponse,
42
+ kind: MethodKind.Unary,
43
+ },
44
+ /**
45
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.ChangePaymentPromotionCampaignStatus
46
+ */
47
+ changePaymentPromotionCampaignStatus: {
48
+ name: "ChangePaymentPromotionCampaignStatus",
49
+ I: ChangePaymentPromotionCampaignStatusRequest,
50
+ O: ChangePaymentPromotionCampaignStatusResponse,
51
+ kind: MethodKind.Unary,
52
+ },
53
+ /**
54
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetPaymentPromotionCampaigns
55
+ */
56
+ getPaymentPromotionCampaigns: {
57
+ name: "GetPaymentPromotionCampaigns",
58
+ I: GetPaymentPromotionCampaignsRequest,
59
+ O: GetPaymentPromotionCampaignsResponse,
60
+ kind: MethodKind.Unary,
61
+ },
62
+ /**
63
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetPaymentPromotionCampaignById
64
+ */
65
+ getPaymentPromotionCampaignById: {
66
+ name: "GetPaymentPromotionCampaignById",
67
+ I: GetPaymentPromotionCampaignByIdRequest,
68
+ O: GetPaymentPromotionCampaignByIdResponse,
69
+ kind: MethodKind.Unary,
70
+ },
71
+ /**
72
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetRedeems
73
+ */
74
+ getRedeems: {
75
+ name: "GetRedeems",
76
+ I: GetRedeemsRequest,
77
+ O: GetRedeemsResponse,
78
+ kind: MethodKind.Unary,
79
+ },
80
+ /**
81
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetActionLogs
82
+ */
83
+ getActionLogs: {
84
+ name: "GetActionLogs",
85
+ I: GetActionLogsRequest,
86
+ O: GetActionLogsResponse,
87
+ kind: MethodKind.Unary,
88
+ },
89
+ /**
90
+ * REDEEM LOG
91
+ *
92
+ * @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentPromotionService.GetRedeemLogs
93
+ */
94
+ getRedeemLogs: {
95
+ name: "GetRedeemLogs",
96
+ I: GetRedeemLogsRequest,
97
+ O: GetRedeemLogsResponse,
98
+ kind: MethodKind.Unary,
99
+ },
100
+ }
101
+ };
102
+
package/payoo.proto ADDED
@@ -0,0 +1,55 @@
1
+ // general
2
+ syntax = "proto3";
3
+ package ct_logic_uni_rev_payment.v1;
4
+ // language specs
5
+ option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-payment;pb";
6
+
7
+ message PayooIPNRequest {
8
+ string notify_data_xml = 1;
9
+ }
10
+
11
+ message PayooIPNResponse {
12
+ int32 status = 1;
13
+ string status_msg = 2;
14
+ }
15
+
16
+ message PayooCheckPhoneAtPosRequest {
17
+ string phone = 1;
18
+ string checksum = 2;
19
+ }
20
+
21
+ message PayooCheckPhoneAtPosResponse {
22
+ string error = 1;
23
+ int32 status_code = 2;
24
+
25
+ string email = 3;
26
+ string full_name = 4;
27
+ }
28
+
29
+ message PayooTopupAtPosRequest {
30
+ string trans_id = 1;
31
+ string phone = 2;
32
+ int64 amount = 3;
33
+ string checksum = 4;
34
+ }
35
+
36
+ message PayooTopupAtPosResponse {
37
+ string error = 1;
38
+ int32 status_code = 2;
39
+
40
+ string trans_id = 3;
41
+ string order_code = 4;
42
+ int64 paid_amount = 5;
43
+ int64 free_amount = 6;
44
+ int64 amount = 7;
45
+ }
46
+
47
+ message PayooBankTransferIPNRequest {
48
+ string notify_data_xml = 1;
49
+ string ip = 2;
50
+ }
51
+
52
+ message PayooBankTransferIPNResponse {
53
+ int32 status = 1;
54
+ string status_msg = 2;
55
+ }
package/payoo_pb.d.ts ADDED
@@ -0,0 +1,282 @@
1
+ // general
2
+
3
+ // @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
4
+ // @generated from file ct-logic-uni-rev-payment/v1/payoo.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
9
+ import { Message, proto3 } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooIPNRequest
13
+ */
14
+ export declare class PayooIPNRequest extends Message<PayooIPNRequest> {
15
+ /**
16
+ * @generated from field: string notify_data_xml = 1;
17
+ */
18
+ notifyDataXml: string;
19
+
20
+ constructor(data?: PartialMessage<PayooIPNRequest>);
21
+
22
+ static readonly runtime: typeof proto3;
23
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooIPNRequest";
24
+ static readonly fields: FieldList;
25
+
26
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooIPNRequest;
27
+
28
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooIPNRequest;
29
+
30
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooIPNRequest;
31
+
32
+ static equals(a: PayooIPNRequest | PlainMessage<PayooIPNRequest> | undefined, b: PayooIPNRequest | PlainMessage<PayooIPNRequest> | undefined): boolean;
33
+ }
34
+
35
+ /**
36
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooIPNResponse
37
+ */
38
+ export declare class PayooIPNResponse extends Message<PayooIPNResponse> {
39
+ /**
40
+ * @generated from field: int32 status = 1;
41
+ */
42
+ status: number;
43
+
44
+ /**
45
+ * @generated from field: string status_msg = 2;
46
+ */
47
+ statusMsg: string;
48
+
49
+ constructor(data?: PartialMessage<PayooIPNResponse>);
50
+
51
+ static readonly runtime: typeof proto3;
52
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooIPNResponse";
53
+ static readonly fields: FieldList;
54
+
55
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooIPNResponse;
56
+
57
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooIPNResponse;
58
+
59
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooIPNResponse;
60
+
61
+ static equals(a: PayooIPNResponse | PlainMessage<PayooIPNResponse> | undefined, b: PayooIPNResponse | PlainMessage<PayooIPNResponse> | undefined): boolean;
62
+ }
63
+
64
+ /**
65
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosRequest
66
+ */
67
+ export declare class PayooCheckPhoneAtPosRequest extends Message<PayooCheckPhoneAtPosRequest> {
68
+ /**
69
+ * @generated from field: string phone = 1;
70
+ */
71
+ phone: string;
72
+
73
+ /**
74
+ * @generated from field: string checksum = 2;
75
+ */
76
+ checksum: string;
77
+
78
+ constructor(data?: PartialMessage<PayooCheckPhoneAtPosRequest>);
79
+
80
+ static readonly runtime: typeof proto3;
81
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosRequest";
82
+ static readonly fields: FieldList;
83
+
84
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooCheckPhoneAtPosRequest;
85
+
86
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooCheckPhoneAtPosRequest;
87
+
88
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooCheckPhoneAtPosRequest;
89
+
90
+ static equals(a: PayooCheckPhoneAtPosRequest | PlainMessage<PayooCheckPhoneAtPosRequest> | undefined, b: PayooCheckPhoneAtPosRequest | PlainMessage<PayooCheckPhoneAtPosRequest> | undefined): boolean;
91
+ }
92
+
93
+ /**
94
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosResponse
95
+ */
96
+ export declare class PayooCheckPhoneAtPosResponse extends Message<PayooCheckPhoneAtPosResponse> {
97
+ /**
98
+ * @generated from field: string error = 1;
99
+ */
100
+ error: string;
101
+
102
+ /**
103
+ * @generated from field: int32 status_code = 2;
104
+ */
105
+ statusCode: number;
106
+
107
+ /**
108
+ * @generated from field: string email = 3;
109
+ */
110
+ email: string;
111
+
112
+ /**
113
+ * @generated from field: string full_name = 4;
114
+ */
115
+ fullName: string;
116
+
117
+ constructor(data?: PartialMessage<PayooCheckPhoneAtPosResponse>);
118
+
119
+ static readonly runtime: typeof proto3;
120
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosResponse";
121
+ static readonly fields: FieldList;
122
+
123
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooCheckPhoneAtPosResponse;
124
+
125
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooCheckPhoneAtPosResponse;
126
+
127
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooCheckPhoneAtPosResponse;
128
+
129
+ static equals(a: PayooCheckPhoneAtPosResponse | PlainMessage<PayooCheckPhoneAtPosResponse> | undefined, b: PayooCheckPhoneAtPosResponse | PlainMessage<PayooCheckPhoneAtPosResponse> | undefined): boolean;
130
+ }
131
+
132
+ /**
133
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooTopupAtPosRequest
134
+ */
135
+ export declare class PayooTopupAtPosRequest extends Message<PayooTopupAtPosRequest> {
136
+ /**
137
+ * @generated from field: string trans_id = 1;
138
+ */
139
+ transId: string;
140
+
141
+ /**
142
+ * @generated from field: string phone = 2;
143
+ */
144
+ phone: string;
145
+
146
+ /**
147
+ * @generated from field: int64 amount = 3;
148
+ */
149
+ amount: bigint;
150
+
151
+ /**
152
+ * @generated from field: string checksum = 4;
153
+ */
154
+ checksum: string;
155
+
156
+ constructor(data?: PartialMessage<PayooTopupAtPosRequest>);
157
+
158
+ static readonly runtime: typeof proto3;
159
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooTopupAtPosRequest";
160
+ static readonly fields: FieldList;
161
+
162
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooTopupAtPosRequest;
163
+
164
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooTopupAtPosRequest;
165
+
166
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooTopupAtPosRequest;
167
+
168
+ static equals(a: PayooTopupAtPosRequest | PlainMessage<PayooTopupAtPosRequest> | undefined, b: PayooTopupAtPosRequest | PlainMessage<PayooTopupAtPosRequest> | undefined): boolean;
169
+ }
170
+
171
+ /**
172
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooTopupAtPosResponse
173
+ */
174
+ export declare class PayooTopupAtPosResponse extends Message<PayooTopupAtPosResponse> {
175
+ /**
176
+ * @generated from field: string error = 1;
177
+ */
178
+ error: string;
179
+
180
+ /**
181
+ * @generated from field: int32 status_code = 2;
182
+ */
183
+ statusCode: number;
184
+
185
+ /**
186
+ * @generated from field: string trans_id = 3;
187
+ */
188
+ transId: string;
189
+
190
+ /**
191
+ * @generated from field: string order_code = 4;
192
+ */
193
+ orderCode: string;
194
+
195
+ /**
196
+ * @generated from field: int64 paid_amount = 5;
197
+ */
198
+ paidAmount: bigint;
199
+
200
+ /**
201
+ * @generated from field: int64 free_amount = 6;
202
+ */
203
+ freeAmount: bigint;
204
+
205
+ /**
206
+ * @generated from field: int64 amount = 7;
207
+ */
208
+ amount: bigint;
209
+
210
+ constructor(data?: PartialMessage<PayooTopupAtPosResponse>);
211
+
212
+ static readonly runtime: typeof proto3;
213
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooTopupAtPosResponse";
214
+ static readonly fields: FieldList;
215
+
216
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooTopupAtPosResponse;
217
+
218
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooTopupAtPosResponse;
219
+
220
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooTopupAtPosResponse;
221
+
222
+ static equals(a: PayooTopupAtPosResponse | PlainMessage<PayooTopupAtPosResponse> | undefined, b: PayooTopupAtPosResponse | PlainMessage<PayooTopupAtPosResponse> | undefined): boolean;
223
+ }
224
+
225
+ /**
226
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooBankTransferIPNRequest
227
+ */
228
+ export declare class PayooBankTransferIPNRequest extends Message<PayooBankTransferIPNRequest> {
229
+ /**
230
+ * @generated from field: string notify_data_xml = 1;
231
+ */
232
+ notifyDataXml: string;
233
+
234
+ /**
235
+ * @generated from field: string ip = 2;
236
+ */
237
+ ip: string;
238
+
239
+ constructor(data?: PartialMessage<PayooBankTransferIPNRequest>);
240
+
241
+ static readonly runtime: typeof proto3;
242
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooBankTransferIPNRequest";
243
+ static readonly fields: FieldList;
244
+
245
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooBankTransferIPNRequest;
246
+
247
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooBankTransferIPNRequest;
248
+
249
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooBankTransferIPNRequest;
250
+
251
+ static equals(a: PayooBankTransferIPNRequest | PlainMessage<PayooBankTransferIPNRequest> | undefined, b: PayooBankTransferIPNRequest | PlainMessage<PayooBankTransferIPNRequest> | undefined): boolean;
252
+ }
253
+
254
+ /**
255
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooBankTransferIPNResponse
256
+ */
257
+ export declare class PayooBankTransferIPNResponse extends Message<PayooBankTransferIPNResponse> {
258
+ /**
259
+ * @generated from field: int32 status = 1;
260
+ */
261
+ status: number;
262
+
263
+ /**
264
+ * @generated from field: string status_msg = 2;
265
+ */
266
+ statusMsg: string;
267
+
268
+ constructor(data?: PartialMessage<PayooBankTransferIPNResponse>);
269
+
270
+ static readonly runtime: typeof proto3;
271
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.PayooBankTransferIPNResponse";
272
+ static readonly fields: FieldList;
273
+
274
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PayooBankTransferIPNResponse;
275
+
276
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PayooBankTransferIPNResponse;
277
+
278
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PayooBankTransferIPNResponse;
279
+
280
+ static equals(a: PayooBankTransferIPNResponse | PlainMessage<PayooBankTransferIPNResponse> | undefined, b: PayooBankTransferIPNResponse | PlainMessage<PayooBankTransferIPNResponse> | undefined): boolean;
281
+ }
282
+
package/payoo_pb.js ADDED
@@ -0,0 +1,105 @@
1
+ // general
2
+
3
+ // @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
4
+ // @generated from file ct-logic-uni-rev-payment/v1/payoo.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import { proto3 } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooIPNRequest
12
+ */
13
+ export const PayooIPNRequest = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_payment.v1.PayooIPNRequest",
15
+ () => [
16
+ { no: 1, name: "notify_data_xml", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17
+ ],
18
+ );
19
+
20
+ /**
21
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooIPNResponse
22
+ */
23
+ export const PayooIPNResponse = proto3.makeMessageType(
24
+ "ct_logic_uni_rev_payment.v1.PayooIPNResponse",
25
+ () => [
26
+ { no: 1, name: "status", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
27
+ { no: 2, name: "status_msg", kind: "scalar", T: 9 /* ScalarType.STRING */ },
28
+ ],
29
+ );
30
+
31
+ /**
32
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosRequest
33
+ */
34
+ export const PayooCheckPhoneAtPosRequest = proto3.makeMessageType(
35
+ "ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosRequest",
36
+ () => [
37
+ { no: 1, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
+ { no: 2, name: "checksum", kind: "scalar", T: 9 /* ScalarType.STRING */ },
39
+ ],
40
+ );
41
+
42
+ /**
43
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosResponse
44
+ */
45
+ export const PayooCheckPhoneAtPosResponse = proto3.makeMessageType(
46
+ "ct_logic_uni_rev_payment.v1.PayooCheckPhoneAtPosResponse",
47
+ () => [
48
+ { no: 1, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ { no: 2, name: "status_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
50
+ { no: 3, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
+ { no: 4, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
+ ],
53
+ );
54
+
55
+ /**
56
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooTopupAtPosRequest
57
+ */
58
+ export const PayooTopupAtPosRequest = proto3.makeMessageType(
59
+ "ct_logic_uni_rev_payment.v1.PayooTopupAtPosRequest",
60
+ () => [
61
+ { no: 1, name: "trans_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
62
+ { no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
63
+ { no: 3, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
64
+ { no: 4, name: "checksum", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooTopupAtPosResponse
70
+ */
71
+ export const PayooTopupAtPosResponse = proto3.makeMessageType(
72
+ "ct_logic_uni_rev_payment.v1.PayooTopupAtPosResponse",
73
+ () => [
74
+ { no: 1, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
+ { no: 2, name: "status_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
76
+ { no: 3, name: "trans_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
+ { no: 4, name: "order_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
+ { no: 5, name: "paid_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
79
+ { no: 6, name: "free_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
80
+ { no: 7, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
81
+ ],
82
+ );
83
+
84
+ /**
85
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooBankTransferIPNRequest
86
+ */
87
+ export const PayooBankTransferIPNRequest = proto3.makeMessageType(
88
+ "ct_logic_uni_rev_payment.v1.PayooBankTransferIPNRequest",
89
+ () => [
90
+ { no: 1, name: "notify_data_xml", kind: "scalar", T: 9 /* ScalarType.STRING */ },
91
+ { no: 2, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
+ ],
93
+ );
94
+
95
+ /**
96
+ * @generated from message ct_logic_uni_rev_payment.v1.PayooBankTransferIPNResponse
97
+ */
98
+ export const PayooBankTransferIPNResponse = proto3.makeMessageType(
99
+ "ct_logic_uni_rev_payment.v1.PayooBankTransferIPNResponse",
100
+ () => [
101
+ { no: 1, name: "status", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
102
+ { no: 2, name: "status_msg", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
+ ],
104
+ );
105
+