@seamapi/types 1.405.0 → 1.406.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 +152 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +236 -0
- package/lib/seam/connect/openapi.d.ts +200 -0
- package/lib/seam/connect/openapi.js +152 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +154 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
|
@@ -19263,6 +19263,18 @@ export interface Routes {
|
|
|
19263
19263
|
};
|
|
19264
19264
|
};
|
|
19265
19265
|
};
|
|
19266
|
+
'/connected_accounts/sync': {
|
|
19267
|
+
route: '/connected_accounts/sync';
|
|
19268
|
+
method: 'POST';
|
|
19269
|
+
queryParams: {};
|
|
19270
|
+
jsonBody: {
|
|
19271
|
+
/** ID of the connected account that you want to sync. */
|
|
19272
|
+
connected_account_id: string;
|
|
19273
|
+
};
|
|
19274
|
+
commonParams: {};
|
|
19275
|
+
formData: {};
|
|
19276
|
+
jsonResponse: {};
|
|
19277
|
+
};
|
|
19266
19278
|
'/connected_accounts/update': {
|
|
19267
19279
|
route: '/connected_accounts/update';
|
|
19268
19280
|
method: 'POST';
|
|
@@ -50808,6 +50820,18 @@ export interface Routes {
|
|
|
50808
50820
|
};
|
|
50809
50821
|
};
|
|
50810
50822
|
};
|
|
50823
|
+
'/unstable_access_grants/delete': {
|
|
50824
|
+
route: '/unstable_access_grants/delete';
|
|
50825
|
+
method: 'GET' | 'POST';
|
|
50826
|
+
queryParams: {};
|
|
50827
|
+
jsonBody: {};
|
|
50828
|
+
commonParams: {
|
|
50829
|
+
/** ID of access grant to delete. */
|
|
50830
|
+
access_grant_id: string;
|
|
50831
|
+
};
|
|
50832
|
+
formData: {};
|
|
50833
|
+
jsonResponse: {};
|
|
50834
|
+
};
|
|
50811
50835
|
'/unstable_access_grants/get': {
|
|
50812
50836
|
route: '/unstable_access_grants/get';
|
|
50813
50837
|
method: 'GET' | 'POST';
|
|
@@ -50895,6 +50919,18 @@ export interface Routes {
|
|
|
50895
50919
|
}>;
|
|
50896
50920
|
};
|
|
50897
50921
|
};
|
|
50922
|
+
'/unstable_access_methods/delete': {
|
|
50923
|
+
route: '/unstable_access_methods/delete';
|
|
50924
|
+
method: 'GET' | 'POST';
|
|
50925
|
+
queryParams: {};
|
|
50926
|
+
jsonBody: {};
|
|
50927
|
+
commonParams: {
|
|
50928
|
+
/** ID of access method to get. */
|
|
50929
|
+
access_method_id: string;
|
|
50930
|
+
};
|
|
50931
|
+
formData: {};
|
|
50932
|
+
jsonResponse: {};
|
|
50933
|
+
};
|
|
50898
50934
|
'/unstable_access_methods/get': {
|
|
50899
50935
|
route: '/unstable_access_methods/get';
|
|
50900
50936
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -27302,6 +27302,58 @@ export default {
|
|
|
27302
27302
|
'x-title': 'List Connected Accounts',
|
|
27303
27303
|
},
|
|
27304
27304
|
},
|
|
27305
|
+
'/connected_accounts/sync': {
|
|
27306
|
+
post: {
|
|
27307
|
+
description:
|
|
27308
|
+
'Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified connected_account_id.',
|
|
27309
|
+
operationId: 'connectedAccountsSyncPost',
|
|
27310
|
+
requestBody: {
|
|
27311
|
+
content: {
|
|
27312
|
+
'application/json': {
|
|
27313
|
+
schema: {
|
|
27314
|
+
properties: {
|
|
27315
|
+
connected_account_id: {
|
|
27316
|
+
description:
|
|
27317
|
+
'ID of the connected account that you want to sync.',
|
|
27318
|
+
format: 'uuid',
|
|
27319
|
+
type: 'string',
|
|
27320
|
+
},
|
|
27321
|
+
},
|
|
27322
|
+
required: ['connected_account_id'],
|
|
27323
|
+
type: 'object',
|
|
27324
|
+
},
|
|
27325
|
+
},
|
|
27326
|
+
},
|
|
27327
|
+
},
|
|
27328
|
+
responses: {
|
|
27329
|
+
200: {
|
|
27330
|
+
content: {
|
|
27331
|
+
'application/json': {
|
|
27332
|
+
schema: {
|
|
27333
|
+
properties: { ok: { type: 'boolean' } },
|
|
27334
|
+
required: ['ok'],
|
|
27335
|
+
type: 'object',
|
|
27336
|
+
},
|
|
27337
|
+
},
|
|
27338
|
+
},
|
|
27339
|
+
description: 'OK',
|
|
27340
|
+
},
|
|
27341
|
+
400: { description: 'Bad Request' },
|
|
27342
|
+
401: { description: 'Unauthorized' },
|
|
27343
|
+
},
|
|
27344
|
+
security: [
|
|
27345
|
+
{ api_key: [] },
|
|
27346
|
+
{ pat_with_workspace: [] },
|
|
27347
|
+
{ console_session_with_workspace: [] },
|
|
27348
|
+
],
|
|
27349
|
+
summary: '/connected_accounts/sync',
|
|
27350
|
+
tags: ['/connected_accounts'],
|
|
27351
|
+
'x-fern-sdk-group-name': ['connected_accounts'],
|
|
27352
|
+
'x-fern-sdk-method-name': 'sync',
|
|
27353
|
+
'x-response-key': null,
|
|
27354
|
+
'x-title': 'Sync a Connected Account',
|
|
27355
|
+
},
|
|
27356
|
+
},
|
|
27305
27357
|
'/connected_accounts/update': {
|
|
27306
27358
|
post: {
|
|
27307
27359
|
description:
|
|
@@ -34740,6 +34792,57 @@ export default {
|
|
|
34740
34792
|
'x-undocumented': 'Unreleased.',
|
|
34741
34793
|
},
|
|
34742
34794
|
},
|
|
34795
|
+
'/unstable_access_grants/delete': {
|
|
34796
|
+
post: {
|
|
34797
|
+
description: 'Delete an access grant.',
|
|
34798
|
+
operationId: 'unstableAccessGrantsDeletePost',
|
|
34799
|
+
requestBody: {
|
|
34800
|
+
content: {
|
|
34801
|
+
'application/json': {
|
|
34802
|
+
schema: {
|
|
34803
|
+
properties: {
|
|
34804
|
+
access_grant_id: {
|
|
34805
|
+
description: 'ID of access grant to delete.',
|
|
34806
|
+
format: 'uuid',
|
|
34807
|
+
type: 'string',
|
|
34808
|
+
},
|
|
34809
|
+
},
|
|
34810
|
+
required: ['access_grant_id'],
|
|
34811
|
+
type: 'object',
|
|
34812
|
+
},
|
|
34813
|
+
},
|
|
34814
|
+
},
|
|
34815
|
+
},
|
|
34816
|
+
responses: {
|
|
34817
|
+
200: {
|
|
34818
|
+
content: {
|
|
34819
|
+
'application/json': {
|
|
34820
|
+
schema: {
|
|
34821
|
+
properties: { ok: { type: 'boolean' } },
|
|
34822
|
+
required: ['ok'],
|
|
34823
|
+
type: 'object',
|
|
34824
|
+
},
|
|
34825
|
+
},
|
|
34826
|
+
},
|
|
34827
|
+
description: 'OK',
|
|
34828
|
+
},
|
|
34829
|
+
400: { description: 'Bad Request' },
|
|
34830
|
+
401: { description: 'Unauthorized' },
|
|
34831
|
+
},
|
|
34832
|
+
security: [
|
|
34833
|
+
{ pat_with_workspace: [] },
|
|
34834
|
+
{ console_session_with_workspace: [] },
|
|
34835
|
+
{ api_key: [] },
|
|
34836
|
+
],
|
|
34837
|
+
summary: '/unstable_access_grants/delete',
|
|
34838
|
+
tags: [],
|
|
34839
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
34840
|
+
'x-fern-sdk-method-name': 'delete',
|
|
34841
|
+
'x-response-key': null,
|
|
34842
|
+
'x-title': 'Delete an Access Grant',
|
|
34843
|
+
'x-undocumented': 'Unreleased.',
|
|
34844
|
+
},
|
|
34845
|
+
},
|
|
34743
34846
|
'/unstable_access_grants/get': {
|
|
34744
34847
|
post: {
|
|
34745
34848
|
description: 'Get an access grant.',
|
|
@@ -35059,6 +35162,57 @@ export default {
|
|
|
35059
35162
|
'x-undocumented': 'Unreleased.',
|
|
35060
35163
|
},
|
|
35061
35164
|
},
|
|
35165
|
+
'/unstable_access_methods/delete': {
|
|
35166
|
+
post: {
|
|
35167
|
+
description: 'Delete an access method.',
|
|
35168
|
+
operationId: 'unstableAccessMethodsDeletePost',
|
|
35169
|
+
requestBody: {
|
|
35170
|
+
content: {
|
|
35171
|
+
'application/json': {
|
|
35172
|
+
schema: {
|
|
35173
|
+
properties: {
|
|
35174
|
+
access_method_id: {
|
|
35175
|
+
description: 'ID of access method to get.',
|
|
35176
|
+
format: 'uuid',
|
|
35177
|
+
type: 'string',
|
|
35178
|
+
},
|
|
35179
|
+
},
|
|
35180
|
+
required: ['access_method_id'],
|
|
35181
|
+
type: 'object',
|
|
35182
|
+
},
|
|
35183
|
+
},
|
|
35184
|
+
},
|
|
35185
|
+
},
|
|
35186
|
+
responses: {
|
|
35187
|
+
200: {
|
|
35188
|
+
content: {
|
|
35189
|
+
'application/json': {
|
|
35190
|
+
schema: {
|
|
35191
|
+
properties: { ok: { type: 'boolean' } },
|
|
35192
|
+
required: ['ok'],
|
|
35193
|
+
type: 'object',
|
|
35194
|
+
},
|
|
35195
|
+
},
|
|
35196
|
+
},
|
|
35197
|
+
description: 'OK',
|
|
35198
|
+
},
|
|
35199
|
+
400: { description: 'Bad Request' },
|
|
35200
|
+
401: { description: 'Unauthorized' },
|
|
35201
|
+
},
|
|
35202
|
+
security: [
|
|
35203
|
+
{ pat_with_workspace: [] },
|
|
35204
|
+
{ console_session_with_workspace: [] },
|
|
35205
|
+
{ api_key: [] },
|
|
35206
|
+
],
|
|
35207
|
+
summary: '/unstable_access_methods/delete',
|
|
35208
|
+
tags: [],
|
|
35209
|
+
'x-fern-sdk-group-name': ['unstable_access_methods'],
|
|
35210
|
+
'x-fern-sdk-method-name': 'delete',
|
|
35211
|
+
'x-response-key': null,
|
|
35212
|
+
'x-title': 'Delete an Access Method',
|
|
35213
|
+
'x-undocumented': 'Unreleased.',
|
|
35214
|
+
},
|
|
35215
|
+
},
|
|
35062
35216
|
'/unstable_access_methods/get': {
|
|
35063
35217
|
post: {
|
|
35064
35218
|
description: 'Get an access method.',
|
|
@@ -22327,6 +22327,18 @@ export interface Routes {
|
|
|
22327
22327
|
}
|
|
22328
22328
|
}
|
|
22329
22329
|
}
|
|
22330
|
+
'/connected_accounts/sync': {
|
|
22331
|
+
route: '/connected_accounts/sync'
|
|
22332
|
+
method: 'POST'
|
|
22333
|
+
queryParams: {}
|
|
22334
|
+
jsonBody: {
|
|
22335
|
+
/** ID of the connected account that you want to sync. */
|
|
22336
|
+
connected_account_id: string
|
|
22337
|
+
}
|
|
22338
|
+
commonParams: {}
|
|
22339
|
+
formData: {}
|
|
22340
|
+
jsonResponse: {}
|
|
22341
|
+
}
|
|
22330
22342
|
'/connected_accounts/update': {
|
|
22331
22343
|
route: '/connected_accounts/update'
|
|
22332
22344
|
method: 'POST'
|
|
@@ -60748,6 +60760,18 @@ export interface Routes {
|
|
|
60748
60760
|
}
|
|
60749
60761
|
}
|
|
60750
60762
|
}
|
|
60763
|
+
'/unstable_access_grants/delete': {
|
|
60764
|
+
route: '/unstable_access_grants/delete'
|
|
60765
|
+
method: 'GET' | 'POST'
|
|
60766
|
+
queryParams: {}
|
|
60767
|
+
jsonBody: {}
|
|
60768
|
+
commonParams: {
|
|
60769
|
+
/** ID of access grant to delete. */
|
|
60770
|
+
access_grant_id: string
|
|
60771
|
+
}
|
|
60772
|
+
formData: {}
|
|
60773
|
+
jsonResponse: {}
|
|
60774
|
+
}
|
|
60751
60775
|
'/unstable_access_grants/get': {
|
|
60752
60776
|
route: '/unstable_access_grants/get'
|
|
60753
60777
|
method: 'GET' | 'POST'
|
|
@@ -60835,6 +60859,18 @@ export interface Routes {
|
|
|
60835
60859
|
}>
|
|
60836
60860
|
}
|
|
60837
60861
|
}
|
|
60862
|
+
'/unstable_access_methods/delete': {
|
|
60863
|
+
route: '/unstable_access_methods/delete'
|
|
60864
|
+
method: 'GET' | 'POST'
|
|
60865
|
+
queryParams: {}
|
|
60866
|
+
jsonBody: {}
|
|
60867
|
+
commonParams: {
|
|
60868
|
+
/** ID of access method to get. */
|
|
60869
|
+
access_method_id: string
|
|
60870
|
+
}
|
|
60871
|
+
formData: {}
|
|
60872
|
+
jsonResponse: {}
|
|
60873
|
+
}
|
|
60838
60874
|
'/unstable_access_methods/get': {
|
|
60839
60875
|
route: '/unstable_access_methods/get'
|
|
60840
60876
|
method: 'GET' | 'POST'
|