@seamapi/types 1.54.0 → 1.55.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.
@@ -6510,6 +6510,29 @@ export interface Routes {
6510
6510
  }>;
6511
6511
  };
6512
6512
  };
6513
+ '/workspaces/create': {
6514
+ route: '/workspaces/create';
6515
+ method: 'POST';
6516
+ queryParams: {};
6517
+ jsonBody: {
6518
+ workspace_name: string;
6519
+ /** The name shown inside the connect webview */
6520
+ connect_partner_name: string;
6521
+ is_sandbox?: boolean;
6522
+ webview_primary_button_color?: string | undefined;
6523
+ webview_logo_shape?: ('circle' | 'square') | undefined;
6524
+ };
6525
+ commonParams: {};
6526
+ formData: {};
6527
+ jsonResponse: {
6528
+ workspace: {
6529
+ workspace_id: string;
6530
+ name: string;
6531
+ connect_partner_name: string | null;
6532
+ is_sandbox: boolean;
6533
+ };
6534
+ };
6535
+ };
6513
6536
  '/workspaces/get': {
6514
6537
  route: '/workspaces/get';
6515
6538
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.54.0",
3
+ "version": "1.55.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1891,6 +1891,11 @@ export default {
1891
1891
  scheme: 'bearer',
1892
1892
  type: 'http',
1893
1893
  },
1894
+ pat_without_workspace: {
1895
+ bearerFormat: 'API Token',
1896
+ scheme: 'bearer',
1897
+ type: 'http',
1898
+ },
1894
1899
  seam_client_session_token: {
1895
1900
  in: 'header',
1896
1901
  name: 'seam-client-session-token',
@@ -9699,6 +9704,58 @@ export default {
9699
9704
  'x-fern-sdk-return-value': 'webhooks',
9700
9705
  },
9701
9706
  },
9707
+ '/workspaces/create': {
9708
+ post: {
9709
+ operationId: 'workspacesCreatePost',
9710
+ requestBody: {
9711
+ content: {
9712
+ 'application/json': {
9713
+ schema: {
9714
+ properties: {
9715
+ connect_partner_name: {
9716
+ description: 'The name shown inside the connect webview',
9717
+ type: 'string',
9718
+ },
9719
+ is_sandbox: { default: false, type: 'boolean' },
9720
+ webview_logo_shape: {
9721
+ enum: ['circle', 'square'],
9722
+ type: 'string',
9723
+ },
9724
+ webview_primary_button_color: { type: 'string' },
9725
+ workspace_name: { type: 'string' },
9726
+ },
9727
+ required: ['workspace_name', 'connect_partner_name'],
9728
+ type: 'object',
9729
+ },
9730
+ },
9731
+ },
9732
+ },
9733
+ responses: {
9734
+ 200: {
9735
+ content: {
9736
+ 'application/json': {
9737
+ schema: {
9738
+ properties: {
9739
+ ok: { type: 'boolean' },
9740
+ workspace: { $ref: '#/components/schemas/workspace' },
9741
+ },
9742
+ required: ['workspace', 'ok'],
9743
+ type: 'object',
9744
+ },
9745
+ },
9746
+ },
9747
+ description: 'OK',
9748
+ },
9749
+ 400: { description: 'Bad Request' },
9750
+ 401: { description: 'Unauthorized' },
9751
+ },
9752
+ security: [{ pat_without_workspace: [] }],
9753
+ summary: '/workspaces/create',
9754
+ tags: ['/workspaces'],
9755
+ 'x-fern-sdk-group-name': ['workspaces'],
9756
+ 'x-fern-sdk-method-name': 'create',
9757
+ },
9758
+ },
9702
9759
  '/workspaces/get': {
9703
9760
  get: {
9704
9761
  operationId: 'workspacesGetGet',
@@ -8895,6 +8895,29 @@ export interface Routes {
8895
8895
  }>
8896
8896
  }
8897
8897
  }
8898
+ '/workspaces/create': {
8899
+ route: '/workspaces/create'
8900
+ method: 'POST'
8901
+ queryParams: {}
8902
+ jsonBody: {
8903
+ workspace_name: string
8904
+ /** The name shown inside the connect webview */
8905
+ connect_partner_name: string
8906
+ is_sandbox?: boolean
8907
+ webview_primary_button_color?: string | undefined
8908
+ webview_logo_shape?: ('circle' | 'square') | undefined
8909
+ }
8910
+ commonParams: {}
8911
+ formData: {}
8912
+ jsonResponse: {
8913
+ workspace: {
8914
+ workspace_id: string
8915
+ name: string
8916
+ connect_partner_name: string | null
8917
+ is_sandbox: boolean
8918
+ }
8919
+ }
8920
+ }
8898
8921
  '/workspaces/get': {
8899
8922
  route: '/workspaces/get'
8900
8923
  method: 'GET' | 'POST'