@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,655 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
2
|
-
// @generated from file src/proto/stocknodes/v1/entities/stocknode.proto (syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2'
|
|
6
|
-
import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv2'
|
|
7
|
-
import { file_buf_validate_validate } from '../../../../../buf/validate/validate_pb'
|
|
8
|
-
import type { Message } from '@bufbuild/protobuf'
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Describes the file src/proto/stocknodes/v1/entities/stocknode.proto.
|
|
12
|
-
*/
|
|
13
|
-
export const file_src_proto_stocknodes_v1_entities_stocknode: GenFile =
|
|
14
|
-
/*@__PURE__*/
|
|
15
|
-
fileDesc(
|
|
16
|
-
'CjBzcmMvcHJvdG8vc3RvY2tub2Rlcy92MS9lbnRpdGllcy9zdG9ja25vZGUucHJvdG8ijgIKEFN0b2NrTm9kZUFkZHJlc3MSDwoCaWQYASABKAlIAIgBARIRCglhZGRyZXNzXzEYAiABKAkSEQoJYWRkcmVzc18yGAMgASgJEhEKCWFkZHJlc3NfMxgEIAEoCRIUCgxwaG9uZV9udW1iZXIYBSABKAkSEAoIemlwX2NvZGUYBiABKAkSDwoHY291bnRyeRgHIAEoCRIUCgxjb3VudHJ5X2NvZGUYCCABKAkSDwoHY29tcGFueRgJIAEoCRIMCgRjaXR5GAogASgJEhAKCHByb3ZpbmNlGAsgASgJEhIKCnN0YXRlX2NvZGUYDCABKAkSFQoNZW1haWxfYWRkcmVzcxgNIAEoCUIFCgNfaWQiQQoXU3RvY2tOb2RlRnVsZmlsbG1lbnRTZXQSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCg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syGC5DcmVhdGVTdG9ja05vZGVSZXNwb25zZSo7ChJGdWxmaWxsbWVudFNldFR5cGUSDAoIU0hJUFBJTkcQABIKCgZQSUNLVVAQARILCgdEUk9QT0ZGEAJCT0IOU3RvY2tub2RlUHJvdG9QAVo7cGFha2QuY29tL3BhY2thZ2VzL2FwaS9nZW4vc3JjL3Byb3RvL3N0b2Nrbm9kZXMvdjEvZW50aXRpZXNiBnByb3RvMw',
|
|
17
|
-
[file_buf_validate_validate]
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @generated from message StockNodeAddress
|
|
22
|
-
*/
|
|
23
|
-
export type StockNodeAddress = Message<'StockNodeAddress'> & {
|
|
24
|
-
/**
|
|
25
|
-
* @generated from field: optional string id = 1;
|
|
26
|
-
*/
|
|
27
|
-
id?: string
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @generated from field: string address_1 = 2;
|
|
31
|
-
*/
|
|
32
|
-
address1: string
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @generated from field: string address_2 = 3;
|
|
36
|
-
*/
|
|
37
|
-
address2: string
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @generated from field: string address_3 = 4;
|
|
41
|
-
*/
|
|
42
|
-
address3: string
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @generated from field: string phone_number = 5;
|
|
46
|
-
*/
|
|
47
|
-
phoneNumber: string
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @generated from field: string zip_code = 6;
|
|
51
|
-
*/
|
|
52
|
-
zipCode: string
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @generated from field: string country = 7;
|
|
56
|
-
*/
|
|
57
|
-
country: string
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @generated from field: string country_code = 8;
|
|
61
|
-
*/
|
|
62
|
-
countryCode: string
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @generated from field: string company = 9;
|
|
66
|
-
*/
|
|
67
|
-
company: string
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @generated from field: string city = 10;
|
|
71
|
-
*/
|
|
72
|
-
city: string
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @generated from field: string province = 11;
|
|
76
|
-
*/
|
|
77
|
-
province: string
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @generated from field: string state_code = 12;
|
|
81
|
-
*/
|
|
82
|
-
stateCode: string
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @generated from field: string email_address = 13;
|
|
86
|
-
*/
|
|
87
|
-
emailAddress: string
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Describes the message StockNodeAddress.
|
|
92
|
-
* Use `create(StockNodeAddressSchema)` to create a new message.
|
|
93
|
-
*/
|
|
94
|
-
export const StockNodeAddressSchema: GenMessage<StockNodeAddress> =
|
|
95
|
-
/*@__PURE__*/
|
|
96
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 0)
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @generated from message StockNodeFulfillmentSet
|
|
100
|
-
*/
|
|
101
|
-
export type StockNodeFulfillmentSet = Message<'StockNodeFulfillmentSet'> & {
|
|
102
|
-
/**
|
|
103
|
-
* @generated from field: string id = 1;
|
|
104
|
-
*/
|
|
105
|
-
id: string
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @generated from field: string name = 2;
|
|
109
|
-
*/
|
|
110
|
-
name: string
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @generated from field: string type = 3;
|
|
114
|
-
*/
|
|
115
|
-
type: string
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Describes the message StockNodeFulfillmentSet.
|
|
120
|
-
* Use `create(StockNodeFulfillmentSetSchema)` to create a new message.
|
|
121
|
-
*/
|
|
122
|
-
export const StockNodeFulfillmentSetSchema: GenMessage<StockNodeFulfillmentSet> =
|
|
123
|
-
/*@__PURE__*/
|
|
124
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 1)
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @generated from message CreateStockNodeRequest
|
|
128
|
-
*/
|
|
129
|
-
export type CreateStockNodeRequest = Message<'CreateStockNodeRequest'> & {
|
|
130
|
-
/**
|
|
131
|
-
* @generated from field: string name = 1;
|
|
132
|
-
*/
|
|
133
|
-
name: string
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* @generated from field: optional string description = 2;
|
|
137
|
-
*/
|
|
138
|
-
description?: string
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @generated from field: optional string contact_name = 3;
|
|
142
|
-
*/
|
|
143
|
-
contactName?: string
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @generated from field: string contact_email = 4;
|
|
147
|
-
*/
|
|
148
|
-
contactEmail: string
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @generated from field: repeated string tags = 5;
|
|
152
|
-
*/
|
|
153
|
-
tags: string[]
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* @generated from field: repeated string sales_channels = 6;
|
|
157
|
-
*/
|
|
158
|
-
salesChannels: string[]
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @generated from field: repeated string fulfillment_providers = 7;
|
|
162
|
-
*/
|
|
163
|
-
fulfillmentProviders: string[]
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* @generated from field: StockNodeAddress address = 8;
|
|
167
|
-
*/
|
|
168
|
-
address?: StockNodeAddress
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Describes the message CreateStockNodeRequest.
|
|
173
|
-
* Use `create(CreateStockNodeRequestSchema)` to create a new message.
|
|
174
|
-
*/
|
|
175
|
-
export const CreateStockNodeRequestSchema: GenMessage<CreateStockNodeRequest> =
|
|
176
|
-
/*@__PURE__*/
|
|
177
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 2)
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @generated from message CreateStockNodeResponse
|
|
181
|
-
*/
|
|
182
|
-
export type CreateStockNodeResponse = Message<'CreateStockNodeResponse'> & {
|
|
183
|
-
/**
|
|
184
|
-
* @generated from field: string id = 1;
|
|
185
|
-
*/
|
|
186
|
-
id: string
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @generated from field: string name = 2;
|
|
190
|
-
*/
|
|
191
|
-
name: string
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* @generated from field: string description = 3;
|
|
195
|
-
*/
|
|
196
|
-
description: string
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @generated from field: string contact_name = 4;
|
|
200
|
-
*/
|
|
201
|
-
contactName: string
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* @generated from field: string contact_email = 5;
|
|
205
|
-
*/
|
|
206
|
-
contactEmail: string
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @generated from field: repeated string tags = 6;
|
|
210
|
-
*/
|
|
211
|
-
tags: string[]
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @generated from field: repeated string sales_channels = 7;
|
|
215
|
-
*/
|
|
216
|
-
salesChannels: string[]
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @generated from field: repeated string fulfillment_providers = 8;
|
|
220
|
-
*/
|
|
221
|
-
fulfillmentProviders: string[]
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* @generated from field: StockNodeAddress address = 9;
|
|
225
|
-
*/
|
|
226
|
-
address?: StockNodeAddress
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* @generated from field: repeated StockNodeFulfillmentSet fulfillment_sets = 10;
|
|
230
|
-
*/
|
|
231
|
-
fulfillmentSets: StockNodeFulfillmentSet[]
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Describes the message CreateStockNodeResponse.
|
|
236
|
-
* Use `create(CreateStockNodeResponseSchema)` to create a new message.
|
|
237
|
-
*/
|
|
238
|
-
export const CreateStockNodeResponseSchema: GenMessage<CreateStockNodeResponse> =
|
|
239
|
-
/*@__PURE__*/
|
|
240
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 3)
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @generated from message UpdateStockNodeRequest
|
|
244
|
-
*/
|
|
245
|
-
export type UpdateStockNodeRequest = Message<'UpdateStockNodeRequest'> & {
|
|
246
|
-
/**
|
|
247
|
-
* @generated from field: string id = 1;
|
|
248
|
-
*/
|
|
249
|
-
id: string
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @generated from field: optional string name = 2;
|
|
253
|
-
*/
|
|
254
|
-
name?: string
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* @generated from field: optional string description = 3;
|
|
258
|
-
*/
|
|
259
|
-
description?: string
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* @generated from field: optional string contact_name = 4;
|
|
263
|
-
*/
|
|
264
|
-
contactName?: string
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* @generated from field: optional string contact_email = 5;
|
|
268
|
-
*/
|
|
269
|
-
contactEmail?: string
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* @generated from field: repeated string tags = 6;
|
|
273
|
-
*/
|
|
274
|
-
tags: string[]
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* @generated from field: repeated string sales_channels = 7;
|
|
278
|
-
*/
|
|
279
|
-
salesChannels: string[]
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* @generated from field: repeated string fulfillment_providers = 8;
|
|
283
|
-
*/
|
|
284
|
-
fulfillmentProviders: string[]
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* @generated from field: optional StockNodeAddress address = 9;
|
|
288
|
-
*/
|
|
289
|
-
address?: StockNodeAddress
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Describes the message UpdateStockNodeRequest.
|
|
294
|
-
* Use `create(UpdateStockNodeRequestSchema)` to create a new message.
|
|
295
|
-
*/
|
|
296
|
-
export const UpdateStockNodeRequestSchema: GenMessage<UpdateStockNodeRequest> =
|
|
297
|
-
/*@__PURE__*/
|
|
298
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 4)
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @generated from message UpdateStockNodeResponse
|
|
302
|
-
*/
|
|
303
|
-
export type UpdateStockNodeResponse = Message<'UpdateStockNodeResponse'> & {
|
|
304
|
-
/**
|
|
305
|
-
* @generated from field: string id = 1;
|
|
306
|
-
*/
|
|
307
|
-
id: string
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* @generated from field: string name = 2;
|
|
311
|
-
*/
|
|
312
|
-
name: string
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* @generated from field: string description = 3;
|
|
316
|
-
*/
|
|
317
|
-
description: string
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* @generated from field: string contact_name = 4;
|
|
321
|
-
*/
|
|
322
|
-
contactName: string
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* @generated from field: string contact_email = 5;
|
|
326
|
-
*/
|
|
327
|
-
contactEmail: string
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @generated from field: repeated string tags = 6;
|
|
331
|
-
*/
|
|
332
|
-
tags: string[]
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @generated from field: repeated string sales_channels = 7;
|
|
336
|
-
*/
|
|
337
|
-
salesChannels: string[]
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @generated from field: repeated string fulfillment_providers = 8;
|
|
341
|
-
*/
|
|
342
|
-
fulfillmentProviders: string[]
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @generated from field: StockNodeAddress address = 9;
|
|
346
|
-
*/
|
|
347
|
-
address?: StockNodeAddress
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* @generated from field: repeated StockNodeFulfillmentSet fulfillment_sets = 10;
|
|
351
|
-
*/
|
|
352
|
-
fulfillmentSets: StockNodeFulfillmentSet[]
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Describes the message UpdateStockNodeResponse.
|
|
357
|
-
* Use `create(UpdateStockNodeResponseSchema)` to create a new message.
|
|
358
|
-
*/
|
|
359
|
-
export const UpdateStockNodeResponseSchema: GenMessage<UpdateStockNodeResponse> =
|
|
360
|
-
/*@__PURE__*/
|
|
361
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 5)
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* @generated from message DeleteStockNodeRequest
|
|
365
|
-
*/
|
|
366
|
-
export type DeleteStockNodeRequest = Message<'DeleteStockNodeRequest'> & {
|
|
367
|
-
/**
|
|
368
|
-
* @generated from field: string id = 1;
|
|
369
|
-
*/
|
|
370
|
-
id: string
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Describes the message DeleteStockNodeRequest.
|
|
375
|
-
* Use `create(DeleteStockNodeRequestSchema)` to create a new message.
|
|
376
|
-
*/
|
|
377
|
-
export const DeleteStockNodeRequestSchema: GenMessage<DeleteStockNodeRequest> =
|
|
378
|
-
/*@__PURE__*/
|
|
379
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 6)
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* @generated from message DeleteStockNodeResponse
|
|
383
|
-
*/
|
|
384
|
-
export type DeleteStockNodeResponse = Message<'DeleteStockNodeResponse'> & {
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: string id = 1;
|
|
387
|
-
*/
|
|
388
|
-
id: string
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* Describes the message DeleteStockNodeResponse.
|
|
393
|
-
* Use `create(DeleteStockNodeResponseSchema)` to create a new message.
|
|
394
|
-
*/
|
|
395
|
-
export const DeleteStockNodeResponseSchema: GenMessage<DeleteStockNodeResponse> =
|
|
396
|
-
/*@__PURE__*/
|
|
397
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 7)
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* @generated from message GetStockNodeRequest
|
|
401
|
-
*/
|
|
402
|
-
export type GetStockNodeRequest = Message<'GetStockNodeRequest'> & {
|
|
403
|
-
/**
|
|
404
|
-
* @generated from field: string id = 1;
|
|
405
|
-
*/
|
|
406
|
-
id: string
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Describes the message GetStockNodeRequest.
|
|
411
|
-
* Use `create(GetStockNodeRequestSchema)` to create a new message.
|
|
412
|
-
*/
|
|
413
|
-
export const GetStockNodeRequestSchema: GenMessage<GetStockNodeRequest> =
|
|
414
|
-
/*@__PURE__*/
|
|
415
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 8)
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* @generated from message GetStockNodeResponse
|
|
419
|
-
*/
|
|
420
|
-
export type GetStockNodeResponse = Message<'GetStockNodeResponse'> & {
|
|
421
|
-
/**
|
|
422
|
-
* @generated from field: string id = 1;
|
|
423
|
-
*/
|
|
424
|
-
id: string
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* @generated from field: string name = 2;
|
|
428
|
-
*/
|
|
429
|
-
name: string
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* @generated from field: string description = 3;
|
|
433
|
-
*/
|
|
434
|
-
description: string
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* @generated from field: string contact_name = 4;
|
|
438
|
-
*/
|
|
439
|
-
contactName: string
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* @generated from field: string contact_email = 5;
|
|
443
|
-
*/
|
|
444
|
-
contactEmail: string
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* @generated from field: repeated string tags = 6;
|
|
448
|
-
*/
|
|
449
|
-
tags: string[]
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* @generated from field: repeated string sales_channels = 7;
|
|
453
|
-
*/
|
|
454
|
-
salesChannels: string[]
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* @generated from field: repeated string fulfillment_providers = 8;
|
|
458
|
-
*/
|
|
459
|
-
fulfillmentProviders: string[]
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
* @generated from field: StockNodeAddress address = 9;
|
|
463
|
-
*/
|
|
464
|
-
address?: StockNodeAddress
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* @generated from field: repeated StockNodeFulfillmentSet fulfillment_sets = 10;
|
|
468
|
-
*/
|
|
469
|
-
fulfillmentSets: StockNodeFulfillmentSet[]
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Describes the message GetStockNodeResponse.
|
|
474
|
-
* Use `create(GetStockNodeResponseSchema)` to create a new message.
|
|
475
|
-
*/
|
|
476
|
-
export const GetStockNodeResponseSchema: GenMessage<GetStockNodeResponse> =
|
|
477
|
-
/*@__PURE__*/
|
|
478
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 9)
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* @generated from message ListStockNodesRequest
|
|
482
|
-
*/
|
|
483
|
-
export type ListStockNodesRequest = Message<'ListStockNodesRequest'> & {
|
|
484
|
-
/**
|
|
485
|
-
* @generated from field: int32 offset = 1;
|
|
486
|
-
*/
|
|
487
|
-
offset: number
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* @generated from field: uint32 limit = 2;
|
|
491
|
-
*/
|
|
492
|
-
limit: number
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* @generated from field: optional string order_by = 3;
|
|
496
|
-
*/
|
|
497
|
-
orderBy?: string
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* @generated from field: optional string filter = 4;
|
|
501
|
-
*/
|
|
502
|
-
filter?: string
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* @generated from field: optional bool ascending = 5;
|
|
506
|
-
*/
|
|
507
|
-
ascending?: boolean
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* @generated from field: optional string request_path = 6;
|
|
511
|
-
*/
|
|
512
|
-
requestPath?: string
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Describes the message ListStockNodesRequest.
|
|
517
|
-
* Use `create(ListStockNodesRequestSchema)` to create a new message.
|
|
518
|
-
*/
|
|
519
|
-
export const ListStockNodesRequestSchema: GenMessage<ListStockNodesRequest> =
|
|
520
|
-
/*@__PURE__*/
|
|
521
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 10)
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* @generated from message ListStockNodesResponse
|
|
525
|
-
*/
|
|
526
|
-
export type ListStockNodesResponse = Message<'ListStockNodesResponse'> & {
|
|
527
|
-
/**
|
|
528
|
-
* @generated from field: repeated CreateStockNodeResponse stock_nodes = 1;
|
|
529
|
-
*/
|
|
530
|
-
stockNodes: CreateStockNodeResponse[]
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Describes the message ListStockNodesResponse.
|
|
535
|
-
* Use `create(ListStockNodesResponseSchema)` to create a new message.
|
|
536
|
-
*/
|
|
537
|
-
export const ListStockNodesResponseSchema: GenMessage<ListStockNodesResponse> =
|
|
538
|
-
/*@__PURE__*/
|
|
539
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 11)
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* @generated from message AddFulfillmentSetRequest
|
|
543
|
-
*/
|
|
544
|
-
export type AddFulfillmentSetRequest = Message<'AddFulfillmentSetRequest'> & {
|
|
545
|
-
/**
|
|
546
|
-
* @generated from field: string name = 1;
|
|
547
|
-
*/
|
|
548
|
-
name: string
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* @generated from field: FulfillmentSetType type = 2;
|
|
552
|
-
*/
|
|
553
|
-
type: FulfillmentSetType
|
|
554
|
-
|
|
555
|
-
/**
|
|
556
|
-
* @generated from field: string stock_node_id = 3;
|
|
557
|
-
*/
|
|
558
|
-
stockNodeId: string
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* Describes the message AddFulfillmentSetRequest.
|
|
563
|
-
* Use `create(AddFulfillmentSetRequestSchema)` to create a new message.
|
|
564
|
-
*/
|
|
565
|
-
export const AddFulfillmentSetRequestSchema: GenMessage<AddFulfillmentSetRequest> =
|
|
566
|
-
/*@__PURE__*/
|
|
567
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 12)
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* @generated from message AddFulfillmentSetResponse
|
|
571
|
-
*/
|
|
572
|
-
export type AddFulfillmentSetResponse = Message<'AddFulfillmentSetResponse'> & {
|
|
573
|
-
/**
|
|
574
|
-
* @generated from field: CreateStockNodeResponse stock_node = 1;
|
|
575
|
-
*/
|
|
576
|
-
stockNode?: CreateStockNodeResponse
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* Describes the message AddFulfillmentSetResponse.
|
|
581
|
-
* Use `create(AddFulfillmentSetResponseSchema)` to create a new message.
|
|
582
|
-
*/
|
|
583
|
-
export const AddFulfillmentSetResponseSchema: GenMessage<AddFulfillmentSetResponse> =
|
|
584
|
-
/*@__PURE__*/
|
|
585
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 13)
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* @generated from message RemoveFulfillmentSetRequest
|
|
589
|
-
*/
|
|
590
|
-
export type RemoveFulfillmentSetRequest =
|
|
591
|
-
Message<'RemoveFulfillmentSetRequest'> & {
|
|
592
|
-
/**
|
|
593
|
-
* @generated from field: string stock_node_id = 1;
|
|
594
|
-
*/
|
|
595
|
-
stockNodeId: string
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* @generated from field: string fulfillment_set_id = 2;
|
|
599
|
-
*/
|
|
600
|
-
fulfillmentSetId: string
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* Describes the message RemoveFulfillmentSetRequest.
|
|
605
|
-
* Use `create(RemoveFulfillmentSetRequestSchema)` to create a new message.
|
|
606
|
-
*/
|
|
607
|
-
export const RemoveFulfillmentSetRequestSchema: GenMessage<RemoveFulfillmentSetRequest> =
|
|
608
|
-
/*@__PURE__*/
|
|
609
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 14)
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* @generated from message RemoveFulfillmentSetResponse
|
|
613
|
-
*/
|
|
614
|
-
export type RemoveFulfillmentSetResponse =
|
|
615
|
-
Message<'RemoveFulfillmentSetResponse'> & {
|
|
616
|
-
/**
|
|
617
|
-
* @generated from field: CreateStockNodeResponse stock_node = 1;
|
|
618
|
-
*/
|
|
619
|
-
stockNode?: CreateStockNodeResponse
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* Describes the message RemoveFulfillmentSetResponse.
|
|
624
|
-
* Use `create(RemoveFulfillmentSetResponseSchema)` to create a new message.
|
|
625
|
-
*/
|
|
626
|
-
export const RemoveFulfillmentSetResponseSchema: GenMessage<RemoveFulfillmentSetResponse> =
|
|
627
|
-
/*@__PURE__*/
|
|
628
|
-
messageDesc(file_src_proto_stocknodes_v1_entities_stocknode, 15)
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* @generated from enum FulfillmentSetType
|
|
632
|
-
*/
|
|
633
|
-
export enum FulfillmentSetType {
|
|
634
|
-
/**
|
|
635
|
-
* @generated from enum value: SHIPPING = 0;
|
|
636
|
-
*/
|
|
637
|
-
SHIPPING = 0,
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* @generated from enum value: PICKUP = 1;
|
|
641
|
-
*/
|
|
642
|
-
PICKUP = 1,
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* @generated from enum value: DROPOFF = 2;
|
|
646
|
-
*/
|
|
647
|
-
DROPOFF = 2,
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Describes the enum FulfillmentSetType.
|
|
652
|
-
*/
|
|
653
|
-
export const FulfillmentSetTypeSchema: GenEnum<FulfillmentSetType> =
|
|
654
|
-
/*@__PURE__*/
|
|
655
|
-
enumDesc(file_src_proto_stocknodes_v1_entities_stocknode, 0)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v2.2.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file src/proto/stocknodes/v1/service.proto (package apps.enterprise.interfaces.rpc.stocknodes.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { StockNodesService } from './service_pb'
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.RemoveFulfillmentSet
|
|
9
|
-
*/
|
|
10
|
-
export const removeFulfillmentSet =
|
|
11
|
-
StockNodesService.method.removeFulfillmentSet
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.AddFulfillmentSet
|
|
15
|
-
*/
|
|
16
|
-
export const addFulfillmentSet = StockNodesService.method.addFulfillmentSet
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.CreateStockNode
|
|
20
|
-
*/
|
|
21
|
-
export const createStockNode = StockNodesService.method.createStockNode
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.DeleteStockNode
|
|
25
|
-
*/
|
|
26
|
-
export const deleteStockNode = StockNodesService.method.deleteStockNode
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.GetStockNode
|
|
30
|
-
*/
|
|
31
|
-
export const getStockNode = StockNodesService.method.getStockNode
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.UpdateStockNode
|
|
35
|
-
*/
|
|
36
|
-
export const updateStockNode = StockNodesService.method.updateStockNode
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @generated from rpc apps.enterprise.interfaces.rpc.stocknodes.v1.StockNodesService.ListStockNodes
|
|
40
|
-
*/
|
|
41
|
-
export const listStockNodes = StockNodesService.method.listStockNodes
|