@base44-preview/sdk 0.8.63-pr.383.7120936 → 0.8.63-pr.384.2582e70
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.
|
@@ -49,6 +49,10 @@ export interface AppUserConnectorConnectionResponse {
|
|
|
49
49
|
* automatically retry non-idempotent requests based on them.
|
|
50
50
|
*/
|
|
51
51
|
export type ConnectorApiResponsePhase = "not_sent" | "responded" | "timed_out" | "sent_unconfirmed";
|
|
52
|
+
/**
|
|
53
|
+
* A query parameter value: a string, number, boolean, or an array of strings and numbers.
|
|
54
|
+
*/
|
|
55
|
+
export type ConnectorApiQueryValue = string | number | boolean | Array<string | number>;
|
|
52
56
|
/**
|
|
53
57
|
* A request to forward to a metered connector's API through the Base44 proxy.
|
|
54
58
|
*/
|
|
@@ -68,8 +72,12 @@ export interface ConnectorApiRequest {
|
|
|
68
72
|
* separately in `query`. Either way, they're forwarded and priced the same.
|
|
69
73
|
*/
|
|
70
74
|
path: string;
|
|
71
|
-
/**
|
|
72
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Query parameters. Merged into the request URL with any already in `path`.
|
|
77
|
+
*
|
|
78
|
+
* Each value can be a string, number, boolean, or an array of strings and numbers.
|
|
79
|
+
*/
|
|
80
|
+
query?: Record<string, ConnectorApiQueryValue>;
|
|
73
81
|
/** Extra request headers. Only headers the connector explicitly allows are forwarded, and the rest are dropped. */
|
|
74
82
|
headers?: Record<string, string>;
|
|
75
83
|
/** JSON request body. Ignored for `GET` and `HEAD`. */
|