@better-auth/infra 0.2.14 → 0.3.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.
package/dist/index.d.mts CHANGED
@@ -6,8 +6,8 @@ import z$1 from "zod";
6
6
  import * as better_call0 from "better-call";
7
7
  import { APIError, Endpoint, EndpointOptions } from "better-call";
8
8
  import { DBFieldAttribute } from "better-auth/db";
9
- import * as zod_v4_core0 from "zod/v4/core";
10
9
  import { Invitation, Member, Organization, Team, TeamMember } from "better-auth/plugins";
10
+ import * as zod_v4_core0 from "zod/v4/core";
11
11
  export type * from "better-call";
12
12
 
13
13
  //#region src/identification.d.ts
@@ -285,6 +285,7 @@ declare const sentinel: (options?: SentinelOptions) => {
285
285
  getSignedCookie: (key: string, secret: string, prefix?: import("better-call").CookiePrefixOptions) => Promise<string | null | false>;
286
286
  setCookie: (key: string, value: string, options?: import("better-call").CookieOptions) => string;
287
287
  setSignedCookie: (key: string, value: string, secret: string, options?: import("better-call").CookieOptions) => Promise<string>;
288
+ responseHeaders: Headers;
288
289
  json: (<R extends Record<string, any> | null>(json: R, routerResponse?: {
289
290
  status?: number;
290
291
  headers?: Record<string, string>;
@@ -674,6 +675,10 @@ interface SendSMSOptions {
674
675
  * The SMS template to use (optional - defaults to generic verification message)
675
676
  */
676
677
  template?: SMSTemplateId;
678
+ /**
679
+ * End-user IP for abuse limits when calling from Better Auth server-to-server.
680
+ */
681
+ clientIp?: string;
677
682
  }
678
683
  /**
679
684
  * Create an SMS sender instance
@@ -775,7 +780,7 @@ interface DashIdRow {
775
780
  id: string;
776
781
  }
777
782
  //#endregion
778
- //#region ../../node_modules/.bun/@better-auth+scim@1.6.15+095c64a03bdccbe8/node_modules/@better-auth/scim/dist/index.d.mts
783
+ //#region ../../node_modules/.bun/@better-auth+scim@1.7.0-beta.8+e68feb61976e8634/node_modules/@better-auth/scim/dist/index.d.mts
779
784
  //#region src/types.d.ts
780
785
  interface SCIMProvider {
781
786
  id: string;
@@ -784,14 +789,36 @@ interface SCIMProvider {
784
789
  organizationId?: string;
785
790
  userId?: string;
786
791
  }
787
- type SCIMOptions = {
788
- /**
789
- * SCIM provider ownership configuration. When enabled, each provider
790
- * connection is linked to the user who generated its token.
791
- */
792
- providerOwnership?: {
793
- enabled: boolean;
792
+ type SCIMGroupMemberInput = {
793
+ value?: string;
794
+ $ref?: string;
795
+ display?: string;
796
+ type?: string;
797
+ };
798
+ type SCIMGroupInput = {
799
+ externalId?: string;
800
+ displayName: string;
801
+ members?: SCIMGroupMemberInput[];
802
+ };
803
+ type MapGroupToRolesInput = {
804
+ group: SCIMGroupInput;
805
+ provider: {
806
+ providerId: string;
807
+ organizationId: string;
794
808
  };
809
+ };
810
+ type SCIMGroupMemberReference = {
811
+ value: string;
812
+ $ref: string;
813
+ display: string;
814
+ type: "User";
815
+ };
816
+ type SCIMUserGroupReference = {
817
+ value: string;
818
+ $ref: string;
819
+ display: string;
820
+ };
821
+ type SCIMOptions = {
795
822
  /**
796
823
  * Minimum organization role(s) required for SCIM management operations
797
824
  * (generate-token, list/get/delete provider connections).
@@ -804,6 +831,50 @@ type SCIMOptions = {
804
831
  * These will take precedence over the database when present.
805
832
  */
806
833
  defaultSCIM?: Omit<SCIMProvider, "id">[];
834
+ /**
835
+ * Maps an incoming SCIM Group resource to Better Auth organization role(s).
836
+ *
837
+ * Defaults to using the group's displayName as the role name.
838
+ */
839
+ mapGroupToRoles?: (input: MapGroupToRolesInput) => string | string[] | Promise<string | string[]>;
840
+ /**
841
+ * Controls whether SCIM provisioning may link to a *pre-existing* Better
842
+ * Auth user whose email matches the incoming SCIM resource.
843
+ *
844
+ * Disabled by default: when a user with the same email already exists,
845
+ * `createSCIMUser` returns `409` (uniqueness) instead of silently creating a
846
+ * SCIM account link for that user. Linking by email alone would give a SCIM
847
+ * token access to an account it never provisioned.
848
+ *
849
+ * - `true` restores the legacy behavior of linking any existing user that
850
+ * matches by email. Only use this with a fully trusted token-issuance flow.
851
+ * - An object enables linking only when *every* provided constraint passes.
852
+ */
853
+ linkExistingUsers?: boolean | {
854
+ /**
855
+ * Only link when the email's domain is in this allow-list
856
+ * (case-insensitive). An empty/absent list is not a match.
857
+ */
858
+ trustedDomains?: string[];
859
+ /**
860
+ * For organization-scoped tokens, only link a user who is already
861
+ * a member of the token's organization (never auto-add them). Has
862
+ * no effect for non-org (personal) tokens, which then never match
863
+ * on this constraint.
864
+ */
865
+ requireExistingOrgMembership?: boolean;
866
+ /**
867
+ * Full control: return `true` to allow linking the matched user.
868
+ */
869
+ shouldLinkUser?: (payload: {
870
+ user: User;
871
+ email: string;
872
+ provider: {
873
+ providerId: string;
874
+ organizationId?: string;
875
+ };
876
+ }) => boolean | Promise<boolean>;
877
+ };
807
878
  /**
808
879
  * A callback that runs before a new SCIM token is generated.
809
880
  * Runs after the built-in role check, so it can add additional
@@ -823,6 +894,22 @@ type SCIMOptions = {
823
894
  scimToken: string;
824
895
  scimProvider: SCIMProvider;
825
896
  }) => Promise<void>;
897
+ /**
898
+ * Authorize who may generate a SCIM token. Runs after the built-in checks
899
+ * (org-scoped tokens still require org membership + the required role), so it
900
+ * can add restrictions but cannot loosen them.
901
+ *
902
+ * Use this to lock down *personal* (non-org-scoped) token creation, which is
903
+ * otherwise available to any authenticated user. SCIM tokens can provision
904
+ * and manage users, so return `false` to deny. `member` is `null` for
905
+ * personal tokens.
906
+ */
907
+ canGenerateToken?: (payload: {
908
+ user: User;
909
+ providerId: string;
910
+ organizationId?: string;
911
+ member: Member | null;
912
+ }) => boolean | Promise<boolean>;
826
913
  /**
827
914
  * How to store the SCIM token in the database.
828
915
  *
@@ -1361,6 +1448,8 @@ declare const scim: (options?: SCIMOptions) => {
1361
1448
  scimProvider: Omit<SCIMProvider, "id">;
1362
1449
  }>)[];
1363
1450
  }, {
1451
+ schemas: string[];
1452
+ groups?: SCIMUserGroupReference[] | undefined;
1364
1453
  id: string;
1365
1454
  externalId: string | undefined;
1366
1455
  meta: {
@@ -1379,7 +1468,6 @@ declare const scim: (options?: SCIMOptions) => {
1379
1468
  primary: boolean;
1380
1469
  value: string;
1381
1470
  }[];
1382
- schemas: string[];
1383
1471
  }>;
1384
1472
  createSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users", {
1385
1473
  method: "POST";
@@ -1650,6 +1738,8 @@ declare const scim: (options?: SCIMOptions) => {
1650
1738
  scimProvider: Omit<SCIMProvider, "id">;
1651
1739
  }>)[];
1652
1740
  }, {
1741
+ schemas: string[];
1742
+ groups?: SCIMUserGroupReference[] | undefined;
1653
1743
  id: string;
1654
1744
  externalId: string | undefined;
1655
1745
  meta: {
@@ -1668,7 +1758,6 @@ declare const scim: (options?: SCIMOptions) => {
1668
1758
  primary: boolean;
1669
1759
  value: string;
1670
1760
  }[];
1671
- schemas: string[];
1672
1761
  }>;
1673
1762
  patchSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users/:userId", {
1674
1763
  method: "PATCH";
@@ -2315,6 +2404,8 @@ declare const scim: (options?: SCIMOptions) => {
2315
2404
  scimProvider: Omit<SCIMProvider, "id">;
2316
2405
  }>)[];
2317
2406
  }, {
2407
+ schemas: string[];
2408
+ groups?: SCIMUserGroupReference[] | undefined;
2318
2409
  id: string;
2319
2410
  externalId: string | undefined;
2320
2411
  meta: {
@@ -2333,7 +2424,6 @@ declare const scim: (options?: SCIMOptions) => {
2333
2424
  primary: boolean;
2334
2425
  value: string;
2335
2426
  }[];
2336
- schemas: string[];
2337
2427
  }>;
2338
2428
  listSCIMUsers: better_call0.StrictEndpoint<"/scim/v2/Users", {
2339
2429
  method: "GET";
@@ -2622,6 +2712,8 @@ declare const scim: (options?: SCIMOptions) => {
2622
2712
  startIndex: number;
2623
2713
  itemsPerPage: number;
2624
2714
  Resources: {
2715
+ schemas: string[];
2716
+ groups?: SCIMUserGroupReference[] | undefined;
2625
2717
  id: string;
2626
2718
  externalId: string | undefined;
2627
2719
  meta: {
@@ -2640,10 +2732,9 @@ declare const scim: (options?: SCIMOptions) => {
2640
2732
  primary: boolean;
2641
2733
  value: string;
2642
2734
  }[];
2643
- schemas: string[];
2644
2735
  }[];
2645
2736
  }>;
2646
- getSCIMServiceProviderConfig: better_call0.StrictEndpoint<"/scim/v2/ServiceProviderConfig", {
2737
+ getSCIMGroup: better_call0.StrictEndpoint<"/scim/v2/Groups/:groupId", {
2647
2738
  method: "GET";
2648
2739
  metadata: {
2649
2740
  allowedMediaTypes: string[];
@@ -2820,89 +2911,58 @@ declare const scim: (options?: SCIMOptions) => {
2820
2911
  schema: {
2821
2912
  readonly type: "object";
2822
2913
  readonly properties: {
2823
- readonly patch: {
2824
- type: string;
2825
- properties: {
2826
- supported: {
2827
- type: string;
2828
- };
2829
- };
2830
- };
2831
- readonly bulk: {
2832
- type: string;
2833
- properties: {
2834
- supported: {
2835
- type: string;
2836
- };
2837
- };
2838
- };
2839
- readonly filter: {
2840
- type: string;
2841
- properties: {
2842
- supported: {
2843
- type: string;
2844
- };
2845
- };
2846
- };
2847
- readonly changePassword: {
2848
- type: string;
2849
- properties: {
2850
- supported: {
2851
- type: string;
2852
- };
2853
- };
2914
+ readonly id: {
2915
+ readonly type: "string";
2854
2916
  };
2855
- readonly sort: {
2856
- type: string;
2857
- properties: {
2858
- supported: {
2859
- type: string;
2860
- };
2861
- };
2917
+ readonly externalId: {
2918
+ readonly type: "string";
2862
2919
  };
2863
- readonly etag: {
2864
- type: string;
2865
- properties: {
2866
- supported: {
2867
- type: string;
2868
- };
2869
- };
2920
+ readonly displayName: {
2921
+ readonly type: "string";
2870
2922
  };
2871
- readonly authenticationSchemes: {
2923
+ readonly members: {
2872
2924
  readonly type: "array";
2873
2925
  readonly items: {
2874
2926
  readonly type: "object";
2875
2927
  readonly properties: {
2876
- readonly name: {
2928
+ readonly value: {
2877
2929
  readonly type: "string";
2878
2930
  };
2879
- readonly description: {
2931
+ readonly $ref: {
2880
2932
  readonly type: "string";
2881
2933
  };
2882
- readonly specUri: {
2934
+ readonly display: {
2883
2935
  readonly type: "string";
2884
2936
  };
2885
2937
  readonly type: {
2886
2938
  readonly type: "string";
2887
2939
  };
2888
- readonly primary: {
2889
- readonly type: "boolean";
2890
- };
2891
2940
  };
2892
2941
  };
2893
2942
  };
2894
- readonly schemas: {
2895
- readonly type: "array";
2896
- readonly items: {
2897
- readonly type: "string";
2898
- };
2899
- };
2900
2943
  readonly meta: {
2901
2944
  readonly type: "object";
2902
2945
  readonly properties: {
2903
2946
  readonly resourceType: {
2904
2947
  readonly type: "string";
2905
2948
  };
2949
+ readonly created: {
2950
+ readonly type: "string";
2951
+ readonly format: "date-time";
2952
+ };
2953
+ readonly lastModified: {
2954
+ readonly type: "string";
2955
+ readonly format: "date-time";
2956
+ };
2957
+ readonly location: {
2958
+ readonly type: "string";
2959
+ };
2960
+ };
2961
+ };
2962
+ readonly schemas: {
2963
+ readonly type: "array";
2964
+ readonly items: {
2965
+ readonly type: "string";
2906
2966
  };
2907
2967
  };
2908
2968
  };
@@ -2914,39 +2974,35 @@ declare const scim: (options?: SCIMOptions) => {
2914
2974
  };
2915
2975
  scope: "server";
2916
2976
  };
2977
+ use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
2978
+ authSCIMToken: string;
2979
+ scimProvider: Omit<SCIMProvider, "id">;
2980
+ }>)[];
2917
2981
  }, {
2918
- patch: {
2919
- supported: boolean;
2920
- };
2921
- bulk: {
2922
- supported: boolean;
2923
- };
2924
- filter: {
2925
- supported: boolean;
2926
- };
2927
- changePassword: {
2928
- supported: boolean;
2929
- };
2930
- sort: {
2931
- supported: boolean;
2932
- };
2933
- etag: {
2934
- supported: boolean;
2935
- };
2936
- authenticationSchemes: {
2937
- name: string;
2938
- description: string;
2939
- specUri: string;
2940
- type: string;
2941
- primary: boolean;
2942
- }[];
2943
- schemas: string[];
2982
+ displayName: string;
2983
+ members: SCIMGroupMemberReference[];
2944
2984
  meta: {
2945
2985
  resourceType: string;
2986
+ created: Date;
2987
+ lastModified: Date;
2988
+ location: string;
2946
2989
  };
2990
+ schemas: string[];
2991
+ externalId?: string | undefined;
2992
+ id: string;
2947
2993
  }>;
2948
- getSCIMSchemas: better_call0.StrictEndpoint<"/scim/v2/Schemas", {
2949
- method: "GET";
2994
+ createSCIMGroup: better_call0.StrictEndpoint<"/scim/v2/Groups", {
2995
+ method: "POST";
2996
+ body: zod.ZodObject<{
2997
+ externalId: zod.ZodOptional<zod.ZodString>;
2998
+ displayName: zod.ZodString;
2999
+ members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3000
+ value: zod.ZodOptional<zod.ZodString>;
3001
+ $ref: zod.ZodOptional<zod.ZodString>;
3002
+ display: zod.ZodOptional<zod.ZodString>;
3003
+ type: zod.ZodOptional<zod.ZodString>;
3004
+ }, zod_v4_core0.$strip>>>;
3005
+ }, zod_v4_core0.$strip>;
2950
3006
  metadata: {
2951
3007
  allowedMediaTypes: string[];
2952
3008
  openapi: {
@@ -3115,57 +3171,1619 @@ declare const scim: (options?: SCIMOptions) => {
3115
3171
  };
3116
3172
  };
3117
3173
  };
3118
- "200": {
3174
+ "201": {
3119
3175
  description: string;
3120
3176
  content: {
3121
3177
  "application/json": {
3122
3178
  schema: {
3123
- type: "array";
3124
- items: {
3125
- readonly type: "object";
3126
- readonly properties: {
3127
- readonly id: {
3128
- readonly type: "string";
3179
+ readonly type: "object";
3180
+ readonly properties: {
3181
+ readonly id: {
3182
+ readonly type: "string";
3183
+ };
3184
+ readonly externalId: {
3185
+ readonly type: "string";
3186
+ };
3187
+ readonly displayName: {
3188
+ readonly type: "string";
3189
+ };
3190
+ readonly members: {
3191
+ readonly type: "array";
3192
+ readonly items: {
3193
+ readonly type: "object";
3194
+ readonly properties: {
3195
+ readonly value: {
3196
+ readonly type: "string";
3197
+ };
3198
+ readonly $ref: {
3199
+ readonly type: "string";
3200
+ };
3201
+ readonly display: {
3202
+ readonly type: "string";
3203
+ };
3204
+ readonly type: {
3205
+ readonly type: "string";
3206
+ };
3207
+ };
3129
3208
  };
3130
- readonly schemas: {
3131
- readonly type: "array";
3132
- readonly items: {
3209
+ };
3210
+ readonly meta: {
3211
+ readonly type: "object";
3212
+ readonly properties: {
3213
+ readonly resourceType: {
3214
+ readonly type: "string";
3215
+ };
3216
+ readonly created: {
3217
+ readonly type: "string";
3218
+ readonly format: "date-time";
3219
+ };
3220
+ readonly lastModified: {
3221
+ readonly type: "string";
3222
+ readonly format: "date-time";
3223
+ };
3224
+ readonly location: {
3133
3225
  readonly type: "string";
3134
3226
  };
3135
3227
  };
3136
- readonly name: {
3137
- readonly type: "string";
3138
- };
3139
- readonly description: {
3228
+ };
3229
+ readonly schemas: {
3230
+ readonly type: "array";
3231
+ readonly items: {
3140
3232
  readonly type: "string";
3141
3233
  };
3142
- readonly attributes: {
3143
- readonly type: "array";
3144
- readonly items: {
3145
- readonly properties: {
3146
- readonly subAttributes: {
3147
- readonly type: "array";
3148
- readonly items: {
3149
- readonly type: "object";
3150
- readonly properties: {
3151
- readonly name: {
3152
- readonly type: "string";
3153
- };
3154
- readonly type: {
3155
- readonly type: "string";
3156
- };
3157
- readonly multiValued: {
3158
- readonly type: "boolean";
3159
- };
3160
- readonly description: {
3161
- readonly type: "string";
3162
- };
3163
- readonly required: {
3164
- readonly type: "boolean";
3165
- };
3166
- readonly caseExact: {
3167
- readonly type: "boolean";
3168
- };
3234
+ };
3235
+ };
3236
+ };
3237
+ };
3238
+ };
3239
+ };
3240
+ };
3241
+ };
3242
+ scope: "server";
3243
+ };
3244
+ use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
3245
+ authSCIMToken: string;
3246
+ scimProvider: Omit<SCIMProvider, "id">;
3247
+ }>)[];
3248
+ }, {
3249
+ displayName: string;
3250
+ members: SCIMGroupMemberReference[];
3251
+ meta: {
3252
+ resourceType: string;
3253
+ created: Date;
3254
+ lastModified: Date;
3255
+ location: string;
3256
+ };
3257
+ schemas: string[];
3258
+ externalId?: string | undefined;
3259
+ id: string;
3260
+ }>;
3261
+ patchSCIMGroup: better_call0.StrictEndpoint<"/scim/v2/Groups/:groupId", {
3262
+ method: "PATCH";
3263
+ body: zod.ZodObject<{
3264
+ schemas: zod.ZodArray<zod.ZodString>;
3265
+ Operations: zod.ZodArray<zod.ZodObject<{
3266
+ op: zod.ZodPipe<zod.ZodDefault<zod.ZodString>, zod.ZodEnum<{
3267
+ replace: "replace";
3268
+ add: "add";
3269
+ remove: "remove";
3270
+ }>>;
3271
+ path: zod.ZodOptional<zod.ZodString>;
3272
+ value: zod.ZodOptional<zod.ZodUnknown>;
3273
+ }, zod_v4_core0.$strip>>;
3274
+ }, zod_v4_core0.$strip>;
3275
+ metadata: {
3276
+ allowedMediaTypes: string[];
3277
+ openapi: {
3278
+ summary: string;
3279
+ description: string;
3280
+ responses: {
3281
+ "400": {
3282
+ description: string;
3283
+ content: {
3284
+ "application/json": {
3285
+ schema: {
3286
+ readonly type: "object";
3287
+ readonly properties: {
3288
+ readonly schemas: {
3289
+ readonly type: "array";
3290
+ readonly items: {
3291
+ readonly type: "string";
3292
+ };
3293
+ };
3294
+ readonly status: {
3295
+ readonly type: "string";
3296
+ };
3297
+ readonly detail: {
3298
+ readonly type: "string";
3299
+ };
3300
+ readonly scimType: {
3301
+ readonly type: "string";
3302
+ };
3303
+ };
3304
+ };
3305
+ };
3306
+ };
3307
+ };
3308
+ "401": {
3309
+ description: string;
3310
+ content: {
3311
+ "application/json": {
3312
+ schema: {
3313
+ readonly type: "object";
3314
+ readonly properties: {
3315
+ readonly schemas: {
3316
+ readonly type: "array";
3317
+ readonly items: {
3318
+ readonly type: "string";
3319
+ };
3320
+ };
3321
+ readonly status: {
3322
+ readonly type: "string";
3323
+ };
3324
+ readonly detail: {
3325
+ readonly type: "string";
3326
+ };
3327
+ readonly scimType: {
3328
+ readonly type: "string";
3329
+ };
3330
+ };
3331
+ };
3332
+ };
3333
+ };
3334
+ };
3335
+ "403": {
3336
+ description: string;
3337
+ content: {
3338
+ "application/json": {
3339
+ schema: {
3340
+ readonly type: "object";
3341
+ readonly properties: {
3342
+ readonly schemas: {
3343
+ readonly type: "array";
3344
+ readonly items: {
3345
+ readonly type: "string";
3346
+ };
3347
+ };
3348
+ readonly status: {
3349
+ readonly type: "string";
3350
+ };
3351
+ readonly detail: {
3352
+ readonly type: "string";
3353
+ };
3354
+ readonly scimType: {
3355
+ readonly type: "string";
3356
+ };
3357
+ };
3358
+ };
3359
+ };
3360
+ };
3361
+ };
3362
+ "404": {
3363
+ description: string;
3364
+ content: {
3365
+ "application/json": {
3366
+ schema: {
3367
+ readonly type: "object";
3368
+ readonly properties: {
3369
+ readonly schemas: {
3370
+ readonly type: "array";
3371
+ readonly items: {
3372
+ readonly type: "string";
3373
+ };
3374
+ };
3375
+ readonly status: {
3376
+ readonly type: "string";
3377
+ };
3378
+ readonly detail: {
3379
+ readonly type: "string";
3380
+ };
3381
+ readonly scimType: {
3382
+ readonly type: "string";
3383
+ };
3384
+ };
3385
+ };
3386
+ };
3387
+ };
3388
+ };
3389
+ "429": {
3390
+ description: string;
3391
+ content: {
3392
+ "application/json": {
3393
+ schema: {
3394
+ readonly type: "object";
3395
+ readonly properties: {
3396
+ readonly schemas: {
3397
+ readonly type: "array";
3398
+ readonly items: {
3399
+ readonly type: "string";
3400
+ };
3401
+ };
3402
+ readonly status: {
3403
+ readonly type: "string";
3404
+ };
3405
+ readonly detail: {
3406
+ readonly type: "string";
3407
+ };
3408
+ readonly scimType: {
3409
+ readonly type: "string";
3410
+ };
3411
+ };
3412
+ };
3413
+ };
3414
+ };
3415
+ };
3416
+ "500": {
3417
+ description: string;
3418
+ content: {
3419
+ "application/json": {
3420
+ schema: {
3421
+ readonly type: "object";
3422
+ readonly properties: {
3423
+ readonly schemas: {
3424
+ readonly type: "array";
3425
+ readonly items: {
3426
+ readonly type: "string";
3427
+ };
3428
+ };
3429
+ readonly status: {
3430
+ readonly type: "string";
3431
+ };
3432
+ readonly detail: {
3433
+ readonly type: "string";
3434
+ };
3435
+ readonly scimType: {
3436
+ readonly type: "string";
3437
+ };
3438
+ };
3439
+ };
3440
+ };
3441
+ };
3442
+ };
3443
+ "200": {
3444
+ description: string;
3445
+ content: {
3446
+ "application/json": {
3447
+ schema: {
3448
+ readonly type: "object";
3449
+ readonly properties: {
3450
+ readonly id: {
3451
+ readonly type: "string";
3452
+ };
3453
+ readonly externalId: {
3454
+ readonly type: "string";
3455
+ };
3456
+ readonly displayName: {
3457
+ readonly type: "string";
3458
+ };
3459
+ readonly members: {
3460
+ readonly type: "array";
3461
+ readonly items: {
3462
+ readonly type: "object";
3463
+ readonly properties: {
3464
+ readonly value: {
3465
+ readonly type: "string";
3466
+ };
3467
+ readonly $ref: {
3468
+ readonly type: "string";
3469
+ };
3470
+ readonly display: {
3471
+ readonly type: "string";
3472
+ };
3473
+ readonly type: {
3474
+ readonly type: "string";
3475
+ };
3476
+ };
3477
+ };
3478
+ };
3479
+ readonly meta: {
3480
+ readonly type: "object";
3481
+ readonly properties: {
3482
+ readonly resourceType: {
3483
+ readonly type: "string";
3484
+ };
3485
+ readonly created: {
3486
+ readonly type: "string";
3487
+ readonly format: "date-time";
3488
+ };
3489
+ readonly lastModified: {
3490
+ readonly type: "string";
3491
+ readonly format: "date-time";
3492
+ };
3493
+ readonly location: {
3494
+ readonly type: "string";
3495
+ };
3496
+ };
3497
+ };
3498
+ readonly schemas: {
3499
+ readonly type: "array";
3500
+ readonly items: {
3501
+ readonly type: "string";
3502
+ };
3503
+ };
3504
+ };
3505
+ };
3506
+ };
3507
+ };
3508
+ };
3509
+ };
3510
+ };
3511
+ scope: "server";
3512
+ };
3513
+ use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
3514
+ authSCIMToken: string;
3515
+ scimProvider: Omit<SCIMProvider, "id">;
3516
+ }>)[];
3517
+ }, {
3518
+ displayName: string;
3519
+ members: SCIMGroupMemberReference[];
3520
+ meta: {
3521
+ resourceType: string;
3522
+ created: Date;
3523
+ lastModified: Date;
3524
+ location: string;
3525
+ };
3526
+ schemas: string[];
3527
+ externalId?: string | undefined;
3528
+ id: string;
3529
+ }>;
3530
+ deleteSCIMGroup: better_call0.StrictEndpoint<"/scim/v2/Groups/:groupId", {
3531
+ method: "DELETE";
3532
+ metadata: {
3533
+ allowedMediaTypes: string[];
3534
+ openapi: {
3535
+ summary: string;
3536
+ description: string;
3537
+ responses: {
3538
+ "400": {
3539
+ description: string;
3540
+ content: {
3541
+ "application/json": {
3542
+ schema: {
3543
+ readonly type: "object";
3544
+ readonly properties: {
3545
+ readonly schemas: {
3546
+ readonly type: "array";
3547
+ readonly items: {
3548
+ readonly type: "string";
3549
+ };
3550
+ };
3551
+ readonly status: {
3552
+ readonly type: "string";
3553
+ };
3554
+ readonly detail: {
3555
+ readonly type: "string";
3556
+ };
3557
+ readonly scimType: {
3558
+ readonly type: "string";
3559
+ };
3560
+ };
3561
+ };
3562
+ };
3563
+ };
3564
+ };
3565
+ "401": {
3566
+ description: string;
3567
+ content: {
3568
+ "application/json": {
3569
+ schema: {
3570
+ readonly type: "object";
3571
+ readonly properties: {
3572
+ readonly schemas: {
3573
+ readonly type: "array";
3574
+ readonly items: {
3575
+ readonly type: "string";
3576
+ };
3577
+ };
3578
+ readonly status: {
3579
+ readonly type: "string";
3580
+ };
3581
+ readonly detail: {
3582
+ readonly type: "string";
3583
+ };
3584
+ readonly scimType: {
3585
+ readonly type: "string";
3586
+ };
3587
+ };
3588
+ };
3589
+ };
3590
+ };
3591
+ };
3592
+ "403": {
3593
+ description: string;
3594
+ content: {
3595
+ "application/json": {
3596
+ schema: {
3597
+ readonly type: "object";
3598
+ readonly properties: {
3599
+ readonly schemas: {
3600
+ readonly type: "array";
3601
+ readonly items: {
3602
+ readonly type: "string";
3603
+ };
3604
+ };
3605
+ readonly status: {
3606
+ readonly type: "string";
3607
+ };
3608
+ readonly detail: {
3609
+ readonly type: "string";
3610
+ };
3611
+ readonly scimType: {
3612
+ readonly type: "string";
3613
+ };
3614
+ };
3615
+ };
3616
+ };
3617
+ };
3618
+ };
3619
+ "404": {
3620
+ description: string;
3621
+ content: {
3622
+ "application/json": {
3623
+ schema: {
3624
+ readonly type: "object";
3625
+ readonly properties: {
3626
+ readonly schemas: {
3627
+ readonly type: "array";
3628
+ readonly items: {
3629
+ readonly type: "string";
3630
+ };
3631
+ };
3632
+ readonly status: {
3633
+ readonly type: "string";
3634
+ };
3635
+ readonly detail: {
3636
+ readonly type: "string";
3637
+ };
3638
+ readonly scimType: {
3639
+ readonly type: "string";
3640
+ };
3641
+ };
3642
+ };
3643
+ };
3644
+ };
3645
+ };
3646
+ "429": {
3647
+ description: string;
3648
+ content: {
3649
+ "application/json": {
3650
+ schema: {
3651
+ readonly type: "object";
3652
+ readonly properties: {
3653
+ readonly schemas: {
3654
+ readonly type: "array";
3655
+ readonly items: {
3656
+ readonly type: "string";
3657
+ };
3658
+ };
3659
+ readonly status: {
3660
+ readonly type: "string";
3661
+ };
3662
+ readonly detail: {
3663
+ readonly type: "string";
3664
+ };
3665
+ readonly scimType: {
3666
+ readonly type: "string";
3667
+ };
3668
+ };
3669
+ };
3670
+ };
3671
+ };
3672
+ };
3673
+ "500": {
3674
+ description: string;
3675
+ content: {
3676
+ "application/json": {
3677
+ schema: {
3678
+ readonly type: "object";
3679
+ readonly properties: {
3680
+ readonly schemas: {
3681
+ readonly type: "array";
3682
+ readonly items: {
3683
+ readonly type: "string";
3684
+ };
3685
+ };
3686
+ readonly status: {
3687
+ readonly type: "string";
3688
+ };
3689
+ readonly detail: {
3690
+ readonly type: "string";
3691
+ };
3692
+ readonly scimType: {
3693
+ readonly type: "string";
3694
+ };
3695
+ };
3696
+ };
3697
+ };
3698
+ };
3699
+ };
3700
+ "204": {
3701
+ description: string;
3702
+ };
3703
+ };
3704
+ };
3705
+ scope: "server";
3706
+ };
3707
+ use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
3708
+ authSCIMToken: string;
3709
+ scimProvider: Omit<SCIMProvider, "id">;
3710
+ }>)[];
3711
+ }, void>;
3712
+ updateSCIMGroup: better_call0.StrictEndpoint<"/scim/v2/Groups/:groupId", {
3713
+ method: "PUT";
3714
+ body: zod.ZodObject<{
3715
+ externalId: zod.ZodOptional<zod.ZodString>;
3716
+ displayName: zod.ZodString;
3717
+ members: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
3718
+ value: zod.ZodOptional<zod.ZodString>;
3719
+ $ref: zod.ZodOptional<zod.ZodString>;
3720
+ display: zod.ZodOptional<zod.ZodString>;
3721
+ type: zod.ZodOptional<zod.ZodString>;
3722
+ }, zod_v4_core0.$strip>>>;
3723
+ }, zod_v4_core0.$strip>;
3724
+ metadata: {
3725
+ allowedMediaTypes: string[];
3726
+ openapi: {
3727
+ summary: string;
3728
+ description: string;
3729
+ responses: {
3730
+ "400": {
3731
+ description: string;
3732
+ content: {
3733
+ "application/json": {
3734
+ schema: {
3735
+ readonly type: "object";
3736
+ readonly properties: {
3737
+ readonly schemas: {
3738
+ readonly type: "array";
3739
+ readonly items: {
3740
+ readonly type: "string";
3741
+ };
3742
+ };
3743
+ readonly status: {
3744
+ readonly type: "string";
3745
+ };
3746
+ readonly detail: {
3747
+ readonly type: "string";
3748
+ };
3749
+ readonly scimType: {
3750
+ readonly type: "string";
3751
+ };
3752
+ };
3753
+ };
3754
+ };
3755
+ };
3756
+ };
3757
+ "401": {
3758
+ description: string;
3759
+ content: {
3760
+ "application/json": {
3761
+ schema: {
3762
+ readonly type: "object";
3763
+ readonly properties: {
3764
+ readonly schemas: {
3765
+ readonly type: "array";
3766
+ readonly items: {
3767
+ readonly type: "string";
3768
+ };
3769
+ };
3770
+ readonly status: {
3771
+ readonly type: "string";
3772
+ };
3773
+ readonly detail: {
3774
+ readonly type: "string";
3775
+ };
3776
+ readonly scimType: {
3777
+ readonly type: "string";
3778
+ };
3779
+ };
3780
+ };
3781
+ };
3782
+ };
3783
+ };
3784
+ "403": {
3785
+ description: string;
3786
+ content: {
3787
+ "application/json": {
3788
+ schema: {
3789
+ readonly type: "object";
3790
+ readonly properties: {
3791
+ readonly schemas: {
3792
+ readonly type: "array";
3793
+ readonly items: {
3794
+ readonly type: "string";
3795
+ };
3796
+ };
3797
+ readonly status: {
3798
+ readonly type: "string";
3799
+ };
3800
+ readonly detail: {
3801
+ readonly type: "string";
3802
+ };
3803
+ readonly scimType: {
3804
+ readonly type: "string";
3805
+ };
3806
+ };
3807
+ };
3808
+ };
3809
+ };
3810
+ };
3811
+ "404": {
3812
+ description: string;
3813
+ content: {
3814
+ "application/json": {
3815
+ schema: {
3816
+ readonly type: "object";
3817
+ readonly properties: {
3818
+ readonly schemas: {
3819
+ readonly type: "array";
3820
+ readonly items: {
3821
+ readonly type: "string";
3822
+ };
3823
+ };
3824
+ readonly status: {
3825
+ readonly type: "string";
3826
+ };
3827
+ readonly detail: {
3828
+ readonly type: "string";
3829
+ };
3830
+ readonly scimType: {
3831
+ readonly type: "string";
3832
+ };
3833
+ };
3834
+ };
3835
+ };
3836
+ };
3837
+ };
3838
+ "429": {
3839
+ description: string;
3840
+ content: {
3841
+ "application/json": {
3842
+ schema: {
3843
+ readonly type: "object";
3844
+ readonly properties: {
3845
+ readonly schemas: {
3846
+ readonly type: "array";
3847
+ readonly items: {
3848
+ readonly type: "string";
3849
+ };
3850
+ };
3851
+ readonly status: {
3852
+ readonly type: "string";
3853
+ };
3854
+ readonly detail: {
3855
+ readonly type: "string";
3856
+ };
3857
+ readonly scimType: {
3858
+ readonly type: "string";
3859
+ };
3860
+ };
3861
+ };
3862
+ };
3863
+ };
3864
+ };
3865
+ "500": {
3866
+ description: string;
3867
+ content: {
3868
+ "application/json": {
3869
+ schema: {
3870
+ readonly type: "object";
3871
+ readonly properties: {
3872
+ readonly schemas: {
3873
+ readonly type: "array";
3874
+ readonly items: {
3875
+ readonly type: "string";
3876
+ };
3877
+ };
3878
+ readonly status: {
3879
+ readonly type: "string";
3880
+ };
3881
+ readonly detail: {
3882
+ readonly type: "string";
3883
+ };
3884
+ readonly scimType: {
3885
+ readonly type: "string";
3886
+ };
3887
+ };
3888
+ };
3889
+ };
3890
+ };
3891
+ };
3892
+ "200": {
3893
+ description: string;
3894
+ content: {
3895
+ "application/json": {
3896
+ schema: {
3897
+ readonly type: "object";
3898
+ readonly properties: {
3899
+ readonly id: {
3900
+ readonly type: "string";
3901
+ };
3902
+ readonly externalId: {
3903
+ readonly type: "string";
3904
+ };
3905
+ readonly displayName: {
3906
+ readonly type: "string";
3907
+ };
3908
+ readonly members: {
3909
+ readonly type: "array";
3910
+ readonly items: {
3911
+ readonly type: "object";
3912
+ readonly properties: {
3913
+ readonly value: {
3914
+ readonly type: "string";
3915
+ };
3916
+ readonly $ref: {
3917
+ readonly type: "string";
3918
+ };
3919
+ readonly display: {
3920
+ readonly type: "string";
3921
+ };
3922
+ readonly type: {
3923
+ readonly type: "string";
3924
+ };
3925
+ };
3926
+ };
3927
+ };
3928
+ readonly meta: {
3929
+ readonly type: "object";
3930
+ readonly properties: {
3931
+ readonly resourceType: {
3932
+ readonly type: "string";
3933
+ };
3934
+ readonly created: {
3935
+ readonly type: "string";
3936
+ readonly format: "date-time";
3937
+ };
3938
+ readonly lastModified: {
3939
+ readonly type: "string";
3940
+ readonly format: "date-time";
3941
+ };
3942
+ readonly location: {
3943
+ readonly type: "string";
3944
+ };
3945
+ };
3946
+ };
3947
+ readonly schemas: {
3948
+ readonly type: "array";
3949
+ readonly items: {
3950
+ readonly type: "string";
3951
+ };
3952
+ };
3953
+ };
3954
+ };
3955
+ };
3956
+ };
3957
+ };
3958
+ };
3959
+ };
3960
+ scope: "server";
3961
+ };
3962
+ use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
3963
+ authSCIMToken: string;
3964
+ scimProvider: Omit<SCIMProvider, "id">;
3965
+ }>)[];
3966
+ }, {
3967
+ displayName: string;
3968
+ members: SCIMGroupMemberReference[];
3969
+ meta: {
3970
+ resourceType: string;
3971
+ created: Date;
3972
+ lastModified: Date;
3973
+ location: string;
3974
+ };
3975
+ schemas: string[];
3976
+ externalId?: string | undefined;
3977
+ id: string;
3978
+ }>;
3979
+ listSCIMGroups: better_call0.StrictEndpoint<"/scim/v2/Groups", {
3980
+ method: "GET";
3981
+ query: zod.ZodOptional<zod.ZodObject<{
3982
+ filter: zod.ZodOptional<zod.ZodString>;
3983
+ startIndex: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
3984
+ count: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
3985
+ }, zod_v4_core0.$strip>>;
3986
+ metadata: {
3987
+ allowedMediaTypes: string[];
3988
+ openapi: {
3989
+ summary: string;
3990
+ description: string;
3991
+ responses: {
3992
+ "400": {
3993
+ description: string;
3994
+ content: {
3995
+ "application/json": {
3996
+ schema: {
3997
+ readonly type: "object";
3998
+ readonly properties: {
3999
+ readonly schemas: {
4000
+ readonly type: "array";
4001
+ readonly items: {
4002
+ readonly type: "string";
4003
+ };
4004
+ };
4005
+ readonly status: {
4006
+ readonly type: "string";
4007
+ };
4008
+ readonly detail: {
4009
+ readonly type: "string";
4010
+ };
4011
+ readonly scimType: {
4012
+ readonly type: "string";
4013
+ };
4014
+ };
4015
+ };
4016
+ };
4017
+ };
4018
+ };
4019
+ "401": {
4020
+ description: string;
4021
+ content: {
4022
+ "application/json": {
4023
+ schema: {
4024
+ readonly type: "object";
4025
+ readonly properties: {
4026
+ readonly schemas: {
4027
+ readonly type: "array";
4028
+ readonly items: {
4029
+ readonly type: "string";
4030
+ };
4031
+ };
4032
+ readonly status: {
4033
+ readonly type: "string";
4034
+ };
4035
+ readonly detail: {
4036
+ readonly type: "string";
4037
+ };
4038
+ readonly scimType: {
4039
+ readonly type: "string";
4040
+ };
4041
+ };
4042
+ };
4043
+ };
4044
+ };
4045
+ };
4046
+ "403": {
4047
+ description: string;
4048
+ content: {
4049
+ "application/json": {
4050
+ schema: {
4051
+ readonly type: "object";
4052
+ readonly properties: {
4053
+ readonly schemas: {
4054
+ readonly type: "array";
4055
+ readonly items: {
4056
+ readonly type: "string";
4057
+ };
4058
+ };
4059
+ readonly status: {
4060
+ readonly type: "string";
4061
+ };
4062
+ readonly detail: {
4063
+ readonly type: "string";
4064
+ };
4065
+ readonly scimType: {
4066
+ readonly type: "string";
4067
+ };
4068
+ };
4069
+ };
4070
+ };
4071
+ };
4072
+ };
4073
+ "404": {
4074
+ description: string;
4075
+ content: {
4076
+ "application/json": {
4077
+ schema: {
4078
+ readonly type: "object";
4079
+ readonly properties: {
4080
+ readonly schemas: {
4081
+ readonly type: "array";
4082
+ readonly items: {
4083
+ readonly type: "string";
4084
+ };
4085
+ };
4086
+ readonly status: {
4087
+ readonly type: "string";
4088
+ };
4089
+ readonly detail: {
4090
+ readonly type: "string";
4091
+ };
4092
+ readonly scimType: {
4093
+ readonly type: "string";
4094
+ };
4095
+ };
4096
+ };
4097
+ };
4098
+ };
4099
+ };
4100
+ "429": {
4101
+ description: string;
4102
+ content: {
4103
+ "application/json": {
4104
+ schema: {
4105
+ readonly type: "object";
4106
+ readonly properties: {
4107
+ readonly schemas: {
4108
+ readonly type: "array";
4109
+ readonly items: {
4110
+ readonly type: "string";
4111
+ };
4112
+ };
4113
+ readonly status: {
4114
+ readonly type: "string";
4115
+ };
4116
+ readonly detail: {
4117
+ readonly type: "string";
4118
+ };
4119
+ readonly scimType: {
4120
+ readonly type: "string";
4121
+ };
4122
+ };
4123
+ };
4124
+ };
4125
+ };
4126
+ };
4127
+ "500": {
4128
+ description: string;
4129
+ content: {
4130
+ "application/json": {
4131
+ schema: {
4132
+ readonly type: "object";
4133
+ readonly properties: {
4134
+ readonly schemas: {
4135
+ readonly type: "array";
4136
+ readonly items: {
4137
+ readonly type: "string";
4138
+ };
4139
+ };
4140
+ readonly status: {
4141
+ readonly type: "string";
4142
+ };
4143
+ readonly detail: {
4144
+ readonly type: "string";
4145
+ };
4146
+ readonly scimType: {
4147
+ readonly type: "string";
4148
+ };
4149
+ };
4150
+ };
4151
+ };
4152
+ };
4153
+ };
4154
+ "200": {
4155
+ description: string;
4156
+ content: {
4157
+ "application/json": {
4158
+ schema: {
4159
+ type: "object";
4160
+ properties: {
4161
+ totalResults: {
4162
+ type: string;
4163
+ };
4164
+ itemsPerPage: {
4165
+ type: string;
4166
+ };
4167
+ startIndex: {
4168
+ type: string;
4169
+ };
4170
+ Resources: {
4171
+ type: string;
4172
+ items: {
4173
+ readonly type: "object";
4174
+ readonly properties: {
4175
+ readonly id: {
4176
+ readonly type: "string";
4177
+ };
4178
+ readonly externalId: {
4179
+ readonly type: "string";
4180
+ };
4181
+ readonly displayName: {
4182
+ readonly type: "string";
4183
+ };
4184
+ readonly members: {
4185
+ readonly type: "array";
4186
+ readonly items: {
4187
+ readonly type: "object";
4188
+ readonly properties: {
4189
+ readonly value: {
4190
+ readonly type: "string";
4191
+ };
4192
+ readonly $ref: {
4193
+ readonly type: "string";
4194
+ };
4195
+ readonly display: {
4196
+ readonly type: "string";
4197
+ };
4198
+ readonly type: {
4199
+ readonly type: "string";
4200
+ };
4201
+ };
4202
+ };
4203
+ };
4204
+ readonly meta: {
4205
+ readonly type: "object";
4206
+ readonly properties: {
4207
+ readonly resourceType: {
4208
+ readonly type: "string";
4209
+ };
4210
+ readonly created: {
4211
+ readonly type: "string";
4212
+ readonly format: "date-time";
4213
+ };
4214
+ readonly lastModified: {
4215
+ readonly type: "string";
4216
+ readonly format: "date-time";
4217
+ };
4218
+ readonly location: {
4219
+ readonly type: "string";
4220
+ };
4221
+ };
4222
+ };
4223
+ readonly schemas: {
4224
+ readonly type: "array";
4225
+ readonly items: {
4226
+ readonly type: "string";
4227
+ };
4228
+ };
4229
+ };
4230
+ };
4231
+ };
4232
+ };
4233
+ };
4234
+ };
4235
+ };
4236
+ };
4237
+ };
4238
+ };
4239
+ scope: "server";
4240
+ };
4241
+ use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
4242
+ authSCIMToken: string;
4243
+ scimProvider: Omit<SCIMProvider, "id">;
4244
+ }>)[];
4245
+ }, {
4246
+ Resources: {
4247
+ displayName: string;
4248
+ members: SCIMGroupMemberReference[];
4249
+ meta: {
4250
+ resourceType: string;
4251
+ created: Date;
4252
+ lastModified: Date;
4253
+ location: string;
4254
+ };
4255
+ schemas: string[];
4256
+ externalId?: string | undefined;
4257
+ id: string;
4258
+ }[];
4259
+ schemas: string[];
4260
+ totalResults: number;
4261
+ startIndex: number;
4262
+ itemsPerPage: number;
4263
+ }>;
4264
+ getSCIMServiceProviderConfig: better_call0.StrictEndpoint<"/scim/v2/ServiceProviderConfig", {
4265
+ method: "GET";
4266
+ metadata: {
4267
+ allowedMediaTypes: string[];
4268
+ openapi: {
4269
+ summary: string;
4270
+ description: string;
4271
+ responses: {
4272
+ "400": {
4273
+ description: string;
4274
+ content: {
4275
+ "application/json": {
4276
+ schema: {
4277
+ readonly type: "object";
4278
+ readonly properties: {
4279
+ readonly schemas: {
4280
+ readonly type: "array";
4281
+ readonly items: {
4282
+ readonly type: "string";
4283
+ };
4284
+ };
4285
+ readonly status: {
4286
+ readonly type: "string";
4287
+ };
4288
+ readonly detail: {
4289
+ readonly type: "string";
4290
+ };
4291
+ readonly scimType: {
4292
+ readonly type: "string";
4293
+ };
4294
+ };
4295
+ };
4296
+ };
4297
+ };
4298
+ };
4299
+ "401": {
4300
+ description: string;
4301
+ content: {
4302
+ "application/json": {
4303
+ schema: {
4304
+ readonly type: "object";
4305
+ readonly properties: {
4306
+ readonly schemas: {
4307
+ readonly type: "array";
4308
+ readonly items: {
4309
+ readonly type: "string";
4310
+ };
4311
+ };
4312
+ readonly status: {
4313
+ readonly type: "string";
4314
+ };
4315
+ readonly detail: {
4316
+ readonly type: "string";
4317
+ };
4318
+ readonly scimType: {
4319
+ readonly type: "string";
4320
+ };
4321
+ };
4322
+ };
4323
+ };
4324
+ };
4325
+ };
4326
+ "403": {
4327
+ description: string;
4328
+ content: {
4329
+ "application/json": {
4330
+ schema: {
4331
+ readonly type: "object";
4332
+ readonly properties: {
4333
+ readonly schemas: {
4334
+ readonly type: "array";
4335
+ readonly items: {
4336
+ readonly type: "string";
4337
+ };
4338
+ };
4339
+ readonly status: {
4340
+ readonly type: "string";
4341
+ };
4342
+ readonly detail: {
4343
+ readonly type: "string";
4344
+ };
4345
+ readonly scimType: {
4346
+ readonly type: "string";
4347
+ };
4348
+ };
4349
+ };
4350
+ };
4351
+ };
4352
+ };
4353
+ "404": {
4354
+ description: string;
4355
+ content: {
4356
+ "application/json": {
4357
+ schema: {
4358
+ readonly type: "object";
4359
+ readonly properties: {
4360
+ readonly schemas: {
4361
+ readonly type: "array";
4362
+ readonly items: {
4363
+ readonly type: "string";
4364
+ };
4365
+ };
4366
+ readonly status: {
4367
+ readonly type: "string";
4368
+ };
4369
+ readonly detail: {
4370
+ readonly type: "string";
4371
+ };
4372
+ readonly scimType: {
4373
+ readonly type: "string";
4374
+ };
4375
+ };
4376
+ };
4377
+ };
4378
+ };
4379
+ };
4380
+ "429": {
4381
+ description: string;
4382
+ content: {
4383
+ "application/json": {
4384
+ schema: {
4385
+ readonly type: "object";
4386
+ readonly properties: {
4387
+ readonly schemas: {
4388
+ readonly type: "array";
4389
+ readonly items: {
4390
+ readonly type: "string";
4391
+ };
4392
+ };
4393
+ readonly status: {
4394
+ readonly type: "string";
4395
+ };
4396
+ readonly detail: {
4397
+ readonly type: "string";
4398
+ };
4399
+ readonly scimType: {
4400
+ readonly type: "string";
4401
+ };
4402
+ };
4403
+ };
4404
+ };
4405
+ };
4406
+ };
4407
+ "500": {
4408
+ description: string;
4409
+ content: {
4410
+ "application/json": {
4411
+ schema: {
4412
+ readonly type: "object";
4413
+ readonly properties: {
4414
+ readonly schemas: {
4415
+ readonly type: "array";
4416
+ readonly items: {
4417
+ readonly type: "string";
4418
+ };
4419
+ };
4420
+ readonly status: {
4421
+ readonly type: "string";
4422
+ };
4423
+ readonly detail: {
4424
+ readonly type: "string";
4425
+ };
4426
+ readonly scimType: {
4427
+ readonly type: "string";
4428
+ };
4429
+ };
4430
+ };
4431
+ };
4432
+ };
4433
+ };
4434
+ "200": {
4435
+ description: string;
4436
+ content: {
4437
+ "application/json": {
4438
+ schema: {
4439
+ readonly type: "object";
4440
+ readonly properties: {
4441
+ readonly patch: {
4442
+ type: string;
4443
+ properties: {
4444
+ supported: {
4445
+ type: string;
4446
+ };
4447
+ };
4448
+ };
4449
+ readonly bulk: {
4450
+ type: string;
4451
+ properties: {
4452
+ supported: {
4453
+ type: string;
4454
+ };
4455
+ };
4456
+ };
4457
+ readonly filter: {
4458
+ type: string;
4459
+ properties: {
4460
+ supported: {
4461
+ type: string;
4462
+ };
4463
+ };
4464
+ };
4465
+ readonly changePassword: {
4466
+ type: string;
4467
+ properties: {
4468
+ supported: {
4469
+ type: string;
4470
+ };
4471
+ };
4472
+ };
4473
+ readonly sort: {
4474
+ type: string;
4475
+ properties: {
4476
+ supported: {
4477
+ type: string;
4478
+ };
4479
+ };
4480
+ };
4481
+ readonly etag: {
4482
+ type: string;
4483
+ properties: {
4484
+ supported: {
4485
+ type: string;
4486
+ };
4487
+ };
4488
+ };
4489
+ readonly authenticationSchemes: {
4490
+ readonly type: "array";
4491
+ readonly items: {
4492
+ readonly type: "object";
4493
+ readonly properties: {
4494
+ readonly name: {
4495
+ readonly type: "string";
4496
+ };
4497
+ readonly description: {
4498
+ readonly type: "string";
4499
+ };
4500
+ readonly specUri: {
4501
+ readonly type: "string";
4502
+ };
4503
+ readonly type: {
4504
+ readonly type: "string";
4505
+ };
4506
+ readonly primary: {
4507
+ readonly type: "boolean";
4508
+ };
4509
+ };
4510
+ };
4511
+ };
4512
+ readonly schemas: {
4513
+ readonly type: "array";
4514
+ readonly items: {
4515
+ readonly type: "string";
4516
+ };
4517
+ };
4518
+ readonly meta: {
4519
+ readonly type: "object";
4520
+ readonly properties: {
4521
+ readonly resourceType: {
4522
+ readonly type: "string";
4523
+ };
4524
+ };
4525
+ };
4526
+ };
4527
+ };
4528
+ };
4529
+ };
4530
+ };
4531
+ };
4532
+ };
4533
+ scope: "server";
4534
+ };
4535
+ }, {
4536
+ patch: {
4537
+ supported: boolean;
4538
+ };
4539
+ bulk: {
4540
+ supported: boolean;
4541
+ };
4542
+ filter: {
4543
+ supported: boolean;
4544
+ };
4545
+ changePassword: {
4546
+ supported: boolean;
4547
+ };
4548
+ sort: {
4549
+ supported: boolean;
4550
+ };
4551
+ etag: {
4552
+ supported: boolean;
4553
+ };
4554
+ authenticationSchemes: {
4555
+ name: string;
4556
+ description: string;
4557
+ specUri: string;
4558
+ type: string;
4559
+ primary: boolean;
4560
+ }[];
4561
+ schemas: string[];
4562
+ meta: {
4563
+ resourceType: string;
4564
+ };
4565
+ }>;
4566
+ getSCIMSchemas: better_call0.StrictEndpoint<"/scim/v2/Schemas", {
4567
+ method: "GET";
4568
+ metadata: {
4569
+ allowedMediaTypes: string[];
4570
+ openapi: {
4571
+ summary: string;
4572
+ description: string;
4573
+ responses: {
4574
+ "400": {
4575
+ description: string;
4576
+ content: {
4577
+ "application/json": {
4578
+ schema: {
4579
+ readonly type: "object";
4580
+ readonly properties: {
4581
+ readonly schemas: {
4582
+ readonly type: "array";
4583
+ readonly items: {
4584
+ readonly type: "string";
4585
+ };
4586
+ };
4587
+ readonly status: {
4588
+ readonly type: "string";
4589
+ };
4590
+ readonly detail: {
4591
+ readonly type: "string";
4592
+ };
4593
+ readonly scimType: {
4594
+ readonly type: "string";
4595
+ };
4596
+ };
4597
+ };
4598
+ };
4599
+ };
4600
+ };
4601
+ "401": {
4602
+ description: string;
4603
+ content: {
4604
+ "application/json": {
4605
+ schema: {
4606
+ readonly type: "object";
4607
+ readonly properties: {
4608
+ readonly schemas: {
4609
+ readonly type: "array";
4610
+ readonly items: {
4611
+ readonly type: "string";
4612
+ };
4613
+ };
4614
+ readonly status: {
4615
+ readonly type: "string";
4616
+ };
4617
+ readonly detail: {
4618
+ readonly type: "string";
4619
+ };
4620
+ readonly scimType: {
4621
+ readonly type: "string";
4622
+ };
4623
+ };
4624
+ };
4625
+ };
4626
+ };
4627
+ };
4628
+ "403": {
4629
+ description: string;
4630
+ content: {
4631
+ "application/json": {
4632
+ schema: {
4633
+ readonly type: "object";
4634
+ readonly properties: {
4635
+ readonly schemas: {
4636
+ readonly type: "array";
4637
+ readonly items: {
4638
+ readonly type: "string";
4639
+ };
4640
+ };
4641
+ readonly status: {
4642
+ readonly type: "string";
4643
+ };
4644
+ readonly detail: {
4645
+ readonly type: "string";
4646
+ };
4647
+ readonly scimType: {
4648
+ readonly type: "string";
4649
+ };
4650
+ };
4651
+ };
4652
+ };
4653
+ };
4654
+ };
4655
+ "404": {
4656
+ description: string;
4657
+ content: {
4658
+ "application/json": {
4659
+ schema: {
4660
+ readonly type: "object";
4661
+ readonly properties: {
4662
+ readonly schemas: {
4663
+ readonly type: "array";
4664
+ readonly items: {
4665
+ readonly type: "string";
4666
+ };
4667
+ };
4668
+ readonly status: {
4669
+ readonly type: "string";
4670
+ };
4671
+ readonly detail: {
4672
+ readonly type: "string";
4673
+ };
4674
+ readonly scimType: {
4675
+ readonly type: "string";
4676
+ };
4677
+ };
4678
+ };
4679
+ };
4680
+ };
4681
+ };
4682
+ "429": {
4683
+ description: string;
4684
+ content: {
4685
+ "application/json": {
4686
+ schema: {
4687
+ readonly type: "object";
4688
+ readonly properties: {
4689
+ readonly schemas: {
4690
+ readonly type: "array";
4691
+ readonly items: {
4692
+ readonly type: "string";
4693
+ };
4694
+ };
4695
+ readonly status: {
4696
+ readonly type: "string";
4697
+ };
4698
+ readonly detail: {
4699
+ readonly type: "string";
4700
+ };
4701
+ readonly scimType: {
4702
+ readonly type: "string";
4703
+ };
4704
+ };
4705
+ };
4706
+ };
4707
+ };
4708
+ };
4709
+ "500": {
4710
+ description: string;
4711
+ content: {
4712
+ "application/json": {
4713
+ schema: {
4714
+ readonly type: "object";
4715
+ readonly properties: {
4716
+ readonly schemas: {
4717
+ readonly type: "array";
4718
+ readonly items: {
4719
+ readonly type: "string";
4720
+ };
4721
+ };
4722
+ readonly status: {
4723
+ readonly type: "string";
4724
+ };
4725
+ readonly detail: {
4726
+ readonly type: "string";
4727
+ };
4728
+ readonly scimType: {
4729
+ readonly type: "string";
4730
+ };
4731
+ };
4732
+ };
4733
+ };
4734
+ };
4735
+ };
4736
+ "200": {
4737
+ description: string;
4738
+ content: {
4739
+ "application/json": {
4740
+ schema: {
4741
+ type: "array";
4742
+ items: {
4743
+ readonly type: "object";
4744
+ readonly properties: {
4745
+ readonly id: {
4746
+ readonly type: "string";
4747
+ };
4748
+ readonly schemas: {
4749
+ readonly type: "array";
4750
+ readonly items: {
4751
+ readonly type: "string";
4752
+ };
4753
+ };
4754
+ readonly name: {
4755
+ readonly type: "string";
4756
+ };
4757
+ readonly description: {
4758
+ readonly type: "string";
4759
+ };
4760
+ readonly attributes: {
4761
+ readonly type: "array";
4762
+ readonly items: {
4763
+ readonly properties: {
4764
+ readonly subAttributes: {
4765
+ readonly type: "array";
4766
+ readonly items: {
4767
+ readonly type: "object";
4768
+ readonly properties: {
4769
+ readonly name: {
4770
+ readonly type: "string";
4771
+ };
4772
+ readonly type: {
4773
+ readonly type: "string";
4774
+ };
4775
+ readonly multiValued: {
4776
+ readonly type: "boolean";
4777
+ };
4778
+ readonly description: {
4779
+ readonly type: "string";
4780
+ };
4781
+ readonly required: {
4782
+ readonly type: "boolean";
4783
+ };
4784
+ readonly caseExact: {
4785
+ readonly type: "boolean";
4786
+ };
3169
4787
  readonly mutability: {
3170
4788
  readonly type: "string";
3171
4789
  };
@@ -4177,10 +5795,6 @@ declare const scim: (options?: SCIMOptions) => {
4177
5795
  schema: {
4178
5796
  scimProvider: {
4179
5797
  fields: {
4180
- userId?: {
4181
- type: "string";
4182
- required: false;
4183
- } | undefined;
4184
5798
  providerId: {
4185
5799
  type: "string";
4186
5800
  required: true;
@@ -4195,6 +5809,159 @@ declare const scim: (options?: SCIMOptions) => {
4195
5809
  type: "string";
4196
5810
  required: false;
4197
5811
  };
5812
+ userId: {
5813
+ type: "string";
5814
+ required: false;
5815
+ };
5816
+ };
5817
+ };
5818
+ scimGroup: {
5819
+ fields: {
5820
+ providerId: {
5821
+ type: "string";
5822
+ required: true;
5823
+ };
5824
+ organizationId: {
5825
+ type: "string";
5826
+ required: true;
5827
+ };
5828
+ scimGroupId: {
5829
+ type: "string";
5830
+ required: true;
5831
+ unique: true;
5832
+ };
5833
+ externalId: {
5834
+ type: "string";
5835
+ required: false;
5836
+ };
5837
+ externalIdKey: {
5838
+ type: "string";
5839
+ required: false;
5840
+ unique: true;
5841
+ returned: false;
5842
+ };
5843
+ displayName: {
5844
+ type: "string";
5845
+ required: true;
5846
+ };
5847
+ createdAt: {
5848
+ type: "date";
5849
+ required: true;
5850
+ };
5851
+ updatedAt: {
5852
+ type: "date";
5853
+ required: false;
5854
+ };
5855
+ };
5856
+ };
5857
+ scimGroupMember: {
5858
+ fields: {
5859
+ groupId: {
5860
+ type: "string";
5861
+ required: true;
5862
+ references: {
5863
+ model: string;
5864
+ field: string;
5865
+ };
5866
+ };
5867
+ providerId: {
5868
+ type: "string";
5869
+ required: true;
5870
+ };
5871
+ organizationId: {
5872
+ type: "string";
5873
+ required: true;
5874
+ };
5875
+ userId: {
5876
+ type: "string";
5877
+ required: true;
5878
+ references: {
5879
+ model: string;
5880
+ field: string;
5881
+ };
5882
+ };
5883
+ membershipKey: {
5884
+ type: "string";
5885
+ required: true;
5886
+ unique: true;
5887
+ returned: false;
5888
+ };
5889
+ createdAt: {
5890
+ type: "date";
5891
+ required: true;
5892
+ };
5893
+ };
5894
+ };
5895
+ scimGroupRole: {
5896
+ fields: {
5897
+ groupId: {
5898
+ type: "string";
5899
+ required: true;
5900
+ references: {
5901
+ model: string;
5902
+ field: string;
5903
+ };
5904
+ };
5905
+ role: {
5906
+ type: "string";
5907
+ required: true;
5908
+ };
5909
+ roleKey: {
5910
+ type: "string";
5911
+ required: true;
5912
+ unique: true;
5913
+ returned: false;
5914
+ };
5915
+ createdAt: {
5916
+ type: "date";
5917
+ required: true;
5918
+ };
5919
+ };
5920
+ };
5921
+ scimGroupRoleGrant: {
5922
+ fields: {
5923
+ groupId: {
5924
+ type: "string";
5925
+ required: true;
5926
+ references: {
5927
+ model: string;
5928
+ field: string;
5929
+ };
5930
+ };
5931
+ providerId: {
5932
+ type: "string";
5933
+ required: true;
5934
+ };
5935
+ organizationId: {
5936
+ type: "string";
5937
+ required: true;
5938
+ };
5939
+ userId: {
5940
+ type: "string";
5941
+ required: true;
5942
+ references: {
5943
+ model: string;
5944
+ field: string;
5945
+ };
5946
+ };
5947
+ role: {
5948
+ type: "string";
5949
+ required: true;
5950
+ };
5951
+ roleGrantKey: {
5952
+ type: "string";
5953
+ required: true;
5954
+ unique: true;
5955
+ returned: false;
5956
+ };
5957
+ isRoleProjected: {
5958
+ type: "boolean";
5959
+ required: true;
5960
+ };
5961
+ createdAt: {
5962
+ type: "date";
5963
+ required: true;
5964
+ };
4198
5965
  };
4199
5966
  };
4200
5967
  };
@@ -4550,7 +6317,7 @@ interface DashUserListResponse {
4550
6317
  }
4551
6318
  type DashUserDetailsResponse = DashUser & {
4552
6319
  account?: Account[];
4553
- session?: Session[];
6320
+ session?: Omit<Session, "token">[];
4554
6321
  lastActiveAt?: string | Date | null;
4555
6322
  city?: string | null;
4556
6323
  country?: string | null;
@@ -4889,7 +6656,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
4889
6656
  sendOrganizationInvite: import("zod").ZodOptional<import("zod").ZodBoolean>;
4890
6657
  organizationRole: import("zod").ZodOptional<import("zod").ZodString>;
4891
6658
  organizationId: import("zod").ZodOptional<import("zod").ZodString>;
4892
- }, import("zod/v4/core").$loose>;
6659
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnknown>>;
4893
6660
  }, {
4894
6661
  id: string;
4895
6662
  createdAt: Date;
@@ -5035,6 +6802,15 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5035
6802
  clientSecret: import("zod").ZodOptional<import("zod").ZodString>;
5036
6803
  discoveryUrl: import("zod").ZodOptional<import("zod").ZodString>;
5037
6804
  issuer: import("zod").ZodOptional<import("zod").ZodString>;
6805
+ discoveryEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6806
+ authorizationEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6807
+ tokenEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6808
+ jwksEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6809
+ userInfoEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6810
+ tokenEndpointAuthentication: import("zod").ZodOptional<import("zod").ZodEnum<{
6811
+ client_secret_post: "client_secret_post";
6812
+ client_secret_basic: "client_secret_basic";
6813
+ }>>;
5038
6814
  mapping: import("zod").ZodOptional<import("zod").ZodObject<{
5039
6815
  id: import("zod").ZodOptional<import("zod").ZodString>;
5040
6816
  email: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5083,6 +6859,15 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5083
6859
  clientSecret: import("zod").ZodOptional<import("zod").ZodString>;
5084
6860
  discoveryUrl: import("zod").ZodOptional<import("zod").ZodString>;
5085
6861
  issuer: import("zod").ZodOptional<import("zod").ZodString>;
6862
+ discoveryEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6863
+ authorizationEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6864
+ tokenEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6865
+ jwksEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6866
+ userInfoEndpoint: import("zod").ZodOptional<import("zod").ZodString>;
6867
+ tokenEndpointAuthentication: import("zod").ZodOptional<import("zod").ZodEnum<{
6868
+ client_secret_post: "client_secret_post";
6869
+ client_secret_basic: "client_secret_basic";
6870
+ }>>;
5086
6871
  mapping: import("zod").ZodOptional<import("zod").ZodObject<{
5087
6872
  id: import("zod").ZodOptional<import("zod").ZodString>;
5088
6873
  email: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5212,11 +6997,11 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5212
6997
  };
5213
6998
  }>)[];
5214
6999
  body: import("zod").ZodObject<{
5215
- name: import("zod").ZodOptional<import("zod").ZodString>;
7000
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
5216
7001
  email: import("zod").ZodOptional<import("zod").ZodEmail>;
5217
- image: import("zod").ZodOptional<import("zod").ZodString>;
7002
+ image: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
5218
7003
  emailVerified: import("zod").ZodOptional<import("zod").ZodBoolean>;
5219
- }, import("zod/v4/core").$loose>;
7004
+ }, import("zod/v4/core").$catchall<import("zod").ZodUnknown>>;
5220
7005
  }, {
5221
7006
  id: string;
5222
7007
  createdAt: Date;
@@ -5300,7 +7085,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5300
7085
  };
5301
7086
  }>)[];
5302
7087
  body: import("zod").ZodObject<{
5303
- logo: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodLiteral<"">]>>;
7088
+ logo: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodURL>, import("zod").ZodTransform<string, string>>, import("zod").ZodLiteral<"">]>>;
5304
7089
  name: import("zod").ZodOptional<import("zod").ZodString>;
5305
7090
  slug: import("zod").ZodOptional<import("zod").ZodString>;
5306
7091
  metadata: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5530,6 +7315,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5530
7315
  body: import("zod").ZodObject<{
5531
7316
  banReason: import("zod").ZodOptional<import("zod").ZodString>;
5532
7317
  banExpires: import("zod").ZodOptional<import("zod").ZodNumber>;
7318
+ deleteAllSessions: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
5533
7319
  }, import("zod/v4/core").$strip>;
5534
7320
  }, DashSuccessResponse>;
5535
7321
  dashBanManyUsers: import("better-call").StrictEndpoint<"/dash/ban-many-users", {
@@ -5542,6 +7328,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5542
7328
  body: import("zod").ZodObject<{
5543
7329
  banReason: import("zod").ZodOptional<import("zod").ZodString>;
5544
7330
  banExpires: import("zod").ZodOptional<import("zod").ZodNumber>;
7331
+ deleteAllSessions: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
5545
7332
  }, import("zod/v4/core").$strip>;
5546
7333
  }, DashBanManyResponse>;
5547
7334
  dashUnbanUser: import("better-call").StrictEndpoint<"/dash/unban-user", {
@@ -5560,7 +7347,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5560
7347
  };
5561
7348
  }>)[];
5562
7349
  body: import("zod").ZodObject<{
5563
- callbackUrl: import("zod").ZodURL;
7350
+ callbackUrl: import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodURL>, import("zod").ZodTransform<string, string>>;
5564
7351
  }, import("zod/v4/core").$strip>;
5565
7352
  }, DashSuccessResponse>;
5566
7353
  dashSendManyVerificationEmails: import("better-call").StrictEndpoint<"/dash/send-many-verification-emails", {
@@ -5571,7 +7358,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5571
7358
  };
5572
7359
  }>)[];
5573
7360
  body: import("zod").ZodObject<{
5574
- callbackUrl: import("zod").ZodURL;
7361
+ callbackUrl: import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodURL>, import("zod").ZodTransform<string, string>>;
5575
7362
  }, import("zod/v4/core").$strip>;
5576
7363
  }, DashSendManyVerificationEmailsResponse>;
5577
7364
  dashSendResetPasswordEmail: import("better-call").StrictEndpoint<"/dash/send-reset-password-email", {
@@ -5582,7 +7369,7 @@ declare const dash: <O extends DashOptions>(options?: O) => {
5582
7369
  };
5583
7370
  }>)[];
5584
7371
  body: import("zod").ZodObject<{
5585
- callbackUrl: import("zod").ZodURL;
7372
+ callbackUrl: import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodURL>, import("zod").ZodTransform<string, string>>;
5586
7373
  }, import("zod/v4/core").$strip>;
5587
7374
  }, never>;
5588
7375
  dashEnableTwoFactor: import("better-call").StrictEndpoint<"/dash/enable-two-factor", {