@seamapi/types 1.56.1 → 1.58.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 +80 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +124 -14
- package/lib/seam/connect/openapi.d.ts +113 -3
- package/lib/seam/connect/openapi.js +79 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -11
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +3 -3
- package/lib/seam/connect/unstable/models/acs/credential.js +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +79 -9
- package/src/lib/seam/connect/route-types.ts +11 -11
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -5662,22 +5662,132 @@ declare const _default: {
|
|
|
5662
5662
|
};
|
|
5663
5663
|
};
|
|
5664
5664
|
'/acs/credentials/update': {
|
|
5665
|
-
|
|
5665
|
+
patch: {
|
|
5666
5666
|
operationId: string;
|
|
5667
5667
|
requestBody: {
|
|
5668
5668
|
content: {
|
|
5669
5669
|
'application/json': {
|
|
5670
5670
|
schema: {
|
|
5671
5671
|
properties: {
|
|
5672
|
+
acs_credential_id: {
|
|
5673
|
+
type: string;
|
|
5674
|
+
};
|
|
5672
5675
|
code: {
|
|
5673
5676
|
pattern: string;
|
|
5674
5677
|
type: string;
|
|
5675
5678
|
};
|
|
5676
|
-
|
|
5677
|
-
|
|
5679
|
+
};
|
|
5680
|
+
required: string[];
|
|
5681
|
+
type: string;
|
|
5682
|
+
};
|
|
5683
|
+
};
|
|
5684
|
+
};
|
|
5685
|
+
};
|
|
5686
|
+
responses: {
|
|
5687
|
+
200: {
|
|
5688
|
+
content: {
|
|
5689
|
+
'application/json': {
|
|
5690
|
+
schema: {
|
|
5691
|
+
properties: {
|
|
5692
|
+
acs_credential: {
|
|
5693
|
+
properties: {
|
|
5694
|
+
acs_credential_id: {
|
|
5695
|
+
format: string;
|
|
5696
|
+
type: string;
|
|
5697
|
+
};
|
|
5698
|
+
acs_credential_pool_id: {
|
|
5699
|
+
format: string;
|
|
5700
|
+
type: string;
|
|
5701
|
+
};
|
|
5702
|
+
acs_system_id: {
|
|
5703
|
+
format: string;
|
|
5704
|
+
type: string;
|
|
5705
|
+
};
|
|
5706
|
+
acs_user_id: {
|
|
5707
|
+
format: string;
|
|
5708
|
+
type: string;
|
|
5709
|
+
};
|
|
5710
|
+
code: {
|
|
5711
|
+
nullable: boolean;
|
|
5712
|
+
type: string;
|
|
5713
|
+
};
|
|
5714
|
+
created_at: {
|
|
5715
|
+
format: string;
|
|
5716
|
+
type: string;
|
|
5717
|
+
};
|
|
5718
|
+
display_name: {
|
|
5719
|
+
minLength: number;
|
|
5720
|
+
type: string;
|
|
5721
|
+
};
|
|
5722
|
+
external_type: {
|
|
5723
|
+
enum: string[];
|
|
5724
|
+
type: string;
|
|
5725
|
+
};
|
|
5726
|
+
external_type_display_name: {
|
|
5727
|
+
type: string;
|
|
5728
|
+
};
|
|
5729
|
+
workspace_id: {
|
|
5730
|
+
format: string;
|
|
5731
|
+
type: string;
|
|
5732
|
+
};
|
|
5733
|
+
};
|
|
5734
|
+
required: string[];
|
|
5735
|
+
type: string;
|
|
5736
|
+
};
|
|
5737
|
+
ok: {
|
|
5738
|
+
type: string;
|
|
5739
|
+
};
|
|
5740
|
+
};
|
|
5741
|
+
required: string[];
|
|
5742
|
+
type: string;
|
|
5743
|
+
};
|
|
5744
|
+
};
|
|
5745
|
+
};
|
|
5746
|
+
description: string;
|
|
5747
|
+
};
|
|
5748
|
+
400: {
|
|
5749
|
+
description: string;
|
|
5750
|
+
};
|
|
5751
|
+
401: {
|
|
5752
|
+
description: string;
|
|
5753
|
+
};
|
|
5754
|
+
};
|
|
5755
|
+
security: ({
|
|
5756
|
+
access_token: never[];
|
|
5757
|
+
seam_workspace: never[];
|
|
5758
|
+
seam_client_session_token?: never;
|
|
5759
|
+
client_session_token?: never;
|
|
5760
|
+
} | {
|
|
5761
|
+
seam_client_session_token: never[];
|
|
5762
|
+
access_token?: never;
|
|
5763
|
+
seam_workspace?: never;
|
|
5764
|
+
client_session_token?: never;
|
|
5765
|
+
} | {
|
|
5766
|
+
client_session_token: never[];
|
|
5767
|
+
access_token?: never;
|
|
5768
|
+
seam_workspace?: never;
|
|
5769
|
+
seam_client_session_token?: never;
|
|
5770
|
+
})[];
|
|
5771
|
+
summary: string;
|
|
5772
|
+
tags: never[];
|
|
5773
|
+
'x-fern-ignore': boolean;
|
|
5774
|
+
};
|
|
5775
|
+
post: {
|
|
5776
|
+
operationId: string;
|
|
5777
|
+
requestBody: {
|
|
5778
|
+
content: {
|
|
5779
|
+
'application/json': {
|
|
5780
|
+
schema: {
|
|
5781
|
+
properties: {
|
|
5782
|
+
acs_credential_id: {
|
|
5783
|
+
type: string;
|
|
5784
|
+
};
|
|
5785
|
+
code: {
|
|
5786
|
+
pattern: string;
|
|
5678
5787
|
type: string;
|
|
5679
5788
|
};
|
|
5680
5789
|
};
|
|
5790
|
+
required: string[];
|
|
5681
5791
|
type: string;
|
|
5682
5792
|
};
|
|
5683
5793
|
};
|
|
@@ -14437,7 +14547,7 @@ interface Routes {
|
|
|
14437
14547
|
acs_credential_pool_id?: string | undefined;
|
|
14438
14548
|
acs_system_id: string;
|
|
14439
14549
|
display_name: string;
|
|
14440
|
-
code
|
|
14550
|
+
code?: (string | undefined) | null;
|
|
14441
14551
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
|
|
14442
14552
|
external_type_display_name: string;
|
|
14443
14553
|
created_at: string;
|
|
@@ -14462,7 +14572,7 @@ interface Routes {
|
|
|
14462
14572
|
acs_credential_pool_id?: string | undefined;
|
|
14463
14573
|
acs_system_id: string;
|
|
14464
14574
|
display_name: string;
|
|
14465
|
-
code
|
|
14575
|
+
code?: (string | undefined) | null;
|
|
14466
14576
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
|
|
14467
14577
|
external_type_display_name: string;
|
|
14468
14578
|
created_at: string;
|
|
@@ -14497,7 +14607,7 @@ interface Routes {
|
|
|
14497
14607
|
acs_credential_pool_id?: string | undefined;
|
|
14498
14608
|
acs_system_id: string;
|
|
14499
14609
|
display_name: string;
|
|
14500
|
-
code
|
|
14610
|
+
code?: (string | undefined) | null;
|
|
14501
14611
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
|
|
14502
14612
|
external_type_display_name: string;
|
|
14503
14613
|
created_at: string;
|
|
@@ -14526,7 +14636,7 @@ interface Routes {
|
|
|
14526
14636
|
acs_credential_pool_id?: string | undefined;
|
|
14527
14637
|
acs_system_id: string;
|
|
14528
14638
|
display_name: string;
|
|
14529
|
-
code
|
|
14639
|
+
code?: (string | undefined) | null;
|
|
14530
14640
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
|
|
14531
14641
|
external_type_display_name: string;
|
|
14532
14642
|
created_at: string;
|
|
@@ -14551,7 +14661,7 @@ interface Routes {
|
|
|
14551
14661
|
acs_credential_pool_id?: string | undefined;
|
|
14552
14662
|
acs_system_id: string;
|
|
14553
14663
|
display_name: string;
|
|
14554
|
-
code
|
|
14664
|
+
code?: (string | undefined) | null;
|
|
14555
14665
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
|
|
14556
14666
|
external_type_display_name: string;
|
|
14557
14667
|
created_at: string;
|
|
@@ -14561,13 +14671,13 @@ interface Routes {
|
|
|
14561
14671
|
};
|
|
14562
14672
|
'/acs/credentials/update': {
|
|
14563
14673
|
route: '/acs/credentials/update';
|
|
14564
|
-
method: 'POST';
|
|
14674
|
+
method: 'PATCH' | 'POST';
|
|
14565
14675
|
queryParams: {};
|
|
14566
|
-
jsonBody: {
|
|
14567
|
-
|
|
14568
|
-
code
|
|
14569
|
-
name?: string | undefined;
|
|
14676
|
+
jsonBody: {
|
|
14677
|
+
acs_credential_id: string;
|
|
14678
|
+
code: string;
|
|
14570
14679
|
};
|
|
14680
|
+
commonParams: {};
|
|
14571
14681
|
formData: {};
|
|
14572
14682
|
jsonResponse: {
|
|
14573
14683
|
acs_credential: {
|
|
@@ -14576,7 +14686,7 @@ interface Routes {
|
|
|
14576
14686
|
acs_credential_pool_id?: string | undefined;
|
|
14577
14687
|
acs_system_id: string;
|
|
14578
14688
|
display_name: string;
|
|
14579
|
-
code
|
|
14689
|
+
code?: (string | undefined) | null;
|
|
14580
14690
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
|
|
14581
14691
|
external_type_display_name: string;
|
|
14582
14692
|
created_at: string;
|
|
@@ -5585,22 +5585,132 @@ declare const _default: {
|
|
|
5585
5585
|
};
|
|
5586
5586
|
};
|
|
5587
5587
|
'/acs/credentials/update': {
|
|
5588
|
-
|
|
5588
|
+
patch: {
|
|
5589
5589
|
operationId: string;
|
|
5590
5590
|
requestBody: {
|
|
5591
5591
|
content: {
|
|
5592
5592
|
'application/json': {
|
|
5593
5593
|
schema: {
|
|
5594
5594
|
properties: {
|
|
5595
|
+
acs_credential_id: {
|
|
5596
|
+
type: string;
|
|
5597
|
+
};
|
|
5595
5598
|
code: {
|
|
5596
5599
|
pattern: string;
|
|
5597
5600
|
type: string;
|
|
5598
5601
|
};
|
|
5599
|
-
|
|
5600
|
-
|
|
5602
|
+
};
|
|
5603
|
+
required: string[];
|
|
5604
|
+
type: string;
|
|
5605
|
+
};
|
|
5606
|
+
};
|
|
5607
|
+
};
|
|
5608
|
+
};
|
|
5609
|
+
responses: {
|
|
5610
|
+
200: {
|
|
5611
|
+
content: {
|
|
5612
|
+
'application/json': {
|
|
5613
|
+
schema: {
|
|
5614
|
+
properties: {
|
|
5615
|
+
acs_credential: {
|
|
5616
|
+
properties: {
|
|
5617
|
+
acs_credential_id: {
|
|
5618
|
+
format: string;
|
|
5619
|
+
type: string;
|
|
5620
|
+
};
|
|
5621
|
+
acs_credential_pool_id: {
|
|
5622
|
+
format: string;
|
|
5623
|
+
type: string;
|
|
5624
|
+
};
|
|
5625
|
+
acs_system_id: {
|
|
5626
|
+
format: string;
|
|
5627
|
+
type: string;
|
|
5628
|
+
};
|
|
5629
|
+
acs_user_id: {
|
|
5630
|
+
format: string;
|
|
5631
|
+
type: string;
|
|
5632
|
+
};
|
|
5633
|
+
code: {
|
|
5634
|
+
nullable: boolean;
|
|
5635
|
+
type: string;
|
|
5636
|
+
};
|
|
5637
|
+
created_at: {
|
|
5638
|
+
format: string;
|
|
5639
|
+
type: string;
|
|
5640
|
+
};
|
|
5641
|
+
display_name: {
|
|
5642
|
+
minLength: number;
|
|
5643
|
+
type: string;
|
|
5644
|
+
};
|
|
5645
|
+
external_type: {
|
|
5646
|
+
enum: string[];
|
|
5647
|
+
type: string;
|
|
5648
|
+
};
|
|
5649
|
+
external_type_display_name: {
|
|
5650
|
+
type: string;
|
|
5651
|
+
};
|
|
5652
|
+
workspace_id: {
|
|
5653
|
+
format: string;
|
|
5654
|
+
type: string;
|
|
5655
|
+
};
|
|
5656
|
+
};
|
|
5657
|
+
required: string[];
|
|
5658
|
+
type: string;
|
|
5659
|
+
};
|
|
5660
|
+
ok: {
|
|
5661
|
+
type: string;
|
|
5662
|
+
};
|
|
5663
|
+
};
|
|
5664
|
+
required: string[];
|
|
5665
|
+
type: string;
|
|
5666
|
+
};
|
|
5667
|
+
};
|
|
5668
|
+
};
|
|
5669
|
+
description: string;
|
|
5670
|
+
};
|
|
5671
|
+
400: {
|
|
5672
|
+
description: string;
|
|
5673
|
+
};
|
|
5674
|
+
401: {
|
|
5675
|
+
description: string;
|
|
5676
|
+
};
|
|
5677
|
+
};
|
|
5678
|
+
security: ({
|
|
5679
|
+
access_token: never[];
|
|
5680
|
+
seam_workspace: never[];
|
|
5681
|
+
seam_client_session_token?: never;
|
|
5682
|
+
client_session_token?: never;
|
|
5683
|
+
} | {
|
|
5684
|
+
seam_client_session_token: never[];
|
|
5685
|
+
access_token?: never;
|
|
5686
|
+
seam_workspace?: never;
|
|
5687
|
+
client_session_token?: never;
|
|
5688
|
+
} | {
|
|
5689
|
+
client_session_token: never[];
|
|
5690
|
+
access_token?: never;
|
|
5691
|
+
seam_workspace?: never;
|
|
5692
|
+
seam_client_session_token?: never;
|
|
5693
|
+
})[];
|
|
5694
|
+
summary: string;
|
|
5695
|
+
tags: never[];
|
|
5696
|
+
'x-fern-ignore': boolean;
|
|
5697
|
+
};
|
|
5698
|
+
post: {
|
|
5699
|
+
operationId: string;
|
|
5700
|
+
requestBody: {
|
|
5701
|
+
content: {
|
|
5702
|
+
'application/json': {
|
|
5703
|
+
schema: {
|
|
5704
|
+
properties: {
|
|
5705
|
+
acs_credential_id: {
|
|
5706
|
+
type: string;
|
|
5707
|
+
};
|
|
5708
|
+
code: {
|
|
5709
|
+
pattern: string;
|
|
5601
5710
|
type: string;
|
|
5602
5711
|
};
|
|
5603
5712
|
};
|
|
5713
|
+
required: string[];
|
|
5604
5714
|
type: string;
|
|
5605
5715
|
};
|
|
5606
5716
|
};
|
|
@@ -3458,7 +3458,6 @@ export default {
|
|
|
3458
3458
|
'acs_credential_id',
|
|
3459
3459
|
'acs_system_id',
|
|
3460
3460
|
'display_name',
|
|
3461
|
-
'code',
|
|
3462
3461
|
'external_type',
|
|
3463
3462
|
'external_type_display_name',
|
|
3464
3463
|
'created_at',
|
|
@@ -3536,7 +3535,6 @@ export default {
|
|
|
3536
3535
|
'acs_credential_id',
|
|
3537
3536
|
'acs_system_id',
|
|
3538
3537
|
'display_name',
|
|
3539
|
-
'code',
|
|
3540
3538
|
'external_type',
|
|
3541
3539
|
'external_type_display_name',
|
|
3542
3540
|
'created_at',
|
|
@@ -3617,7 +3615,6 @@ export default {
|
|
|
3617
3615
|
'acs_credential_id',
|
|
3618
3616
|
'acs_system_id',
|
|
3619
3617
|
'display_name',
|
|
3620
|
-
'code',
|
|
3621
3618
|
'external_type',
|
|
3622
3619
|
'external_type_display_name',
|
|
3623
3620
|
'created_at',
|
|
@@ -3740,7 +3737,6 @@ export default {
|
|
|
3740
3737
|
'acs_credential_id',
|
|
3741
3738
|
'acs_system_id',
|
|
3742
3739
|
'display_name',
|
|
3743
|
-
'code',
|
|
3744
3740
|
'external_type',
|
|
3745
3741
|
'external_type_display_name',
|
|
3746
3742
|
'created_at',
|
|
@@ -3840,7 +3836,6 @@ export default {
|
|
|
3840
3836
|
'acs_credential_id',
|
|
3841
3837
|
'acs_system_id',
|
|
3842
3838
|
'display_name',
|
|
3843
|
-
'code',
|
|
3844
3839
|
'external_type',
|
|
3845
3840
|
'external_type_display_name',
|
|
3846
3841
|
'created_at',
|
|
@@ -3924,7 +3919,6 @@ export default {
|
|
|
3924
3919
|
'acs_credential_id',
|
|
3925
3920
|
'acs_system_id',
|
|
3926
3921
|
'display_name',
|
|
3927
|
-
'code',
|
|
3928
3922
|
'external_type',
|
|
3929
3923
|
'external_type_display_name',
|
|
3930
3924
|
'created_at',
|
|
@@ -4002,7 +3996,6 @@ export default {
|
|
|
4002
3996
|
'acs_credential_id',
|
|
4003
3997
|
'acs_system_id',
|
|
4004
3998
|
'display_name',
|
|
4005
|
-
'code',
|
|
4006
3999
|
'external_type',
|
|
4007
4000
|
'external_type_display_name',
|
|
4008
4001
|
'created_at',
|
|
@@ -4034,6 +4027,83 @@ export default {
|
|
|
4034
4027
|
},
|
|
4035
4028
|
},
|
|
4036
4029
|
'/acs/credentials/update': {
|
|
4030
|
+
patch: {
|
|
4031
|
+
operationId: 'acsCredentialsUpdatePatch',
|
|
4032
|
+
requestBody: {
|
|
4033
|
+
content: {
|
|
4034
|
+
'application/json': {
|
|
4035
|
+
schema: {
|
|
4036
|
+
properties: {
|
|
4037
|
+
acs_credential_id: { type: 'string' },
|
|
4038
|
+
code: { pattern: '^\\d+$', type: 'string' },
|
|
4039
|
+
},
|
|
4040
|
+
required: ['acs_credential_id', 'code'],
|
|
4041
|
+
type: 'object',
|
|
4042
|
+
},
|
|
4043
|
+
},
|
|
4044
|
+
},
|
|
4045
|
+
},
|
|
4046
|
+
responses: {
|
|
4047
|
+
200: {
|
|
4048
|
+
content: {
|
|
4049
|
+
'application/json': {
|
|
4050
|
+
schema: {
|
|
4051
|
+
properties: {
|
|
4052
|
+
acs_credential: {
|
|
4053
|
+
properties: {
|
|
4054
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4055
|
+
acs_credential_pool_id: {
|
|
4056
|
+
format: 'uuid',
|
|
4057
|
+
type: 'string',
|
|
4058
|
+
},
|
|
4059
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4060
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4061
|
+
code: { nullable: true, type: 'string' },
|
|
4062
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
4063
|
+
display_name: { minLength: 1, type: 'string' },
|
|
4064
|
+
external_type: {
|
|
4065
|
+
enum: [
|
|
4066
|
+
'pti_card',
|
|
4067
|
+
'brivo_credential',
|
|
4068
|
+
'hid_credential',
|
|
4069
|
+
],
|
|
4070
|
+
type: 'string',
|
|
4071
|
+
},
|
|
4072
|
+
external_type_display_name: { type: 'string' },
|
|
4073
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
4074
|
+
},
|
|
4075
|
+
required: [
|
|
4076
|
+
'acs_credential_id',
|
|
4077
|
+
'acs_system_id',
|
|
4078
|
+
'display_name',
|
|
4079
|
+
'external_type',
|
|
4080
|
+
'external_type_display_name',
|
|
4081
|
+
'created_at',
|
|
4082
|
+
'workspace_id',
|
|
4083
|
+
],
|
|
4084
|
+
type: 'object',
|
|
4085
|
+
},
|
|
4086
|
+
ok: { type: 'boolean' },
|
|
4087
|
+
},
|
|
4088
|
+
required: ['acs_credential', 'ok'],
|
|
4089
|
+
type: 'object',
|
|
4090
|
+
},
|
|
4091
|
+
},
|
|
4092
|
+
},
|
|
4093
|
+
description: 'OK',
|
|
4094
|
+
},
|
|
4095
|
+
400: { description: 'Bad Request' },
|
|
4096
|
+
401: { description: 'Unauthorized' },
|
|
4097
|
+
},
|
|
4098
|
+
security: [
|
|
4099
|
+
{ access_token: [], seam_workspace: [] },
|
|
4100
|
+
{ seam_client_session_token: [] },
|
|
4101
|
+
{ client_session_token: [] },
|
|
4102
|
+
],
|
|
4103
|
+
summary: '/acs/credentials/update',
|
|
4104
|
+
tags: [],
|
|
4105
|
+
'x-fern-ignore': true,
|
|
4106
|
+
},
|
|
4037
4107
|
post: {
|
|
4038
4108
|
operationId: 'acsCredentialsUpdatePost',
|
|
4039
4109
|
requestBody: {
|
|
@@ -4041,9 +4111,10 @@ export default {
|
|
|
4041
4111
|
'application/json': {
|
|
4042
4112
|
schema: {
|
|
4043
4113
|
properties: {
|
|
4114
|
+
acs_credential_id: { type: 'string' },
|
|
4044
4115
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
4045
|
-
name: { maxLength: 10, type: 'string' },
|
|
4046
4116
|
},
|
|
4117
|
+
required: ['acs_credential_id', 'code'],
|
|
4047
4118
|
type: 'object',
|
|
4048
4119
|
},
|
|
4049
4120
|
},
|
|
@@ -4082,7 +4153,6 @@ export default {
|
|
|
4082
4153
|
'acs_credential_id',
|
|
4083
4154
|
'acs_system_id',
|
|
4084
4155
|
'display_name',
|
|
4085
|
-
'code',
|
|
4086
4156
|
'external_type',
|
|
4087
4157
|
'external_type_display_name',
|
|
4088
4158
|
'created_at',
|