@seamapi/types 1.837.0 → 1.839.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 +144 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +434 -0
- package/dist/index.cjs +144 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.d.ts +101 -0
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js +19 -1
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +118 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +101 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +30 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +158 -0
- package/lib/seam/connect/openapi.js +126 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +158 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credentials/pending-mutations.ts +24 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +35 -0
- package/src/lib/seam/connect/openapi.ts +134 -0
- package/src/lib/seam/connect/route-types.ts +167 -0
|
@@ -21974,6 +21974,24 @@ export type Routes = {
|
|
|
21974
21974
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
21975
21975
|
variant: 'adding' | 'removing'
|
|
21976
21976
|
}
|
|
21977
|
+
| {
|
|
21978
|
+
/** Date and time at which the mutation was created. */
|
|
21979
|
+
created_at: string
|
|
21980
|
+
/** Detailed description of the mutation. */
|
|
21981
|
+
message: string
|
|
21982
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
21983
|
+
mutation_code: 'updating_credential_assignment'
|
|
21984
|
+
/** Previous credential assignment. */
|
|
21985
|
+
from: {
|
|
21986
|
+
/** Previous credential ID. */
|
|
21987
|
+
acs_credential_id: string | null
|
|
21988
|
+
}
|
|
21989
|
+
/** New credential assignment. */
|
|
21990
|
+
to: {
|
|
21991
|
+
/** New credential ID. */
|
|
21992
|
+
acs_credential_id: string | null
|
|
21993
|
+
}
|
|
21994
|
+
}
|
|
21977
21995
|
)[]
|
|
21978
21996
|
| undefined
|
|
21979
21997
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -30821,6 +30839,24 @@ export type Routes = {
|
|
|
30821
30839
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
30822
30840
|
variant: 'adding' | 'removing'
|
|
30823
30841
|
}
|
|
30842
|
+
| {
|
|
30843
|
+
/** Date and time at which the mutation was created. */
|
|
30844
|
+
created_at: string
|
|
30845
|
+
/** Detailed description of the mutation. */
|
|
30846
|
+
message: string
|
|
30847
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
30848
|
+
mutation_code: 'updating_credential_assignment'
|
|
30849
|
+
/** Previous credential assignment. */
|
|
30850
|
+
from: {
|
|
30851
|
+
/** Previous credential ID. */
|
|
30852
|
+
acs_credential_id: string | null
|
|
30853
|
+
}
|
|
30854
|
+
/** New credential assignment. */
|
|
30855
|
+
to: {
|
|
30856
|
+
/** New credential ID. */
|
|
30857
|
+
acs_credential_id: string | null
|
|
30858
|
+
}
|
|
30859
|
+
}
|
|
30824
30860
|
)[]
|
|
30825
30861
|
| undefined
|
|
30826
30862
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -31134,6 +31170,24 @@ export type Routes = {
|
|
|
31134
31170
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
31135
31171
|
variant: 'adding' | 'removing'
|
|
31136
31172
|
}
|
|
31173
|
+
| {
|
|
31174
|
+
/** Date and time at which the mutation was created. */
|
|
31175
|
+
created_at: string
|
|
31176
|
+
/** Detailed description of the mutation. */
|
|
31177
|
+
message: string
|
|
31178
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
31179
|
+
mutation_code: 'updating_credential_assignment'
|
|
31180
|
+
/** Previous credential assignment. */
|
|
31181
|
+
from: {
|
|
31182
|
+
/** Previous credential ID. */
|
|
31183
|
+
acs_credential_id: string | null
|
|
31184
|
+
}
|
|
31185
|
+
/** New credential assignment. */
|
|
31186
|
+
to: {
|
|
31187
|
+
/** New credential ID. */
|
|
31188
|
+
acs_credential_id: string | null
|
|
31189
|
+
}
|
|
31190
|
+
}
|
|
31137
31191
|
)[]
|
|
31138
31192
|
| undefined
|
|
31139
31193
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -31435,6 +31489,24 @@ export type Routes = {
|
|
|
31435
31489
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
31436
31490
|
variant: 'adding' | 'removing'
|
|
31437
31491
|
}
|
|
31492
|
+
| {
|
|
31493
|
+
/** Date and time at which the mutation was created. */
|
|
31494
|
+
created_at: string
|
|
31495
|
+
/** Detailed description of the mutation. */
|
|
31496
|
+
message: string
|
|
31497
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
31498
|
+
mutation_code: 'updating_credential_assignment'
|
|
31499
|
+
/** Previous credential assignment. */
|
|
31500
|
+
from: {
|
|
31501
|
+
/** Previous credential ID. */
|
|
31502
|
+
acs_credential_id: string | null
|
|
31503
|
+
}
|
|
31504
|
+
/** New credential assignment. */
|
|
31505
|
+
to: {
|
|
31506
|
+
/** New credential ID. */
|
|
31507
|
+
acs_credential_id: string | null
|
|
31508
|
+
}
|
|
31509
|
+
}
|
|
31438
31510
|
)[]
|
|
31439
31511
|
| undefined
|
|
31440
31512
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -31980,6 +32052,24 @@ export type Routes = {
|
|
|
31980
32052
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
31981
32053
|
variant: 'adding' | 'removing'
|
|
31982
32054
|
}
|
|
32055
|
+
| {
|
|
32056
|
+
/** Date and time at which the mutation was created. */
|
|
32057
|
+
created_at: string
|
|
32058
|
+
/** Detailed description of the mutation. */
|
|
32059
|
+
message: string
|
|
32060
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
32061
|
+
mutation_code: 'updating_credential_assignment'
|
|
32062
|
+
/** Previous credential assignment. */
|
|
32063
|
+
from: {
|
|
32064
|
+
/** Previous credential ID. */
|
|
32065
|
+
acs_credential_id: string | null
|
|
32066
|
+
}
|
|
32067
|
+
/** New credential assignment. */
|
|
32068
|
+
to: {
|
|
32069
|
+
/** New credential ID. */
|
|
32070
|
+
acs_credential_id: string | null
|
|
32071
|
+
}
|
|
32072
|
+
}
|
|
31983
32073
|
)[]
|
|
31984
32074
|
| undefined
|
|
31985
32075
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -32277,6 +32367,24 @@ export type Routes = {
|
|
|
32277
32367
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
32278
32368
|
variant: 'adding' | 'removing'
|
|
32279
32369
|
}
|
|
32370
|
+
| {
|
|
32371
|
+
/** Date and time at which the mutation was created. */
|
|
32372
|
+
created_at: string
|
|
32373
|
+
/** Detailed description of the mutation. */
|
|
32374
|
+
message: string
|
|
32375
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
32376
|
+
mutation_code: 'updating_credential_assignment'
|
|
32377
|
+
/** Previous credential assignment. */
|
|
32378
|
+
from: {
|
|
32379
|
+
/** Previous credential ID. */
|
|
32380
|
+
acs_credential_id: string | null
|
|
32381
|
+
}
|
|
32382
|
+
/** New credential assignment. */
|
|
32383
|
+
to: {
|
|
32384
|
+
/** New credential ID. */
|
|
32385
|
+
acs_credential_id: string | null
|
|
32386
|
+
}
|
|
32387
|
+
}
|
|
32280
32388
|
)[]
|
|
32281
32389
|
| undefined
|
|
32282
32390
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -81187,6 +81295,8 @@ export type Routes = {
|
|
|
81187
81295
|
device_ids?: string[] | undefined
|
|
81188
81296
|
/** IDs of the entrances that you want to add to the new space. */
|
|
81189
81297
|
acs_entrance_ids?: string[] | undefined
|
|
81298
|
+
/** IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from. */
|
|
81299
|
+
connected_account_ids?: string[] | undefined
|
|
81190
81300
|
/** Space key of the parent space for this space. */
|
|
81191
81301
|
parent_space_key?: string | undefined
|
|
81192
81302
|
/** Name of the parent space for this space. */
|
|
@@ -82389,6 +82499,7 @@ export type Routes = {
|
|
|
82389
82499
|
needs_review?: boolean | undefined
|
|
82390
82500
|
is_draft?: boolean | undefined
|
|
82391
82501
|
is_common_area?: boolean | undefined
|
|
82502
|
+
connected_account_ids: string[]
|
|
82392
82503
|
}[]
|
|
82393
82504
|
}
|
|
82394
82505
|
maxDuration: undefined
|
|
@@ -82451,6 +82562,8 @@ export type Routes = {
|
|
|
82451
82562
|
device_ids?: string[] | undefined
|
|
82452
82563
|
/** IDs of the entrances that you want to add to the new space. */
|
|
82453
82564
|
acs_entrance_ids?: string[] | undefined
|
|
82565
|
+
/** IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from. */
|
|
82566
|
+
connected_account_ids?: string[] | undefined
|
|
82454
82567
|
/** Customer key for which you want to create the space. */
|
|
82455
82568
|
customer_key?: string | undefined
|
|
82456
82569
|
/** Reservation/stay-related defaults for the space. */
|
|
@@ -109380,6 +109493,24 @@ export type Routes = {
|
|
|
109380
109493
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
109381
109494
|
variant: 'adding' | 'removing'
|
|
109382
109495
|
}
|
|
109496
|
+
| {
|
|
109497
|
+
/** Date and time at which the mutation was created. */
|
|
109498
|
+
created_at: string
|
|
109499
|
+
/** Detailed description of the mutation. */
|
|
109500
|
+
message: string
|
|
109501
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
109502
|
+
mutation_code: 'updating_credential_assignment'
|
|
109503
|
+
/** Previous credential assignment. */
|
|
109504
|
+
from: {
|
|
109505
|
+
/** Previous credential ID. */
|
|
109506
|
+
acs_credential_id: string | null
|
|
109507
|
+
}
|
|
109508
|
+
/** New credential assignment. */
|
|
109509
|
+
to: {
|
|
109510
|
+
/** New credential ID. */
|
|
109511
|
+
acs_credential_id: string | null
|
|
109512
|
+
}
|
|
109513
|
+
}
|
|
109383
109514
|
)[]
|
|
109384
109515
|
| undefined
|
|
109385
109516
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -112327,6 +112458,24 @@ export type Routes = {
|
|
|
112327
112458
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
112328
112459
|
variant: 'adding' | 'removing'
|
|
112329
112460
|
}
|
|
112461
|
+
| {
|
|
112462
|
+
/** Date and time at which the mutation was created. */
|
|
112463
|
+
created_at: string
|
|
112464
|
+
/** Detailed description of the mutation. */
|
|
112465
|
+
message: string
|
|
112466
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
112467
|
+
mutation_code: 'updating_credential_assignment'
|
|
112468
|
+
/** Previous credential assignment. */
|
|
112469
|
+
from: {
|
|
112470
|
+
/** Previous credential ID. */
|
|
112471
|
+
acs_credential_id: string | null
|
|
112472
|
+
}
|
|
112473
|
+
/** New credential assignment. */
|
|
112474
|
+
to: {
|
|
112475
|
+
/** New credential ID. */
|
|
112476
|
+
acs_credential_id: string | null
|
|
112477
|
+
}
|
|
112478
|
+
}
|
|
112330
112479
|
)[]
|
|
112331
112480
|
| undefined
|
|
112332
112481
|
/** The last time an internal sync job completed for this access system user. */
|
|
@@ -114422,6 +114571,24 @@ export type Routes = {
|
|
|
114422
114571
|
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
114423
114572
|
variant: 'adding' | 'removing'
|
|
114424
114573
|
}
|
|
114574
|
+
| {
|
|
114575
|
+
/** Date and time at which the mutation was created. */
|
|
114576
|
+
created_at: string
|
|
114577
|
+
/** Detailed description of the mutation. */
|
|
114578
|
+
message: string
|
|
114579
|
+
/** Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system. */
|
|
114580
|
+
mutation_code: 'updating_credential_assignment'
|
|
114581
|
+
/** Previous credential assignment. */
|
|
114582
|
+
from: {
|
|
114583
|
+
/** Previous credential ID. */
|
|
114584
|
+
acs_credential_id: string | null
|
|
114585
|
+
}
|
|
114586
|
+
/** New credential assignment. */
|
|
114587
|
+
to: {
|
|
114588
|
+
/** New credential ID. */
|
|
114589
|
+
acs_credential_id: string | null
|
|
114590
|
+
}
|
|
114591
|
+
}
|
|
114425
114592
|
)[]
|
|
114426
114593
|
| undefined
|
|
114427
114594
|
/** The last time an internal sync job completed for this access system user. */
|