@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,1317 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
2
|
-
// @generated from file src/proto/products/v1/entities/product/shared.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/products/v1/entities/product/shared.proto.
|
|
12
|
-
*/
|
|
13
|
-
export const file_src_proto_products_v1_entities_product_shared: GenFile =
|
|
14
|
-
/*@__PURE__*/
|
|
15
|
-
fileDesc(
|
|
16
|
-
'CjNzcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvcHJvZHVjdC9zaGFyZWQucHJvdG8iLgoNUHJvZHVjdE9wdGlvbhINCgV0aXRsZRgBIAEoCRIOCgZ2YWx1ZXMYAiADKAkizQkKB1ZhcmlhbnQSDwoCaWQYASABKAlIAIgBARINCgV0aXRsZRgCIAEoCRIQCgNza3UYAyABKAlIAYgBARIQCgNlYW4YBCABKAlIAogBARIQCgN1cGMYBSABKAlIA4gBARIUCgdiYXJjb2RlGAYgASgJSASIAQESHAoPdHJhY2tfaW52ZW50b3J5GAcgASgISAWIAQESIAoTaXNfbWFuYWdlX2ludmVudG9yeRgIIAEoCEgGiAEBEhMKBndlaWdodBgJIAEoAkgHiAEBEhMKBmxlbmd0aBgKIAEoAkgIiAEBEhIKBXdpZHRoGAsgASgCSAmIAQESEwoGaGVpZ2h0GAwgASgCSAqIAQESFAoHaHNfY29kZRgNIAEoCUgLiA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cGUYAyABKAkSQAoIbWV0YWRhdGEYBCADKAsyLi5Qcm9kdWN0UmVzcG9uc2UuU2hpcHBpbmdQcm9maWxlLk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASpFCg1Qcm9kdWN0U3RhdHVzEgkKBURSQUZUEAASDAoIUFJPUE9TRUQQARINCglQVUJMSVNIRUQQAhIMCghSRUpFQ1RFRBADQlJCC1NoYXJlZFByb3RvUAFaQXBhYWtkLmNvbS9wYWNrYWdlcy9hcGkvZ2VuL3NyYy9wcm90by9wcm9kdWN0cy92MS9lbnRpdGllcy9wcm9kdWN0YgZwcm90bzM',
|
|
17
|
-
[file_buf_validate_validate]
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @generated from message ProductOption
|
|
22
|
-
*/
|
|
23
|
-
export type ProductOption = Message<'ProductOption'> & {
|
|
24
|
-
/**
|
|
25
|
-
* @generated from field: string title = 1;
|
|
26
|
-
*/
|
|
27
|
-
title: string
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @generated from field: repeated string values = 2;
|
|
31
|
-
*/
|
|
32
|
-
values: string[]
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Describes the message ProductOption.
|
|
37
|
-
* Use `create(ProductOptionSchema)` to create a new message.
|
|
38
|
-
*/
|
|
39
|
-
export const ProductOptionSchema: GenMessage<ProductOption> =
|
|
40
|
-
/*@__PURE__*/
|
|
41
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 0)
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @generated from message Variant
|
|
45
|
-
*/
|
|
46
|
-
export type Variant = Message<'Variant'> & {
|
|
47
|
-
/**
|
|
48
|
-
* @generated from field: optional string id = 1;
|
|
49
|
-
*/
|
|
50
|
-
id?: string
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @generated from field: string title = 2;
|
|
54
|
-
*/
|
|
55
|
-
title: string
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @generated from field: optional string sku = 3;
|
|
59
|
-
*/
|
|
60
|
-
sku?: string
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @generated from field: optional string ean = 4;
|
|
64
|
-
*/
|
|
65
|
-
ean?: string
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @generated from field: optional string upc = 5;
|
|
69
|
-
*/
|
|
70
|
-
upc?: string
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @generated from field: optional string barcode = 6;
|
|
74
|
-
*/
|
|
75
|
-
barcode?: string
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* @generated from field: optional bool track_inventory = 7;
|
|
79
|
-
*/
|
|
80
|
-
trackInventory?: boolean
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @generated from field: optional bool is_manage_inventory = 8;
|
|
84
|
-
*/
|
|
85
|
-
isManageInventory?: boolean
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: optional float weight = 9;
|
|
89
|
-
*/
|
|
90
|
-
weight?: number
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @generated from field: optional float length = 10;
|
|
94
|
-
*/
|
|
95
|
-
length?: number
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: optional float width = 11;
|
|
99
|
-
*/
|
|
100
|
-
width?: number
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @generated from field: optional float height = 12;
|
|
104
|
-
*/
|
|
105
|
-
height?: number
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @generated from field: optional string hs_code = 13;
|
|
109
|
-
*/
|
|
110
|
-
hsCode?: string
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @generated from field: optional string origin_country = 14;
|
|
114
|
-
*/
|
|
115
|
-
originCountry?: string
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @generated from field: optional string material = 15;
|
|
119
|
-
*/
|
|
120
|
-
material?: string
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @generated from field: repeated Variant.OptionValue option_values = 16;
|
|
124
|
-
*/
|
|
125
|
-
optionValues: Variant_OptionValue[]
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @generated from field: repeated Variant.Price prices = 17;
|
|
129
|
-
*/
|
|
130
|
-
prices: Variant_Price[]
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from field: repeated Variant.InventoryItem inventory_items = 18;
|
|
134
|
-
*/
|
|
135
|
-
inventoryItems: Variant_InventoryItem[]
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @generated from field: map<string, string> metadata = 19;
|
|
139
|
-
*/
|
|
140
|
-
metadata: { [key: string]: string }
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* @generated from field: optional string mid_code = 20;
|
|
144
|
-
*/
|
|
145
|
-
midCode?: string
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @generated from field: optional bool allow_backorder = 21;
|
|
149
|
-
*/
|
|
150
|
-
allowBackorder?: boolean
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @generated from field: optional int32 rank = 22;
|
|
154
|
-
*/
|
|
155
|
-
rank?: number
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Describes the message Variant.
|
|
160
|
-
* Use `create(VariantSchema)` to create a new message.
|
|
161
|
-
*/
|
|
162
|
-
export const VariantSchema: GenMessage<Variant> =
|
|
163
|
-
/*@__PURE__*/
|
|
164
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 1)
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @generated from message Variant.OptionValue
|
|
168
|
-
*/
|
|
169
|
-
export type Variant_OptionValue = Message<'Variant.OptionValue'> & {
|
|
170
|
-
/**
|
|
171
|
-
* @generated from field: string option_id = 1;
|
|
172
|
-
*/
|
|
173
|
-
optionId: string
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @generated from field: string value = 2;
|
|
177
|
-
*/
|
|
178
|
-
value: string
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Describes the message Variant.OptionValue.
|
|
183
|
-
* Use `create(Variant_OptionValueSchema)` to create a new message.
|
|
184
|
-
*/
|
|
185
|
-
export const Variant_OptionValueSchema: GenMessage<Variant_OptionValue> =
|
|
186
|
-
/*@__PURE__*/
|
|
187
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 1, 0)
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* @generated from message Variant.Price
|
|
191
|
-
*/
|
|
192
|
-
export type Variant_Price = Message<'Variant.Price'> & {
|
|
193
|
-
/**
|
|
194
|
-
* @generated from field: string currency_code = 1;
|
|
195
|
-
*/
|
|
196
|
-
currencyCode: string
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @generated from field: float amount = 3;
|
|
200
|
-
*/
|
|
201
|
-
amount: number
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* @generated from field: int32 max_quantity = 4;
|
|
205
|
-
*/
|
|
206
|
-
maxQuantity: number
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @generated from field: int32 min_quantity = 5;
|
|
210
|
-
*/
|
|
211
|
-
minQuantity: number
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @generated from field: repeated Variant.Price.Rule rules = 10;
|
|
215
|
-
*/
|
|
216
|
-
rules: Variant_Price_Rule[]
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Describes the message Variant.Price.
|
|
221
|
-
* Use `create(Variant_PriceSchema)` to create a new message.
|
|
222
|
-
*/
|
|
223
|
-
export const Variant_PriceSchema: GenMessage<Variant_Price> =
|
|
224
|
-
/*@__PURE__*/
|
|
225
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 1, 1)
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @generated from message Variant.Price.Rule
|
|
229
|
-
*/
|
|
230
|
-
export type Variant_Price_Rule = Message<'Variant.Price.Rule'> & {
|
|
231
|
-
/**
|
|
232
|
-
* @generated from field: string entity_id = 1;
|
|
233
|
-
*/
|
|
234
|
-
entityId: string
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @generated from field: Variant.Price.RuleType entity_type = 2;
|
|
238
|
-
*/
|
|
239
|
-
entityType: Variant_Price_RuleType
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Describes the message Variant.Price.Rule.
|
|
244
|
-
* Use `create(Variant_Price_RuleSchema)` to create a new message.
|
|
245
|
-
*/
|
|
246
|
-
export const Variant_Price_RuleSchema: GenMessage<Variant_Price_Rule> =
|
|
247
|
-
/*@__PURE__*/
|
|
248
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 1, 1, 0)
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* @generated from enum Variant.Price.RuleType
|
|
252
|
-
*/
|
|
253
|
-
export enum Variant_Price_RuleType {
|
|
254
|
-
/**
|
|
255
|
-
* @generated from enum value: RULE_TYPE_UNSPECIFIED = 0;
|
|
256
|
-
*/
|
|
257
|
-
UNSPECIFIED = 0,
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* @generated from enum value: RULE_TYPE_REGION = 1;
|
|
261
|
-
*/
|
|
262
|
-
REGION = 1,
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* @generated from enum value: RULE_TYPE_CUSTOMER_GROUP = 2;
|
|
266
|
-
*/
|
|
267
|
-
CUSTOMER_GROUP = 2,
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Describes the enum Variant.Price.RuleType.
|
|
272
|
-
*/
|
|
273
|
-
export const Variant_Price_RuleTypeSchema: GenEnum<Variant_Price_RuleType> =
|
|
274
|
-
/*@__PURE__*/
|
|
275
|
-
enumDesc(file_src_proto_products_v1_entities_product_shared, 1, 1, 0)
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* @generated from message Variant.InventoryItem
|
|
279
|
-
*/
|
|
280
|
-
export type Variant_InventoryItem = Message<'Variant.InventoryItem'> & {
|
|
281
|
-
/**
|
|
282
|
-
* @generated from field: string inventory_item_id = 1;
|
|
283
|
-
*/
|
|
284
|
-
inventoryItemId: string
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Describes the message Variant.InventoryItem.
|
|
289
|
-
* Use `create(Variant_InventoryItemSchema)` to create a new message.
|
|
290
|
-
*/
|
|
291
|
-
export const Variant_InventoryItemSchema: GenMessage<Variant_InventoryItem> =
|
|
292
|
-
/*@__PURE__*/
|
|
293
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 1, 2)
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* @generated from message ProductResponse
|
|
297
|
-
*/
|
|
298
|
-
export type ProductResponse = Message<'ProductResponse'> & {
|
|
299
|
-
/**
|
|
300
|
-
* @generated from field: string id = 1;
|
|
301
|
-
*/
|
|
302
|
-
id: string
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* @generated from field: float length = 2;
|
|
306
|
-
*/
|
|
307
|
-
length: number
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* @generated from field: string title = 3;
|
|
311
|
-
*/
|
|
312
|
-
title: string
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* @generated from field: ProductStatus status = 4;
|
|
316
|
-
*/
|
|
317
|
-
status: ProductStatus
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* @generated from field: string description = 5;
|
|
321
|
-
*/
|
|
322
|
-
description: string
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* @generated from field: string slug = 6;
|
|
326
|
-
*/
|
|
327
|
-
slug: string
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @generated from field: string subtitle = 7;
|
|
331
|
-
*/
|
|
332
|
-
subtitle: string
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @generated from field: string thumbnail = 8;
|
|
336
|
-
*/
|
|
337
|
-
thumbnail: string
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @generated from field: bool is_giftcard = 9;
|
|
341
|
-
*/
|
|
342
|
-
isGiftcard: boolean
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @generated from field: float weight = 10;
|
|
346
|
-
*/
|
|
347
|
-
weight: number
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* @generated from field: float height = 11;
|
|
351
|
-
*/
|
|
352
|
-
height: number
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* @generated from field: float width = 12;
|
|
356
|
-
*/
|
|
357
|
-
width: number
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* @generated from field: string origin_country = 13;
|
|
361
|
-
*/
|
|
362
|
-
originCountry: string
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* @generated from field: string hs_code = 14;
|
|
366
|
-
*/
|
|
367
|
-
hsCode: string
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* @generated from field: string mid_code = 15;
|
|
371
|
-
*/
|
|
372
|
-
midCode: string
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* @generated from field: string collection_id = 16;
|
|
376
|
-
*/
|
|
377
|
-
collectionId: string
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* @generated from field: string type_id = 17;
|
|
381
|
-
*/
|
|
382
|
-
typeId: string
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* @generated from field: bool is_discountable = 18;
|
|
386
|
-
*/
|
|
387
|
-
isDiscountable: boolean
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* @generated from field: string external_id = 19;
|
|
391
|
-
*/
|
|
392
|
-
externalId: string
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* @generated from field: repeated ProductResponse.ProductVariant variants = 20;
|
|
396
|
-
*/
|
|
397
|
-
variants: ProductResponse_ProductVariant[]
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* @generated from field: ProductResponse.Type type = 21;
|
|
401
|
-
*/
|
|
402
|
-
type?: ProductResponse_Type
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @generated from field: ProductResponse.Option options = 22;
|
|
406
|
-
*/
|
|
407
|
-
options?: ProductResponse_Option
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @generated from field: repeated ProductResponse.Image images = 23;
|
|
411
|
-
*/
|
|
412
|
-
images: ProductResponse_Image[]
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* @generated from field: ProductResponse.Collection collection = 24;
|
|
416
|
-
*/
|
|
417
|
-
collection?: ProductResponse_Collection
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* @generated from field: repeated ProductResponse.Category categories = 25;
|
|
421
|
-
*/
|
|
422
|
-
categories: ProductResponse_Category[]
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* @generated from field: repeated ProductResponse.SalesChannel sales_channels = 26;
|
|
426
|
-
*/
|
|
427
|
-
salesChannels: ProductResponse_SalesChannel[]
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* @generated from field: repeated ProductResponse.Tag tags = 27;
|
|
431
|
-
*/
|
|
432
|
-
tags: ProductResponse_Tag[]
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* @generated from field: ProductResponse.ShippingProfile shipping_profile = 28;
|
|
436
|
-
*/
|
|
437
|
-
shippingProfile?: ProductResponse_ShippingProfile
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @generated from field: map<string, string> metadata = 29;
|
|
441
|
-
*/
|
|
442
|
-
metadata: { [key: string]: string }
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Describes the message ProductResponse.
|
|
447
|
-
* Use `create(ProductResponseSchema)` to create a new message.
|
|
448
|
-
*/
|
|
449
|
-
export const ProductResponseSchema: GenMessage<ProductResponse> =
|
|
450
|
-
/*@__PURE__*/
|
|
451
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2)
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* @generated from message ProductResponse.Tag
|
|
455
|
-
*/
|
|
456
|
-
export type ProductResponse_Tag = Message<'ProductResponse.Tag'> & {
|
|
457
|
-
/**
|
|
458
|
-
* @generated from field: string id = 1;
|
|
459
|
-
*/
|
|
460
|
-
id: string
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* @generated from field: string value = 2;
|
|
464
|
-
*/
|
|
465
|
-
value: string
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* Describes the message ProductResponse.Tag.
|
|
470
|
-
* Use `create(ProductResponse_TagSchema)` to create a new message.
|
|
471
|
-
*/
|
|
472
|
-
export const ProductResponse_TagSchema: GenMessage<ProductResponse_Tag> =
|
|
473
|
-
/*@__PURE__*/
|
|
474
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 0)
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* @generated from message ProductResponse.SalesChannel
|
|
478
|
-
*/
|
|
479
|
-
export type ProductResponse_SalesChannel =
|
|
480
|
-
Message<'ProductResponse.SalesChannel'> & {
|
|
481
|
-
/**
|
|
482
|
-
* @generated from field: string id = 1;
|
|
483
|
-
*/
|
|
484
|
-
id: string
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* @generated from field: string name = 2;
|
|
488
|
-
*/
|
|
489
|
-
name: string
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* @generated from field: string description = 3;
|
|
493
|
-
*/
|
|
494
|
-
description: string
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* @generated from field: string is_disabled = 4;
|
|
498
|
-
*/
|
|
499
|
-
isDisabled: string
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* @generated from field: map<string, string> metadata = 5;
|
|
503
|
-
*/
|
|
504
|
-
metadata: { [key: string]: string }
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* Describes the message ProductResponse.SalesChannel.
|
|
509
|
-
* Use `create(ProductResponse_SalesChannelSchema)` to create a new message.
|
|
510
|
-
*/
|
|
511
|
-
export const ProductResponse_SalesChannelSchema: GenMessage<ProductResponse_SalesChannel> =
|
|
512
|
-
/*@__PURE__*/
|
|
513
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 1)
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* @generated from message ProductResponse.Type
|
|
517
|
-
*/
|
|
518
|
-
export type ProductResponse_Type = Message<'ProductResponse.Type'> & {
|
|
519
|
-
/**
|
|
520
|
-
* @generated from field: string id = 1;
|
|
521
|
-
*/
|
|
522
|
-
id: string
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* @generated from field: string name = 2;
|
|
526
|
-
*/
|
|
527
|
-
name: string
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* @generated from field: map<string, string> metadata = 3;
|
|
531
|
-
*/
|
|
532
|
-
metadata: { [key: string]: string }
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Describes the message ProductResponse.Type.
|
|
537
|
-
* Use `create(ProductResponse_TypeSchema)` to create a new message.
|
|
538
|
-
*/
|
|
539
|
-
export const ProductResponse_TypeSchema: GenMessage<ProductResponse_Type> =
|
|
540
|
-
/*@__PURE__*/
|
|
541
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 2)
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* @generated from message ProductResponse.Category
|
|
545
|
-
*/
|
|
546
|
-
export type ProductResponse_Category = Message<'ProductResponse.Category'> & {
|
|
547
|
-
/**
|
|
548
|
-
* @generated from field: string id = 1;
|
|
549
|
-
*/
|
|
550
|
-
id: string
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* @generated from field: string name = 2;
|
|
554
|
-
*/
|
|
555
|
-
name: string
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* @generated from field: string description = 3;
|
|
559
|
-
*/
|
|
560
|
-
description: string
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* @generated from field: string slug = 4;
|
|
564
|
-
*/
|
|
565
|
-
slug: string
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* @generated from field: bool is_active = 5;
|
|
569
|
-
*/
|
|
570
|
-
isActive: boolean
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* @generated from field: bool is_internal = 6;
|
|
574
|
-
*/
|
|
575
|
-
isInternal: boolean
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* @generated from field: int32 rank = 7;
|
|
579
|
-
*/
|
|
580
|
-
rank: number
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* @generated from field: optional string parent_id = 8;
|
|
584
|
-
*/
|
|
585
|
-
parentId?: string
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* @generated from field: repeated ProductResponse.Category children = 9;
|
|
589
|
-
*/
|
|
590
|
-
children: ProductResponse_Category[]
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* @generated from field: map<string, string> metadata = 10;
|
|
594
|
-
*/
|
|
595
|
-
metadata: { [key: string]: string }
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* Describes the message ProductResponse.Category.
|
|
600
|
-
* Use `create(ProductResponse_CategorySchema)` to create a new message.
|
|
601
|
-
*/
|
|
602
|
-
export const ProductResponse_CategorySchema: GenMessage<ProductResponse_Category> =
|
|
603
|
-
/*@__PURE__*/
|
|
604
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 3)
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* @generated from message ProductResponse.Collection
|
|
608
|
-
*/
|
|
609
|
-
export type ProductResponse_Collection =
|
|
610
|
-
Message<'ProductResponse.Collection'> & {
|
|
611
|
-
/**
|
|
612
|
-
* @generated from field: string id = 1;
|
|
613
|
-
*/
|
|
614
|
-
id: string
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* @generated from field: string title = 2;
|
|
618
|
-
*/
|
|
619
|
-
title: string
|
|
620
|
-
|
|
621
|
-
/**
|
|
622
|
-
* @generated from field: string slug = 3;
|
|
623
|
-
*/
|
|
624
|
-
slug: string
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* @generated from field: map<string, string> metadata = 4;
|
|
628
|
-
*/
|
|
629
|
-
metadata: { [key: string]: string }
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Describes the message ProductResponse.Collection.
|
|
634
|
-
* Use `create(ProductResponse_CollectionSchema)` to create a new message.
|
|
635
|
-
*/
|
|
636
|
-
export const ProductResponse_CollectionSchema: GenMessage<ProductResponse_Collection> =
|
|
637
|
-
/*@__PURE__*/
|
|
638
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 4)
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* @generated from message ProductResponse.Image
|
|
642
|
-
*/
|
|
643
|
-
export type ProductResponse_Image = Message<'ProductResponse.Image'> & {
|
|
644
|
-
/**
|
|
645
|
-
* @generated from field: string id = 1;
|
|
646
|
-
*/
|
|
647
|
-
id: string
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* @generated from field: string url = 2;
|
|
651
|
-
*/
|
|
652
|
-
url: string
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* @generated from field: int32 rank = 3;
|
|
656
|
-
*/
|
|
657
|
-
rank: number
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* @generated from field: map<string, string> metadata = 4;
|
|
661
|
-
*/
|
|
662
|
-
metadata: { [key: string]: string }
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* Describes the message ProductResponse.Image.
|
|
667
|
-
* Use `create(ProductResponse_ImageSchema)` to create a new message.
|
|
668
|
-
*/
|
|
669
|
-
export const ProductResponse_ImageSchema: GenMessage<ProductResponse_Image> =
|
|
670
|
-
/*@__PURE__*/
|
|
671
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 5)
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
* @generated from message ProductResponse.Value
|
|
675
|
-
*/
|
|
676
|
-
export type ProductResponse_Value = Message<'ProductResponse.Value'> & {
|
|
677
|
-
/**
|
|
678
|
-
* @generated from field: string option_id = 1;
|
|
679
|
-
*/
|
|
680
|
-
optionId: string
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* @generated from field: string value = 2;
|
|
684
|
-
*/
|
|
685
|
-
value: string
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* @generated from field: optional ProductResponse.Option option = 4;
|
|
689
|
-
*/
|
|
690
|
-
option?: ProductResponse_Option
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* Describes the message ProductResponse.Value.
|
|
695
|
-
* Use `create(ProductResponse_ValueSchema)` to create a new message.
|
|
696
|
-
*/
|
|
697
|
-
export const ProductResponse_ValueSchema: GenMessage<ProductResponse_Value> =
|
|
698
|
-
/*@__PURE__*/
|
|
699
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 6)
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* @generated from message ProductResponse.OptionData
|
|
703
|
-
*/
|
|
704
|
-
export type ProductResponse_OptionData =
|
|
705
|
-
Message<'ProductResponse.OptionData'> & {
|
|
706
|
-
/**
|
|
707
|
-
* @generated from field: string id = 1;
|
|
708
|
-
*/
|
|
709
|
-
id: string
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* @generated from field: string title = 2;
|
|
713
|
-
*/
|
|
714
|
-
title: string
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* @generated from field: repeated ProductResponse.Value option_values = 3;
|
|
718
|
-
*/
|
|
719
|
-
optionValues: ProductResponse_Value[]
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* @generated from field: string product_id = 4;
|
|
723
|
-
*/
|
|
724
|
-
productId: string
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Describes the message ProductResponse.OptionData.
|
|
729
|
-
* Use `create(ProductResponse_OptionDataSchema)` to create a new message.
|
|
730
|
-
*/
|
|
731
|
-
export const ProductResponse_OptionDataSchema: GenMessage<ProductResponse_OptionData> =
|
|
732
|
-
/*@__PURE__*/
|
|
733
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 7)
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* @generated from message ProductResponse.Option
|
|
737
|
-
*/
|
|
738
|
-
export type ProductResponse_Option = Message<'ProductResponse.Option'> & {
|
|
739
|
-
/**
|
|
740
|
-
* @generated from field: string id = 1;
|
|
741
|
-
*/
|
|
742
|
-
id: string
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* @generated from field: string value = 2;
|
|
746
|
-
*/
|
|
747
|
-
value: string
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* @generated from field: string product_id = 3;
|
|
751
|
-
*/
|
|
752
|
-
productId: string
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* @generated from field: ProductResponse.OptionData option = 4;
|
|
756
|
-
*/
|
|
757
|
-
option?: ProductResponse_OptionData
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* @generated from field: repeated ProductResponse.Value values = 5;
|
|
761
|
-
*/
|
|
762
|
-
values: ProductResponse_Value[]
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* Describes the message ProductResponse.Option.
|
|
767
|
-
* Use `create(ProductResponse_OptionSchema)` to create a new message.
|
|
768
|
-
*/
|
|
769
|
-
export const ProductResponse_OptionSchema: GenMessage<ProductResponse_Option> =
|
|
770
|
-
/*@__PURE__*/
|
|
771
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 8)
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* @generated from message ProductResponse.ProductVariant
|
|
775
|
-
*/
|
|
776
|
-
export type ProductResponse_ProductVariant =
|
|
777
|
-
Message<'ProductResponse.ProductVariant'> & {
|
|
778
|
-
/**
|
|
779
|
-
* @generated from field: string id = 1;
|
|
780
|
-
*/
|
|
781
|
-
id: string
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* @generated from field: string title = 2;
|
|
785
|
-
*/
|
|
786
|
-
title: string
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* @generated from field: string sku = 3;
|
|
790
|
-
*/
|
|
791
|
-
sku: string
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* @generated from field: string barcode = 4;
|
|
795
|
-
*/
|
|
796
|
-
barcode: string
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* @generated from field: string ean = 5;
|
|
800
|
-
*/
|
|
801
|
-
ean: string
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* @generated from field: string upc = 6;
|
|
805
|
-
*/
|
|
806
|
-
upc: string
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* @generated from field: bool allow_backorder = 7;
|
|
810
|
-
*/
|
|
811
|
-
allowBackorder: boolean
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* @generated from field: bool is_managed_inventory = 8;
|
|
815
|
-
*/
|
|
816
|
-
isManagedInventory: boolean
|
|
817
|
-
|
|
818
|
-
/**
|
|
819
|
-
* @generated from field: string hs_code = 9;
|
|
820
|
-
*/
|
|
821
|
-
hsCode: string
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
* @generated from field: string origin_country = 10;
|
|
825
|
-
*/
|
|
826
|
-
originCountry: string
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* @generated from field: string mid_code = 11;
|
|
830
|
-
*/
|
|
831
|
-
midCode: string
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* @generated from field: string material = 12;
|
|
835
|
-
*/
|
|
836
|
-
material: string
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* @generated from field: float weight = 13;
|
|
840
|
-
*/
|
|
841
|
-
weight: number
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* @generated from field: float length = 14;
|
|
845
|
-
*/
|
|
846
|
-
length: number
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* @generated from field: float height = 15;
|
|
850
|
-
*/
|
|
851
|
-
height: number
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* @generated from field: float width = 16;
|
|
855
|
-
*/
|
|
856
|
-
width: number
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* @generated from field: string thumbnail = 17;
|
|
860
|
-
*/
|
|
861
|
-
thumbnail: string
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* @generated from field: string product_id = 18;
|
|
865
|
-
*/
|
|
866
|
-
productId: string
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* @generated from field: ProductResponse.ProductVariant.CalculatedPrice calculated_price = 19;
|
|
870
|
-
*/
|
|
871
|
-
calculatedPrice?: ProductResponse_ProductVariant_CalculatedPrice
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* @generated from field: repeated ProductResponse.ProductVariant.InventoryItem inventory_items = 20;
|
|
875
|
-
*/
|
|
876
|
-
inventoryItems: ProductResponse_ProductVariant_InventoryItem[]
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* @generated from field: repeated ProductResponse.Image images = 21;
|
|
880
|
-
*/
|
|
881
|
-
images: ProductResponse_Image[]
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* @generated from field: repeated ProductResponse.ProductVariant.Option options = 22;
|
|
885
|
-
*/
|
|
886
|
-
options: ProductResponse_ProductVariant_Option[]
|
|
887
|
-
|
|
888
|
-
/**
|
|
889
|
-
* @generated from field: repeated ProductResponse.ProductVariant.Price prices = 23;
|
|
890
|
-
*/
|
|
891
|
-
prices: ProductResponse_ProductVariant_Price[]
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
* Describes the message ProductResponse.ProductVariant.
|
|
896
|
-
* Use `create(ProductResponse_ProductVariantSchema)` to create a new message.
|
|
897
|
-
*/
|
|
898
|
-
export const ProductResponse_ProductVariantSchema: GenMessage<ProductResponse_ProductVariant> =
|
|
899
|
-
/*@__PURE__*/
|
|
900
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9)
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* @generated from message ProductResponse.ProductVariant.Price
|
|
904
|
-
*/
|
|
905
|
-
export type ProductResponse_ProductVariant_Price =
|
|
906
|
-
Message<'ProductResponse.ProductVariant.Price'> & {
|
|
907
|
-
/**
|
|
908
|
-
* @generated from field: string currency_code = 1;
|
|
909
|
-
*/
|
|
910
|
-
currencyCode: string
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
* @generated from field: float amount = 3;
|
|
914
|
-
*/
|
|
915
|
-
amount: number
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* @generated from field: float raw_amount = 4;
|
|
919
|
-
*/
|
|
920
|
-
rawAmount: number
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* @generated from field: string title = 5;
|
|
924
|
-
*/
|
|
925
|
-
title: string
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* @generated from field: string id = 6;
|
|
929
|
-
*/
|
|
930
|
-
id: string
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
* @generated from field: int32 max_quantity = 7;
|
|
934
|
-
*/
|
|
935
|
-
maxQuantity: number
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* @generated from field: int32 min_quantity = 8;
|
|
939
|
-
*/
|
|
940
|
-
minQuantity: number
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* @generated from field: string price_set_id = 9;
|
|
944
|
-
*/
|
|
945
|
-
priceSetId: string
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* @generated from field: repeated ProductResponse.ProductVariant.Price.Rule rules = 10;
|
|
949
|
-
*/
|
|
950
|
-
rules: ProductResponse_ProductVariant_Price_Rule[]
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
/**
|
|
954
|
-
* Describes the message ProductResponse.ProductVariant.Price.
|
|
955
|
-
* Use `create(ProductResponse_ProductVariant_PriceSchema)` to create a new message.
|
|
956
|
-
*/
|
|
957
|
-
export const ProductResponse_ProductVariant_PriceSchema: GenMessage<ProductResponse_ProductVariant_Price> =
|
|
958
|
-
/*@__PURE__*/
|
|
959
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 0)
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* @generated from message ProductResponse.ProductVariant.Price.Rule
|
|
963
|
-
*/
|
|
964
|
-
export type ProductResponse_ProductVariant_Price_Rule =
|
|
965
|
-
Message<'ProductResponse.ProductVariant.Price.Rule'> & {
|
|
966
|
-
/**
|
|
967
|
-
* @generated from field: string entity_id = 1;
|
|
968
|
-
*/
|
|
969
|
-
entityId: string
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* @generated from field: ProductResponse.ProductVariant.Price.Rule.Type entity_type = 2;
|
|
973
|
-
*/
|
|
974
|
-
entityType: ProductResponse_ProductVariant_Price_Rule_Type
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* Describes the message ProductResponse.ProductVariant.Price.Rule.
|
|
979
|
-
* Use `create(ProductResponse_ProductVariant_Price_RuleSchema)` to create a new message.
|
|
980
|
-
*/
|
|
981
|
-
export const ProductResponse_ProductVariant_Price_RuleSchema: GenMessage<ProductResponse_ProductVariant_Price_Rule> =
|
|
982
|
-
/*@__PURE__*/
|
|
983
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 0, 0)
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* @generated from enum ProductResponse.ProductVariant.Price.Rule.Type
|
|
987
|
-
*/
|
|
988
|
-
export enum ProductResponse_ProductVariant_Price_Rule_Type {
|
|
989
|
-
/**
|
|
990
|
-
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
991
|
-
*/
|
|
992
|
-
UNSPECIFIED = 0,
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* @generated from enum value: TYPE_REGION = 1;
|
|
996
|
-
*/
|
|
997
|
-
REGION = 1,
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* @generated from enum value: TYPE_CUSTOMER_GROUP = 2;
|
|
1001
|
-
*/
|
|
1002
|
-
CUSTOMER_GROUP = 2,
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* Describes the enum ProductResponse.ProductVariant.Price.Rule.Type.
|
|
1007
|
-
*/
|
|
1008
|
-
export const ProductResponse_ProductVariant_Price_Rule_TypeSchema: GenEnum<ProductResponse_ProductVariant_Price_Rule_Type> =
|
|
1009
|
-
/*@__PURE__*/
|
|
1010
|
-
enumDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 0, 0, 0)
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* @generated from message ProductResponse.ProductVariant.Option
|
|
1014
|
-
*/
|
|
1015
|
-
export type ProductResponse_ProductVariant_Option =
|
|
1016
|
-
Message<'ProductResponse.ProductVariant.Option'> & {
|
|
1017
|
-
/**
|
|
1018
|
-
* @generated from field: string id = 1;
|
|
1019
|
-
*/
|
|
1020
|
-
id: string
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* @generated from field: string value = 2;
|
|
1024
|
-
*/
|
|
1025
|
-
value: string
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* @generated from field: string option_id = 3;
|
|
1029
|
-
*/
|
|
1030
|
-
optionId: string
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* @generated from field: ProductResponse.OptionData option = 4;
|
|
1034
|
-
*/
|
|
1035
|
-
option?: ProductResponse_OptionData
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* Describes the message ProductResponse.ProductVariant.Option.
|
|
1040
|
-
* Use `create(ProductResponse_ProductVariant_OptionSchema)` to create a new message.
|
|
1041
|
-
*/
|
|
1042
|
-
export const ProductResponse_ProductVariant_OptionSchema: GenMessage<ProductResponse_ProductVariant_Option> =
|
|
1043
|
-
/*@__PURE__*/
|
|
1044
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 1)
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* @generated from message ProductResponse.ProductVariant.InventoryItem
|
|
1048
|
-
*/
|
|
1049
|
-
export type ProductResponse_ProductVariant_InventoryItem =
|
|
1050
|
-
Message<'ProductResponse.ProductVariant.InventoryItem'> & {
|
|
1051
|
-
/**
|
|
1052
|
-
* @generated from field: string id = 1;
|
|
1053
|
-
*/
|
|
1054
|
-
id: string
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* @generated from field: int32 required_quantity = 2;
|
|
1058
|
-
*/
|
|
1059
|
-
requiredQuantity: number
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* @generated from field: string variant_id = 3;
|
|
1063
|
-
*/
|
|
1064
|
-
variantId: string
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* @generated from field: string inventory_item_id = 4;
|
|
1068
|
-
*/
|
|
1069
|
-
inventoryItemId: string
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* @generated from field: ProductResponse.ProductVariant.InventoryItem.InventoryItemData inventory = 5;
|
|
1073
|
-
*/
|
|
1074
|
-
inventory?: ProductResponse_ProductVariant_InventoryItem_InventoryItemData
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
* Describes the message ProductResponse.ProductVariant.InventoryItem.
|
|
1079
|
-
* Use `create(ProductResponse_ProductVariant_InventoryItemSchema)` to create a new message.
|
|
1080
|
-
*/
|
|
1081
|
-
export const ProductResponse_ProductVariant_InventoryItemSchema: GenMessage<ProductResponse_ProductVariant_InventoryItem> =
|
|
1082
|
-
/*@__PURE__*/
|
|
1083
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 2)
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* @generated from message ProductResponse.ProductVariant.InventoryItem.InventoryItemData
|
|
1087
|
-
*/
|
|
1088
|
-
export type ProductResponse_ProductVariant_InventoryItem_InventoryItemData =
|
|
1089
|
-
Message<'ProductResponse.ProductVariant.InventoryItem.InventoryItemData'> & {
|
|
1090
|
-
/**
|
|
1091
|
-
* @generated from field: string id = 1;
|
|
1092
|
-
*/
|
|
1093
|
-
id: string
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* @generated from field: bool requires_shipping = 2;
|
|
1097
|
-
*/
|
|
1098
|
-
requiresShipping: boolean
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* @generated from field: string sku = 3;
|
|
1102
|
-
*/
|
|
1103
|
-
sku: string
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
* @generated from field: string origin_country = 4;
|
|
1107
|
-
*/
|
|
1108
|
-
originCountry: string
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* @generated from field: string hs_code = 5;
|
|
1112
|
-
*/
|
|
1113
|
-
hsCode: string
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* @generated from field: string mid_code = 6;
|
|
1117
|
-
*/
|
|
1118
|
-
midCode: string
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* @generated from field: string material = 7;
|
|
1122
|
-
*/
|
|
1123
|
-
material: string
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* @generated from field: string title = 8;
|
|
1127
|
-
*/
|
|
1128
|
-
title: string
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* @generated from field: string description = 9;
|
|
1132
|
-
*/
|
|
1133
|
-
description: string
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* @generated from field: string thumbnail = 10;
|
|
1137
|
-
*/
|
|
1138
|
-
thumbnail: string
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* @generated from field: float weight = 11;
|
|
1142
|
-
*/
|
|
1143
|
-
weight: number
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* @generated from field: float length = 12;
|
|
1147
|
-
*/
|
|
1148
|
-
length: number
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* @generated from field: float width = 13;
|
|
1152
|
-
*/
|
|
1153
|
-
width: number
|
|
1154
|
-
|
|
1155
|
-
/**
|
|
1156
|
-
* @generated from field: float height = 14;
|
|
1157
|
-
*/
|
|
1158
|
-
height: number
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* Describes the message ProductResponse.ProductVariant.InventoryItem.InventoryItemData.
|
|
1163
|
-
* Use `create(ProductResponse_ProductVariant_InventoryItem_InventoryItemDataSchema)` to create a new message.
|
|
1164
|
-
*/
|
|
1165
|
-
export const ProductResponse_ProductVariant_InventoryItem_InventoryItemDataSchema: GenMessage<ProductResponse_ProductVariant_InventoryItem_InventoryItemData> =
|
|
1166
|
-
/*@__PURE__*/
|
|
1167
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 2, 0)
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
* @generated from message ProductResponse.ProductVariant.CalculatedPrice
|
|
1171
|
-
*/
|
|
1172
|
-
export type ProductResponse_ProductVariant_CalculatedPrice =
|
|
1173
|
-
Message<'ProductResponse.ProductVariant.CalculatedPrice'> & {
|
|
1174
|
-
/**
|
|
1175
|
-
* @generated from field: string id = 1;
|
|
1176
|
-
*/
|
|
1177
|
-
id: string
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* @generated from field: float calculated_amount = 2;
|
|
1181
|
-
*/
|
|
1182
|
-
calculatedAmount: number
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* @generated from field: float original_amount = 3;
|
|
1186
|
-
*/
|
|
1187
|
-
originalAmount: number
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* @generated from field: string currency_code = 4;
|
|
1191
|
-
*/
|
|
1192
|
-
currencyCode: string
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* @generated from field: float original_amount_with_tax = 5;
|
|
1196
|
-
*/
|
|
1197
|
-
originalAmountWithTax: number
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* @generated from field: float original_amount_without_tax = 6;
|
|
1201
|
-
*/
|
|
1202
|
-
originalAmountWithoutTax: number
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* @generated from field: optional float is_calculated_price_price_list = 7;
|
|
1206
|
-
*/
|
|
1207
|
-
isCalculatedPricePriceList?: number
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* @generated from field: optional bool is_calculated_price_tax_inclusive = 8;
|
|
1211
|
-
*/
|
|
1212
|
-
isCalculatedPriceTaxInclusive?: boolean
|
|
1213
|
-
|
|
1214
|
-
/**
|
|
1215
|
-
* @generated from field: optional float calculated_amount_with_tax = 9;
|
|
1216
|
-
*/
|
|
1217
|
-
calculatedAmountWithTax?: number
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* @generated from field: optional float calculated_amount_without_tax = 10;
|
|
1221
|
-
*/
|
|
1222
|
-
calculatedAmountWithoutTax?: number
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* @generated from field: optional bool is_original_price_price_list = 11;
|
|
1226
|
-
*/
|
|
1227
|
-
isOriginalPricePriceList?: boolean
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* @generated from field: optional bool is_original_price_tax_inclusive = 12;
|
|
1231
|
-
*/
|
|
1232
|
-
isOriginalPriceTaxInclusive?: boolean
|
|
1233
|
-
|
|
1234
|
-
/**
|
|
1235
|
-
* @generated from field: optional ProductResponse.ProductVariant.Price calculated_price = 13;
|
|
1236
|
-
*/
|
|
1237
|
-
calculatedPrice?: ProductResponse_ProductVariant_Price
|
|
1238
|
-
|
|
1239
|
-
/**
|
|
1240
|
-
* @generated from field: optional ProductResponse.ProductVariant.Price original_price = 14;
|
|
1241
|
-
*/
|
|
1242
|
-
originalPrice?: ProductResponse_ProductVariant_Price
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* Describes the message ProductResponse.ProductVariant.CalculatedPrice.
|
|
1247
|
-
* Use `create(ProductResponse_ProductVariant_CalculatedPriceSchema)` to create a new message.
|
|
1248
|
-
*/
|
|
1249
|
-
export const ProductResponse_ProductVariant_CalculatedPriceSchema: GenMessage<ProductResponse_ProductVariant_CalculatedPrice> =
|
|
1250
|
-
/*@__PURE__*/
|
|
1251
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 9, 3)
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* @generated from message ProductResponse.ShippingProfile
|
|
1255
|
-
*/
|
|
1256
|
-
export type ProductResponse_ShippingProfile =
|
|
1257
|
-
Message<'ProductResponse.ShippingProfile'> & {
|
|
1258
|
-
/**
|
|
1259
|
-
* @generated from field: string id = 1;
|
|
1260
|
-
*/
|
|
1261
|
-
id: string
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
* @generated from field: string name = 2;
|
|
1265
|
-
*/
|
|
1266
|
-
name: string
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
* @generated from field: string type = 3;
|
|
1270
|
-
*/
|
|
1271
|
-
type: string
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* @generated from field: map<string, string> metadata = 4;
|
|
1275
|
-
*/
|
|
1276
|
-
metadata: { [key: string]: string }
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* Describes the message ProductResponse.ShippingProfile.
|
|
1281
|
-
* Use `create(ProductResponse_ShippingProfileSchema)` to create a new message.
|
|
1282
|
-
*/
|
|
1283
|
-
export const ProductResponse_ShippingProfileSchema: GenMessage<ProductResponse_ShippingProfile> =
|
|
1284
|
-
/*@__PURE__*/
|
|
1285
|
-
messageDesc(file_src_proto_products_v1_entities_product_shared, 2, 10)
|
|
1286
|
-
|
|
1287
|
-
/**
|
|
1288
|
-
* @generated from enum ProductStatus
|
|
1289
|
-
*/
|
|
1290
|
-
export enum ProductStatus {
|
|
1291
|
-
/**
|
|
1292
|
-
* @generated from enum value: DRAFT = 0;
|
|
1293
|
-
*/
|
|
1294
|
-
DRAFT = 0,
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* @generated from enum value: PROPOSED = 1;
|
|
1298
|
-
*/
|
|
1299
|
-
PROPOSED = 1,
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1302
|
-
* @generated from enum value: PUBLISHED = 2;
|
|
1303
|
-
*/
|
|
1304
|
-
PUBLISHED = 2,
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* @generated from enum value: REJECTED = 3;
|
|
1308
|
-
*/
|
|
1309
|
-
REJECTED = 3,
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
* Describes the enum ProductStatus.
|
|
1314
|
-
*/
|
|
1315
|
-
export const ProductStatusSchema: GenEnum<ProductStatus> =
|
|
1316
|
-
/*@__PURE__*/
|
|
1317
|
-
enumDesc(file_src_proto_products_v1_entities_product_shared, 0)
|