@dropins/storefront-auth 3.0.0-beta5 → 3.0.0

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.
@@ -14,5 +14,5 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- export declare const CREATE_CUSTOMER: string;
17
+ export declare const CREATE_CUSTOMER = "\n mutation CREATE_CUSTOMER($input: CustomerInput!) {\n createCustomer(input: $input) {\n customer {\n ...CUSTOMER_INFORMATION_FRAGMENT\n }\n }\n }\n \n fragment CUSTOMER_INFORMATION_FRAGMENT on Customer {\n __typename\n firstname\n lastname\n email\n group {\n uid\n }\n }\n\n";
18
18
  //# sourceMappingURL=createCustomer.graphql.d.ts.map
@@ -14,5 +14,5 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- export declare const CREATE_CUSTOMER_V2: string;
17
+ export declare const CREATE_CUSTOMER_V2 = "\n mutation CREATE_CUSTOMER_V2($input: CustomerCreateInput!) {\n createCustomerV2(input: $input) {\n customer {\n ...CUSTOMER_INFORMATION_FRAGMENT\n }\n }\n }\n \n fragment CUSTOMER_INFORMATION_FRAGMENT on Customer {\n __typename\n firstname\n lastname\n email\n group {\n uid\n }\n }\n\n";
18
18
  //# sourceMappingURL=createCustomerV2.graphql.d.ts.map
@@ -14,8 +14,8 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- export declare const setEndpoint: (endpoint: string) => void, setFetchGraphQlHeader: (key: string, value: string | null) => void, removeFetchGraphQlHeader: (key: string) => void, setFetchGraphQlHeaders: (header: import('@adobe-commerce/fetch-graphql').Header | ((prev: import('@adobe-commerce/fetch-graphql').Header) => import('@adobe-commerce/fetch-graphql').Header)) => void, fetchGraphQl: <T = any>(query: string, options?: import('@adobe-commerce/fetch-graphql').FetchOptions | undefined) => Promise<{
18
- errors?: import('@adobe-commerce/fetch-graphql').FetchQueryError | undefined;
17
+ export declare const setEndpoint: (endpoint: string) => void, setFetchGraphQlHeader: (key: string, value: string | null) => void, removeFetchGraphQlHeader: (key: string) => void, setFetchGraphQlHeaders: (header: import('@adobe-commerce/fetch-graphql').Header | ((prev: import('@adobe-commerce/fetch-graphql').Header) => import('@adobe-commerce/fetch-graphql').Header)) => void, fetchGraphQl: <T = any>(query: string, options?: import('@adobe-commerce/fetch-graphql').FetchOptions) => Promise<{
18
+ errors?: import('@adobe-commerce/fetch-graphql').FetchQueryError;
19
19
  data: T;
20
20
  }>, getConfig: () => {
21
21
  endpoint: string | undefined;
@@ -14,5 +14,5 @@
14
14
  * is strictly forbidden unless prior written permission is obtained
15
15
  * from Adobe.
16
16
  *******************************************************************/
17
- export declare const GET_CUSTOMER_DATA: string;
17
+ export declare const GET_CUSTOMER_DATA = "\n query GET_CUSTOMER_DATA {\n customer {\n ...CUSTOMER_INFORMATION_FRAGMENT\n }\n }\n \n fragment CUSTOMER_INFORMATION_FRAGMENT on Customer {\n __typename\n firstname\n lastname\n email\n group {\n uid\n }\n }\n\n";
18
18
  //# sourceMappingURL=getCustomerData.graphql.d.ts.map
@@ -8,24 +8,24 @@ interface UseGetAttributesFormProps {
8
8
  export declare const useGetAttributesForm: ({ inputsDefaultValueSet, fieldsConfigForApiVersion1, apiVersion2, }: UseGetAttributesFormProps) => {
9
9
  fieldsListConfigs: {
10
10
  autocomplete?: string | undefined;
11
- code?: string | undefined;
12
- name?: string | undefined;
13
- id?: string | undefined;
14
- defaultValue?: string | number | boolean | undefined;
15
- entityType?: string | undefined;
16
- className?: string | undefined;
17
- fieldType?: import('../../data/models').FieldEnumList | undefined;
11
+ code?: string;
12
+ name?: string;
13
+ id?: string;
14
+ defaultValue?: string | boolean | number;
15
+ entityType?: string;
16
+ className?: string;
17
+ fieldType?: import('../../data/models').FieldEnumList;
18
18
  multilineCount: number;
19
- required?: boolean | undefined;
20
- unique?: boolean | undefined;
21
- label?: string | undefined;
19
+ required?: boolean;
20
+ unique?: boolean;
21
+ label?: string;
22
22
  orderNumber: number;
23
23
  options?: {
24
24
  is_default: boolean;
25
25
  label: string;
26
26
  value: string;
27
- }[] | undefined;
28
- hidden?: boolean | undefined;
27
+ }[];
28
+ hidden?: boolean;
29
29
  customUpperCode: string;
30
30
  }[];
31
31
  };
@@ -20,7 +20,7 @@ interface useEmailConfirmationProps {
20
20
  export declare const useEmailConfirmation: ({ enableEmailConfirmation, }: useEmailConfirmationProps) => {
21
21
  emailConfirmationStatusMessage: {
22
22
  text: string;
23
- status: '' | 'success' | 'error';
23
+ status: "" | "success" | "error";
24
24
  };
25
25
  };
26
26
  export {};
@@ -16,5 +16,5 @@
16
16
  *******************************************************************/
17
17
  export declare const convertToCamelCase: (key: string) => string;
18
18
  export declare const convertToSnakeCase: (key: string) => string;
19
- export declare const convertKeysCase: (data: any, type: 'snakeCase' | 'camelCase', dictionary?: Record<string, string>) => any;
19
+ export declare const convertKeysCase: (data: any, type: "snakeCase" | "camelCase", dictionary?: Record<string, string>) => any;
20
20
  //# sourceMappingURL=convertCase.d.ts.map
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@dropins/storefront-auth", "version": "3.0.0-beta5", "@dropins/tools": "~1.6.0", "license": "SEE LICENSE IN LICENSE.md"}
1
+ {"name": "@dropins/storefront-auth", "version": "3.0.0", "@dropins/tools": "~1.6.0", "license": "SEE LICENSE IN LICENSE.md"}