@seamapi/types 1.365.0 → 1.366.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/connect.cjs +370 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1304 -14
- package/lib/seam/connect/models/acs/{acs-user.d.ts → acs-users/acs-user.d.ts} +540 -18
- package/lib/seam/connect/models/acs/{acs-user.js → acs-users/acs-user.js} +9 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-users/index.d.ts +2 -0
- package/lib/seam/connect/models/acs/acs-users/index.js +3 -0
- package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +176 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +42 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -0
- package/lib/seam/connect/models/acs/index.d.ts +1 -1
- package/lib/seam/connect/models/acs/index.js +1 -1
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +432 -0
- package/lib/seam/connect/openapi.js +320 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +336 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/{acs-user.ts → acs-users/acs-user.ts} +9 -2
- package/src/lib/seam/connect/models/acs/acs-users/index.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +56 -0
- package/src/lib/seam/connect/models/acs/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +328 -0
- package/src/lib/seam/connect/route-types.ts +385 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +0 -1
|
@@ -2439,6 +2439,170 @@ export default {
|
|
|
2439
2439
|
type: 'string',
|
|
2440
2440
|
'x-undocumented': 'Only used internally.',
|
|
2441
2441
|
},
|
|
2442
|
+
pending_modifications: {
|
|
2443
|
+
items: {
|
|
2444
|
+
discriminator: { propertyName: 'modification_code' },
|
|
2445
|
+
oneOf: [
|
|
2446
|
+
{
|
|
2447
|
+
properties: {
|
|
2448
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2449
|
+
modification_code: { enum: ['profile'], type: 'string' },
|
|
2450
|
+
modified_from: {
|
|
2451
|
+
properties: {
|
|
2452
|
+
email_address: {
|
|
2453
|
+
format: 'email',
|
|
2454
|
+
nullable: true,
|
|
2455
|
+
type: 'string',
|
|
2456
|
+
},
|
|
2457
|
+
full_name: { nullable: true, type: 'string' },
|
|
2458
|
+
phone_number: { nullable: true, type: 'string' },
|
|
2459
|
+
},
|
|
2460
|
+
type: 'object',
|
|
2461
|
+
},
|
|
2462
|
+
modified_to: {
|
|
2463
|
+
properties: {
|
|
2464
|
+
email_address: {
|
|
2465
|
+
format: 'email',
|
|
2466
|
+
nullable: true,
|
|
2467
|
+
type: 'string',
|
|
2468
|
+
},
|
|
2469
|
+
full_name: { nullable: true, type: 'string' },
|
|
2470
|
+
phone_number: { nullable: true, type: 'string' },
|
|
2471
|
+
},
|
|
2472
|
+
type: 'object',
|
|
2473
|
+
},
|
|
2474
|
+
},
|
|
2475
|
+
required: [
|
|
2476
|
+
'created_at',
|
|
2477
|
+
'modification_code',
|
|
2478
|
+
'modified_from',
|
|
2479
|
+
'modified_to',
|
|
2480
|
+
],
|
|
2481
|
+
type: 'object',
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
properties: {
|
|
2485
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2486
|
+
modification_code: {
|
|
2487
|
+
enum: ['access_schedule'],
|
|
2488
|
+
type: 'string',
|
|
2489
|
+
},
|
|
2490
|
+
modified_from: {
|
|
2491
|
+
properties: {
|
|
2492
|
+
ends_at: {
|
|
2493
|
+
description:
|
|
2494
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2495
|
+
format: 'date-time',
|
|
2496
|
+
nullable: true,
|
|
2497
|
+
type: 'string',
|
|
2498
|
+
},
|
|
2499
|
+
starts_at: {
|
|
2500
|
+
description:
|
|
2501
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2502
|
+
format: 'date-time',
|
|
2503
|
+
type: 'string',
|
|
2504
|
+
},
|
|
2505
|
+
},
|
|
2506
|
+
required: ['starts_at', 'ends_at'],
|
|
2507
|
+
type: 'object',
|
|
2508
|
+
},
|
|
2509
|
+
modified_to: {
|
|
2510
|
+
properties: {
|
|
2511
|
+
ends_at: {
|
|
2512
|
+
description:
|
|
2513
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2514
|
+
format: 'date-time',
|
|
2515
|
+
nullable: true,
|
|
2516
|
+
type: 'string',
|
|
2517
|
+
},
|
|
2518
|
+
starts_at: {
|
|
2519
|
+
description:
|
|
2520
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2521
|
+
format: 'date-time',
|
|
2522
|
+
type: 'string',
|
|
2523
|
+
},
|
|
2524
|
+
},
|
|
2525
|
+
required: ['starts_at', 'ends_at'],
|
|
2526
|
+
type: 'object',
|
|
2527
|
+
},
|
|
2528
|
+
},
|
|
2529
|
+
required: [
|
|
2530
|
+
'created_at',
|
|
2531
|
+
'modification_code',
|
|
2532
|
+
'modified_from',
|
|
2533
|
+
'modified_to',
|
|
2534
|
+
],
|
|
2535
|
+
type: 'object',
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
properties: {
|
|
2539
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2540
|
+
modification_code: {
|
|
2541
|
+
enum: ['suspension_state'],
|
|
2542
|
+
type: 'string',
|
|
2543
|
+
},
|
|
2544
|
+
modified_from: {
|
|
2545
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
2546
|
+
required: ['is_suspended'],
|
|
2547
|
+
type: 'object',
|
|
2548
|
+
},
|
|
2549
|
+
modified_to: {
|
|
2550
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
2551
|
+
required: ['is_suspended'],
|
|
2552
|
+
type: 'object',
|
|
2553
|
+
},
|
|
2554
|
+
},
|
|
2555
|
+
required: [
|
|
2556
|
+
'created_at',
|
|
2557
|
+
'modification_code',
|
|
2558
|
+
'modified_from',
|
|
2559
|
+
'modified_to',
|
|
2560
|
+
],
|
|
2561
|
+
type: 'object',
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
properties: {
|
|
2565
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
2566
|
+
modification_code: {
|
|
2567
|
+
enum: ['acs_access_group_membership'],
|
|
2568
|
+
type: 'string',
|
|
2569
|
+
},
|
|
2570
|
+
modified_from: {
|
|
2571
|
+
properties: {
|
|
2572
|
+
acs_access_group_id: {
|
|
2573
|
+
format: 'uuid',
|
|
2574
|
+
nullable: true,
|
|
2575
|
+
type: 'string',
|
|
2576
|
+
},
|
|
2577
|
+
},
|
|
2578
|
+
required: ['acs_access_group_id'],
|
|
2579
|
+
type: 'object',
|
|
2580
|
+
},
|
|
2581
|
+
modified_to: {
|
|
2582
|
+
properties: {
|
|
2583
|
+
acs_access_group_id: {
|
|
2584
|
+
format: 'uuid',
|
|
2585
|
+
nullable: true,
|
|
2586
|
+
type: 'string',
|
|
2587
|
+
},
|
|
2588
|
+
},
|
|
2589
|
+
required: ['acs_access_group_id'],
|
|
2590
|
+
type: 'object',
|
|
2591
|
+
},
|
|
2592
|
+
},
|
|
2593
|
+
required: [
|
|
2594
|
+
'created_at',
|
|
2595
|
+
'modification_code',
|
|
2596
|
+
'modified_from',
|
|
2597
|
+
'modified_to',
|
|
2598
|
+
],
|
|
2599
|
+
type: 'object',
|
|
2600
|
+
},
|
|
2601
|
+
],
|
|
2602
|
+
},
|
|
2603
|
+
type: 'array',
|
|
2604
|
+
'x-undocumented': 'Experimental.',
|
|
2605
|
+
},
|
|
2442
2606
|
phone_number: {
|
|
2443
2607
|
description:
|
|
2444
2608
|
'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
|
|
@@ -14559,6 +14723,170 @@ export default {
|
|
|
14559
14723
|
type: 'string',
|
|
14560
14724
|
'x-undocumented': 'Only used internally.',
|
|
14561
14725
|
},
|
|
14726
|
+
pending_modifications: {
|
|
14727
|
+
items: {
|
|
14728
|
+
discriminator: { propertyName: 'modification_code' },
|
|
14729
|
+
oneOf: [
|
|
14730
|
+
{
|
|
14731
|
+
properties: {
|
|
14732
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
14733
|
+
modification_code: { enum: ['profile'], type: 'string' },
|
|
14734
|
+
modified_from: {
|
|
14735
|
+
properties: {
|
|
14736
|
+
email_address: {
|
|
14737
|
+
format: 'email',
|
|
14738
|
+
nullable: true,
|
|
14739
|
+
type: 'string',
|
|
14740
|
+
},
|
|
14741
|
+
full_name: { nullable: true, type: 'string' },
|
|
14742
|
+
phone_number: { nullable: true, type: 'string' },
|
|
14743
|
+
},
|
|
14744
|
+
type: 'object',
|
|
14745
|
+
},
|
|
14746
|
+
modified_to: {
|
|
14747
|
+
properties: {
|
|
14748
|
+
email_address: {
|
|
14749
|
+
format: 'email',
|
|
14750
|
+
nullable: true,
|
|
14751
|
+
type: 'string',
|
|
14752
|
+
},
|
|
14753
|
+
full_name: { nullable: true, type: 'string' },
|
|
14754
|
+
phone_number: { nullable: true, type: 'string' },
|
|
14755
|
+
},
|
|
14756
|
+
type: 'object',
|
|
14757
|
+
},
|
|
14758
|
+
},
|
|
14759
|
+
required: [
|
|
14760
|
+
'created_at',
|
|
14761
|
+
'modification_code',
|
|
14762
|
+
'modified_from',
|
|
14763
|
+
'modified_to',
|
|
14764
|
+
],
|
|
14765
|
+
type: 'object',
|
|
14766
|
+
},
|
|
14767
|
+
{
|
|
14768
|
+
properties: {
|
|
14769
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
14770
|
+
modification_code: {
|
|
14771
|
+
enum: ['access_schedule'],
|
|
14772
|
+
type: 'string',
|
|
14773
|
+
},
|
|
14774
|
+
modified_from: {
|
|
14775
|
+
properties: {
|
|
14776
|
+
ends_at: {
|
|
14777
|
+
description:
|
|
14778
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
14779
|
+
format: 'date-time',
|
|
14780
|
+
nullable: true,
|
|
14781
|
+
type: 'string',
|
|
14782
|
+
},
|
|
14783
|
+
starts_at: {
|
|
14784
|
+
description:
|
|
14785
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
14786
|
+
format: 'date-time',
|
|
14787
|
+
type: 'string',
|
|
14788
|
+
},
|
|
14789
|
+
},
|
|
14790
|
+
required: ['starts_at', 'ends_at'],
|
|
14791
|
+
type: 'object',
|
|
14792
|
+
},
|
|
14793
|
+
modified_to: {
|
|
14794
|
+
properties: {
|
|
14795
|
+
ends_at: {
|
|
14796
|
+
description:
|
|
14797
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
14798
|
+
format: 'date-time',
|
|
14799
|
+
nullable: true,
|
|
14800
|
+
type: 'string',
|
|
14801
|
+
},
|
|
14802
|
+
starts_at: {
|
|
14803
|
+
description:
|
|
14804
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
14805
|
+
format: 'date-time',
|
|
14806
|
+
type: 'string',
|
|
14807
|
+
},
|
|
14808
|
+
},
|
|
14809
|
+
required: ['starts_at', 'ends_at'],
|
|
14810
|
+
type: 'object',
|
|
14811
|
+
},
|
|
14812
|
+
},
|
|
14813
|
+
required: [
|
|
14814
|
+
'created_at',
|
|
14815
|
+
'modification_code',
|
|
14816
|
+
'modified_from',
|
|
14817
|
+
'modified_to',
|
|
14818
|
+
],
|
|
14819
|
+
type: 'object',
|
|
14820
|
+
},
|
|
14821
|
+
{
|
|
14822
|
+
properties: {
|
|
14823
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
14824
|
+
modification_code: {
|
|
14825
|
+
enum: ['suspension_state'],
|
|
14826
|
+
type: 'string',
|
|
14827
|
+
},
|
|
14828
|
+
modified_from: {
|
|
14829
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
14830
|
+
required: ['is_suspended'],
|
|
14831
|
+
type: 'object',
|
|
14832
|
+
},
|
|
14833
|
+
modified_to: {
|
|
14834
|
+
properties: { is_suspended: { type: 'boolean' } },
|
|
14835
|
+
required: ['is_suspended'],
|
|
14836
|
+
type: 'object',
|
|
14837
|
+
},
|
|
14838
|
+
},
|
|
14839
|
+
required: [
|
|
14840
|
+
'created_at',
|
|
14841
|
+
'modification_code',
|
|
14842
|
+
'modified_from',
|
|
14843
|
+
'modified_to',
|
|
14844
|
+
],
|
|
14845
|
+
type: 'object',
|
|
14846
|
+
},
|
|
14847
|
+
{
|
|
14848
|
+
properties: {
|
|
14849
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
14850
|
+
modification_code: {
|
|
14851
|
+
enum: ['acs_access_group_membership'],
|
|
14852
|
+
type: 'string',
|
|
14853
|
+
},
|
|
14854
|
+
modified_from: {
|
|
14855
|
+
properties: {
|
|
14856
|
+
acs_access_group_id: {
|
|
14857
|
+
format: 'uuid',
|
|
14858
|
+
nullable: true,
|
|
14859
|
+
type: 'string',
|
|
14860
|
+
},
|
|
14861
|
+
},
|
|
14862
|
+
required: ['acs_access_group_id'],
|
|
14863
|
+
type: 'object',
|
|
14864
|
+
},
|
|
14865
|
+
modified_to: {
|
|
14866
|
+
properties: {
|
|
14867
|
+
acs_access_group_id: {
|
|
14868
|
+
format: 'uuid',
|
|
14869
|
+
nullable: true,
|
|
14870
|
+
type: 'string',
|
|
14871
|
+
},
|
|
14872
|
+
},
|
|
14873
|
+
required: ['acs_access_group_id'],
|
|
14874
|
+
type: 'object',
|
|
14875
|
+
},
|
|
14876
|
+
},
|
|
14877
|
+
required: [
|
|
14878
|
+
'created_at',
|
|
14879
|
+
'modification_code',
|
|
14880
|
+
'modified_from',
|
|
14881
|
+
'modified_to',
|
|
14882
|
+
],
|
|
14883
|
+
type: 'object',
|
|
14884
|
+
},
|
|
14885
|
+
],
|
|
14886
|
+
},
|
|
14887
|
+
type: 'array',
|
|
14888
|
+
'x-undocumented': 'Experimental.',
|
|
14889
|
+
},
|
|
14562
14890
|
phone_number: {
|
|
14563
14891
|
description:
|
|
14564
14892
|
'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
|