@seamapi/types 1.476.0 → 1.478.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 +153 -28
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +290 -4
- package/dist/index.cjs +153 -28
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +236 -0
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +4 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.js +11 -3
- package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +76 -0
- package/lib/seam/connect/openapi.js +79 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +11 -3
- package/src/lib/seam/connect/openapi.ts +80 -11
- package/src/lib/seam/connect/route-types.ts +96 -3
package/dist/connect.d.cts
CHANGED
|
@@ -23870,6 +23870,80 @@ declare const batch: z.ZodObject<{
|
|
|
23870
23870
|
instant_key_url?: string | undefined;
|
|
23871
23871
|
is_encoding_required?: boolean | undefined;
|
|
23872
23872
|
}>, "many">>;
|
|
23873
|
+
access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23874
|
+
workspace_id: z.ZodString;
|
|
23875
|
+
access_grant_id: z.ZodString;
|
|
23876
|
+
access_grant_key: z.ZodOptional<z.ZodString>;
|
|
23877
|
+
user_identity_id: z.ZodString;
|
|
23878
|
+
location_ids: z.ZodArray<z.ZodString, "many">;
|
|
23879
|
+
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
23880
|
+
requested_access_methods: z.ZodArray<z.ZodObject<{
|
|
23881
|
+
display_name: z.ZodString;
|
|
23882
|
+
mode: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
23883
|
+
created_at: z.ZodString;
|
|
23884
|
+
created_access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
23885
|
+
}, "strip", z.ZodTypeAny, {
|
|
23886
|
+
display_name: string;
|
|
23887
|
+
created_at: string;
|
|
23888
|
+
mode: "code" | "card" | "mobile_key";
|
|
23889
|
+
created_access_method_ids: string[];
|
|
23890
|
+
}, {
|
|
23891
|
+
display_name: string;
|
|
23892
|
+
created_at: string;
|
|
23893
|
+
mode: "code" | "card" | "mobile_key";
|
|
23894
|
+
created_access_method_ids: string[];
|
|
23895
|
+
}>, "many">;
|
|
23896
|
+
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
23897
|
+
client_session_token: z.ZodOptional<z.ZodString>;
|
|
23898
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23899
|
+
display_name: z.ZodString;
|
|
23900
|
+
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
23901
|
+
created_at: z.ZodString;
|
|
23902
|
+
starts_at: z.ZodString;
|
|
23903
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
23904
|
+
}, "strip", z.ZodTypeAny, {
|
|
23905
|
+
name: string | null;
|
|
23906
|
+
display_name: string;
|
|
23907
|
+
workspace_id: string;
|
|
23908
|
+
created_at: string;
|
|
23909
|
+
starts_at: string;
|
|
23910
|
+
ends_at: string | null;
|
|
23911
|
+
access_grant_id: string;
|
|
23912
|
+
user_identity_id: string;
|
|
23913
|
+
location_ids: string[];
|
|
23914
|
+
space_ids: string[];
|
|
23915
|
+
requested_access_methods: {
|
|
23916
|
+
display_name: string;
|
|
23917
|
+
created_at: string;
|
|
23918
|
+
mode: "code" | "card" | "mobile_key";
|
|
23919
|
+
created_access_method_ids: string[];
|
|
23920
|
+
}[];
|
|
23921
|
+
access_method_ids: string[];
|
|
23922
|
+
access_grant_key?: string | undefined;
|
|
23923
|
+
client_session_token?: string | undefined;
|
|
23924
|
+
instant_key_url?: string | undefined;
|
|
23925
|
+
}, {
|
|
23926
|
+
name: string | null;
|
|
23927
|
+
display_name: string;
|
|
23928
|
+
workspace_id: string;
|
|
23929
|
+
created_at: string;
|
|
23930
|
+
starts_at: string;
|
|
23931
|
+
ends_at: string | null;
|
|
23932
|
+
access_grant_id: string;
|
|
23933
|
+
user_identity_id: string;
|
|
23934
|
+
location_ids: string[];
|
|
23935
|
+
space_ids: string[];
|
|
23936
|
+
requested_access_methods: {
|
|
23937
|
+
display_name: string;
|
|
23938
|
+
created_at: string;
|
|
23939
|
+
mode: "code" | "card" | "mobile_key";
|
|
23940
|
+
created_access_method_ids: string[];
|
|
23941
|
+
}[];
|
|
23942
|
+
access_method_ids: string[];
|
|
23943
|
+
access_grant_key?: string | undefined;
|
|
23944
|
+
client_session_token?: string | undefined;
|
|
23945
|
+
instant_key_url?: string | undefined;
|
|
23946
|
+
}>, "many">>;
|
|
23873
23947
|
}, "strip", z.ZodTypeAny, {
|
|
23874
23948
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
23875
23949
|
spaces?: {
|
|
@@ -24664,6 +24738,28 @@ declare const batch: z.ZodObject<{
|
|
|
24664
24738
|
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "dormakaba_ambiance_site" | "legic_connect_credential_service" | undefined;
|
|
24665
24739
|
system_type_display_name?: string | undefined;
|
|
24666
24740
|
}[] | undefined;
|
|
24741
|
+
access_grants?: {
|
|
24742
|
+
name: string | null;
|
|
24743
|
+
display_name: string;
|
|
24744
|
+
workspace_id: string;
|
|
24745
|
+
created_at: string;
|
|
24746
|
+
starts_at: string;
|
|
24747
|
+
ends_at: string | null;
|
|
24748
|
+
access_grant_id: string;
|
|
24749
|
+
user_identity_id: string;
|
|
24750
|
+
location_ids: string[];
|
|
24751
|
+
space_ids: string[];
|
|
24752
|
+
requested_access_methods: {
|
|
24753
|
+
display_name: string;
|
|
24754
|
+
created_at: string;
|
|
24755
|
+
mode: "code" | "card" | "mobile_key";
|
|
24756
|
+
created_access_method_ids: string[];
|
|
24757
|
+
}[];
|
|
24758
|
+
access_method_ids: string[];
|
|
24759
|
+
access_grant_key?: string | undefined;
|
|
24760
|
+
client_session_token?: string | undefined;
|
|
24761
|
+
instant_key_url?: string | undefined;
|
|
24762
|
+
}[] | undefined;
|
|
24667
24763
|
user_identities?: {
|
|
24668
24764
|
display_name: string;
|
|
24669
24765
|
workspace_id: string;
|
|
@@ -26796,6 +26892,28 @@ declare const batch: z.ZodObject<{
|
|
|
26796
26892
|
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "dormakaba_ambiance_site" | "legic_connect_credential_service" | undefined;
|
|
26797
26893
|
system_type_display_name?: string | undefined;
|
|
26798
26894
|
}[] | undefined;
|
|
26895
|
+
access_grants?: {
|
|
26896
|
+
name: string | null;
|
|
26897
|
+
display_name: string;
|
|
26898
|
+
workspace_id: string;
|
|
26899
|
+
created_at: string;
|
|
26900
|
+
starts_at: string;
|
|
26901
|
+
ends_at: string | null;
|
|
26902
|
+
access_grant_id: string;
|
|
26903
|
+
user_identity_id: string;
|
|
26904
|
+
location_ids: string[];
|
|
26905
|
+
space_ids: string[];
|
|
26906
|
+
requested_access_methods: {
|
|
26907
|
+
display_name: string;
|
|
26908
|
+
created_at: string;
|
|
26909
|
+
mode: "code" | "card" | "mobile_key";
|
|
26910
|
+
created_access_method_ids: string[];
|
|
26911
|
+
}[];
|
|
26912
|
+
access_method_ids: string[];
|
|
26913
|
+
access_grant_key?: string | undefined;
|
|
26914
|
+
client_session_token?: string | undefined;
|
|
26915
|
+
instant_key_url?: string | undefined;
|
|
26916
|
+
}[] | undefined;
|
|
26799
26917
|
user_identities?: {
|
|
26800
26918
|
display_name: string;
|
|
26801
26919
|
workspace_id: string;
|
|
@@ -28980,19 +29098,22 @@ declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString,
|
|
|
28980
29098
|
type CustomMetadata = z.output<typeof custom_metadata>;
|
|
28981
29099
|
|
|
28982
29100
|
declare const customization_profile: z.ZodObject<{
|
|
28983
|
-
workspace_id: z.ZodString;
|
|
28984
29101
|
customization_profile_id: z.ZodString;
|
|
29102
|
+
workspace_id: z.ZodString;
|
|
29103
|
+
created_at: z.ZodString;
|
|
28985
29104
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
28986
29105
|
primary_color: z.ZodOptional<z.ZodString>;
|
|
28987
29106
|
secondary_color: z.ZodOptional<z.ZodString>;
|
|
28988
29107
|
}, "strip", z.ZodTypeAny, {
|
|
28989
29108
|
workspace_id: string;
|
|
29109
|
+
created_at: string;
|
|
28990
29110
|
customization_profile_id: string;
|
|
28991
29111
|
logo_url?: string | undefined;
|
|
28992
29112
|
primary_color?: string | undefined;
|
|
28993
29113
|
secondary_color?: string | undefined;
|
|
28994
29114
|
}, {
|
|
28995
29115
|
workspace_id: string;
|
|
29116
|
+
created_at: string;
|
|
28996
29117
|
customization_profile_id: string;
|
|
28997
29118
|
logo_url?: string | undefined;
|
|
28998
29119
|
primary_color?: string | undefined;
|
|
@@ -58726,6 +58847,12 @@ declare const _default: {
|
|
|
58726
58847
|
batch: {
|
|
58727
58848
|
description: string;
|
|
58728
58849
|
properties: {
|
|
58850
|
+
access_grants: {
|
|
58851
|
+
items: {
|
|
58852
|
+
$ref: string;
|
|
58853
|
+
};
|
|
58854
|
+
type: string;
|
|
58855
|
+
};
|
|
58729
58856
|
access_methods: {
|
|
58730
58857
|
items: {
|
|
58731
58858
|
$ref: string;
|
|
@@ -58917,6 +59044,12 @@ declare const _default: {
|
|
|
58917
59044
|
batch: {
|
|
58918
59045
|
description: string;
|
|
58919
59046
|
properties: {
|
|
59047
|
+
access_grants: {
|
|
59048
|
+
items: {
|
|
59049
|
+
$ref: string;
|
|
59050
|
+
};
|
|
59051
|
+
type: string;
|
|
59052
|
+
};
|
|
58920
59053
|
access_methods: {
|
|
58921
59054
|
items: {
|
|
58922
59055
|
$ref: string;
|
|
@@ -88352,12 +88485,18 @@ declare const _default: {
|
|
|
88352
88485
|
schema: {
|
|
88353
88486
|
properties: {
|
|
88354
88487
|
customization_profile: {
|
|
88488
|
+
description: string;
|
|
88355
88489
|
properties: {
|
|
88490
|
+
created_at: {
|
|
88491
|
+
format: string;
|
|
88492
|
+
type: string;
|
|
88493
|
+
};
|
|
88356
88494
|
customization_profile_id: {
|
|
88357
88495
|
format: string;
|
|
88358
88496
|
type: string;
|
|
88359
88497
|
};
|
|
88360
88498
|
logo_url: {
|
|
88499
|
+
format: string;
|
|
88361
88500
|
type: string;
|
|
88362
88501
|
};
|
|
88363
88502
|
primary_color: {
|
|
@@ -88373,6 +88512,9 @@ declare const _default: {
|
|
|
88373
88512
|
};
|
|
88374
88513
|
required: string[];
|
|
88375
88514
|
type: string;
|
|
88515
|
+
'x-route-path': string;
|
|
88516
|
+
'x-title': string;
|
|
88517
|
+
'x-undocumented': string;
|
|
88376
88518
|
};
|
|
88377
88519
|
ok: {
|
|
88378
88520
|
type: string;
|
|
@@ -88402,6 +88544,7 @@ declare const _default: {
|
|
|
88402
88544
|
'x-fern-sdk-return-value': string;
|
|
88403
88545
|
'x-response-key': string;
|
|
88404
88546
|
'x-title': string;
|
|
88547
|
+
'x-undocumented': string;
|
|
88405
88548
|
};
|
|
88406
88549
|
};
|
|
88407
88550
|
'/workspaces/customization_profiles/get': {
|
|
@@ -88424,12 +88567,18 @@ declare const _default: {
|
|
|
88424
88567
|
schema: {
|
|
88425
88568
|
properties: {
|
|
88426
88569
|
customization_profile: {
|
|
88570
|
+
description: string;
|
|
88427
88571
|
properties: {
|
|
88572
|
+
created_at: {
|
|
88573
|
+
format: string;
|
|
88574
|
+
type: string;
|
|
88575
|
+
};
|
|
88428
88576
|
customization_profile_id: {
|
|
88429
88577
|
format: string;
|
|
88430
88578
|
type: string;
|
|
88431
88579
|
};
|
|
88432
88580
|
logo_url: {
|
|
88581
|
+
format: string;
|
|
88433
88582
|
type: string;
|
|
88434
88583
|
};
|
|
88435
88584
|
primary_color: {
|
|
@@ -88445,6 +88594,9 @@ declare const _default: {
|
|
|
88445
88594
|
};
|
|
88446
88595
|
required: string[];
|
|
88447
88596
|
type: string;
|
|
88597
|
+
'x-route-path': string;
|
|
88598
|
+
'x-title': string;
|
|
88599
|
+
'x-undocumented': string;
|
|
88448
88600
|
};
|
|
88449
88601
|
ok: {
|
|
88450
88602
|
type: string;
|
|
@@ -88474,6 +88626,7 @@ declare const _default: {
|
|
|
88474
88626
|
'x-fern-sdk-return-value': string;
|
|
88475
88627
|
'x-response-key': string;
|
|
88476
88628
|
'x-title': string;
|
|
88629
|
+
'x-undocumented': string;
|
|
88477
88630
|
};
|
|
88478
88631
|
post: {
|
|
88479
88632
|
description: string;
|
|
@@ -88501,12 +88654,18 @@ declare const _default: {
|
|
|
88501
88654
|
schema: {
|
|
88502
88655
|
properties: {
|
|
88503
88656
|
customization_profile: {
|
|
88657
|
+
description: string;
|
|
88504
88658
|
properties: {
|
|
88659
|
+
created_at: {
|
|
88660
|
+
format: string;
|
|
88661
|
+
type: string;
|
|
88662
|
+
};
|
|
88505
88663
|
customization_profile_id: {
|
|
88506
88664
|
format: string;
|
|
88507
88665
|
type: string;
|
|
88508
88666
|
};
|
|
88509
88667
|
logo_url: {
|
|
88668
|
+
format: string;
|
|
88510
88669
|
type: string;
|
|
88511
88670
|
};
|
|
88512
88671
|
primary_color: {
|
|
@@ -88522,6 +88681,9 @@ declare const _default: {
|
|
|
88522
88681
|
};
|
|
88523
88682
|
required: string[];
|
|
88524
88683
|
type: string;
|
|
88684
|
+
'x-route-path': string;
|
|
88685
|
+
'x-title': string;
|
|
88686
|
+
'x-undocumented': string;
|
|
88525
88687
|
};
|
|
88526
88688
|
ok: {
|
|
88527
88689
|
type: string;
|
|
@@ -88551,6 +88713,7 @@ declare const _default: {
|
|
|
88551
88713
|
'x-fern-sdk-return-value': string;
|
|
88552
88714
|
'x-response-key': string;
|
|
88553
88715
|
'x-title': string;
|
|
88716
|
+
'x-undocumented': string;
|
|
88554
88717
|
};
|
|
88555
88718
|
};
|
|
88556
88719
|
'/workspaces/customization_profiles/list': {
|
|
@@ -88565,12 +88728,18 @@ declare const _default: {
|
|
|
88565
88728
|
properties: {
|
|
88566
88729
|
customization_profiles: {
|
|
88567
88730
|
items: {
|
|
88731
|
+
description: string;
|
|
88568
88732
|
properties: {
|
|
88733
|
+
created_at: {
|
|
88734
|
+
format: string;
|
|
88735
|
+
type: string;
|
|
88736
|
+
};
|
|
88569
88737
|
customization_profile_id: {
|
|
88570
88738
|
format: string;
|
|
88571
88739
|
type: string;
|
|
88572
88740
|
};
|
|
88573
88741
|
logo_url: {
|
|
88742
|
+
format: string;
|
|
88574
88743
|
type: string;
|
|
88575
88744
|
};
|
|
88576
88745
|
primary_color: {
|
|
@@ -88586,6 +88755,9 @@ declare const _default: {
|
|
|
88586
88755
|
};
|
|
88587
88756
|
required: string[];
|
|
88588
88757
|
type: string;
|
|
88758
|
+
'x-route-path': string;
|
|
88759
|
+
'x-title': string;
|
|
88760
|
+
'x-undocumented': string;
|
|
88589
88761
|
};
|
|
88590
88762
|
type: string;
|
|
88591
88763
|
};
|
|
@@ -88617,6 +88789,7 @@ declare const _default: {
|
|
|
88617
88789
|
'x-fern-sdk-return-value': string;
|
|
88618
88790
|
'x-response-key': string;
|
|
88619
88791
|
'x-title': string;
|
|
88792
|
+
'x-undocumented': string;
|
|
88620
88793
|
};
|
|
88621
88794
|
post: {
|
|
88622
88795
|
description: string;
|
|
@@ -88629,12 +88802,18 @@ declare const _default: {
|
|
|
88629
88802
|
properties: {
|
|
88630
88803
|
customization_profiles: {
|
|
88631
88804
|
items: {
|
|
88805
|
+
description: string;
|
|
88632
88806
|
properties: {
|
|
88807
|
+
created_at: {
|
|
88808
|
+
format: string;
|
|
88809
|
+
type: string;
|
|
88810
|
+
};
|
|
88633
88811
|
customization_profile_id: {
|
|
88634
88812
|
format: string;
|
|
88635
88813
|
type: string;
|
|
88636
88814
|
};
|
|
88637
88815
|
logo_url: {
|
|
88816
|
+
format: string;
|
|
88638
88817
|
type: string;
|
|
88639
88818
|
};
|
|
88640
88819
|
primary_color: {
|
|
@@ -88650,6 +88829,9 @@ declare const _default: {
|
|
|
88650
88829
|
};
|
|
88651
88830
|
required: string[];
|
|
88652
88831
|
type: string;
|
|
88832
|
+
'x-route-path': string;
|
|
88833
|
+
'x-title': string;
|
|
88834
|
+
'x-undocumented': string;
|
|
88653
88835
|
};
|
|
88654
88836
|
type: string;
|
|
88655
88837
|
};
|
|
@@ -88681,6 +88863,7 @@ declare const _default: {
|
|
|
88681
88863
|
'x-fern-sdk-return-value': string;
|
|
88682
88864
|
'x-response-key': string;
|
|
88683
88865
|
'x-title': string;
|
|
88866
|
+
'x-undocumented': string;
|
|
88684
88867
|
};
|
|
88685
88868
|
};
|
|
88686
88869
|
'/workspaces/customization_profiles/update': {
|
|
@@ -88742,6 +88925,7 @@ declare const _default: {
|
|
|
88742
88925
|
'x-fern-sdk-method-name': string;
|
|
88743
88926
|
'x-response-key': null;
|
|
88744
88927
|
'x-title': string;
|
|
88928
|
+
'x-undocumented': string;
|
|
88745
88929
|
};
|
|
88746
88930
|
post: {
|
|
88747
88931
|
description: string;
|
|
@@ -88801,6 +88985,7 @@ declare const _default: {
|
|
|
88801
88985
|
'x-fern-sdk-method-name': string;
|
|
88802
88986
|
'x-response-key': null;
|
|
88803
88987
|
'x-title': string;
|
|
88988
|
+
'x-undocumented': string;
|
|
88804
88989
|
};
|
|
88805
88990
|
};
|
|
88806
88991
|
'/workspaces/customization_profiles/upload_images': {
|
|
@@ -88865,6 +89050,12 @@ declare const _default: {
|
|
|
88865
89050
|
batch: {
|
|
88866
89051
|
description: string;
|
|
88867
89052
|
properties: {
|
|
89053
|
+
access_grants: {
|
|
89054
|
+
items: {
|
|
89055
|
+
$ref: string;
|
|
89056
|
+
};
|
|
89057
|
+
type: string;
|
|
89058
|
+
};
|
|
88868
89059
|
access_methods: {
|
|
88869
89060
|
items: {
|
|
88870
89061
|
$ref: string;
|
|
@@ -89031,6 +89222,12 @@ declare const _default: {
|
|
|
89031
89222
|
batch: {
|
|
89032
89223
|
description: string;
|
|
89033
89224
|
properties: {
|
|
89225
|
+
access_grants: {
|
|
89226
|
+
items: {
|
|
89227
|
+
$ref: string;
|
|
89228
|
+
};
|
|
89229
|
+
type: string;
|
|
89230
|
+
};
|
|
89034
89231
|
access_methods: {
|
|
89035
89232
|
items: {
|
|
89036
89233
|
$ref: string;
|
|
@@ -106626,6 +106823,48 @@ type Routes = {
|
|
|
106626
106823
|
/** The actual PIN code for code access methods. */
|
|
106627
106824
|
code?: string | undefined;
|
|
106628
106825
|
}[] | undefined;
|
|
106826
|
+
access_grants?: {
|
|
106827
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
106828
|
+
workspace_id: string;
|
|
106829
|
+
/** ID of the Access Grant. */
|
|
106830
|
+
access_grant_id: string;
|
|
106831
|
+
/** Unique key for the access grant within the workspace. */
|
|
106832
|
+
access_grant_key?: string | undefined;
|
|
106833
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
106834
|
+
user_identity_id: string;
|
|
106835
|
+
/**
|
|
106836
|
+
* @deprecated Use `space_ids`.*/
|
|
106837
|
+
location_ids: string[];
|
|
106838
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
106839
|
+
space_ids: string[];
|
|
106840
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
106841
|
+
requested_access_methods: {
|
|
106842
|
+
/** Display name of the access method. */
|
|
106843
|
+
display_name: string;
|
|
106844
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
106845
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
106846
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
106847
|
+
created_at: string;
|
|
106848
|
+
/** IDs of the access methods created for the requested access method. */
|
|
106849
|
+
created_access_method_ids: string[];
|
|
106850
|
+
}[];
|
|
106851
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
106852
|
+
access_method_ids: string[];
|
|
106853
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
106854
|
+
client_session_token?: string | undefined;
|
|
106855
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
106856
|
+
name: string | null;
|
|
106857
|
+
/** Display name of the Access Grant. */
|
|
106858
|
+
display_name: string;
|
|
106859
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
106860
|
+
instant_key_url?: string | undefined;
|
|
106861
|
+
/** Date and time at which the Access Grant was created. */
|
|
106862
|
+
created_at: string;
|
|
106863
|
+
/** Date and time at which the Access Grant starts. */
|
|
106864
|
+
starts_at: string;
|
|
106865
|
+
/** Date and time at which the Access Grant ends. */
|
|
106866
|
+
ends_at: string | null;
|
|
106867
|
+
}[] | undefined;
|
|
106629
106868
|
};
|
|
106630
106869
|
};
|
|
106631
106870
|
};
|
|
@@ -165439,9 +165678,11 @@ type Routes = {
|
|
|
165439
165678
|
commonParams: {};
|
|
165440
165679
|
formData: {};
|
|
165441
165680
|
jsonResponse: {
|
|
165681
|
+
/** A customization profile. */
|
|
165442
165682
|
customization_profile: {
|
|
165443
|
-
workspace_id: string;
|
|
165444
165683
|
customization_profile_id: string;
|
|
165684
|
+
workspace_id: string;
|
|
165685
|
+
created_at: string;
|
|
165445
165686
|
logo_url?: string | undefined;
|
|
165446
165687
|
primary_color?: string | undefined;
|
|
165447
165688
|
secondary_color?: string | undefined;
|
|
@@ -165458,9 +165699,11 @@ type Routes = {
|
|
|
165458
165699
|
};
|
|
165459
165700
|
formData: {};
|
|
165460
165701
|
jsonResponse: {
|
|
165702
|
+
/** A customization profile. */
|
|
165461
165703
|
customization_profile: {
|
|
165462
|
-
workspace_id: string;
|
|
165463
165704
|
customization_profile_id: string;
|
|
165705
|
+
workspace_id: string;
|
|
165706
|
+
created_at: string;
|
|
165464
165707
|
logo_url?: string | undefined;
|
|
165465
165708
|
primary_color?: string | undefined;
|
|
165466
165709
|
secondary_color?: string | undefined;
|
|
@@ -165476,8 +165719,9 @@ type Routes = {
|
|
|
165476
165719
|
formData: {};
|
|
165477
165720
|
jsonResponse: {
|
|
165478
165721
|
customization_profiles: {
|
|
165479
|
-
workspace_id: string;
|
|
165480
165722
|
customization_profile_id: string;
|
|
165723
|
+
workspace_id: string;
|
|
165724
|
+
created_at: string;
|
|
165481
165725
|
logo_url?: string | undefined;
|
|
165482
165726
|
primary_color?: string | undefined;
|
|
165483
165727
|
secondary_color?: string | undefined;
|
|
@@ -169269,6 +169513,48 @@ type Routes = {
|
|
|
169269
169513
|
/** The actual PIN code for code access methods. */
|
|
169270
169514
|
code?: string | undefined;
|
|
169271
169515
|
}[] | undefined;
|
|
169516
|
+
access_grants?: {
|
|
169517
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
169518
|
+
workspace_id: string;
|
|
169519
|
+
/** ID of the Access Grant. */
|
|
169520
|
+
access_grant_id: string;
|
|
169521
|
+
/** Unique key for the access grant within the workspace. */
|
|
169522
|
+
access_grant_key?: string | undefined;
|
|
169523
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
169524
|
+
user_identity_id: string;
|
|
169525
|
+
/**
|
|
169526
|
+
* @deprecated Use `space_ids`.*/
|
|
169527
|
+
location_ids: string[];
|
|
169528
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
169529
|
+
space_ids: string[];
|
|
169530
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
169531
|
+
requested_access_methods: {
|
|
169532
|
+
/** Display name of the access method. */
|
|
169533
|
+
display_name: string;
|
|
169534
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
169535
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
169536
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
169537
|
+
created_at: string;
|
|
169538
|
+
/** IDs of the access methods created for the requested access method. */
|
|
169539
|
+
created_access_method_ids: string[];
|
|
169540
|
+
}[];
|
|
169541
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
169542
|
+
access_method_ids: string[];
|
|
169543
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
169544
|
+
client_session_token?: string | undefined;
|
|
169545
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
169546
|
+
name: string | null;
|
|
169547
|
+
/** Display name of the Access Grant. */
|
|
169548
|
+
display_name: string;
|
|
169549
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
169550
|
+
instant_key_url?: string | undefined;
|
|
169551
|
+
/** Date and time at which the Access Grant was created. */
|
|
169552
|
+
created_at: string;
|
|
169553
|
+
/** Date and time at which the Access Grant starts. */
|
|
169554
|
+
starts_at: string;
|
|
169555
|
+
/** Date and time at which the Access Grant ends. */
|
|
169556
|
+
ends_at: string | null;
|
|
169557
|
+
}[] | undefined;
|
|
169272
169558
|
};
|
|
169273
169559
|
};
|
|
169274
169560
|
};
|