@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,1073 +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/customers/v1/entities/address.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 GetAddressesRequest struct {
|
|
26
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
27
|
-
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
|
28
|
-
unknownFields protoimpl.UnknownFields
|
|
29
|
-
sizeCache protoimpl.SizeCache
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
func (x *GetAddressesRequest) Reset() {
|
|
33
|
-
*x = GetAddressesRequest{}
|
|
34
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[0]
|
|
35
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
36
|
-
ms.StoreMessageInfo(mi)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
func (x *GetAddressesRequest) String() string {
|
|
40
|
-
return protoimpl.X.MessageStringOf(x)
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
func (*GetAddressesRequest) ProtoMessage() {}
|
|
44
|
-
|
|
45
|
-
func (x *GetAddressesRequest) ProtoReflect() protoreflect.Message {
|
|
46
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[0]
|
|
47
|
-
if x != nil {
|
|
48
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
49
|
-
if ms.LoadMessageInfo() == nil {
|
|
50
|
-
ms.StoreMessageInfo(mi)
|
|
51
|
-
}
|
|
52
|
-
return ms
|
|
53
|
-
}
|
|
54
|
-
return mi.MessageOf(x)
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Deprecated: Use GetAddressesRequest.ProtoReflect.Descriptor instead.
|
|
58
|
-
func (*GetAddressesRequest) Descriptor() ([]byte, []int) {
|
|
59
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{0}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
func (x *GetAddressesRequest) GetCustomerId() string {
|
|
63
|
-
if x != nil {
|
|
64
|
-
return x.CustomerId
|
|
65
|
-
}
|
|
66
|
-
return ""
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
type GetAddressRequest struct {
|
|
70
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
71
|
-
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
|
72
|
-
AddressId string `protobuf:"bytes,2,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
|
|
73
|
-
unknownFields protoimpl.UnknownFields
|
|
74
|
-
sizeCache protoimpl.SizeCache
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
func (x *GetAddressRequest) Reset() {
|
|
78
|
-
*x = GetAddressRequest{}
|
|
79
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[1]
|
|
80
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
81
|
-
ms.StoreMessageInfo(mi)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
func (x *GetAddressRequest) String() string {
|
|
85
|
-
return protoimpl.X.MessageStringOf(x)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
func (*GetAddressRequest) ProtoMessage() {}
|
|
89
|
-
|
|
90
|
-
func (x *GetAddressRequest) ProtoReflect() protoreflect.Message {
|
|
91
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[1]
|
|
92
|
-
if x != nil {
|
|
93
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
94
|
-
if ms.LoadMessageInfo() == nil {
|
|
95
|
-
ms.StoreMessageInfo(mi)
|
|
96
|
-
}
|
|
97
|
-
return ms
|
|
98
|
-
}
|
|
99
|
-
return mi.MessageOf(x)
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Deprecated: Use GetAddressRequest.ProtoReflect.Descriptor instead.
|
|
103
|
-
func (*GetAddressRequest) Descriptor() ([]byte, []int) {
|
|
104
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{1}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
func (x *GetAddressRequest) GetCustomerId() string {
|
|
108
|
-
if x != nil {
|
|
109
|
-
return x.CustomerId
|
|
110
|
-
}
|
|
111
|
-
return ""
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
func (x *GetAddressRequest) GetAddressId() string {
|
|
115
|
-
if x != nil {
|
|
116
|
-
return x.AddressId
|
|
117
|
-
}
|
|
118
|
-
return ""
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
type GetAddressResponse struct {
|
|
122
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
123
|
-
FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
124
|
-
LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
125
|
-
Address_1 string `protobuf:"bytes,3,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
|
|
126
|
-
Address_2 string `protobuf:"bytes,4,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
|
|
127
|
-
Address_3 string `protobuf:"bytes,5,opt,name=address_3,json=address3,proto3" json:"address_3,omitempty"`
|
|
128
|
-
PhoneNumber string `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
|
|
129
|
-
IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
|
|
130
|
-
IsValid bool `protobuf:"varint,8,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
|
|
131
|
-
ZipCode string `protobuf:"bytes,9,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"`
|
|
132
|
-
Country string `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"`
|
|
133
|
-
CountryCode string `protobuf:"bytes,11,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
|
134
|
-
Company string `protobuf:"bytes,12,opt,name=company,proto3" json:"company,omitempty"`
|
|
135
|
-
City string `protobuf:"bytes,13,opt,name=city,proto3" json:"city,omitempty"`
|
|
136
|
-
Province string `protobuf:"bytes,14,opt,name=province,proto3" json:"province,omitempty"`
|
|
137
|
-
AddressType string `protobuf:"bytes,15,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
|
|
138
|
-
AddressProvider string `protobuf:"bytes,16,opt,name=address_provider,json=addressProvider,proto3" json:"address_provider,omitempty"`
|
|
139
|
-
StateCode string `protobuf:"bytes,17,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"`
|
|
140
|
-
Id string `protobuf:"bytes,18,opt,name=id,proto3" json:"id,omitempty"`
|
|
141
|
-
EmailAddress string `protobuf:"bytes,19,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
|
|
142
|
-
CountyProvince string `protobuf:"bytes,20,opt,name=county_province,json=countyProvince,proto3" json:"county_province,omitempty"`
|
|
143
|
-
unknownFields protoimpl.UnknownFields
|
|
144
|
-
sizeCache protoimpl.SizeCache
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
func (x *GetAddressResponse) Reset() {
|
|
148
|
-
*x = GetAddressResponse{}
|
|
149
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[2]
|
|
150
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
151
|
-
ms.StoreMessageInfo(mi)
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
func (x *GetAddressResponse) String() string {
|
|
155
|
-
return protoimpl.X.MessageStringOf(x)
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
func (*GetAddressResponse) ProtoMessage() {}
|
|
159
|
-
|
|
160
|
-
func (x *GetAddressResponse) ProtoReflect() protoreflect.Message {
|
|
161
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[2]
|
|
162
|
-
if x != nil {
|
|
163
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
164
|
-
if ms.LoadMessageInfo() == nil {
|
|
165
|
-
ms.StoreMessageInfo(mi)
|
|
166
|
-
}
|
|
167
|
-
return ms
|
|
168
|
-
}
|
|
169
|
-
return mi.MessageOf(x)
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
// Deprecated: Use GetAddressResponse.ProtoReflect.Descriptor instead.
|
|
173
|
-
func (*GetAddressResponse) Descriptor() ([]byte, []int) {
|
|
174
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{2}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
func (x *GetAddressResponse) GetFirstName() string {
|
|
178
|
-
if x != nil {
|
|
179
|
-
return x.FirstName
|
|
180
|
-
}
|
|
181
|
-
return ""
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
func (x *GetAddressResponse) GetLastName() string {
|
|
185
|
-
if x != nil {
|
|
186
|
-
return x.LastName
|
|
187
|
-
}
|
|
188
|
-
return ""
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
func (x *GetAddressResponse) GetAddress_1() string {
|
|
192
|
-
if x != nil {
|
|
193
|
-
return x.Address_1
|
|
194
|
-
}
|
|
195
|
-
return ""
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
func (x *GetAddressResponse) GetAddress_2() string {
|
|
199
|
-
if x != nil {
|
|
200
|
-
return x.Address_2
|
|
201
|
-
}
|
|
202
|
-
return ""
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
func (x *GetAddressResponse) GetAddress_3() string {
|
|
206
|
-
if x != nil {
|
|
207
|
-
return x.Address_3
|
|
208
|
-
}
|
|
209
|
-
return ""
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
func (x *GetAddressResponse) GetPhoneNumber() string {
|
|
213
|
-
if x != nil {
|
|
214
|
-
return x.PhoneNumber
|
|
215
|
-
}
|
|
216
|
-
return ""
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
func (x *GetAddressResponse) GetIsDefault() bool {
|
|
220
|
-
if x != nil {
|
|
221
|
-
return x.IsDefault
|
|
222
|
-
}
|
|
223
|
-
return false
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
func (x *GetAddressResponse) GetIsValid() bool {
|
|
227
|
-
if x != nil {
|
|
228
|
-
return x.IsValid
|
|
229
|
-
}
|
|
230
|
-
return false
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
func (x *GetAddressResponse) GetZipCode() string {
|
|
234
|
-
if x != nil {
|
|
235
|
-
return x.ZipCode
|
|
236
|
-
}
|
|
237
|
-
return ""
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
func (x *GetAddressResponse) GetCountry() string {
|
|
241
|
-
if x != nil {
|
|
242
|
-
return x.Country
|
|
243
|
-
}
|
|
244
|
-
return ""
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
func (x *GetAddressResponse) GetCountryCode() string {
|
|
248
|
-
if x != nil {
|
|
249
|
-
return x.CountryCode
|
|
250
|
-
}
|
|
251
|
-
return ""
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
func (x *GetAddressResponse) GetCompany() string {
|
|
255
|
-
if x != nil {
|
|
256
|
-
return x.Company
|
|
257
|
-
}
|
|
258
|
-
return ""
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
func (x *GetAddressResponse) GetCity() string {
|
|
262
|
-
if x != nil {
|
|
263
|
-
return x.City
|
|
264
|
-
}
|
|
265
|
-
return ""
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
func (x *GetAddressResponse) GetProvince() string {
|
|
269
|
-
if x != nil {
|
|
270
|
-
return x.Province
|
|
271
|
-
}
|
|
272
|
-
return ""
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
func (x *GetAddressResponse) GetAddressType() string {
|
|
276
|
-
if x != nil {
|
|
277
|
-
return x.AddressType
|
|
278
|
-
}
|
|
279
|
-
return ""
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
func (x *GetAddressResponse) GetAddressProvider() string {
|
|
283
|
-
if x != nil {
|
|
284
|
-
return x.AddressProvider
|
|
285
|
-
}
|
|
286
|
-
return ""
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
func (x *GetAddressResponse) GetStateCode() string {
|
|
290
|
-
if x != nil {
|
|
291
|
-
return x.StateCode
|
|
292
|
-
}
|
|
293
|
-
return ""
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
func (x *GetAddressResponse) GetId() string {
|
|
297
|
-
if x != nil {
|
|
298
|
-
return x.Id
|
|
299
|
-
}
|
|
300
|
-
return ""
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
func (x *GetAddressResponse) GetEmailAddress() string {
|
|
304
|
-
if x != nil {
|
|
305
|
-
return x.EmailAddress
|
|
306
|
-
}
|
|
307
|
-
return ""
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
func (x *GetAddressResponse) GetCountyProvince() string {
|
|
311
|
-
if x != nil {
|
|
312
|
-
return x.CountyProvince
|
|
313
|
-
}
|
|
314
|
-
return ""
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
type GetAddressesResponse struct {
|
|
318
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
319
|
-
Addresses []*GetAddressResponse `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
|
320
|
-
unknownFields protoimpl.UnknownFields
|
|
321
|
-
sizeCache protoimpl.SizeCache
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
func (x *GetAddressesResponse) Reset() {
|
|
325
|
-
*x = GetAddressesResponse{}
|
|
326
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[3]
|
|
327
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
328
|
-
ms.StoreMessageInfo(mi)
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
func (x *GetAddressesResponse) String() string {
|
|
332
|
-
return protoimpl.X.MessageStringOf(x)
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
func (*GetAddressesResponse) ProtoMessage() {}
|
|
336
|
-
|
|
337
|
-
func (x *GetAddressesResponse) ProtoReflect() protoreflect.Message {
|
|
338
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[3]
|
|
339
|
-
if x != nil {
|
|
340
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
341
|
-
if ms.LoadMessageInfo() == nil {
|
|
342
|
-
ms.StoreMessageInfo(mi)
|
|
343
|
-
}
|
|
344
|
-
return ms
|
|
345
|
-
}
|
|
346
|
-
return mi.MessageOf(x)
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
// Deprecated: Use GetAddressesResponse.ProtoReflect.Descriptor instead.
|
|
350
|
-
func (*GetAddressesResponse) Descriptor() ([]byte, []int) {
|
|
351
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{3}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
func (x *GetAddressesResponse) GetAddresses() []*GetAddressResponse {
|
|
355
|
-
if x != nil {
|
|
356
|
-
return x.Addresses
|
|
357
|
-
}
|
|
358
|
-
return nil
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
type AddAddressRequest struct {
|
|
362
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
363
|
-
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
|
364
|
-
FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
365
|
-
LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
366
|
-
Address_1 string `protobuf:"bytes,4,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
|
|
367
|
-
Address_2 string `protobuf:"bytes,5,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
|
|
368
|
-
Address_3 string `protobuf:"bytes,6,opt,name=address_3,json=address3,proto3" json:"address_3,omitempty"`
|
|
369
|
-
PhoneNumber string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
|
|
370
|
-
IsDefault bool `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
|
|
371
|
-
IsValid bool `protobuf:"varint,9,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
|
|
372
|
-
ZipCode string `protobuf:"bytes,10,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"`
|
|
373
|
-
Country string `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
|
|
374
|
-
CountryCode string `protobuf:"bytes,12,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
|
375
|
-
Company string `protobuf:"bytes,13,opt,name=company,proto3" json:"company,omitempty"`
|
|
376
|
-
City string `protobuf:"bytes,14,opt,name=city,proto3" json:"city,omitempty"`
|
|
377
|
-
Province string `protobuf:"bytes,15,opt,name=province,proto3" json:"province,omitempty"`
|
|
378
|
-
AddressType string `protobuf:"bytes,16,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
|
|
379
|
-
AddressProvider string `protobuf:"bytes,17,opt,name=address_provider,json=addressProvider,proto3" json:"address_provider,omitempty"`
|
|
380
|
-
StateCode string `protobuf:"bytes,18,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"`
|
|
381
|
-
unknownFields protoimpl.UnknownFields
|
|
382
|
-
sizeCache protoimpl.SizeCache
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
func (x *AddAddressRequest) Reset() {
|
|
386
|
-
*x = AddAddressRequest{}
|
|
387
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[4]
|
|
388
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
389
|
-
ms.StoreMessageInfo(mi)
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
func (x *AddAddressRequest) String() string {
|
|
393
|
-
return protoimpl.X.MessageStringOf(x)
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
func (*AddAddressRequest) ProtoMessage() {}
|
|
397
|
-
|
|
398
|
-
func (x *AddAddressRequest) ProtoReflect() protoreflect.Message {
|
|
399
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[4]
|
|
400
|
-
if x != nil {
|
|
401
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
402
|
-
if ms.LoadMessageInfo() == nil {
|
|
403
|
-
ms.StoreMessageInfo(mi)
|
|
404
|
-
}
|
|
405
|
-
return ms
|
|
406
|
-
}
|
|
407
|
-
return mi.MessageOf(x)
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// Deprecated: Use AddAddressRequest.ProtoReflect.Descriptor instead.
|
|
411
|
-
func (*AddAddressRequest) Descriptor() ([]byte, []int) {
|
|
412
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{4}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
func (x *AddAddressRequest) GetCustomerId() string {
|
|
416
|
-
if x != nil {
|
|
417
|
-
return x.CustomerId
|
|
418
|
-
}
|
|
419
|
-
return ""
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
func (x *AddAddressRequest) GetFirstName() string {
|
|
423
|
-
if x != nil {
|
|
424
|
-
return x.FirstName
|
|
425
|
-
}
|
|
426
|
-
return ""
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
func (x *AddAddressRequest) GetLastName() string {
|
|
430
|
-
if x != nil {
|
|
431
|
-
return x.LastName
|
|
432
|
-
}
|
|
433
|
-
return ""
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
func (x *AddAddressRequest) GetAddress_1() string {
|
|
437
|
-
if x != nil {
|
|
438
|
-
return x.Address_1
|
|
439
|
-
}
|
|
440
|
-
return ""
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
func (x *AddAddressRequest) GetAddress_2() string {
|
|
444
|
-
if x != nil {
|
|
445
|
-
return x.Address_2
|
|
446
|
-
}
|
|
447
|
-
return ""
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
func (x *AddAddressRequest) GetAddress_3() string {
|
|
451
|
-
if x != nil {
|
|
452
|
-
return x.Address_3
|
|
453
|
-
}
|
|
454
|
-
return ""
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
func (x *AddAddressRequest) GetPhoneNumber() string {
|
|
458
|
-
if x != nil {
|
|
459
|
-
return x.PhoneNumber
|
|
460
|
-
}
|
|
461
|
-
return ""
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
func (x *AddAddressRequest) GetIsDefault() bool {
|
|
465
|
-
if x != nil {
|
|
466
|
-
return x.IsDefault
|
|
467
|
-
}
|
|
468
|
-
return false
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
func (x *AddAddressRequest) GetIsValid() bool {
|
|
472
|
-
if x != nil {
|
|
473
|
-
return x.IsValid
|
|
474
|
-
}
|
|
475
|
-
return false
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
func (x *AddAddressRequest) GetZipCode() string {
|
|
479
|
-
if x != nil {
|
|
480
|
-
return x.ZipCode
|
|
481
|
-
}
|
|
482
|
-
return ""
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
func (x *AddAddressRequest) GetCountry() string {
|
|
486
|
-
if x != nil {
|
|
487
|
-
return x.Country
|
|
488
|
-
}
|
|
489
|
-
return ""
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
func (x *AddAddressRequest) GetCountryCode() string {
|
|
493
|
-
if x != nil {
|
|
494
|
-
return x.CountryCode
|
|
495
|
-
}
|
|
496
|
-
return ""
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
func (x *AddAddressRequest) GetCompany() string {
|
|
500
|
-
if x != nil {
|
|
501
|
-
return x.Company
|
|
502
|
-
}
|
|
503
|
-
return ""
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
func (x *AddAddressRequest) GetCity() string {
|
|
507
|
-
if x != nil {
|
|
508
|
-
return x.City
|
|
509
|
-
}
|
|
510
|
-
return ""
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
func (x *AddAddressRequest) GetProvince() string {
|
|
514
|
-
if x != nil {
|
|
515
|
-
return x.Province
|
|
516
|
-
}
|
|
517
|
-
return ""
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
func (x *AddAddressRequest) GetAddressType() string {
|
|
521
|
-
if x != nil {
|
|
522
|
-
return x.AddressType
|
|
523
|
-
}
|
|
524
|
-
return ""
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
func (x *AddAddressRequest) GetAddressProvider() string {
|
|
528
|
-
if x != nil {
|
|
529
|
-
return x.AddressProvider
|
|
530
|
-
}
|
|
531
|
-
return ""
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
func (x *AddAddressRequest) GetStateCode() string {
|
|
535
|
-
if x != nil {
|
|
536
|
-
return x.StateCode
|
|
537
|
-
}
|
|
538
|
-
return ""
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
type AddAddressResponse struct {
|
|
542
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
543
|
-
Address *GetAddressResponse `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
544
|
-
unknownFields protoimpl.UnknownFields
|
|
545
|
-
sizeCache protoimpl.SizeCache
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
func (x *AddAddressResponse) Reset() {
|
|
549
|
-
*x = AddAddressResponse{}
|
|
550
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[5]
|
|
551
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
552
|
-
ms.StoreMessageInfo(mi)
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
func (x *AddAddressResponse) String() string {
|
|
556
|
-
return protoimpl.X.MessageStringOf(x)
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
func (*AddAddressResponse) ProtoMessage() {}
|
|
560
|
-
|
|
561
|
-
func (x *AddAddressResponse) ProtoReflect() protoreflect.Message {
|
|
562
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[5]
|
|
563
|
-
if x != nil {
|
|
564
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
565
|
-
if ms.LoadMessageInfo() == nil {
|
|
566
|
-
ms.StoreMessageInfo(mi)
|
|
567
|
-
}
|
|
568
|
-
return ms
|
|
569
|
-
}
|
|
570
|
-
return mi.MessageOf(x)
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
// Deprecated: Use AddAddressResponse.ProtoReflect.Descriptor instead.
|
|
574
|
-
func (*AddAddressResponse) Descriptor() ([]byte, []int) {
|
|
575
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{5}
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
func (x *AddAddressResponse) GetAddress() *GetAddressResponse {
|
|
579
|
-
if x != nil {
|
|
580
|
-
return x.Address
|
|
581
|
-
}
|
|
582
|
-
return nil
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
type UpdateAddressRequest struct {
|
|
586
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
587
|
-
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
|
588
|
-
FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
589
|
-
LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
590
|
-
Address_1 string `protobuf:"bytes,4,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
|
|
591
|
-
Address_2 string `protobuf:"bytes,5,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
|
|
592
|
-
Address_3 string `protobuf:"bytes,6,opt,name=address_3,json=address3,proto3" json:"address_3,omitempty"`
|
|
593
|
-
PhoneNumber string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
|
|
594
|
-
IsDefault bool `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
|
|
595
|
-
IsValid bool `protobuf:"varint,9,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
|
|
596
|
-
ZipCode string `protobuf:"bytes,10,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"`
|
|
597
|
-
Country string `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
|
|
598
|
-
CountryCode string `protobuf:"bytes,12,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
|
|
599
|
-
Company string `protobuf:"bytes,13,opt,name=company,proto3" json:"company,omitempty"`
|
|
600
|
-
City string `protobuf:"bytes,14,opt,name=city,proto3" json:"city,omitempty"`
|
|
601
|
-
Province string `protobuf:"bytes,15,opt,name=province,proto3" json:"province,omitempty"`
|
|
602
|
-
AddressType string `protobuf:"bytes,16,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
|
|
603
|
-
AddressProvider string `protobuf:"bytes,17,opt,name=address_provider,json=addressProvider,proto3" json:"address_provider,omitempty"`
|
|
604
|
-
StateCode string `protobuf:"bytes,18,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"`
|
|
605
|
-
AddressId string `protobuf:"bytes,19,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
|
|
606
|
-
unknownFields protoimpl.UnknownFields
|
|
607
|
-
sizeCache protoimpl.SizeCache
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
func (x *UpdateAddressRequest) Reset() {
|
|
611
|
-
*x = UpdateAddressRequest{}
|
|
612
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[6]
|
|
613
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
614
|
-
ms.StoreMessageInfo(mi)
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
func (x *UpdateAddressRequest) String() string {
|
|
618
|
-
return protoimpl.X.MessageStringOf(x)
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
func (*UpdateAddressRequest) ProtoMessage() {}
|
|
622
|
-
|
|
623
|
-
func (x *UpdateAddressRequest) ProtoReflect() protoreflect.Message {
|
|
624
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[6]
|
|
625
|
-
if x != nil {
|
|
626
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
627
|
-
if ms.LoadMessageInfo() == nil {
|
|
628
|
-
ms.StoreMessageInfo(mi)
|
|
629
|
-
}
|
|
630
|
-
return ms
|
|
631
|
-
}
|
|
632
|
-
return mi.MessageOf(x)
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
// Deprecated: Use UpdateAddressRequest.ProtoReflect.Descriptor instead.
|
|
636
|
-
func (*UpdateAddressRequest) Descriptor() ([]byte, []int) {
|
|
637
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{6}
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
func (x *UpdateAddressRequest) GetCustomerId() string {
|
|
641
|
-
if x != nil {
|
|
642
|
-
return x.CustomerId
|
|
643
|
-
}
|
|
644
|
-
return ""
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
func (x *UpdateAddressRequest) GetFirstName() string {
|
|
648
|
-
if x != nil {
|
|
649
|
-
return x.FirstName
|
|
650
|
-
}
|
|
651
|
-
return ""
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
func (x *UpdateAddressRequest) GetLastName() string {
|
|
655
|
-
if x != nil {
|
|
656
|
-
return x.LastName
|
|
657
|
-
}
|
|
658
|
-
return ""
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
func (x *UpdateAddressRequest) GetAddress_1() string {
|
|
662
|
-
if x != nil {
|
|
663
|
-
return x.Address_1
|
|
664
|
-
}
|
|
665
|
-
return ""
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
func (x *UpdateAddressRequest) GetAddress_2() string {
|
|
669
|
-
if x != nil {
|
|
670
|
-
return x.Address_2
|
|
671
|
-
}
|
|
672
|
-
return ""
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
func (x *UpdateAddressRequest) GetAddress_3() string {
|
|
676
|
-
if x != nil {
|
|
677
|
-
return x.Address_3
|
|
678
|
-
}
|
|
679
|
-
return ""
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
func (x *UpdateAddressRequest) GetPhoneNumber() string {
|
|
683
|
-
if x != nil {
|
|
684
|
-
return x.PhoneNumber
|
|
685
|
-
}
|
|
686
|
-
return ""
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
func (x *UpdateAddressRequest) GetIsDefault() bool {
|
|
690
|
-
if x != nil {
|
|
691
|
-
return x.IsDefault
|
|
692
|
-
}
|
|
693
|
-
return false
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
func (x *UpdateAddressRequest) GetIsValid() bool {
|
|
697
|
-
if x != nil {
|
|
698
|
-
return x.IsValid
|
|
699
|
-
}
|
|
700
|
-
return false
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
func (x *UpdateAddressRequest) GetZipCode() string {
|
|
704
|
-
if x != nil {
|
|
705
|
-
return x.ZipCode
|
|
706
|
-
}
|
|
707
|
-
return ""
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
func (x *UpdateAddressRequest) GetCountry() string {
|
|
711
|
-
if x != nil {
|
|
712
|
-
return x.Country
|
|
713
|
-
}
|
|
714
|
-
return ""
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
func (x *UpdateAddressRequest) GetCountryCode() string {
|
|
718
|
-
if x != nil {
|
|
719
|
-
return x.CountryCode
|
|
720
|
-
}
|
|
721
|
-
return ""
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
func (x *UpdateAddressRequest) GetCompany() string {
|
|
725
|
-
if x != nil {
|
|
726
|
-
return x.Company
|
|
727
|
-
}
|
|
728
|
-
return ""
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
func (x *UpdateAddressRequest) GetCity() string {
|
|
732
|
-
if x != nil {
|
|
733
|
-
return x.City
|
|
734
|
-
}
|
|
735
|
-
return ""
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
func (x *UpdateAddressRequest) GetProvince() string {
|
|
739
|
-
if x != nil {
|
|
740
|
-
return x.Province
|
|
741
|
-
}
|
|
742
|
-
return ""
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
func (x *UpdateAddressRequest) GetAddressType() string {
|
|
746
|
-
if x != nil {
|
|
747
|
-
return x.AddressType
|
|
748
|
-
}
|
|
749
|
-
return ""
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
func (x *UpdateAddressRequest) GetAddressProvider() string {
|
|
753
|
-
if x != nil {
|
|
754
|
-
return x.AddressProvider
|
|
755
|
-
}
|
|
756
|
-
return ""
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
func (x *UpdateAddressRequest) GetStateCode() string {
|
|
760
|
-
if x != nil {
|
|
761
|
-
return x.StateCode
|
|
762
|
-
}
|
|
763
|
-
return ""
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
func (x *UpdateAddressRequest) GetAddressId() string {
|
|
767
|
-
if x != nil {
|
|
768
|
-
return x.AddressId
|
|
769
|
-
}
|
|
770
|
-
return ""
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
type UpdateAddressResponse struct {
|
|
774
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
775
|
-
Address *GetAddressResponse `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
776
|
-
unknownFields protoimpl.UnknownFields
|
|
777
|
-
sizeCache protoimpl.SizeCache
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
func (x *UpdateAddressResponse) Reset() {
|
|
781
|
-
*x = UpdateAddressResponse{}
|
|
782
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[7]
|
|
783
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
784
|
-
ms.StoreMessageInfo(mi)
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
func (x *UpdateAddressResponse) String() string {
|
|
788
|
-
return protoimpl.X.MessageStringOf(x)
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
func (*UpdateAddressResponse) ProtoMessage() {}
|
|
792
|
-
|
|
793
|
-
func (x *UpdateAddressResponse) ProtoReflect() protoreflect.Message {
|
|
794
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[7]
|
|
795
|
-
if x != nil {
|
|
796
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
797
|
-
if ms.LoadMessageInfo() == nil {
|
|
798
|
-
ms.StoreMessageInfo(mi)
|
|
799
|
-
}
|
|
800
|
-
return ms
|
|
801
|
-
}
|
|
802
|
-
return mi.MessageOf(x)
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
// Deprecated: Use UpdateAddressResponse.ProtoReflect.Descriptor instead.
|
|
806
|
-
func (*UpdateAddressResponse) Descriptor() ([]byte, []int) {
|
|
807
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{7}
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
func (x *UpdateAddressResponse) GetAddress() *GetAddressResponse {
|
|
811
|
-
if x != nil {
|
|
812
|
-
return x.Address
|
|
813
|
-
}
|
|
814
|
-
return nil
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
type DeleteAddressRequest struct {
|
|
818
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
819
|
-
CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
|
820
|
-
AddressId string `protobuf:"bytes,2,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
|
|
821
|
-
unknownFields protoimpl.UnknownFields
|
|
822
|
-
sizeCache protoimpl.SizeCache
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
func (x *DeleteAddressRequest) Reset() {
|
|
826
|
-
*x = DeleteAddressRequest{}
|
|
827
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[8]
|
|
828
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
829
|
-
ms.StoreMessageInfo(mi)
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
func (x *DeleteAddressRequest) String() string {
|
|
833
|
-
return protoimpl.X.MessageStringOf(x)
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
func (*DeleteAddressRequest) ProtoMessage() {}
|
|
837
|
-
|
|
838
|
-
func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message {
|
|
839
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[8]
|
|
840
|
-
if x != nil {
|
|
841
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
842
|
-
if ms.LoadMessageInfo() == nil {
|
|
843
|
-
ms.StoreMessageInfo(mi)
|
|
844
|
-
}
|
|
845
|
-
return ms
|
|
846
|
-
}
|
|
847
|
-
return mi.MessageOf(x)
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
// Deprecated: Use DeleteAddressRequest.ProtoReflect.Descriptor instead.
|
|
851
|
-
func (*DeleteAddressRequest) Descriptor() ([]byte, []int) {
|
|
852
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{8}
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
func (x *DeleteAddressRequest) GetCustomerId() string {
|
|
856
|
-
if x != nil {
|
|
857
|
-
return x.CustomerId
|
|
858
|
-
}
|
|
859
|
-
return ""
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
func (x *DeleteAddressRequest) GetAddressId() string {
|
|
863
|
-
if x != nil {
|
|
864
|
-
return x.AddressId
|
|
865
|
-
}
|
|
866
|
-
return ""
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
type DeleteAddressResponse struct {
|
|
870
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
871
|
-
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
872
|
-
unknownFields protoimpl.UnknownFields
|
|
873
|
-
sizeCache protoimpl.SizeCache
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
func (x *DeleteAddressResponse) Reset() {
|
|
877
|
-
*x = DeleteAddressResponse{}
|
|
878
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[9]
|
|
879
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
880
|
-
ms.StoreMessageInfo(mi)
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
func (x *DeleteAddressResponse) String() string {
|
|
884
|
-
return protoimpl.X.MessageStringOf(x)
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
func (*DeleteAddressResponse) ProtoMessage() {}
|
|
888
|
-
|
|
889
|
-
func (x *DeleteAddressResponse) ProtoReflect() protoreflect.Message {
|
|
890
|
-
mi := &file_src_proto_customers_v1_entities_address_proto_msgTypes[9]
|
|
891
|
-
if x != nil {
|
|
892
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
893
|
-
if ms.LoadMessageInfo() == nil {
|
|
894
|
-
ms.StoreMessageInfo(mi)
|
|
895
|
-
}
|
|
896
|
-
return ms
|
|
897
|
-
}
|
|
898
|
-
return mi.MessageOf(x)
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
// Deprecated: Use DeleteAddressResponse.ProtoReflect.Descriptor instead.
|
|
902
|
-
func (*DeleteAddressResponse) Descriptor() ([]byte, []int) {
|
|
903
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescGZIP(), []int{9}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
func (x *DeleteAddressResponse) GetSuccess() bool {
|
|
907
|
-
if x != nil {
|
|
908
|
-
return x.Success
|
|
909
|
-
}
|
|
910
|
-
return false
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
var File_src_proto_customers_v1_entities_address_proto protoreflect.FileDescriptor
|
|
914
|
-
|
|
915
|
-
const file_src_proto_customers_v1_entities_address_proto_rawDesc = "" +
|
|
916
|
-
"\n" +
|
|
917
|
-
"-src/proto/customers/v1/entities/address.proto\x1a\x1bbuf/validate/validate.proto\"6\n" +
|
|
918
|
-
"\x13GetAddressesRequest\x12\x1f\n" +
|
|
919
|
-
"\vcustomer_id\x18\x01 \x01(\tR\n" +
|
|
920
|
-
"customerId\"S\n" +
|
|
921
|
-
"\x11GetAddressRequest\x12\x1f\n" +
|
|
922
|
-
"\vcustomer_id\x18\x01 \x01(\tR\n" +
|
|
923
|
-
"customerId\x12\x1d\n" +
|
|
924
|
-
"\n" +
|
|
925
|
-
"address_id\x18\x02 \x01(\tR\taddressId\"\xf1\x04\n" +
|
|
926
|
-
"\x12GetAddressResponse\x12\x1d\n" +
|
|
927
|
-
"\n" +
|
|
928
|
-
"first_name\x18\x01 \x01(\tR\tfirstName\x12\x1b\n" +
|
|
929
|
-
"\tlast_name\x18\x02 \x01(\tR\blastName\x12\x1b\n" +
|
|
930
|
-
"\taddress_1\x18\x03 \x01(\tR\baddress1\x12\x1b\n" +
|
|
931
|
-
"\taddress_2\x18\x04 \x01(\tR\baddress2\x12\x1b\n" +
|
|
932
|
-
"\taddress_3\x18\x05 \x01(\tR\baddress3\x12!\n" +
|
|
933
|
-
"\fphone_number\x18\x06 \x01(\tR\vphoneNumber\x12\x1d\n" +
|
|
934
|
-
"\n" +
|
|
935
|
-
"is_default\x18\a \x01(\bR\tisDefault\x12\x19\n" +
|
|
936
|
-
"\bis_valid\x18\b \x01(\bR\aisValid\x12\x19\n" +
|
|
937
|
-
"\bzip_code\x18\t \x01(\tR\azipCode\x12\x18\n" +
|
|
938
|
-
"\acountry\x18\n" +
|
|
939
|
-
" \x01(\tR\acountry\x12!\n" +
|
|
940
|
-
"\fcountry_code\x18\v \x01(\tR\vcountryCode\x12\x18\n" +
|
|
941
|
-
"\acompany\x18\f \x01(\tR\acompany\x12\x12\n" +
|
|
942
|
-
"\x04city\x18\r \x01(\tR\x04city\x12\x1a\n" +
|
|
943
|
-
"\bprovince\x18\x0e \x01(\tR\bprovince\x12!\n" +
|
|
944
|
-
"\faddress_type\x18\x0f \x01(\tR\vaddressType\x12)\n" +
|
|
945
|
-
"\x10address_provider\x18\x10 \x01(\tR\x0faddressProvider\x12\x1d\n" +
|
|
946
|
-
"\n" +
|
|
947
|
-
"state_code\x18\x11 \x01(\tR\tstateCode\x12\x0e\n" +
|
|
948
|
-
"\x02id\x18\x12 \x01(\tR\x02id\x12#\n" +
|
|
949
|
-
"\remail_address\x18\x13 \x01(\tR\femailAddress\x12'\n" +
|
|
950
|
-
"\x0fcounty_province\x18\x14 \x01(\tR\x0ecountyProvince\"I\n" +
|
|
951
|
-
"\x14GetAddressesResponse\x121\n" +
|
|
952
|
-
"\taddresses\x18\x01 \x03(\v2\x13.GetAddressResponseR\taddresses\"\xb3\x04\n" +
|
|
953
|
-
"\x11AddAddressRequest\x12\x1f\n" +
|
|
954
|
-
"\vcustomer_id\x18\x01 \x01(\tR\n" +
|
|
955
|
-
"customerId\x12\x1d\n" +
|
|
956
|
-
"\n" +
|
|
957
|
-
"first_name\x18\x02 \x01(\tR\tfirstName\x12\x1b\n" +
|
|
958
|
-
"\tlast_name\x18\x03 \x01(\tR\blastName\x12\x1b\n" +
|
|
959
|
-
"\taddress_1\x18\x04 \x01(\tR\baddress1\x12\x1b\n" +
|
|
960
|
-
"\taddress_2\x18\x05 \x01(\tR\baddress2\x12\x1b\n" +
|
|
961
|
-
"\taddress_3\x18\x06 \x01(\tR\baddress3\x12!\n" +
|
|
962
|
-
"\fphone_number\x18\a \x01(\tR\vphoneNumber\x12\x1d\n" +
|
|
963
|
-
"\n" +
|
|
964
|
-
"is_default\x18\b \x01(\bR\tisDefault\x12\x19\n" +
|
|
965
|
-
"\bis_valid\x18\t \x01(\bR\aisValid\x12\x19\n" +
|
|
966
|
-
"\bzip_code\x18\n" +
|
|
967
|
-
" \x01(\tR\azipCode\x12\x18\n" +
|
|
968
|
-
"\acountry\x18\v \x01(\tR\acountry\x12!\n" +
|
|
969
|
-
"\fcountry_code\x18\f \x01(\tR\vcountryCode\x12\x18\n" +
|
|
970
|
-
"\acompany\x18\r \x01(\tR\acompany\x12\x12\n" +
|
|
971
|
-
"\x04city\x18\x0e \x01(\tR\x04city\x12\x1a\n" +
|
|
972
|
-
"\bprovince\x18\x0f \x01(\tR\bprovince\x12!\n" +
|
|
973
|
-
"\faddress_type\x18\x10 \x01(\tR\vaddressType\x12)\n" +
|
|
974
|
-
"\x10address_provider\x18\x11 \x01(\tR\x0faddressProvider\x12\x1d\n" +
|
|
975
|
-
"\n" +
|
|
976
|
-
"state_code\x18\x12 \x01(\tR\tstateCode\"C\n" +
|
|
977
|
-
"\x12AddAddressResponse\x12-\n" +
|
|
978
|
-
"\aaddress\x18\x01 \x01(\v2\x13.GetAddressResponseR\aaddress\"\xd5\x04\n" +
|
|
979
|
-
"\x14UpdateAddressRequest\x12\x1f\n" +
|
|
980
|
-
"\vcustomer_id\x18\x01 \x01(\tR\n" +
|
|
981
|
-
"customerId\x12\x1d\n" +
|
|
982
|
-
"\n" +
|
|
983
|
-
"first_name\x18\x02 \x01(\tR\tfirstName\x12\x1b\n" +
|
|
984
|
-
"\tlast_name\x18\x03 \x01(\tR\blastName\x12\x1b\n" +
|
|
985
|
-
"\taddress_1\x18\x04 \x01(\tR\baddress1\x12\x1b\n" +
|
|
986
|
-
"\taddress_2\x18\x05 \x01(\tR\baddress2\x12\x1b\n" +
|
|
987
|
-
"\taddress_3\x18\x06 \x01(\tR\baddress3\x12!\n" +
|
|
988
|
-
"\fphone_number\x18\a \x01(\tR\vphoneNumber\x12\x1d\n" +
|
|
989
|
-
"\n" +
|
|
990
|
-
"is_default\x18\b \x01(\bR\tisDefault\x12\x19\n" +
|
|
991
|
-
"\bis_valid\x18\t \x01(\bR\aisValid\x12\x19\n" +
|
|
992
|
-
"\bzip_code\x18\n" +
|
|
993
|
-
" \x01(\tR\azipCode\x12\x18\n" +
|
|
994
|
-
"\acountry\x18\v \x01(\tR\acountry\x12!\n" +
|
|
995
|
-
"\fcountry_code\x18\f \x01(\tR\vcountryCode\x12\x18\n" +
|
|
996
|
-
"\acompany\x18\r \x01(\tR\acompany\x12\x12\n" +
|
|
997
|
-
"\x04city\x18\x0e \x01(\tR\x04city\x12\x1a\n" +
|
|
998
|
-
"\bprovince\x18\x0f \x01(\tR\bprovince\x12!\n" +
|
|
999
|
-
"\faddress_type\x18\x10 \x01(\tR\vaddressType\x12)\n" +
|
|
1000
|
-
"\x10address_provider\x18\x11 \x01(\tR\x0faddressProvider\x12\x1d\n" +
|
|
1001
|
-
"\n" +
|
|
1002
|
-
"state_code\x18\x12 \x01(\tR\tstateCode\x12\x1d\n" +
|
|
1003
|
-
"\n" +
|
|
1004
|
-
"address_id\x18\x13 \x01(\tR\taddressId\"F\n" +
|
|
1005
|
-
"\x15UpdateAddressResponse\x12-\n" +
|
|
1006
|
-
"\aaddress\x18\x01 \x01(\v2\x13.GetAddressResponseR\aaddress\"V\n" +
|
|
1007
|
-
"\x14DeleteAddressRequest\x12\x1f\n" +
|
|
1008
|
-
"\vcustomer_id\x18\x01 \x01(\tR\n" +
|
|
1009
|
-
"customerId\x12\x1d\n" +
|
|
1010
|
-
"\n" +
|
|
1011
|
-
"address_id\x18\x02 \x01(\tR\taddressId\"1\n" +
|
|
1012
|
-
"\x15DeleteAddressResponse\x12\x18\n" +
|
|
1013
|
-
"\asuccess\x18\x01 \x01(\bR\asuccessBLB\fAddressProtoP\x01Z:paakd.com/packages/api/gen/src/proto/customers/v1/entitiesb\x06proto3"
|
|
1014
|
-
|
|
1015
|
-
var (
|
|
1016
|
-
file_src_proto_customers_v1_entities_address_proto_rawDescOnce sync.Once
|
|
1017
|
-
file_src_proto_customers_v1_entities_address_proto_rawDescData []byte
|
|
1018
|
-
)
|
|
1019
|
-
|
|
1020
|
-
func file_src_proto_customers_v1_entities_address_proto_rawDescGZIP() []byte {
|
|
1021
|
-
file_src_proto_customers_v1_entities_address_proto_rawDescOnce.Do(func() {
|
|
1022
|
-
file_src_proto_customers_v1_entities_address_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_customers_v1_entities_address_proto_rawDesc), len(file_src_proto_customers_v1_entities_address_proto_rawDesc)))
|
|
1023
|
-
})
|
|
1024
|
-
return file_src_proto_customers_v1_entities_address_proto_rawDescData
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
var file_src_proto_customers_v1_entities_address_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
1028
|
-
var file_src_proto_customers_v1_entities_address_proto_goTypes = []any{
|
|
1029
|
-
(*GetAddressesRequest)(nil), // 0: GetAddressesRequest
|
|
1030
|
-
(*GetAddressRequest)(nil), // 1: GetAddressRequest
|
|
1031
|
-
(*GetAddressResponse)(nil), // 2: GetAddressResponse
|
|
1032
|
-
(*GetAddressesResponse)(nil), // 3: GetAddressesResponse
|
|
1033
|
-
(*AddAddressRequest)(nil), // 4: AddAddressRequest
|
|
1034
|
-
(*AddAddressResponse)(nil), // 5: AddAddressResponse
|
|
1035
|
-
(*UpdateAddressRequest)(nil), // 6: UpdateAddressRequest
|
|
1036
|
-
(*UpdateAddressResponse)(nil), // 7: UpdateAddressResponse
|
|
1037
|
-
(*DeleteAddressRequest)(nil), // 8: DeleteAddressRequest
|
|
1038
|
-
(*DeleteAddressResponse)(nil), // 9: DeleteAddressResponse
|
|
1039
|
-
}
|
|
1040
|
-
var file_src_proto_customers_v1_entities_address_proto_depIdxs = []int32{
|
|
1041
|
-
2, // 0: GetAddressesResponse.addresses:type_name -> GetAddressResponse
|
|
1042
|
-
2, // 1: AddAddressResponse.address:type_name -> GetAddressResponse
|
|
1043
|
-
2, // 2: UpdateAddressResponse.address:type_name -> GetAddressResponse
|
|
1044
|
-
3, // [3:3] is the sub-list for method output_type
|
|
1045
|
-
3, // [3:3] is the sub-list for method input_type
|
|
1046
|
-
3, // [3:3] is the sub-list for extension type_name
|
|
1047
|
-
3, // [3:3] is the sub-list for extension extendee
|
|
1048
|
-
0, // [0:3] is the sub-list for field type_name
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
func init() { file_src_proto_customers_v1_entities_address_proto_init() }
|
|
1052
|
-
func file_src_proto_customers_v1_entities_address_proto_init() {
|
|
1053
|
-
if File_src_proto_customers_v1_entities_address_proto != nil {
|
|
1054
|
-
return
|
|
1055
|
-
}
|
|
1056
|
-
type x struct{}
|
|
1057
|
-
out := protoimpl.TypeBuilder{
|
|
1058
|
-
File: protoimpl.DescBuilder{
|
|
1059
|
-
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
1060
|
-
RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_customers_v1_entities_address_proto_rawDesc), len(file_src_proto_customers_v1_entities_address_proto_rawDesc)),
|
|
1061
|
-
NumEnums: 0,
|
|
1062
|
-
NumMessages: 10,
|
|
1063
|
-
NumExtensions: 0,
|
|
1064
|
-
NumServices: 0,
|
|
1065
|
-
},
|
|
1066
|
-
GoTypes: file_src_proto_customers_v1_entities_address_proto_goTypes,
|
|
1067
|
-
DependencyIndexes: file_src_proto_customers_v1_entities_address_proto_depIdxs,
|
|
1068
|
-
MessageInfos: file_src_proto_customers_v1_entities_address_proto_msgTypes,
|
|
1069
|
-
}.Build()
|
|
1070
|
-
File_src_proto_customers_v1_entities_address_proto = out.File
|
|
1071
|
-
file_src_proto_customers_v1_entities_address_proto_goTypes = nil
|
|
1072
|
-
file_src_proto_customers_v1_entities_address_proto_depIdxs = nil
|
|
1073
|
-
}
|