@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
package/dist/connect.d.cts
CHANGED
|
@@ -74800,14 +74800,22 @@ declare const _default: {
|
|
|
74800
74800
|
pat_with_workspace: never[];
|
|
74801
74801
|
console_session_with_workspace?: never;
|
|
74802
74802
|
api_key?: never;
|
|
74803
|
+
client_session_with_customer?: never;
|
|
74803
74804
|
} | {
|
|
74804
74805
|
console_session_with_workspace: never[];
|
|
74805
74806
|
pat_with_workspace?: never;
|
|
74806
74807
|
api_key?: never;
|
|
74808
|
+
client_session_with_customer?: never;
|
|
74807
74809
|
} | {
|
|
74808
74810
|
api_key: never[];
|
|
74809
74811
|
pat_with_workspace?: never;
|
|
74810
74812
|
console_session_with_workspace?: never;
|
|
74813
|
+
client_session_with_customer?: never;
|
|
74814
|
+
} | {
|
|
74815
|
+
client_session_with_customer: never[];
|
|
74816
|
+
pat_with_workspace?: never;
|
|
74817
|
+
console_session_with_workspace?: never;
|
|
74818
|
+
api_key?: never;
|
|
74811
74819
|
})[];
|
|
74812
74820
|
summary: string;
|
|
74813
74821
|
tags: never[];
|
|
@@ -74865,14 +74873,22 @@ declare const _default: {
|
|
|
74865
74873
|
pat_with_workspace: never[];
|
|
74866
74874
|
console_session_with_workspace?: never;
|
|
74867
74875
|
api_key?: never;
|
|
74876
|
+
client_session_with_customer?: never;
|
|
74868
74877
|
} | {
|
|
74869
74878
|
console_session_with_workspace: never[];
|
|
74870
74879
|
pat_with_workspace?: never;
|
|
74871
74880
|
api_key?: never;
|
|
74881
|
+
client_session_with_customer?: never;
|
|
74872
74882
|
} | {
|
|
74873
74883
|
api_key: never[];
|
|
74874
74884
|
pat_with_workspace?: never;
|
|
74875
74885
|
console_session_with_workspace?: never;
|
|
74886
|
+
client_session_with_customer?: never;
|
|
74887
|
+
} | {
|
|
74888
|
+
client_session_with_customer: never[];
|
|
74889
|
+
pat_with_workspace?: never;
|
|
74890
|
+
console_session_with_workspace?: never;
|
|
74891
|
+
api_key?: never;
|
|
74876
74892
|
})[];
|
|
74877
74893
|
summary: string;
|
|
74878
74894
|
tags: never[];
|
|
@@ -98501,6 +98517,215 @@ declare const _default: {
|
|
|
98501
98517
|
'x-undocumented': string;
|
|
98502
98518
|
};
|
|
98503
98519
|
};
|
|
98520
|
+
'/seam/customer/v1/connector_customers/list': {
|
|
98521
|
+
get: {
|
|
98522
|
+
description: string;
|
|
98523
|
+
operationId: string;
|
|
98524
|
+
parameters: {
|
|
98525
|
+
in: string;
|
|
98526
|
+
name: string;
|
|
98527
|
+
schema: {
|
|
98528
|
+
description: string;
|
|
98529
|
+
format: string;
|
|
98530
|
+
type: string;
|
|
98531
|
+
};
|
|
98532
|
+
}[];
|
|
98533
|
+
responses: {
|
|
98534
|
+
200: {
|
|
98535
|
+
content: {
|
|
98536
|
+
'application/json': {
|
|
98537
|
+
schema: {
|
|
98538
|
+
properties: {
|
|
98539
|
+
connector_customers: {
|
|
98540
|
+
items: {
|
|
98541
|
+
properties: {
|
|
98542
|
+
connector_customer_id: {
|
|
98543
|
+
type: string;
|
|
98544
|
+
};
|
|
98545
|
+
connector_id: {
|
|
98546
|
+
type: string;
|
|
98547
|
+
};
|
|
98548
|
+
created_at: {
|
|
98549
|
+
type: string;
|
|
98550
|
+
};
|
|
98551
|
+
customer_key: {
|
|
98552
|
+
type: string;
|
|
98553
|
+
};
|
|
98554
|
+
initial_sync_completed: {
|
|
98555
|
+
type: string;
|
|
98556
|
+
};
|
|
98557
|
+
initial_sync_status: {
|
|
98558
|
+
nullable: boolean;
|
|
98559
|
+
type: string;
|
|
98560
|
+
};
|
|
98561
|
+
instance_config: {
|
|
98562
|
+
additionalProperties: {
|
|
98563
|
+
$ref: string;
|
|
98564
|
+
};
|
|
98565
|
+
nullable: boolean;
|
|
98566
|
+
type: string;
|
|
98567
|
+
};
|
|
98568
|
+
status: {
|
|
98569
|
+
nullable: boolean;
|
|
98570
|
+
type: string;
|
|
98571
|
+
};
|
|
98572
|
+
updated_at: {
|
|
98573
|
+
type: string;
|
|
98574
|
+
};
|
|
98575
|
+
};
|
|
98576
|
+
required: string[];
|
|
98577
|
+
type: string;
|
|
98578
|
+
};
|
|
98579
|
+
type: string;
|
|
98580
|
+
};
|
|
98581
|
+
ok: {
|
|
98582
|
+
type: string;
|
|
98583
|
+
};
|
|
98584
|
+
};
|
|
98585
|
+
required: string[];
|
|
98586
|
+
type: string;
|
|
98587
|
+
};
|
|
98588
|
+
};
|
|
98589
|
+
};
|
|
98590
|
+
description: string;
|
|
98591
|
+
};
|
|
98592
|
+
400: {
|
|
98593
|
+
description: string;
|
|
98594
|
+
};
|
|
98595
|
+
401: {
|
|
98596
|
+
description: string;
|
|
98597
|
+
};
|
|
98598
|
+
};
|
|
98599
|
+
security: ({
|
|
98600
|
+
api_key: never[];
|
|
98601
|
+
client_session_with_customer?: never;
|
|
98602
|
+
console_session_with_workspace?: never;
|
|
98603
|
+
} | {
|
|
98604
|
+
client_session_with_customer: never[];
|
|
98605
|
+
api_key?: never;
|
|
98606
|
+
console_session_with_workspace?: never;
|
|
98607
|
+
} | {
|
|
98608
|
+
console_session_with_workspace: never[];
|
|
98609
|
+
api_key?: never;
|
|
98610
|
+
client_session_with_customer?: never;
|
|
98611
|
+
})[];
|
|
98612
|
+
summary: string;
|
|
98613
|
+
tags: never[];
|
|
98614
|
+
'x-fern-sdk-group-name': string[];
|
|
98615
|
+
'x-fern-sdk-method-name': string;
|
|
98616
|
+
'x-fern-sdk-return-value': string;
|
|
98617
|
+
'x-response-key': string;
|
|
98618
|
+
'x-title': string;
|
|
98619
|
+
'x-undocumented': string;
|
|
98620
|
+
};
|
|
98621
|
+
post: {
|
|
98622
|
+
description: string;
|
|
98623
|
+
operationId: string;
|
|
98624
|
+
requestBody: {
|
|
98625
|
+
content: {
|
|
98626
|
+
'application/json': {
|
|
98627
|
+
schema: {
|
|
98628
|
+
properties: {
|
|
98629
|
+
connector_id: {
|
|
98630
|
+
description: string;
|
|
98631
|
+
format: string;
|
|
98632
|
+
type: string;
|
|
98633
|
+
};
|
|
98634
|
+
};
|
|
98635
|
+
type: string;
|
|
98636
|
+
};
|
|
98637
|
+
};
|
|
98638
|
+
};
|
|
98639
|
+
};
|
|
98640
|
+
responses: {
|
|
98641
|
+
200: {
|
|
98642
|
+
content: {
|
|
98643
|
+
'application/json': {
|
|
98644
|
+
schema: {
|
|
98645
|
+
properties: {
|
|
98646
|
+
connector_customers: {
|
|
98647
|
+
items: {
|
|
98648
|
+
properties: {
|
|
98649
|
+
connector_customer_id: {
|
|
98650
|
+
type: string;
|
|
98651
|
+
};
|
|
98652
|
+
connector_id: {
|
|
98653
|
+
type: string;
|
|
98654
|
+
};
|
|
98655
|
+
created_at: {
|
|
98656
|
+
type: string;
|
|
98657
|
+
};
|
|
98658
|
+
customer_key: {
|
|
98659
|
+
type: string;
|
|
98660
|
+
};
|
|
98661
|
+
initial_sync_completed: {
|
|
98662
|
+
type: string;
|
|
98663
|
+
};
|
|
98664
|
+
initial_sync_status: {
|
|
98665
|
+
nullable: boolean;
|
|
98666
|
+
type: string;
|
|
98667
|
+
};
|
|
98668
|
+
instance_config: {
|
|
98669
|
+
additionalProperties: {
|
|
98670
|
+
$ref: string;
|
|
98671
|
+
};
|
|
98672
|
+
nullable: boolean;
|
|
98673
|
+
type: string;
|
|
98674
|
+
};
|
|
98675
|
+
status: {
|
|
98676
|
+
nullable: boolean;
|
|
98677
|
+
type: string;
|
|
98678
|
+
};
|
|
98679
|
+
updated_at: {
|
|
98680
|
+
type: string;
|
|
98681
|
+
};
|
|
98682
|
+
};
|
|
98683
|
+
required: string[];
|
|
98684
|
+
type: string;
|
|
98685
|
+
};
|
|
98686
|
+
type: string;
|
|
98687
|
+
};
|
|
98688
|
+
ok: {
|
|
98689
|
+
type: string;
|
|
98690
|
+
};
|
|
98691
|
+
};
|
|
98692
|
+
required: string[];
|
|
98693
|
+
type: string;
|
|
98694
|
+
};
|
|
98695
|
+
};
|
|
98696
|
+
};
|
|
98697
|
+
description: string;
|
|
98698
|
+
};
|
|
98699
|
+
400: {
|
|
98700
|
+
description: string;
|
|
98701
|
+
};
|
|
98702
|
+
401: {
|
|
98703
|
+
description: string;
|
|
98704
|
+
};
|
|
98705
|
+
};
|
|
98706
|
+
security: ({
|
|
98707
|
+
api_key: never[];
|
|
98708
|
+
client_session_with_customer?: never;
|
|
98709
|
+
console_session_with_workspace?: never;
|
|
98710
|
+
} | {
|
|
98711
|
+
client_session_with_customer: never[];
|
|
98712
|
+
api_key?: never;
|
|
98713
|
+
console_session_with_workspace?: never;
|
|
98714
|
+
} | {
|
|
98715
|
+
console_session_with_workspace: never[];
|
|
98716
|
+
api_key?: never;
|
|
98717
|
+
client_session_with_customer?: never;
|
|
98718
|
+
})[];
|
|
98719
|
+
summary: string;
|
|
98720
|
+
tags: never[];
|
|
98721
|
+
'x-fern-sdk-group-name': string[];
|
|
98722
|
+
'x-fern-sdk-method-name': string;
|
|
98723
|
+
'x-fern-sdk-return-value': string;
|
|
98724
|
+
'x-response-key': string;
|
|
98725
|
+
'x-title': string;
|
|
98726
|
+
'x-undocumented': string;
|
|
98727
|
+
};
|
|
98728
|
+
};
|
|
98504
98729
|
'/seam/customer/v1/connectors/authorize': {
|
|
98505
98730
|
get: {
|
|
98506
98731
|
description: string;
|
|
@@ -168945,6 +169170,33 @@ type Routes = {
|
|
|
168945
169170
|
jsonResponse: {};
|
|
168946
169171
|
maxDuration: undefined;
|
|
168947
169172
|
};
|
|
169173
|
+
'/seam/customer/v1/connector_customers/list': {
|
|
169174
|
+
route: '/seam/customer/v1/connector_customers/list';
|
|
169175
|
+
method: 'GET' | 'POST';
|
|
169176
|
+
queryParams: {};
|
|
169177
|
+
jsonBody: {};
|
|
169178
|
+
commonParams: {
|
|
169179
|
+
/** ID of the connector. */
|
|
169180
|
+
connector_id?: string | undefined;
|
|
169181
|
+
};
|
|
169182
|
+
formData: {};
|
|
169183
|
+
jsonResponse: {
|
|
169184
|
+
connector_customers: {
|
|
169185
|
+
connector_customer_id: string;
|
|
169186
|
+
connector_id: string;
|
|
169187
|
+
customer_key: string;
|
|
169188
|
+
instance_config: {
|
|
169189
|
+
[x: string]: any;
|
|
169190
|
+
} | null;
|
|
169191
|
+
initial_sync_completed: boolean;
|
|
169192
|
+
initial_sync_status: string | null;
|
|
169193
|
+
status: string | null;
|
|
169194
|
+
created_at: string;
|
|
169195
|
+
updated_at: string;
|
|
169196
|
+
}[];
|
|
169197
|
+
};
|
|
169198
|
+
maxDuration: undefined;
|
|
169199
|
+
};
|
|
168948
169200
|
'/seam/customer/v1/connectors/authorize': {
|
|
168949
169201
|
route: '/seam/customer/v1/connectors/authorize';
|
|
168950
169202
|
method: 'GET' | 'POST';
|
package/dist/index.cjs
CHANGED
|
@@ -34559,7 +34559,8 @@ var openapi_default = {
|
|
|
34559
34559
|
security: [
|
|
34560
34560
|
{ pat_with_workspace: [] },
|
|
34561
34561
|
{ console_session_with_workspace: [] },
|
|
34562
|
-
{ api_key: [] }
|
|
34562
|
+
{ api_key: [] },
|
|
34563
|
+
{ client_session_with_customer: [] }
|
|
34563
34564
|
],
|
|
34564
34565
|
summary: "/access_methods/delete",
|
|
34565
34566
|
tags: [],
|
|
@@ -34608,7 +34609,8 @@ var openapi_default = {
|
|
|
34608
34609
|
security: [
|
|
34609
34610
|
{ pat_with_workspace: [] },
|
|
34610
34611
|
{ console_session_with_workspace: [] },
|
|
34611
|
-
{ api_key: [] }
|
|
34612
|
+
{ api_key: [] },
|
|
34613
|
+
{ client_session_with_customer: [] }
|
|
34612
34614
|
],
|
|
34613
34615
|
summary: "/access_methods/delete",
|
|
34614
34616
|
tags: [],
|
|
@@ -56120,6 +56122,189 @@ var openapi_default = {
|
|
|
56120
56122
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
56121
56123
|
}
|
|
56122
56124
|
},
|
|
56125
|
+
"/seam/customer/v1/connector_customers/list": {
|
|
56126
|
+
get: {
|
|
56127
|
+
description: "Lists connector customers for a given connector.",
|
|
56128
|
+
operationId: "seamCustomerV1ConnectorCustomersListGet",
|
|
56129
|
+
parameters: [
|
|
56130
|
+
{
|
|
56131
|
+
in: "query",
|
|
56132
|
+
name: "connector_id",
|
|
56133
|
+
schema: {
|
|
56134
|
+
description: "ID of the connector.",
|
|
56135
|
+
format: "uuid",
|
|
56136
|
+
type: "string"
|
|
56137
|
+
}
|
|
56138
|
+
}
|
|
56139
|
+
],
|
|
56140
|
+
responses: {
|
|
56141
|
+
200: {
|
|
56142
|
+
content: {
|
|
56143
|
+
"application/json": {
|
|
56144
|
+
schema: {
|
|
56145
|
+
properties: {
|
|
56146
|
+
connector_customers: {
|
|
56147
|
+
items: {
|
|
56148
|
+
properties: {
|
|
56149
|
+
connector_customer_id: { type: "string" },
|
|
56150
|
+
connector_id: { type: "string" },
|
|
56151
|
+
created_at: { type: "string" },
|
|
56152
|
+
customer_key: { type: "string" },
|
|
56153
|
+
initial_sync_completed: { type: "boolean" },
|
|
56154
|
+
initial_sync_status: {
|
|
56155
|
+
nullable: true,
|
|
56156
|
+
type: "string"
|
|
56157
|
+
},
|
|
56158
|
+
instance_config: {
|
|
56159
|
+
additionalProperties: {
|
|
56160
|
+
$ref: "#/components/schemas/access_code"
|
|
56161
|
+
},
|
|
56162
|
+
nullable: true,
|
|
56163
|
+
type: "object"
|
|
56164
|
+
},
|
|
56165
|
+
status: { nullable: true, type: "string" },
|
|
56166
|
+
updated_at: { type: "string" }
|
|
56167
|
+
},
|
|
56168
|
+
required: [
|
|
56169
|
+
"connector_customer_id",
|
|
56170
|
+
"connector_id",
|
|
56171
|
+
"customer_key",
|
|
56172
|
+
"instance_config",
|
|
56173
|
+
"initial_sync_completed",
|
|
56174
|
+
"initial_sync_status",
|
|
56175
|
+
"status",
|
|
56176
|
+
"created_at",
|
|
56177
|
+
"updated_at"
|
|
56178
|
+
],
|
|
56179
|
+
type: "object"
|
|
56180
|
+
},
|
|
56181
|
+
type: "array"
|
|
56182
|
+
},
|
|
56183
|
+
ok: { type: "boolean" }
|
|
56184
|
+
},
|
|
56185
|
+
required: ["connector_customers", "ok"],
|
|
56186
|
+
type: "object"
|
|
56187
|
+
}
|
|
56188
|
+
}
|
|
56189
|
+
},
|
|
56190
|
+
description: "OK"
|
|
56191
|
+
},
|
|
56192
|
+
400: { description: "Bad Request" },
|
|
56193
|
+
401: { description: "Unauthorized" }
|
|
56194
|
+
},
|
|
56195
|
+
security: [
|
|
56196
|
+
{ api_key: [] },
|
|
56197
|
+
{ client_session_with_customer: [] },
|
|
56198
|
+
{ console_session_with_workspace: [] }
|
|
56199
|
+
],
|
|
56200
|
+
summary: "/seam/customer/v1/connector_customers/list",
|
|
56201
|
+
tags: [],
|
|
56202
|
+
"x-fern-sdk-group-name": [
|
|
56203
|
+
"seam",
|
|
56204
|
+
"customer",
|
|
56205
|
+
"v1",
|
|
56206
|
+
"connector_customers"
|
|
56207
|
+
],
|
|
56208
|
+
"x-fern-sdk-method-name": "list",
|
|
56209
|
+
"x-fern-sdk-return-value": "connector_customers",
|
|
56210
|
+
"x-response-key": "connector_customers",
|
|
56211
|
+
"x-title": "List Connector Customers",
|
|
56212
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56213
|
+
},
|
|
56214
|
+
post: {
|
|
56215
|
+
description: "Lists connector customers for a given connector.",
|
|
56216
|
+
operationId: "seamCustomerV1ConnectorCustomersListPost",
|
|
56217
|
+
requestBody: {
|
|
56218
|
+
content: {
|
|
56219
|
+
"application/json": {
|
|
56220
|
+
schema: {
|
|
56221
|
+
properties: {
|
|
56222
|
+
connector_id: {
|
|
56223
|
+
description: "ID of the connector.",
|
|
56224
|
+
format: "uuid",
|
|
56225
|
+
type: "string"
|
|
56226
|
+
}
|
|
56227
|
+
},
|
|
56228
|
+
type: "object"
|
|
56229
|
+
}
|
|
56230
|
+
}
|
|
56231
|
+
}
|
|
56232
|
+
},
|
|
56233
|
+
responses: {
|
|
56234
|
+
200: {
|
|
56235
|
+
content: {
|
|
56236
|
+
"application/json": {
|
|
56237
|
+
schema: {
|
|
56238
|
+
properties: {
|
|
56239
|
+
connector_customers: {
|
|
56240
|
+
items: {
|
|
56241
|
+
properties: {
|
|
56242
|
+
connector_customer_id: { type: "string" },
|
|
56243
|
+
connector_id: { type: "string" },
|
|
56244
|
+
created_at: { type: "string" },
|
|
56245
|
+
customer_key: { type: "string" },
|
|
56246
|
+
initial_sync_completed: { type: "boolean" },
|
|
56247
|
+
initial_sync_status: {
|
|
56248
|
+
nullable: true,
|
|
56249
|
+
type: "string"
|
|
56250
|
+
},
|
|
56251
|
+
instance_config: {
|
|
56252
|
+
additionalProperties: {
|
|
56253
|
+
$ref: "#/components/schemas/access_code"
|
|
56254
|
+
},
|
|
56255
|
+
nullable: true,
|
|
56256
|
+
type: "object"
|
|
56257
|
+
},
|
|
56258
|
+
status: { nullable: true, type: "string" },
|
|
56259
|
+
updated_at: { type: "string" }
|
|
56260
|
+
},
|
|
56261
|
+
required: [
|
|
56262
|
+
"connector_customer_id",
|
|
56263
|
+
"connector_id",
|
|
56264
|
+
"customer_key",
|
|
56265
|
+
"instance_config",
|
|
56266
|
+
"initial_sync_completed",
|
|
56267
|
+
"initial_sync_status",
|
|
56268
|
+
"status",
|
|
56269
|
+
"created_at",
|
|
56270
|
+
"updated_at"
|
|
56271
|
+
],
|
|
56272
|
+
type: "object"
|
|
56273
|
+
},
|
|
56274
|
+
type: "array"
|
|
56275
|
+
},
|
|
56276
|
+
ok: { type: "boolean" }
|
|
56277
|
+
},
|
|
56278
|
+
required: ["connector_customers", "ok"],
|
|
56279
|
+
type: "object"
|
|
56280
|
+
}
|
|
56281
|
+
}
|
|
56282
|
+
},
|
|
56283
|
+
description: "OK"
|
|
56284
|
+
},
|
|
56285
|
+
400: { description: "Bad Request" },
|
|
56286
|
+
401: { description: "Unauthorized" }
|
|
56287
|
+
},
|
|
56288
|
+
security: [
|
|
56289
|
+
{ api_key: [] },
|
|
56290
|
+
{ client_session_with_customer: [] },
|
|
56291
|
+
{ console_session_with_workspace: [] }
|
|
56292
|
+
],
|
|
56293
|
+
summary: "/seam/customer/v1/connector_customers/list",
|
|
56294
|
+
tags: [],
|
|
56295
|
+
"x-fern-sdk-group-name": [
|
|
56296
|
+
"seam",
|
|
56297
|
+
"customer",
|
|
56298
|
+
"v1",
|
|
56299
|
+
"connector_customers"
|
|
56300
|
+
],
|
|
56301
|
+
"x-fern-sdk-method-name": "list",
|
|
56302
|
+
"x-fern-sdk-return-value": "connector_customers",
|
|
56303
|
+
"x-response-key": "connector_customers",
|
|
56304
|
+
"x-title": "List Connector Customers",
|
|
56305
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56306
|
+
}
|
|
56307
|
+
},
|
|
56123
56308
|
"/seam/customer/v1/connectors/authorize": {
|
|
56124
56309
|
get: {
|
|
56125
56310
|
description: "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).",
|