@contember/react-client-tenant 2.0.0-alpha.17 → 2.0.0-alpha.18

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.
Files changed (79) hide show
  1. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +1 -1
  2. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -1
  3. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +1 -1
  4. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -1
  5. package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs +1 -1
  6. package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -1
  7. package/dist/development/src/hooks/mutations/auth/useSignInMutation.js +1 -1
  8. package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +1 -1
  9. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs +1 -1
  10. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -1
  11. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js +1 -1
  12. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -1
  13. package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs +1 -1
  14. package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -1
  15. package/dist/development/src/hooks/mutations/invite/useInviteMutation.js +1 -1
  16. package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +1 -1
  17. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +1 -1
  18. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -1
  19. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +1 -1
  20. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -1
  21. package/dist/development/src/hooks/queries/useMeQuery.cjs +1 -1
  22. package/dist/development/src/hooks/queries/useMeQuery.cjs.map +1 -1
  23. package/dist/development/src/hooks/queries/useMeQuery.js +1 -1
  24. package/dist/development/src/hooks/queries/useMeQuery.js.map +1 -1
  25. package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs +1 -1
  26. package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -1
  27. package/dist/development/src/hooks/queries/useProjectMembersQuery.js +1 -1
  28. package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +1 -1
  29. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +1 -1
  30. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -1
  31. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +1 -1
  32. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -1
  33. package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs +1 -1
  34. package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -1
  35. package/dist/production/src/hooks/mutations/auth/useSignInMutation.js +1 -1
  36. package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +1 -1
  37. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs +1 -1
  38. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -1
  39. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js +1 -1
  40. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -1
  41. package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs +1 -1
  42. package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -1
  43. package/dist/production/src/hooks/mutations/invite/useInviteMutation.js +1 -1
  44. package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +1 -1
  45. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +1 -1
  46. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -1
  47. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +1 -1
  48. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -1
  49. package/dist/production/src/hooks/queries/useMeQuery.cjs +1 -1
  50. package/dist/production/src/hooks/queries/useMeQuery.cjs.map +1 -1
  51. package/dist/production/src/hooks/queries/useMeQuery.js +1 -1
  52. package/dist/production/src/hooks/queries/useMeQuery.js.map +1 -1
  53. package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs +1 -1
  54. package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -1
  55. package/dist/production/src/hooks/queries/useProjectMembersQuery.js +1 -1
  56. package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +1 -1
  57. package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +0 -12
  58. package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +1 -1
  59. package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +0 -12
  60. package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +1 -1
  61. package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +0 -12
  62. package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +1 -1
  63. package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +0 -12
  64. package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +1 -1
  65. package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +0 -8
  66. package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +1 -1
  67. package/dist/types/hooks/queries/useMeQuery.d.ts +0 -2
  68. package/dist/types/hooks/queries/useMeQuery.d.ts.map +1 -1
  69. package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +0 -2
  70. package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +1 -1
  71. package/dist/types/tsconfig.tsbuildinfo +1 -1
  72. package/package.json +4 -4
  73. package/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx +1 -1
  74. package/src/hooks/mutations/auth/useSignInMutation.ts +1 -1
  75. package/src/hooks/mutations/idp/useSignInIdpMutation.ts +1 -1
  76. package/src/hooks/mutations/invite/useInviteMutation.tsx +1 -1
  77. package/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts +1 -1
  78. package/src/hooks/queries/useMeQuery.ts +1 -1
  79. package/src/hooks/queries/useProjectMembersQuery.ts +1 -1
@@ -22,7 +22,7 @@ function _interopNamespaceDefault(e) {
22
22
  }
23
23
  const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
24
24
  const projectIdentityRelationFragment = TenantApi__namespace.projectIdentityRelation$.identity(
25
- TenantApi__namespace.identity$$.person(TenantApi__namespace.person$$).apiKey(TenantApi__namespace.apiKey$$)
25
+ TenantApi__namespace.identity$$.person(TenantApi__namespace.person$.id.email.name.otpEnabled).apiKey(TenantApi__namespace.apiKey$$)
26
26
  ).memberships(TenantApi__namespace.membership$$.variables(TenantApi__namespace.variableEntry$$));
27
27
  const useProjectMembersQuery = ({ headers, apiToken } = {}) => {
28
28
  const executor = useTenantApi.useTenantApi({
@@ -1 +1 @@
1
- {"version":3,"file":"useProjectMembersQuery.cjs","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembersQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectIdentityRelationFragment = TenantApi\n\t.projectIdentityRelation$\n\t.identity(TenantApi.identity$$\n\t\t.person(TenantApi.person$$)\n\t\t.apiKey(TenantApi.apiKey$$)\n\t\t,\n\t)\n\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))\n\nexport type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[]\n\nexport type ProjectMembersQueryVariables =\n\t& {\n\t\tprojectSlug: string\n\t}\n\t& TenantApi.ProjectMembersInput\n\n\nexport const useProjectMembersQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi({\n\t\theaders,\n\t\tapiToken,\n\t})\n\treturn useCallback(async ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables): Promise<ProjectMembersQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectBySlug({\n\t\t\tslug: ParameterRef.of('projectSlug'),\n\t\t}, TenantApi.project$.members({\n\t\t\tinput: ParameterRef.of('membersInput'),\n\t\t}, projectIdentityRelationFragment)), {\n\t\t\tvariables: {\n\t\t\t\tprojectSlug,\n\t\t\t\tmembersInput,\n\t\t\t},\n\t\t})\n\n\t\treturn result.projectBySlug?.members ?? []\n\t}, [executor])\n}\n"],"names":["TenantApi","useTenantApi","useCallback","ParameterRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,kCAAkCA,qBACtC,yBACA;AAAA,EAASA,qBAAU,WAClB,OAAOA,qBAAU,QAAQ,EACzB,OAAOA,qBAAU,QAAQ;AAE3B,EACC,YAAYA,qBAAU,aAAa,UAAUA,qBAAU,eAAe,CAAC;AAWlE,MAAM,yBAAyB,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AACvF,QAAM,WAAWC,aAAAA,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EAAA,CACA;AACD,SAAOC,kBAAY,OAAO,EAAE,aAAa,GAAG,mBAAqF;AAChI,UAAM,SAAS,MAAM,SAASF,qBAAU,OAAO,cAAc;AAAA,MAC5D,MAAMG,mBAAAA,aAAa,GAAG,aAAa;AAAA,IAAA,GACjCH,qBAAU,SAAS,QAAQ;AAAA,MAC7B,OAAOG,mBAAAA,aAAa,GAAG,cAAc;AAAA,IAAA,GACnC,+BAA+B,CAAC,GAAG;AAAA,MACrC,WAAW;AAAA,QACV;AAAA,QACA;AAAA,MACD;AAAA,IAAA,CACA;AAEM,WAAA,OAAO,eAAe,WAAW;EAAC,GACvC,CAAC,QAAQ,CAAC;AACd;;"}
1
+ {"version":3,"file":"useProjectMembersQuery.cjs","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembersQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectIdentityRelationFragment = TenantApi\n\t.projectIdentityRelation$\n\t.identity(TenantApi.identity$$\n\t\t.person(TenantApi.person$.id.email.name.otpEnabled)\n\t\t.apiKey(TenantApi.apiKey$$)\n\t\t,\n\t)\n\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))\n\nexport type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[]\n\nexport type ProjectMembersQueryVariables =\n\t& {\n\t\tprojectSlug: string\n\t}\n\t& TenantApi.ProjectMembersInput\n\n\nexport const useProjectMembersQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi({\n\t\theaders,\n\t\tapiToken,\n\t})\n\treturn useCallback(async ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables): Promise<ProjectMembersQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectBySlug({\n\t\t\tslug: ParameterRef.of('projectSlug'),\n\t\t}, TenantApi.project$.members({\n\t\t\tinput: ParameterRef.of('membersInput'),\n\t\t}, projectIdentityRelationFragment)), {\n\t\t\tvariables: {\n\t\t\t\tprojectSlug,\n\t\t\t\tmembersInput,\n\t\t\t},\n\t\t})\n\n\t\treturn result.projectBySlug?.members ?? []\n\t}, [executor])\n}\n"],"names":["TenantApi","useTenantApi","useCallback","ParameterRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,kCAAkCA,qBACtC,yBACA;AAAA,EAASA,qBAAU,WAClB,OAAOA,qBAAU,QAAQ,GAAG,MAAM,KAAK,UAAU,EACjD,OAAOA,qBAAU,QAAQ;AAE3B,EACC,YAAYA,qBAAU,aAAa,UAAUA,qBAAU,eAAe,CAAC;AAWlE,MAAM,yBAAyB,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AACvF,QAAM,WAAWC,aAAAA,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EAAA,CACA;AACD,SAAOC,kBAAY,OAAO,EAAE,aAAa,GAAG,mBAAqF;AAChI,UAAM,SAAS,MAAM,SAASF,qBAAU,OAAO,cAAc;AAAA,MAC5D,MAAMG,mBAAAA,aAAa,GAAG,aAAa;AAAA,IAAA,GACjCH,qBAAU,SAAS,QAAQ;AAAA,MAC7B,OAAOG,mBAAAA,aAAa,GAAG,cAAc;AAAA,IAAA,GACnC,+BAA+B,CAAC,GAAG;AAAA,MACrC,WAAW;AAAA,QACV;AAAA,QACA;AAAA,MACD;AAAA,IAAA,CACA;AAEM,WAAA,OAAO,eAAe,WAAW;EAAC,GACvC,CAAC,QAAQ,CAAC;AACd;;"}
@@ -3,7 +3,7 @@ import { ParameterRef } from "graphql-ts-client-api";
3
3
  import { useTenantApi } from "../useTenantApi.js";
4
4
  import { useCallback } from "react";
5
5
  const projectIdentityRelationFragment = TenantApi.projectIdentityRelation$.identity(
6
- TenantApi.identity$$.person(TenantApi.person$$).apiKey(TenantApi.apiKey$$)
6
+ TenantApi.identity$$.person(TenantApi.person$.id.email.name.otpEnabled).apiKey(TenantApi.apiKey$$)
7
7
  ).memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$));
8
8
  const useProjectMembersQuery = ({ headers, apiToken } = {}) => {
9
9
  const executor = useTenantApi({
@@ -1 +1 @@
1
- {"version":3,"file":"useProjectMembersQuery.js","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembersQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectIdentityRelationFragment = TenantApi\n\t.projectIdentityRelation$\n\t.identity(TenantApi.identity$$\n\t\t.person(TenantApi.person$$)\n\t\t.apiKey(TenantApi.apiKey$$)\n\t\t,\n\t)\n\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))\n\nexport type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[]\n\nexport type ProjectMembersQueryVariables =\n\t& {\n\t\tprojectSlug: string\n\t}\n\t& TenantApi.ProjectMembersInput\n\n\nexport const useProjectMembersQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi({\n\t\theaders,\n\t\tapiToken,\n\t})\n\treturn useCallback(async ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables): Promise<ProjectMembersQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectBySlug({\n\t\t\tslug: ParameterRef.of('projectSlug'),\n\t\t}, TenantApi.project$.members({\n\t\t\tinput: ParameterRef.of('membersInput'),\n\t\t}, projectIdentityRelationFragment)), {\n\t\t\tvariables: {\n\t\t\t\tprojectSlug,\n\t\t\t\tmembersInput,\n\t\t\t},\n\t\t})\n\n\t\treturn result.projectBySlug?.members ?? []\n\t}, [executor])\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,kCAAkC,UACtC,yBACA;AAAA,EAAS,UAAU,WAClB,OAAO,UAAU,QAAQ,EACzB,OAAO,UAAU,QAAQ;AAE3B,EACC,YAAY,UAAU,aAAa,UAAU,UAAU,eAAe,CAAC;AAWlE,MAAM,yBAAyB,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AACvF,QAAM,WAAW,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EAAA,CACA;AACD,SAAO,YAAY,OAAO,EAAE,aAAa,GAAG,mBAAqF;AAChI,UAAM,SAAS,MAAM,SAAS,UAAU,OAAO,cAAc;AAAA,MAC5D,MAAM,aAAa,GAAG,aAAa;AAAA,IAAA,GACjC,UAAU,SAAS,QAAQ;AAAA,MAC7B,OAAO,aAAa,GAAG,cAAc;AAAA,IAAA,GACnC,+BAA+B,CAAC,GAAG;AAAA,MACrC,WAAW;AAAA,QACV;AAAA,QACA;AAAA,MACD;AAAA,IAAA,CACA;AAEM,WAAA,OAAO,eAAe,WAAW;EAAC,GACvC,CAAC,QAAQ,CAAC;AACd;"}
1
+ {"version":3,"file":"useProjectMembersQuery.js","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembersQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectIdentityRelationFragment = TenantApi\n\t.projectIdentityRelation$\n\t.identity(TenantApi.identity$$\n\t\t.person(TenantApi.person$.id.email.name.otpEnabled)\n\t\t.apiKey(TenantApi.apiKey$$)\n\t\t,\n\t)\n\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))\n\nexport type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[]\n\nexport type ProjectMembersQueryVariables =\n\t& {\n\t\tprojectSlug: string\n\t}\n\t& TenantApi.ProjectMembersInput\n\n\nexport const useProjectMembersQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi({\n\t\theaders,\n\t\tapiToken,\n\t})\n\treturn useCallback(async ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables): Promise<ProjectMembersQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectBySlug({\n\t\t\tslug: ParameterRef.of('projectSlug'),\n\t\t}, TenantApi.project$.members({\n\t\t\tinput: ParameterRef.of('membersInput'),\n\t\t}, projectIdentityRelationFragment)), {\n\t\t\tvariables: {\n\t\t\t\tprojectSlug,\n\t\t\t\tmembersInput,\n\t\t\t},\n\t\t})\n\n\t\treturn result.projectBySlug?.members ?? []\n\t}, [executor])\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,kCAAkC,UACtC,yBACA;AAAA,EAAS,UAAU,WAClB,OAAO,UAAU,QAAQ,GAAG,MAAM,KAAK,UAAU,EACjD,OAAO,UAAU,QAAQ;AAE3B,EACC,YAAY,UAAU,aAAa,UAAU,UAAU,eAAe,CAAC;AAWlE,MAAM,yBAAyB,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AACvF,QAAM,WAAW,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EAAA,CACA;AACD,SAAO,YAAY,OAAO,EAAE,aAAa,GAAG,mBAAqF;AAChI,UAAM,SAAS,MAAM,SAAS,UAAU,OAAO,cAAc;AAAA,MAC5D,MAAM,aAAa,GAAG,aAAa;AAAA,IAAA,GACjC,UAAU,SAAS,QAAQ;AAAA,MAC7B,OAAO,aAAa,GAAG,cAAc;AAAA,IAAA,GACnC,+BAA+B,CAAC,GAAG;AAAA,MACrC,WAAW;AAAA,QACV;AAAA,QACA;AAAA,MACD;AAAA,IAAA,CACA;AAEM,WAAA,OAAO,eAAe,WAAW;EAAC,GACvC,CAAC,QAAQ,CAAC;AACd;"}
@@ -9,10 +9,6 @@ declare const createSessionTokenMutationResult: TenantApi.CreateSessionTokenResu
9
9
  readonly email?: string;
10
10
  } & {
11
11
  readonly name?: string;
12
- } & {
13
- readonly otpEnabled: boolean;
14
- } & {
15
- readonly passwordlessEnabled?: boolean;
16
12
  };
17
13
  }, {}>;
18
14
  export type CreateSessionTokenMutationResult = ModelType<typeof createSessionTokenMutationResult>;
@@ -35,10 +31,6 @@ export declare const createSessionTokenMutation: TenantApi.MutationFetcher<{
35
31
  readonly email?: string;
36
32
  } & {
37
33
  readonly name?: string;
38
- } & {
39
- readonly otpEnabled: boolean;
40
- } & {
41
- readonly passwordlessEnabled?: boolean;
42
34
  };
43
35
  }) | undefined;
44
36
  }) | undefined;
@@ -60,10 +52,6 @@ export declare const useCreateSessionTokenMutation: ({ headers, apiToken }?: imp
60
52
  readonly email?: string;
61
53
  } & {
62
54
  readonly name?: string;
63
- } & {
64
- readonly otpEnabled: boolean;
65
- } & {
66
- readonly passwordlessEnabled?: boolean;
67
55
  };
68
56
  }, TenantApi.CreateSessionTokenErrorCode>>;
69
57
  export type CreateSessionTokenMutationVariables = Parameters<ReturnType<typeof useCreateSessionTokenMutation>>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateSessionTokenMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,gCAAgC;;;;;;;;;;;;;;MAAuE,CAAA;AAE7G,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEjG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;0CAAmD,CAAA;AAC7F,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"useCreateSessionTokenMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,gCAAgC;;;;;;;;;;MAAoF,CAAA;AAE1H,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEjG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;0CAAmD,CAAA;AAC7F,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -9,10 +9,6 @@ declare const signInResultFragment: TenantApi.SignInResultFetcher<{
9
9
  readonly email?: string;
10
10
  } & {
11
11
  readonly name?: string;
12
- } & {
13
- readonly otpEnabled: boolean;
14
- } & {
15
- readonly passwordlessEnabled?: boolean;
16
12
  };
17
13
  }, {}>;
18
14
  export type SignInMutationResult = ModelType<typeof signInResultFragment>;
@@ -37,10 +33,6 @@ export declare const signInMutation: TenantApi.MutationFetcher<{
37
33
  readonly email?: string;
38
34
  } & {
39
35
  readonly name?: string;
40
- } & {
41
- readonly otpEnabled: boolean;
42
- } & {
43
- readonly passwordlessEnabled?: boolean;
44
36
  };
45
37
  }) | undefined;
46
38
  }) | undefined;
@@ -64,10 +56,6 @@ export declare const useSignInMutation: ({ headers, apiToken }?: import("../../u
64
56
  readonly email?: string;
65
57
  } & {
66
58
  readonly name?: string;
67
- } & {
68
- readonly otpEnabled: boolean;
69
- } & {
70
- readonly passwordlessEnabled?: boolean;
71
59
  };
72
60
  }, TenantApi.SignInErrorCode>>;
73
61
  export type SignInMutationVariables = Parameters<ReturnType<typeof useSignInMutation>>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"useSignInMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useSignInMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;MAAsD,CAAA;AAEhF,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAA;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;8BAE5B,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"useSignInMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useSignInMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,oBAAoB;;;;;;;;;;MAAmE,CAAA;AAE7F,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAA;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;8BAE5B,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -9,10 +9,6 @@ declare const signInIdpFragment: TenantApi.SignInIDPResultFetcher<{
9
9
  readonly email?: string;
10
10
  } & {
11
11
  readonly name?: string;
12
- } & {
13
- readonly otpEnabled: boolean;
14
- } & {
15
- readonly passwordlessEnabled?: boolean;
16
12
  };
17
13
  }, {}>;
18
14
  export type SignInIDPMutationResult = ModelType<typeof signInIdpFragment>;
@@ -37,10 +33,6 @@ export declare const signInIDPMutation: TenantApi.MutationFetcher<{
37
33
  readonly email?: string;
38
34
  } & {
39
35
  readonly name?: string;
40
- } & {
41
- readonly otpEnabled: boolean;
42
- } & {
43
- readonly passwordlessEnabled?: boolean;
44
36
  };
45
37
  }) | undefined;
46
38
  }) | undefined;
@@ -72,10 +64,6 @@ export declare const useSignInIDPMutation: ({ headers, apiToken }?: import("../.
72
64
  readonly email?: string;
73
65
  } & {
74
66
  readonly name?: string;
75
- } & {
76
- readonly otpEnabled: boolean;
77
- } & {
78
- readonly passwordlessEnabled?: boolean;
79
67
  };
80
68
  }, TenantApi.SignInIDPErrorCode>>;
81
69
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useSignInIdpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/idp/useSignInIdpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;MAAyD,CAAA;AAEhF,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEzE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACxC,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EACD;QACD,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,WAAW,CAAC,EAAE,GAAG,CAAA;KACjB,GACC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;CACzB,CAAA;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iCAE/B,CAAA"}
1
+ {"version":3,"file":"useSignInIdpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/idp/useSignInIdpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,iBAAiB;;;;;;;;;;MAAsE,CAAA;AAE7F,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEzE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACxC,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EACD;QACD,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,WAAW,CAAC,EAAE,GAAG,CAAA;KACjB,GACC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;CACzB,CAAA;AAGD,eAAO,MAAM,oBAAoB;;;;;;;;;;iCAE/B,CAAA"}
@@ -9,10 +9,6 @@ declare const inviteMutationResult: TenantApi.InviteResultFetcher<{
9
9
  readonly email?: string;
10
10
  } & {
11
11
  readonly name?: string;
12
- } & {
13
- readonly otpEnabled: boolean;
14
- } & {
15
- readonly passwordlessEnabled?: boolean;
16
12
  } & {
17
13
  readonly identity: {
18
14
  readonly id: string;
@@ -53,10 +49,6 @@ export declare const inviteMutation: TenantApi.MutationFetcher<{
53
49
  readonly email?: string;
54
50
  } & {
55
51
  readonly name?: string;
56
- } & {
57
- readonly otpEnabled: boolean;
58
- } & {
59
- readonly passwordlessEnabled?: boolean;
60
52
  } & {
61
53
  readonly identity: {
62
54
  readonly id: string;
@@ -90,10 +82,6 @@ export declare const useInviteMutation: ({ headers, apiToken }?: import("../..")
90
82
  readonly email?: string;
91
83
  } & {
92
84
  readonly name?: string;
93
- } & {
94
- readonly otpEnabled: boolean;
95
- } & {
96
- readonly passwordlessEnabled?: boolean;
97
85
  } & {
98
86
  readonly identity: {
99
87
  readonly id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useInviteMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/invite/useInviteMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;MACiC,CAAA;AAE3D,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAAuC,CAAA;AACrE,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"useInviteMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/invite/useInviteMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;MAC8C,CAAA;AAExE,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;8BAAuC,CAAA;AACrE,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -9,10 +9,6 @@ declare const signInResultFragment: TenantApi.SignInPasswordlessResultFetcher<{
9
9
  readonly email?: string;
10
10
  } & {
11
11
  readonly name?: string;
12
- } & {
13
- readonly otpEnabled: boolean;
14
- } & {
15
- readonly passwordlessEnabled?: boolean;
16
12
  };
17
13
  }, {}>;
18
14
  export type SignInPasswordlessMutationResult = ModelType<typeof signInResultFragment>;
@@ -31,10 +27,6 @@ export declare const useSignInPasswordlessMutation: ({ headers, apiToken }?: imp
31
27
  readonly email?: string;
32
28
  } & {
33
29
  readonly name?: string;
34
- } & {
35
- readonly otpEnabled: boolean;
36
- } & {
37
- readonly passwordlessEnabled?: boolean;
38
30
  };
39
31
  }, TenantApi.SignInPasswordlessErrorCode>>;
40
32
  export type SignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useSignInPasswordlessMutation>>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"useSignInPasswordlessMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;MAAkE,CAAA;AAE5F,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAYrF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;0CAExC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"useSignInPasswordlessMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,oBAAoB;;;;;;;;;;MAA+E,CAAA;AAEzG,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAYrF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;0CAExC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -16,8 +16,6 @@ declare const identityFragment: TenantApi.IdentityFetcher<{
16
16
  readonly name?: string;
17
17
  } & {
18
18
  readonly otpEnabled: boolean;
19
- } & {
20
- readonly passwordlessEnabled?: boolean;
21
19
  }) | undefined;
22
20
  } & {
23
21
  readonly projects: readonly ({
@@ -1 +1 @@
1
- {"version":3,"file":"useMeQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useMeQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ8B,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,eAAO,MAAM,UAAU,aAAa,gBAAgB,UAErB,EAAE,KAAG,OAAO,CAAC,WAAW,CAGtD,CAAA"}
1
+ {"version":3,"file":"useMeQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useMeQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQ8B,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,eAAO,MAAM,UAAU,aAAa,gBAAgB,UAErB,EAAE,KAAG,OAAO,CAAC,WAAW,CAGtD,CAAA"}
@@ -17,8 +17,6 @@ declare const projectIdentityRelationFragment: TenantApi.ProjectIdentityRelation
17
17
  readonly name?: string;
18
18
  } & {
19
19
  readonly otpEnabled: boolean;
20
- } & {
21
- readonly passwordlessEnabled?: boolean;
22
20
  }) | undefined;
23
21
  } & {
24
22
  readonly apiKey?: {
@@ -1 +1 @@
1
- {"version":3,"file":"useProjectMembersQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useProjectMembersQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOqC,CAAA;AAE1E,MAAM,MAAM,yBAAyB,GAAG,SAAS,SAAS,CAAC,OAAO,+BAA+B,CAAC,EAAE,CAAA;AAEpG,MAAM,MAAM,4BAA4B,GACrC;IACD,WAAW,EAAE,MAAM,CAAA;CACnB,GACC,SAAS,CAAC,mBAAmB,CAAA;AAGhC,eAAO,MAAM,sBAAsB,2BAA2B,gBAAgB,wCAKjB,4BAA4B,KAAG,OAAO,CAAC,yBAAyB,CAc5H,CAAA"}
1
+ {"version":3,"file":"useProjectMembersQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useProjectMembersQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOqC,CAAA;AAE1E,MAAM,MAAM,yBAAyB,GAAG,SAAS,SAAS,CAAC,OAAO,+BAA+B,CAAC,EAAE,CAAA;AAEpG,MAAM,MAAM,4BAA4B,GACrC;IACD,WAAW,EAAE,MAAM,CAAA;CACnB,GACC,SAAS,CAAC,mBAAmB,CAAA;AAGhC,eAAO,MAAM,sBAAsB,2BAA2B,gBAAgB,wCAKjB,4BAA4B,KAAG,OAAO,CAAC,yBAAyB,CAc5H,CAAA"}