@graphcommerce/magento-cart-payment-method 2.111.14 → 2.111.19

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.
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ export type AvailablePaymentMethodFragment = { code: string, title: string, mollie_available_issuers?: Array<{ code?: string | null | undefined, image: string, name?: string | null | undefined, svg: string } | null | undefined> | null | undefined, mollie_meta: { image?: string | null | undefined } };
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ export type OrderPlacedFragment = { order_number: string };
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ export type PaymentMethodContextFragment = { available_payment_methods?: Array<{ code: string, title: string, mollie_available_issuers?: Array<{ code?: string | null | undefined, image: string, name?: string | null | undefined, svg: string } | null | undefined> | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined> | null | undefined, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined, shipping_addresses: Array<{ country: { code: string } } | null | undefined>, prices?: { grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined };
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ export type PaymentMethodUpdatedFragment = { id: string, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined };
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ export type SelectedPaymentMethodFragment = { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } };
@@ -0,0 +1,12 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
+
6
+ export const GetPaymentMethodContextDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodContext"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"available_payment_methods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"mollie_available_issuers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"svg"}}]}},{"kind":"Field","name":{"kind":"Name","value":"mollie_meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"selected_payment_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"purchase_order_number"}},{"kind":"Field","name":{"kind":"Name","value":"mollie_meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shipping_addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"grand_total"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetPaymentMethodContextQuery, GetPaymentMethodContextQueryVariables>;
7
+ export type GetPaymentMethodContextQueryVariables = Types.Exact<{
8
+ cartId: Types.Scalars['String'];
9
+ }>;
10
+
11
+
12
+ export type GetPaymentMethodContextQuery = { cart?: { __typename: 'Cart', id: string, available_payment_methods?: Array<{ code: string, title: string, mollie_available_issuers?: Array<{ code?: string | null | undefined, image: string, name?: string | null | undefined, svg: string } | null | undefined> | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined> | null | undefined, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined, shipping_addresses: Array<{ country: { code: string } } | null | undefined>, prices?: { grand_total?: { currency?: Types.CurrencyEnum | null | undefined, value?: number | null | undefined } | null | undefined } | null | undefined } | null | undefined };
@@ -0,0 +1,13 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
+
6
+ export const PaymentMethodOptionsNoopDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PaymentMethodOptionsNoop"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"code"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setPaymentMethodOnCart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"payment_method"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"code"},"value":{"kind":"Variable","name":{"kind":"Name","value":"code"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"selected_payment_method"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"purchase_order_number"}},{"kind":"Field","name":{"kind":"Name","value":"mollie_meta"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<PaymentMethodOptionsNoopMutation, PaymentMethodOptionsNoopMutationVariables>;
7
+ export type PaymentMethodOptionsNoopMutationVariables = Types.Exact<{
8
+ cartId: Types.Scalars['String'];
9
+ code: Types.Scalars['String'];
10
+ }>;
11
+
12
+
13
+ export type PaymentMethodOptionsNoopMutation = { setPaymentMethodOnCart?: { cart: { id: string, selected_payment_method?: { code: string, title: string, purchase_order_number?: string | null | undefined, mollie_meta: { image?: string | null | undefined } } | null | undefined } } | null | undefined };
@@ -0,0 +1,12 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
+
6
+ export const PaymentMethodPlaceOrderNoopDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PaymentMethodPlaceOrderNoop"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"placeOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order_number"}}]}}]}}]}}]} as unknown as DocumentNode<PaymentMethodPlaceOrderNoopMutation, PaymentMethodPlaceOrderNoopMutationVariables>;
7
+ export type PaymentMethodPlaceOrderNoopMutationVariables = Types.Exact<{
8
+ cartId: Types.Scalars['String'];
9
+ }>;
10
+
11
+
12
+ export type PaymentMethodPlaceOrderNoopMutation = { placeOrder?: { order: { order_number: string } } | null | undefined };
@@ -0,0 +1,12 @@
1
+ /* eslint-disable */
2
+ import * as Types from '@graphcommerce/graphql';
3
+
4
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
+
6
+ export const UseCartLockDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UseCartLock"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cart"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cart_id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cartId"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"locked"}}]}}]}}]} as unknown as DocumentNode<UseCartLockQuery, UseCartLockQueryVariables>;
7
+ export type UseCartLockQueryVariables = Types.Exact<{
8
+ cartId: Types.Scalars['String'];
9
+ }>;
10
+
11
+
12
+ export type UseCartLockQuery = { cart?: { __typename: 'Cart', id: string, locked: boolean } | null | undefined };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart-payment-method",
3
- "version": "2.111.14",
3
+ "version": "2.111.19",
4
4
  "sideEffects": false,
5
5
  "engines": {
6
6
  "node": "14.x"
@@ -16,30 +16,30 @@
16
16
  }
17
17
  },
18
18
  "devDependencies": {
19
- "@graphcommerce/browserslist-config-pwa": "^3.0.2",
20
- "@graphcommerce/eslint-config-pwa": "^3.1.7",
21
- "@graphcommerce/prettier-config-pwa": "^3.0.4",
22
- "@graphcommerce/typescript-config-pwa": "^3.1.1",
19
+ "@graphcommerce/browserslist-config-pwa": "^3.0.3",
20
+ "@graphcommerce/eslint-config-pwa": "^3.1.9",
21
+ "@graphcommerce/prettier-config-pwa": "^3.0.5",
22
+ "@graphcommerce/typescript-config-pwa": "^3.1.2",
23
23
  "@playwright/test": "^1.17.1"
24
24
  },
25
25
  "dependencies": {
26
26
  "@apollo/client": "^3.5.6",
27
- "@graphcommerce/framer-scroller": "^1.1.7",
28
- "@graphcommerce/graphql": "^2.105.7",
29
- "@graphcommerce/image": "^2.105.7",
30
- "@graphcommerce/magento-cart": "^3.8.9",
31
- "@graphcommerce/magento-store": "^3.3.14",
32
- "@graphcommerce/next-ui": "^3.20.7",
33
- "@graphcommerce/react-hook-form": "^2.104.3",
27
+ "@graphcommerce/framer-scroller": "^1.1.12",
28
+ "@graphcommerce/graphql": "^2.105.10",
29
+ "@graphcommerce/image": "^2.105.9",
30
+ "@graphcommerce/magento-cart": "^3.8.14",
31
+ "@graphcommerce/magento-store": "^3.3.19",
32
+ "@graphcommerce/next-ui": "^3.21.2",
33
+ "@graphcommerce/react-hook-form": "^2.104.5",
34
34
  "@lingui/macro": "^3.13.0",
35
35
  "@material-ui/core": "^4.12.3",
36
36
  "@material-ui/lab": "^4.0.0-alpha.60",
37
37
  "clsx": "^1.1.1",
38
- "framer-motion": "^5.4.5",
38
+ "framer-motion": "^5.5.1",
39
39
  "next": "^12.0.7",
40
40
  "react": "^17.0.1",
41
41
  "react-dom": "^17.0.1",
42
42
  "type-fest": "^2.8.0"
43
43
  },
44
- "gitHead": "f8974380ace982793000e5b181b5bb314a1945fb"
44
+ "gitHead": "06b4426d199de9ec2a9d2ac86d42ab047e59e7e7"
45
45
  }