@seamapi/types 1.688.0 → 1.689.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
@@ -55773,7 +55773,7 @@ var openapi_default = {
55773
55773
  },
55774
55774
  "/seam/customer/v1/connectors/create": {
55775
55775
  post: {
55776
- 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.",
55776
+ description: "Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.",
55777
55777
  operationId: "seamCustomerV1ConnectorsCreatePost",
55778
55778
  requestBody: {
55779
55779
  content: {
@@ -55861,11 +55861,7 @@ var openapi_default = {
55861
55861
  400: { description: "Bad Request" },
55862
55862
  401: { description: "Unauthorized" }
55863
55863
  },
55864
- security: [
55865
- { api_key: [] },
55866
- { client_session_with_customer: [] },
55867
- { console_session_with_workspace: [] }
55868
- ],
55864
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
55869
55865
  summary: "/seam/customer/v1/connectors/create",
55870
55866
  tags: [],
55871
55867
  "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
@@ -55885,11 +55881,15 @@ var openapi_default = {
55885
55881
  "application/json": {
55886
55882
  schema: {
55887
55883
  properties: {
55884
+ connector_customer_id: { type: "string" },
55888
55885
  connector_id: {
55889
55886
  description: "ID of the connector to delete",
55890
55887
  minLength: 1,
55891
55888
  type: "string"
55892
- }
55889
+ },
55890
+ customer_id: { type: "string" },
55891
+ customer_key: { type: "string" },
55892
+ unique_provider_resource_key: { type: "string" }
55893
55893
  },
55894
55894
  required: ["connector_id"],
55895
55895
  type: "object"
@@ -55924,11 +55924,7 @@ var openapi_default = {
55924
55924
  400: { description: "Bad Request" },
55925
55925
  401: { description: "Unauthorized" }
55926
55926
  },
55927
- security: [
55928
- { api_key: [] },
55929
- { client_session_with_customer: [] },
55930
- { console_session_with_workspace: [] }
55931
- ],
55927
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
55932
55928
  summary: "/seam/customer/v1/connectors/delete",
55933
55929
  tags: [],
55934
55930
  "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
@@ -56080,13 +56076,43 @@ var openapi_default = {
56080
56076
  "application/json": {
56081
56077
  schema: {
56082
56078
  properties: {
56079
+ connector_customer_id: {
56080
+ description: "ID of the connector customer to sync",
56081
+ format: "uuid",
56082
+ nullable: true,
56083
+ type: "string"
56084
+ },
56083
56085
  connector_id: {
56084
56086
  description: "ID of the connector to sync",
56085
56087
  format: "uuid",
56086
56088
  type: "string"
56089
+ },
56090
+ connector_type: {
56091
+ description: "Type of the connector to sync",
56092
+ type: "string"
56093
+ },
56094
+ customer_id: {
56095
+ description: "ID of the customer to sync",
56096
+ type: "string"
56097
+ },
56098
+ customer_key: {
56099
+ description: "Key of the customer to sync",
56100
+ type: "string"
56101
+ },
56102
+ unique_provider_resource_key: {
56103
+ description: "Unique provider resource key of the connector to sync",
56104
+ nullable: true,
56105
+ type: "string"
56087
56106
  }
56088
56107
  },
56089
- required: ["connector_id"],
56108
+ required: [
56109
+ "connector_id",
56110
+ "connector_type",
56111
+ "customer_id",
56112
+ "customer_key",
56113
+ "connector_customer_id",
56114
+ "unique_provider_resource_key"
56115
+ ],
56090
56116
  type: "object"
56091
56117
  }
56092
56118
  }
@@ -56100,11 +56126,10 @@ var openapi_default = {
56100
56126
  properties: {
56101
56127
  connector_sync: {
56102
56128
  properties: {
56103
- connector_id: { type: "string" },
56104
56129
  message: { type: "string" },
56105
56130
  status: { type: "string" }
56106
56131
  },
56107
- required: ["connector_id", "status", "message"],
56132
+ required: ["status", "message"],
56108
56133
  type: "object"
56109
56134
  },
56110
56135
  ok: { type: "boolean" }