@seamapi/types 1.92.0 → 1.93.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 +100 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +174 -0
- package/lib/seam/connect/openapi.d.ts +144 -0
- package/lib/seam/connect/openapi.js +100 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +100 -0
- package/src/lib/seam/connect/route-types.ts +37 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6770,6 +6770,150 @@ declare const _default: {
|
|
|
6770
6770
|
'x-fern-sdk-method-name': string;
|
|
6771
6771
|
};
|
|
6772
6772
|
};
|
|
6773
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
6774
|
+
post: {
|
|
6775
|
+
operationId: string;
|
|
6776
|
+
requestBody: {
|
|
6777
|
+
content: {
|
|
6778
|
+
'application/json': {
|
|
6779
|
+
schema: {
|
|
6780
|
+
properties: {
|
|
6781
|
+
acs_entrance_id: {
|
|
6782
|
+
format: string;
|
|
6783
|
+
type: string;
|
|
6784
|
+
};
|
|
6785
|
+
acs_entrance_ids: {
|
|
6786
|
+
items: {
|
|
6787
|
+
format: string;
|
|
6788
|
+
type: string;
|
|
6789
|
+
};
|
|
6790
|
+
type: string;
|
|
6791
|
+
};
|
|
6792
|
+
include_if: {
|
|
6793
|
+
items: {
|
|
6794
|
+
enum: string[];
|
|
6795
|
+
type: string;
|
|
6796
|
+
};
|
|
6797
|
+
type: string;
|
|
6798
|
+
};
|
|
6799
|
+
};
|
|
6800
|
+
type: string;
|
|
6801
|
+
};
|
|
6802
|
+
};
|
|
6803
|
+
};
|
|
6804
|
+
};
|
|
6805
|
+
responses: {
|
|
6806
|
+
200: {
|
|
6807
|
+
content: {
|
|
6808
|
+
'application/json': {
|
|
6809
|
+
schema: {
|
|
6810
|
+
properties: {
|
|
6811
|
+
acs_credentials: {
|
|
6812
|
+
items: {
|
|
6813
|
+
properties: {
|
|
6814
|
+
access_method: {
|
|
6815
|
+
enum: string[];
|
|
6816
|
+
type: string;
|
|
6817
|
+
};
|
|
6818
|
+
acs_credential_id: {
|
|
6819
|
+
format: string;
|
|
6820
|
+
type: string;
|
|
6821
|
+
};
|
|
6822
|
+
acs_credential_pool_id: {
|
|
6823
|
+
format: string;
|
|
6824
|
+
type: string;
|
|
6825
|
+
};
|
|
6826
|
+
acs_system_id: {
|
|
6827
|
+
format: string;
|
|
6828
|
+
type: string;
|
|
6829
|
+
};
|
|
6830
|
+
acs_user_id: {
|
|
6831
|
+
format: string;
|
|
6832
|
+
type: string;
|
|
6833
|
+
};
|
|
6834
|
+
code: {
|
|
6835
|
+
nullable: boolean;
|
|
6836
|
+
type: string;
|
|
6837
|
+
};
|
|
6838
|
+
created_at: {
|
|
6839
|
+
format: string;
|
|
6840
|
+
type: string;
|
|
6841
|
+
};
|
|
6842
|
+
display_name: {
|
|
6843
|
+
minLength: number;
|
|
6844
|
+
type: string;
|
|
6845
|
+
};
|
|
6846
|
+
ends_at: {
|
|
6847
|
+
type: string;
|
|
6848
|
+
};
|
|
6849
|
+
external_type: {
|
|
6850
|
+
enum: string[];
|
|
6851
|
+
type: string;
|
|
6852
|
+
};
|
|
6853
|
+
external_type_display_name: {
|
|
6854
|
+
type: string;
|
|
6855
|
+
};
|
|
6856
|
+
is_multi_phone_sync_credential: {
|
|
6857
|
+
type: string;
|
|
6858
|
+
};
|
|
6859
|
+
starts_at: {
|
|
6860
|
+
type: string;
|
|
6861
|
+
};
|
|
6862
|
+
workspace_id: {
|
|
6863
|
+
format: string;
|
|
6864
|
+
type: string;
|
|
6865
|
+
};
|
|
6866
|
+
};
|
|
6867
|
+
required: string[];
|
|
6868
|
+
type: string;
|
|
6869
|
+
};
|
|
6870
|
+
type: string;
|
|
6871
|
+
};
|
|
6872
|
+
ok: {
|
|
6873
|
+
type: string;
|
|
6874
|
+
};
|
|
6875
|
+
};
|
|
6876
|
+
required: string[];
|
|
6877
|
+
type: string;
|
|
6878
|
+
};
|
|
6879
|
+
};
|
|
6880
|
+
};
|
|
6881
|
+
description: string;
|
|
6882
|
+
};
|
|
6883
|
+
400: {
|
|
6884
|
+
description: string;
|
|
6885
|
+
};
|
|
6886
|
+
401: {
|
|
6887
|
+
description: string;
|
|
6888
|
+
};
|
|
6889
|
+
};
|
|
6890
|
+
security: ({
|
|
6891
|
+
client_session: never[];
|
|
6892
|
+
pat_with_workspace?: never;
|
|
6893
|
+
console_session?: never;
|
|
6894
|
+
api_key?: never;
|
|
6895
|
+
} | {
|
|
6896
|
+
pat_with_workspace: never[];
|
|
6897
|
+
client_session?: never;
|
|
6898
|
+
console_session?: never;
|
|
6899
|
+
api_key?: never;
|
|
6900
|
+
} | {
|
|
6901
|
+
console_session: never[];
|
|
6902
|
+
client_session?: never;
|
|
6903
|
+
pat_with_workspace?: never;
|
|
6904
|
+
api_key?: never;
|
|
6905
|
+
} | {
|
|
6906
|
+
api_key: never[];
|
|
6907
|
+
client_session?: never;
|
|
6908
|
+
pat_with_workspace?: never;
|
|
6909
|
+
console_session?: never;
|
|
6910
|
+
})[];
|
|
6911
|
+
summary: string;
|
|
6912
|
+
tags: string[];
|
|
6913
|
+
'x-fern-sdk-group-name': string[];
|
|
6914
|
+
'x-fern-sdk-method-name': string;
|
|
6915
|
+
};
|
|
6916
|
+
};
|
|
6773
6917
|
'/acs/systems/get': {
|
|
6774
6918
|
post: {
|
|
6775
6919
|
operationId: string;
|
|
@@ -16750,6 +16894,36 @@ interface Routes {
|
|
|
16750
16894
|
}>;
|
|
16751
16895
|
};
|
|
16752
16896
|
};
|
|
16897
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
16898
|
+
route: '/acs/entrances/list_credentials_with_access';
|
|
16899
|
+
method: 'GET' | 'POST';
|
|
16900
|
+
queryParams: {};
|
|
16901
|
+
jsonBody: {};
|
|
16902
|
+
commonParams: {
|
|
16903
|
+
acs_entrance_id?: string | undefined;
|
|
16904
|
+
acs_entrance_ids?: string[] | undefined;
|
|
16905
|
+
include_if?: Array<'visionline_metadata.is_valid'> | undefined;
|
|
16906
|
+
};
|
|
16907
|
+
formData: {};
|
|
16908
|
+
jsonResponse: {
|
|
16909
|
+
acs_credentials: Array<{
|
|
16910
|
+
acs_credential_id: string;
|
|
16911
|
+
acs_user_id?: string | undefined;
|
|
16912
|
+
acs_credential_pool_id?: string | undefined;
|
|
16913
|
+
acs_system_id: string;
|
|
16914
|
+
display_name: string;
|
|
16915
|
+
code?: (string | undefined) | null;
|
|
16916
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
16917
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
|
|
16918
|
+
external_type_display_name?: string | undefined;
|
|
16919
|
+
created_at: string;
|
|
16920
|
+
workspace_id: string;
|
|
16921
|
+
starts_at?: string | undefined;
|
|
16922
|
+
ends_at?: string | undefined;
|
|
16923
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
16924
|
+
}>;
|
|
16925
|
+
};
|
|
16926
|
+
};
|
|
16753
16927
|
'/acs/systems/get': {
|
|
16754
16928
|
route: '/acs/systems/get';
|
|
16755
16929
|
method: 'GET' | 'POST';
|
|
@@ -6696,6 +6696,150 @@ declare const _default: {
|
|
|
6696
6696
|
'x-fern-sdk-method-name': string;
|
|
6697
6697
|
};
|
|
6698
6698
|
};
|
|
6699
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
6700
|
+
post: {
|
|
6701
|
+
operationId: string;
|
|
6702
|
+
requestBody: {
|
|
6703
|
+
content: {
|
|
6704
|
+
'application/json': {
|
|
6705
|
+
schema: {
|
|
6706
|
+
properties: {
|
|
6707
|
+
acs_entrance_id: {
|
|
6708
|
+
format: string;
|
|
6709
|
+
type: string;
|
|
6710
|
+
};
|
|
6711
|
+
acs_entrance_ids: {
|
|
6712
|
+
items: {
|
|
6713
|
+
format: string;
|
|
6714
|
+
type: string;
|
|
6715
|
+
};
|
|
6716
|
+
type: string;
|
|
6717
|
+
};
|
|
6718
|
+
include_if: {
|
|
6719
|
+
items: {
|
|
6720
|
+
enum: string[];
|
|
6721
|
+
type: string;
|
|
6722
|
+
};
|
|
6723
|
+
type: string;
|
|
6724
|
+
};
|
|
6725
|
+
};
|
|
6726
|
+
type: string;
|
|
6727
|
+
};
|
|
6728
|
+
};
|
|
6729
|
+
};
|
|
6730
|
+
};
|
|
6731
|
+
responses: {
|
|
6732
|
+
200: {
|
|
6733
|
+
content: {
|
|
6734
|
+
'application/json': {
|
|
6735
|
+
schema: {
|
|
6736
|
+
properties: {
|
|
6737
|
+
acs_credentials: {
|
|
6738
|
+
items: {
|
|
6739
|
+
properties: {
|
|
6740
|
+
access_method: {
|
|
6741
|
+
enum: string[];
|
|
6742
|
+
type: string;
|
|
6743
|
+
};
|
|
6744
|
+
acs_credential_id: {
|
|
6745
|
+
format: string;
|
|
6746
|
+
type: string;
|
|
6747
|
+
};
|
|
6748
|
+
acs_credential_pool_id: {
|
|
6749
|
+
format: string;
|
|
6750
|
+
type: string;
|
|
6751
|
+
};
|
|
6752
|
+
acs_system_id: {
|
|
6753
|
+
format: string;
|
|
6754
|
+
type: string;
|
|
6755
|
+
};
|
|
6756
|
+
acs_user_id: {
|
|
6757
|
+
format: string;
|
|
6758
|
+
type: string;
|
|
6759
|
+
};
|
|
6760
|
+
code: {
|
|
6761
|
+
nullable: boolean;
|
|
6762
|
+
type: string;
|
|
6763
|
+
};
|
|
6764
|
+
created_at: {
|
|
6765
|
+
format: string;
|
|
6766
|
+
type: string;
|
|
6767
|
+
};
|
|
6768
|
+
display_name: {
|
|
6769
|
+
minLength: number;
|
|
6770
|
+
type: string;
|
|
6771
|
+
};
|
|
6772
|
+
ends_at: {
|
|
6773
|
+
type: string;
|
|
6774
|
+
};
|
|
6775
|
+
external_type: {
|
|
6776
|
+
enum: string[];
|
|
6777
|
+
type: string;
|
|
6778
|
+
};
|
|
6779
|
+
external_type_display_name: {
|
|
6780
|
+
type: string;
|
|
6781
|
+
};
|
|
6782
|
+
is_multi_phone_sync_credential: {
|
|
6783
|
+
type: string;
|
|
6784
|
+
};
|
|
6785
|
+
starts_at: {
|
|
6786
|
+
type: string;
|
|
6787
|
+
};
|
|
6788
|
+
workspace_id: {
|
|
6789
|
+
format: string;
|
|
6790
|
+
type: string;
|
|
6791
|
+
};
|
|
6792
|
+
};
|
|
6793
|
+
required: string[];
|
|
6794
|
+
type: string;
|
|
6795
|
+
};
|
|
6796
|
+
type: string;
|
|
6797
|
+
};
|
|
6798
|
+
ok: {
|
|
6799
|
+
type: string;
|
|
6800
|
+
};
|
|
6801
|
+
};
|
|
6802
|
+
required: string[];
|
|
6803
|
+
type: string;
|
|
6804
|
+
};
|
|
6805
|
+
};
|
|
6806
|
+
};
|
|
6807
|
+
description: string;
|
|
6808
|
+
};
|
|
6809
|
+
400: {
|
|
6810
|
+
description: string;
|
|
6811
|
+
};
|
|
6812
|
+
401: {
|
|
6813
|
+
description: string;
|
|
6814
|
+
};
|
|
6815
|
+
};
|
|
6816
|
+
security: ({
|
|
6817
|
+
client_session: never[];
|
|
6818
|
+
pat_with_workspace?: never;
|
|
6819
|
+
console_session?: never;
|
|
6820
|
+
api_key?: never;
|
|
6821
|
+
} | {
|
|
6822
|
+
pat_with_workspace: never[];
|
|
6823
|
+
client_session?: never;
|
|
6824
|
+
console_session?: never;
|
|
6825
|
+
api_key?: never;
|
|
6826
|
+
} | {
|
|
6827
|
+
console_session: never[];
|
|
6828
|
+
client_session?: never;
|
|
6829
|
+
pat_with_workspace?: never;
|
|
6830
|
+
api_key?: never;
|
|
6831
|
+
} | {
|
|
6832
|
+
api_key: never[];
|
|
6833
|
+
client_session?: never;
|
|
6834
|
+
pat_with_workspace?: never;
|
|
6835
|
+
console_session?: never;
|
|
6836
|
+
})[];
|
|
6837
|
+
summary: string;
|
|
6838
|
+
tags: string[];
|
|
6839
|
+
'x-fern-sdk-group-name': string[];
|
|
6840
|
+
'x-fern-sdk-method-name': string;
|
|
6841
|
+
};
|
|
6842
|
+
};
|
|
6699
6843
|
'/acs/systems/get': {
|
|
6700
6844
|
post: {
|
|
6701
6845
|
operationId: string;
|
|
@@ -4844,6 +4844,106 @@ export default {
|
|
|
4844
4844
|
'x-fern-sdk-method-name': 'list',
|
|
4845
4845
|
},
|
|
4846
4846
|
},
|
|
4847
|
+
'/acs/entrances/list_credentials_with_access': {
|
|
4848
|
+
post: {
|
|
4849
|
+
operationId: 'acsEntrancesListCredentialsWithAccessPost',
|
|
4850
|
+
requestBody: {
|
|
4851
|
+
content: {
|
|
4852
|
+
'application/json': {
|
|
4853
|
+
schema: {
|
|
4854
|
+
properties: {
|
|
4855
|
+
acs_entrance_id: { format: 'uuid', type: 'string' },
|
|
4856
|
+
acs_entrance_ids: {
|
|
4857
|
+
items: { format: 'uuid', type: 'string' },
|
|
4858
|
+
type: 'array',
|
|
4859
|
+
},
|
|
4860
|
+
include_if: {
|
|
4861
|
+
items: {
|
|
4862
|
+
enum: ['visionline_metadata.is_valid'],
|
|
4863
|
+
type: 'string',
|
|
4864
|
+
},
|
|
4865
|
+
type: 'array',
|
|
4866
|
+
},
|
|
4867
|
+
},
|
|
4868
|
+
type: 'object',
|
|
4869
|
+
},
|
|
4870
|
+
},
|
|
4871
|
+
},
|
|
4872
|
+
},
|
|
4873
|
+
responses: {
|
|
4874
|
+
200: {
|
|
4875
|
+
content: {
|
|
4876
|
+
'application/json': {
|
|
4877
|
+
schema: {
|
|
4878
|
+
properties: {
|
|
4879
|
+
acs_credentials: {
|
|
4880
|
+
items: {
|
|
4881
|
+
properties: {
|
|
4882
|
+
access_method: {
|
|
4883
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4884
|
+
type: 'string',
|
|
4885
|
+
},
|
|
4886
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4887
|
+
acs_credential_pool_id: {
|
|
4888
|
+
format: 'uuid',
|
|
4889
|
+
type: 'string',
|
|
4890
|
+
},
|
|
4891
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4892
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4893
|
+
code: { nullable: true, type: 'string' },
|
|
4894
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
4895
|
+
display_name: { minLength: 1, type: 'string' },
|
|
4896
|
+
ends_at: { type: 'string' },
|
|
4897
|
+
external_type: {
|
|
4898
|
+
enum: [
|
|
4899
|
+
'pti_card',
|
|
4900
|
+
'brivo_credential',
|
|
4901
|
+
'hid_credential',
|
|
4902
|
+
'visionline_card',
|
|
4903
|
+
],
|
|
4904
|
+
type: 'string',
|
|
4905
|
+
},
|
|
4906
|
+
external_type_display_name: { type: 'string' },
|
|
4907
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4908
|
+
starts_at: { type: 'string' },
|
|
4909
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
4910
|
+
},
|
|
4911
|
+
required: [
|
|
4912
|
+
'acs_credential_id',
|
|
4913
|
+
'acs_system_id',
|
|
4914
|
+
'display_name',
|
|
4915
|
+
'access_method',
|
|
4916
|
+
'created_at',
|
|
4917
|
+
'workspace_id',
|
|
4918
|
+
],
|
|
4919
|
+
type: 'object',
|
|
4920
|
+
},
|
|
4921
|
+
type: 'array',
|
|
4922
|
+
},
|
|
4923
|
+
ok: { type: 'boolean' },
|
|
4924
|
+
},
|
|
4925
|
+
required: ['acs_credentials', 'ok'],
|
|
4926
|
+
type: 'object',
|
|
4927
|
+
},
|
|
4928
|
+
},
|
|
4929
|
+
},
|
|
4930
|
+
description: 'OK',
|
|
4931
|
+
},
|
|
4932
|
+
400: { description: 'Bad Request' },
|
|
4933
|
+
401: { description: 'Unauthorized' },
|
|
4934
|
+
},
|
|
4935
|
+
security: [
|
|
4936
|
+
{ client_session: [] },
|
|
4937
|
+
{ pat_with_workspace: [] },
|
|
4938
|
+
{ console_session: [] },
|
|
4939
|
+
{ api_key: [] },
|
|
4940
|
+
],
|
|
4941
|
+
summary: '/acs/entrances/list_credentials_with_access',
|
|
4942
|
+
tags: ['/acs'],
|
|
4943
|
+
'x-fern-sdk-group-name': ['acs', 'entrances'],
|
|
4944
|
+
'x-fern-sdk-method-name': 'list_credentials_with_access',
|
|
4945
|
+
},
|
|
4946
|
+
},
|
|
4847
4947
|
'/acs/systems/get': {
|
|
4848
4948
|
post: {
|
|
4849
4949
|
operationId: 'acsSystemsGetPost',
|