@chotot/ct-logic-uni-rev-premium-v1 1.286.0 → 1.295.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.
- package/ad.proto +1 -0
- package/ad_pb.d.ts +5 -0
- package/ad_pb.js +1 -0
- package/ad_social_platform.proto +1 -0
- package/ad_social_platform_pb.d.ts +5 -0
- package/ad_social_platform_pb.js +1 -0
- package/free_ps.proto +6 -0
- package/free_ps_pb.d.ts +30 -0
- package/free_ps_pb.js +6 -0
- package/listing_tier.proto +23 -0
- package/listing_tier_pb.d.ts +76 -0
- package/listing_tier_pb.js +26 -0
- package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.d.ts +11 -1
- package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.js +17 -1
- package/listing_tier_service.proto +2 -1
- package/listing_tier_service_connect.d.ts +10 -1
- package/listing_tier_service_connect.js +10 -1
- package/package.json +1 -1
- package/premium_services.proto +1 -0
- package/premium_services_pb.d.ts +5 -0
- package/premium_services_pb.js +1 -0
package/ad.proto
CHANGED
package/ad_pb.d.ts
CHANGED
|
@@ -362,6 +362,11 @@ export declare class AdExtensionCondition extends Message<AdExtensionCondition>
|
|
|
362
362
|
*/
|
|
363
363
|
pendingDay: bigint;
|
|
364
364
|
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string message = 4;
|
|
367
|
+
*/
|
|
368
|
+
message: string;
|
|
369
|
+
|
|
365
370
|
constructor(data?: PartialMessage<AdExtensionCondition>);
|
|
366
371
|
|
|
367
372
|
static readonly runtime: typeof proto3;
|
package/ad_pb.js
CHANGED
|
@@ -135,6 +135,7 @@ export const AdExtensionCondition = proto3.makeMessageType(
|
|
|
135
135
|
{ no: 1, name: "can_extend", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
136
136
|
{ no: 2, name: "is_paid_ad", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
137
137
|
{ no: 3, name: "pending_day", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
138
|
+
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
138
139
|
],
|
|
139
140
|
);
|
|
140
141
|
|
package/ad_social_platform.proto
CHANGED
|
@@ -195,6 +195,11 @@ export declare class QuickCheckAdSharingSocialPlatformRequest extends Message<Qu
|
|
|
195
195
|
*/
|
|
196
196
|
adId: bigint;
|
|
197
197
|
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: int64 order_id = 3;
|
|
200
|
+
*/
|
|
201
|
+
orderId: bigint;
|
|
202
|
+
|
|
198
203
|
constructor(data?: PartialMessage<QuickCheckAdSharingSocialPlatformRequest>);
|
|
199
204
|
|
|
200
205
|
static readonly runtime: typeof proto3;
|
package/ad_social_platform_pb.js
CHANGED
|
@@ -62,6 +62,7 @@ export const QuickCheckAdSharingSocialPlatformRequest = proto3.makeMessageType(
|
|
|
62
62
|
() => [
|
|
63
63
|
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
64
64
|
{ no: 2, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
65
|
+
{ no: 3, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
65
66
|
],
|
|
66
67
|
);
|
|
67
68
|
|
package/free_ps.proto
CHANGED
|
@@ -44,6 +44,9 @@ message PSRedeemManualResponse {
|
|
|
44
44
|
bool success = 1;
|
|
45
45
|
string message = 2;
|
|
46
46
|
string message_detail = 3;
|
|
47
|
+
string btn_name = 4;
|
|
48
|
+
string btn_redirect_url = 5;
|
|
49
|
+
string btn_deeplink_url = 6;
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
message GetPSCampaignsRequest {
|
|
@@ -167,6 +170,7 @@ message CreatePSRedeemRequest {
|
|
|
167
170
|
string admin_id = 8; // for rmq message
|
|
168
171
|
optional int64 duration = 9;
|
|
169
172
|
string phone = 10;
|
|
173
|
+
optional int64 quantity = 11;
|
|
170
174
|
}
|
|
171
175
|
|
|
172
176
|
message CreatePSRedeemsResponse {}
|
|
@@ -222,6 +226,7 @@ message PSPremiumService {
|
|
|
222
226
|
string service_type = 1;
|
|
223
227
|
string service_params = 2;
|
|
224
228
|
int64 total_free = 3;
|
|
229
|
+
int64 quantity = 4;
|
|
225
230
|
}
|
|
226
231
|
|
|
227
232
|
message RestorePSRedeemRequest {
|
|
@@ -359,6 +364,7 @@ message VoucherDetailMetadata {
|
|
|
359
364
|
repeated string service_type_names = 13;
|
|
360
365
|
string note = 14;
|
|
361
366
|
string tier_code_name = 15;
|
|
367
|
+
string quantity = 16;
|
|
362
368
|
}
|
|
363
369
|
|
|
364
370
|
message ExpiryDate {
|
package/free_ps_pb.d.ts
CHANGED
|
@@ -202,6 +202,21 @@ export declare class PSRedeemManualResponse extends Message<PSRedeemManualRespon
|
|
|
202
202
|
*/
|
|
203
203
|
messageDetail: string;
|
|
204
204
|
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: string btn_name = 4;
|
|
207
|
+
*/
|
|
208
|
+
btnName: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string btn_redirect_url = 5;
|
|
212
|
+
*/
|
|
213
|
+
btnRedirectUrl: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string btn_deeplink_url = 6;
|
|
217
|
+
*/
|
|
218
|
+
btnDeeplinkUrl: string;
|
|
219
|
+
|
|
205
220
|
constructor(data?: PartialMessage<PSRedeemManualResponse>);
|
|
206
221
|
|
|
207
222
|
static readonly runtime: typeof proto3;
|
|
@@ -807,6 +822,11 @@ export declare class CreatePSRedeemRequest extends Message<CreatePSRedeemRequest
|
|
|
807
822
|
*/
|
|
808
823
|
phone: string;
|
|
809
824
|
|
|
825
|
+
/**
|
|
826
|
+
* @generated from field: optional int64 quantity = 11;
|
|
827
|
+
*/
|
|
828
|
+
quantity?: bigint;
|
|
829
|
+
|
|
810
830
|
constructor(data?: PartialMessage<CreatePSRedeemRequest>);
|
|
811
831
|
|
|
812
832
|
static readonly runtime: typeof proto3;
|
|
@@ -1124,6 +1144,11 @@ export declare class PSPremiumService extends Message<PSPremiumService> {
|
|
|
1124
1144
|
*/
|
|
1125
1145
|
totalFree: bigint;
|
|
1126
1146
|
|
|
1147
|
+
/**
|
|
1148
|
+
* @generated from field: int64 quantity = 4;
|
|
1149
|
+
*/
|
|
1150
|
+
quantity: bigint;
|
|
1151
|
+
|
|
1127
1152
|
constructor(data?: PartialMessage<PSPremiumService>);
|
|
1128
1153
|
|
|
1129
1154
|
static readonly runtime: typeof proto3;
|
|
@@ -1879,6 +1904,11 @@ export declare class VoucherDetailMetadata extends Message<VoucherDetailMetadata
|
|
|
1879
1904
|
*/
|
|
1880
1905
|
tierCodeName: string;
|
|
1881
1906
|
|
|
1907
|
+
/**
|
|
1908
|
+
* @generated from field: string quantity = 16;
|
|
1909
|
+
*/
|
|
1910
|
+
quantity: string;
|
|
1911
|
+
|
|
1882
1912
|
constructor(data?: PartialMessage<VoucherDetailMetadata>);
|
|
1883
1913
|
|
|
1884
1914
|
static readonly runtime: typeof proto3;
|
package/free_ps_pb.js
CHANGED
|
@@ -77,6 +77,9 @@ export const PSRedeemManualResponse = proto3.makeMessageType(
|
|
|
77
77
|
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
78
78
|
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
79
79
|
{ no: 3, name: "message_detail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
|
+
{ no: 4, name: "btn_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
81
|
+
{ no: 5, name: "btn_redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
82
|
+
{ no: 6, name: "btn_deeplink_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
83
|
],
|
|
81
84
|
);
|
|
82
85
|
|
|
@@ -262,6 +265,7 @@ export const CreatePSRedeemRequest = proto3.makeMessageType(
|
|
|
262
265
|
{ no: 8, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
263
266
|
{ no: 9, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
264
267
|
{ no: 10, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
268
|
+
{ no: 11, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
265
269
|
],
|
|
266
270
|
);
|
|
267
271
|
|
|
@@ -365,6 +369,7 @@ export const PSPremiumService = proto3.makeMessageType(
|
|
|
365
369
|
{ no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
366
370
|
{ no: 2, name: "service_params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
367
371
|
{ no: 3, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
372
|
+
{ no: 4, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
368
373
|
],
|
|
369
374
|
);
|
|
370
375
|
|
|
@@ -596,6 +601,7 @@ export const VoucherDetailMetadata = proto3.makeMessageType(
|
|
|
596
601
|
{ no: 13, name: "service_type_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
597
602
|
{ no: 14, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
598
603
|
{ no: 15, name: "tier_code_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
604
|
+
{ no: 16, name: "quantity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
599
605
|
],
|
|
600
606
|
);
|
|
601
607
|
|
package/listing_tier.proto
CHANGED
|
@@ -3,6 +3,7 @@ package ct_logic_uni_rev_premium.v1;
|
|
|
3
3
|
|
|
4
4
|
option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-premium;pb";
|
|
5
5
|
|
|
6
|
+
import "ct-logic-uni-rev-premium/v1/premium_services.proto";
|
|
6
7
|
import "validate/validate.proto";
|
|
7
8
|
import "google/protobuf/timestamp.proto";
|
|
8
9
|
|
|
@@ -101,6 +102,10 @@ message BannerInfo {
|
|
|
101
102
|
string icon_url = 2;
|
|
102
103
|
string text = 3;
|
|
103
104
|
string next_action = 4;
|
|
105
|
+
|
|
106
|
+
// Key to identify package tier for page navigation
|
|
107
|
+
string package_tier_key_mobile = 5;
|
|
108
|
+
string package_tier_key_desktop = 6;
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
message TierOption {
|
|
@@ -225,4 +230,22 @@ message MetadataListingFeeTypeSubscription {
|
|
|
225
230
|
message ServiceDeliveryInfo {
|
|
226
231
|
string service_type = 1;
|
|
227
232
|
string meta_data = 2;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
message GetInfoDeliveryByRefIdRequest {
|
|
236
|
+
string ref_delivery_id = 1;
|
|
237
|
+
string delivery_source = 2 [(validate.rules).string = {
|
|
238
|
+
in: [
|
|
239
|
+
"subscription_quota",
|
|
240
|
+
"paid_listing_fee_entitlement",
|
|
241
|
+
"free_listing_fee_entitlement",
|
|
242
|
+
"free_listing_fee_voucher"
|
|
243
|
+
]
|
|
244
|
+
}];
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
message GetInfoDeliveryByRefIdResponse {
|
|
248
|
+
GetScheduleBumpServiceResponse bump_service_info = 1;
|
|
249
|
+
GetStickyAdsServiceResponse sticky_ads_service_info = 2;
|
|
250
|
+
GetSDAServiceResponse sda_service_info = 3;
|
|
228
251
|
}
|
package/listing_tier_pb.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { GetScheduleBumpServiceResponse, GetSDAServiceResponse, GetStickyAdsServiceResponse } from "./premium_services_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum ct_logic_uni_rev_premium.v1.BenefitType
|
|
@@ -462,6 +463,18 @@ export declare class BannerInfo extends Message<BannerInfo> {
|
|
|
462
463
|
*/
|
|
463
464
|
nextAction: string;
|
|
464
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Key to identify package tier for page navigation
|
|
468
|
+
*
|
|
469
|
+
* @generated from field: string package_tier_key_mobile = 5;
|
|
470
|
+
*/
|
|
471
|
+
packageTierKeyMobile: string;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: string package_tier_key_desktop = 6;
|
|
475
|
+
*/
|
|
476
|
+
packageTierKeyDesktop: string;
|
|
477
|
+
|
|
465
478
|
constructor(data?: PartialMessage<BannerInfo>);
|
|
466
479
|
|
|
467
480
|
static readonly runtime: typeof proto3;
|
|
@@ -1030,3 +1043,66 @@ export declare class ServiceDeliveryInfo extends Message<ServiceDeliveryInfo> {
|
|
|
1030
1043
|
static equals(a: ServiceDeliveryInfo | PlainMessage<ServiceDeliveryInfo> | undefined, b: ServiceDeliveryInfo | PlainMessage<ServiceDeliveryInfo> | undefined): boolean;
|
|
1031
1044
|
}
|
|
1032
1045
|
|
|
1046
|
+
/**
|
|
1047
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdRequest
|
|
1048
|
+
*/
|
|
1049
|
+
export declare class GetInfoDeliveryByRefIdRequest extends Message<GetInfoDeliveryByRefIdRequest> {
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from field: string ref_delivery_id = 1;
|
|
1052
|
+
*/
|
|
1053
|
+
refDeliveryId: string;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* @generated from field: string delivery_source = 2;
|
|
1057
|
+
*/
|
|
1058
|
+
deliverySource: string;
|
|
1059
|
+
|
|
1060
|
+
constructor(data?: PartialMessage<GetInfoDeliveryByRefIdRequest>);
|
|
1061
|
+
|
|
1062
|
+
static readonly runtime: typeof proto3;
|
|
1063
|
+
static readonly typeName = "ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdRequest";
|
|
1064
|
+
static readonly fields: FieldList;
|
|
1065
|
+
|
|
1066
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetInfoDeliveryByRefIdRequest;
|
|
1067
|
+
|
|
1068
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetInfoDeliveryByRefIdRequest;
|
|
1069
|
+
|
|
1070
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetInfoDeliveryByRefIdRequest;
|
|
1071
|
+
|
|
1072
|
+
static equals(a: GetInfoDeliveryByRefIdRequest | PlainMessage<GetInfoDeliveryByRefIdRequest> | undefined, b: GetInfoDeliveryByRefIdRequest | PlainMessage<GetInfoDeliveryByRefIdRequest> | undefined): boolean;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdResponse
|
|
1077
|
+
*/
|
|
1078
|
+
export declare class GetInfoDeliveryByRefIdResponse extends Message<GetInfoDeliveryByRefIdResponse> {
|
|
1079
|
+
/**
|
|
1080
|
+
* @generated from field: ct_logic_uni_rev_premium.v1.GetScheduleBumpServiceResponse bump_service_info = 1;
|
|
1081
|
+
*/
|
|
1082
|
+
bumpServiceInfo?: GetScheduleBumpServiceResponse;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* @generated from field: ct_logic_uni_rev_premium.v1.GetStickyAdsServiceResponse sticky_ads_service_info = 2;
|
|
1086
|
+
*/
|
|
1087
|
+
stickyAdsServiceInfo?: GetStickyAdsServiceResponse;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* @generated from field: ct_logic_uni_rev_premium.v1.GetSDAServiceResponse sda_service_info = 3;
|
|
1091
|
+
*/
|
|
1092
|
+
sdaServiceInfo?: GetSDAServiceResponse;
|
|
1093
|
+
|
|
1094
|
+
constructor(data?: PartialMessage<GetInfoDeliveryByRefIdResponse>);
|
|
1095
|
+
|
|
1096
|
+
static readonly runtime: typeof proto3;
|
|
1097
|
+
static readonly typeName = "ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdResponse";
|
|
1098
|
+
static readonly fields: FieldList;
|
|
1099
|
+
|
|
1100
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetInfoDeliveryByRefIdResponse;
|
|
1101
|
+
|
|
1102
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetInfoDeliveryByRefIdResponse;
|
|
1103
|
+
|
|
1104
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetInfoDeliveryByRefIdResponse;
|
|
1105
|
+
|
|
1106
|
+
static equals(a: GetInfoDeliveryByRefIdResponse | PlainMessage<GetInfoDeliveryByRefIdResponse> | undefined, b: GetInfoDeliveryByRefIdResponse | PlainMessage<GetInfoDeliveryByRefIdResponse> | undefined): boolean;
|
|
1107
|
+
}
|
|
1108
|
+
|
package/listing_tier_pb.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
6
|
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
7
|
+
import { GetScheduleBumpServiceResponse, GetSDAServiceResponse, GetStickyAdsServiceResponse } from "./premium_services_pb.js";
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* @generated from enum ct_logic_uni_rev_premium.v1.BenefitType
|
|
@@ -170,6 +171,8 @@ export const BannerInfo = proto3.makeMessageType(
|
|
|
170
171
|
{ no: 2, name: "icon_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
172
|
{ no: 3, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
173
|
{ no: 4, name: "next_action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
174
|
+
{ no: 5, name: "package_tier_key_mobile", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
175
|
+
{ no: 6, name: "package_tier_key_desktop", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
173
176
|
],
|
|
174
177
|
);
|
|
175
178
|
|
|
@@ -363,3 +366,26 @@ export const ServiceDeliveryInfo = proto3.makeMessageType(
|
|
|
363
366
|
],
|
|
364
367
|
);
|
|
365
368
|
|
|
369
|
+
/**
|
|
370
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdRequest
|
|
371
|
+
*/
|
|
372
|
+
export const GetInfoDeliveryByRefIdRequest = proto3.makeMessageType(
|
|
373
|
+
"ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdRequest",
|
|
374
|
+
() => [
|
|
375
|
+
{ no: 1, name: "ref_delivery_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
376
|
+
{ no: 2, name: "delivery_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
377
|
+
],
|
|
378
|
+
);
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdResponse
|
|
382
|
+
*/
|
|
383
|
+
export const GetInfoDeliveryByRefIdResponse = proto3.makeMessageType(
|
|
384
|
+
"ct_logic_uni_rev_premium.v1.GetInfoDeliveryByRefIdResponse",
|
|
385
|
+
() => [
|
|
386
|
+
{ no: 1, name: "bump_service_info", kind: "message", T: GetScheduleBumpServiceResponse },
|
|
387
|
+
{ no: 2, name: "sticky_ads_service_info", kind: "message", T: GetStickyAdsServiceResponse },
|
|
388
|
+
{ no: 3, name: "sda_service_info", kind: "message", T: GetSDAServiceResponse },
|
|
389
|
+
],
|
|
390
|
+
);
|
|
391
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
6
|
+
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetInfoDeliveryByRefIdRequest, GetInfoDeliveryByRefIdResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { UnaryHooks } from "@connectrpc/connect-query";
|
|
9
9
|
|
|
@@ -94,6 +94,15 @@ export declare const LogicUniRevPremiumListingTierService: {
|
|
|
94
94
|
readonly O: typeof GetAlacarteServicesResponse,
|
|
95
95
|
readonly kind: MethodKind.Unary,
|
|
96
96
|
},
|
|
97
|
+
/**
|
|
98
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetInfoDeliveryByRefId
|
|
99
|
+
*/
|
|
100
|
+
readonly getInfoDeliveryByRefId: {
|
|
101
|
+
readonly name: "GetInfoDeliveryByRefId",
|
|
102
|
+
readonly I: typeof GetInfoDeliveryByRefIdRequest,
|
|
103
|
+
readonly O: typeof GetInfoDeliveryByRefIdResponse,
|
|
104
|
+
readonly kind: MethodKind.Unary,
|
|
105
|
+
},
|
|
97
106
|
}
|
|
98
107
|
};
|
|
99
108
|
|
|
@@ -106,3 +115,4 @@ export const checkSKFeatureEnable: UnaryHooks<CheckSKFeatureEnableRequest, Check
|
|
|
106
115
|
export const updateServiceStatus: UnaryHooks<UpdateServiceStatusRequest, UpdateServiceStatusResponse>;
|
|
107
116
|
export const getTierInfoOfAds: UnaryHooks<GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse>;
|
|
108
117
|
export const getAlacarteServices: UnaryHooks<GetAlacarteServicesRequest, GetAlacarteServicesResponse>;
|
|
118
|
+
export const getInfoDeliveryByRefId: UnaryHooks<GetInfoDeliveryByRefIdRequest, GetInfoDeliveryByRefIdResponse>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
6
|
+
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetInfoDeliveryByRefIdRequest, GetInfoDeliveryByRefIdResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { createQueryService } from "@connectrpc/connect-query";
|
|
9
9
|
|
|
@@ -96,6 +96,15 @@ export const LogicUniRevPremiumListingTierService = {
|
|
|
96
96
|
O: GetAlacarteServicesResponse,
|
|
97
97
|
kind: MethodKind.Unary,
|
|
98
98
|
},
|
|
99
|
+
/**
|
|
100
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetInfoDeliveryByRefId
|
|
101
|
+
*/
|
|
102
|
+
getInfoDeliveryByRefId: {
|
|
103
|
+
name: "GetInfoDeliveryByRefId",
|
|
104
|
+
I: GetInfoDeliveryByRefIdRequest,
|
|
105
|
+
O: GetInfoDeliveryByRefIdResponse,
|
|
106
|
+
kind: MethodKind.Unary,
|
|
107
|
+
},
|
|
99
108
|
}
|
|
100
109
|
}
|
|
101
110
|
|
|
@@ -161,3 +170,10 @@ export const getTierInfoOfAds = createQueryService({
|
|
|
161
170
|
export const getAlacarteServices = createQueryService({
|
|
162
171
|
service: LogicUniRevPremiumListingTierService,
|
|
163
172
|
}).getAlacarteServices;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetInfoDeliveryByRefId
|
|
176
|
+
*/
|
|
177
|
+
export const getInfoDeliveryByRefId = createQueryService({
|
|
178
|
+
service: LogicUniRevPremiumListingTierService,
|
|
179
|
+
}).getInfoDeliveryByRefId;
|
|
@@ -15,5 +15,6 @@ service LogicUniRevPremiumListingTierService {
|
|
|
15
15
|
rpc CheckSKFeatureEnable(CheckSKFeatureEnableRequest) returns (CheckSKFeatureEnableResponse) {}
|
|
16
16
|
rpc UpdateServiceStatus(UpdateServiceStatusRequest) returns (UpdateServiceStatusResponse) {}
|
|
17
17
|
rpc GetTierInfoOfAds(GetTierInfoOfAdsRequest) returns (GetTierInfoOfAdsResponse) {}
|
|
18
|
-
rpc GetAlacarteServices(GetAlacarteServicesRequest) returns (GetAlacarteServicesResponse)
|
|
18
|
+
rpc GetAlacarteServices(GetAlacarteServicesRequest) returns (GetAlacarteServicesResponse) {}
|
|
19
|
+
rpc GetInfoDeliveryByRefId(GetInfoDeliveryByRefIdRequest) returns (GetInfoDeliveryByRefIdResponse) {}
|
|
19
20
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
6
|
+
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetInfoDeliveryByRefIdRequest, GetInfoDeliveryByRefIdResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -93,6 +93,15 @@ export declare const LogicUniRevPremiumListingTierService: {
|
|
|
93
93
|
readonly O: typeof GetAlacarteServicesResponse,
|
|
94
94
|
readonly kind: MethodKind.Unary,
|
|
95
95
|
},
|
|
96
|
+
/**
|
|
97
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetInfoDeliveryByRefId
|
|
98
|
+
*/
|
|
99
|
+
readonly getInfoDeliveryByRefId: {
|
|
100
|
+
readonly name: "GetInfoDeliveryByRefId",
|
|
101
|
+
readonly I: typeof GetInfoDeliveryByRefIdRequest,
|
|
102
|
+
readonly O: typeof GetInfoDeliveryByRefIdResponse,
|
|
103
|
+
readonly kind: MethodKind.Unary,
|
|
104
|
+
},
|
|
96
105
|
}
|
|
97
106
|
};
|
|
98
107
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
6
|
+
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetInfoDeliveryByRefIdRequest, GetInfoDeliveryByRefIdResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -93,6 +93,15 @@ export const LogicUniRevPremiumListingTierService = {
|
|
|
93
93
|
O: GetAlacarteServicesResponse,
|
|
94
94
|
kind: MethodKind.Unary,
|
|
95
95
|
},
|
|
96
|
+
/**
|
|
97
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetInfoDeliveryByRefId
|
|
98
|
+
*/
|
|
99
|
+
getInfoDeliveryByRefId: {
|
|
100
|
+
name: "GetInfoDeliveryByRefId",
|
|
101
|
+
I: GetInfoDeliveryByRefIdRequest,
|
|
102
|
+
O: GetInfoDeliveryByRefIdResponse,
|
|
103
|
+
kind: MethodKind.Unary,
|
|
104
|
+
},
|
|
96
105
|
}
|
|
97
106
|
};
|
|
98
107
|
|
package/package.json
CHANGED
package/premium_services.proto
CHANGED
package/premium_services_pb.d.ts
CHANGED
|
@@ -3887,6 +3887,11 @@ export declare class GetNextAvailableTimeRequest extends Message<GetNextAvailabl
|
|
|
3887
3887
|
*/
|
|
3888
3888
|
hours: bigint;
|
|
3889
3889
|
|
|
3890
|
+
/**
|
|
3891
|
+
* @generated from field: int64 account_id = 6;
|
|
3892
|
+
*/
|
|
3893
|
+
accountId: bigint;
|
|
3894
|
+
|
|
3890
3895
|
constructor(data?: PartialMessage<GetNextAvailableTimeRequest>);
|
|
3891
3896
|
|
|
3892
3897
|
static readonly runtime: typeof proto3;
|
package/premium_services_pb.js
CHANGED
|
@@ -1290,6 +1290,7 @@ export const GetNextAvailableTimeRequest = proto3.makeMessageType(
|
|
|
1290
1290
|
{ no: 3, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1291
1291
|
{ no: 4, name: "region_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1292
1292
|
{ no: 5, name: "hours", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1293
|
+
{ no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1293
1294
|
],
|
|
1294
1295
|
);
|
|
1295
1296
|
|