@seamapi/types 1.642.0 → 1.644.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/index.cjs CHANGED
@@ -43233,6 +43233,52 @@ var openapi_default = {
43233
43233
  "x-title": "List Connected Accounts"
43234
43234
  }
43235
43235
  },
43236
+ "/connected_accounts/simulate/disconnect": {
43237
+ post: {
43238
+ description: "Simulates a connected account becoming disconnected from Seam. Only applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).",
43239
+ operationId: "connectedAccountsSimulateDisconnectPost",
43240
+ requestBody: {
43241
+ content: {
43242
+ "application/json": {
43243
+ schema: {
43244
+ properties: {
43245
+ connected_account_id: { format: "uuid", type: "string" }
43246
+ },
43247
+ required: ["connected_account_id"],
43248
+ type: "object"
43249
+ }
43250
+ }
43251
+ }
43252
+ },
43253
+ responses: {
43254
+ 200: {
43255
+ content: {
43256
+ "application/json": {
43257
+ schema: {
43258
+ properties: { ok: { type: "boolean" } },
43259
+ required: ["ok"],
43260
+ type: "object"
43261
+ }
43262
+ }
43263
+ },
43264
+ description: "OK"
43265
+ },
43266
+ 400: { description: "Bad Request" },
43267
+ 401: { description: "Unauthorized" }
43268
+ },
43269
+ security: [
43270
+ { api_key: [] },
43271
+ { pat_with_workspace: [] },
43272
+ { console_session_with_workspace: [] }
43273
+ ],
43274
+ summary: "/connected_accounts/simulate/disconnect",
43275
+ tags: ["/connected_accounts"],
43276
+ "x-fern-sdk-group-name": ["connected_accounts", "simulate"],
43277
+ "x-fern-sdk-method-name": "disconnect",
43278
+ "x-response-key": null,
43279
+ "x-title": "Simulate Connected Account Disconnection"
43280
+ }
43281
+ },
43236
43282
  "/connected_accounts/sync": {
43237
43283
  post: {
43238
43284
  description: "Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified `connected_account_id`.",
@@ -54482,9 +54528,151 @@ var openapi_default = {
54482
54528
  "x-undocumented": "Internal endpoint for customer portals."
54483
54529
  }
54484
54530
  },
54531
+ "/seam/customer/v1/connectors/connector_types": {
54532
+ get: {
54533
+ description: "Lists all available connector types and their required instance configuration schemas.",
54534
+ operationId: "seamCustomerV1ConnectorsConnectorTypesGet",
54535
+ responses: {
54536
+ 200: {
54537
+ content: {
54538
+ "application/json": {
54539
+ schema: {
54540
+ properties: {
54541
+ connector_types: {
54542
+ items: {
54543
+ properties: {
54544
+ connector_type: { type: "string" },
54545
+ description: { type: "string" },
54546
+ display_name: { type: "string" },
54547
+ instance_config_schema: {
54548
+ $ref: "#/components/schemas/access_code"
54549
+ },
54550
+ static_config: {
54551
+ properties: {
54552
+ base_api_url: { type: "string" },
54553
+ polling_enabled: { type: "boolean" },
54554
+ polling_frequency_minutes: {
54555
+ format: "float",
54556
+ type: "number"
54557
+ }
54558
+ },
54559
+ required: [
54560
+ "base_api_url",
54561
+ "polling_enabled",
54562
+ "polling_frequency_minutes"
54563
+ ],
54564
+ type: "object"
54565
+ }
54566
+ },
54567
+ required: [
54568
+ "connector_type",
54569
+ "display_name",
54570
+ "static_config"
54571
+ ],
54572
+ type: "object"
54573
+ },
54574
+ type: "array"
54575
+ },
54576
+ ok: { type: "boolean" }
54577
+ },
54578
+ required: ["connector_types", "ok"],
54579
+ type: "object"
54580
+ }
54581
+ }
54582
+ },
54583
+ description: "OK"
54584
+ },
54585
+ 400: { description: "Bad Request" },
54586
+ 401: { description: "Unauthorized" }
54587
+ },
54588
+ security: [
54589
+ { api_key: [] },
54590
+ { client_session: [] },
54591
+ { console_session_with_workspace: [] }
54592
+ ],
54593
+ summary: "/seam/customer/v1/connectors/connector_types",
54594
+ tags: [],
54595
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
54596
+ "x-fern-sdk-method-name": "connector_types",
54597
+ "x-fern-sdk-return-value": "connector_types",
54598
+ "x-response-key": "connector_types",
54599
+ "x-title": "List Connector Types",
54600
+ "x-undocumented": "Internal endpoint for Console."
54601
+ },
54602
+ post: {
54603
+ description: "Lists all available connector types and their required instance configuration schemas.",
54604
+ operationId: "seamCustomerV1ConnectorsConnectorTypesPost",
54605
+ responses: {
54606
+ 200: {
54607
+ content: {
54608
+ "application/json": {
54609
+ schema: {
54610
+ properties: {
54611
+ connector_types: {
54612
+ items: {
54613
+ properties: {
54614
+ connector_type: { type: "string" },
54615
+ description: { type: "string" },
54616
+ display_name: { type: "string" },
54617
+ instance_config_schema: {
54618
+ $ref: "#/components/schemas/access_code"
54619
+ },
54620
+ static_config: {
54621
+ properties: {
54622
+ base_api_url: { type: "string" },
54623
+ polling_enabled: { type: "boolean" },
54624
+ polling_frequency_minutes: {
54625
+ format: "float",
54626
+ type: "number"
54627
+ }
54628
+ },
54629
+ required: [
54630
+ "base_api_url",
54631
+ "polling_enabled",
54632
+ "polling_frequency_minutes"
54633
+ ],
54634
+ type: "object"
54635
+ }
54636
+ },
54637
+ required: [
54638
+ "connector_type",
54639
+ "display_name",
54640
+ "static_config"
54641
+ ],
54642
+ type: "object"
54643
+ },
54644
+ type: "array"
54645
+ },
54646
+ ok: { type: "boolean" }
54647
+ },
54648
+ required: ["connector_types", "ok"],
54649
+ type: "object"
54650
+ }
54651
+ }
54652
+ },
54653
+ description: "OK"
54654
+ },
54655
+ 400: { description: "Bad Request" },
54656
+ 401: { description: "Unauthorized" }
54657
+ },
54658
+ security: [
54659
+ { api_key: [] },
54660
+ { client_session: [] },
54661
+ { console_session_with_workspace: [] }
54662
+ ],
54663
+ summary: "/seam/customer/v1/connectors/connector_types",
54664
+ tags: [],
54665
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
54666
+ "x-fern-sdk-method-name": "connector_types",
54667
+ "x-fern-sdk-return-value": "connector_types",
54668
+ "x-response-key": "connector_types",
54669
+ "x-title": "List Connector Types",
54670
+ "x-undocumented": "Internal endpoint for Console."
54671
+ }
54672
+ },
54485
54673
  "/seam/customer/v1/connectors/create": {
54486
54674
  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.",
54675
+ 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
54676
  operationId: "seamCustomerV1ConnectorsCreatePost",
54489
54677
  requestBody: {
54490
54678
  content: {
@@ -54492,31 +54680,13 @@ var openapi_default = {
54492
54680
  schema: {
54493
54681
  properties: {
54494
54682
  config: {
54683
+ additionalProperties: {},
54495
54684
  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
- ]
54685
+ type: "object"
54516
54686
  },
54517
54687
  connector_type: {
54518
54688
  description: "Type of connector to create",
54519
- enum: ["mews", "mock"],
54689
+ enum: ["mock", "mews", "rms"],
54520
54690
  type: "string"
54521
54691
  },
54522
54692
  customer_key: {
@@ -54864,6 +55034,7 @@ var openapi_default = {
54864
55034
  config: {
54865
55035
  description: "Instance-specific configuration for the connector",
54866
55036
  oneOf: [
55037
+ { properties: {}, type: "object" },
54867
55038
  {
54868
55039
  properties: {
54869
55040
  access_token: { minLength: 1, type: "string" },
@@ -54873,15 +55044,37 @@ var openapi_default = {
54873
55044
  type: "string"
54874
55045
  },
54875
55046
  client_token: { minLength: 1, type: "string" },
54876
- enterprise_id: { format: "uuid", type: "string" },
55047
+ enterprise_id: { type: "string" },
54877
55048
  enterprise_ids: {
54878
- items: { format: "uuid", type: "string" },
55049
+ items: { type: "string" },
54879
55050
  type: "array"
54880
55051
  }
54881
55052
  },
54882
55053
  type: "object"
54883
55054
  },
54884
- { properties: {}, type: "object" }
55055
+ {
55056
+ properties: {
55057
+ client_id: {
55058
+ description: "RMS client ID for authentication",
55059
+ minLength: 1,
55060
+ type: "string"
55061
+ },
55062
+ client_password: {
55063
+ description: "RMS client password for authentication",
55064
+ minLength: 1,
55065
+ type: "string"
55066
+ },
55067
+ property_id: {
55068
+ description: "Optional property ID for single-property connectors",
55069
+ oneOf: [
55070
+ { type: "string" },
55071
+ { format: "float", type: "number" }
55072
+ ]
55073
+ }
55074
+ },
55075
+ required: ["client_id", "client_password"],
55076
+ type: "object"
55077
+ }
54885
55078
  ]
54886
55079
  },
54887
55080
  connector_id: {