@paakd/api 0.0.3 → 0.0.5
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/dist/gen/src/proto/files/v1/entities/file_pb.d.ts +199 -0
- package/dist/gen/src/proto/files/v1/entities/file_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/files/v1/entities/file_pb.js +77 -0
- package/dist/gen/src/proto/files/v1/service_pb.d.ts +44 -0
- package/dist/gen/src/proto/files/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/files/v1/service_pb.js +18 -0
- package/dist/gen/src/proto/promotions/v1/entities/campaign_pb.d.ts +391 -0
- package/dist/gen/src/proto/promotions/v1/entities/campaign_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/promotions/v1/entities/campaign_pb.js +140 -0
- package/dist/gen/src/proto/promotions/v1/service_pb.d.ts +68 -0
- package/dist/gen/src/proto/promotions/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/promotions/v1/service_pb.js +18 -0
- package/dist/gen/src/proto/stocknodes/v1/entities/stocknode_pb.d.ts +508 -0
- package/dist/gen/src/proto/stocknodes/v1/entities/stocknode_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/stocknodes/v1/entities/stocknode_pb.js +150 -0
- package/dist/gen/src/proto/stocknodes/v1/service_pb.d.ts +68 -0
- package/dist/gen/src/proto/stocknodes/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/stocknodes/v1/service_pb.js +18 -0
- package/dist/src/index.d.ts +828 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +48 -5
- package/dist/src/interceptors.d.ts +1 -1
- package/dist/src/interceptors.d.ts.map +1 -1
- package/dist/src/interceptors.js +2 -2
- package/package.json +8 -10
- package/buf/validate/validate_pb.ts +0 -5001
- package/dist/src/address.d.ts +0 -53
- package/dist/src/address.d.ts.map +0 -1
- package/dist/src/address.js +0 -233
- package/dist/src/address.spec.d.ts +0 -2
- package/dist/src/address.spec.d.ts.map +0 -1
- package/dist/src/address.spec.js +0 -488
- package/dist/src/auth.d.ts +0 -27
- package/dist/src/auth.d.ts.map +0 -1
- package/dist/src/auth.js +0 -155
- package/dist/src/auth.spec.d.ts +0 -2
- package/dist/src/auth.spec.d.ts.map +0 -1
- package/dist/src/auth.spec.js +0 -582
- package/dist/src/compressor/brotli.d.ts +0 -3
- package/dist/src/compressor/brotli.d.ts.map +0 -1
- package/dist/src/compressor/brotli.js +0 -30
- package/dist/src/policies.d.ts +0 -217
- package/dist/src/policies.d.ts.map +0 -1
- package/dist/src/policies.js +0 -322
- package/dist/src/policies.spec.d.ts +0 -2
- package/dist/src/policies.spec.d.ts.map +0 -1
- package/dist/src/policies.spec.js +0 -463
- package/dist/src/products.d.ts +0 -39
- package/dist/src/products.d.ts.map +0 -1
- package/dist/src/products.js +0 -95
- package/dist/src/products.spec.d.ts +0 -2
- package/dist/src/products.spec.d.ts.map +0 -1
- package/dist/src/products.spec.js +0 -519
- package/dist/src/profile.d.ts +0 -62
- package/dist/src/profile.d.ts.map +0 -1
- package/dist/src/profile.js +0 -151
- package/dist/src/profile.spec.d.ts +0 -2
- package/dist/src/profile.spec.d.ts.map +0 -1
- package/dist/src/profile.spec.js +0 -475
- package/dist/src/registration.d.ts +0 -60
- package/dist/src/registration.d.ts.map +0 -1
- package/dist/src/registration.js +0 -147
- package/dist/src/test-utils.d.ts +0 -87
- package/dist/src/test-utils.d.ts.map +0 -1
- package/dist/src/test-utils.js +0 -132
- 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
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file src/proto/stocknodes/v1/entities/stocknode.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_src_proto_stocknodes_v1_entities_stocknode: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message StockNodeAddress
|
|
9
|
+
*/
|
|
10
|
+
export type StockNodeAddress = Message<'StockNodeAddress'> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: optional string id = 1;
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string address_1 = 2;
|
|
17
|
+
*/
|
|
18
|
+
address1: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string address_2 = 3;
|
|
21
|
+
*/
|
|
22
|
+
address2: string;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string address_3 = 4;
|
|
25
|
+
*/
|
|
26
|
+
address3: string;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string phone_number = 5;
|
|
29
|
+
*/
|
|
30
|
+
phoneNumber: string;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string zip_code = 6;
|
|
33
|
+
*/
|
|
34
|
+
zipCode: string;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string country = 7;
|
|
37
|
+
*/
|
|
38
|
+
country: string;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string country_code = 8;
|
|
41
|
+
*/
|
|
42
|
+
countryCode: string;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string company = 9;
|
|
45
|
+
*/
|
|
46
|
+
company: string;
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: string city = 10;
|
|
49
|
+
*/
|
|
50
|
+
city: string;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: string province = 11;
|
|
53
|
+
*/
|
|
54
|
+
province: string;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string state_code = 12;
|
|
57
|
+
*/
|
|
58
|
+
stateCode: string;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string email_address = 13;
|
|
61
|
+
*/
|
|
62
|
+
emailAddress: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message StockNodeAddress.
|
|
66
|
+
* Use `create(StockNodeAddressSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const StockNodeAddressSchema: GenMessage<StockNodeAddress>;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from message StockNodeFulfillmentSet
|
|
71
|
+
*/
|
|
72
|
+
export type StockNodeFulfillmentSet = Message<'StockNodeFulfillmentSet'> & {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string id = 1;
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: string name = 2;
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string type = 3;
|
|
83
|
+
*/
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message StockNodeFulfillmentSet.
|
|
88
|
+
* Use `create(StockNodeFulfillmentSetSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const StockNodeFulfillmentSetSchema: GenMessage<StockNodeFulfillmentSet>;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message CreateStockNodeRequest
|
|
93
|
+
*/
|
|
94
|
+
export type CreateStockNodeRequest = Message<'CreateStockNodeRequest'> & {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string name = 1;
|
|
97
|
+
*/
|
|
98
|
+
name: string;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: optional string description = 2;
|
|
101
|
+
*/
|
|
102
|
+
description?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: optional string contact_name = 3;
|
|
105
|
+
*/
|
|
106
|
+
contactName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string contact_email = 4;
|
|
109
|
+
*/
|
|
110
|
+
contactEmail: string;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: repeated string tags = 5;
|
|
113
|
+
*/
|
|
114
|
+
tags: string[];
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: repeated string sales_channels = 6;
|
|
117
|
+
*/
|
|
118
|
+
salesChannels: string[];
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: repeated string fulfillment_providers = 7;
|
|
121
|
+
*/
|
|
122
|
+
fulfillmentProviders: string[];
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: StockNodeAddress address = 8;
|
|
125
|
+
*/
|
|
126
|
+
address?: StockNodeAddress;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message CreateStockNodeRequest.
|
|
130
|
+
* Use `create(CreateStockNodeRequestSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const CreateStockNodeRequestSchema: GenMessage<CreateStockNodeRequest>;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message CreateStockNodeResponse
|
|
135
|
+
*/
|
|
136
|
+
export type CreateStockNodeResponse = Message<'CreateStockNodeResponse'> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string id = 1;
|
|
139
|
+
*/
|
|
140
|
+
id: string;
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: string name = 2;
|
|
143
|
+
*/
|
|
144
|
+
name: string;
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: string description = 3;
|
|
147
|
+
*/
|
|
148
|
+
description: string;
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: string contact_name = 4;
|
|
151
|
+
*/
|
|
152
|
+
contactName: string;
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string contact_email = 5;
|
|
155
|
+
*/
|
|
156
|
+
contactEmail: string;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: repeated string tags = 6;
|
|
159
|
+
*/
|
|
160
|
+
tags: string[];
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: repeated string sales_channels = 7;
|
|
163
|
+
*/
|
|
164
|
+
salesChannels: string[];
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: repeated string fulfillment_providers = 8;
|
|
167
|
+
*/
|
|
168
|
+
fulfillmentProviders: string[];
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: StockNodeAddress address = 9;
|
|
171
|
+
*/
|
|
172
|
+
address?: StockNodeAddress;
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: repeated StockNodeFulfillmentSet fulfillment_sets = 10;
|
|
175
|
+
*/
|
|
176
|
+
fulfillmentSets: StockNodeFulfillmentSet[];
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Describes the message CreateStockNodeResponse.
|
|
180
|
+
* Use `create(CreateStockNodeResponseSchema)` to create a new message.
|
|
181
|
+
*/
|
|
182
|
+
export declare const CreateStockNodeResponseSchema: GenMessage<CreateStockNodeResponse>;
|
|
183
|
+
/**
|
|
184
|
+
* @generated from message UpdateStockNodeRequest
|
|
185
|
+
*/
|
|
186
|
+
export type UpdateStockNodeRequest = Message<'UpdateStockNodeRequest'> & {
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: string id = 1;
|
|
189
|
+
*/
|
|
190
|
+
id: string;
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: optional string name = 2;
|
|
193
|
+
*/
|
|
194
|
+
name?: string;
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: optional string description = 3;
|
|
197
|
+
*/
|
|
198
|
+
description?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: optional string contact_name = 4;
|
|
201
|
+
*/
|
|
202
|
+
contactName?: string;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: optional string contact_email = 5;
|
|
205
|
+
*/
|
|
206
|
+
contactEmail?: string;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: repeated string tags = 6;
|
|
209
|
+
*/
|
|
210
|
+
tags: string[];
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: repeated string sales_channels = 7;
|
|
213
|
+
*/
|
|
214
|
+
salesChannels: string[];
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: repeated string fulfillment_providers = 8;
|
|
217
|
+
*/
|
|
218
|
+
fulfillmentProviders: string[];
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: optional StockNodeAddress address = 9;
|
|
221
|
+
*/
|
|
222
|
+
address?: StockNodeAddress;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message UpdateStockNodeRequest.
|
|
226
|
+
* Use `create(UpdateStockNodeRequestSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const UpdateStockNodeRequestSchema: GenMessage<UpdateStockNodeRequest>;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message UpdateStockNodeResponse
|
|
231
|
+
*/
|
|
232
|
+
export type UpdateStockNodeResponse = Message<'UpdateStockNodeResponse'> & {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: string id = 1;
|
|
235
|
+
*/
|
|
236
|
+
id: string;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string name = 2;
|
|
239
|
+
*/
|
|
240
|
+
name: string;
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: string description = 3;
|
|
243
|
+
*/
|
|
244
|
+
description: string;
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: string contact_name = 4;
|
|
247
|
+
*/
|
|
248
|
+
contactName: string;
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: string contact_email = 5;
|
|
251
|
+
*/
|
|
252
|
+
contactEmail: string;
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: repeated string tags = 6;
|
|
255
|
+
*/
|
|
256
|
+
tags: string[];
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: repeated string sales_channels = 7;
|
|
259
|
+
*/
|
|
260
|
+
salesChannels: string[];
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: repeated string fulfillment_providers = 8;
|
|
263
|
+
*/
|
|
264
|
+
fulfillmentProviders: string[];
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: StockNodeAddress address = 9;
|
|
267
|
+
*/
|
|
268
|
+
address?: StockNodeAddress;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: repeated StockNodeFulfillmentSet fulfillment_sets = 10;
|
|
271
|
+
*/
|
|
272
|
+
fulfillmentSets: StockNodeFulfillmentSet[];
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Describes the message UpdateStockNodeResponse.
|
|
276
|
+
* Use `create(UpdateStockNodeResponseSchema)` to create a new message.
|
|
277
|
+
*/
|
|
278
|
+
export declare const UpdateStockNodeResponseSchema: GenMessage<UpdateStockNodeResponse>;
|
|
279
|
+
/**
|
|
280
|
+
* @generated from message DeleteStockNodeRequest
|
|
281
|
+
*/
|
|
282
|
+
export type DeleteStockNodeRequest = Message<'DeleteStockNodeRequest'> & {
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: string id = 1;
|
|
285
|
+
*/
|
|
286
|
+
id: string;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message DeleteStockNodeRequest.
|
|
290
|
+
* Use `create(DeleteStockNodeRequestSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export declare const DeleteStockNodeRequestSchema: GenMessage<DeleteStockNodeRequest>;
|
|
293
|
+
/**
|
|
294
|
+
* @generated from message DeleteStockNodeResponse
|
|
295
|
+
*/
|
|
296
|
+
export type DeleteStockNodeResponse = Message<'DeleteStockNodeResponse'> & {
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string id = 1;
|
|
299
|
+
*/
|
|
300
|
+
id: string;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Describes the message DeleteStockNodeResponse.
|
|
304
|
+
* Use `create(DeleteStockNodeResponseSchema)` to create a new message.
|
|
305
|
+
*/
|
|
306
|
+
export declare const DeleteStockNodeResponseSchema: GenMessage<DeleteStockNodeResponse>;
|
|
307
|
+
/**
|
|
308
|
+
* @generated from message GetStockNodeRequest
|
|
309
|
+
*/
|
|
310
|
+
export type GetStockNodeRequest = Message<'GetStockNodeRequest'> & {
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: string id = 1;
|
|
313
|
+
*/
|
|
314
|
+
id: string;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Describes the message GetStockNodeRequest.
|
|
318
|
+
* Use `create(GetStockNodeRequestSchema)` to create a new message.
|
|
319
|
+
*/
|
|
320
|
+
export declare const GetStockNodeRequestSchema: GenMessage<GetStockNodeRequest>;
|
|
321
|
+
/**
|
|
322
|
+
* @generated from message GetStockNodeResponse
|
|
323
|
+
*/
|
|
324
|
+
export type GetStockNodeResponse = Message<'GetStockNodeResponse'> & {
|
|
325
|
+
/**
|
|
326
|
+
* @generated from field: string id = 1;
|
|
327
|
+
*/
|
|
328
|
+
id: string;
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: string name = 2;
|
|
331
|
+
*/
|
|
332
|
+
name: string;
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: string description = 3;
|
|
335
|
+
*/
|
|
336
|
+
description: string;
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: string contact_name = 4;
|
|
339
|
+
*/
|
|
340
|
+
contactName: string;
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: string contact_email = 5;
|
|
343
|
+
*/
|
|
344
|
+
contactEmail: string;
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: repeated string tags = 6;
|
|
347
|
+
*/
|
|
348
|
+
tags: string[];
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: repeated string sales_channels = 7;
|
|
351
|
+
*/
|
|
352
|
+
salesChannels: string[];
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: repeated string fulfillment_providers = 8;
|
|
355
|
+
*/
|
|
356
|
+
fulfillmentProviders: string[];
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: StockNodeAddress address = 9;
|
|
359
|
+
*/
|
|
360
|
+
address?: StockNodeAddress;
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: repeated StockNodeFulfillmentSet fulfillment_sets = 10;
|
|
363
|
+
*/
|
|
364
|
+
fulfillmentSets: StockNodeFulfillmentSet[];
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Describes the message GetStockNodeResponse.
|
|
368
|
+
* Use `create(GetStockNodeResponseSchema)` to create a new message.
|
|
369
|
+
*/
|
|
370
|
+
export declare const GetStockNodeResponseSchema: GenMessage<GetStockNodeResponse>;
|
|
371
|
+
/**
|
|
372
|
+
* @generated from message ListStockNodesRequest
|
|
373
|
+
*/
|
|
374
|
+
export type ListStockNodesRequest = Message<'ListStockNodesRequest'> & {
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: int32 offset = 1;
|
|
377
|
+
*/
|
|
378
|
+
offset: number;
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: uint32 limit = 2;
|
|
381
|
+
*/
|
|
382
|
+
limit: number;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: optional string order_by = 3;
|
|
385
|
+
*/
|
|
386
|
+
orderBy?: string;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: optional string filter = 4;
|
|
389
|
+
*/
|
|
390
|
+
filter?: string;
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: optional bool ascending = 5;
|
|
393
|
+
*/
|
|
394
|
+
ascending?: boolean;
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: optional string request_path = 6;
|
|
397
|
+
*/
|
|
398
|
+
requestPath?: string;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* Describes the message ListStockNodesRequest.
|
|
402
|
+
* Use `create(ListStockNodesRequestSchema)` to create a new message.
|
|
403
|
+
*/
|
|
404
|
+
export declare const ListStockNodesRequestSchema: GenMessage<ListStockNodesRequest>;
|
|
405
|
+
/**
|
|
406
|
+
* @generated from message ListStockNodesResponse
|
|
407
|
+
*/
|
|
408
|
+
export type ListStockNodesResponse = Message<'ListStockNodesResponse'> & {
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: repeated CreateStockNodeResponse stock_nodes = 1;
|
|
411
|
+
*/
|
|
412
|
+
stockNodes: CreateStockNodeResponse[];
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message ListStockNodesResponse.
|
|
416
|
+
* Use `create(ListStockNodesResponseSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export declare const ListStockNodesResponseSchema: GenMessage<ListStockNodesResponse>;
|
|
419
|
+
/**
|
|
420
|
+
* @generated from message AddFulfillmentSetRequest
|
|
421
|
+
*/
|
|
422
|
+
export type AddFulfillmentSetRequest = Message<'AddFulfillmentSetRequest'> & {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: string name = 1;
|
|
425
|
+
*/
|
|
426
|
+
name: string;
|
|
427
|
+
/**
|
|
428
|
+
* @generated from field: FulfillmentSetType type = 2;
|
|
429
|
+
*/
|
|
430
|
+
type: FulfillmentSetType;
|
|
431
|
+
/**
|
|
432
|
+
* @generated from field: string stock_node_id = 3;
|
|
433
|
+
*/
|
|
434
|
+
stockNodeId: string;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Describes the message AddFulfillmentSetRequest.
|
|
438
|
+
* Use `create(AddFulfillmentSetRequestSchema)` to create a new message.
|
|
439
|
+
*/
|
|
440
|
+
export declare const AddFulfillmentSetRequestSchema: GenMessage<AddFulfillmentSetRequest>;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from message AddFulfillmentSetResponse
|
|
443
|
+
*/
|
|
444
|
+
export type AddFulfillmentSetResponse = Message<'AddFulfillmentSetResponse'> & {
|
|
445
|
+
/**
|
|
446
|
+
* @generated from field: CreateStockNodeResponse stock_node = 1;
|
|
447
|
+
*/
|
|
448
|
+
stockNode?: CreateStockNodeResponse;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* Describes the message AddFulfillmentSetResponse.
|
|
452
|
+
* Use `create(AddFulfillmentSetResponseSchema)` to create a new message.
|
|
453
|
+
*/
|
|
454
|
+
export declare const AddFulfillmentSetResponseSchema: GenMessage<AddFulfillmentSetResponse>;
|
|
455
|
+
/**
|
|
456
|
+
* @generated from message RemoveFulfillmentSetRequest
|
|
457
|
+
*/
|
|
458
|
+
export type RemoveFulfillmentSetRequest = Message<'RemoveFulfillmentSetRequest'> & {
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: string stock_node_id = 1;
|
|
461
|
+
*/
|
|
462
|
+
stockNodeId: string;
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: string fulfillment_set_id = 2;
|
|
465
|
+
*/
|
|
466
|
+
fulfillmentSetId: string;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Describes the message RemoveFulfillmentSetRequest.
|
|
470
|
+
* Use `create(RemoveFulfillmentSetRequestSchema)` to create a new message.
|
|
471
|
+
*/
|
|
472
|
+
export declare const RemoveFulfillmentSetRequestSchema: GenMessage<RemoveFulfillmentSetRequest>;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from message RemoveFulfillmentSetResponse
|
|
475
|
+
*/
|
|
476
|
+
export type RemoveFulfillmentSetResponse = Message<'RemoveFulfillmentSetResponse'> & {
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: CreateStockNodeResponse stock_node = 1;
|
|
479
|
+
*/
|
|
480
|
+
stockNode?: CreateStockNodeResponse;
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* Describes the message RemoveFulfillmentSetResponse.
|
|
484
|
+
* Use `create(RemoveFulfillmentSetResponseSchema)` to create a new message.
|
|
485
|
+
*/
|
|
486
|
+
export declare const RemoveFulfillmentSetResponseSchema: GenMessage<RemoveFulfillmentSetResponse>;
|
|
487
|
+
/**
|
|
488
|
+
* @generated from enum FulfillmentSetType
|
|
489
|
+
*/
|
|
490
|
+
export declare enum FulfillmentSetType {
|
|
491
|
+
/**
|
|
492
|
+
* @generated from enum value: SHIPPING = 0;
|
|
493
|
+
*/
|
|
494
|
+
SHIPPING = 0,
|
|
495
|
+
/**
|
|
496
|
+
* @generated from enum value: PICKUP = 1;
|
|
497
|
+
*/
|
|
498
|
+
PICKUP = 1,
|
|
499
|
+
/**
|
|
500
|
+
* @generated from enum value: DROPOFF = 2;
|
|
501
|
+
*/
|
|
502
|
+
DROPOFF = 2
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Describes the enum FulfillmentSetType.
|
|
506
|
+
*/
|
|
507
|
+
export declare const FulfillmentSetTypeSchema: GenEnum<FulfillmentSetType>;
|
|
508
|
+
//# sourceMappingURL=stocknode_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stocknode_pb.d.ts","sourceRoot":"","sources":["../../../../../../../gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAGhF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,OAK3D,CAAA;AAEH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG;IAC3D;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,CAEC,CAAA;AAEjE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,CAAA;AAElE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,2BAA2B,CAAC,GAAG;IAC7E;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAA;CACpC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,UAAU,CAAC,yBAAyB,CAEhB,CAAA;AAElE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GACrC,OAAO,CAAC,6BAA6B,CAAC,GAAG;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,UAAU,CAAC,2BAA2B,CAEpB,CAAA;AAElE;;GAEG;AACH,MAAM,MAAM,4BAA4B,GACtC,OAAO,CAAC,8BAA8B,CAAC,GAAG;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAA;CACpC,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,4BAA4B,CAEtB,CAAA;AAElE;;GAEG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,OAAO,IAAI;CACZ;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,OAAO,CAAC,kBAAkB,CAEH,CAAA"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file src/proto/stocknodes/v1/entities/stocknode.proto (syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FulfillmentSetTypeSchema = exports.FulfillmentSetType = exports.RemoveFulfillmentSetResponseSchema = exports.RemoveFulfillmentSetRequestSchema = exports.AddFulfillmentSetResponseSchema = exports.AddFulfillmentSetRequestSchema = exports.ListStockNodesResponseSchema = exports.ListStockNodesRequestSchema = exports.GetStockNodeResponseSchema = exports.GetStockNodeRequestSchema = exports.DeleteStockNodeResponseSchema = exports.DeleteStockNodeRequestSchema = exports.UpdateStockNodeResponseSchema = exports.UpdateStockNodeRequestSchema = exports.CreateStockNodeResponseSchema = exports.CreateStockNodeRequestSchema = exports.StockNodeFulfillmentSetSchema = exports.StockNodeAddressSchema = exports.file_src_proto_stocknodes_v1_entities_stocknode = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const validate_pb_1 = require("../../../../../buf/validate/validate_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file src/proto/stocknodes/v1/entities/stocknode.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_src_proto_stocknodes_v1_entities_stocknode =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
(0, codegenv2_1.fileDesc)('CjBzcmMvcHJvdG8vc3RvY2tub2Rlcy92MS9lbnRpdGllcy9zdG9ja25vZGUucHJvdG8ijgIKEFN0b2NrTm9kZUFkZHJlc3MSDwoCaWQYASABKAlIAIgBARIRCglhZGRyZXNzXzEYAiABKAkSEQoJYWRkcmVzc18yGAMgASgJEhEKCWFkZHJlc3NfMxgEIAEoCRIUCgxwaG9uZV9udW1iZXIYBSABKAkSEAoIemlwX2NvZGUYBiABKAkSDwoHY291bnRyeRgHIAEoCRIUCgxjb3VudHJ5X2NvZGUYCCABKAkSDwoHY29tcGFueRgJIAEoCRIMCgRjaXR5GAogASgJEhAKCHByb3ZpbmNlGAsgASgJEhIKCnN0YXRlX2NvZGUYDCABKAkSFQoNZW1haWxfYWRkcmVzcxgNIAEoCUIFCgNfaWQiQQoXU3RvY2tOb2RlRnVsZmlsbG1lbnRTZXQSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgR0eXBlGAMgASgJIo0CChZD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vZGVSZXNwb25zZSo7ChJGdWxmaWxsbWVudFNldFR5cGUSDAoIU0hJUFBJTkcQABIKCgZQSUNLVVAQARILCgdEUk9QT0ZGEAJCT0IOU3RvY2tub2RlUHJvdG9QAVo7cGFha2QuY29tL3BhY2thZ2VzL2FwaS9nZW4vc3JjL3Byb3RvL3N0b2Nrbm9kZXMvdjEvZW50aXRpZXNiBnByb3RvMw', [validate_pb_1.file_buf_validate_validate]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message StockNodeAddress.
|
|
17
|
+
* Use `create(StockNodeAddressSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.StockNodeAddressSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message StockNodeFulfillmentSet.
|
|
24
|
+
* Use `create(StockNodeFulfillmentSetSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.StockNodeFulfillmentSetSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message CreateStockNodeRequest.
|
|
31
|
+
* Use `create(CreateStockNodeRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.CreateStockNodeRequestSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message CreateStockNodeResponse.
|
|
38
|
+
* Use `create(CreateStockNodeResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.CreateStockNodeResponseSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message UpdateStockNodeRequest.
|
|
45
|
+
* Use `create(UpdateStockNodeRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.UpdateStockNodeRequestSchema =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 4);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message UpdateStockNodeResponse.
|
|
52
|
+
* Use `create(UpdateStockNodeResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
exports.UpdateStockNodeResponseSchema =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 5);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message DeleteStockNodeRequest.
|
|
59
|
+
* Use `create(DeleteStockNodeRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
exports.DeleteStockNodeRequestSchema =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 6);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message DeleteStockNodeResponse.
|
|
66
|
+
* Use `create(DeleteStockNodeResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
exports.DeleteStockNodeResponseSchema =
|
|
69
|
+
/*@__PURE__*/
|
|
70
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 7);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message GetStockNodeRequest.
|
|
73
|
+
* Use `create(GetStockNodeRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
exports.GetStockNodeRequestSchema =
|
|
76
|
+
/*@__PURE__*/
|
|
77
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 8);
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message GetStockNodeResponse.
|
|
80
|
+
* Use `create(GetStockNodeResponseSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
exports.GetStockNodeResponseSchema =
|
|
83
|
+
/*@__PURE__*/
|
|
84
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 9);
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message ListStockNodesRequest.
|
|
87
|
+
* Use `create(ListStockNodesRequestSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
exports.ListStockNodesRequestSchema =
|
|
90
|
+
/*@__PURE__*/
|
|
91
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 10);
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message ListStockNodesResponse.
|
|
94
|
+
* Use `create(ListStockNodesResponseSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
exports.ListStockNodesResponseSchema =
|
|
97
|
+
/*@__PURE__*/
|
|
98
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 11);
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message AddFulfillmentSetRequest.
|
|
101
|
+
* Use `create(AddFulfillmentSetRequestSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
exports.AddFulfillmentSetRequestSchema =
|
|
104
|
+
/*@__PURE__*/
|
|
105
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 12);
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message AddFulfillmentSetResponse.
|
|
108
|
+
* Use `create(AddFulfillmentSetResponseSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
exports.AddFulfillmentSetResponseSchema =
|
|
111
|
+
/*@__PURE__*/
|
|
112
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 13);
|
|
113
|
+
/**
|
|
114
|
+
* Describes the message RemoveFulfillmentSetRequest.
|
|
115
|
+
* Use `create(RemoveFulfillmentSetRequestSchema)` to create a new message.
|
|
116
|
+
*/
|
|
117
|
+
exports.RemoveFulfillmentSetRequestSchema =
|
|
118
|
+
/*@__PURE__*/
|
|
119
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 14);
|
|
120
|
+
/**
|
|
121
|
+
* Describes the message RemoveFulfillmentSetResponse.
|
|
122
|
+
* Use `create(RemoveFulfillmentSetResponseSchema)` to create a new message.
|
|
123
|
+
*/
|
|
124
|
+
exports.RemoveFulfillmentSetResponseSchema =
|
|
125
|
+
/*@__PURE__*/
|
|
126
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 15);
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum FulfillmentSetType
|
|
129
|
+
*/
|
|
130
|
+
var FulfillmentSetType;
|
|
131
|
+
(function (FulfillmentSetType) {
|
|
132
|
+
/**
|
|
133
|
+
* @generated from enum value: SHIPPING = 0;
|
|
134
|
+
*/
|
|
135
|
+
FulfillmentSetType[FulfillmentSetType["SHIPPING"] = 0] = "SHIPPING";
|
|
136
|
+
/**
|
|
137
|
+
* @generated from enum value: PICKUP = 1;
|
|
138
|
+
*/
|
|
139
|
+
FulfillmentSetType[FulfillmentSetType["PICKUP"] = 1] = "PICKUP";
|
|
140
|
+
/**
|
|
141
|
+
* @generated from enum value: DROPOFF = 2;
|
|
142
|
+
*/
|
|
143
|
+
FulfillmentSetType[FulfillmentSetType["DROPOFF"] = 2] = "DROPOFF";
|
|
144
|
+
})(FulfillmentSetType || (exports.FulfillmentSetType = FulfillmentSetType = {}));
|
|
145
|
+
/**
|
|
146
|
+
* Describes the enum FulfillmentSetType.
|
|
147
|
+
*/
|
|
148
|
+
exports.FulfillmentSetTypeSchema =
|
|
149
|
+
/*@__PURE__*/
|
|
150
|
+
(0, codegenv2_1.enumDesc)(exports.file_src_proto_stocknodes_v1_entities_stocknode, 0);
|