@seamapi/types 1.412.0 → 1.414.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 +145 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +227 -7
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +4 -1
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +16 -14
- package/lib/seam/connect/models/phones/phone-session.js +4 -0
- package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +73 -0
- package/lib/seam/connect/models/user-identities/user-identity.js +40 -0
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +105 -2
- package/lib/seam/connect/openapi.js +109 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +77 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +4 -1
- package/src/lib/seam/connect/models/phones/phone-session.ts +4 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +60 -0
- package/src/lib/seam/connect/openapi.ts +123 -11
- package/src/lib/seam/connect/route-types.ts +77 -5
package/dist/connect.d.cts
CHANGED
|
@@ -10430,6 +10430,7 @@ declare const client_session: z.ZodObject<{
|
|
|
10430
10430
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
10431
10431
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
10432
10432
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
10433
|
+
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
10433
10434
|
}, "strip", z.ZodTypeAny, {
|
|
10434
10435
|
workspace_id: string;
|
|
10435
10436
|
created_at: string;
|
|
@@ -10441,6 +10442,7 @@ declare const client_session: z.ZodObject<{
|
|
|
10441
10442
|
device_count: number;
|
|
10442
10443
|
connect_webview_ids: string[];
|
|
10443
10444
|
user_identity_ids: string[];
|
|
10445
|
+
user_identity_id?: string | undefined;
|
|
10444
10446
|
customer_id?: string | undefined;
|
|
10445
10447
|
}, {
|
|
10446
10448
|
workspace_id: string;
|
|
@@ -10453,6 +10455,7 @@ declare const client_session: z.ZodObject<{
|
|
|
10453
10455
|
device_count: number;
|
|
10454
10456
|
connect_webview_ids: string[];
|
|
10455
10457
|
user_identity_ids: string[];
|
|
10458
|
+
user_identity_id?: string | undefined;
|
|
10456
10459
|
customer_id?: string | undefined;
|
|
10457
10460
|
}>;
|
|
10458
10461
|
type ClientSession = z.infer<typeof client_session>;
|
|
@@ -21496,10 +21499,43 @@ declare const user_identity: z.ZodObject<{
|
|
|
21496
21499
|
full_name: z.ZodNullable<z.ZodString>;
|
|
21497
21500
|
created_at: z.ZodString;
|
|
21498
21501
|
workspace_id: z.ZodString;
|
|
21502
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
21503
|
+
created_at: z.ZodString;
|
|
21504
|
+
message: z.ZodString;
|
|
21505
|
+
}, "strip", z.ZodTypeAny, {
|
|
21506
|
+
message: string;
|
|
21507
|
+
created_at: string;
|
|
21508
|
+
}, {
|
|
21509
|
+
message: string;
|
|
21510
|
+
created_at: string;
|
|
21511
|
+
}>, "many">;
|
|
21512
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
21513
|
+
created_at: z.ZodString;
|
|
21514
|
+
message: z.ZodString;
|
|
21515
|
+
}, {
|
|
21516
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
21517
|
+
}>, "strip", z.ZodTypeAny, {
|
|
21518
|
+
message: string;
|
|
21519
|
+
created_at: string;
|
|
21520
|
+
warning_code: "being_deleted";
|
|
21521
|
+
}, {
|
|
21522
|
+
message: string;
|
|
21523
|
+
created_at: string;
|
|
21524
|
+
warning_code: "being_deleted";
|
|
21525
|
+
}>]>, "many">;
|
|
21499
21526
|
}, "strip", z.ZodTypeAny, {
|
|
21500
21527
|
display_name: string;
|
|
21501
21528
|
workspace_id: string;
|
|
21502
21529
|
created_at: string;
|
|
21530
|
+
errors: {
|
|
21531
|
+
message: string;
|
|
21532
|
+
created_at: string;
|
|
21533
|
+
}[];
|
|
21534
|
+
warnings: {
|
|
21535
|
+
message: string;
|
|
21536
|
+
created_at: string;
|
|
21537
|
+
warning_code: "being_deleted";
|
|
21538
|
+
}[];
|
|
21503
21539
|
user_identity_id: string;
|
|
21504
21540
|
email_address: string | null;
|
|
21505
21541
|
full_name: string | null;
|
|
@@ -21509,6 +21545,15 @@ declare const user_identity: z.ZodObject<{
|
|
|
21509
21545
|
display_name: string;
|
|
21510
21546
|
workspace_id: string;
|
|
21511
21547
|
created_at: string;
|
|
21548
|
+
errors: {
|
|
21549
|
+
message: string;
|
|
21550
|
+
created_at: string;
|
|
21551
|
+
}[];
|
|
21552
|
+
warnings: {
|
|
21553
|
+
message: string;
|
|
21554
|
+
created_at: string;
|
|
21555
|
+
warning_code: "being_deleted";
|
|
21556
|
+
}[];
|
|
21512
21557
|
user_identity_id: string;
|
|
21513
21558
|
email_address: string | null;
|
|
21514
21559
|
full_name: string | null;
|
|
@@ -24652,7 +24697,12 @@ declare const _default: {
|
|
|
24652
24697
|
nullable: boolean;
|
|
24653
24698
|
type: string;
|
|
24654
24699
|
};
|
|
24700
|
+
user_identity_id: {
|
|
24701
|
+
format: string;
|
|
24702
|
+
type: string;
|
|
24703
|
+
};
|
|
24655
24704
|
user_identity_ids: {
|
|
24705
|
+
description: string;
|
|
24656
24706
|
items: {
|
|
24657
24707
|
format: string;
|
|
24658
24708
|
type: string;
|
|
@@ -30704,8 +30754,6 @@ declare const _default: {
|
|
|
30704
30754
|
type: string;
|
|
30705
30755
|
};
|
|
30706
30756
|
acs_credential_id: {
|
|
30707
|
-
description: string;
|
|
30708
|
-
format: string;
|
|
30709
30757
|
type: string;
|
|
30710
30758
|
};
|
|
30711
30759
|
acs_credential_pool_id: {
|
|
@@ -32656,6 +32704,25 @@ declare const _default: {
|
|
|
32656
32704
|
nullable: boolean;
|
|
32657
32705
|
type: string;
|
|
32658
32706
|
};
|
|
32707
|
+
errors: {
|
|
32708
|
+
description: string;
|
|
32709
|
+
items: {
|
|
32710
|
+
properties: {
|
|
32711
|
+
created_at: {
|
|
32712
|
+
description: string;
|
|
32713
|
+
format: string;
|
|
32714
|
+
type: string;
|
|
32715
|
+
};
|
|
32716
|
+
message: {
|
|
32717
|
+
description: string;
|
|
32718
|
+
type: string;
|
|
32719
|
+
};
|
|
32720
|
+
};
|
|
32721
|
+
required: string[];
|
|
32722
|
+
type: string;
|
|
32723
|
+
};
|
|
32724
|
+
type: string;
|
|
32725
|
+
};
|
|
32659
32726
|
full_name: {
|
|
32660
32727
|
minLength: number;
|
|
32661
32728
|
nullable: boolean;
|
|
@@ -32677,6 +32744,37 @@ declare const _default: {
|
|
|
32677
32744
|
nullable: boolean;
|
|
32678
32745
|
type: string;
|
|
32679
32746
|
};
|
|
32747
|
+
warnings: {
|
|
32748
|
+
description: string;
|
|
32749
|
+
items: {
|
|
32750
|
+
description: string;
|
|
32751
|
+
discriminator: {
|
|
32752
|
+
propertyName: string;
|
|
32753
|
+
};
|
|
32754
|
+
oneOf: {
|
|
32755
|
+
description: string;
|
|
32756
|
+
properties: {
|
|
32757
|
+
created_at: {
|
|
32758
|
+
description: string;
|
|
32759
|
+
format: string;
|
|
32760
|
+
type: string;
|
|
32761
|
+
};
|
|
32762
|
+
message: {
|
|
32763
|
+
description: string;
|
|
32764
|
+
type: string;
|
|
32765
|
+
};
|
|
32766
|
+
warning_code: {
|
|
32767
|
+
description: string;
|
|
32768
|
+
enum: string[];
|
|
32769
|
+
type: string;
|
|
32770
|
+
};
|
|
32771
|
+
};
|
|
32772
|
+
required: string[];
|
|
32773
|
+
type: string;
|
|
32774
|
+
}[];
|
|
32775
|
+
};
|
|
32776
|
+
type: string;
|
|
32777
|
+
};
|
|
32680
32778
|
workspace_id: {
|
|
32681
32779
|
description: string;
|
|
32682
32780
|
format: string;
|
|
@@ -39008,6 +39106,16 @@ declare const _default: {
|
|
|
39008
39106
|
'application/json': {
|
|
39009
39107
|
schema: {
|
|
39010
39108
|
properties: {
|
|
39109
|
+
access_grant_id: {
|
|
39110
|
+
description: string;
|
|
39111
|
+
format: string;
|
|
39112
|
+
type: string;
|
|
39113
|
+
};
|
|
39114
|
+
access_method_id: {
|
|
39115
|
+
description: string;
|
|
39116
|
+
format: string;
|
|
39117
|
+
type: string;
|
|
39118
|
+
};
|
|
39011
39119
|
acs_credential_id: {
|
|
39012
39120
|
description: string;
|
|
39013
39121
|
format: string;
|
|
@@ -41089,12 +41197,20 @@ declare const _default: {
|
|
|
41089
41197
|
minLength: number;
|
|
41090
41198
|
type: string;
|
|
41091
41199
|
};
|
|
41200
|
+
user_identity_id: {
|
|
41201
|
+
description: string;
|
|
41202
|
+
type: string;
|
|
41203
|
+
};
|
|
41092
41204
|
user_identity_ids: {
|
|
41205
|
+
deprecated: boolean;
|
|
41093
41206
|
description: string;
|
|
41094
41207
|
items: {
|
|
41095
41208
|
type: string;
|
|
41096
41209
|
};
|
|
41210
|
+
maxItems: number;
|
|
41211
|
+
minItems: number;
|
|
41097
41212
|
type: string;
|
|
41213
|
+
'x-deprecated': string;
|
|
41098
41214
|
};
|
|
41099
41215
|
};
|
|
41100
41216
|
type: string;
|
|
@@ -41196,12 +41312,20 @@ declare const _default: {
|
|
|
41196
41312
|
minLength: number;
|
|
41197
41313
|
type: string;
|
|
41198
41314
|
};
|
|
41315
|
+
user_identity_id: {
|
|
41316
|
+
description: string;
|
|
41317
|
+
type: string;
|
|
41318
|
+
};
|
|
41199
41319
|
user_identity_ids: {
|
|
41320
|
+
deprecated: boolean;
|
|
41200
41321
|
description: string;
|
|
41201
41322
|
items: {
|
|
41202
41323
|
type: string;
|
|
41203
41324
|
};
|
|
41325
|
+
maxItems: number;
|
|
41326
|
+
minItems: number;
|
|
41204
41327
|
type: string;
|
|
41328
|
+
'x-deprecated': string;
|
|
41205
41329
|
};
|
|
41206
41330
|
};
|
|
41207
41331
|
type: string;
|
|
@@ -41443,12 +41567,20 @@ declare const _default: {
|
|
|
41443
41567
|
minLength: number;
|
|
41444
41568
|
type: string;
|
|
41445
41569
|
};
|
|
41570
|
+
user_identity_id: {
|
|
41571
|
+
description: string;
|
|
41572
|
+
type: string;
|
|
41573
|
+
};
|
|
41446
41574
|
user_identity_ids: {
|
|
41575
|
+
deprecated: boolean;
|
|
41447
41576
|
description: string;
|
|
41448
41577
|
items: {
|
|
41449
41578
|
type: string;
|
|
41450
41579
|
};
|
|
41580
|
+
maxItems: number;
|
|
41581
|
+
minItems: number;
|
|
41451
41582
|
type: string;
|
|
41583
|
+
'x-deprecated': string;
|
|
41452
41584
|
};
|
|
41453
41585
|
};
|
|
41454
41586
|
type: string;
|
|
@@ -41544,12 +41676,20 @@ declare const _default: {
|
|
|
41544
41676
|
description: string;
|
|
41545
41677
|
type: string;
|
|
41546
41678
|
};
|
|
41679
|
+
user_identity_id: {
|
|
41680
|
+
description: string;
|
|
41681
|
+
type: string;
|
|
41682
|
+
};
|
|
41547
41683
|
user_identity_ids: {
|
|
41684
|
+
deprecated: boolean;
|
|
41548
41685
|
description: string;
|
|
41549
41686
|
items: {
|
|
41550
41687
|
type: string;
|
|
41551
41688
|
};
|
|
41689
|
+
maxItems: number;
|
|
41690
|
+
minItems: number;
|
|
41552
41691
|
type: string;
|
|
41692
|
+
'x-deprecated': string;
|
|
41553
41693
|
};
|
|
41554
41694
|
};
|
|
41555
41695
|
type: string;
|
|
@@ -41633,12 +41773,20 @@ declare const _default: {
|
|
|
41633
41773
|
description: string;
|
|
41634
41774
|
type: string;
|
|
41635
41775
|
};
|
|
41776
|
+
user_identity_id: {
|
|
41777
|
+
description: string;
|
|
41778
|
+
type: string;
|
|
41779
|
+
};
|
|
41636
41780
|
user_identity_ids: {
|
|
41781
|
+
deprecated: boolean;
|
|
41637
41782
|
description: string;
|
|
41638
41783
|
items: {
|
|
41639
41784
|
type: string;
|
|
41640
41785
|
};
|
|
41786
|
+
maxItems: number;
|
|
41787
|
+
minItems: number;
|
|
41641
41788
|
type: string;
|
|
41789
|
+
'x-deprecated': string;
|
|
41642
41790
|
};
|
|
41643
41791
|
};
|
|
41644
41792
|
type: string;
|
|
@@ -71678,6 +71826,10 @@ interface Routes {
|
|
|
71678
71826
|
location_id?: (string | null) | undefined;
|
|
71679
71827
|
/** ID of the space for which you want to list entrances. */
|
|
71680
71828
|
space_id?: string | undefined;
|
|
71829
|
+
/** ID of the access grant for which you want to retrieve all entrances. */
|
|
71830
|
+
access_grant_id?: string | undefined;
|
|
71831
|
+
/** ID of the access method for which you want to retrieve all entrances. */
|
|
71832
|
+
access_method_id?: string | undefined;
|
|
71681
71833
|
};
|
|
71682
71834
|
formData: {};
|
|
71683
71835
|
jsonResponse: {
|
|
@@ -75816,8 +75968,11 @@ interface Routes {
|
|
|
75816
75968
|
connect_webview_ids?: string[] | undefined;
|
|
75817
75969
|
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) for which you want to create a client session. */
|
|
75818
75970
|
connected_account_ids?: string[] | undefined;
|
|
75819
|
-
/** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity)
|
|
75971
|
+
/** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
|
|
75972
|
+
* @deprecated Use `user_identity_id`. */
|
|
75820
75973
|
user_identity_ids?: string[] | undefined;
|
|
75974
|
+
/** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session. */
|
|
75975
|
+
user_identity_id?: string | undefined;
|
|
75821
75976
|
/** Date and time at which the client session should expire, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
75822
75977
|
expires_at?: Date | undefined;
|
|
75823
75978
|
};
|
|
@@ -75844,7 +75999,9 @@ interface Routes {
|
|
|
75844
75999
|
customer_id?: string | undefined;
|
|
75845
76000
|
connected_account_ids: string[];
|
|
75846
76001
|
connect_webview_ids: string[];
|
|
76002
|
+
/** deprecated: Use `user_identity_id`. */
|
|
75847
76003
|
user_identity_ids: string[];
|
|
76004
|
+
user_identity_id?: string | undefined;
|
|
75848
76005
|
};
|
|
75849
76006
|
};
|
|
75850
76007
|
};
|
|
@@ -75893,7 +76050,9 @@ interface Routes {
|
|
|
75893
76050
|
customer_id?: string | undefined;
|
|
75894
76051
|
connected_account_ids: string[];
|
|
75895
76052
|
connect_webview_ids: string[];
|
|
76053
|
+
/** deprecated: Use `user_identity_id`. */
|
|
75896
76054
|
user_identity_ids: string[];
|
|
76055
|
+
user_identity_id?: string | undefined;
|
|
75897
76056
|
};
|
|
75898
76057
|
};
|
|
75899
76058
|
};
|
|
@@ -75908,8 +76067,11 @@ interface Routes {
|
|
|
75908
76067
|
connect_webview_ids?: string[] | undefined;
|
|
75909
76068
|
/** IDs of the [connected accounts](https://docs.seam.co/latest/api/connected_accounts) that you want to associate with the client session (or that are already associated with the existing client session). */
|
|
75910
76069
|
connected_account_ids?: string[] | undefined;
|
|
75911
|
-
/** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session
|
|
76070
|
+
/** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
|
|
76071
|
+
* @deprecated Use `user_identity_id`. */
|
|
75912
76072
|
user_identity_ids?: string[] | undefined;
|
|
76073
|
+
/** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session). */
|
|
76074
|
+
user_identity_id?: string | undefined;
|
|
75913
76075
|
/** Date and time at which the client session should expire (or at which the existing client session expires), in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
75914
76076
|
expires_at?: Date | undefined;
|
|
75915
76077
|
};
|
|
@@ -75936,7 +76098,9 @@ interface Routes {
|
|
|
75936
76098
|
customer_id?: string | undefined;
|
|
75937
76099
|
connected_account_ids: string[];
|
|
75938
76100
|
connect_webview_ids: string[];
|
|
76101
|
+
/** deprecated: Use `user_identity_id`. */
|
|
75939
76102
|
user_identity_ids: string[];
|
|
76103
|
+
user_identity_id?: string | undefined;
|
|
75940
76104
|
};
|
|
75941
76105
|
};
|
|
75942
76106
|
};
|
|
@@ -75954,8 +76118,11 @@ interface Routes {
|
|
|
75954
76118
|
connected_account_ids?: string[] | undefined;
|
|
75955
76119
|
/** IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) that you want to associate with the client session. */
|
|
75956
76120
|
connect_webview_ids?: string[] | undefined;
|
|
75957
|
-
/** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
|
|
76121
|
+
/** IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
|
|
76122
|
+
* @deprecated Use `user_identity_id`. */
|
|
75958
76123
|
user_identity_ids?: string[] | undefined;
|
|
76124
|
+
/** ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session. */
|
|
76125
|
+
user_identity_id?: string | undefined;
|
|
75959
76126
|
};
|
|
75960
76127
|
formData: {};
|
|
75961
76128
|
jsonResponse: {
|
|
@@ -75979,7 +76146,9 @@ interface Routes {
|
|
|
75979
76146
|
customer_id?: string | undefined;
|
|
75980
76147
|
connected_account_ids: string[];
|
|
75981
76148
|
connect_webview_ids: string[];
|
|
76149
|
+
/** deprecated: Use `user_identity_id`. */
|
|
75982
76150
|
user_identity_ids: string[];
|
|
76151
|
+
user_identity_id?: string | undefined;
|
|
75983
76152
|
};
|
|
75984
76153
|
};
|
|
75985
76154
|
};
|
|
@@ -76013,7 +76182,9 @@ interface Routes {
|
|
|
76013
76182
|
customer_id?: string | undefined;
|
|
76014
76183
|
connected_account_ids: string[];
|
|
76015
76184
|
connect_webview_ids: string[];
|
|
76185
|
+
/** deprecated: Use `user_identity_id`. */
|
|
76016
76186
|
user_identity_ids: string[];
|
|
76187
|
+
user_identity_id?: string | undefined;
|
|
76017
76188
|
}>;
|
|
76018
76189
|
};
|
|
76019
76190
|
};
|
|
@@ -98644,7 +98815,9 @@ interface Routes {
|
|
|
98644
98815
|
customer_id?: string | undefined;
|
|
98645
98816
|
connected_account_ids: string[];
|
|
98646
98817
|
connect_webview_ids: string[];
|
|
98818
|
+
/** deprecated: Use `user_identity_id`. */
|
|
98647
98819
|
user_identity_ids: string[];
|
|
98820
|
+
user_identity_id?: string | undefined;
|
|
98648
98821
|
};
|
|
98649
98822
|
};
|
|
98650
98823
|
};
|
|
@@ -98801,8 +98974,6 @@ interface Routes {
|
|
|
98801
98974
|
is_being_activated: boolean;
|
|
98802
98975
|
};
|
|
98803
98976
|
acs_credentials: Array<{
|
|
98804
|
-
/** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
|
|
98805
|
-
acs_credential_id: string;
|
|
98806
98977
|
/** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
|
|
98807
98978
|
acs_user_id?: string | undefined;
|
|
98808
98979
|
acs_credential_pool_id?: string | undefined;
|
|
@@ -98912,6 +99083,7 @@ interface Routes {
|
|
|
98912
99083
|
endpoint_id?: string | undefined;
|
|
98913
99084
|
} | undefined;
|
|
98914
99085
|
is_managed: true;
|
|
99086
|
+
acs_credential_id?: string | undefined;
|
|
98915
99087
|
acs_entrances: Array<{
|
|
98916
99088
|
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
98917
99089
|
acs_system_id: string;
|
|
@@ -114099,6 +114271,22 @@ interface Routes {
|
|
|
114099
114271
|
created_at: string;
|
|
114100
114272
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
|
|
114101
114273
|
workspace_id: string;
|
|
114274
|
+
/** Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
114275
|
+
errors: Array<{
|
|
114276
|
+
/** Date and time at which Seam created the error. */
|
|
114277
|
+
created_at: string;
|
|
114278
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
114279
|
+
message: string;
|
|
114280
|
+
}>;
|
|
114281
|
+
/** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
114282
|
+
warnings: Array<{
|
|
114283
|
+
/** Date and time at which Seam created the warning. */
|
|
114284
|
+
created_at: string;
|
|
114285
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
114286
|
+
message: string;
|
|
114287
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
114288
|
+
warning_code: 'being_deleted';
|
|
114289
|
+
}>;
|
|
114102
114290
|
};
|
|
114103
114291
|
};
|
|
114104
114292
|
};
|
|
@@ -114260,6 +114448,22 @@ interface Routes {
|
|
|
114260
114448
|
created_at: string;
|
|
114261
114449
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
|
|
114262
114450
|
workspace_id: string;
|
|
114451
|
+
/** Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
114452
|
+
errors: Array<{
|
|
114453
|
+
/** Date and time at which Seam created the error. */
|
|
114454
|
+
created_at: string;
|
|
114455
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
114456
|
+
message: string;
|
|
114457
|
+
}>;
|
|
114458
|
+
/** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
114459
|
+
warnings: Array<{
|
|
114460
|
+
/** Date and time at which Seam created the warning. */
|
|
114461
|
+
created_at: string;
|
|
114462
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
114463
|
+
message: string;
|
|
114464
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
114465
|
+
warning_code: 'being_deleted';
|
|
114466
|
+
}>;
|
|
114263
114467
|
};
|
|
114264
114468
|
};
|
|
114265
114469
|
};
|
|
@@ -114303,6 +114507,22 @@ interface Routes {
|
|
|
114303
114507
|
created_at: string;
|
|
114304
114508
|
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
|
|
114305
114509
|
workspace_id: string;
|
|
114510
|
+
/** Array of errors associated with the user identity. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
|
|
114511
|
+
errors: Array<{
|
|
114512
|
+
/** Date and time at which Seam created the error. */
|
|
114513
|
+
created_at: string;
|
|
114514
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
114515
|
+
message: string;
|
|
114516
|
+
}>;
|
|
114517
|
+
/** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
114518
|
+
warnings: Array<{
|
|
114519
|
+
/** Date and time at which Seam created the warning. */
|
|
114520
|
+
created_at: string;
|
|
114521
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
114522
|
+
message: string;
|
|
114523
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
114524
|
+
warning_code: 'being_deleted';
|
|
114525
|
+
}>;
|
|
114306
114526
|
}>;
|
|
114307
114527
|
};
|
|
114308
114528
|
};
|
|
@@ -11,6 +11,7 @@ export declare const client_session: z.ZodObject<{
|
|
|
11
11
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
12
12
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
13
13
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
14
|
+
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
15
16
|
workspace_id: string;
|
|
16
17
|
created_at: string;
|
|
@@ -22,6 +23,7 @@ export declare const client_session: z.ZodObject<{
|
|
|
22
23
|
device_count: number;
|
|
23
24
|
connect_webview_ids: string[];
|
|
24
25
|
user_identity_ids: string[];
|
|
26
|
+
user_identity_id?: string | undefined;
|
|
25
27
|
customer_id?: string | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
workspace_id: string;
|
|
@@ -34,6 +36,7 @@ export declare const client_session: z.ZodObject<{
|
|
|
34
36
|
device_count: number;
|
|
35
37
|
connect_webview_ids: string[];
|
|
36
38
|
user_identity_ids: string[];
|
|
39
|
+
user_identity_id?: string | undefined;
|
|
37
40
|
customer_id?: string | undefined;
|
|
38
41
|
}>;
|
|
39
42
|
export type ClientSession = z.infer<typeof client_session>;
|
|
@@ -10,7 +10,10 @@ export const client_session = z.object({
|
|
|
10
10
|
customer_id: z.string().uuid().optional(),
|
|
11
11
|
connected_account_ids: z.array(z.string().uuid()),
|
|
12
12
|
connect_webview_ids: z.array(z.string().uuid()),
|
|
13
|
-
user_identity_ids: z
|
|
13
|
+
user_identity_ids: z
|
|
14
|
+
.array(z.string().uuid())
|
|
15
|
+
.describe('deprecated: Use `user_identity_id`.'),
|
|
16
|
+
user_identity_id: z.string().uuid().optional(),
|
|
14
17
|
}).describe(`
|
|
15
18
|
---
|
|
16
19
|
route_path: /client_sessions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/client-sessions/client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IACjD,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IAC/C,iBAAiB,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/client-sessions/client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IACjD,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;IAC/C,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,qCAAqC,CAAC;IAClD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|