@paakd/api 0.0.3 → 0.0.4
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/package.json +7 -9
- package/buf/validate/validate_pb.ts +0 -5001
- package/gen/buf/validate/validate_pb.ts +0 -4799
- package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
- package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
- package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
- package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
- package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
- package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
- package/gen/src/proto/auth/v1/service.pb.go +0 -119
- package/gen/src/proto/auth/v1/service_pb.ts +0 -152
- package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
- package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
- package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
- package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
- package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
- package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
- package/gen/src/proto/customers/v1/service.pb.go +0 -110
- package/gen/src/proto/customers/v1/service_pb.ts +0 -121
- package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
- package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
- package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
- package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
- package/gen/src/proto/files/v1/service.pb.go +0 -85
- package/gen/src/proto/files/v1/service_pb.ts +0 -65
- package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
- package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
- package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
- package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
- package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
- package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
- package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
- package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
- package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
- package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
- package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
- package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
- package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
- package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
- package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
- package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
- package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
- package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
- package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
- package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
- package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
- package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
- package/gen/src/proto/products/v1/service.pb.go +0 -250
- package/gen/src/proto/products/v1/service_pb.ts +0 -429
- package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
- package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
- package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
- package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
- package/gen/src/proto/promotions/v1/service.pb.go +0 -98
- package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
- package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
- package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
- package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
- package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
- package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
- package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
|
@@ -1,794 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-go v1.36.6
|
|
4
|
-
// protoc (unknown)
|
|
5
|
-
// source: src/proto/products/v1/entities/product/update.proto
|
|
6
|
-
|
|
7
|
-
package product
|
|
8
|
-
|
|
9
|
-
import (
|
|
10
|
-
_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
|
|
11
|
-
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
12
|
-
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
13
|
-
reflect "reflect"
|
|
14
|
-
sync "sync"
|
|
15
|
-
unsafe "unsafe"
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
const (
|
|
19
|
-
// Verify that this generated code is sufficiently up-to-date.
|
|
20
|
-
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
21
|
-
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
22
|
-
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
23
|
-
)
|
|
24
|
-
|
|
25
|
-
type UpdateProductRequest struct {
|
|
26
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
27
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
28
|
-
Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"`
|
|
29
|
-
Subtitle *string `protobuf:"bytes,3,opt,name=subtitle,proto3,oneof" json:"subtitle,omitempty"`
|
|
30
|
-
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
31
|
-
IsGiftcard *bool `protobuf:"varint,5,opt,name=is_giftcard,json=isGiftcard,proto3,oneof" json:"is_giftcard,omitempty"`
|
|
32
|
-
IsDiscountable *bool `protobuf:"varint,6,opt,name=is_discountable,json=isDiscountable,proto3,oneof" json:"is_discountable,omitempty"`
|
|
33
|
-
Thumbnail *string `protobuf:"bytes,7,opt,name=thumbnail,proto3,oneof" json:"thumbnail,omitempty"`
|
|
34
|
-
Slug *string `protobuf:"bytes,8,opt,name=slug,proto3,oneof" json:"slug,omitempty"`
|
|
35
|
-
Status *ProductStatus `protobuf:"varint,9,opt,name=status,proto3,enum=ProductStatus,oneof" json:"status,omitempty"`
|
|
36
|
-
Weight *float32 `protobuf:"fixed32,10,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
|
|
37
|
-
Height *float32 `protobuf:"fixed32,11,opt,name=height,proto3,oneof" json:"height,omitempty"`
|
|
38
|
-
Width *float32 `protobuf:"fixed32,12,opt,name=width,proto3,oneof" json:"width,omitempty"`
|
|
39
|
-
Length *float32 `protobuf:"fixed32,13,opt,name=length,proto3,oneof" json:"length,omitempty"`
|
|
40
|
-
HsCode *string `protobuf:"bytes,14,opt,name=hs_code,json=hsCode,proto3,oneof" json:"hs_code,omitempty"`
|
|
41
|
-
MidCode *string `protobuf:"bytes,15,opt,name=mid_code,json=midCode,proto3,oneof" json:"mid_code,omitempty"`
|
|
42
|
-
OriginCountry *string `protobuf:"bytes,16,opt,name=origin_country,json=originCountry,proto3,oneof" json:"origin_country,omitempty"`
|
|
43
|
-
Material *string `protobuf:"bytes,17,opt,name=material,proto3,oneof" json:"material,omitempty"`
|
|
44
|
-
ExternalId *string `protobuf:"bytes,18,opt,name=external_id,json=externalId,proto3,oneof" json:"external_id,omitempty"`
|
|
45
|
-
Images []string `protobuf:"bytes,19,rep,name=images,proto3" json:"images,omitempty"`
|
|
46
|
-
Tags []string `protobuf:"bytes,20,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
47
|
-
Categories []string `protobuf:"bytes,21,rep,name=categories,proto3" json:"categories,omitempty"`
|
|
48
|
-
SalesChannels []string `protobuf:"bytes,22,rep,name=sales_channels,json=salesChannels,proto3" json:"sales_channels,omitempty"`
|
|
49
|
-
Options []*ProductOption `protobuf:"bytes,23,rep,name=options,proto3" json:"options,omitempty"`
|
|
50
|
-
Variants []*Variant `protobuf:"bytes,24,rep,name=variants,proto3" json:"variants,omitempty"`
|
|
51
|
-
unknownFields protoimpl.UnknownFields
|
|
52
|
-
sizeCache protoimpl.SizeCache
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
func (x *UpdateProductRequest) Reset() {
|
|
56
|
-
*x = UpdateProductRequest{}
|
|
57
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[0]
|
|
58
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
59
|
-
ms.StoreMessageInfo(mi)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
func (x *UpdateProductRequest) String() string {
|
|
63
|
-
return protoimpl.X.MessageStringOf(x)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
func (*UpdateProductRequest) ProtoMessage() {}
|
|
67
|
-
|
|
68
|
-
func (x *UpdateProductRequest) ProtoReflect() protoreflect.Message {
|
|
69
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[0]
|
|
70
|
-
if x != nil {
|
|
71
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
72
|
-
if ms.LoadMessageInfo() == nil {
|
|
73
|
-
ms.StoreMessageInfo(mi)
|
|
74
|
-
}
|
|
75
|
-
return ms
|
|
76
|
-
}
|
|
77
|
-
return mi.MessageOf(x)
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// Deprecated: Use UpdateProductRequest.ProtoReflect.Descriptor instead.
|
|
81
|
-
func (*UpdateProductRequest) Descriptor() ([]byte, []int) {
|
|
82
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{0}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
func (x *UpdateProductRequest) GetId() string {
|
|
86
|
-
if x != nil {
|
|
87
|
-
return x.Id
|
|
88
|
-
}
|
|
89
|
-
return ""
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
func (x *UpdateProductRequest) GetTitle() string {
|
|
93
|
-
if x != nil && x.Title != nil {
|
|
94
|
-
return *x.Title
|
|
95
|
-
}
|
|
96
|
-
return ""
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
func (x *UpdateProductRequest) GetSubtitle() string {
|
|
100
|
-
if x != nil && x.Subtitle != nil {
|
|
101
|
-
return *x.Subtitle
|
|
102
|
-
}
|
|
103
|
-
return ""
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
func (x *UpdateProductRequest) GetDescription() string {
|
|
107
|
-
if x != nil && x.Description != nil {
|
|
108
|
-
return *x.Description
|
|
109
|
-
}
|
|
110
|
-
return ""
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
func (x *UpdateProductRequest) GetIsGiftcard() bool {
|
|
114
|
-
if x != nil && x.IsGiftcard != nil {
|
|
115
|
-
return *x.IsGiftcard
|
|
116
|
-
}
|
|
117
|
-
return false
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
func (x *UpdateProductRequest) GetIsDiscountable() bool {
|
|
121
|
-
if x != nil && x.IsDiscountable != nil {
|
|
122
|
-
return *x.IsDiscountable
|
|
123
|
-
}
|
|
124
|
-
return false
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
func (x *UpdateProductRequest) GetThumbnail() string {
|
|
128
|
-
if x != nil && x.Thumbnail != nil {
|
|
129
|
-
return *x.Thumbnail
|
|
130
|
-
}
|
|
131
|
-
return ""
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
func (x *UpdateProductRequest) GetSlug() string {
|
|
135
|
-
if x != nil && x.Slug != nil {
|
|
136
|
-
return *x.Slug
|
|
137
|
-
}
|
|
138
|
-
return ""
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
func (x *UpdateProductRequest) GetStatus() ProductStatus {
|
|
142
|
-
if x != nil && x.Status != nil {
|
|
143
|
-
return *x.Status
|
|
144
|
-
}
|
|
145
|
-
return ProductStatus_DRAFT
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
func (x *UpdateProductRequest) GetWeight() float32 {
|
|
149
|
-
if x != nil && x.Weight != nil {
|
|
150
|
-
return *x.Weight
|
|
151
|
-
}
|
|
152
|
-
return 0
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
func (x *UpdateProductRequest) GetHeight() float32 {
|
|
156
|
-
if x != nil && x.Height != nil {
|
|
157
|
-
return *x.Height
|
|
158
|
-
}
|
|
159
|
-
return 0
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
func (x *UpdateProductRequest) GetWidth() float32 {
|
|
163
|
-
if x != nil && x.Width != nil {
|
|
164
|
-
return *x.Width
|
|
165
|
-
}
|
|
166
|
-
return 0
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
func (x *UpdateProductRequest) GetLength() float32 {
|
|
170
|
-
if x != nil && x.Length != nil {
|
|
171
|
-
return *x.Length
|
|
172
|
-
}
|
|
173
|
-
return 0
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
func (x *UpdateProductRequest) GetHsCode() string {
|
|
177
|
-
if x != nil && x.HsCode != nil {
|
|
178
|
-
return *x.HsCode
|
|
179
|
-
}
|
|
180
|
-
return ""
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
func (x *UpdateProductRequest) GetMidCode() string {
|
|
184
|
-
if x != nil && x.MidCode != nil {
|
|
185
|
-
return *x.MidCode
|
|
186
|
-
}
|
|
187
|
-
return ""
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
func (x *UpdateProductRequest) GetOriginCountry() string {
|
|
191
|
-
if x != nil && x.OriginCountry != nil {
|
|
192
|
-
return *x.OriginCountry
|
|
193
|
-
}
|
|
194
|
-
return ""
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
func (x *UpdateProductRequest) GetMaterial() string {
|
|
198
|
-
if x != nil && x.Material != nil {
|
|
199
|
-
return *x.Material
|
|
200
|
-
}
|
|
201
|
-
return ""
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
func (x *UpdateProductRequest) GetExternalId() string {
|
|
205
|
-
if x != nil && x.ExternalId != nil {
|
|
206
|
-
return *x.ExternalId
|
|
207
|
-
}
|
|
208
|
-
return ""
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
func (x *UpdateProductRequest) GetImages() []string {
|
|
212
|
-
if x != nil {
|
|
213
|
-
return x.Images
|
|
214
|
-
}
|
|
215
|
-
return nil
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
func (x *UpdateProductRequest) GetTags() []string {
|
|
219
|
-
if x != nil {
|
|
220
|
-
return x.Tags
|
|
221
|
-
}
|
|
222
|
-
return nil
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
func (x *UpdateProductRequest) GetCategories() []string {
|
|
226
|
-
if x != nil {
|
|
227
|
-
return x.Categories
|
|
228
|
-
}
|
|
229
|
-
return nil
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
func (x *UpdateProductRequest) GetSalesChannels() []string {
|
|
233
|
-
if x != nil {
|
|
234
|
-
return x.SalesChannels
|
|
235
|
-
}
|
|
236
|
-
return nil
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
func (x *UpdateProductRequest) GetOptions() []*ProductOption {
|
|
240
|
-
if x != nil {
|
|
241
|
-
return x.Options
|
|
242
|
-
}
|
|
243
|
-
return nil
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
func (x *UpdateProductRequest) GetVariants() []*Variant {
|
|
247
|
-
if x != nil {
|
|
248
|
-
return x.Variants
|
|
249
|
-
}
|
|
250
|
-
return nil
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
type UpdateProductResponse struct {
|
|
254
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
255
|
-
Product *ProductResponse `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
|
|
256
|
-
unknownFields protoimpl.UnknownFields
|
|
257
|
-
sizeCache protoimpl.SizeCache
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
func (x *UpdateProductResponse) Reset() {
|
|
261
|
-
*x = UpdateProductResponse{}
|
|
262
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[1]
|
|
263
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
264
|
-
ms.StoreMessageInfo(mi)
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
func (x *UpdateProductResponse) String() string {
|
|
268
|
-
return protoimpl.X.MessageStringOf(x)
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
func (*UpdateProductResponse) ProtoMessage() {}
|
|
272
|
-
|
|
273
|
-
func (x *UpdateProductResponse) ProtoReflect() protoreflect.Message {
|
|
274
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[1]
|
|
275
|
-
if x != nil {
|
|
276
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
277
|
-
if ms.LoadMessageInfo() == nil {
|
|
278
|
-
ms.StoreMessageInfo(mi)
|
|
279
|
-
}
|
|
280
|
-
return ms
|
|
281
|
-
}
|
|
282
|
-
return mi.MessageOf(x)
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
// Deprecated: Use UpdateProductResponse.ProtoReflect.Descriptor instead.
|
|
286
|
-
func (*UpdateProductResponse) Descriptor() ([]byte, []int) {
|
|
287
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{1}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
func (x *UpdateProductResponse) GetProduct() *ProductResponse {
|
|
291
|
-
if x != nil {
|
|
292
|
-
return x.Product
|
|
293
|
-
}
|
|
294
|
-
return nil
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
type DeleteProductRequest struct {
|
|
298
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
299
|
-
ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
|
300
|
-
unknownFields protoimpl.UnknownFields
|
|
301
|
-
sizeCache protoimpl.SizeCache
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
func (x *DeleteProductRequest) Reset() {
|
|
305
|
-
*x = DeleteProductRequest{}
|
|
306
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[2]
|
|
307
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
308
|
-
ms.StoreMessageInfo(mi)
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
func (x *DeleteProductRequest) String() string {
|
|
312
|
-
return protoimpl.X.MessageStringOf(x)
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
func (*DeleteProductRequest) ProtoMessage() {}
|
|
316
|
-
|
|
317
|
-
func (x *DeleteProductRequest) ProtoReflect() protoreflect.Message {
|
|
318
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[2]
|
|
319
|
-
if x != nil {
|
|
320
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
321
|
-
if ms.LoadMessageInfo() == nil {
|
|
322
|
-
ms.StoreMessageInfo(mi)
|
|
323
|
-
}
|
|
324
|
-
return ms
|
|
325
|
-
}
|
|
326
|
-
return mi.MessageOf(x)
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
// Deprecated: Use DeleteProductRequest.ProtoReflect.Descriptor instead.
|
|
330
|
-
func (*DeleteProductRequest) Descriptor() ([]byte, []int) {
|
|
331
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{2}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
func (x *DeleteProductRequest) GetProductId() string {
|
|
335
|
-
if x != nil {
|
|
336
|
-
return x.ProductId
|
|
337
|
-
}
|
|
338
|
-
return ""
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
type DeleteProductResponse struct {
|
|
342
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
343
|
-
unknownFields protoimpl.UnknownFields
|
|
344
|
-
sizeCache protoimpl.SizeCache
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
func (x *DeleteProductResponse) Reset() {
|
|
348
|
-
*x = DeleteProductResponse{}
|
|
349
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[3]
|
|
350
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
351
|
-
ms.StoreMessageInfo(mi)
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
func (x *DeleteProductResponse) String() string {
|
|
355
|
-
return protoimpl.X.MessageStringOf(x)
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
func (*DeleteProductResponse) ProtoMessage() {}
|
|
359
|
-
|
|
360
|
-
func (x *DeleteProductResponse) ProtoReflect() protoreflect.Message {
|
|
361
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[3]
|
|
362
|
-
if x != nil {
|
|
363
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
364
|
-
if ms.LoadMessageInfo() == nil {
|
|
365
|
-
ms.StoreMessageInfo(mi)
|
|
366
|
-
}
|
|
367
|
-
return ms
|
|
368
|
-
}
|
|
369
|
-
return mi.MessageOf(x)
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
// Deprecated: Use DeleteProductResponse.ProtoReflect.Descriptor instead.
|
|
373
|
-
func (*DeleteProductResponse) Descriptor() ([]byte, []int) {
|
|
374
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{3}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
type DeleteVariantRequest struct {
|
|
378
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
379
|
-
VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
|
|
380
|
-
ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
|
381
|
-
unknownFields protoimpl.UnknownFields
|
|
382
|
-
sizeCache protoimpl.SizeCache
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
func (x *DeleteVariantRequest) Reset() {
|
|
386
|
-
*x = DeleteVariantRequest{}
|
|
387
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[4]
|
|
388
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
389
|
-
ms.StoreMessageInfo(mi)
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
func (x *DeleteVariantRequest) String() string {
|
|
393
|
-
return protoimpl.X.MessageStringOf(x)
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
func (*DeleteVariantRequest) ProtoMessage() {}
|
|
397
|
-
|
|
398
|
-
func (x *DeleteVariantRequest) ProtoReflect() protoreflect.Message {
|
|
399
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[4]
|
|
400
|
-
if x != nil {
|
|
401
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
402
|
-
if ms.LoadMessageInfo() == nil {
|
|
403
|
-
ms.StoreMessageInfo(mi)
|
|
404
|
-
}
|
|
405
|
-
return ms
|
|
406
|
-
}
|
|
407
|
-
return mi.MessageOf(x)
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// Deprecated: Use DeleteVariantRequest.ProtoReflect.Descriptor instead.
|
|
411
|
-
func (*DeleteVariantRequest) Descriptor() ([]byte, []int) {
|
|
412
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{4}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
func (x *DeleteVariantRequest) GetVariantId() string {
|
|
416
|
-
if x != nil {
|
|
417
|
-
return x.VariantId
|
|
418
|
-
}
|
|
419
|
-
return ""
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
func (x *DeleteVariantRequest) GetProductId() string {
|
|
423
|
-
if x != nil {
|
|
424
|
-
return x.ProductId
|
|
425
|
-
}
|
|
426
|
-
return ""
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
type DeleteVariantResponse struct {
|
|
430
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
431
|
-
unknownFields protoimpl.UnknownFields
|
|
432
|
-
sizeCache protoimpl.SizeCache
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
func (x *DeleteVariantResponse) Reset() {
|
|
436
|
-
*x = DeleteVariantResponse{}
|
|
437
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[5]
|
|
438
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
439
|
-
ms.StoreMessageInfo(mi)
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
func (x *DeleteVariantResponse) String() string {
|
|
443
|
-
return protoimpl.X.MessageStringOf(x)
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
func (*DeleteVariantResponse) ProtoMessage() {}
|
|
447
|
-
|
|
448
|
-
func (x *DeleteVariantResponse) ProtoReflect() protoreflect.Message {
|
|
449
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[5]
|
|
450
|
-
if x != nil {
|
|
451
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
452
|
-
if ms.LoadMessageInfo() == nil {
|
|
453
|
-
ms.StoreMessageInfo(mi)
|
|
454
|
-
}
|
|
455
|
-
return ms
|
|
456
|
-
}
|
|
457
|
-
return mi.MessageOf(x)
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
// Deprecated: Use DeleteVariantResponse.ProtoReflect.Descriptor instead.
|
|
461
|
-
func (*DeleteVariantResponse) Descriptor() ([]byte, []int) {
|
|
462
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{5}
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
type DeleteOptionRequest struct {
|
|
466
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
467
|
-
OptionId string `protobuf:"bytes,1,opt,name=option_id,json=optionId,proto3" json:"option_id,omitempty"`
|
|
468
|
-
ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
|
469
|
-
unknownFields protoimpl.UnknownFields
|
|
470
|
-
sizeCache protoimpl.SizeCache
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
func (x *DeleteOptionRequest) Reset() {
|
|
474
|
-
*x = DeleteOptionRequest{}
|
|
475
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[6]
|
|
476
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
477
|
-
ms.StoreMessageInfo(mi)
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
func (x *DeleteOptionRequest) String() string {
|
|
481
|
-
return protoimpl.X.MessageStringOf(x)
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
func (*DeleteOptionRequest) ProtoMessage() {}
|
|
485
|
-
|
|
486
|
-
func (x *DeleteOptionRequest) ProtoReflect() protoreflect.Message {
|
|
487
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[6]
|
|
488
|
-
if x != nil {
|
|
489
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
490
|
-
if ms.LoadMessageInfo() == nil {
|
|
491
|
-
ms.StoreMessageInfo(mi)
|
|
492
|
-
}
|
|
493
|
-
return ms
|
|
494
|
-
}
|
|
495
|
-
return mi.MessageOf(x)
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
// Deprecated: Use DeleteOptionRequest.ProtoReflect.Descriptor instead.
|
|
499
|
-
func (*DeleteOptionRequest) Descriptor() ([]byte, []int) {
|
|
500
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{6}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
func (x *DeleteOptionRequest) GetOptionId() string {
|
|
504
|
-
if x != nil {
|
|
505
|
-
return x.OptionId
|
|
506
|
-
}
|
|
507
|
-
return ""
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
func (x *DeleteOptionRequest) GetProductId() string {
|
|
511
|
-
if x != nil {
|
|
512
|
-
return x.ProductId
|
|
513
|
-
}
|
|
514
|
-
return ""
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
type DeleteOptionResponse struct {
|
|
518
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
519
|
-
unknownFields protoimpl.UnknownFields
|
|
520
|
-
sizeCache protoimpl.SizeCache
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
func (x *DeleteOptionResponse) Reset() {
|
|
524
|
-
*x = DeleteOptionResponse{}
|
|
525
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[7]
|
|
526
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
527
|
-
ms.StoreMessageInfo(mi)
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
func (x *DeleteOptionResponse) String() string {
|
|
531
|
-
return protoimpl.X.MessageStringOf(x)
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
func (*DeleteOptionResponse) ProtoMessage() {}
|
|
535
|
-
|
|
536
|
-
func (x *DeleteOptionResponse) ProtoReflect() protoreflect.Message {
|
|
537
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[7]
|
|
538
|
-
if x != nil {
|
|
539
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
540
|
-
if ms.LoadMessageInfo() == nil {
|
|
541
|
-
ms.StoreMessageInfo(mi)
|
|
542
|
-
}
|
|
543
|
-
return ms
|
|
544
|
-
}
|
|
545
|
-
return mi.MessageOf(x)
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
// Deprecated: Use DeleteOptionResponse.ProtoReflect.Descriptor instead.
|
|
549
|
-
func (*DeleteOptionResponse) Descriptor() ([]byte, []int) {
|
|
550
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{7}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
type RemoveInventoryItemRequest struct {
|
|
554
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
555
|
-
InventoryItemId string `protobuf:"bytes,1,opt,name=inventory_item_id,json=inventoryItemId,proto3" json:"inventory_item_id,omitempty"`
|
|
556
|
-
ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
|
557
|
-
VariantId string `protobuf:"bytes,3,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
|
|
558
|
-
unknownFields protoimpl.UnknownFields
|
|
559
|
-
sizeCache protoimpl.SizeCache
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
func (x *RemoveInventoryItemRequest) Reset() {
|
|
563
|
-
*x = RemoveInventoryItemRequest{}
|
|
564
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[8]
|
|
565
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
566
|
-
ms.StoreMessageInfo(mi)
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
func (x *RemoveInventoryItemRequest) String() string {
|
|
570
|
-
return protoimpl.X.MessageStringOf(x)
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
func (*RemoveInventoryItemRequest) ProtoMessage() {}
|
|
574
|
-
|
|
575
|
-
func (x *RemoveInventoryItemRequest) ProtoReflect() protoreflect.Message {
|
|
576
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[8]
|
|
577
|
-
if x != nil {
|
|
578
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
579
|
-
if ms.LoadMessageInfo() == nil {
|
|
580
|
-
ms.StoreMessageInfo(mi)
|
|
581
|
-
}
|
|
582
|
-
return ms
|
|
583
|
-
}
|
|
584
|
-
return mi.MessageOf(x)
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
// Deprecated: Use RemoveInventoryItemRequest.ProtoReflect.Descriptor instead.
|
|
588
|
-
func (*RemoveInventoryItemRequest) Descriptor() ([]byte, []int) {
|
|
589
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{8}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
func (x *RemoveInventoryItemRequest) GetInventoryItemId() string {
|
|
593
|
-
if x != nil {
|
|
594
|
-
return x.InventoryItemId
|
|
595
|
-
}
|
|
596
|
-
return ""
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
func (x *RemoveInventoryItemRequest) GetProductId() string {
|
|
600
|
-
if x != nil {
|
|
601
|
-
return x.ProductId
|
|
602
|
-
}
|
|
603
|
-
return ""
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
func (x *RemoveInventoryItemRequest) GetVariantId() string {
|
|
607
|
-
if x != nil {
|
|
608
|
-
return x.VariantId
|
|
609
|
-
}
|
|
610
|
-
return ""
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
type RemoveInventoryItemResponse struct {
|
|
614
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
615
|
-
unknownFields protoimpl.UnknownFields
|
|
616
|
-
sizeCache protoimpl.SizeCache
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
func (x *RemoveInventoryItemResponse) Reset() {
|
|
620
|
-
*x = RemoveInventoryItemResponse{}
|
|
621
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[9]
|
|
622
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
623
|
-
ms.StoreMessageInfo(mi)
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
func (x *RemoveInventoryItemResponse) String() string {
|
|
627
|
-
return protoimpl.X.MessageStringOf(x)
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
func (*RemoveInventoryItemResponse) ProtoMessage() {}
|
|
631
|
-
|
|
632
|
-
func (x *RemoveInventoryItemResponse) ProtoReflect() protoreflect.Message {
|
|
633
|
-
mi := &file_src_proto_products_v1_entities_product_update_proto_msgTypes[9]
|
|
634
|
-
if x != nil {
|
|
635
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
636
|
-
if ms.LoadMessageInfo() == nil {
|
|
637
|
-
ms.StoreMessageInfo(mi)
|
|
638
|
-
}
|
|
639
|
-
return ms
|
|
640
|
-
}
|
|
641
|
-
return mi.MessageOf(x)
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
// Deprecated: Use RemoveInventoryItemResponse.ProtoReflect.Descriptor instead.
|
|
645
|
-
func (*RemoveInventoryItemResponse) Descriptor() ([]byte, []int) {
|
|
646
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP(), []int{9}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
var File_src_proto_products_v1_entities_product_update_proto protoreflect.FileDescriptor
|
|
650
|
-
|
|
651
|
-
const file_src_proto_products_v1_entities_product_update_proto_rawDesc = "" +
|
|
652
|
-
"\n" +
|
|
653
|
-
"3src/proto/products/v1/entities/product/update.proto\x1a\x1bbuf/validate/validate.proto\x1a3src/proto/products/v1/entities/product/shared.proto\"\x8d\b\n" +
|
|
654
|
-
"\x14UpdateProductRequest\x12\x0e\n" +
|
|
655
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
|
|
656
|
-
"\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12\x1f\n" +
|
|
657
|
-
"\bsubtitle\x18\x03 \x01(\tH\x01R\bsubtitle\x88\x01\x01\x12%\n" +
|
|
658
|
-
"\vdescription\x18\x04 \x01(\tH\x02R\vdescription\x88\x01\x01\x12$\n" +
|
|
659
|
-
"\vis_giftcard\x18\x05 \x01(\bH\x03R\n" +
|
|
660
|
-
"isGiftcard\x88\x01\x01\x12,\n" +
|
|
661
|
-
"\x0fis_discountable\x18\x06 \x01(\bH\x04R\x0eisDiscountable\x88\x01\x01\x12!\n" +
|
|
662
|
-
"\tthumbnail\x18\a \x01(\tH\x05R\tthumbnail\x88\x01\x01\x12\x17\n" +
|
|
663
|
-
"\x04slug\x18\b \x01(\tH\x06R\x04slug\x88\x01\x01\x12+\n" +
|
|
664
|
-
"\x06status\x18\t \x01(\x0e2\x0e.ProductStatusH\aR\x06status\x88\x01\x01\x12\x1b\n" +
|
|
665
|
-
"\x06weight\x18\n" +
|
|
666
|
-
" \x01(\x02H\bR\x06weight\x88\x01\x01\x12\x1b\n" +
|
|
667
|
-
"\x06height\x18\v \x01(\x02H\tR\x06height\x88\x01\x01\x12\x19\n" +
|
|
668
|
-
"\x05width\x18\f \x01(\x02H\n" +
|
|
669
|
-
"R\x05width\x88\x01\x01\x12\x1b\n" +
|
|
670
|
-
"\x06length\x18\r \x01(\x02H\vR\x06length\x88\x01\x01\x12\x1c\n" +
|
|
671
|
-
"\ahs_code\x18\x0e \x01(\tH\fR\x06hsCode\x88\x01\x01\x12\x1e\n" +
|
|
672
|
-
"\bmid_code\x18\x0f \x01(\tH\rR\amidCode\x88\x01\x01\x12*\n" +
|
|
673
|
-
"\x0eorigin_country\x18\x10 \x01(\tH\x0eR\roriginCountry\x88\x01\x01\x12\x1f\n" +
|
|
674
|
-
"\bmaterial\x18\x11 \x01(\tH\x0fR\bmaterial\x88\x01\x01\x12$\n" +
|
|
675
|
-
"\vexternal_id\x18\x12 \x01(\tH\x10R\n" +
|
|
676
|
-
"externalId\x88\x01\x01\x12\x16\n" +
|
|
677
|
-
"\x06images\x18\x13 \x03(\tR\x06images\x12\x12\n" +
|
|
678
|
-
"\x04tags\x18\x14 \x03(\tR\x04tags\x12\x1e\n" +
|
|
679
|
-
"\n" +
|
|
680
|
-
"categories\x18\x15 \x03(\tR\n" +
|
|
681
|
-
"categories\x12%\n" +
|
|
682
|
-
"\x0esales_channels\x18\x16 \x03(\tR\rsalesChannels\x12(\n" +
|
|
683
|
-
"\aoptions\x18\x17 \x03(\v2\x0e.ProductOptionR\aoptions\x12$\n" +
|
|
684
|
-
"\bvariants\x18\x18 \x03(\v2\b.VariantR\bvariantsB\b\n" +
|
|
685
|
-
"\x06_titleB\v\n" +
|
|
686
|
-
"\t_subtitleB\x0e\n" +
|
|
687
|
-
"\f_descriptionB\x0e\n" +
|
|
688
|
-
"\f_is_giftcardB\x12\n" +
|
|
689
|
-
"\x10_is_discountableB\f\n" +
|
|
690
|
-
"\n" +
|
|
691
|
-
"_thumbnailB\a\n" +
|
|
692
|
-
"\x05_slugB\t\n" +
|
|
693
|
-
"\a_statusB\t\n" +
|
|
694
|
-
"\a_weightB\t\n" +
|
|
695
|
-
"\a_heightB\b\n" +
|
|
696
|
-
"\x06_widthB\t\n" +
|
|
697
|
-
"\a_lengthB\n" +
|
|
698
|
-
"\n" +
|
|
699
|
-
"\b_hs_codeB\v\n" +
|
|
700
|
-
"\t_mid_codeB\x11\n" +
|
|
701
|
-
"\x0f_origin_countryB\v\n" +
|
|
702
|
-
"\t_materialB\x0e\n" +
|
|
703
|
-
"\f_external_id\"C\n" +
|
|
704
|
-
"\x15UpdateProductResponse\x12*\n" +
|
|
705
|
-
"\aproduct\x18\x01 \x01(\v2\x10.ProductResponseR\aproduct\"5\n" +
|
|
706
|
-
"\x14DeleteProductRequest\x12\x1d\n" +
|
|
707
|
-
"\n" +
|
|
708
|
-
"product_id\x18\x01 \x01(\tR\tproductId\"\x17\n" +
|
|
709
|
-
"\x15DeleteProductResponse\"T\n" +
|
|
710
|
-
"\x14DeleteVariantRequest\x12\x1d\n" +
|
|
711
|
-
"\n" +
|
|
712
|
-
"variant_id\x18\x01 \x01(\tR\tvariantId\x12\x1d\n" +
|
|
713
|
-
"\n" +
|
|
714
|
-
"product_id\x18\x02 \x01(\tR\tproductId\"\x17\n" +
|
|
715
|
-
"\x15DeleteVariantResponse\"Q\n" +
|
|
716
|
-
"\x13DeleteOptionRequest\x12\x1b\n" +
|
|
717
|
-
"\toption_id\x18\x01 \x01(\tR\boptionId\x12\x1d\n" +
|
|
718
|
-
"\n" +
|
|
719
|
-
"product_id\x18\x02 \x01(\tR\tproductId\"\x16\n" +
|
|
720
|
-
"\x14DeleteOptionResponse\"\x86\x01\n" +
|
|
721
|
-
"\x1aRemoveInventoryItemRequest\x12*\n" +
|
|
722
|
-
"\x11inventory_item_id\x18\x01 \x01(\tR\x0finventoryItemId\x12\x1d\n" +
|
|
723
|
-
"\n" +
|
|
724
|
-
"product_id\x18\x02 \x01(\tR\tproductId\x12\x1d\n" +
|
|
725
|
-
"\n" +
|
|
726
|
-
"variant_id\x18\x03 \x01(\tR\tvariantId\"\x1d\n" +
|
|
727
|
-
"\x1bRemoveInventoryItemResponseBRB\vUpdateProtoP\x01ZApaakd.com/packages/api/gen/src/proto/products/v1/entities/productb\x06proto3"
|
|
728
|
-
|
|
729
|
-
var (
|
|
730
|
-
file_src_proto_products_v1_entities_product_update_proto_rawDescOnce sync.Once
|
|
731
|
-
file_src_proto_products_v1_entities_product_update_proto_rawDescData []byte
|
|
732
|
-
)
|
|
733
|
-
|
|
734
|
-
func file_src_proto_products_v1_entities_product_update_proto_rawDescGZIP() []byte {
|
|
735
|
-
file_src_proto_products_v1_entities_product_update_proto_rawDescOnce.Do(func() {
|
|
736
|
-
file_src_proto_products_v1_entities_product_update_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_product_update_proto_rawDesc), len(file_src_proto_products_v1_entities_product_update_proto_rawDesc)))
|
|
737
|
-
})
|
|
738
|
-
return file_src_proto_products_v1_entities_product_update_proto_rawDescData
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
var file_src_proto_products_v1_entities_product_update_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
742
|
-
var file_src_proto_products_v1_entities_product_update_proto_goTypes = []any{
|
|
743
|
-
(*UpdateProductRequest)(nil), // 0: UpdateProductRequest
|
|
744
|
-
(*UpdateProductResponse)(nil), // 1: UpdateProductResponse
|
|
745
|
-
(*DeleteProductRequest)(nil), // 2: DeleteProductRequest
|
|
746
|
-
(*DeleteProductResponse)(nil), // 3: DeleteProductResponse
|
|
747
|
-
(*DeleteVariantRequest)(nil), // 4: DeleteVariantRequest
|
|
748
|
-
(*DeleteVariantResponse)(nil), // 5: DeleteVariantResponse
|
|
749
|
-
(*DeleteOptionRequest)(nil), // 6: DeleteOptionRequest
|
|
750
|
-
(*DeleteOptionResponse)(nil), // 7: DeleteOptionResponse
|
|
751
|
-
(*RemoveInventoryItemRequest)(nil), // 8: RemoveInventoryItemRequest
|
|
752
|
-
(*RemoveInventoryItemResponse)(nil), // 9: RemoveInventoryItemResponse
|
|
753
|
-
(ProductStatus)(0), // 10: ProductStatus
|
|
754
|
-
(*ProductOption)(nil), // 11: ProductOption
|
|
755
|
-
(*Variant)(nil), // 12: Variant
|
|
756
|
-
(*ProductResponse)(nil), // 13: ProductResponse
|
|
757
|
-
}
|
|
758
|
-
var file_src_proto_products_v1_entities_product_update_proto_depIdxs = []int32{
|
|
759
|
-
10, // 0: UpdateProductRequest.status:type_name -> ProductStatus
|
|
760
|
-
11, // 1: UpdateProductRequest.options:type_name -> ProductOption
|
|
761
|
-
12, // 2: UpdateProductRequest.variants:type_name -> Variant
|
|
762
|
-
13, // 3: UpdateProductResponse.product:type_name -> ProductResponse
|
|
763
|
-
4, // [4:4] is the sub-list for method output_type
|
|
764
|
-
4, // [4:4] is the sub-list for method input_type
|
|
765
|
-
4, // [4:4] is the sub-list for extension type_name
|
|
766
|
-
4, // [4:4] is the sub-list for extension extendee
|
|
767
|
-
0, // [0:4] is the sub-list for field type_name
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
func init() { file_src_proto_products_v1_entities_product_update_proto_init() }
|
|
771
|
-
func file_src_proto_products_v1_entities_product_update_proto_init() {
|
|
772
|
-
if File_src_proto_products_v1_entities_product_update_proto != nil {
|
|
773
|
-
return
|
|
774
|
-
}
|
|
775
|
-
file_src_proto_products_v1_entities_product_shared_proto_init()
|
|
776
|
-
file_src_proto_products_v1_entities_product_update_proto_msgTypes[0].OneofWrappers = []any{}
|
|
777
|
-
type x struct{}
|
|
778
|
-
out := protoimpl.TypeBuilder{
|
|
779
|
-
File: protoimpl.DescBuilder{
|
|
780
|
-
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
781
|
-
RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_product_update_proto_rawDesc), len(file_src_proto_products_v1_entities_product_update_proto_rawDesc)),
|
|
782
|
-
NumEnums: 0,
|
|
783
|
-
NumMessages: 10,
|
|
784
|
-
NumExtensions: 0,
|
|
785
|
-
NumServices: 0,
|
|
786
|
-
},
|
|
787
|
-
GoTypes: file_src_proto_products_v1_entities_product_update_proto_goTypes,
|
|
788
|
-
DependencyIndexes: file_src_proto_products_v1_entities_product_update_proto_depIdxs,
|
|
789
|
-
MessageInfos: file_src_proto_products_v1_entities_product_update_proto_msgTypes,
|
|
790
|
-
}.Build()
|
|
791
|
-
File_src_proto_products_v1_entities_product_update_proto = out.File
|
|
792
|
-
file_src_proto_products_v1_entities_product_update_proto_goTypes = nil
|
|
793
|
-
file_src_proto_products_v1_entities_product_update_proto_depIdxs = nil
|
|
794
|
-
}
|