@seamapi/types 1.800.0 → 1.801.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.
@@ -112581,6 +112581,232 @@ declare const _default: {
112581
112581
  'x-undocumented': string;
112582
112582
  };
112583
112583
  };
112584
+ '/seam/connect_webview/v1/get_current_pane': {
112585
+ get: {
112586
+ description: string;
112587
+ operationId: string;
112588
+ parameters: {
112589
+ in: string;
112590
+ name: string;
112591
+ required: boolean;
112592
+ schema: {
112593
+ format: string;
112594
+ type: string;
112595
+ };
112596
+ }[];
112597
+ responses: {
112598
+ 200: {
112599
+ content: {
112600
+ 'application/json': {
112601
+ schema: {
112602
+ properties: {
112603
+ ok: {
112604
+ type: string;
112605
+ };
112606
+ pane: {
112607
+ $ref: string;
112608
+ };
112609
+ };
112610
+ required: string[];
112611
+ type: string;
112612
+ };
112613
+ };
112614
+ };
112615
+ description: string;
112616
+ };
112617
+ 400: {
112618
+ description: string;
112619
+ };
112620
+ 401: {
112621
+ description: string;
112622
+ };
112623
+ };
112624
+ security: {
112625
+ console_session_with_workspace: never[];
112626
+ }[];
112627
+ summary: string;
112628
+ tags: never[];
112629
+ 'x-fern-sdk-group-name': string[];
112630
+ 'x-fern-sdk-method-name': string;
112631
+ 'x-fern-sdk-return-value': string;
112632
+ 'x-response-key': string;
112633
+ 'x-title': string;
112634
+ 'x-undocumented': string;
112635
+ };
112636
+ post: {
112637
+ description: string;
112638
+ operationId: string;
112639
+ requestBody: {
112640
+ content: {
112641
+ 'application/json': {
112642
+ schema: {
112643
+ properties: {
112644
+ connect_webview_id: {
112645
+ format: string;
112646
+ type: string;
112647
+ };
112648
+ };
112649
+ required: string[];
112650
+ type: string;
112651
+ };
112652
+ };
112653
+ };
112654
+ };
112655
+ responses: {
112656
+ 200: {
112657
+ content: {
112658
+ 'application/json': {
112659
+ schema: {
112660
+ properties: {
112661
+ ok: {
112662
+ type: string;
112663
+ };
112664
+ pane: {
112665
+ $ref: string;
112666
+ };
112667
+ };
112668
+ required: string[];
112669
+ type: string;
112670
+ };
112671
+ };
112672
+ };
112673
+ description: string;
112674
+ };
112675
+ 400: {
112676
+ description: string;
112677
+ };
112678
+ 401: {
112679
+ description: string;
112680
+ };
112681
+ };
112682
+ security: {
112683
+ console_session_with_workspace: never[];
112684
+ }[];
112685
+ summary: string;
112686
+ tags: never[];
112687
+ 'x-fern-sdk-group-name': string[];
112688
+ 'x-fern-sdk-method-name': string;
112689
+ 'x-fern-sdk-return-value': string;
112690
+ 'x-response-key': string;
112691
+ 'x-title': string;
112692
+ 'x-undocumented': string;
112693
+ };
112694
+ };
112695
+ '/seam/connect_webview/v1/reset': {
112696
+ post: {
112697
+ description: string;
112698
+ operationId: string;
112699
+ requestBody: {
112700
+ content: {
112701
+ 'application/json': {
112702
+ schema: {
112703
+ properties: {
112704
+ connect_webview_id: {
112705
+ format: string;
112706
+ type: string;
112707
+ };
112708
+ };
112709
+ required: string[];
112710
+ type: string;
112711
+ };
112712
+ };
112713
+ };
112714
+ };
112715
+ responses: {
112716
+ 200: {
112717
+ content: {
112718
+ 'application/json': {
112719
+ schema: {
112720
+ properties: {
112721
+ ok: {
112722
+ type: string;
112723
+ };
112724
+ };
112725
+ required: string[];
112726
+ type: string;
112727
+ };
112728
+ };
112729
+ };
112730
+ description: string;
112731
+ };
112732
+ 400: {
112733
+ description: string;
112734
+ };
112735
+ 401: {
112736
+ description: string;
112737
+ };
112738
+ };
112739
+ security: {
112740
+ console_session_with_workspace: never[];
112741
+ }[];
112742
+ summary: string;
112743
+ tags: never[];
112744
+ 'x-fern-sdk-group-name': string[];
112745
+ 'x-fern-sdk-method-name': string;
112746
+ 'x-fern-sdk-return-value': string;
112747
+ 'x-response-key': string;
112748
+ 'x-title': string;
112749
+ 'x-undocumented': string;
112750
+ };
112751
+ };
112752
+ '/seam/connect_webview/v1/submit': {
112753
+ post: {
112754
+ description: string;
112755
+ operationId: string;
112756
+ requestBody: {
112757
+ content: {
112758
+ 'application/json': {
112759
+ schema: {
112760
+ properties: {
112761
+ connect_webview_id: {
112762
+ format: string;
112763
+ type: string;
112764
+ };
112765
+ submit_args: {};
112766
+ };
112767
+ required: string[];
112768
+ type: string;
112769
+ };
112770
+ };
112771
+ };
112772
+ };
112773
+ responses: {
112774
+ 200: {
112775
+ content: {
112776
+ 'application/json': {
112777
+ schema: {
112778
+ properties: {
112779
+ ok: {
112780
+ type: string;
112781
+ };
112782
+ };
112783
+ required: string[];
112784
+ type: string;
112785
+ };
112786
+ };
112787
+ };
112788
+ description: string;
112789
+ };
112790
+ 400: {
112791
+ description: string;
112792
+ };
112793
+ 401: {
112794
+ description: string;
112795
+ };
112796
+ };
112797
+ security: {
112798
+ console_session_with_workspace: never[];
112799
+ }[];
112800
+ summary: string;
112801
+ tags: never[];
112802
+ 'x-fern-sdk-group-name': string[];
112803
+ 'x-fern-sdk-method-name': string;
112804
+ 'x-fern-sdk-return-value': string;
112805
+ 'x-response-key': string;
112806
+ 'x-title': string;
112807
+ 'x-undocumented': string;
112808
+ };
112809
+ };
112584
112810
  '/seam/console/v1/get_resource_locator': {
112585
112811
  get: {
112586
112812
  description: string;
@@ -198565,6 +198791,49 @@ type Routes = {
198565
198791
  };
198566
198792
  maxDuration: undefined;
198567
198793
  };
198794
+ '/seam/connect_webview/v1/get_current_pane': {
198795
+ route: '/seam/connect_webview/v1/get_current_pane';
198796
+ method: 'GET' | 'POST';
198797
+ queryParams: {};
198798
+ jsonBody: {};
198799
+ commonParams: {
198800
+ connect_webview_id: string;
198801
+ };
198802
+ formData: {};
198803
+ jsonResponse: {
198804
+ pane?: any;
198805
+ };
198806
+ maxDuration: undefined;
198807
+ };
198808
+ '/seam/connect_webview/v1/reset': {
198809
+ route: '/seam/connect_webview/v1/reset';
198810
+ method: 'POST';
198811
+ queryParams: {};
198812
+ jsonBody: {
198813
+ connect_webview_id: string;
198814
+ };
198815
+ commonParams: {};
198816
+ formData: {};
198817
+ jsonResponse: {
198818
+ ok: boolean;
198819
+ };
198820
+ maxDuration: undefined;
198821
+ };
198822
+ '/seam/connect_webview/v1/submit': {
198823
+ route: '/seam/connect_webview/v1/submit';
198824
+ method: 'POST';
198825
+ queryParams: {};
198826
+ jsonBody: {
198827
+ connect_webview_id: string;
198828
+ submit_args?: any;
198829
+ };
198830
+ commonParams: {};
198831
+ formData: {};
198832
+ jsonResponse: {
198833
+ ok: boolean;
198834
+ };
198835
+ maxDuration: undefined;
198836
+ };
198568
198837
  '/seam/console/v1/get_resource_locator': {
198569
198838
  route: '/seam/console/v1/get_resource_locator';
198570
198839
  method: 'GET' | 'POST';
package/dist/index.cjs CHANGED
@@ -62902,6 +62902,182 @@ var openapi_default = {
62902
62902
  "x-undocumented": "Seam Bridge Client only."
62903
62903
  }
62904
62904
  },
62905
+ "/seam/connect_webview/v1/get_current_pane": {
62906
+ get: {
62907
+ description: "Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).",
62908
+ operationId: "seamConnectWebviewV1GetCurrentPaneGet",
62909
+ parameters: [
62910
+ {
62911
+ in: "query",
62912
+ name: "connect_webview_id",
62913
+ required: true,
62914
+ schema: { format: "uuid", type: "string" }
62915
+ }
62916
+ ],
62917
+ responses: {
62918
+ 200: {
62919
+ content: {
62920
+ "application/json": {
62921
+ schema: {
62922
+ properties: {
62923
+ ok: { type: "boolean" },
62924
+ pane: { $ref: "#/components/schemas/access_code" }
62925
+ },
62926
+ required: ["ok"],
62927
+ type: "object"
62928
+ }
62929
+ }
62930
+ },
62931
+ description: "OK"
62932
+ },
62933
+ 400: { description: "Bad Request" },
62934
+ 401: { description: "Unauthorized" }
62935
+ },
62936
+ security: [{ console_session_with_workspace: [] }],
62937
+ summary: "/seam/connect_webview/v1/get_current_pane",
62938
+ tags: [],
62939
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
62940
+ "x-fern-sdk-method-name": "get_current_pane",
62941
+ "x-fern-sdk-return-value": "pane",
62942
+ "x-response-key": "pane",
62943
+ "x-title": "Get Current Pane",
62944
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
62945
+ },
62946
+ post: {
62947
+ description: "Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).",
62948
+ operationId: "seamConnectWebviewV1GetCurrentPanePost",
62949
+ requestBody: {
62950
+ content: {
62951
+ "application/json": {
62952
+ schema: {
62953
+ properties: {
62954
+ connect_webview_id: { format: "uuid", type: "string" }
62955
+ },
62956
+ required: ["connect_webview_id"],
62957
+ type: "object"
62958
+ }
62959
+ }
62960
+ }
62961
+ },
62962
+ responses: {
62963
+ 200: {
62964
+ content: {
62965
+ "application/json": {
62966
+ schema: {
62967
+ properties: {
62968
+ ok: { type: "boolean" },
62969
+ pane: { $ref: "#/components/schemas/access_code" }
62970
+ },
62971
+ required: ["ok"],
62972
+ type: "object"
62973
+ }
62974
+ }
62975
+ },
62976
+ description: "OK"
62977
+ },
62978
+ 400: { description: "Bad Request" },
62979
+ 401: { description: "Unauthorized" }
62980
+ },
62981
+ security: [{ console_session_with_workspace: [] }],
62982
+ summary: "/seam/connect_webview/v1/get_current_pane",
62983
+ tags: [],
62984
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
62985
+ "x-fern-sdk-method-name": "get_current_pane",
62986
+ "x-fern-sdk-return-value": "pane",
62987
+ "x-response-key": "pane",
62988
+ "x-title": "Get Current Pane",
62989
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
62990
+ }
62991
+ },
62992
+ "/seam/connect_webview/v1/reset": {
62993
+ post: {
62994
+ description: "Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.",
62995
+ operationId: "seamConnectWebviewV1ResetPost",
62996
+ requestBody: {
62997
+ content: {
62998
+ "application/json": {
62999
+ schema: {
63000
+ properties: {
63001
+ connect_webview_id: { format: "uuid", type: "string" }
63002
+ },
63003
+ required: ["connect_webview_id"],
63004
+ type: "object"
63005
+ }
63006
+ }
63007
+ }
63008
+ },
63009
+ responses: {
63010
+ 200: {
63011
+ content: {
63012
+ "application/json": {
63013
+ schema: {
63014
+ properties: { ok: { type: "boolean" } },
63015
+ required: ["ok"],
63016
+ type: "object"
63017
+ }
63018
+ }
63019
+ },
63020
+ description: "OK"
63021
+ },
63022
+ 400: { description: "Bad Request" },
63023
+ 401: { description: "Unauthorized" }
63024
+ },
63025
+ security: [{ console_session_with_workspace: [] }],
63026
+ summary: "/seam/connect_webview/v1/reset",
63027
+ tags: [],
63028
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
63029
+ "x-fern-sdk-method-name": "reset",
63030
+ "x-fern-sdk-return-value": "ok",
63031
+ "x-response-key": "ok",
63032
+ "x-title": "Reset Connect Webview",
63033
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
63034
+ }
63035
+ },
63036
+ "/seam/connect_webview/v1/submit": {
63037
+ post: {
63038
+ description: "Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.",
63039
+ operationId: "seamConnectWebviewV1SubmitPost",
63040
+ requestBody: {
63041
+ content: {
63042
+ "application/json": {
63043
+ schema: {
63044
+ properties: {
63045
+ connect_webview_id: { format: "uuid", type: "string" },
63046
+ submit_args: {}
63047
+ },
63048
+ required: ["connect_webview_id"],
63049
+ type: "object"
63050
+ }
63051
+ }
63052
+ }
63053
+ },
63054
+ responses: {
63055
+ 200: {
63056
+ content: {
63057
+ "application/json": {
63058
+ schema: {
63059
+ properties: { ok: { type: "boolean" } },
63060
+ required: ["ok"],
63061
+ type: "object"
63062
+ }
63063
+ }
63064
+ },
63065
+ description: "OK"
63066
+ },
63067
+ 400: { description: "Bad Request" },
63068
+ 401: { description: "Unauthorized" }
63069
+ },
63070
+ security: [{ console_session_with_workspace: [] }],
63071
+ summary: "/seam/connect_webview/v1/submit",
63072
+ tags: [],
63073
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
63074
+ "x-fern-sdk-method-name": "submit",
63075
+ "x-fern-sdk-return-value": "ok",
63076
+ "x-response-key": "ok",
63077
+ "x-title": "Submit Connect Webview Pane",
63078
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
63079
+ }
63080
+ },
62905
63081
  "/seam/console/v1/get_resource_locator": {
62906
63082
  get: {
62907
63083
  description: "Returns the type and system information of a resource given its UUID.",