@seamapi/types 1.762.0 → 1.764.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 +122 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +318 -0
- package/dist/index.cjs +122 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +145 -0
- package/lib/seam/connect/openapi.js +120 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +173 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +125 -0
- package/src/lib/seam/connect/route-types.ts +183 -0
|
@@ -63447,6 +63447,179 @@ export type Routes = {
|
|
|
63447
63447
|
};
|
|
63448
63448
|
maxDuration: undefined;
|
|
63449
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
|
+
};
|
|
63450
63623
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
63451
63624
|
route: '/seam/customer/v1/settings/business_verticals/list';
|
|
63452
63625
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -39811,6 +39811,7 @@ export default {
|
|
|
39811
39811
|
{ pat_with_workspace: [] },
|
|
39812
39812
|
{ console_session_with_workspace: [] },
|
|
39813
39813
|
{ api_key: [] },
|
|
39814
|
+
{ client_session_with_customer: [] },
|
|
39814
39815
|
],
|
|
39815
39816
|
summary: '/access_methods/unmanaged/list',
|
|
39816
39817
|
tags: [],
|
|
@@ -40279,6 +40280,7 @@ export default {
|
|
|
40279
40280
|
{ pat_with_workspace: [] },
|
|
40280
40281
|
{ console_session_with_workspace: [] },
|
|
40281
40282
|
{ api_key: [] },
|
|
40283
|
+
{ client_session_with_customer: [] },
|
|
40282
40284
|
],
|
|
40283
40285
|
summary: '/access_methods/unmanaged/list',
|
|
40284
40286
|
tags: [],
|
|
@@ -67587,6 +67589,129 @@ export default {
|
|
|
67587
67589
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
67588
67590
|
},
|
|
67589
67591
|
},
|
|
67592
|
+
'/seam/customer/v1/reservations/list_access_grants': {
|
|
67593
|
+
get: {
|
|
67594
|
+
description:
|
|
67595
|
+
'Lists access grants linked to a reservation by reservation_key.',
|
|
67596
|
+
operationId: 'seamCustomerV1ReservationsListAccessGrantsGet',
|
|
67597
|
+
parameters: [
|
|
67598
|
+
{
|
|
67599
|
+
in: 'query',
|
|
67600
|
+
name: 'customer_key',
|
|
67601
|
+
required: false,
|
|
67602
|
+
schema: {
|
|
67603
|
+
description:
|
|
67604
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
67605
|
+
type: 'string',
|
|
67606
|
+
},
|
|
67607
|
+
},
|
|
67608
|
+
{
|
|
67609
|
+
in: 'query',
|
|
67610
|
+
name: 'reservation_key',
|
|
67611
|
+
required: true,
|
|
67612
|
+
schema: {
|
|
67613
|
+
description: 'The reservation_key to filter access grants by.',
|
|
67614
|
+
type: 'string',
|
|
67615
|
+
},
|
|
67616
|
+
},
|
|
67617
|
+
],
|
|
67618
|
+
responses: {
|
|
67619
|
+
200: {
|
|
67620
|
+
content: {
|
|
67621
|
+
'application/json': {
|
|
67622
|
+
schema: {
|
|
67623
|
+
properties: {
|
|
67624
|
+
access_grants: {
|
|
67625
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
67626
|
+
type: 'array',
|
|
67627
|
+
},
|
|
67628
|
+
ok: { type: 'boolean' },
|
|
67629
|
+
},
|
|
67630
|
+
required: ['access_grants', 'ok'],
|
|
67631
|
+
type: 'object',
|
|
67632
|
+
},
|
|
67633
|
+
},
|
|
67634
|
+
},
|
|
67635
|
+
description: 'OK',
|
|
67636
|
+
},
|
|
67637
|
+
400: { description: 'Bad Request' },
|
|
67638
|
+
401: { description: 'Unauthorized' },
|
|
67639
|
+
},
|
|
67640
|
+
security: [
|
|
67641
|
+
{ client_session_with_customer: [] },
|
|
67642
|
+
{ console_session_with_workspace: [] },
|
|
67643
|
+
],
|
|
67644
|
+
summary: '/seam/customer/v1/reservations/list_access_grants',
|
|
67645
|
+
tags: [],
|
|
67646
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
67647
|
+
'x-fern-sdk-method-name': 'list_access_grants',
|
|
67648
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
67649
|
+
'x-response-key': 'access_grants',
|
|
67650
|
+
'x-title': 'List Access Grants for Reservation',
|
|
67651
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
67652
|
+
},
|
|
67653
|
+
post: {
|
|
67654
|
+
description:
|
|
67655
|
+
'Lists access grants linked to a reservation by reservation_key.',
|
|
67656
|
+
operationId: 'seamCustomerV1ReservationsListAccessGrantsPost',
|
|
67657
|
+
requestBody: {
|
|
67658
|
+
content: {
|
|
67659
|
+
'application/json': {
|
|
67660
|
+
schema: {
|
|
67661
|
+
properties: {
|
|
67662
|
+
customer_key: {
|
|
67663
|
+
description:
|
|
67664
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
67665
|
+
type: 'string',
|
|
67666
|
+
},
|
|
67667
|
+
reservation_key: {
|
|
67668
|
+
description:
|
|
67669
|
+
'The reservation_key to filter access grants by.',
|
|
67670
|
+
type: 'string',
|
|
67671
|
+
},
|
|
67672
|
+
},
|
|
67673
|
+
required: ['reservation_key'],
|
|
67674
|
+
type: 'object',
|
|
67675
|
+
},
|
|
67676
|
+
},
|
|
67677
|
+
},
|
|
67678
|
+
},
|
|
67679
|
+
responses: {
|
|
67680
|
+
200: {
|
|
67681
|
+
content: {
|
|
67682
|
+
'application/json': {
|
|
67683
|
+
schema: {
|
|
67684
|
+
properties: {
|
|
67685
|
+
access_grants: {
|
|
67686
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
67687
|
+
type: 'array',
|
|
67688
|
+
},
|
|
67689
|
+
ok: { type: 'boolean' },
|
|
67690
|
+
},
|
|
67691
|
+
required: ['access_grants', 'ok'],
|
|
67692
|
+
type: 'object',
|
|
67693
|
+
},
|
|
67694
|
+
},
|
|
67695
|
+
},
|
|
67696
|
+
description: 'OK',
|
|
67697
|
+
},
|
|
67698
|
+
400: { description: 'Bad Request' },
|
|
67699
|
+
401: { description: 'Unauthorized' },
|
|
67700
|
+
},
|
|
67701
|
+
security: [
|
|
67702
|
+
{ client_session_with_customer: [] },
|
|
67703
|
+
{ console_session_with_workspace: [] },
|
|
67704
|
+
],
|
|
67705
|
+
summary: '/seam/customer/v1/reservations/list_access_grants',
|
|
67706
|
+
tags: [],
|
|
67707
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
67708
|
+
'x-fern-sdk-method-name': 'list_access_grants',
|
|
67709
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
67710
|
+
'x-response-key': 'access_grants',
|
|
67711
|
+
'x-title': 'List Access Grants for Reservation',
|
|
67712
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
67713
|
+
},
|
|
67714
|
+
},
|
|
67590
67715
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
67591
67716
|
get: {
|
|
67592
67717
|
description: 'Returns all available business verticals.',
|
|
@@ -75533,6 +75533,189 @@ export type Routes = {
|
|
|
75533
75533
|
}
|
|
75534
75534
|
maxDuration: undefined
|
|
75535
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
|
+
}
|
|
75536
75719
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
75537
75720
|
route: '/seam/customer/v1/settings/business_verticals/list'
|
|
75538
75721
|
method: 'GET' | 'POST'
|