@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.
@@ -91747,6 +91747,34 @@ export type Routes = {
91747
91747
  };
91748
91748
  maxDuration: undefined;
91749
91749
  };
91750
+ '/seam/customer/v1/automations/get_guest_phone_last4_usage': {
91751
+ route: '/seam/customer/v1/automations/get_guest_phone_last4_usage';
91752
+ method: 'GET' | 'POST';
91753
+ queryParams: {};
91754
+ jsonBody: {};
91755
+ commonParams: {};
91756
+ formData: {};
91757
+ jsonResponse: {
91758
+ /** Whether the workspace-level automation uses prefer_guest_phone_last4_as_code. */
91759
+ is_used_by_workspace: boolean;
91760
+ /** Number of customers whose automation uses prefer_guest_phone_last4_as_code. */
91761
+ customer_count: number;
91762
+ };
91763
+ maxDuration: undefined;
91764
+ };
91765
+ '/seam/customer/v1/automations/switch_to_guest_phone_last_digits': {
91766
+ route: '/seam/customer/v1/automations/switch_to_guest_phone_last_digits';
91767
+ method: 'POST';
91768
+ queryParams: {};
91769
+ jsonBody: {};
91770
+ commonParams: {};
91771
+ formData: {};
91772
+ jsonResponse: {
91773
+ /** Number of automations that were switched. */
91774
+ switched_count: number;
91775
+ };
91776
+ maxDuration: undefined;
91777
+ };
91750
91778
  '/seam/customer/v1/automations/update': {
91751
91779
  route: '/seam/customer/v1/automations/update';
91752
91780
  method: 'PATCH' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1120.0",
3
+ "version": "1.1121.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -63570,6 +63570,94 @@ const openapi: OpenAPISpec = {
63570
63570
  'x-undocumented': 'Internal endpoint for customer portals.',
63571
63571
  },
63572
63572
  },
63573
+ '/seam/customer/v1/automations/get_guest_phone_last4_usage': {
63574
+ get: {
63575
+ description:
63576
+ 'Lists the automations in the workspace, workspace-level and per-customer, that still use the deprecated prefer_guest_phone_last4_as_code setting.',
63577
+ operationId: 'seamCustomerV1AutomationsGetGuestPhoneLast4UsageGet',
63578
+ parameters: [],
63579
+ responses: {
63580
+ '200': {
63581
+ content: {
63582
+ 'application/json': {
63583
+ schema: {
63584
+ properties: {
63585
+ customer_count: {
63586
+ description:
63587
+ 'Number of customers whose automation uses prefer_guest_phone_last4_as_code.',
63588
+ type: 'integer',
63589
+ },
63590
+ is_used_by_workspace: {
63591
+ description:
63592
+ 'Whether the workspace-level automation uses prefer_guest_phone_last4_as_code.',
63593
+ type: 'boolean',
63594
+ },
63595
+ ok: { type: 'boolean' },
63596
+ },
63597
+ required: ['is_used_by_workspace', 'customer_count', 'ok'],
63598
+ type: 'object',
63599
+ },
63600
+ },
63601
+ },
63602
+ description: 'OK',
63603
+ },
63604
+ '400': { description: 'Bad Request' },
63605
+ '401': { description: 'Unauthorized' },
63606
+ },
63607
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
63608
+ summary: '/seam/customer/v1/automations/get_guest_phone_last4_usage',
63609
+ tags: [],
63610
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
63611
+ 'x-fern-sdk-method-name': 'get_guest_phone_last4_usage',
63612
+ 'x-response-key': null,
63613
+ 'x-title': 'Get Guest Phone Last 4 Usage',
63614
+ 'x-undocumented': 'Internal endpoint for the console.',
63615
+ },
63616
+ },
63617
+ '/seam/customer/v1/automations/switch_to_guest_phone_last_digits': {
63618
+ post: {
63619
+ description:
63620
+ '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.',
63621
+ operationId:
63622
+ 'seamCustomerV1AutomationsSwitchToGuestPhoneLastDigitsPost',
63623
+ requestBody: {
63624
+ content: {
63625
+ 'application/json': { schema: { properties: {}, type: 'object' } },
63626
+ },
63627
+ },
63628
+ responses: {
63629
+ '200': {
63630
+ content: {
63631
+ 'application/json': {
63632
+ schema: {
63633
+ properties: {
63634
+ ok: { type: 'boolean' },
63635
+ switched_count: {
63636
+ description: 'Number of automations that were switched.',
63637
+ type: 'integer',
63638
+ },
63639
+ },
63640
+ required: ['switched_count', 'ok'],
63641
+ type: 'object',
63642
+ },
63643
+ },
63644
+ },
63645
+ description: 'OK',
63646
+ },
63647
+ '400': { description: 'Bad Request' },
63648
+ '401': { description: 'Unauthorized' },
63649
+ },
63650
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
63651
+ summary:
63652
+ '/seam/customer/v1/automations/switch_to_guest_phone_last_digits',
63653
+ tags: [],
63654
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
63655
+ 'x-fern-sdk-method-name': 'switch_to_guest_phone_last_digits',
63656
+ 'x-response-key': null,
63657
+ 'x-title': 'Switch to Guest Phone Last Digits',
63658
+ 'x-undocumented': 'Internal endpoint for the console.',
63659
+ },
63660
+ },
63573
63661
  '/seam/customer/v1/automations/update': {
63574
63662
  patch: {
63575
63663
  description:
@@ -109540,6 +109540,34 @@ export type Routes = {
109540
109540
  }
109541
109541
  maxDuration: undefined
109542
109542
  }
109543
+ '/seam/customer/v1/automations/get_guest_phone_last4_usage': {
109544
+ route: '/seam/customer/v1/automations/get_guest_phone_last4_usage'
109545
+ method: 'GET' | 'POST'
109546
+ queryParams: {}
109547
+ jsonBody: {}
109548
+ commonParams: {}
109549
+ formData: {}
109550
+ jsonResponse: {
109551
+ /** Whether the workspace-level automation uses prefer_guest_phone_last4_as_code. */
109552
+ is_used_by_workspace: boolean
109553
+ /** Number of customers whose automation uses prefer_guest_phone_last4_as_code. */
109554
+ customer_count: number
109555
+ }
109556
+ maxDuration: undefined
109557
+ }
109558
+ '/seam/customer/v1/automations/switch_to_guest_phone_last_digits': {
109559
+ route: '/seam/customer/v1/automations/switch_to_guest_phone_last_digits'
109560
+ method: 'POST'
109561
+ queryParams: {}
109562
+ jsonBody: {}
109563
+ commonParams: {}
109564
+ formData: {}
109565
+ jsonResponse: {
109566
+ /** Number of automations that were switched. */
109567
+ switched_count: number
109568
+ }
109569
+ maxDuration: undefined
109570
+ }
109543
109571
  '/seam/customer/v1/automations/update': {
109544
109572
  route: '/seam/customer/v1/automations/update'
109545
109573
  method: 'PATCH' | 'POST'