@contember/graphql-client-tenant 2.2.0-alpha.17 → 2.2.0-alpha.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.
Files changed (125) hide show
  1. package/dist/development/index.cjs +3 -0
  2. package/dist/development/index.cjs.map +1 -1
  3. package/dist/development/index.js +3 -0
  4. package/dist/development/index.js.map +1 -1
  5. package/dist/development/src/generated/EnumInputMetadata.cjs +1 -0
  6. package/dist/development/src/generated/EnumInputMetadata.cjs.map +1 -1
  7. package/dist/development/src/generated/EnumInputMetadata.js +1 -0
  8. package/dist/development/src/generated/EnumInputMetadata.js.map +1 -1
  9. package/dist/development/src/generated/fetchers/ConfigEmailChangeFetcher.cjs +3 -2
  10. package/dist/development/src/generated/fetchers/ConfigEmailChangeFetcher.cjs.map +1 -1
  11. package/dist/development/src/generated/fetchers/ConfigEmailChangeFetcher.js +3 -2
  12. package/dist/development/src/generated/fetchers/ConfigEmailChangeFetcher.js.map +1 -1
  13. package/dist/development/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.cjs +3 -2
  14. package/dist/development/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.cjs.map +1 -1
  15. package/dist/development/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.js +3 -2
  16. package/dist/development/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.js.map +1 -1
  17. package/dist/development/src/generated/fetchers/ConfigLoginFetcher.cjs +2 -1
  18. package/dist/development/src/generated/fetchers/ConfigLoginFetcher.cjs.map +1 -1
  19. package/dist/development/src/generated/fetchers/ConfigLoginFetcher.js +2 -1
  20. package/dist/development/src/generated/fetchers/ConfigLoginFetcher.js.map +1 -1
  21. package/dist/development/src/generated/fetchers/ConfigPasswordFetcher.cjs +3 -2
  22. package/dist/development/src/generated/fetchers/ConfigPasswordFetcher.cjs.map +1 -1
  23. package/dist/development/src/generated/fetchers/ConfigPasswordFetcher.js +3 -2
  24. package/dist/development/src/generated/fetchers/ConfigPasswordFetcher.js.map +1 -1
  25. package/dist/development/src/generated/fetchers/ConfigPasswordlessFetcher.cjs +3 -2
  26. package/dist/development/src/generated/fetchers/ConfigPasswordlessFetcher.cjs.map +1 -1
  27. package/dist/development/src/generated/fetchers/ConfigPasswordlessFetcher.js +3 -2
  28. package/dist/development/src/generated/fetchers/ConfigPasswordlessFetcher.js.map +1 -1
  29. package/dist/development/src/generated/fetchers/MutationFetcher.cjs +20 -2
  30. package/dist/development/src/generated/fetchers/MutationFetcher.cjs.map +1 -1
  31. package/dist/development/src/generated/fetchers/MutationFetcher.js +20 -2
  32. package/dist/development/src/generated/fetchers/MutationFetcher.js.map +1 -1
  33. package/dist/development/src/generated/fetchers/PrepareOtpErrorFetcher.cjs +21 -0
  34. package/dist/development/src/generated/fetchers/PrepareOtpErrorFetcher.cjs.map +1 -0
  35. package/dist/development/src/generated/fetchers/PrepareOtpErrorFetcher.js +21 -0
  36. package/dist/development/src/generated/fetchers/PrepareOtpErrorFetcher.js.map +1 -0
  37. package/dist/development/src/generated/fetchers/PrepareOtpResponseFetcher.cjs +6 -0
  38. package/dist/development/src/generated/fetchers/PrepareOtpResponseFetcher.cjs.map +1 -1
  39. package/dist/development/src/generated/fetchers/PrepareOtpResponseFetcher.js +6 -0
  40. package/dist/development/src/generated/fetchers/PrepareOtpResponseFetcher.js.map +1 -1
  41. package/dist/production/index.cjs +3 -0
  42. package/dist/production/index.cjs.map +1 -1
  43. package/dist/production/index.js +3 -0
  44. package/dist/production/index.js.map +1 -1
  45. package/dist/production/src/generated/EnumInputMetadata.cjs +1 -0
  46. package/dist/production/src/generated/EnumInputMetadata.cjs.map +1 -1
  47. package/dist/production/src/generated/EnumInputMetadata.js +1 -0
  48. package/dist/production/src/generated/EnumInputMetadata.js.map +1 -1
  49. package/dist/production/src/generated/fetchers/ConfigEmailChangeFetcher.cjs +3 -2
  50. package/dist/production/src/generated/fetchers/ConfigEmailChangeFetcher.cjs.map +1 -1
  51. package/dist/production/src/generated/fetchers/ConfigEmailChangeFetcher.js +3 -2
  52. package/dist/production/src/generated/fetchers/ConfigEmailChangeFetcher.js.map +1 -1
  53. package/dist/production/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.cjs +3 -2
  54. package/dist/production/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.cjs.map +1 -1
  55. package/dist/production/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.js +3 -2
  56. package/dist/production/src/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.js.map +1 -1
  57. package/dist/production/src/generated/fetchers/ConfigLoginFetcher.cjs +2 -1
  58. package/dist/production/src/generated/fetchers/ConfigLoginFetcher.cjs.map +1 -1
  59. package/dist/production/src/generated/fetchers/ConfigLoginFetcher.js +2 -1
  60. package/dist/production/src/generated/fetchers/ConfigLoginFetcher.js.map +1 -1
  61. package/dist/production/src/generated/fetchers/ConfigPasswordFetcher.cjs +3 -2
  62. package/dist/production/src/generated/fetchers/ConfigPasswordFetcher.cjs.map +1 -1
  63. package/dist/production/src/generated/fetchers/ConfigPasswordFetcher.js +3 -2
  64. package/dist/production/src/generated/fetchers/ConfigPasswordFetcher.js.map +1 -1
  65. package/dist/production/src/generated/fetchers/ConfigPasswordlessFetcher.cjs +3 -2
  66. package/dist/production/src/generated/fetchers/ConfigPasswordlessFetcher.cjs.map +1 -1
  67. package/dist/production/src/generated/fetchers/ConfigPasswordlessFetcher.js +3 -2
  68. package/dist/production/src/generated/fetchers/ConfigPasswordlessFetcher.js.map +1 -1
  69. package/dist/production/src/generated/fetchers/MutationFetcher.cjs +20 -2
  70. package/dist/production/src/generated/fetchers/MutationFetcher.cjs.map +1 -1
  71. package/dist/production/src/generated/fetchers/MutationFetcher.js +20 -2
  72. package/dist/production/src/generated/fetchers/MutationFetcher.js.map +1 -1
  73. package/dist/production/src/generated/fetchers/PrepareOtpErrorFetcher.cjs +21 -0
  74. package/dist/production/src/generated/fetchers/PrepareOtpErrorFetcher.cjs.map +1 -0
  75. package/dist/production/src/generated/fetchers/PrepareOtpErrorFetcher.js +21 -0
  76. package/dist/production/src/generated/fetchers/PrepareOtpErrorFetcher.js.map +1 -0
  77. package/dist/production/src/generated/fetchers/PrepareOtpResponseFetcher.cjs +6 -0
  78. package/dist/production/src/generated/fetchers/PrepareOtpResponseFetcher.cjs.map +1 -1
  79. package/dist/production/src/generated/fetchers/PrepareOtpResponseFetcher.js +6 -0
  80. package/dist/production/src/generated/fetchers/PrepareOtpResponseFetcher.js.map +1 -1
  81. package/dist/types/generated/EnumInputMetadata.d.ts.map +1 -1
  82. package/dist/types/generated/enums/ChangeMyProfileErrorCode.d.ts +1 -1
  83. package/dist/types/generated/enums/ChangeMyProfileErrorCode.d.ts.map +1 -1
  84. package/dist/types/generated/enums/DisableEmailOtpErrorCode.d.ts +1 -1
  85. package/dist/types/generated/enums/DisableEmailOtpErrorCode.d.ts.map +1 -1
  86. package/dist/types/generated/enums/DisableOtpErrorCode.d.ts +1 -1
  87. package/dist/types/generated/enums/DisableOtpErrorCode.d.ts.map +1 -1
  88. package/dist/types/generated/enums/PrepareOtpErrorCode.d.ts +2 -0
  89. package/dist/types/generated/enums/PrepareOtpErrorCode.d.ts.map +1 -0
  90. package/dist/types/generated/enums/RegenerateBackupCodesErrorCode.d.ts +1 -1
  91. package/dist/types/generated/enums/RegenerateBackupCodesErrorCode.d.ts.map +1 -1
  92. package/dist/types/generated/enums/WeakPasswordReason.d.ts +1 -1
  93. package/dist/types/generated/enums/WeakPasswordReason.d.ts.map +1 -1
  94. package/dist/types/generated/enums/index.d.ts +1 -0
  95. package/dist/types/generated/enums/index.d.ts.map +1 -1
  96. package/dist/types/generated/fetchers/ConfigEmailChangeFetcher.d.ts +17 -0
  97. package/dist/types/generated/fetchers/ConfigEmailChangeFetcher.d.ts.map +1 -1
  98. package/dist/types/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.d.ts +17 -0
  99. package/dist/types/generated/fetchers/ConfigLoginAnomalyDetectionFetcher.d.ts.map +1 -1
  100. package/dist/types/generated/fetchers/ConfigLoginFetcher.d.ts +17 -0
  101. package/dist/types/generated/fetchers/ConfigLoginFetcher.d.ts.map +1 -1
  102. package/dist/types/generated/fetchers/ConfigPasswordFetcher.d.ts +17 -0
  103. package/dist/types/generated/fetchers/ConfigPasswordFetcher.d.ts.map +1 -1
  104. package/dist/types/generated/fetchers/ConfigPasswordlessFetcher.d.ts +17 -0
  105. package/dist/types/generated/fetchers/ConfigPasswordlessFetcher.d.ts.map +1 -1
  106. package/dist/types/generated/fetchers/MutationFetcher.d.ts +46 -6
  107. package/dist/types/generated/fetchers/MutationFetcher.d.ts.map +1 -1
  108. package/dist/types/generated/fetchers/PrepareOtpErrorFetcher.d.ts +50 -0
  109. package/dist/types/generated/fetchers/PrepareOtpErrorFetcher.d.ts.map +1 -0
  110. package/dist/types/generated/fetchers/PrepareOtpResponseFetcher.d.ts +8 -0
  111. package/dist/types/generated/fetchers/PrepareOtpResponseFetcher.d.ts.map +1 -1
  112. package/dist/types/generated/fetchers/index.d.ts +2 -0
  113. package/dist/types/generated/fetchers/index.d.ts.map +1 -1
  114. package/dist/types/generated/inputs/ConfigEmailChangeInput.d.ts +1 -0
  115. package/dist/types/generated/inputs/ConfigEmailChangeInput.d.ts.map +1 -1
  116. package/dist/types/generated/inputs/ConfigLoginAnomalyDetectionInput.d.ts +1 -0
  117. package/dist/types/generated/inputs/ConfigLoginAnomalyDetectionInput.d.ts.map +1 -1
  118. package/dist/types/generated/inputs/ConfigLoginInput.d.ts +1 -0
  119. package/dist/types/generated/inputs/ConfigLoginInput.d.ts.map +1 -1
  120. package/dist/types/generated/inputs/ConfigPasswordInput.d.ts +1 -0
  121. package/dist/types/generated/inputs/ConfigPasswordInput.d.ts.map +1 -1
  122. package/dist/types/generated/inputs/ConfigPasswordlessInput.d.ts +1 -0
  123. package/dist/types/generated/inputs/ConfigPasswordlessInput.d.ts.map +1 -1
  124. package/dist/types/tsconfig.tsbuildinfo +1 -1
  125. package/package.json +2 -2
@@ -17,13 +17,14 @@ const configPassword$ = createFetcher(
17
17
  undefinable: true
18
18
  },
19
19
  "checkBlacklist",
20
- "checkHibp"
20
+ "checkHibp",
21
+ "revokeSessionsOnChange"
21
22
  ]
22
23
  ),
23
24
  ENUM_INPUT_METADATA,
24
25
  void 0
25
26
  );
26
- const configPassword$$ = configPassword$.minLength.requireUppercase.requireLowercase.requireDigit.requireSpecial.pattern.checkBlacklist.checkHibp;
27
+ const configPassword$$ = configPassword$.minLength.requireUppercase.requireLowercase.requireDigit.requireSpecial.pattern.checkBlacklist.checkHibp.revokeSessionsOnChange;
27
28
  export {
28
29
  configPassword$,
29
30
  configPassword$$
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigPasswordFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ConfigPasswordFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ConfigPasswordFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ConfigPassword', T, TVariables> {\n\n on<XName extends ImplementationType<'ConfigPassword'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ConfigPasswordFetcher<\n XName extends 'ConfigPassword' ?\n T & X :\n WithTypeName<T, ImplementationType<'ConfigPassword'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ConfigPassword'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ConfigPasswordFetcher<T, TVariables>;\n\n\n readonly __typename: ConfigPasswordFetcher<T & {__typename: ImplementationType<'ConfigPassword'>}, TVariables>;\n\n\n readonly minLength: ConfigPasswordFetcher<T & {readonly \"minLength\": number}, TVariables>;\n\n \"minLength+\"<\n XAlias extends string = \"minLength\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"minLength\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~minLength\": ConfigPasswordFetcher<Omit<T, 'minLength'>, TVariables>;\n\n\n readonly requireUppercase: ConfigPasswordFetcher<T & {readonly \"requireUppercase\": number}, TVariables>;\n\n \"requireUppercase+\"<\n XAlias extends string = \"requireUppercase\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireUppercase\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireUppercase\": ConfigPasswordFetcher<Omit<T, 'requireUppercase'>, TVariables>;\n\n\n readonly requireLowercase: ConfigPasswordFetcher<T & {readonly \"requireLowercase\": number}, TVariables>;\n\n \"requireLowercase+\"<\n XAlias extends string = \"requireLowercase\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireLowercase\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireLowercase\": ConfigPasswordFetcher<Omit<T, 'requireLowercase'>, TVariables>;\n\n\n readonly requireDigit: ConfigPasswordFetcher<T & {readonly \"requireDigit\": number}, TVariables>;\n\n \"requireDigit+\"<\n XAlias extends string = \"requireDigit\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireDigit\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireDigit\": ConfigPasswordFetcher<Omit<T, 'requireDigit'>, TVariables>;\n\n\n readonly requireSpecial: ConfigPasswordFetcher<T & {readonly \"requireSpecial\": number}, TVariables>;\n\n \"requireSpecial+\"<\n XAlias extends string = \"requireSpecial\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireSpecial\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireSpecial\": ConfigPasswordFetcher<Omit<T, 'requireSpecial'>, TVariables>;\n\n\n readonly pattern: ConfigPasswordFetcher<T & {readonly \"pattern\"?: string}, TVariables>;\n\n \"pattern+\"<\n XAlias extends string = \"pattern\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"pattern\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~pattern\": ConfigPasswordFetcher<Omit<T, 'pattern'>, TVariables>;\n\n\n readonly checkBlacklist: ConfigPasswordFetcher<T & {readonly \"checkBlacklist\": boolean}, TVariables>;\n\n \"checkBlacklist+\"<\n XAlias extends string = \"checkBlacklist\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"checkBlacklist\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~checkBlacklist\": ConfigPasswordFetcher<Omit<T, 'checkBlacklist'>, TVariables>;\n\n\n readonly checkHibp: ConfigPasswordFetcher<T & {readonly \"checkHibp\": boolean}, TVariables>;\n\n \"checkHibp+\"<\n XAlias extends string = \"checkHibp\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"checkHibp\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~checkHibp\": ConfigPasswordFetcher<Omit<T, 'checkHibp'>, TVariables>;\n}\n\nexport const configPassword$: ConfigPasswordFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ConfigPassword\", \n \"EMBEDDED\", \n [], \n [\n \"minLength\", \n \"requireUppercase\", \n \"requireLowercase\", \n \"requireDigit\", \n \"requireSpecial\", \n {\n category: \"SCALAR\", \n name: \"pattern\", \n undefinable: true\n }, \n \"checkBlacklist\", \n \"checkHibp\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const configPassword$$ = \n configPassword$\n .minLength\n .requireUppercase\n .requireLowercase\n .requireDigit\n .requireSpecial\n .pattern\n .checkBlacklist\n .checkHibp\n;\n"],"names":[],"mappings":";;AA8MO,MAAM,kBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,mBACT,gBACK,UACA,iBACA,iBACA,aACA,eACA,QACA,eACA;"}
1
+ {"version":3,"file":"ConfigPasswordFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ConfigPasswordFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ConfigPasswordFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ConfigPassword', T, TVariables> {\n\n on<XName extends ImplementationType<'ConfigPassword'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ConfigPasswordFetcher<\n XName extends 'ConfigPassword' ?\n T & X :\n WithTypeName<T, ImplementationType<'ConfigPassword'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ConfigPassword'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ConfigPasswordFetcher<T, TVariables>;\n\n\n readonly __typename: ConfigPasswordFetcher<T & {__typename: ImplementationType<'ConfigPassword'>}, TVariables>;\n\n\n readonly minLength: ConfigPasswordFetcher<T & {readonly \"minLength\": number}, TVariables>;\n\n \"minLength+\"<\n XAlias extends string = \"minLength\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"minLength\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~minLength\": ConfigPasswordFetcher<Omit<T, 'minLength'>, TVariables>;\n\n\n readonly requireUppercase: ConfigPasswordFetcher<T & {readonly \"requireUppercase\": number}, TVariables>;\n\n \"requireUppercase+\"<\n XAlias extends string = \"requireUppercase\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireUppercase\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireUppercase\": ConfigPasswordFetcher<Omit<T, 'requireUppercase'>, TVariables>;\n\n\n readonly requireLowercase: ConfigPasswordFetcher<T & {readonly \"requireLowercase\": number}, TVariables>;\n\n \"requireLowercase+\"<\n XAlias extends string = \"requireLowercase\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireLowercase\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireLowercase\": ConfigPasswordFetcher<Omit<T, 'requireLowercase'>, TVariables>;\n\n\n readonly requireDigit: ConfigPasswordFetcher<T & {readonly \"requireDigit\": number}, TVariables>;\n\n \"requireDigit+\"<\n XAlias extends string = \"requireDigit\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireDigit\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireDigit\": ConfigPasswordFetcher<Omit<T, 'requireDigit'>, TVariables>;\n\n\n readonly requireSpecial: ConfigPasswordFetcher<T & {readonly \"requireSpecial\": number}, TVariables>;\n\n \"requireSpecial+\"<\n XAlias extends string = \"requireSpecial\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"requireSpecial\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: number} : \n {readonly [key in XAlias]: number}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~requireSpecial\": ConfigPasswordFetcher<Omit<T, 'requireSpecial'>, TVariables>;\n\n\n readonly pattern: ConfigPasswordFetcher<T & {readonly \"pattern\"?: string}, TVariables>;\n\n \"pattern+\"<\n XAlias extends string = \"pattern\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"pattern\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~pattern\": ConfigPasswordFetcher<Omit<T, 'pattern'>, TVariables>;\n\n\n readonly checkBlacklist: ConfigPasswordFetcher<T & {readonly \"checkBlacklist\": boolean}, TVariables>;\n\n \"checkBlacklist+\"<\n XAlias extends string = \"checkBlacklist\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"checkBlacklist\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~checkBlacklist\": ConfigPasswordFetcher<Omit<T, 'checkBlacklist'>, TVariables>;\n\n\n readonly checkHibp: ConfigPasswordFetcher<T & {readonly \"checkHibp\": boolean}, TVariables>;\n\n \"checkHibp+\"<\n XAlias extends string = \"checkHibp\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"checkHibp\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~checkHibp\": ConfigPasswordFetcher<Omit<T, 'checkHibp'>, TVariables>;\n\n\n readonly revokeSessionsOnChange: ConfigPasswordFetcher<T & {readonly \"revokeSessionsOnChange\": boolean}, TVariables>;\n\n \"revokeSessionsOnChange+\"<\n XAlias extends string = \"revokeSessionsOnChange\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"revokeSessionsOnChange\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~revokeSessionsOnChange\": ConfigPasswordFetcher<Omit<T, 'revokeSessionsOnChange'>, TVariables>;\n}\n\nexport const configPassword$: ConfigPasswordFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ConfigPassword\", \n \"EMBEDDED\", \n [], \n [\n \"minLength\", \n \"requireUppercase\", \n \"requireLowercase\", \n \"requireDigit\", \n \"requireSpecial\", \n {\n category: \"SCALAR\", \n name: \"pattern\", \n undefinable: true\n }, \n \"checkBlacklist\", \n \"checkHibp\", \n \"revokeSessionsOnChange\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const configPassword$$ = \n configPassword$\n .minLength\n .requireUppercase\n .requireLowercase\n .requireDigit\n .requireSpecial\n .pattern\n .checkBlacklist\n .checkHibp\n .revokeSessionsOnChange\n;\n"],"names":[],"mappings":";;AAoOO,MAAM,kBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,mBACT,gBACK,UACA,iBACA,iBACA,aACA,eACA,QACA,eACA,UACA;"}
@@ -14,13 +14,14 @@ const configPasswordless$ = graphqlTsClientApi.createFetcher(
14
14
  name: "url",
15
15
  undefinable: true
16
16
  },
17
- "expiration"
17
+ "expiration",
18
+ "uniformResponse"
18
19
  ]
19
20
  ),
20
21
  EnumInputMetadata.ENUM_INPUT_METADATA,
21
22
  void 0
22
23
  );
23
- const configPasswordless$$ = configPasswordless$.enabled.url.expiration;
24
+ const configPasswordless$$ = configPasswordless$.enabled.url.expiration.uniformResponse;
24
25
  exports.configPasswordless$ = configPasswordless$;
25
26
  exports.configPasswordless$$ = configPasswordless$$;
26
27
  //# sourceMappingURL=ConfigPasswordlessFetcher.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigPasswordlessFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ConfigPasswordlessFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ConfigPolicy} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ConfigPasswordlessFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ConfigPasswordless', T, TVariables> {\n\n on<XName extends ImplementationType<'ConfigPasswordless'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ConfigPasswordlessFetcher<\n XName extends 'ConfigPasswordless' ?\n T & X :\n WithTypeName<T, ImplementationType<'ConfigPasswordless'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ConfigPasswordless'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ConfigPasswordlessFetcher<T, TVariables>;\n\n\n readonly __typename: ConfigPasswordlessFetcher<T & {__typename: ImplementationType<'ConfigPasswordless'>}, TVariables>;\n\n\n readonly enabled: ConfigPasswordlessFetcher<T & {readonly \"enabled\": ConfigPolicy}, TVariables>;\n\n \"enabled+\"<\n XAlias extends string = \"enabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"enabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ConfigPolicy} : \n {readonly [key in XAlias]: ConfigPolicy}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~enabled\": ConfigPasswordlessFetcher<Omit<T, 'enabled'>, TVariables>;\n\n\n readonly url: ConfigPasswordlessFetcher<T & {readonly \"url\"?: string}, TVariables>;\n\n \"url+\"<\n XAlias extends string = \"url\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"url\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~url\": ConfigPasswordlessFetcher<Omit<T, 'url'>, TVariables>;\n\n\n readonly expiration: ConfigPasswordlessFetcher<T & {readonly \"expiration\": string}, TVariables>;\n\n \"expiration+\"<\n XAlias extends string = \"expiration\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"expiration\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~expiration\": ConfigPasswordlessFetcher<Omit<T, 'expiration'>, TVariables>;\n}\n\nexport const configPasswordless$: ConfigPasswordlessFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ConfigPasswordless\", \n \"EMBEDDED\", \n [], \n [\n \"enabled\", \n {\n category: \"SCALAR\", \n name: \"url\", \n undefinable: true\n }, \n \"expiration\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const configPasswordless$$ = \n configPasswordless$\n .enabled\n .url\n .expiration\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAiGO,MAAM,sBACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,uBACT,oBACK,QACA,IACA;;;"}
1
+ {"version":3,"file":"ConfigPasswordlessFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ConfigPasswordlessFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ConfigPolicy} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ConfigPasswordlessFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ConfigPasswordless', T, TVariables> {\n\n on<XName extends ImplementationType<'ConfigPasswordless'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ConfigPasswordlessFetcher<\n XName extends 'ConfigPasswordless' ?\n T & X :\n WithTypeName<T, ImplementationType<'ConfigPasswordless'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ConfigPasswordless'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ConfigPasswordlessFetcher<T, TVariables>;\n\n\n readonly __typename: ConfigPasswordlessFetcher<T & {__typename: ImplementationType<'ConfigPasswordless'>}, TVariables>;\n\n\n readonly enabled: ConfigPasswordlessFetcher<T & {readonly \"enabled\": ConfigPolicy}, TVariables>;\n\n \"enabled+\"<\n XAlias extends string = \"enabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"enabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ConfigPolicy} : \n {readonly [key in XAlias]: ConfigPolicy}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~enabled\": ConfigPasswordlessFetcher<Omit<T, 'enabled'>, TVariables>;\n\n\n readonly url: ConfigPasswordlessFetcher<T & {readonly \"url\"?: string}, TVariables>;\n\n \"url+\"<\n XAlias extends string = \"url\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"url\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~url\": ConfigPasswordlessFetcher<Omit<T, 'url'>, TVariables>;\n\n\n readonly expiration: ConfigPasswordlessFetcher<T & {readonly \"expiration\": string}, TVariables>;\n\n \"expiration+\"<\n XAlias extends string = \"expiration\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"expiration\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~expiration\": ConfigPasswordlessFetcher<Omit<T, 'expiration'>, TVariables>;\n\n\n readonly uniformResponse: ConfigPasswordlessFetcher<T & {readonly \"uniformResponse\": boolean}, TVariables>;\n\n \"uniformResponse+\"<\n XAlias extends string = \"uniformResponse\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"uniformResponse\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~uniformResponse\": ConfigPasswordlessFetcher<Omit<T, 'uniformResponse'>, TVariables>;\n}\n\nexport const configPasswordless$: ConfigPasswordlessFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ConfigPasswordless\", \n \"EMBEDDED\", \n [], \n [\n \"enabled\", \n {\n category: \"SCALAR\", \n name: \"url\", \n undefinable: true\n }, \n \"expiration\", \n \"uniformResponse\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const configPasswordless$$ = \n configPasswordless$\n .enabled\n .url\n .expiration\n .uniformResponse\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAuHO,MAAM,sBACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,uBACT,oBACK,QACA,IACA,WACA;;;"}
@@ -12,13 +12,14 @@ const configPasswordless$ = createFetcher(
12
12
  name: "url",
13
13
  undefinable: true
14
14
  },
15
- "expiration"
15
+ "expiration",
16
+ "uniformResponse"
16
17
  ]
17
18
  ),
18
19
  ENUM_INPUT_METADATA,
19
20
  void 0
20
21
  );
21
- const configPasswordless$$ = configPasswordless$.enabled.url.expiration;
22
+ const configPasswordless$$ = configPasswordless$.enabled.url.expiration.uniformResponse;
22
23
  export {
23
24
  configPasswordless$,
24
25
  configPasswordless$$
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigPasswordlessFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ConfigPasswordlessFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ConfigPolicy} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ConfigPasswordlessFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ConfigPasswordless', T, TVariables> {\n\n on<XName extends ImplementationType<'ConfigPasswordless'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ConfigPasswordlessFetcher<\n XName extends 'ConfigPasswordless' ?\n T & X :\n WithTypeName<T, ImplementationType<'ConfigPasswordless'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ConfigPasswordless'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ConfigPasswordlessFetcher<T, TVariables>;\n\n\n readonly __typename: ConfigPasswordlessFetcher<T & {__typename: ImplementationType<'ConfigPasswordless'>}, TVariables>;\n\n\n readonly enabled: ConfigPasswordlessFetcher<T & {readonly \"enabled\": ConfigPolicy}, TVariables>;\n\n \"enabled+\"<\n XAlias extends string = \"enabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"enabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ConfigPolicy} : \n {readonly [key in XAlias]: ConfigPolicy}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~enabled\": ConfigPasswordlessFetcher<Omit<T, 'enabled'>, TVariables>;\n\n\n readonly url: ConfigPasswordlessFetcher<T & {readonly \"url\"?: string}, TVariables>;\n\n \"url+\"<\n XAlias extends string = \"url\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"url\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~url\": ConfigPasswordlessFetcher<Omit<T, 'url'>, TVariables>;\n\n\n readonly expiration: ConfigPasswordlessFetcher<T & {readonly \"expiration\": string}, TVariables>;\n\n \"expiration+\"<\n XAlias extends string = \"expiration\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"expiration\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~expiration\": ConfigPasswordlessFetcher<Omit<T, 'expiration'>, TVariables>;\n}\n\nexport const configPasswordless$: ConfigPasswordlessFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ConfigPasswordless\", \n \"EMBEDDED\", \n [], \n [\n \"enabled\", \n {\n category: \"SCALAR\", \n name: \"url\", \n undefinable: true\n }, \n \"expiration\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const configPasswordless$$ = \n configPasswordless$\n .enabled\n .url\n .expiration\n;\n"],"names":[],"mappings":";;AAiGO,MAAM,sBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,uBACT,oBACK,QACA,IACA;"}
1
+ {"version":3,"file":"ConfigPasswordlessFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ConfigPasswordlessFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ConfigPolicy} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ConfigPasswordlessFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ConfigPasswordless', T, TVariables> {\n\n on<XName extends ImplementationType<'ConfigPasswordless'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ConfigPasswordlessFetcher<\n XName extends 'ConfigPasswordless' ?\n T & X :\n WithTypeName<T, ImplementationType<'ConfigPasswordless'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ConfigPasswordless'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ConfigPasswordlessFetcher<T, TVariables>;\n\n\n readonly __typename: ConfigPasswordlessFetcher<T & {__typename: ImplementationType<'ConfigPasswordless'>}, TVariables>;\n\n\n readonly enabled: ConfigPasswordlessFetcher<T & {readonly \"enabled\": ConfigPolicy}, TVariables>;\n\n \"enabled+\"<\n XAlias extends string = \"enabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"enabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ConfigPolicy} : \n {readonly [key in XAlias]: ConfigPolicy}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~enabled\": ConfigPasswordlessFetcher<Omit<T, 'enabled'>, TVariables>;\n\n\n readonly url: ConfigPasswordlessFetcher<T & {readonly \"url\"?: string}, TVariables>;\n\n \"url+\"<\n XAlias extends string = \"url\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"url\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~url\": ConfigPasswordlessFetcher<Omit<T, 'url'>, TVariables>;\n\n\n readonly expiration: ConfigPasswordlessFetcher<T & {readonly \"expiration\": string}, TVariables>;\n\n \"expiration+\"<\n XAlias extends string = \"expiration\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"expiration\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~expiration\": ConfigPasswordlessFetcher<Omit<T, 'expiration'>, TVariables>;\n\n\n readonly uniformResponse: ConfigPasswordlessFetcher<T & {readonly \"uniformResponse\": boolean}, TVariables>;\n\n \"uniformResponse+\"<\n XAlias extends string = \"uniformResponse\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"uniformResponse\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ConfigPasswordlessFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~uniformResponse\": ConfigPasswordlessFetcher<Omit<T, 'uniformResponse'>, TVariables>;\n}\n\nexport const configPasswordless$: ConfigPasswordlessFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ConfigPasswordless\", \n \"EMBEDDED\", \n [], \n [\n \"enabled\", \n {\n category: \"SCALAR\", \n name: \"url\", \n undefinable: true\n }, \n \"expiration\", \n \"uniformResponse\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const configPasswordless$$ = \n configPasswordless$\n .enabled\n .url\n .expiration\n .uniformResponse\n;\n"],"names":[],"mappings":";;AAuHO,MAAM,sBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,uBACT,oBACK,QACA,IACA,WACA;"}
@@ -71,7 +71,9 @@ const mutation$ = graphqlTsClientApi.createFetcher(
71
71
  name: "changeMyProfile",
72
72
  argGraphQLTypeMap: {
73
73
  email: "String",
74
- name: "String"
74
+ name: "String",
75
+ currentPassword: "String",
76
+ otpToken: "String"
75
77
  },
76
78
  targetTypeName: "ChangeMyProfileResponse",
77
79
  undefinable: true
@@ -220,7 +222,11 @@ const mutation$ = graphqlTsClientApi.createFetcher(
220
222
  {
221
223
  category: "SCALAR",
222
224
  name: "prepareOtp",
223
- argGraphQLTypeMap: { label: "String" },
225
+ argGraphQLTypeMap: {
226
+ label: "String",
227
+ currentPassword: "String",
228
+ otpToken: "String"
229
+ },
224
230
  targetTypeName: "PrepareOtpResponse",
225
231
  undefinable: true
226
232
  },
@@ -234,12 +240,20 @@ const mutation$ = graphqlTsClientApi.createFetcher(
234
240
  {
235
241
  category: "SCALAR",
236
242
  name: "disableOtp",
243
+ argGraphQLTypeMap: {
244
+ currentPassword: "String",
245
+ otpToken: "String"
246
+ },
237
247
  targetTypeName: "DisableOtpResponse",
238
248
  undefinable: true
239
249
  },
240
250
  {
241
251
  category: "SCALAR",
242
252
  name: "regenerateBackupCodes",
253
+ argGraphQLTypeMap: {
254
+ currentPassword: "String",
255
+ otpToken: "String"
256
+ },
243
257
  targetTypeName: "RegenerateBackupCodesResponse",
244
258
  undefinable: true
245
259
  },
@@ -259,6 +273,10 @@ const mutation$ = graphqlTsClientApi.createFetcher(
259
273
  {
260
274
  category: "SCALAR",
261
275
  name: "disableEmailOtp",
276
+ argGraphQLTypeMap: {
277
+ currentPassword: "String",
278
+ otpToken: "String"
279
+ },
262
280
  targetTypeName: "DisableEmailOtpResponse",
263
281
  undefinable: true
264
282
  },