@seamapi/types 1.262.1 → 1.263.1
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 +118 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +646 -0
- package/lib/seam/connect/openapi.d.ts +189 -0
- package/lib/seam/connect/openapi.js +118 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +457 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/openapi.ts +118 -5
- package/src/lib/seam/connect/route-types.ts +631 -0
|
@@ -5788,6 +5788,189 @@ declare const _default: {
|
|
|
5788
5788
|
'x-response-key': null;
|
|
5789
5789
|
};
|
|
5790
5790
|
};
|
|
5791
|
+
'/access_codes/update_multiple': {
|
|
5792
|
+
patch: {
|
|
5793
|
+
operationId: string;
|
|
5794
|
+
requestBody: {
|
|
5795
|
+
content: {
|
|
5796
|
+
'application/json': {
|
|
5797
|
+
schema: {
|
|
5798
|
+
properties: {
|
|
5799
|
+
allow_external_modification: {
|
|
5800
|
+
type: string;
|
|
5801
|
+
};
|
|
5802
|
+
code: {
|
|
5803
|
+
maxLength: number;
|
|
5804
|
+
minLength: number;
|
|
5805
|
+
pattern: string;
|
|
5806
|
+
type: string;
|
|
5807
|
+
};
|
|
5808
|
+
common_code_key: {
|
|
5809
|
+
type: string;
|
|
5810
|
+
};
|
|
5811
|
+
ends_at: {
|
|
5812
|
+
type: string;
|
|
5813
|
+
};
|
|
5814
|
+
is_external_modification_allowed: {
|
|
5815
|
+
type: string;
|
|
5816
|
+
};
|
|
5817
|
+
name: {
|
|
5818
|
+
type: string;
|
|
5819
|
+
};
|
|
5820
|
+
prefer_native_scheduling: {
|
|
5821
|
+
type: string;
|
|
5822
|
+
};
|
|
5823
|
+
starts_at: {
|
|
5824
|
+
type: string;
|
|
5825
|
+
};
|
|
5826
|
+
};
|
|
5827
|
+
required: string[];
|
|
5828
|
+
type: string;
|
|
5829
|
+
};
|
|
5830
|
+
};
|
|
5831
|
+
};
|
|
5832
|
+
};
|
|
5833
|
+
responses: {
|
|
5834
|
+
200: {
|
|
5835
|
+
content: {
|
|
5836
|
+
'application/json': {
|
|
5837
|
+
schema: {
|
|
5838
|
+
properties: {
|
|
5839
|
+
ok: {
|
|
5840
|
+
type: string;
|
|
5841
|
+
};
|
|
5842
|
+
};
|
|
5843
|
+
required: string[];
|
|
5844
|
+
type: string;
|
|
5845
|
+
};
|
|
5846
|
+
};
|
|
5847
|
+
};
|
|
5848
|
+
description: string;
|
|
5849
|
+
};
|
|
5850
|
+
400: {
|
|
5851
|
+
description: string;
|
|
5852
|
+
};
|
|
5853
|
+
401: {
|
|
5854
|
+
description: string;
|
|
5855
|
+
};
|
|
5856
|
+
};
|
|
5857
|
+
security: ({
|
|
5858
|
+
client_session: never[];
|
|
5859
|
+
pat_with_workspace?: never;
|
|
5860
|
+
console_session?: never;
|
|
5861
|
+
api_key?: never;
|
|
5862
|
+
} | {
|
|
5863
|
+
pat_with_workspace: never[];
|
|
5864
|
+
client_session?: never;
|
|
5865
|
+
console_session?: never;
|
|
5866
|
+
api_key?: never;
|
|
5867
|
+
} | {
|
|
5868
|
+
console_session: never[];
|
|
5869
|
+
client_session?: never;
|
|
5870
|
+
pat_with_workspace?: never;
|
|
5871
|
+
api_key?: never;
|
|
5872
|
+
} | {
|
|
5873
|
+
api_key: never[];
|
|
5874
|
+
client_session?: never;
|
|
5875
|
+
pat_with_workspace?: never;
|
|
5876
|
+
console_session?: never;
|
|
5877
|
+
})[];
|
|
5878
|
+
summary: string;
|
|
5879
|
+
tags: string[];
|
|
5880
|
+
'x-fern-ignore': boolean;
|
|
5881
|
+
};
|
|
5882
|
+
post: {
|
|
5883
|
+
operationId: string;
|
|
5884
|
+
requestBody: {
|
|
5885
|
+
content: {
|
|
5886
|
+
'application/json': {
|
|
5887
|
+
schema: {
|
|
5888
|
+
properties: {
|
|
5889
|
+
allow_external_modification: {
|
|
5890
|
+
type: string;
|
|
5891
|
+
};
|
|
5892
|
+
code: {
|
|
5893
|
+
maxLength: number;
|
|
5894
|
+
minLength: number;
|
|
5895
|
+
pattern: string;
|
|
5896
|
+
type: string;
|
|
5897
|
+
};
|
|
5898
|
+
common_code_key: {
|
|
5899
|
+
type: string;
|
|
5900
|
+
};
|
|
5901
|
+
ends_at: {
|
|
5902
|
+
type: string;
|
|
5903
|
+
};
|
|
5904
|
+
is_external_modification_allowed: {
|
|
5905
|
+
type: string;
|
|
5906
|
+
};
|
|
5907
|
+
name: {
|
|
5908
|
+
type: string;
|
|
5909
|
+
};
|
|
5910
|
+
prefer_native_scheduling: {
|
|
5911
|
+
type: string;
|
|
5912
|
+
};
|
|
5913
|
+
starts_at: {
|
|
5914
|
+
type: string;
|
|
5915
|
+
};
|
|
5916
|
+
};
|
|
5917
|
+
required: string[];
|
|
5918
|
+
type: string;
|
|
5919
|
+
};
|
|
5920
|
+
};
|
|
5921
|
+
};
|
|
5922
|
+
};
|
|
5923
|
+
responses: {
|
|
5924
|
+
200: {
|
|
5925
|
+
content: {
|
|
5926
|
+
'application/json': {
|
|
5927
|
+
schema: {
|
|
5928
|
+
properties: {
|
|
5929
|
+
ok: {
|
|
5930
|
+
type: string;
|
|
5931
|
+
};
|
|
5932
|
+
};
|
|
5933
|
+
required: string[];
|
|
5934
|
+
type: string;
|
|
5935
|
+
};
|
|
5936
|
+
};
|
|
5937
|
+
};
|
|
5938
|
+
description: string;
|
|
5939
|
+
};
|
|
5940
|
+
400: {
|
|
5941
|
+
description: string;
|
|
5942
|
+
};
|
|
5943
|
+
401: {
|
|
5944
|
+
description: string;
|
|
5945
|
+
};
|
|
5946
|
+
};
|
|
5947
|
+
security: ({
|
|
5948
|
+
client_session: never[];
|
|
5949
|
+
pat_with_workspace?: never;
|
|
5950
|
+
console_session?: never;
|
|
5951
|
+
api_key?: never;
|
|
5952
|
+
} | {
|
|
5953
|
+
pat_with_workspace: never[];
|
|
5954
|
+
client_session?: never;
|
|
5955
|
+
console_session?: never;
|
|
5956
|
+
api_key?: never;
|
|
5957
|
+
} | {
|
|
5958
|
+
console_session: never[];
|
|
5959
|
+
client_session?: never;
|
|
5960
|
+
pat_with_workspace?: never;
|
|
5961
|
+
api_key?: never;
|
|
5962
|
+
} | {
|
|
5963
|
+
api_key: never[];
|
|
5964
|
+
client_session?: never;
|
|
5965
|
+
pat_with_workspace?: never;
|
|
5966
|
+
console_session?: never;
|
|
5967
|
+
})[];
|
|
5968
|
+
summary: string;
|
|
5969
|
+
tags: string[];
|
|
5970
|
+
'x-fern-sdk-group-name': string[];
|
|
5971
|
+
'x-fern-sdk-method-name': string;
|
|
5972
|
+
};
|
|
5973
|
+
};
|
|
5791
5974
|
'/acs/access_groups/add_user': {
|
|
5792
5975
|
post: {
|
|
5793
5976
|
operationId: string;
|
|
@@ -15506,6 +15689,12 @@ declare const _default: {
|
|
|
15506
15689
|
'application/json': {
|
|
15507
15690
|
schema: {
|
|
15508
15691
|
properties: {
|
|
15692
|
+
devices: {
|
|
15693
|
+
items: {
|
|
15694
|
+
$ref: string;
|
|
15695
|
+
};
|
|
15696
|
+
type: string;
|
|
15697
|
+
};
|
|
15509
15698
|
ok: {
|
|
15510
15699
|
type: string;
|
|
15511
15700
|
};
|
|
@@ -5744,6 +5744,115 @@ export default {
|
|
|
5744
5744
|
'x-response-key': null,
|
|
5745
5745
|
},
|
|
5746
5746
|
},
|
|
5747
|
+
'/access_codes/update_multiple': {
|
|
5748
|
+
patch: {
|
|
5749
|
+
operationId: 'accessCodesUpdateMultiplePatch',
|
|
5750
|
+
requestBody: {
|
|
5751
|
+
content: {
|
|
5752
|
+
'application/json': {
|
|
5753
|
+
schema: {
|
|
5754
|
+
properties: {
|
|
5755
|
+
allow_external_modification: { type: 'boolean' },
|
|
5756
|
+
code: {
|
|
5757
|
+
maxLength: 9,
|
|
5758
|
+
minLength: 4,
|
|
5759
|
+
pattern: '^\\d+$',
|
|
5760
|
+
type: 'string',
|
|
5761
|
+
},
|
|
5762
|
+
common_code_key: { type: 'string' },
|
|
5763
|
+
ends_at: { type: 'string' },
|
|
5764
|
+
is_external_modification_allowed: { type: 'boolean' },
|
|
5765
|
+
name: { type: 'string' },
|
|
5766
|
+
prefer_native_scheduling: { type: 'boolean' },
|
|
5767
|
+
starts_at: { type: 'string' },
|
|
5768
|
+
},
|
|
5769
|
+
required: ['common_code_key'],
|
|
5770
|
+
type: 'object',
|
|
5771
|
+
},
|
|
5772
|
+
},
|
|
5773
|
+
},
|
|
5774
|
+
},
|
|
5775
|
+
responses: {
|
|
5776
|
+
200: {
|
|
5777
|
+
content: {
|
|
5778
|
+
'application/json': {
|
|
5779
|
+
schema: {
|
|
5780
|
+
properties: { ok: { type: 'boolean' } },
|
|
5781
|
+
required: ['ok'],
|
|
5782
|
+
type: 'object',
|
|
5783
|
+
},
|
|
5784
|
+
},
|
|
5785
|
+
},
|
|
5786
|
+
description: 'OK',
|
|
5787
|
+
},
|
|
5788
|
+
400: { description: 'Bad Request' },
|
|
5789
|
+
401: { description: 'Unauthorized' },
|
|
5790
|
+
},
|
|
5791
|
+
security: [
|
|
5792
|
+
{ client_session: [] },
|
|
5793
|
+
{ pat_with_workspace: [] },
|
|
5794
|
+
{ console_session: [] },
|
|
5795
|
+
{ api_key: [] },
|
|
5796
|
+
],
|
|
5797
|
+
summary: '/access_codes/update_multiple',
|
|
5798
|
+
tags: ['/access_codes'],
|
|
5799
|
+
'x-fern-ignore': true,
|
|
5800
|
+
},
|
|
5801
|
+
post: {
|
|
5802
|
+
operationId: 'accessCodesUpdateMultiplePost',
|
|
5803
|
+
requestBody: {
|
|
5804
|
+
content: {
|
|
5805
|
+
'application/json': {
|
|
5806
|
+
schema: {
|
|
5807
|
+
properties: {
|
|
5808
|
+
allow_external_modification: { type: 'boolean' },
|
|
5809
|
+
code: {
|
|
5810
|
+
maxLength: 9,
|
|
5811
|
+
minLength: 4,
|
|
5812
|
+
pattern: '^\\d+$',
|
|
5813
|
+
type: 'string',
|
|
5814
|
+
},
|
|
5815
|
+
common_code_key: { type: 'string' },
|
|
5816
|
+
ends_at: { type: 'string' },
|
|
5817
|
+
is_external_modification_allowed: { type: 'boolean' },
|
|
5818
|
+
name: { type: 'string' },
|
|
5819
|
+
prefer_native_scheduling: { type: 'boolean' },
|
|
5820
|
+
starts_at: { type: 'string' },
|
|
5821
|
+
},
|
|
5822
|
+
required: ['common_code_key'],
|
|
5823
|
+
type: 'object',
|
|
5824
|
+
},
|
|
5825
|
+
},
|
|
5826
|
+
},
|
|
5827
|
+
},
|
|
5828
|
+
responses: {
|
|
5829
|
+
200: {
|
|
5830
|
+
content: {
|
|
5831
|
+
'application/json': {
|
|
5832
|
+
schema: {
|
|
5833
|
+
properties: { ok: { type: 'boolean' } },
|
|
5834
|
+
required: ['ok'],
|
|
5835
|
+
type: 'object',
|
|
5836
|
+
},
|
|
5837
|
+
},
|
|
5838
|
+
},
|
|
5839
|
+
description: 'OK',
|
|
5840
|
+
},
|
|
5841
|
+
400: { description: 'Bad Request' },
|
|
5842
|
+
401: { description: 'Unauthorized' },
|
|
5843
|
+
},
|
|
5844
|
+
security: [
|
|
5845
|
+
{ client_session: [] },
|
|
5846
|
+
{ pat_with_workspace: [] },
|
|
5847
|
+
{ console_session: [] },
|
|
5848
|
+
{ api_key: [] },
|
|
5849
|
+
],
|
|
5850
|
+
summary: '/access_codes/update_multiple',
|
|
5851
|
+
tags: ['/access_codes'],
|
|
5852
|
+
'x-fern-sdk-group-name': ['access_codes'],
|
|
5853
|
+
'x-fern-sdk-method-name': 'update_multiple',
|
|
5854
|
+
},
|
|
5855
|
+
},
|
|
5747
5856
|
'/acs/access_groups/add_user': {
|
|
5748
5857
|
post: {
|
|
5749
5858
|
operationId: 'acsAccessGroupsAddUserPost',
|
|
@@ -7845,7 +7954,7 @@ export default {
|
|
|
7845
7954
|
},
|
|
7846
7955
|
'/acs/systems/list': {
|
|
7847
7956
|
post: {
|
|
7848
|
-
description: 'Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the
|
|
7957
|
+
description: 'Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the\n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the\nresponse includes all access control systems connected to your workspace.',
|
|
7849
7958
|
operationId: 'acsSystemsListPost',
|
|
7850
7959
|
requestBody: {
|
|
7851
7960
|
content: {
|
|
@@ -7902,7 +8011,7 @@ export default {
|
|
|
7902
8011
|
},
|
|
7903
8012
|
'/acs/systems/list_compatible_credential_manager_acs_systems': {
|
|
7904
8013
|
post: {
|
|
7905
|
-
description: 'Returns a list of all credential manager ACS systems that are compatible with a specified
|
|
8014
|
+
description: 'Returns a list of all credential manager ACS systems that are compatible with a specified\n[access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nSpecify the ACS system for which you want to retrieve all compatible credential manager ACS\nsystems by including the corresponding `acs_system_id` in the request body.',
|
|
7906
8015
|
operationId: 'acsSystemsListCompatibleCredentialManagerAcsSystemsPost',
|
|
7907
8016
|
requestBody: {
|
|
7908
8017
|
content: {
|
|
@@ -13907,13 +14016,17 @@ export default {
|
|
|
13907
14016
|
'application/json': {
|
|
13908
14017
|
schema: {
|
|
13909
14018
|
properties: {
|
|
14019
|
+
devices: {
|
|
14020
|
+
items: { $ref: '#/components/schemas/device' },
|
|
14021
|
+
type: 'array',
|
|
14022
|
+
},
|
|
13910
14023
|
ok: { type: 'boolean' },
|
|
13911
14024
|
thermostats: {
|
|
13912
14025
|
items: { $ref: '#/components/schemas/device' },
|
|
13913
14026
|
type: 'array',
|
|
13914
14027
|
},
|
|
13915
14028
|
},
|
|
13916
|
-
required: ['thermostats', 'ok'],
|
|
14029
|
+
required: ['thermostats', 'devices', 'ok'],
|
|
13917
14030
|
type: 'object',
|
|
13918
14031
|
},
|
|
13919
14032
|
},
|
|
@@ -13933,8 +14046,8 @@ export default {
|
|
|
13933
14046
|
tags: ['/thermostats'],
|
|
13934
14047
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
13935
14048
|
'x-fern-sdk-method-name': 'list',
|
|
13936
|
-
'x-fern-sdk-return-value': '
|
|
13937
|
-
'x-response-key': '
|
|
14049
|
+
'x-fern-sdk-return-value': 'devices',
|
|
14050
|
+
'x-response-key': 'devices',
|
|
13938
14051
|
},
|
|
13939
14052
|
},
|
|
13940
14053
|
'/thermostats/off': {
|