@seamapi/types 1.429.0 → 1.429.1

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.
@@ -23862,9 +23862,9 @@ export default {
23862
23862
  },
23863
23863
  },
23864
23864
  '/access_grants/delete': {
23865
- get: {
23865
+ delete: {
23866
23866
  description: 'Delete an access grant.',
23867
- operationId: 'accessGrantsDeleteGet',
23867
+ operationId: 'accessGrantsDeleteDelete',
23868
23868
  parameters: [
23869
23869
  {
23870
23870
  in: 'query',
@@ -24357,9 +24357,9 @@ export default {
24357
24357
  },
24358
24358
  },
24359
24359
  '/access_methods/delete': {
24360
- get: {
24360
+ delete: {
24361
24361
  description: 'Delete an access method.',
24362
- operationId: 'accessMethodsDeleteGet',
24362
+ operationId: 'accessMethodsDeleteDelete',
24363
24363
  parameters: [
24364
24364
  {
24365
24365
  in: 'query',
@@ -40602,6 +40602,43 @@ export default {
40602
40602
  'x-title': 'Delete Customer Portal Automation Configuration',
40603
40603
  'x-undocumented': 'Internal endpoint for customer portals.',
40604
40604
  },
40605
+ post: {
40606
+ description: 'Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
40607
+ operationId: 'seamCustomerV1AutomationsDeletePost',
40608
+ requestBody: {
40609
+ content: {
40610
+ 'application/json': { schema: { properties: {}, type: 'object' } },
40611
+ },
40612
+ },
40613
+ responses: {
40614
+ 200: {
40615
+ content: {
40616
+ 'application/json': {
40617
+ schema: {
40618
+ properties: { ok: { type: 'boolean' } },
40619
+ required: ['ok'],
40620
+ type: 'object',
40621
+ },
40622
+ },
40623
+ },
40624
+ description: 'OK',
40625
+ },
40626
+ 400: { description: 'Bad Request' },
40627
+ 401: { description: 'Unauthorized' },
40628
+ },
40629
+ security: [
40630
+ { console_session_with_workspace: [] },
40631
+ { api_key: [] },
40632
+ { client_session_with_customer: [] },
40633
+ ],
40634
+ summary: '/seam/customer/v1/automations/delete',
40635
+ tags: [],
40636
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
40637
+ 'x-fern-sdk-method-name': 'delete',
40638
+ 'x-response-key': null,
40639
+ 'x-title': 'Delete Customer Portal Automation Configuration',
40640
+ 'x-undocumented': 'Internal endpoint for customer portals.',
40641
+ },
40605
40642
  },
40606
40643
  '/seam/customer/v1/automations/get': {
40607
40644
  get: {
@@ -40704,6 +40741,106 @@ export default {
40704
40741
  'x-title': 'Get Customer Portal Automation Configuration',
40705
40742
  'x-undocumented': 'Internal endpoint for customer portals.',
40706
40743
  },
40744
+ post: {
40745
+ 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.',
40746
+ operationId: 'seamCustomerV1AutomationsGetPost',
40747
+ responses: {
40748
+ 200: {
40749
+ content: {
40750
+ 'application/json': {
40751
+ schema: {
40752
+ properties: {
40753
+ access_rules: {
40754
+ properties: {
40755
+ reservation_created: {
40756
+ properties: {
40757
+ config: {
40758
+ properties: {
40759
+ access_methods: {
40760
+ items: {
40761
+ enum: ['card', 'mobile_key', 'code'],
40762
+ type: 'string',
40763
+ },
40764
+ minItems: 1,
40765
+ type: 'array',
40766
+ },
40767
+ method_issuance_strategy: {
40768
+ enum: [
40769
+ 'first_available',
40770
+ 'first_two_available',
40771
+ 'all_available',
40772
+ ],
40773
+ type: 'string',
40774
+ },
40775
+ },
40776
+ required: [
40777
+ 'access_methods',
40778
+ 'method_issuance_strategy',
40779
+ ],
40780
+ type: 'object',
40781
+ },
40782
+ rule: {
40783
+ enum: ['reservation_created'],
40784
+ type: 'string',
40785
+ },
40786
+ },
40787
+ required: ['rule', 'config'],
40788
+ type: 'object',
40789
+ },
40790
+ reservation_deleted: {
40791
+ properties: {
40792
+ config: {
40793
+ $ref: '#/components/schemas/access_code',
40794
+ },
40795
+ rule: {
40796
+ enum: ['reservation_deleted'],
40797
+ type: 'string',
40798
+ },
40799
+ },
40800
+ required: ['rule', 'config'],
40801
+ type: 'object',
40802
+ },
40803
+ reservation_time_updated: {
40804
+ properties: {
40805
+ config: {
40806
+ $ref: '#/components/schemas/access_code',
40807
+ },
40808
+ rule: {
40809
+ enum: ['reservation_time_updated'],
40810
+ type: 'string',
40811
+ },
40812
+ },
40813
+ required: ['rule', 'config'],
40814
+ type: 'object',
40815
+ },
40816
+ },
40817
+ type: 'object',
40818
+ },
40819
+ ok: { type: 'boolean' },
40820
+ },
40821
+ required: ['ok'],
40822
+ type: 'object',
40823
+ },
40824
+ },
40825
+ },
40826
+ description: 'OK',
40827
+ },
40828
+ 400: { description: 'Bad Request' },
40829
+ 401: { description: 'Unauthorized' },
40830
+ },
40831
+ security: [
40832
+ { console_session_with_workspace: [] },
40833
+ { api_key: [] },
40834
+ { client_session_with_customer: [] },
40835
+ ],
40836
+ summary: '/seam/customer/v1/automations/get',
40837
+ tags: [],
40838
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
40839
+ 'x-fern-sdk-method-name': 'get',
40840
+ 'x-response-key': null,
40841
+ 'x-title': 'Get Customer Portal Automation Configuration',
40842
+ 'x-undocumented': 'Internal endpoint for customer portals.',
40843
+ },
40707
40844
  },
40708
40845
  '/seam/customer/v1/automations/update': {
40709
40846
  patch: {
@@ -45627,9 +45764,9 @@ export default {
45627
45764
  },
45628
45765
  },
45629
45766
  '/unstable_access_grants/delete': {
45630
- get: {
45767
+ delete: {
45631
45768
  description: 'Deletes an access grant.',
45632
- operationId: 'unstableAccessGrantsDeleteGet',
45769
+ operationId: 'unstableAccessGrantsDeleteDelete',
45633
45770
  parameters: [
45634
45771
  {
45635
45772
  in: 'query',
@@ -45996,9 +46133,9 @@ export default {
45996
46133
  },
45997
46134
  },
45998
46135
  '/unstable_access_methods/delete': {
45999
- get: {
46136
+ delete: {
46000
46137
  description: 'Deletes an access method.',
46001
- operationId: 'unstableAccessMethodsDeleteGet',
46138
+ operationId: 'unstableAccessMethodsDeleteDelete',
46002
46139
  parameters: [
46003
46140
  {
46004
46141
  in: 'query',