@better-auth/scim 1.5.0-beta.8 → 1.5.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.
@@ -1,3213 +0,0 @@
1
- import { Member } from "better-auth/plugins";
2
- import * as better_auth0 from "better-auth";
3
- import { User } from "better-auth";
4
- import * as better_call0 from "better-call";
5
- import * as zod0 from "zod";
6
-
7
- //#region src/types.d.ts
8
- interface SCIMProvider {
9
- id: string;
10
- providerId: string;
11
- scimToken: string;
12
- organizationId?: string;
13
- }
14
- type SCIMOptions = {
15
- /**
16
- * Default list of SCIM providers for testing
17
- * These will take precedence over the database when present
18
- */
19
- defaultSCIM?: Omit<SCIMProvider, "id">[];
20
- /**
21
- * A callback that runs before a new SCIM token is generated.
22
- * @returns
23
- */
24
- beforeSCIMTokenGenerated?: ({
25
- user,
26
- member,
27
- scimToken
28
- }: {
29
- user: User;
30
- member?: Member | null;
31
- scimToken: string;
32
- }) => Promise<void>;
33
- /**
34
- * A callback that runs before a new SCIM token is generated
35
- * @returns
36
- */
37
- afterSCIMTokenGenerated?: ({
38
- user,
39
- member,
40
- scimProvider
41
- }: {
42
- user: User;
43
- member?: Member | null;
44
- scimToken: string;
45
- scimProvider: SCIMProvider;
46
- }) => Promise<void>;
47
- /**
48
- * Store the SCIM token in your database in a secure way
49
- *
50
- * @default "plain"
51
- */
52
- storeSCIMToken?: ("hashed" | "plain" | "encrypted" | {
53
- hash: (scimToken: string) => Promise<string>;
54
- } | {
55
- encrypt: (scimToken: string) => Promise<string>;
56
- decrypt: (scimToken: string) => Promise<string>;
57
- }) | undefined;
58
- };
59
- //#endregion
60
- //#region src/index.d.ts
61
- declare module "@better-auth/core" {
62
- interface BetterAuthPluginRegistry<Auth, Context> {
63
- scim: {
64
- creator: typeof scim;
65
- };
66
- }
67
- }
68
- declare const scim: (options?: SCIMOptions) => {
69
- id: "scim";
70
- endpoints: {
71
- generateSCIMToken: better_call0.StrictEndpoint<"/scim/generate-token", {
72
- method: "POST";
73
- body: zod0.ZodObject<{
74
- providerId: zod0.ZodString;
75
- organizationId: zod0.ZodOptional<zod0.ZodString>;
76
- }, better_auth0.$strip>;
77
- metadata: {
78
- openapi: {
79
- summary: string;
80
- description: string;
81
- responses: {
82
- "201": {
83
- description: string;
84
- content: {
85
- "application/json": {
86
- schema: {
87
- type: "object";
88
- properties: {
89
- scimToken: {
90
- description: string;
91
- type: string;
92
- };
93
- };
94
- };
95
- };
96
- };
97
- };
98
- };
99
- };
100
- };
101
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
102
- session: {
103
- session: Record<string, any> & {
104
- id: string;
105
- createdAt: Date;
106
- updatedAt: Date;
107
- userId: string;
108
- expiresAt: Date;
109
- token: string;
110
- ipAddress?: string | null | undefined;
111
- userAgent?: string | null | undefined;
112
- };
113
- user: Record<string, any> & {
114
- id: string;
115
- createdAt: Date;
116
- updatedAt: Date;
117
- email: string;
118
- emailVerified: boolean;
119
- name: string;
120
- image?: string | null | undefined;
121
- };
122
- };
123
- }>)[];
124
- }, {
125
- scimToken: string;
126
- }>;
127
- getSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users/:userId", {
128
- method: "GET";
129
- metadata: {
130
- allowedMediaTypes: string[];
131
- openapi: {
132
- summary: string;
133
- description: string;
134
- responses: {
135
- "400": {
136
- description: string;
137
- content: {
138
- "application/json": {
139
- schema: {
140
- readonly type: "object";
141
- readonly properties: {
142
- readonly schemas: {
143
- readonly type: "array";
144
- readonly items: {
145
- readonly type: "string";
146
- };
147
- };
148
- readonly status: {
149
- readonly type: "string";
150
- };
151
- readonly detail: {
152
- readonly type: "string";
153
- };
154
- readonly scimType: {
155
- readonly type: "string";
156
- };
157
- };
158
- };
159
- };
160
- };
161
- };
162
- "401": {
163
- description: string;
164
- content: {
165
- "application/json": {
166
- schema: {
167
- readonly type: "object";
168
- readonly properties: {
169
- readonly schemas: {
170
- readonly type: "array";
171
- readonly items: {
172
- readonly type: "string";
173
- };
174
- };
175
- readonly status: {
176
- readonly type: "string";
177
- };
178
- readonly detail: {
179
- readonly type: "string";
180
- };
181
- readonly scimType: {
182
- readonly type: "string";
183
- };
184
- };
185
- };
186
- };
187
- };
188
- };
189
- "403": {
190
- description: string;
191
- content: {
192
- "application/json": {
193
- schema: {
194
- readonly type: "object";
195
- readonly properties: {
196
- readonly schemas: {
197
- readonly type: "array";
198
- readonly items: {
199
- readonly type: "string";
200
- };
201
- };
202
- readonly status: {
203
- readonly type: "string";
204
- };
205
- readonly detail: {
206
- readonly type: "string";
207
- };
208
- readonly scimType: {
209
- readonly type: "string";
210
- };
211
- };
212
- };
213
- };
214
- };
215
- };
216
- "404": {
217
- description: string;
218
- content: {
219
- "application/json": {
220
- schema: {
221
- readonly type: "object";
222
- readonly properties: {
223
- readonly schemas: {
224
- readonly type: "array";
225
- readonly items: {
226
- readonly type: "string";
227
- };
228
- };
229
- readonly status: {
230
- readonly type: "string";
231
- };
232
- readonly detail: {
233
- readonly type: "string";
234
- };
235
- readonly scimType: {
236
- readonly type: "string";
237
- };
238
- };
239
- };
240
- };
241
- };
242
- };
243
- "429": {
244
- description: string;
245
- content: {
246
- "application/json": {
247
- schema: {
248
- readonly type: "object";
249
- readonly properties: {
250
- readonly schemas: {
251
- readonly type: "array";
252
- readonly items: {
253
- readonly type: "string";
254
- };
255
- };
256
- readonly status: {
257
- readonly type: "string";
258
- };
259
- readonly detail: {
260
- readonly type: "string";
261
- };
262
- readonly scimType: {
263
- readonly type: "string";
264
- };
265
- };
266
- };
267
- };
268
- };
269
- };
270
- "500": {
271
- description: string;
272
- content: {
273
- "application/json": {
274
- schema: {
275
- readonly type: "object";
276
- readonly properties: {
277
- readonly schemas: {
278
- readonly type: "array";
279
- readonly items: {
280
- readonly type: "string";
281
- };
282
- };
283
- readonly status: {
284
- readonly type: "string";
285
- };
286
- readonly detail: {
287
- readonly type: "string";
288
- };
289
- readonly scimType: {
290
- readonly type: "string";
291
- };
292
- };
293
- };
294
- };
295
- };
296
- };
297
- "200": {
298
- description: string;
299
- content: {
300
- "application/json": {
301
- schema: {
302
- readonly type: "object";
303
- readonly properties: {
304
- readonly id: {
305
- readonly type: "string";
306
- };
307
- readonly meta: {
308
- readonly type: "object";
309
- readonly properties: {
310
- readonly resourceType: {
311
- readonly type: "string";
312
- };
313
- readonly created: {
314
- readonly type: "string";
315
- readonly format: "date-time";
316
- };
317
- readonly lastModified: {
318
- readonly type: "string";
319
- readonly format: "date-time";
320
- };
321
- readonly location: {
322
- readonly type: "string";
323
- };
324
- };
325
- };
326
- readonly userName: {
327
- readonly type: "string";
328
- };
329
- readonly name: {
330
- readonly type: "object";
331
- readonly properties: {
332
- readonly formatted: {
333
- readonly type: "string";
334
- };
335
- readonly givenName: {
336
- readonly type: "string";
337
- };
338
- readonly familyName: {
339
- readonly type: "string";
340
- };
341
- };
342
- };
343
- readonly displayName: {
344
- readonly type: "string";
345
- };
346
- readonly active: {
347
- readonly type: "boolean";
348
- };
349
- readonly emails: {
350
- readonly type: "array";
351
- readonly items: {
352
- readonly type: "object";
353
- readonly properties: {
354
- readonly value: {
355
- readonly type: "string";
356
- };
357
- readonly primary: {
358
- readonly type: "boolean";
359
- };
360
- };
361
- };
362
- };
363
- readonly schemas: {
364
- readonly type: "array";
365
- readonly items: {
366
- readonly type: "string";
367
- };
368
- };
369
- };
370
- };
371
- };
372
- };
373
- };
374
- };
375
- };
376
- scope: "server";
377
- };
378
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
379
- authSCIMToken: string;
380
- scimProvider: Omit<SCIMProvider, "id">;
381
- }>)[];
382
- }, {
383
- id: string;
384
- externalId: string | undefined;
385
- meta: {
386
- resourceType: string;
387
- created: Date;
388
- lastModified: Date;
389
- location: string;
390
- };
391
- userName: string;
392
- name: {
393
- formatted: string;
394
- };
395
- displayName: string;
396
- active: boolean;
397
- emails: {
398
- primary: boolean;
399
- value: string;
400
- }[];
401
- schemas: string[];
402
- }>;
403
- createSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users", {
404
- method: "POST";
405
- body: zod0.ZodObject<{
406
- userName: zod0.ZodString;
407
- externalId: zod0.ZodOptional<zod0.ZodString>;
408
- name: zod0.ZodOptional<zod0.ZodObject<{
409
- formatted: zod0.ZodOptional<zod0.ZodString>;
410
- givenName: zod0.ZodOptional<zod0.ZodString>;
411
- familyName: zod0.ZodOptional<zod0.ZodString>;
412
- }, better_auth0.$strip>>;
413
- emails: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
414
- value: zod0.ZodEmail;
415
- primary: zod0.ZodOptional<zod0.ZodBoolean>;
416
- }, better_auth0.$strip>>>;
417
- }, better_auth0.$strip>;
418
- metadata: {
419
- allowedMediaTypes: string[];
420
- openapi: {
421
- summary: string;
422
- description: string;
423
- responses: {
424
- "400": {
425
- description: string;
426
- content: {
427
- "application/json": {
428
- schema: {
429
- readonly type: "object";
430
- readonly properties: {
431
- readonly schemas: {
432
- readonly type: "array";
433
- readonly items: {
434
- readonly type: "string";
435
- };
436
- };
437
- readonly status: {
438
- readonly type: "string";
439
- };
440
- readonly detail: {
441
- readonly type: "string";
442
- };
443
- readonly scimType: {
444
- readonly type: "string";
445
- };
446
- };
447
- };
448
- };
449
- };
450
- };
451
- "401": {
452
- description: string;
453
- content: {
454
- "application/json": {
455
- schema: {
456
- readonly type: "object";
457
- readonly properties: {
458
- readonly schemas: {
459
- readonly type: "array";
460
- readonly items: {
461
- readonly type: "string";
462
- };
463
- };
464
- readonly status: {
465
- readonly type: "string";
466
- };
467
- readonly detail: {
468
- readonly type: "string";
469
- };
470
- readonly scimType: {
471
- readonly type: "string";
472
- };
473
- };
474
- };
475
- };
476
- };
477
- };
478
- "403": {
479
- description: string;
480
- content: {
481
- "application/json": {
482
- schema: {
483
- readonly type: "object";
484
- readonly properties: {
485
- readonly schemas: {
486
- readonly type: "array";
487
- readonly items: {
488
- readonly type: "string";
489
- };
490
- };
491
- readonly status: {
492
- readonly type: "string";
493
- };
494
- readonly detail: {
495
- readonly type: "string";
496
- };
497
- readonly scimType: {
498
- readonly type: "string";
499
- };
500
- };
501
- };
502
- };
503
- };
504
- };
505
- "404": {
506
- description: string;
507
- content: {
508
- "application/json": {
509
- schema: {
510
- readonly type: "object";
511
- readonly properties: {
512
- readonly schemas: {
513
- readonly type: "array";
514
- readonly items: {
515
- readonly type: "string";
516
- };
517
- };
518
- readonly status: {
519
- readonly type: "string";
520
- };
521
- readonly detail: {
522
- readonly type: "string";
523
- };
524
- readonly scimType: {
525
- readonly type: "string";
526
- };
527
- };
528
- };
529
- };
530
- };
531
- };
532
- "429": {
533
- description: string;
534
- content: {
535
- "application/json": {
536
- schema: {
537
- readonly type: "object";
538
- readonly properties: {
539
- readonly schemas: {
540
- readonly type: "array";
541
- readonly items: {
542
- readonly type: "string";
543
- };
544
- };
545
- readonly status: {
546
- readonly type: "string";
547
- };
548
- readonly detail: {
549
- readonly type: "string";
550
- };
551
- readonly scimType: {
552
- readonly type: "string";
553
- };
554
- };
555
- };
556
- };
557
- };
558
- };
559
- "500": {
560
- description: string;
561
- content: {
562
- "application/json": {
563
- schema: {
564
- readonly type: "object";
565
- readonly properties: {
566
- readonly schemas: {
567
- readonly type: "array";
568
- readonly items: {
569
- readonly type: "string";
570
- };
571
- };
572
- readonly status: {
573
- readonly type: "string";
574
- };
575
- readonly detail: {
576
- readonly type: "string";
577
- };
578
- readonly scimType: {
579
- readonly type: "string";
580
- };
581
- };
582
- };
583
- };
584
- };
585
- };
586
- "201": {
587
- description: string;
588
- content: {
589
- "application/json": {
590
- schema: {
591
- readonly type: "object";
592
- readonly properties: {
593
- readonly id: {
594
- readonly type: "string";
595
- };
596
- readonly meta: {
597
- readonly type: "object";
598
- readonly properties: {
599
- readonly resourceType: {
600
- readonly type: "string";
601
- };
602
- readonly created: {
603
- readonly type: "string";
604
- readonly format: "date-time";
605
- };
606
- readonly lastModified: {
607
- readonly type: "string";
608
- readonly format: "date-time";
609
- };
610
- readonly location: {
611
- readonly type: "string";
612
- };
613
- };
614
- };
615
- readonly userName: {
616
- readonly type: "string";
617
- };
618
- readonly name: {
619
- readonly type: "object";
620
- readonly properties: {
621
- readonly formatted: {
622
- readonly type: "string";
623
- };
624
- readonly givenName: {
625
- readonly type: "string";
626
- };
627
- readonly familyName: {
628
- readonly type: "string";
629
- };
630
- };
631
- };
632
- readonly displayName: {
633
- readonly type: "string";
634
- };
635
- readonly active: {
636
- readonly type: "boolean";
637
- };
638
- readonly emails: {
639
- readonly type: "array";
640
- readonly items: {
641
- readonly type: "object";
642
- readonly properties: {
643
- readonly value: {
644
- readonly type: "string";
645
- };
646
- readonly primary: {
647
- readonly type: "boolean";
648
- };
649
- };
650
- };
651
- };
652
- readonly schemas: {
653
- readonly type: "array";
654
- readonly items: {
655
- readonly type: "string";
656
- };
657
- };
658
- };
659
- };
660
- };
661
- };
662
- };
663
- };
664
- };
665
- scope: "server";
666
- };
667
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
668
- authSCIMToken: string;
669
- scimProvider: Omit<SCIMProvider, "id">;
670
- }>)[];
671
- }, {
672
- id: string;
673
- externalId: string | undefined;
674
- meta: {
675
- resourceType: string;
676
- created: Date;
677
- lastModified: Date;
678
- location: string;
679
- };
680
- userName: string;
681
- name: {
682
- formatted: string;
683
- };
684
- displayName: string;
685
- active: boolean;
686
- emails: {
687
- primary: boolean;
688
- value: string;
689
- }[];
690
- schemas: string[];
691
- }>;
692
- patchSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users/:userId", {
693
- method: "PATCH";
694
- body: zod0.ZodObject<{
695
- schemas: zod0.ZodArray<zod0.ZodString>;
696
- Operations: zod0.ZodArray<zod0.ZodObject<{
697
- op: zod0.ZodPipe<zod0.ZodDefault<zod0.ZodString>, zod0.ZodEnum<{
698
- add: "add";
699
- remove: "remove";
700
- replace: "replace";
701
- }>>;
702
- path: zod0.ZodOptional<zod0.ZodString>;
703
- value: zod0.ZodAny;
704
- }, better_auth0.$strip>>;
705
- }, better_auth0.$strip>;
706
- metadata: {
707
- allowedMediaTypes: string[];
708
- openapi: {
709
- summary: string;
710
- description: string;
711
- responses: {
712
- "400": {
713
- description: string;
714
- content: {
715
- "application/json": {
716
- schema: {
717
- readonly type: "object";
718
- readonly properties: {
719
- readonly schemas: {
720
- readonly type: "array";
721
- readonly items: {
722
- readonly type: "string";
723
- };
724
- };
725
- readonly status: {
726
- readonly type: "string";
727
- };
728
- readonly detail: {
729
- readonly type: "string";
730
- };
731
- readonly scimType: {
732
- readonly type: "string";
733
- };
734
- };
735
- };
736
- };
737
- };
738
- };
739
- "401": {
740
- description: string;
741
- content: {
742
- "application/json": {
743
- schema: {
744
- readonly type: "object";
745
- readonly properties: {
746
- readonly schemas: {
747
- readonly type: "array";
748
- readonly items: {
749
- readonly type: "string";
750
- };
751
- };
752
- readonly status: {
753
- readonly type: "string";
754
- };
755
- readonly detail: {
756
- readonly type: "string";
757
- };
758
- readonly scimType: {
759
- readonly type: "string";
760
- };
761
- };
762
- };
763
- };
764
- };
765
- };
766
- "403": {
767
- description: string;
768
- content: {
769
- "application/json": {
770
- schema: {
771
- readonly type: "object";
772
- readonly properties: {
773
- readonly schemas: {
774
- readonly type: "array";
775
- readonly items: {
776
- readonly type: "string";
777
- };
778
- };
779
- readonly status: {
780
- readonly type: "string";
781
- };
782
- readonly detail: {
783
- readonly type: "string";
784
- };
785
- readonly scimType: {
786
- readonly type: "string";
787
- };
788
- };
789
- };
790
- };
791
- };
792
- };
793
- "404": {
794
- description: string;
795
- content: {
796
- "application/json": {
797
- schema: {
798
- readonly type: "object";
799
- readonly properties: {
800
- readonly schemas: {
801
- readonly type: "array";
802
- readonly items: {
803
- readonly type: "string";
804
- };
805
- };
806
- readonly status: {
807
- readonly type: "string";
808
- };
809
- readonly detail: {
810
- readonly type: "string";
811
- };
812
- readonly scimType: {
813
- readonly type: "string";
814
- };
815
- };
816
- };
817
- };
818
- };
819
- };
820
- "429": {
821
- description: string;
822
- content: {
823
- "application/json": {
824
- schema: {
825
- readonly type: "object";
826
- readonly properties: {
827
- readonly schemas: {
828
- readonly type: "array";
829
- readonly items: {
830
- readonly type: "string";
831
- };
832
- };
833
- readonly status: {
834
- readonly type: "string";
835
- };
836
- readonly detail: {
837
- readonly type: "string";
838
- };
839
- readonly scimType: {
840
- readonly type: "string";
841
- };
842
- };
843
- };
844
- };
845
- };
846
- };
847
- "500": {
848
- description: string;
849
- content: {
850
- "application/json": {
851
- schema: {
852
- readonly type: "object";
853
- readonly properties: {
854
- readonly schemas: {
855
- readonly type: "array";
856
- readonly items: {
857
- readonly type: "string";
858
- };
859
- };
860
- readonly status: {
861
- readonly type: "string";
862
- };
863
- readonly detail: {
864
- readonly type: "string";
865
- };
866
- readonly scimType: {
867
- readonly type: "string";
868
- };
869
- };
870
- };
871
- };
872
- };
873
- };
874
- "204": {
875
- description: string;
876
- };
877
- };
878
- };
879
- scope: "server";
880
- };
881
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
882
- authSCIMToken: string;
883
- scimProvider: Omit<SCIMProvider, "id">;
884
- }>)[];
885
- }, void>;
886
- deleteSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users/:userId", {
887
- method: "DELETE";
888
- metadata: {
889
- allowedMediaTypes: string[];
890
- openapi: {
891
- summary: string;
892
- description: string;
893
- responses: {
894
- "400": {
895
- description: string;
896
- content: {
897
- "application/json": {
898
- schema: {
899
- readonly type: "object";
900
- readonly properties: {
901
- readonly schemas: {
902
- readonly type: "array";
903
- readonly items: {
904
- readonly type: "string";
905
- };
906
- };
907
- readonly status: {
908
- readonly type: "string";
909
- };
910
- readonly detail: {
911
- readonly type: "string";
912
- };
913
- readonly scimType: {
914
- readonly type: "string";
915
- };
916
- };
917
- };
918
- };
919
- };
920
- };
921
- "401": {
922
- description: string;
923
- content: {
924
- "application/json": {
925
- schema: {
926
- readonly type: "object";
927
- readonly properties: {
928
- readonly schemas: {
929
- readonly type: "array";
930
- readonly items: {
931
- readonly type: "string";
932
- };
933
- };
934
- readonly status: {
935
- readonly type: "string";
936
- };
937
- readonly detail: {
938
- readonly type: "string";
939
- };
940
- readonly scimType: {
941
- readonly type: "string";
942
- };
943
- };
944
- };
945
- };
946
- };
947
- };
948
- "403": {
949
- description: string;
950
- content: {
951
- "application/json": {
952
- schema: {
953
- readonly type: "object";
954
- readonly properties: {
955
- readonly schemas: {
956
- readonly type: "array";
957
- readonly items: {
958
- readonly type: "string";
959
- };
960
- };
961
- readonly status: {
962
- readonly type: "string";
963
- };
964
- readonly detail: {
965
- readonly type: "string";
966
- };
967
- readonly scimType: {
968
- readonly type: "string";
969
- };
970
- };
971
- };
972
- };
973
- };
974
- };
975
- "404": {
976
- description: string;
977
- content: {
978
- "application/json": {
979
- schema: {
980
- readonly type: "object";
981
- readonly properties: {
982
- readonly schemas: {
983
- readonly type: "array";
984
- readonly items: {
985
- readonly type: "string";
986
- };
987
- };
988
- readonly status: {
989
- readonly type: "string";
990
- };
991
- readonly detail: {
992
- readonly type: "string";
993
- };
994
- readonly scimType: {
995
- readonly type: "string";
996
- };
997
- };
998
- };
999
- };
1000
- };
1001
- };
1002
- "429": {
1003
- description: string;
1004
- content: {
1005
- "application/json": {
1006
- schema: {
1007
- readonly type: "object";
1008
- readonly properties: {
1009
- readonly schemas: {
1010
- readonly type: "array";
1011
- readonly items: {
1012
- readonly type: "string";
1013
- };
1014
- };
1015
- readonly status: {
1016
- readonly type: "string";
1017
- };
1018
- readonly detail: {
1019
- readonly type: "string";
1020
- };
1021
- readonly scimType: {
1022
- readonly type: "string";
1023
- };
1024
- };
1025
- };
1026
- };
1027
- };
1028
- };
1029
- "500": {
1030
- description: string;
1031
- content: {
1032
- "application/json": {
1033
- schema: {
1034
- readonly type: "object";
1035
- readonly properties: {
1036
- readonly schemas: {
1037
- readonly type: "array";
1038
- readonly items: {
1039
- readonly type: "string";
1040
- };
1041
- };
1042
- readonly status: {
1043
- readonly type: "string";
1044
- };
1045
- readonly detail: {
1046
- readonly type: "string";
1047
- };
1048
- readonly scimType: {
1049
- readonly type: "string";
1050
- };
1051
- };
1052
- };
1053
- };
1054
- };
1055
- };
1056
- "204": {
1057
- description: string;
1058
- };
1059
- };
1060
- };
1061
- scope: "server";
1062
- };
1063
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
1064
- authSCIMToken: string;
1065
- scimProvider: Omit<SCIMProvider, "id">;
1066
- }>)[];
1067
- }, void>;
1068
- updateSCIMUser: better_call0.StrictEndpoint<"/scim/v2/Users/:userId", {
1069
- method: "PUT";
1070
- body: zod0.ZodObject<{
1071
- userName: zod0.ZodString;
1072
- externalId: zod0.ZodOptional<zod0.ZodString>;
1073
- name: zod0.ZodOptional<zod0.ZodObject<{
1074
- formatted: zod0.ZodOptional<zod0.ZodString>;
1075
- givenName: zod0.ZodOptional<zod0.ZodString>;
1076
- familyName: zod0.ZodOptional<zod0.ZodString>;
1077
- }, better_auth0.$strip>>;
1078
- emails: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
1079
- value: zod0.ZodEmail;
1080
- primary: zod0.ZodOptional<zod0.ZodBoolean>;
1081
- }, better_auth0.$strip>>>;
1082
- }, better_auth0.$strip>;
1083
- metadata: {
1084
- allowedMediaTypes: string[];
1085
- openapi: {
1086
- summary: string;
1087
- description: string;
1088
- responses: {
1089
- "400": {
1090
- description: string;
1091
- content: {
1092
- "application/json": {
1093
- schema: {
1094
- readonly type: "object";
1095
- readonly properties: {
1096
- readonly schemas: {
1097
- readonly type: "array";
1098
- readonly items: {
1099
- readonly type: "string";
1100
- };
1101
- };
1102
- readonly status: {
1103
- readonly type: "string";
1104
- };
1105
- readonly detail: {
1106
- readonly type: "string";
1107
- };
1108
- readonly scimType: {
1109
- readonly type: "string";
1110
- };
1111
- };
1112
- };
1113
- };
1114
- };
1115
- };
1116
- "401": {
1117
- description: string;
1118
- content: {
1119
- "application/json": {
1120
- schema: {
1121
- readonly type: "object";
1122
- readonly properties: {
1123
- readonly schemas: {
1124
- readonly type: "array";
1125
- readonly items: {
1126
- readonly type: "string";
1127
- };
1128
- };
1129
- readonly status: {
1130
- readonly type: "string";
1131
- };
1132
- readonly detail: {
1133
- readonly type: "string";
1134
- };
1135
- readonly scimType: {
1136
- readonly type: "string";
1137
- };
1138
- };
1139
- };
1140
- };
1141
- };
1142
- };
1143
- "403": {
1144
- description: string;
1145
- content: {
1146
- "application/json": {
1147
- schema: {
1148
- readonly type: "object";
1149
- readonly properties: {
1150
- readonly schemas: {
1151
- readonly type: "array";
1152
- readonly items: {
1153
- readonly type: "string";
1154
- };
1155
- };
1156
- readonly status: {
1157
- readonly type: "string";
1158
- };
1159
- readonly detail: {
1160
- readonly type: "string";
1161
- };
1162
- readonly scimType: {
1163
- readonly type: "string";
1164
- };
1165
- };
1166
- };
1167
- };
1168
- };
1169
- };
1170
- "404": {
1171
- description: string;
1172
- content: {
1173
- "application/json": {
1174
- schema: {
1175
- readonly type: "object";
1176
- readonly properties: {
1177
- readonly schemas: {
1178
- readonly type: "array";
1179
- readonly items: {
1180
- readonly type: "string";
1181
- };
1182
- };
1183
- readonly status: {
1184
- readonly type: "string";
1185
- };
1186
- readonly detail: {
1187
- readonly type: "string";
1188
- };
1189
- readonly scimType: {
1190
- readonly type: "string";
1191
- };
1192
- };
1193
- };
1194
- };
1195
- };
1196
- };
1197
- "429": {
1198
- description: string;
1199
- content: {
1200
- "application/json": {
1201
- schema: {
1202
- readonly type: "object";
1203
- readonly properties: {
1204
- readonly schemas: {
1205
- readonly type: "array";
1206
- readonly items: {
1207
- readonly type: "string";
1208
- };
1209
- };
1210
- readonly status: {
1211
- readonly type: "string";
1212
- };
1213
- readonly detail: {
1214
- readonly type: "string";
1215
- };
1216
- readonly scimType: {
1217
- readonly type: "string";
1218
- };
1219
- };
1220
- };
1221
- };
1222
- };
1223
- };
1224
- "500": {
1225
- description: string;
1226
- content: {
1227
- "application/json": {
1228
- schema: {
1229
- readonly type: "object";
1230
- readonly properties: {
1231
- readonly schemas: {
1232
- readonly type: "array";
1233
- readonly items: {
1234
- readonly type: "string";
1235
- };
1236
- };
1237
- readonly status: {
1238
- readonly type: "string";
1239
- };
1240
- readonly detail: {
1241
- readonly type: "string";
1242
- };
1243
- readonly scimType: {
1244
- readonly type: "string";
1245
- };
1246
- };
1247
- };
1248
- };
1249
- };
1250
- };
1251
- "200": {
1252
- description: string;
1253
- content: {
1254
- "application/json": {
1255
- schema: {
1256
- readonly type: "object";
1257
- readonly properties: {
1258
- readonly id: {
1259
- readonly type: "string";
1260
- };
1261
- readonly meta: {
1262
- readonly type: "object";
1263
- readonly properties: {
1264
- readonly resourceType: {
1265
- readonly type: "string";
1266
- };
1267
- readonly created: {
1268
- readonly type: "string";
1269
- readonly format: "date-time";
1270
- };
1271
- readonly lastModified: {
1272
- readonly type: "string";
1273
- readonly format: "date-time";
1274
- };
1275
- readonly location: {
1276
- readonly type: "string";
1277
- };
1278
- };
1279
- };
1280
- readonly userName: {
1281
- readonly type: "string";
1282
- };
1283
- readonly name: {
1284
- readonly type: "object";
1285
- readonly properties: {
1286
- readonly formatted: {
1287
- readonly type: "string";
1288
- };
1289
- readonly givenName: {
1290
- readonly type: "string";
1291
- };
1292
- readonly familyName: {
1293
- readonly type: "string";
1294
- };
1295
- };
1296
- };
1297
- readonly displayName: {
1298
- readonly type: "string";
1299
- };
1300
- readonly active: {
1301
- readonly type: "boolean";
1302
- };
1303
- readonly emails: {
1304
- readonly type: "array";
1305
- readonly items: {
1306
- readonly type: "object";
1307
- readonly properties: {
1308
- readonly value: {
1309
- readonly type: "string";
1310
- };
1311
- readonly primary: {
1312
- readonly type: "boolean";
1313
- };
1314
- };
1315
- };
1316
- };
1317
- readonly schemas: {
1318
- readonly type: "array";
1319
- readonly items: {
1320
- readonly type: "string";
1321
- };
1322
- };
1323
- };
1324
- };
1325
- };
1326
- };
1327
- };
1328
- };
1329
- };
1330
- scope: "server";
1331
- };
1332
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
1333
- authSCIMToken: string;
1334
- scimProvider: Omit<SCIMProvider, "id">;
1335
- }>)[];
1336
- }, {
1337
- id: string;
1338
- externalId: string | undefined;
1339
- meta: {
1340
- resourceType: string;
1341
- created: Date;
1342
- lastModified: Date;
1343
- location: string;
1344
- };
1345
- userName: string;
1346
- name: {
1347
- formatted: string;
1348
- };
1349
- displayName: string;
1350
- active: boolean;
1351
- emails: {
1352
- primary: boolean;
1353
- value: string;
1354
- }[];
1355
- schemas: string[];
1356
- }>;
1357
- listSCIMUsers: better_call0.StrictEndpoint<"/scim/v2/Users", {
1358
- method: "GET";
1359
- query: zod0.ZodOptional<zod0.ZodObject<{
1360
- filter: zod0.ZodOptional<zod0.ZodString>;
1361
- }, better_auth0.$strip>>;
1362
- metadata: {
1363
- allowedMediaTypes: string[];
1364
- openapi: {
1365
- summary: string;
1366
- description: string;
1367
- responses: {
1368
- "400": {
1369
- description: string;
1370
- content: {
1371
- "application/json": {
1372
- schema: {
1373
- readonly type: "object";
1374
- readonly properties: {
1375
- readonly schemas: {
1376
- readonly type: "array";
1377
- readonly items: {
1378
- readonly type: "string";
1379
- };
1380
- };
1381
- readonly status: {
1382
- readonly type: "string";
1383
- };
1384
- readonly detail: {
1385
- readonly type: "string";
1386
- };
1387
- readonly scimType: {
1388
- readonly type: "string";
1389
- };
1390
- };
1391
- };
1392
- };
1393
- };
1394
- };
1395
- "401": {
1396
- description: string;
1397
- content: {
1398
- "application/json": {
1399
- schema: {
1400
- readonly type: "object";
1401
- readonly properties: {
1402
- readonly schemas: {
1403
- readonly type: "array";
1404
- readonly items: {
1405
- readonly type: "string";
1406
- };
1407
- };
1408
- readonly status: {
1409
- readonly type: "string";
1410
- };
1411
- readonly detail: {
1412
- readonly type: "string";
1413
- };
1414
- readonly scimType: {
1415
- readonly type: "string";
1416
- };
1417
- };
1418
- };
1419
- };
1420
- };
1421
- };
1422
- "403": {
1423
- description: string;
1424
- content: {
1425
- "application/json": {
1426
- schema: {
1427
- readonly type: "object";
1428
- readonly properties: {
1429
- readonly schemas: {
1430
- readonly type: "array";
1431
- readonly items: {
1432
- readonly type: "string";
1433
- };
1434
- };
1435
- readonly status: {
1436
- readonly type: "string";
1437
- };
1438
- readonly detail: {
1439
- readonly type: "string";
1440
- };
1441
- readonly scimType: {
1442
- readonly type: "string";
1443
- };
1444
- };
1445
- };
1446
- };
1447
- };
1448
- };
1449
- "404": {
1450
- description: string;
1451
- content: {
1452
- "application/json": {
1453
- schema: {
1454
- readonly type: "object";
1455
- readonly properties: {
1456
- readonly schemas: {
1457
- readonly type: "array";
1458
- readonly items: {
1459
- readonly type: "string";
1460
- };
1461
- };
1462
- readonly status: {
1463
- readonly type: "string";
1464
- };
1465
- readonly detail: {
1466
- readonly type: "string";
1467
- };
1468
- readonly scimType: {
1469
- readonly type: "string";
1470
- };
1471
- };
1472
- };
1473
- };
1474
- };
1475
- };
1476
- "429": {
1477
- description: string;
1478
- content: {
1479
- "application/json": {
1480
- schema: {
1481
- readonly type: "object";
1482
- readonly properties: {
1483
- readonly schemas: {
1484
- readonly type: "array";
1485
- readonly items: {
1486
- readonly type: "string";
1487
- };
1488
- };
1489
- readonly status: {
1490
- readonly type: "string";
1491
- };
1492
- readonly detail: {
1493
- readonly type: "string";
1494
- };
1495
- readonly scimType: {
1496
- readonly type: "string";
1497
- };
1498
- };
1499
- };
1500
- };
1501
- };
1502
- };
1503
- "500": {
1504
- description: string;
1505
- content: {
1506
- "application/json": {
1507
- schema: {
1508
- readonly type: "object";
1509
- readonly properties: {
1510
- readonly schemas: {
1511
- readonly type: "array";
1512
- readonly items: {
1513
- readonly type: "string";
1514
- };
1515
- };
1516
- readonly status: {
1517
- readonly type: "string";
1518
- };
1519
- readonly detail: {
1520
- readonly type: "string";
1521
- };
1522
- readonly scimType: {
1523
- readonly type: "string";
1524
- };
1525
- };
1526
- };
1527
- };
1528
- };
1529
- };
1530
- "200": {
1531
- description: string;
1532
- content: {
1533
- "application/json": {
1534
- schema: {
1535
- type: "object";
1536
- properties: {
1537
- totalResults: {
1538
- type: string;
1539
- };
1540
- itemsPerPage: {
1541
- type: string;
1542
- };
1543
- startIndex: {
1544
- type: string;
1545
- };
1546
- Resources: {
1547
- type: string;
1548
- items: {
1549
- readonly type: "object";
1550
- readonly properties: {
1551
- readonly id: {
1552
- readonly type: "string";
1553
- };
1554
- readonly meta: {
1555
- readonly type: "object";
1556
- readonly properties: {
1557
- readonly resourceType: {
1558
- readonly type: "string";
1559
- };
1560
- readonly created: {
1561
- readonly type: "string";
1562
- readonly format: "date-time";
1563
- };
1564
- readonly lastModified: {
1565
- readonly type: "string";
1566
- readonly format: "date-time";
1567
- };
1568
- readonly location: {
1569
- readonly type: "string";
1570
- };
1571
- };
1572
- };
1573
- readonly userName: {
1574
- readonly type: "string";
1575
- };
1576
- readonly name: {
1577
- readonly type: "object";
1578
- readonly properties: {
1579
- readonly formatted: {
1580
- readonly type: "string";
1581
- };
1582
- readonly givenName: {
1583
- readonly type: "string";
1584
- };
1585
- readonly familyName: {
1586
- readonly type: "string";
1587
- };
1588
- };
1589
- };
1590
- readonly displayName: {
1591
- readonly type: "string";
1592
- };
1593
- readonly active: {
1594
- readonly type: "boolean";
1595
- };
1596
- readonly emails: {
1597
- readonly type: "array";
1598
- readonly items: {
1599
- readonly type: "object";
1600
- readonly properties: {
1601
- readonly value: {
1602
- readonly type: "string";
1603
- };
1604
- readonly primary: {
1605
- readonly type: "boolean";
1606
- };
1607
- };
1608
- };
1609
- };
1610
- readonly schemas: {
1611
- readonly type: "array";
1612
- readonly items: {
1613
- readonly type: "string";
1614
- };
1615
- };
1616
- };
1617
- };
1618
- };
1619
- };
1620
- };
1621
- };
1622
- };
1623
- };
1624
- };
1625
- };
1626
- scope: "server";
1627
- };
1628
- use: ((inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<{
1629
- authSCIMToken: string;
1630
- scimProvider: Omit<SCIMProvider, "id">;
1631
- }>)[];
1632
- }, {
1633
- schemas: string[];
1634
- totalResults: number;
1635
- startIndex: number;
1636
- itemsPerPage: number;
1637
- Resources: {
1638
- id: string;
1639
- externalId: string | undefined;
1640
- meta: {
1641
- resourceType: string;
1642
- created: Date;
1643
- lastModified: Date;
1644
- location: string;
1645
- };
1646
- userName: string;
1647
- name: {
1648
- formatted: string;
1649
- };
1650
- displayName: string;
1651
- active: boolean;
1652
- emails: {
1653
- primary: boolean;
1654
- value: string;
1655
- }[];
1656
- schemas: string[];
1657
- }[];
1658
- }>;
1659
- getSCIMServiceProviderConfig: better_call0.StrictEndpoint<"/scim/v2/ServiceProviderConfig", {
1660
- method: "GET";
1661
- metadata: {
1662
- allowedMediaTypes: string[];
1663
- openapi: {
1664
- summary: string;
1665
- description: string;
1666
- responses: {
1667
- "400": {
1668
- description: string;
1669
- content: {
1670
- "application/json": {
1671
- schema: {
1672
- readonly type: "object";
1673
- readonly properties: {
1674
- readonly schemas: {
1675
- readonly type: "array";
1676
- readonly items: {
1677
- readonly type: "string";
1678
- };
1679
- };
1680
- readonly status: {
1681
- readonly type: "string";
1682
- };
1683
- readonly detail: {
1684
- readonly type: "string";
1685
- };
1686
- readonly scimType: {
1687
- readonly type: "string";
1688
- };
1689
- };
1690
- };
1691
- };
1692
- };
1693
- };
1694
- "401": {
1695
- description: string;
1696
- content: {
1697
- "application/json": {
1698
- schema: {
1699
- readonly type: "object";
1700
- readonly properties: {
1701
- readonly schemas: {
1702
- readonly type: "array";
1703
- readonly items: {
1704
- readonly type: "string";
1705
- };
1706
- };
1707
- readonly status: {
1708
- readonly type: "string";
1709
- };
1710
- readonly detail: {
1711
- readonly type: "string";
1712
- };
1713
- readonly scimType: {
1714
- readonly type: "string";
1715
- };
1716
- };
1717
- };
1718
- };
1719
- };
1720
- };
1721
- "403": {
1722
- description: string;
1723
- content: {
1724
- "application/json": {
1725
- schema: {
1726
- readonly type: "object";
1727
- readonly properties: {
1728
- readonly schemas: {
1729
- readonly type: "array";
1730
- readonly items: {
1731
- readonly type: "string";
1732
- };
1733
- };
1734
- readonly status: {
1735
- readonly type: "string";
1736
- };
1737
- readonly detail: {
1738
- readonly type: "string";
1739
- };
1740
- readonly scimType: {
1741
- readonly type: "string";
1742
- };
1743
- };
1744
- };
1745
- };
1746
- };
1747
- };
1748
- "404": {
1749
- description: string;
1750
- content: {
1751
- "application/json": {
1752
- schema: {
1753
- readonly type: "object";
1754
- readonly properties: {
1755
- readonly schemas: {
1756
- readonly type: "array";
1757
- readonly items: {
1758
- readonly type: "string";
1759
- };
1760
- };
1761
- readonly status: {
1762
- readonly type: "string";
1763
- };
1764
- readonly detail: {
1765
- readonly type: "string";
1766
- };
1767
- readonly scimType: {
1768
- readonly type: "string";
1769
- };
1770
- };
1771
- };
1772
- };
1773
- };
1774
- };
1775
- "429": {
1776
- description: string;
1777
- content: {
1778
- "application/json": {
1779
- schema: {
1780
- readonly type: "object";
1781
- readonly properties: {
1782
- readonly schemas: {
1783
- readonly type: "array";
1784
- readonly items: {
1785
- readonly type: "string";
1786
- };
1787
- };
1788
- readonly status: {
1789
- readonly type: "string";
1790
- };
1791
- readonly detail: {
1792
- readonly type: "string";
1793
- };
1794
- readonly scimType: {
1795
- readonly type: "string";
1796
- };
1797
- };
1798
- };
1799
- };
1800
- };
1801
- };
1802
- "500": {
1803
- description: string;
1804
- content: {
1805
- "application/json": {
1806
- schema: {
1807
- readonly type: "object";
1808
- readonly properties: {
1809
- readonly schemas: {
1810
- readonly type: "array";
1811
- readonly items: {
1812
- readonly type: "string";
1813
- };
1814
- };
1815
- readonly status: {
1816
- readonly type: "string";
1817
- };
1818
- readonly detail: {
1819
- readonly type: "string";
1820
- };
1821
- readonly scimType: {
1822
- readonly type: "string";
1823
- };
1824
- };
1825
- };
1826
- };
1827
- };
1828
- };
1829
- "200": {
1830
- description: string;
1831
- content: {
1832
- "application/json": {
1833
- schema: {
1834
- readonly type: "object";
1835
- readonly properties: {
1836
- readonly patch: {
1837
- type: string;
1838
- properties: {
1839
- supported: {
1840
- type: string;
1841
- };
1842
- };
1843
- };
1844
- readonly bulk: {
1845
- type: string;
1846
- properties: {
1847
- supported: {
1848
- type: string;
1849
- };
1850
- };
1851
- };
1852
- readonly filter: {
1853
- type: string;
1854
- properties: {
1855
- supported: {
1856
- type: string;
1857
- };
1858
- };
1859
- };
1860
- readonly changePassword: {
1861
- type: string;
1862
- properties: {
1863
- supported: {
1864
- type: string;
1865
- };
1866
- };
1867
- };
1868
- readonly sort: {
1869
- type: string;
1870
- properties: {
1871
- supported: {
1872
- type: string;
1873
- };
1874
- };
1875
- };
1876
- readonly etag: {
1877
- type: string;
1878
- properties: {
1879
- supported: {
1880
- type: string;
1881
- };
1882
- };
1883
- };
1884
- readonly authenticationSchemes: {
1885
- readonly type: "array";
1886
- readonly items: {
1887
- readonly type: "object";
1888
- readonly properties: {
1889
- readonly name: {
1890
- readonly type: "string";
1891
- };
1892
- readonly description: {
1893
- readonly type: "string";
1894
- };
1895
- readonly specUri: {
1896
- readonly type: "string";
1897
- };
1898
- readonly type: {
1899
- readonly type: "string";
1900
- };
1901
- readonly primary: {
1902
- readonly type: "boolean";
1903
- };
1904
- };
1905
- };
1906
- };
1907
- readonly schemas: {
1908
- readonly type: "array";
1909
- readonly items: {
1910
- readonly type: "string";
1911
- };
1912
- };
1913
- readonly meta: {
1914
- readonly type: "object";
1915
- readonly properties: {
1916
- readonly resourceType: {
1917
- readonly type: "string";
1918
- };
1919
- };
1920
- };
1921
- };
1922
- };
1923
- };
1924
- };
1925
- };
1926
- };
1927
- };
1928
- scope: "server";
1929
- };
1930
- }, {
1931
- patch: {
1932
- supported: boolean;
1933
- };
1934
- bulk: {
1935
- supported: boolean;
1936
- };
1937
- filter: {
1938
- supported: boolean;
1939
- };
1940
- changePassword: {
1941
- supported: boolean;
1942
- };
1943
- sort: {
1944
- supported: boolean;
1945
- };
1946
- etag: {
1947
- supported: boolean;
1948
- };
1949
- authenticationSchemes: {
1950
- name: string;
1951
- description: string;
1952
- specUri: string;
1953
- type: string;
1954
- primary: boolean;
1955
- }[];
1956
- schemas: string[];
1957
- meta: {
1958
- resourceType: string;
1959
- };
1960
- }>;
1961
- getSCIMSchemas: better_call0.StrictEndpoint<"/scim/v2/Schemas", {
1962
- method: "GET";
1963
- metadata: {
1964
- allowedMediaTypes: string[];
1965
- openapi: {
1966
- summary: string;
1967
- description: string;
1968
- responses: {
1969
- "400": {
1970
- description: string;
1971
- content: {
1972
- "application/json": {
1973
- schema: {
1974
- readonly type: "object";
1975
- readonly properties: {
1976
- readonly schemas: {
1977
- readonly type: "array";
1978
- readonly items: {
1979
- readonly type: "string";
1980
- };
1981
- };
1982
- readonly status: {
1983
- readonly type: "string";
1984
- };
1985
- readonly detail: {
1986
- readonly type: "string";
1987
- };
1988
- readonly scimType: {
1989
- readonly type: "string";
1990
- };
1991
- };
1992
- };
1993
- };
1994
- };
1995
- };
1996
- "401": {
1997
- description: string;
1998
- content: {
1999
- "application/json": {
2000
- schema: {
2001
- readonly type: "object";
2002
- readonly properties: {
2003
- readonly schemas: {
2004
- readonly type: "array";
2005
- readonly items: {
2006
- readonly type: "string";
2007
- };
2008
- };
2009
- readonly status: {
2010
- readonly type: "string";
2011
- };
2012
- readonly detail: {
2013
- readonly type: "string";
2014
- };
2015
- readonly scimType: {
2016
- readonly type: "string";
2017
- };
2018
- };
2019
- };
2020
- };
2021
- };
2022
- };
2023
- "403": {
2024
- description: string;
2025
- content: {
2026
- "application/json": {
2027
- schema: {
2028
- readonly type: "object";
2029
- readonly properties: {
2030
- readonly schemas: {
2031
- readonly type: "array";
2032
- readonly items: {
2033
- readonly type: "string";
2034
- };
2035
- };
2036
- readonly status: {
2037
- readonly type: "string";
2038
- };
2039
- readonly detail: {
2040
- readonly type: "string";
2041
- };
2042
- readonly scimType: {
2043
- readonly type: "string";
2044
- };
2045
- };
2046
- };
2047
- };
2048
- };
2049
- };
2050
- "404": {
2051
- description: string;
2052
- content: {
2053
- "application/json": {
2054
- schema: {
2055
- readonly type: "object";
2056
- readonly properties: {
2057
- readonly schemas: {
2058
- readonly type: "array";
2059
- readonly items: {
2060
- readonly type: "string";
2061
- };
2062
- };
2063
- readonly status: {
2064
- readonly type: "string";
2065
- };
2066
- readonly detail: {
2067
- readonly type: "string";
2068
- };
2069
- readonly scimType: {
2070
- readonly type: "string";
2071
- };
2072
- };
2073
- };
2074
- };
2075
- };
2076
- };
2077
- "429": {
2078
- description: string;
2079
- content: {
2080
- "application/json": {
2081
- schema: {
2082
- readonly type: "object";
2083
- readonly properties: {
2084
- readonly schemas: {
2085
- readonly type: "array";
2086
- readonly items: {
2087
- readonly type: "string";
2088
- };
2089
- };
2090
- readonly status: {
2091
- readonly type: "string";
2092
- };
2093
- readonly detail: {
2094
- readonly type: "string";
2095
- };
2096
- readonly scimType: {
2097
- readonly type: "string";
2098
- };
2099
- };
2100
- };
2101
- };
2102
- };
2103
- };
2104
- "500": {
2105
- description: string;
2106
- content: {
2107
- "application/json": {
2108
- schema: {
2109
- readonly type: "object";
2110
- readonly properties: {
2111
- readonly schemas: {
2112
- readonly type: "array";
2113
- readonly items: {
2114
- readonly type: "string";
2115
- };
2116
- };
2117
- readonly status: {
2118
- readonly type: "string";
2119
- };
2120
- readonly detail: {
2121
- readonly type: "string";
2122
- };
2123
- readonly scimType: {
2124
- readonly type: "string";
2125
- };
2126
- };
2127
- };
2128
- };
2129
- };
2130
- };
2131
- "200": {
2132
- description: string;
2133
- content: {
2134
- "application/json": {
2135
- schema: {
2136
- type: "array";
2137
- items: {
2138
- readonly type: "object";
2139
- readonly properties: {
2140
- readonly id: {
2141
- readonly type: "string";
2142
- };
2143
- readonly schemas: {
2144
- readonly type: "array";
2145
- readonly items: {
2146
- readonly type: "string";
2147
- };
2148
- };
2149
- readonly name: {
2150
- readonly type: "string";
2151
- };
2152
- readonly description: {
2153
- readonly type: "string";
2154
- };
2155
- readonly attributes: {
2156
- readonly type: "array";
2157
- readonly items: {
2158
- readonly properties: {
2159
- readonly subAttributes: {
2160
- readonly type: "array";
2161
- readonly items: {
2162
- readonly type: "object";
2163
- readonly properties: {
2164
- readonly name: {
2165
- readonly type: "string";
2166
- };
2167
- readonly type: {
2168
- readonly type: "string";
2169
- };
2170
- readonly multiValued: {
2171
- readonly type: "boolean";
2172
- };
2173
- readonly description: {
2174
- readonly type: "string";
2175
- };
2176
- readonly required: {
2177
- readonly type: "boolean";
2178
- };
2179
- readonly caseExact: {
2180
- readonly type: "boolean";
2181
- };
2182
- readonly mutability: {
2183
- readonly type: "string";
2184
- };
2185
- readonly returned: {
2186
- readonly type: "string";
2187
- };
2188
- readonly uniqueness: {
2189
- readonly type: "string";
2190
- };
2191
- };
2192
- };
2193
- };
2194
- readonly name: {
2195
- readonly type: "string";
2196
- };
2197
- readonly type: {
2198
- readonly type: "string";
2199
- };
2200
- readonly multiValued: {
2201
- readonly type: "boolean";
2202
- };
2203
- readonly description: {
2204
- readonly type: "string";
2205
- };
2206
- readonly required: {
2207
- readonly type: "boolean";
2208
- };
2209
- readonly caseExact: {
2210
- readonly type: "boolean";
2211
- };
2212
- readonly mutability: {
2213
- readonly type: "string";
2214
- };
2215
- readonly returned: {
2216
- readonly type: "string";
2217
- };
2218
- readonly uniqueness: {
2219
- readonly type: "string";
2220
- };
2221
- };
2222
- readonly type: "object";
2223
- };
2224
- };
2225
- readonly meta: {
2226
- readonly type: "object";
2227
- readonly properties: {
2228
- readonly resourceType: {
2229
- readonly type: "string";
2230
- };
2231
- readonly location: {
2232
- readonly type: "string";
2233
- };
2234
- };
2235
- readonly required: readonly ["resourceType", "location"];
2236
- };
2237
- };
2238
- };
2239
- };
2240
- };
2241
- };
2242
- };
2243
- };
2244
- };
2245
- scope: "server";
2246
- };
2247
- }, {
2248
- totalResults: number;
2249
- itemsPerPage: number;
2250
- startIndex: number;
2251
- schemas: string[];
2252
- Resources: {
2253
- meta: {
2254
- location: string;
2255
- resourceType: string;
2256
- };
2257
- id: string;
2258
- schemas: string[];
2259
- name: string;
2260
- description: string;
2261
- attributes: ({
2262
- name: string;
2263
- type: string;
2264
- multiValued: boolean;
2265
- description: string;
2266
- required: boolean;
2267
- caseExact: boolean;
2268
- mutability: string;
2269
- returned: string;
2270
- uniqueness: string;
2271
- subAttributes?: undefined;
2272
- } | {
2273
- name: string;
2274
- type: string;
2275
- multiValued: boolean;
2276
- description: string;
2277
- required: boolean;
2278
- mutability: string;
2279
- returned: string;
2280
- caseExact?: undefined;
2281
- uniqueness?: undefined;
2282
- subAttributes?: undefined;
2283
- } | {
2284
- name: string;
2285
- type: string;
2286
- multiValued: boolean;
2287
- description: string;
2288
- required: boolean;
2289
- subAttributes: {
2290
- name: string;
2291
- type: string;
2292
- multiValued: boolean;
2293
- description: string;
2294
- required: boolean;
2295
- caseExact: boolean;
2296
- mutability: string;
2297
- returned: string;
2298
- uniqueness: string;
2299
- }[];
2300
- caseExact?: undefined;
2301
- mutability?: undefined;
2302
- returned?: undefined;
2303
- uniqueness?: undefined;
2304
- } | {
2305
- name: string;
2306
- type: string;
2307
- multiValued: boolean;
2308
- description: string;
2309
- required: boolean;
2310
- subAttributes: ({
2311
- name: string;
2312
- type: string;
2313
- multiValued: boolean;
2314
- description: string;
2315
- required: boolean;
2316
- caseExact: boolean;
2317
- mutability: string;
2318
- returned: string;
2319
- uniqueness: string;
2320
- } | {
2321
- name: string;
2322
- type: string;
2323
- multiValued: boolean;
2324
- description: string;
2325
- required: boolean;
2326
- mutability: string;
2327
- returned: string;
2328
- caseExact?: undefined;
2329
- uniqueness?: undefined;
2330
- })[];
2331
- mutability: string;
2332
- returned: string;
2333
- uniqueness: string;
2334
- caseExact?: undefined;
2335
- })[];
2336
- }[];
2337
- }>;
2338
- getSCIMSchema: better_call0.StrictEndpoint<"/scim/v2/Schemas/:schemaId", {
2339
- method: "GET";
2340
- metadata: {
2341
- allowedMediaTypes: string[];
2342
- openapi: {
2343
- summary: string;
2344
- description: string;
2345
- responses: {
2346
- "400": {
2347
- description: string;
2348
- content: {
2349
- "application/json": {
2350
- schema: {
2351
- readonly type: "object";
2352
- readonly properties: {
2353
- readonly schemas: {
2354
- readonly type: "array";
2355
- readonly items: {
2356
- readonly type: "string";
2357
- };
2358
- };
2359
- readonly status: {
2360
- readonly type: "string";
2361
- };
2362
- readonly detail: {
2363
- readonly type: "string";
2364
- };
2365
- readonly scimType: {
2366
- readonly type: "string";
2367
- };
2368
- };
2369
- };
2370
- };
2371
- };
2372
- };
2373
- "401": {
2374
- description: string;
2375
- content: {
2376
- "application/json": {
2377
- schema: {
2378
- readonly type: "object";
2379
- readonly properties: {
2380
- readonly schemas: {
2381
- readonly type: "array";
2382
- readonly items: {
2383
- readonly type: "string";
2384
- };
2385
- };
2386
- readonly status: {
2387
- readonly type: "string";
2388
- };
2389
- readonly detail: {
2390
- readonly type: "string";
2391
- };
2392
- readonly scimType: {
2393
- readonly type: "string";
2394
- };
2395
- };
2396
- };
2397
- };
2398
- };
2399
- };
2400
- "403": {
2401
- description: string;
2402
- content: {
2403
- "application/json": {
2404
- schema: {
2405
- readonly type: "object";
2406
- readonly properties: {
2407
- readonly schemas: {
2408
- readonly type: "array";
2409
- readonly items: {
2410
- readonly type: "string";
2411
- };
2412
- };
2413
- readonly status: {
2414
- readonly type: "string";
2415
- };
2416
- readonly detail: {
2417
- readonly type: "string";
2418
- };
2419
- readonly scimType: {
2420
- readonly type: "string";
2421
- };
2422
- };
2423
- };
2424
- };
2425
- };
2426
- };
2427
- "404": {
2428
- description: string;
2429
- content: {
2430
- "application/json": {
2431
- schema: {
2432
- readonly type: "object";
2433
- readonly properties: {
2434
- readonly schemas: {
2435
- readonly type: "array";
2436
- readonly items: {
2437
- readonly type: "string";
2438
- };
2439
- };
2440
- readonly status: {
2441
- readonly type: "string";
2442
- };
2443
- readonly detail: {
2444
- readonly type: "string";
2445
- };
2446
- readonly scimType: {
2447
- readonly type: "string";
2448
- };
2449
- };
2450
- };
2451
- };
2452
- };
2453
- };
2454
- "429": {
2455
- description: string;
2456
- content: {
2457
- "application/json": {
2458
- schema: {
2459
- readonly type: "object";
2460
- readonly properties: {
2461
- readonly schemas: {
2462
- readonly type: "array";
2463
- readonly items: {
2464
- readonly type: "string";
2465
- };
2466
- };
2467
- readonly status: {
2468
- readonly type: "string";
2469
- };
2470
- readonly detail: {
2471
- readonly type: "string";
2472
- };
2473
- readonly scimType: {
2474
- readonly type: "string";
2475
- };
2476
- };
2477
- };
2478
- };
2479
- };
2480
- };
2481
- "500": {
2482
- description: string;
2483
- content: {
2484
- "application/json": {
2485
- schema: {
2486
- readonly type: "object";
2487
- readonly properties: {
2488
- readonly schemas: {
2489
- readonly type: "array";
2490
- readonly items: {
2491
- readonly type: "string";
2492
- };
2493
- };
2494
- readonly status: {
2495
- readonly type: "string";
2496
- };
2497
- readonly detail: {
2498
- readonly type: "string";
2499
- };
2500
- readonly scimType: {
2501
- readonly type: "string";
2502
- };
2503
- };
2504
- };
2505
- };
2506
- };
2507
- };
2508
- "200": {
2509
- description: string;
2510
- content: {
2511
- "application/json": {
2512
- schema: {
2513
- readonly type: "object";
2514
- readonly properties: {
2515
- readonly id: {
2516
- readonly type: "string";
2517
- };
2518
- readonly schemas: {
2519
- readonly type: "array";
2520
- readonly items: {
2521
- readonly type: "string";
2522
- };
2523
- };
2524
- readonly name: {
2525
- readonly type: "string";
2526
- };
2527
- readonly description: {
2528
- readonly type: "string";
2529
- };
2530
- readonly attributes: {
2531
- readonly type: "array";
2532
- readonly items: {
2533
- readonly properties: {
2534
- readonly subAttributes: {
2535
- readonly type: "array";
2536
- readonly items: {
2537
- readonly type: "object";
2538
- readonly properties: {
2539
- readonly name: {
2540
- readonly type: "string";
2541
- };
2542
- readonly type: {
2543
- readonly type: "string";
2544
- };
2545
- readonly multiValued: {
2546
- readonly type: "boolean";
2547
- };
2548
- readonly description: {
2549
- readonly type: "string";
2550
- };
2551
- readonly required: {
2552
- readonly type: "boolean";
2553
- };
2554
- readonly caseExact: {
2555
- readonly type: "boolean";
2556
- };
2557
- readonly mutability: {
2558
- readonly type: "string";
2559
- };
2560
- readonly returned: {
2561
- readonly type: "string";
2562
- };
2563
- readonly uniqueness: {
2564
- readonly type: "string";
2565
- };
2566
- };
2567
- };
2568
- };
2569
- readonly name: {
2570
- readonly type: "string";
2571
- };
2572
- readonly type: {
2573
- readonly type: "string";
2574
- };
2575
- readonly multiValued: {
2576
- readonly type: "boolean";
2577
- };
2578
- readonly description: {
2579
- readonly type: "string";
2580
- };
2581
- readonly required: {
2582
- readonly type: "boolean";
2583
- };
2584
- readonly caseExact: {
2585
- readonly type: "boolean";
2586
- };
2587
- readonly mutability: {
2588
- readonly type: "string";
2589
- };
2590
- readonly returned: {
2591
- readonly type: "string";
2592
- };
2593
- readonly uniqueness: {
2594
- readonly type: "string";
2595
- };
2596
- };
2597
- readonly type: "object";
2598
- };
2599
- };
2600
- readonly meta: {
2601
- readonly type: "object";
2602
- readonly properties: {
2603
- readonly resourceType: {
2604
- readonly type: "string";
2605
- };
2606
- readonly location: {
2607
- readonly type: "string";
2608
- };
2609
- };
2610
- readonly required: readonly ["resourceType", "location"];
2611
- };
2612
- };
2613
- };
2614
- };
2615
- };
2616
- };
2617
- };
2618
- };
2619
- scope: "server";
2620
- };
2621
- }, {
2622
- meta: {
2623
- location: string;
2624
- resourceType: string;
2625
- };
2626
- id: string;
2627
- schemas: string[];
2628
- name: string;
2629
- description: string;
2630
- attributes: ({
2631
- name: string;
2632
- type: string;
2633
- multiValued: boolean;
2634
- description: string;
2635
- required: boolean;
2636
- caseExact: boolean;
2637
- mutability: string;
2638
- returned: string;
2639
- uniqueness: string;
2640
- subAttributes?: undefined;
2641
- } | {
2642
- name: string;
2643
- type: string;
2644
- multiValued: boolean;
2645
- description: string;
2646
- required: boolean;
2647
- mutability: string;
2648
- returned: string;
2649
- caseExact?: undefined;
2650
- uniqueness?: undefined;
2651
- subAttributes?: undefined;
2652
- } | {
2653
- name: string;
2654
- type: string;
2655
- multiValued: boolean;
2656
- description: string;
2657
- required: boolean;
2658
- subAttributes: {
2659
- name: string;
2660
- type: string;
2661
- multiValued: boolean;
2662
- description: string;
2663
- required: boolean;
2664
- caseExact: boolean;
2665
- mutability: string;
2666
- returned: string;
2667
- uniqueness: string;
2668
- }[];
2669
- caseExact?: undefined;
2670
- mutability?: undefined;
2671
- returned?: undefined;
2672
- uniqueness?: undefined;
2673
- } | {
2674
- name: string;
2675
- type: string;
2676
- multiValued: boolean;
2677
- description: string;
2678
- required: boolean;
2679
- subAttributes: ({
2680
- name: string;
2681
- type: string;
2682
- multiValued: boolean;
2683
- description: string;
2684
- required: boolean;
2685
- caseExact: boolean;
2686
- mutability: string;
2687
- returned: string;
2688
- uniqueness: string;
2689
- } | {
2690
- name: string;
2691
- type: string;
2692
- multiValued: boolean;
2693
- description: string;
2694
- required: boolean;
2695
- mutability: string;
2696
- returned: string;
2697
- caseExact?: undefined;
2698
- uniqueness?: undefined;
2699
- })[];
2700
- mutability: string;
2701
- returned: string;
2702
- uniqueness: string;
2703
- caseExact?: undefined;
2704
- })[];
2705
- }>;
2706
- getSCIMResourceTypes: better_call0.StrictEndpoint<"/scim/v2/ResourceTypes", {
2707
- method: "GET";
2708
- metadata: {
2709
- allowedMediaTypes: string[];
2710
- openapi: {
2711
- summary: string;
2712
- description: string;
2713
- responses: {
2714
- "400": {
2715
- description: string;
2716
- content: {
2717
- "application/json": {
2718
- schema: {
2719
- readonly type: "object";
2720
- readonly properties: {
2721
- readonly schemas: {
2722
- readonly type: "array";
2723
- readonly items: {
2724
- readonly type: "string";
2725
- };
2726
- };
2727
- readonly status: {
2728
- readonly type: "string";
2729
- };
2730
- readonly detail: {
2731
- readonly type: "string";
2732
- };
2733
- readonly scimType: {
2734
- readonly type: "string";
2735
- };
2736
- };
2737
- };
2738
- };
2739
- };
2740
- };
2741
- "401": {
2742
- description: string;
2743
- content: {
2744
- "application/json": {
2745
- schema: {
2746
- readonly type: "object";
2747
- readonly properties: {
2748
- readonly schemas: {
2749
- readonly type: "array";
2750
- readonly items: {
2751
- readonly type: "string";
2752
- };
2753
- };
2754
- readonly status: {
2755
- readonly type: "string";
2756
- };
2757
- readonly detail: {
2758
- readonly type: "string";
2759
- };
2760
- readonly scimType: {
2761
- readonly type: "string";
2762
- };
2763
- };
2764
- };
2765
- };
2766
- };
2767
- };
2768
- "403": {
2769
- description: string;
2770
- content: {
2771
- "application/json": {
2772
- schema: {
2773
- readonly type: "object";
2774
- readonly properties: {
2775
- readonly schemas: {
2776
- readonly type: "array";
2777
- readonly items: {
2778
- readonly type: "string";
2779
- };
2780
- };
2781
- readonly status: {
2782
- readonly type: "string";
2783
- };
2784
- readonly detail: {
2785
- readonly type: "string";
2786
- };
2787
- readonly scimType: {
2788
- readonly type: "string";
2789
- };
2790
- };
2791
- };
2792
- };
2793
- };
2794
- };
2795
- "404": {
2796
- description: string;
2797
- content: {
2798
- "application/json": {
2799
- schema: {
2800
- readonly type: "object";
2801
- readonly properties: {
2802
- readonly schemas: {
2803
- readonly type: "array";
2804
- readonly items: {
2805
- readonly type: "string";
2806
- };
2807
- };
2808
- readonly status: {
2809
- readonly type: "string";
2810
- };
2811
- readonly detail: {
2812
- readonly type: "string";
2813
- };
2814
- readonly scimType: {
2815
- readonly type: "string";
2816
- };
2817
- };
2818
- };
2819
- };
2820
- };
2821
- };
2822
- "429": {
2823
- description: string;
2824
- content: {
2825
- "application/json": {
2826
- schema: {
2827
- readonly type: "object";
2828
- readonly properties: {
2829
- readonly schemas: {
2830
- readonly type: "array";
2831
- readonly items: {
2832
- readonly type: "string";
2833
- };
2834
- };
2835
- readonly status: {
2836
- readonly type: "string";
2837
- };
2838
- readonly detail: {
2839
- readonly type: "string";
2840
- };
2841
- readonly scimType: {
2842
- readonly type: "string";
2843
- };
2844
- };
2845
- };
2846
- };
2847
- };
2848
- };
2849
- "500": {
2850
- description: string;
2851
- content: {
2852
- "application/json": {
2853
- schema: {
2854
- readonly type: "object";
2855
- readonly properties: {
2856
- readonly schemas: {
2857
- readonly type: "array";
2858
- readonly items: {
2859
- readonly type: "string";
2860
- };
2861
- };
2862
- readonly status: {
2863
- readonly type: "string";
2864
- };
2865
- readonly detail: {
2866
- readonly type: "string";
2867
- };
2868
- readonly scimType: {
2869
- readonly type: "string";
2870
- };
2871
- };
2872
- };
2873
- };
2874
- };
2875
- };
2876
- "200": {
2877
- description: string;
2878
- content: {
2879
- "application/json": {
2880
- schema: {
2881
- type: "object";
2882
- properties: {
2883
- totalResults: {
2884
- type: string;
2885
- };
2886
- itemsPerPage: {
2887
- type: string;
2888
- };
2889
- startIndex: {
2890
- type: string;
2891
- };
2892
- Resources: {
2893
- type: string;
2894
- items: {
2895
- readonly type: "object";
2896
- readonly properties: {
2897
- readonly schemas: {
2898
- readonly type: "array";
2899
- readonly items: {
2900
- readonly type: "string";
2901
- };
2902
- };
2903
- readonly id: {
2904
- readonly type: "string";
2905
- };
2906
- readonly name: {
2907
- readonly type: "string";
2908
- };
2909
- readonly endpoint: {
2910
- readonly type: "string";
2911
- };
2912
- readonly description: {
2913
- readonly type: "string";
2914
- };
2915
- readonly schema: {
2916
- readonly type: "string";
2917
- };
2918
- readonly meta: {
2919
- readonly type: "object";
2920
- readonly properties: {
2921
- readonly resourceType: {
2922
- readonly type: "string";
2923
- };
2924
- readonly location: {
2925
- readonly type: "string";
2926
- };
2927
- };
2928
- };
2929
- };
2930
- };
2931
- };
2932
- };
2933
- };
2934
- };
2935
- };
2936
- };
2937
- };
2938
- };
2939
- scope: "server";
2940
- };
2941
- }, {
2942
- totalResults: number;
2943
- itemsPerPage: number;
2944
- startIndex: number;
2945
- schemas: string[];
2946
- Resources: {
2947
- meta: {
2948
- location: string;
2949
- resourceType: string;
2950
- };
2951
- schemas: string[];
2952
- id: string;
2953
- name: string;
2954
- endpoint: string;
2955
- description: string;
2956
- schema: string;
2957
- }[];
2958
- }>;
2959
- getSCIMResourceType: better_call0.StrictEndpoint<"/scim/v2/ResourceTypes/:resourceTypeId", {
2960
- method: "GET";
2961
- metadata: {
2962
- allowedMediaTypes: string[];
2963
- openapi: {
2964
- summary: string;
2965
- description: string;
2966
- responses: {
2967
- "400": {
2968
- description: string;
2969
- content: {
2970
- "application/json": {
2971
- schema: {
2972
- readonly type: "object";
2973
- readonly properties: {
2974
- readonly schemas: {
2975
- readonly type: "array";
2976
- readonly items: {
2977
- readonly type: "string";
2978
- };
2979
- };
2980
- readonly status: {
2981
- readonly type: "string";
2982
- };
2983
- readonly detail: {
2984
- readonly type: "string";
2985
- };
2986
- readonly scimType: {
2987
- readonly type: "string";
2988
- };
2989
- };
2990
- };
2991
- };
2992
- };
2993
- };
2994
- "401": {
2995
- description: string;
2996
- content: {
2997
- "application/json": {
2998
- schema: {
2999
- readonly type: "object";
3000
- readonly properties: {
3001
- readonly schemas: {
3002
- readonly type: "array";
3003
- readonly items: {
3004
- readonly type: "string";
3005
- };
3006
- };
3007
- readonly status: {
3008
- readonly type: "string";
3009
- };
3010
- readonly detail: {
3011
- readonly type: "string";
3012
- };
3013
- readonly scimType: {
3014
- readonly type: "string";
3015
- };
3016
- };
3017
- };
3018
- };
3019
- };
3020
- };
3021
- "403": {
3022
- description: string;
3023
- content: {
3024
- "application/json": {
3025
- schema: {
3026
- readonly type: "object";
3027
- readonly properties: {
3028
- readonly schemas: {
3029
- readonly type: "array";
3030
- readonly items: {
3031
- readonly type: "string";
3032
- };
3033
- };
3034
- readonly status: {
3035
- readonly type: "string";
3036
- };
3037
- readonly detail: {
3038
- readonly type: "string";
3039
- };
3040
- readonly scimType: {
3041
- readonly type: "string";
3042
- };
3043
- };
3044
- };
3045
- };
3046
- };
3047
- };
3048
- "404": {
3049
- description: string;
3050
- content: {
3051
- "application/json": {
3052
- schema: {
3053
- readonly type: "object";
3054
- readonly properties: {
3055
- readonly schemas: {
3056
- readonly type: "array";
3057
- readonly items: {
3058
- readonly type: "string";
3059
- };
3060
- };
3061
- readonly status: {
3062
- readonly type: "string";
3063
- };
3064
- readonly detail: {
3065
- readonly type: "string";
3066
- };
3067
- readonly scimType: {
3068
- readonly type: "string";
3069
- };
3070
- };
3071
- };
3072
- };
3073
- };
3074
- };
3075
- "429": {
3076
- description: string;
3077
- content: {
3078
- "application/json": {
3079
- schema: {
3080
- readonly type: "object";
3081
- readonly properties: {
3082
- readonly schemas: {
3083
- readonly type: "array";
3084
- readonly items: {
3085
- readonly type: "string";
3086
- };
3087
- };
3088
- readonly status: {
3089
- readonly type: "string";
3090
- };
3091
- readonly detail: {
3092
- readonly type: "string";
3093
- };
3094
- readonly scimType: {
3095
- readonly type: "string";
3096
- };
3097
- };
3098
- };
3099
- };
3100
- };
3101
- };
3102
- "500": {
3103
- description: string;
3104
- content: {
3105
- "application/json": {
3106
- schema: {
3107
- readonly type: "object";
3108
- readonly properties: {
3109
- readonly schemas: {
3110
- readonly type: "array";
3111
- readonly items: {
3112
- readonly type: "string";
3113
- };
3114
- };
3115
- readonly status: {
3116
- readonly type: "string";
3117
- };
3118
- readonly detail: {
3119
- readonly type: "string";
3120
- };
3121
- readonly scimType: {
3122
- readonly type: "string";
3123
- };
3124
- };
3125
- };
3126
- };
3127
- };
3128
- };
3129
- "200": {
3130
- description: string;
3131
- content: {
3132
- "application/json": {
3133
- schema: {
3134
- readonly type: "object";
3135
- readonly properties: {
3136
- readonly schemas: {
3137
- readonly type: "array";
3138
- readonly items: {
3139
- readonly type: "string";
3140
- };
3141
- };
3142
- readonly id: {
3143
- readonly type: "string";
3144
- };
3145
- readonly name: {
3146
- readonly type: "string";
3147
- };
3148
- readonly endpoint: {
3149
- readonly type: "string";
3150
- };
3151
- readonly description: {
3152
- readonly type: "string";
3153
- };
3154
- readonly schema: {
3155
- readonly type: "string";
3156
- };
3157
- readonly meta: {
3158
- readonly type: "object";
3159
- readonly properties: {
3160
- readonly resourceType: {
3161
- readonly type: "string";
3162
- };
3163
- readonly location: {
3164
- readonly type: "string";
3165
- };
3166
- };
3167
- };
3168
- };
3169
- };
3170
- };
3171
- };
3172
- };
3173
- };
3174
- };
3175
- scope: "server";
3176
- };
3177
- }, {
3178
- meta: {
3179
- location: string;
3180
- resourceType: string;
3181
- };
3182
- schemas: string[];
3183
- id: string;
3184
- name: string;
3185
- endpoint: string;
3186
- description: string;
3187
- schema: string;
3188
- }>;
3189
- };
3190
- schema: {
3191
- scimProvider: {
3192
- fields: {
3193
- providerId: {
3194
- type: "string";
3195
- required: true;
3196
- unique: true;
3197
- };
3198
- scimToken: {
3199
- type: "string";
3200
- required: true;
3201
- unique: true;
3202
- };
3203
- organizationId: {
3204
- type: "string";
3205
- required: false;
3206
- };
3207
- };
3208
- };
3209
- };
3210
- options: SCIMOptions | undefined;
3211
- };
3212
- //#endregion
3213
- export { scim as t };