@algolia/ingestion 1.0.0-alpha.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/dist/builds/browser.d.ts +6 -0
- package/dist/builds/browser.d.ts.map +1 -0
- package/dist/builds/node.d.ts +6 -0
- package/dist/builds/node.d.ts.map +1 -0
- package/dist/ingestion.cjs.js +815 -0
- package/dist/ingestion.esm.browser.js +1450 -0
- package/dist/ingestion.esm.node.js +810 -0
- package/dist/ingestion.umd.js +2 -0
- package/dist/model/actionType.d.ts +2 -0
- package/dist/model/actionType.d.ts.map +1 -0
- package/dist/model/authAPIKey.d.ts +4 -0
- package/dist/model/authAPIKey.d.ts.map +1 -0
- package/dist/model/authAlgolia.d.ts +5 -0
- package/dist/model/authAlgolia.d.ts.map +1 -0
- package/dist/model/authBasic.d.ts +5 -0
- package/dist/model/authBasic.d.ts.map +1 -0
- package/dist/model/authGoogleServiceAccount.d.ts +5 -0
- package/dist/model/authGoogleServiceAccount.d.ts.map +1 -0
- package/dist/model/authInput.d.ts +7 -0
- package/dist/model/authInput.d.ts.map +1 -0
- package/dist/model/authOAuth.d.ts +7 -0
- package/dist/model/authOAuth.d.ts.map +1 -0
- package/dist/model/authentication.d.ts +19 -0
- package/dist/model/authentication.d.ts.map +1 -0
- package/dist/model/authenticationCreate.d.ts +10 -0
- package/dist/model/authenticationCreate.d.ts.map +1 -0
- package/dist/model/authenticationCreateResponse.d.ts +9 -0
- package/dist/model/authenticationCreateResponse.d.ts.map +1 -0
- package/dist/model/authenticationType.d.ts +2 -0
- package/dist/model/authenticationType.d.ts.map +1 -0
- package/dist/model/authenticationUpdate.d.ts +10 -0
- package/dist/model/authenticationUpdate.d.ts.map +1 -0
- package/dist/model/authenticationUpdateResponse.d.ts +9 -0
- package/dist/model/authenticationUpdateResponse.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +265 -0
- package/dist/model/clientMethodProps.d.ts.map +1 -0
- package/dist/model/deleteResponse.d.ts +7 -0
- package/dist/model/deleteResponse.d.ts.map +1 -0
- package/dist/model/destination.d.ts +18 -0
- package/dist/model/destination.d.ts.map +1 -0
- package/dist/model/destinationCreate.d.ts +9 -0
- package/dist/model/destinationCreate.d.ts.map +1 -0
- package/dist/model/destinationCreateResponse.d.ts +9 -0
- package/dist/model/destinationCreateResponse.d.ts.map +1 -0
- package/dist/model/destinationIndexName.d.ts +4 -0
- package/dist/model/destinationIndexName.d.ts.map +1 -0
- package/dist/model/destinationIndexPrefix.d.ts +4 -0
- package/dist/model/destinationIndexPrefix.d.ts.map +1 -0
- package/dist/model/destinationInput.d.ts +4 -0
- package/dist/model/destinationInput.d.ts.map +1 -0
- package/dist/model/destinationType.d.ts +2 -0
- package/dist/model/destinationType.d.ts.map +1 -0
- package/dist/model/destinationUpdate.d.ts +9 -0
- package/dist/model/destinationUpdate.d.ts.map +1 -0
- package/dist/model/destinationUpdateResponse.d.ts +9 -0
- package/dist/model/destinationUpdateResponse.d.ts.map +1 -0
- package/dist/model/errorBase.d.ts +7 -0
- package/dist/model/errorBase.d.ts.map +1 -0
- package/dist/model/event.d.ts +15 -0
- package/dist/model/event.d.ts.map +1 -0
- package/dist/model/eventStatus.d.ts +2 -0
- package/dist/model/eventStatus.d.ts.map +1 -0
- package/dist/model/eventType.d.ts +2 -0
- package/dist/model/eventType.d.ts.map +1 -0
- package/dist/model/index.d.ts +59 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/listAuthenticationsResponse.d.ts +7 -0
- package/dist/model/listAuthenticationsResponse.d.ts.map +1 -0
- package/dist/model/listDestinationsResponse.d.ts +7 -0
- package/dist/model/listDestinationsResponse.d.ts.map +1 -0
- package/dist/model/listEventsResponse.d.ts +7 -0
- package/dist/model/listEventsResponse.d.ts.map +1 -0
- package/dist/model/listSourcesResponse.d.ts +7 -0
- package/dist/model/listSourcesResponse.d.ts.map +1 -0
- package/dist/model/listTasksResponse.d.ts +7 -0
- package/dist/model/listTasksResponse.d.ts.map +1 -0
- package/dist/model/pagination.d.ts +7 -0
- package/dist/model/pagination.d.ts.map +1 -0
- package/dist/model/platformType.d.ts +2 -0
- package/dist/model/platformType.d.ts.map +1 -0
- package/dist/model/run.d.ts +30 -0
- package/dist/model/run.d.ts.map +1 -0
- package/dist/model/runListResponse.d.ts +7 -0
- package/dist/model/runListResponse.d.ts.map +1 -0
- package/dist/model/runOutcome.d.ts +2 -0
- package/dist/model/runOutcome.d.ts.map +1 -0
- package/dist/model/runProgress.d.ts +5 -0
- package/dist/model/runProgress.d.ts.map +1 -0
- package/dist/model/runResponse.d.ts +8 -0
- package/dist/model/runResponse.d.ts.map +1 -0
- package/dist/model/runStatus.d.ts +2 -0
- package/dist/model/runStatus.d.ts.map +1 -0
- package/dist/model/runType.d.ts +2 -0
- package/dist/model/runType.d.ts.map +1 -0
- package/dist/model/source.d.ts +18 -0
- package/dist/model/source.d.ts.map +1 -0
- package/dist/model/sourceBigCommerce.d.ts +4 -0
- package/dist/model/sourceBigCommerce.d.ts.map +1 -0
- package/dist/model/sourceCommercetools.d.ts +6 -0
- package/dist/model/sourceCommercetools.d.ts.map +1 -0
- package/dist/model/sourceCreate.d.ts +9 -0
- package/dist/model/sourceCreate.d.ts.map +1 -0
- package/dist/model/sourceCreateResponse.d.ts +9 -0
- package/dist/model/sourceCreateResponse.d.ts.map +1 -0
- package/dist/model/sourceInput.d.ts +4 -0
- package/dist/model/sourceInput.d.ts.map +1 -0
- package/dist/model/sourceType.d.ts +2 -0
- package/dist/model/sourceType.d.ts.map +1 -0
- package/dist/model/sourceUpdate.d.ts +9 -0
- package/dist/model/sourceUpdate.d.ts.map +1 -0
- package/dist/model/sourceUpdateResponse.d.ts +9 -0
- package/dist/model/sourceUpdateResponse.d.ts.map +1 -0
- package/dist/model/task.d.ts +21 -0
- package/dist/model/task.d.ts.map +1 -0
- package/dist/model/taskCreate.d.ts +10 -0
- package/dist/model/taskCreate.d.ts.map +1 -0
- package/dist/model/taskCreateResponse.d.ts +8 -0
- package/dist/model/taskCreateResponse.d.ts.map +1 -0
- package/dist/model/taskUpdate.d.ts +7 -0
- package/dist/model/taskUpdate.d.ts.map +1 -0
- package/dist/model/taskUpdateResponse.d.ts +8 -0
- package/dist/model/taskUpdateResponse.d.ts.map +1 -0
- package/dist/model/trigger.d.ts +6 -0
- package/dist/model/trigger.d.ts.map +1 -0
- package/dist/model/triggerType.d.ts +2 -0
- package/dist/model/triggerType.d.ts.map +1 -0
- package/dist/src/ingestionClient.d.ts +322 -0
- package/dist/src/ingestionClient.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/model/actionType.ts +3 -0
- package/model/authAPIKey.ts +5 -0
- package/model/authAlgolia.ts +7 -0
- package/model/authBasic.ts +7 -0
- package/model/authGoogleServiceAccount.ts +7 -0
- package/model/authInput.ts +14 -0
- package/model/authOAuth.ts +11 -0
- package/model/authentication.ts +27 -0
- package/model/authenticationCreate.ts +15 -0
- package/model/authenticationCreateResponse.ts +12 -0
- package/model/authenticationType.ts +8 -0
- package/model/authenticationUpdate.ts +15 -0
- package/model/authenticationUpdateResponse.ts +12 -0
- package/model/clientMethodProps.ts +290 -0
- package/model/deleteResponse.ts +8 -0
- package/model/destination.ts +26 -0
- package/model/destinationCreate.ts +14 -0
- package/model/destinationCreateResponse.ts +12 -0
- package/model/destinationIndexName.ts +5 -0
- package/model/destinationIndexPrefix.ts +5 -0
- package/model/destinationInput.ts +6 -0
- package/model/destinationType.ts +3 -0
- package/model/destinationUpdate.ts +14 -0
- package/model/destinationUpdateResponse.ts +12 -0
- package/model/errorBase.ts +8 -0
- package/model/event.ts +23 -0
- package/model/eventStatus.ts +8 -0
- package/model/eventType.ts +3 -0
- package/model/index.ts +60 -0
- package/model/listAuthenticationsResponse.ts +10 -0
- package/model/listDestinationsResponse.ts +10 -0
- package/model/listEventsResponse.ts +10 -0
- package/model/listSourcesResponse.ts +10 -0
- package/model/listTasksResponse.ts +10 -0
- package/model/pagination.ts +11 -0
- package/model/platformType.ts +3 -0
- package/model/run.ts +42 -0
- package/model/runListResponse.ts +10 -0
- package/model/runOutcome.ts +3 -0
- package/model/runProgress.ts +7 -0
- package/model/runResponse.ts +10 -0
- package/model/runStatus.ts +3 -0
- package/model/runType.ts +3 -0
- package/model/source.ts +26 -0
- package/model/sourceBigCommerce.ts +5 -0
- package/model/sourceCommercetools.ts +9 -0
- package/model/sourceCreate.ts +14 -0
- package/model/sourceCreateResponse.ts +12 -0
- package/model/sourceInput.ts +6 -0
- package/model/sourceType.ts +3 -0
- package/model/sourceUpdate.ts +14 -0
- package/model/sourceUpdateResponse.ts +12 -0
- package/model/task.ts +32 -0
- package/model/taskCreate.ts +16 -0
- package/model/taskCreateResponse.ts +10 -0
- package/model/taskUpdate.ts +11 -0
- package/model/taskUpdateResponse.ts +10 -0
- package/model/trigger.ts +9 -0
- package/model/triggerType.ts +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { AuthenticationUpdate } from './authenticationUpdate';
|
|
4
|
+
import type { DestinationUpdate } from './destinationUpdate';
|
|
5
|
+
import type { SourceUpdate } from './sourceUpdate';
|
|
6
|
+
import type { TaskUpdate } from './taskUpdate';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Properties for the `deleteAuthentication` method.
|
|
10
|
+
*/
|
|
11
|
+
export type DeleteAuthenticationProps = {
|
|
12
|
+
/**
|
|
13
|
+
* The authentication uuid.
|
|
14
|
+
*/
|
|
15
|
+
authenticationID: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Properties for the `deleteDestination` method.
|
|
20
|
+
*/
|
|
21
|
+
export type DeleteDestinationProps = {
|
|
22
|
+
/**
|
|
23
|
+
* The destination uuid.
|
|
24
|
+
*/
|
|
25
|
+
destinationID: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Properties for the `deleteSource` method.
|
|
30
|
+
*/
|
|
31
|
+
export type DeleteSourceProps = {
|
|
32
|
+
/**
|
|
33
|
+
* The source uuid.
|
|
34
|
+
*/
|
|
35
|
+
sourceID: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Properties for the `deleteTask` method.
|
|
40
|
+
*/
|
|
41
|
+
export type DeleteTaskProps = {
|
|
42
|
+
/**
|
|
43
|
+
* The task uuid.
|
|
44
|
+
*/
|
|
45
|
+
taskID: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Properties for the `disableTask` method.
|
|
50
|
+
*/
|
|
51
|
+
export type DisableTaskProps = {
|
|
52
|
+
/**
|
|
53
|
+
* The task uuid.
|
|
54
|
+
*/
|
|
55
|
+
taskID: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Properties for the `enableTask` method.
|
|
60
|
+
*/
|
|
61
|
+
export type EnableTaskProps = {
|
|
62
|
+
/**
|
|
63
|
+
* The task uuid.
|
|
64
|
+
*/
|
|
65
|
+
taskID: string;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Properties for the `getAuthentication` method.
|
|
70
|
+
*/
|
|
71
|
+
export type GetAuthenticationProps = {
|
|
72
|
+
/**
|
|
73
|
+
* The authentication uuid.
|
|
74
|
+
*/
|
|
75
|
+
authenticationID: string;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Properties for the `getAuthentications` method.
|
|
80
|
+
*/
|
|
81
|
+
export type GetAuthenticationsProps = {
|
|
82
|
+
/**
|
|
83
|
+
* The number of items per page to return.
|
|
84
|
+
*/
|
|
85
|
+
itemsPerPage?: number;
|
|
86
|
+
/**
|
|
87
|
+
* The page number to fetch, starting at 1.
|
|
88
|
+
*/
|
|
89
|
+
page?: number;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Properties for the `getDestination` method.
|
|
94
|
+
*/
|
|
95
|
+
export type GetDestinationProps = {
|
|
96
|
+
/**
|
|
97
|
+
* The destination uuid.
|
|
98
|
+
*/
|
|
99
|
+
destinationID: string;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Properties for the `getDestinations` method.
|
|
104
|
+
*/
|
|
105
|
+
export type GetDestinationsProps = {
|
|
106
|
+
/**
|
|
107
|
+
* The number of items per page to return.
|
|
108
|
+
*/
|
|
109
|
+
itemsPerPage?: number;
|
|
110
|
+
/**
|
|
111
|
+
* The page number to fetch, starting at 1.
|
|
112
|
+
*/
|
|
113
|
+
page?: number;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Properties for the `getEvent` method.
|
|
118
|
+
*/
|
|
119
|
+
export type GetEventProps = {
|
|
120
|
+
/**
|
|
121
|
+
* The run uuid.
|
|
122
|
+
*/
|
|
123
|
+
runID: string;
|
|
124
|
+
/**
|
|
125
|
+
* The event uuid.
|
|
126
|
+
*/
|
|
127
|
+
eventID: string;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Properties for the `getEvents` method.
|
|
132
|
+
*/
|
|
133
|
+
export type GetEventsProps = {
|
|
134
|
+
/**
|
|
135
|
+
* The run uuid.
|
|
136
|
+
*/
|
|
137
|
+
runID: string;
|
|
138
|
+
/**
|
|
139
|
+
* The number of items per page to return.
|
|
140
|
+
*/
|
|
141
|
+
itemsPerPage?: number;
|
|
142
|
+
/**
|
|
143
|
+
* The page number to fetch, starting at 1.
|
|
144
|
+
*/
|
|
145
|
+
page?: number;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Properties for the `getRun` method.
|
|
150
|
+
*/
|
|
151
|
+
export type GetRunProps = {
|
|
152
|
+
/**
|
|
153
|
+
* The run uuid.
|
|
154
|
+
*/
|
|
155
|
+
runID: string;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Properties for the `getRuns` method.
|
|
160
|
+
*/
|
|
161
|
+
export type GetRunsProps = {
|
|
162
|
+
/**
|
|
163
|
+
* The number of items per page to return.
|
|
164
|
+
*/
|
|
165
|
+
itemsPerPage?: number;
|
|
166
|
+
/**
|
|
167
|
+
* The page number to fetch, starting at 1.
|
|
168
|
+
*/
|
|
169
|
+
page?: number;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Properties for the `getRunsByTaskID` method.
|
|
174
|
+
*/
|
|
175
|
+
export type GetRunsByTaskIDProps = {
|
|
176
|
+
/**
|
|
177
|
+
* The task uuid.
|
|
178
|
+
*/
|
|
179
|
+
taskID: string;
|
|
180
|
+
/**
|
|
181
|
+
* The number of items per page to return.
|
|
182
|
+
*/
|
|
183
|
+
itemsPerPage?: number;
|
|
184
|
+
/**
|
|
185
|
+
* The page number to fetch, starting at 1.
|
|
186
|
+
*/
|
|
187
|
+
page?: number;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Properties for the `getSource` method.
|
|
192
|
+
*/
|
|
193
|
+
export type GetSourceProps = {
|
|
194
|
+
/**
|
|
195
|
+
* The source uuid.
|
|
196
|
+
*/
|
|
197
|
+
sourceID: string;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Properties for the `getSources` method.
|
|
202
|
+
*/
|
|
203
|
+
export type GetSourcesProps = {
|
|
204
|
+
/**
|
|
205
|
+
* The number of items per page to return.
|
|
206
|
+
*/
|
|
207
|
+
itemsPerPage?: number;
|
|
208
|
+
/**
|
|
209
|
+
* The page number to fetch, starting at 1.
|
|
210
|
+
*/
|
|
211
|
+
page?: number;
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Properties for the `getTask` method.
|
|
216
|
+
*/
|
|
217
|
+
export type GetTaskProps = {
|
|
218
|
+
/**
|
|
219
|
+
* The task uuid.
|
|
220
|
+
*/
|
|
221
|
+
taskID: string;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Properties for the `getTasks` method.
|
|
226
|
+
*/
|
|
227
|
+
export type GetTasksProps = {
|
|
228
|
+
/**
|
|
229
|
+
* The number of items per page to return.
|
|
230
|
+
*/
|
|
231
|
+
itemsPerPage?: number;
|
|
232
|
+
/**
|
|
233
|
+
* The page number to fetch, starting at 1.
|
|
234
|
+
*/
|
|
235
|
+
page?: number;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Properties for the `runTask` method.
|
|
240
|
+
*/
|
|
241
|
+
export type RunTaskProps = {
|
|
242
|
+
/**
|
|
243
|
+
* The task uuid.
|
|
244
|
+
*/
|
|
245
|
+
taskID: string;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Properties for the `updateAuthentication` method.
|
|
250
|
+
*/
|
|
251
|
+
export type UpdateAuthenticationProps = {
|
|
252
|
+
/**
|
|
253
|
+
* The authentication uuid.
|
|
254
|
+
*/
|
|
255
|
+
authenticationID: string;
|
|
256
|
+
authenticationUpdate: AuthenticationUpdate;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Properties for the `updateDestination` method.
|
|
261
|
+
*/
|
|
262
|
+
export type UpdateDestinationProps = {
|
|
263
|
+
/**
|
|
264
|
+
* The destination uuid.
|
|
265
|
+
*/
|
|
266
|
+
destinationID: string;
|
|
267
|
+
destinationUpdate: DestinationUpdate;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Properties for the `updateSource` method.
|
|
272
|
+
*/
|
|
273
|
+
export type UpdateSourceProps = {
|
|
274
|
+
/**
|
|
275
|
+
* The source uuid.
|
|
276
|
+
*/
|
|
277
|
+
sourceID: string;
|
|
278
|
+
sourceUpdate: SourceUpdate;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Properties for the `updateTask` method.
|
|
283
|
+
*/
|
|
284
|
+
export type UpdateTaskProps = {
|
|
285
|
+
/**
|
|
286
|
+
* The task uuid.
|
|
287
|
+
*/
|
|
288
|
+
taskID: string;
|
|
289
|
+
taskUpdate: TaskUpdate;
|
|
290
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { DestinationInput } from './destinationInput';
|
|
4
|
+
import type { DestinationType } from './destinationType';
|
|
5
|
+
|
|
6
|
+
export type Destination = {
|
|
7
|
+
destinationID: string;
|
|
8
|
+
|
|
9
|
+
type: DestinationType;
|
|
10
|
+
|
|
11
|
+
name: string;
|
|
12
|
+
|
|
13
|
+
input: DestinationInput;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Date of creation (RFC3339 format).
|
|
17
|
+
*/
|
|
18
|
+
createdAt: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Date of last update (RFC3339 format).
|
|
22
|
+
*/
|
|
23
|
+
updatedAt?: string;
|
|
24
|
+
|
|
25
|
+
authenticationID: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { DestinationInput } from './destinationInput';
|
|
4
|
+
import type { DestinationType } from './destinationType';
|
|
5
|
+
|
|
6
|
+
export type DestinationCreate = {
|
|
7
|
+
type: DestinationType;
|
|
8
|
+
|
|
9
|
+
name: string;
|
|
10
|
+
|
|
11
|
+
input: DestinationInput;
|
|
12
|
+
|
|
13
|
+
authenticationID: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
export type DestinationCreateResponse = {
|
|
4
|
+
destinationID: string;
|
|
5
|
+
|
|
6
|
+
name: string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Date of creation (RFC3339 format).
|
|
10
|
+
*/
|
|
11
|
+
createdAt: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { DestinationIndexName } from './destinationIndexName';
|
|
4
|
+
import type { DestinationIndexPrefix } from './destinationIndexPrefix';
|
|
5
|
+
|
|
6
|
+
export type DestinationInput = DestinationIndexName | DestinationIndexPrefix;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { DestinationInput } from './destinationInput';
|
|
4
|
+
import type { DestinationType } from './destinationType';
|
|
5
|
+
|
|
6
|
+
export type DestinationUpdate = {
|
|
7
|
+
type?: DestinationType;
|
|
8
|
+
|
|
9
|
+
name?: string;
|
|
10
|
+
|
|
11
|
+
input?: DestinationInput;
|
|
12
|
+
|
|
13
|
+
authenticationID?: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
export type DestinationUpdateResponse = {
|
|
4
|
+
destinationID: string;
|
|
5
|
+
|
|
6
|
+
name: string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Date of last update (RFC3339 format).
|
|
10
|
+
*/
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
};
|
package/model/event.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { EventStatus } from './eventStatus';
|
|
4
|
+
import type { EventType } from './eventType';
|
|
5
|
+
|
|
6
|
+
export type Event = {
|
|
7
|
+
eventID: string;
|
|
8
|
+
|
|
9
|
+
runID: string;
|
|
10
|
+
|
|
11
|
+
parentID?: string;
|
|
12
|
+
|
|
13
|
+
status: EventStatus;
|
|
14
|
+
|
|
15
|
+
type: EventType;
|
|
16
|
+
|
|
17
|
+
data?: Record<string, any>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Date of publish (RFC3339 format).
|
|
21
|
+
*/
|
|
22
|
+
publishedAt: string;
|
|
23
|
+
};
|
package/model/index.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
export * from './actionType';
|
|
4
|
+
export * from './authAPIKey';
|
|
5
|
+
export * from './authAlgolia';
|
|
6
|
+
export * from './authBasic';
|
|
7
|
+
export * from './authGoogleServiceAccount';
|
|
8
|
+
export * from './authInput';
|
|
9
|
+
export * from './authOAuth';
|
|
10
|
+
export * from './authentication';
|
|
11
|
+
export * from './authenticationCreate';
|
|
12
|
+
export * from './authenticationCreateResponse';
|
|
13
|
+
export * from './authenticationType';
|
|
14
|
+
export * from './authenticationUpdate';
|
|
15
|
+
export * from './authenticationUpdateResponse';
|
|
16
|
+
export * from './deleteResponse';
|
|
17
|
+
export * from './destination';
|
|
18
|
+
export * from './destinationCreate';
|
|
19
|
+
export * from './destinationCreateResponse';
|
|
20
|
+
export * from './destinationIndexName';
|
|
21
|
+
export * from './destinationIndexPrefix';
|
|
22
|
+
export * from './destinationInput';
|
|
23
|
+
export * from './destinationType';
|
|
24
|
+
export * from './destinationUpdate';
|
|
25
|
+
export * from './destinationUpdateResponse';
|
|
26
|
+
export * from './errorBase';
|
|
27
|
+
export * from './event';
|
|
28
|
+
export * from './eventStatus';
|
|
29
|
+
export * from './eventType';
|
|
30
|
+
export * from './listAuthenticationsResponse';
|
|
31
|
+
export * from './listDestinationsResponse';
|
|
32
|
+
export * from './listEventsResponse';
|
|
33
|
+
export * from './listSourcesResponse';
|
|
34
|
+
export * from './listTasksResponse';
|
|
35
|
+
export * from './pagination';
|
|
36
|
+
export * from './platformType';
|
|
37
|
+
export * from './run';
|
|
38
|
+
export * from './runListResponse';
|
|
39
|
+
export * from './runOutcome';
|
|
40
|
+
export * from './runProgress';
|
|
41
|
+
export * from './runResponse';
|
|
42
|
+
export * from './runStatus';
|
|
43
|
+
export * from './runType';
|
|
44
|
+
export * from './source';
|
|
45
|
+
export * from './sourceBigCommerce';
|
|
46
|
+
export * from './sourceCommercetools';
|
|
47
|
+
export * from './sourceCreate';
|
|
48
|
+
export * from './sourceCreateResponse';
|
|
49
|
+
export * from './sourceInput';
|
|
50
|
+
export * from './sourceType';
|
|
51
|
+
export * from './sourceUpdate';
|
|
52
|
+
export * from './sourceUpdateResponse';
|
|
53
|
+
export * from './task';
|
|
54
|
+
export * from './taskCreate';
|
|
55
|
+
export * from './taskCreateResponse';
|
|
56
|
+
export * from './taskUpdate';
|
|
57
|
+
export * from './taskUpdateResponse';
|
|
58
|
+
export * from './trigger';
|
|
59
|
+
export * from './triggerType';
|
|
60
|
+
export * from './clientMethodProps';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { Authentication } from './authentication';
|
|
4
|
+
import type { Pagination } from './pagination';
|
|
5
|
+
|
|
6
|
+
export type ListAuthenticationsResponse = {
|
|
7
|
+
authentications: Authentication[];
|
|
8
|
+
|
|
9
|
+
pagination: Pagination;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { Destination } from './destination';
|
|
4
|
+
import type { Pagination } from './pagination';
|
|
5
|
+
|
|
6
|
+
export type ListDestinationsResponse = {
|
|
7
|
+
destinations: Destination[];
|
|
8
|
+
|
|
9
|
+
pagination: Pagination;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { Event } from './event';
|
|
4
|
+
import type { Pagination } from './pagination';
|
|
5
|
+
|
|
6
|
+
export type ListEventsResponse = {
|
|
7
|
+
events: Event[];
|
|
8
|
+
|
|
9
|
+
pagination: Pagination;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { Pagination } from './pagination';
|
|
4
|
+
import type { Source } from './source';
|
|
5
|
+
|
|
6
|
+
export type ListSourcesResponse = {
|
|
7
|
+
sources: Source[];
|
|
8
|
+
|
|
9
|
+
pagination: Pagination;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { Pagination } from './pagination';
|
|
4
|
+
import type { Task } from './task';
|
|
5
|
+
|
|
6
|
+
export type ListTasksResponse = {
|
|
7
|
+
tasks: Task[];
|
|
8
|
+
|
|
9
|
+
pagination: Pagination;
|
|
10
|
+
};
|
package/model/run.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { RunOutcome } from './runOutcome';
|
|
4
|
+
import type { RunProgress } from './runProgress';
|
|
5
|
+
import type { RunStatus } from './runStatus';
|
|
6
|
+
import type { RunType } from './runType';
|
|
7
|
+
|
|
8
|
+
export type Run = {
|
|
9
|
+
runID: string;
|
|
10
|
+
|
|
11
|
+
appID: string;
|
|
12
|
+
|
|
13
|
+
taskID: string;
|
|
14
|
+
|
|
15
|
+
status: RunStatus;
|
|
16
|
+
|
|
17
|
+
progress?: RunProgress;
|
|
18
|
+
|
|
19
|
+
outcome?: RunOutcome;
|
|
20
|
+
|
|
21
|
+
type: RunType;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Date of creation (RFC3339 format).
|
|
25
|
+
*/
|
|
26
|
+
createdAt: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Date of last update (RFC3339 format).
|
|
30
|
+
*/
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Date of start (RFC3339 format).
|
|
35
|
+
*/
|
|
36
|
+
startedAt?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Date of finish (RFC3339 format).
|
|
40
|
+
*/
|
|
41
|
+
finishedAt?: string;
|
|
42
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { Pagination } from './pagination';
|
|
4
|
+
import type { Run } from './run';
|
|
5
|
+
|
|
6
|
+
export type RunListResponse = {
|
|
7
|
+
runs: Run[];
|
|
8
|
+
|
|
9
|
+
pagination: Pagination;
|
|
10
|
+
};
|
package/model/runType.ts
ADDED