@stock-in-the-channel/sinch-vue-components 0.0.354 → 0.0.355

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/dist/index.es.js CHANGED
@@ -41806,7 +41806,7 @@ const GA = { class: "contact-us-block q-mb-lg" }, XA = { class: "top wide" }, ZA
41806
41806
  ]));
41807
41807
  }
41808
41808
  }), kL = Ct`
41809
- mutation addItemToBasket($data: CreateBasketInputItemInput!) {
41809
+ mutation addItemToBasket($data: AddItemToBasketInput!) {
41810
41810
  addItemToBasket(input: { item: $data }) {
41811
41811
  createBasketPayload {
41812
41812
  id
@@ -147,7 +147,22 @@ export type AcronisQuotaUsage = {
147
147
  };
148
148
  export type AddItemToBasketError = InvalidBasket | InvalidReseller | ProductNotFound | UserNotLoggedIn;
149
149
  export type AddItemToBasketInput = {
150
- item: CreateBasketInputItemInput;
150
+ basketId?: InputMaybe<Scalars['Int']['input']>;
151
+ billingPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
152
+ billingPeriodType?: InputMaybe<PeriodType>;
153
+ currency?: InputMaybe<Scalars['String']['input']>;
154
+ description?: InputMaybe<Scalars['String']['input']>;
155
+ mpn: Scalars['String']['input'];
156
+ name?: InputMaybe<Scalars['String']['input']>;
157
+ price?: InputMaybe<Scalars['Decimal']['input']>;
158
+ quantity: Scalars['Int']['input'];
159
+ rrp?: InputMaybe<Scalars['Decimal']['input']>;
160
+ sinchDistributorId: Scalars['Int']['input'];
161
+ sinchDistributorProductId: Scalars['Int']['input'];
162
+ sinchProductId: Scalars['Int']['input'];
163
+ subscriptionPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
164
+ subscriptionPeriodType?: InputMaybe<PeriodType>;
165
+ vendor?: InputMaybe<Scalars['String']['input']>;
151
166
  };
152
167
  export type AddItemToBasketPayload = {
153
168
  __typename?: 'AddItemToBasketPayload';
@@ -760,25 +775,6 @@ export type CreateAcronisCustomerPayload = {
760
775
  boolean?: Maybe<Scalars['Boolean']['output']>;
761
776
  errors?: Maybe<Array<CreateAcronisCustomerError>>;
762
777
  };
763
- export type CreateBasketInputItemInput = {
764
- basketId?: InputMaybe<Scalars['Int']['input']>;
765
- billingPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
766
- billingPeriodType?: InputMaybe<PeriodType>;
767
- currency?: InputMaybe<Scalars['String']['input']>;
768
- description?: InputMaybe<Scalars['String']['input']>;
769
- /** Manufacturer Product Number */
770
- mpn: Scalars['String']['input'];
771
- name: Scalars['String']['input'];
772
- price?: InputMaybe<Scalars['Decimal']['input']>;
773
- quantity: Scalars['Int']['input'];
774
- rrp?: InputMaybe<Scalars['Decimal']['input']>;
775
- sinchDistributorId: Scalars['Int']['input'];
776
- sinchDistributorProductId: Scalars['Int']['input'];
777
- sinchProductId: Scalars['Int']['input'];
778
- subscriptionPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
779
- subscriptionPeriodType?: InputMaybe<PeriodType>;
780
- vendor?: InputMaybe<Scalars['String']['input']>;
781
- };
782
778
  export type CreateBasketPayload = {
783
779
  __typename?: 'CreateBasketPayload';
784
780
  basketItems: Array<BasketItemPayload>;
@@ -891,23 +887,7 @@ export type CspCustomerStatusOperationFilterInput = {
891
887
  };
892
888
  export type CustomerAddItemToBasketError = InvalidBasket | InvalidReseller | ProductNotFound | UserNotLoggedIn;
893
889
  export type CustomerAddItemToBasketInput = {
894
- basketId?: InputMaybe<Scalars['Int']['input']>;
895
- billingPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
896
- billingPeriodType?: InputMaybe<PeriodType>;
897
- currency?: InputMaybe<Scalars['String']['input']>;
898
- description?: InputMaybe<Scalars['String']['input']>;
899
- /** Manufacturer Product Number */
900
- mpn: Scalars['String']['input'];
901
- name: Scalars['String']['input'];
902
- price?: InputMaybe<Scalars['Decimal']['input']>;
903
- quantity: Scalars['Int']['input'];
904
- rrp?: InputMaybe<Scalars['Decimal']['input']>;
905
- sinchDistributorId: Scalars['Int']['input'];
906
- sinchDistributorProductId: Scalars['Int']['input'];
907
- sinchProductId: Scalars['Int']['input'];
908
- subscriptionPeriodDuration?: InputMaybe<Scalars['Int']['input']>;
909
- subscriptionPeriodType?: InputMaybe<PeriodType>;
910
- vendor: Scalars['String']['input'];
890
+ item: AddItemToBasketInput;
911
891
  };
912
892
  export type CustomerAddItemToBasketPayload = {
913
893
  __typename?: 'CustomerAddItemToBasketPayload';
@@ -1640,7 +1620,7 @@ export type Mutation = {
1640
1620
  updateWestcoastCustomer: UpdateWestcoastCustomerPayload;
1641
1621
  };
1642
1622
  export type MutationAddItemToBasketArgs = {
1643
- input: AddItemToBasketInput;
1623
+ item: AddItemToBasketInput;
1644
1624
  };
1645
1625
  export type MutationCancelIngramSubscriptionArgs = {
1646
1626
  input: CancelIngramSubscriptionInput;
@@ -1670,7 +1650,7 @@ export type MutationCreateWestcoastCustomerArgs = {
1670
1650
  input: CreateWestcoastCustomerInput;
1671
1651
  };
1672
1652
  export type MutationCustomerAddItemToBasketArgs = {
1673
- item: CustomerAddItemToBasketInput;
1653
+ input: CustomerAddItemToBasketInput;
1674
1654
  };
1675
1655
  export type MutationCustomerChangeBasketItemQtyArgs = {
1676
1656
  input: CustomerChangeBasketItemQtyInput;
@@ -1,6 +1,6 @@
1
- import { ChangeBasketItemQtyInput, CreateBasketPayload, type CreateBasketInputItemInput, RemoveItemFromBasketInput, AddItemToBasketPayload, ChangeBasketItemQtyPayload, RemoveItemFromBasketPayload, SaveVendorParametersInput, PlaceSalesOrderInput, SetBasketCustomerInput, PlaceSalesOrderPayload } from '@/api-clients/generated/graphql';
1
+ import { ChangeBasketItemQtyInput, CreateBasketPayload, type AddItemToBasketInput, RemoveItemFromBasketInput, AddItemToBasketPayload, ChangeBasketItemQtyPayload, RemoveItemFromBasketPayload, SaveVendorParametersInput, PlaceSalesOrderInput, SetBasketCustomerInput, PlaceSalesOrderPayload } from '@/api-clients/generated/graphql';
2
2
  export declare class BasketDataClient {
3
- addItemToBasket(data: CreateBasketInputItemInput): Promise<AddItemToBasketPayload>;
3
+ addItemToBasket(data: AddItemToBasketInput): Promise<AddItemToBasketPayload>;
4
4
  changeBasketItemQty(data: ChangeBasketItemQtyInput): Promise<ChangeBasketItemQtyPayload>;
5
5
  removeItemFromBasket(data: RemoveItemFromBasketInput): Promise<RemoveItemFromBasketPayload>;
6
6
  saveVendorParameters(data: SaveVendorParametersInput): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stock-in-the-channel/sinch-vue-components",
3
- "version": "0.0.354",
3
+ "version": "0.0.355",
4
4
  "files": [
5
5
  "dist"
6
6
  ],