@seamapi/types 1.318.1 → 1.319.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 +23 -53
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +69 -72
- package/lib/seam/connect/openapi.d.ts +68 -71
- package/lib/seam/connect/openapi.js +23 -53
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +23 -53
- package/src/lib/seam/connect/route-types.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -19648,6 +19648,11 @@ declare const _default: {
|
|
|
19648
19648
|
scheme: string;
|
|
19649
19649
|
type: string;
|
|
19650
19650
|
};
|
|
19651
|
+
publishable_key: {
|
|
19652
|
+
in: string;
|
|
19653
|
+
name: string;
|
|
19654
|
+
type: string;
|
|
19655
|
+
};
|
|
19651
19656
|
seam_client_session_token: {
|
|
19652
19657
|
in: string;
|
|
19653
19658
|
name: string;
|
|
@@ -27180,6 +27185,27 @@ declare const _default: {
|
|
|
27180
27185
|
description: string;
|
|
27181
27186
|
};
|
|
27182
27187
|
};
|
|
27188
|
+
security: ({
|
|
27189
|
+
publishable_key: never[];
|
|
27190
|
+
api_key?: never;
|
|
27191
|
+
pat_with_workspace?: never;
|
|
27192
|
+
console_session_with_workspace?: never;
|
|
27193
|
+
} | {
|
|
27194
|
+
api_key: never[];
|
|
27195
|
+
publishable_key?: never;
|
|
27196
|
+
pat_with_workspace?: never;
|
|
27197
|
+
console_session_with_workspace?: never;
|
|
27198
|
+
} | {
|
|
27199
|
+
pat_with_workspace: never[];
|
|
27200
|
+
publishable_key?: never;
|
|
27201
|
+
api_key?: never;
|
|
27202
|
+
console_session_with_workspace?: never;
|
|
27203
|
+
} | {
|
|
27204
|
+
console_session_with_workspace: never[];
|
|
27205
|
+
publishable_key?: never;
|
|
27206
|
+
api_key?: never;
|
|
27207
|
+
pat_with_workspace?: never;
|
|
27208
|
+
})[];
|
|
27183
27209
|
summary: string;
|
|
27184
27210
|
tags: string[];
|
|
27185
27211
|
'x-fern-sdk-group-name': string[];
|
|
@@ -27253,6 +27279,27 @@ declare const _default: {
|
|
|
27253
27279
|
description: string;
|
|
27254
27280
|
};
|
|
27255
27281
|
};
|
|
27282
|
+
security: ({
|
|
27283
|
+
publishable_key: never[];
|
|
27284
|
+
api_key?: never;
|
|
27285
|
+
pat_with_workspace?: never;
|
|
27286
|
+
console_session_with_workspace?: never;
|
|
27287
|
+
} | {
|
|
27288
|
+
api_key: never[];
|
|
27289
|
+
publishable_key?: never;
|
|
27290
|
+
pat_with_workspace?: never;
|
|
27291
|
+
console_session_with_workspace?: never;
|
|
27292
|
+
} | {
|
|
27293
|
+
pat_with_workspace: never[];
|
|
27294
|
+
publishable_key?: never;
|
|
27295
|
+
api_key?: never;
|
|
27296
|
+
console_session_with_workspace?: never;
|
|
27297
|
+
} | {
|
|
27298
|
+
console_session_with_workspace: never[];
|
|
27299
|
+
publishable_key?: never;
|
|
27300
|
+
api_key?: never;
|
|
27301
|
+
pat_with_workspace?: never;
|
|
27302
|
+
})[];
|
|
27256
27303
|
summary: string;
|
|
27257
27304
|
tags: string[];
|
|
27258
27305
|
'x-fern-ignore': boolean;
|
|
@@ -27465,6 +27512,27 @@ declare const _default: {
|
|
|
27465
27512
|
description: string;
|
|
27466
27513
|
};
|
|
27467
27514
|
};
|
|
27515
|
+
security: ({
|
|
27516
|
+
publishable_key: never[];
|
|
27517
|
+
api_key?: never;
|
|
27518
|
+
pat_with_workspace?: never;
|
|
27519
|
+
console_session_with_workspace?: never;
|
|
27520
|
+
} | {
|
|
27521
|
+
api_key: never[];
|
|
27522
|
+
publishable_key?: never;
|
|
27523
|
+
pat_with_workspace?: never;
|
|
27524
|
+
console_session_with_workspace?: never;
|
|
27525
|
+
} | {
|
|
27526
|
+
pat_with_workspace: never[];
|
|
27527
|
+
publishable_key?: never;
|
|
27528
|
+
api_key?: never;
|
|
27529
|
+
console_session_with_workspace?: never;
|
|
27530
|
+
} | {
|
|
27531
|
+
console_session_with_workspace: never[];
|
|
27532
|
+
publishable_key?: never;
|
|
27533
|
+
api_key?: never;
|
|
27534
|
+
pat_with_workspace?: never;
|
|
27535
|
+
})[];
|
|
27468
27536
|
summary: string;
|
|
27469
27537
|
tags: string[];
|
|
27470
27538
|
'x-fern-sdk-group-name': string[];
|
|
@@ -27472,77 +27540,6 @@ declare const _default: {
|
|
|
27472
27540
|
'x-fern-sdk-return-value': string;
|
|
27473
27541
|
'x-response-key': string;
|
|
27474
27542
|
};
|
|
27475
|
-
put: {
|
|
27476
|
-
operationId: string;
|
|
27477
|
-
requestBody: {
|
|
27478
|
-
content: {
|
|
27479
|
-
'application/json': {
|
|
27480
|
-
schema: {
|
|
27481
|
-
properties: {
|
|
27482
|
-
connect_webview_ids: {
|
|
27483
|
-
items: {
|
|
27484
|
-
type: string;
|
|
27485
|
-
};
|
|
27486
|
-
type: string;
|
|
27487
|
-
};
|
|
27488
|
-
connected_account_ids: {
|
|
27489
|
-
items: {
|
|
27490
|
-
type: string;
|
|
27491
|
-
};
|
|
27492
|
-
type: string;
|
|
27493
|
-
};
|
|
27494
|
-
expires_at: {
|
|
27495
|
-
format: string;
|
|
27496
|
-
type: string;
|
|
27497
|
-
};
|
|
27498
|
-
user_identifier_key: {
|
|
27499
|
-
minLength: number;
|
|
27500
|
-
type: string;
|
|
27501
|
-
};
|
|
27502
|
-
user_identity_ids: {
|
|
27503
|
-
items: {
|
|
27504
|
-
type: string;
|
|
27505
|
-
};
|
|
27506
|
-
type: string;
|
|
27507
|
-
};
|
|
27508
|
-
};
|
|
27509
|
-
type: string;
|
|
27510
|
-
};
|
|
27511
|
-
};
|
|
27512
|
-
};
|
|
27513
|
-
};
|
|
27514
|
-
responses: {
|
|
27515
|
-
200: {
|
|
27516
|
-
content: {
|
|
27517
|
-
'application/json': {
|
|
27518
|
-
schema: {
|
|
27519
|
-
properties: {
|
|
27520
|
-
client_session: {
|
|
27521
|
-
$ref: string;
|
|
27522
|
-
};
|
|
27523
|
-
ok: {
|
|
27524
|
-
type: string;
|
|
27525
|
-
};
|
|
27526
|
-
};
|
|
27527
|
-
required: string[];
|
|
27528
|
-
type: string;
|
|
27529
|
-
};
|
|
27530
|
-
};
|
|
27531
|
-
};
|
|
27532
|
-
description: string;
|
|
27533
|
-
};
|
|
27534
|
-
400: {
|
|
27535
|
-
description: string;
|
|
27536
|
-
};
|
|
27537
|
-
401: {
|
|
27538
|
-
description: string;
|
|
27539
|
-
};
|
|
27540
|
-
};
|
|
27541
|
-
summary: string;
|
|
27542
|
-
tags: string[];
|
|
27543
|
-
'x-fern-ignore': boolean;
|
|
27544
|
-
'x-response-key': string;
|
|
27545
|
-
};
|
|
27546
27543
|
};
|
|
27547
27544
|
'/client_sessions/grant_access': {
|
|
27548
27545
|
patch: {
|
|
@@ -46171,7 +46168,7 @@ interface Routes {
|
|
|
46171
46168
|
};
|
|
46172
46169
|
'/client_sessions/get_or_create': {
|
|
46173
46170
|
route: '/client_sessions/get_or_create';
|
|
46174
|
-
method: 'POST'
|
|
46171
|
+
method: 'POST';
|
|
46175
46172
|
queryParams: {};
|
|
46176
46173
|
jsonBody: {
|
|
46177
46174
|
user_identifier_key?: string | undefined;
|
|
@@ -7085,6 +7085,11 @@ declare const _default: {
|
|
|
7085
7085
|
scheme: string;
|
|
7086
7086
|
type: string;
|
|
7087
7087
|
};
|
|
7088
|
+
publishable_key: {
|
|
7089
|
+
in: string;
|
|
7090
|
+
name: string;
|
|
7091
|
+
type: string;
|
|
7092
|
+
};
|
|
7088
7093
|
seam_client_session_token: {
|
|
7089
7094
|
in: string;
|
|
7090
7095
|
name: string;
|
|
@@ -14617,6 +14622,27 @@ declare const _default: {
|
|
|
14617
14622
|
description: string;
|
|
14618
14623
|
};
|
|
14619
14624
|
};
|
|
14625
|
+
security: ({
|
|
14626
|
+
publishable_key: never[];
|
|
14627
|
+
api_key?: never;
|
|
14628
|
+
pat_with_workspace?: never;
|
|
14629
|
+
console_session_with_workspace?: never;
|
|
14630
|
+
} | {
|
|
14631
|
+
api_key: never[];
|
|
14632
|
+
publishable_key?: never;
|
|
14633
|
+
pat_with_workspace?: never;
|
|
14634
|
+
console_session_with_workspace?: never;
|
|
14635
|
+
} | {
|
|
14636
|
+
pat_with_workspace: never[];
|
|
14637
|
+
publishable_key?: never;
|
|
14638
|
+
api_key?: never;
|
|
14639
|
+
console_session_with_workspace?: never;
|
|
14640
|
+
} | {
|
|
14641
|
+
console_session_with_workspace: never[];
|
|
14642
|
+
publishable_key?: never;
|
|
14643
|
+
api_key?: never;
|
|
14644
|
+
pat_with_workspace?: never;
|
|
14645
|
+
})[];
|
|
14620
14646
|
summary: string;
|
|
14621
14647
|
tags: string[];
|
|
14622
14648
|
'x-fern-sdk-group-name': string[];
|
|
@@ -14690,6 +14716,27 @@ declare const _default: {
|
|
|
14690
14716
|
description: string;
|
|
14691
14717
|
};
|
|
14692
14718
|
};
|
|
14719
|
+
security: ({
|
|
14720
|
+
publishable_key: never[];
|
|
14721
|
+
api_key?: never;
|
|
14722
|
+
pat_with_workspace?: never;
|
|
14723
|
+
console_session_with_workspace?: never;
|
|
14724
|
+
} | {
|
|
14725
|
+
api_key: never[];
|
|
14726
|
+
publishable_key?: never;
|
|
14727
|
+
pat_with_workspace?: never;
|
|
14728
|
+
console_session_with_workspace?: never;
|
|
14729
|
+
} | {
|
|
14730
|
+
pat_with_workspace: never[];
|
|
14731
|
+
publishable_key?: never;
|
|
14732
|
+
api_key?: never;
|
|
14733
|
+
console_session_with_workspace?: never;
|
|
14734
|
+
} | {
|
|
14735
|
+
console_session_with_workspace: never[];
|
|
14736
|
+
publishable_key?: never;
|
|
14737
|
+
api_key?: never;
|
|
14738
|
+
pat_with_workspace?: never;
|
|
14739
|
+
})[];
|
|
14693
14740
|
summary: string;
|
|
14694
14741
|
tags: string[];
|
|
14695
14742
|
'x-fern-ignore': boolean;
|
|
@@ -14902,6 +14949,27 @@ declare const _default: {
|
|
|
14902
14949
|
description: string;
|
|
14903
14950
|
};
|
|
14904
14951
|
};
|
|
14952
|
+
security: ({
|
|
14953
|
+
publishable_key: never[];
|
|
14954
|
+
api_key?: never;
|
|
14955
|
+
pat_with_workspace?: never;
|
|
14956
|
+
console_session_with_workspace?: never;
|
|
14957
|
+
} | {
|
|
14958
|
+
api_key: never[];
|
|
14959
|
+
publishable_key?: never;
|
|
14960
|
+
pat_with_workspace?: never;
|
|
14961
|
+
console_session_with_workspace?: never;
|
|
14962
|
+
} | {
|
|
14963
|
+
pat_with_workspace: never[];
|
|
14964
|
+
publishable_key?: never;
|
|
14965
|
+
api_key?: never;
|
|
14966
|
+
console_session_with_workspace?: never;
|
|
14967
|
+
} | {
|
|
14968
|
+
console_session_with_workspace: never[];
|
|
14969
|
+
publishable_key?: never;
|
|
14970
|
+
api_key?: never;
|
|
14971
|
+
pat_with_workspace?: never;
|
|
14972
|
+
})[];
|
|
14905
14973
|
summary: string;
|
|
14906
14974
|
tags: string[];
|
|
14907
14975
|
'x-fern-sdk-group-name': string[];
|
|
@@ -14909,77 +14977,6 @@ declare const _default: {
|
|
|
14909
14977
|
'x-fern-sdk-return-value': string;
|
|
14910
14978
|
'x-response-key': string;
|
|
14911
14979
|
};
|
|
14912
|
-
put: {
|
|
14913
|
-
operationId: string;
|
|
14914
|
-
requestBody: {
|
|
14915
|
-
content: {
|
|
14916
|
-
'application/json': {
|
|
14917
|
-
schema: {
|
|
14918
|
-
properties: {
|
|
14919
|
-
connect_webview_ids: {
|
|
14920
|
-
items: {
|
|
14921
|
-
type: string;
|
|
14922
|
-
};
|
|
14923
|
-
type: string;
|
|
14924
|
-
};
|
|
14925
|
-
connected_account_ids: {
|
|
14926
|
-
items: {
|
|
14927
|
-
type: string;
|
|
14928
|
-
};
|
|
14929
|
-
type: string;
|
|
14930
|
-
};
|
|
14931
|
-
expires_at: {
|
|
14932
|
-
format: string;
|
|
14933
|
-
type: string;
|
|
14934
|
-
};
|
|
14935
|
-
user_identifier_key: {
|
|
14936
|
-
minLength: number;
|
|
14937
|
-
type: string;
|
|
14938
|
-
};
|
|
14939
|
-
user_identity_ids: {
|
|
14940
|
-
items: {
|
|
14941
|
-
type: string;
|
|
14942
|
-
};
|
|
14943
|
-
type: string;
|
|
14944
|
-
};
|
|
14945
|
-
};
|
|
14946
|
-
type: string;
|
|
14947
|
-
};
|
|
14948
|
-
};
|
|
14949
|
-
};
|
|
14950
|
-
};
|
|
14951
|
-
responses: {
|
|
14952
|
-
200: {
|
|
14953
|
-
content: {
|
|
14954
|
-
'application/json': {
|
|
14955
|
-
schema: {
|
|
14956
|
-
properties: {
|
|
14957
|
-
client_session: {
|
|
14958
|
-
$ref: string;
|
|
14959
|
-
};
|
|
14960
|
-
ok: {
|
|
14961
|
-
type: string;
|
|
14962
|
-
};
|
|
14963
|
-
};
|
|
14964
|
-
required: string[];
|
|
14965
|
-
type: string;
|
|
14966
|
-
};
|
|
14967
|
-
};
|
|
14968
|
-
};
|
|
14969
|
-
description: string;
|
|
14970
|
-
};
|
|
14971
|
-
400: {
|
|
14972
|
-
description: string;
|
|
14973
|
-
};
|
|
14974
|
-
401: {
|
|
14975
|
-
description: string;
|
|
14976
|
-
};
|
|
14977
|
-
};
|
|
14978
|
-
summary: string;
|
|
14979
|
-
tags: string[];
|
|
14980
|
-
'x-fern-ignore': boolean;
|
|
14981
|
-
'x-response-key': string;
|
|
14982
|
-
};
|
|
14983
14980
|
};
|
|
14984
14981
|
'/client_sessions/grant_access': {
|
|
14985
14982
|
patch: {
|
|
@@ -10110,6 +10110,11 @@ export default {
|
|
|
10110
10110
|
scheme: 'bearer',
|
|
10111
10111
|
type: 'http',
|
|
10112
10112
|
},
|
|
10113
|
+
publishable_key: {
|
|
10114
|
+
in: 'header',
|
|
10115
|
+
name: 'seam-publishable-key',
|
|
10116
|
+
type: 'apiKey',
|
|
10117
|
+
},
|
|
10113
10118
|
seam_client_session_token: {
|
|
10114
10119
|
in: 'header',
|
|
10115
10120
|
name: 'seam-client-session-token',
|
|
@@ -16306,6 +16311,12 @@ export default {
|
|
|
16306
16311
|
400: { description: 'Bad Request' },
|
|
16307
16312
|
401: { description: 'Unauthorized' },
|
|
16308
16313
|
},
|
|
16314
|
+
security: [
|
|
16315
|
+
{ publishable_key: [] },
|
|
16316
|
+
{ api_key: [] },
|
|
16317
|
+
{ pat_with_workspace: [] },
|
|
16318
|
+
{ console_session_with_workspace: [] },
|
|
16319
|
+
],
|
|
16309
16320
|
summary: '/client_sessions/create',
|
|
16310
16321
|
tags: ['/client_sessions'],
|
|
16311
16322
|
'x-fern-sdk-group-name': ['client_sessions'],
|
|
@@ -16361,6 +16372,12 @@ export default {
|
|
|
16361
16372
|
400: { description: 'Bad Request' },
|
|
16362
16373
|
401: { description: 'Unauthorized' },
|
|
16363
16374
|
},
|
|
16375
|
+
security: [
|
|
16376
|
+
{ publishable_key: [] },
|
|
16377
|
+
{ api_key: [] },
|
|
16378
|
+
{ pat_with_workspace: [] },
|
|
16379
|
+
{ console_session_with_workspace: [] },
|
|
16380
|
+
],
|
|
16364
16381
|
summary: '/client_sessions/create',
|
|
16365
16382
|
tags: ['/client_sessions'],
|
|
16366
16383
|
'x-fern-ignore': true,
|
|
@@ -16511,6 +16528,12 @@ export default {
|
|
|
16511
16528
|
400: { description: 'Bad Request' },
|
|
16512
16529
|
401: { description: 'Unauthorized' },
|
|
16513
16530
|
},
|
|
16531
|
+
security: [
|
|
16532
|
+
{ publishable_key: [] },
|
|
16533
|
+
{ api_key: [] },
|
|
16534
|
+
{ pat_with_workspace: [] },
|
|
16535
|
+
{ console_session_with_workspace: [] },
|
|
16536
|
+
],
|
|
16514
16537
|
summary: '/client_sessions/get_or_create',
|
|
16515
16538
|
tags: ['/client_sessions'],
|
|
16516
16539
|
'x-fern-sdk-group-name': ['client_sessions'],
|
|
@@ -16518,59 +16541,6 @@ export default {
|
|
|
16518
16541
|
'x-fern-sdk-return-value': 'client_session',
|
|
16519
16542
|
'x-response-key': 'client_session',
|
|
16520
16543
|
},
|
|
16521
|
-
put: {
|
|
16522
|
-
operationId: 'clientSessionsGetOrCreatePut',
|
|
16523
|
-
requestBody: {
|
|
16524
|
-
content: {
|
|
16525
|
-
'application/json': {
|
|
16526
|
-
schema: {
|
|
16527
|
-
properties: {
|
|
16528
|
-
connect_webview_ids: {
|
|
16529
|
-
items: { type: 'string' },
|
|
16530
|
-
type: 'array',
|
|
16531
|
-
},
|
|
16532
|
-
connected_account_ids: {
|
|
16533
|
-
items: { type: 'string' },
|
|
16534
|
-
type: 'array',
|
|
16535
|
-
},
|
|
16536
|
-
expires_at: { format: 'date-time', type: 'string' },
|
|
16537
|
-
user_identifier_key: { minLength: 1, type: 'string' },
|
|
16538
|
-
user_identity_ids: {
|
|
16539
|
-
items: { type: 'string' },
|
|
16540
|
-
type: 'array',
|
|
16541
|
-
},
|
|
16542
|
-
},
|
|
16543
|
-
type: 'object',
|
|
16544
|
-
},
|
|
16545
|
-
},
|
|
16546
|
-
},
|
|
16547
|
-
},
|
|
16548
|
-
responses: {
|
|
16549
|
-
200: {
|
|
16550
|
-
content: {
|
|
16551
|
-
'application/json': {
|
|
16552
|
-
schema: {
|
|
16553
|
-
properties: {
|
|
16554
|
-
client_session: {
|
|
16555
|
-
$ref: '#/components/schemas/client_session',
|
|
16556
|
-
},
|
|
16557
|
-
ok: { type: 'boolean' },
|
|
16558
|
-
},
|
|
16559
|
-
required: ['client_session', 'ok'],
|
|
16560
|
-
type: 'object',
|
|
16561
|
-
},
|
|
16562
|
-
},
|
|
16563
|
-
},
|
|
16564
|
-
description: 'OK',
|
|
16565
|
-
},
|
|
16566
|
-
400: { description: 'Bad Request' },
|
|
16567
|
-
401: { description: 'Unauthorized' },
|
|
16568
|
-
},
|
|
16569
|
-
summary: '/client_sessions/get_or_create',
|
|
16570
|
-
tags: ['/client_sessions'],
|
|
16571
|
-
'x-fern-ignore': true,
|
|
16572
|
-
'x-response-key': 'client_session',
|
|
16573
|
-
},
|
|
16574
16544
|
},
|
|
16575
16545
|
'/client_sessions/grant_access': {
|
|
16576
16546
|
patch: {
|