@paakd/api 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/buf/validate/validate_pb.ts +5001 -0
  2. package/dist/gen/buf/validate/validate_pb.d.ts +4634 -0
  3. package/dist/gen/buf/validate/validate_pb.d.ts.map +1 -0
  4. package/dist/gen/buf/validate/validate_pb.js +414 -0
  5. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts +268 -0
  6. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts.map +1 -0
  7. package/dist/gen/src/proto/auth/v1/entities/auth_pb.js +120 -0
  8. package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts +235 -0
  9. package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts.map +1 -0
  10. package/dist/gen/src/proto/auth/v1/entities/policy_pb.js +98 -0
  11. package/dist/gen/src/proto/auth/v1/service_pb.d.ts +117 -0
  12. package/dist/gen/src/proto/auth/v1/service_pb.d.ts.map +1 -0
  13. package/dist/gen/src/proto/auth/v1/service_pb.js +22 -0
  14. package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts +371 -0
  15. package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts.map +1 -0
  16. package/dist/gen/src/proto/customers/v1/entities/address_pb.js +84 -0
  17. package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts +189 -0
  18. package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts.map +1 -0
  19. package/dist/gen/src/proto/customers/v1/entities/profile_pb.js +70 -0
  20. package/dist/gen/src/proto/customers/v1/service_pb.d.ts +85 -0
  21. package/dist/gen/src/proto/customers/v1/service_pb.d.ts.map +1 -0
  22. package/dist/gen/src/proto/customers/v1/service_pb.js +22 -0
  23. package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts +234 -0
  24. package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts.map +1 -0
  25. package/dist/gen/src/proto/products/v1/entities/category_pb.js +84 -0
  26. package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts +159 -0
  27. package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts.map +1 -0
  28. package/dist/gen/src/proto/products/v1/entities/collection_pb.js +70 -0
  29. package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts +146 -0
  30. package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts.map +1 -0
  31. package/dist/gen/src/proto/products/v1/entities/product/create_pb.js +32 -0
  32. package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts +50 -0
  33. package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts.map +1 -0
  34. package/dist/gen/src/proto/products/v1/entities/product/option_pb.js +32 -0
  35. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts +1042 -0
  36. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts.map +1 -0
  37. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.js +258 -0
  38. package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts +236 -0
  39. package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts.map +1 -0
  40. package/dist/gen/src/proto/products/v1/entities/product/update_pb.js +88 -0
  41. package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts +175 -0
  42. package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts.map +1 -0
  43. package/dist/gen/src/proto/products/v1/entities/tag_pb.js +84 -0
  44. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts +477 -0
  45. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts.map +1 -0
  46. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.js +235 -0
  47. package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts +158 -0
  48. package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts.map +1 -0
  49. package/dist/gen/src/proto/products/v1/entities/type_pb.js +70 -0
  50. package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts +489 -0
  51. package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts.map +1 -0
  52. package/dist/gen/src/proto/products/v1/entities/variant_pb.js +147 -0
  53. package/dist/gen/src/proto/products/v1/service_pb.d.ts +316 -0
  54. package/dist/gen/src/proto/products/v1/service_pb.d.ts.map +1 -0
  55. package/dist/gen/src/proto/products/v1/service_pb.js +36 -0
  56. package/dist/src/address.d.ts +53 -0
  57. package/dist/src/address.d.ts.map +1 -0
  58. package/dist/src/address.js +233 -0
  59. package/dist/src/address.spec.d.ts +2 -0
  60. package/dist/src/address.spec.d.ts.map +1 -0
  61. package/dist/src/address.spec.js +488 -0
  62. package/dist/src/auth.d.ts +27 -0
  63. package/dist/src/auth.d.ts.map +1 -0
  64. package/dist/src/auth.js +155 -0
  65. package/dist/src/auth.spec.d.ts +2 -0
  66. package/dist/src/auth.spec.d.ts.map +1 -0
  67. package/dist/src/auth.spec.js +582 -0
  68. package/dist/src/compressor/brotli.d.ts +3 -0
  69. package/dist/src/compressor/brotli.d.ts.map +1 -0
  70. package/dist/src/compressor/brotli.js +30 -0
  71. package/dist/src/index.d.ts +6 -0
  72. package/dist/src/index.d.ts.map +1 -0
  73. package/dist/src/interceptors.d.ts +16 -0
  74. package/dist/src/interceptors.d.ts.map +1 -0
  75. package/dist/src/interceptors.js +156 -0
  76. package/dist/src/interceptors.spec.d.ts +2 -0
  77. package/dist/src/interceptors.spec.d.ts.map +1 -0
  78. package/dist/src/interceptors.spec.js +1063 -0
  79. package/dist/src/policies.d.ts +217 -0
  80. package/dist/src/policies.d.ts.map +1 -0
  81. package/dist/src/policies.js +322 -0
  82. package/dist/src/policies.spec.d.ts +2 -0
  83. package/dist/src/policies.spec.d.ts.map +1 -0
  84. package/dist/src/policies.spec.js +463 -0
  85. package/dist/src/products.d.ts +39 -0
  86. package/dist/src/products.d.ts.map +1 -0
  87. package/dist/src/products.js +95 -0
  88. package/dist/src/products.spec.d.ts +2 -0
  89. package/dist/src/products.spec.d.ts.map +1 -0
  90. package/dist/src/products.spec.js +519 -0
  91. package/dist/src/profile.d.ts +62 -0
  92. package/dist/src/profile.d.ts.map +1 -0
  93. package/dist/src/profile.js +151 -0
  94. package/dist/src/profile.spec.d.ts +2 -0
  95. package/dist/src/profile.spec.d.ts.map +1 -0
  96. package/dist/src/profile.spec.js +475 -0
  97. package/dist/src/registration.d.ts +60 -0
  98. package/dist/src/registration.d.ts.map +1 -0
  99. package/dist/src/registration.js +147 -0
  100. package/dist/src/test-utils.d.ts +87 -0
  101. package/dist/src/test-utils.d.ts.map +1 -0
  102. package/dist/src/test-utils.js +132 -0
  103. package/gen/buf/validate/validate_pb.ts +4799 -0
  104. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +454 -0
  105. package/gen/src/proto/auth/v1/entities/auth.pb.go +818 -0
  106. package/gen/src/proto/auth/v1/entities/auth_pb.ts +348 -0
  107. package/gen/src/proto/auth/v1/entities/policy.pb.go +727 -0
  108. package/gen/src/proto/auth/v1/entities/policy_pb.ts +306 -0
  109. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +70 -0
  110. package/gen/src/proto/auth/v1/service.pb.go +119 -0
  111. package/gen/src/proto/auth/v1/service_pb.ts +152 -0
  112. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +358 -0
  113. package/gen/src/proto/customers/v1/entities/address.pb.go +1073 -0
  114. package/gen/src/proto/customers/v1/entities/address_pb.ts +478 -0
  115. package/gen/src/proto/customers/v1/entities/profile.pb.go +633 -0
  116. package/gen/src/proto/customers/v1/entities/profile_pb.ts +252 -0
  117. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +50 -0
  118. package/gen/src/proto/customers/v1/service.pb.go +110 -0
  119. package/gen/src/proto/customers/v1/service_pb.ts +121 -0
  120. package/gen/src/proto/files/v1/entities/file.pb.go +669 -0
  121. package/gen/src/proto/files/v1/entities/file_pb.ts +265 -0
  122. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +200 -0
  123. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +25 -0
  124. package/gen/src/proto/files/v1/service.pb.go +85 -0
  125. package/gen/src/proto/files/v1/service_pb.ts +65 -0
  126. package/gen/src/proto/products/v1/entities/category.pb.go +744 -0
  127. package/gen/src/proto/products/v1/entities/category_pb.ts +318 -0
  128. package/gen/src/proto/products/v1/entities/collection.pb.go +528 -0
  129. package/gen/src/proto/products/v1/entities/collection_pb.ts +214 -0
  130. package/gen/src/proto/products/v1/entities/product/create.pb.go +453 -0
  131. package/gen/src/proto/products/v1/entities/product/create_pb.ts +199 -0
  132. package/gen/src/proto/products/v1/entities/product/option.pb.go +206 -0
  133. package/gen/src/proto/products/v1/entities/product/option_pb.ts +74 -0
  134. package/gen/src/proto/products/v1/entities/product/shared.pb.go +2890 -0
  135. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +1317 -0
  136. package/gen/src/proto/products/v1/entities/product/update.pb.go +794 -0
  137. package/gen/src/proto/products/v1/entities/product/update_pb.ts +325 -0
  138. package/gen/src/proto/products/v1/entities/tag.pb.go +610 -0
  139. package/gen/src/proto/products/v1/entities/tag_pb.ts +233 -0
  140. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +1352 -0
  141. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +606 -0
  142. package/gen/src/proto/products/v1/entities/type.pb.go +553 -0
  143. package/gen/src/proto/products/v1/entities/type_pb.ts +215 -0
  144. package/gen/src/proto/products/v1/entities/variant.pb.go +1474 -0
  145. package/gen/src/proto/products/v1/entities/variant_pb.ts +629 -0
  146. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +1195 -0
  147. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +199 -0
  148. package/gen/src/proto/products/v1/service.pb.go +250 -0
  149. package/gen/src/proto/products/v1/service_pb.ts +429 -0
  150. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +1229 -0
  151. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +511 -0
  152. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +289 -0
  153. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +42 -0
  154. package/gen/src/proto/promotions/v1/service.pb.go +98 -0
  155. package/gen/src/proto/promotions/v1/service_pb.ts +95 -0
  156. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +1499 -0
  157. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +655 -0
  158. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +41 -0
  159. package/gen/src/proto/stocknodes/v1/service.pb.go +98 -0
  160. package/gen/src/proto/stocknodes/v1/service_pb.ts +95 -0
  161. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +297 -0
  162. package/package.json +5 -2
  163. package/src/address.spec.ts +0 -662
  164. package/src/address.ts +0 -300
  165. package/src/auth.spec.ts +0 -771
  166. package/src/auth.ts +0 -168
  167. package/src/compressor/brotli.ts +0 -26
  168. package/src/index.ts +0 -5
  169. package/src/interceptors.spec.ts +0 -1343
  170. package/src/interceptors.ts +0 -224
  171. package/src/policies.spec.ts +0 -595
  172. package/src/policies.ts +0 -431
  173. package/src/products.spec.ts +0 -710
  174. package/src/products.ts +0 -112
  175. package/src/profile.spec.ts +0 -626
  176. package/src/profile.ts +0 -169
  177. package/src/proto/auth/v1/entities/auth.proto +0 -140
  178. package/src/proto/auth/v1/entities/policy.proto +0 -57
  179. package/src/proto/auth/v1/service.proto +0 -26
  180. package/src/proto/customers/v1/entities/address.proto +0 -101
  181. package/src/proto/customers/v1/entities/profile.proto +0 -118
  182. package/src/proto/customers/v1/service.proto +0 -36
  183. package/src/proto/files/v1/entities/file.proto +0 -62
  184. package/src/proto/files/v1/service.proto +0 -19
  185. package/src/proto/products/v1/entities/category.proto +0 -98
  186. package/src/proto/products/v1/entities/collection.proto +0 -72
  187. package/src/proto/products/v1/entities/product/create.proto +0 -41
  188. package/src/proto/products/v1/entities/product/option.proto +0 -17
  189. package/src/proto/products/v1/entities/product/shared.proto +0 -255
  190. package/src/proto/products/v1/entities/product/update.proto +0 -66
  191. package/src/proto/products/v1/entities/tag.proto +0 -73
  192. package/src/proto/products/v1/entities/taxonomy.proto +0 -146
  193. package/src/proto/products/v1/entities/type.proto +0 -98
  194. package/src/proto/products/v1/entities/variant.proto +0 -127
  195. package/src/proto/products/v1/service.proto +0 -78
  196. package/src/proto/promotions/v1/entities/campaign.proto +0 -145
  197. package/src/proto/promotions/v1/service.proto +0 -17
  198. package/src/proto/stocknodes/v1/entities/stocknode.proto +0 -167
  199. package/src/proto/stocknodes/v1/service.proto +0 -21
  200. package/src/registration.ts +0 -170
  201. package/src/test-utils.ts +0 -176
@@ -0,0 +1,629 @@
1
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
2
+ // @generated from file src/proto/products/v1/entities/variant.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 { ProductResponse, Variant } from './product/shared_pb'
9
+ import { file_src_proto_products_v1_entities_product_shared } from './product/shared_pb'
10
+ import type { Message } from '@bufbuild/protobuf'
11
+
12
+ /**
13
+ * Describes the file src/proto/products/v1/entities/variant.proto.
14
+ */
15
+ export const file_src_proto_products_v1_entities_variant: GenFile =
16
+ /*@__PURE__*/
17
+ fileDesc(
18
+ 'CixzcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvdmFyaWFudC5wcm90byJ9CiJBc3NvY2lhdGVWYXJpYW50VG9JbnZlbnRvcnlSZXF1ZXN0EhIKCnZhcmlhbnRfaWQYASABKAkSFAoMaW52ZW50b3J5X2lkGAIgASgJEhIKCnByb2R1Y3RfaWQYAyABKAkSGQoRcmVxdWlyZWRfcXVhbnRpdHkYBCABKAUiQAojQXNzb2NpYXRlVmFyaWFudFRvSW52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1_entities_product_shared,
22
+ ]
23
+ )
24
+
25
+ /**
26
+ * @generated from message AssociateVariantToInventoryRequest
27
+ */
28
+ export type AssociateVariantToInventoryRequest =
29
+ Message<'AssociateVariantToInventoryRequest'> & {
30
+ /**
31
+ * @generated from field: string variant_id = 1;
32
+ */
33
+ variantId: string
34
+
35
+ /**
36
+ * @generated from field: string inventory_id = 2;
37
+ */
38
+ inventoryId: string
39
+
40
+ /**
41
+ * @generated from field: string product_id = 3;
42
+ */
43
+ productId: string
44
+
45
+ /**
46
+ * @generated from field: int32 required_quantity = 4;
47
+ */
48
+ requiredQuantity: number
49
+ }
50
+
51
+ /**
52
+ * Describes the message AssociateVariantToInventoryRequest.
53
+ * Use `create(AssociateVariantToInventoryRequestSchema)` to create a new message.
54
+ */
55
+ export const AssociateVariantToInventoryRequestSchema: GenMessage<AssociateVariantToInventoryRequest> =
56
+ /*@__PURE__*/
57
+ messageDesc(file_src_proto_products_v1_entities_variant, 0)
58
+
59
+ /**
60
+ * @generated from message AssociateVariantToInventoryResponse
61
+ */
62
+ export type AssociateVariantToInventoryResponse =
63
+ Message<'AssociateVariantToInventoryResponse'> & {
64
+ /**
65
+ * @generated from field: Variant variant = 1;
66
+ */
67
+ variant?: Variant
68
+ }
69
+
70
+ /**
71
+ * Describes the message AssociateVariantToInventoryResponse.
72
+ * Use `create(AssociateVariantToInventoryResponseSchema)` to create a new message.
73
+ */
74
+ export const AssociateVariantToInventoryResponseSchema: GenMessage<AssociateVariantToInventoryResponse> =
75
+ /*@__PURE__*/
76
+ messageDesc(file_src_proto_products_v1_entities_variant, 1)
77
+
78
+ /**
79
+ * @generated from message CreateVariantRequest
80
+ */
81
+ export type CreateVariantRequest = Message<'CreateVariantRequest'> & {
82
+ /**
83
+ * @generated from field: string product_id = 1;
84
+ */
85
+ productId: string
86
+
87
+ /**
88
+ * @generated from field: optional string sku = 2;
89
+ */
90
+ sku?: string
91
+
92
+ /**
93
+ * @generated from field: string title = 3;
94
+ */
95
+ title: string
96
+
97
+ /**
98
+ * @generated from field: optional string ean = 4;
99
+ */
100
+ ean?: string
101
+
102
+ /**
103
+ * @generated from field: optional string upc = 5;
104
+ */
105
+ upc?: string
106
+
107
+ /**
108
+ * @generated from field: optional string barcode = 6;
109
+ */
110
+ barcode?: string
111
+
112
+ /**
113
+ * @generated from field: optional string hs_code = 7;
114
+ */
115
+ hsCode?: string
116
+
117
+ /**
118
+ * @generated from field: optional string mid_code = 8;
119
+ */
120
+ midCode?: string
121
+
122
+ /**
123
+ * @generated from field: optional bool allow_backorder = 9;
124
+ */
125
+ allowBackorder?: boolean
126
+
127
+ /**
128
+ * @generated from field: optional bool is_managed_inventory = 10;
129
+ */
130
+ isManagedInventory?: boolean
131
+
132
+ /**
133
+ * @generated from field: optional int32 rank = 11;
134
+ */
135
+ rank?: number
136
+
137
+ /**
138
+ * @generated from field: optional float weight = 12;
139
+ */
140
+ weight?: number
141
+
142
+ /**
143
+ * @generated from field: optional float length = 13;
144
+ */
145
+ length?: number
146
+
147
+ /**
148
+ * @generated from field: optional float height = 14;
149
+ */
150
+ height?: number
151
+
152
+ /**
153
+ * @generated from field: optional float width = 15;
154
+ */
155
+ width?: number
156
+
157
+ /**
158
+ * @generated from field: optional string origin_country = 16;
159
+ */
160
+ originCountry?: string
161
+
162
+ /**
163
+ * @generated from field: optional string material = 17;
164
+ */
165
+ material?: string
166
+
167
+ /**
168
+ * @generated from field: map<string, string> options = 18;
169
+ */
170
+ options: { [key: string]: string }
171
+
172
+ /**
173
+ * @generated from field: map<string, string> metadata = 19;
174
+ */
175
+ metadata: { [key: string]: string }
176
+
177
+ /**
178
+ * @generated from field: repeated CreateVariantRequest.Price prices = 20;
179
+ */
180
+ prices: CreateVariantRequest_Price[]
181
+
182
+ /**
183
+ * @generated from field: repeated CreateVariantRequest.InventoryItem inventory_items = 21;
184
+ */
185
+ inventoryItems: CreateVariantRequest_InventoryItem[]
186
+ }
187
+
188
+ /**
189
+ * Describes the message CreateVariantRequest.
190
+ * Use `create(CreateVariantRequestSchema)` to create a new message.
191
+ */
192
+ export const CreateVariantRequestSchema: GenMessage<CreateVariantRequest> =
193
+ /*@__PURE__*/
194
+ messageDesc(file_src_proto_products_v1_entities_variant, 2)
195
+
196
+ /**
197
+ * @generated from message CreateVariantRequest.Price
198
+ */
199
+ export type CreateVariantRequest_Price =
200
+ Message<'CreateVariantRequest.Price'> & {
201
+ /**
202
+ * @generated from field: string currency_code = 1;
203
+ */
204
+ currencyCode: string
205
+
206
+ /**
207
+ * @generated from field: float amount = 2;
208
+ */
209
+ amount: number
210
+
211
+ /**
212
+ * @generated from field: optional int32 min_quantity = 3;
213
+ */
214
+ minQuantity?: number
215
+
216
+ /**
217
+ * @generated from field: optional int32 max_quantity = 4;
218
+ */
219
+ maxQuantity?: number
220
+
221
+ /**
222
+ * @generated from field: repeated CreateVariantRequest.Price.Rule rules = 5;
223
+ */
224
+ rules: CreateVariantRequest_Price_Rule[]
225
+ }
226
+
227
+ /**
228
+ * Describes the message CreateVariantRequest.Price.
229
+ * Use `create(CreateVariantRequest_PriceSchema)` to create a new message.
230
+ */
231
+ export const CreateVariantRequest_PriceSchema: GenMessage<CreateVariantRequest_Price> =
232
+ /*@__PURE__*/
233
+ messageDesc(file_src_proto_products_v1_entities_variant, 2, 0)
234
+
235
+ /**
236
+ * @generated from message CreateVariantRequest.Price.Rule
237
+ */
238
+ export type CreateVariantRequest_Price_Rule =
239
+ Message<'CreateVariantRequest.Price.Rule'> & {
240
+ /**
241
+ * @generated from field: string entity_id = 1;
242
+ */
243
+ entityId: string
244
+
245
+ /**
246
+ * @generated from field: CreateVariantRequest.Price.Rule.Type entity_type = 2;
247
+ */
248
+ entityType: CreateVariantRequest_Price_Rule_Type
249
+ }
250
+
251
+ /**
252
+ * Describes the message CreateVariantRequest.Price.Rule.
253
+ * Use `create(CreateVariantRequest_Price_RuleSchema)` to create a new message.
254
+ */
255
+ export const CreateVariantRequest_Price_RuleSchema: GenMessage<CreateVariantRequest_Price_Rule> =
256
+ /*@__PURE__*/
257
+ messageDesc(file_src_proto_products_v1_entities_variant, 2, 0, 0)
258
+
259
+ /**
260
+ * @generated from enum CreateVariantRequest.Price.Rule.Type
261
+ */
262
+ export enum CreateVariantRequest_Price_Rule_Type {
263
+ /**
264
+ * @generated from enum value: TYPE_UNSPECIFIED = 0;
265
+ */
266
+ UNSPECIFIED = 0,
267
+
268
+ /**
269
+ * @generated from enum value: TYPE_REGION = 1;
270
+ */
271
+ REGION = 1,
272
+
273
+ /**
274
+ * @generated from enum value: TYPE_CUSTOMER_GROUP = 2;
275
+ */
276
+ CUSTOMER_GROUP = 2,
277
+ }
278
+
279
+ /**
280
+ * Describes the enum CreateVariantRequest.Price.Rule.Type.
281
+ */
282
+ export const CreateVariantRequest_Price_Rule_TypeSchema: GenEnum<CreateVariantRequest_Price_Rule_Type> =
283
+ /*@__PURE__*/
284
+ enumDesc(file_src_proto_products_v1_entities_variant, 2, 0, 0, 0)
285
+
286
+ /**
287
+ * @generated from message CreateVariantRequest.InventoryItem
288
+ */
289
+ export type CreateVariantRequest_InventoryItem =
290
+ Message<'CreateVariantRequest.InventoryItem'> & {
291
+ /**
292
+ * @generated from field: string inventory_item_id = 1;
293
+ */
294
+ inventoryItemId: string
295
+
296
+ /**
297
+ * @generated from field: optional int32 required_quantity = 2;
298
+ */
299
+ requiredQuantity?: number
300
+ }
301
+
302
+ /**
303
+ * Describes the message CreateVariantRequest.InventoryItem.
304
+ * Use `create(CreateVariantRequest_InventoryItemSchema)` to create a new message.
305
+ */
306
+ export const CreateVariantRequest_InventoryItemSchema: GenMessage<CreateVariantRequest_InventoryItem> =
307
+ /*@__PURE__*/
308
+ messageDesc(file_src_proto_products_v1_entities_variant, 2, 1)
309
+
310
+ /**
311
+ * @generated from message CreateVariantResponse
312
+ */
313
+ export type CreateVariantResponse = Message<'CreateVariantResponse'> & {
314
+ /**
315
+ * @generated from field: ProductResponse product = 1;
316
+ */
317
+ product?: ProductResponse
318
+ }
319
+
320
+ /**
321
+ * Describes the message CreateVariantResponse.
322
+ * Use `create(CreateVariantResponseSchema)` to create a new message.
323
+ */
324
+ export const CreateVariantResponseSchema: GenMessage<CreateVariantResponse> =
325
+ /*@__PURE__*/
326
+ messageDesc(file_src_proto_products_v1_entities_variant, 3)
327
+
328
+ /**
329
+ * @generated from message PatchVariantImageRequest
330
+ */
331
+ export type PatchVariantImageRequest = Message<'PatchVariantImageRequest'> & {
332
+ /**
333
+ * @generated from field: string product_id = 1;
334
+ */
335
+ productId: string
336
+
337
+ /**
338
+ * @generated from field: string variant_id = 2;
339
+ */
340
+ variantId: string
341
+
342
+ /**
343
+ * @generated from field: repeated string saved_images = 3;
344
+ */
345
+ savedImages: string[]
346
+
347
+ /**
348
+ * @generated from field: repeated string deleted_images = 4;
349
+ */
350
+ deletedImages: string[]
351
+ }
352
+
353
+ /**
354
+ * Describes the message PatchVariantImageRequest.
355
+ * Use `create(PatchVariantImageRequestSchema)` to create a new message.
356
+ */
357
+ export const PatchVariantImageRequestSchema: GenMessage<PatchVariantImageRequest> =
358
+ /*@__PURE__*/
359
+ messageDesc(file_src_proto_products_v1_entities_variant, 4)
360
+
361
+ /**
362
+ * @generated from message PatchVariantImageResponse
363
+ */
364
+ export type PatchVariantImageResponse = Message<'PatchVariantImageResponse'> & {
365
+ /**
366
+ * @generated from field: repeated string saved_images = 3;
367
+ */
368
+ savedImages: string[]
369
+
370
+ /**
371
+ * @generated from field: repeated string deleted_images = 4;
372
+ */
373
+ deletedImages: string[]
374
+ }
375
+
376
+ /**
377
+ * Describes the message PatchVariantImageResponse.
378
+ * Use `create(PatchVariantImageResponseSchema)` to create a new message.
379
+ */
380
+ export const PatchVariantImageResponseSchema: GenMessage<PatchVariantImageResponse> =
381
+ /*@__PURE__*/
382
+ messageDesc(file_src_proto_products_v1_entities_variant, 5)
383
+
384
+ /**
385
+ * @generated from message UpdateProductOptionRequest
386
+ */
387
+ export type UpdateProductOptionRequest =
388
+ Message<'UpdateProductOptionRequest'> & {
389
+ /**
390
+ * @generated from field: string product_id = 1;
391
+ */
392
+ productId: string
393
+
394
+ /**
395
+ * @generated from field: string option_id = 2;
396
+ */
397
+ optionId: string
398
+
399
+ /**
400
+ * @generated from field: string title = 3;
401
+ */
402
+ title: string
403
+
404
+ /**
405
+ * @generated from field: repeated string values = 4;
406
+ */
407
+ values: string[]
408
+
409
+ /**
410
+ * @generated from field: map<string, string> metadata = 5;
411
+ */
412
+ metadata: { [key: string]: string }
413
+ }
414
+
415
+ /**
416
+ * Describes the message UpdateProductOptionRequest.
417
+ * Use `create(UpdateProductOptionRequestSchema)` to create a new message.
418
+ */
419
+ export const UpdateProductOptionRequestSchema: GenMessage<UpdateProductOptionRequest> =
420
+ /*@__PURE__*/
421
+ messageDesc(file_src_proto_products_v1_entities_variant, 6)
422
+
423
+ /**
424
+ * @generated from message UpdateProductOptionResponse
425
+ */
426
+ export type UpdateProductOptionResponse =
427
+ Message<'UpdateProductOptionResponse'> & {
428
+ /**
429
+ * @generated from field: ProductResponse product = 1;
430
+ */
431
+ product?: ProductResponse
432
+ }
433
+
434
+ /**
435
+ * Describes the message UpdateProductOptionResponse.
436
+ * Use `create(UpdateProductOptionResponseSchema)` to create a new message.
437
+ */
438
+ export const UpdateProductOptionResponseSchema: GenMessage<UpdateProductOptionResponse> =
439
+ /*@__PURE__*/
440
+ messageDesc(file_src_proto_products_v1_entities_variant, 7)
441
+
442
+ /**
443
+ * @generated from message UpdateVariantInventoryRequest
444
+ */
445
+ export type UpdateVariantInventoryRequest =
446
+ Message<'UpdateVariantInventoryRequest'> & {
447
+ /**
448
+ * @generated from field: string product_id = 1;
449
+ */
450
+ productId: string
451
+
452
+ /**
453
+ * @generated from field: string variant_id = 2;
454
+ */
455
+ variantId: string
456
+
457
+ /**
458
+ * @generated from field: string inventory_item_id = 3;
459
+ */
460
+ inventoryItemId: string
461
+
462
+ /**
463
+ * @generated from field: int32 required_quantity = 4;
464
+ */
465
+ requiredQuantity: number
466
+ }
467
+
468
+ /**
469
+ * Describes the message UpdateVariantInventoryRequest.
470
+ * Use `create(UpdateVariantInventoryRequestSchema)` to create a new message.
471
+ */
472
+ export const UpdateVariantInventoryRequestSchema: GenMessage<UpdateVariantInventoryRequest> =
473
+ /*@__PURE__*/
474
+ messageDesc(file_src_proto_products_v1_entities_variant, 8)
475
+
476
+ /**
477
+ * @generated from message UpdateVariantInventoryResponse
478
+ */
479
+ export type UpdateVariantInventoryResponse =
480
+ Message<'UpdateVariantInventoryResponse'> & {
481
+ /**
482
+ * @generated from field: Variant product_variant = 1;
483
+ */
484
+ productVariant?: Variant
485
+ }
486
+
487
+ /**
488
+ * Describes the message UpdateVariantInventoryResponse.
489
+ * Use `create(UpdateVariantInventoryResponseSchema)` to create a new message.
490
+ */
491
+ export const UpdateVariantInventoryResponseSchema: GenMessage<UpdateVariantInventoryResponse> =
492
+ /*@__PURE__*/
493
+ messageDesc(file_src_proto_products_v1_entities_variant, 9)
494
+
495
+ /**
496
+ * @generated from message UpdateVariantRequest
497
+ */
498
+ export type UpdateVariantRequest = Message<'UpdateVariantRequest'> & {
499
+ /**
500
+ * @generated from field: optional string product_id = 1;
501
+ */
502
+ productId?: string
503
+
504
+ /**
505
+ * @generated from field: optional string variant_id = 2;
506
+ */
507
+ variantId?: string
508
+
509
+ /**
510
+ * @generated from field: optional string title = 3;
511
+ */
512
+ title?: string
513
+
514
+ /**
515
+ * @generated from field: optional string ean = 4;
516
+ */
517
+ ean?: string
518
+
519
+ /**
520
+ * @generated from field: optional string upc = 5;
521
+ */
522
+ upc?: string
523
+
524
+ /**
525
+ * @generated from field: optional string barcode = 6;
526
+ */
527
+ barcode?: string
528
+
529
+ /**
530
+ * @generated from field: optional string hs_code = 7;
531
+ */
532
+ hsCode?: string
533
+
534
+ /**
535
+ * @generated from field: optional string mid_code = 8;
536
+ */
537
+ midCode?: string
538
+
539
+ /**
540
+ * @generated from field: optional bool allow_backorder = 9;
541
+ */
542
+ allowBackorder?: boolean
543
+
544
+ /**
545
+ * @generated from field: optional bool is_managed_inventory = 10;
546
+ */
547
+ isManagedInventory?: boolean
548
+
549
+ /**
550
+ * @generated from field: optional int32 rank = 11;
551
+ */
552
+ rank?: number
553
+
554
+ /**
555
+ * @generated from field: optional float weight = 12;
556
+ */
557
+ weight?: number
558
+
559
+ /**
560
+ * @generated from field: optional float length = 13;
561
+ */
562
+ length?: number
563
+
564
+ /**
565
+ * @generated from field: optional float height = 14;
566
+ */
567
+ height?: number
568
+
569
+ /**
570
+ * @generated from field: optional float width = 15;
571
+ */
572
+ width?: number
573
+
574
+ /**
575
+ * @generated from field: optional string origin_country = 16;
576
+ */
577
+ originCountry?: string
578
+
579
+ /**
580
+ * @generated from field: optional string material = 17;
581
+ */
582
+ material?: string
583
+
584
+ /**
585
+ * @generated from field: map<string, string> options = 18;
586
+ */
587
+ options: { [key: string]: string }
588
+
589
+ /**
590
+ * @generated from field: map<string, string> metadata = 19;
591
+ */
592
+ metadata: { [key: string]: string }
593
+
594
+ /**
595
+ * @generated from field: repeated CreateVariantRequest.Price prices = 20;
596
+ */
597
+ prices: CreateVariantRequest_Price[]
598
+
599
+ /**
600
+ * @generated from field: repeated CreateVariantRequest.InventoryItem inventory_items = 21;
601
+ */
602
+ inventoryItems: CreateVariantRequest_InventoryItem[]
603
+ }
604
+
605
+ /**
606
+ * Describes the message UpdateVariantRequest.
607
+ * Use `create(UpdateVariantRequestSchema)` to create a new message.
608
+ */
609
+ export const UpdateVariantRequestSchema: GenMessage<UpdateVariantRequest> =
610
+ /*@__PURE__*/
611
+ messageDesc(file_src_proto_products_v1_entities_variant, 10)
612
+
613
+ /**
614
+ * @generated from message UpdateVariantResponse
615
+ */
616
+ export type UpdateVariantResponse = Message<'UpdateVariantResponse'> & {
617
+ /**
618
+ * @generated from field: ProductResponse product = 1;
619
+ */
620
+ product?: ProductResponse
621
+ }
622
+
623
+ /**
624
+ * Describes the message UpdateVariantResponse.
625
+ * Use `create(UpdateVariantResponseSchema)` to create a new message.
626
+ */
627
+ export const UpdateVariantResponseSchema: GenMessage<UpdateVariantResponse> =
628
+ /*@__PURE__*/
629
+ messageDesc(file_src_proto_products_v1_entities_variant, 11)