@stackone/core 1.50.0 → 1.51.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.
@@ -45,6 +45,27 @@ export type Operation = {
45
45
  pageSize: number;
46
46
  };
47
47
  compositeIdentifiers: CompositeIdentifierConnectorConfig;
48
+ scheduledJobs?: ScheduledJobConfig[];
49
+ };
50
+ type ScheduledJobConfig = {
51
+ enabled: boolean;
52
+ type: ScheduledJobType;
53
+ schedule: string;
54
+ description: string;
55
+ requestParams?: ScheduledJobRequestParams;
56
+ syncFilter?: SyncFilterConfig;
57
+ };
58
+ type ScheduledJobRequestParams = {
59
+ fields?: string[];
60
+ expand?: string[];
61
+ filter?: Record<string, string>;
62
+ };
63
+ type ScheduledJobType = 'data_sync';
64
+ type SyncFilterName = 'updated_after' | 'created_after';
65
+ type SyncFilterConfig = {
66
+ name: SyncFilterName;
67
+ initialLoopbackPeriod: string;
68
+ incrementalLoopbackPeriod: string;
48
69
  };
49
70
  export type OperationResponse = {
50
71
  statusCode: number;
@@ -89,3 +110,4 @@ export type Authentication = {
89
110
  [envKey: string]: AuthenticationConfig;
90
111
  };
91
112
  };
113
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "1.50.0",
3
+ "version": "1.51.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.mjs",