@seamapi/types 1.1120.0 → 1.1121.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.
@@ -58041,6 +58041,88 @@ const openapi = {
58041
58041
  'x-undocumented': 'Internal endpoint for customer portals.',
58042
58042
  },
58043
58043
  },
58044
+ '/seam/customer/v1/automations/get_guest_phone_last4_usage': {
58045
+ get: {
58046
+ description: 'Lists the automations in the workspace, workspace-level and per-customer, that still use the deprecated prefer_guest_phone_last4_as_code setting.',
58047
+ operationId: 'seamCustomerV1AutomationsGetGuestPhoneLast4UsageGet',
58048
+ parameters: [],
58049
+ responses: {
58050
+ '200': {
58051
+ content: {
58052
+ 'application/json': {
58053
+ schema: {
58054
+ properties: {
58055
+ customer_count: {
58056
+ description: 'Number of customers whose automation uses prefer_guest_phone_last4_as_code.',
58057
+ type: 'integer',
58058
+ },
58059
+ is_used_by_workspace: {
58060
+ description: 'Whether the workspace-level automation uses prefer_guest_phone_last4_as_code.',
58061
+ type: 'boolean',
58062
+ },
58063
+ ok: { type: 'boolean' },
58064
+ },
58065
+ required: ['is_used_by_workspace', 'customer_count', 'ok'],
58066
+ type: 'object',
58067
+ },
58068
+ },
58069
+ },
58070
+ description: 'OK',
58071
+ },
58072
+ '400': { description: 'Bad Request' },
58073
+ '401': { description: 'Unauthorized' },
58074
+ },
58075
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
58076
+ summary: '/seam/customer/v1/automations/get_guest_phone_last4_usage',
58077
+ tags: [],
58078
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
58079
+ 'x-fern-sdk-method-name': 'get_guest_phone_last4_usage',
58080
+ 'x-response-key': null,
58081
+ 'x-title': 'Get Guest Phone Last 4 Usage',
58082
+ 'x-undocumented': 'Internal endpoint for the console.',
58083
+ },
58084
+ },
58085
+ '/seam/customer/v1/automations/switch_to_guest_phone_last_digits': {
58086
+ post: {
58087
+ description: 'Switches every automation in the workspace, workspace-level and per-customer, from the deprecated prefer_guest_phone_last4_as_code setting to prefer_guest_phone_last_digits_as_code.',
58088
+ operationId: 'seamCustomerV1AutomationsSwitchToGuestPhoneLastDigitsPost',
58089
+ requestBody: {
58090
+ content: {
58091
+ 'application/json': { schema: { properties: {}, type: 'object' } },
58092
+ },
58093
+ },
58094
+ responses: {
58095
+ '200': {
58096
+ content: {
58097
+ 'application/json': {
58098
+ schema: {
58099
+ properties: {
58100
+ ok: { type: 'boolean' },
58101
+ switched_count: {
58102
+ description: 'Number of automations that were switched.',
58103
+ type: 'integer',
58104
+ },
58105
+ },
58106
+ required: ['switched_count', 'ok'],
58107
+ type: 'object',
58108
+ },
58109
+ },
58110
+ },
58111
+ description: 'OK',
58112
+ },
58113
+ '400': { description: 'Bad Request' },
58114
+ '401': { description: 'Unauthorized' },
58115
+ },
58116
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
58117
+ summary: '/seam/customer/v1/automations/switch_to_guest_phone_last_digits',
58118
+ tags: [],
58119
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
58120
+ 'x-fern-sdk-method-name': 'switch_to_guest_phone_last_digits',
58121
+ 'x-response-key': null,
58122
+ 'x-title': 'Switch to Guest Phone Last Digits',
58123
+ 'x-undocumented': 'Internal endpoint for the console.',
58124
+ },
58125
+ },
58044
58126
  '/seam/customer/v1/automations/update': {
58045
58127
  patch: {
58046
58128
  description: 'Updates the automation configuration for a customer portal workspace.',