@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/pricer.proto ADDED
@@ -0,0 +1,154 @@
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 PriceMessage {
8
+ double vnd = 1;
9
+ double credit = 2;
10
+ double promotion = 3;
11
+ }
12
+
13
+ message DetailPriceBundle {
14
+ string service_name = 1;
15
+ string service_type = 2;
16
+ string service_params = 3;
17
+ int64 bundle_segment_id = 4;
18
+ PriceMessage price = 5;
19
+ }
20
+
21
+ message BundlePriceMessage {
22
+ int64 id = 1;
23
+ string name = 2;
24
+ string tagging_name = 3;
25
+ string title = 4;
26
+ string image_url = 5;
27
+ string gif_image_url = 6;
28
+ string description = 7;
29
+ string message = 8;
30
+ bool enabled = 9;
31
+ bool is_bundle_listing = 10;
32
+ int64 bundle_premium_services_only_duration = 11;
33
+ PriceMessage price = 12;
34
+ int64 bundle_segment_id = 13;
35
+ string segment_id = 14;
36
+ repeated DetailPriceBundle detail_prices = 15;
37
+ }
38
+
39
+ message InsertAdPriceMessage {
40
+ string action_type = 1;
41
+ int64 duration = 2;
42
+ string ad_type = 3;
43
+ int64 category_id = 4;
44
+ int64 region_id = 5;
45
+ string message_promotion = 6;
46
+ bool is_default_duration = 7;
47
+ PriceMessage price = 8;
48
+ }
49
+
50
+ message ShopToChototPriceMessage {
51
+ string action_type = 1;
52
+ int64 duration = 2;
53
+ string ad_type = 3;
54
+ int64 category_id = 4;
55
+ int64 region_id = 5;
56
+ string message_promotion = 6;
57
+ bool is_default_duration = 7;
58
+ PriceMessage price = 8;
59
+ }
60
+
61
+ message StickyAdPriceMessage {
62
+ int64 category_id = 1;
63
+ string duration = 2;
64
+ int64 region_id = 3;
65
+ string message_promotion = 4;
66
+ string discount_label = 5;
67
+ bool is_disabled = 6;
68
+ PriceMessage price = 7;
69
+ }
70
+
71
+ message BumpPriceMessage {
72
+ string bump_type = 1;
73
+ string discount_label= 2;
74
+ string duration = 3;
75
+ string message_promotion = 4;
76
+ bool is_disabled = 5;
77
+ PriceMessage price = 6;
78
+ }
79
+
80
+ message TimerBumpPriceMessage {
81
+ string message_promotion = 1;
82
+ bool is_disabled = 2;
83
+ PriceMessage price = 3;
84
+ }
85
+
86
+ message CupidPriceMessage {
87
+ int64 category_id = 1;
88
+ int64 region_id = 2;
89
+ int64 duration = 3;
90
+ string message_promotion = 4;
91
+ bool is_disabled = 5;
92
+ PriceMessage price = 6;
93
+ }
94
+
95
+ message IntensiveBumpPriceMessage {
96
+ int64 category_id = 1;
97
+ int64 region_id = 2;
98
+ int64 duration = 3;
99
+ string message_promotion = 4;
100
+ bool is_disabled = 5;
101
+ string discount_label = 6;
102
+ PriceMessage price = 7;
103
+ }
104
+
105
+ message SpecialDisplayPriceMessage {
106
+ int64 category_id = 1;
107
+ int64 duration = 2;
108
+ int64 region_id = 3;
109
+ string ad_type = 4;
110
+ string message_promotion = 5;
111
+ PriceMessage price = 6;
112
+ }
113
+
114
+ message GetPricePremiumFeatureByAdItemRequest {
115
+ int64 ad_id = 1;
116
+ int64 region_id = 2;
117
+ int64 category_id = 3;
118
+ string ad_type = 4;
119
+ int64 duration = 5;
120
+ }
121
+
122
+ message GetPricePremiumFeatureByAdRequest {
123
+ int64 account_id = 1;
124
+ repeated GetPricePremiumFeatureByAdItemRequest data = 2;
125
+ }
126
+
127
+ message GetPricePremiumFeatureByAdItemResponse {
128
+ repeated BundlePriceMessage bundles = 1;
129
+ repeated InsertAdPriceMessage insert_ads = 2;
130
+ repeated StickyAdPriceMessage sticky_ads = 3;
131
+ repeated BumpPriceMessage bump = 4;
132
+ TimerBumpPriceMessage timer_bump = 5;
133
+ repeated CupidPriceMessage cupid = 6;
134
+ repeated IntensiveBumpPriceMessage intensive_bump = 7;
135
+ repeated SpecialDisplayPriceMessage special_display = 8;
136
+ repeated ShopToChototPriceMessage shop_to_chotot = 9;
137
+ }
138
+
139
+ message GetPricePremiumFeatureByAdResponse {
140
+ map<int64, GetPricePremiumFeatureByAdItemResponse> data = 1;
141
+ }
142
+
143
+ message GetPriceListingFeeDurationRequest {
144
+ int64 account_id = 1;
145
+ int64 ad_id = 2;
146
+ }
147
+
148
+ message GetPriceListingFeeDurationResponse {
149
+ repeated int64 listing_fee_duration = 1;
150
+ int64 default_duration = 2;
151
+ int64 default_duration_for_free_ad = 3;
152
+ string message_title = 4;
153
+ string message_body = 5;
154
+ }