@seamapi/types 1.622.0 → 1.623.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.
@@ -57284,10 +57284,11 @@ export type Routes = {
57284
57284
  customer_key: string;
57285
57285
  /** Instance-specific configuration for the connector */
57286
57286
  config: {
57287
- client_token: string;
57288
- access_token: string;
57289
- client: string;
57287
+ client_token?: string | undefined;
57288
+ access_token?: string | undefined;
57289
+ client?: string;
57290
57290
  enterprise_ids?: string[] | undefined;
57291
+ enterprise_id?: string | undefined;
57291
57292
  } | {};
57292
57293
  };
57293
57294
  commonParams: {};
@@ -59593,19 +59594,6 @@ export type Routes = {
59593
59594
  };
59594
59595
  };
59595
59596
  };
59596
- '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
59597
- route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]';
59598
- method: 'POST';
59599
- queryParams: {};
59600
- jsonBody: {};
59601
- commonParams: {};
59602
- formData: {};
59603
- jsonResponse: {
59604
- success: boolean;
59605
- processed_events: number;
59606
- error?: string | undefined;
59607
- };
59608
- };
59609
59597
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
59610
59598
  route: '/seam/instant_key/v1/client_sessions/exchange_short_code';
59611
59599
  method: 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.622.0",
3
+ "version": "1.623.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -52477,14 +52477,18 @@ export default {
52477
52477
  {
52478
52478
  properties: {
52479
52479
  access_token: { minLength: 1, type: 'string' },
52480
- client: { minLength: 1, type: 'string' },
52480
+ client: {
52481
+ default: 'seam',
52482
+ minLength: 1,
52483
+ type: 'string',
52484
+ },
52481
52485
  client_token: { minLength: 1, type: 'string' },
52486
+ enterprise_id: { format: 'uuid', type: 'string' },
52482
52487
  enterprise_ids: {
52483
52488
  items: { format: 'uuid', type: 'string' },
52484
52489
  type: 'array',
52485
52490
  },
52486
52491
  },
52487
- required: ['client_token', 'access_token', 'client'],
52488
52492
  type: 'object',
52489
52493
  },
52490
52494
  { properties: {}, type: 'object' },
@@ -54961,59 +54965,6 @@ export default {
54961
54965
  'x-undocumented': 'Internal endpoint for customer portals.',
54962
54966
  },
54963
54967
  },
54964
- '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
54965
- post: {
54966
- description:
54967
- 'Receives webhook events from external connector APIs and processes them into partner resources.',
54968
- operationId:
54969
- 'seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost',
54970
- requestBody: {
54971
- content: {
54972
- 'application/json': { schema: { properties: {}, type: 'object' } },
54973
- },
54974
- },
54975
- responses: {
54976
- 200: {
54977
- content: {
54978
- 'application/json': {
54979
- schema: {
54980
- properties: {
54981
- error: { type: 'string' },
54982
- ok: { type: 'boolean' },
54983
- processed_events: { format: 'float', type: 'number' },
54984
- success: { type: 'boolean' },
54985
- },
54986
- required: ['success', 'processed_events', 'ok'],
54987
- type: 'object',
54988
- },
54989
- },
54990
- },
54991
- description: 'OK',
54992
- },
54993
- 400: { description: 'Bad Request' },
54994
- 401: { description: 'Unauthorized' },
54995
- },
54996
- security: [
54997
- { pat_with_workspace: [] },
54998
- { console_session_with_workspace: [] },
54999
- { api_key: [] },
55000
- ],
55001
- summary:
55002
- '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]',
55003
- tags: ['/webhooks'],
55004
- 'x-fern-sdk-group-name': [
55005
- 'seam',
55006
- 'customer',
55007
- 'v1',
55008
- 'webhooks',
55009
- 'connectors',
55010
- '[workspace_id]',
55011
- ],
55012
- 'x-fern-sdk-method-name': 'by_connector_id',
55013
- 'x-response-key': null,
55014
- 'x-title': 'Connector Webhook Endpoint',
55015
- },
55016
- },
55017
54968
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
55018
54969
  post: {
55019
54970
  description:
@@ -68099,10 +68099,11 @@ export type Routes = {
68099
68099
  /** Instance-specific configuration for the connector */
68100
68100
  config:
68101
68101
  | {
68102
- client_token: string
68103
- access_token: string
68104
- client: string
68102
+ client_token?: string | undefined
68103
+ access_token?: string | undefined
68104
+ client?: string
68105
68105
  enterprise_ids?: string[] | undefined
68106
+ enterprise_id?: string | undefined
68106
68107
  }
68107
68108
  | {}
68108
68109
  }
@@ -70977,19 +70978,6 @@ export type Routes = {
70977
70978
  }
70978
70979
  }
70979
70980
  }
70980
- '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
70981
- route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]'
70982
- method: 'POST'
70983
- queryParams: {}
70984
- jsonBody: {}
70985
- commonParams: {}
70986
- formData: {}
70987
- jsonResponse: {
70988
- success: boolean
70989
- processed_events: number
70990
- error?: string | undefined
70991
- }
70992
- }
70993
70981
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
70994
70982
  route: '/seam/instant_key/v1/client_sessions/exchange_short_code'
70995
70983
  method: 'POST'