@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.
@@ -40780,6 +40780,72 @@ declare const _default: {
40780
40780
  'x-title': string;
40781
40781
  };
40782
40782
  };
40783
+ '/connected_accounts/sync': {
40784
+ post: {
40785
+ description: string;
40786
+ operationId: string;
40787
+ requestBody: {
40788
+ content: {
40789
+ 'application/json': {
40790
+ schema: {
40791
+ properties: {
40792
+ connected_account_id: {
40793
+ description: string;
40794
+ format: string;
40795
+ type: string;
40796
+ };
40797
+ };
40798
+ required: string[];
40799
+ type: string;
40800
+ };
40801
+ };
40802
+ };
40803
+ };
40804
+ responses: {
40805
+ 200: {
40806
+ content: {
40807
+ 'application/json': {
40808
+ schema: {
40809
+ properties: {
40810
+ ok: {
40811
+ type: string;
40812
+ };
40813
+ };
40814
+ required: string[];
40815
+ type: string;
40816
+ };
40817
+ };
40818
+ };
40819
+ description: string;
40820
+ };
40821
+ 400: {
40822
+ description: string;
40823
+ };
40824
+ 401: {
40825
+ description: string;
40826
+ };
40827
+ };
40828
+ security: ({
40829
+ api_key: never[];
40830
+ pat_with_workspace?: never;
40831
+ console_session_with_workspace?: never;
40832
+ } | {
40833
+ pat_with_workspace: never[];
40834
+ api_key?: never;
40835
+ console_session_with_workspace?: never;
40836
+ } | {
40837
+ console_session_with_workspace: never[];
40838
+ api_key?: never;
40839
+ pat_with_workspace?: never;
40840
+ })[];
40841
+ summary: string;
40842
+ tags: string[];
40843
+ 'x-fern-sdk-group-name': string[];
40844
+ 'x-fern-sdk-method-name': string;
40845
+ 'x-response-key': null;
40846
+ 'x-title': string;
40847
+ };
40848
+ };
40783
40849
  '/connected_accounts/update': {
40784
40850
  post: {
40785
40851
  description: string;
@@ -48811,6 +48877,73 @@ declare const _default: {
48811
48877
  'x-undocumented': string;
48812
48878
  };
48813
48879
  };
48880
+ '/unstable_access_grants/delete': {
48881
+ post: {
48882
+ description: string;
48883
+ operationId: string;
48884
+ requestBody: {
48885
+ content: {
48886
+ 'application/json': {
48887
+ schema: {
48888
+ properties: {
48889
+ access_grant_id: {
48890
+ description: string;
48891
+ format: string;
48892
+ type: string;
48893
+ };
48894
+ };
48895
+ required: string[];
48896
+ type: string;
48897
+ };
48898
+ };
48899
+ };
48900
+ };
48901
+ responses: {
48902
+ 200: {
48903
+ content: {
48904
+ 'application/json': {
48905
+ schema: {
48906
+ properties: {
48907
+ ok: {
48908
+ type: string;
48909
+ };
48910
+ };
48911
+ required: string[];
48912
+ type: string;
48913
+ };
48914
+ };
48915
+ };
48916
+ description: string;
48917
+ };
48918
+ 400: {
48919
+ description: string;
48920
+ };
48921
+ 401: {
48922
+ description: string;
48923
+ };
48924
+ };
48925
+ security: ({
48926
+ pat_with_workspace: never[];
48927
+ console_session_with_workspace?: never;
48928
+ api_key?: never;
48929
+ } | {
48930
+ console_session_with_workspace: never[];
48931
+ pat_with_workspace?: never;
48932
+ api_key?: never;
48933
+ } | {
48934
+ api_key: never[];
48935
+ pat_with_workspace?: never;
48936
+ console_session_with_workspace?: never;
48937
+ })[];
48938
+ summary: string;
48939
+ tags: never[];
48940
+ 'x-fern-sdk-group-name': string[];
48941
+ 'x-fern-sdk-method-name': string;
48942
+ 'x-response-key': null;
48943
+ 'x-title': string;
48944
+ 'x-undocumented': string;
48945
+ };
48946
+ };
48814
48947
  '/unstable_access_grants/get': {
48815
48948
  post: {
48816
48949
  description: string;
@@ -49124,6 +49257,73 @@ declare const _default: {
49124
49257
  'x-undocumented': string;
49125
49258
  };
49126
49259
  };
49260
+ '/unstable_access_methods/delete': {
49261
+ post: {
49262
+ description: string;
49263
+ operationId: string;
49264
+ requestBody: {
49265
+ content: {
49266
+ 'application/json': {
49267
+ schema: {
49268
+ properties: {
49269
+ access_method_id: {
49270
+ description: string;
49271
+ format: string;
49272
+ type: string;
49273
+ };
49274
+ };
49275
+ required: string[];
49276
+ type: string;
49277
+ };
49278
+ };
49279
+ };
49280
+ };
49281
+ responses: {
49282
+ 200: {
49283
+ content: {
49284
+ 'application/json': {
49285
+ schema: {
49286
+ properties: {
49287
+ ok: {
49288
+ type: string;
49289
+ };
49290
+ };
49291
+ required: string[];
49292
+ type: string;
49293
+ };
49294
+ };
49295
+ };
49296
+ description: string;
49297
+ };
49298
+ 400: {
49299
+ description: string;
49300
+ };
49301
+ 401: {
49302
+ description: string;
49303
+ };
49304
+ };
49305
+ security: ({
49306
+ pat_with_workspace: never[];
49307
+ console_session_with_workspace?: never;
49308
+ api_key?: never;
49309
+ } | {
49310
+ console_session_with_workspace: never[];
49311
+ pat_with_workspace?: never;
49312
+ api_key?: never;
49313
+ } | {
49314
+ api_key: never[];
49315
+ pat_with_workspace?: never;
49316
+ console_session_with_workspace?: never;
49317
+ })[];
49318
+ summary: string;
49319
+ tags: never[];
49320
+ 'x-fern-sdk-group-name': string[];
49321
+ 'x-fern-sdk-method-name': string;
49322
+ 'x-response-key': null;
49323
+ 'x-title': string;
49324
+ 'x-undocumented': string;
49325
+ };
49326
+ };
49127
49327
  '/unstable_access_methods/get': {
49128
49328
  post: {
49129
49329
  description: string;
@@ -72622,6 +72822,18 @@ interface Routes {
72622
72822
  };
72623
72823
  };
72624
72824
  };
72825
+ '/connected_accounts/sync': {
72826
+ route: '/connected_accounts/sync';
72827
+ method: 'POST';
72828
+ queryParams: {};
72829
+ jsonBody: {
72830
+ /** ID of the connected account that you want to sync. */
72831
+ connected_account_id: string;
72832
+ };
72833
+ commonParams: {};
72834
+ formData: {};
72835
+ jsonResponse: {};
72836
+ };
72625
72837
  '/connected_accounts/update': {
72626
72838
  route: '/connected_accounts/update';
72627
72839
  method: 'POST';
@@ -104167,6 +104379,18 @@ interface Routes {
104167
104379
  };
104168
104380
  };
104169
104381
  };
104382
+ '/unstable_access_grants/delete': {
104383
+ route: '/unstable_access_grants/delete';
104384
+ method: 'GET' | 'POST';
104385
+ queryParams: {};
104386
+ jsonBody: {};
104387
+ commonParams: {
104388
+ /** ID of access grant to delete. */
104389
+ access_grant_id: string;
104390
+ };
104391
+ formData: {};
104392
+ jsonResponse: {};
104393
+ };
104170
104394
  '/unstable_access_grants/get': {
104171
104395
  route: '/unstable_access_grants/get';
104172
104396
  method: 'GET' | 'POST';
@@ -104254,6 +104478,18 @@ interface Routes {
104254
104478
  }>;
104255
104479
  };
104256
104480
  };
104481
+ '/unstable_access_methods/delete': {
104482
+ route: '/unstable_access_methods/delete';
104483
+ method: 'GET' | 'POST';
104484
+ queryParams: {};
104485
+ jsonBody: {};
104486
+ commonParams: {
104487
+ /** ID of access method to get. */
104488
+ access_method_id: string;
104489
+ };
104490
+ formData: {};
104491
+ jsonResponse: {};
104492
+ };
104257
104493
  '/unstable_access_methods/get': {
104258
104494
  route: '/unstable_access_methods/get';
104259
104495
  method: 'GET' | 'POST';
@@ -19442,6 +19442,72 @@ declare const _default: {
19442
19442
  'x-title': string;
19443
19443
  };
19444
19444
  };
19445
+ '/connected_accounts/sync': {
19446
+ post: {
19447
+ description: string;
19448
+ operationId: string;
19449
+ requestBody: {
19450
+ content: {
19451
+ 'application/json': {
19452
+ schema: {
19453
+ properties: {
19454
+ connected_account_id: {
19455
+ description: string;
19456
+ format: string;
19457
+ type: string;
19458
+ };
19459
+ };
19460
+ required: string[];
19461
+ type: string;
19462
+ };
19463
+ };
19464
+ };
19465
+ };
19466
+ responses: {
19467
+ 200: {
19468
+ content: {
19469
+ 'application/json': {
19470
+ schema: {
19471
+ properties: {
19472
+ ok: {
19473
+ type: string;
19474
+ };
19475
+ };
19476
+ required: string[];
19477
+ type: string;
19478
+ };
19479
+ };
19480
+ };
19481
+ description: string;
19482
+ };
19483
+ 400: {
19484
+ description: string;
19485
+ };
19486
+ 401: {
19487
+ description: string;
19488
+ };
19489
+ };
19490
+ security: ({
19491
+ api_key: never[];
19492
+ pat_with_workspace?: never;
19493
+ console_session_with_workspace?: never;
19494
+ } | {
19495
+ pat_with_workspace: never[];
19496
+ api_key?: never;
19497
+ console_session_with_workspace?: never;
19498
+ } | {
19499
+ console_session_with_workspace: never[];
19500
+ api_key?: never;
19501
+ pat_with_workspace?: never;
19502
+ })[];
19503
+ summary: string;
19504
+ tags: string[];
19505
+ 'x-fern-sdk-group-name': string[];
19506
+ 'x-fern-sdk-method-name': string;
19507
+ 'x-response-key': null;
19508
+ 'x-title': string;
19509
+ };
19510
+ };
19445
19511
  '/connected_accounts/update': {
19446
19512
  post: {
19447
19513
  description: string;
@@ -27473,6 +27539,73 @@ declare const _default: {
27473
27539
  'x-undocumented': string;
27474
27540
  };
27475
27541
  };
27542
+ '/unstable_access_grants/delete': {
27543
+ post: {
27544
+ description: string;
27545
+ operationId: string;
27546
+ requestBody: {
27547
+ content: {
27548
+ 'application/json': {
27549
+ schema: {
27550
+ properties: {
27551
+ access_grant_id: {
27552
+ description: string;
27553
+ format: string;
27554
+ type: string;
27555
+ };
27556
+ };
27557
+ required: string[];
27558
+ type: string;
27559
+ };
27560
+ };
27561
+ };
27562
+ };
27563
+ responses: {
27564
+ 200: {
27565
+ content: {
27566
+ 'application/json': {
27567
+ schema: {
27568
+ properties: {
27569
+ ok: {
27570
+ type: string;
27571
+ };
27572
+ };
27573
+ required: string[];
27574
+ type: string;
27575
+ };
27576
+ };
27577
+ };
27578
+ description: string;
27579
+ };
27580
+ 400: {
27581
+ description: string;
27582
+ };
27583
+ 401: {
27584
+ description: string;
27585
+ };
27586
+ };
27587
+ security: ({
27588
+ pat_with_workspace: never[];
27589
+ console_session_with_workspace?: never;
27590
+ api_key?: never;
27591
+ } | {
27592
+ console_session_with_workspace: never[];
27593
+ pat_with_workspace?: never;
27594
+ api_key?: never;
27595
+ } | {
27596
+ api_key: never[];
27597
+ pat_with_workspace?: never;
27598
+ console_session_with_workspace?: never;
27599
+ })[];
27600
+ summary: string;
27601
+ tags: never[];
27602
+ 'x-fern-sdk-group-name': string[];
27603
+ 'x-fern-sdk-method-name': string;
27604
+ 'x-response-key': null;
27605
+ 'x-title': string;
27606
+ 'x-undocumented': string;
27607
+ };
27608
+ };
27476
27609
  '/unstable_access_grants/get': {
27477
27610
  post: {
27478
27611
  description: string;
@@ -27786,6 +27919,73 @@ declare const _default: {
27786
27919
  'x-undocumented': string;
27787
27920
  };
27788
27921
  };
27922
+ '/unstable_access_methods/delete': {
27923
+ post: {
27924
+ description: string;
27925
+ operationId: string;
27926
+ requestBody: {
27927
+ content: {
27928
+ 'application/json': {
27929
+ schema: {
27930
+ properties: {
27931
+ access_method_id: {
27932
+ description: string;
27933
+ format: string;
27934
+ type: string;
27935
+ };
27936
+ };
27937
+ required: string[];
27938
+ type: string;
27939
+ };
27940
+ };
27941
+ };
27942
+ };
27943
+ responses: {
27944
+ 200: {
27945
+ content: {
27946
+ 'application/json': {
27947
+ schema: {
27948
+ properties: {
27949
+ ok: {
27950
+ type: string;
27951
+ };
27952
+ };
27953
+ required: string[];
27954
+ type: string;
27955
+ };
27956
+ };
27957
+ };
27958
+ description: string;
27959
+ };
27960
+ 400: {
27961
+ description: string;
27962
+ };
27963
+ 401: {
27964
+ description: string;
27965
+ };
27966
+ };
27967
+ security: ({
27968
+ pat_with_workspace: never[];
27969
+ console_session_with_workspace?: never;
27970
+ api_key?: never;
27971
+ } | {
27972
+ console_session_with_workspace: never[];
27973
+ pat_with_workspace?: never;
27974
+ api_key?: never;
27975
+ } | {
27976
+ api_key: never[];
27977
+ pat_with_workspace?: never;
27978
+ console_session_with_workspace?: never;
27979
+ })[];
27980
+ summary: string;
27981
+ tags: never[];
27982
+ 'x-fern-sdk-group-name': string[];
27983
+ 'x-fern-sdk-method-name': string;
27984
+ 'x-response-key': null;
27985
+ 'x-title': string;
27986
+ 'x-undocumented': string;
27987
+ };
27988
+ };
27789
27989
  '/unstable_access_methods/get': {
27790
27990
  post: {
27791
27991
  description: string;
@@ -25050,6 +25050,56 @@ export default {
25050
25050
  'x-title': 'List Connected Accounts',
25051
25051
  },
25052
25052
  },
25053
+ '/connected_accounts/sync': {
25054
+ post: {
25055
+ description: 'Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified connected_account_id.',
25056
+ operationId: 'connectedAccountsSyncPost',
25057
+ requestBody: {
25058
+ content: {
25059
+ 'application/json': {
25060
+ schema: {
25061
+ properties: {
25062
+ connected_account_id: {
25063
+ description: 'ID of the connected account that you want to sync.',
25064
+ format: 'uuid',
25065
+ type: 'string',
25066
+ },
25067
+ },
25068
+ required: ['connected_account_id'],
25069
+ type: 'object',
25070
+ },
25071
+ },
25072
+ },
25073
+ },
25074
+ responses: {
25075
+ 200: {
25076
+ content: {
25077
+ 'application/json': {
25078
+ schema: {
25079
+ properties: { ok: { type: 'boolean' } },
25080
+ required: ['ok'],
25081
+ type: 'object',
25082
+ },
25083
+ },
25084
+ },
25085
+ description: 'OK',
25086
+ },
25087
+ 400: { description: 'Bad Request' },
25088
+ 401: { description: 'Unauthorized' },
25089
+ },
25090
+ security: [
25091
+ { api_key: [] },
25092
+ { pat_with_workspace: [] },
25093
+ { console_session_with_workspace: [] },
25094
+ ],
25095
+ summary: '/connected_accounts/sync',
25096
+ tags: ['/connected_accounts'],
25097
+ 'x-fern-sdk-group-name': ['connected_accounts'],
25098
+ 'x-fern-sdk-method-name': 'sync',
25099
+ 'x-response-key': null,
25100
+ 'x-title': 'Sync a Connected Account',
25101
+ },
25102
+ },
25053
25103
  '/connected_accounts/update': {
25054
25104
  post: {
25055
25105
  description: 'Updates a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
@@ -32113,6 +32163,57 @@ export default {
32113
32163
  'x-undocumented': 'Unreleased.',
32114
32164
  },
32115
32165
  },
32166
+ '/unstable_access_grants/delete': {
32167
+ post: {
32168
+ description: 'Delete an access grant.',
32169
+ operationId: 'unstableAccessGrantsDeletePost',
32170
+ requestBody: {
32171
+ content: {
32172
+ 'application/json': {
32173
+ schema: {
32174
+ properties: {
32175
+ access_grant_id: {
32176
+ description: 'ID of access grant to delete.',
32177
+ format: 'uuid',
32178
+ type: 'string',
32179
+ },
32180
+ },
32181
+ required: ['access_grant_id'],
32182
+ type: 'object',
32183
+ },
32184
+ },
32185
+ },
32186
+ },
32187
+ responses: {
32188
+ 200: {
32189
+ content: {
32190
+ 'application/json': {
32191
+ schema: {
32192
+ properties: { ok: { type: 'boolean' } },
32193
+ required: ['ok'],
32194
+ type: 'object',
32195
+ },
32196
+ },
32197
+ },
32198
+ description: 'OK',
32199
+ },
32200
+ 400: { description: 'Bad Request' },
32201
+ 401: { description: 'Unauthorized' },
32202
+ },
32203
+ security: [
32204
+ { pat_with_workspace: [] },
32205
+ { console_session_with_workspace: [] },
32206
+ { api_key: [] },
32207
+ ],
32208
+ summary: '/unstable_access_grants/delete',
32209
+ tags: [],
32210
+ 'x-fern-sdk-group-name': ['unstable_access_grants'],
32211
+ 'x-fern-sdk-method-name': 'delete',
32212
+ 'x-response-key': null,
32213
+ 'x-title': 'Delete an Access Grant',
32214
+ 'x-undocumented': 'Unreleased.',
32215
+ },
32216
+ },
32116
32217
  '/unstable_access_grants/get': {
32117
32218
  post: {
32118
32219
  description: 'Get an access grant.',
@@ -32408,6 +32509,57 @@ export default {
32408
32509
  'x-undocumented': 'Unreleased.',
32409
32510
  },
32410
32511
  },
32512
+ '/unstable_access_methods/delete': {
32513
+ post: {
32514
+ description: 'Delete an access method.',
32515
+ operationId: 'unstableAccessMethodsDeletePost',
32516
+ requestBody: {
32517
+ content: {
32518
+ 'application/json': {
32519
+ schema: {
32520
+ properties: {
32521
+ access_method_id: {
32522
+ description: 'ID of access method to get.',
32523
+ format: 'uuid',
32524
+ type: 'string',
32525
+ },
32526
+ },
32527
+ required: ['access_method_id'],
32528
+ type: 'object',
32529
+ },
32530
+ },
32531
+ },
32532
+ },
32533
+ responses: {
32534
+ 200: {
32535
+ content: {
32536
+ 'application/json': {
32537
+ schema: {
32538
+ properties: { ok: { type: 'boolean' } },
32539
+ required: ['ok'],
32540
+ type: 'object',
32541
+ },
32542
+ },
32543
+ },
32544
+ description: 'OK',
32545
+ },
32546
+ 400: { description: 'Bad Request' },
32547
+ 401: { description: 'Unauthorized' },
32548
+ },
32549
+ security: [
32550
+ { pat_with_workspace: [] },
32551
+ { console_session_with_workspace: [] },
32552
+ { api_key: [] },
32553
+ ],
32554
+ summary: '/unstable_access_methods/delete',
32555
+ tags: [],
32556
+ 'x-fern-sdk-group-name': ['unstable_access_methods'],
32557
+ 'x-fern-sdk-method-name': 'delete',
32558
+ 'x-response-key': null,
32559
+ 'x-title': 'Delete an Access Method',
32560
+ 'x-undocumented': 'Unreleased.',
32561
+ },
32562
+ },
32411
32563
  '/unstable_access_methods/get': {
32412
32564
  post: {
32413
32565
  description: 'Get an access method.',