@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
|
@@ -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';
|
|
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';
|
|
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: 'POST' | 'PATCH';
|
|
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';
|