@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
package/dist/connect.d.cts
CHANGED
|
@@ -84090,6 +84090,71 @@ declare const _default: {
|
|
|
84090
84090
|
'x-title': string;
|
|
84091
84091
|
};
|
|
84092
84092
|
};
|
|
84093
|
+
'/connected_accounts/simulate/disconnect': {
|
|
84094
|
+
post: {
|
|
84095
|
+
description: string;
|
|
84096
|
+
operationId: string;
|
|
84097
|
+
requestBody: {
|
|
84098
|
+
content: {
|
|
84099
|
+
'application/json': {
|
|
84100
|
+
schema: {
|
|
84101
|
+
properties: {
|
|
84102
|
+
connected_account_id: {
|
|
84103
|
+
format: string;
|
|
84104
|
+
type: string;
|
|
84105
|
+
};
|
|
84106
|
+
};
|
|
84107
|
+
required: string[];
|
|
84108
|
+
type: string;
|
|
84109
|
+
};
|
|
84110
|
+
};
|
|
84111
|
+
};
|
|
84112
|
+
};
|
|
84113
|
+
responses: {
|
|
84114
|
+
200: {
|
|
84115
|
+
content: {
|
|
84116
|
+
'application/json': {
|
|
84117
|
+
schema: {
|
|
84118
|
+
properties: {
|
|
84119
|
+
ok: {
|
|
84120
|
+
type: string;
|
|
84121
|
+
};
|
|
84122
|
+
};
|
|
84123
|
+
required: string[];
|
|
84124
|
+
type: string;
|
|
84125
|
+
};
|
|
84126
|
+
};
|
|
84127
|
+
};
|
|
84128
|
+
description: string;
|
|
84129
|
+
};
|
|
84130
|
+
400: {
|
|
84131
|
+
description: string;
|
|
84132
|
+
};
|
|
84133
|
+
401: {
|
|
84134
|
+
description: string;
|
|
84135
|
+
};
|
|
84136
|
+
};
|
|
84137
|
+
security: ({
|
|
84138
|
+
api_key: never[];
|
|
84139
|
+
pat_with_workspace?: never;
|
|
84140
|
+
console_session_with_workspace?: never;
|
|
84141
|
+
} | {
|
|
84142
|
+
pat_with_workspace: never[];
|
|
84143
|
+
api_key?: never;
|
|
84144
|
+
console_session_with_workspace?: never;
|
|
84145
|
+
} | {
|
|
84146
|
+
console_session_with_workspace: never[];
|
|
84147
|
+
api_key?: never;
|
|
84148
|
+
pat_with_workspace?: never;
|
|
84149
|
+
})[];
|
|
84150
|
+
summary: string;
|
|
84151
|
+
tags: string[];
|
|
84152
|
+
'x-fern-sdk-group-name': string[];
|
|
84153
|
+
'x-fern-sdk-method-name': string;
|
|
84154
|
+
'x-response-key': null;
|
|
84155
|
+
'x-title': string;
|
|
84156
|
+
};
|
|
84157
|
+
};
|
|
84093
84158
|
'/connected_accounts/sync': {
|
|
84094
84159
|
post: {
|
|
84095
84160
|
description: string;
|
|
@@ -143325,6 +143390,17 @@ type Routes = {
|
|
|
143325
143390
|
};
|
|
143326
143391
|
};
|
|
143327
143392
|
};
|
|
143393
|
+
'/connected_accounts/simulate/disconnect': {
|
|
143394
|
+
route: '/connected_accounts/simulate/disconnect';
|
|
143395
|
+
method: 'POST';
|
|
143396
|
+
queryParams: {};
|
|
143397
|
+
jsonBody: {
|
|
143398
|
+
connected_account_id: string;
|
|
143399
|
+
};
|
|
143400
|
+
commonParams: {};
|
|
143401
|
+
formData: {};
|
|
143402
|
+
jsonResponse: {};
|
|
143403
|
+
};
|
|
143328
143404
|
'/connected_accounts/sync': {
|
|
143329
143405
|
route: '/connected_accounts/sync';
|
|
143330
143406
|
method: 'POST';
|
package/dist/index.cjs
CHANGED
|
@@ -43233,6 +43233,52 @@ var openapi_default = {
|
|
|
43233
43233
|
"x-title": "List Connected Accounts"
|
|
43234
43234
|
}
|
|
43235
43235
|
},
|
|
43236
|
+
"/connected_accounts/simulate/disconnect": {
|
|
43237
|
+
post: {
|
|
43238
|
+
description: "Simulates a connected account becoming disconnected from Seam. Only applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).",
|
|
43239
|
+
operationId: "connectedAccountsSimulateDisconnectPost",
|
|
43240
|
+
requestBody: {
|
|
43241
|
+
content: {
|
|
43242
|
+
"application/json": {
|
|
43243
|
+
schema: {
|
|
43244
|
+
properties: {
|
|
43245
|
+
connected_account_id: { format: "uuid", type: "string" }
|
|
43246
|
+
},
|
|
43247
|
+
required: ["connected_account_id"],
|
|
43248
|
+
type: "object"
|
|
43249
|
+
}
|
|
43250
|
+
}
|
|
43251
|
+
}
|
|
43252
|
+
},
|
|
43253
|
+
responses: {
|
|
43254
|
+
200: {
|
|
43255
|
+
content: {
|
|
43256
|
+
"application/json": {
|
|
43257
|
+
schema: {
|
|
43258
|
+
properties: { ok: { type: "boolean" } },
|
|
43259
|
+
required: ["ok"],
|
|
43260
|
+
type: "object"
|
|
43261
|
+
}
|
|
43262
|
+
}
|
|
43263
|
+
},
|
|
43264
|
+
description: "OK"
|
|
43265
|
+
},
|
|
43266
|
+
400: { description: "Bad Request" },
|
|
43267
|
+
401: { description: "Unauthorized" }
|
|
43268
|
+
},
|
|
43269
|
+
security: [
|
|
43270
|
+
{ api_key: [] },
|
|
43271
|
+
{ pat_with_workspace: [] },
|
|
43272
|
+
{ console_session_with_workspace: [] }
|
|
43273
|
+
],
|
|
43274
|
+
summary: "/connected_accounts/simulate/disconnect",
|
|
43275
|
+
tags: ["/connected_accounts"],
|
|
43276
|
+
"x-fern-sdk-group-name": ["connected_accounts", "simulate"],
|
|
43277
|
+
"x-fern-sdk-method-name": "disconnect",
|
|
43278
|
+
"x-response-key": null,
|
|
43279
|
+
"x-title": "Simulate Connected Account Disconnection"
|
|
43280
|
+
}
|
|
43281
|
+
},
|
|
43236
43282
|
"/connected_accounts/sync": {
|
|
43237
43283
|
post: {
|
|
43238
43284
|
description: "Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified `connected_account_id`.",
|