@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.
@@ -45021,16 +45021,10 @@ declare const _default: {
45021
45021
  };
45022
45022
  security: ({
45023
45023
  api_key: never[];
45024
- client_session_with_customer?: never;
45025
- console_session_with_workspace?: never;
45026
- } | {
45027
- client_session_with_customer: never[];
45028
- api_key?: never;
45029
45024
  console_session_with_workspace?: never;
45030
45025
  } | {
45031
45026
  console_session_with_workspace: never[];
45032
45027
  api_key?: never;
45033
- client_session_with_customer?: never;
45034
45028
  })[];
45035
45029
  summary: string;
45036
45030
  tags: never[];
@@ -45051,11 +45045,23 @@ declare const _default: {
45051
45045
  'application/json': {
45052
45046
  schema: {
45053
45047
  properties: {
45048
+ connector_customer_id: {
45049
+ type: string;
45050
+ };
45054
45051
  connector_id: {
45055
45052
  description: string;
45056
45053
  minLength: number;
45057
45054
  type: string;
45058
45055
  };
45056
+ customer_id: {
45057
+ type: string;
45058
+ };
45059
+ customer_key: {
45060
+ type: string;
45061
+ };
45062
+ unique_provider_resource_key: {
45063
+ type: string;
45064
+ };
45059
45065
  };
45060
45066
  required: string[];
45061
45067
  type: string;
@@ -45105,16 +45111,10 @@ declare const _default: {
45105
45111
  };
45106
45112
  security: ({
45107
45113
  api_key: never[];
45108
- client_session_with_customer?: never;
45109
- console_session_with_workspace?: never;
45110
- } | {
45111
- client_session_with_customer: never[];
45112
- api_key?: never;
45113
45114
  console_session_with_workspace?: never;
45114
45115
  } | {
45115
45116
  console_session_with_workspace: never[];
45116
45117
  api_key?: never;
45117
- client_session_with_customer?: never;
45118
45118
  })[];
45119
45119
  summary: string;
45120
45120
  tags: never[];
@@ -45297,11 +45297,34 @@ declare const _default: {
45297
45297
  'application/json': {
45298
45298
  schema: {
45299
45299
  properties: {
45300
+ connector_customer_id: {
45301
+ description: string;
45302
+ format: string;
45303
+ nullable: boolean;
45304
+ type: string;
45305
+ };
45300
45306
  connector_id: {
45301
45307
  description: string;
45302
45308
  format: string;
45303
45309
  type: string;
45304
45310
  };
45311
+ connector_type: {
45312
+ description: string;
45313
+ type: string;
45314
+ };
45315
+ customer_id: {
45316
+ description: string;
45317
+ type: string;
45318
+ };
45319
+ customer_key: {
45320
+ description: string;
45321
+ type: string;
45322
+ };
45323
+ unique_provider_resource_key: {
45324
+ description: string;
45325
+ nullable: boolean;
45326
+ type: string;
45327
+ };
45305
45328
  };
45306
45329
  required: string[];
45307
45330
  type: string;
@@ -45317,9 +45340,6 @@ declare const _default: {
45317
45340
  properties: {
45318
45341
  connector_sync: {
45319
45342
  properties: {
45320
- connector_id: {
45321
- type: string;
45322
- };
45323
45343
  message: {
45324
45344
  type: string;
45325
45345
  };
@@ -49869,7 +49869,7 @@ export default {
49869
49869
  },
49870
49870
  '/seam/customer/v1/connectors/create': {
49871
49871
  post: {
49872
- description: '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.',
49872
+ description: 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.',
49873
49873
  operationId: 'seamCustomerV1ConnectorsCreatePost',
49874
49874
  requestBody: {
49875
49875
  content: {
@@ -49957,11 +49957,7 @@ export default {
49957
49957
  400: { description: 'Bad Request' },
49958
49958
  401: { description: 'Unauthorized' },
49959
49959
  },
49960
- security: [
49961
- { api_key: [] },
49962
- { client_session_with_customer: [] },
49963
- { console_session_with_workspace: [] },
49964
- ],
49960
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
49965
49961
  summary: '/seam/customer/v1/connectors/create',
49966
49962
  tags: [],
49967
49963
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
@@ -49981,11 +49977,15 @@ export default {
49981
49977
  'application/json': {
49982
49978
  schema: {
49983
49979
  properties: {
49980
+ connector_customer_id: { type: 'string' },
49984
49981
  connector_id: {
49985
49982
  description: 'ID of the connector to delete',
49986
49983
  minLength: 1,
49987
49984
  type: 'string',
49988
49985
  },
49986
+ customer_id: { type: 'string' },
49987
+ customer_key: { type: 'string' },
49988
+ unique_provider_resource_key: { type: 'string' },
49989
49989
  },
49990
49990
  required: ['connector_id'],
49991
49991
  type: 'object',
@@ -50020,11 +50020,7 @@ export default {
50020
50020
  400: { description: 'Bad Request' },
50021
50021
  401: { description: 'Unauthorized' },
50022
50022
  },
50023
- security: [
50024
- { api_key: [] },
50025
- { client_session_with_customer: [] },
50026
- { console_session_with_workspace: [] },
50027
- ],
50023
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
50028
50024
  summary: '/seam/customer/v1/connectors/delete',
50029
50025
  tags: [],
50030
50026
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
@@ -50176,13 +50172,43 @@ export default {
50176
50172
  'application/json': {
50177
50173
  schema: {
50178
50174
  properties: {
50175
+ connector_customer_id: {
50176
+ description: 'ID of the connector customer to sync',
50177
+ format: 'uuid',
50178
+ nullable: true,
50179
+ type: 'string',
50180
+ },
50179
50181
  connector_id: {
50180
50182
  description: 'ID of the connector to sync',
50181
50183
  format: 'uuid',
50182
50184
  type: 'string',
50183
50185
  },
50186
+ connector_type: {
50187
+ description: 'Type of the connector to sync',
50188
+ type: 'string',
50189
+ },
50190
+ customer_id: {
50191
+ description: 'ID of the customer to sync',
50192
+ type: 'string',
50193
+ },
50194
+ customer_key: {
50195
+ description: 'Key of the customer to sync',
50196
+ type: 'string',
50197
+ },
50198
+ unique_provider_resource_key: {
50199
+ description: 'Unique provider resource key of the connector to sync',
50200
+ nullable: true,
50201
+ type: 'string',
50202
+ },
50184
50203
  },
50185
- required: ['connector_id'],
50204
+ required: [
50205
+ 'connector_id',
50206
+ 'connector_type',
50207
+ 'customer_id',
50208
+ 'customer_key',
50209
+ 'connector_customer_id',
50210
+ 'unique_provider_resource_key',
50211
+ ],
50186
50212
  type: 'object',
50187
50213
  },
50188
50214
  },
@@ -50196,11 +50222,10 @@ export default {
50196
50222
  properties: {
50197
50223
  connector_sync: {
50198
50224
  properties: {
50199
- connector_id: { type: 'string' },
50200
50225
  message: { type: 'string' },
50201
50226
  status: { type: 'string' },
50202
50227
  },
50203
- required: ['connector_id', 'status', 'message'],
50228
+ required: ['status', 'message'],
50204
50229
  type: 'object',
50205
50230
  },
50206
50231
  ok: { type: 'boolean' },