@seamapi/types 1.428.0 → 1.429.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 +672 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +875 -0
- package/lib/seam/connect/openapi.d.ts +760 -0
- package/lib/seam/connect/openapi.js +672 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +115 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +689 -0
- package/src/lib/seam/connect/route-types.ts +148 -0
package/dist/connect.d.cts
CHANGED
|
@@ -56427,6 +56427,766 @@ declare const _default: {
|
|
|
56427
56427
|
'x-undocumented': string;
|
|
56428
56428
|
};
|
|
56429
56429
|
};
|
|
56430
|
+
'/seam/customer/v1/automation_runs/list': {
|
|
56431
|
+
get: {
|
|
56432
|
+
description: string;
|
|
56433
|
+
operationId: string;
|
|
56434
|
+
parameters: ({
|
|
56435
|
+
in: string;
|
|
56436
|
+
name: string;
|
|
56437
|
+
schema: {
|
|
56438
|
+
description: string;
|
|
56439
|
+
format: string;
|
|
56440
|
+
type: string;
|
|
56441
|
+
enum?: never;
|
|
56442
|
+
default?: never;
|
|
56443
|
+
exclusiveMinimum?: never;
|
|
56444
|
+
minimum?: never;
|
|
56445
|
+
nullable?: never;
|
|
56446
|
+
};
|
|
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
|
+
})[];
|
|
56500
|
+
responses: {
|
|
56501
|
+
200: {
|
|
56502
|
+
content: {
|
|
56503
|
+
'application/json': {
|
|
56504
|
+
schema: {
|
|
56505
|
+
properties: {
|
|
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[];
|
|
56531
|
+
type: string;
|
|
56532
|
+
};
|
|
56533
|
+
type: string;
|
|
56534
|
+
};
|
|
56535
|
+
error: {
|
|
56536
|
+
type: string;
|
|
56537
|
+
};
|
|
56538
|
+
rule: {
|
|
56539
|
+
enum: string[];
|
|
56540
|
+
type: string;
|
|
56541
|
+
};
|
|
56542
|
+
success: {
|
|
56543
|
+
type: string;
|
|
56544
|
+
};
|
|
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;
|
|
56563
|
+
};
|
|
56564
|
+
};
|
|
56565
|
+
required: string[];
|
|
56566
|
+
type: string;
|
|
56567
|
+
};
|
|
56568
|
+
type: string;
|
|
56569
|
+
};
|
|
56570
|
+
ok: {
|
|
56571
|
+
type: string;
|
|
56572
|
+
};
|
|
56573
|
+
pagination: {
|
|
56574
|
+
$ref: string;
|
|
56575
|
+
};
|
|
56576
|
+
};
|
|
56577
|
+
required: string[];
|
|
56578
|
+
type: string;
|
|
56579
|
+
};
|
|
56580
|
+
};
|
|
56581
|
+
};
|
|
56582
|
+
description: string;
|
|
56583
|
+
};
|
|
56584
|
+
400: {
|
|
56585
|
+
description: string;
|
|
56586
|
+
};
|
|
56587
|
+
401: {
|
|
56588
|
+
description: string;
|
|
56589
|
+
};
|
|
56590
|
+
};
|
|
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
|
+
} | {
|
|
56600
|
+
client_session_with_customer: never[];
|
|
56601
|
+
console_session_with_workspace?: never;
|
|
56602
|
+
api_key?: never;
|
|
56603
|
+
})[];
|
|
56604
|
+
summary: string;
|
|
56605
|
+
tags: never[];
|
|
56606
|
+
'x-fern-sdk-group-name': string[];
|
|
56607
|
+
'x-fern-sdk-method-name': string;
|
|
56608
|
+
'x-fern-sdk-return-value': string;
|
|
56609
|
+
'x-response-key': string;
|
|
56610
|
+
'x-title': string;
|
|
56611
|
+
'x-undocumented': string;
|
|
56612
|
+
};
|
|
56613
|
+
post: {
|
|
56614
|
+
description: string;
|
|
56615
|
+
operationId: string;
|
|
56616
|
+
requestBody: {
|
|
56617
|
+
content: {
|
|
56618
|
+
'application/json': {
|
|
56619
|
+
schema: {
|
|
56620
|
+
properties: {
|
|
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: {
|
|
56654
|
+
description: string;
|
|
56655
|
+
type: string;
|
|
56656
|
+
};
|
|
56657
|
+
};
|
|
56658
|
+
type: string;
|
|
56659
|
+
};
|
|
56660
|
+
};
|
|
56661
|
+
};
|
|
56662
|
+
};
|
|
56663
|
+
responses: {
|
|
56664
|
+
200: {
|
|
56665
|
+
content: {
|
|
56666
|
+
'application/json': {
|
|
56667
|
+
schema: {
|
|
56668
|
+
properties: {
|
|
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[];
|
|
56694
|
+
type: string;
|
|
56695
|
+
};
|
|
56696
|
+
type: string;
|
|
56697
|
+
};
|
|
56698
|
+
error: {
|
|
56699
|
+
type: string;
|
|
56700
|
+
};
|
|
56701
|
+
rule: {
|
|
56702
|
+
enum: string[];
|
|
56703
|
+
type: string;
|
|
56704
|
+
};
|
|
56705
|
+
success: {
|
|
56706
|
+
type: string;
|
|
56707
|
+
};
|
|
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;
|
|
56726
|
+
};
|
|
56727
|
+
};
|
|
56728
|
+
required: string[];
|
|
56729
|
+
type: string;
|
|
56730
|
+
};
|
|
56731
|
+
type: string;
|
|
56732
|
+
};
|
|
56733
|
+
ok: {
|
|
56734
|
+
type: string;
|
|
56735
|
+
};
|
|
56736
|
+
pagination: {
|
|
56737
|
+
$ref: string;
|
|
56738
|
+
};
|
|
56739
|
+
};
|
|
56740
|
+
required: string[];
|
|
56741
|
+
type: string;
|
|
56742
|
+
};
|
|
56743
|
+
};
|
|
56744
|
+
};
|
|
56745
|
+
description: string;
|
|
56746
|
+
};
|
|
56747
|
+
400: {
|
|
56748
|
+
description: string;
|
|
56749
|
+
};
|
|
56750
|
+
401: {
|
|
56751
|
+
description: string;
|
|
56752
|
+
};
|
|
56753
|
+
};
|
|
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
|
+
} | {
|
|
56763
|
+
client_session_with_customer: never[];
|
|
56764
|
+
console_session_with_workspace?: never;
|
|
56765
|
+
api_key?: never;
|
|
56766
|
+
})[];
|
|
56767
|
+
summary: string;
|
|
56768
|
+
tags: never[];
|
|
56769
|
+
'x-fern-sdk-group-name': string[];
|
|
56770
|
+
'x-fern-sdk-method-name': string;
|
|
56771
|
+
'x-fern-sdk-return-value': string;
|
|
56772
|
+
'x-response-key': string;
|
|
56773
|
+
'x-title': string;
|
|
56774
|
+
'x-undocumented': string;
|
|
56775
|
+
};
|
|
56776
|
+
};
|
|
56777
|
+
'/seam/customer/v1/automations/delete': {
|
|
56778
|
+
delete: {
|
|
56779
|
+
description: string;
|
|
56780
|
+
operationId: string;
|
|
56781
|
+
requestBody: {
|
|
56782
|
+
content: {
|
|
56783
|
+
'application/json': {
|
|
56784
|
+
schema: {
|
|
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
|
+
};
|
|
56837
|
+
'/seam/customer/v1/automations/get': {
|
|
56838
|
+
get: {
|
|
56839
|
+
description: string;
|
|
56840
|
+
operationId: string;
|
|
56841
|
+
responses: {
|
|
56842
|
+
200: {
|
|
56843
|
+
content: {
|
|
56844
|
+
'application/json': {
|
|
56845
|
+
schema: {
|
|
56846
|
+
properties: {
|
|
56847
|
+
access_rules: {
|
|
56848
|
+
properties: {
|
|
56849
|
+
reservation_created: {
|
|
56850
|
+
properties: {
|
|
56851
|
+
config: {
|
|
56852
|
+
properties: {
|
|
56853
|
+
access_methods: {
|
|
56854
|
+
items: {
|
|
56855
|
+
enum: string[];
|
|
56856
|
+
type: string;
|
|
56857
|
+
};
|
|
56858
|
+
minItems: number;
|
|
56859
|
+
type: string;
|
|
56860
|
+
};
|
|
56861
|
+
method_issuance_strategy: {
|
|
56862
|
+
enum: string[];
|
|
56863
|
+
type: string;
|
|
56864
|
+
};
|
|
56865
|
+
};
|
|
56866
|
+
required: string[];
|
|
56867
|
+
type: string;
|
|
56868
|
+
};
|
|
56869
|
+
rule: {
|
|
56870
|
+
enum: string[];
|
|
56871
|
+
type: string;
|
|
56872
|
+
};
|
|
56873
|
+
};
|
|
56874
|
+
required: string[];
|
|
56875
|
+
type: string;
|
|
56876
|
+
};
|
|
56877
|
+
reservation_deleted: {
|
|
56878
|
+
properties: {
|
|
56879
|
+
config: {
|
|
56880
|
+
$ref: string;
|
|
56881
|
+
};
|
|
56882
|
+
rule: {
|
|
56883
|
+
enum: string[];
|
|
56884
|
+
type: string;
|
|
56885
|
+
};
|
|
56886
|
+
};
|
|
56887
|
+
required: string[];
|
|
56888
|
+
type: string;
|
|
56889
|
+
};
|
|
56890
|
+
reservation_time_updated: {
|
|
56891
|
+
properties: {
|
|
56892
|
+
config: {
|
|
56893
|
+
$ref: string;
|
|
56894
|
+
};
|
|
56895
|
+
rule: {
|
|
56896
|
+
enum: string[];
|
|
56897
|
+
type: string;
|
|
56898
|
+
};
|
|
56899
|
+
};
|
|
56900
|
+
required: string[];
|
|
56901
|
+
type: string;
|
|
56902
|
+
};
|
|
56903
|
+
};
|
|
56904
|
+
type: string;
|
|
56905
|
+
};
|
|
56906
|
+
ok: {
|
|
56907
|
+
type: string;
|
|
56908
|
+
};
|
|
56909
|
+
};
|
|
56910
|
+
required: string[];
|
|
56911
|
+
type: string;
|
|
56912
|
+
};
|
|
56913
|
+
};
|
|
56914
|
+
};
|
|
56915
|
+
description: string;
|
|
56916
|
+
};
|
|
56917
|
+
400: {
|
|
56918
|
+
description: string;
|
|
56919
|
+
};
|
|
56920
|
+
401: {
|
|
56921
|
+
description: string;
|
|
56922
|
+
};
|
|
56923
|
+
};
|
|
56924
|
+
security: ({
|
|
56925
|
+
console_session_with_workspace: never[];
|
|
56926
|
+
api_key?: never;
|
|
56927
|
+
client_session_with_customer?: never;
|
|
56928
|
+
} | {
|
|
56929
|
+
api_key: never[];
|
|
56930
|
+
console_session_with_workspace?: never;
|
|
56931
|
+
client_session_with_customer?: never;
|
|
56932
|
+
} | {
|
|
56933
|
+
client_session_with_customer: never[];
|
|
56934
|
+
console_session_with_workspace?: never;
|
|
56935
|
+
api_key?: never;
|
|
56936
|
+
})[];
|
|
56937
|
+
summary: string;
|
|
56938
|
+
tags: never[];
|
|
56939
|
+
'x-fern-sdk-group-name': string[];
|
|
56940
|
+
'x-fern-sdk-method-name': string;
|
|
56941
|
+
'x-response-key': null;
|
|
56942
|
+
'x-title': string;
|
|
56943
|
+
'x-undocumented': string;
|
|
56944
|
+
};
|
|
56945
|
+
};
|
|
56946
|
+
'/seam/customer/v1/automations/update': {
|
|
56947
|
+
patch: {
|
|
56948
|
+
description: string;
|
|
56949
|
+
operationId: string;
|
|
56950
|
+
requestBody: {
|
|
56951
|
+
content: {
|
|
56952
|
+
'application/json': {
|
|
56953
|
+
schema: {
|
|
56954
|
+
properties: {
|
|
56955
|
+
access_rules: {
|
|
56956
|
+
description: string;
|
|
56957
|
+
properties: {
|
|
56958
|
+
reservation_created: {
|
|
56959
|
+
properties: {
|
|
56960
|
+
config: {
|
|
56961
|
+
properties: {
|
|
56962
|
+
access_methods: {
|
|
56963
|
+
items: {
|
|
56964
|
+
enum: string[];
|
|
56965
|
+
type: string;
|
|
56966
|
+
};
|
|
56967
|
+
minItems: number;
|
|
56968
|
+
type: string;
|
|
56969
|
+
};
|
|
56970
|
+
method_issuance_strategy: {
|
|
56971
|
+
enum: string[];
|
|
56972
|
+
type: string;
|
|
56973
|
+
};
|
|
56974
|
+
};
|
|
56975
|
+
required: string[];
|
|
56976
|
+
type: string;
|
|
56977
|
+
};
|
|
56978
|
+
rule: {
|
|
56979
|
+
enum: string[];
|
|
56980
|
+
type: string;
|
|
56981
|
+
};
|
|
56982
|
+
};
|
|
56983
|
+
required: string[];
|
|
56984
|
+
type: string;
|
|
56985
|
+
};
|
|
56986
|
+
reservation_deleted: {
|
|
56987
|
+
properties: {
|
|
56988
|
+
config: {
|
|
56989
|
+
properties: {};
|
|
56990
|
+
type: string;
|
|
56991
|
+
};
|
|
56992
|
+
rule: {
|
|
56993
|
+
enum: string[];
|
|
56994
|
+
type: string;
|
|
56995
|
+
};
|
|
56996
|
+
};
|
|
56997
|
+
required: string[];
|
|
56998
|
+
type: string;
|
|
56999
|
+
};
|
|
57000
|
+
reservation_time_updated: {
|
|
57001
|
+
properties: {
|
|
57002
|
+
config: {
|
|
57003
|
+
properties: {};
|
|
57004
|
+
type: string;
|
|
57005
|
+
};
|
|
57006
|
+
rule: {
|
|
57007
|
+
enum: string[];
|
|
57008
|
+
type: string;
|
|
57009
|
+
};
|
|
57010
|
+
};
|
|
57011
|
+
required: string[];
|
|
57012
|
+
type: string;
|
|
57013
|
+
};
|
|
57014
|
+
};
|
|
57015
|
+
type: string;
|
|
57016
|
+
};
|
|
57017
|
+
};
|
|
57018
|
+
type: string;
|
|
57019
|
+
};
|
|
57020
|
+
};
|
|
57021
|
+
};
|
|
57022
|
+
};
|
|
57023
|
+
responses: {
|
|
57024
|
+
200: {
|
|
57025
|
+
content: {
|
|
57026
|
+
'application/json': {
|
|
57027
|
+
schema: {
|
|
57028
|
+
properties: {
|
|
57029
|
+
ok: {
|
|
57030
|
+
type: string;
|
|
57031
|
+
};
|
|
57032
|
+
};
|
|
57033
|
+
required: string[];
|
|
57034
|
+
type: string;
|
|
57035
|
+
};
|
|
57036
|
+
};
|
|
57037
|
+
};
|
|
57038
|
+
description: string;
|
|
57039
|
+
};
|
|
57040
|
+
400: {
|
|
57041
|
+
description: string;
|
|
57042
|
+
};
|
|
57043
|
+
401: {
|
|
57044
|
+
description: string;
|
|
57045
|
+
};
|
|
57046
|
+
};
|
|
57047
|
+
security: ({
|
|
57048
|
+
console_session_with_workspace: never[];
|
|
57049
|
+
api_key?: never;
|
|
57050
|
+
client_session_with_customer?: never;
|
|
57051
|
+
} | {
|
|
57052
|
+
api_key: never[];
|
|
57053
|
+
console_session_with_workspace?: never;
|
|
57054
|
+
client_session_with_customer?: never;
|
|
57055
|
+
} | {
|
|
57056
|
+
client_session_with_customer: never[];
|
|
57057
|
+
console_session_with_workspace?: never;
|
|
57058
|
+
api_key?: never;
|
|
57059
|
+
})[];
|
|
57060
|
+
summary: string;
|
|
57061
|
+
tags: never[];
|
|
57062
|
+
'x-fern-sdk-group-name': string[];
|
|
57063
|
+
'x-fern-sdk-method-name': string;
|
|
57064
|
+
'x-response-key': null;
|
|
57065
|
+
'x-title': string;
|
|
57066
|
+
'x-undocumented': string;
|
|
57067
|
+
};
|
|
57068
|
+
post: {
|
|
57069
|
+
description: string;
|
|
57070
|
+
operationId: string;
|
|
57071
|
+
requestBody: {
|
|
57072
|
+
content: {
|
|
57073
|
+
'application/json': {
|
|
57074
|
+
schema: {
|
|
57075
|
+
properties: {
|
|
57076
|
+
access_rules: {
|
|
57077
|
+
description: string;
|
|
57078
|
+
properties: {
|
|
57079
|
+
reservation_created: {
|
|
57080
|
+
properties: {
|
|
57081
|
+
config: {
|
|
57082
|
+
properties: {
|
|
57083
|
+
access_methods: {
|
|
57084
|
+
items: {
|
|
57085
|
+
enum: string[];
|
|
57086
|
+
type: string;
|
|
57087
|
+
};
|
|
57088
|
+
minItems: number;
|
|
57089
|
+
type: string;
|
|
57090
|
+
};
|
|
57091
|
+
method_issuance_strategy: {
|
|
57092
|
+
enum: string[];
|
|
57093
|
+
type: string;
|
|
57094
|
+
};
|
|
57095
|
+
};
|
|
57096
|
+
required: string[];
|
|
57097
|
+
type: string;
|
|
57098
|
+
};
|
|
57099
|
+
rule: {
|
|
57100
|
+
enum: string[];
|
|
57101
|
+
type: string;
|
|
57102
|
+
};
|
|
57103
|
+
};
|
|
57104
|
+
required: string[];
|
|
57105
|
+
type: string;
|
|
57106
|
+
};
|
|
57107
|
+
reservation_deleted: {
|
|
57108
|
+
properties: {
|
|
57109
|
+
config: {
|
|
57110
|
+
properties: {};
|
|
57111
|
+
type: string;
|
|
57112
|
+
};
|
|
57113
|
+
rule: {
|
|
57114
|
+
enum: string[];
|
|
57115
|
+
type: string;
|
|
57116
|
+
};
|
|
57117
|
+
};
|
|
57118
|
+
required: string[];
|
|
57119
|
+
type: string;
|
|
57120
|
+
};
|
|
57121
|
+
reservation_time_updated: {
|
|
57122
|
+
properties: {
|
|
57123
|
+
config: {
|
|
57124
|
+
properties: {};
|
|
57125
|
+
type: string;
|
|
57126
|
+
};
|
|
57127
|
+
rule: {
|
|
57128
|
+
enum: string[];
|
|
57129
|
+
type: string;
|
|
57130
|
+
};
|
|
57131
|
+
};
|
|
57132
|
+
required: string[];
|
|
57133
|
+
type: string;
|
|
57134
|
+
};
|
|
57135
|
+
};
|
|
57136
|
+
type: string;
|
|
57137
|
+
};
|
|
57138
|
+
};
|
|
57139
|
+
type: string;
|
|
57140
|
+
};
|
|
57141
|
+
};
|
|
57142
|
+
};
|
|
57143
|
+
};
|
|
57144
|
+
responses: {
|
|
57145
|
+
200: {
|
|
57146
|
+
content: {
|
|
57147
|
+
'application/json': {
|
|
57148
|
+
schema: {
|
|
57149
|
+
properties: {
|
|
57150
|
+
ok: {
|
|
57151
|
+
type: string;
|
|
57152
|
+
};
|
|
57153
|
+
};
|
|
57154
|
+
required: string[];
|
|
57155
|
+
type: string;
|
|
57156
|
+
};
|
|
57157
|
+
};
|
|
57158
|
+
};
|
|
57159
|
+
description: string;
|
|
57160
|
+
};
|
|
57161
|
+
400: {
|
|
57162
|
+
description: string;
|
|
57163
|
+
};
|
|
57164
|
+
401: {
|
|
57165
|
+
description: string;
|
|
57166
|
+
};
|
|
57167
|
+
};
|
|
57168
|
+
security: ({
|
|
57169
|
+
console_session_with_workspace: never[];
|
|
57170
|
+
api_key?: never;
|
|
57171
|
+
client_session_with_customer?: never;
|
|
57172
|
+
} | {
|
|
57173
|
+
api_key: never[];
|
|
57174
|
+
console_session_with_workspace?: never;
|
|
57175
|
+
client_session_with_customer?: never;
|
|
57176
|
+
} | {
|
|
57177
|
+
client_session_with_customer: never[];
|
|
57178
|
+
console_session_with_workspace?: never;
|
|
57179
|
+
api_key?: never;
|
|
57180
|
+
})[];
|
|
57181
|
+
summary: string;
|
|
57182
|
+
tags: never[];
|
|
57183
|
+
'x-fern-sdk-group-name': string[];
|
|
57184
|
+
'x-fern-sdk-method-name': string;
|
|
57185
|
+
'x-response-key': null;
|
|
57186
|
+
'x-title': string;
|
|
57187
|
+
'x-undocumented': string;
|
|
57188
|
+
};
|
|
57189
|
+
};
|
|
56430
57190
|
'/seam/customer/v1/portals/get': {
|
|
56431
57191
|
get: {
|
|
56432
57192
|
description: string;
|
|
@@ -113258,6 +114018,121 @@ interface Routes {
|
|
|
113258
114018
|
}>;
|
|
113259
114019
|
};
|
|
113260
114020
|
};
|
|
114021
|
+
'/seam/customer/v1/automation_runs/list': {
|
|
114022
|
+
route: '/seam/customer/v1/automation_runs/list';
|
|
114023
|
+
method: 'GET' | 'POST';
|
|
114024
|
+
queryParams: {};
|
|
114025
|
+
jsonBody: {};
|
|
114026
|
+
commonParams: {
|
|
114027
|
+
/** ID of the automation for which you want to retrieve all automation runs. */
|
|
114028
|
+
automation_id?: string | undefined;
|
|
114029
|
+
/** ID of the partner resource for which you want to retrieve all automation runs. */
|
|
114030
|
+
partner_resource_id?: string | undefined;
|
|
114031
|
+
/** Filter automation runs by the specific rule that was executed. */
|
|
114032
|
+
rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted') | undefined;
|
|
114033
|
+
/** Filter automation runs by success status. */
|
|
114034
|
+
success?: boolean | undefined;
|
|
114035
|
+
/** Maximum number of records to return per page. */
|
|
114036
|
+
limit?: number;
|
|
114037
|
+
/** Timestamp by which to limit returned automation runs. Returns runs created before this timestamp. */
|
|
114038
|
+
created_before?: Date | undefined;
|
|
114039
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
114040
|
+
page_cursor?: (string | undefined) | null;
|
|
114041
|
+
};
|
|
114042
|
+
formData: {};
|
|
114043
|
+
jsonResponse: {
|
|
114044
|
+
automation_runs: Array<{
|
|
114045
|
+
automation_run_id: string;
|
|
114046
|
+
workspace_id: string;
|
|
114047
|
+
automation_id: string;
|
|
114048
|
+
partner_resource_id: string;
|
|
114049
|
+
automation_result?: {
|
|
114050
|
+
success: boolean;
|
|
114051
|
+
rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';
|
|
114052
|
+
actions: Array<{
|
|
114053
|
+
action_type: 'create' | 'update' | 'delete';
|
|
114054
|
+
resource_type: string;
|
|
114055
|
+
access_grant_id: string;
|
|
114056
|
+
}>;
|
|
114057
|
+
error?: string | undefined;
|
|
114058
|
+
} | undefined;
|
|
114059
|
+
created_at: string;
|
|
114060
|
+
}>;
|
|
114061
|
+
/** Information about the current page of results. */
|
|
114062
|
+
pagination: {
|
|
114063
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
114064
|
+
next_page_cursor: string | null;
|
|
114065
|
+
/** Indicates whether there is another page of results after this one. */
|
|
114066
|
+
has_next_page: boolean;
|
|
114067
|
+
/** URL to get the next page of results. */
|
|
114068
|
+
next_page_url: string | null;
|
|
114069
|
+
};
|
|
114070
|
+
};
|
|
114071
|
+
};
|
|
114072
|
+
'/seam/customer/v1/automations/delete': {
|
|
114073
|
+
route: '/seam/customer/v1/automations/delete';
|
|
114074
|
+
method: 'DELETE';
|
|
114075
|
+
queryParams: {};
|
|
114076
|
+
jsonBody: {};
|
|
114077
|
+
commonParams: {};
|
|
114078
|
+
formData: {};
|
|
114079
|
+
jsonResponse: {};
|
|
114080
|
+
};
|
|
114081
|
+
'/seam/customer/v1/automations/get': {
|
|
114082
|
+
route: '/seam/customer/v1/automations/get';
|
|
114083
|
+
method: 'GET';
|
|
114084
|
+
queryParams: {};
|
|
114085
|
+
jsonBody: {};
|
|
114086
|
+
commonParams: {};
|
|
114087
|
+
formData: {};
|
|
114088
|
+
jsonResponse: {
|
|
114089
|
+
access_rules?: {
|
|
114090
|
+
reservation_created?: {
|
|
114091
|
+
rule: 'reservation_created';
|
|
114092
|
+
config: {
|
|
114093
|
+
access_methods: Array<'card' | 'mobile_key' | 'code'>;
|
|
114094
|
+
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
114095
|
+
};
|
|
114096
|
+
} | undefined;
|
|
114097
|
+
reservation_time_updated?: {
|
|
114098
|
+
rule: 'reservation_time_updated';
|
|
114099
|
+
config: {};
|
|
114100
|
+
} | undefined;
|
|
114101
|
+
reservation_deleted?: {
|
|
114102
|
+
rule: 'reservation_deleted';
|
|
114103
|
+
config: {};
|
|
114104
|
+
} | undefined;
|
|
114105
|
+
} | undefined;
|
|
114106
|
+
};
|
|
114107
|
+
};
|
|
114108
|
+
'/seam/customer/v1/automations/update': {
|
|
114109
|
+
route: '/seam/customer/v1/automations/update';
|
|
114110
|
+
method: 'POST' | 'PATCH';
|
|
114111
|
+
queryParams: {};
|
|
114112
|
+
jsonBody: {
|
|
114113
|
+
/** Access automation rules configuration. */
|
|
114114
|
+
access_rules?: {
|
|
114115
|
+
reservation_created?: {
|
|
114116
|
+
rule: 'reservation_created';
|
|
114117
|
+
config: {
|
|
114118
|
+
access_methods: Array<'card' | 'mobile_key' | 'code'>;
|
|
114119
|
+
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
114120
|
+
};
|
|
114121
|
+
} | undefined;
|
|
114122
|
+
reservation_time_updated?: {
|
|
114123
|
+
rule: 'reservation_time_updated';
|
|
114124
|
+
config: {};
|
|
114125
|
+
} | undefined;
|
|
114126
|
+
reservation_deleted?: {
|
|
114127
|
+
rule: 'reservation_deleted';
|
|
114128
|
+
config: {};
|
|
114129
|
+
} | undefined;
|
|
114130
|
+
} | undefined;
|
|
114131
|
+
};
|
|
114132
|
+
commonParams: {};
|
|
114133
|
+
formData: {};
|
|
114134
|
+
jsonResponse: {};
|
|
114135
|
+
};
|
|
113261
114136
|
'/seam/customer/v1/portals/get': {
|
|
113262
114137
|
route: '/seam/customer/v1/portals/get';
|
|
113263
114138
|
method: 'GET' | 'POST';
|