@unito/integrations-platform-client 1.1.10 → 1.1.12
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/src/addons.d.ts +4 -3
- package/dist/src/addons.js +4 -3
- package/dist/src/index.cjs +4 -3
- package/dist/src/index.js +1 -0
- package/package.json +1 -1
package/dist/src/addons.d.ts
CHANGED
|
@@ -135,17 +135,18 @@ export declare function postProxyGraphCollection(xUnitoCredentialId: string, pat
|
|
|
135
135
|
xUnitoAdditionalLoggingContext?: string;
|
|
136
136
|
}, opts?: Oazapfts.RequestOpts): Promise<Response<IntegrationApi.ItemSummary> | ErrorResponse>;
|
|
137
137
|
/**
|
|
138
|
-
* Wrapper of deleteProxyGraph
|
|
138
|
+
* Wrapper of deleteProxyGraph that returns a typed response.
|
|
139
139
|
*
|
|
140
140
|
* @param xUnitoCredentialId The credential ID to use for the request
|
|
141
|
-
* @param path The path to the item to
|
|
141
|
+
* @param path The path to the item to delete
|
|
142
142
|
* @param headers The headers to include in the request
|
|
143
143
|
* @param opts Additional options
|
|
144
|
+
* @returns A successful response or an ErrorResponse
|
|
144
145
|
*/
|
|
145
146
|
export declare function deleteProxyGraphItem(xUnitoCredentialId: string, path: string, { xUnitoCorrelationId, xUnitoAdditionalLoggingContext, }?: {
|
|
146
147
|
xUnitoCorrelationId?: string;
|
|
147
148
|
xUnitoAdditionalLoggingContext?: string;
|
|
148
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
149
|
+
}, opts?: Oazapfts.RequestOpts): Promise<Response<object> | ErrorResponse>;
|
|
149
150
|
/**
|
|
150
151
|
* Call an integration's graph and returns the fetch response directly to enable streaming of the body as it comes in.
|
|
151
152
|
*
|
package/dist/src/addons.js
CHANGED
|
@@ -145,15 +145,16 @@ export async function postProxyGraphCollection(xUnitoCredentialId, path, body, {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
/**
|
|
148
|
-
* Wrapper of deleteProxyGraph
|
|
148
|
+
* Wrapper of deleteProxyGraph that returns a typed response.
|
|
149
149
|
*
|
|
150
150
|
* @param xUnitoCredentialId The credential ID to use for the request
|
|
151
|
-
* @param path The path to the item to
|
|
151
|
+
* @param path The path to the item to delete
|
|
152
152
|
* @param headers The headers to include in the request
|
|
153
153
|
* @param opts Additional options
|
|
154
|
+
* @returns A successful response or an ErrorResponse
|
|
154
155
|
*/
|
|
155
156
|
export async function deleteProxyGraphItem(xUnitoCredentialId, path, { xUnitoCorrelationId, xUnitoAdditionalLoggingContext, } = {}, opts) {
|
|
156
|
-
await deleteProxyGraph(xUnitoCredentialId, path, {
|
|
157
|
+
return await deleteProxyGraph(xUnitoCredentialId, path, {
|
|
157
158
|
xUnitoCorrelationId,
|
|
158
159
|
xUnitoAdditionalLoggingContext,
|
|
159
160
|
}, opts);
|
package/dist/src/index.cjs
CHANGED
|
@@ -578,15 +578,16 @@ async function postProxyGraphCollection(xUnitoCredentialId, path, body, { xUnito
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
/**
|
|
581
|
-
* Wrapper of deleteProxyGraph
|
|
581
|
+
* Wrapper of deleteProxyGraph that returns a typed response.
|
|
582
582
|
*
|
|
583
583
|
* @param xUnitoCredentialId The credential ID to use for the request
|
|
584
|
-
* @param path The path to the item to
|
|
584
|
+
* @param path The path to the item to delete
|
|
585
585
|
* @param headers The headers to include in the request
|
|
586
586
|
* @param opts Additional options
|
|
587
|
+
* @returns A successful response or an ErrorResponse
|
|
587
588
|
*/
|
|
588
589
|
async function deleteProxyGraphItem(xUnitoCredentialId, path, { xUnitoCorrelationId, xUnitoAdditionalLoggingContext, } = {}, opts) {
|
|
589
|
-
await deleteProxyGraph(xUnitoCredentialId, path, {
|
|
590
|
+
return await deleteProxyGraph(xUnitoCredentialId, path, {
|
|
590
591
|
xUnitoCorrelationId,
|
|
591
592
|
xUnitoAdditionalLoggingContext,
|
|
592
593
|
}, opts);
|
package/dist/src/index.js
CHANGED