@seamapi/types 1.404.4 → 1.406.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 CHANGED
@@ -2807,7 +2807,10 @@ var common_acs_user = zod.z.object({
2807
2807
  undocumented: Only used internally.
2808
2808
  ---
2809
2809
  The last time an internal sync job completed for this ACS user.
2810
- `)
2810
+ `),
2811
+ connected_account_id: zod.z.string().uuid().describe(`
2812
+ The ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that is associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).
2813
+ `)
2811
2814
  }).merge(user_fields);
2812
2815
  var acs_user = common_acs_user.merge(
2813
2816
  zod.z.object({
@@ -7092,6 +7095,11 @@ var openapi_default = {
7092
7095
  format: "uuid",
7093
7096
  type: "string"
7094
7097
  },
7098
+ connected_account_id: {
7099
+ description: "\n The ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that is associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).\n ",
7100
+ format: "uuid",
7101
+ type: "string"
7102
+ },
7095
7103
  created_at: {
7096
7104
  description: "Date and time at which the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.",
7097
7105
  format: "date-time",
@@ -7640,6 +7648,7 @@ var openapi_default = {
7640
7648
  "warnings",
7641
7649
  "errors",
7642
7650
  "last_successful_sync_at",
7651
+ "connected_account_id",
7643
7652
  "is_managed"
7644
7653
  ],
7645
7654
  type: "object",
@@ -21083,6 +21092,11 @@ var openapi_default = {
21083
21092
  format: "uuid",
21084
21093
  type: "string"
21085
21094
  },
21095
+ connected_account_id: {
21096
+ description: "\n The ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that is associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).\n ",
21097
+ format: "uuid",
21098
+ type: "string"
21099
+ },
21086
21100
  created_at: {
21087
21101
  description: "Date and time at which the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.",
21088
21102
  format: "date-time",
@@ -21631,6 +21645,7 @@ var openapi_default = {
21631
21645
  "warnings",
21632
21646
  "errors",
21633
21647
  "last_successful_sync_at",
21648
+ "connected_account_id",
21634
21649
  "is_managed"
21635
21650
  ],
21636
21651
  type: "object",
@@ -29690,6 +29705,56 @@ var openapi_default = {
29690
29705
  "x-title": "List Connected Accounts"
29691
29706
  }
29692
29707
  },
29708
+ "/connected_accounts/sync": {
29709
+ post: {
29710
+ description: "Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified connected_account_id.",
29711
+ operationId: "connectedAccountsSyncPost",
29712
+ requestBody: {
29713
+ content: {
29714
+ "application/json": {
29715
+ schema: {
29716
+ properties: {
29717
+ connected_account_id: {
29718
+ description: "ID of the connected account that you want to sync.",
29719
+ format: "uuid",
29720
+ type: "string"
29721
+ }
29722
+ },
29723
+ required: ["connected_account_id"],
29724
+ type: "object"
29725
+ }
29726
+ }
29727
+ }
29728
+ },
29729
+ responses: {
29730
+ 200: {
29731
+ content: {
29732
+ "application/json": {
29733
+ schema: {
29734
+ properties: { ok: { type: "boolean" } },
29735
+ required: ["ok"],
29736
+ type: "object"
29737
+ }
29738
+ }
29739
+ },
29740
+ description: "OK"
29741
+ },
29742
+ 400: { description: "Bad Request" },
29743
+ 401: { description: "Unauthorized" }
29744
+ },
29745
+ security: [
29746
+ { api_key: [] },
29747
+ { pat_with_workspace: [] },
29748
+ { console_session_with_workspace: [] }
29749
+ ],
29750
+ summary: "/connected_accounts/sync",
29751
+ tags: ["/connected_accounts"],
29752
+ "x-fern-sdk-group-name": ["connected_accounts"],
29753
+ "x-fern-sdk-method-name": "sync",
29754
+ "x-response-key": null,
29755
+ "x-title": "Sync a Connected Account"
29756
+ }
29757
+ },
29693
29758
  "/connected_accounts/update": {
29694
29759
  post: {
29695
29760
  description: "Updates a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
@@ -30113,6 +30178,7 @@ var openapi_default = {
30113
30178
  "akiles",
30114
30179
  "ecobee",
30115
30180
  "honeywell_resideo",
30181
+ "kwikset2",
30116
30182
  "minut",
30117
30183
  "nest",
30118
30184
  "noiseaware",
@@ -30696,6 +30762,7 @@ var openapi_default = {
30696
30762
  "akiles",
30697
30763
  "ecobee",
30698
30764
  "honeywell_resideo",
30765
+ "kwikset2",
30699
30766
  "minut",
30700
30767
  "nest",
30701
30768
  "noiseaware",
@@ -31603,6 +31670,7 @@ var openapi_default = {
31603
31670
  "dormakaba_oracode",
31604
31671
  "tedee",
31605
31672
  "akiles",
31673
+ "kwikset2",
31606
31674
  "smartthings"
31607
31675
  ],
31608
31676
  type: "string"
@@ -36750,6 +36818,57 @@ var openapi_default = {
36750
36818
  "x-undocumented": "Unreleased."
36751
36819
  }
36752
36820
  },
36821
+ "/unstable_access_grants/delete": {
36822
+ post: {
36823
+ description: "Delete an access grant.",
36824
+ operationId: "unstableAccessGrantsDeletePost",
36825
+ requestBody: {
36826
+ content: {
36827
+ "application/json": {
36828
+ schema: {
36829
+ properties: {
36830
+ access_grant_id: {
36831
+ description: "ID of access grant to delete.",
36832
+ format: "uuid",
36833
+ type: "string"
36834
+ }
36835
+ },
36836
+ required: ["access_grant_id"],
36837
+ type: "object"
36838
+ }
36839
+ }
36840
+ }
36841
+ },
36842
+ responses: {
36843
+ 200: {
36844
+ content: {
36845
+ "application/json": {
36846
+ schema: {
36847
+ properties: { ok: { type: "boolean" } },
36848
+ required: ["ok"],
36849
+ type: "object"
36850
+ }
36851
+ }
36852
+ },
36853
+ description: "OK"
36854
+ },
36855
+ 400: { description: "Bad Request" },
36856
+ 401: { description: "Unauthorized" }
36857
+ },
36858
+ security: [
36859
+ { pat_with_workspace: [] },
36860
+ { console_session_with_workspace: [] },
36861
+ { api_key: [] }
36862
+ ],
36863
+ summary: "/unstable_access_grants/delete",
36864
+ tags: [],
36865
+ "x-fern-sdk-group-name": ["unstable_access_grants"],
36866
+ "x-fern-sdk-method-name": "delete",
36867
+ "x-response-key": null,
36868
+ "x-title": "Delete an Access Grant",
36869
+ "x-undocumented": "Unreleased."
36870
+ }
36871
+ },
36753
36872
  "/unstable_access_grants/get": {
36754
36873
  post: {
36755
36874
  description: "Get an access grant.",
@@ -37045,6 +37164,57 @@ var openapi_default = {
37045
37164
  "x-undocumented": "Unreleased."
37046
37165
  }
37047
37166
  },
37167
+ "/unstable_access_methods/delete": {
37168
+ post: {
37169
+ description: "Delete an access method.",
37170
+ operationId: "unstableAccessMethodsDeletePost",
37171
+ requestBody: {
37172
+ content: {
37173
+ "application/json": {
37174
+ schema: {
37175
+ properties: {
37176
+ access_method_id: {
37177
+ description: "ID of access method to get.",
37178
+ format: "uuid",
37179
+ type: "string"
37180
+ }
37181
+ },
37182
+ required: ["access_method_id"],
37183
+ type: "object"
37184
+ }
37185
+ }
37186
+ }
37187
+ },
37188
+ responses: {
37189
+ 200: {
37190
+ content: {
37191
+ "application/json": {
37192
+ schema: {
37193
+ properties: { ok: { type: "boolean" } },
37194
+ required: ["ok"],
37195
+ type: "object"
37196
+ }
37197
+ }
37198
+ },
37199
+ description: "OK"
37200
+ },
37201
+ 400: { description: "Bad Request" },
37202
+ 401: { description: "Unauthorized" }
37203
+ },
37204
+ security: [
37205
+ { pat_with_workspace: [] },
37206
+ { console_session_with_workspace: [] },
37207
+ { api_key: [] }
37208
+ ],
37209
+ summary: "/unstable_access_methods/delete",
37210
+ tags: [],
37211
+ "x-fern-sdk-group-name": ["unstable_access_methods"],
37212
+ "x-fern-sdk-method-name": "delete",
37213
+ "x-response-key": null,
37214
+ "x-title": "Delete an Access Method",
37215
+ "x-undocumented": "Unreleased."
37216
+ }
37217
+ },
37048
37218
  "/unstable_access_methods/get": {
37049
37219
  post: {
37050
37220
  description: "Get an access method.",