@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
package/fundiin_pb.js ADDED
@@ -0,0 +1,85 @@
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/fundiin.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import { proto3, Timestamp } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * @generated from message ct_logic_uni_rev_payment.v1.FundiinIPNRequest
12
+ */
13
+ export const FundiinIPNRequest = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_payment.v1.FundiinIPNRequest",
15
+ () => [
16
+ { no: 1, name: "shop_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17
+ { no: 2, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18
+ { no: 3, name: "order_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
+ { no: 4, name: "payment_status", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
20
+ { no: 5, name: "total_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
21
+ { no: 6, name: "discount_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
22
+ { no: 7, name: "timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
23
+ { no: 8, name: "series", kind: "message", T: FundiinIPNRequest_Series, repeated: true },
24
+ { no: 9, name: "authorization_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25
+ { no: 10, name: "fundiin_transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26
+ { no: 11, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
27
+ { no: 12, name: "raw_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
28
+ ],
29
+ );
30
+
31
+ /**
32
+ * @generated from message ct_logic_uni_rev_payment.v1.FundiinIPNRequest.Series
33
+ */
34
+ export const FundiinIPNRequest_Series = proto3.makeMessageType(
35
+ "ct_logic_uni_rev_payment.v1.FundiinIPNRequest.Series",
36
+ () => [
37
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
+ { no: 2, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
39
+ { no: 3, name: "payment_date", kind: "message", T: Timestamp },
40
+ ],
41
+ {localName: "FundiinIPNRequest_Series"},
42
+ );
43
+
44
+ /**
45
+ * @generated from message ct_logic_uni_rev_payment.v1.FundiinIPNResponse
46
+ */
47
+ export const FundiinIPNResponse = proto3.makeMessageType(
48
+ "ct_logic_uni_rev_payment.v1.FundiinIPNResponse",
49
+ () => [
50
+ { no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
51
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
52
+ ],
53
+ );
54
+
55
+ /**
56
+ * @generated from message ct_logic_uni_rev_payment.v1.FundiinTagsRequest
57
+ */
58
+ export const FundiinTagsRequest = proto3.makeMessageType(
59
+ "ct_logic_uni_rev_payment.v1.FundiinTagsRequest",
60
+ () => [
61
+ { no: 1, name: "shop_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
62
+ { no: 2, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
63
+ { no: 3, name: "order_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
+ { no: 4, name: "total_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
65
+ { no: 5, name: "discount_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
66
+ { no: 6, name: "tags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
67
+ { no: 7, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
68
+ { no: 8, name: "authorization_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
69
+ { no: 9, name: "fundiin_transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
70
+ { no: 10, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ { no: 11, name: "raw_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
72
+ ],
73
+ );
74
+
75
+ /**
76
+ * @generated from message ct_logic_uni_rev_payment.v1.FundiinTagsResponse
77
+ */
78
+ export const FundiinTagsResponse = proto3.makeMessageType(
79
+ "ct_logic_uni_rev_payment.v1.FundiinTagsResponse",
80
+ () => [
81
+ { no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
82
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
83
+ ],
84
+ );
85
+
@@ -0,0 +1,65 @@
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 GoogleBillingIPNMessage {
8
+ string data = 1;
9
+ string message_id = 2;
10
+ string publish_time = 3;
11
+ }
12
+
13
+ message GoogleBillingIPNRequest {
14
+ string authentication_token = 1;
15
+ string subscription = 2;
16
+ GoogleBillingIPNMessage message = 3;
17
+ }
18
+
19
+ message GoogleBillingIPNResponse {}
20
+
21
+ message GoogleBillingUnacknowledgedOrdersRequest {
22
+ repeated string purchase_token_list = 1;
23
+ repeated GoogleBillingUnacknowledgedOrders unacked_orders = 2;
24
+ int64 account_id = 3;
25
+ }
26
+
27
+ message GoogleBillingUnacknowledgedOrders {
28
+ string product_id = 1;
29
+ string purchase_token = 2;
30
+ }
31
+
32
+ message GoogleBillingUnacknowledgedOrdersResponse {}
33
+
34
+ message CheckGoogleBillingOrdersRequest {
35
+ repeated string google_order_id = 1;
36
+ repeated string purchase_token = 2;
37
+ repeated string google_package_name = 3;
38
+ }
39
+
40
+ message GoogleBillingOrderStatus {
41
+ string google_order_id = 1;
42
+ optional bytes google_billing_request = 2;
43
+ optional bytes latest_google_status = 3;
44
+ }
45
+
46
+ message CheckGoogleBillingOrdersResponse {
47
+ repeated GoogleBillingOrderStatus order_statuses = 1;
48
+ }
49
+
50
+ message RetryGoogleBillingOrderRequest {
51
+ int64 order_id = 1;
52
+ string google_order_id = 2;
53
+ string purchase_token = 3;
54
+ }
55
+
56
+ message RetryGoogleBillingOrderResponse {}
57
+
58
+
59
+ message GetGoogleBillingOrdersRequest {
60
+ repeated string google_order_id = 1;
61
+ }
62
+
63
+ message GetGoogleBillingOrdersResponse {
64
+ repeated bytes order = 1;
65
+ }
@@ -0,0 +1,372 @@
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/google_billing.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.GoogleBillingIPNMessage
13
+ */
14
+ export declare class GoogleBillingIPNMessage extends Message<GoogleBillingIPNMessage> {
15
+ /**
16
+ * @generated from field: string data = 1;
17
+ */
18
+ data: string;
19
+
20
+ /**
21
+ * @generated from field: string message_id = 2;
22
+ */
23
+ messageId: string;
24
+
25
+ /**
26
+ * @generated from field: string publish_time = 3;
27
+ */
28
+ publishTime: string;
29
+
30
+ constructor(data?: PartialMessage<GoogleBillingIPNMessage>);
31
+
32
+ static readonly runtime: typeof proto3;
33
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingIPNMessage";
34
+ static readonly fields: FieldList;
35
+
36
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingIPNMessage;
37
+
38
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingIPNMessage;
39
+
40
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingIPNMessage;
41
+
42
+ static equals(a: GoogleBillingIPNMessage | PlainMessage<GoogleBillingIPNMessage> | undefined, b: GoogleBillingIPNMessage | PlainMessage<GoogleBillingIPNMessage> | undefined): boolean;
43
+ }
44
+
45
+ /**
46
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingIPNRequest
47
+ */
48
+ export declare class GoogleBillingIPNRequest extends Message<GoogleBillingIPNRequest> {
49
+ /**
50
+ * @generated from field: string authentication_token = 1;
51
+ */
52
+ authenticationToken: string;
53
+
54
+ /**
55
+ * @generated from field: string subscription = 2;
56
+ */
57
+ subscription: string;
58
+
59
+ /**
60
+ * @generated from field: ct_logic_uni_rev_payment.v1.GoogleBillingIPNMessage message = 3;
61
+ */
62
+ message?: GoogleBillingIPNMessage;
63
+
64
+ constructor(data?: PartialMessage<GoogleBillingIPNRequest>);
65
+
66
+ static readonly runtime: typeof proto3;
67
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingIPNRequest";
68
+ static readonly fields: FieldList;
69
+
70
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingIPNRequest;
71
+
72
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingIPNRequest;
73
+
74
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingIPNRequest;
75
+
76
+ static equals(a: GoogleBillingIPNRequest | PlainMessage<GoogleBillingIPNRequest> | undefined, b: GoogleBillingIPNRequest | PlainMessage<GoogleBillingIPNRequest> | undefined): boolean;
77
+ }
78
+
79
+ /**
80
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingIPNResponse
81
+ */
82
+ export declare class GoogleBillingIPNResponse extends Message<GoogleBillingIPNResponse> {
83
+ constructor(data?: PartialMessage<GoogleBillingIPNResponse>);
84
+
85
+ static readonly runtime: typeof proto3;
86
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingIPNResponse";
87
+ static readonly fields: FieldList;
88
+
89
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingIPNResponse;
90
+
91
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingIPNResponse;
92
+
93
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingIPNResponse;
94
+
95
+ static equals(a: GoogleBillingIPNResponse | PlainMessage<GoogleBillingIPNResponse> | undefined, b: GoogleBillingIPNResponse | PlainMessage<GoogleBillingIPNResponse> | undefined): boolean;
96
+ }
97
+
98
+ /**
99
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersRequest
100
+ */
101
+ export declare class GoogleBillingUnacknowledgedOrdersRequest extends Message<GoogleBillingUnacknowledgedOrdersRequest> {
102
+ /**
103
+ * @generated from field: repeated string purchase_token_list = 1;
104
+ */
105
+ purchaseTokenList: string[];
106
+
107
+ /**
108
+ * @generated from field: repeated ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrders unacked_orders = 2;
109
+ */
110
+ unackedOrders: GoogleBillingUnacknowledgedOrders[];
111
+
112
+ /**
113
+ * @generated from field: int64 account_id = 3;
114
+ */
115
+ accountId: bigint;
116
+
117
+ constructor(data?: PartialMessage<GoogleBillingUnacknowledgedOrdersRequest>);
118
+
119
+ static readonly runtime: typeof proto3;
120
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersRequest";
121
+ static readonly fields: FieldList;
122
+
123
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingUnacknowledgedOrdersRequest;
124
+
125
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingUnacknowledgedOrdersRequest;
126
+
127
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingUnacknowledgedOrdersRequest;
128
+
129
+ static equals(a: GoogleBillingUnacknowledgedOrdersRequest | PlainMessage<GoogleBillingUnacknowledgedOrdersRequest> | undefined, b: GoogleBillingUnacknowledgedOrdersRequest | PlainMessage<GoogleBillingUnacknowledgedOrdersRequest> | undefined): boolean;
130
+ }
131
+
132
+ /**
133
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrders
134
+ */
135
+ export declare class GoogleBillingUnacknowledgedOrders extends Message<GoogleBillingUnacknowledgedOrders> {
136
+ /**
137
+ * @generated from field: string product_id = 1;
138
+ */
139
+ productId: string;
140
+
141
+ /**
142
+ * @generated from field: string purchase_token = 2;
143
+ */
144
+ purchaseToken: string;
145
+
146
+ constructor(data?: PartialMessage<GoogleBillingUnacknowledgedOrders>);
147
+
148
+ static readonly runtime: typeof proto3;
149
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrders";
150
+ static readonly fields: FieldList;
151
+
152
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingUnacknowledgedOrders;
153
+
154
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingUnacknowledgedOrders;
155
+
156
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingUnacknowledgedOrders;
157
+
158
+ static equals(a: GoogleBillingUnacknowledgedOrders | PlainMessage<GoogleBillingUnacknowledgedOrders> | undefined, b: GoogleBillingUnacknowledgedOrders | PlainMessage<GoogleBillingUnacknowledgedOrders> | undefined): boolean;
159
+ }
160
+
161
+ /**
162
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersResponse
163
+ */
164
+ export declare class GoogleBillingUnacknowledgedOrdersResponse extends Message<GoogleBillingUnacknowledgedOrdersResponse> {
165
+ constructor(data?: PartialMessage<GoogleBillingUnacknowledgedOrdersResponse>);
166
+
167
+ static readonly runtime: typeof proto3;
168
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersResponse";
169
+ static readonly fields: FieldList;
170
+
171
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingUnacknowledgedOrdersResponse;
172
+
173
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingUnacknowledgedOrdersResponse;
174
+
175
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingUnacknowledgedOrdersResponse;
176
+
177
+ static equals(a: GoogleBillingUnacknowledgedOrdersResponse | PlainMessage<GoogleBillingUnacknowledgedOrdersResponse> | undefined, b: GoogleBillingUnacknowledgedOrdersResponse | PlainMessage<GoogleBillingUnacknowledgedOrdersResponse> | undefined): boolean;
178
+ }
179
+
180
+ /**
181
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersRequest
182
+ */
183
+ export declare class CheckGoogleBillingOrdersRequest extends Message<CheckGoogleBillingOrdersRequest> {
184
+ /**
185
+ * @generated from field: repeated string google_order_id = 1;
186
+ */
187
+ googleOrderId: string[];
188
+
189
+ /**
190
+ * @generated from field: repeated string purchase_token = 2;
191
+ */
192
+ purchaseToken: string[];
193
+
194
+ /**
195
+ * @generated from field: repeated string google_package_name = 3;
196
+ */
197
+ googlePackageName: string[];
198
+
199
+ constructor(data?: PartialMessage<CheckGoogleBillingOrdersRequest>);
200
+
201
+ static readonly runtime: typeof proto3;
202
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersRequest";
203
+ static readonly fields: FieldList;
204
+
205
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckGoogleBillingOrdersRequest;
206
+
207
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckGoogleBillingOrdersRequest;
208
+
209
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckGoogleBillingOrdersRequest;
210
+
211
+ static equals(a: CheckGoogleBillingOrdersRequest | PlainMessage<CheckGoogleBillingOrdersRequest> | undefined, b: CheckGoogleBillingOrdersRequest | PlainMessage<CheckGoogleBillingOrdersRequest> | undefined): boolean;
212
+ }
213
+
214
+ /**
215
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingOrderStatus
216
+ */
217
+ export declare class GoogleBillingOrderStatus extends Message<GoogleBillingOrderStatus> {
218
+ /**
219
+ * @generated from field: string google_order_id = 1;
220
+ */
221
+ googleOrderId: string;
222
+
223
+ /**
224
+ * @generated from field: optional bytes google_billing_request = 2;
225
+ */
226
+ googleBillingRequest?: Uint8Array;
227
+
228
+ /**
229
+ * @generated from field: optional bytes latest_google_status = 3;
230
+ */
231
+ latestGoogleStatus?: Uint8Array;
232
+
233
+ constructor(data?: PartialMessage<GoogleBillingOrderStatus>);
234
+
235
+ static readonly runtime: typeof proto3;
236
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GoogleBillingOrderStatus";
237
+ static readonly fields: FieldList;
238
+
239
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoogleBillingOrderStatus;
240
+
241
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoogleBillingOrderStatus;
242
+
243
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoogleBillingOrderStatus;
244
+
245
+ static equals(a: GoogleBillingOrderStatus | PlainMessage<GoogleBillingOrderStatus> | undefined, b: GoogleBillingOrderStatus | PlainMessage<GoogleBillingOrderStatus> | undefined): boolean;
246
+ }
247
+
248
+ /**
249
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersResponse
250
+ */
251
+ export declare class CheckGoogleBillingOrdersResponse extends Message<CheckGoogleBillingOrdersResponse> {
252
+ /**
253
+ * @generated from field: repeated ct_logic_uni_rev_payment.v1.GoogleBillingOrderStatus order_statuses = 1;
254
+ */
255
+ orderStatuses: GoogleBillingOrderStatus[];
256
+
257
+ constructor(data?: PartialMessage<CheckGoogleBillingOrdersResponse>);
258
+
259
+ static readonly runtime: typeof proto3;
260
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersResponse";
261
+ static readonly fields: FieldList;
262
+
263
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckGoogleBillingOrdersResponse;
264
+
265
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckGoogleBillingOrdersResponse;
266
+
267
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckGoogleBillingOrdersResponse;
268
+
269
+ static equals(a: CheckGoogleBillingOrdersResponse | PlainMessage<CheckGoogleBillingOrdersResponse> | undefined, b: CheckGoogleBillingOrdersResponse | PlainMessage<CheckGoogleBillingOrdersResponse> | undefined): boolean;
270
+ }
271
+
272
+ /**
273
+ * @generated from message ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderRequest
274
+ */
275
+ export declare class RetryGoogleBillingOrderRequest extends Message<RetryGoogleBillingOrderRequest> {
276
+ /**
277
+ * @generated from field: int64 order_id = 1;
278
+ */
279
+ orderId: bigint;
280
+
281
+ /**
282
+ * @generated from field: string google_order_id = 2;
283
+ */
284
+ googleOrderId: string;
285
+
286
+ /**
287
+ * @generated from field: string purchase_token = 3;
288
+ */
289
+ purchaseToken: string;
290
+
291
+ constructor(data?: PartialMessage<RetryGoogleBillingOrderRequest>);
292
+
293
+ static readonly runtime: typeof proto3;
294
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderRequest";
295
+ static readonly fields: FieldList;
296
+
297
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RetryGoogleBillingOrderRequest;
298
+
299
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RetryGoogleBillingOrderRequest;
300
+
301
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RetryGoogleBillingOrderRequest;
302
+
303
+ static equals(a: RetryGoogleBillingOrderRequest | PlainMessage<RetryGoogleBillingOrderRequest> | undefined, b: RetryGoogleBillingOrderRequest | PlainMessage<RetryGoogleBillingOrderRequest> | undefined): boolean;
304
+ }
305
+
306
+ /**
307
+ * @generated from message ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderResponse
308
+ */
309
+ export declare class RetryGoogleBillingOrderResponse extends Message<RetryGoogleBillingOrderResponse> {
310
+ constructor(data?: PartialMessage<RetryGoogleBillingOrderResponse>);
311
+
312
+ static readonly runtime: typeof proto3;
313
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderResponse";
314
+ static readonly fields: FieldList;
315
+
316
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RetryGoogleBillingOrderResponse;
317
+
318
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RetryGoogleBillingOrderResponse;
319
+
320
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RetryGoogleBillingOrderResponse;
321
+
322
+ static equals(a: RetryGoogleBillingOrderResponse | PlainMessage<RetryGoogleBillingOrderResponse> | undefined, b: RetryGoogleBillingOrderResponse | PlainMessage<RetryGoogleBillingOrderResponse> | undefined): boolean;
323
+ }
324
+
325
+ /**
326
+ * @generated from message ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersRequest
327
+ */
328
+ export declare class GetGoogleBillingOrdersRequest extends Message<GetGoogleBillingOrdersRequest> {
329
+ /**
330
+ * @generated from field: repeated string google_order_id = 1;
331
+ */
332
+ googleOrderId: string[];
333
+
334
+ constructor(data?: PartialMessage<GetGoogleBillingOrdersRequest>);
335
+
336
+ static readonly runtime: typeof proto3;
337
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersRequest";
338
+ static readonly fields: FieldList;
339
+
340
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetGoogleBillingOrdersRequest;
341
+
342
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetGoogleBillingOrdersRequest;
343
+
344
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetGoogleBillingOrdersRequest;
345
+
346
+ static equals(a: GetGoogleBillingOrdersRequest | PlainMessage<GetGoogleBillingOrdersRequest> | undefined, b: GetGoogleBillingOrdersRequest | PlainMessage<GetGoogleBillingOrdersRequest> | undefined): boolean;
347
+ }
348
+
349
+ /**
350
+ * @generated from message ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersResponse
351
+ */
352
+ export declare class GetGoogleBillingOrdersResponse extends Message<GetGoogleBillingOrdersResponse> {
353
+ /**
354
+ * @generated from field: repeated bytes order = 1;
355
+ */
356
+ order: Uint8Array[];
357
+
358
+ constructor(data?: PartialMessage<GetGoogleBillingOrdersResponse>);
359
+
360
+ static readonly runtime: typeof proto3;
361
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersResponse";
362
+ static readonly fields: FieldList;
363
+
364
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetGoogleBillingOrdersResponse;
365
+
366
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetGoogleBillingOrdersResponse;
367
+
368
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetGoogleBillingOrdersResponse;
369
+
370
+ static equals(a: GetGoogleBillingOrdersResponse | PlainMessage<GetGoogleBillingOrdersResponse> | undefined, b: GetGoogleBillingOrdersResponse | PlainMessage<GetGoogleBillingOrdersResponse> | undefined): boolean;
371
+ }
372
+
@@ -0,0 +1,146 @@
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/google_billing.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.GoogleBillingIPNMessage
12
+ */
13
+ export const GoogleBillingIPNMessage = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_payment.v1.GoogleBillingIPNMessage",
15
+ () => [
16
+ { no: 1, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17
+ { no: 2, name: "message_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18
+ { no: 3, name: "publish_time", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
+ ],
20
+ );
21
+
22
+ /**
23
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingIPNRequest
24
+ */
25
+ export const GoogleBillingIPNRequest = proto3.makeMessageType(
26
+ "ct_logic_uni_rev_payment.v1.GoogleBillingIPNRequest",
27
+ () => [
28
+ { no: 1, name: "authentication_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
+ { no: 2, name: "subscription", kind: "scalar", T: 9 /* ScalarType.STRING */ },
30
+ { no: 3, name: "message", kind: "message", T: GoogleBillingIPNMessage },
31
+ ],
32
+ );
33
+
34
+ /**
35
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingIPNResponse
36
+ */
37
+ export const GoogleBillingIPNResponse = proto3.makeMessageType(
38
+ "ct_logic_uni_rev_payment.v1.GoogleBillingIPNResponse",
39
+ [],
40
+ );
41
+
42
+ /**
43
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersRequest
44
+ */
45
+ export const GoogleBillingUnacknowledgedOrdersRequest = proto3.makeMessageType(
46
+ "ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersRequest",
47
+ () => [
48
+ { no: 1, name: "purchase_token_list", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
49
+ { no: 2, name: "unacked_orders", kind: "message", T: GoogleBillingUnacknowledgedOrders, repeated: true },
50
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
51
+ ],
52
+ );
53
+
54
+ /**
55
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrders
56
+ */
57
+ export const GoogleBillingUnacknowledgedOrders = proto3.makeMessageType(
58
+ "ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrders",
59
+ () => [
60
+ { no: 1, name: "product_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
61
+ { no: 2, name: "purchase_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
62
+ ],
63
+ );
64
+
65
+ /**
66
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersResponse
67
+ */
68
+ export const GoogleBillingUnacknowledgedOrdersResponse = proto3.makeMessageType(
69
+ "ct_logic_uni_rev_payment.v1.GoogleBillingUnacknowledgedOrdersResponse",
70
+ [],
71
+ );
72
+
73
+ /**
74
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersRequest
75
+ */
76
+ export const CheckGoogleBillingOrdersRequest = proto3.makeMessageType(
77
+ "ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersRequest",
78
+ () => [
79
+ { no: 1, name: "google_order_id", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
80
+ { no: 2, name: "purchase_token", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
81
+ { no: 3, name: "google_package_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
82
+ ],
83
+ );
84
+
85
+ /**
86
+ * @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingOrderStatus
87
+ */
88
+ export const GoogleBillingOrderStatus = proto3.makeMessageType(
89
+ "ct_logic_uni_rev_payment.v1.GoogleBillingOrderStatus",
90
+ () => [
91
+ { no: 1, name: "google_order_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
+ { no: 2, name: "google_billing_request", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
93
+ { no: 3, name: "latest_google_status", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
94
+ ],
95
+ );
96
+
97
+ /**
98
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersResponse
99
+ */
100
+ export const CheckGoogleBillingOrdersResponse = proto3.makeMessageType(
101
+ "ct_logic_uni_rev_payment.v1.CheckGoogleBillingOrdersResponse",
102
+ () => [
103
+ { no: 1, name: "order_statuses", kind: "message", T: GoogleBillingOrderStatus, repeated: true },
104
+ ],
105
+ );
106
+
107
+ /**
108
+ * @generated from message ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderRequest
109
+ */
110
+ export const RetryGoogleBillingOrderRequest = proto3.makeMessageType(
111
+ "ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderRequest",
112
+ () => [
113
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
114
+ { no: 2, name: "google_order_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
115
+ { no: 3, name: "purchase_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
116
+ ],
117
+ );
118
+
119
+ /**
120
+ * @generated from message ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderResponse
121
+ */
122
+ export const RetryGoogleBillingOrderResponse = proto3.makeMessageType(
123
+ "ct_logic_uni_rev_payment.v1.RetryGoogleBillingOrderResponse",
124
+ [],
125
+ );
126
+
127
+ /**
128
+ * @generated from message ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersRequest
129
+ */
130
+ export const GetGoogleBillingOrdersRequest = proto3.makeMessageType(
131
+ "ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersRequest",
132
+ () => [
133
+ { no: 1, name: "google_order_id", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
134
+ ],
135
+ );
136
+
137
+ /**
138
+ * @generated from message ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersResponse
139
+ */
140
+ export const GetGoogleBillingOrdersResponse = proto3.makeMessageType(
141
+ "ct_logic_uni_rev_payment.v1.GetGoogleBillingOrdersResponse",
142
+ () => [
143
+ { no: 1, name: "order", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
144
+ ],
145
+ );
146
+