@infrab4a/connect 5.7.0 → 5.7.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.
package/index.cjs.js CHANGED
@@ -8169,9 +8169,13 @@ const commonFields = [
8169
8169
  'validity',
8170
8170
  { tagsCollection: { columnName: 'tags_collection', type: HasuraGraphQLColumnType.Jsonb } },
8171
8171
  { tagsProfile: { columnName: 'tags_profile', type: HasuraGraphQLColumnType.Jsonb } },
8172
+ { tagsSupply: { columnName: 'tags_supply', type: HasuraGraphQLColumnType.Jsonb } },
8172
8173
  { daysOfUse: { columnName: 'days_of_use' } },
8173
8174
  { showVariants: { columnName: 'show_variants' } },
8174
8175
  { variantSlug: { columnName: 'variant_slug' } },
8176
+ { caixariaMinima: { columnName: 'caixaria_minima', type: HasuraGraphQLColumnType.Jsonb } },
8177
+ 'suppliers',
8178
+ 'curve',
8175
8179
  ];
8176
8180
  const fieldsConfiguration$2 = [
8177
8181
  ...commonFields,
@@ -9169,6 +9173,7 @@ const fieldsConfiguration$1 = [
9169
9173
  'published',
9170
9174
  { tagsCollection: { columnName: 'tags_collection', type: HasuraGraphQLColumnType.Jsonb } },
9171
9175
  { tagsProfile: { columnName: 'tags_profile', type: HasuraGraphQLColumnType.Jsonb } },
9176
+ { tagsSupply: { columnName: 'tags_supply', type: HasuraGraphQLColumnType.Jsonb } },
9172
9177
  { daysOfUse: { columnName: 'days_of_use' } },
9173
9178
  {
9174
9179
  images: {
@@ -9304,6 +9309,9 @@ const fieldsConfiguration$1 = [
9304
9309
  },
9305
9310
  },
9306
9311
  { variantSlug: { columnName: 'variant_slug' } },
9312
+ { caixariaMinima: { columnName: 'caixaria_minima', type: HasuraGraphQLColumnType.Jsonb } },
9313
+ 'suppliers',
9314
+ 'curve',
9307
9315
  { createdAt: { columnName: 'created_at' } },
9308
9316
  { updatedAt: { columnName: 'updated_at' } },
9309
9317
  ];
package/index.esm.js CHANGED
@@ -8145,9 +8145,13 @@ const commonFields = [
8145
8145
  'validity',
8146
8146
  { tagsCollection: { columnName: 'tags_collection', type: HasuraGraphQLColumnType.Jsonb } },
8147
8147
  { tagsProfile: { columnName: 'tags_profile', type: HasuraGraphQLColumnType.Jsonb } },
8148
+ { tagsSupply: { columnName: 'tags_supply', type: HasuraGraphQLColumnType.Jsonb } },
8148
8149
  { daysOfUse: { columnName: 'days_of_use' } },
8149
8150
  { showVariants: { columnName: 'show_variants' } },
8150
8151
  { variantSlug: { columnName: 'variant_slug' } },
8152
+ { caixariaMinima: { columnName: 'caixaria_minima', type: HasuraGraphQLColumnType.Jsonb } },
8153
+ 'suppliers',
8154
+ 'curve',
8151
8155
  ];
8152
8156
  const fieldsConfiguration$2 = [
8153
8157
  ...commonFields,
@@ -9145,6 +9149,7 @@ const fieldsConfiguration$1 = [
9145
9149
  'published',
9146
9150
  { tagsCollection: { columnName: 'tags_collection', type: HasuraGraphQLColumnType.Jsonb } },
9147
9151
  { tagsProfile: { columnName: 'tags_profile', type: HasuraGraphQLColumnType.Jsonb } },
9152
+ { tagsSupply: { columnName: 'tags_supply', type: HasuraGraphQLColumnType.Jsonb } },
9148
9153
  { daysOfUse: { columnName: 'days_of_use' } },
9149
9154
  {
9150
9155
  images: {
@@ -9280,6 +9285,9 @@ const fieldsConfiguration$1 = [
9280
9285
  },
9281
9286
  },
9282
9287
  { variantSlug: { columnName: 'variant_slug' } },
9288
+ { caixariaMinima: { columnName: 'caixaria_minima', type: HasuraGraphQLColumnType.Jsonb } },
9289
+ 'suppliers',
9290
+ 'curve',
9283
9291
  { createdAt: { columnName: 'created_at' } },
9284
9292
  { updatedAt: { columnName: 'updated_at' } },
9285
9293
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.7.0",
3
+ "version": "5.7.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -26,6 +26,7 @@ export declare class ProductBase<T extends ProductBase<T, I>, I = ProductIdentif
26
26
  brand: string;
27
27
  tagsCollection?: string[];
28
28
  tagsProfile?: string[];
29
+ tagsSupply?: string[];
29
30
  filters?: string[];
30
31
  type?: string;
31
32
  categories?: string[];
@@ -42,6 +43,12 @@ export declare class ProductBase<T extends ProductBase<T, I>, I = ProductIdentif
42
43
  validity: boolean;
43
44
  daysOfUse?: number;
44
45
  variantSlug?: string;
46
+ caixariaMinima?: number;
47
+ suppliers?: {
48
+ clientId: number;
49
+ name: string;
50
+ }[];
51
+ curve?: string;
45
52
  category: Category;
46
53
  kitProducts?: KitProduct[];
47
54
  reviews?: ProductReview[];
@@ -1,2 +1,2 @@
1
- import { LineItem } from "../line-item";
1
+ import { LineItem } from '../line-item';
2
2
  export type LineItemRecurrence = Pick<LineItem, 'id' | 'EAN' | 'sku' | 'slug' | 'name' | 'description' | 'brand' | 'gender' | 'costPrice' | 'discount' | 'weight' | 'pricePaid' | 'quantity' | 'images' | 'miniatures'>;
@@ -1,5 +1,5 @@
1
- import { ShoppingRecurrenceCycle } from "../models";
2
- import { PaymentCardInfo } from "./payment-card-info.type";
1
+ import { ShoppingRecurrenceCycle } from '../models';
2
+ import { PaymentCardInfo } from './payment-card-info.type';
3
3
  export type CreateShoppingRecurrencyPayload = {
4
4
  shopId: string;
5
5
  cards?: PaymentCardInfo[];