@paakd/api 0.0.2 → 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 +11 -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,669 +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/files/v1/entities/file.proto
|
|
6
|
-
|
|
7
|
-
package entities
|
|
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 ListFilesRequest struct {
|
|
26
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
27
|
-
Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
28
|
-
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
29
|
-
OrderBy *string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"`
|
|
30
|
-
Filter *string `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
|
|
31
|
-
Ascending *bool `protobuf:"varint,5,opt,name=ascending,proto3,oneof" json:"ascending,omitempty"`
|
|
32
|
-
RequestPath *string `protobuf:"bytes,6,opt,name=request_path,json=requestPath,proto3,oneof" json:"request_path,omitempty"`
|
|
33
|
-
unknownFields protoimpl.UnknownFields
|
|
34
|
-
sizeCache protoimpl.SizeCache
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
func (x *ListFilesRequest) Reset() {
|
|
38
|
-
*x = ListFilesRequest{}
|
|
39
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[0]
|
|
40
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
41
|
-
ms.StoreMessageInfo(mi)
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
func (x *ListFilesRequest) String() string {
|
|
45
|
-
return protoimpl.X.MessageStringOf(x)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
func (*ListFilesRequest) ProtoMessage() {}
|
|
49
|
-
|
|
50
|
-
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message {
|
|
51
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[0]
|
|
52
|
-
if x != nil {
|
|
53
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
54
|
-
if ms.LoadMessageInfo() == nil {
|
|
55
|
-
ms.StoreMessageInfo(mi)
|
|
56
|
-
}
|
|
57
|
-
return ms
|
|
58
|
-
}
|
|
59
|
-
return mi.MessageOf(x)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
|
|
63
|
-
func (*ListFilesRequest) Descriptor() ([]byte, []int) {
|
|
64
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{0}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
func (x *ListFilesRequest) GetOffset() int32 {
|
|
68
|
-
if x != nil {
|
|
69
|
-
return x.Offset
|
|
70
|
-
}
|
|
71
|
-
return 0
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
func (x *ListFilesRequest) GetLimit() uint32 {
|
|
75
|
-
if x != nil {
|
|
76
|
-
return x.Limit
|
|
77
|
-
}
|
|
78
|
-
return 0
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
func (x *ListFilesRequest) GetOrderBy() string {
|
|
82
|
-
if x != nil && x.OrderBy != nil {
|
|
83
|
-
return *x.OrderBy
|
|
84
|
-
}
|
|
85
|
-
return ""
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
func (x *ListFilesRequest) GetFilter() string {
|
|
89
|
-
if x != nil && x.Filter != nil {
|
|
90
|
-
return *x.Filter
|
|
91
|
-
}
|
|
92
|
-
return ""
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
func (x *ListFilesRequest) GetAscending() bool {
|
|
96
|
-
if x != nil && x.Ascending != nil {
|
|
97
|
-
return *x.Ascending
|
|
98
|
-
}
|
|
99
|
-
return false
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
func (x *ListFilesRequest) GetRequestPath() string {
|
|
103
|
-
if x != nil && x.RequestPath != nil {
|
|
104
|
-
return *x.RequestPath
|
|
105
|
-
}
|
|
106
|
-
return ""
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
type ListFilesResponse struct {
|
|
110
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
111
|
-
Files []*FileResponse `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
|
|
112
|
-
unknownFields protoimpl.UnknownFields
|
|
113
|
-
sizeCache protoimpl.SizeCache
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
func (x *ListFilesResponse) Reset() {
|
|
117
|
-
*x = ListFilesResponse{}
|
|
118
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[1]
|
|
119
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
120
|
-
ms.StoreMessageInfo(mi)
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
func (x *ListFilesResponse) String() string {
|
|
124
|
-
return protoimpl.X.MessageStringOf(x)
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
func (*ListFilesResponse) ProtoMessage() {}
|
|
128
|
-
|
|
129
|
-
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
|
|
130
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[1]
|
|
131
|
-
if x != nil {
|
|
132
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
133
|
-
if ms.LoadMessageInfo() == nil {
|
|
134
|
-
ms.StoreMessageInfo(mi)
|
|
135
|
-
}
|
|
136
|
-
return ms
|
|
137
|
-
}
|
|
138
|
-
return mi.MessageOf(x)
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
|
|
142
|
-
func (*ListFilesResponse) Descriptor() ([]byte, []int) {
|
|
143
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{1}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
func (x *ListFilesResponse) GetFiles() []*FileResponse {
|
|
147
|
-
if x != nil {
|
|
148
|
-
return x.Files
|
|
149
|
-
}
|
|
150
|
-
return nil
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
type GetFileRequest struct {
|
|
154
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
155
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
156
|
-
unknownFields protoimpl.UnknownFields
|
|
157
|
-
sizeCache protoimpl.SizeCache
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
func (x *GetFileRequest) Reset() {
|
|
161
|
-
*x = GetFileRequest{}
|
|
162
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[2]
|
|
163
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
164
|
-
ms.StoreMessageInfo(mi)
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
func (x *GetFileRequest) String() string {
|
|
168
|
-
return protoimpl.X.MessageStringOf(x)
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
func (*GetFileRequest) ProtoMessage() {}
|
|
172
|
-
|
|
173
|
-
func (x *GetFileRequest) ProtoReflect() protoreflect.Message {
|
|
174
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[2]
|
|
175
|
-
if x != nil {
|
|
176
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
177
|
-
if ms.LoadMessageInfo() == nil {
|
|
178
|
-
ms.StoreMessageInfo(mi)
|
|
179
|
-
}
|
|
180
|
-
return ms
|
|
181
|
-
}
|
|
182
|
-
return mi.MessageOf(x)
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
// Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
|
|
186
|
-
func (*GetFileRequest) Descriptor() ([]byte, []int) {
|
|
187
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{2}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
func (x *GetFileRequest) GetId() string {
|
|
191
|
-
if x != nil {
|
|
192
|
-
return x.Id
|
|
193
|
-
}
|
|
194
|
-
return ""
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
type GetFileResponse struct {
|
|
198
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
199
|
-
File *FileResponse `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
|
|
200
|
-
unknownFields protoimpl.UnknownFields
|
|
201
|
-
sizeCache protoimpl.SizeCache
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
func (x *GetFileResponse) Reset() {
|
|
205
|
-
*x = GetFileResponse{}
|
|
206
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[3]
|
|
207
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
208
|
-
ms.StoreMessageInfo(mi)
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
func (x *GetFileResponse) String() string {
|
|
212
|
-
return protoimpl.X.MessageStringOf(x)
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
func (*GetFileResponse) ProtoMessage() {}
|
|
216
|
-
|
|
217
|
-
func (x *GetFileResponse) ProtoReflect() protoreflect.Message {
|
|
218
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[3]
|
|
219
|
-
if x != nil {
|
|
220
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
221
|
-
if ms.LoadMessageInfo() == nil {
|
|
222
|
-
ms.StoreMessageInfo(mi)
|
|
223
|
-
}
|
|
224
|
-
return ms
|
|
225
|
-
}
|
|
226
|
-
return mi.MessageOf(x)
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.
|
|
230
|
-
func (*GetFileResponse) Descriptor() ([]byte, []int) {
|
|
231
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{3}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
func (x *GetFileResponse) GetFile() *FileResponse {
|
|
235
|
-
if x != nil {
|
|
236
|
-
return x.File
|
|
237
|
-
}
|
|
238
|
-
return nil
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
type DeleteFileRequest struct {
|
|
242
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
243
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
244
|
-
unknownFields protoimpl.UnknownFields
|
|
245
|
-
sizeCache protoimpl.SizeCache
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
func (x *DeleteFileRequest) Reset() {
|
|
249
|
-
*x = DeleteFileRequest{}
|
|
250
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[4]
|
|
251
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
252
|
-
ms.StoreMessageInfo(mi)
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
func (x *DeleteFileRequest) String() string {
|
|
256
|
-
return protoimpl.X.MessageStringOf(x)
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
func (*DeleteFileRequest) ProtoMessage() {}
|
|
260
|
-
|
|
261
|
-
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message {
|
|
262
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[4]
|
|
263
|
-
if x != nil {
|
|
264
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
265
|
-
if ms.LoadMessageInfo() == nil {
|
|
266
|
-
ms.StoreMessageInfo(mi)
|
|
267
|
-
}
|
|
268
|
-
return ms
|
|
269
|
-
}
|
|
270
|
-
return mi.MessageOf(x)
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
// Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
|
|
274
|
-
func (*DeleteFileRequest) Descriptor() ([]byte, []int) {
|
|
275
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{4}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
func (x *DeleteFileRequest) GetId() string {
|
|
279
|
-
if x != nil {
|
|
280
|
-
return x.Id
|
|
281
|
-
}
|
|
282
|
-
return ""
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
type DeleteFileResponse struct {
|
|
286
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
287
|
-
unknownFields protoimpl.UnknownFields
|
|
288
|
-
sizeCache protoimpl.SizeCache
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
func (x *DeleteFileResponse) Reset() {
|
|
292
|
-
*x = DeleteFileResponse{}
|
|
293
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[5]
|
|
294
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
295
|
-
ms.StoreMessageInfo(mi)
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
func (x *DeleteFileResponse) String() string {
|
|
299
|
-
return protoimpl.X.MessageStringOf(x)
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
func (*DeleteFileResponse) ProtoMessage() {}
|
|
303
|
-
|
|
304
|
-
func (x *DeleteFileResponse) ProtoReflect() protoreflect.Message {
|
|
305
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[5]
|
|
306
|
-
if x != nil {
|
|
307
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
308
|
-
if ms.LoadMessageInfo() == nil {
|
|
309
|
-
ms.StoreMessageInfo(mi)
|
|
310
|
-
}
|
|
311
|
-
return ms
|
|
312
|
-
}
|
|
313
|
-
return mi.MessageOf(x)
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
// Deprecated: Use DeleteFileResponse.ProtoReflect.Descriptor instead.
|
|
317
|
-
func (*DeleteFileResponse) Descriptor() ([]byte, []int) {
|
|
318
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{5}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
type UpdateFileRequest struct {
|
|
322
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
323
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
324
|
-
LineItemId *string `protobuf:"bytes,2,opt,name=line_item_id,json=lineItemId,proto3,oneof" json:"line_item_id,omitempty"`
|
|
325
|
-
VideoProductId *string `protobuf:"bytes,3,opt,name=video_product_id,json=videoProductId,proto3,oneof" json:"video_product_id,omitempty"`
|
|
326
|
-
VideoProductVariantId *string `protobuf:"bytes,4,opt,name=video_product_variant_id,json=videoProductVariantId,proto3,oneof" json:"video_product_variant_id,omitempty"`
|
|
327
|
-
ProductCategoryId *string `protobuf:"bytes,5,opt,name=product_category_id,json=productCategoryId,proto3,oneof" json:"product_category_id,omitempty"`
|
|
328
|
-
VideoProductCategoryId *string `protobuf:"bytes,6,opt,name=video_product_category_id,json=videoProductCategoryId,proto3,oneof" json:"video_product_category_id,omitempty"`
|
|
329
|
-
unknownFields protoimpl.UnknownFields
|
|
330
|
-
sizeCache protoimpl.SizeCache
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
func (x *UpdateFileRequest) Reset() {
|
|
334
|
-
*x = UpdateFileRequest{}
|
|
335
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[6]
|
|
336
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
337
|
-
ms.StoreMessageInfo(mi)
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
func (x *UpdateFileRequest) String() string {
|
|
341
|
-
return protoimpl.X.MessageStringOf(x)
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
func (*UpdateFileRequest) ProtoMessage() {}
|
|
345
|
-
|
|
346
|
-
func (x *UpdateFileRequest) ProtoReflect() protoreflect.Message {
|
|
347
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[6]
|
|
348
|
-
if x != nil {
|
|
349
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
350
|
-
if ms.LoadMessageInfo() == nil {
|
|
351
|
-
ms.StoreMessageInfo(mi)
|
|
352
|
-
}
|
|
353
|
-
return ms
|
|
354
|
-
}
|
|
355
|
-
return mi.MessageOf(x)
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
// Deprecated: Use UpdateFileRequest.ProtoReflect.Descriptor instead.
|
|
359
|
-
func (*UpdateFileRequest) Descriptor() ([]byte, []int) {
|
|
360
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{6}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
func (x *UpdateFileRequest) GetId() string {
|
|
364
|
-
if x != nil {
|
|
365
|
-
return x.Id
|
|
366
|
-
}
|
|
367
|
-
return ""
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
func (x *UpdateFileRequest) GetLineItemId() string {
|
|
371
|
-
if x != nil && x.LineItemId != nil {
|
|
372
|
-
return *x.LineItemId
|
|
373
|
-
}
|
|
374
|
-
return ""
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
func (x *UpdateFileRequest) GetVideoProductId() string {
|
|
378
|
-
if x != nil && x.VideoProductId != nil {
|
|
379
|
-
return *x.VideoProductId
|
|
380
|
-
}
|
|
381
|
-
return ""
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
func (x *UpdateFileRequest) GetVideoProductVariantId() string {
|
|
385
|
-
if x != nil && x.VideoProductVariantId != nil {
|
|
386
|
-
return *x.VideoProductVariantId
|
|
387
|
-
}
|
|
388
|
-
return ""
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
func (x *UpdateFileRequest) GetProductCategoryId() string {
|
|
392
|
-
if x != nil && x.ProductCategoryId != nil {
|
|
393
|
-
return *x.ProductCategoryId
|
|
394
|
-
}
|
|
395
|
-
return ""
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
func (x *UpdateFileRequest) GetVideoProductCategoryId() string {
|
|
399
|
-
if x != nil && x.VideoProductCategoryId != nil {
|
|
400
|
-
return *x.VideoProductCategoryId
|
|
401
|
-
}
|
|
402
|
-
return ""
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
type UpdateFileResponse struct {
|
|
406
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
407
|
-
unknownFields protoimpl.UnknownFields
|
|
408
|
-
sizeCache protoimpl.SizeCache
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
func (x *UpdateFileResponse) Reset() {
|
|
412
|
-
*x = UpdateFileResponse{}
|
|
413
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[7]
|
|
414
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
415
|
-
ms.StoreMessageInfo(mi)
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
func (x *UpdateFileResponse) String() string {
|
|
419
|
-
return protoimpl.X.MessageStringOf(x)
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
func (*UpdateFileResponse) ProtoMessage() {}
|
|
423
|
-
|
|
424
|
-
func (x *UpdateFileResponse) ProtoReflect() protoreflect.Message {
|
|
425
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[7]
|
|
426
|
-
if x != nil {
|
|
427
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
428
|
-
if ms.LoadMessageInfo() == nil {
|
|
429
|
-
ms.StoreMessageInfo(mi)
|
|
430
|
-
}
|
|
431
|
-
return ms
|
|
432
|
-
}
|
|
433
|
-
return mi.MessageOf(x)
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
// Deprecated: Use UpdateFileResponse.ProtoReflect.Descriptor instead.
|
|
437
|
-
func (*UpdateFileResponse) Descriptor() ([]byte, []int) {
|
|
438
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{7}
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
type FileResponse struct {
|
|
442
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
443
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
444
|
-
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
445
|
-
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
446
|
-
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
447
|
-
Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
|
|
448
|
-
LineItemId string `protobuf:"bytes,6,opt,name=line_item_id,json=lineItemId,proto3" json:"line_item_id,omitempty"`
|
|
449
|
-
VideoProductId string `protobuf:"bytes,7,opt,name=video_product_id,json=videoProductId,proto3" json:"video_product_id,omitempty"`
|
|
450
|
-
VideoProductVariantId string `protobuf:"bytes,8,opt,name=video_product_variant_id,json=videoProductVariantId,proto3" json:"video_product_variant_id,omitempty"`
|
|
451
|
-
ProductCategoryId string `protobuf:"bytes,9,opt,name=product_category_id,json=productCategoryId,proto3" json:"product_category_id,omitempty"`
|
|
452
|
-
VideoProductCategoryId string `protobuf:"bytes,10,opt,name=video_product_category_id,json=videoProductCategoryId,proto3" json:"video_product_category_id,omitempty"`
|
|
453
|
-
unknownFields protoimpl.UnknownFields
|
|
454
|
-
sizeCache protoimpl.SizeCache
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
func (x *FileResponse) Reset() {
|
|
458
|
-
*x = FileResponse{}
|
|
459
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[8]
|
|
460
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
461
|
-
ms.StoreMessageInfo(mi)
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
func (x *FileResponse) String() string {
|
|
465
|
-
return protoimpl.X.MessageStringOf(x)
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
func (*FileResponse) ProtoMessage() {}
|
|
469
|
-
|
|
470
|
-
func (x *FileResponse) ProtoReflect() protoreflect.Message {
|
|
471
|
-
mi := &file_src_proto_files_v1_entities_file_proto_msgTypes[8]
|
|
472
|
-
if x != nil {
|
|
473
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
474
|
-
if ms.LoadMessageInfo() == nil {
|
|
475
|
-
ms.StoreMessageInfo(mi)
|
|
476
|
-
}
|
|
477
|
-
return ms
|
|
478
|
-
}
|
|
479
|
-
return mi.MessageOf(x)
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
// Deprecated: Use FileResponse.ProtoReflect.Descriptor instead.
|
|
483
|
-
func (*FileResponse) Descriptor() ([]byte, []int) {
|
|
484
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescGZIP(), []int{8}
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
func (x *FileResponse) GetId() string {
|
|
488
|
-
if x != nil {
|
|
489
|
-
return x.Id
|
|
490
|
-
}
|
|
491
|
-
return ""
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
func (x *FileResponse) GetName() string {
|
|
495
|
-
if x != nil {
|
|
496
|
-
return x.Name
|
|
497
|
-
}
|
|
498
|
-
return ""
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
func (x *FileResponse) GetPath() string {
|
|
502
|
-
if x != nil {
|
|
503
|
-
return x.Path
|
|
504
|
-
}
|
|
505
|
-
return ""
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
func (x *FileResponse) GetType() string {
|
|
509
|
-
if x != nil {
|
|
510
|
-
return x.Type
|
|
511
|
-
}
|
|
512
|
-
return ""
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
func (x *FileResponse) GetSource() string {
|
|
516
|
-
if x != nil {
|
|
517
|
-
return x.Source
|
|
518
|
-
}
|
|
519
|
-
return ""
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
func (x *FileResponse) GetLineItemId() string {
|
|
523
|
-
if x != nil {
|
|
524
|
-
return x.LineItemId
|
|
525
|
-
}
|
|
526
|
-
return ""
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
func (x *FileResponse) GetVideoProductId() string {
|
|
530
|
-
if x != nil {
|
|
531
|
-
return x.VideoProductId
|
|
532
|
-
}
|
|
533
|
-
return ""
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
func (x *FileResponse) GetVideoProductVariantId() string {
|
|
537
|
-
if x != nil {
|
|
538
|
-
return x.VideoProductVariantId
|
|
539
|
-
}
|
|
540
|
-
return ""
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
func (x *FileResponse) GetProductCategoryId() string {
|
|
544
|
-
if x != nil {
|
|
545
|
-
return x.ProductCategoryId
|
|
546
|
-
}
|
|
547
|
-
return ""
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
func (x *FileResponse) GetVideoProductCategoryId() string {
|
|
551
|
-
if x != nil {
|
|
552
|
-
return x.VideoProductCategoryId
|
|
553
|
-
}
|
|
554
|
-
return ""
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
var File_src_proto_files_v1_entities_file_proto protoreflect.FileDescriptor
|
|
558
|
-
|
|
559
|
-
const file_src_proto_files_v1_entities_file_proto_rawDesc = "" +
|
|
560
|
-
"\n" +
|
|
561
|
-
"&src/proto/files/v1/entities/file.proto\x1a\x1bbuf/validate/validate.proto\"\x93\x02\n" +
|
|
562
|
-
"\x10ListFilesRequest\x12\x1f\n" +
|
|
563
|
-
"\x06offset\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02(\x00R\x06offset\x12\x1f\n" +
|
|
564
|
-
"\x05limit\x18\x02 \x01(\rB\t\xbaH\x06*\x04\x18d(\x01R\x05limit\x12\x1e\n" +
|
|
565
|
-
"\border_by\x18\x03 \x01(\tH\x00R\aorderBy\x88\x01\x01\x12\x1b\n" +
|
|
566
|
-
"\x06filter\x18\x04 \x01(\tH\x01R\x06filter\x88\x01\x01\x12!\n" +
|
|
567
|
-
"\tascending\x18\x05 \x01(\bH\x02R\tascending\x88\x01\x01\x12&\n" +
|
|
568
|
-
"\frequest_path\x18\x06 \x01(\tH\x03R\vrequestPath\x88\x01\x01B\v\n" +
|
|
569
|
-
"\t_order_byB\t\n" +
|
|
570
|
-
"\a_filterB\f\n" +
|
|
571
|
-
"\n" +
|
|
572
|
-
"_ascendingB\x0f\n" +
|
|
573
|
-
"\r_request_path\"8\n" +
|
|
574
|
-
"\x11ListFilesResponse\x12#\n" +
|
|
575
|
-
"\x05files\x18\x01 \x03(\v2\r.FileResponseR\x05files\" \n" +
|
|
576
|
-
"\x0eGetFileRequest\x12\x0e\n" +
|
|
577
|
-
"\x02id\x18\x01 \x01(\tR\x02id\"4\n" +
|
|
578
|
-
"\x0fGetFileResponse\x12!\n" +
|
|
579
|
-
"\x04file\x18\x01 \x01(\v2\r.FileResponseR\x04file\"#\n" +
|
|
580
|
-
"\x11DeleteFileRequest\x12\x0e\n" +
|
|
581
|
-
"\x02id\x18\x01 \x01(\tR\x02id\"\x14\n" +
|
|
582
|
-
"\x12DeleteFileResponse\"\xa5\x03\n" +
|
|
583
|
-
"\x11UpdateFileRequest\x12\x0e\n" +
|
|
584
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12%\n" +
|
|
585
|
-
"\fline_item_id\x18\x02 \x01(\tH\x00R\n" +
|
|
586
|
-
"lineItemId\x88\x01\x01\x12-\n" +
|
|
587
|
-
"\x10video_product_id\x18\x03 \x01(\tH\x01R\x0evideoProductId\x88\x01\x01\x12<\n" +
|
|
588
|
-
"\x18video_product_variant_id\x18\x04 \x01(\tH\x02R\x15videoProductVariantId\x88\x01\x01\x123\n" +
|
|
589
|
-
"\x13product_category_id\x18\x05 \x01(\tH\x03R\x11productCategoryId\x88\x01\x01\x12>\n" +
|
|
590
|
-
"\x19video_product_category_id\x18\x06 \x01(\tH\x04R\x16videoProductCategoryId\x88\x01\x01B\x0f\n" +
|
|
591
|
-
"\r_line_item_idB\x13\n" +
|
|
592
|
-
"\x11_video_product_idB\x1b\n" +
|
|
593
|
-
"\x19_video_product_variant_idB\x16\n" +
|
|
594
|
-
"\x14_product_category_idB\x1c\n" +
|
|
595
|
-
"\x1a_video_product_category_id\"\x14\n" +
|
|
596
|
-
"\x12UpdateFileResponse\"\xe2\x02\n" +
|
|
597
|
-
"\fFileResponse\x12\x0e\n" +
|
|
598
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
599
|
-
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
600
|
-
"\x04path\x18\x03 \x01(\tR\x04path\x12\x12\n" +
|
|
601
|
-
"\x04type\x18\x04 \x01(\tR\x04type\x12\x16\n" +
|
|
602
|
-
"\x06source\x18\x05 \x01(\tR\x06source\x12 \n" +
|
|
603
|
-
"\fline_item_id\x18\x06 \x01(\tR\n" +
|
|
604
|
-
"lineItemId\x12(\n" +
|
|
605
|
-
"\x10video_product_id\x18\a \x01(\tR\x0evideoProductId\x127\n" +
|
|
606
|
-
"\x18video_product_variant_id\x18\b \x01(\tR\x15videoProductVariantId\x12.\n" +
|
|
607
|
-
"\x13product_category_id\x18\t \x01(\tR\x11productCategoryId\x129\n" +
|
|
608
|
-
"\x19video_product_category_id\x18\n" +
|
|
609
|
-
" \x01(\tR\x16videoProductCategoryIdBEB\tFileProtoP\x01Z6paakd.com/packages/api/gen/src/proto/files/v1/entitiesb\x06proto3"
|
|
610
|
-
|
|
611
|
-
var (
|
|
612
|
-
file_src_proto_files_v1_entities_file_proto_rawDescOnce sync.Once
|
|
613
|
-
file_src_proto_files_v1_entities_file_proto_rawDescData []byte
|
|
614
|
-
)
|
|
615
|
-
|
|
616
|
-
func file_src_proto_files_v1_entities_file_proto_rawDescGZIP() []byte {
|
|
617
|
-
file_src_proto_files_v1_entities_file_proto_rawDescOnce.Do(func() {
|
|
618
|
-
file_src_proto_files_v1_entities_file_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_files_v1_entities_file_proto_rawDesc), len(file_src_proto_files_v1_entities_file_proto_rawDesc)))
|
|
619
|
-
})
|
|
620
|
-
return file_src_proto_files_v1_entities_file_proto_rawDescData
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
var file_src_proto_files_v1_entities_file_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
624
|
-
var file_src_proto_files_v1_entities_file_proto_goTypes = []any{
|
|
625
|
-
(*ListFilesRequest)(nil), // 0: ListFilesRequest
|
|
626
|
-
(*ListFilesResponse)(nil), // 1: ListFilesResponse
|
|
627
|
-
(*GetFileRequest)(nil), // 2: GetFileRequest
|
|
628
|
-
(*GetFileResponse)(nil), // 3: GetFileResponse
|
|
629
|
-
(*DeleteFileRequest)(nil), // 4: DeleteFileRequest
|
|
630
|
-
(*DeleteFileResponse)(nil), // 5: DeleteFileResponse
|
|
631
|
-
(*UpdateFileRequest)(nil), // 6: UpdateFileRequest
|
|
632
|
-
(*UpdateFileResponse)(nil), // 7: UpdateFileResponse
|
|
633
|
-
(*FileResponse)(nil), // 8: FileResponse
|
|
634
|
-
}
|
|
635
|
-
var file_src_proto_files_v1_entities_file_proto_depIdxs = []int32{
|
|
636
|
-
8, // 0: ListFilesResponse.files:type_name -> FileResponse
|
|
637
|
-
8, // 1: GetFileResponse.file:type_name -> FileResponse
|
|
638
|
-
2, // [2:2] is the sub-list for method output_type
|
|
639
|
-
2, // [2:2] is the sub-list for method input_type
|
|
640
|
-
2, // [2:2] is the sub-list for extension type_name
|
|
641
|
-
2, // [2:2] is the sub-list for extension extendee
|
|
642
|
-
0, // [0:2] is the sub-list for field type_name
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
func init() { file_src_proto_files_v1_entities_file_proto_init() }
|
|
646
|
-
func file_src_proto_files_v1_entities_file_proto_init() {
|
|
647
|
-
if File_src_proto_files_v1_entities_file_proto != nil {
|
|
648
|
-
return
|
|
649
|
-
}
|
|
650
|
-
file_src_proto_files_v1_entities_file_proto_msgTypes[0].OneofWrappers = []any{}
|
|
651
|
-
file_src_proto_files_v1_entities_file_proto_msgTypes[6].OneofWrappers = []any{}
|
|
652
|
-
type x struct{}
|
|
653
|
-
out := protoimpl.TypeBuilder{
|
|
654
|
-
File: protoimpl.DescBuilder{
|
|
655
|
-
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
656
|
-
RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_files_v1_entities_file_proto_rawDesc), len(file_src_proto_files_v1_entities_file_proto_rawDesc)),
|
|
657
|
-
NumEnums: 0,
|
|
658
|
-
NumMessages: 9,
|
|
659
|
-
NumExtensions: 0,
|
|
660
|
-
NumServices: 0,
|
|
661
|
-
},
|
|
662
|
-
GoTypes: file_src_proto_files_v1_entities_file_proto_goTypes,
|
|
663
|
-
DependencyIndexes: file_src_proto_files_v1_entities_file_proto_depIdxs,
|
|
664
|
-
MessageInfos: file_src_proto_files_v1_entities_file_proto_msgTypes,
|
|
665
|
-
}.Build()
|
|
666
|
-
File_src_proto_files_v1_entities_file_proto = out.File
|
|
667
|
-
file_src_proto_files_v1_entities_file_proto_goTypes = nil
|
|
668
|
-
file_src_proto_files_v1_entities_file_proto_depIdxs = nil
|
|
669
|
-
}
|