@seamapi/types 1.623.0 → 1.624.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.
- package/dist/connect.cjs +141 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +196 -3
- package/dist/index.cjs +141 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +175 -2
- package/lib/seam/connect/openapi.js +140 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +142 -3
- package/src/lib/seam/connect/route-types.ts +21 -1
|
@@ -43508,9 +43508,181 @@ declare const _default: {
|
|
|
43508
43508
|
description: string;
|
|
43509
43509
|
};
|
|
43510
43510
|
};
|
|
43511
|
-
security: {
|
|
43511
|
+
security: ({
|
|
43512
43512
|
api_key: never[];
|
|
43513
|
-
|
|
43513
|
+
client_session_with_customer?: never;
|
|
43514
|
+
console_session_with_workspace?: never;
|
|
43515
|
+
} | {
|
|
43516
|
+
client_session_with_customer: never[];
|
|
43517
|
+
api_key?: never;
|
|
43518
|
+
console_session_with_workspace?: never;
|
|
43519
|
+
} | {
|
|
43520
|
+
console_session_with_workspace: never[];
|
|
43521
|
+
api_key?: never;
|
|
43522
|
+
client_session_with_customer?: never;
|
|
43523
|
+
})[];
|
|
43524
|
+
summary: string;
|
|
43525
|
+
tags: never[];
|
|
43526
|
+
'x-fern-sdk-group-name': string[];
|
|
43527
|
+
'x-fern-sdk-method-name': string;
|
|
43528
|
+
'x-fern-sdk-return-value': string;
|
|
43529
|
+
'x-response-key': string;
|
|
43530
|
+
'x-title': string;
|
|
43531
|
+
'x-undocumented': string;
|
|
43532
|
+
};
|
|
43533
|
+
};
|
|
43534
|
+
'/seam/customer/v1/connectors/list': {
|
|
43535
|
+
get: {
|
|
43536
|
+
description: string;
|
|
43537
|
+
operationId: string;
|
|
43538
|
+
responses: {
|
|
43539
|
+
200: {
|
|
43540
|
+
content: {
|
|
43541
|
+
'application/json': {
|
|
43542
|
+
schema: {
|
|
43543
|
+
properties: {
|
|
43544
|
+
connectors: {
|
|
43545
|
+
items: {
|
|
43546
|
+
properties: {
|
|
43547
|
+
config: {
|
|
43548
|
+
additionalProperties: {
|
|
43549
|
+
$ref: string;
|
|
43550
|
+
};
|
|
43551
|
+
type: string;
|
|
43552
|
+
};
|
|
43553
|
+
connector_id: {
|
|
43554
|
+
type: string;
|
|
43555
|
+
};
|
|
43556
|
+
connector_type: {
|
|
43557
|
+
type: string;
|
|
43558
|
+
};
|
|
43559
|
+
created_at: {
|
|
43560
|
+
type: string;
|
|
43561
|
+
};
|
|
43562
|
+
status: {
|
|
43563
|
+
enum: string[];
|
|
43564
|
+
type: string;
|
|
43565
|
+
};
|
|
43566
|
+
updated_at: {
|
|
43567
|
+
type: string;
|
|
43568
|
+
};
|
|
43569
|
+
};
|
|
43570
|
+
required: string[];
|
|
43571
|
+
type: string;
|
|
43572
|
+
};
|
|
43573
|
+
type: string;
|
|
43574
|
+
};
|
|
43575
|
+
ok: {
|
|
43576
|
+
type: string;
|
|
43577
|
+
};
|
|
43578
|
+
};
|
|
43579
|
+
required: string[];
|
|
43580
|
+
type: string;
|
|
43581
|
+
};
|
|
43582
|
+
};
|
|
43583
|
+
};
|
|
43584
|
+
description: string;
|
|
43585
|
+
};
|
|
43586
|
+
400: {
|
|
43587
|
+
description: string;
|
|
43588
|
+
};
|
|
43589
|
+
401: {
|
|
43590
|
+
description: string;
|
|
43591
|
+
};
|
|
43592
|
+
};
|
|
43593
|
+
security: ({
|
|
43594
|
+
api_key: never[];
|
|
43595
|
+
client_session_with_customer?: never;
|
|
43596
|
+
console_session_with_workspace?: never;
|
|
43597
|
+
} | {
|
|
43598
|
+
client_session_with_customer: never[];
|
|
43599
|
+
api_key?: never;
|
|
43600
|
+
console_session_with_workspace?: never;
|
|
43601
|
+
} | {
|
|
43602
|
+
console_session_with_workspace: never[];
|
|
43603
|
+
api_key?: never;
|
|
43604
|
+
client_session_with_customer?: never;
|
|
43605
|
+
})[];
|
|
43606
|
+
summary: string;
|
|
43607
|
+
tags: never[];
|
|
43608
|
+
'x-fern-sdk-group-name': string[];
|
|
43609
|
+
'x-fern-sdk-method-name': string;
|
|
43610
|
+
'x-fern-sdk-return-value': string;
|
|
43611
|
+
'x-response-key': string;
|
|
43612
|
+
'x-title': string;
|
|
43613
|
+
'x-undocumented': string;
|
|
43614
|
+
};
|
|
43615
|
+
post: {
|
|
43616
|
+
description: string;
|
|
43617
|
+
operationId: string;
|
|
43618
|
+
responses: {
|
|
43619
|
+
200: {
|
|
43620
|
+
content: {
|
|
43621
|
+
'application/json': {
|
|
43622
|
+
schema: {
|
|
43623
|
+
properties: {
|
|
43624
|
+
connectors: {
|
|
43625
|
+
items: {
|
|
43626
|
+
properties: {
|
|
43627
|
+
config: {
|
|
43628
|
+
additionalProperties: {
|
|
43629
|
+
$ref: string;
|
|
43630
|
+
};
|
|
43631
|
+
type: string;
|
|
43632
|
+
};
|
|
43633
|
+
connector_id: {
|
|
43634
|
+
type: string;
|
|
43635
|
+
};
|
|
43636
|
+
connector_type: {
|
|
43637
|
+
type: string;
|
|
43638
|
+
};
|
|
43639
|
+
created_at: {
|
|
43640
|
+
type: string;
|
|
43641
|
+
};
|
|
43642
|
+
status: {
|
|
43643
|
+
enum: string[];
|
|
43644
|
+
type: string;
|
|
43645
|
+
};
|
|
43646
|
+
updated_at: {
|
|
43647
|
+
type: string;
|
|
43648
|
+
};
|
|
43649
|
+
};
|
|
43650
|
+
required: string[];
|
|
43651
|
+
type: string;
|
|
43652
|
+
};
|
|
43653
|
+
type: string;
|
|
43654
|
+
};
|
|
43655
|
+
ok: {
|
|
43656
|
+
type: string;
|
|
43657
|
+
};
|
|
43658
|
+
};
|
|
43659
|
+
required: string[];
|
|
43660
|
+
type: string;
|
|
43661
|
+
};
|
|
43662
|
+
};
|
|
43663
|
+
};
|
|
43664
|
+
description: string;
|
|
43665
|
+
};
|
|
43666
|
+
400: {
|
|
43667
|
+
description: string;
|
|
43668
|
+
};
|
|
43669
|
+
401: {
|
|
43670
|
+
description: string;
|
|
43671
|
+
};
|
|
43672
|
+
};
|
|
43673
|
+
security: ({
|
|
43674
|
+
api_key: never[];
|
|
43675
|
+
client_session_with_customer?: never;
|
|
43676
|
+
console_session_with_workspace?: never;
|
|
43677
|
+
} | {
|
|
43678
|
+
client_session_with_customer: never[];
|
|
43679
|
+
api_key?: never;
|
|
43680
|
+
console_session_with_workspace?: never;
|
|
43681
|
+
} | {
|
|
43682
|
+
console_session_with_workspace: never[];
|
|
43683
|
+
api_key?: never;
|
|
43684
|
+
client_session_with_customer?: never;
|
|
43685
|
+
})[];
|
|
43514
43686
|
summary: string;
|
|
43515
43687
|
tags: never[];
|
|
43516
43688
|
'x-fern-sdk-group-name': string[];
|
|
@@ -43518,6 +43690,7 @@ declare const _default: {
|
|
|
43518
43690
|
'x-fern-sdk-return-value': string;
|
|
43519
43691
|
'x-response-key': string;
|
|
43520
43692
|
'x-title': string;
|
|
43693
|
+
'x-undocumented': string;
|
|
43521
43694
|
};
|
|
43522
43695
|
};
|
|
43523
43696
|
'/seam/customer/v1/connectors/sync': {
|
|
@@ -48274,7 +48274,7 @@ export default {
|
|
|
48274
48274
|
},
|
|
48275
48275
|
'/seam/customer/v1/connectors/create': {
|
|
48276
48276
|
post: {
|
|
48277
|
-
description: 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.',
|
|
48277
|
+
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 with the same unique_provider_resource_key, it will be updated instead of creating a new one.',
|
|
48278
48278
|
operationId: 'seamCustomerV1ConnectorsCreatePost',
|
|
48279
48279
|
requestBody: {
|
|
48280
48280
|
content: {
|
|
@@ -48315,7 +48315,7 @@ export default {
|
|
|
48315
48315
|
type: 'string',
|
|
48316
48316
|
},
|
|
48317
48317
|
},
|
|
48318
|
-
required: ['connector_type', '
|
|
48318
|
+
required: ['connector_type', 'config'],
|
|
48319
48319
|
type: 'object',
|
|
48320
48320
|
},
|
|
48321
48321
|
},
|
|
@@ -48373,7 +48373,11 @@ export default {
|
|
|
48373
48373
|
400: { description: 'Bad Request' },
|
|
48374
48374
|
401: { description: 'Unauthorized' },
|
|
48375
48375
|
},
|
|
48376
|
-
security: [
|
|
48376
|
+
security: [
|
|
48377
|
+
{ api_key: [] },
|
|
48378
|
+
{ client_session_with_customer: [] },
|
|
48379
|
+
{ console_session_with_workspace: [] },
|
|
48380
|
+
],
|
|
48377
48381
|
summary: '/seam/customer/v1/connectors/create',
|
|
48378
48382
|
tags: [],
|
|
48379
48383
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
@@ -48381,6 +48385,139 @@ export default {
|
|
|
48381
48385
|
'x-fern-sdk-return-value': 'connector',
|
|
48382
48386
|
'x-response-key': 'connector',
|
|
48383
48387
|
'x-title': 'Create Connector',
|
|
48388
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
48389
|
+
},
|
|
48390
|
+
},
|
|
48391
|
+
'/seam/customer/v1/connectors/list': {
|
|
48392
|
+
get: {
|
|
48393
|
+
description: 'Lists connectors for a workspace (API key auth) or for a specific customer (customer client session auth).',
|
|
48394
|
+
operationId: 'seamCustomerV1ConnectorsListGet',
|
|
48395
|
+
responses: {
|
|
48396
|
+
200: {
|
|
48397
|
+
content: {
|
|
48398
|
+
'application/json': {
|
|
48399
|
+
schema: {
|
|
48400
|
+
properties: {
|
|
48401
|
+
connectors: {
|
|
48402
|
+
items: {
|
|
48403
|
+
properties: {
|
|
48404
|
+
config: {
|
|
48405
|
+
additionalProperties: {
|
|
48406
|
+
$ref: '#/components/schemas/access_code',
|
|
48407
|
+
},
|
|
48408
|
+
type: 'object',
|
|
48409
|
+
},
|
|
48410
|
+
connector_id: { type: 'string' },
|
|
48411
|
+
connector_type: { type: 'string' },
|
|
48412
|
+
created_at: { type: 'string' },
|
|
48413
|
+
status: {
|
|
48414
|
+
enum: ['active', 'inactive', 'error'],
|
|
48415
|
+
type: 'string',
|
|
48416
|
+
},
|
|
48417
|
+
updated_at: { type: 'string' },
|
|
48418
|
+
},
|
|
48419
|
+
required: [
|
|
48420
|
+
'connector_id',
|
|
48421
|
+
'connector_type',
|
|
48422
|
+
'status',
|
|
48423
|
+
'config',
|
|
48424
|
+
'created_at',
|
|
48425
|
+
'updated_at',
|
|
48426
|
+
],
|
|
48427
|
+
type: 'object',
|
|
48428
|
+
},
|
|
48429
|
+
type: 'array',
|
|
48430
|
+
},
|
|
48431
|
+
ok: { type: 'boolean' },
|
|
48432
|
+
},
|
|
48433
|
+
required: ['connectors', 'ok'],
|
|
48434
|
+
type: 'object',
|
|
48435
|
+
},
|
|
48436
|
+
},
|
|
48437
|
+
},
|
|
48438
|
+
description: 'OK',
|
|
48439
|
+
},
|
|
48440
|
+
400: { description: 'Bad Request' },
|
|
48441
|
+
401: { description: 'Unauthorized' },
|
|
48442
|
+
},
|
|
48443
|
+
security: [
|
|
48444
|
+
{ api_key: [] },
|
|
48445
|
+
{ client_session_with_customer: [] },
|
|
48446
|
+
{ console_session_with_workspace: [] },
|
|
48447
|
+
],
|
|
48448
|
+
summary: '/seam/customer/v1/connectors/list',
|
|
48449
|
+
tags: [],
|
|
48450
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
48451
|
+
'x-fern-sdk-method-name': 'list',
|
|
48452
|
+
'x-fern-sdk-return-value': 'connectors',
|
|
48453
|
+
'x-response-key': 'connectors',
|
|
48454
|
+
'x-title': 'List Connectors',
|
|
48455
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
48456
|
+
},
|
|
48457
|
+
post: {
|
|
48458
|
+
description: 'Lists connectors for a workspace (API key auth) or for a specific customer (customer client session auth).',
|
|
48459
|
+
operationId: 'seamCustomerV1ConnectorsListPost',
|
|
48460
|
+
responses: {
|
|
48461
|
+
200: {
|
|
48462
|
+
content: {
|
|
48463
|
+
'application/json': {
|
|
48464
|
+
schema: {
|
|
48465
|
+
properties: {
|
|
48466
|
+
connectors: {
|
|
48467
|
+
items: {
|
|
48468
|
+
properties: {
|
|
48469
|
+
config: {
|
|
48470
|
+
additionalProperties: {
|
|
48471
|
+
$ref: '#/components/schemas/access_code',
|
|
48472
|
+
},
|
|
48473
|
+
type: 'object',
|
|
48474
|
+
},
|
|
48475
|
+
connector_id: { type: 'string' },
|
|
48476
|
+
connector_type: { type: 'string' },
|
|
48477
|
+
created_at: { type: 'string' },
|
|
48478
|
+
status: {
|
|
48479
|
+
enum: ['active', 'inactive', 'error'],
|
|
48480
|
+
type: 'string',
|
|
48481
|
+
},
|
|
48482
|
+
updated_at: { type: 'string' },
|
|
48483
|
+
},
|
|
48484
|
+
required: [
|
|
48485
|
+
'connector_id',
|
|
48486
|
+
'connector_type',
|
|
48487
|
+
'status',
|
|
48488
|
+
'config',
|
|
48489
|
+
'created_at',
|
|
48490
|
+
'updated_at',
|
|
48491
|
+
],
|
|
48492
|
+
type: 'object',
|
|
48493
|
+
},
|
|
48494
|
+
type: 'array',
|
|
48495
|
+
},
|
|
48496
|
+
ok: { type: 'boolean' },
|
|
48497
|
+
},
|
|
48498
|
+
required: ['connectors', 'ok'],
|
|
48499
|
+
type: 'object',
|
|
48500
|
+
},
|
|
48501
|
+
},
|
|
48502
|
+
},
|
|
48503
|
+
description: 'OK',
|
|
48504
|
+
},
|
|
48505
|
+
400: { description: 'Bad Request' },
|
|
48506
|
+
401: { description: 'Unauthorized' },
|
|
48507
|
+
},
|
|
48508
|
+
security: [
|
|
48509
|
+
{ api_key: [] },
|
|
48510
|
+
{ client_session_with_customer: [] },
|
|
48511
|
+
{ console_session_with_workspace: [] },
|
|
48512
|
+
],
|
|
48513
|
+
summary: '/seam/customer/v1/connectors/list',
|
|
48514
|
+
tags: [],
|
|
48515
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
48516
|
+
'x-fern-sdk-method-name': 'list',
|
|
48517
|
+
'x-fern-sdk-return-value': 'connectors',
|
|
48518
|
+
'x-response-key': 'connectors',
|
|
48519
|
+
'x-title': 'List Connectors',
|
|
48520
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
48384
48521
|
},
|
|
48385
48522
|
},
|
|
48386
48523
|
'/seam/customer/v1/connectors/sync': {
|