@seamapi/types 1.622.0 → 1.623.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 +6 -52
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +10 -87
- package/dist/index.cjs +6 -52
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -71
- package/lib/seam/connect/openapi.js +6 -52
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -16
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +6 -55
- package/src/lib/seam/connect/route-types.ts +4 -16
|
@@ -43394,6 +43394,7 @@ declare const _default: {
|
|
|
43394
43394
|
type: string;
|
|
43395
43395
|
};
|
|
43396
43396
|
client: {
|
|
43397
|
+
default: string;
|
|
43397
43398
|
minLength: number;
|
|
43398
43399
|
type: string;
|
|
43399
43400
|
};
|
|
@@ -43401,6 +43402,10 @@ declare const _default: {
|
|
|
43401
43402
|
minLength: number;
|
|
43402
43403
|
type: string;
|
|
43403
43404
|
};
|
|
43405
|
+
enterprise_id: {
|
|
43406
|
+
format: string;
|
|
43407
|
+
type: string;
|
|
43408
|
+
};
|
|
43404
43409
|
enterprise_ids: {
|
|
43405
43410
|
items: {
|
|
43406
43411
|
format: string;
|
|
@@ -43409,17 +43414,16 @@ declare const _default: {
|
|
|
43409
43414
|
type: string;
|
|
43410
43415
|
};
|
|
43411
43416
|
};
|
|
43412
|
-
required: string[];
|
|
43413
43417
|
type: string;
|
|
43414
43418
|
} | {
|
|
43415
43419
|
properties: {
|
|
43416
43420
|
access_token?: never;
|
|
43417
43421
|
client?: never;
|
|
43418
43422
|
client_token?: never;
|
|
43423
|
+
enterprise_id?: never;
|
|
43419
43424
|
enterprise_ids?: never;
|
|
43420
43425
|
};
|
|
43421
43426
|
type: string;
|
|
43422
|
-
required?: never;
|
|
43423
43427
|
})[];
|
|
43424
43428
|
};
|
|
43425
43429
|
connector_type: {
|
|
@@ -45929,75 +45933,6 @@ declare const _default: {
|
|
|
45929
45933
|
'x-undocumented': string;
|
|
45930
45934
|
};
|
|
45931
45935
|
};
|
|
45932
|
-
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
45933
|
-
post: {
|
|
45934
|
-
description: string;
|
|
45935
|
-
operationId: string;
|
|
45936
|
-
requestBody: {
|
|
45937
|
-
content: {
|
|
45938
|
-
'application/json': {
|
|
45939
|
-
schema: {
|
|
45940
|
-
properties: {};
|
|
45941
|
-
type: string;
|
|
45942
|
-
};
|
|
45943
|
-
};
|
|
45944
|
-
};
|
|
45945
|
-
};
|
|
45946
|
-
responses: {
|
|
45947
|
-
200: {
|
|
45948
|
-
content: {
|
|
45949
|
-
'application/json': {
|
|
45950
|
-
schema: {
|
|
45951
|
-
properties: {
|
|
45952
|
-
error: {
|
|
45953
|
-
type: string;
|
|
45954
|
-
};
|
|
45955
|
-
ok: {
|
|
45956
|
-
type: string;
|
|
45957
|
-
};
|
|
45958
|
-
processed_events: {
|
|
45959
|
-
format: string;
|
|
45960
|
-
type: string;
|
|
45961
|
-
};
|
|
45962
|
-
success: {
|
|
45963
|
-
type: string;
|
|
45964
|
-
};
|
|
45965
|
-
};
|
|
45966
|
-
required: string[];
|
|
45967
|
-
type: string;
|
|
45968
|
-
};
|
|
45969
|
-
};
|
|
45970
|
-
};
|
|
45971
|
-
description: string;
|
|
45972
|
-
};
|
|
45973
|
-
400: {
|
|
45974
|
-
description: string;
|
|
45975
|
-
};
|
|
45976
|
-
401: {
|
|
45977
|
-
description: string;
|
|
45978
|
-
};
|
|
45979
|
-
};
|
|
45980
|
-
security: ({
|
|
45981
|
-
pat_with_workspace: never[];
|
|
45982
|
-
console_session_with_workspace?: never;
|
|
45983
|
-
api_key?: never;
|
|
45984
|
-
} | {
|
|
45985
|
-
console_session_with_workspace: never[];
|
|
45986
|
-
pat_with_workspace?: never;
|
|
45987
|
-
api_key?: never;
|
|
45988
|
-
} | {
|
|
45989
|
-
api_key: never[];
|
|
45990
|
-
pat_with_workspace?: never;
|
|
45991
|
-
console_session_with_workspace?: never;
|
|
45992
|
-
})[];
|
|
45993
|
-
summary: string;
|
|
45994
|
-
tags: string[];
|
|
45995
|
-
'x-fern-sdk-group-name': string[];
|
|
45996
|
-
'x-fern-sdk-method-name': string;
|
|
45997
|
-
'x-response-key': null;
|
|
45998
|
-
'x-title': string;
|
|
45999
|
-
};
|
|
46000
|
-
};
|
|
46001
45936
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
46002
45937
|
post: {
|
|
46003
45938
|
description: string;
|
|
@@ -48287,14 +48287,18 @@ export default {
|
|
|
48287
48287
|
{
|
|
48288
48288
|
properties: {
|
|
48289
48289
|
access_token: { minLength: 1, type: 'string' },
|
|
48290
|
-
client: {
|
|
48290
|
+
client: {
|
|
48291
|
+
default: 'seam',
|
|
48292
|
+
minLength: 1,
|
|
48293
|
+
type: 'string',
|
|
48294
|
+
},
|
|
48291
48295
|
client_token: { minLength: 1, type: 'string' },
|
|
48296
|
+
enterprise_id: { format: 'uuid', type: 'string' },
|
|
48292
48297
|
enterprise_ids: {
|
|
48293
48298
|
items: { format: 'uuid', type: 'string' },
|
|
48294
48299
|
type: 'array',
|
|
48295
48300
|
},
|
|
48296
48301
|
},
|
|
48297
|
-
required: ['client_token', 'access_token', 'client'],
|
|
48298
48302
|
type: 'object',
|
|
48299
48303
|
},
|
|
48300
48304
|
{ properties: {}, type: 'object' },
|
|
@@ -50684,56 +50688,6 @@ export default {
|
|
|
50684
50688
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50685
50689
|
},
|
|
50686
50690
|
},
|
|
50687
|
-
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
50688
|
-
post: {
|
|
50689
|
-
description: 'Receives webhook events from external connector APIs and processes them into partner resources.',
|
|
50690
|
-
operationId: 'seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost',
|
|
50691
|
-
requestBody: {
|
|
50692
|
-
content: {
|
|
50693
|
-
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
50694
|
-
},
|
|
50695
|
-
},
|
|
50696
|
-
responses: {
|
|
50697
|
-
200: {
|
|
50698
|
-
content: {
|
|
50699
|
-
'application/json': {
|
|
50700
|
-
schema: {
|
|
50701
|
-
properties: {
|
|
50702
|
-
error: { type: 'string' },
|
|
50703
|
-
ok: { type: 'boolean' },
|
|
50704
|
-
processed_events: { format: 'float', type: 'number' },
|
|
50705
|
-
success: { type: 'boolean' },
|
|
50706
|
-
},
|
|
50707
|
-
required: ['success', 'processed_events', 'ok'],
|
|
50708
|
-
type: 'object',
|
|
50709
|
-
},
|
|
50710
|
-
},
|
|
50711
|
-
},
|
|
50712
|
-
description: 'OK',
|
|
50713
|
-
},
|
|
50714
|
-
400: { description: 'Bad Request' },
|
|
50715
|
-
401: { description: 'Unauthorized' },
|
|
50716
|
-
},
|
|
50717
|
-
security: [
|
|
50718
|
-
{ pat_with_workspace: [] },
|
|
50719
|
-
{ console_session_with_workspace: [] },
|
|
50720
|
-
{ api_key: [] },
|
|
50721
|
-
],
|
|
50722
|
-
summary: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]',
|
|
50723
|
-
tags: ['/webhooks'],
|
|
50724
|
-
'x-fern-sdk-group-name': [
|
|
50725
|
-
'seam',
|
|
50726
|
-
'customer',
|
|
50727
|
-
'v1',
|
|
50728
|
-
'webhooks',
|
|
50729
|
-
'connectors',
|
|
50730
|
-
'[workspace_id]',
|
|
50731
|
-
],
|
|
50732
|
-
'x-fern-sdk-method-name': 'by_connector_id',
|
|
50733
|
-
'x-response-key': null,
|
|
50734
|
-
'x-title': 'Connector Webhook Endpoint',
|
|
50735
|
-
},
|
|
50736
|
-
},
|
|
50737
50691
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
50738
50692
|
post: {
|
|
50739
50693
|
description: 'Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.',
|