@seamapi/types 1.642.0 → 1.643.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
@@ -54482,9 +54482,151 @@ var openapi_default = {
54482
54482
  "x-undocumented": "Internal endpoint for customer portals."
54483
54483
  }
54484
54484
  },
54485
+ "/seam/customer/v1/connectors/connector_types": {
54486
+ get: {
54487
+ description: "Lists all available connector types and their required instance configuration schemas.",
54488
+ operationId: "seamCustomerV1ConnectorsConnectorTypesGet",
54489
+ responses: {
54490
+ 200: {
54491
+ content: {
54492
+ "application/json": {
54493
+ schema: {
54494
+ properties: {
54495
+ connector_types: {
54496
+ items: {
54497
+ properties: {
54498
+ connector_type: { type: "string" },
54499
+ description: { type: "string" },
54500
+ display_name: { type: "string" },
54501
+ instance_config_schema: {
54502
+ $ref: "#/components/schemas/access_code"
54503
+ },
54504
+ static_config: {
54505
+ properties: {
54506
+ base_api_url: { type: "string" },
54507
+ polling_enabled: { type: "boolean" },
54508
+ polling_frequency_minutes: {
54509
+ format: "float",
54510
+ type: "number"
54511
+ }
54512
+ },
54513
+ required: [
54514
+ "base_api_url",
54515
+ "polling_enabled",
54516
+ "polling_frequency_minutes"
54517
+ ],
54518
+ type: "object"
54519
+ }
54520
+ },
54521
+ required: [
54522
+ "connector_type",
54523
+ "display_name",
54524
+ "static_config"
54525
+ ],
54526
+ type: "object"
54527
+ },
54528
+ type: "array"
54529
+ },
54530
+ ok: { type: "boolean" }
54531
+ },
54532
+ required: ["connector_types", "ok"],
54533
+ type: "object"
54534
+ }
54535
+ }
54536
+ },
54537
+ description: "OK"
54538
+ },
54539
+ 400: { description: "Bad Request" },
54540
+ 401: { description: "Unauthorized" }
54541
+ },
54542
+ security: [
54543
+ { api_key: [] },
54544
+ { client_session: [] },
54545
+ { console_session_with_workspace: [] }
54546
+ ],
54547
+ summary: "/seam/customer/v1/connectors/connector_types",
54548
+ tags: [],
54549
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
54550
+ "x-fern-sdk-method-name": "connector_types",
54551
+ "x-fern-sdk-return-value": "connector_types",
54552
+ "x-response-key": "connector_types",
54553
+ "x-title": "List Connector Types",
54554
+ "x-undocumented": "Internal endpoint for Console."
54555
+ },
54556
+ post: {
54557
+ description: "Lists all available connector types and their required instance configuration schemas.",
54558
+ operationId: "seamCustomerV1ConnectorsConnectorTypesPost",
54559
+ responses: {
54560
+ 200: {
54561
+ content: {
54562
+ "application/json": {
54563
+ schema: {
54564
+ properties: {
54565
+ connector_types: {
54566
+ items: {
54567
+ properties: {
54568
+ connector_type: { type: "string" },
54569
+ description: { type: "string" },
54570
+ display_name: { type: "string" },
54571
+ instance_config_schema: {
54572
+ $ref: "#/components/schemas/access_code"
54573
+ },
54574
+ static_config: {
54575
+ properties: {
54576
+ base_api_url: { type: "string" },
54577
+ polling_enabled: { type: "boolean" },
54578
+ polling_frequency_minutes: {
54579
+ format: "float",
54580
+ type: "number"
54581
+ }
54582
+ },
54583
+ required: [
54584
+ "base_api_url",
54585
+ "polling_enabled",
54586
+ "polling_frequency_minutes"
54587
+ ],
54588
+ type: "object"
54589
+ }
54590
+ },
54591
+ required: [
54592
+ "connector_type",
54593
+ "display_name",
54594
+ "static_config"
54595
+ ],
54596
+ type: "object"
54597
+ },
54598
+ type: "array"
54599
+ },
54600
+ ok: { type: "boolean" }
54601
+ },
54602
+ required: ["connector_types", "ok"],
54603
+ type: "object"
54604
+ }
54605
+ }
54606
+ },
54607
+ description: "OK"
54608
+ },
54609
+ 400: { description: "Bad Request" },
54610
+ 401: { description: "Unauthorized" }
54611
+ },
54612
+ security: [
54613
+ { api_key: [] },
54614
+ { client_session: [] },
54615
+ { console_session_with_workspace: [] }
54616
+ ],
54617
+ summary: "/seam/customer/v1/connectors/connector_types",
54618
+ tags: [],
54619
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
54620
+ "x-fern-sdk-method-name": "connector_types",
54621
+ "x-fern-sdk-return-value": "connector_types",
54622
+ "x-response-key": "connector_types",
54623
+ "x-title": "List Connector Types",
54624
+ "x-undocumented": "Internal endpoint for Console."
54625
+ }
54626
+ },
54485
54627
  "/seam/customer/v1/connectors/create": {
54486
54628
  post: {
54487
- description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.\nIf a connector already exists with the same unique_provider_resource_key, it will be updated instead of creating a new one.",
54629
+ description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.\nIf a connector already exists for the same customer, it will be updated instead of creating a new one.",
54488
54630
  operationId: "seamCustomerV1ConnectorsCreatePost",
54489
54631
  requestBody: {
54490
54632
  content: {
@@ -54492,31 +54634,13 @@ var openapi_default = {
54492
54634
  schema: {
54493
54635
  properties: {
54494
54636
  config: {
54637
+ additionalProperties: {},
54495
54638
  description: "Instance-specific configuration for the connector",
54496
- oneOf: [
54497
- {
54498
- properties: {
54499
- access_token: { minLength: 1, type: "string" },
54500
- client: {
54501
- default: "seam",
54502
- minLength: 1,
54503
- type: "string"
54504
- },
54505
- client_token: { minLength: 1, type: "string" },
54506
- enterprise_id: { format: "uuid", type: "string" },
54507
- enterprise_ids: {
54508
- items: { format: "uuid", type: "string" },
54509
- type: "array"
54510
- }
54511
- },
54512
- type: "object"
54513
- },
54514
- { properties: {}, type: "object" }
54515
- ]
54639
+ type: "object"
54516
54640
  },
54517
54641
  connector_type: {
54518
54642
  description: "Type of connector to create",
54519
- enum: ["mews", "mock"],
54643
+ enum: ["mock", "mews", "rms"],
54520
54644
  type: "string"
54521
54645
  },
54522
54646
  customer_key: {
@@ -54864,6 +54988,7 @@ var openapi_default = {
54864
54988
  config: {
54865
54989
  description: "Instance-specific configuration for the connector",
54866
54990
  oneOf: [
54991
+ { properties: {}, type: "object" },
54867
54992
  {
54868
54993
  properties: {
54869
54994
  access_token: { minLength: 1, type: "string" },
@@ -54873,15 +54998,37 @@ var openapi_default = {
54873
54998
  type: "string"
54874
54999
  },
54875
55000
  client_token: { minLength: 1, type: "string" },
54876
- enterprise_id: { format: "uuid", type: "string" },
55001
+ enterprise_id: { type: "string" },
54877
55002
  enterprise_ids: {
54878
- items: { format: "uuid", type: "string" },
55003
+ items: { type: "string" },
54879
55004
  type: "array"
54880
55005
  }
54881
55006
  },
54882
55007
  type: "object"
54883
55008
  },
54884
- { properties: {}, type: "object" }
55009
+ {
55010
+ properties: {
55011
+ client_id: {
55012
+ description: "RMS client ID for authentication",
55013
+ minLength: 1,
55014
+ type: "string"
55015
+ },
55016
+ client_password: {
55017
+ description: "RMS client password for authentication",
55018
+ minLength: 1,
55019
+ type: "string"
55020
+ },
55021
+ property_id: {
55022
+ description: "Optional property ID for single-property connectors",
55023
+ oneOf: [
55024
+ { type: "string" },
55025
+ { format: "float", type: "number" }
55026
+ ]
55027
+ }
55028
+ },
55029
+ required: ["client_id", "client_password"],
55030
+ type: "object"
55031
+ }
54885
55032
  ]
54886
55033
  },
54887
55034
  connector_id: {