@seamapi/types 1.709.0 → 1.710.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 +183 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +236 -0
- package/dist/index.cjs +183 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +209 -0
- package/lib/seam/connect/openapi.js +183 -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 +183 -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
|
@@ -54414,6 +54414,189 @@ export default {
|
|
|
54414
54414
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
54415
54415
|
},
|
|
54416
54416
|
},
|
|
54417
|
+
'/seam/customer/v1/connector_customers/list': {
|
|
54418
|
+
get: {
|
|
54419
|
+
description: 'Lists connector customers for a given connector.',
|
|
54420
|
+
operationId: 'seamCustomerV1ConnectorCustomersListGet',
|
|
54421
|
+
parameters: [
|
|
54422
|
+
{
|
|
54423
|
+
in: 'query',
|
|
54424
|
+
name: 'connector_id',
|
|
54425
|
+
schema: {
|
|
54426
|
+
description: 'ID of the connector.',
|
|
54427
|
+
format: 'uuid',
|
|
54428
|
+
type: 'string',
|
|
54429
|
+
},
|
|
54430
|
+
},
|
|
54431
|
+
],
|
|
54432
|
+
responses: {
|
|
54433
|
+
200: {
|
|
54434
|
+
content: {
|
|
54435
|
+
'application/json': {
|
|
54436
|
+
schema: {
|
|
54437
|
+
properties: {
|
|
54438
|
+
connector_customers: {
|
|
54439
|
+
items: {
|
|
54440
|
+
properties: {
|
|
54441
|
+
connector_customer_id: { type: 'string' },
|
|
54442
|
+
connector_id: { type: 'string' },
|
|
54443
|
+
created_at: { type: 'string' },
|
|
54444
|
+
customer_key: { type: 'string' },
|
|
54445
|
+
initial_sync_completed: { type: 'boolean' },
|
|
54446
|
+
initial_sync_status: {
|
|
54447
|
+
nullable: true,
|
|
54448
|
+
type: 'string',
|
|
54449
|
+
},
|
|
54450
|
+
instance_config: {
|
|
54451
|
+
additionalProperties: {
|
|
54452
|
+
$ref: '#/components/schemas/access_code',
|
|
54453
|
+
},
|
|
54454
|
+
nullable: true,
|
|
54455
|
+
type: 'object',
|
|
54456
|
+
},
|
|
54457
|
+
status: { nullable: true, type: 'string' },
|
|
54458
|
+
updated_at: { type: 'string' },
|
|
54459
|
+
},
|
|
54460
|
+
required: [
|
|
54461
|
+
'connector_customer_id',
|
|
54462
|
+
'connector_id',
|
|
54463
|
+
'customer_key',
|
|
54464
|
+
'instance_config',
|
|
54465
|
+
'initial_sync_completed',
|
|
54466
|
+
'initial_sync_status',
|
|
54467
|
+
'status',
|
|
54468
|
+
'created_at',
|
|
54469
|
+
'updated_at',
|
|
54470
|
+
],
|
|
54471
|
+
type: 'object',
|
|
54472
|
+
},
|
|
54473
|
+
type: 'array',
|
|
54474
|
+
},
|
|
54475
|
+
ok: { type: 'boolean' },
|
|
54476
|
+
},
|
|
54477
|
+
required: ['connector_customers', 'ok'],
|
|
54478
|
+
type: 'object',
|
|
54479
|
+
},
|
|
54480
|
+
},
|
|
54481
|
+
},
|
|
54482
|
+
description: 'OK',
|
|
54483
|
+
},
|
|
54484
|
+
400: { description: 'Bad Request' },
|
|
54485
|
+
401: { description: 'Unauthorized' },
|
|
54486
|
+
},
|
|
54487
|
+
security: [
|
|
54488
|
+
{ api_key: [] },
|
|
54489
|
+
{ client_session_with_customer: [] },
|
|
54490
|
+
{ console_session_with_workspace: [] },
|
|
54491
|
+
],
|
|
54492
|
+
summary: '/seam/customer/v1/connector_customers/list',
|
|
54493
|
+
tags: [],
|
|
54494
|
+
'x-fern-sdk-group-name': [
|
|
54495
|
+
'seam',
|
|
54496
|
+
'customer',
|
|
54497
|
+
'v1',
|
|
54498
|
+
'connector_customers',
|
|
54499
|
+
],
|
|
54500
|
+
'x-fern-sdk-method-name': 'list',
|
|
54501
|
+
'x-fern-sdk-return-value': 'connector_customers',
|
|
54502
|
+
'x-response-key': 'connector_customers',
|
|
54503
|
+
'x-title': 'List Connector Customers',
|
|
54504
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
54505
|
+
},
|
|
54506
|
+
post: {
|
|
54507
|
+
description: 'Lists connector customers for a given connector.',
|
|
54508
|
+
operationId: 'seamCustomerV1ConnectorCustomersListPost',
|
|
54509
|
+
requestBody: {
|
|
54510
|
+
content: {
|
|
54511
|
+
'application/json': {
|
|
54512
|
+
schema: {
|
|
54513
|
+
properties: {
|
|
54514
|
+
connector_id: {
|
|
54515
|
+
description: 'ID of the connector.',
|
|
54516
|
+
format: 'uuid',
|
|
54517
|
+
type: 'string',
|
|
54518
|
+
},
|
|
54519
|
+
},
|
|
54520
|
+
type: 'object',
|
|
54521
|
+
},
|
|
54522
|
+
},
|
|
54523
|
+
},
|
|
54524
|
+
},
|
|
54525
|
+
responses: {
|
|
54526
|
+
200: {
|
|
54527
|
+
content: {
|
|
54528
|
+
'application/json': {
|
|
54529
|
+
schema: {
|
|
54530
|
+
properties: {
|
|
54531
|
+
connector_customers: {
|
|
54532
|
+
items: {
|
|
54533
|
+
properties: {
|
|
54534
|
+
connector_customer_id: { type: 'string' },
|
|
54535
|
+
connector_id: { type: 'string' },
|
|
54536
|
+
created_at: { type: 'string' },
|
|
54537
|
+
customer_key: { type: 'string' },
|
|
54538
|
+
initial_sync_completed: { type: 'boolean' },
|
|
54539
|
+
initial_sync_status: {
|
|
54540
|
+
nullable: true,
|
|
54541
|
+
type: 'string',
|
|
54542
|
+
},
|
|
54543
|
+
instance_config: {
|
|
54544
|
+
additionalProperties: {
|
|
54545
|
+
$ref: '#/components/schemas/access_code',
|
|
54546
|
+
},
|
|
54547
|
+
nullable: true,
|
|
54548
|
+
type: 'object',
|
|
54549
|
+
},
|
|
54550
|
+
status: { nullable: true, type: 'string' },
|
|
54551
|
+
updated_at: { type: 'string' },
|
|
54552
|
+
},
|
|
54553
|
+
required: [
|
|
54554
|
+
'connector_customer_id',
|
|
54555
|
+
'connector_id',
|
|
54556
|
+
'customer_key',
|
|
54557
|
+
'instance_config',
|
|
54558
|
+
'initial_sync_completed',
|
|
54559
|
+
'initial_sync_status',
|
|
54560
|
+
'status',
|
|
54561
|
+
'created_at',
|
|
54562
|
+
'updated_at',
|
|
54563
|
+
],
|
|
54564
|
+
type: 'object',
|
|
54565
|
+
},
|
|
54566
|
+
type: 'array',
|
|
54567
|
+
},
|
|
54568
|
+
ok: { type: 'boolean' },
|
|
54569
|
+
},
|
|
54570
|
+
required: ['connector_customers', 'ok'],
|
|
54571
|
+
type: 'object',
|
|
54572
|
+
},
|
|
54573
|
+
},
|
|
54574
|
+
},
|
|
54575
|
+
description: 'OK',
|
|
54576
|
+
},
|
|
54577
|
+
400: { description: 'Bad Request' },
|
|
54578
|
+
401: { description: 'Unauthorized' },
|
|
54579
|
+
},
|
|
54580
|
+
security: [
|
|
54581
|
+
{ api_key: [] },
|
|
54582
|
+
{ client_session_with_customer: [] },
|
|
54583
|
+
{ console_session_with_workspace: [] },
|
|
54584
|
+
],
|
|
54585
|
+
summary: '/seam/customer/v1/connector_customers/list',
|
|
54586
|
+
tags: [],
|
|
54587
|
+
'x-fern-sdk-group-name': [
|
|
54588
|
+
'seam',
|
|
54589
|
+
'customer',
|
|
54590
|
+
'v1',
|
|
54591
|
+
'connector_customers',
|
|
54592
|
+
],
|
|
54593
|
+
'x-fern-sdk-method-name': 'list',
|
|
54594
|
+
'x-fern-sdk-return-value': 'connector_customers',
|
|
54595
|
+
'x-response-key': 'connector_customers',
|
|
54596
|
+
'x-title': 'List Connector Customers',
|
|
54597
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
54598
|
+
},
|
|
54599
|
+
},
|
|
54417
54600
|
'/seam/customer/v1/connectors/authorize': {
|
|
54418
54601
|
get: {
|
|
54419
54602
|
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'
|