@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.
- package/dist/connect.cjs +187 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +252 -0
- package/dist/index.cjs +187 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +225 -0
- package/lib/seam/connect/openapi.js +185 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +27 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +185 -0
- package/src/lib/seam/connect/route-types.ts +27 -0
|
@@ -52829,6 +52829,33 @@ export type Routes = {
|
|
|
52829
52829
|
jsonResponse: {};
|
|
52830
52830
|
maxDuration: undefined;
|
|
52831
52831
|
};
|
|
52832
|
+
'/seam/customer/v1/connector_customers/list': {
|
|
52833
|
+
route: '/seam/customer/v1/connector_customers/list';
|
|
52834
|
+
method: 'GET' | 'POST';
|
|
52835
|
+
queryParams: {};
|
|
52836
|
+
jsonBody: {};
|
|
52837
|
+
commonParams: {
|
|
52838
|
+
/** ID of the connector. */
|
|
52839
|
+
connector_id?: string | undefined;
|
|
52840
|
+
};
|
|
52841
|
+
formData: {};
|
|
52842
|
+
jsonResponse: {
|
|
52843
|
+
connector_customers: {
|
|
52844
|
+
connector_customer_id: string;
|
|
52845
|
+
connector_id: string;
|
|
52846
|
+
customer_key: string;
|
|
52847
|
+
instance_config: {
|
|
52848
|
+
[x: string]: any;
|
|
52849
|
+
} | null;
|
|
52850
|
+
initial_sync_completed: boolean;
|
|
52851
|
+
initial_sync_status: string | null;
|
|
52852
|
+
status: string | null;
|
|
52853
|
+
created_at: string;
|
|
52854
|
+
updated_at: string;
|
|
52855
|
+
}[];
|
|
52856
|
+
};
|
|
52857
|
+
maxDuration: undefined;
|
|
52858
|
+
};
|
|
52832
52859
|
'/seam/customer/v1/connectors/authorize': {
|
|
52833
52860
|
route: '/seam/customer/v1/connectors/authorize';
|
|
52834
52861
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -31679,6 +31679,7 @@ export default {
|
|
|
31679
31679
|
{ pat_with_workspace: [] },
|
|
31680
31680
|
{ console_session_with_workspace: [] },
|
|
31681
31681
|
{ api_key: [] },
|
|
31682
|
+
{ client_session_with_customer: [] },
|
|
31682
31683
|
],
|
|
31683
31684
|
summary: '/access_methods/delete',
|
|
31684
31685
|
tags: [],
|
|
@@ -31728,6 +31729,7 @@ export default {
|
|
|
31728
31729
|
{ pat_with_workspace: [] },
|
|
31729
31730
|
{ console_session_with_workspace: [] },
|
|
31730
31731
|
{ api_key: [] },
|
|
31732
|
+
{ client_session_with_customer: [] },
|
|
31731
31733
|
],
|
|
31732
31734
|
summary: '/access_methods/delete',
|
|
31733
31735
|
tags: [],
|
|
@@ -54414,6 +54416,189 @@ export default {
|
|
|
54414
54416
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
54415
54417
|
},
|
|
54416
54418
|
},
|
|
54419
|
+
'/seam/customer/v1/connector_customers/list': {
|
|
54420
|
+
get: {
|
|
54421
|
+
description: 'Lists connector customers for a given connector.',
|
|
54422
|
+
operationId: 'seamCustomerV1ConnectorCustomersListGet',
|
|
54423
|
+
parameters: [
|
|
54424
|
+
{
|
|
54425
|
+
in: 'query',
|
|
54426
|
+
name: 'connector_id',
|
|
54427
|
+
schema: {
|
|
54428
|
+
description: 'ID of the connector.',
|
|
54429
|
+
format: 'uuid',
|
|
54430
|
+
type: 'string',
|
|
54431
|
+
},
|
|
54432
|
+
},
|
|
54433
|
+
],
|
|
54434
|
+
responses: {
|
|
54435
|
+
200: {
|
|
54436
|
+
content: {
|
|
54437
|
+
'application/json': {
|
|
54438
|
+
schema: {
|
|
54439
|
+
properties: {
|
|
54440
|
+
connector_customers: {
|
|
54441
|
+
items: {
|
|
54442
|
+
properties: {
|
|
54443
|
+
connector_customer_id: { type: 'string' },
|
|
54444
|
+
connector_id: { type: 'string' },
|
|
54445
|
+
created_at: { type: 'string' },
|
|
54446
|
+
customer_key: { type: 'string' },
|
|
54447
|
+
initial_sync_completed: { type: 'boolean' },
|
|
54448
|
+
initial_sync_status: {
|
|
54449
|
+
nullable: true,
|
|
54450
|
+
type: 'string',
|
|
54451
|
+
},
|
|
54452
|
+
instance_config: {
|
|
54453
|
+
additionalProperties: {
|
|
54454
|
+
$ref: '#/components/schemas/access_code',
|
|
54455
|
+
},
|
|
54456
|
+
nullable: true,
|
|
54457
|
+
type: 'object',
|
|
54458
|
+
},
|
|
54459
|
+
status: { nullable: true, type: 'string' },
|
|
54460
|
+
updated_at: { type: 'string' },
|
|
54461
|
+
},
|
|
54462
|
+
required: [
|
|
54463
|
+
'connector_customer_id',
|
|
54464
|
+
'connector_id',
|
|
54465
|
+
'customer_key',
|
|
54466
|
+
'instance_config',
|
|
54467
|
+
'initial_sync_completed',
|
|
54468
|
+
'initial_sync_status',
|
|
54469
|
+
'status',
|
|
54470
|
+
'created_at',
|
|
54471
|
+
'updated_at',
|
|
54472
|
+
],
|
|
54473
|
+
type: 'object',
|
|
54474
|
+
},
|
|
54475
|
+
type: 'array',
|
|
54476
|
+
},
|
|
54477
|
+
ok: { type: 'boolean' },
|
|
54478
|
+
},
|
|
54479
|
+
required: ['connector_customers', 'ok'],
|
|
54480
|
+
type: 'object',
|
|
54481
|
+
},
|
|
54482
|
+
},
|
|
54483
|
+
},
|
|
54484
|
+
description: 'OK',
|
|
54485
|
+
},
|
|
54486
|
+
400: { description: 'Bad Request' },
|
|
54487
|
+
401: { description: 'Unauthorized' },
|
|
54488
|
+
},
|
|
54489
|
+
security: [
|
|
54490
|
+
{ api_key: [] },
|
|
54491
|
+
{ client_session_with_customer: [] },
|
|
54492
|
+
{ console_session_with_workspace: [] },
|
|
54493
|
+
],
|
|
54494
|
+
summary: '/seam/customer/v1/connector_customers/list',
|
|
54495
|
+
tags: [],
|
|
54496
|
+
'x-fern-sdk-group-name': [
|
|
54497
|
+
'seam',
|
|
54498
|
+
'customer',
|
|
54499
|
+
'v1',
|
|
54500
|
+
'connector_customers',
|
|
54501
|
+
],
|
|
54502
|
+
'x-fern-sdk-method-name': 'list',
|
|
54503
|
+
'x-fern-sdk-return-value': 'connector_customers',
|
|
54504
|
+
'x-response-key': 'connector_customers',
|
|
54505
|
+
'x-title': 'List Connector Customers',
|
|
54506
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
54507
|
+
},
|
|
54508
|
+
post: {
|
|
54509
|
+
description: 'Lists connector customers for a given connector.',
|
|
54510
|
+
operationId: 'seamCustomerV1ConnectorCustomersListPost',
|
|
54511
|
+
requestBody: {
|
|
54512
|
+
content: {
|
|
54513
|
+
'application/json': {
|
|
54514
|
+
schema: {
|
|
54515
|
+
properties: {
|
|
54516
|
+
connector_id: {
|
|
54517
|
+
description: 'ID of the connector.',
|
|
54518
|
+
format: 'uuid',
|
|
54519
|
+
type: 'string',
|
|
54520
|
+
},
|
|
54521
|
+
},
|
|
54522
|
+
type: 'object',
|
|
54523
|
+
},
|
|
54524
|
+
},
|
|
54525
|
+
},
|
|
54526
|
+
},
|
|
54527
|
+
responses: {
|
|
54528
|
+
200: {
|
|
54529
|
+
content: {
|
|
54530
|
+
'application/json': {
|
|
54531
|
+
schema: {
|
|
54532
|
+
properties: {
|
|
54533
|
+
connector_customers: {
|
|
54534
|
+
items: {
|
|
54535
|
+
properties: {
|
|
54536
|
+
connector_customer_id: { type: 'string' },
|
|
54537
|
+
connector_id: { type: 'string' },
|
|
54538
|
+
created_at: { type: 'string' },
|
|
54539
|
+
customer_key: { type: 'string' },
|
|
54540
|
+
initial_sync_completed: { type: 'boolean' },
|
|
54541
|
+
initial_sync_status: {
|
|
54542
|
+
nullable: true,
|
|
54543
|
+
type: 'string',
|
|
54544
|
+
},
|
|
54545
|
+
instance_config: {
|
|
54546
|
+
additionalProperties: {
|
|
54547
|
+
$ref: '#/components/schemas/access_code',
|
|
54548
|
+
},
|
|
54549
|
+
nullable: true,
|
|
54550
|
+
type: 'object',
|
|
54551
|
+
},
|
|
54552
|
+
status: { nullable: true, type: 'string' },
|
|
54553
|
+
updated_at: { type: 'string' },
|
|
54554
|
+
},
|
|
54555
|
+
required: [
|
|
54556
|
+
'connector_customer_id',
|
|
54557
|
+
'connector_id',
|
|
54558
|
+
'customer_key',
|
|
54559
|
+
'instance_config',
|
|
54560
|
+
'initial_sync_completed',
|
|
54561
|
+
'initial_sync_status',
|
|
54562
|
+
'status',
|
|
54563
|
+
'created_at',
|
|
54564
|
+
'updated_at',
|
|
54565
|
+
],
|
|
54566
|
+
type: 'object',
|
|
54567
|
+
},
|
|
54568
|
+
type: 'array',
|
|
54569
|
+
},
|
|
54570
|
+
ok: { type: 'boolean' },
|
|
54571
|
+
},
|
|
54572
|
+
required: ['connector_customers', 'ok'],
|
|
54573
|
+
type: 'object',
|
|
54574
|
+
},
|
|
54575
|
+
},
|
|
54576
|
+
},
|
|
54577
|
+
description: 'OK',
|
|
54578
|
+
},
|
|
54579
|
+
400: { description: 'Bad Request' },
|
|
54580
|
+
401: { description: 'Unauthorized' },
|
|
54581
|
+
},
|
|
54582
|
+
security: [
|
|
54583
|
+
{ api_key: [] },
|
|
54584
|
+
{ client_session_with_customer: [] },
|
|
54585
|
+
{ console_session_with_workspace: [] },
|
|
54586
|
+
],
|
|
54587
|
+
summary: '/seam/customer/v1/connector_customers/list',
|
|
54588
|
+
tags: [],
|
|
54589
|
+
'x-fern-sdk-group-name': [
|
|
54590
|
+
'seam',
|
|
54591
|
+
'customer',
|
|
54592
|
+
'v1',
|
|
54593
|
+
'connector_customers',
|
|
54594
|
+
],
|
|
54595
|
+
'x-fern-sdk-method-name': 'list',
|
|
54596
|
+
'x-fern-sdk-return-value': 'connector_customers',
|
|
54597
|
+
'x-response-key': 'connector_customers',
|
|
54598
|
+
'x-title': 'List Connector Customers',
|
|
54599
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
54600
|
+
},
|
|
54601
|
+
},
|
|
54417
54602
|
'/seam/customer/v1/connectors/authorize': {
|
|
54418
54603
|
get: {
|
|
54419
54604
|
description:
|
|
@@ -63191,6 +63191,33 @@ export type Routes = {
|
|
|
63191
63191
|
jsonResponse: {}
|
|
63192
63192
|
maxDuration: undefined
|
|
63193
63193
|
}
|
|
63194
|
+
'/seam/customer/v1/connector_customers/list': {
|
|
63195
|
+
route: '/seam/customer/v1/connector_customers/list'
|
|
63196
|
+
method: 'GET' | 'POST'
|
|
63197
|
+
queryParams: {}
|
|
63198
|
+
jsonBody: {}
|
|
63199
|
+
commonParams: {
|
|
63200
|
+
/** ID of the connector. */
|
|
63201
|
+
connector_id?: string | undefined
|
|
63202
|
+
}
|
|
63203
|
+
formData: {}
|
|
63204
|
+
jsonResponse: {
|
|
63205
|
+
connector_customers: {
|
|
63206
|
+
connector_customer_id: string
|
|
63207
|
+
connector_id: string
|
|
63208
|
+
customer_key: string
|
|
63209
|
+
instance_config: {
|
|
63210
|
+
[x: string]: any
|
|
63211
|
+
} | null
|
|
63212
|
+
initial_sync_completed: boolean
|
|
63213
|
+
initial_sync_status: string | null
|
|
63214
|
+
status: string | null
|
|
63215
|
+
created_at: string
|
|
63216
|
+
updated_at: string
|
|
63217
|
+
}[]
|
|
63218
|
+
}
|
|
63219
|
+
maxDuration: undefined
|
|
63220
|
+
}
|
|
63194
63221
|
'/seam/customer/v1/connectors/authorize': {
|
|
63195
63222
|
route: '/seam/customer/v1/connectors/authorize'
|
|
63196
63223
|
method: 'GET' | 'POST'
|