@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.
Files changed (61) hide show
  1. package/package.json +7 -9
  2. package/buf/validate/validate_pb.ts +0 -5001
  3. package/gen/buf/validate/validate_pb.ts +0 -4799
  4. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
  5. package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
  6. package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
  7. package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
  8. package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
  9. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
  10. package/gen/src/proto/auth/v1/service.pb.go +0 -119
  11. package/gen/src/proto/auth/v1/service_pb.ts +0 -152
  12. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
  13. package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
  14. package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
  15. package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
  16. package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
  17. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
  18. package/gen/src/proto/customers/v1/service.pb.go +0 -110
  19. package/gen/src/proto/customers/v1/service_pb.ts +0 -121
  20. package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
  21. package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
  22. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
  23. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
  24. package/gen/src/proto/files/v1/service.pb.go +0 -85
  25. package/gen/src/proto/files/v1/service_pb.ts +0 -65
  26. package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
  27. package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
  28. package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
  29. package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
  30. package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
  31. package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
  32. package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
  33. package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
  34. package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
  35. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
  36. package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
  37. package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
  38. package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
  39. package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
  40. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
  41. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
  42. package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
  43. package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
  44. package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
  45. package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
  46. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
  47. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
  48. package/gen/src/proto/products/v1/service.pb.go +0 -250
  49. package/gen/src/proto/products/v1/service_pb.ts +0 -429
  50. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
  51. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
  52. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
  53. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
  54. package/gen/src/proto/promotions/v1/service.pb.go +0 -98
  55. package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
  56. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
  57. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
  58. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
  59. package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
  60. package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
  61. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
@@ -1,1499 +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/stocknodes/v1/entities/stocknode.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 FulfillmentSetType int32
26
-
27
- const (
28
- FulfillmentSetType_SHIPPING FulfillmentSetType = 0
29
- FulfillmentSetType_PICKUP FulfillmentSetType = 1
30
- FulfillmentSetType_DROPOFF FulfillmentSetType = 2
31
- )
32
-
33
- // Enum value maps for FulfillmentSetType.
34
- var (
35
- FulfillmentSetType_name = map[int32]string{
36
- 0: "SHIPPING",
37
- 1: "PICKUP",
38
- 2: "DROPOFF",
39
- }
40
- FulfillmentSetType_value = map[string]int32{
41
- "SHIPPING": 0,
42
- "PICKUP": 1,
43
- "DROPOFF": 2,
44
- }
45
- )
46
-
47
- func (x FulfillmentSetType) Enum() *FulfillmentSetType {
48
- p := new(FulfillmentSetType)
49
- *p = x
50
- return p
51
- }
52
-
53
- func (x FulfillmentSetType) String() string {
54
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
55
- }
56
-
57
- func (FulfillmentSetType) Descriptor() protoreflect.EnumDescriptor {
58
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_enumTypes[0].Descriptor()
59
- }
60
-
61
- func (FulfillmentSetType) Type() protoreflect.EnumType {
62
- return &file_src_proto_stocknodes_v1_entities_stocknode_proto_enumTypes[0]
63
- }
64
-
65
- func (x FulfillmentSetType) Number() protoreflect.EnumNumber {
66
- return protoreflect.EnumNumber(x)
67
- }
68
-
69
- // Deprecated: Use FulfillmentSetType.Descriptor instead.
70
- func (FulfillmentSetType) EnumDescriptor() ([]byte, []int) {
71
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{0}
72
- }
73
-
74
- type StockNodeAddress struct {
75
- state protoimpl.MessageState `protogen:"open.v1"`
76
- Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
77
- Address_1 string `protobuf:"bytes,2,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
78
- Address_2 string `protobuf:"bytes,3,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
79
- Address_3 string `protobuf:"bytes,4,opt,name=address_3,json=address3,proto3" json:"address_3,omitempty"`
80
- PhoneNumber string `protobuf:"bytes,5,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
81
- ZipCode string `protobuf:"bytes,6,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"`
82
- Country string `protobuf:"bytes,7,opt,name=country,proto3" json:"country,omitempty"`
83
- CountryCode string `protobuf:"bytes,8,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
84
- Company string `protobuf:"bytes,9,opt,name=company,proto3" json:"company,omitempty"`
85
- City string `protobuf:"bytes,10,opt,name=city,proto3" json:"city,omitempty"`
86
- Province string `protobuf:"bytes,11,opt,name=province,proto3" json:"province,omitempty"`
87
- StateCode string `protobuf:"bytes,12,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"`
88
- EmailAddress string `protobuf:"bytes,13,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
89
- unknownFields protoimpl.UnknownFields
90
- sizeCache protoimpl.SizeCache
91
- }
92
-
93
- func (x *StockNodeAddress) Reset() {
94
- *x = StockNodeAddress{}
95
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[0]
96
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
97
- ms.StoreMessageInfo(mi)
98
- }
99
-
100
- func (x *StockNodeAddress) String() string {
101
- return protoimpl.X.MessageStringOf(x)
102
- }
103
-
104
- func (*StockNodeAddress) ProtoMessage() {}
105
-
106
- func (x *StockNodeAddress) ProtoReflect() protoreflect.Message {
107
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[0]
108
- if x != nil {
109
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110
- if ms.LoadMessageInfo() == nil {
111
- ms.StoreMessageInfo(mi)
112
- }
113
- return ms
114
- }
115
- return mi.MessageOf(x)
116
- }
117
-
118
- // Deprecated: Use StockNodeAddress.ProtoReflect.Descriptor instead.
119
- func (*StockNodeAddress) Descriptor() ([]byte, []int) {
120
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{0}
121
- }
122
-
123
- func (x *StockNodeAddress) GetId() string {
124
- if x != nil && x.Id != nil {
125
- return *x.Id
126
- }
127
- return ""
128
- }
129
-
130
- func (x *StockNodeAddress) GetAddress_1() string {
131
- if x != nil {
132
- return x.Address_1
133
- }
134
- return ""
135
- }
136
-
137
- func (x *StockNodeAddress) GetAddress_2() string {
138
- if x != nil {
139
- return x.Address_2
140
- }
141
- return ""
142
- }
143
-
144
- func (x *StockNodeAddress) GetAddress_3() string {
145
- if x != nil {
146
- return x.Address_3
147
- }
148
- return ""
149
- }
150
-
151
- func (x *StockNodeAddress) GetPhoneNumber() string {
152
- if x != nil {
153
- return x.PhoneNumber
154
- }
155
- return ""
156
- }
157
-
158
- func (x *StockNodeAddress) GetZipCode() string {
159
- if x != nil {
160
- return x.ZipCode
161
- }
162
- return ""
163
- }
164
-
165
- func (x *StockNodeAddress) GetCountry() string {
166
- if x != nil {
167
- return x.Country
168
- }
169
- return ""
170
- }
171
-
172
- func (x *StockNodeAddress) GetCountryCode() string {
173
- if x != nil {
174
- return x.CountryCode
175
- }
176
- return ""
177
- }
178
-
179
- func (x *StockNodeAddress) GetCompany() string {
180
- if x != nil {
181
- return x.Company
182
- }
183
- return ""
184
- }
185
-
186
- func (x *StockNodeAddress) GetCity() string {
187
- if x != nil {
188
- return x.City
189
- }
190
- return ""
191
- }
192
-
193
- func (x *StockNodeAddress) GetProvince() string {
194
- if x != nil {
195
- return x.Province
196
- }
197
- return ""
198
- }
199
-
200
- func (x *StockNodeAddress) GetStateCode() string {
201
- if x != nil {
202
- return x.StateCode
203
- }
204
- return ""
205
- }
206
-
207
- func (x *StockNodeAddress) GetEmailAddress() string {
208
- if x != nil {
209
- return x.EmailAddress
210
- }
211
- return ""
212
- }
213
-
214
- type StockNodeFulfillmentSet struct {
215
- state protoimpl.MessageState `protogen:"open.v1"`
216
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
217
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
218
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
219
- unknownFields protoimpl.UnknownFields
220
- sizeCache protoimpl.SizeCache
221
- }
222
-
223
- func (x *StockNodeFulfillmentSet) Reset() {
224
- *x = StockNodeFulfillmentSet{}
225
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[1]
226
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227
- ms.StoreMessageInfo(mi)
228
- }
229
-
230
- func (x *StockNodeFulfillmentSet) String() string {
231
- return protoimpl.X.MessageStringOf(x)
232
- }
233
-
234
- func (*StockNodeFulfillmentSet) ProtoMessage() {}
235
-
236
- func (x *StockNodeFulfillmentSet) ProtoReflect() protoreflect.Message {
237
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[1]
238
- if x != nil {
239
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
240
- if ms.LoadMessageInfo() == nil {
241
- ms.StoreMessageInfo(mi)
242
- }
243
- return ms
244
- }
245
- return mi.MessageOf(x)
246
- }
247
-
248
- // Deprecated: Use StockNodeFulfillmentSet.ProtoReflect.Descriptor instead.
249
- func (*StockNodeFulfillmentSet) Descriptor() ([]byte, []int) {
250
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{1}
251
- }
252
-
253
- func (x *StockNodeFulfillmentSet) GetId() string {
254
- if x != nil {
255
- return x.Id
256
- }
257
- return ""
258
- }
259
-
260
- func (x *StockNodeFulfillmentSet) GetName() string {
261
- if x != nil {
262
- return x.Name
263
- }
264
- return ""
265
- }
266
-
267
- func (x *StockNodeFulfillmentSet) GetType() string {
268
- if x != nil {
269
- return x.Type
270
- }
271
- return ""
272
- }
273
-
274
- type CreateStockNodeRequest struct {
275
- state protoimpl.MessageState `protogen:"open.v1"`
276
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
277
- Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
278
- ContactName *string `protobuf:"bytes,3,opt,name=contact_name,json=contactName,proto3,oneof" json:"contact_name,omitempty"`
279
- ContactEmail string `protobuf:"bytes,4,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
280
- Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
281
- SalesChannels []string `protobuf:"bytes,6,rep,name=sales_channels,json=salesChannels,proto3" json:"sales_channels,omitempty"`
282
- FulfillmentProviders []string `protobuf:"bytes,7,rep,name=fulfillment_providers,json=fulfillmentProviders,proto3" json:"fulfillment_providers,omitempty"`
283
- Address *StockNodeAddress `protobuf:"bytes,8,opt,name=address,proto3" json:"address,omitempty"`
284
- unknownFields protoimpl.UnknownFields
285
- sizeCache protoimpl.SizeCache
286
- }
287
-
288
- func (x *CreateStockNodeRequest) Reset() {
289
- *x = CreateStockNodeRequest{}
290
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[2]
291
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292
- ms.StoreMessageInfo(mi)
293
- }
294
-
295
- func (x *CreateStockNodeRequest) String() string {
296
- return protoimpl.X.MessageStringOf(x)
297
- }
298
-
299
- func (*CreateStockNodeRequest) ProtoMessage() {}
300
-
301
- func (x *CreateStockNodeRequest) ProtoReflect() protoreflect.Message {
302
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[2]
303
- if x != nil {
304
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305
- if ms.LoadMessageInfo() == nil {
306
- ms.StoreMessageInfo(mi)
307
- }
308
- return ms
309
- }
310
- return mi.MessageOf(x)
311
- }
312
-
313
- // Deprecated: Use CreateStockNodeRequest.ProtoReflect.Descriptor instead.
314
- func (*CreateStockNodeRequest) Descriptor() ([]byte, []int) {
315
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{2}
316
- }
317
-
318
- func (x *CreateStockNodeRequest) GetName() string {
319
- if x != nil {
320
- return x.Name
321
- }
322
- return ""
323
- }
324
-
325
- func (x *CreateStockNodeRequest) GetDescription() string {
326
- if x != nil && x.Description != nil {
327
- return *x.Description
328
- }
329
- return ""
330
- }
331
-
332
- func (x *CreateStockNodeRequest) GetContactName() string {
333
- if x != nil && x.ContactName != nil {
334
- return *x.ContactName
335
- }
336
- return ""
337
- }
338
-
339
- func (x *CreateStockNodeRequest) GetContactEmail() string {
340
- if x != nil {
341
- return x.ContactEmail
342
- }
343
- return ""
344
- }
345
-
346
- func (x *CreateStockNodeRequest) GetTags() []string {
347
- if x != nil {
348
- return x.Tags
349
- }
350
- return nil
351
- }
352
-
353
- func (x *CreateStockNodeRequest) GetSalesChannels() []string {
354
- if x != nil {
355
- return x.SalesChannels
356
- }
357
- return nil
358
- }
359
-
360
- func (x *CreateStockNodeRequest) GetFulfillmentProviders() []string {
361
- if x != nil {
362
- return x.FulfillmentProviders
363
- }
364
- return nil
365
- }
366
-
367
- func (x *CreateStockNodeRequest) GetAddress() *StockNodeAddress {
368
- if x != nil {
369
- return x.Address
370
- }
371
- return nil
372
- }
373
-
374
- type CreateStockNodeResponse struct {
375
- state protoimpl.MessageState `protogen:"open.v1"`
376
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
377
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
378
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
379
- ContactName string `protobuf:"bytes,4,opt,name=contact_name,json=contactName,proto3" json:"contact_name,omitempty"`
380
- ContactEmail string `protobuf:"bytes,5,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
381
- Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
382
- SalesChannels []string `protobuf:"bytes,7,rep,name=sales_channels,json=salesChannels,proto3" json:"sales_channels,omitempty"`
383
- FulfillmentProviders []string `protobuf:"bytes,8,rep,name=fulfillment_providers,json=fulfillmentProviders,proto3" json:"fulfillment_providers,omitempty"`
384
- Address *StockNodeAddress `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
385
- FulfillmentSets []*StockNodeFulfillmentSet `protobuf:"bytes,10,rep,name=fulfillment_sets,json=fulfillmentSets,proto3" json:"fulfillment_sets,omitempty"`
386
- unknownFields protoimpl.UnknownFields
387
- sizeCache protoimpl.SizeCache
388
- }
389
-
390
- func (x *CreateStockNodeResponse) Reset() {
391
- *x = CreateStockNodeResponse{}
392
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[3]
393
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
394
- ms.StoreMessageInfo(mi)
395
- }
396
-
397
- func (x *CreateStockNodeResponse) String() string {
398
- return protoimpl.X.MessageStringOf(x)
399
- }
400
-
401
- func (*CreateStockNodeResponse) ProtoMessage() {}
402
-
403
- func (x *CreateStockNodeResponse) ProtoReflect() protoreflect.Message {
404
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[3]
405
- if x != nil {
406
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
407
- if ms.LoadMessageInfo() == nil {
408
- ms.StoreMessageInfo(mi)
409
- }
410
- return ms
411
- }
412
- return mi.MessageOf(x)
413
- }
414
-
415
- // Deprecated: Use CreateStockNodeResponse.ProtoReflect.Descriptor instead.
416
- func (*CreateStockNodeResponse) Descriptor() ([]byte, []int) {
417
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{3}
418
- }
419
-
420
- func (x *CreateStockNodeResponse) GetId() string {
421
- if x != nil {
422
- return x.Id
423
- }
424
- return ""
425
- }
426
-
427
- func (x *CreateStockNodeResponse) GetName() string {
428
- if x != nil {
429
- return x.Name
430
- }
431
- return ""
432
- }
433
-
434
- func (x *CreateStockNodeResponse) GetDescription() string {
435
- if x != nil {
436
- return x.Description
437
- }
438
- return ""
439
- }
440
-
441
- func (x *CreateStockNodeResponse) GetContactName() string {
442
- if x != nil {
443
- return x.ContactName
444
- }
445
- return ""
446
- }
447
-
448
- func (x *CreateStockNodeResponse) GetContactEmail() string {
449
- if x != nil {
450
- return x.ContactEmail
451
- }
452
- return ""
453
- }
454
-
455
- func (x *CreateStockNodeResponse) GetTags() []string {
456
- if x != nil {
457
- return x.Tags
458
- }
459
- return nil
460
- }
461
-
462
- func (x *CreateStockNodeResponse) GetSalesChannels() []string {
463
- if x != nil {
464
- return x.SalesChannels
465
- }
466
- return nil
467
- }
468
-
469
- func (x *CreateStockNodeResponse) GetFulfillmentProviders() []string {
470
- if x != nil {
471
- return x.FulfillmentProviders
472
- }
473
- return nil
474
- }
475
-
476
- func (x *CreateStockNodeResponse) GetAddress() *StockNodeAddress {
477
- if x != nil {
478
- return x.Address
479
- }
480
- return nil
481
- }
482
-
483
- func (x *CreateStockNodeResponse) GetFulfillmentSets() []*StockNodeFulfillmentSet {
484
- if x != nil {
485
- return x.FulfillmentSets
486
- }
487
- return nil
488
- }
489
-
490
- type UpdateStockNodeRequest struct {
491
- state protoimpl.MessageState `protogen:"open.v1"`
492
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
493
- Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
494
- Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
495
- ContactName *string `protobuf:"bytes,4,opt,name=contact_name,json=contactName,proto3,oneof" json:"contact_name,omitempty"`
496
- ContactEmail *string `protobuf:"bytes,5,opt,name=contact_email,json=contactEmail,proto3,oneof" json:"contact_email,omitempty"`
497
- Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
498
- SalesChannels []string `protobuf:"bytes,7,rep,name=sales_channels,json=salesChannels,proto3" json:"sales_channels,omitempty"`
499
- FulfillmentProviders []string `protobuf:"bytes,8,rep,name=fulfillment_providers,json=fulfillmentProviders,proto3" json:"fulfillment_providers,omitempty"`
500
- Address *StockNodeAddress `protobuf:"bytes,9,opt,name=address,proto3,oneof" json:"address,omitempty"`
501
- unknownFields protoimpl.UnknownFields
502
- sizeCache protoimpl.SizeCache
503
- }
504
-
505
- func (x *UpdateStockNodeRequest) Reset() {
506
- *x = UpdateStockNodeRequest{}
507
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[4]
508
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
509
- ms.StoreMessageInfo(mi)
510
- }
511
-
512
- func (x *UpdateStockNodeRequest) String() string {
513
- return protoimpl.X.MessageStringOf(x)
514
- }
515
-
516
- func (*UpdateStockNodeRequest) ProtoMessage() {}
517
-
518
- func (x *UpdateStockNodeRequest) ProtoReflect() protoreflect.Message {
519
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[4]
520
- if x != nil {
521
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
522
- if ms.LoadMessageInfo() == nil {
523
- ms.StoreMessageInfo(mi)
524
- }
525
- return ms
526
- }
527
- return mi.MessageOf(x)
528
- }
529
-
530
- // Deprecated: Use UpdateStockNodeRequest.ProtoReflect.Descriptor instead.
531
- func (*UpdateStockNodeRequest) Descriptor() ([]byte, []int) {
532
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{4}
533
- }
534
-
535
- func (x *UpdateStockNodeRequest) GetId() string {
536
- if x != nil {
537
- return x.Id
538
- }
539
- return ""
540
- }
541
-
542
- func (x *UpdateStockNodeRequest) GetName() string {
543
- if x != nil && x.Name != nil {
544
- return *x.Name
545
- }
546
- return ""
547
- }
548
-
549
- func (x *UpdateStockNodeRequest) GetDescription() string {
550
- if x != nil && x.Description != nil {
551
- return *x.Description
552
- }
553
- return ""
554
- }
555
-
556
- func (x *UpdateStockNodeRequest) GetContactName() string {
557
- if x != nil && x.ContactName != nil {
558
- return *x.ContactName
559
- }
560
- return ""
561
- }
562
-
563
- func (x *UpdateStockNodeRequest) GetContactEmail() string {
564
- if x != nil && x.ContactEmail != nil {
565
- return *x.ContactEmail
566
- }
567
- return ""
568
- }
569
-
570
- func (x *UpdateStockNodeRequest) GetTags() []string {
571
- if x != nil {
572
- return x.Tags
573
- }
574
- return nil
575
- }
576
-
577
- func (x *UpdateStockNodeRequest) GetSalesChannels() []string {
578
- if x != nil {
579
- return x.SalesChannels
580
- }
581
- return nil
582
- }
583
-
584
- func (x *UpdateStockNodeRequest) GetFulfillmentProviders() []string {
585
- if x != nil {
586
- return x.FulfillmentProviders
587
- }
588
- return nil
589
- }
590
-
591
- func (x *UpdateStockNodeRequest) GetAddress() *StockNodeAddress {
592
- if x != nil {
593
- return x.Address
594
- }
595
- return nil
596
- }
597
-
598
- type UpdateStockNodeResponse struct {
599
- state protoimpl.MessageState `protogen:"open.v1"`
600
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
601
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
602
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
603
- ContactName string `protobuf:"bytes,4,opt,name=contact_name,json=contactName,proto3" json:"contact_name,omitempty"`
604
- ContactEmail string `protobuf:"bytes,5,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
605
- Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
606
- SalesChannels []string `protobuf:"bytes,7,rep,name=sales_channels,json=salesChannels,proto3" json:"sales_channels,omitempty"`
607
- FulfillmentProviders []string `protobuf:"bytes,8,rep,name=fulfillment_providers,json=fulfillmentProviders,proto3" json:"fulfillment_providers,omitempty"`
608
- Address *StockNodeAddress `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
609
- FulfillmentSets []*StockNodeFulfillmentSet `protobuf:"bytes,10,rep,name=fulfillment_sets,json=fulfillmentSets,proto3" json:"fulfillment_sets,omitempty"`
610
- unknownFields protoimpl.UnknownFields
611
- sizeCache protoimpl.SizeCache
612
- }
613
-
614
- func (x *UpdateStockNodeResponse) Reset() {
615
- *x = UpdateStockNodeResponse{}
616
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[5]
617
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
618
- ms.StoreMessageInfo(mi)
619
- }
620
-
621
- func (x *UpdateStockNodeResponse) String() string {
622
- return protoimpl.X.MessageStringOf(x)
623
- }
624
-
625
- func (*UpdateStockNodeResponse) ProtoMessage() {}
626
-
627
- func (x *UpdateStockNodeResponse) ProtoReflect() protoreflect.Message {
628
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[5]
629
- if x != nil {
630
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
631
- if ms.LoadMessageInfo() == nil {
632
- ms.StoreMessageInfo(mi)
633
- }
634
- return ms
635
- }
636
- return mi.MessageOf(x)
637
- }
638
-
639
- // Deprecated: Use UpdateStockNodeResponse.ProtoReflect.Descriptor instead.
640
- func (*UpdateStockNodeResponse) Descriptor() ([]byte, []int) {
641
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{5}
642
- }
643
-
644
- func (x *UpdateStockNodeResponse) GetId() string {
645
- if x != nil {
646
- return x.Id
647
- }
648
- return ""
649
- }
650
-
651
- func (x *UpdateStockNodeResponse) GetName() string {
652
- if x != nil {
653
- return x.Name
654
- }
655
- return ""
656
- }
657
-
658
- func (x *UpdateStockNodeResponse) GetDescription() string {
659
- if x != nil {
660
- return x.Description
661
- }
662
- return ""
663
- }
664
-
665
- func (x *UpdateStockNodeResponse) GetContactName() string {
666
- if x != nil {
667
- return x.ContactName
668
- }
669
- return ""
670
- }
671
-
672
- func (x *UpdateStockNodeResponse) GetContactEmail() string {
673
- if x != nil {
674
- return x.ContactEmail
675
- }
676
- return ""
677
- }
678
-
679
- func (x *UpdateStockNodeResponse) GetTags() []string {
680
- if x != nil {
681
- return x.Tags
682
- }
683
- return nil
684
- }
685
-
686
- func (x *UpdateStockNodeResponse) GetSalesChannels() []string {
687
- if x != nil {
688
- return x.SalesChannels
689
- }
690
- return nil
691
- }
692
-
693
- func (x *UpdateStockNodeResponse) GetFulfillmentProviders() []string {
694
- if x != nil {
695
- return x.FulfillmentProviders
696
- }
697
- return nil
698
- }
699
-
700
- func (x *UpdateStockNodeResponse) GetAddress() *StockNodeAddress {
701
- if x != nil {
702
- return x.Address
703
- }
704
- return nil
705
- }
706
-
707
- func (x *UpdateStockNodeResponse) GetFulfillmentSets() []*StockNodeFulfillmentSet {
708
- if x != nil {
709
- return x.FulfillmentSets
710
- }
711
- return nil
712
- }
713
-
714
- type DeleteStockNodeRequest struct {
715
- state protoimpl.MessageState `protogen:"open.v1"`
716
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
717
- unknownFields protoimpl.UnknownFields
718
- sizeCache protoimpl.SizeCache
719
- }
720
-
721
- func (x *DeleteStockNodeRequest) Reset() {
722
- *x = DeleteStockNodeRequest{}
723
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[6]
724
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
725
- ms.StoreMessageInfo(mi)
726
- }
727
-
728
- func (x *DeleteStockNodeRequest) String() string {
729
- return protoimpl.X.MessageStringOf(x)
730
- }
731
-
732
- func (*DeleteStockNodeRequest) ProtoMessage() {}
733
-
734
- func (x *DeleteStockNodeRequest) ProtoReflect() protoreflect.Message {
735
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[6]
736
- if x != nil {
737
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738
- if ms.LoadMessageInfo() == nil {
739
- ms.StoreMessageInfo(mi)
740
- }
741
- return ms
742
- }
743
- return mi.MessageOf(x)
744
- }
745
-
746
- // Deprecated: Use DeleteStockNodeRequest.ProtoReflect.Descriptor instead.
747
- func (*DeleteStockNodeRequest) Descriptor() ([]byte, []int) {
748
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{6}
749
- }
750
-
751
- func (x *DeleteStockNodeRequest) GetId() string {
752
- if x != nil {
753
- return x.Id
754
- }
755
- return ""
756
- }
757
-
758
- type DeleteStockNodeResponse struct {
759
- state protoimpl.MessageState `protogen:"open.v1"`
760
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
761
- unknownFields protoimpl.UnknownFields
762
- sizeCache protoimpl.SizeCache
763
- }
764
-
765
- func (x *DeleteStockNodeResponse) Reset() {
766
- *x = DeleteStockNodeResponse{}
767
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[7]
768
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
769
- ms.StoreMessageInfo(mi)
770
- }
771
-
772
- func (x *DeleteStockNodeResponse) String() string {
773
- return protoimpl.X.MessageStringOf(x)
774
- }
775
-
776
- func (*DeleteStockNodeResponse) ProtoMessage() {}
777
-
778
- func (x *DeleteStockNodeResponse) ProtoReflect() protoreflect.Message {
779
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[7]
780
- if x != nil {
781
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
782
- if ms.LoadMessageInfo() == nil {
783
- ms.StoreMessageInfo(mi)
784
- }
785
- return ms
786
- }
787
- return mi.MessageOf(x)
788
- }
789
-
790
- // Deprecated: Use DeleteStockNodeResponse.ProtoReflect.Descriptor instead.
791
- func (*DeleteStockNodeResponse) Descriptor() ([]byte, []int) {
792
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{7}
793
- }
794
-
795
- func (x *DeleteStockNodeResponse) GetId() string {
796
- if x != nil {
797
- return x.Id
798
- }
799
- return ""
800
- }
801
-
802
- type GetStockNodeRequest struct {
803
- state protoimpl.MessageState `protogen:"open.v1"`
804
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
805
- unknownFields protoimpl.UnknownFields
806
- sizeCache protoimpl.SizeCache
807
- }
808
-
809
- func (x *GetStockNodeRequest) Reset() {
810
- *x = GetStockNodeRequest{}
811
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[8]
812
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
813
- ms.StoreMessageInfo(mi)
814
- }
815
-
816
- func (x *GetStockNodeRequest) String() string {
817
- return protoimpl.X.MessageStringOf(x)
818
- }
819
-
820
- func (*GetStockNodeRequest) ProtoMessage() {}
821
-
822
- func (x *GetStockNodeRequest) ProtoReflect() protoreflect.Message {
823
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[8]
824
- if x != nil {
825
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
826
- if ms.LoadMessageInfo() == nil {
827
- ms.StoreMessageInfo(mi)
828
- }
829
- return ms
830
- }
831
- return mi.MessageOf(x)
832
- }
833
-
834
- // Deprecated: Use GetStockNodeRequest.ProtoReflect.Descriptor instead.
835
- func (*GetStockNodeRequest) Descriptor() ([]byte, []int) {
836
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{8}
837
- }
838
-
839
- func (x *GetStockNodeRequest) GetId() string {
840
- if x != nil {
841
- return x.Id
842
- }
843
- return ""
844
- }
845
-
846
- type GetStockNodeResponse struct {
847
- state protoimpl.MessageState `protogen:"open.v1"`
848
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
849
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
850
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
851
- ContactName string `protobuf:"bytes,4,opt,name=contact_name,json=contactName,proto3" json:"contact_name,omitempty"`
852
- ContactEmail string `protobuf:"bytes,5,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
853
- Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
854
- SalesChannels []string `protobuf:"bytes,7,rep,name=sales_channels,json=salesChannels,proto3" json:"sales_channels,omitempty"`
855
- FulfillmentProviders []string `protobuf:"bytes,8,rep,name=fulfillment_providers,json=fulfillmentProviders,proto3" json:"fulfillment_providers,omitempty"`
856
- Address *StockNodeAddress `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
857
- FulfillmentSets []*StockNodeFulfillmentSet `protobuf:"bytes,10,rep,name=fulfillment_sets,json=fulfillmentSets,proto3" json:"fulfillment_sets,omitempty"`
858
- unknownFields protoimpl.UnknownFields
859
- sizeCache protoimpl.SizeCache
860
- }
861
-
862
- func (x *GetStockNodeResponse) Reset() {
863
- *x = GetStockNodeResponse{}
864
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[9]
865
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
866
- ms.StoreMessageInfo(mi)
867
- }
868
-
869
- func (x *GetStockNodeResponse) String() string {
870
- return protoimpl.X.MessageStringOf(x)
871
- }
872
-
873
- func (*GetStockNodeResponse) ProtoMessage() {}
874
-
875
- func (x *GetStockNodeResponse) ProtoReflect() protoreflect.Message {
876
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[9]
877
- if x != nil {
878
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
879
- if ms.LoadMessageInfo() == nil {
880
- ms.StoreMessageInfo(mi)
881
- }
882
- return ms
883
- }
884
- return mi.MessageOf(x)
885
- }
886
-
887
- // Deprecated: Use GetStockNodeResponse.ProtoReflect.Descriptor instead.
888
- func (*GetStockNodeResponse) Descriptor() ([]byte, []int) {
889
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{9}
890
- }
891
-
892
- func (x *GetStockNodeResponse) GetId() string {
893
- if x != nil {
894
- return x.Id
895
- }
896
- return ""
897
- }
898
-
899
- func (x *GetStockNodeResponse) GetName() string {
900
- if x != nil {
901
- return x.Name
902
- }
903
- return ""
904
- }
905
-
906
- func (x *GetStockNodeResponse) GetDescription() string {
907
- if x != nil {
908
- return x.Description
909
- }
910
- return ""
911
- }
912
-
913
- func (x *GetStockNodeResponse) GetContactName() string {
914
- if x != nil {
915
- return x.ContactName
916
- }
917
- return ""
918
- }
919
-
920
- func (x *GetStockNodeResponse) GetContactEmail() string {
921
- if x != nil {
922
- return x.ContactEmail
923
- }
924
- return ""
925
- }
926
-
927
- func (x *GetStockNodeResponse) GetTags() []string {
928
- if x != nil {
929
- return x.Tags
930
- }
931
- return nil
932
- }
933
-
934
- func (x *GetStockNodeResponse) GetSalesChannels() []string {
935
- if x != nil {
936
- return x.SalesChannels
937
- }
938
- return nil
939
- }
940
-
941
- func (x *GetStockNodeResponse) GetFulfillmentProviders() []string {
942
- if x != nil {
943
- return x.FulfillmentProviders
944
- }
945
- return nil
946
- }
947
-
948
- func (x *GetStockNodeResponse) GetAddress() *StockNodeAddress {
949
- if x != nil {
950
- return x.Address
951
- }
952
- return nil
953
- }
954
-
955
- func (x *GetStockNodeResponse) GetFulfillmentSets() []*StockNodeFulfillmentSet {
956
- if x != nil {
957
- return x.FulfillmentSets
958
- }
959
- return nil
960
- }
961
-
962
- type ListStockNodesRequest struct {
963
- state protoimpl.MessageState `protogen:"open.v1"`
964
- Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
965
- Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
966
- OrderBy *string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"`
967
- Filter *string `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
968
- Ascending *bool `protobuf:"varint,5,opt,name=ascending,proto3,oneof" json:"ascending,omitempty"`
969
- RequestPath *string `protobuf:"bytes,6,opt,name=request_path,json=requestPath,proto3,oneof" json:"request_path,omitempty"`
970
- unknownFields protoimpl.UnknownFields
971
- sizeCache protoimpl.SizeCache
972
- }
973
-
974
- func (x *ListStockNodesRequest) Reset() {
975
- *x = ListStockNodesRequest{}
976
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[10]
977
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
978
- ms.StoreMessageInfo(mi)
979
- }
980
-
981
- func (x *ListStockNodesRequest) String() string {
982
- return protoimpl.X.MessageStringOf(x)
983
- }
984
-
985
- func (*ListStockNodesRequest) ProtoMessage() {}
986
-
987
- func (x *ListStockNodesRequest) ProtoReflect() protoreflect.Message {
988
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[10]
989
- if x != nil {
990
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
991
- if ms.LoadMessageInfo() == nil {
992
- ms.StoreMessageInfo(mi)
993
- }
994
- return ms
995
- }
996
- return mi.MessageOf(x)
997
- }
998
-
999
- // Deprecated: Use ListStockNodesRequest.ProtoReflect.Descriptor instead.
1000
- func (*ListStockNodesRequest) Descriptor() ([]byte, []int) {
1001
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{10}
1002
- }
1003
-
1004
- func (x *ListStockNodesRequest) GetOffset() int32 {
1005
- if x != nil {
1006
- return x.Offset
1007
- }
1008
- return 0
1009
- }
1010
-
1011
- func (x *ListStockNodesRequest) GetLimit() uint32 {
1012
- if x != nil {
1013
- return x.Limit
1014
- }
1015
- return 0
1016
- }
1017
-
1018
- func (x *ListStockNodesRequest) GetOrderBy() string {
1019
- if x != nil && x.OrderBy != nil {
1020
- return *x.OrderBy
1021
- }
1022
- return ""
1023
- }
1024
-
1025
- func (x *ListStockNodesRequest) GetFilter() string {
1026
- if x != nil && x.Filter != nil {
1027
- return *x.Filter
1028
- }
1029
- return ""
1030
- }
1031
-
1032
- func (x *ListStockNodesRequest) GetAscending() bool {
1033
- if x != nil && x.Ascending != nil {
1034
- return *x.Ascending
1035
- }
1036
- return false
1037
- }
1038
-
1039
- func (x *ListStockNodesRequest) GetRequestPath() string {
1040
- if x != nil && x.RequestPath != nil {
1041
- return *x.RequestPath
1042
- }
1043
- return ""
1044
- }
1045
-
1046
- type ListStockNodesResponse struct {
1047
- state protoimpl.MessageState `protogen:"open.v1"`
1048
- StockNodes []*CreateStockNodeResponse `protobuf:"bytes,1,rep,name=stock_nodes,json=stockNodes,proto3" json:"stock_nodes,omitempty"`
1049
- unknownFields protoimpl.UnknownFields
1050
- sizeCache protoimpl.SizeCache
1051
- }
1052
-
1053
- func (x *ListStockNodesResponse) Reset() {
1054
- *x = ListStockNodesResponse{}
1055
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[11]
1056
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1057
- ms.StoreMessageInfo(mi)
1058
- }
1059
-
1060
- func (x *ListStockNodesResponse) String() string {
1061
- return protoimpl.X.MessageStringOf(x)
1062
- }
1063
-
1064
- func (*ListStockNodesResponse) ProtoMessage() {}
1065
-
1066
- func (x *ListStockNodesResponse) ProtoReflect() protoreflect.Message {
1067
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[11]
1068
- if x != nil {
1069
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1070
- if ms.LoadMessageInfo() == nil {
1071
- ms.StoreMessageInfo(mi)
1072
- }
1073
- return ms
1074
- }
1075
- return mi.MessageOf(x)
1076
- }
1077
-
1078
- // Deprecated: Use ListStockNodesResponse.ProtoReflect.Descriptor instead.
1079
- func (*ListStockNodesResponse) Descriptor() ([]byte, []int) {
1080
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{11}
1081
- }
1082
-
1083
- func (x *ListStockNodesResponse) GetStockNodes() []*CreateStockNodeResponse {
1084
- if x != nil {
1085
- return x.StockNodes
1086
- }
1087
- return nil
1088
- }
1089
-
1090
- type AddFulfillmentSetRequest struct {
1091
- state protoimpl.MessageState `protogen:"open.v1"`
1092
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1093
- Type FulfillmentSetType `protobuf:"varint,2,opt,name=type,proto3,enum=FulfillmentSetType" json:"type,omitempty"`
1094
- StockNodeId string `protobuf:"bytes,3,opt,name=stock_node_id,json=stockNodeId,proto3" json:"stock_node_id,omitempty"`
1095
- unknownFields protoimpl.UnknownFields
1096
- sizeCache protoimpl.SizeCache
1097
- }
1098
-
1099
- func (x *AddFulfillmentSetRequest) Reset() {
1100
- *x = AddFulfillmentSetRequest{}
1101
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[12]
1102
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1103
- ms.StoreMessageInfo(mi)
1104
- }
1105
-
1106
- func (x *AddFulfillmentSetRequest) String() string {
1107
- return protoimpl.X.MessageStringOf(x)
1108
- }
1109
-
1110
- func (*AddFulfillmentSetRequest) ProtoMessage() {}
1111
-
1112
- func (x *AddFulfillmentSetRequest) ProtoReflect() protoreflect.Message {
1113
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[12]
1114
- if x != nil {
1115
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1116
- if ms.LoadMessageInfo() == nil {
1117
- ms.StoreMessageInfo(mi)
1118
- }
1119
- return ms
1120
- }
1121
- return mi.MessageOf(x)
1122
- }
1123
-
1124
- // Deprecated: Use AddFulfillmentSetRequest.ProtoReflect.Descriptor instead.
1125
- func (*AddFulfillmentSetRequest) Descriptor() ([]byte, []int) {
1126
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{12}
1127
- }
1128
-
1129
- func (x *AddFulfillmentSetRequest) GetName() string {
1130
- if x != nil {
1131
- return x.Name
1132
- }
1133
- return ""
1134
- }
1135
-
1136
- func (x *AddFulfillmentSetRequest) GetType() FulfillmentSetType {
1137
- if x != nil {
1138
- return x.Type
1139
- }
1140
- return FulfillmentSetType_SHIPPING
1141
- }
1142
-
1143
- func (x *AddFulfillmentSetRequest) GetStockNodeId() string {
1144
- if x != nil {
1145
- return x.StockNodeId
1146
- }
1147
- return ""
1148
- }
1149
-
1150
- type AddFulfillmentSetResponse struct {
1151
- state protoimpl.MessageState `protogen:"open.v1"`
1152
- StockNode *CreateStockNodeResponse `protobuf:"bytes,1,opt,name=stock_node,json=stockNode,proto3" json:"stock_node,omitempty"`
1153
- unknownFields protoimpl.UnknownFields
1154
- sizeCache protoimpl.SizeCache
1155
- }
1156
-
1157
- func (x *AddFulfillmentSetResponse) Reset() {
1158
- *x = AddFulfillmentSetResponse{}
1159
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[13]
1160
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1161
- ms.StoreMessageInfo(mi)
1162
- }
1163
-
1164
- func (x *AddFulfillmentSetResponse) String() string {
1165
- return protoimpl.X.MessageStringOf(x)
1166
- }
1167
-
1168
- func (*AddFulfillmentSetResponse) ProtoMessage() {}
1169
-
1170
- func (x *AddFulfillmentSetResponse) ProtoReflect() protoreflect.Message {
1171
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[13]
1172
- if x != nil {
1173
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1174
- if ms.LoadMessageInfo() == nil {
1175
- ms.StoreMessageInfo(mi)
1176
- }
1177
- return ms
1178
- }
1179
- return mi.MessageOf(x)
1180
- }
1181
-
1182
- // Deprecated: Use AddFulfillmentSetResponse.ProtoReflect.Descriptor instead.
1183
- func (*AddFulfillmentSetResponse) Descriptor() ([]byte, []int) {
1184
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{13}
1185
- }
1186
-
1187
- func (x *AddFulfillmentSetResponse) GetStockNode() *CreateStockNodeResponse {
1188
- if x != nil {
1189
- return x.StockNode
1190
- }
1191
- return nil
1192
- }
1193
-
1194
- type RemoveFulfillmentSetRequest struct {
1195
- state protoimpl.MessageState `protogen:"open.v1"`
1196
- StockNodeId string `protobuf:"bytes,1,opt,name=stock_node_id,json=stockNodeId,proto3" json:"stock_node_id,omitempty"`
1197
- FulfillmentSetId string `protobuf:"bytes,2,opt,name=fulfillment_set_id,json=fulfillmentSetId,proto3" json:"fulfillment_set_id,omitempty"`
1198
- unknownFields protoimpl.UnknownFields
1199
- sizeCache protoimpl.SizeCache
1200
- }
1201
-
1202
- func (x *RemoveFulfillmentSetRequest) Reset() {
1203
- *x = RemoveFulfillmentSetRequest{}
1204
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[14]
1205
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1206
- ms.StoreMessageInfo(mi)
1207
- }
1208
-
1209
- func (x *RemoveFulfillmentSetRequest) String() string {
1210
- return protoimpl.X.MessageStringOf(x)
1211
- }
1212
-
1213
- func (*RemoveFulfillmentSetRequest) ProtoMessage() {}
1214
-
1215
- func (x *RemoveFulfillmentSetRequest) ProtoReflect() protoreflect.Message {
1216
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[14]
1217
- if x != nil {
1218
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1219
- if ms.LoadMessageInfo() == nil {
1220
- ms.StoreMessageInfo(mi)
1221
- }
1222
- return ms
1223
- }
1224
- return mi.MessageOf(x)
1225
- }
1226
-
1227
- // Deprecated: Use RemoveFulfillmentSetRequest.ProtoReflect.Descriptor instead.
1228
- func (*RemoveFulfillmentSetRequest) Descriptor() ([]byte, []int) {
1229
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{14}
1230
- }
1231
-
1232
- func (x *RemoveFulfillmentSetRequest) GetStockNodeId() string {
1233
- if x != nil {
1234
- return x.StockNodeId
1235
- }
1236
- return ""
1237
- }
1238
-
1239
- func (x *RemoveFulfillmentSetRequest) GetFulfillmentSetId() string {
1240
- if x != nil {
1241
- return x.FulfillmentSetId
1242
- }
1243
- return ""
1244
- }
1245
-
1246
- type RemoveFulfillmentSetResponse struct {
1247
- state protoimpl.MessageState `protogen:"open.v1"`
1248
- StockNode *CreateStockNodeResponse `protobuf:"bytes,1,opt,name=stock_node,json=stockNode,proto3" json:"stock_node,omitempty"`
1249
- unknownFields protoimpl.UnknownFields
1250
- sizeCache protoimpl.SizeCache
1251
- }
1252
-
1253
- func (x *RemoveFulfillmentSetResponse) Reset() {
1254
- *x = RemoveFulfillmentSetResponse{}
1255
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[15]
1256
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1257
- ms.StoreMessageInfo(mi)
1258
- }
1259
-
1260
- func (x *RemoveFulfillmentSetResponse) String() string {
1261
- return protoimpl.X.MessageStringOf(x)
1262
- }
1263
-
1264
- func (*RemoveFulfillmentSetResponse) ProtoMessage() {}
1265
-
1266
- func (x *RemoveFulfillmentSetResponse) ProtoReflect() protoreflect.Message {
1267
- mi := &file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[15]
1268
- if x != nil {
1269
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1270
- if ms.LoadMessageInfo() == nil {
1271
- ms.StoreMessageInfo(mi)
1272
- }
1273
- return ms
1274
- }
1275
- return mi.MessageOf(x)
1276
- }
1277
-
1278
- // Deprecated: Use RemoveFulfillmentSetResponse.ProtoReflect.Descriptor instead.
1279
- func (*RemoveFulfillmentSetResponse) Descriptor() ([]byte, []int) {
1280
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP(), []int{15}
1281
- }
1282
-
1283
- func (x *RemoveFulfillmentSetResponse) GetStockNode() *CreateStockNodeResponse {
1284
- if x != nil {
1285
- return x.StockNode
1286
- }
1287
- return nil
1288
- }
1289
-
1290
- var File_src_proto_stocknodes_v1_entities_stocknode_proto protoreflect.FileDescriptor
1291
-
1292
- const file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDesc = "" +
1293
- "\n" +
1294
- "0src/proto/stocknodes/v1/entities/stocknode.proto\x1a\x1bbuf/validate/validate.proto\"\x8e\x03\n" +
1295
- "\x10StockNodeAddress\x12\x13\n" +
1296
- "\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x12\x1b\n" +
1297
- "\taddress_1\x18\x02 \x01(\tR\baddress1\x12\x1b\n" +
1298
- "\taddress_2\x18\x03 \x01(\tR\baddress2\x12\x1b\n" +
1299
- "\taddress_3\x18\x04 \x01(\tR\baddress3\x12!\n" +
1300
- "\fphone_number\x18\x05 \x01(\tR\vphoneNumber\x12\x19\n" +
1301
- "\bzip_code\x18\x06 \x01(\tR\azipCode\x12\x18\n" +
1302
- "\acountry\x18\a \x01(\tR\acountry\x12!\n" +
1303
- "\fcountry_code\x18\b \x01(\tR\vcountryCode\x12\x18\n" +
1304
- "\acompany\x18\t \x01(\tR\acompany\x12\x12\n" +
1305
- "\x04city\x18\n" +
1306
- " \x01(\tR\x04city\x12\x1a\n" +
1307
- "\bprovince\x18\v \x01(\tR\bprovince\x12\x1d\n" +
1308
- "\n" +
1309
- "state_code\x18\f \x01(\tR\tstateCode\x12#\n" +
1310
- "\remail_address\x18\r \x01(\tR\femailAddressB\x05\n" +
1311
- "\x03_id\"Q\n" +
1312
- "\x17StockNodeFulfillmentSet\x12\x0e\n" +
1313
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1314
- "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
1315
- "\x04type\x18\x03 \x01(\tR\x04type\"\xef\x02\n" +
1316
- "\x16CreateStockNodeRequest\x12\x1a\n" +
1317
- "\x04name\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x04name\x12%\n" +
1318
- "\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01\x12&\n" +
1319
- "\fcontact_name\x18\x03 \x01(\tH\x01R\vcontactName\x88\x01\x01\x12,\n" +
1320
- "\rcontact_email\x18\x04 \x01(\tB\a\xbaH\x04r\x02`\x01R\fcontactEmail\x12\x12\n" +
1321
- "\x04tags\x18\x05 \x03(\tR\x04tags\x12%\n" +
1322
- "\x0esales_channels\x18\x06 \x03(\tR\rsalesChannels\x123\n" +
1323
- "\x15fulfillment_providers\x18\a \x03(\tR\x14fulfillmentProviders\x12+\n" +
1324
- "\aaddress\x18\b \x01(\v2\x11.StockNodeAddressR\aaddressB\x0e\n" +
1325
- "\f_descriptionB\x0f\n" +
1326
- "\r_contact_name\"\x89\x03\n" +
1327
- "\x17CreateStockNodeResponse\x12\x0e\n" +
1328
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1329
- "\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
1330
- "\vdescription\x18\x03 \x01(\tR\vdescription\x12!\n" +
1331
- "\fcontact_name\x18\x04 \x01(\tR\vcontactName\x12#\n" +
1332
- "\rcontact_email\x18\x05 \x01(\tR\fcontactEmail\x12\x12\n" +
1333
- "\x04tags\x18\x06 \x03(\tR\x04tags\x12%\n" +
1334
- "\x0esales_channels\x18\a \x03(\tR\rsalesChannels\x123\n" +
1335
- "\x15fulfillment_providers\x18\b \x03(\tR\x14fulfillmentProviders\x12+\n" +
1336
- "\aaddress\x18\t \x01(\v2\x11.StockNodeAddressR\aaddress\x12C\n" +
1337
- "\x10fulfillment_sets\x18\n" +
1338
- " \x03(\v2\x18.StockNodeFulfillmentSetR\x0ffulfillmentSets\"\xdc\x03\n" +
1339
- "\x16UpdateStockNodeRequest\x12=\n" +
1340
- "\x02id\x18\x01 \x01(\tB-\xbaH*\xc8\x01\x01r%2#^[a-z]{3}[_][0-9a-hjkmnp-tv-z]{26}$R\x02id\x12\x17\n" +
1341
- "\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12%\n" +
1342
- "\vdescription\x18\x03 \x01(\tH\x01R\vdescription\x88\x01\x01\x12&\n" +
1343
- "\fcontact_name\x18\x04 \x01(\tH\x02R\vcontactName\x88\x01\x01\x121\n" +
1344
- "\rcontact_email\x18\x05 \x01(\tB\a\xbaH\x04r\x02`\x01H\x03R\fcontactEmail\x88\x01\x01\x12\x12\n" +
1345
- "\x04tags\x18\x06 \x03(\tR\x04tags\x12%\n" +
1346
- "\x0esales_channels\x18\a \x03(\tR\rsalesChannels\x123\n" +
1347
- "\x15fulfillment_providers\x18\b \x03(\tR\x14fulfillmentProviders\x120\n" +
1348
- "\aaddress\x18\t \x01(\v2\x11.StockNodeAddressH\x04R\aaddress\x88\x01\x01B\a\n" +
1349
- "\x05_nameB\x0e\n" +
1350
- "\f_descriptionB\x0f\n" +
1351
- "\r_contact_nameB\x10\n" +
1352
- "\x0e_contact_emailB\n" +
1353
- "\n" +
1354
- "\b_address\"\x89\x03\n" +
1355
- "\x17UpdateStockNodeResponse\x12\x0e\n" +
1356
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1357
- "\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
1358
- "\vdescription\x18\x03 \x01(\tR\vdescription\x12!\n" +
1359
- "\fcontact_name\x18\x04 \x01(\tR\vcontactName\x12#\n" +
1360
- "\rcontact_email\x18\x05 \x01(\tR\fcontactEmail\x12\x12\n" +
1361
- "\x04tags\x18\x06 \x03(\tR\x04tags\x12%\n" +
1362
- "\x0esales_channels\x18\a \x03(\tR\rsalesChannels\x123\n" +
1363
- "\x15fulfillment_providers\x18\b \x03(\tR\x14fulfillmentProviders\x12+\n" +
1364
- "\aaddress\x18\t \x01(\v2\x11.StockNodeAddressR\aaddress\x12C\n" +
1365
- "\x10fulfillment_sets\x18\n" +
1366
- " \x03(\v2\x18.StockNodeFulfillmentSetR\x0ffulfillmentSets\"W\n" +
1367
- "\x16DeleteStockNodeRequest\x12=\n" +
1368
- "\x02id\x18\x01 \x01(\tB-\xbaH*\xc8\x01\x01r%2#^[a-z]{3}[_][0-9a-hjkmnp-tv-z]{26}$R\x02id\")\n" +
1369
- "\x17DeleteStockNodeResponse\x12\x0e\n" +
1370
- "\x02id\x18\x01 \x01(\tR\x02id\"T\n" +
1371
- "\x13GetStockNodeRequest\x12=\n" +
1372
- "\x02id\x18\x01 \x01(\tB-\xbaH*\xc8\x01\x01r%2#^[a-z]{3}[_][0-9a-hjkmnp-tv-z]{26}$R\x02id\"\x86\x03\n" +
1373
- "\x14GetStockNodeResponse\x12\x0e\n" +
1374
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1375
- "\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
1376
- "\vdescription\x18\x03 \x01(\tR\vdescription\x12!\n" +
1377
- "\fcontact_name\x18\x04 \x01(\tR\vcontactName\x12#\n" +
1378
- "\rcontact_email\x18\x05 \x01(\tR\fcontactEmail\x12\x12\n" +
1379
- "\x04tags\x18\x06 \x03(\tR\x04tags\x12%\n" +
1380
- "\x0esales_channels\x18\a \x03(\tR\rsalesChannels\x123\n" +
1381
- "\x15fulfillment_providers\x18\b \x03(\tR\x14fulfillmentProviders\x12+\n" +
1382
- "\aaddress\x18\t \x01(\v2\x11.StockNodeAddressR\aaddress\x12C\n" +
1383
- "\x10fulfillment_sets\x18\n" +
1384
- " \x03(\v2\x18.StockNodeFulfillmentSetR\x0ffulfillmentSets\"\x98\x02\n" +
1385
- "\x15ListStockNodesRequest\x12\x1f\n" +
1386
- "\x06offset\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02(\x00R\x06offset\x12\x1f\n" +
1387
- "\x05limit\x18\x02 \x01(\rB\t\xbaH\x06*\x04\x18d(\x01R\x05limit\x12\x1e\n" +
1388
- "\border_by\x18\x03 \x01(\tH\x00R\aorderBy\x88\x01\x01\x12\x1b\n" +
1389
- "\x06filter\x18\x04 \x01(\tH\x01R\x06filter\x88\x01\x01\x12!\n" +
1390
- "\tascending\x18\x05 \x01(\bH\x02R\tascending\x88\x01\x01\x12&\n" +
1391
- "\frequest_path\x18\x06 \x01(\tH\x03R\vrequestPath\x88\x01\x01B\v\n" +
1392
- "\t_order_byB\t\n" +
1393
- "\a_filterB\f\n" +
1394
- "\n" +
1395
- "_ascendingB\x0f\n" +
1396
- "\r_request_path\"S\n" +
1397
- "\x16ListStockNodesResponse\x129\n" +
1398
- "\vstock_nodes\x18\x01 \x03(\v2\x18.CreateStockNodeResponseR\n" +
1399
- "stockNodes\"\xaa\x01\n" +
1400
- "\x18AddFulfillmentSetRequest\x12\x12\n" +
1401
- "\x04name\x18\x01 \x01(\tR\x04name\x12'\n" +
1402
- "\x04type\x18\x02 \x01(\x0e2\x13.FulfillmentSetTypeR\x04type\x12Q\n" +
1403
- "\rstock_node_id\x18\x03 \x01(\tB-\xbaH*\xc8\x01\x01r%2#^[a-z]{3}[_][0-9a-hjkmnp-tv-z]{26}$R\vstockNodeId\"T\n" +
1404
- "\x19AddFulfillmentSetResponse\x127\n" +
1405
- "\n" +
1406
- "stock_node\x18\x01 \x01(\v2\x18.CreateStockNodeResponseR\tstockNode\"\xcd\x01\n" +
1407
- "\x1bRemoveFulfillmentSetRequest\x12Q\n" +
1408
- "\rstock_node_id\x18\x01 \x01(\tB-\xbaH*\xc8\x01\x01r%2#^[a-z]{3}[_][0-9a-hjkmnp-tv-z]{26}$R\vstockNodeId\x12[\n" +
1409
- "\x12fulfillment_set_id\x18\x02 \x01(\tB-\xbaH*\xc8\x01\x01r%2#^[a-z]{3}[_][0-9a-hjkmnp-tv-z]{26}$R\x10fulfillmentSetId\"W\n" +
1410
- "\x1cRemoveFulfillmentSetResponse\x127\n" +
1411
- "\n" +
1412
- "stock_node\x18\x01 \x01(\v2\x18.CreateStockNodeResponseR\tstockNode*;\n" +
1413
- "\x12FulfillmentSetType\x12\f\n" +
1414
- "\bSHIPPING\x10\x00\x12\n" +
1415
- "\n" +
1416
- "\x06PICKUP\x10\x01\x12\v\n" +
1417
- "\aDROPOFF\x10\x02BOB\x0eStocknodeProtoP\x01Z;paakd.com/packages/api/gen/src/proto/stocknodes/v1/entitiesb\x06proto3"
1418
-
1419
- var (
1420
- file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescOnce sync.Once
1421
- file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescData []byte
1422
- )
1423
-
1424
- func file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescGZIP() []byte {
1425
- file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescOnce.Do(func() {
1426
- file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDesc), len(file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDesc)))
1427
- })
1428
- return file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDescData
1429
- }
1430
-
1431
- var file_src_proto_stocknodes_v1_entities_stocknode_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1432
- var file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
1433
- var file_src_proto_stocknodes_v1_entities_stocknode_proto_goTypes = []any{
1434
- (FulfillmentSetType)(0), // 0: FulfillmentSetType
1435
- (*StockNodeAddress)(nil), // 1: StockNodeAddress
1436
- (*StockNodeFulfillmentSet)(nil), // 2: StockNodeFulfillmentSet
1437
- (*CreateStockNodeRequest)(nil), // 3: CreateStockNodeRequest
1438
- (*CreateStockNodeResponse)(nil), // 4: CreateStockNodeResponse
1439
- (*UpdateStockNodeRequest)(nil), // 5: UpdateStockNodeRequest
1440
- (*UpdateStockNodeResponse)(nil), // 6: UpdateStockNodeResponse
1441
- (*DeleteStockNodeRequest)(nil), // 7: DeleteStockNodeRequest
1442
- (*DeleteStockNodeResponse)(nil), // 8: DeleteStockNodeResponse
1443
- (*GetStockNodeRequest)(nil), // 9: GetStockNodeRequest
1444
- (*GetStockNodeResponse)(nil), // 10: GetStockNodeResponse
1445
- (*ListStockNodesRequest)(nil), // 11: ListStockNodesRequest
1446
- (*ListStockNodesResponse)(nil), // 12: ListStockNodesResponse
1447
- (*AddFulfillmentSetRequest)(nil), // 13: AddFulfillmentSetRequest
1448
- (*AddFulfillmentSetResponse)(nil), // 14: AddFulfillmentSetResponse
1449
- (*RemoveFulfillmentSetRequest)(nil), // 15: RemoveFulfillmentSetRequest
1450
- (*RemoveFulfillmentSetResponse)(nil), // 16: RemoveFulfillmentSetResponse
1451
- }
1452
- var file_src_proto_stocknodes_v1_entities_stocknode_proto_depIdxs = []int32{
1453
- 1, // 0: CreateStockNodeRequest.address:type_name -> StockNodeAddress
1454
- 1, // 1: CreateStockNodeResponse.address:type_name -> StockNodeAddress
1455
- 2, // 2: CreateStockNodeResponse.fulfillment_sets:type_name -> StockNodeFulfillmentSet
1456
- 1, // 3: UpdateStockNodeRequest.address:type_name -> StockNodeAddress
1457
- 1, // 4: UpdateStockNodeResponse.address:type_name -> StockNodeAddress
1458
- 2, // 5: UpdateStockNodeResponse.fulfillment_sets:type_name -> StockNodeFulfillmentSet
1459
- 1, // 6: GetStockNodeResponse.address:type_name -> StockNodeAddress
1460
- 2, // 7: GetStockNodeResponse.fulfillment_sets:type_name -> StockNodeFulfillmentSet
1461
- 4, // 8: ListStockNodesResponse.stock_nodes:type_name -> CreateStockNodeResponse
1462
- 0, // 9: AddFulfillmentSetRequest.type:type_name -> FulfillmentSetType
1463
- 4, // 10: AddFulfillmentSetResponse.stock_node:type_name -> CreateStockNodeResponse
1464
- 4, // 11: RemoveFulfillmentSetResponse.stock_node:type_name -> CreateStockNodeResponse
1465
- 12, // [12:12] is the sub-list for method output_type
1466
- 12, // [12:12] is the sub-list for method input_type
1467
- 12, // [12:12] is the sub-list for extension type_name
1468
- 12, // [12:12] is the sub-list for extension extendee
1469
- 0, // [0:12] is the sub-list for field type_name
1470
- }
1471
-
1472
- func init() { file_src_proto_stocknodes_v1_entities_stocknode_proto_init() }
1473
- func file_src_proto_stocknodes_v1_entities_stocknode_proto_init() {
1474
- if File_src_proto_stocknodes_v1_entities_stocknode_proto != nil {
1475
- return
1476
- }
1477
- file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[0].OneofWrappers = []any{}
1478
- file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[2].OneofWrappers = []any{}
1479
- file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[4].OneofWrappers = []any{}
1480
- file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes[10].OneofWrappers = []any{}
1481
- type x struct{}
1482
- out := protoimpl.TypeBuilder{
1483
- File: protoimpl.DescBuilder{
1484
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1485
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDesc), len(file_src_proto_stocknodes_v1_entities_stocknode_proto_rawDesc)),
1486
- NumEnums: 1,
1487
- NumMessages: 16,
1488
- NumExtensions: 0,
1489
- NumServices: 0,
1490
- },
1491
- GoTypes: file_src_proto_stocknodes_v1_entities_stocknode_proto_goTypes,
1492
- DependencyIndexes: file_src_proto_stocknodes_v1_entities_stocknode_proto_depIdxs,
1493
- EnumInfos: file_src_proto_stocknodes_v1_entities_stocknode_proto_enumTypes,
1494
- MessageInfos: file_src_proto_stocknodes_v1_entities_stocknode_proto_msgTypes,
1495
- }.Build()
1496
- File_src_proto_stocknodes_v1_entities_stocknode_proto = out.File
1497
- file_src_proto_stocknodes_v1_entities_stocknode_proto_goTypes = nil
1498
- file_src_proto_stocknodes_v1_entities_stocknode_proto_depIdxs = nil
1499
- }