@seamapi/types 1.519.0 → 1.521.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 +68 -40
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -49
- package/dist/index.cjs +68 -40
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +18 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js +4 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +15 -0
- package/lib/seam/connect/openapi.d.ts +76 -44
- package/lib/seam/connect/openapi.js +66 -38
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +75 -40
- package/src/lib/seam/connect/route-types.ts +28 -7
|
@@ -23709,21 +23709,20 @@ export type Routes = {
|
|
|
23709
23709
|
method: 'GET' | 'POST';
|
|
23710
23710
|
queryParams: {};
|
|
23711
23711
|
jsonBody: {};
|
|
23712
|
-
commonParams: {
|
|
23712
|
+
commonParams: ({
|
|
23713
23713
|
/** ID of the access system for which you want to retrieve all encoders. */
|
|
23714
23714
|
acs_system_id: string;
|
|
23715
|
-
/** Number of encoders to return. */
|
|
23716
|
-
limit?: number;
|
|
23717
23715
|
} | {
|
|
23718
23716
|
/** IDs of the access systems for which you want to retrieve all encoders. */
|
|
23719
23717
|
acs_system_ids: string[];
|
|
23720
|
-
/** Number of encoders to return. */
|
|
23721
|
-
limit?: number;
|
|
23722
23718
|
} | {
|
|
23723
23719
|
/** IDs of the encoders that you want to retrieve. */
|
|
23724
23720
|
acs_encoder_ids: string[];
|
|
23721
|
+
}) & {
|
|
23725
23722
|
/** Number of encoders to return. */
|
|
23726
23723
|
limit?: number;
|
|
23724
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
23725
|
+
page_cursor?: (string | undefined) | null;
|
|
23727
23726
|
};
|
|
23728
23727
|
formData: {};
|
|
23729
23728
|
jsonResponse: {
|
|
@@ -23750,6 +23749,15 @@ export type Routes = {
|
|
|
23750
23749
|
/** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
23751
23750
|
display_name: string;
|
|
23752
23751
|
}[];
|
|
23752
|
+
/** Information about the current page of results. */
|
|
23753
|
+
pagination: {
|
|
23754
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
23755
|
+
next_page_cursor: string | null;
|
|
23756
|
+
/** Indicates whether there is another page of results after this one. */
|
|
23757
|
+
has_next_page: boolean;
|
|
23758
|
+
/** URL to get the next page of results. */
|
|
23759
|
+
next_page_url: string | null;
|
|
23760
|
+
};
|
|
23753
23761
|
};
|
|
23754
23762
|
};
|
|
23755
23763
|
'/acs/encoders/scan_credential': {
|
|
@@ -31115,6 +31123,8 @@ export type Routes = {
|
|
|
31115
31123
|
starts_at?: string | undefined;
|
|
31116
31124
|
/** Ending date and time for the access grant. */
|
|
31117
31125
|
ends_at?: string | undefined;
|
|
31126
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
31127
|
+
preferred_code?: string | undefined;
|
|
31118
31128
|
/** Your unique identifier for the reservation. */
|
|
31119
31129
|
reservation_key: string;
|
|
31120
31130
|
/** Guest key associated with the access grant. */
|
|
@@ -31152,6 +31162,8 @@ export type Routes = {
|
|
|
31152
31162
|
starts_at?: string | undefined;
|
|
31153
31163
|
/** Ending date and time for the access grant. */
|
|
31154
31164
|
ends_at?: string | undefined;
|
|
31165
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
31166
|
+
preferred_code?: string | undefined;
|
|
31155
31167
|
/** Your unique identifier for the booking. */
|
|
31156
31168
|
booking_key: string;
|
|
31157
31169
|
/** Guest key associated with the access grant. */
|
|
@@ -31189,6 +31201,8 @@ export type Routes = {
|
|
|
31189
31201
|
starts_at?: string | undefined;
|
|
31190
31202
|
/** Ending date and time for the access grant. */
|
|
31191
31203
|
ends_at?: string | undefined;
|
|
31204
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
31205
|
+
preferred_code?: string | undefined;
|
|
31192
31206
|
/** Your unique identifier for the access grant. */
|
|
31193
31207
|
access_grant_key: string;
|
|
31194
31208
|
/** Guest key associated with the access grant. */
|
|
@@ -31419,6 +31433,8 @@ export type Routes = {
|
|
|
31419
31433
|
starts_at?: string | undefined;
|
|
31420
31434
|
/** Ending date and time for the access grant. */
|
|
31421
31435
|
ends_at?: string | undefined;
|
|
31436
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
31437
|
+
preferred_code?: string | undefined;
|
|
31422
31438
|
/** Your unique identifier for the reservation. */
|
|
31423
31439
|
reservation_key: string;
|
|
31424
31440
|
/** Guest key associated with the access grant. */
|
|
@@ -31456,6 +31472,8 @@ export type Routes = {
|
|
|
31456
31472
|
starts_at?: string | undefined;
|
|
31457
31473
|
/** Ending date and time for the access grant. */
|
|
31458
31474
|
ends_at?: string | undefined;
|
|
31475
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
31476
|
+
preferred_code?: string | undefined;
|
|
31459
31477
|
/** Your unique identifier for the booking. */
|
|
31460
31478
|
booking_key: string;
|
|
31461
31479
|
/** Guest key associated with the access grant. */
|
|
@@ -31493,6 +31511,8 @@ export type Routes = {
|
|
|
31493
31511
|
starts_at?: string | undefined;
|
|
31494
31512
|
/** Ending date and time for the access grant. */
|
|
31495
31513
|
ends_at?: string | undefined;
|
|
31514
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
31515
|
+
preferred_code?: string | undefined;
|
|
31496
31516
|
/** Your unique identifier for the access grant. */
|
|
31497
31517
|
access_grant_key: string;
|
|
31498
31518
|
/** Guest key associated with the access grant. */
|
package/package.json
CHANGED
|
@@ -14,6 +14,12 @@ const base_access_grant_resource = z.object({
|
|
|
14
14
|
.string()
|
|
15
15
|
.optional()
|
|
16
16
|
.describe('Ending date and time for the access grant.'),
|
|
17
|
+
preferred_code: z
|
|
18
|
+
.string()
|
|
19
|
+
.optional()
|
|
20
|
+
.describe(
|
|
21
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
22
|
+
),
|
|
17
23
|
})
|
|
18
24
|
|
|
19
25
|
// User identity key reference - allows any user identity key alias
|
|
@@ -32543,8 +32543,9 @@ export default {
|
|
|
32543
32543
|
type: 'array',
|
|
32544
32544
|
},
|
|
32545
32545
|
ok: { type: 'boolean' },
|
|
32546
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
32546
32547
|
},
|
|
32547
|
-
required: ['acs_encoders', 'ok'],
|
|
32548
|
+
required: ['acs_encoders', 'pagination', 'ok'],
|
|
32548
32549
|
type: 'object',
|
|
32549
32550
|
},
|
|
32550
32551
|
},
|
|
@@ -32575,59 +32576,62 @@ export default {
|
|
|
32575
32576
|
content: {
|
|
32576
32577
|
'application/json': {
|
|
32577
32578
|
schema: {
|
|
32578
|
-
|
|
32579
|
+
allOf: [
|
|
32579
32580
|
{
|
|
32580
|
-
|
|
32581
|
-
|
|
32582
|
-
|
|
32583
|
-
|
|
32584
|
-
|
|
32585
|
-
|
|
32581
|
+
oneOf: [
|
|
32582
|
+
{
|
|
32583
|
+
properties: {
|
|
32584
|
+
acs_system_id: {
|
|
32585
|
+
description:
|
|
32586
|
+
'ID of the access system for which you want to retrieve all encoders.',
|
|
32587
|
+
format: 'uuid',
|
|
32588
|
+
type: 'string',
|
|
32589
|
+
},
|
|
32590
|
+
},
|
|
32591
|
+
required: ['acs_system_id'],
|
|
32592
|
+
type: 'object',
|
|
32586
32593
|
},
|
|
32587
|
-
|
|
32588
|
-
|
|
32589
|
-
|
|
32590
|
-
|
|
32591
|
-
|
|
32594
|
+
{
|
|
32595
|
+
properties: {
|
|
32596
|
+
acs_system_ids: {
|
|
32597
|
+
description:
|
|
32598
|
+
'IDs of the access systems for which you want to retrieve all encoders.',
|
|
32599
|
+
items: { format: 'uuid', type: 'string' },
|
|
32600
|
+
type: 'array',
|
|
32601
|
+
},
|
|
32602
|
+
},
|
|
32603
|
+
required: ['acs_system_ids'],
|
|
32604
|
+
type: 'object',
|
|
32592
32605
|
},
|
|
32593
|
-
|
|
32594
|
-
|
|
32595
|
-
|
|
32606
|
+
{
|
|
32607
|
+
properties: {
|
|
32608
|
+
acs_encoder_ids: {
|
|
32609
|
+
description:
|
|
32610
|
+
'IDs of the encoders that you want to retrieve.',
|
|
32611
|
+
items: { format: 'uuid', type: 'string' },
|
|
32612
|
+
type: 'array',
|
|
32613
|
+
},
|
|
32614
|
+
},
|
|
32615
|
+
required: ['acs_encoder_ids'],
|
|
32616
|
+
type: 'object',
|
|
32617
|
+
},
|
|
32618
|
+
],
|
|
32596
32619
|
},
|
|
32597
32620
|
{
|
|
32598
32621
|
properties: {
|
|
32599
|
-
acs_system_ids: {
|
|
32600
|
-
description:
|
|
32601
|
-
'IDs of the access systems for which you want to retrieve all encoders.',
|
|
32602
|
-
items: { format: 'uuid', type: 'string' },
|
|
32603
|
-
type: 'array',
|
|
32604
|
-
},
|
|
32605
32622
|
limit: {
|
|
32606
32623
|
default: 500,
|
|
32607
32624
|
description: 'Number of encoders to return.',
|
|
32608
32625
|
format: 'float',
|
|
32609
32626
|
type: 'number',
|
|
32610
32627
|
},
|
|
32611
|
-
|
|
32612
|
-
required: ['acs_system_ids'],
|
|
32613
|
-
type: 'object',
|
|
32614
|
-
},
|
|
32615
|
-
{
|
|
32616
|
-
properties: {
|
|
32617
|
-
acs_encoder_ids: {
|
|
32628
|
+
page_cursor: {
|
|
32618
32629
|
description:
|
|
32619
|
-
|
|
32620
|
-
|
|
32621
|
-
type: '
|
|
32622
|
-
},
|
|
32623
|
-
limit: {
|
|
32624
|
-
default: 500,
|
|
32625
|
-
description: 'Number of encoders to return.',
|
|
32626
|
-
format: 'float',
|
|
32627
|
-
type: 'number',
|
|
32630
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
32631
|
+
nullable: true,
|
|
32632
|
+
type: 'string',
|
|
32628
32633
|
},
|
|
32629
32634
|
},
|
|
32630
|
-
required: ['acs_encoder_ids'],
|
|
32631
32635
|
type: 'object',
|
|
32632
32636
|
},
|
|
32633
32637
|
],
|
|
@@ -32646,8 +32650,9 @@ export default {
|
|
|
32646
32650
|
type: 'array',
|
|
32647
32651
|
},
|
|
32648
32652
|
ok: { type: 'boolean' },
|
|
32653
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
32649
32654
|
},
|
|
32650
|
-
required: ['acs_encoders', 'ok'],
|
|
32655
|
+
required: ['acs_encoders', 'pagination', 'ok'],
|
|
32651
32656
|
type: 'object',
|
|
32652
32657
|
},
|
|
32653
32658
|
},
|
|
@@ -38408,6 +38413,11 @@ export default {
|
|
|
38408
38413
|
'Your name for this access grant resource.',
|
|
38409
38414
|
type: 'string',
|
|
38410
38415
|
},
|
|
38416
|
+
preferred_code: {
|
|
38417
|
+
description:
|
|
38418
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
38419
|
+
type: 'string',
|
|
38420
|
+
},
|
|
38411
38421
|
property_keys: {
|
|
38412
38422
|
description:
|
|
38413
38423
|
'Property keys associated with the access grant.',
|
|
@@ -38511,6 +38521,11 @@ export default {
|
|
|
38511
38521
|
'Your name for this access grant resource.',
|
|
38512
38522
|
type: 'string',
|
|
38513
38523
|
},
|
|
38524
|
+
preferred_code: {
|
|
38525
|
+
description:
|
|
38526
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
38527
|
+
type: 'string',
|
|
38528
|
+
},
|
|
38514
38529
|
property_keys: {
|
|
38515
38530
|
description:
|
|
38516
38531
|
'Property keys associated with the access grant.',
|
|
@@ -38765,6 +38780,11 @@ export default {
|
|
|
38765
38780
|
'Your name for this access grant resource.',
|
|
38766
38781
|
type: 'string',
|
|
38767
38782
|
},
|
|
38783
|
+
preferred_code: {
|
|
38784
|
+
description:
|
|
38785
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
38786
|
+
type: 'string',
|
|
38787
|
+
},
|
|
38768
38788
|
property_keys: {
|
|
38769
38789
|
description:
|
|
38770
38790
|
'Property keys associated with the access grant.',
|
|
@@ -39426,6 +39446,11 @@ export default {
|
|
|
39426
39446
|
'Your name for this access grant resource.',
|
|
39427
39447
|
type: 'string',
|
|
39428
39448
|
},
|
|
39449
|
+
preferred_code: {
|
|
39450
|
+
description:
|
|
39451
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
39452
|
+
type: 'string',
|
|
39453
|
+
},
|
|
39429
39454
|
property_keys: {
|
|
39430
39455
|
description:
|
|
39431
39456
|
'Property keys associated with the access grant.',
|
|
@@ -39529,6 +39554,11 @@ export default {
|
|
|
39529
39554
|
'Your name for this access grant resource.',
|
|
39530
39555
|
type: 'string',
|
|
39531
39556
|
},
|
|
39557
|
+
preferred_code: {
|
|
39558
|
+
description:
|
|
39559
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
39560
|
+
type: 'string',
|
|
39561
|
+
},
|
|
39532
39562
|
property_keys: {
|
|
39533
39563
|
description:
|
|
39534
39564
|
'Property keys associated with the access grant.',
|
|
@@ -39780,6 +39810,11 @@ export default {
|
|
|
39780
39810
|
'Your name for this access grant resource.',
|
|
39781
39811
|
type: 'string',
|
|
39782
39812
|
},
|
|
39813
|
+
preferred_code: {
|
|
39814
|
+
description:
|
|
39815
|
+
'Preferred PIN code to use when creating access for this reservation.',
|
|
39816
|
+
type: 'string',
|
|
39817
|
+
},
|
|
39783
39818
|
property_keys: {
|
|
39784
39819
|
description:
|
|
39785
39820
|
'Property keys associated with the access grant.',
|
|
@@ -27543,25 +27543,25 @@ export type Routes = {
|
|
|
27543
27543
|
method: 'GET' | 'POST'
|
|
27544
27544
|
queryParams: {}
|
|
27545
27545
|
jsonBody: {}
|
|
27546
|
-
commonParams:
|
|
27546
|
+
commonParams: (
|
|
27547
27547
|
| {
|
|
27548
27548
|
/** ID of the access system for which you want to retrieve all encoders. */
|
|
27549
27549
|
acs_system_id: string
|
|
27550
|
-
/** Number of encoders to return. */
|
|
27551
|
-
limit?: number
|
|
27552
27550
|
}
|
|
27553
27551
|
| {
|
|
27554
27552
|
/** IDs of the access systems for which you want to retrieve all encoders. */
|
|
27555
27553
|
acs_system_ids: string[]
|
|
27556
|
-
/** Number of encoders to return. */
|
|
27557
|
-
limit?: number
|
|
27558
27554
|
}
|
|
27559
27555
|
| {
|
|
27560
27556
|
/** IDs of the encoders that you want to retrieve. */
|
|
27561
27557
|
acs_encoder_ids: string[]
|
|
27562
|
-
/** Number of encoders to return. */
|
|
27563
|
-
limit?: number
|
|
27564
27558
|
}
|
|
27559
|
+
) & {
|
|
27560
|
+
/** Number of encoders to return. */
|
|
27561
|
+
limit?: number
|
|
27562
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
27563
|
+
page_cursor?: (string | undefined) | null
|
|
27564
|
+
}
|
|
27565
27565
|
formData: {}
|
|
27566
27566
|
jsonResponse: {
|
|
27567
27567
|
acs_encoders: {
|
|
@@ -27587,6 +27587,15 @@ export type Routes = {
|
|
|
27587
27587
|
/** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
27588
27588
|
display_name: string
|
|
27589
27589
|
}[]
|
|
27590
|
+
/** Information about the current page of results. */
|
|
27591
|
+
pagination: {
|
|
27592
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
27593
|
+
next_page_cursor: string | null
|
|
27594
|
+
/** Indicates whether there is another page of results after this one. */
|
|
27595
|
+
has_next_page: boolean
|
|
27596
|
+
/** URL to get the next page of results. */
|
|
27597
|
+
next_page_url: string | null
|
|
27598
|
+
}
|
|
27590
27599
|
}
|
|
27591
27600
|
}
|
|
27592
27601
|
'/acs/encoders/scan_credential': {
|
|
@@ -36099,6 +36108,8 @@ export type Routes = {
|
|
|
36099
36108
|
starts_at?: string | undefined
|
|
36100
36109
|
/** Ending date and time for the access grant. */
|
|
36101
36110
|
ends_at?: string | undefined
|
|
36111
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
36112
|
+
preferred_code?: string | undefined
|
|
36102
36113
|
/** Your unique identifier for the reservation. */
|
|
36103
36114
|
reservation_key: string
|
|
36104
36115
|
/** Guest key associated with the access grant. */
|
|
@@ -36138,6 +36149,8 @@ export type Routes = {
|
|
|
36138
36149
|
starts_at?: string | undefined
|
|
36139
36150
|
/** Ending date and time for the access grant. */
|
|
36140
36151
|
ends_at?: string | undefined
|
|
36152
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
36153
|
+
preferred_code?: string | undefined
|
|
36141
36154
|
/** Your unique identifier for the booking. */
|
|
36142
36155
|
booking_key: string
|
|
36143
36156
|
/** Guest key associated with the access grant. */
|
|
@@ -36177,6 +36190,8 @@ export type Routes = {
|
|
|
36177
36190
|
starts_at?: string | undefined
|
|
36178
36191
|
/** Ending date and time for the access grant. */
|
|
36179
36192
|
ends_at?: string | undefined
|
|
36193
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
36194
|
+
preferred_code?: string | undefined
|
|
36180
36195
|
/** Your unique identifier for the access grant. */
|
|
36181
36196
|
access_grant_key: string
|
|
36182
36197
|
/** Guest key associated with the access grant. */
|
|
@@ -36438,6 +36453,8 @@ export type Routes = {
|
|
|
36438
36453
|
starts_at?: string | undefined
|
|
36439
36454
|
/** Ending date and time for the access grant. */
|
|
36440
36455
|
ends_at?: string | undefined
|
|
36456
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
36457
|
+
preferred_code?: string | undefined
|
|
36441
36458
|
/** Your unique identifier for the reservation. */
|
|
36442
36459
|
reservation_key: string
|
|
36443
36460
|
/** Guest key associated with the access grant. */
|
|
@@ -36477,6 +36494,8 @@ export type Routes = {
|
|
|
36477
36494
|
starts_at?: string | undefined
|
|
36478
36495
|
/** Ending date and time for the access grant. */
|
|
36479
36496
|
ends_at?: string | undefined
|
|
36497
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
36498
|
+
preferred_code?: string | undefined
|
|
36480
36499
|
/** Your unique identifier for the booking. */
|
|
36481
36500
|
booking_key: string
|
|
36482
36501
|
/** Guest key associated with the access grant. */
|
|
@@ -36516,6 +36535,8 @@ export type Routes = {
|
|
|
36516
36535
|
starts_at?: string | undefined
|
|
36517
36536
|
/** Ending date and time for the access grant. */
|
|
36518
36537
|
ends_at?: string | undefined
|
|
36538
|
+
/** Preferred PIN code to use when creating access for this reservation. */
|
|
36539
|
+
preferred_code?: string | undefined
|
|
36519
36540
|
/** Your unique identifier for the access grant. */
|
|
36520
36541
|
access_grant_key: string
|
|
36521
36542
|
/** Guest key associated with the access grant. */
|