@algolia/ingestion 1.0.0-beta.9 → 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 +69 -0
- package/dist/builds/browser.d.ts +22 -8
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +22 -8
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/ingestion.cjs +623 -187
- package/dist/ingestion.esm.browser.js +623 -187
- package/dist/ingestion.esm.node.js +623 -187
- package/dist/ingestion.umd.js +2 -2
- package/dist/model/action.d.ts +5 -0
- package/dist/model/action.d.ts.map +1 -0
- package/dist/model/batchRequest.d.ts +9 -0
- package/dist/model/batchRequest.d.ts.map +1 -0
- package/dist/model/batchWriteParams.d.ts +8 -0
- package/dist/model/batchWriteParams.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +209 -65
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/destination.d.ts +1 -0
- package/dist/model/destination.d.ts.map +1 -1
- package/dist/model/destinationCreate.d.ts +1 -0
- package/dist/model/destinationCreate.d.ts.map +1 -1
- package/dist/model/destinationInput.d.ts +1 -2
- package/dist/model/destinationInput.d.ts.map +1 -1
- package/dist/model/destinationUpdate.d.ts +1 -0
- package/dist/model/destinationUpdate.d.ts.map +1 -1
- package/dist/model/dockerStreams.d.ts +13 -0
- package/dist/model/dockerStreams.d.ts.map +1 -0
- package/dist/model/dockerStreamsInput.d.ts +8 -0
- package/dist/model/dockerStreamsInput.d.ts.map +1 -0
- package/dist/model/dockerStreamsSyncMode.d.ts +5 -0
- package/dist/model/dockerStreamsSyncMode.d.ts.map +1 -0
- package/dist/model/entityType.d.ts +5 -0
- package/dist/model/entityType.d.ts.map +1 -0
- package/dist/model/generateTransformationCodePayload.d.ts +6 -0
- package/dist/model/generateTransformationCodePayload.d.ts.map +1 -0
- package/dist/model/generateTransformationCodeResponse.d.ts +4 -0
- package/dist/model/generateTransformationCodeResponse.d.ts.map +1 -0
- package/dist/model/index.d.ts +19 -5
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/listTasksResponseV1.d.ts +10 -0
- package/dist/model/listTasksResponseV1.d.ts.map +1 -0
- package/dist/model/model.d.ts +8 -0
- package/dist/model/model.d.ts.map +1 -0
- package/dist/model/runSourcePayload.d.ts +17 -0
- package/dist/model/runSourcePayload.d.ts.map +1 -0
- package/dist/model/runSourceResponse.d.ts +11 -0
- package/dist/model/runSourceResponse.d.ts.map +1 -0
- package/dist/model/sourceUpdateShopify.d.ts +2 -26
- package/dist/model/sourceUpdateShopify.d.ts.map +1 -1
- package/dist/model/{streamingUtilsInput.d.ts → streamingInput.d.ts} +2 -2
- package/dist/model/streamingInput.d.ts.map +1 -0
- package/dist/model/task.d.ts +12 -2
- package/dist/model/task.d.ts.map +1 -1
- package/dist/model/taskCreate.d.ts +4 -2
- package/dist/model/taskCreate.d.ts.map +1 -1
- package/dist/model/taskCreateV1.d.ts +32 -0
- package/dist/model/taskCreateV1.d.ts.map +1 -0
- package/dist/model/taskInput.d.ts +3 -4
- package/dist/model/taskInput.d.ts.map +1 -1
- package/dist/model/taskUpdate.d.ts +4 -2
- package/dist/model/taskUpdate.d.ts.map +1 -1
- package/dist/model/taskUpdateV1.d.ts +22 -0
- package/dist/model/taskUpdateV1.d.ts.map +1 -0
- package/dist/model/taskV1.d.ts +44 -0
- package/dist/model/taskV1.d.ts.map +1 -0
- package/dist/model/transformation.d.ts +5 -1
- package/dist/model/transformation.d.ts.map +1 -1
- package/dist/model/transformationCreate.d.ts +5 -1
- package/dist/model/transformationCreate.d.ts.map +1 -1
- package/dist/model/{transformationTryResponseError.d.ts → transformationError.d.ts} +2 -2
- package/dist/model/transformationError.d.ts.map +1 -0
- package/dist/model/transformationModels.d.ts +8 -0
- package/dist/model/transformationModels.d.ts.map +1 -0
- package/dist/model/transformationSearch.d.ts +1 -1
- package/dist/model/transformationSearch.d.ts.map +1 -1
- package/dist/model/transformationTry.d.ts +2 -0
- package/dist/model/transformationTry.d.ts.map +1 -1
- package/dist/model/transformationTryResponse.d.ts +2 -2
- package/dist/model/transformationTryResponse.d.ts.map +1 -1
- package/dist/src/ingestionClient.d.ts +276 -93
- package/dist/src/ingestionClient.d.ts.map +1 -1
- package/model/action.ts +13 -0
- package/model/batchRequest.ts +12 -0
- package/model/{destinationIndexPrefix.ts → batchWriteParams.ts} +7 -5
- package/model/clientMethodProps.ts +224 -70
- package/model/destination.ts +2 -0
- package/model/destinationCreate.ts +2 -0
- package/model/destinationInput.ts +1 -2
- package/model/destinationUpdate.ts +2 -0
- package/model/dockerStreams.ts +17 -0
- package/model/dockerStreamsInput.ts +10 -0
- package/model/dockerStreamsSyncMode.ts +6 -0
- package/model/entityType.ts +6 -0
- package/model/generateTransformationCodePayload.ts +9 -0
- package/model/generateTransformationCodeResponse.ts +5 -0
- package/model/index.ts +19 -5
- package/model/listTasksResponseV1.ts +13 -0
- package/model/model.ts +13 -0
- package/model/runSourcePayload.ts +22 -0
- package/model/runSourceResponse.ts +13 -0
- package/model/sourceUpdateShopify.ts +2 -32
- package/model/{streamingUtilsInput.ts → streamingInput.ts} +1 -1
- package/model/task.ts +14 -2
- package/model/taskCreate.ts +5 -3
- package/model/taskCreateV1.ts +41 -0
- package/model/taskInput.ts +3 -8
- package/model/taskUpdate.ts +4 -2
- package/model/taskUpdateV1.ts +28 -0
- package/model/taskV1.ts +56 -0
- package/model/transformation.ts +6 -1
- package/model/transformationCreate.ts +6 -1
- package/model/{transformationTryResponseError.ts → transformationError.ts} +1 -1
- package/model/transformationModels.ts +10 -0
- package/model/transformationSearch.ts +1 -1
- package/model/transformationTry.ts +4 -0
- package/model/transformationTryResponse.ts +2 -2
- package/package.json +7 -7
- package/dist/model/destinationIndexPrefix.d.ts +0 -7
- package/dist/model/destinationIndexPrefix.d.ts.map +0 -1
- package/dist/model/onDemandDateUtilsInput.d.ts +0 -16
- package/dist/model/onDemandDateUtilsInput.d.ts.map +0 -1
- package/dist/model/scheduleDateUtilsInput.d.ts +0 -12
- package/dist/model/scheduleDateUtilsInput.d.ts.map +0 -1
- package/dist/model/streamingUtilsInput.d.ts.map +0 -1
- package/dist/model/transformationTryResponseError.d.ts.map +0 -1
- package/model/onDemandDateUtilsInput.ts +0 -20
- package/model/scheduleDateUtilsInput.ts +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationCreate.d.ts","sourceRoot":"","sources":["../../model/destinationCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,eAAe,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationCreate.d.ts","sourceRoot":"","sources":["../../model/destinationCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,eAAe,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { DestinationIndexName } from './destinationIndexName';
|
|
2
|
-
|
|
3
|
-
export type DestinationInput = DestinationIndexName | DestinationIndexPrefix;
|
|
2
|
+
export type DestinationInput = DestinationIndexName;
|
|
4
3
|
//# sourceMappingURL=destinationInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationInput.d.ts","sourceRoot":"","sources":["../../model/destinationInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationInput.d.ts","sourceRoot":"","sources":["../../model/destinationInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationUpdate.d.ts","sourceRoot":"","sources":["../../model/destinationUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationUpdate.d.ts","sourceRoot":"","sources":["../../model/destinationUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DockerStreamsSyncMode } from './dockerStreamsSyncMode';
|
|
2
|
+
export type DockerStreams = {
|
|
3
|
+
/**
|
|
4
|
+
* The name of the stream to fetch the data from (e.g. Table name).
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* The properties of the stream to select (e.g. Column).
|
|
9
|
+
*/
|
|
10
|
+
properties?: string[];
|
|
11
|
+
syncMode: DockerStreamsSyncMode;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=dockerStreams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dockerStreams.d.ts","sourceRoot":"","sources":["../../model/dockerStreams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB,QAAQ,EAAE,qBAAqB,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dockerStreamsInput.d.ts","sourceRoot":"","sources":["../../model/dockerStreamsInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,aAAa,EAAE,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dockerStreamsSyncMode.d.ts","sourceRoot":"","sources":["../../model/dockerStreamsSyncMode.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entityType.d.ts","sourceRoot":"","sources":["../../model/entityType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateTransformationCodePayload.d.ts","sourceRoot":"","sources":["../../model/generateTransformationCodePayload.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,EAAE,MAAM,CAAC;IAEX,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateTransformationCodeResponse.d.ts","sourceRoot":"","sources":["../../model/generateTransformationCodeResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kCAAkC,GAAG;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './action';
|
|
1
2
|
export * from './actionType';
|
|
2
3
|
export * from './authAPIKey';
|
|
3
4
|
export * from './authAPIKeyPartial';
|
|
@@ -21,6 +22,8 @@ export * from './authenticationSortKeys';
|
|
|
21
22
|
export * from './authenticationType';
|
|
22
23
|
export * from './authenticationUpdate';
|
|
23
24
|
export * from './authenticationUpdateResponse';
|
|
25
|
+
export * from './batchRequest';
|
|
26
|
+
export * from './batchWriteParams';
|
|
24
27
|
export * from './bigCommerceChannel';
|
|
25
28
|
export * from './bigCommerceMetafield';
|
|
26
29
|
export * from './bigQueryDataType';
|
|
@@ -30,7 +33,6 @@ export * from './destination';
|
|
|
30
33
|
export * from './destinationCreate';
|
|
31
34
|
export * from './destinationCreateResponse';
|
|
32
35
|
export * from './destinationIndexName';
|
|
33
|
-
export * from './destinationIndexPrefix';
|
|
34
36
|
export * from './destinationInput';
|
|
35
37
|
export * from './destinationSearch';
|
|
36
38
|
export * from './destinationSortKeys';
|
|
@@ -39,16 +41,23 @@ export * from './destinationUpdate';
|
|
|
39
41
|
export * from './destinationUpdateResponse';
|
|
40
42
|
export * from './dockerImageType';
|
|
41
43
|
export * from './dockerRegistry';
|
|
44
|
+
export * from './dockerStreams';
|
|
45
|
+
export * from './dockerStreamsInput';
|
|
46
|
+
export * from './dockerStreamsSyncMode';
|
|
47
|
+
export * from './entityType';
|
|
42
48
|
export * from './errorBase';
|
|
43
49
|
export * from './event';
|
|
44
50
|
export * from './eventSortKeys';
|
|
45
51
|
export * from './eventStatus';
|
|
46
52
|
export * from './eventType';
|
|
53
|
+
export * from './generateTransformationCodePayload';
|
|
54
|
+
export * from './generateTransformationCodeResponse';
|
|
47
55
|
export * from './listAuthenticationsResponse';
|
|
48
56
|
export * from './listDestinationsResponse';
|
|
49
57
|
export * from './listEventsResponse';
|
|
50
58
|
export * from './listSourcesResponse';
|
|
51
59
|
export * from './listTasksResponse';
|
|
60
|
+
export * from './listTasksResponseV1';
|
|
52
61
|
export * from './listTransformationsResponse';
|
|
53
62
|
export * from './mappingFieldDirective';
|
|
54
63
|
export * from './mappingFormatSchema';
|
|
@@ -56,7 +65,7 @@ export * from './mappingInput';
|
|
|
56
65
|
export * from './mappingKitAction';
|
|
57
66
|
export * from './mappingTypeCSV';
|
|
58
67
|
export * from './methodType';
|
|
59
|
-
export * from './
|
|
68
|
+
export * from './model';
|
|
60
69
|
export * from './onDemandTrigger';
|
|
61
70
|
export * from './onDemandTriggerInput';
|
|
62
71
|
export * from './onDemandTriggerType';
|
|
@@ -73,9 +82,10 @@ export * from './runProgress';
|
|
|
73
82
|
export * from './runReasonCode';
|
|
74
83
|
export * from './runResponse';
|
|
75
84
|
export * from './runSortKeys';
|
|
85
|
+
export * from './runSourcePayload';
|
|
86
|
+
export * from './runSourceResponse';
|
|
76
87
|
export * from './runStatus';
|
|
77
88
|
export * from './runType';
|
|
78
|
-
export * from './scheduleDateUtilsInput';
|
|
79
89
|
export * from './scheduleTrigger';
|
|
80
90
|
export * from './scheduleTriggerInput';
|
|
81
91
|
export * from './scheduleTriggerType';
|
|
@@ -106,27 +116,31 @@ export * from './sourceUpdateInput';
|
|
|
106
116
|
export * from './sourceUpdateResponse';
|
|
107
117
|
export * from './sourceUpdateShopify';
|
|
108
118
|
export * from './sourceWatchResponse';
|
|
119
|
+
export * from './streamingInput';
|
|
109
120
|
export * from './streamingTrigger';
|
|
110
121
|
export * from './streamingTriggerType';
|
|
111
|
-
export * from './streamingUtilsInput';
|
|
112
122
|
export * from './subscriptionTrigger';
|
|
113
123
|
export * from './subscriptionTriggerType';
|
|
114
124
|
export * from './task';
|
|
115
125
|
export * from './taskCreate';
|
|
116
126
|
export * from './taskCreateResponse';
|
|
117
127
|
export * from './taskCreateTrigger';
|
|
128
|
+
export * from './taskCreateV1';
|
|
118
129
|
export * from './taskInput';
|
|
119
130
|
export * from './taskSearch';
|
|
120
131
|
export * from './taskSortKeys';
|
|
121
132
|
export * from './taskUpdate';
|
|
122
133
|
export * from './taskUpdateResponse';
|
|
134
|
+
export * from './taskUpdateV1';
|
|
135
|
+
export * from './taskV1';
|
|
123
136
|
export * from './transformation';
|
|
124
137
|
export * from './transformationCreate';
|
|
125
138
|
export * from './transformationCreateResponse';
|
|
139
|
+
export * from './transformationError';
|
|
140
|
+
export * from './transformationModels';
|
|
126
141
|
export * from './transformationSearch';
|
|
127
142
|
export * from './transformationTry';
|
|
128
143
|
export * from './transformationTryResponse';
|
|
129
|
-
export * from './transformationTryResponseError';
|
|
130
144
|
export * from './transformationUpdateResponse';
|
|
131
145
|
export * from './trigger';
|
|
132
146
|
export * from './triggerType';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names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|
+
import type { TaskV1 } from './taskV1';
|
|
3
|
+
/**
|
|
4
|
+
* Configured tasks and pagination information.
|
|
5
|
+
*/
|
|
6
|
+
export type ListTasksResponseV1 = {
|
|
7
|
+
tasks: TaskV1[];
|
|
8
|
+
pagination: Pagination;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=listTasksResponseV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listTasksResponseV1.d.ts","sourceRoot":"","sources":["../../model/listTasksResponseV1.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAEhB,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../model/model.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,YAAY,EAAE,MAAM,CAAC;IAErB,EAAE,EAAE,MAAM,CAAC;IAEX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { EntityType } from './entityType';
|
|
2
|
+
export type RunSourcePayload = {
|
|
3
|
+
/**
|
|
4
|
+
* List of index names to include in reidexing/update.
|
|
5
|
+
*/
|
|
6
|
+
indexToInclude?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* List of index names to exclude in reidexing/update.
|
|
9
|
+
*/
|
|
10
|
+
indexToExclude?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* List of entityID to update.
|
|
13
|
+
*/
|
|
14
|
+
entityIDs?: string[];
|
|
15
|
+
entityType?: EntityType;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=runSourcePayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runSourcePayload.d.ts","sourceRoot":"","sources":["../../model/runSourcePayload.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type RunSourceResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* Map of taskID sent for reindex with the corresponding runID.
|
|
4
|
+
*/
|
|
5
|
+
taskWithRunID: Record<string, string>;
|
|
6
|
+
/**
|
|
7
|
+
* Date of creation in RFC 3339 format.
|
|
8
|
+
*/
|
|
9
|
+
createdAt: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=runSourceResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runSourceResponse.d.ts","sourceRoot":"","sources":["../../model/runSourceResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,31 +1,7 @@
|
|
|
1
1
|
export type SourceUpdateShopify = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Feature flags for the Shopify source.
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Whether to increase the number of indexed collections per product. If true, Algolia indexes 200 collections per product. If false, 100 collections per product are indexed.
|
|
8
|
-
*/
|
|
9
|
-
increaseProductCollectionLimit?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to set the default price ratio to 1 if no sale price is present. The price ratio is determined by the ratio: `sale_price` / `regular_price`. If no sale price is present, the price ratio would be 0. If `defaultPriceRatioAsOne` is true, the price ratio is indexed as 1 instead.
|
|
12
|
-
*/
|
|
13
|
-
defaultPriceRatioAsOne?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Whether to exclude out-of-stock variants when determining the `max_variant_price` and `min_variant_price` attributes.
|
|
16
|
-
*/
|
|
17
|
-
excludeOOSVariantsForPriceAtTRS?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Whether to include an inventory with every variant for every product record.
|
|
20
|
-
*/
|
|
21
|
-
includeVariantsInventory?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Whether to include collection IDs and handles in the product records.
|
|
24
|
-
*/
|
|
25
|
-
hasCollectionSearchPage?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Whether to convert tags on products to named tags. To learn more, see [Named tags](https://www.algolia.com/doc/integration/shopify/sending-and-managing-data/named-tags).
|
|
28
|
-
*/
|
|
29
|
-
productNamedTags?: boolean;
|
|
5
|
+
featureFlags?: Record<string, any>;
|
|
30
6
|
};
|
|
31
7
|
//# sourceMappingURL=sourceUpdateShopify.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sourceUpdateShopify.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateShopify.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"sourceUpdateShopify.d.ts","sourceRoot":"","sources":["../../model/sourceUpdateShopify.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACpC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { MappingInput } from './mappingInput';
|
|
|
2
2
|
/**
|
|
3
3
|
* Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
5
|
+
export type StreamingInput = {
|
|
6
6
|
mapping: MappingInput;
|
|
7
7
|
};
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=streamingInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamingInput.d.ts","sourceRoot":"","sources":["../../model/streamingInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,CAAC;CACvB,CAAC"}
|
package/dist/model/task.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ActionType } from './actionType';
|
|
2
2
|
import type { TaskInput } from './taskInput';
|
|
3
|
-
import type { Trigger } from './trigger';
|
|
4
3
|
export type Task = {
|
|
5
4
|
/**
|
|
6
5
|
* Universally unique identifier (UUID) of a task.
|
|
@@ -14,7 +13,18 @@ export type Task = {
|
|
|
14
13
|
* Universally unique identifier (UUID) of a destination resource.
|
|
15
14
|
*/
|
|
16
15
|
destinationID: string;
|
|
17
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Cron expression for the task\'s schedule.
|
|
18
|
+
*/
|
|
19
|
+
cron?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The last time the scheduled task ran in RFC 3339 format.
|
|
22
|
+
*/
|
|
23
|
+
lastRun?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The next scheduled run of the task in RFC 3339 format.
|
|
26
|
+
*/
|
|
27
|
+
nextRun?: string;
|
|
18
28
|
input?: TaskInput;
|
|
19
29
|
/**
|
|
20
30
|
* Whether the task is enabled.
|
package/dist/model/task.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../model/task.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../model/task.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ActionType } from './actionType';
|
|
2
|
-
import type { TaskCreateTrigger } from './taskCreateTrigger';
|
|
3
2
|
import type { TaskInput } from './taskInput';
|
|
4
3
|
/**
|
|
5
4
|
* API request body for creating a task.
|
|
@@ -13,8 +12,11 @@ export type TaskCreate = {
|
|
|
13
12
|
* Universally unique identifier (UUID) of a destination resource.
|
|
14
13
|
*/
|
|
15
14
|
destinationID: string;
|
|
16
|
-
trigger: TaskCreateTrigger;
|
|
17
15
|
action: ActionType;
|
|
16
|
+
/**
|
|
17
|
+
* Cron expression for the task\'s schedule.
|
|
18
|
+
*/
|
|
19
|
+
cron?: string;
|
|
18
20
|
/**
|
|
19
21
|
* Whether the task is enabled.
|
|
20
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskCreate.d.ts","sourceRoot":"","sources":["../../model/taskCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"taskCreate.d.ts","sourceRoot":"","sources":["../../model/taskCreate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ActionType } from './actionType';
|
|
2
|
+
import type { TaskCreateTrigger } from './taskCreateTrigger';
|
|
3
|
+
import type { TaskInput } from './taskInput';
|
|
4
|
+
/**
|
|
5
|
+
* API request body for creating a task using the V1 shape, please use methods and types that don\'t contain the V1 suffix.
|
|
6
|
+
*/
|
|
7
|
+
export type TaskCreateV1 = {
|
|
8
|
+
/**
|
|
9
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
10
|
+
*/
|
|
11
|
+
sourceID: string;
|
|
12
|
+
/**
|
|
13
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
14
|
+
*/
|
|
15
|
+
destinationID: string;
|
|
16
|
+
trigger: TaskCreateTrigger;
|
|
17
|
+
action: ActionType;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the task is enabled.
|
|
20
|
+
*/
|
|
21
|
+
enabled?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
24
|
+
*/
|
|
25
|
+
failureThreshold?: number;
|
|
26
|
+
input?: TaskInput;
|
|
27
|
+
/**
|
|
28
|
+
* Date of the last cursor in RFC 3339 format.
|
|
29
|
+
*/
|
|
30
|
+
cursor?: string;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=taskCreateV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskCreateV1.d.ts","sourceRoot":"","sources":["../../model/taskCreateV1.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,iBAAiB,CAAC;IAE3B,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ScheduleDateUtilsInput } from './scheduleDateUtilsInput';
|
|
1
|
+
import type { DockerStreamsInput } from './dockerStreamsInput';
|
|
3
2
|
import type { ShopifyInput } from './shopifyInput';
|
|
4
|
-
import type {
|
|
3
|
+
import type { StreamingInput } from './streamingInput';
|
|
5
4
|
/**
|
|
6
5
|
* Configuration of the task, depending on its type.
|
|
7
6
|
*/
|
|
8
|
-
export type TaskInput =
|
|
7
|
+
export type TaskInput = DockerStreamsInput | ShopifyInput | StreamingInput;
|
|
9
8
|
//# sourceMappingURL=taskInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskInput.d.ts","sourceRoot":"","sources":["../../model/taskInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"taskInput.d.ts","sourceRoot":"","sources":["../../model/taskInput.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,kBAAkB,GAAG,YAAY,GAAG,cAAc,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { TaskInput } from './taskInput';
|
|
2
|
-
import type { TriggerUpdateInput } from './triggerUpdateInput';
|
|
3
2
|
/**
|
|
4
3
|
* API request body for updating a task.
|
|
5
4
|
*/
|
|
@@ -8,7 +7,10 @@ export type TaskUpdate = {
|
|
|
8
7
|
* Universally unique identifier (UUID) of a destination resource.
|
|
9
8
|
*/
|
|
10
9
|
destinationID?: string;
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Cron expression for the task\'s schedule.
|
|
12
|
+
*/
|
|
13
|
+
cron?: string;
|
|
12
14
|
input?: TaskInput;
|
|
13
15
|
/**
|
|
14
16
|
* Whether the task is enabled.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taskUpdate.d.ts","sourceRoot":"","sources":["../../model/taskUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"taskUpdate.d.ts","sourceRoot":"","sources":["../../model/taskUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TaskInput } from './taskInput';
|
|
2
|
+
import type { TriggerUpdateInput } from './triggerUpdateInput';
|
|
3
|
+
/**
|
|
4
|
+
* API request body for updating a task using the V1 shape, please use methods and types that don\'t contain the V1 suffix.
|
|
5
|
+
*/
|
|
6
|
+
export type TaskUpdateV1 = {
|
|
7
|
+
/**
|
|
8
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
9
|
+
*/
|
|
10
|
+
destinationID?: string;
|
|
11
|
+
trigger?: TriggerUpdateInput;
|
|
12
|
+
input?: TaskInput;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the task is enabled.
|
|
15
|
+
*/
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
19
|
+
*/
|
|
20
|
+
failureThreshold?: number;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=taskUpdateV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskUpdateV1.d.ts","sourceRoot":"","sources":["../../model/taskUpdateV1.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ActionType } from './actionType';
|
|
2
|
+
import type { TaskInput } from './taskInput';
|
|
3
|
+
import type { Trigger } from './trigger';
|
|
4
|
+
/**
|
|
5
|
+
* The V1 task object, please use methods and types that don\'t contain the V1 suffix.
|
|
6
|
+
*/
|
|
7
|
+
export type TaskV1 = {
|
|
8
|
+
/**
|
|
9
|
+
* Universally unique identifier (UUID) of a task.
|
|
10
|
+
*/
|
|
11
|
+
taskID: string;
|
|
12
|
+
/**
|
|
13
|
+
* Universally uniqud identifier (UUID) of a source.
|
|
14
|
+
*/
|
|
15
|
+
sourceID: string;
|
|
16
|
+
/**
|
|
17
|
+
* Universally unique identifier (UUID) of a destination resource.
|
|
18
|
+
*/
|
|
19
|
+
destinationID: string;
|
|
20
|
+
trigger: Trigger;
|
|
21
|
+
input?: TaskInput;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the task is enabled.
|
|
24
|
+
*/
|
|
25
|
+
enabled: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Maximum accepted percentage of failures for a task run to finish successfully.
|
|
28
|
+
*/
|
|
29
|
+
failureThreshold?: number;
|
|
30
|
+
action: ActionType;
|
|
31
|
+
/**
|
|
32
|
+
* Date of the last cursor in RFC 3339 format.
|
|
33
|
+
*/
|
|
34
|
+
cursor?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Date of creation in RFC 3339 format.
|
|
37
|
+
*/
|
|
38
|
+
createdAt: string;
|
|
39
|
+
/**
|
|
40
|
+
* Date of last update in RFC 3339 format.
|
|
41
|
+
*/
|
|
42
|
+
updatedAt?: string;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=taskV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskV1.d.ts","sourceRoot":"","sources":["../../model/taskV1.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,OAAO,CAAC;IAEjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -3,6 +3,10 @@ export type Transformation = {
|
|
|
3
3
|
* Universally unique identifier (UUID) of a transformation.
|
|
4
4
|
*/
|
|
5
5
|
transformationID: string;
|
|
6
|
+
/**
|
|
7
|
+
* The authentications associated for the current transformation.
|
|
8
|
+
*/
|
|
9
|
+
authenticationIDs?: string[];
|
|
6
10
|
/**
|
|
7
11
|
* The source code of the transformation.
|
|
8
12
|
*/
|
|
@@ -14,7 +18,7 @@ export type Transformation = {
|
|
|
14
18
|
/**
|
|
15
19
|
* A descriptive name for your transformation of what it does.
|
|
16
20
|
*/
|
|
17
|
-
description
|
|
21
|
+
description?: string;
|
|
18
22
|
/**
|
|
19
23
|
* Date of creation in RFC 3339 format.
|
|
20
24
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformation.d.ts","sourceRoot":"","sources":["../../model/transformation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"transformation.d.ts","sourceRoot":"","sources":["../../model/transformation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -13,6 +13,10 @@ export type TransformationCreate = {
|
|
|
13
13
|
/**
|
|
14
14
|
* A descriptive name for your transformation of what it does.
|
|
15
15
|
*/
|
|
16
|
-
description
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The authentications associated for the current transformation.
|
|
19
|
+
*/
|
|
20
|
+
authenticationIDs?: string[];
|
|
17
21
|
};
|
|
18
22
|
//# sourceMappingURL=transformationCreate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformationCreate.d.ts","sourceRoot":"","sources":["../../model/transformationCreate.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"transformationCreate.d.ts","sourceRoot":"","sources":["../../model/transformationCreate.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC"}
|