@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
package/dist/connect.cjs
CHANGED
|
@@ -56120,6 +56120,189 @@ var openapi_default = {
|
|
|
56120
56120
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
56121
56121
|
}
|
|
56122
56122
|
},
|
|
56123
|
+
"/seam/customer/v1/connector_customers/list": {
|
|
56124
|
+
get: {
|
|
56125
|
+
description: "Lists connector customers for a given connector.",
|
|
56126
|
+
operationId: "seamCustomerV1ConnectorCustomersListGet",
|
|
56127
|
+
parameters: [
|
|
56128
|
+
{
|
|
56129
|
+
in: "query",
|
|
56130
|
+
name: "connector_id",
|
|
56131
|
+
schema: {
|
|
56132
|
+
description: "ID of the connector.",
|
|
56133
|
+
format: "uuid",
|
|
56134
|
+
type: "string"
|
|
56135
|
+
}
|
|
56136
|
+
}
|
|
56137
|
+
],
|
|
56138
|
+
responses: {
|
|
56139
|
+
200: {
|
|
56140
|
+
content: {
|
|
56141
|
+
"application/json": {
|
|
56142
|
+
schema: {
|
|
56143
|
+
properties: {
|
|
56144
|
+
connector_customers: {
|
|
56145
|
+
items: {
|
|
56146
|
+
properties: {
|
|
56147
|
+
connector_customer_id: { type: "string" },
|
|
56148
|
+
connector_id: { type: "string" },
|
|
56149
|
+
created_at: { type: "string" },
|
|
56150
|
+
customer_key: { type: "string" },
|
|
56151
|
+
initial_sync_completed: { type: "boolean" },
|
|
56152
|
+
initial_sync_status: {
|
|
56153
|
+
nullable: true,
|
|
56154
|
+
type: "string"
|
|
56155
|
+
},
|
|
56156
|
+
instance_config: {
|
|
56157
|
+
additionalProperties: {
|
|
56158
|
+
$ref: "#/components/schemas/access_code"
|
|
56159
|
+
},
|
|
56160
|
+
nullable: true,
|
|
56161
|
+
type: "object"
|
|
56162
|
+
},
|
|
56163
|
+
status: { nullable: true, type: "string" },
|
|
56164
|
+
updated_at: { type: "string" }
|
|
56165
|
+
},
|
|
56166
|
+
required: [
|
|
56167
|
+
"connector_customer_id",
|
|
56168
|
+
"connector_id",
|
|
56169
|
+
"customer_key",
|
|
56170
|
+
"instance_config",
|
|
56171
|
+
"initial_sync_completed",
|
|
56172
|
+
"initial_sync_status",
|
|
56173
|
+
"status",
|
|
56174
|
+
"created_at",
|
|
56175
|
+
"updated_at"
|
|
56176
|
+
],
|
|
56177
|
+
type: "object"
|
|
56178
|
+
},
|
|
56179
|
+
type: "array"
|
|
56180
|
+
},
|
|
56181
|
+
ok: { type: "boolean" }
|
|
56182
|
+
},
|
|
56183
|
+
required: ["connector_customers", "ok"],
|
|
56184
|
+
type: "object"
|
|
56185
|
+
}
|
|
56186
|
+
}
|
|
56187
|
+
},
|
|
56188
|
+
description: "OK"
|
|
56189
|
+
},
|
|
56190
|
+
400: { description: "Bad Request" },
|
|
56191
|
+
401: { description: "Unauthorized" }
|
|
56192
|
+
},
|
|
56193
|
+
security: [
|
|
56194
|
+
{ api_key: [] },
|
|
56195
|
+
{ client_session_with_customer: [] },
|
|
56196
|
+
{ console_session_with_workspace: [] }
|
|
56197
|
+
],
|
|
56198
|
+
summary: "/seam/customer/v1/connector_customers/list",
|
|
56199
|
+
tags: [],
|
|
56200
|
+
"x-fern-sdk-group-name": [
|
|
56201
|
+
"seam",
|
|
56202
|
+
"customer",
|
|
56203
|
+
"v1",
|
|
56204
|
+
"connector_customers"
|
|
56205
|
+
],
|
|
56206
|
+
"x-fern-sdk-method-name": "list",
|
|
56207
|
+
"x-fern-sdk-return-value": "connector_customers",
|
|
56208
|
+
"x-response-key": "connector_customers",
|
|
56209
|
+
"x-title": "List Connector Customers",
|
|
56210
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56211
|
+
},
|
|
56212
|
+
post: {
|
|
56213
|
+
description: "Lists connector customers for a given connector.",
|
|
56214
|
+
operationId: "seamCustomerV1ConnectorCustomersListPost",
|
|
56215
|
+
requestBody: {
|
|
56216
|
+
content: {
|
|
56217
|
+
"application/json": {
|
|
56218
|
+
schema: {
|
|
56219
|
+
properties: {
|
|
56220
|
+
connector_id: {
|
|
56221
|
+
description: "ID of the connector.",
|
|
56222
|
+
format: "uuid",
|
|
56223
|
+
type: "string"
|
|
56224
|
+
}
|
|
56225
|
+
},
|
|
56226
|
+
type: "object"
|
|
56227
|
+
}
|
|
56228
|
+
}
|
|
56229
|
+
}
|
|
56230
|
+
},
|
|
56231
|
+
responses: {
|
|
56232
|
+
200: {
|
|
56233
|
+
content: {
|
|
56234
|
+
"application/json": {
|
|
56235
|
+
schema: {
|
|
56236
|
+
properties: {
|
|
56237
|
+
connector_customers: {
|
|
56238
|
+
items: {
|
|
56239
|
+
properties: {
|
|
56240
|
+
connector_customer_id: { type: "string" },
|
|
56241
|
+
connector_id: { type: "string" },
|
|
56242
|
+
created_at: { type: "string" },
|
|
56243
|
+
customer_key: { type: "string" },
|
|
56244
|
+
initial_sync_completed: { type: "boolean" },
|
|
56245
|
+
initial_sync_status: {
|
|
56246
|
+
nullable: true,
|
|
56247
|
+
type: "string"
|
|
56248
|
+
},
|
|
56249
|
+
instance_config: {
|
|
56250
|
+
additionalProperties: {
|
|
56251
|
+
$ref: "#/components/schemas/access_code"
|
|
56252
|
+
},
|
|
56253
|
+
nullable: true,
|
|
56254
|
+
type: "object"
|
|
56255
|
+
},
|
|
56256
|
+
status: { nullable: true, type: "string" },
|
|
56257
|
+
updated_at: { type: "string" }
|
|
56258
|
+
},
|
|
56259
|
+
required: [
|
|
56260
|
+
"connector_customer_id",
|
|
56261
|
+
"connector_id",
|
|
56262
|
+
"customer_key",
|
|
56263
|
+
"instance_config",
|
|
56264
|
+
"initial_sync_completed",
|
|
56265
|
+
"initial_sync_status",
|
|
56266
|
+
"status",
|
|
56267
|
+
"created_at",
|
|
56268
|
+
"updated_at"
|
|
56269
|
+
],
|
|
56270
|
+
type: "object"
|
|
56271
|
+
},
|
|
56272
|
+
type: "array"
|
|
56273
|
+
},
|
|
56274
|
+
ok: { type: "boolean" }
|
|
56275
|
+
},
|
|
56276
|
+
required: ["connector_customers", "ok"],
|
|
56277
|
+
type: "object"
|
|
56278
|
+
}
|
|
56279
|
+
}
|
|
56280
|
+
},
|
|
56281
|
+
description: "OK"
|
|
56282
|
+
},
|
|
56283
|
+
400: { description: "Bad Request" },
|
|
56284
|
+
401: { description: "Unauthorized" }
|
|
56285
|
+
},
|
|
56286
|
+
security: [
|
|
56287
|
+
{ api_key: [] },
|
|
56288
|
+
{ client_session_with_customer: [] },
|
|
56289
|
+
{ console_session_with_workspace: [] }
|
|
56290
|
+
],
|
|
56291
|
+
summary: "/seam/customer/v1/connector_customers/list",
|
|
56292
|
+
tags: [],
|
|
56293
|
+
"x-fern-sdk-group-name": [
|
|
56294
|
+
"seam",
|
|
56295
|
+
"customer",
|
|
56296
|
+
"v1",
|
|
56297
|
+
"connector_customers"
|
|
56298
|
+
],
|
|
56299
|
+
"x-fern-sdk-method-name": "list",
|
|
56300
|
+
"x-fern-sdk-return-value": "connector_customers",
|
|
56301
|
+
"x-response-key": "connector_customers",
|
|
56302
|
+
"x-title": "List Connector Customers",
|
|
56303
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56304
|
+
}
|
|
56305
|
+
},
|
|
56123
56306
|
"/seam/customer/v1/connectors/authorize": {
|
|
56124
56307
|
get: {
|
|
56125
56308
|
description: "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).",
|