@seamapi/types 1.761.0 → 1.763.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 +130 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +327 -0
- package/dist/index.cjs +130 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +151 -0
- package/lib/seam/connect/openapi.js +130 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +135 -0
- package/src/lib/seam/connect/route-types.ts +188 -0
|
@@ -58147,6 +58147,9 @@ export type Routes = {
|
|
|
58147
58147
|
properties_updated?: {
|
|
58148
58148
|
[x: string]: any;
|
|
58149
58149
|
} | undefined;
|
|
58150
|
+
properties_before?: {
|
|
58151
|
+
[x: string]: any;
|
|
58152
|
+
} | undefined;
|
|
58150
58153
|
errors?: string[] | undefined;
|
|
58151
58154
|
warnings?: string[] | undefined;
|
|
58152
58155
|
} | {
|
|
@@ -63444,6 +63447,179 @@ export type Routes = {
|
|
|
63444
63447
|
};
|
|
63445
63448
|
maxDuration: undefined;
|
|
63446
63449
|
};
|
|
63450
|
+
'/seam/customer/v1/reservations/list_access_grants': {
|
|
63451
|
+
route: '/seam/customer/v1/reservations/list_access_grants';
|
|
63452
|
+
method: 'GET' | 'POST';
|
|
63453
|
+
queryParams: {};
|
|
63454
|
+
jsonBody: {};
|
|
63455
|
+
commonParams: {
|
|
63456
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
63457
|
+
customer_key?: string | undefined;
|
|
63458
|
+
/** The reservation_key to filter access grants by. */
|
|
63459
|
+
reservation_key: string;
|
|
63460
|
+
};
|
|
63461
|
+
formData: {};
|
|
63462
|
+
jsonResponse: {
|
|
63463
|
+
access_grants: {
|
|
63464
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
63465
|
+
workspace_id: string;
|
|
63466
|
+
/** ID of the Access Grant. */
|
|
63467
|
+
access_grant_id: string;
|
|
63468
|
+
/** Unique key for the access grant within the workspace. */
|
|
63469
|
+
access_grant_key?: string | undefined;
|
|
63470
|
+
/** Reservation key for the access grant. */
|
|
63471
|
+
reservation_key?: string | undefined;
|
|
63472
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
63473
|
+
user_identity_id: string;
|
|
63474
|
+
/**
|
|
63475
|
+
* @deprecated Use `space_ids`.*/
|
|
63476
|
+
location_ids: string[];
|
|
63477
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
63478
|
+
space_ids: string[];
|
|
63479
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
63480
|
+
requested_access_methods: {
|
|
63481
|
+
/** Display name of the access method. */
|
|
63482
|
+
display_name: string;
|
|
63483
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
63484
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
63485
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
63486
|
+
code?: string | undefined;
|
|
63487
|
+
/** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
|
|
63488
|
+
instant_key_max_use_count?: number | undefined;
|
|
63489
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
63490
|
+
created_at: string;
|
|
63491
|
+
/** IDs of the access methods created for the requested access method. */
|
|
63492
|
+
created_access_method_ids: string[];
|
|
63493
|
+
}[];
|
|
63494
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
63495
|
+
access_method_ids: string[];
|
|
63496
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
63497
|
+
client_session_token?: string | undefined;
|
|
63498
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
63499
|
+
name: string | null;
|
|
63500
|
+
/** Display name of the Access Grant. */
|
|
63501
|
+
display_name: string;
|
|
63502
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
63503
|
+
instant_key_url?: string | undefined;
|
|
63504
|
+
/** Date and time at which the Access Grant was created. */
|
|
63505
|
+
created_at: string;
|
|
63506
|
+
/** Date and time at which the Access Grant starts. */
|
|
63507
|
+
starts_at: string;
|
|
63508
|
+
/** Date and time at which the Access Grant ends. */
|
|
63509
|
+
ends_at: string | null;
|
|
63510
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
63511
|
+
warnings: ({
|
|
63512
|
+
/** Date and time at which Seam created the warning. */
|
|
63513
|
+
created_at: string;
|
|
63514
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63515
|
+
message: string;
|
|
63516
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63517
|
+
warning_code: 'being_deleted';
|
|
63518
|
+
} | {
|
|
63519
|
+
/** Date and time at which Seam created the warning. */
|
|
63520
|
+
created_at: string;
|
|
63521
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63522
|
+
message: string;
|
|
63523
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63524
|
+
warning_code: 'underprovisioned_access';
|
|
63525
|
+
} | {
|
|
63526
|
+
/** Date and time at which Seam created the warning. */
|
|
63527
|
+
created_at: string;
|
|
63528
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63529
|
+
message: string;
|
|
63530
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63531
|
+
warning_code: 'overprovisioned_access';
|
|
63532
|
+
} | {
|
|
63533
|
+
/** Date and time at which Seam created the warning. */
|
|
63534
|
+
created_at: string;
|
|
63535
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63536
|
+
message: string;
|
|
63537
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63538
|
+
warning_code: 'updating_access_times';
|
|
63539
|
+
/** IDs of the access methods being updated. */
|
|
63540
|
+
access_method_ids: string[];
|
|
63541
|
+
} | {
|
|
63542
|
+
/** Date and time at which Seam created the warning. */
|
|
63543
|
+
created_at: string;
|
|
63544
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63545
|
+
message: string;
|
|
63546
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63547
|
+
warning_code: 'requested_code_unavailable';
|
|
63548
|
+
/** ID of the device where the requested code was unavailable. */
|
|
63549
|
+
device_id: string;
|
|
63550
|
+
/** The originally requested PIN code that was unavailable. */
|
|
63551
|
+
original_code: string;
|
|
63552
|
+
/** The new PIN code that was assigned instead. */
|
|
63553
|
+
new_code: string;
|
|
63554
|
+
} | {
|
|
63555
|
+
/** Date and time at which Seam created the warning. */
|
|
63556
|
+
created_at: string;
|
|
63557
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63558
|
+
message: string;
|
|
63559
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63560
|
+
warning_code: 'device_does_not_support_access_codes';
|
|
63561
|
+
/** ID of the device that does not support access codes. */
|
|
63562
|
+
device_id: string;
|
|
63563
|
+
})[];
|
|
63564
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
63565
|
+
errors: {
|
|
63566
|
+
/** Date and time at which Seam created the error. */
|
|
63567
|
+
created_at: string;
|
|
63568
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
63569
|
+
message: string;
|
|
63570
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
63571
|
+
error_code: 'cannot_create_requested_access_methods';
|
|
63572
|
+
}[];
|
|
63573
|
+
/** ID of the customization profile associated with the Access Grant. */
|
|
63574
|
+
customization_profile_id?: string | undefined;
|
|
63575
|
+
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
63576
|
+
pending_mutations: ({
|
|
63577
|
+
/** Date and time at which the mutation was created. */
|
|
63578
|
+
created_at: string;
|
|
63579
|
+
/** Detailed description of the mutation. */
|
|
63580
|
+
message: string;
|
|
63581
|
+
/** Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant. */
|
|
63582
|
+
mutation_code: 'updating_spaces';
|
|
63583
|
+
/** Previous location configuration. */
|
|
63584
|
+
from: {
|
|
63585
|
+
/** Previous device IDs where access codes existed. */
|
|
63586
|
+
device_ids: string[];
|
|
63587
|
+
};
|
|
63588
|
+
/** New location configuration. */
|
|
63589
|
+
to: {
|
|
63590
|
+
/** New device IDs where access codes should be created. */
|
|
63591
|
+
device_ids: string[];
|
|
63592
|
+
/** Common code key to ensure PIN code reuse across devices. */
|
|
63593
|
+
common_code_key?: (string | null) | undefined;
|
|
63594
|
+
};
|
|
63595
|
+
} | {
|
|
63596
|
+
/** Date and time at which the mutation was created. */
|
|
63597
|
+
created_at: string;
|
|
63598
|
+
/** Detailed description of the mutation. */
|
|
63599
|
+
message: string;
|
|
63600
|
+
/** Mutation code to indicate that Seam is in the process of updating the access times for this access grant. */
|
|
63601
|
+
mutation_code: 'updating_access_times';
|
|
63602
|
+
/** IDs of the access methods being updated. */
|
|
63603
|
+
access_method_ids: string[];
|
|
63604
|
+
/** Previous access time configuration. */
|
|
63605
|
+
from: {
|
|
63606
|
+
/** Previous start time for access. */
|
|
63607
|
+
starts_at: string | null;
|
|
63608
|
+
/** Previous end time for access. */
|
|
63609
|
+
ends_at: string | null;
|
|
63610
|
+
};
|
|
63611
|
+
/** New access time configuration. */
|
|
63612
|
+
to: {
|
|
63613
|
+
/** New start time for access. */
|
|
63614
|
+
starts_at: string | null;
|
|
63615
|
+
/** New end time for access. */
|
|
63616
|
+
ends_at: string | null;
|
|
63617
|
+
};
|
|
63618
|
+
})[];
|
|
63619
|
+
}[];
|
|
63620
|
+
};
|
|
63621
|
+
maxDuration: undefined;
|
|
63622
|
+
};
|
|
63447
63623
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
63448
63624
|
route: '/seam/customer/v1/settings/business_verticals/list';
|
|
63449
63625
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -60182,6 +60182,12 @@ export default {
|
|
|
60182
60182
|
items: { type: 'string' },
|
|
60183
60183
|
type: 'array',
|
|
60184
60184
|
},
|
|
60185
|
+
properties_before: {
|
|
60186
|
+
additionalProperties: {
|
|
60187
|
+
$ref: '#/components/schemas/access_code',
|
|
60188
|
+
},
|
|
60189
|
+
type: 'object',
|
|
60190
|
+
},
|
|
60185
60191
|
properties_updated: {
|
|
60186
60192
|
additionalProperties: {
|
|
60187
60193
|
$ref: '#/components/schemas/access_code',
|
|
@@ -60578,6 +60584,12 @@ export default {
|
|
|
60578
60584
|
items: { type: 'string' },
|
|
60579
60585
|
type: 'array',
|
|
60580
60586
|
},
|
|
60587
|
+
properties_before: {
|
|
60588
|
+
additionalProperties: {
|
|
60589
|
+
$ref: '#/components/schemas/access_code',
|
|
60590
|
+
},
|
|
60591
|
+
type: 'object',
|
|
60592
|
+
},
|
|
60581
60593
|
properties_updated: {
|
|
60582
60594
|
additionalProperties: {
|
|
60583
60595
|
$ref: '#/components/schemas/access_code',
|
|
@@ -67575,6 +67587,129 @@ export default {
|
|
|
67575
67587
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
67576
67588
|
},
|
|
67577
67589
|
},
|
|
67590
|
+
'/seam/customer/v1/reservations/list_access_grants': {
|
|
67591
|
+
get: {
|
|
67592
|
+
description:
|
|
67593
|
+
'Lists access grants linked to a reservation by reservation_key.',
|
|
67594
|
+
operationId: 'seamCustomerV1ReservationsListAccessGrantsGet',
|
|
67595
|
+
parameters: [
|
|
67596
|
+
{
|
|
67597
|
+
in: 'query',
|
|
67598
|
+
name: 'customer_key',
|
|
67599
|
+
required: false,
|
|
67600
|
+
schema: {
|
|
67601
|
+
description:
|
|
67602
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
67603
|
+
type: 'string',
|
|
67604
|
+
},
|
|
67605
|
+
},
|
|
67606
|
+
{
|
|
67607
|
+
in: 'query',
|
|
67608
|
+
name: 'reservation_key',
|
|
67609
|
+
required: true,
|
|
67610
|
+
schema: {
|
|
67611
|
+
description: 'The reservation_key to filter access grants by.',
|
|
67612
|
+
type: 'string',
|
|
67613
|
+
},
|
|
67614
|
+
},
|
|
67615
|
+
],
|
|
67616
|
+
responses: {
|
|
67617
|
+
200: {
|
|
67618
|
+
content: {
|
|
67619
|
+
'application/json': {
|
|
67620
|
+
schema: {
|
|
67621
|
+
properties: {
|
|
67622
|
+
access_grants: {
|
|
67623
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
67624
|
+
type: 'array',
|
|
67625
|
+
},
|
|
67626
|
+
ok: { type: 'boolean' },
|
|
67627
|
+
},
|
|
67628
|
+
required: ['access_grants', 'ok'],
|
|
67629
|
+
type: 'object',
|
|
67630
|
+
},
|
|
67631
|
+
},
|
|
67632
|
+
},
|
|
67633
|
+
description: 'OK',
|
|
67634
|
+
},
|
|
67635
|
+
400: { description: 'Bad Request' },
|
|
67636
|
+
401: { description: 'Unauthorized' },
|
|
67637
|
+
},
|
|
67638
|
+
security: [
|
|
67639
|
+
{ client_session_with_customer: [] },
|
|
67640
|
+
{ console_session_with_workspace: [] },
|
|
67641
|
+
],
|
|
67642
|
+
summary: '/seam/customer/v1/reservations/list_access_grants',
|
|
67643
|
+
tags: [],
|
|
67644
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
67645
|
+
'x-fern-sdk-method-name': 'list_access_grants',
|
|
67646
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
67647
|
+
'x-response-key': 'access_grants',
|
|
67648
|
+
'x-title': 'List Access Grants for Reservation',
|
|
67649
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
67650
|
+
},
|
|
67651
|
+
post: {
|
|
67652
|
+
description:
|
|
67653
|
+
'Lists access grants linked to a reservation by reservation_key.',
|
|
67654
|
+
operationId: 'seamCustomerV1ReservationsListAccessGrantsPost',
|
|
67655
|
+
requestBody: {
|
|
67656
|
+
content: {
|
|
67657
|
+
'application/json': {
|
|
67658
|
+
schema: {
|
|
67659
|
+
properties: {
|
|
67660
|
+
customer_key: {
|
|
67661
|
+
description:
|
|
67662
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
67663
|
+
type: 'string',
|
|
67664
|
+
},
|
|
67665
|
+
reservation_key: {
|
|
67666
|
+
description:
|
|
67667
|
+
'The reservation_key to filter access grants by.',
|
|
67668
|
+
type: 'string',
|
|
67669
|
+
},
|
|
67670
|
+
},
|
|
67671
|
+
required: ['reservation_key'],
|
|
67672
|
+
type: 'object',
|
|
67673
|
+
},
|
|
67674
|
+
},
|
|
67675
|
+
},
|
|
67676
|
+
},
|
|
67677
|
+
responses: {
|
|
67678
|
+
200: {
|
|
67679
|
+
content: {
|
|
67680
|
+
'application/json': {
|
|
67681
|
+
schema: {
|
|
67682
|
+
properties: {
|
|
67683
|
+
access_grants: {
|
|
67684
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
67685
|
+
type: 'array',
|
|
67686
|
+
},
|
|
67687
|
+
ok: { type: 'boolean' },
|
|
67688
|
+
},
|
|
67689
|
+
required: ['access_grants', 'ok'],
|
|
67690
|
+
type: 'object',
|
|
67691
|
+
},
|
|
67692
|
+
},
|
|
67693
|
+
},
|
|
67694
|
+
description: 'OK',
|
|
67695
|
+
},
|
|
67696
|
+
400: { description: 'Bad Request' },
|
|
67697
|
+
401: { description: 'Unauthorized' },
|
|
67698
|
+
},
|
|
67699
|
+
security: [
|
|
67700
|
+
{ client_session_with_customer: [] },
|
|
67701
|
+
{ console_session_with_workspace: [] },
|
|
67702
|
+
],
|
|
67703
|
+
summary: '/seam/customer/v1/reservations/list_access_grants',
|
|
67704
|
+
tags: [],
|
|
67705
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
67706
|
+
'x-fern-sdk-method-name': 'list_access_grants',
|
|
67707
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
67708
|
+
'x-response-key': 'access_grants',
|
|
67709
|
+
'x-title': 'List Access Grants for Reservation',
|
|
67710
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
67711
|
+
},
|
|
67712
|
+
},
|
|
67578
67713
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
67579
67714
|
get: {
|
|
67580
67715
|
description: 'Returns all available business verticals.',
|
|
@@ -69258,6 +69258,11 @@ export type Routes = {
|
|
|
69258
69258
|
[x: string]: any
|
|
69259
69259
|
}
|
|
69260
69260
|
| undefined
|
|
69261
|
+
properties_before?:
|
|
69262
|
+
| {
|
|
69263
|
+
[x: string]: any
|
|
69264
|
+
}
|
|
69265
|
+
| undefined
|
|
69261
69266
|
errors?: string[] | undefined
|
|
69262
69267
|
warnings?: string[] | undefined
|
|
69263
69268
|
}
|
|
@@ -75528,6 +75533,189 @@ export type Routes = {
|
|
|
75528
75533
|
}
|
|
75529
75534
|
maxDuration: undefined
|
|
75530
75535
|
}
|
|
75536
|
+
'/seam/customer/v1/reservations/list_access_grants': {
|
|
75537
|
+
route: '/seam/customer/v1/reservations/list_access_grants'
|
|
75538
|
+
method: 'GET' | 'POST'
|
|
75539
|
+
queryParams: {}
|
|
75540
|
+
jsonBody: {}
|
|
75541
|
+
commonParams: {
|
|
75542
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
75543
|
+
customer_key?: string | undefined
|
|
75544
|
+
/** The reservation_key to filter access grants by. */
|
|
75545
|
+
reservation_key: string
|
|
75546
|
+
}
|
|
75547
|
+
formData: {}
|
|
75548
|
+
jsonResponse: {
|
|
75549
|
+
access_grants: {
|
|
75550
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
75551
|
+
workspace_id: string
|
|
75552
|
+
/** ID of the Access Grant. */
|
|
75553
|
+
access_grant_id: string
|
|
75554
|
+
/** Unique key for the access grant within the workspace. */
|
|
75555
|
+
access_grant_key?: string | undefined
|
|
75556
|
+
/** Reservation key for the access grant. */
|
|
75557
|
+
reservation_key?: string | undefined
|
|
75558
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
75559
|
+
user_identity_id: string
|
|
75560
|
+
/**
|
|
75561
|
+
* @deprecated Use `space_ids`.*/
|
|
75562
|
+
location_ids: string[]
|
|
75563
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
75564
|
+
space_ids: string[]
|
|
75565
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
75566
|
+
requested_access_methods: {
|
|
75567
|
+
/** Display name of the access method. */
|
|
75568
|
+
display_name: string
|
|
75569
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
75570
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
75571
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
75572
|
+
code?: string | undefined
|
|
75573
|
+
/** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
|
|
75574
|
+
instant_key_max_use_count?: number | undefined
|
|
75575
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
75576
|
+
created_at: string
|
|
75577
|
+
/** IDs of the access methods created for the requested access method. */
|
|
75578
|
+
created_access_method_ids: string[]
|
|
75579
|
+
}[]
|
|
75580
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
75581
|
+
access_method_ids: string[]
|
|
75582
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
75583
|
+
client_session_token?: string | undefined
|
|
75584
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
75585
|
+
name: string | null
|
|
75586
|
+
/** Display name of the Access Grant. */
|
|
75587
|
+
display_name: string
|
|
75588
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
75589
|
+
instant_key_url?: string | undefined
|
|
75590
|
+
/** Date and time at which the Access Grant was created. */
|
|
75591
|
+
created_at: string
|
|
75592
|
+
/** Date and time at which the Access Grant starts. */
|
|
75593
|
+
starts_at: string
|
|
75594
|
+
/** Date and time at which the Access Grant ends. */
|
|
75595
|
+
ends_at: string | null
|
|
75596
|
+
/** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
75597
|
+
warnings: (
|
|
75598
|
+
| {
|
|
75599
|
+
/** Date and time at which Seam created the warning. */
|
|
75600
|
+
created_at: string
|
|
75601
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75602
|
+
message: string
|
|
75603
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75604
|
+
warning_code: 'being_deleted'
|
|
75605
|
+
}
|
|
75606
|
+
| {
|
|
75607
|
+
/** Date and time at which Seam created the warning. */
|
|
75608
|
+
created_at: string
|
|
75609
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75610
|
+
message: string
|
|
75611
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75612
|
+
warning_code: 'underprovisioned_access'
|
|
75613
|
+
}
|
|
75614
|
+
| {
|
|
75615
|
+
/** Date and time at which Seam created the warning. */
|
|
75616
|
+
created_at: string
|
|
75617
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75618
|
+
message: string
|
|
75619
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75620
|
+
warning_code: 'overprovisioned_access'
|
|
75621
|
+
}
|
|
75622
|
+
| {
|
|
75623
|
+
/** Date and time at which Seam created the warning. */
|
|
75624
|
+
created_at: string
|
|
75625
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75626
|
+
message: string
|
|
75627
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75628
|
+
warning_code: 'updating_access_times'
|
|
75629
|
+
/** IDs of the access methods being updated. */
|
|
75630
|
+
access_method_ids: string[]
|
|
75631
|
+
}
|
|
75632
|
+
| {
|
|
75633
|
+
/** Date and time at which Seam created the warning. */
|
|
75634
|
+
created_at: string
|
|
75635
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75636
|
+
message: string
|
|
75637
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75638
|
+
warning_code: 'requested_code_unavailable'
|
|
75639
|
+
/** ID of the device where the requested code was unavailable. */
|
|
75640
|
+
device_id: string
|
|
75641
|
+
/** The originally requested PIN code that was unavailable. */
|
|
75642
|
+
original_code: string
|
|
75643
|
+
/** The new PIN code that was assigned instead. */
|
|
75644
|
+
new_code: string
|
|
75645
|
+
}
|
|
75646
|
+
| {
|
|
75647
|
+
/** Date and time at which Seam created the warning. */
|
|
75648
|
+
created_at: string
|
|
75649
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75650
|
+
message: string
|
|
75651
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75652
|
+
warning_code: 'device_does_not_support_access_codes'
|
|
75653
|
+
/** ID of the device that does not support access codes. */
|
|
75654
|
+
device_id: string
|
|
75655
|
+
}
|
|
75656
|
+
)[]
|
|
75657
|
+
/** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
|
|
75658
|
+
errors: {
|
|
75659
|
+
/** Date and time at which Seam created the error. */
|
|
75660
|
+
created_at: string
|
|
75661
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75662
|
+
message: string
|
|
75663
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75664
|
+
error_code: 'cannot_create_requested_access_methods'
|
|
75665
|
+
}[]
|
|
75666
|
+
/** ID of the customization profile associated with the Access Grant. */
|
|
75667
|
+
customization_profile_id?: string | undefined
|
|
75668
|
+
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
75669
|
+
pending_mutations: (
|
|
75670
|
+
| {
|
|
75671
|
+
/** Date and time at which the mutation was created. */
|
|
75672
|
+
created_at: string
|
|
75673
|
+
/** Detailed description of the mutation. */
|
|
75674
|
+
message: string
|
|
75675
|
+
/** Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant. */
|
|
75676
|
+
mutation_code: 'updating_spaces'
|
|
75677
|
+
/** Previous location configuration. */
|
|
75678
|
+
from: {
|
|
75679
|
+
/** Previous device IDs where access codes existed. */
|
|
75680
|
+
device_ids: string[]
|
|
75681
|
+
}
|
|
75682
|
+
/** New location configuration. */
|
|
75683
|
+
to: {
|
|
75684
|
+
/** New device IDs where access codes should be created. */
|
|
75685
|
+
device_ids: string[]
|
|
75686
|
+
/** Common code key to ensure PIN code reuse across devices. */
|
|
75687
|
+
common_code_key?: (string | null) | undefined
|
|
75688
|
+
}
|
|
75689
|
+
}
|
|
75690
|
+
| {
|
|
75691
|
+
/** Date and time at which the mutation was created. */
|
|
75692
|
+
created_at: string
|
|
75693
|
+
/** Detailed description of the mutation. */
|
|
75694
|
+
message: string
|
|
75695
|
+
/** Mutation code to indicate that Seam is in the process of updating the access times for this access grant. */
|
|
75696
|
+
mutation_code: 'updating_access_times'
|
|
75697
|
+
/** IDs of the access methods being updated. */
|
|
75698
|
+
access_method_ids: string[]
|
|
75699
|
+
/** Previous access time configuration. */
|
|
75700
|
+
from: {
|
|
75701
|
+
/** Previous start time for access. */
|
|
75702
|
+
starts_at: string | null
|
|
75703
|
+
/** Previous end time for access. */
|
|
75704
|
+
ends_at: string | null
|
|
75705
|
+
}
|
|
75706
|
+
/** New access time configuration. */
|
|
75707
|
+
to: {
|
|
75708
|
+
/** New start time for access. */
|
|
75709
|
+
starts_at: string | null
|
|
75710
|
+
/** New end time for access. */
|
|
75711
|
+
ends_at: string | null
|
|
75712
|
+
}
|
|
75713
|
+
}
|
|
75714
|
+
)[]
|
|
75715
|
+
}[]
|
|
75716
|
+
}
|
|
75717
|
+
maxDuration: undefined
|
|
75718
|
+
}
|
|
75531
75719
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
75532
75720
|
route: '/seam/customer/v1/settings/business_verticals/list'
|
|
75533
75721
|
method: 'GET' | 'POST'
|