@g2gs/contracts 1.0.30 → 1.0.32
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/admin/category/v1/service_connect.d.ts +62 -0
- package/admin/category/v1/service_connect.js +62 -0
- package/admin/category/v1/service_pb.d.ts +414 -0
- package/admin/category/v1/service_pb.js +121 -0
- package/admin/product/v1/service_connect.d.ts +98 -0
- package/admin/product/v1/service_connect.js +98 -0
- package/admin/product/v1/service_pb.d.ts +1017 -0
- package/admin/product/v1/service_pb.js +276 -0
- package/admin/roles/v1/role_pb.d.ts +43 -0
- package/admin/roles/v1/role_pb.js +19 -0
- package/admin/roles/v1/service_connect.d.ts +129 -0
- package/admin/roles/v1/service_connect.js +129 -0
- package/admin/roles/v1/service_pb.d.ts +630 -0
- package/admin/roles/v1/service_pb.js +211 -0
- package/admin/roles/v1/staff_roles_pb.d.ts +38 -0
- package/admin/roles/v1/staff_roles_pb.js +19 -0
- package/admin/staff/v1/service_connect.d.ts +94 -0
- package/admin/staff/v1/service_connect.js +94 -0
- package/admin/staff/v1/service_pb.d.ts +444 -0
- package/admin/staff/v1/service_pb.js +138 -0
- package/admin/template_ref/v1/service_connect.d.ts +89 -0
- package/admin/template_ref/v1/service_connect.js +89 -0
- package/admin/template_ref/v1/service_pb.d.ts +707 -0
- package/admin/template_ref/v1/service_pb.js +181 -0
- package/common/v1/empty_pb.d.ts +24 -0
- package/common/v1/empty_pb.js +19 -0
- package/common/v1/pagination_pb.d.ts +59 -0
- package/common/v1/pagination_pb.js +26 -0
- package/identity/v1/auth_connect.d.ts +44 -0
- package/identity/v1/auth_connect.js +44 -0
- package/identity/v1/auth_pb.d.ts +164 -0
- package/identity/v1/auth_pb.js +68 -0
- package/package.json +1 -4
- package/public/catalog/v1/service_connect.d.ts +44 -0
- package/public/catalog/v1/service_connect.js +44 -0
- package/public/catalog/v1/service_pb.d.ts +442 -0
- package/public/catalog/v1/service_pb.js +147 -0
|
@@ -0,0 +1,1017 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0
|
|
2
|
+
// @generated from file admin/product/v1/service.proto (package admin.product.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file admin/product/v1/service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_admin_product_v1_service: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message admin.product.v1.Money
|
|
16
|
+
*/
|
|
17
|
+
export declare type Money = Message<"admin.product.v1.Money"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: int64 amount_minor = 1;
|
|
20
|
+
*/
|
|
21
|
+
amountMinor: bigint;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: admin.product.v1.Currency currency = 2;
|
|
25
|
+
*/
|
|
26
|
+
currency: Currency;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message admin.product.v1.Money.
|
|
31
|
+
* Use `create(MoneySchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export declare const MoneySchema: GenMessage<Money>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message admin.product.v1.Price
|
|
37
|
+
*/
|
|
38
|
+
export declare type Price = Message<"admin.product.v1.Price"> & {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: admin.product.v1.Money value = 1;
|
|
41
|
+
*/
|
|
42
|
+
value?: Money;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: optional google.protobuf.Timestamp valid_from = 2;
|
|
46
|
+
*/
|
|
47
|
+
validFrom?: Timestamp;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: optional google.protobuf.Timestamp valid_to = 3;
|
|
51
|
+
*/
|
|
52
|
+
validTo?: Timestamp;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message admin.product.v1.Price.
|
|
57
|
+
* Use `create(PriceSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const PriceSchema: GenMessage<Price>;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message admin.product.v1.Pricing
|
|
63
|
+
*/
|
|
64
|
+
export declare type Pricing = Message<"admin.product.v1.Pricing"> & {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: admin.product.v1.Price base = 1;
|
|
67
|
+
*/
|
|
68
|
+
base?: Price;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: optional admin.product.v1.Price promo = 2;
|
|
72
|
+
*/
|
|
73
|
+
promo?: Price;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message admin.product.v1.Pricing.
|
|
78
|
+
* Use `create(PricingSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const PricingSchema: GenMessage<Pricing>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message admin.product.v1.Variant
|
|
84
|
+
*/
|
|
85
|
+
export declare type Variant = Message<"admin.product.v1.Variant"> & {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: uint64 variant_id = 1;
|
|
88
|
+
*/
|
|
89
|
+
variantId: bigint;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string sku = 2;
|
|
93
|
+
*/
|
|
94
|
+
sku: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string title = 3;
|
|
98
|
+
*/
|
|
99
|
+
title: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: bool is_active = 4;
|
|
103
|
+
*/
|
|
104
|
+
isActive: boolean;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: admin.product.v1.Pricing pricing = 5;
|
|
108
|
+
*/
|
|
109
|
+
pricing?: Pricing;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: uint32 version = 6;
|
|
113
|
+
*/
|
|
114
|
+
version: number;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: optional uint64 template_id = 7;
|
|
118
|
+
*/
|
|
119
|
+
templateId?: bigint;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: optional uint64 pinned_template_version_id = 8;
|
|
123
|
+
*/
|
|
124
|
+
pinnedTemplateVersionId?: bigint;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message admin.product.v1.Variant.
|
|
129
|
+
* Use `create(VariantSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export declare const VariantSchema: GenMessage<Variant>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message admin.product.v1.LimitPolicyGroup
|
|
135
|
+
*/
|
|
136
|
+
export declare type LimitPolicyGroup = Message<"admin.product.v1.LimitPolicyGroup"> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string title = 1;
|
|
139
|
+
*/
|
|
140
|
+
title: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: uint64 limit = 2;
|
|
144
|
+
*/
|
|
145
|
+
limit: bigint;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message admin.product.v1.LimitPolicyGroup.
|
|
150
|
+
* Use `create(LimitPolicyGroupSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const LimitPolicyGroupSchema: GenMessage<LimitPolicyGroup>;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message admin.product.v1.LimitPolicy
|
|
156
|
+
*/
|
|
157
|
+
export declare type LimitPolicy = Message<"admin.product.v1.LimitPolicy"> & {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: uint64 policy_id = 1;
|
|
160
|
+
*/
|
|
161
|
+
policyId: bigint;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: uint64 product_id = 2;
|
|
165
|
+
*/
|
|
166
|
+
productId: bigint;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: admin.product.v1.LimitPolicyType type = 3;
|
|
170
|
+
*/
|
|
171
|
+
type: LimitPolicyType;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: optional uint64 total_limit = 4;
|
|
175
|
+
*/
|
|
176
|
+
totalLimit?: bigint;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: repeated admin.product.v1.LimitPolicyGroup groups = 5;
|
|
180
|
+
*/
|
|
181
|
+
groups: LimitPolicyGroup[];
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: uint32 version = 6;
|
|
185
|
+
*/
|
|
186
|
+
version: number;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message admin.product.v1.LimitPolicy.
|
|
191
|
+
* Use `create(LimitPolicySchema)` to create a new message.
|
|
192
|
+
*/
|
|
193
|
+
export declare const LimitPolicySchema: GenMessage<LimitPolicy>;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from message admin.product.v1.Product
|
|
197
|
+
*/
|
|
198
|
+
export declare type Product = Message<"admin.product.v1.Product"> & {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: uint64 product_id = 1;
|
|
201
|
+
*/
|
|
202
|
+
productId: bigint;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: string title = 2;
|
|
206
|
+
*/
|
|
207
|
+
title: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string description = 3;
|
|
211
|
+
*/
|
|
212
|
+
description: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: admin.product.v1.ProductStatus status = 4;
|
|
216
|
+
*/
|
|
217
|
+
status: ProductStatus;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: optional uint64 category_id = 5;
|
|
221
|
+
*/
|
|
222
|
+
categoryId?: bigint;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: optional uint64 limit_policy_id = 8;
|
|
226
|
+
*/
|
|
227
|
+
limitPolicyId?: bigint;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: repeated admin.product.v1.Variant variants = 9;
|
|
231
|
+
*/
|
|
232
|
+
variants: Variant[];
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: uint32 version = 10;
|
|
236
|
+
*/
|
|
237
|
+
version: number;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: google.protobuf.Timestamp created_at = 11;
|
|
241
|
+
*/
|
|
242
|
+
createdAt?: Timestamp;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 12;
|
|
246
|
+
*/
|
|
247
|
+
updatedAt?: Timestamp;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Describes the message admin.product.v1.Product.
|
|
252
|
+
* Use `create(ProductSchema)` to create a new message.
|
|
253
|
+
*/
|
|
254
|
+
export declare const ProductSchema: GenMessage<Product>;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @generated from message admin.product.v1.CreateVariantCmd
|
|
258
|
+
*/
|
|
259
|
+
export declare type CreateVariantCmd = Message<"admin.product.v1.CreateVariantCmd"> & {
|
|
260
|
+
/**
|
|
261
|
+
* @generated from field: string sku = 1;
|
|
262
|
+
*/
|
|
263
|
+
sku: string;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: string title = 2;
|
|
267
|
+
*/
|
|
268
|
+
title: string;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: int64 base_amount_minor = 3;
|
|
272
|
+
*/
|
|
273
|
+
baseAmountMinor: bigint;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: admin.product.v1.Currency currency = 4;
|
|
277
|
+
*/
|
|
278
|
+
currency: Currency;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: optional admin.product.v1.PromoCmd promo = 5;
|
|
282
|
+
*/
|
|
283
|
+
promo?: PromoCmd;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: optional uint64 template_id = 6;
|
|
287
|
+
*/
|
|
288
|
+
templateId?: bigint;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: optional uint64 pinned_template_version_id = 7;
|
|
292
|
+
*/
|
|
293
|
+
pinnedTemplateVersionId?: bigint;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message admin.product.v1.CreateVariantCmd.
|
|
298
|
+
* Use `create(CreateVariantCmdSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export declare const CreateVariantCmdSchema: GenMessage<CreateVariantCmd>;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @generated from message admin.product.v1.PromoCmd
|
|
304
|
+
*/
|
|
305
|
+
export declare type PromoCmd = Message<"admin.product.v1.PromoCmd"> & {
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: int64 amount_minor = 1;
|
|
308
|
+
*/
|
|
309
|
+
amountMinor: bigint;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: optional google.protobuf.Timestamp valid_from = 2;
|
|
313
|
+
*/
|
|
314
|
+
validFrom?: Timestamp;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: optional google.protobuf.Timestamp valid_to = 3;
|
|
318
|
+
*/
|
|
319
|
+
validTo?: Timestamp;
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Describes the message admin.product.v1.PromoCmd.
|
|
324
|
+
* Use `create(PromoCmdSchema)` to create a new message.
|
|
325
|
+
*/
|
|
326
|
+
export declare const PromoCmdSchema: GenMessage<PromoCmd>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @generated from message admin.product.v1.LimitPolicyCmd
|
|
330
|
+
*/
|
|
331
|
+
export declare type LimitPolicyCmd = Message<"admin.product.v1.LimitPolicyCmd"> & {
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: admin.product.v1.LimitPolicyType type = 1;
|
|
334
|
+
*/
|
|
335
|
+
type: LimitPolicyType;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: optional uint64 total_limit = 2;
|
|
339
|
+
*/
|
|
340
|
+
totalLimit?: bigint;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: repeated admin.product.v1.LimitPolicyGroup groups = 3;
|
|
344
|
+
*/
|
|
345
|
+
groups: LimitPolicyGroup[];
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message admin.product.v1.LimitPolicyCmd.
|
|
350
|
+
* Use `create(LimitPolicyCmdSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const LimitPolicyCmdSchema: GenMessage<LimitPolicyCmd>;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @generated from message admin.product.v1.CreateProductRequest
|
|
356
|
+
*/
|
|
357
|
+
export declare type CreateProductRequest = Message<"admin.product.v1.CreateProductRequest"> & {
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: string title = 1;
|
|
360
|
+
*/
|
|
361
|
+
title: string;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @generated from field: string description = 2;
|
|
365
|
+
*/
|
|
366
|
+
description: string;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: optional uint64 category_id = 3;
|
|
370
|
+
*/
|
|
371
|
+
categoryId?: bigint;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @generated from field: repeated admin.product.v1.CreateVariantCmd variants = 6;
|
|
375
|
+
*/
|
|
376
|
+
variants: CreateVariantCmd[];
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: optional admin.product.v1.LimitPolicyCmd limit_policy = 7;
|
|
380
|
+
*/
|
|
381
|
+
limitPolicy?: LimitPolicyCmd;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Describes the message admin.product.v1.CreateProductRequest.
|
|
386
|
+
* Use `create(CreateProductRequestSchema)` to create a new message.
|
|
387
|
+
*/
|
|
388
|
+
export declare const CreateProductRequestSchema: GenMessage<CreateProductRequest>;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from message admin.product.v1.CreateProductResponse
|
|
392
|
+
*/
|
|
393
|
+
export declare type CreateProductResponse = Message<"admin.product.v1.CreateProductResponse"> & {
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
396
|
+
*/
|
|
397
|
+
product?: Product;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: optional admin.product.v1.LimitPolicy limit_policy = 2;
|
|
401
|
+
*/
|
|
402
|
+
limitPolicy?: LimitPolicy;
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Describes the message admin.product.v1.CreateProductResponse.
|
|
407
|
+
* Use `create(CreateProductResponseSchema)` to create a new message.
|
|
408
|
+
*/
|
|
409
|
+
export declare const CreateProductResponseSchema: GenMessage<CreateProductResponse>;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @generated from message admin.product.v1.UpdateProductRequest
|
|
413
|
+
*/
|
|
414
|
+
export declare type UpdateProductRequest = Message<"admin.product.v1.UpdateProductRequest"> & {
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: uint64 product_id = 1;
|
|
417
|
+
*/
|
|
418
|
+
productId: bigint;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: optional string title = 2;
|
|
422
|
+
*/
|
|
423
|
+
title?: string;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: optional string description = 3;
|
|
427
|
+
*/
|
|
428
|
+
description?: string;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: optional uint64 category_id = 4;
|
|
432
|
+
*/
|
|
433
|
+
categoryId?: bigint;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: optional uint64 limit_policy_id = 7;
|
|
437
|
+
*/
|
|
438
|
+
limitPolicyId?: bigint;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Describes the message admin.product.v1.UpdateProductRequest.
|
|
443
|
+
* Use `create(UpdateProductRequestSchema)` to create a new message.
|
|
444
|
+
*/
|
|
445
|
+
export declare const UpdateProductRequestSchema: GenMessage<UpdateProductRequest>;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @generated from message admin.product.v1.UpdateProductResponse
|
|
449
|
+
*/
|
|
450
|
+
export declare type UpdateProductResponse = Message<"admin.product.v1.UpdateProductResponse"> & {
|
|
451
|
+
/**
|
|
452
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
453
|
+
*/
|
|
454
|
+
product?: Product;
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Describes the message admin.product.v1.UpdateProductResponse.
|
|
459
|
+
* Use `create(UpdateProductResponseSchema)` to create a new message.
|
|
460
|
+
*/
|
|
461
|
+
export declare const UpdateProductResponseSchema: GenMessage<UpdateProductResponse>;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* @generated from message admin.product.v1.GetProductRequest
|
|
465
|
+
*/
|
|
466
|
+
export declare type GetProductRequest = Message<"admin.product.v1.GetProductRequest"> & {
|
|
467
|
+
/**
|
|
468
|
+
* @generated from field: uint64 product_id = 1;
|
|
469
|
+
*/
|
|
470
|
+
productId: bigint;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Describes the message admin.product.v1.GetProductRequest.
|
|
475
|
+
* Use `create(GetProductRequestSchema)` to create a new message.
|
|
476
|
+
*/
|
|
477
|
+
export declare const GetProductRequestSchema: GenMessage<GetProductRequest>;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @generated from message admin.product.v1.GetProductResponse
|
|
481
|
+
*/
|
|
482
|
+
export declare type GetProductResponse = Message<"admin.product.v1.GetProductResponse"> & {
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
485
|
+
*/
|
|
486
|
+
product?: Product;
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Describes the message admin.product.v1.GetProductResponse.
|
|
491
|
+
* Use `create(GetProductResponseSchema)` to create a new message.
|
|
492
|
+
*/
|
|
493
|
+
export declare const GetProductResponseSchema: GenMessage<GetProductResponse>;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* @generated from message admin.product.v1.ListProductsRequest
|
|
497
|
+
*/
|
|
498
|
+
export declare type ListProductsRequest = Message<"admin.product.v1.ListProductsRequest"> & {
|
|
499
|
+
/**
|
|
500
|
+
* @generated from field: optional string title_like = 1;
|
|
501
|
+
*/
|
|
502
|
+
titleLike?: string;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: repeated admin.product.v1.ProductStatus statuses = 2;
|
|
506
|
+
*/
|
|
507
|
+
statuses: ProductStatus[];
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @generated from field: bool include_archived = 3;
|
|
511
|
+
*/
|
|
512
|
+
includeArchived: boolean;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: optional uint64 category_id = 4;
|
|
516
|
+
*/
|
|
517
|
+
categoryId?: bigint;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @generated from field: bool include_subcategories = 5;
|
|
521
|
+
*/
|
|
522
|
+
includeSubcategories: boolean;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* @generated from field: uint32 limit = 6;
|
|
526
|
+
*/
|
|
527
|
+
limit: number;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* @generated from field: uint64 offset = 7;
|
|
531
|
+
*/
|
|
532
|
+
offset: bigint;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* @generated from field: admin.product.v1.ProductSortField sort_by = 8;
|
|
536
|
+
*/
|
|
537
|
+
sortBy: ProductSortField;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* @generated from field: admin.product.v1.SortDirection sort_dir = 9;
|
|
541
|
+
*/
|
|
542
|
+
sortDir: SortDirection;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Describes the message admin.product.v1.ListProductsRequest.
|
|
547
|
+
* Use `create(ListProductsRequestSchema)` to create a new message.
|
|
548
|
+
*/
|
|
549
|
+
export declare const ListProductsRequestSchema: GenMessage<ListProductsRequest>;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @generated from message admin.product.v1.ListProductsResponse
|
|
553
|
+
*/
|
|
554
|
+
export declare type ListProductsResponse = Message<"admin.product.v1.ListProductsResponse"> & {
|
|
555
|
+
/**
|
|
556
|
+
* @generated from field: repeated admin.product.v1.Product items = 1;
|
|
557
|
+
*/
|
|
558
|
+
items: Product[];
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: uint64 total = 2;
|
|
562
|
+
*/
|
|
563
|
+
total: bigint;
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Describes the message admin.product.v1.ListProductsResponse.
|
|
568
|
+
* Use `create(ListProductsResponseSchema)` to create a new message.
|
|
569
|
+
*/
|
|
570
|
+
export declare const ListProductsResponseSchema: GenMessage<ListProductsResponse>;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @generated from message admin.product.v1.ActivateProductRequest
|
|
574
|
+
*/
|
|
575
|
+
export declare type ActivateProductRequest = Message<"admin.product.v1.ActivateProductRequest"> & {
|
|
576
|
+
/**
|
|
577
|
+
* @generated from field: uint64 product_id = 1;
|
|
578
|
+
*/
|
|
579
|
+
productId: bigint;
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Describes the message admin.product.v1.ActivateProductRequest.
|
|
584
|
+
* Use `create(ActivateProductRequestSchema)` to create a new message.
|
|
585
|
+
*/
|
|
586
|
+
export declare const ActivateProductRequestSchema: GenMessage<ActivateProductRequest>;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @generated from message admin.product.v1.ActivateProductResponse
|
|
590
|
+
*/
|
|
591
|
+
export declare type ActivateProductResponse = Message<"admin.product.v1.ActivateProductResponse"> & {
|
|
592
|
+
/**
|
|
593
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
594
|
+
*/
|
|
595
|
+
product?: Product;
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Describes the message admin.product.v1.ActivateProductResponse.
|
|
600
|
+
* Use `create(ActivateProductResponseSchema)` to create a new message.
|
|
601
|
+
*/
|
|
602
|
+
export declare const ActivateProductResponseSchema: GenMessage<ActivateProductResponse>;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @generated from message admin.product.v1.DeactivateProductRequest
|
|
606
|
+
*/
|
|
607
|
+
export declare type DeactivateProductRequest = Message<"admin.product.v1.DeactivateProductRequest"> & {
|
|
608
|
+
/**
|
|
609
|
+
* @generated from field: uint64 product_id = 1;
|
|
610
|
+
*/
|
|
611
|
+
productId: bigint;
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Describes the message admin.product.v1.DeactivateProductRequest.
|
|
616
|
+
* Use `create(DeactivateProductRequestSchema)` to create a new message.
|
|
617
|
+
*/
|
|
618
|
+
export declare const DeactivateProductRequestSchema: GenMessage<DeactivateProductRequest>;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @generated from message admin.product.v1.DeactivateProductResponse
|
|
622
|
+
*/
|
|
623
|
+
export declare type DeactivateProductResponse = Message<"admin.product.v1.DeactivateProductResponse"> & {
|
|
624
|
+
/**
|
|
625
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
626
|
+
*/
|
|
627
|
+
product?: Product;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Describes the message admin.product.v1.DeactivateProductResponse.
|
|
632
|
+
* Use `create(DeactivateProductResponseSchema)` to create a new message.
|
|
633
|
+
*/
|
|
634
|
+
export declare const DeactivateProductResponseSchema: GenMessage<DeactivateProductResponse>;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @generated from message admin.product.v1.ArchiveProductRequest
|
|
638
|
+
*/
|
|
639
|
+
export declare type ArchiveProductRequest = Message<"admin.product.v1.ArchiveProductRequest"> & {
|
|
640
|
+
/**
|
|
641
|
+
* @generated from field: uint64 product_id = 1;
|
|
642
|
+
*/
|
|
643
|
+
productId: bigint;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Describes the message admin.product.v1.ArchiveProductRequest.
|
|
648
|
+
* Use `create(ArchiveProductRequestSchema)` to create a new message.
|
|
649
|
+
*/
|
|
650
|
+
export declare const ArchiveProductRequestSchema: GenMessage<ArchiveProductRequest>;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @generated from message admin.product.v1.ArchiveProductResponse
|
|
654
|
+
*/
|
|
655
|
+
export declare type ArchiveProductResponse = Message<"admin.product.v1.ArchiveProductResponse"> & {
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Describes the message admin.product.v1.ArchiveProductResponse.
|
|
660
|
+
* Use `create(ArchiveProductResponseSchema)` to create a new message.
|
|
661
|
+
*/
|
|
662
|
+
export declare const ArchiveProductResponseSchema: GenMessage<ArchiveProductResponse>;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* @generated from message admin.product.v1.AddVariantRequest
|
|
666
|
+
*/
|
|
667
|
+
export declare type AddVariantRequest = Message<"admin.product.v1.AddVariantRequest"> & {
|
|
668
|
+
/**
|
|
669
|
+
* @generated from field: uint64 product_id = 1;
|
|
670
|
+
*/
|
|
671
|
+
productId: bigint;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* @generated from field: admin.product.v1.CreateVariantCmd variant = 2;
|
|
675
|
+
*/
|
|
676
|
+
variant?: CreateVariantCmd;
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Describes the message admin.product.v1.AddVariantRequest.
|
|
681
|
+
* Use `create(AddVariantRequestSchema)` to create a new message.
|
|
682
|
+
*/
|
|
683
|
+
export declare const AddVariantRequestSchema: GenMessage<AddVariantRequest>;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message admin.product.v1.AddVariantResponse
|
|
687
|
+
*/
|
|
688
|
+
export declare type AddVariantResponse = Message<"admin.product.v1.AddVariantResponse"> & {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
691
|
+
*/
|
|
692
|
+
product?: Product;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Describes the message admin.product.v1.AddVariantResponse.
|
|
697
|
+
* Use `create(AddVariantResponseSchema)` to create a new message.
|
|
698
|
+
*/
|
|
699
|
+
export declare const AddVariantResponseSchema: GenMessage<AddVariantResponse>;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @generated from message admin.product.v1.UpdateVariantRequest
|
|
703
|
+
*/
|
|
704
|
+
export declare type UpdateVariantRequest = Message<"admin.product.v1.UpdateVariantRequest"> & {
|
|
705
|
+
/**
|
|
706
|
+
* @generated from field: uint64 product_id = 1;
|
|
707
|
+
*/
|
|
708
|
+
productId: bigint;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* @generated from field: string sku = 2;
|
|
712
|
+
*/
|
|
713
|
+
sku: string;
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @generated from field: optional string title = 3;
|
|
717
|
+
*/
|
|
718
|
+
title?: string;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* @generated from field: optional bool is_active = 4;
|
|
722
|
+
*/
|
|
723
|
+
isActive?: boolean;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* @generated from field: optional int64 base_amount_minor = 5;
|
|
727
|
+
*/
|
|
728
|
+
baseAmountMinor?: bigint;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* @generated from field: optional admin.product.v1.Currency currency = 6;
|
|
732
|
+
*/
|
|
733
|
+
currency?: Currency;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @generated from oneof admin.product.v1.UpdateVariantRequest.promo_change
|
|
737
|
+
*/
|
|
738
|
+
promoChange: {
|
|
739
|
+
/**
|
|
740
|
+
* @generated from field: admin.product.v1.PromoCmd promo_set = 7;
|
|
741
|
+
*/
|
|
742
|
+
value: PromoCmd;
|
|
743
|
+
case: "promoSet";
|
|
744
|
+
} | {
|
|
745
|
+
/**
|
|
746
|
+
* @generated from field: bool promo_clear = 8;
|
|
747
|
+
*/
|
|
748
|
+
value: boolean;
|
|
749
|
+
case: "promoClear";
|
|
750
|
+
} | { case: undefined; value?: undefined };
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* @generated from field: optional uint64 template_id = 9;
|
|
754
|
+
*/
|
|
755
|
+
templateId?: bigint;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* @generated from field: optional uint64 pinned_template_version_id = 10;
|
|
759
|
+
*/
|
|
760
|
+
pinnedTemplateVersionId?: bigint;
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Describes the message admin.product.v1.UpdateVariantRequest.
|
|
765
|
+
* Use `create(UpdateVariantRequestSchema)` to create a new message.
|
|
766
|
+
*/
|
|
767
|
+
export declare const UpdateVariantRequestSchema: GenMessage<UpdateVariantRequest>;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* @generated from message admin.product.v1.UpdateVariantResponse
|
|
771
|
+
*/
|
|
772
|
+
export declare type UpdateVariantResponse = Message<"admin.product.v1.UpdateVariantResponse"> & {
|
|
773
|
+
/**
|
|
774
|
+
* @generated from field: admin.product.v1.Product product = 1;
|
|
775
|
+
*/
|
|
776
|
+
product?: Product;
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Describes the message admin.product.v1.UpdateVariantResponse.
|
|
781
|
+
* Use `create(UpdateVariantResponseSchema)` to create a new message.
|
|
782
|
+
*/
|
|
783
|
+
export declare const UpdateVariantResponseSchema: GenMessage<UpdateVariantResponse>;
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* @generated from enum admin.product.v1.ProductStatus
|
|
787
|
+
*/
|
|
788
|
+
export enum ProductStatus {
|
|
789
|
+
/**
|
|
790
|
+
* @generated from enum value: PRODUCT_STATUS_UNSPECIFIED = 0;
|
|
791
|
+
*/
|
|
792
|
+
UNSPECIFIED = 0,
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* @generated from enum value: PRODUCT_STATUS_DRAFT = 1;
|
|
796
|
+
*/
|
|
797
|
+
DRAFT = 1,
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* @generated from enum value: PRODUCT_STATUS_ACTIVE = 2;
|
|
801
|
+
*/
|
|
802
|
+
ACTIVE = 2,
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* @generated from enum value: PRODUCT_STATUS_INACTIVE = 3;
|
|
806
|
+
*/
|
|
807
|
+
INACTIVE = 3,
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @generated from enum value: PRODUCT_STATUS_ARCHIVED = 4;
|
|
811
|
+
*/
|
|
812
|
+
ARCHIVED = 4,
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Describes the enum admin.product.v1.ProductStatus.
|
|
817
|
+
*/
|
|
818
|
+
export declare const ProductStatusSchema: GenEnum<ProductStatus>;
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* @generated from enum admin.product.v1.SortDirection
|
|
822
|
+
*/
|
|
823
|
+
export enum SortDirection {
|
|
824
|
+
/**
|
|
825
|
+
* @generated from enum value: SORT_DIRECTION_UNSPECIFIED = 0;
|
|
826
|
+
*/
|
|
827
|
+
UNSPECIFIED = 0,
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* @generated from enum value: SORT_DIRECTION_ASC = 1;
|
|
831
|
+
*/
|
|
832
|
+
ASC = 1,
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* @generated from enum value: SORT_DIRECTION_DESC = 2;
|
|
836
|
+
*/
|
|
837
|
+
DESC = 2,
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Describes the enum admin.product.v1.SortDirection.
|
|
842
|
+
*/
|
|
843
|
+
export declare const SortDirectionSchema: GenEnum<SortDirection>;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* @generated from enum admin.product.v1.ProductSortField
|
|
847
|
+
*/
|
|
848
|
+
export enum ProductSortField {
|
|
849
|
+
/**
|
|
850
|
+
* @generated from enum value: PRODUCT_SORT_FIELD_UNSPECIFIED = 0;
|
|
851
|
+
*/
|
|
852
|
+
UNSPECIFIED = 0,
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @generated from enum value: PRODUCT_SORT_FIELD_ID = 1;
|
|
856
|
+
*/
|
|
857
|
+
ID = 1,
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* @generated from enum value: PRODUCT_SORT_FIELD_TITLE = 2;
|
|
861
|
+
*/
|
|
862
|
+
TITLE = 2,
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* @generated from enum value: PRODUCT_SORT_FIELD_CREATED_AT = 3;
|
|
866
|
+
*/
|
|
867
|
+
CREATED_AT = 3,
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* @generated from enum value: PRODUCT_SORT_FIELD_UPDATED_AT = 4;
|
|
871
|
+
*/
|
|
872
|
+
UPDATED_AT = 4,
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Describes the enum admin.product.v1.ProductSortField.
|
|
877
|
+
*/
|
|
878
|
+
export declare const ProductSortFieldSchema: GenEnum<ProductSortField>;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* @generated from enum admin.product.v1.Currency
|
|
882
|
+
*/
|
|
883
|
+
export enum Currency {
|
|
884
|
+
/**
|
|
885
|
+
* @generated from enum value: CURRENCY_UNSPECIFIED = 0;
|
|
886
|
+
*/
|
|
887
|
+
UNSPECIFIED = 0,
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* @generated from enum value: CURRENCY_RUB = 1;
|
|
891
|
+
*/
|
|
892
|
+
RUB = 1,
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* @generated from enum value: CURRENCY_USD = 2;
|
|
896
|
+
*/
|
|
897
|
+
USD = 2,
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* @generated from enum value: CURRENCY_EUR = 3;
|
|
901
|
+
*/
|
|
902
|
+
EUR = 3,
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Describes the enum admin.product.v1.Currency.
|
|
907
|
+
*/
|
|
908
|
+
export declare const CurrencySchema: GenEnum<Currency>;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* @generated from enum admin.product.v1.LimitPolicyType
|
|
912
|
+
*/
|
|
913
|
+
export enum LimitPolicyType {
|
|
914
|
+
/**
|
|
915
|
+
* @generated from enum value: LIMIT_POLICY_TYPE_UNSPECIFIED = 0;
|
|
916
|
+
*/
|
|
917
|
+
UNSPECIFIED = 0,
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* @generated from enum value: LIMIT_POLICY_TYPE_UNLIMITED = 1;
|
|
921
|
+
*/
|
|
922
|
+
UNLIMITED = 1,
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* @generated from enum value: LIMIT_POLICY_TYPE_TOTAL = 2;
|
|
926
|
+
*/
|
|
927
|
+
TOTAL = 2,
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @generated from enum value: LIMIT_POLICY_TYPE_GROUPED = 3;
|
|
931
|
+
*/
|
|
932
|
+
GROUPED = 3,
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Describes the enum admin.product.v1.LimitPolicyType.
|
|
937
|
+
*/
|
|
938
|
+
export declare const LimitPolicyTypeSchema: GenEnum<LimitPolicyType>;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* @generated from service admin.product.v1.ProductAdminService
|
|
942
|
+
*/
|
|
943
|
+
export declare const ProductAdminService: GenService<{
|
|
944
|
+
/**
|
|
945
|
+
* @generated from rpc admin.product.v1.ProductAdminService.CreateProduct
|
|
946
|
+
*/
|
|
947
|
+
createProduct: {
|
|
948
|
+
methodKind: "unary";
|
|
949
|
+
input: typeof CreateProductRequestSchema;
|
|
950
|
+
output: typeof CreateProductResponseSchema;
|
|
951
|
+
},
|
|
952
|
+
/**
|
|
953
|
+
* @generated from rpc admin.product.v1.ProductAdminService.UpdateProduct
|
|
954
|
+
*/
|
|
955
|
+
updateProduct: {
|
|
956
|
+
methodKind: "unary";
|
|
957
|
+
input: typeof UpdateProductRequestSchema;
|
|
958
|
+
output: typeof UpdateProductResponseSchema;
|
|
959
|
+
},
|
|
960
|
+
/**
|
|
961
|
+
* @generated from rpc admin.product.v1.ProductAdminService.GetProduct
|
|
962
|
+
*/
|
|
963
|
+
getProduct: {
|
|
964
|
+
methodKind: "unary";
|
|
965
|
+
input: typeof GetProductRequestSchema;
|
|
966
|
+
output: typeof GetProductResponseSchema;
|
|
967
|
+
},
|
|
968
|
+
/**
|
|
969
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ListProducts
|
|
970
|
+
*/
|
|
971
|
+
listProducts: {
|
|
972
|
+
methodKind: "unary";
|
|
973
|
+
input: typeof ListProductsRequestSchema;
|
|
974
|
+
output: typeof ListProductsResponseSchema;
|
|
975
|
+
},
|
|
976
|
+
/**
|
|
977
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ActivateProduct
|
|
978
|
+
*/
|
|
979
|
+
activateProduct: {
|
|
980
|
+
methodKind: "unary";
|
|
981
|
+
input: typeof ActivateProductRequestSchema;
|
|
982
|
+
output: typeof ActivateProductResponseSchema;
|
|
983
|
+
},
|
|
984
|
+
/**
|
|
985
|
+
* @generated from rpc admin.product.v1.ProductAdminService.DeactivateProduct
|
|
986
|
+
*/
|
|
987
|
+
deactivateProduct: {
|
|
988
|
+
methodKind: "unary";
|
|
989
|
+
input: typeof DeactivateProductRequestSchema;
|
|
990
|
+
output: typeof DeactivateProductResponseSchema;
|
|
991
|
+
},
|
|
992
|
+
/**
|
|
993
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ArchiveProduct
|
|
994
|
+
*/
|
|
995
|
+
archiveProduct: {
|
|
996
|
+
methodKind: "unary";
|
|
997
|
+
input: typeof ArchiveProductRequestSchema;
|
|
998
|
+
output: typeof ArchiveProductResponseSchema;
|
|
999
|
+
},
|
|
1000
|
+
/**
|
|
1001
|
+
* @generated from rpc admin.product.v1.ProductAdminService.AddVariant
|
|
1002
|
+
*/
|
|
1003
|
+
addVariant: {
|
|
1004
|
+
methodKind: "unary";
|
|
1005
|
+
input: typeof AddVariantRequestSchema;
|
|
1006
|
+
output: typeof AddVariantResponseSchema;
|
|
1007
|
+
},
|
|
1008
|
+
/**
|
|
1009
|
+
* @generated from rpc admin.product.v1.ProductAdminService.UpdateVariant
|
|
1010
|
+
*/
|
|
1011
|
+
updateVariant: {
|
|
1012
|
+
methodKind: "unary";
|
|
1013
|
+
input: typeof UpdateVariantRequestSchema;
|
|
1014
|
+
output: typeof UpdateVariantResponseSchema;
|
|
1015
|
+
},
|
|
1016
|
+
}>;
|
|
1017
|
+
|