@infrab4a/connect 2.0.0 → 2.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.
@@ -1278,6 +1278,13 @@
1278
1278
  return Category;
1279
1279
  }(BaseModel));
1280
1280
 
1281
+ exports.GenderDestination = void 0;
1282
+ (function (GenderDestination) {
1283
+ GenderDestination["FEMALE"] = "female";
1284
+ GenderDestination["MALE"] = "male";
1285
+ GenderDestination["UNISEX"] = "unisex";
1286
+ })(exports.GenderDestination || (exports.GenderDestination = {}));
1287
+
1281
1288
  exports.Shops = void 0;
1282
1289
  (function (Shops) {
1283
1290
  Shops["MENSMARKET"] = "mensmarket";
@@ -3906,6 +3913,7 @@
3906
3913
  'type',
3907
3914
  'video',
3908
3915
  'weight',
3916
+ 'gender',
3909
3917
  {
3910
3918
  shopAvailability: {
3911
3919
  columnName: 'shop_availabilities',
@@ -4190,7 +4198,7 @@
4190
4198
  where: {
4191
4199
  type: 'product_kit_bool_exp',
4192
4200
  required: true,
4193
- value: { product_id: { _eq: productId } },
4201
+ value: { kit_product_id: { _eq: productId } },
4194
4202
  },
4195
4203
  })];
4196
4204
  case 1:
@@ -4200,8 +4208,8 @@
4200
4208
  type: '[product_kit_insert_input!]',
4201
4209
  required: true,
4202
4210
  value: plainData.kitProducts.map(function (kitProduct) { return ({
4203
- kit_product_id: kitProduct.productId || kitProduct.product.id,
4204
- product_id: productId,
4211
+ kit_product_id: productId,
4212
+ product_id: kitProduct.productId || kitProduct.product.id,
4205
4213
  quantity: kitProduct.quantity,
4206
4214
  }); }),
4207
4215
  },