@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.
- package/dist/connect.cjs +913 -104
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1130 -90
- package/lib/seam/connect/openapi.d.ts +1006 -81
- package/lib/seam/connect/openapi.js +915 -106
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +120 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +924 -96
- package/src/lib/seam/connect/route-types.ts +153 -5
|
@@ -9973,7 +9973,7 @@ export interface Routes {
|
|
|
9973
9973
|
};
|
|
9974
9974
|
'/access_grants/delete': {
|
|
9975
9975
|
route: '/access_grants/delete';
|
|
9976
|
-
method: '
|
|
9976
|
+
method: 'DELETE' | 'POST';
|
|
9977
9977
|
queryParams: {};
|
|
9978
9978
|
jsonBody: {};
|
|
9979
9979
|
commonParams: {
|
|
@@ -10109,7 +10109,7 @@ export interface Routes {
|
|
|
10109
10109
|
};
|
|
10110
10110
|
'/access_methods/delete': {
|
|
10111
10111
|
route: '/access_methods/delete';
|
|
10112
|
-
method: '
|
|
10112
|
+
method: 'DELETE' | 'POST';
|
|
10113
10113
|
queryParams: {};
|
|
10114
10114
|
jsonBody: {};
|
|
10115
10115
|
commonParams: {
|
|
@@ -44871,6 +44871,121 @@ export interface Routes {
|
|
|
44871
44871
|
}>;
|
|
44872
44872
|
};
|
|
44873
44873
|
};
|
|
44874
|
+
'/seam/customer/v1/automation_runs/list': {
|
|
44875
|
+
route: '/seam/customer/v1/automation_runs/list';
|
|
44876
|
+
method: 'GET' | 'POST';
|
|
44877
|
+
queryParams: {};
|
|
44878
|
+
jsonBody: {};
|
|
44879
|
+
commonParams: {
|
|
44880
|
+
/** ID of the automation for which you want to retrieve all automation runs. */
|
|
44881
|
+
automation_id?: string | undefined;
|
|
44882
|
+
/** ID of the partner resource for which you want to retrieve all automation runs. */
|
|
44883
|
+
partner_resource_id?: string | undefined;
|
|
44884
|
+
/** Filter automation runs by the specific rule that was executed. */
|
|
44885
|
+
rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted') | undefined;
|
|
44886
|
+
/** Filter automation runs by success status. */
|
|
44887
|
+
success?: boolean | undefined;
|
|
44888
|
+
/** Maximum number of records to return per page. */
|
|
44889
|
+
limit?: number;
|
|
44890
|
+
/** Timestamp by which to limit returned automation runs. Returns runs created before this timestamp. */
|
|
44891
|
+
created_before?: Date | undefined;
|
|
44892
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
44893
|
+
page_cursor?: (string | undefined) | null;
|
|
44894
|
+
};
|
|
44895
|
+
formData: {};
|
|
44896
|
+
jsonResponse: {
|
|
44897
|
+
automation_runs: Array<{
|
|
44898
|
+
automation_run_id: string;
|
|
44899
|
+
workspace_id: string;
|
|
44900
|
+
automation_id: string;
|
|
44901
|
+
partner_resource_id: string;
|
|
44902
|
+
automation_result?: {
|
|
44903
|
+
success: boolean;
|
|
44904
|
+
rule: 'reservation_created' | 'reservation_time_updated' | 'reservation_deleted';
|
|
44905
|
+
actions: Array<{
|
|
44906
|
+
action_type: 'create' | 'update' | 'delete';
|
|
44907
|
+
resource_type: string;
|
|
44908
|
+
access_grant_id: string;
|
|
44909
|
+
}>;
|
|
44910
|
+
error?: string | undefined;
|
|
44911
|
+
} | undefined;
|
|
44912
|
+
created_at: string;
|
|
44913
|
+
}>;
|
|
44914
|
+
/** Information about the current page of results. */
|
|
44915
|
+
pagination: {
|
|
44916
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
44917
|
+
next_page_cursor: string | null;
|
|
44918
|
+
/** Indicates whether there is another page of results after this one. */
|
|
44919
|
+
has_next_page: boolean;
|
|
44920
|
+
/** URL to get the next page of results. */
|
|
44921
|
+
next_page_url: string | null;
|
|
44922
|
+
};
|
|
44923
|
+
};
|
|
44924
|
+
};
|
|
44925
|
+
'/seam/customer/v1/automations/delete': {
|
|
44926
|
+
route: '/seam/customer/v1/automations/delete';
|
|
44927
|
+
method: 'DELETE' | 'POST';
|
|
44928
|
+
queryParams: {};
|
|
44929
|
+
jsonBody: {};
|
|
44930
|
+
commonParams: {};
|
|
44931
|
+
formData: {};
|
|
44932
|
+
jsonResponse: {};
|
|
44933
|
+
};
|
|
44934
|
+
'/seam/customer/v1/automations/get': {
|
|
44935
|
+
route: '/seam/customer/v1/automations/get';
|
|
44936
|
+
method: 'GET' | 'POST';
|
|
44937
|
+
queryParams: {};
|
|
44938
|
+
jsonBody: {};
|
|
44939
|
+
commonParams: {};
|
|
44940
|
+
formData: {};
|
|
44941
|
+
jsonResponse: {
|
|
44942
|
+
access_rules?: {
|
|
44943
|
+
reservation_created?: {
|
|
44944
|
+
rule: 'reservation_created';
|
|
44945
|
+
config: {
|
|
44946
|
+
access_methods: Array<'card' | 'mobile_key' | 'code'>;
|
|
44947
|
+
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
44948
|
+
};
|
|
44949
|
+
} | undefined;
|
|
44950
|
+
reservation_time_updated?: {
|
|
44951
|
+
rule: 'reservation_time_updated';
|
|
44952
|
+
config: {};
|
|
44953
|
+
} | undefined;
|
|
44954
|
+
reservation_deleted?: {
|
|
44955
|
+
rule: 'reservation_deleted';
|
|
44956
|
+
config: {};
|
|
44957
|
+
} | undefined;
|
|
44958
|
+
} | undefined;
|
|
44959
|
+
};
|
|
44960
|
+
};
|
|
44961
|
+
'/seam/customer/v1/automations/update': {
|
|
44962
|
+
route: '/seam/customer/v1/automations/update';
|
|
44963
|
+
method: 'PATCH' | 'POST';
|
|
44964
|
+
queryParams: {};
|
|
44965
|
+
jsonBody: {
|
|
44966
|
+
/** Access automation rules configuration. */
|
|
44967
|
+
access_rules?: {
|
|
44968
|
+
reservation_created?: {
|
|
44969
|
+
rule: 'reservation_created';
|
|
44970
|
+
config: {
|
|
44971
|
+
access_methods: Array<'card' | 'mobile_key' | 'code'>;
|
|
44972
|
+
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
44973
|
+
};
|
|
44974
|
+
} | undefined;
|
|
44975
|
+
reservation_time_updated?: {
|
|
44976
|
+
rule: 'reservation_time_updated';
|
|
44977
|
+
config: {};
|
|
44978
|
+
} | undefined;
|
|
44979
|
+
reservation_deleted?: {
|
|
44980
|
+
rule: 'reservation_deleted';
|
|
44981
|
+
config: {};
|
|
44982
|
+
} | undefined;
|
|
44983
|
+
} | undefined;
|
|
44984
|
+
};
|
|
44985
|
+
commonParams: {};
|
|
44986
|
+
formData: {};
|
|
44987
|
+
jsonResponse: {};
|
|
44988
|
+
};
|
|
44874
44989
|
'/seam/customer/v1/portals/get': {
|
|
44875
44990
|
route: '/seam/customer/v1/portals/get';
|
|
44876
44991
|
method: 'GET' | 'POST';
|
|
@@ -44902,7 +45017,7 @@ export interface Routes {
|
|
|
44902
45017
|
};
|
|
44903
45018
|
'/seam/customer/v1/settings/update': {
|
|
44904
45019
|
route: '/seam/customer/v1/settings/update';
|
|
44905
|
-
method: '
|
|
45020
|
+
method: 'PATCH' | 'POST';
|
|
44906
45021
|
queryParams: {};
|
|
44907
45022
|
jsonBody: {
|
|
44908
45023
|
/** Business vertical to set on the workspace. */
|
|
@@ -60788,7 +60903,7 @@ export interface Routes {
|
|
|
60788
60903
|
};
|
|
60789
60904
|
'/unstable_access_grants/delete': {
|
|
60790
60905
|
route: '/unstable_access_grants/delete';
|
|
60791
|
-
method: '
|
|
60906
|
+
method: 'DELETE' | 'POST';
|
|
60792
60907
|
queryParams: {};
|
|
60793
60908
|
jsonBody: {};
|
|
60794
60909
|
commonParams: {
|
|
@@ -60908,7 +61023,7 @@ export interface Routes {
|
|
|
60908
61023
|
};
|
|
60909
61024
|
'/unstable_access_methods/delete': {
|
|
60910
61025
|
route: '/unstable_access_methods/delete';
|
|
60911
|
-
method: '
|
|
61026
|
+
method: 'DELETE' | 'POST';
|
|
60912
61027
|
queryParams: {};
|
|
60913
61028
|
jsonBody: {};
|
|
60914
61029
|
commonParams: {
|