@seamapi/types 1.482.0 → 1.484.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 +14 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +30 -8
- package/dist/index.cjs +14 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +736 -212
- package/lib/seam/connect/models/batch.js +1 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.js +0 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +11 -0
- package/lib/seam/connect/openapi.js +10 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +1 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +11 -2
- package/src/lib/seam/connect/route-types.ts +16 -5
|
@@ -11494,7 +11494,7 @@ export type Routes = {
|
|
|
11494
11494
|
}[] | undefined;
|
|
11495
11495
|
connected_accounts?: {
|
|
11496
11496
|
/** ID of the connected account. */
|
|
11497
|
-
connected_account_id
|
|
11497
|
+
connected_account_id: string;
|
|
11498
11498
|
/** Date and time at which the connected account was created. */
|
|
11499
11499
|
created_at?: string | undefined;
|
|
11500
11500
|
/** User identifier associated with the connected account. */
|
|
@@ -18313,6 +18313,8 @@ export type Routes = {
|
|
|
18313
18313
|
created_before?: Date | undefined;
|
|
18314
18314
|
/** Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials. */
|
|
18315
18315
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
18316
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
18317
|
+
page_cursor?: (string | undefined) | null;
|
|
18316
18318
|
};
|
|
18317
18319
|
formData: {};
|
|
18318
18320
|
jsonResponse: {
|
|
@@ -18447,6 +18449,15 @@ export type Routes = {
|
|
|
18447
18449
|
} | undefined;
|
|
18448
18450
|
is_managed: true;
|
|
18449
18451
|
}[];
|
|
18452
|
+
/** Information about the current page of results. */
|
|
18453
|
+
pagination: {
|
|
18454
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
18455
|
+
next_page_cursor: string | null;
|
|
18456
|
+
/** Indicates whether there is another page of results after this one. */
|
|
18457
|
+
has_next_page: boolean;
|
|
18458
|
+
/** URL to get the next page of results. */
|
|
18459
|
+
next_page_url: string | null;
|
|
18460
|
+
};
|
|
18450
18461
|
};
|
|
18451
18462
|
};
|
|
18452
18463
|
'/acs/credentials/list_accessible_entrances': {
|
|
@@ -27258,7 +27269,7 @@ export type Routes = {
|
|
|
27258
27269
|
/** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
|
|
27259
27270
|
connected_account: {
|
|
27260
27271
|
/** ID of the connected account. */
|
|
27261
|
-
connected_account_id
|
|
27272
|
+
connected_account_id: string;
|
|
27262
27273
|
/** Date and time at which the connected account was created. */
|
|
27263
27274
|
created_at?: string | undefined;
|
|
27264
27275
|
/** User identifier associated with the connected account. */
|
|
@@ -27413,7 +27424,7 @@ export type Routes = {
|
|
|
27413
27424
|
jsonResponse: {
|
|
27414
27425
|
connected_accounts: {
|
|
27415
27426
|
/** ID of the connected account. */
|
|
27416
|
-
connected_account_id
|
|
27427
|
+
connected_account_id: string;
|
|
27417
27428
|
/** Date and time at which the connected account was created. */
|
|
27418
27429
|
created_at?: string | undefined;
|
|
27419
27430
|
/** User identifier associated with the connected account. */
|
|
@@ -27586,7 +27597,7 @@ export type Routes = {
|
|
|
27586
27597
|
/** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
|
|
27587
27598
|
connected_account: {
|
|
27588
27599
|
/** ID of the connected account. */
|
|
27589
|
-
connected_account_id
|
|
27600
|
+
connected_account_id: string;
|
|
27590
27601
|
/** Date and time at which the connected account was created. */
|
|
27591
27602
|
created_at?: string | undefined;
|
|
27592
27603
|
/** User identifier associated with the connected account. */
|
|
@@ -56379,7 +56390,7 @@ export type Routes = {
|
|
|
56379
56390
|
}[] | undefined;
|
|
56380
56391
|
connected_accounts?: {
|
|
56381
56392
|
/** ID of the connected account. */
|
|
56382
|
-
connected_account_id
|
|
56393
|
+
connected_account_id: string;
|
|
56383
56394
|
/** Date and time at which the connected account was created. */
|
|
56384
56395
|
created_at?: string | undefined;
|
|
56385
56396
|
/** User identifier associated with the connected account. */
|
package/package.json
CHANGED
|
@@ -64,6 +64,7 @@ export const workspaces_batch = z
|
|
|
64
64
|
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
65
65
|
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
66
66
|
unmanaged_devices: unmanaged_device.array().optional(),
|
|
67
|
+
connected_accounts: connected_account.array().optional(),
|
|
67
68
|
connect_webviews: connect_webview.array().optional(),
|
|
68
69
|
access_methods: access_method.array().optional(),
|
|
69
70
|
access_grants: access_grant.array().optional(),
|
|
@@ -9187,6 +9187,7 @@ export default {
|
|
|
9187
9187
|
},
|
|
9188
9188
|
},
|
|
9189
9189
|
required: [
|
|
9190
|
+
'connected_account_id',
|
|
9190
9191
|
'account_type_display_name',
|
|
9191
9192
|
'errors',
|
|
9192
9193
|
'warnings',
|
|
@@ -31401,8 +31402,9 @@ export default {
|
|
|
31401
31402
|
type: 'array',
|
|
31402
31403
|
},
|
|
31403
31404
|
ok: { type: 'boolean' },
|
|
31405
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
31404
31406
|
},
|
|
31405
|
-
required: ['acs_credentials', 'ok'],
|
|
31407
|
+
required: ['acs_credentials', 'pagination', 'ok'],
|
|
31406
31408
|
type: 'object',
|
|
31407
31409
|
},
|
|
31408
31410
|
},
|
|
@@ -31513,6 +31515,12 @@ export default {
|
|
|
31513
31515
|
format: 'float',
|
|
31514
31516
|
type: 'number',
|
|
31515
31517
|
},
|
|
31518
|
+
page_cursor: {
|
|
31519
|
+
description:
|
|
31520
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
31521
|
+
nullable: true,
|
|
31522
|
+
type: 'string',
|
|
31523
|
+
},
|
|
31516
31524
|
},
|
|
31517
31525
|
type: 'object',
|
|
31518
31526
|
},
|
|
@@ -31532,8 +31540,9 @@ export default {
|
|
|
31532
31540
|
type: 'array',
|
|
31533
31541
|
},
|
|
31534
31542
|
ok: { type: 'boolean' },
|
|
31543
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
31535
31544
|
},
|
|
31536
|
-
required: ['acs_credentials', 'ok'],
|
|
31545
|
+
required: ['acs_credentials', 'pagination', 'ok'],
|
|
31537
31546
|
type: 'object',
|
|
31538
31547
|
},
|
|
31539
31548
|
},
|
|
@@ -13097,7 +13097,7 @@ export type Routes = {
|
|
|
13097
13097
|
connected_accounts?:
|
|
13098
13098
|
| {
|
|
13099
13099
|
/** ID of the connected account. */
|
|
13100
|
-
connected_account_id
|
|
13100
|
+
connected_account_id: string
|
|
13101
13101
|
/** Date and time at which the connected account was created. */
|
|
13102
13102
|
created_at?: string | undefined
|
|
13103
13103
|
/** User identifier associated with the connected account. */
|
|
@@ -21214,6 +21214,8 @@ export type Routes = {
|
|
|
21214
21214
|
created_before?: Date | undefined
|
|
21215
21215
|
/** Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials. */
|
|
21216
21216
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
21217
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
21218
|
+
page_cursor?: (string | undefined) | null
|
|
21217
21219
|
}
|
|
21218
21220
|
formData: {}
|
|
21219
21221
|
jsonResponse: {
|
|
@@ -21374,6 +21376,15 @@ export type Routes = {
|
|
|
21374
21376
|
| undefined
|
|
21375
21377
|
is_managed: true
|
|
21376
21378
|
}[]
|
|
21379
|
+
/** Information about the current page of results. */
|
|
21380
|
+
pagination: {
|
|
21381
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
21382
|
+
next_page_cursor: string | null
|
|
21383
|
+
/** Indicates whether there is another page of results after this one. */
|
|
21384
|
+
has_next_page: boolean
|
|
21385
|
+
/** URL to get the next page of results. */
|
|
21386
|
+
next_page_url: string | null
|
|
21387
|
+
}
|
|
21377
21388
|
}
|
|
21378
21389
|
}
|
|
21379
21390
|
'/acs/credentials/list_accessible_entrances': {
|
|
@@ -31552,7 +31563,7 @@ export type Routes = {
|
|
|
31552
31563
|
/** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
|
|
31553
31564
|
connected_account: {
|
|
31554
31565
|
/** ID of the connected account. */
|
|
31555
|
-
connected_account_id
|
|
31566
|
+
connected_account_id: string
|
|
31556
31567
|
/** Date and time at which the connected account was created. */
|
|
31557
31568
|
created_at?: string | undefined
|
|
31558
31569
|
/** User identifier associated with the connected account. */
|
|
@@ -31725,7 +31736,7 @@ export type Routes = {
|
|
|
31725
31736
|
jsonResponse: {
|
|
31726
31737
|
connected_accounts: {
|
|
31727
31738
|
/** ID of the connected account. */
|
|
31728
|
-
connected_account_id
|
|
31739
|
+
connected_account_id: string
|
|
31729
31740
|
/** Date and time at which the connected account was created. */
|
|
31730
31741
|
created_at?: string | undefined
|
|
31731
31742
|
/** User identifier associated with the connected account. */
|
|
@@ -31918,7 +31929,7 @@ export type Routes = {
|
|
|
31918
31929
|
/** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
|
|
31919
31930
|
connected_account: {
|
|
31920
31931
|
/** ID of the connected account. */
|
|
31921
|
-
connected_account_id
|
|
31932
|
+
connected_account_id: string
|
|
31922
31933
|
/** Date and time at which the connected account was created. */
|
|
31923
31934
|
created_at?: string | undefined
|
|
31924
31935
|
/** User identifier associated with the connected account. */
|
|
@@ -67115,7 +67126,7 @@ export type Routes = {
|
|
|
67115
67126
|
connected_accounts?:
|
|
67116
67127
|
| {
|
|
67117
67128
|
/** ID of the connected account. */
|
|
67118
|
-
connected_account_id
|
|
67129
|
+
connected_account_id: string
|
|
67119
67130
|
/** Date and time at which the connected account was created. */
|
|
67120
67131
|
created_at?: string | undefined
|
|
67121
67132
|
/** User identifier associated with the connected account. */
|