@seamapi/types 1.749.0 → 1.750.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
@@ -62672,8 +62672,18 @@ var openapi_default = {
62672
62672
  },
62673
62673
  "/seam/customer/v1/automations/get": {
62674
62674
  get: {
62675
- description: "Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.",
62675
+ description: "Gets the current automation configuration for a customer portal workspace.\nWhen customer_key is provided, returns customer-specific config if available,\notherwise falls back to workspace-level config.",
62676
62676
  operationId: "seamCustomerV1AutomationsGetGet",
62677
+ parameters: [
62678
+ {
62679
+ in: "query",
62680
+ name: "customer_key",
62681
+ schema: {
62682
+ description: "Key of the customer to get automation config for.",
62683
+ type: "string"
62684
+ }
62685
+ }
62686
+ ],
62677
62687
  responses: {
62678
62688
  200: {
62679
62689
  content: {
@@ -62943,11 +62953,7 @@ var openapi_default = {
62943
62953
  400: { description: "Bad Request" },
62944
62954
  401: { description: "Unauthorized" }
62945
62955
  },
62946
- security: [
62947
- { console_session_with_workspace: [] },
62948
- { api_key: [] },
62949
- { client_session_with_customer: [] }
62950
- ],
62956
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
62951
62957
  summary: "/seam/customer/v1/automations/get",
62952
62958
  tags: [],
62953
62959
  "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
@@ -62957,8 +62963,23 @@ var openapi_default = {
62957
62963
  "x-undocumented": "Internal endpoint for customer portals."
62958
62964
  },
62959
62965
  post: {
62960
- description: "Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.",
62966
+ description: "Gets the current automation configuration for a customer portal workspace.\nWhen customer_key is provided, returns customer-specific config if available,\notherwise falls back to workspace-level config.",
62961
62967
  operationId: "seamCustomerV1AutomationsGetPost",
62968
+ requestBody: {
62969
+ content: {
62970
+ "application/json": {
62971
+ schema: {
62972
+ properties: {
62973
+ customer_key: {
62974
+ description: "Key of the customer to get automation config for.",
62975
+ type: "string"
62976
+ }
62977
+ },
62978
+ type: "object"
62979
+ }
62980
+ }
62981
+ }
62982
+ },
62962
62983
  responses: {
62963
62984
  200: {
62964
62985
  content: {
@@ -63228,11 +63249,7 @@ var openapi_default = {
63228
63249
  400: { description: "Bad Request" },
63229
63250
  401: { description: "Unauthorized" }
63230
63251
  },
63231
- security: [
63232
- { console_session_with_workspace: [] },
63233
- { api_key: [] },
63234
- { client_session_with_customer: [] }
63235
- ],
63252
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
63236
63253
  summary: "/seam/customer/v1/automations/get",
63237
63254
  tags: [],
63238
63255
  "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
@@ -63490,6 +63507,10 @@ var openapi_default = {
63490
63507
  }
63491
63508
  },
63492
63509
  type: "object"
63510
+ },
63511
+ customer_key: {
63512
+ description: "Key of the customer to update automation config for.",
63513
+ type: "string"
63493
63514
  }
63494
63515
  },
63495
63516
  type: "object"
@@ -63769,6 +63790,10 @@ var openapi_default = {
63769
63790
  }
63770
63791
  },
63771
63792
  type: "object"
63793
+ },
63794
+ customer_key: {
63795
+ description: "Key of the customer to update automation config for.",
63796
+ type: "string"
63772
63797
  }
63773
63798
  },
63774
63799
  type: "object"
@@ -64759,16 +64784,8 @@ var openapi_default = {
64759
64784
  },
64760
64785
  "/seam/customer/v1/customers/automations/get": {
64761
64786
  get: {
64762
- description: "Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
64787
+ description: "Gets the automation configuration for the authenticated customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
64763
64788
  operationId: "seamCustomerV1CustomersAutomationsGetGet",
64764
- parameters: [
64765
- {
64766
- in: "query",
64767
- name: "customer_key",
64768
- required: true,
64769
- schema: { description: "Key of the customer.", type: "string" }
64770
- }
64771
- ],
64772
64789
  responses: {
64773
64790
  200: {
64774
64791
  content: {
@@ -65047,11 +65064,7 @@ var openapi_default = {
65047
65064
  400: { description: "Bad Request" },
65048
65065
  401: { description: "Unauthorized" }
65049
65066
  },
65050
- security: [
65051
- { pat_with_workspace: [] },
65052
- { console_session_with_workspace: [] },
65053
- { api_key: [] }
65054
- ],
65067
+ security: [{ client_session_with_customer: [] }],
65055
65068
  summary: "/seam/customer/v1/customers/automations/get",
65056
65069
  tags: [],
65057
65070
  "x-fern-sdk-group-name": [
@@ -65067,24 +65080,8 @@ var openapi_default = {
65067
65080
  "x-title": "Get Customer Automation Configuration"
65068
65081
  },
65069
65082
  post: {
65070
- description: "Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
65083
+ description: "Gets the automation configuration for the authenticated customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
65071
65084
  operationId: "seamCustomerV1CustomersAutomationsGetPost",
65072
- requestBody: {
65073
- content: {
65074
- "application/json": {
65075
- schema: {
65076
- properties: {
65077
- customer_key: {
65078
- description: "Key of the customer.",
65079
- type: "string"
65080
- }
65081
- },
65082
- required: ["customer_key"],
65083
- type: "object"
65084
- }
65085
- }
65086
- }
65087
- },
65088
65085
  responses: {
65089
65086
  200: {
65090
65087
  content: {
@@ -65363,11 +65360,7 @@ var openapi_default = {
65363
65360
  400: { description: "Bad Request" },
65364
65361
  401: { description: "Unauthorized" }
65365
65362
  },
65366
- security: [
65367
- { pat_with_workspace: [] },
65368
- { console_session_with_workspace: [] },
65369
- { api_key: [] }
65370
- ],
65363
+ security: [{ client_session_with_customer: [] }],
65371
65364
  summary: "/seam/customer/v1/customers/automations/get",
65372
65365
  tags: [],
65373
65366
  "x-fern-sdk-group-name": [