repzo 1.0.31 → 1.0.32

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/changelog.md CHANGED
@@ -18,6 +18,7 @@
18
18
  - Update JoinActionsWeHook.JoinData @maramalshen
19
19
  - Patch Action @maramalshen
20
20
  - UpdateIntegrationMeta @maramalshen
21
+ - update type of patchAction.writeQuery @maramalshen
21
22
 
22
23
  ### Changed
23
24
 
@@ -4918,17 +4918,6 @@ export declare namespace Service {
4918
4918
  */
4919
4919
  command: WriteOperator;
4920
4920
  }
4921
- interface FormattedWriteQuery {
4922
- /**
4923
- * @type {string} update $command key
4924
- */
4925
- [key: string]: {
4926
- /**
4927
- * @type {string } update field key and update value
4928
- */
4929
- [key: string]: any;
4930
- };
4931
- }
4932
4921
  interface CreateBody {
4933
4922
  /**
4934
4923
  * @type {string} name of model (an enum value) as specified in patch-filter schema
@@ -4954,7 +4943,7 @@ export declare namespace Service {
4954
4943
  * @type {WriteQuery} an object sent in body to include write-filter key, value and an update command accordingly
4955
4944
  * @example {<{ key: "field_test", value: "ex_1", "command": "set" }>}
4956
4945
  */
4957
- writeQuery: WriteQuery | FormattedWriteQuery;
4946
+ writeQuery: WriteQuery | WriteQuery[];
4958
4947
  }
4959
4948
  export namespace Create {
4960
4949
  type Params = DefaultPaginationQueryParams & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -5287,7 +5287,7 @@ export namespace Service {
5287
5287
  * @type {WriteQuery} an object sent in body to include write-filter key, value and an update command accordingly
5288
5288
  * @example {<{ key: "field_test", value: "ex_1", "command": "set" }>}
5289
5289
  */
5290
- writeQuery: WriteQuery | FormattedWriteQuery;
5290
+ writeQuery: WriteQuery | WriteQuery[]; // | FormattedWriteQuery;
5291
5291
  }
5292
5292
 
5293
5293
  export namespace Create {