@syncmatters/script-api 1.0.0 → 1.0.2

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/README.md CHANGED
@@ -26,11 +26,6 @@ import SDKTest from "@syncmatters/script-api/sdk-test";
26
26
  Add `"checkJs": true` to your `jsconfig.json` to activate the JSDoc type annotations used in
27
27
  script `.mjs` files.
28
28
 
29
- ## Legacy package name
30
-
31
- `@ihq/script-api` is the legacy name of this package (IntegrateHQ is now SyncMatters).
32
- Existing scripts importing the legacy name continue to work on-platform.
33
-
34
29
  ## Support
35
30
 
36
31
  - <https://syncmatters.com>
@@ -198,8 +198,9 @@ export interface QueryOptions {
198
198
  matchFilter?: QueryMatchFilter;
199
199
  /** collect records changed since a particular checkpoint */
200
200
  checkpointFilter?: QueryCheckpointFilter;
201
- /** row filter & property filter are system-specific and may support non-standard filters */
201
+ /** system specific row filters; allowed values are defined in meta.queryFilter.rowFilter */
202
202
  rowFilter?: any;
203
+ /** @deprecated (use standard fields filter) system specific property filters; allowed values are defined in meta.queryFilter.propertyFilter */
203
204
  propertyFilter?: any;
204
205
  }
205
206
  export type RowMatchRuleType = "id" /** match by source row id (key) */ | "name[ci]" /** match by destination row name (case senstive) */ | "email[ci]" /** match by destination row email (case insenstive) */ | "domain[ci]" /** match by destination domain (case insenstive) */ | "first_and_last_name[ci]" /** match by destination first and last name (case insenstive) */ | "field_value_equals[ci]"; /** match by value in user selected field (case insenstive) */
@@ -334,7 +335,9 @@ export interface ObjectMeta {
334
335
  isCustom?: boolean;
335
336
  queryFields?: ObjectField[];
336
337
  queryFilter?: {
338
+ /** system specific row filters; 'extends' marks where each may augment standard filters */
337
339
  rowFilter?: ObjectRowFilter[];
340
+ /** @deprecated superseded by the standard fields filter (queryOptions.fields) */
338
341
  propertyFilter?: ObjectField[];
339
342
  };
340
343
  queryFile?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncmatters/script-api",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "TypeScript type definitions for the SyncMatters script API (types only - scripts execute on the SyncMatters platform)",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -16,7 +16,7 @@
16
16
  "license": "MIT",
17
17
  "author": "SyncMatters",
18
18
  "homepage": "https://syncmatters.com",
19
- "typesContentHash": "143c303baa596be30ce78a3af1e88dbcd485a63237e15a553bd0fe74ce495dc7",
19
+ "typesContentHash": "23e348562b4cc2c16071bcde6df9f30020b804b832fcd0fba00dc3071546a7b4",
20
20
  "dependencies": {
21
21
  "@types/node": "*"
22
22
  }