@seamapi/types 1.709.0 → 1.711.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.
@@ -21440,14 +21440,22 @@ declare const _default: {
21440
21440
  pat_with_workspace: never[];
21441
21441
  console_session_with_workspace?: never;
21442
21442
  api_key?: never;
21443
+ client_session_with_customer?: never;
21443
21444
  } | {
21444
21445
  console_session_with_workspace: never[];
21445
21446
  pat_with_workspace?: never;
21446
21447
  api_key?: never;
21448
+ client_session_with_customer?: never;
21447
21449
  } | {
21448
21450
  api_key: never[];
21449
21451
  pat_with_workspace?: never;
21450
21452
  console_session_with_workspace?: never;
21453
+ client_session_with_customer?: never;
21454
+ } | {
21455
+ client_session_with_customer: never[];
21456
+ pat_with_workspace?: never;
21457
+ console_session_with_workspace?: never;
21458
+ api_key?: never;
21451
21459
  })[];
21452
21460
  summary: string;
21453
21461
  tags: never[];
@@ -21505,14 +21513,22 @@ declare const _default: {
21505
21513
  pat_with_workspace: never[];
21506
21514
  console_session_with_workspace?: never;
21507
21515
  api_key?: never;
21516
+ client_session_with_customer?: never;
21508
21517
  } | {
21509
21518
  console_session_with_workspace: never[];
21510
21519
  pat_with_workspace?: never;
21511
21520
  api_key?: never;
21521
+ client_session_with_customer?: never;
21512
21522
  } | {
21513
21523
  api_key: never[];
21514
21524
  pat_with_workspace?: never;
21515
21525
  console_session_with_workspace?: never;
21526
+ client_session_with_customer?: never;
21527
+ } | {
21528
+ client_session_with_customer: never[];
21529
+ pat_with_workspace?: never;
21530
+ console_session_with_workspace?: never;
21531
+ api_key?: never;
21516
21532
  })[];
21517
21533
  summary: string;
21518
21534
  tags: never[];
@@ -45141,6 +45157,215 @@ declare const _default: {
45141
45157
  'x-undocumented': string;
45142
45158
  };
45143
45159
  };
45160
+ '/seam/customer/v1/connector_customers/list': {
45161
+ get: {
45162
+ description: string;
45163
+ operationId: string;
45164
+ parameters: {
45165
+ in: string;
45166
+ name: string;
45167
+ schema: {
45168
+ description: string;
45169
+ format: string;
45170
+ type: string;
45171
+ };
45172
+ }[];
45173
+ responses: {
45174
+ 200: {
45175
+ content: {
45176
+ 'application/json': {
45177
+ schema: {
45178
+ properties: {
45179
+ connector_customers: {
45180
+ items: {
45181
+ properties: {
45182
+ connector_customer_id: {
45183
+ type: string;
45184
+ };
45185
+ connector_id: {
45186
+ type: string;
45187
+ };
45188
+ created_at: {
45189
+ type: string;
45190
+ };
45191
+ customer_key: {
45192
+ type: string;
45193
+ };
45194
+ initial_sync_completed: {
45195
+ type: string;
45196
+ };
45197
+ initial_sync_status: {
45198
+ nullable: boolean;
45199
+ type: string;
45200
+ };
45201
+ instance_config: {
45202
+ additionalProperties: {
45203
+ $ref: string;
45204
+ };
45205
+ nullable: boolean;
45206
+ type: string;
45207
+ };
45208
+ status: {
45209
+ nullable: boolean;
45210
+ type: string;
45211
+ };
45212
+ updated_at: {
45213
+ type: string;
45214
+ };
45215
+ };
45216
+ required: string[];
45217
+ type: string;
45218
+ };
45219
+ type: string;
45220
+ };
45221
+ ok: {
45222
+ type: string;
45223
+ };
45224
+ };
45225
+ required: string[];
45226
+ type: string;
45227
+ };
45228
+ };
45229
+ };
45230
+ description: string;
45231
+ };
45232
+ 400: {
45233
+ description: string;
45234
+ };
45235
+ 401: {
45236
+ description: string;
45237
+ };
45238
+ };
45239
+ security: ({
45240
+ api_key: never[];
45241
+ client_session_with_customer?: never;
45242
+ console_session_with_workspace?: never;
45243
+ } | {
45244
+ client_session_with_customer: never[];
45245
+ api_key?: never;
45246
+ console_session_with_workspace?: never;
45247
+ } | {
45248
+ console_session_with_workspace: never[];
45249
+ api_key?: never;
45250
+ client_session_with_customer?: never;
45251
+ })[];
45252
+ summary: string;
45253
+ tags: never[];
45254
+ 'x-fern-sdk-group-name': string[];
45255
+ 'x-fern-sdk-method-name': string;
45256
+ 'x-fern-sdk-return-value': string;
45257
+ 'x-response-key': string;
45258
+ 'x-title': string;
45259
+ 'x-undocumented': string;
45260
+ };
45261
+ post: {
45262
+ description: string;
45263
+ operationId: string;
45264
+ requestBody: {
45265
+ content: {
45266
+ 'application/json': {
45267
+ schema: {
45268
+ properties: {
45269
+ connector_id: {
45270
+ description: string;
45271
+ format: string;
45272
+ type: string;
45273
+ };
45274
+ };
45275
+ type: string;
45276
+ };
45277
+ };
45278
+ };
45279
+ };
45280
+ responses: {
45281
+ 200: {
45282
+ content: {
45283
+ 'application/json': {
45284
+ schema: {
45285
+ properties: {
45286
+ connector_customers: {
45287
+ items: {
45288
+ properties: {
45289
+ connector_customer_id: {
45290
+ type: string;
45291
+ };
45292
+ connector_id: {
45293
+ type: string;
45294
+ };
45295
+ created_at: {
45296
+ type: string;
45297
+ };
45298
+ customer_key: {
45299
+ type: string;
45300
+ };
45301
+ initial_sync_completed: {
45302
+ type: string;
45303
+ };
45304
+ initial_sync_status: {
45305
+ nullable: boolean;
45306
+ type: string;
45307
+ };
45308
+ instance_config: {
45309
+ additionalProperties: {
45310
+ $ref: string;
45311
+ };
45312
+ nullable: boolean;
45313
+ type: string;
45314
+ };
45315
+ status: {
45316
+ nullable: boolean;
45317
+ type: string;
45318
+ };
45319
+ updated_at: {
45320
+ type: string;
45321
+ };
45322
+ };
45323
+ required: string[];
45324
+ type: string;
45325
+ };
45326
+ type: string;
45327
+ };
45328
+ ok: {
45329
+ type: string;
45330
+ };
45331
+ };
45332
+ required: string[];
45333
+ type: string;
45334
+ };
45335
+ };
45336
+ };
45337
+ description: string;
45338
+ };
45339
+ 400: {
45340
+ description: string;
45341
+ };
45342
+ 401: {
45343
+ description: string;
45344
+ };
45345
+ };
45346
+ security: ({
45347
+ api_key: never[];
45348
+ client_session_with_customer?: never;
45349
+ console_session_with_workspace?: never;
45350
+ } | {
45351
+ client_session_with_customer: never[];
45352
+ api_key?: never;
45353
+ console_session_with_workspace?: never;
45354
+ } | {
45355
+ console_session_with_workspace: never[];
45356
+ api_key?: never;
45357
+ client_session_with_customer?: never;
45358
+ })[];
45359
+ summary: string;
45360
+ tags: never[];
45361
+ 'x-fern-sdk-group-name': string[];
45362
+ 'x-fern-sdk-method-name': string;
45363
+ 'x-fern-sdk-return-value': string;
45364
+ 'x-response-key': string;
45365
+ 'x-title': string;
45366
+ 'x-undocumented': string;
45367
+ };
45368
+ };
45144
45369
  '/seam/customer/v1/connectors/authorize': {
45145
45370
  get: {
45146
45371
  description: string;
@@ -28551,6 +28551,7 @@ export default {
28551
28551
  { pat_with_workspace: [] },
28552
28552
  { console_session_with_workspace: [] },
28553
28553
  { api_key: [] },
28554
+ { client_session_with_customer: [] },
28554
28555
  ],
28555
28556
  summary: '/access_methods/delete',
28556
28557
  tags: [],
@@ -28600,6 +28601,7 @@ export default {
28600
28601
  { pat_with_workspace: [] },
28601
28602
  { console_session_with_workspace: [] },
28602
28603
  { api_key: [] },
28604
+ { client_session_with_customer: [] },
28603
28605
  ],
28604
28606
  summary: '/access_methods/delete',
28605
28607
  tags: [],
@@ -50111,6 +50113,189 @@ export default {
50111
50113
  'x-undocumented': 'Internal endpoint for customer portals.',
50112
50114
  },
50113
50115
  },
50116
+ '/seam/customer/v1/connector_customers/list': {
50117
+ get: {
50118
+ description: 'Lists connector customers for a given connector.',
50119
+ operationId: 'seamCustomerV1ConnectorCustomersListGet',
50120
+ parameters: [
50121
+ {
50122
+ in: 'query',
50123
+ name: 'connector_id',
50124
+ schema: {
50125
+ description: 'ID of the connector.',
50126
+ format: 'uuid',
50127
+ type: 'string',
50128
+ },
50129
+ },
50130
+ ],
50131
+ responses: {
50132
+ 200: {
50133
+ content: {
50134
+ 'application/json': {
50135
+ schema: {
50136
+ properties: {
50137
+ connector_customers: {
50138
+ items: {
50139
+ properties: {
50140
+ connector_customer_id: { type: 'string' },
50141
+ connector_id: { type: 'string' },
50142
+ created_at: { type: 'string' },
50143
+ customer_key: { type: 'string' },
50144
+ initial_sync_completed: { type: 'boolean' },
50145
+ initial_sync_status: {
50146
+ nullable: true,
50147
+ type: 'string',
50148
+ },
50149
+ instance_config: {
50150
+ additionalProperties: {
50151
+ $ref: '#/components/schemas/access_code',
50152
+ },
50153
+ nullable: true,
50154
+ type: 'object',
50155
+ },
50156
+ status: { nullable: true, type: 'string' },
50157
+ updated_at: { type: 'string' },
50158
+ },
50159
+ required: [
50160
+ 'connector_customer_id',
50161
+ 'connector_id',
50162
+ 'customer_key',
50163
+ 'instance_config',
50164
+ 'initial_sync_completed',
50165
+ 'initial_sync_status',
50166
+ 'status',
50167
+ 'created_at',
50168
+ 'updated_at',
50169
+ ],
50170
+ type: 'object',
50171
+ },
50172
+ type: 'array',
50173
+ },
50174
+ ok: { type: 'boolean' },
50175
+ },
50176
+ required: ['connector_customers', 'ok'],
50177
+ type: 'object',
50178
+ },
50179
+ },
50180
+ },
50181
+ description: 'OK',
50182
+ },
50183
+ 400: { description: 'Bad Request' },
50184
+ 401: { description: 'Unauthorized' },
50185
+ },
50186
+ security: [
50187
+ { api_key: [] },
50188
+ { client_session_with_customer: [] },
50189
+ { console_session_with_workspace: [] },
50190
+ ],
50191
+ summary: '/seam/customer/v1/connector_customers/list',
50192
+ tags: [],
50193
+ 'x-fern-sdk-group-name': [
50194
+ 'seam',
50195
+ 'customer',
50196
+ 'v1',
50197
+ 'connector_customers',
50198
+ ],
50199
+ 'x-fern-sdk-method-name': 'list',
50200
+ 'x-fern-sdk-return-value': 'connector_customers',
50201
+ 'x-response-key': 'connector_customers',
50202
+ 'x-title': 'List Connector Customers',
50203
+ 'x-undocumented': 'Internal endpoint for Console.',
50204
+ },
50205
+ post: {
50206
+ description: 'Lists connector customers for a given connector.',
50207
+ operationId: 'seamCustomerV1ConnectorCustomersListPost',
50208
+ requestBody: {
50209
+ content: {
50210
+ 'application/json': {
50211
+ schema: {
50212
+ properties: {
50213
+ connector_id: {
50214
+ description: 'ID of the connector.',
50215
+ format: 'uuid',
50216
+ type: 'string',
50217
+ },
50218
+ },
50219
+ type: 'object',
50220
+ },
50221
+ },
50222
+ },
50223
+ },
50224
+ responses: {
50225
+ 200: {
50226
+ content: {
50227
+ 'application/json': {
50228
+ schema: {
50229
+ properties: {
50230
+ connector_customers: {
50231
+ items: {
50232
+ properties: {
50233
+ connector_customer_id: { type: 'string' },
50234
+ connector_id: { type: 'string' },
50235
+ created_at: { type: 'string' },
50236
+ customer_key: { type: 'string' },
50237
+ initial_sync_completed: { type: 'boolean' },
50238
+ initial_sync_status: {
50239
+ nullable: true,
50240
+ type: 'string',
50241
+ },
50242
+ instance_config: {
50243
+ additionalProperties: {
50244
+ $ref: '#/components/schemas/access_code',
50245
+ },
50246
+ nullable: true,
50247
+ type: 'object',
50248
+ },
50249
+ status: { nullable: true, type: 'string' },
50250
+ updated_at: { type: 'string' },
50251
+ },
50252
+ required: [
50253
+ 'connector_customer_id',
50254
+ 'connector_id',
50255
+ 'customer_key',
50256
+ 'instance_config',
50257
+ 'initial_sync_completed',
50258
+ 'initial_sync_status',
50259
+ 'status',
50260
+ 'created_at',
50261
+ 'updated_at',
50262
+ ],
50263
+ type: 'object',
50264
+ },
50265
+ type: 'array',
50266
+ },
50267
+ ok: { type: 'boolean' },
50268
+ },
50269
+ required: ['connector_customers', 'ok'],
50270
+ type: 'object',
50271
+ },
50272
+ },
50273
+ },
50274
+ description: 'OK',
50275
+ },
50276
+ 400: { description: 'Bad Request' },
50277
+ 401: { description: 'Unauthorized' },
50278
+ },
50279
+ security: [
50280
+ { api_key: [] },
50281
+ { client_session_with_customer: [] },
50282
+ { console_session_with_workspace: [] },
50283
+ ],
50284
+ summary: '/seam/customer/v1/connector_customers/list',
50285
+ tags: [],
50286
+ 'x-fern-sdk-group-name': [
50287
+ 'seam',
50288
+ 'customer',
50289
+ 'v1',
50290
+ 'connector_customers',
50291
+ ],
50292
+ 'x-fern-sdk-method-name': 'list',
50293
+ 'x-fern-sdk-return-value': 'connector_customers',
50294
+ 'x-response-key': 'connector_customers',
50295
+ 'x-title': 'List Connector Customers',
50296
+ 'x-undocumented': 'Internal endpoint for Console.',
50297
+ },
50298
+ },
50114
50299
  '/seam/customer/v1/connectors/authorize': {
50115
50300
  get: {
50116
50301
  description: 'Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).',