@devrev/airsync-sdk 2.0.0-beta.1 → 2.0.0-beta.10
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 +7 -21
- package/dist/attachments-streaming/attachments-streaming-pool.d.ts +6 -7
- package/dist/attachments-streaming/attachments-streaming-pool.d.ts.map +1 -1
- package/dist/attachments-streaming/attachments-streaming-pool.interfaces.d.ts +4 -3
- package/dist/attachments-streaming/attachments-streaming-pool.interfaces.d.ts.map +1 -1
- package/dist/attachments-streaming/attachments-streaming-pool.js +69 -61
- package/dist/common/constants.d.ts +15 -12
- package/dist/common/constants.d.ts.map +1 -1
- package/dist/common/constants.js +20 -34
- package/dist/common/helpers.d.ts +3 -27
- package/dist/common/helpers.d.ts.map +1 -1
- package/dist/common/helpers.js +6 -36
- package/dist/http/{axios-client-internal.d.ts → client.d.ts} +1 -1
- package/dist/http/client.d.ts.map +1 -0
- package/dist/http/{axios-client-internal.js → client.js} +7 -4
- package/dist/http/errors.d.ts +8 -0
- package/dist/http/errors.d.ts.map +1 -0
- package/dist/http/errors.js +31 -0
- package/dist/index.d.ts +30 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47 -28
- package/dist/logger/logger.d.ts +13 -70
- package/dist/logger/logger.d.ts.map +1 -1
- package/dist/logger/logger.interfaces.d.ts +4 -7
- package/dist/logger/logger.interfaces.d.ts.map +1 -1
- package/dist/logger/logger.js +67 -92
- package/dist/mappers/mappers.d.ts +10 -43
- package/dist/mappers/mappers.d.ts.map +1 -1
- package/dist/mappers/mappers.interfaces.d.ts +173 -0
- package/dist/mappers/mappers.interfaces.d.ts.map +1 -0
- package/dist/mappers/{mappers.interface.js → mappers.interfaces.js} +1 -10
- package/dist/mappers/mappers.js +32 -46
- package/dist/multithreading/adapters/base-adapter.d.ts +39 -0
- package/dist/multithreading/adapters/base-adapter.d.ts.map +1 -0
- package/dist/multithreading/adapters/base-adapter.js +212 -0
- package/dist/multithreading/adapters/extraction-adapter.d.ts +49 -0
- package/dist/multithreading/adapters/extraction-adapter.d.ts.map +1 -0
- package/dist/multithreading/adapters/extraction-adapter.js +375 -0
- package/dist/multithreading/adapters/loading-adapter.d.ts +26 -0
- package/dist/multithreading/adapters/loading-adapter.d.ts.map +1 -0
- package/dist/multithreading/adapters/loading-adapter.helpers.d.ts +12 -0
- package/dist/multithreading/adapters/loading-adapter.helpers.d.ts.map +1 -0
- package/dist/multithreading/{worker-adapter/worker-adapter.helpers.js → adapters/loading-adapter.helpers.js} +2 -12
- package/dist/multithreading/adapters/loading-adapter.js +279 -0
- package/dist/multithreading/emit.d.ts +11 -0
- package/dist/multithreading/emit.d.ts.map +1 -0
- package/dist/multithreading/emit.js +25 -0
- package/dist/multithreading/process-task.d.ts +6 -1
- package/dist/multithreading/process-task.d.ts.map +1 -1
- package/dist/multithreading/process-task.js +120 -82
- package/dist/multithreading/spawn/spawn.d.ts +10 -11
- package/dist/multithreading/spawn/spawn.d.ts.map +1 -1
- package/dist/multithreading/spawn/spawn.helpers.d.ts +12 -11
- package/dist/multithreading/spawn/spawn.helpers.d.ts.map +1 -1
- package/dist/multithreading/spawn/spawn.helpers.js +142 -77
- package/dist/multithreading/spawn/spawn.js +59 -75
- package/dist/multithreading/worker.js +16 -5
- package/dist/repo/repo.d.ts +14 -5
- package/dist/repo/repo.d.ts.map +1 -1
- package/dist/repo/repo.helpers.d.ts +6 -0
- package/dist/repo/repo.helpers.d.ts.map +1 -0
- package/dist/repo/repo.helpers.js +16 -0
- package/dist/repo/repo.interfaces.d.ts +11 -20
- package/dist/repo/repo.interfaces.d.ts.map +1 -1
- package/dist/repo/repo.js +36 -22
- package/dist/state/base-state.d.ts +58 -0
- package/dist/state/base-state.d.ts.map +1 -0
- package/dist/state/base-state.js +242 -0
- package/dist/state/extraction-state.d.ts +14 -0
- package/dist/state/extraction-state.d.ts.map +1 -0
- package/dist/state/extraction-state.js +140 -0
- package/dist/state/install-initial-domain-mapping.d.ts +4 -0
- package/dist/state/install-initial-domain-mapping.d.ts.map +1 -0
- package/dist/{common → state}/install-initial-domain-mapping.js +5 -7
- package/dist/state/loading-state.d.ts +8 -0
- package/dist/state/loading-state.d.ts.map +1 -0
- package/dist/state/loading-state.js +29 -0
- package/dist/state/state.d.ts +3 -29
- package/dist/state/state.d.ts.map +1 -1
- package/dist/state/state.interfaces.d.ts +31 -12
- package/dist/state/state.interfaces.d.ts.map +1 -1
- package/dist/state/state.interfaces.js +17 -1
- package/dist/state/state.js +9 -164
- package/dist/state/time-value-resolver.d.ts +17 -0
- package/dist/state/time-value-resolver.d.ts.map +1 -0
- package/dist/state/time-value-resolver.js +110 -0
- package/dist/testing/mock-event.d.ts +10 -0
- package/dist/testing/mock-event.d.ts.map +1 -0
- package/dist/testing/mock-event.js +96 -0
- package/dist/testing/mock-server.d.ts +31 -0
- package/dist/testing/mock-server.d.ts.map +1 -0
- package/dist/testing/mock-server.interfaces.d.ts +54 -0
- package/dist/testing/mock-server.interfaces.d.ts.map +1 -0
- package/dist/testing/mock-server.interfaces.js +4 -0
- package/dist/testing/mock-server.js +297 -0
- package/dist/testing/test-adapters.d.ts +22 -0
- package/dist/testing/test-adapters.d.ts.map +1 -0
- package/dist/testing/test-adapters.js +32 -0
- package/dist/types/common.d.ts +4 -37
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +2 -17
- package/dist/types/errors.d.ts +15 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/errors.js +28 -0
- package/dist/types/external-domain-metadata.d.ts +40 -162
- package/dist/types/external-domain-metadata.d.ts.map +1 -1
- package/dist/types/extraction.d.ts +135 -278
- package/dist/types/extraction.d.ts.map +1 -1
- package/dist/types/extraction.js +46 -133
- package/dist/types/loading.d.ts +15 -55
- package/dist/types/loading.d.ts.map +1 -1
- package/dist/types/loading.js +1 -23
- package/dist/types/workers.d.ts +70 -103
- package/dist/types/workers.d.ts.map +1 -1
- package/dist/types/workers.js +1 -6
- package/dist/uploader/uploader.d.ts +10 -61
- package/dist/uploader/uploader.d.ts.map +1 -1
- package/dist/uploader/uploader.helpers.d.ts +7 -27
- package/dist/uploader/uploader.helpers.d.ts.map +1 -1
- package/dist/uploader/uploader.helpers.js +80 -30
- package/dist/uploader/uploader.interfaces.d.ts +19 -54
- package/dist/uploader/uploader.interfaces.d.ts.map +1 -1
- package/dist/uploader/uploader.interfaces.js +8 -0
- package/dist/uploader/uploader.js +72 -124
- package/docs/MIGRATION.md +696 -0
- package/package.json +35 -22
- package/dist/attachments-streaming/attachments-streaming-pool.test.d.ts +0 -2
- package/dist/attachments-streaming/attachments-streaming-pool.test.d.ts.map +0 -1
- package/dist/attachments-streaming/attachments-streaming-pool.test.js +0 -321
- package/dist/common/control-protocol.d.ts +0 -10
- package/dist/common/control-protocol.d.ts.map +0 -1
- package/dist/common/control-protocol.js +0 -31
- package/dist/common/errors.d.ts +0 -6
- package/dist/common/errors.d.ts.map +0 -1
- package/dist/common/errors.js +0 -4
- package/dist/common/event-type-translation.d.ts +0 -24
- package/dist/common/event-type-translation.d.ts.map +0 -1
- package/dist/common/event-type-translation.js +0 -117
- package/dist/common/install-initial-domain-mapping.d.ts +0 -4
- package/dist/common/install-initial-domain-mapping.d.ts.map +0 -1
- package/dist/common/install-initial-domain-mapping.test.d.ts +0 -2
- package/dist/common/install-initial-domain-mapping.test.d.ts.map +0 -1
- package/dist/common/install-initial-domain-mapping.test.js +0 -208
- package/dist/deprecated/adapter/index.d.ts +0 -62
- package/dist/deprecated/adapter/index.d.ts.map +0 -1
- package/dist/deprecated/adapter/index.js +0 -151
- package/dist/deprecated/common/helpers.d.ts +0 -7
- package/dist/deprecated/common/helpers.d.ts.map +0 -1
- package/dist/deprecated/common/helpers.js +0 -47
- package/dist/deprecated/demo-extractor/external_domain_metadata.json +0 -38
- package/dist/deprecated/demo-extractor/index.d.ts +0 -18
- package/dist/deprecated/demo-extractor/index.d.ts.map +0 -1
- package/dist/deprecated/demo-extractor/index.js +0 -161
- package/dist/deprecated/http/client.d.ts +0 -22
- package/dist/deprecated/http/client.d.ts.map +0 -1
- package/dist/deprecated/http/client.js +0 -161
- package/dist/deprecated/uploader/index.d.ts +0 -35
- package/dist/deprecated/uploader/index.d.ts.map +0 -1
- package/dist/deprecated/uploader/index.js +0 -161
- package/dist/http/axios-client-internal.d.ts.map +0 -1
- package/dist/http/axios-client-internal.test.d.ts +0 -2
- package/dist/http/axios-client-internal.test.d.ts.map +0 -1
- package/dist/http/axios-client-internal.test.js +0 -154
- package/dist/http/axios-client.d.ts +0 -27
- package/dist/http/axios-client.d.ts.map +0 -1
- package/dist/http/axios-client.js +0 -57
- package/dist/http/constants.d.ts +0 -4
- package/dist/http/constants.d.ts.map +0 -1
- package/dist/http/constants.js +0 -6
- package/dist/http/index.d.ts +0 -3
- package/dist/http/index.d.ts.map +0 -1
- package/dist/http/index.js +0 -18
- package/dist/http/types.d.ts +0 -17
- package/dist/http/types.d.ts.map +0 -1
- package/dist/http/types.js +0 -2
- package/dist/logger/logger.constants.d.ts +0 -6
- package/dist/logger/logger.constants.d.ts.map +0 -1
- package/dist/logger/logger.constants.js +0 -13
- package/dist/logger/logger.context.d.ts +0 -58
- package/dist/logger/logger.context.d.ts.map +0 -1
- package/dist/logger/logger.context.js +0 -86
- package/dist/logger/logger.test.d.ts +0 -2
- package/dist/logger/logger.test.d.ts.map +0 -1
- package/dist/logger/logger.test.js +0 -490
- package/dist/mappers/mappers.interface.d.ts +0 -294
- package/dist/mappers/mappers.interface.d.ts.map +0 -1
- package/dist/mappers/mappers.test.d.ts +0 -2
- package/dist/mappers/mappers.test.d.ts.map +0 -1
- package/dist/mappers/mappers.test.js +0 -107
- package/dist/multithreading/create-worker.test.d.ts +0 -2
- package/dist/multithreading/create-worker.test.d.ts.map +0 -1
- package/dist/multithreading/create-worker.test.js +0 -89
- package/dist/multithreading/spawn/spawn.helpers.test.d.ts +0 -2
- package/dist/multithreading/spawn/spawn.helpers.test.d.ts.map +0 -1
- package/dist/multithreading/spawn/spawn.helpers.test.js +0 -293
- package/dist/multithreading/worker-adapter/worker-adapter.artifacts.test.d.ts +0 -2
- package/dist/multithreading/worker-adapter/worker-adapter.artifacts.test.d.ts.map +0 -1
- package/dist/multithreading/worker-adapter/worker-adapter.artifacts.test.js +0 -127
- package/dist/multithreading/worker-adapter/worker-adapter.d.ts +0 -91
- package/dist/multithreading/worker-adapter/worker-adapter.d.ts.map +0 -1
- package/dist/multithreading/worker-adapter/worker-adapter.helpers.d.ts +0 -22
- package/dist/multithreading/worker-adapter/worker-adapter.helpers.d.ts.map +0 -1
- package/dist/multithreading/worker-adapter/worker-adapter.helpers.test.d.ts +0 -2
- package/dist/multithreading/worker-adapter/worker-adapter.helpers.test.d.ts.map +0 -1
- package/dist/multithreading/worker-adapter/worker-adapter.helpers.test.js +0 -514
- package/dist/multithreading/worker-adapter/worker-adapter.js +0 -745
- package/dist/multithreading/worker-adapter/worker-adapter.test.d.ts +0 -2
- package/dist/multithreading/worker-adapter/worker-adapter.test.d.ts.map +0 -1
- package/dist/multithreading/worker-adapter/worker-adapter.test.js +0 -483
- package/dist/repo/repo.test.d.ts +0 -2
- package/dist/repo/repo.test.d.ts.map +0 -1
- package/dist/repo/repo.test.js +0 -131
- package/dist/state/state.test.d.ts +0 -2
- package/dist/state/state.test.d.ts.map +0 -1
- package/dist/state/state.test.js +0 -224
- package/dist/types/extraction.test.d.ts +0 -2
- package/dist/types/extraction.test.d.ts.map +0 -1
- package/dist/types/extraction.test.js +0 -70
- package/dist/types/index.d.ts +0 -10
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -18
- package/dist/uploader/uploader.helpers.test.d.ts +0 -2
- package/dist/uploader/uploader.helpers.test.d.ts.map +0 -1
- package/dist/uploader/uploader.helpers.test.js +0 -267
- package/dist/uploader/uploader.test.d.ts +0 -2
- package/dist/uploader/uploader.test.d.ts.map +0 -1
- package/dist/uploader/uploader.test.js +0 -589
|
@@ -1,135 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExtractionAdapter } from '../multithreading/adapters/extraction-adapter';
|
|
2
|
+
import { NormalizedAttachment } from '../repo/repo.interfaces';
|
|
2
3
|
import { Artifact } from '../uploader/uploader.interfaces';
|
|
3
4
|
import { ErrorRecord } from './common';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import { WorkerAdapter } from '../multithreading/worker-adapter/worker-adapter';
|
|
7
|
-
import { DonV2, LoaderReport, RateLimited } from './loading';
|
|
8
|
-
/**
|
|
9
|
-
* EventType is an enum that defines the different types of events that can be sent to the external extractor from ADaaS.
|
|
10
|
-
* The external extractor can use these events to know what to do next in the extraction process.
|
|
11
|
-
*/
|
|
5
|
+
import { DonV2, LoaderReport } from './loading';
|
|
6
|
+
/** Events sent from AirSync to the connector. */
|
|
12
7
|
export declare enum EventType {
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use StartExtractingExternalSyncUnits instead
|
|
15
|
-
*/
|
|
16
|
-
ExtractionExternalSyncUnitsStart = "EXTRACTION_EXTERNAL_SYNC_UNITS_START",
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use StartExtractingMetadata instead
|
|
19
|
-
*/
|
|
20
|
-
ExtractionMetadataStart = "EXTRACTION_METADATA_START",
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Use StartExtractingData instead
|
|
23
|
-
*/
|
|
24
|
-
ExtractionDataStart = "EXTRACTION_DATA_START",
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated Use ContinueExtractingData instead
|
|
27
|
-
*/
|
|
28
|
-
ExtractionDataContinue = "EXTRACTION_DATA_CONTINUE",
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated Use StartDeletingExtractorState instead
|
|
31
|
-
*/
|
|
32
|
-
ExtractionDataDelete = "EXTRACTION_DATA_DELETE",
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated Use StartExtractingAttachments instead
|
|
35
|
-
*/
|
|
36
|
-
ExtractionAttachmentsStart = "EXTRACTION_ATTACHMENTS_START",
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use ContinueExtractingAttachments instead
|
|
39
|
-
*/
|
|
40
|
-
ExtractionAttachmentsContinue = "EXTRACTION_ATTACHMENTS_CONTINUE",
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated Use StartDeletingExtractorAttachmentsState instead
|
|
43
|
-
*/
|
|
44
|
-
ExtractionAttachmentsDelete = "EXTRACTION_ATTACHMENTS_DELETE",
|
|
45
|
-
StartLoadingData = "START_LOADING_DATA",
|
|
46
|
-
ContinueLoadingData = "CONTINUE_LOADING_DATA",
|
|
47
|
-
StartLoadingAttachments = "START_LOADING_ATTACHMENTS",
|
|
48
|
-
ContinueLoadingAttachments = "CONTINUE_LOADING_ATTACHMENTS",
|
|
49
|
-
StartDeletingLoaderState = "START_DELETING_LOADER_STATE",
|
|
50
|
-
StartDeletingLoaderAttachmentState = "START_DELETING_LOADER_ATTACHMENT_STATE",
|
|
51
|
-
UnknownEventType = "UNKNOWN_EVENT_TYPE",
|
|
52
8
|
StartExtractingExternalSyncUnits = "START_EXTRACTING_EXTERNAL_SYNC_UNITS",
|
|
53
9
|
StartExtractingMetadata = "START_EXTRACTING_METADATA",
|
|
10
|
+
ContinueExtractingMetadata = "CONTINUE_EXTRACTING_METADATA",
|
|
54
11
|
StartExtractingData = "START_EXTRACTING_DATA",
|
|
55
12
|
ContinueExtractingData = "CONTINUE_EXTRACTING_DATA",
|
|
56
13
|
StartDeletingExtractorState = "START_DELETING_EXTRACTOR_STATE",
|
|
57
14
|
StartExtractingAttachments = "START_EXTRACTING_ATTACHMENTS",
|
|
58
15
|
ContinueExtractingAttachments = "CONTINUE_EXTRACTING_ATTACHMENTS",
|
|
59
|
-
StartDeletingExtractorAttachmentsState = "START_DELETING_EXTRACTOR_ATTACHMENTS_STATE"
|
|
16
|
+
StartDeletingExtractorAttachmentsState = "START_DELETING_EXTRACTOR_ATTACHMENTS_STATE",
|
|
17
|
+
StartLoadingData = "START_LOADING_DATA",
|
|
18
|
+
ContinueLoadingData = "CONTINUE_LOADING_DATA",
|
|
19
|
+
StartLoadingAttachments = "START_LOADING_ATTACHMENTS",
|
|
20
|
+
ContinueLoadingAttachments = "CONTINUE_LOADING_ATTACHMENTS",
|
|
21
|
+
StartDeletingLoaderState = "START_DELETING_LOADER_STATE",
|
|
22
|
+
StartDeletingLoaderAttachmentState = "START_DELETING_LOADER_ATTACHMENT_STATE"
|
|
60
23
|
}
|
|
61
|
-
/**
|
|
62
|
-
* ExtractorEventType is an enum that defines the different types of events that can be sent from the external extractor to ADaaS.
|
|
63
|
-
* The external extractor can use these events to inform ADaaS about the progress of the extraction process.
|
|
64
|
-
*/
|
|
24
|
+
/** Events sent from the connector to AirSync. */
|
|
65
25
|
export declare enum ExtractorEventType {
|
|
66
|
-
/**
|
|
67
|
-
* @deprecated Use ExternalSyncUnitExtractionDone instead
|
|
68
|
-
*/
|
|
69
|
-
ExtractionExternalSyncUnitsDone = "EXTRACTION_EXTERNAL_SYNC_UNITS_DONE",
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated Use ExternalSyncUnitExtractionError instead
|
|
72
|
-
*/
|
|
73
|
-
ExtractionExternalSyncUnitsError = "EXTRACTION_EXTERNAL_SYNC_UNITS_ERROR",
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated Use MetadataExtractionDone instead
|
|
76
|
-
*/
|
|
77
|
-
ExtractionMetadataDone = "EXTRACTION_METADATA_DONE",
|
|
78
|
-
/**
|
|
79
|
-
* @deprecated Use MetadataExtractionError instead
|
|
80
|
-
*/
|
|
81
|
-
ExtractionMetadataError = "EXTRACTION_METADATA_ERROR",
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated Use DataExtractionProgress instead
|
|
84
|
-
*/
|
|
85
|
-
ExtractionDataProgress = "EXTRACTION_DATA_PROGRESS",
|
|
86
|
-
/**
|
|
87
|
-
* @deprecated Use DataExtractionDelayed instead
|
|
88
|
-
*/
|
|
89
|
-
ExtractionDataDelay = "EXTRACTION_DATA_DELAY",
|
|
90
|
-
/**
|
|
91
|
-
* @deprecated Use DataExtractionDone instead
|
|
92
|
-
*/
|
|
93
|
-
ExtractionDataDone = "EXTRACTION_DATA_DONE",
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated Use DataExtractionError instead
|
|
96
|
-
*/
|
|
97
|
-
ExtractionDataError = "EXTRACTION_DATA_ERROR",
|
|
98
|
-
/**
|
|
99
|
-
* @deprecated Use ExtractorStateDeletionDone instead
|
|
100
|
-
*/
|
|
101
|
-
ExtractionDataDeleteDone = "EXTRACTION_DATA_DELETE_DONE",
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated Use ExtractorStateDeletionError instead
|
|
104
|
-
*/
|
|
105
|
-
ExtractionDataDeleteError = "EXTRACTION_DATA_DELETE_ERROR",
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated Use AttachmentExtractionProgress instead
|
|
108
|
-
*/
|
|
109
|
-
ExtractionAttachmentsProgress = "EXTRACTION_ATTACHMENTS_PROGRESS",
|
|
110
|
-
/**
|
|
111
|
-
* @deprecated Use AttachmentExtractionDelayed instead
|
|
112
|
-
*/
|
|
113
|
-
ExtractionAttachmentsDelay = "EXTRACTION_ATTACHMENTS_DELAY",
|
|
114
|
-
/**
|
|
115
|
-
* @deprecated Use AttachmentExtractionDone instead
|
|
116
|
-
*/
|
|
117
|
-
ExtractionAttachmentsDone = "EXTRACTION_ATTACHMENTS_DONE",
|
|
118
|
-
/**
|
|
119
|
-
* @deprecated Use AttachmentExtractionError instead
|
|
120
|
-
*/
|
|
121
|
-
ExtractionAttachmentsError = "EXTRACTION_ATTACHMENTS_ERROR",
|
|
122
|
-
/**
|
|
123
|
-
* @deprecated Use ExtractorAttachmentsStateDeletionDone instead
|
|
124
|
-
*/
|
|
125
|
-
ExtractionAttachmentsDeleteDone = "EXTRACTION_ATTACHMENTS_DELETE_DONE",
|
|
126
|
-
/**
|
|
127
|
-
* @deprecated Use ExtractorAttachmentsStateDeletionError instead
|
|
128
|
-
*/
|
|
129
|
-
ExtractionAttachmentsDeleteError = "EXTRACTION_ATTACHMENTS_DELETE_ERROR",
|
|
130
|
-
UnknownEventType = "UNKNOWN_EVENT_TYPE",
|
|
131
26
|
ExternalSyncUnitExtractionDone = "EXTERNAL_SYNC_UNIT_EXTRACTION_DONE",
|
|
132
27
|
ExternalSyncUnitExtractionError = "EXTERNAL_SYNC_UNIT_EXTRACTION_ERROR",
|
|
28
|
+
MetadataExtractionProgress = "METADATA_EXTRACTION_PROGRESS",
|
|
29
|
+
MetadataExtractionDelayed = "METADATA_EXTRACTION_DELAYED",
|
|
133
30
|
MetadataExtractionDone = "METADATA_EXTRACTION_DONE",
|
|
134
31
|
MetadataExtractionError = "METADATA_EXTRACTION_ERROR",
|
|
135
32
|
DataExtractionProgress = "DATA_EXTRACTION_PROGRESS",
|
|
@@ -145,19 +42,7 @@ export declare enum ExtractorEventType {
|
|
|
145
42
|
ExtractorAttachmentsStateDeletionDone = "EXTRACTOR_ATTACHMENTS_STATE_DELETION_DONE",
|
|
146
43
|
ExtractorAttachmentsStateDeletionError = "EXTRACTOR_ATTACHMENTS_STATE_DELETION_ERROR"
|
|
147
44
|
}
|
|
148
|
-
/**
|
|
149
|
-
* @deprecated
|
|
150
|
-
* ExtractionMode is an enum that defines the different modes of extraction that can be used by the external extractor.
|
|
151
|
-
* It can be either INITIAL or INCREMENTAL. INITIAL mode is used for the first/initial import, while INCREMENTAL mode is used for doing syncs.
|
|
152
|
-
*/
|
|
153
|
-
export declare enum ExtractionMode {
|
|
154
|
-
INITIAL = "INITIAL",
|
|
155
|
-
INCREMENTAL = "INCREMENTAL"
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* ExternalSyncUnit is an interface that defines the structure of an external sync unit (repos, projects, ...) that can be extracted.
|
|
159
|
-
* It must contain an ID, a name, and a description. It can also contain the number of items in the external sync unit.
|
|
160
|
-
*/
|
|
45
|
+
/** An extractable unit in the external system (repo, project, ...). */
|
|
161
46
|
export interface ExternalSyncUnit {
|
|
162
47
|
id: string;
|
|
163
48
|
name: string;
|
|
@@ -165,240 +50,212 @@ export interface ExternalSyncUnit {
|
|
|
165
50
|
item_count?: number;
|
|
166
51
|
item_type?: string;
|
|
167
52
|
}
|
|
168
|
-
/**
|
|
169
|
-
* InitialSyncScope is an enum that defines the different scopes of initial sync that can be used by the external extractor.
|
|
170
|
-
*/
|
|
171
53
|
export declare enum InitialSyncScope {
|
|
172
54
|
FULL_HISTORY = "full-history",
|
|
173
55
|
TIME_SCOPED = "time-scoped"
|
|
174
56
|
}
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
dev_user_id: string;
|
|
185
|
-
external_sync_unit: string;
|
|
186
|
-
external_sync_unit_id: string;
|
|
187
|
-
external_sync_unit_name: string;
|
|
188
|
-
external_system: string;
|
|
189
|
-
external_system_type: string;
|
|
190
|
-
import_slug: string;
|
|
191
|
-
mode: string;
|
|
192
|
-
request_id: string;
|
|
193
|
-
snap_in_slug: string;
|
|
194
|
-
sync_run: string;
|
|
195
|
-
sync_run_id: string;
|
|
196
|
-
sync_tier: string;
|
|
197
|
-
sync_unit: DonV2;
|
|
198
|
-
sync_unit_id: string;
|
|
199
|
-
uuid: string;
|
|
200
|
-
worker_data_url: string;
|
|
57
|
+
/** Duration units for time windows; matches Go's time.ParseDuration units. */
|
|
58
|
+
export declare enum TimeUnit {
|
|
59
|
+
NANOSECONDS = "ns",
|
|
60
|
+
MICROSECONDS = "us",
|
|
61
|
+
MICROSECONDS_MU = "\u00B5s",
|
|
62
|
+
MILLISECONDS = "ms",
|
|
63
|
+
SECONDS = "s",
|
|
64
|
+
MINUTES = "m",
|
|
65
|
+
HOURS = "h"
|
|
201
66
|
}
|
|
202
67
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
68
|
+
* How the SDK resolves an extraction start/end time sent by the platform.
|
|
69
|
+
* WORKERS_* variants resolve against worker state timestamps; UNBOUNDED means no bound.
|
|
205
70
|
*/
|
|
206
|
-
export
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
71
|
+
export declare enum TimeValueType {
|
|
72
|
+
WORKERS_OLDEST = "workers_oldest",
|
|
73
|
+
WORKERS_OLDEST_MINUS_WINDOW = "workers_oldest_minus_window",
|
|
74
|
+
WORKERS_NEWEST = "workers_newest",
|
|
75
|
+
WORKERS_NEWEST_PLUS_WINDOW = "workers_newest_plus_window",
|
|
76
|
+
CURRENT_TIME = "current_time",
|
|
77
|
+
ABSOLUTE_TIME = "absolute_time",
|
|
78
|
+
UNBOUNDED = "unbounded"
|
|
210
79
|
}
|
|
211
80
|
/**
|
|
212
|
-
*
|
|
81
|
+
* Extraction start/end time value. `value` is an ISO 8601 timestamp for ABSOLUTE_TIME,
|
|
82
|
+
* a Go duration string (e.g. '30s', '2h') for *_WINDOW types, and unused otherwise.
|
|
213
83
|
*/
|
|
84
|
+
export interface TimeValue {
|
|
85
|
+
type: TimeValueType;
|
|
86
|
+
value?: string;
|
|
87
|
+
}
|
|
214
88
|
export interface EventContext {
|
|
215
89
|
callback_url: string;
|
|
216
|
-
/**
|
|
217
|
-
* @deprecated dev_org is deprecated and should not be used. Use dev_oid instead.
|
|
218
|
-
*/
|
|
219
|
-
dev_org: string;
|
|
220
90
|
dev_oid: string;
|
|
221
91
|
dev_org_id: string;
|
|
222
|
-
/**
|
|
223
|
-
* @deprecated dev_user is deprecated and should not be used. Use dev_uid instead.
|
|
224
|
-
*/
|
|
225
|
-
dev_user: string;
|
|
226
|
-
/**
|
|
227
|
-
* @deprecated dev_user_id is deprecated and should not be used. Use dev_uid instead.
|
|
228
|
-
*/
|
|
229
|
-
dev_user_id: string;
|
|
230
92
|
dev_uid: string;
|
|
231
93
|
event_type_adaas: string;
|
|
232
|
-
/**
|
|
233
|
-
* @deprecated external_sync_unit is deprecated and should not be used. Use external_sync_unit_id instead.
|
|
234
|
-
*/
|
|
235
|
-
external_sync_unit: string;
|
|
236
94
|
external_sync_unit_id: string;
|
|
237
95
|
external_sync_unit_name: string;
|
|
238
|
-
/**
|
|
239
|
-
* @deprecated external_system is deprecated and should not be used. Use external_system_id instead.
|
|
240
|
-
*/
|
|
241
|
-
external_system: string;
|
|
242
96
|
external_system_id: string;
|
|
243
97
|
external_system_name: string;
|
|
244
98
|
external_system_type: string;
|
|
99
|
+
/**
|
|
100
|
+
* Start of extraction (ISO 8601): resolved by the SDK from
|
|
101
|
+
* extraction_start_time and worker state, or on platforms that don't send it,
|
|
102
|
+
* the last successful sync start / the platform-supplied value.
|
|
103
|
+
*/
|
|
245
104
|
extract_from?: string;
|
|
105
|
+
/** The platform-supplied extract_from, kept when the SDK overrides it. */
|
|
106
|
+
original_extract_from?: string;
|
|
246
107
|
import_slug: string;
|
|
247
108
|
initial_sync_scope?: InitialSyncScope;
|
|
248
109
|
mode: string;
|
|
249
110
|
request_id: string;
|
|
250
111
|
request_id_adaas: string;
|
|
251
|
-
/**
|
|
252
|
-
* @deprecated reset_extraction is deprecated and should not be used. Use reset_extract_from instead.
|
|
253
|
-
*/
|
|
112
|
+
/** @deprecated Never read by the SDK; kept because connectors still branch on it. */
|
|
254
113
|
reset_extraction?: boolean;
|
|
114
|
+
/** @deprecated Use extraction_start_time/extraction_end_time (resolved into extract_from/extract_to). */
|
|
255
115
|
reset_extract_from?: boolean;
|
|
256
116
|
run_id: string;
|
|
257
117
|
sequence_version: string;
|
|
258
118
|
snap_in_slug: string;
|
|
259
119
|
snap_in_version_id: string;
|
|
260
|
-
/**
|
|
261
|
-
* @deprecated sync_run is deprecated and should not be used. Use run_id instead.
|
|
262
|
-
*/
|
|
263
|
-
sync_run: string;
|
|
264
|
-
/**
|
|
265
|
-
* @deprecated sync_run_id is deprecated and should not be used. Use run_id instead.
|
|
266
|
-
*/
|
|
267
|
-
sync_run_id: string;
|
|
268
120
|
sync_tier: string;
|
|
269
121
|
sync_unit: DonV2;
|
|
270
122
|
sync_unit_id: string;
|
|
271
|
-
/**
|
|
272
|
-
* @deprecated uuid is deprecated and should not be used. Use request_id_adaas instead.
|
|
273
|
-
*/
|
|
274
|
-
uuid: string;
|
|
275
123
|
worker_data_url: string;
|
|
124
|
+
/** Platform-sent start time; the SDK resolves it into extract_from. */
|
|
125
|
+
extraction_start_time?: TimeValue;
|
|
126
|
+
/** Platform-sent end time; the SDK resolves it into extract_to. */
|
|
127
|
+
extraction_end_time?: TimeValue;
|
|
128
|
+
/** End of extraction (ISO 8601), resolved by the SDK from extraction_end_time and worker state. */
|
|
129
|
+
extract_to?: string;
|
|
276
130
|
}
|
|
277
|
-
/**
|
|
278
|
-
* ConnectionData is an interface that defines the structure of the connection data that is sent to the external extractor from ADaaS.
|
|
279
|
-
* It contains the organization ID, organization name, key, and key type.
|
|
280
|
-
*/
|
|
281
131
|
export interface ConnectionData {
|
|
282
132
|
org_id: string;
|
|
283
133
|
org_name: string;
|
|
284
134
|
key: string;
|
|
285
135
|
key_type: string;
|
|
286
136
|
}
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
|
|
137
|
+
/** Sync-duration-estimation model input that a counted record type feeds into. */
|
|
138
|
+
export declare enum ItemInputType {
|
|
139
|
+
MAIN = "main",
|
|
140
|
+
USERS = "users"
|
|
141
|
+
}
|
|
142
|
+
/** Per-record-type count reported during the metadata phase, used for sync-duration estimation. */
|
|
143
|
+
export interface ItemTypeCount {
|
|
144
|
+
record_type: string;
|
|
145
|
+
count: number;
|
|
146
|
+
model_input_type: ItemInputType;
|
|
147
|
+
}
|
|
290
148
|
export interface EventData {
|
|
291
|
-
external_sync_units?: ExternalSyncUnit[];
|
|
292
|
-
/**
|
|
293
|
-
* @deprecated This field is deprecated and should not be used. Progress is
|
|
294
|
-
* now calculated on the backend.
|
|
295
|
-
*/
|
|
296
|
-
progress?: number;
|
|
297
149
|
error?: ErrorRecord;
|
|
298
150
|
delay?: number;
|
|
299
151
|
/**
|
|
300
|
-
*
|
|
152
|
+
* Artifacts produced by the worker's repos, attached to the emitted event by
|
|
153
|
+
* the SDK. Includes external sync units, which are pushed to the
|
|
154
|
+
* AirSyncDefaultItemTypes.EXTERNAL_SYNC_UNITS repo and uploaded as artifacts.
|
|
301
155
|
*/
|
|
302
156
|
artifacts?: Artifact[];
|
|
303
157
|
reports?: LoaderReport[];
|
|
304
158
|
processed_files?: string[];
|
|
305
159
|
stats_file?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Per-record-type counts attached to the metadata-done event by the SDK when
|
|
162
|
+
* the connector sets ExtractionAdapter.preExtractionItemCounts.
|
|
163
|
+
*/
|
|
164
|
+
pre_extraction_item_counts?: ItemTypeCount[];
|
|
306
165
|
}
|
|
307
|
-
/**
|
|
308
|
-
* WorkerMetadata is an interface that defines the structure of the worker metadata that is sent from the external extractor to ADaaS.
|
|
309
|
-
*/
|
|
310
166
|
export interface WorkerMetadata {
|
|
311
|
-
adaas_library_version
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
name: string;
|
|
320
|
-
nextChunkId: number;
|
|
321
|
-
pages?: {
|
|
322
|
-
pages: number[];
|
|
323
|
-
};
|
|
324
|
-
lastModified: string;
|
|
325
|
-
isDone: boolean;
|
|
326
|
-
count: number;
|
|
167
|
+
adaas_library_version?: string;
|
|
168
|
+
item_type?: string;
|
|
169
|
+
oldest_created_date?: string;
|
|
170
|
+
newest_created_date?: string;
|
|
171
|
+
oldest_modified_date?: string;
|
|
172
|
+
newest_modified_date?: string;
|
|
173
|
+
oldest_state_date?: string;
|
|
174
|
+
newest_state_date?: string;
|
|
327
175
|
}
|
|
328
|
-
/**
|
|
329
|
-
|
|
330
|
-
* It contains the context, payload, execution metadata, and input data as common snap-ins.
|
|
331
|
-
*/
|
|
332
|
-
export interface AirdropEvent {
|
|
176
|
+
/** Event sent from AirSync to the connector. */
|
|
177
|
+
export interface AirSyncEvent {
|
|
333
178
|
context: {
|
|
334
179
|
secrets: {
|
|
335
180
|
service_account_token: string;
|
|
336
181
|
};
|
|
337
182
|
snap_in_version_id: string;
|
|
338
183
|
snap_in_id: string;
|
|
184
|
+
/** DevRev identity of the user who triggered the sync. */
|
|
185
|
+
user_id: string;
|
|
186
|
+
/** DevRev org id (don:identity:.../devo/...). */
|
|
187
|
+
dev_oid: string;
|
|
188
|
+
/** External source identity, when the platform provides one. */
|
|
189
|
+
source_id: string;
|
|
190
|
+
/** DevRev service-account identity used for the sync. */
|
|
191
|
+
service_account_id: string;
|
|
339
192
|
};
|
|
340
|
-
payload:
|
|
193
|
+
payload: AirSyncMessage;
|
|
341
194
|
execution_metadata: {
|
|
342
195
|
devrev_endpoint: string;
|
|
343
196
|
};
|
|
344
197
|
input_data: InputData;
|
|
345
198
|
}
|
|
346
|
-
/**
|
|
347
|
-
|
|
348
|
-
*/
|
|
349
|
-
|
|
199
|
+
/** Snap-in inputs passed with every event. */
|
|
200
|
+
export interface InputData {
|
|
201
|
+
/** Snap-in globals; values arrive as strings. */
|
|
202
|
+
global_values: Record<string, string>;
|
|
203
|
+
event_sources: Record<string, string>;
|
|
204
|
+
/** Keyrings, tags and other manifest resources, keyed by resource name. */
|
|
205
|
+
resources?: Record<string, any>;
|
|
206
|
+
}
|
|
207
|
+
export interface AirSyncMessage {
|
|
350
208
|
connection_data: ConnectionData;
|
|
351
209
|
event_context: EventContext;
|
|
352
210
|
event_type: EventType;
|
|
353
211
|
event_data?: EventData;
|
|
354
212
|
}
|
|
355
|
-
/**
|
|
356
|
-
* ExtractorEvent is an interface that defines the structure of the event that is sent from the external extractor to ADaaS.
|
|
357
|
-
* It contains the event type, event context, extractor state, and event data.
|
|
358
|
-
*/
|
|
213
|
+
/** Event sent from the connector to AirSync. */
|
|
359
214
|
export interface ExtractorEvent {
|
|
360
215
|
event_type: string;
|
|
361
216
|
event_context: EventContext;
|
|
362
217
|
event_data?: EventData;
|
|
363
218
|
worker_metadata?: WorkerMetadata;
|
|
364
219
|
}
|
|
365
|
-
/**
|
|
366
|
-
* LoaderEvent
|
|
367
|
-
*/
|
|
368
|
-
export interface LoaderEvent {
|
|
369
|
-
event_type: string;
|
|
370
|
-
event_context: EventContext;
|
|
371
|
-
event_data?: EventData;
|
|
372
|
-
worker_metadata?: WorkerMetadata;
|
|
373
|
-
}
|
|
374
220
|
export type ExternalSystemAttachmentStreamingFunction = ({ item, event, }: ExternalSystemAttachmentStreamingParams) => Promise<ExternalSystemAttachmentStreamingResponse>;
|
|
375
221
|
export interface ExternalSystemAttachmentStreamingParams {
|
|
376
222
|
item: NormalizedAttachment;
|
|
377
|
-
event:
|
|
223
|
+
event: AirSyncEvent;
|
|
378
224
|
}
|
|
379
|
-
export interface
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
delay?: number;
|
|
383
|
-
}
|
|
384
|
-
export interface StreamAttachmentsResponse {
|
|
385
|
-
error?: ErrorRecord;
|
|
386
|
-
report?: LoaderReport;
|
|
387
|
-
rateLimit?: RateLimited;
|
|
225
|
+
export interface HttpStreamResponse {
|
|
226
|
+
data: any;
|
|
227
|
+
headers: Record<string, any>;
|
|
388
228
|
}
|
|
229
|
+
/** Returned by the connector's attachment `stream` function. */
|
|
230
|
+
export type ExternalSystemAttachmentStreamingResponse = {
|
|
231
|
+
status: 'success';
|
|
232
|
+
httpStream: HttpStreamResponse;
|
|
233
|
+
} | {
|
|
234
|
+
status: 'delay';
|
|
235
|
+
delaySeconds: number;
|
|
236
|
+
} | {
|
|
237
|
+
status: 'error';
|
|
238
|
+
error: ErrorRecord;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Outcome of streaming one attachment. `success` is also returned when the
|
|
242
|
+
* soft timeout cut the upload short; the attachment is then retried in the
|
|
243
|
+
* next invocation, so check `adapter.isTimeout` before recording it as done.
|
|
244
|
+
*/
|
|
389
245
|
export type ProcessAttachmentReturnType = {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
246
|
+
status: 'success';
|
|
247
|
+
} | {
|
|
248
|
+
status: 'delay';
|
|
249
|
+
delaySeconds: number;
|
|
250
|
+
} | {
|
|
251
|
+
status: 'error';
|
|
252
|
+
error: ErrorRecord & {
|
|
253
|
+
fileSize?: number;
|
|
393
254
|
};
|
|
394
|
-
}
|
|
395
|
-
export type StreamAttachmentsReturnType = {
|
|
396
|
-
delay?: number;
|
|
397
|
-
error?: ErrorRecord;
|
|
398
|
-
} | undefined;
|
|
255
|
+
};
|
|
399
256
|
export type ExternalSystemAttachmentReducerFunction<Batch, NewBatch, ConnectorState> = ({ attachments, adapter, batchSize, }: {
|
|
400
257
|
attachments: Batch;
|
|
401
|
-
adapter:
|
|
258
|
+
adapter: ExtractionAdapter<ConnectorState>;
|
|
402
259
|
batchSize?: number;
|
|
403
260
|
}) => NewBatch;
|
|
404
261
|
export type ExternalProcessAttachmentFunction = ({ attachment, stream, }: {
|
|
@@ -407,7 +264,7 @@ export type ExternalProcessAttachmentFunction = ({ attachment, stream, }: {
|
|
|
407
264
|
}) => Promise<ProcessAttachmentReturnType>;
|
|
408
265
|
export type ExternalSystemAttachmentIteratorFunction<NewBatch, ConnectorState> = ({ reducedAttachments, adapter, stream, }: {
|
|
409
266
|
reducedAttachments: NewBatch;
|
|
410
|
-
adapter:
|
|
267
|
+
adapter: ExtractionAdapter<ConnectorState>;
|
|
411
268
|
stream: ExternalSystemAttachmentStreamingFunction;
|
|
412
269
|
}) => Promise<ProcessAttachmentReturnType>;
|
|
413
270
|
export interface ExternalSystemAttachmentProcessors<ConnectorState, Batch, NewBatch> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraction.d.ts","sourceRoot":"","sources":["../../src/types/extraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"extraction.d.ts","sourceRoot":"","sources":["../../src/types/extraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO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