rest-client-sdk 7.6.0 → 7.7.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/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +10 -3
- package/dist/index.mjs.map +1 -1
- package/dist/types/client/AbstractClient.d.ts +3 -2
- package/package.json +1 -1
|
@@ -67,10 +67,11 @@ declare class AbstractClient<D extends MetadataDefinition> {
|
|
|
67
67
|
/**
|
|
68
68
|
* delete an entity
|
|
69
69
|
*
|
|
70
|
-
* @param {Record<string, unknown>} the entity to delete
|
|
70
|
+
* @param {Record<string, unknown>} entity the entity to delete
|
|
71
71
|
* @param {Record<string, unknown>} requestParams parameters that will be send as second parameter to the `fetch` call
|
|
72
|
+
* @param {Record<string, unknown>} queryParam query parameters that will be added to the request
|
|
72
73
|
*/
|
|
73
|
-
delete(entity: D['entity'], requestParams?: {}): Promise<Response>;
|
|
74
|
+
delete(entity: D['entity'], requestParams?: {}, queryParam?: Record<string, unknown>): Promise<Response>;
|
|
74
75
|
deserializeResponse(requestPromise: Promise<Response>, listOrItem: 'list'): Promise<D['list']>;
|
|
75
76
|
deserializeResponse(requestPromise: Promise<Response>, listOrItem: 'item'): Promise<D['entity']>;
|
|
76
77
|
makeUri(input: string | URI): URI;
|