@devrev/airsync-sdk 2.0.0-beta.4 → 2.0.0-beta.6

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.
Files changed (112) hide show
  1. package/MIGRATION.md +1028 -0
  2. package/dist/attachments-streaming/attachments-streaming-pool.d.ts +6 -0
  3. package/dist/attachments-streaming/attachments-streaming-pool.d.ts.map +1 -1
  4. package/dist/attachments-streaming/attachments-streaming-pool.interfaces.d.ts +2 -2
  5. package/dist/attachments-streaming/attachments-streaming-pool.interfaces.d.ts.map +1 -1
  6. package/dist/attachments-streaming/attachments-streaming-pool.js +47 -21
  7. package/dist/common/constants.d.ts +3 -5
  8. package/dist/common/constants.d.ts.map +1 -1
  9. package/dist/common/constants.js +4 -6
  10. package/dist/common/helpers.d.ts +3 -21
  11. package/dist/common/helpers.d.ts.map +1 -1
  12. package/dist/common/helpers.js +6 -15
  13. package/dist/http/client.d.ts.map +1 -1
  14. package/dist/http/client.js +4 -8
  15. package/dist/index.d.ts +11 -11
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +11 -18
  18. package/dist/logger/logger.d.ts +8 -63
  19. package/dist/logger/logger.d.ts.map +1 -1
  20. package/dist/logger/logger.interfaces.d.ts +0 -1
  21. package/dist/logger/logger.interfaces.d.ts.map +1 -1
  22. package/dist/logger/logger.js +14 -93
  23. package/dist/mappers/mappers.d.ts +2 -40
  24. package/dist/mappers/mappers.d.ts.map +1 -1
  25. package/dist/mappers/mappers.interfaces.d.ts +35 -154
  26. package/dist/mappers/mappers.interfaces.d.ts.map +1 -1
  27. package/dist/mappers/mappers.interfaces.js +1 -10
  28. package/dist/mappers/mappers.js +2 -40
  29. package/dist/multithreading/adapters/base-adapter.d.ts +19 -36
  30. package/dist/multithreading/adapters/base-adapter.d.ts.map +1 -1
  31. package/dist/multithreading/adapters/base-adapter.js +73 -71
  32. package/dist/multithreading/adapters/extraction-adapter.d.ts +12 -24
  33. package/dist/multithreading/adapters/extraction-adapter.d.ts.map +1 -1
  34. package/dist/multithreading/adapters/extraction-adapter.js +199 -200
  35. package/dist/multithreading/adapters/loading-adapter.d.ts +1 -6
  36. package/dist/multithreading/adapters/loading-adapter.d.ts.map +1 -1
  37. package/dist/multithreading/adapters/loading-adapter.helpers.d.ts +2 -12
  38. package/dist/multithreading/adapters/loading-adapter.helpers.d.ts.map +1 -1
  39. package/dist/multithreading/adapters/loading-adapter.helpers.js +2 -12
  40. package/dist/multithreading/adapters/loading-adapter.js +292 -314
  41. package/dist/multithreading/emit.d.ts +3 -2
  42. package/dist/multithreading/emit.d.ts.map +1 -1
  43. package/dist/multithreading/emit.js +3 -5
  44. package/dist/multithreading/process-task.d.ts +2 -12
  45. package/dist/multithreading/process-task.d.ts.map +1 -1
  46. package/dist/multithreading/process-task.js +45 -59
  47. package/dist/multithreading/spawn/spawn.d.ts +3 -9
  48. package/dist/multithreading/spawn/spawn.d.ts.map +1 -1
  49. package/dist/multithreading/spawn/spawn.helpers.d.ts +6 -25
  50. package/dist/multithreading/spawn/spawn.helpers.d.ts.map +1 -1
  51. package/dist/multithreading/spawn/spawn.helpers.js +7 -49
  52. package/dist/multithreading/spawn/spawn.js +18 -33
  53. package/dist/multithreading/worker.js +2 -4
  54. package/dist/repo/repo.d.ts +10 -0
  55. package/dist/repo/repo.d.ts.map +1 -1
  56. package/dist/repo/repo.helpers.d.ts +6 -0
  57. package/dist/repo/repo.helpers.d.ts.map +1 -0
  58. package/dist/repo/repo.helpers.js +16 -0
  59. package/dist/repo/repo.interfaces.d.ts +4 -16
  60. package/dist/repo/repo.interfaces.d.ts.map +1 -1
  61. package/dist/repo/repo.js +23 -8
  62. package/dist/state/base-state.d.ts +14 -36
  63. package/dist/state/base-state.d.ts.map +1 -1
  64. package/dist/state/base-state.js +16 -38
  65. package/dist/state/extraction-state.d.ts +4 -19
  66. package/dist/state/extraction-state.d.ts.map +1 -1
  67. package/dist/state/extraction-state.js +6 -23
  68. package/dist/state/install-initial-domain-mapping.d.ts +1 -1
  69. package/dist/state/install-initial-domain-mapping.d.ts.map +1 -1
  70. package/dist/state/install-initial-domain-mapping.js +1 -3
  71. package/dist/state/loading-state.d.ts +1 -11
  72. package/dist/state/loading-state.d.ts.map +1 -1
  73. package/dist/state/loading-state.js +2 -12
  74. package/dist/state/state.d.ts +2 -2
  75. package/dist/state/state.d.ts.map +1 -1
  76. package/dist/state/state.interfaces.d.ts +10 -24
  77. package/dist/state/state.interfaces.d.ts.map +1 -1
  78. package/dist/state/state.interfaces.js +9 -11
  79. package/dist/state/state.js +3 -3
  80. package/dist/state/time-value-resolver.d.ts +7 -36
  81. package/dist/state/time-value-resolver.d.ts.map +1 -1
  82. package/dist/state/time-value-resolver.js +7 -40
  83. package/dist/testing/mock-event.d.ts +2 -10
  84. package/dist/testing/mock-event.d.ts.map +1 -1
  85. package/dist/testing/mock-event.js +3 -11
  86. package/dist/testing/mock-server.d.ts +4 -27
  87. package/dist/testing/mock-server.d.ts.map +1 -1
  88. package/dist/testing/mock-server.interfaces.d.ts +10 -35
  89. package/dist/testing/mock-server.interfaces.d.ts.map +1 -1
  90. package/dist/testing/mock-server.js +19 -36
  91. package/dist/types/common.d.ts +1 -12
  92. package/dist/types/common.d.ts.map +1 -1
  93. package/dist/types/common.js +1 -6
  94. package/dist/types/external-domain-metadata.d.ts +30 -171
  95. package/dist/types/external-domain-metadata.d.ts.map +1 -1
  96. package/dist/types/extraction.d.ts +35 -120
  97. package/dist/types/extraction.d.ts.map +1 -1
  98. package/dist/types/extraction.js +5 -31
  99. package/dist/types/loading.d.ts.map +1 -1
  100. package/dist/types/workers.d.ts +18 -116
  101. package/dist/types/workers.d.ts.map +1 -1
  102. package/dist/types/workers.js +0 -6
  103. package/dist/uploader/uploader.d.ts +6 -58
  104. package/dist/uploader/uploader.d.ts.map +1 -1
  105. package/dist/uploader/uploader.helpers.d.ts +4 -27
  106. package/dist/uploader/uploader.helpers.d.ts.map +1 -1
  107. package/dist/uploader/uploader.helpers.js +64 -30
  108. package/dist/uploader/uploader.interfaces.d.ts +15 -25
  109. package/dist/uploader/uploader.interfaces.d.ts.map +1 -1
  110. package/dist/uploader/uploader.interfaces.js +8 -0
  111. package/dist/uploader/uploader.js +18 -84
  112. package/package.json +6 -4
@@ -1,188 +1,103 @@
1
- /**
2
- * Schema version for the external domain metadata format.
3
- */
4
1
  export type SchemaVersion = 'v0.2.0';
5
- /** Key identifying a record type in the record_types map, refers_to maps, or type_keys arrays. */
6
2
  export type RecordTypeKey = string;
7
- /** Key identifying a field within a record type or struct type fields map. */
8
3
  export type FieldKey = string;
9
- /** Key identifying an enum value in EnumValue.key or stage diagram stages map keys. */
10
4
  export type EnumValueKey = string;
11
- /** Key identifying a struct type in the struct_types map. */
12
5
  export type StructTypeKey = string;
13
- /** Key identifying a record type category in the record_type_categories map. */
14
6
  export type RecordTypeCategoryKey = string;
15
- /** Key identifying a state in the stage diagram states map. */
16
7
  export type StateKey = string;
17
- /** Key identifying a stage in the stage diagram stages map. */
18
8
  export type StageKey = string;
19
- /**
20
- * Field type discriminator.
21
- */
22
9
  export type FieldType = 'bool' | 'int' | 'float' | 'text' | 'rich_text' | 'reference' | 'typed_reference' | 'enum' | 'date' | 'timestamp' | 'struct' | 'permission' | 'record_type_privilege' | 'field_privilege' | 'conditional_privilege' | 'participation';
23
- /**
24
- * Reference type indicating parent-child relationship.
25
- */
26
10
  export type ReferenceType = 'child' | 'parent';
27
- /**
28
- * Comparator for field conditions.
29
- */
30
11
  export type FieldConditionComparator = 'eq' | 'ne';
31
- /**
32
- * Effect applied when a field condition is met.
33
- */
34
12
  export type FieldConditionEffect = 'require' | 'show';
35
- /**
36
- * Scope of a record type.
37
- */
38
13
  export type RecordTypeScope = 'metadata_is_system_scoped' | 'data_is_system_scoped';
39
- /**
40
- * Collection constraints for fields that are collections of values.
41
- */
42
14
  export interface CollectionData {
43
15
  min_length?: number;
44
16
  max_length?: number;
45
17
  }
46
- /**
47
- * Integer field constraints.
48
- */
49
18
  export interface IntData {
50
19
  min?: number;
51
20
  max?: number;
52
21
  }
53
- /**
54
- * Float field constraints.
55
- */
56
22
  export interface FloatData {
57
23
  min?: number;
58
24
  max?: number;
59
25
  }
60
- /**
61
- * Text field constraints.
62
- */
63
26
  export interface TextData {
64
27
  min_length?: number;
65
28
  max_length?: number;
66
29
  }
67
- /**
68
- * Enum value definition.
69
- */
70
30
  export interface EnumValue {
71
- /** The enum value that actually occurs in the json data */
31
+ /** The enum value as it actually occurs in the json data. */
72
32
  key: EnumValueKey;
73
- /** The human readable name of the enum value */
74
33
  name?: string;
75
34
  description?: string;
76
- /** Deprecated enum values may still occur in the data, but should not be used in new data */
35
+ /** Deprecated values may still occur in the data, but should not be used in new data. */
77
36
  is_deprecated?: boolean;
78
37
  }
79
- /**
80
- * Enum field data containing possible values.
81
- */
82
38
  export interface EnumData {
83
39
  values: EnumValue[];
84
40
  }
85
- /**
86
- * Details about how a reference targets another record type.
87
- */
88
41
  export interface ReferenceDetail {
89
42
  /** The field in the target record type by which it is referenced. Assumed to be the primary key if not set. */
90
43
  by_field?: FieldKey;
91
44
  }
92
- /**
93
- * Reference field data specifying target record types.
94
- */
95
45
  export interface ReferenceData {
96
- /** The record types that this reference can refer to */
97
46
  refers_to: Record<RecordTypeKey, ReferenceDetail>;
98
- /** The parent reference refers to a record that has special ownership over the child */
47
+ /** A 'parent' reference refers to a record that has special ownership over the child. */
99
48
  reference_type?: ReferenceType;
100
49
  }
101
- /**
102
- * Typed reference field data specifying target record types.
103
- */
104
50
  export interface TypedReferenceData {
105
- /** The record types that this reference can refer to */
106
51
  refers_to: Record<RecordTypeKey, ReferenceDetail>;
107
- /** The parent reference refers to a record that has special ownership over the child */
52
+ /** A 'parent' reference refers to a record that has special ownership over the child. */
108
53
  reference_type?: ReferenceType;
109
54
  }
110
- /**
111
- * Struct field data referencing a struct type.
112
- */
113
55
  export interface StructData {
114
56
  key?: StructTypeKey;
115
57
  }
116
- /**
117
- * Participation field data specifying target record types.
118
- */
119
58
  export interface ParticipationData {
120
- /** The record types that this participation reference can refer to */
121
59
  refers_to: Record<RecordTypeKey, ReferenceDetail>;
122
60
  }
123
- /**
124
- * Permission data associating a reference with a role.
125
- */
126
61
  export interface PermissionData {
127
62
  member_id?: ReferenceData;
128
63
  role?: EnumData;
129
64
  }
130
- /**
131
- * Conditional privilege data for authorization.
132
- */
133
65
  export interface ConditionalPrivilegeData {
134
- /** The possible record types or record type categories that can be targeted in conditional privilege. */
66
+ /** Record types or record type categories that can be targeted. */
135
67
  type_keys: RecordTypeKey[];
136
68
  }
137
- /**
138
- * Field privilege data for authorization.
139
- */
140
69
  export interface FieldPrivilegeData {
141
- /** The possible record types or record type categories that can be targeted in field privilege. */
70
+ /** Record types or record type categories that can be targeted. */
142
71
  type_keys: RecordTypeKey[];
143
72
  }
144
- /**
145
- * Record type privilege data for authorization.
146
- */
147
73
  export interface RecordTypePrivilegeData {
148
- /** The possible record types or record type categories that can be targeted in record type privilege. */
74
+ /** Record types or record type categories that can be targeted. */
149
75
  type_keys: RecordTypeKey[];
150
76
  }
151
- /**
152
- * Target type key data for authorization policy.
153
- */
154
77
  export interface TargetTypeKeyData {
155
- /** The possible record types or record type categories that can be targeted in authorization policy. */
78
+ /** Record types or record type categories that can be targeted. */
156
79
  type_keys: RecordTypeKey[];
157
80
  }
158
- /**
159
- * Field reference data (currently empty, reserved for future use).
160
- */
81
+ /** Currently empty, reserved for future use. */
161
82
  export interface FieldReferenceData {
162
83
  [key: string]: never;
163
84
  }
164
- /**
165
- * Field definition with type discriminator and type-specific data.
166
- */
85
+ /** Field definition; `type` selects which type-specific data property applies. */
167
86
  export interface Field {
168
- /** The type of the field */
169
87
  type: FieldType;
170
- /** The human readable name of the field */
171
88
  name?: string;
172
89
  description?: string;
173
- /** Required fields are required in the domain model of the external system. */
90
+ /** Required in the domain model of the external system. */
174
91
  is_required?: boolean;
175
- /** Read only fields can't be set (when creating or updating a record), but are filled in by some process in the system. */
92
+ /** Can't be set on create/update; filled in by some process in the system. */
176
93
  is_read_only?: boolean | null;
177
- /** Fields that are write only should only be written to. */
178
94
  is_write_only?: boolean | null;
179
- /** Indexed fields can be used for searching, sorting or filtering. */
95
+ /** Can be used for searching, sorting or filtering. */
180
96
  is_indexed?: boolean | null;
181
- /** Indicates that the field can be used to uniquely lookup a record. */
97
+ /** Can be used to uniquely look up a record. */
182
98
  is_identifier?: boolean | null;
183
- /** Default value for the field */
184
99
  default_value?: boolean | number | string;
185
- /** If collection is set, the field is a 'collection' of the given type. */
100
+ /** If set, the field is a collection of the given type. */
186
101
  collection?: CollectionData;
187
102
  int?: IntData;
188
103
  float?: FloatData;
@@ -199,140 +114,84 @@ export interface Field {
199
114
  conditional_privilege?: ConditionalPrivilegeData;
200
115
  participation?: ParticipationData;
201
116
  }
202
- /**
203
- * Field condition definition.
204
- */
117
+ /** When the controlling field's value matches `value` (per `comparator`), `effect` is applied to `affected_fields`. */
205
118
  export interface FieldCondition {
206
- /** The value of the controlling field that will be compared against to see if the condition is met. */
207
119
  value: unknown;
208
- /** The comparator that will be used to compare the controlling field's value against the Value. */
209
120
  comparator: FieldConditionComparator;
210
- /** The fields that will be affected by the condition being met. */
211
121
  affected_fields: FieldKey[];
212
- /** The effect that will be applied to the affected fields if the condition is met. */
213
122
  effect: FieldConditionEffect;
214
123
  }
215
- /**
216
- * Array of field conditions.
217
- */
218
124
  export type FieldConditions = FieldCondition[];
219
- /**
220
- * Custom link names for forward and backward directions.
221
- */
222
125
  export interface CustomLinkNames {
223
- /** The forward name of the link */
224
126
  forward_name: string;
225
- /** The backward name of the link */
226
127
  backward_name: string;
227
128
  }
228
- /**
229
- * Custom link data for defining link types.
230
- */
231
129
  export interface CustomLinkData {
232
130
  /** The field that defines the link types in the system. */
233
131
  link_type_field: FieldKey;
234
132
  link_direction_names: Record<string, CustomLinkNames> | null;
235
133
  }
236
- /**
237
- * Custom stage definition in a stage diagram.
238
- */
239
134
  export interface CustomStage {
240
- /** The state this stage belongs to. Must match the ones defined in the diagram 'states' field or be one of the default options: 'open', 'in_progress', 'closed'. */
135
+ /** Must match a key in the diagram's 'states' map or be a default: 'open', 'in_progress', 'closed'. */
241
136
  state?: StateKey;
242
- /** A list of stage names that this stage can transition to. */
137
+ /** Stage names this stage can transition to. */
243
138
  transitions_to?: StageKey[];
244
139
  }
245
- /**
246
- * Custom state definition in a stage diagram.
247
- */
248
140
  export interface CustomState {
249
- /** The human readable name of the custom state. */
250
141
  name: string;
251
- /** Denotes that this state is an end state. */
252
142
  is_end_state?: boolean;
253
- /** The sort order of the state. */
143
+ /** Sort order. */
254
144
  ordinal?: number;
255
145
  }
256
- /**
257
- * Stage diagram definition for record type workflow.
258
- */
259
146
  export interface StageDiagram {
260
147
  /** The field that represents the stage in the external system. */
261
148
  controlling_field: FieldKey;
262
- /** A map of the stages that should be created. Keys must match the enum values in the controlling field. */
149
+ /** Stage keys must match the enum values in the controlling field. */
263
150
  stages: Record<StageKey, CustomStage>;
264
- /** The stage that the parent record type starts in when it is created. */
151
+ /** The stage the parent record type starts in when created. */
265
152
  starting_stage?: StageKey;
266
- /** A map of the states/status categories that should be created. */
267
153
  states?: Record<StateKey, CustomState>;
268
- /** Denotes that this diagram has no explicit transitions and should be created as an 'all-to-all' diagram. */
154
+ /** No explicit transitions; create as an 'all-to-all' diagram. */
269
155
  all_transitions_allowed?: boolean;
270
156
  }
271
- /**
272
- * Record type category definition.
273
- */
274
157
  export interface RecordTypeCategory {
275
- /** The human readable name of the record type category */
276
158
  name?: string;
277
- /** Indicates whether a record can move between the record types of this category while preserving its identity */
159
+ /** Whether a record can move between record types of this category while preserving its identity. */
278
160
  are_record_type_conversions_possible?: boolean;
279
161
  }
280
- /**
281
- * Attachments configuration for a record type.
282
- */
283
162
  export interface Attachments {
284
- /** Whether attachments can be extracted */
285
163
  is_extractable?: boolean;
286
- /** Whether attachments can be loaded: that is, whether the connector supports creating it in the system */
164
+ /** Whether the connector supports creating attachments in the external system. */
287
165
  is_loadable?: boolean;
288
166
  }
289
- /**
290
- * Record type definition.
291
- */
292
167
  export interface RecordType {
293
- /** The fields of the record type */
294
168
  fields: Record<FieldKey, Field>;
295
- /** The human readable name of the record type */
296
169
  name?: string;
297
170
  description?: string;
298
171
  category?: RecordTypeCategoryKey;
299
- /** Whether the record type can be loaded (connector supports creating it in the system) */
172
+ /** Whether the connector supports creating this record type in the external system. */
300
173
  is_loadable?: boolean;
301
- /** Whether the record type sends the complete system state in every sync */
174
+ /** Whether the record type sends the complete system state in every sync. */
302
175
  is_snapshot?: boolean;
303
- /** Denotes that the record type has no ID field, primarily used for authorization policies */
176
+ /** No ID field; primarily used for authorization policies. */
304
177
  no_identifier?: boolean;
305
- /** Indicates the scope of this record type */
306
178
  scope?: RecordTypeScope;
307
- /** Field conditions for this record type */
308
179
  conditions?: Record<FieldKey, FieldConditions>;
309
- /** Stage diagram for workflow */
310
180
  stage_diagram?: StageDiagram;
311
- /** Link naming data for custom links */
312
181
  link_naming_data?: CustomLinkData;
313
- /** Attachments configuration */
314
182
  attachments?: Attachments;
315
183
  }
316
- /**
317
- * Struct type definition for reusable field structures.
318
- */
184
+ /** Reusable field structure. */
319
185
  export interface StructType {
320
- /** The fields of the struct type */
321
186
  fields: Record<FieldKey, Field>;
322
- /** The human readable name of the struct type */
323
187
  name?: string;
324
188
  }
325
- /**
326
- * External domain metadata describing the logical structure of an external system.
327
- */
189
+ /** Describes the logical structure of an external system. */
328
190
  export interface ExternalDomainMetadata {
329
- /** The record types in the domain */
330
191
  record_types: Record<RecordTypeKey, RecordType>;
331
- /** Record type categories */
332
192
  record_type_categories?: Record<RecordTypeCategoryKey, RecordTypeCategory>;
333
- /** Struct types for reusable field structures */
334
193
  struct_types?: Record<StructTypeKey, StructType>;
335
- /** The schema version of the metadata format itself. */
194
+ /** Version of the metadata format itself. */
336
195
  schema_version?: SchemaVersion;
337
196
  }
338
197
  //# sourceMappingURL=external-domain-metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-domain-metadata.d.ts","sourceRoot":"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