rest-client-sdk 7.2.3 → 7.3.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.
@@ -55,6 +55,15 @@ declare class AbstractClient<D extends MetadataDefinition> {
55
55
  * @param {Record<string, unknown>} requestParams parameters that will be send as second parameter to the `fetch` call
56
56
  */
57
57
  update(entity: D['entity'], queryParam?: Record<string, unknown>, requestParams?: Record<string, unknown>): Promise<D['entity']>;
58
+ /**
59
+ * partially update an entity using the `PATCH` HTTP verb
60
+ *
61
+ * @param {Record<string, unknown>} entity the entity to update
62
+ * @param {Record<string, unknown>} queryParam query parameters that will be added to the request
63
+ * @param {Record<string, unknown>} requestParams parameters that will be send as second parameter to the `fetch` call
64
+ */
65
+ patch(entity: D['entity'], queryParam?: Record<string, unknown>, requestParams?: Record<string, unknown>): Promise<D['entity']>;
66
+ private _update;
58
67
  /**
59
68
  * delete an entity
60
69
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rest-client-sdk",
3
- "version": "7.2.3",
3
+ "version": "7.3.0",
4
4
  "description": "Rest Client SDK for API",
5
5
  "type": "module",
6
6
  "exports": {