@stock-in-the-channel/sinch-vue-components 0.0.349 → 0.0.350

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.
@@ -374,7 +374,6 @@ export declare class GetProductResponse implements IGetProductResponse {
374
374
  testseekProductID?: string | undefined;
375
375
  title?: string;
376
376
  tradePriceEstimate?: number;
377
- variants?: ProductVariantResult[];
378
377
  constructor(data?: IGetProductResponse);
379
378
  init(_data?: any): void;
380
379
  static fromJS(data: any): GetProductResponse;
@@ -517,6 +516,7 @@ export declare class ProductDistributorResult implements IProductDistributorResu
517
516
  stock?: number;
518
517
  stockLevelLastUpdate?: Date;
519
518
  warehouseStocks?: StringInt32ValueTuple[];
519
+ variants?: ProductVariantResult[];
520
520
  constructor(data?: IProductDistributorResult);
521
521
  init(_data?: any): void;
522
522
  static fromJS(data: any): ProductDistributorResult;
@@ -681,9 +681,8 @@ export declare enum ServiceFrequency {
681
681
  Biennially = "Biennially"
682
682
  }
683
683
  export interface ProductVariantResult {
684
- id: number;
685
- title: string;
686
684
  sku: string;
685
+ price?: number;
687
686
  rrp?: number;
688
687
  distributorID: number;
689
688
  distributorProductID: number;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
40
  siteCloud: boolean;
41
41
  hideDistributorsSection: boolean;
42
42
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
- addProductToBasket: (product: DistributorProduct) => void;
43
+ addProductToBasket: (product: DistributorProduct, quantity: number, evt: Event) => void;
44
44
  navigateToConfigureUrl: (product: DistributorProduct, evt: Event) => void;
45
45
  productVariantClicked: (variant: ProductVariantResult, evt: Event) => void;
46
46
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
54
54
  siteCloud: boolean;
55
55
  hideDistributorsSection: boolean;
56
56
  }>>> & Readonly<{
57
- onAddProductToBasket?: ((product: DistributorProduct) => any) | undefined;
57
+ onAddProductToBasket?: ((product: DistributorProduct, quantity: number, evt: Event) => any) | undefined;
58
58
  onNavigateToConfigureUrl?: ((product: DistributorProduct, evt: Event) => any) | undefined;
59
59
  onProductVariantClicked?: ((variant: ProductVariantResult, evt: Event) => any) | undefined;
60
60
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,21 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: number;
3
+ stock: number;
4
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (...args: any[]) => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ modelValue: number;
8
+ stock: number;
9
+ }>>> & Readonly<{
10
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
@@ -62,6 +62,9 @@ declare const _default: {
62
62
  VariantSKU: string;
63
63
  Variant: string;
64
64
  NoLicensesToReduceMessage: string;
65
+ Available: string;
66
+ AreYouSureYouWantToUpdateSubscription: string;
67
+ UpdateSubscription: string;
65
68
  };
66
69
  ptBR: {
67
70
  Search: string;
@@ -62,6 +62,9 @@ declare const _default: {
62
62
  VariantSKU: string;
63
63
  Variant: string;
64
64
  NoLicensesToReduceMessage: string;
65
+ Available: string;
66
+ AreYouSureYouWantToUpdateSubscription: string;
67
+ UpdateSubscription: string;
65
68
  };
66
69
  'pt-BR': {
67
70
  Search: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stock-in-the-channel/sinch-vue-components",
3
- "version": "0.0.349",
3
+ "version": "0.0.350",
4
4
  "files": [
5
5
  "dist"
6
6
  ],