@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.
@@ -2392,6 +2392,11 @@ declare const _default: {
2392
2392
  scheme: string;
2393
2393
  type: string;
2394
2394
  };
2395
+ pat_without_workspace: {
2396
+ bearerFormat: string;
2397
+ scheme: string;
2398
+ type: string;
2399
+ };
2395
2400
  seam_client_session_token: {
2396
2401
  in: string;
2397
2402
  name: string;
@@ -13286,6 +13291,75 @@ declare const _default: {
13286
13291
  'x-fern-sdk-return-value': string;
13287
13292
  };
13288
13293
  };
13294
+ '/workspaces/create': {
13295
+ post: {
13296
+ operationId: string;
13297
+ requestBody: {
13298
+ content: {
13299
+ 'application/json': {
13300
+ schema: {
13301
+ properties: {
13302
+ connect_partner_name: {
13303
+ description: string;
13304
+ type: string;
13305
+ };
13306
+ is_sandbox: {
13307
+ default: boolean;
13308
+ type: string;
13309
+ };
13310
+ webview_logo_shape: {
13311
+ enum: string[];
13312
+ type: string;
13313
+ };
13314
+ webview_primary_button_color: {
13315
+ type: string;
13316
+ };
13317
+ workspace_name: {
13318
+ type: string;
13319
+ };
13320
+ };
13321
+ required: string[];
13322
+ type: string;
13323
+ };
13324
+ };
13325
+ };
13326
+ };
13327
+ responses: {
13328
+ 200: {
13329
+ content: {
13330
+ 'application/json': {
13331
+ schema: {
13332
+ properties: {
13333
+ ok: {
13334
+ type: string;
13335
+ };
13336
+ workspace: {
13337
+ $ref: string;
13338
+ };
13339
+ };
13340
+ required: string[];
13341
+ type: string;
13342
+ };
13343
+ };
13344
+ };
13345
+ description: string;
13346
+ };
13347
+ 400: {
13348
+ description: string;
13349
+ };
13350
+ 401: {
13351
+ description: string;
13352
+ };
13353
+ };
13354
+ security: {
13355
+ pat_without_workspace: never[];
13356
+ }[];
13357
+ summary: string;
13358
+ tags: string[];
13359
+ 'x-fern-sdk-group-name': string[];
13360
+ 'x-fern-sdk-method-name': string;
13361
+ };
13362
+ };
13289
13363
  '/workspaces/get': {
13290
13364
  get: {
13291
13365
  operationId: string;
@@ -20071,6 +20145,29 @@ interface Routes {
20071
20145
  }>;
20072
20146
  };
20073
20147
  };
20148
+ '/workspaces/create': {
20149
+ route: '/workspaces/create';
20150
+ method: 'POST';
20151
+ queryParams: {};
20152
+ jsonBody: {
20153
+ workspace_name: string;
20154
+ /** The name shown inside the connect webview */
20155
+ connect_partner_name: string;
20156
+ is_sandbox?: boolean;
20157
+ webview_primary_button_color?: string | undefined;
20158
+ webview_logo_shape?: ('circle' | 'square') | undefined;
20159
+ };
20160
+ commonParams: {};
20161
+ formData: {};
20162
+ jsonResponse: {
20163
+ workspace: {
20164
+ workspace_id: string;
20165
+ name: string;
20166
+ connect_partner_name: string | null;
20167
+ is_sandbox: boolean;
20168
+ };
20169
+ };
20170
+ };
20074
20171
  '/workspaces/get': {
20075
20172
  route: '/workspaces/get';
20076
20173
  method: 'GET' | 'POST';
@@ -2315,6 +2315,11 @@ declare const _default: {
2315
2315
  scheme: string;
2316
2316
  type: string;
2317
2317
  };
2318
+ pat_without_workspace: {
2319
+ bearerFormat: string;
2320
+ scheme: string;
2321
+ type: string;
2322
+ };
2318
2323
  seam_client_session_token: {
2319
2324
  in: string;
2320
2325
  name: string;
@@ -13209,6 +13214,75 @@ declare const _default: {
13209
13214
  'x-fern-sdk-return-value': string;
13210
13215
  };
13211
13216
  };
13217
+ '/workspaces/create': {
13218
+ post: {
13219
+ operationId: string;
13220
+ requestBody: {
13221
+ content: {
13222
+ 'application/json': {
13223
+ schema: {
13224
+ properties: {
13225
+ connect_partner_name: {
13226
+ description: string;
13227
+ type: string;
13228
+ };
13229
+ is_sandbox: {
13230
+ default: boolean;
13231
+ type: string;
13232
+ };
13233
+ webview_logo_shape: {
13234
+ enum: string[];
13235
+ type: string;
13236
+ };
13237
+ webview_primary_button_color: {
13238
+ type: string;
13239
+ };
13240
+ workspace_name: {
13241
+ type: string;
13242
+ };
13243
+ };
13244
+ required: string[];
13245
+ type: string;
13246
+ };
13247
+ };
13248
+ };
13249
+ };
13250
+ responses: {
13251
+ 200: {
13252
+ content: {
13253
+ 'application/json': {
13254
+ schema: {
13255
+ properties: {
13256
+ ok: {
13257
+ type: string;
13258
+ };
13259
+ workspace: {
13260
+ $ref: string;
13261
+ };
13262
+ };
13263
+ required: string[];
13264
+ type: string;
13265
+ };
13266
+ };
13267
+ };
13268
+ description: string;
13269
+ };
13270
+ 400: {
13271
+ description: string;
13272
+ };
13273
+ 401: {
13274
+ description: string;
13275
+ };
13276
+ };
13277
+ security: {
13278
+ pat_without_workspace: never[];
13279
+ }[];
13280
+ summary: string;
13281
+ tags: string[];
13282
+ 'x-fern-sdk-group-name': string[];
13283
+ 'x-fern-sdk-method-name': string;
13284
+ };
13285
+ };
13212
13286
  '/workspaces/get': {
13213
13287
  get: {
13214
13288
  operationId: string;
@@ -1842,6 +1842,11 @@ export default {
1842
1842
  scheme: 'bearer',
1843
1843
  type: 'http',
1844
1844
  },
1845
+ pat_without_workspace: {
1846
+ bearerFormat: 'API Token',
1847
+ scheme: 'bearer',
1848
+ type: 'http',
1849
+ },
1845
1850
  seam_client_session_token: {
1846
1851
  in: 'header',
1847
1852
  name: 'seam-client-session-token',
@@ -9646,6 +9651,58 @@ export default {
9646
9651
  'x-fern-sdk-return-value': 'webhooks',
9647
9652
  },
9648
9653
  },
9654
+ '/workspaces/create': {
9655
+ post: {
9656
+ operationId: 'workspacesCreatePost',
9657
+ requestBody: {
9658
+ content: {
9659
+ 'application/json': {
9660
+ schema: {
9661
+ properties: {
9662
+ connect_partner_name: {
9663
+ description: 'The name shown inside the connect webview',
9664
+ type: 'string',
9665
+ },
9666
+ is_sandbox: { default: false, type: 'boolean' },
9667
+ webview_logo_shape: {
9668
+ enum: ['circle', 'square'],
9669
+ type: 'string',
9670
+ },
9671
+ webview_primary_button_color: { type: 'string' },
9672
+ workspace_name: { type: 'string' },
9673
+ },
9674
+ required: ['workspace_name', 'connect_partner_name'],
9675
+ type: 'object',
9676
+ },
9677
+ },
9678
+ },
9679
+ },
9680
+ responses: {
9681
+ 200: {
9682
+ content: {
9683
+ 'application/json': {
9684
+ schema: {
9685
+ properties: {
9686
+ ok: { type: 'boolean' },
9687
+ workspace: { $ref: '#/components/schemas/workspace' },
9688
+ },
9689
+ required: ['workspace', 'ok'],
9690
+ type: 'object',
9691
+ },
9692
+ },
9693
+ },
9694
+ description: 'OK',
9695
+ },
9696
+ 400: { description: 'Bad Request' },
9697
+ 401: { description: 'Unauthorized' },
9698
+ },
9699
+ security: [{ pat_without_workspace: [] }],
9700
+ summary: '/workspaces/create',
9701
+ tags: ['/workspaces'],
9702
+ 'x-fern-sdk-group-name': ['workspaces'],
9703
+ 'x-fern-sdk-method-name': 'create',
9704
+ },
9705
+ },
9649
9706
  '/workspaces/get': {
9650
9707
  get: {
9651
9708
  operationId: 'workspacesGetGet',