@seamapi/types 1.687.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
@@ -705,9 +705,15 @@ var connected_account = zod.z.object({
705
705
  exclusive: zod.z.boolean().optional().describe(
706
706
  "Indicates whether the user identifier associated with the connected account is exclusive."
707
707
  )
708
- }).optional().describe("User identifier associated with the connected account."),
708
+ }).optional().describe(`
709
+ ---
710
+ deprecated: Use \`display_name\` instead.
711
+ ---
712
+ User identifier associated with the connected account.
713
+ `),
709
714
  account_type: zod.z.string().optional().describe("Type of connected account."),
710
715
  account_type_display_name: zod.z.string().describe("Display name for the connected account type."),
716
+ display_name: zod.z.string().describe("Display name for the connected account."),
711
717
  errors: zod.z.array(connected_account_error).describe("Errors associated with the connected account."),
712
718
  warnings: zod.z.array(connected_account_warning).describe("Warnings associated with the connected account."),
713
719
  custom_metadata,
@@ -14064,6 +14070,10 @@ var openapi_default = {
14064
14070
  description: "Your unique key for the customer associated with this connected account.",
14065
14071
  type: "string"
14066
14072
  },
14073
+ display_name: {
14074
+ description: "Display name for the connected account.",
14075
+ type: "string"
14076
+ },
14067
14077
  errors: {
14068
14078
  description: "Errors associated with the connected account.",
14069
14079
  items: {
@@ -14207,6 +14217,7 @@ var openapi_default = {
14207
14217
  type: "array"
14208
14218
  },
14209
14219
  user_identifier: {
14220
+ deprecated: true,
14210
14221
  description: "User identifier associated with the connected account.",
14211
14222
  properties: {
14212
14223
  api_url: {
@@ -14230,7 +14241,8 @@ var openapi_default = {
14230
14241
  type: "string"
14231
14242
  }
14232
14243
  },
14233
- type: "object"
14244
+ type: "object",
14245
+ "x-deprecated": "Use `display_name` instead."
14234
14246
  },
14235
14247
  warnings: {
14236
14248
  description: "Warnings associated with the connected account.",
@@ -14376,6 +14388,7 @@ var openapi_default = {
14376
14388
  required: [
14377
14389
  "connected_account_id",
14378
14390
  "account_type_display_name",
14391
+ "display_name",
14379
14392
  "errors",
14380
14393
  "warnings",
14381
14394
  "custom_metadata",
@@ -55760,7 +55773,7 @@ var openapi_default = {
55760
55773
  },
55761
55774
  "/seam/customer/v1/connectors/create": {
55762
55775
  post: {
55763
- 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.",
55764
55777
  operationId: "seamCustomerV1ConnectorsCreatePost",
55765
55778
  requestBody: {
55766
55779
  content: {
@@ -55848,11 +55861,7 @@ var openapi_default = {
55848
55861
  400: { description: "Bad Request" },
55849
55862
  401: { description: "Unauthorized" }
55850
55863
  },
55851
- security: [
55852
- { api_key: [] },
55853
- { client_session_with_customer: [] },
55854
- { console_session_with_workspace: [] }
55855
- ],
55864
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
55856
55865
  summary: "/seam/customer/v1/connectors/create",
55857
55866
  tags: [],
55858
55867
  "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
@@ -55872,11 +55881,15 @@ var openapi_default = {
55872
55881
  "application/json": {
55873
55882
  schema: {
55874
55883
  properties: {
55884
+ connector_customer_id: { type: "string" },
55875
55885
  connector_id: {
55876
55886
  description: "ID of the connector to delete",
55877
55887
  minLength: 1,
55878
55888
  type: "string"
55879
- }
55889
+ },
55890
+ customer_id: { type: "string" },
55891
+ customer_key: { type: "string" },
55892
+ unique_provider_resource_key: { type: "string" }
55880
55893
  },
55881
55894
  required: ["connector_id"],
55882
55895
  type: "object"
@@ -55911,11 +55924,7 @@ var openapi_default = {
55911
55924
  400: { description: "Bad Request" },
55912
55925
  401: { description: "Unauthorized" }
55913
55926
  },
55914
- security: [
55915
- { api_key: [] },
55916
- { client_session_with_customer: [] },
55917
- { console_session_with_workspace: [] }
55918
- ],
55927
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
55919
55928
  summary: "/seam/customer/v1/connectors/delete",
55920
55929
  tags: [],
55921
55930
  "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
@@ -56067,13 +56076,43 @@ var openapi_default = {
56067
56076
  "application/json": {
56068
56077
  schema: {
56069
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
+ },
56070
56085
  connector_id: {
56071
56086
  description: "ID of the connector to sync",
56072
56087
  format: "uuid",
56073
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"
56074
56106
  }
56075
56107
  },
56076
- 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
+ ],
56077
56116
  type: "object"
56078
56117
  }
56079
56118
  }
@@ -56087,11 +56126,10 @@ var openapi_default = {
56087
56126
  properties: {
56088
56127
  connector_sync: {
56089
56128
  properties: {
56090
- connector_id: { type: "string" },
56091
56129
  message: { type: "string" },
56092
56130
  status: { type: "string" }
56093
56131
  },
56094
- required: ["connector_id", "status", "message"],
56132
+ required: ["status", "message"],
56095
56133
  type: "object"
56096
56134
  },
56097
56135
  ok: { type: "boolean" }