@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.
@@ -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 added for uniformity, doesn't provide much typing help.
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 fetch
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<void>;
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
  *
@@ -145,15 +145,16 @@ export async function postProxyGraphCollection(xUnitoCredentialId, path, body, {
145
145
  }
146
146
  }
147
147
  /**
148
- * Wrapper of deleteProxyGraph added for uniformity, doesn't provide much typing help.
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 fetch
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);
@@ -578,15 +578,16 @@ async function postProxyGraphCollection(xUnitoCredentialId, path, body, { xUnito
578
578
  }
579
579
  }
580
580
  /**
581
- * Wrapper of deleteProxyGraph added for uniformity, doesn't provide much typing help.
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 fetch
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
@@ -1,2 +1,3 @@
1
+ // Public re-exports
1
2
  export * from './api.js';
2
3
  export * from './addons.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integrations-platform-client",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "The Unito Integrations Platform Client",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",