@seamapi/types 1.406.5 → 1.406.6
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 +24 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +76 -60
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +4 -3
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +66 -59
- package/lib/seam/connect/openapi.js +20 -19
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +4 -3
- package/src/lib/seam/connect/openapi.ts +20 -19
- package/src/lib/seam/connect/route-types.ts +7 -1
package/dist/connect.d.cts
CHANGED
|
@@ -10277,6 +10277,7 @@ declare const client_session: z.ZodObject<{
|
|
|
10277
10277
|
token: z.ZodString;
|
|
10278
10278
|
user_identifier_key: z.ZodNullable<z.ZodString>;
|
|
10279
10279
|
device_count: z.ZodNumber;
|
|
10280
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
10280
10281
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
10281
10282
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
10282
10283
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -10291,6 +10292,7 @@ declare const client_session: z.ZodObject<{
|
|
|
10291
10292
|
device_count: number;
|
|
10292
10293
|
connect_webview_ids: string[];
|
|
10293
10294
|
user_identity_ids: string[];
|
|
10295
|
+
customer_id?: string | undefined;
|
|
10294
10296
|
}, {
|
|
10295
10297
|
workspace_id: string;
|
|
10296
10298
|
created_at: string;
|
|
@@ -10302,6 +10304,7 @@ declare const client_session: z.ZodObject<{
|
|
|
10302
10304
|
device_count: number;
|
|
10303
10305
|
connect_webview_ids: string[];
|
|
10304
10306
|
user_identity_ids: string[];
|
|
10307
|
+
customer_id?: string | undefined;
|
|
10305
10308
|
}>;
|
|
10306
10309
|
type ClientSession = z.infer<typeof client_session>;
|
|
10307
10310
|
|
|
@@ -24193,6 +24196,10 @@ declare const _default: {
|
|
|
24193
24196
|
format: string;
|
|
24194
24197
|
type: string;
|
|
24195
24198
|
};
|
|
24199
|
+
customer_id: {
|
|
24200
|
+
format: string;
|
|
24201
|
+
type: string;
|
|
24202
|
+
};
|
|
24196
24203
|
device_count: {
|
|
24197
24204
|
format: string;
|
|
24198
24205
|
type: string;
|
|
@@ -32287,17 +32294,17 @@ declare const _default: {
|
|
|
32287
32294
|
name: string;
|
|
32288
32295
|
type: string;
|
|
32289
32296
|
};
|
|
32290
|
-
|
|
32297
|
+
client_session_with_customer: {
|
|
32291
32298
|
bearerFormat: string;
|
|
32292
32299
|
scheme: string;
|
|
32293
32300
|
type: string;
|
|
32294
32301
|
};
|
|
32295
|
-
|
|
32302
|
+
console_session_with_workspace: {
|
|
32296
32303
|
bearerFormat: string;
|
|
32297
32304
|
scheme: string;
|
|
32298
32305
|
type: string;
|
|
32299
32306
|
};
|
|
32300
|
-
|
|
32307
|
+
console_session_without_workspace: {
|
|
32301
32308
|
bearerFormat: string;
|
|
32302
32309
|
scheme: string;
|
|
32303
32310
|
type: string;
|
|
@@ -40679,12 +40686,12 @@ declare const _default: {
|
|
|
40679
40686
|
};
|
|
40680
40687
|
security: ({
|
|
40681
40688
|
client_session: never[];
|
|
40682
|
-
|
|
40689
|
+
client_session_with_customer?: never;
|
|
40683
40690
|
pat_with_workspace?: never;
|
|
40684
40691
|
console_session_with_workspace?: never;
|
|
40685
40692
|
api_key?: never;
|
|
40686
40693
|
} | {
|
|
40687
|
-
|
|
40694
|
+
client_session_with_customer: never[];
|
|
40688
40695
|
client_session?: never;
|
|
40689
40696
|
pat_with_workspace?: never;
|
|
40690
40697
|
console_session_with_workspace?: never;
|
|
@@ -40692,19 +40699,19 @@ declare const _default: {
|
|
|
40692
40699
|
} | {
|
|
40693
40700
|
pat_with_workspace: never[];
|
|
40694
40701
|
client_session?: never;
|
|
40695
|
-
|
|
40702
|
+
client_session_with_customer?: never;
|
|
40696
40703
|
console_session_with_workspace?: never;
|
|
40697
40704
|
api_key?: never;
|
|
40698
40705
|
} | {
|
|
40699
40706
|
console_session_with_workspace: never[];
|
|
40700
40707
|
client_session?: never;
|
|
40701
|
-
|
|
40708
|
+
client_session_with_customer?: never;
|
|
40702
40709
|
pat_with_workspace?: never;
|
|
40703
40710
|
api_key?: never;
|
|
40704
40711
|
} | {
|
|
40705
40712
|
api_key: never[];
|
|
40706
40713
|
client_session?: never;
|
|
40707
|
-
|
|
40714
|
+
client_session_with_customer?: never;
|
|
40708
40715
|
pat_with_workspace?: never;
|
|
40709
40716
|
console_session_with_workspace?: never;
|
|
40710
40717
|
})[];
|
|
@@ -40833,12 +40840,12 @@ declare const _default: {
|
|
|
40833
40840
|
};
|
|
40834
40841
|
security: ({
|
|
40835
40842
|
client_session: never[];
|
|
40836
|
-
|
|
40843
|
+
client_session_with_customer?: never;
|
|
40837
40844
|
pat_with_workspace?: never;
|
|
40838
40845
|
console_session_with_workspace?: never;
|
|
40839
40846
|
api_key?: never;
|
|
40840
40847
|
} | {
|
|
40841
|
-
|
|
40848
|
+
client_session_with_customer: never[];
|
|
40842
40849
|
client_session?: never;
|
|
40843
40850
|
pat_with_workspace?: never;
|
|
40844
40851
|
console_session_with_workspace?: never;
|
|
@@ -40846,19 +40853,19 @@ declare const _default: {
|
|
|
40846
40853
|
} | {
|
|
40847
40854
|
pat_with_workspace: never[];
|
|
40848
40855
|
client_session?: never;
|
|
40849
|
-
|
|
40856
|
+
client_session_with_customer?: never;
|
|
40850
40857
|
console_session_with_workspace?: never;
|
|
40851
40858
|
api_key?: never;
|
|
40852
40859
|
} | {
|
|
40853
40860
|
console_session_with_workspace: never[];
|
|
40854
40861
|
client_session?: never;
|
|
40855
|
-
|
|
40862
|
+
client_session_with_customer?: never;
|
|
40856
40863
|
pat_with_workspace?: never;
|
|
40857
40864
|
api_key?: never;
|
|
40858
40865
|
} | {
|
|
40859
40866
|
api_key: never[];
|
|
40860
40867
|
client_session?: never;
|
|
40861
|
-
|
|
40868
|
+
client_session_with_customer?: never;
|
|
40862
40869
|
pat_with_workspace?: never;
|
|
40863
40870
|
console_session_with_workspace?: never;
|
|
40864
40871
|
})[];
|
|
@@ -40889,7 +40896,10 @@ declare const _default: {
|
|
|
40889
40896
|
description: string;
|
|
40890
40897
|
type: string;
|
|
40891
40898
|
};
|
|
40892
|
-
|
|
40899
|
+
customer_ids: {
|
|
40900
|
+
items: {
|
|
40901
|
+
type: string;
|
|
40902
|
+
};
|
|
40893
40903
|
type: string;
|
|
40894
40904
|
};
|
|
40895
40905
|
limit: {
|
|
@@ -40940,12 +40950,12 @@ declare const _default: {
|
|
|
40940
40950
|
};
|
|
40941
40951
|
security: ({
|
|
40942
40952
|
client_session: never[];
|
|
40943
|
-
|
|
40953
|
+
client_session_with_customer?: never;
|
|
40944
40954
|
pat_with_workspace?: never;
|
|
40945
40955
|
console_session_with_workspace?: never;
|
|
40946
40956
|
api_key?: never;
|
|
40947
40957
|
} | {
|
|
40948
|
-
|
|
40958
|
+
client_session_with_customer: never[];
|
|
40949
40959
|
client_session?: never;
|
|
40950
40960
|
pat_with_workspace?: never;
|
|
40951
40961
|
console_session_with_workspace?: never;
|
|
@@ -40953,19 +40963,19 @@ declare const _default: {
|
|
|
40953
40963
|
} | {
|
|
40954
40964
|
pat_with_workspace: never[];
|
|
40955
40965
|
client_session?: never;
|
|
40956
|
-
|
|
40966
|
+
client_session_with_customer?: never;
|
|
40957
40967
|
console_session_with_workspace?: never;
|
|
40958
40968
|
api_key?: never;
|
|
40959
40969
|
} | {
|
|
40960
40970
|
console_session_with_workspace: never[];
|
|
40961
40971
|
client_session?: never;
|
|
40962
|
-
|
|
40972
|
+
client_session_with_customer?: never;
|
|
40963
40973
|
pat_with_workspace?: never;
|
|
40964
40974
|
api_key?: never;
|
|
40965
40975
|
} | {
|
|
40966
40976
|
api_key: never[];
|
|
40967
40977
|
client_session?: never;
|
|
40968
|
-
|
|
40978
|
+
client_session_with_customer?: never;
|
|
40969
40979
|
pat_with_workspace?: never;
|
|
40970
40980
|
console_session_with_workspace?: never;
|
|
40971
40981
|
})[];
|
|
@@ -41032,19 +41042,19 @@ declare const _default: {
|
|
|
41032
41042
|
api_key: never[];
|
|
41033
41043
|
pat_with_workspace?: never;
|
|
41034
41044
|
console_session_with_workspace?: never;
|
|
41035
|
-
|
|
41045
|
+
client_session_with_customer?: never;
|
|
41036
41046
|
} | {
|
|
41037
41047
|
pat_with_workspace: never[];
|
|
41038
41048
|
api_key?: never;
|
|
41039
41049
|
console_session_with_workspace?: never;
|
|
41040
|
-
|
|
41050
|
+
client_session_with_customer?: never;
|
|
41041
41051
|
} | {
|
|
41042
41052
|
console_session_with_workspace: never[];
|
|
41043
41053
|
api_key?: never;
|
|
41044
41054
|
pat_with_workspace?: never;
|
|
41045
|
-
|
|
41055
|
+
client_session_with_customer?: never;
|
|
41046
41056
|
} | {
|
|
41047
|
-
|
|
41057
|
+
client_session_with_customer: never[];
|
|
41048
41058
|
api_key?: never;
|
|
41049
41059
|
pat_with_workspace?: never;
|
|
41050
41060
|
console_session_with_workspace?: never;
|
|
@@ -41233,19 +41243,19 @@ declare const _default: {
|
|
|
41233
41243
|
api_key: never[];
|
|
41234
41244
|
pat_with_workspace?: never;
|
|
41235
41245
|
console_session_with_workspace?: never;
|
|
41236
|
-
|
|
41246
|
+
client_session_with_customer?: never;
|
|
41237
41247
|
} | {
|
|
41238
41248
|
pat_with_workspace: never[];
|
|
41239
41249
|
api_key?: never;
|
|
41240
41250
|
console_session_with_workspace?: never;
|
|
41241
|
-
|
|
41251
|
+
client_session_with_customer?: never;
|
|
41242
41252
|
} | {
|
|
41243
41253
|
console_session_with_workspace: never[];
|
|
41244
41254
|
api_key?: never;
|
|
41245
41255
|
pat_with_workspace?: never;
|
|
41246
|
-
|
|
41256
|
+
client_session_with_customer?: never;
|
|
41247
41257
|
} | {
|
|
41248
|
-
|
|
41258
|
+
client_session_with_customer: never[];
|
|
41249
41259
|
api_key?: never;
|
|
41250
41260
|
pat_with_workspace?: never;
|
|
41251
41261
|
console_session_with_workspace?: never;
|
|
@@ -41533,12 +41543,12 @@ declare const _default: {
|
|
|
41533
41543
|
};
|
|
41534
41544
|
security: ({
|
|
41535
41545
|
client_session: never[];
|
|
41536
|
-
|
|
41546
|
+
client_session_with_customer?: never;
|
|
41537
41547
|
pat_with_workspace?: never;
|
|
41538
41548
|
console_session_with_workspace?: never;
|
|
41539
41549
|
api_key?: never;
|
|
41540
41550
|
} | {
|
|
41541
|
-
|
|
41551
|
+
client_session_with_customer: never[];
|
|
41542
41552
|
client_session?: never;
|
|
41543
41553
|
pat_with_workspace?: never;
|
|
41544
41554
|
console_session_with_workspace?: never;
|
|
@@ -41546,19 +41556,19 @@ declare const _default: {
|
|
|
41546
41556
|
} | {
|
|
41547
41557
|
pat_with_workspace: never[];
|
|
41548
41558
|
client_session?: never;
|
|
41549
|
-
|
|
41559
|
+
client_session_with_customer?: never;
|
|
41550
41560
|
console_session_with_workspace?: never;
|
|
41551
41561
|
api_key?: never;
|
|
41552
41562
|
} | {
|
|
41553
41563
|
console_session_with_workspace: never[];
|
|
41554
41564
|
client_session?: never;
|
|
41555
|
-
|
|
41565
|
+
client_session_with_customer?: never;
|
|
41556
41566
|
pat_with_workspace?: never;
|
|
41557
41567
|
api_key?: never;
|
|
41558
41568
|
} | {
|
|
41559
41569
|
api_key: never[];
|
|
41560
41570
|
client_session?: never;
|
|
41561
|
-
|
|
41571
|
+
client_session_with_customer?: never;
|
|
41562
41572
|
pat_with_workspace?: never;
|
|
41563
41573
|
console_session_with_workspace?: never;
|
|
41564
41574
|
})[];
|
|
@@ -41729,32 +41739,32 @@ declare const _default: {
|
|
|
41729
41739
|
};
|
|
41730
41740
|
};
|
|
41731
41741
|
security: ({
|
|
41732
|
-
|
|
41742
|
+
client_session_with_customer: never[];
|
|
41733
41743
|
client_session?: never;
|
|
41734
41744
|
pat_with_workspace?: never;
|
|
41735
41745
|
console_session_with_workspace?: never;
|
|
41736
41746
|
api_key?: never;
|
|
41737
41747
|
} | {
|
|
41738
41748
|
client_session: never[];
|
|
41739
|
-
|
|
41749
|
+
client_session_with_customer?: never;
|
|
41740
41750
|
pat_with_workspace?: never;
|
|
41741
41751
|
console_session_with_workspace?: never;
|
|
41742
41752
|
api_key?: never;
|
|
41743
41753
|
} | {
|
|
41744
41754
|
pat_with_workspace: never[];
|
|
41745
|
-
|
|
41755
|
+
client_session_with_customer?: never;
|
|
41746
41756
|
client_session?: never;
|
|
41747
41757
|
console_session_with_workspace?: never;
|
|
41748
41758
|
api_key?: never;
|
|
41749
41759
|
} | {
|
|
41750
41760
|
console_session_with_workspace: never[];
|
|
41751
|
-
|
|
41761
|
+
client_session_with_customer?: never;
|
|
41752
41762
|
client_session?: never;
|
|
41753
41763
|
pat_with_workspace?: never;
|
|
41754
41764
|
api_key?: never;
|
|
41755
41765
|
} | {
|
|
41756
41766
|
api_key: never[];
|
|
41757
|
-
|
|
41767
|
+
client_session_with_customer?: never;
|
|
41758
41768
|
client_session?: never;
|
|
41759
41769
|
pat_with_workspace?: never;
|
|
41760
41770
|
console_session_with_workspace?: never;
|
|
@@ -42902,27 +42912,27 @@ declare const _default: {
|
|
|
42902
42912
|
api_key?: never;
|
|
42903
42913
|
pat_with_workspace?: never;
|
|
42904
42914
|
console_session_with_workspace?: never;
|
|
42905
|
-
|
|
42915
|
+
client_session_with_customer?: never;
|
|
42906
42916
|
} | {
|
|
42907
42917
|
api_key: never[];
|
|
42908
42918
|
client_session?: never;
|
|
42909
42919
|
pat_with_workspace?: never;
|
|
42910
42920
|
console_session_with_workspace?: never;
|
|
42911
|
-
|
|
42921
|
+
client_session_with_customer?: never;
|
|
42912
42922
|
} | {
|
|
42913
42923
|
pat_with_workspace: never[];
|
|
42914
42924
|
client_session?: never;
|
|
42915
42925
|
api_key?: never;
|
|
42916
42926
|
console_session_with_workspace?: never;
|
|
42917
|
-
|
|
42927
|
+
client_session_with_customer?: never;
|
|
42918
42928
|
} | {
|
|
42919
42929
|
console_session_with_workspace: never[];
|
|
42920
42930
|
client_session?: never;
|
|
42921
42931
|
api_key?: never;
|
|
42922
42932
|
pat_with_workspace?: never;
|
|
42923
|
-
|
|
42933
|
+
client_session_with_customer?: never;
|
|
42924
42934
|
} | {
|
|
42925
|
-
|
|
42935
|
+
client_session_with_customer: never[];
|
|
42926
42936
|
client_session?: never;
|
|
42927
42937
|
api_key?: never;
|
|
42928
42938
|
pat_with_workspace?: never;
|
|
@@ -46243,7 +46253,7 @@ declare const _default: {
|
|
|
46243
46253
|
};
|
|
46244
46254
|
};
|
|
46245
46255
|
security: {
|
|
46246
|
-
|
|
46256
|
+
client_session_with_customer: never[];
|
|
46247
46257
|
}[];
|
|
46248
46258
|
summary: string;
|
|
46249
46259
|
tags: never[];
|
|
@@ -49503,19 +49513,19 @@ declare const _default: {
|
|
|
49503
49513
|
pat_with_workspace: never[];
|
|
49504
49514
|
console_session_with_workspace?: never;
|
|
49505
49515
|
api_key?: never;
|
|
49506
|
-
|
|
49516
|
+
client_session_with_customer?: never;
|
|
49507
49517
|
} | {
|
|
49508
49518
|
console_session_with_workspace: never[];
|
|
49509
49519
|
pat_with_workspace?: never;
|
|
49510
49520
|
api_key?: never;
|
|
49511
|
-
|
|
49521
|
+
client_session_with_customer?: never;
|
|
49512
49522
|
} | {
|
|
49513
49523
|
api_key: never[];
|
|
49514
49524
|
pat_with_workspace?: never;
|
|
49515
49525
|
console_session_with_workspace?: never;
|
|
49516
|
-
|
|
49526
|
+
client_session_with_customer?: never;
|
|
49517
49527
|
} | {
|
|
49518
|
-
|
|
49528
|
+
client_session_with_customer: never[];
|
|
49519
49529
|
pat_with_workspace?: never;
|
|
49520
49530
|
console_session_with_workspace?: never;
|
|
49521
49531
|
api_key?: never;
|
|
@@ -49579,19 +49589,19 @@ declare const _default: {
|
|
|
49579
49589
|
pat_with_workspace: never[];
|
|
49580
49590
|
console_session_with_workspace?: never;
|
|
49581
49591
|
api_key?: never;
|
|
49582
|
-
|
|
49592
|
+
client_session_with_customer?: never;
|
|
49583
49593
|
} | {
|
|
49584
49594
|
console_session_with_workspace: never[];
|
|
49585
49595
|
pat_with_workspace?: never;
|
|
49586
49596
|
api_key?: never;
|
|
49587
|
-
|
|
49597
|
+
client_session_with_customer?: never;
|
|
49588
49598
|
} | {
|
|
49589
49599
|
api_key: never[];
|
|
49590
49600
|
pat_with_workspace?: never;
|
|
49591
49601
|
console_session_with_workspace?: never;
|
|
49592
|
-
|
|
49602
|
+
client_session_with_customer?: never;
|
|
49593
49603
|
} | {
|
|
49594
|
-
|
|
49604
|
+
client_session_with_customer: never[];
|
|
49595
49605
|
pat_with_workspace?: never;
|
|
49596
49606
|
console_session_with_workspace?: never;
|
|
49597
49607
|
api_key?: never;
|
|
@@ -49734,19 +49744,19 @@ declare const _default: {
|
|
|
49734
49744
|
pat_with_workspace: never[];
|
|
49735
49745
|
console_session_with_workspace?: never;
|
|
49736
49746
|
api_key?: never;
|
|
49737
|
-
|
|
49747
|
+
client_session_with_customer?: never;
|
|
49738
49748
|
} | {
|
|
49739
49749
|
console_session_with_workspace: never[];
|
|
49740
49750
|
pat_with_workspace?: never;
|
|
49741
49751
|
api_key?: never;
|
|
49742
|
-
|
|
49752
|
+
client_session_with_customer?: never;
|
|
49743
49753
|
} | {
|
|
49744
49754
|
api_key: never[];
|
|
49745
49755
|
pat_with_workspace?: never;
|
|
49746
49756
|
console_session_with_workspace?: never;
|
|
49747
|
-
|
|
49757
|
+
client_session_with_customer?: never;
|
|
49748
49758
|
} | {
|
|
49749
|
-
|
|
49759
|
+
client_session_with_customer: never[];
|
|
49750
49760
|
pat_with_workspace?: never;
|
|
49751
49761
|
console_session_with_workspace?: never;
|
|
49752
49762
|
api_key?: never;
|
|
@@ -49907,19 +49917,19 @@ declare const _default: {
|
|
|
49907
49917
|
pat_with_workspace: never[];
|
|
49908
49918
|
console_session_with_workspace?: never;
|
|
49909
49919
|
api_key?: never;
|
|
49910
|
-
|
|
49920
|
+
client_session_with_customer?: never;
|
|
49911
49921
|
} | {
|
|
49912
49922
|
console_session_with_workspace: never[];
|
|
49913
49923
|
pat_with_workspace?: never;
|
|
49914
49924
|
api_key?: never;
|
|
49915
|
-
|
|
49925
|
+
client_session_with_customer?: never;
|
|
49916
49926
|
} | {
|
|
49917
49927
|
api_key: never[];
|
|
49918
49928
|
pat_with_workspace?: never;
|
|
49919
49929
|
console_session_with_workspace?: never;
|
|
49920
|
-
|
|
49930
|
+
client_session_with_customer?: never;
|
|
49921
49931
|
} | {
|
|
49922
|
-
|
|
49932
|
+
client_session_with_customer: never[];
|
|
49923
49933
|
pat_with_workspace?: never;
|
|
49924
49934
|
console_session_with_workspace?: never;
|
|
49925
49935
|
api_key?: never;
|
|
@@ -72985,6 +72995,7 @@ interface Routes {
|
|
|
72985
72995
|
token: string;
|
|
72986
72996
|
user_identifier_key: string | null;
|
|
72987
72997
|
device_count: number;
|
|
72998
|
+
customer_id?: string | undefined;
|
|
72988
72999
|
connected_account_ids: string[];
|
|
72989
73000
|
connect_webview_ids: string[];
|
|
72990
73001
|
user_identity_ids: string[];
|
|
@@ -73033,6 +73044,7 @@ interface Routes {
|
|
|
73033
73044
|
token: string;
|
|
73034
73045
|
user_identifier_key: string | null;
|
|
73035
73046
|
device_count: number;
|
|
73047
|
+
customer_id?: string | undefined;
|
|
73036
73048
|
connected_account_ids: string[];
|
|
73037
73049
|
connect_webview_ids: string[];
|
|
73038
73050
|
user_identity_ids: string[];
|
|
@@ -73075,6 +73087,7 @@ interface Routes {
|
|
|
73075
73087
|
token: string;
|
|
73076
73088
|
user_identifier_key: string | null;
|
|
73077
73089
|
device_count: number;
|
|
73090
|
+
customer_id?: string | undefined;
|
|
73078
73091
|
connected_account_ids: string[];
|
|
73079
73092
|
connect_webview_ids: string[];
|
|
73080
73093
|
user_identity_ids: string[];
|
|
@@ -73117,6 +73130,7 @@ interface Routes {
|
|
|
73117
73130
|
token: string;
|
|
73118
73131
|
user_identifier_key: string | null;
|
|
73119
73132
|
device_count: number;
|
|
73133
|
+
customer_id?: string | undefined;
|
|
73120
73134
|
connected_account_ids: string[];
|
|
73121
73135
|
connect_webview_ids: string[];
|
|
73122
73136
|
user_identity_ids: string[];
|
|
@@ -73150,6 +73164,7 @@ interface Routes {
|
|
|
73150
73164
|
token: string;
|
|
73151
73165
|
user_identifier_key: string | null;
|
|
73152
73166
|
device_count: number;
|
|
73167
|
+
customer_id?: string | undefined;
|
|
73153
73168
|
connected_account_ids: string[];
|
|
73154
73169
|
connect_webview_ids: string[];
|
|
73155
73170
|
user_identity_ids: string[];
|
|
@@ -73331,7 +73346,7 @@ interface Routes {
|
|
|
73331
73346
|
queryParams: {};
|
|
73332
73347
|
jsonBody: {};
|
|
73333
73348
|
commonParams: {
|
|
73334
|
-
|
|
73349
|
+
customer_ids?: string[] | undefined;
|
|
73335
73350
|
/** Your user ID for the user by which you want to filter Connect Webviews. */
|
|
73336
73351
|
user_identifier_key?: string | undefined;
|
|
73337
73352
|
/** Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. */
|
|
@@ -95628,6 +95643,7 @@ interface Routes {
|
|
|
95628
95643
|
token: string;
|
|
95629
95644
|
user_identifier_key: string | null;
|
|
95630
95645
|
device_count: number;
|
|
95646
|
+
customer_id?: string | undefined;
|
|
95631
95647
|
connected_account_ids: string[];
|
|
95632
95648
|
connect_webview_ids: string[];
|
|
95633
95649
|
user_identity_ids: string[];
|
|
@@ -7,6 +7,7 @@ export declare const client_session: z.ZodObject<{
|
|
|
7
7
|
token: z.ZodString;
|
|
8
8
|
user_identifier_key: z.ZodNullable<z.ZodString>;
|
|
9
9
|
device_count: z.ZodNumber;
|
|
10
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
10
11
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
11
12
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
12
13
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -21,6 +22,7 @@ export declare const client_session: z.ZodObject<{
|
|
|
21
22
|
device_count: number;
|
|
22
23
|
connect_webview_ids: string[];
|
|
23
24
|
user_identity_ids: string[];
|
|
25
|
+
customer_id?: string | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
workspace_id: string;
|
|
26
28
|
created_at: string;
|
|
@@ -32,5 +34,6 @@ export declare const client_session: z.ZodObject<{
|
|
|
32
34
|
device_count: number;
|
|
33
35
|
connect_webview_ids: string[];
|
|
34
36
|
user_identity_ids: string[];
|
|
37
|
+
customer_id?: string | undefined;
|
|
35
38
|
}>;
|
|
36
39
|
export type ClientSession = z.infer<typeof client_session>;
|
|
@@ -7,6 +7,7 @@ export const client_session = z.object({
|
|
|
7
7
|
token: z.string(),
|
|
8
8
|
user_identifier_key: z.string().nullable(),
|
|
9
9
|
device_count: z.number(),
|
|
10
|
+
customer_id: z.string().uuid().optional(),
|
|
10
11
|
connected_account_ids: z.array(z.string().uuid()),
|
|
11
12
|
connect_webview_ids: z.array(z.string().uuid()),
|
|
12
13
|
user_identity_ids: z.array(z.string().uuid()),
|
|
@@ -15,11 +16,11 @@ export const client_session = z.object({
|
|
|
15
16
|
route_path: /client_sessions
|
|
16
17
|
---
|
|
17
18
|
Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
|
|
18
|
-
|
|
19
|
+
|
|
19
20
|
You create each client session with a custom \`user_identifier_key\`. Normally, the \`user_identifier_key\` is a user ID that your application provides.
|
|
20
|
-
|
|
21
|
+
|
|
21
22
|
When calling the Seam API from your backend using an API key, you can pass the \`user_identifier_key\` as a parameter to limit results to the associated client session. For example, \`/devices/list?user_identifier_key=123\` only returns devices associated with the client session created with the \`user_identifier_key\` \`123\`.
|
|
22
|
-
|
|
23
|
+
|
|
23
24
|
A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
|
|
24
25
|
|
|
25
26
|
See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens).
|
|
@@ -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,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,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|
|
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,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|