@seamapi/types 1.688.0 → 1.689.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.
@@ -52561,6 +52561,10 @@ export type Routes = {
52561
52561
  jsonBody: {
52562
52562
  /** ID of the connector to delete */
52563
52563
  connector_id: string;
52564
+ customer_key?: string | undefined;
52565
+ customer_id?: string | undefined;
52566
+ connector_customer_id?: string | undefined;
52567
+ unique_provider_resource_key?: string | undefined;
52564
52568
  };
52565
52569
  commonParams: {};
52566
52570
  formData: {};
@@ -52602,11 +52606,20 @@ export type Routes = {
52602
52606
  commonParams: {
52603
52607
  /** ID of the connector to sync */
52604
52608
  connector_id: string;
52609
+ /** Type of the connector to sync */
52610
+ connector_type: string;
52611
+ /** ID of the customer to sync */
52612
+ customer_id: string;
52613
+ /** Key of the customer to sync */
52614
+ customer_key: string;
52615
+ /** ID of the connector customer to sync */
52616
+ connector_customer_id: string | null;
52617
+ /** Unique provider resource key of the connector to sync */
52618
+ unique_provider_resource_key: string | null;
52605
52619
  };
52606
52620
  formData: {};
52607
52621
  jsonResponse: {
52608
52622
  connector_sync: {
52609
- connector_id: string;
52610
52623
  status: string;
52611
52624
  message: string;
52612
52625
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.688.0",
3
+ "version": "1.689.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -54131,7 +54131,7 @@ export default {
54131
54131
  '/seam/customer/v1/connectors/create': {
54132
54132
  post: {
54133
54133
  description:
54134
- 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.\nIf a connector already exists for the same customer, it will be updated instead of creating a new one.',
54134
+ 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.',
54135
54135
  operationId: 'seamCustomerV1ConnectorsCreatePost',
54136
54136
  requestBody: {
54137
54137
  content: {
@@ -54220,11 +54220,7 @@ export default {
54220
54220
  400: { description: 'Bad Request' },
54221
54221
  401: { description: 'Unauthorized' },
54222
54222
  },
54223
- security: [
54224
- { api_key: [] },
54225
- { client_session_with_customer: [] },
54226
- { console_session_with_workspace: [] },
54227
- ],
54223
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
54228
54224
  summary: '/seam/customer/v1/connectors/create',
54229
54225
  tags: [],
54230
54226
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
@@ -54245,11 +54241,15 @@ export default {
54245
54241
  'application/json': {
54246
54242
  schema: {
54247
54243
  properties: {
54244
+ connector_customer_id: { type: 'string' },
54248
54245
  connector_id: {
54249
54246
  description: 'ID of the connector to delete',
54250
54247
  minLength: 1,
54251
54248
  type: 'string',
54252
54249
  },
54250
+ customer_id: { type: 'string' },
54251
+ customer_key: { type: 'string' },
54252
+ unique_provider_resource_key: { type: 'string' },
54253
54253
  },
54254
54254
  required: ['connector_id'],
54255
54255
  type: 'object',
@@ -54284,11 +54284,7 @@ export default {
54284
54284
  400: { description: 'Bad Request' },
54285
54285
  401: { description: 'Unauthorized' },
54286
54286
  },
54287
- security: [
54288
- { api_key: [] },
54289
- { client_session_with_customer: [] },
54290
- { console_session_with_workspace: [] },
54291
- ],
54287
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
54292
54288
  summary: '/seam/customer/v1/connectors/delete',
54293
54289
  tags: [],
54294
54290
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
@@ -54443,13 +54439,44 @@ export default {
54443
54439
  'application/json': {
54444
54440
  schema: {
54445
54441
  properties: {
54442
+ connector_customer_id: {
54443
+ description: 'ID of the connector customer to sync',
54444
+ format: 'uuid',
54445
+ nullable: true,
54446
+ type: 'string',
54447
+ },
54446
54448
  connector_id: {
54447
54449
  description: 'ID of the connector to sync',
54448
54450
  format: 'uuid',
54449
54451
  type: 'string',
54450
54452
  },
54453
+ connector_type: {
54454
+ description: 'Type of the connector to sync',
54455
+ type: 'string',
54456
+ },
54457
+ customer_id: {
54458
+ description: 'ID of the customer to sync',
54459
+ type: 'string',
54460
+ },
54461
+ customer_key: {
54462
+ description: 'Key of the customer to sync',
54463
+ type: 'string',
54464
+ },
54465
+ unique_provider_resource_key: {
54466
+ description:
54467
+ 'Unique provider resource key of the connector to sync',
54468
+ nullable: true,
54469
+ type: 'string',
54470
+ },
54451
54471
  },
54452
- required: ['connector_id'],
54472
+ required: [
54473
+ 'connector_id',
54474
+ 'connector_type',
54475
+ 'customer_id',
54476
+ 'customer_key',
54477
+ 'connector_customer_id',
54478
+ 'unique_provider_resource_key',
54479
+ ],
54453
54480
  type: 'object',
54454
54481
  },
54455
54482
  },
@@ -54463,11 +54490,10 @@ export default {
54463
54490
  properties: {
54464
54491
  connector_sync: {
54465
54492
  properties: {
54466
- connector_id: { type: 'string' },
54467
54493
  message: { type: 'string' },
54468
54494
  status: { type: 'string' },
54469
54495
  },
54470
- required: ['connector_id', 'status', 'message'],
54496
+ required: ['status', 'message'],
54471
54497
  type: 'object',
54472
54498
  },
54473
54499
  ok: { type: 'boolean' },
@@ -62876,6 +62876,10 @@ export type Routes = {
62876
62876
  jsonBody: {
62877
62877
  /** ID of the connector to delete */
62878
62878
  connector_id: string
62879
+ customer_key?: string | undefined
62880
+ customer_id?: string | undefined
62881
+ connector_customer_id?: string | undefined
62882
+ unique_provider_resource_key?: string | undefined
62879
62883
  }
62880
62884
  commonParams: {}
62881
62885
  formData: {}
@@ -62917,11 +62921,20 @@ export type Routes = {
62917
62921
  commonParams: {
62918
62922
  /** ID of the connector to sync */
62919
62923
  connector_id: string
62924
+ /** Type of the connector to sync */
62925
+ connector_type: string
62926
+ /** ID of the customer to sync */
62927
+ customer_id: string
62928
+ /** Key of the customer to sync */
62929
+ customer_key: string
62930
+ /** ID of the connector customer to sync */
62931
+ connector_customer_id: string | null
62932
+ /** Unique provider resource key of the connector to sync */
62933
+ unique_provider_resource_key: string | null
62920
62934
  }
62921
62935
  formData: {}
62922
62936
  jsonResponse: {
62923
62937
  connector_sync: {
62924
- connector_id: string
62925
62938
  status: string
62926
62939
  message: string
62927
62940
  }