@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 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).",