@seamapi/types 1.428.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.
@@ -37581,7 +37581,7 @@ declare const _default: {
37581
37581
  };
37582
37582
  };
37583
37583
  '/access_grants/delete': {
37584
- get: {
37584
+ delete: {
37585
37585
  description: string;
37586
37586
  operationId: string;
37587
37587
  parameters: {
@@ -38229,7 +38229,7 @@ declare const _default: {
38229
38229
  };
38230
38230
  };
38231
38231
  '/access_methods/delete': {
38232
- get: {
38232
+ delete: {
38233
38233
  description: string;
38234
38234
  operationId: string;
38235
38235
  parameters: {
@@ -56427,70 +56427,152 @@ declare const _default: {
56427
56427
  'x-undocumented': string;
56428
56428
  };
56429
56429
  };
56430
- '/seam/customer/v1/portals/get': {
56430
+ '/seam/customer/v1/automation_runs/list': {
56431
56431
  get: {
56432
56432
  description: string;
56433
56433
  operationId: string;
56434
- parameters: {
56434
+ parameters: ({
56435
56435
  in: string;
56436
56436
  name: string;
56437
- required: boolean;
56438
56437
  schema: {
56439
56438
  description: string;
56439
+ format: string;
56440
56440
  type: string;
56441
+ enum?: never;
56442
+ default?: never;
56443
+ exclusiveMinimum?: never;
56444
+ minimum?: never;
56445
+ nullable?: never;
56441
56446
  };
56442
- }[];
56447
+ } | {
56448
+ in: string;
56449
+ name: string;
56450
+ schema: {
56451
+ description: string;
56452
+ enum: string[];
56453
+ type: string;
56454
+ format?: never;
56455
+ default?: never;
56456
+ exclusiveMinimum?: never;
56457
+ minimum?: never;
56458
+ nullable?: never;
56459
+ };
56460
+ } | {
56461
+ in: string;
56462
+ name: string;
56463
+ schema: {
56464
+ description: string;
56465
+ type: string;
56466
+ format?: never;
56467
+ enum?: never;
56468
+ default?: never;
56469
+ exclusiveMinimum?: never;
56470
+ minimum?: never;
56471
+ nullable?: never;
56472
+ };
56473
+ } | {
56474
+ in: string;
56475
+ name: string;
56476
+ schema: {
56477
+ default: number;
56478
+ description: string;
56479
+ exclusiveMinimum: boolean;
56480
+ minimum: number;
56481
+ type: string;
56482
+ format?: never;
56483
+ enum?: never;
56484
+ nullable?: never;
56485
+ };
56486
+ } | {
56487
+ in: string;
56488
+ name: string;
56489
+ schema: {
56490
+ description: string;
56491
+ nullable: boolean;
56492
+ type: string;
56493
+ format?: never;
56494
+ enum?: never;
56495
+ default?: never;
56496
+ exclusiveMinimum?: never;
56497
+ minimum?: never;
56498
+ };
56499
+ })[];
56443
56500
  responses: {
56444
56501
  200: {
56445
56502
  content: {
56446
56503
  'application/json': {
56447
56504
  schema: {
56448
56505
  properties: {
56449
- customer_portal: {
56450
- properties: {
56451
- business_vertical: {
56452
- description: string;
56453
- enum: string[];
56454
- type: string;
56455
- };
56456
- features: {
56457
- properties: {
56458
- connect: {
56459
- properties: {
56460
- exclude: {
56506
+ automation_runs: {
56507
+ items: {
56508
+ properties: {
56509
+ automation_id: {
56510
+ format: string;
56511
+ type: string;
56512
+ };
56513
+ automation_result: {
56514
+ properties: {
56515
+ actions: {
56516
+ items: {
56517
+ properties: {
56518
+ access_grant_id: {
56519
+ format: string;
56520
+ type: string;
56521
+ };
56522
+ action_type: {
56523
+ enum: string[];
56524
+ type: string;
56525
+ };
56526
+ resource_type: {
56527
+ type: string;
56528
+ };
56529
+ };
56530
+ required: string[];
56461
56531
  type: string;
56462
56532
  };
56533
+ type: string;
56463
56534
  };
56464
- type: string;
56465
- };
56466
- manage_devices: {
56467
- properties: {
56468
- exclude: {
56469
- type: string;
56470
- };
56535
+ error: {
56536
+ type: string;
56471
56537
  };
56472
- type: string;
56473
- };
56474
- organize: {
56475
- properties: {
56476
- exclude: {
56477
- type: string;
56478
- };
56538
+ rule: {
56539
+ enum: string[];
56540
+ type: string;
56541
+ };
56542
+ success: {
56543
+ type: string;
56479
56544
  };
56480
- type: string;
56481
56545
  };
56546
+ required: string[];
56547
+ type: string;
56548
+ };
56549
+ automation_run_id: {
56550
+ format: string;
56551
+ type: string;
56552
+ };
56553
+ created_at: {
56554
+ type: string;
56555
+ };
56556
+ partner_resource_id: {
56557
+ format: string;
56558
+ type: string;
56559
+ };
56560
+ workspace_id: {
56561
+ format: string;
56562
+ type: string;
56482
56563
  };
56483
- type: string;
56484
- };
56485
- is_embedded: {
56486
- type: string;
56487
56564
  };
56565
+ required: string[];
56566
+ type: string;
56488
56567
  };
56489
56568
  type: string;
56490
56569
  };
56491
56570
  ok: {
56492
56571
  type: string;
56493
56572
  };
56573
+ pagination: {
56574
+ $ref: string;
56575
+ };
56494
56576
  };
56495
56577
  required: string[];
56496
56578
  type: string;
@@ -56506,9 +56588,19 @@ declare const _default: {
56506
56588
  description: string;
56507
56589
  };
56508
56590
  };
56509
- security: {
56591
+ security: ({
56592
+ console_session_with_workspace: never[];
56593
+ api_key?: never;
56594
+ client_session_with_customer?: never;
56595
+ } | {
56596
+ api_key: never[];
56597
+ console_session_with_workspace?: never;
56598
+ client_session_with_customer?: never;
56599
+ } | {
56510
56600
  client_session_with_customer: never[];
56511
- }[];
56601
+ console_session_with_workspace?: never;
56602
+ api_key?: never;
56603
+ })[];
56512
56604
  summary: string;
56513
56605
  tags: never[];
56514
56606
  'x-fern-sdk-group-name': string[];
@@ -56526,12 +56618,43 @@ declare const _default: {
56526
56618
  'application/json': {
56527
56619
  schema: {
56528
56620
  properties: {
56529
- customer_portal_id: {
56621
+ automation_id: {
56622
+ description: string;
56623
+ format: string;
56624
+ type: string;
56625
+ };
56626
+ created_before: {
56627
+ description: string;
56628
+ format: string;
56629
+ type: string;
56630
+ };
56631
+ limit: {
56632
+ default: number;
56633
+ description: string;
56634
+ exclusiveMinimum: boolean;
56635
+ minimum: number;
56636
+ type: string;
56637
+ };
56638
+ page_cursor: {
56639
+ description: string;
56640
+ nullable: boolean;
56641
+ type: string;
56642
+ };
56643
+ partner_resource_id: {
56644
+ description: string;
56645
+ format: string;
56646
+ type: string;
56647
+ };
56648
+ rule: {
56649
+ description: string;
56650
+ enum: string[];
56651
+ type: string;
56652
+ };
56653
+ success: {
56530
56654
  description: string;
56531
56655
  type: string;
56532
56656
  };
56533
56657
  };
56534
- required: string[];
56535
56658
  type: string;
56536
56659
  };
56537
56660
  };
@@ -56543,51 +56666,76 @@ declare const _default: {
56543
56666
  'application/json': {
56544
56667
  schema: {
56545
56668
  properties: {
56546
- customer_portal: {
56547
- properties: {
56548
- business_vertical: {
56549
- description: string;
56550
- enum: string[];
56551
- type: string;
56552
- };
56553
- features: {
56554
- properties: {
56555
- connect: {
56556
- properties: {
56557
- exclude: {
56669
+ automation_runs: {
56670
+ items: {
56671
+ properties: {
56672
+ automation_id: {
56673
+ format: string;
56674
+ type: string;
56675
+ };
56676
+ automation_result: {
56677
+ properties: {
56678
+ actions: {
56679
+ items: {
56680
+ properties: {
56681
+ access_grant_id: {
56682
+ format: string;
56683
+ type: string;
56684
+ };
56685
+ action_type: {
56686
+ enum: string[];
56687
+ type: string;
56688
+ };
56689
+ resource_type: {
56690
+ type: string;
56691
+ };
56692
+ };
56693
+ required: string[];
56558
56694
  type: string;
56559
56695
  };
56696
+ type: string;
56560
56697
  };
56561
- type: string;
56562
- };
56563
- manage_devices: {
56564
- properties: {
56565
- exclude: {
56566
- type: string;
56567
- };
56698
+ error: {
56699
+ type: string;
56568
56700
  };
56569
- type: string;
56570
- };
56571
- organize: {
56572
- properties: {
56573
- exclude: {
56574
- type: string;
56575
- };
56701
+ rule: {
56702
+ enum: string[];
56703
+ type: string;
56704
+ };
56705
+ success: {
56706
+ type: string;
56576
56707
  };
56577
- type: string;
56578
56708
  };
56709
+ required: string[];
56710
+ type: string;
56711
+ };
56712
+ automation_run_id: {
56713
+ format: string;
56714
+ type: string;
56715
+ };
56716
+ created_at: {
56717
+ type: string;
56718
+ };
56719
+ partner_resource_id: {
56720
+ format: string;
56721
+ type: string;
56722
+ };
56723
+ workspace_id: {
56724
+ format: string;
56725
+ type: string;
56579
56726
  };
56580
- type: string;
56581
- };
56582
- is_embedded: {
56583
- type: string;
56584
56727
  };
56728
+ required: string[];
56729
+ type: string;
56585
56730
  };
56586
56731
  type: string;
56587
56732
  };
56588
56733
  ok: {
56589
56734
  type: string;
56590
56735
  };
56736
+ pagination: {
56737
+ $ref: string;
56738
+ };
56591
56739
  };
56592
56740
  required: string[];
56593
56741
  type: string;
@@ -56603,9 +56751,19 @@ declare const _default: {
56603
56751
  description: string;
56604
56752
  };
56605
56753
  };
56606
- security: {
56754
+ security: ({
56755
+ console_session_with_workspace: never[];
56756
+ api_key?: never;
56757
+ client_session_with_customer?: never;
56758
+ } | {
56759
+ api_key: never[];
56760
+ console_session_with_workspace?: never;
56761
+ client_session_with_customer?: never;
56762
+ } | {
56607
56763
  client_session_with_customer: never[];
56608
- }[];
56764
+ console_session_with_workspace?: never;
56765
+ api_key?: never;
56766
+ })[];
56609
56767
  summary: string;
56610
56768
  tags: never[];
56611
56769
  'x-fern-sdk-group-name': string[];
@@ -56616,21 +56774,788 @@ declare const _default: {
56616
56774
  'x-undocumented': string;
56617
56775
  };
56618
56776
  };
56619
- '/seam/customer/v1/settings/update': {
56620
- patch: {
56777
+ '/seam/customer/v1/automations/delete': {
56778
+ delete: {
56621
56779
  description: string;
56622
56780
  operationId: string;
56623
56781
  requestBody: {
56624
56782
  content: {
56625
56783
  'application/json': {
56626
56784
  schema: {
56627
- properties: {
56628
- business_vertical: {
56629
- description: string;
56630
- enum: string[];
56631
- type: string;
56632
- };
56633
- };
56785
+ properties: {};
56786
+ type: string;
56787
+ };
56788
+ };
56789
+ };
56790
+ };
56791
+ responses: {
56792
+ 200: {
56793
+ content: {
56794
+ 'application/json': {
56795
+ schema: {
56796
+ properties: {
56797
+ ok: {
56798
+ type: string;
56799
+ };
56800
+ };
56801
+ required: string[];
56802
+ type: string;
56803
+ };
56804
+ };
56805
+ };
56806
+ description: string;
56807
+ };
56808
+ 400: {
56809
+ description: string;
56810
+ };
56811
+ 401: {
56812
+ description: string;
56813
+ };
56814
+ };
56815
+ security: ({
56816
+ console_session_with_workspace: never[];
56817
+ api_key?: never;
56818
+ client_session_with_customer?: never;
56819
+ } | {
56820
+ api_key: never[];
56821
+ console_session_with_workspace?: never;
56822
+ client_session_with_customer?: never;
56823
+ } | {
56824
+ client_session_with_customer: never[];
56825
+ console_session_with_workspace?: never;
56826
+ api_key?: never;
56827
+ })[];
56828
+ summary: string;
56829
+ tags: never[];
56830
+ 'x-fern-sdk-group-name': string[];
56831
+ 'x-fern-sdk-method-name': string;
56832
+ 'x-response-key': null;
56833
+ 'x-title': string;
56834
+ 'x-undocumented': string;
56835
+ };
56836
+ post: {
56837
+ description: string;
56838
+ operationId: string;
56839
+ requestBody: {
56840
+ content: {
56841
+ 'application/json': {
56842
+ schema: {
56843
+ properties: {};
56844
+ type: string;
56845
+ };
56846
+ };
56847
+ };
56848
+ };
56849
+ responses: {
56850
+ 200: {
56851
+ content: {
56852
+ 'application/json': {
56853
+ schema: {
56854
+ properties: {
56855
+ ok: {
56856
+ type: string;
56857
+ };
56858
+ };
56859
+ required: string[];
56860
+ type: string;
56861
+ };
56862
+ };
56863
+ };
56864
+ description: string;
56865
+ };
56866
+ 400: {
56867
+ description: string;
56868
+ };
56869
+ 401: {
56870
+ description: string;
56871
+ };
56872
+ };
56873
+ security: ({
56874
+ console_session_with_workspace: never[];
56875
+ api_key?: never;
56876
+ client_session_with_customer?: never;
56877
+ } | {
56878
+ api_key: never[];
56879
+ console_session_with_workspace?: never;
56880
+ client_session_with_customer?: never;
56881
+ } | {
56882
+ client_session_with_customer: never[];
56883
+ console_session_with_workspace?: never;
56884
+ api_key?: never;
56885
+ })[];
56886
+ summary: string;
56887
+ tags: never[];
56888
+ 'x-fern-sdk-group-name': string[];
56889
+ 'x-fern-sdk-method-name': string;
56890
+ 'x-response-key': null;
56891
+ 'x-title': string;
56892
+ 'x-undocumented': string;
56893
+ };
56894
+ };
56895
+ '/seam/customer/v1/automations/get': {
56896
+ get: {
56897
+ description: string;
56898
+ operationId: string;
56899
+ responses: {
56900
+ 200: {
56901
+ content: {
56902
+ 'application/json': {
56903
+ schema: {
56904
+ properties: {
56905
+ access_rules: {
56906
+ properties: {
56907
+ reservation_created: {
56908
+ properties: {
56909
+ config: {
56910
+ properties: {
56911
+ access_methods: {
56912
+ items: {
56913
+ enum: string[];
56914
+ type: string;
56915
+ };
56916
+ minItems: number;
56917
+ type: string;
56918
+ };
56919
+ method_issuance_strategy: {
56920
+ enum: string[];
56921
+ type: string;
56922
+ };
56923
+ };
56924
+ required: string[];
56925
+ type: string;
56926
+ };
56927
+ rule: {
56928
+ enum: string[];
56929
+ type: string;
56930
+ };
56931
+ };
56932
+ required: string[];
56933
+ type: string;
56934
+ };
56935
+ reservation_deleted: {
56936
+ properties: {
56937
+ config: {
56938
+ $ref: string;
56939
+ };
56940
+ rule: {
56941
+ enum: string[];
56942
+ type: string;
56943
+ };
56944
+ };
56945
+ required: string[];
56946
+ type: string;
56947
+ };
56948
+ reservation_time_updated: {
56949
+ properties: {
56950
+ config: {
56951
+ $ref: string;
56952
+ };
56953
+ rule: {
56954
+ enum: string[];
56955
+ type: string;
56956
+ };
56957
+ };
56958
+ required: string[];
56959
+ type: string;
56960
+ };
56961
+ };
56962
+ type: string;
56963
+ };
56964
+ ok: {
56965
+ type: string;
56966
+ };
56967
+ };
56968
+ required: string[];
56969
+ type: string;
56970
+ };
56971
+ };
56972
+ };
56973
+ description: string;
56974
+ };
56975
+ 400: {
56976
+ description: string;
56977
+ };
56978
+ 401: {
56979
+ description: string;
56980
+ };
56981
+ };
56982
+ security: ({
56983
+ console_session_with_workspace: never[];
56984
+ api_key?: never;
56985
+ client_session_with_customer?: never;
56986
+ } | {
56987
+ api_key: never[];
56988
+ console_session_with_workspace?: never;
56989
+ client_session_with_customer?: never;
56990
+ } | {
56991
+ client_session_with_customer: never[];
56992
+ console_session_with_workspace?: never;
56993
+ api_key?: never;
56994
+ })[];
56995
+ summary: string;
56996
+ tags: never[];
56997
+ 'x-fern-sdk-group-name': string[];
56998
+ 'x-fern-sdk-method-name': string;
56999
+ 'x-response-key': null;
57000
+ 'x-title': string;
57001
+ 'x-undocumented': string;
57002
+ };
57003
+ post: {
57004
+ description: string;
57005
+ operationId: string;
57006
+ responses: {
57007
+ 200: {
57008
+ content: {
57009
+ 'application/json': {
57010
+ schema: {
57011
+ properties: {
57012
+ access_rules: {
57013
+ properties: {
57014
+ reservation_created: {
57015
+ properties: {
57016
+ config: {
57017
+ properties: {
57018
+ access_methods: {
57019
+ items: {
57020
+ enum: string[];
57021
+ type: string;
57022
+ };
57023
+ minItems: number;
57024
+ type: string;
57025
+ };
57026
+ method_issuance_strategy: {
57027
+ enum: string[];
57028
+ type: string;
57029
+ };
57030
+ };
57031
+ required: string[];
57032
+ type: string;
57033
+ };
57034
+ rule: {
57035
+ enum: string[];
57036
+ type: string;
57037
+ };
57038
+ };
57039
+ required: string[];
57040
+ type: string;
57041
+ };
57042
+ reservation_deleted: {
57043
+ properties: {
57044
+ config: {
57045
+ $ref: string;
57046
+ };
57047
+ rule: {
57048
+ enum: string[];
57049
+ type: string;
57050
+ };
57051
+ };
57052
+ required: string[];
57053
+ type: string;
57054
+ };
57055
+ reservation_time_updated: {
57056
+ properties: {
57057
+ config: {
57058
+ $ref: string;
57059
+ };
57060
+ rule: {
57061
+ enum: string[];
57062
+ type: string;
57063
+ };
57064
+ };
57065
+ required: string[];
57066
+ type: string;
57067
+ };
57068
+ };
57069
+ type: string;
57070
+ };
57071
+ ok: {
57072
+ type: string;
57073
+ };
57074
+ };
57075
+ required: string[];
57076
+ type: string;
57077
+ };
57078
+ };
57079
+ };
57080
+ description: string;
57081
+ };
57082
+ 400: {
57083
+ description: string;
57084
+ };
57085
+ 401: {
57086
+ description: string;
57087
+ };
57088
+ };
57089
+ security: ({
57090
+ console_session_with_workspace: never[];
57091
+ api_key?: never;
57092
+ client_session_with_customer?: never;
57093
+ } | {
57094
+ api_key: never[];
57095
+ console_session_with_workspace?: never;
57096
+ client_session_with_customer?: never;
57097
+ } | {
57098
+ client_session_with_customer: never[];
57099
+ console_session_with_workspace?: never;
57100
+ api_key?: never;
57101
+ })[];
57102
+ summary: string;
57103
+ tags: never[];
57104
+ 'x-fern-sdk-group-name': string[];
57105
+ 'x-fern-sdk-method-name': string;
57106
+ 'x-response-key': null;
57107
+ 'x-title': string;
57108
+ 'x-undocumented': string;
57109
+ };
57110
+ };
57111
+ '/seam/customer/v1/automations/update': {
57112
+ patch: {
57113
+ description: string;
57114
+ operationId: string;
57115
+ requestBody: {
57116
+ content: {
57117
+ 'application/json': {
57118
+ schema: {
57119
+ properties: {
57120
+ access_rules: {
57121
+ description: string;
57122
+ properties: {
57123
+ reservation_created: {
57124
+ properties: {
57125
+ config: {
57126
+ properties: {
57127
+ access_methods: {
57128
+ items: {
57129
+ enum: string[];
57130
+ type: string;
57131
+ };
57132
+ minItems: number;
57133
+ type: string;
57134
+ };
57135
+ method_issuance_strategy: {
57136
+ enum: string[];
57137
+ type: string;
57138
+ };
57139
+ };
57140
+ required: string[];
57141
+ type: string;
57142
+ };
57143
+ rule: {
57144
+ enum: string[];
57145
+ type: string;
57146
+ };
57147
+ };
57148
+ required: string[];
57149
+ type: string;
57150
+ };
57151
+ reservation_deleted: {
57152
+ properties: {
57153
+ config: {
57154
+ properties: {};
57155
+ type: string;
57156
+ };
57157
+ rule: {
57158
+ enum: string[];
57159
+ type: string;
57160
+ };
57161
+ };
57162
+ required: string[];
57163
+ type: string;
57164
+ };
57165
+ reservation_time_updated: {
57166
+ properties: {
57167
+ config: {
57168
+ properties: {};
57169
+ type: string;
57170
+ };
57171
+ rule: {
57172
+ enum: string[];
57173
+ type: string;
57174
+ };
57175
+ };
57176
+ required: string[];
57177
+ type: string;
57178
+ };
57179
+ };
57180
+ type: string;
57181
+ };
57182
+ };
57183
+ type: string;
57184
+ };
57185
+ };
57186
+ };
57187
+ };
57188
+ responses: {
57189
+ 200: {
57190
+ content: {
57191
+ 'application/json': {
57192
+ schema: {
57193
+ properties: {
57194
+ ok: {
57195
+ type: string;
57196
+ };
57197
+ };
57198
+ required: string[];
57199
+ type: string;
57200
+ };
57201
+ };
57202
+ };
57203
+ description: string;
57204
+ };
57205
+ 400: {
57206
+ description: string;
57207
+ };
57208
+ 401: {
57209
+ description: string;
57210
+ };
57211
+ };
57212
+ security: ({
57213
+ console_session_with_workspace: never[];
57214
+ api_key?: never;
57215
+ client_session_with_customer?: never;
57216
+ } | {
57217
+ api_key: never[];
57218
+ console_session_with_workspace?: never;
57219
+ client_session_with_customer?: never;
57220
+ } | {
57221
+ client_session_with_customer: never[];
57222
+ console_session_with_workspace?: never;
57223
+ api_key?: never;
57224
+ })[];
57225
+ summary: string;
57226
+ tags: never[];
57227
+ 'x-fern-sdk-group-name': string[];
57228
+ 'x-fern-sdk-method-name': string;
57229
+ 'x-response-key': null;
57230
+ 'x-title': string;
57231
+ 'x-undocumented': string;
57232
+ };
57233
+ post: {
57234
+ description: string;
57235
+ operationId: string;
57236
+ requestBody: {
57237
+ content: {
57238
+ 'application/json': {
57239
+ schema: {
57240
+ properties: {
57241
+ access_rules: {
57242
+ description: string;
57243
+ properties: {
57244
+ reservation_created: {
57245
+ properties: {
57246
+ config: {
57247
+ properties: {
57248
+ access_methods: {
57249
+ items: {
57250
+ enum: string[];
57251
+ type: string;
57252
+ };
57253
+ minItems: number;
57254
+ type: string;
57255
+ };
57256
+ method_issuance_strategy: {
57257
+ enum: string[];
57258
+ type: string;
57259
+ };
57260
+ };
57261
+ required: string[];
57262
+ type: string;
57263
+ };
57264
+ rule: {
57265
+ enum: string[];
57266
+ type: string;
57267
+ };
57268
+ };
57269
+ required: string[];
57270
+ type: string;
57271
+ };
57272
+ reservation_deleted: {
57273
+ properties: {
57274
+ config: {
57275
+ properties: {};
57276
+ type: string;
57277
+ };
57278
+ rule: {
57279
+ enum: string[];
57280
+ type: string;
57281
+ };
57282
+ };
57283
+ required: string[];
57284
+ type: string;
57285
+ };
57286
+ reservation_time_updated: {
57287
+ properties: {
57288
+ config: {
57289
+ properties: {};
57290
+ type: string;
57291
+ };
57292
+ rule: {
57293
+ enum: string[];
57294
+ type: string;
57295
+ };
57296
+ };
57297
+ required: string[];
57298
+ type: string;
57299
+ };
57300
+ };
57301
+ type: string;
57302
+ };
57303
+ };
57304
+ type: string;
57305
+ };
57306
+ };
57307
+ };
57308
+ };
57309
+ responses: {
57310
+ 200: {
57311
+ content: {
57312
+ 'application/json': {
57313
+ schema: {
57314
+ properties: {
57315
+ ok: {
57316
+ type: string;
57317
+ };
57318
+ };
57319
+ required: string[];
57320
+ type: string;
57321
+ };
57322
+ };
57323
+ };
57324
+ description: string;
57325
+ };
57326
+ 400: {
57327
+ description: string;
57328
+ };
57329
+ 401: {
57330
+ description: string;
57331
+ };
57332
+ };
57333
+ security: ({
57334
+ console_session_with_workspace: never[];
57335
+ api_key?: never;
57336
+ client_session_with_customer?: never;
57337
+ } | {
57338
+ api_key: never[];
57339
+ console_session_with_workspace?: never;
57340
+ client_session_with_customer?: never;
57341
+ } | {
57342
+ client_session_with_customer: never[];
57343
+ console_session_with_workspace?: never;
57344
+ api_key?: never;
57345
+ })[];
57346
+ summary: string;
57347
+ tags: never[];
57348
+ 'x-fern-sdk-group-name': string[];
57349
+ 'x-fern-sdk-method-name': string;
57350
+ 'x-response-key': null;
57351
+ 'x-title': string;
57352
+ 'x-undocumented': string;
57353
+ };
57354
+ };
57355
+ '/seam/customer/v1/portals/get': {
57356
+ get: {
57357
+ description: string;
57358
+ operationId: string;
57359
+ parameters: {
57360
+ in: string;
57361
+ name: string;
57362
+ required: boolean;
57363
+ schema: {
57364
+ description: string;
57365
+ type: string;
57366
+ };
57367
+ }[];
57368
+ responses: {
57369
+ 200: {
57370
+ content: {
57371
+ 'application/json': {
57372
+ schema: {
57373
+ properties: {
57374
+ customer_portal: {
57375
+ properties: {
57376
+ business_vertical: {
57377
+ description: string;
57378
+ enum: string[];
57379
+ type: string;
57380
+ };
57381
+ features: {
57382
+ properties: {
57383
+ connect: {
57384
+ properties: {
57385
+ exclude: {
57386
+ type: string;
57387
+ };
57388
+ };
57389
+ type: string;
57390
+ };
57391
+ manage_devices: {
57392
+ properties: {
57393
+ exclude: {
57394
+ type: string;
57395
+ };
57396
+ };
57397
+ type: string;
57398
+ };
57399
+ organize: {
57400
+ properties: {
57401
+ exclude: {
57402
+ type: string;
57403
+ };
57404
+ };
57405
+ type: string;
57406
+ };
57407
+ };
57408
+ type: string;
57409
+ };
57410
+ is_embedded: {
57411
+ type: string;
57412
+ };
57413
+ };
57414
+ type: string;
57415
+ };
57416
+ ok: {
57417
+ type: string;
57418
+ };
57419
+ };
57420
+ required: string[];
57421
+ type: string;
57422
+ };
57423
+ };
57424
+ };
57425
+ description: string;
57426
+ };
57427
+ 400: {
57428
+ description: string;
57429
+ };
57430
+ 401: {
57431
+ description: string;
57432
+ };
57433
+ };
57434
+ security: {
57435
+ client_session_with_customer: never[];
57436
+ }[];
57437
+ summary: string;
57438
+ tags: never[];
57439
+ 'x-fern-sdk-group-name': string[];
57440
+ 'x-fern-sdk-method-name': string;
57441
+ 'x-fern-sdk-return-value': string;
57442
+ 'x-response-key': string;
57443
+ 'x-title': string;
57444
+ 'x-undocumented': string;
57445
+ };
57446
+ post: {
57447
+ description: string;
57448
+ operationId: string;
57449
+ requestBody: {
57450
+ content: {
57451
+ 'application/json': {
57452
+ schema: {
57453
+ properties: {
57454
+ customer_portal_id: {
57455
+ description: string;
57456
+ type: string;
57457
+ };
57458
+ };
57459
+ required: string[];
57460
+ type: string;
57461
+ };
57462
+ };
57463
+ };
57464
+ };
57465
+ responses: {
57466
+ 200: {
57467
+ content: {
57468
+ 'application/json': {
57469
+ schema: {
57470
+ properties: {
57471
+ customer_portal: {
57472
+ properties: {
57473
+ business_vertical: {
57474
+ description: string;
57475
+ enum: string[];
57476
+ type: string;
57477
+ };
57478
+ features: {
57479
+ properties: {
57480
+ connect: {
57481
+ properties: {
57482
+ exclude: {
57483
+ type: string;
57484
+ };
57485
+ };
57486
+ type: string;
57487
+ };
57488
+ manage_devices: {
57489
+ properties: {
57490
+ exclude: {
57491
+ type: string;
57492
+ };
57493
+ };
57494
+ type: string;
57495
+ };
57496
+ organize: {
57497
+ properties: {
57498
+ exclude: {
57499
+ type: string;
57500
+ };
57501
+ };
57502
+ type: string;
57503
+ };
57504
+ };
57505
+ type: string;
57506
+ };
57507
+ is_embedded: {
57508
+ type: string;
57509
+ };
57510
+ };
57511
+ type: string;
57512
+ };
57513
+ ok: {
57514
+ type: string;
57515
+ };
57516
+ };
57517
+ required: string[];
57518
+ type: string;
57519
+ };
57520
+ };
57521
+ };
57522
+ description: string;
57523
+ };
57524
+ 400: {
57525
+ description: string;
57526
+ };
57527
+ 401: {
57528
+ description: string;
57529
+ };
57530
+ };
57531
+ security: {
57532
+ client_session_with_customer: never[];
57533
+ }[];
57534
+ summary: string;
57535
+ tags: never[];
57536
+ 'x-fern-sdk-group-name': string[];
57537
+ 'x-fern-sdk-method-name': string;
57538
+ 'x-fern-sdk-return-value': string;
57539
+ 'x-response-key': string;
57540
+ 'x-title': string;
57541
+ 'x-undocumented': string;
57542
+ };
57543
+ };
57544
+ '/seam/customer/v1/settings/update': {
57545
+ patch: {
57546
+ description: string;
57547
+ operationId: string;
57548
+ requestBody: {
57549
+ content: {
57550
+ 'application/json': {
57551
+ schema: {
57552
+ properties: {
57553
+ business_vertical: {
57554
+ description: string;
57555
+ enum: string[];
57556
+ type: string;
57557
+ };
57558
+ };
56634
57559
  type: string;
56635
57560
  };
56636
57561
  };
@@ -62313,7 +63238,7 @@ declare const _default: {
62313
63238
  };
62314
63239
  };
62315
63240
  '/unstable_access_grants/delete': {
62316
- get: {
63241
+ delete: {
62317
63242
  description: string;
62318
63243
  operationId: string;
62319
63244
  parameters: {
@@ -62789,7 +63714,7 @@ declare const _default: {
62789
63714
  };
62790
63715
  };
62791
63716
  '/unstable_access_methods/delete': {
62792
- get: {
63717
+ delete: {
62793
63718
  description: string;
62794
63719
  operationId: string;
62795
63720
  parameters: {
@@ -78360,7 +79285,7 @@ interface Routes {
78360
79285
  };
78361
79286
  '/access_grants/delete': {
78362
79287
  route: '/access_grants/delete';
78363
- method: 'GET' | 'POST';
79288
+ method: 'DELETE' | 'POST';
78364
79289
  queryParams: {};
78365
79290
  jsonBody: {};
78366
79291
  commonParams: {
@@ -78496,7 +79421,7 @@ interface Routes {
78496
79421
  };
78497
79422
  '/access_methods/delete': {
78498
79423
  route: '/access_methods/delete';
78499
- method: 'GET' | 'POST';
79424
+ method: 'DELETE' | 'POST';
78500
79425
  queryParams: {};
78501
79426
  jsonBody: {};
78502
79427
  commonParams: {
@@ -113258,6 +114183,121 @@ interface Routes {
113258
114183
  }>;
113259
114184
  };
113260
114185
  };
114186
+ '/seam/customer/v1/automation_runs/list': {
114187
+ route: '/seam/customer/v1/automation_runs/list';
114188
+ method: 'GET' | 'POST';
114189
+ queryParams: {};
114190
+ jsonBody: {};
114191
+ commonParams: {
114192
+ /** ID of the automation for which you want to retrieve all automation runs. */
114193
+ automation_id?: string | undefined;
114194
+ /** ID of the partner resource for which you want to retrieve all automation runs. */
114195
+ partner_resource_id?: string | undefined;
114196
+ /** Filter automation runs by the specific rule that was executed. */
114197
+ rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted') | undefined;
114198
+ /** Filter automation runs by success status. */
114199
+ success?: boolean | undefined;
114200
+ /** Maximum number of records to return per page. */
114201
+ limit?: number;
114202
+ /** Timestamp by which to limit returned automation runs. Returns runs created before this timestamp. */
114203
+ created_before?: Date | undefined;
114204
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
114205
+ page_cursor?: (string | undefined) | null;
114206
+ };
114207
+ formData: {};
114208
+ jsonResponse: {
114209
+ automation_runs: Array<{
114210
+ automation_run_id: string;
114211
+ workspace_id: string;
114212
+ automation_id: string;
114213
+ partner_resource_id: string;
114214
+ automation_result?: {
114215
+ success: boolean;
114216
+ rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';
114217
+ actions: Array<{
114218
+ action_type: 'create' | 'update' | 'delete';
114219
+ resource_type: string;
114220
+ access_grant_id: string;
114221
+ }>;
114222
+ error?: string | undefined;
114223
+ } | undefined;
114224
+ created_at: string;
114225
+ }>;
114226
+ /** Information about the current page of results. */
114227
+ pagination: {
114228
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
114229
+ next_page_cursor: string | null;
114230
+ /** Indicates whether there is another page of results after this one. */
114231
+ has_next_page: boolean;
114232
+ /** URL to get the next page of results. */
114233
+ next_page_url: string | null;
114234
+ };
114235
+ };
114236
+ };
114237
+ '/seam/customer/v1/automations/delete': {
114238
+ route: '/seam/customer/v1/automations/delete';
114239
+ method: 'DELETE' | 'POST';
114240
+ queryParams: {};
114241
+ jsonBody: {};
114242
+ commonParams: {};
114243
+ formData: {};
114244
+ jsonResponse: {};
114245
+ };
114246
+ '/seam/customer/v1/automations/get': {
114247
+ route: '/seam/customer/v1/automations/get';
114248
+ method: 'GET' | 'POST';
114249
+ queryParams: {};
114250
+ jsonBody: {};
114251
+ commonParams: {};
114252
+ formData: {};
114253
+ jsonResponse: {
114254
+ access_rules?: {
114255
+ reservation_created?: {
114256
+ rule: 'reservation_created';
114257
+ config: {
114258
+ access_methods: Array<'card' | 'mobile_key' | 'code'>;
114259
+ method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
114260
+ };
114261
+ } | undefined;
114262
+ reservation_time_updated?: {
114263
+ rule: 'reservation_time_updated';
114264
+ config: {};
114265
+ } | undefined;
114266
+ reservation_deleted?: {
114267
+ rule: 'reservation_deleted';
114268
+ config: {};
114269
+ } | undefined;
114270
+ } | undefined;
114271
+ };
114272
+ };
114273
+ '/seam/customer/v1/automations/update': {
114274
+ route: '/seam/customer/v1/automations/update';
114275
+ method: 'PATCH' | 'POST';
114276
+ queryParams: {};
114277
+ jsonBody: {
114278
+ /** Access automation rules configuration. */
114279
+ access_rules?: {
114280
+ reservation_created?: {
114281
+ rule: 'reservation_created';
114282
+ config: {
114283
+ access_methods: Array<'card' | 'mobile_key' | 'code'>;
114284
+ method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
114285
+ };
114286
+ } | undefined;
114287
+ reservation_time_updated?: {
114288
+ rule: 'reservation_time_updated';
114289
+ config: {};
114290
+ } | undefined;
114291
+ reservation_deleted?: {
114292
+ rule: 'reservation_deleted';
114293
+ config: {};
114294
+ } | undefined;
114295
+ } | undefined;
114296
+ };
114297
+ commonParams: {};
114298
+ formData: {};
114299
+ jsonResponse: {};
114300
+ };
113261
114301
  '/seam/customer/v1/portals/get': {
113262
114302
  route: '/seam/customer/v1/portals/get';
113263
114303
  method: 'GET' | 'POST';
@@ -113289,7 +114329,7 @@ interface Routes {
113289
114329
  };
113290
114330
  '/seam/customer/v1/settings/update': {
113291
114331
  route: '/seam/customer/v1/settings/update';
113292
- method: 'POST' | 'PATCH';
114332
+ method: 'PATCH' | 'POST';
113293
114333
  queryParams: {};
113294
114334
  jsonBody: {
113295
114335
  /** Business vertical to set on the workspace. */
@@ -129175,7 +130215,7 @@ interface Routes {
129175
130215
  };
129176
130216
  '/unstable_access_grants/delete': {
129177
130217
  route: '/unstable_access_grants/delete';
129178
- method: 'GET' | 'POST';
130218
+ method: 'DELETE' | 'POST';
129179
130219
  queryParams: {};
129180
130220
  jsonBody: {};
129181
130221
  commonParams: {
@@ -129295,7 +130335,7 @@ interface Routes {
129295
130335
  };
129296
130336
  '/unstable_access_methods/delete': {
129297
130337
  route: '/unstable_access_methods/delete';
129298
- method: 'GET' | 'POST';
130338
+ method: 'DELETE' | 'POST';
129299
130339
  queryParams: {};
129300
130340
  jsonBody: {};
129301
130341
  commonParams: {