@seamapi/types 1.643.0 → 1.644.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 +46 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +76 -0
- package/dist/index.cjs +46 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +65 -0
- package/lib/seam/connect/openapi.js +46 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +47 -0
- package/src/lib/seam/connect/route-types.ts +11 -0
|
@@ -32014,6 +32014,71 @@ declare const _default: {
|
|
|
32014
32014
|
'x-title': string;
|
|
32015
32015
|
};
|
|
32016
32016
|
};
|
|
32017
|
+
'/connected_accounts/simulate/disconnect': {
|
|
32018
|
+
post: {
|
|
32019
|
+
description: string;
|
|
32020
|
+
operationId: string;
|
|
32021
|
+
requestBody: {
|
|
32022
|
+
content: {
|
|
32023
|
+
'application/json': {
|
|
32024
|
+
schema: {
|
|
32025
|
+
properties: {
|
|
32026
|
+
connected_account_id: {
|
|
32027
|
+
format: string;
|
|
32028
|
+
type: string;
|
|
32029
|
+
};
|
|
32030
|
+
};
|
|
32031
|
+
required: string[];
|
|
32032
|
+
type: string;
|
|
32033
|
+
};
|
|
32034
|
+
};
|
|
32035
|
+
};
|
|
32036
|
+
};
|
|
32037
|
+
responses: {
|
|
32038
|
+
200: {
|
|
32039
|
+
content: {
|
|
32040
|
+
'application/json': {
|
|
32041
|
+
schema: {
|
|
32042
|
+
properties: {
|
|
32043
|
+
ok: {
|
|
32044
|
+
type: string;
|
|
32045
|
+
};
|
|
32046
|
+
};
|
|
32047
|
+
required: string[];
|
|
32048
|
+
type: string;
|
|
32049
|
+
};
|
|
32050
|
+
};
|
|
32051
|
+
};
|
|
32052
|
+
description: string;
|
|
32053
|
+
};
|
|
32054
|
+
400: {
|
|
32055
|
+
description: string;
|
|
32056
|
+
};
|
|
32057
|
+
401: {
|
|
32058
|
+
description: string;
|
|
32059
|
+
};
|
|
32060
|
+
};
|
|
32061
|
+
security: ({
|
|
32062
|
+
api_key: never[];
|
|
32063
|
+
pat_with_workspace?: never;
|
|
32064
|
+
console_session_with_workspace?: never;
|
|
32065
|
+
} | {
|
|
32066
|
+
pat_with_workspace: never[];
|
|
32067
|
+
api_key?: never;
|
|
32068
|
+
console_session_with_workspace?: never;
|
|
32069
|
+
} | {
|
|
32070
|
+
console_session_with_workspace: never[];
|
|
32071
|
+
api_key?: never;
|
|
32072
|
+
pat_with_workspace?: never;
|
|
32073
|
+
})[];
|
|
32074
|
+
summary: string;
|
|
32075
|
+
tags: string[];
|
|
32076
|
+
'x-fern-sdk-group-name': string[];
|
|
32077
|
+
'x-fern-sdk-method-name': string;
|
|
32078
|
+
'x-response-key': null;
|
|
32079
|
+
'x-title': string;
|
|
32080
|
+
};
|
|
32081
|
+
};
|
|
32017
32082
|
'/connected_accounts/sync': {
|
|
32018
32083
|
post: {
|
|
32019
32084
|
description: string;
|
|
@@ -37339,6 +37339,52 @@ export default {
|
|
|
37339
37339
|
'x-title': 'List Connected Accounts',
|
|
37340
37340
|
},
|
|
37341
37341
|
},
|
|
37342
|
+
'/connected_accounts/simulate/disconnect': {
|
|
37343
|
+
post: {
|
|
37344
|
+
description: 'Simulates a connected account becoming disconnected from Seam. Only applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).',
|
|
37345
|
+
operationId: 'connectedAccountsSimulateDisconnectPost',
|
|
37346
|
+
requestBody: {
|
|
37347
|
+
content: {
|
|
37348
|
+
'application/json': {
|
|
37349
|
+
schema: {
|
|
37350
|
+
properties: {
|
|
37351
|
+
connected_account_id: { format: 'uuid', type: 'string' },
|
|
37352
|
+
},
|
|
37353
|
+
required: ['connected_account_id'],
|
|
37354
|
+
type: 'object',
|
|
37355
|
+
},
|
|
37356
|
+
},
|
|
37357
|
+
},
|
|
37358
|
+
},
|
|
37359
|
+
responses: {
|
|
37360
|
+
200: {
|
|
37361
|
+
content: {
|
|
37362
|
+
'application/json': {
|
|
37363
|
+
schema: {
|
|
37364
|
+
properties: { ok: { type: 'boolean' } },
|
|
37365
|
+
required: ['ok'],
|
|
37366
|
+
type: 'object',
|
|
37367
|
+
},
|
|
37368
|
+
},
|
|
37369
|
+
},
|
|
37370
|
+
description: 'OK',
|
|
37371
|
+
},
|
|
37372
|
+
400: { description: 'Bad Request' },
|
|
37373
|
+
401: { description: 'Unauthorized' },
|
|
37374
|
+
},
|
|
37375
|
+
security: [
|
|
37376
|
+
{ api_key: [] },
|
|
37377
|
+
{ pat_with_workspace: [] },
|
|
37378
|
+
{ console_session_with_workspace: [] },
|
|
37379
|
+
],
|
|
37380
|
+
summary: '/connected_accounts/simulate/disconnect',
|
|
37381
|
+
tags: ['/connected_accounts'],
|
|
37382
|
+
'x-fern-sdk-group-name': ['connected_accounts', 'simulate'],
|
|
37383
|
+
'x-fern-sdk-method-name': 'disconnect',
|
|
37384
|
+
'x-response-key': null,
|
|
37385
|
+
'x-title': 'Simulate Connected Account Disconnection',
|
|
37386
|
+
},
|
|
37387
|
+
},
|
|
37342
37388
|
'/connected_accounts/sync': {
|
|
37343
37389
|
post: {
|
|
37344
37390
|
description: 'Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified `connected_account_id`.',
|