@epilot/journey-client 0.0.1
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 +43 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +14 -0
- package/dist/definition.d.ts +3 -0
- package/dist/definition.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +14 -0
- package/dist/openapi.d.ts +1109 -0
- package/package.json +62 -0
- package/src/openapi.d.ts +1109 -0
package/src/openapi.d.ts
ADDED
|
@@ -0,0 +1,1109 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type {
|
|
3
|
+
OpenAPIClient,
|
|
4
|
+
Parameters,
|
|
5
|
+
UnknownParamsObject,
|
|
6
|
+
OperationResponse,
|
|
7
|
+
AxiosRequestConfig,
|
|
8
|
+
} from 'openapi-client-axios';
|
|
9
|
+
|
|
10
|
+
declare namespace Components {
|
|
11
|
+
namespace Schemas {
|
|
12
|
+
export type CommissioningJourneyQueryRequest = {
|
|
13
|
+
organization_id: number;
|
|
14
|
+
branches: ("commissioning_power" | "commissioning_gas" | "commissioning_water")[];
|
|
15
|
+
}[];
|
|
16
|
+
export interface GetJourneysResponse {
|
|
17
|
+
}
|
|
18
|
+
export interface JourneyCreationRequest {
|
|
19
|
+
journeyId?: string;
|
|
20
|
+
organizationId: string;
|
|
21
|
+
brandId: string;
|
|
22
|
+
name: string;
|
|
23
|
+
steps: {
|
|
24
|
+
showStepName?: boolean | null;
|
|
25
|
+
title?: string | null;
|
|
26
|
+
subTitle?: string | null;
|
|
27
|
+
showStepSubtitle?: boolean | null;
|
|
28
|
+
showStepper?: boolean | null;
|
|
29
|
+
showStepperLabels?: boolean | null;
|
|
30
|
+
hideNextButton?: boolean | null;
|
|
31
|
+
name: string;
|
|
32
|
+
stepId?: string;
|
|
33
|
+
schema: any;
|
|
34
|
+
uischema: any;
|
|
35
|
+
}[];
|
|
36
|
+
design?: {
|
|
37
|
+
logoUrl: string;
|
|
38
|
+
theme: {
|
|
39
|
+
[name: string]: any;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
rules?: {
|
|
43
|
+
type: "inject" | "injectWithKey";
|
|
44
|
+
sourceType: "journey" | "step" | "block";
|
|
45
|
+
source: string;
|
|
46
|
+
target: string;
|
|
47
|
+
}[];
|
|
48
|
+
logics?: {
|
|
49
|
+
autoGeneratedId?: string;
|
|
50
|
+
conditions: string[];
|
|
51
|
+
actions: string[];
|
|
52
|
+
}[];
|
|
53
|
+
settings?: {
|
|
54
|
+
designId: string;
|
|
55
|
+
templateId?: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
runtimeEntities?: ("ORDER" | "OPPORTUNITY")[];
|
|
58
|
+
};
|
|
59
|
+
createdBy?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface JourneyResponse {
|
|
62
|
+
}
|
|
63
|
+
export interface JourneyStepTemplateCreationRequest {
|
|
64
|
+
templateId?: string;
|
|
65
|
+
name: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
schema: any;
|
|
68
|
+
uischema: any;
|
|
69
|
+
settings: {
|
|
70
|
+
showStepName?: boolean | null;
|
|
71
|
+
title?: string | null;
|
|
72
|
+
subTitle?: string | null;
|
|
73
|
+
showStepSubtitle?: boolean | null;
|
|
74
|
+
showStepper?: boolean | null;
|
|
75
|
+
showStepperLabels?: boolean | null;
|
|
76
|
+
hideNextButton?: boolean | null;
|
|
77
|
+
};
|
|
78
|
+
createdBy?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface JourneyStepTemplateUpdateRequest {
|
|
81
|
+
templateId: string;
|
|
82
|
+
name?: string;
|
|
83
|
+
description?: string;
|
|
84
|
+
schema?: any;
|
|
85
|
+
uischema?: any;
|
|
86
|
+
settings?: {
|
|
87
|
+
showStepName?: boolean | null;
|
|
88
|
+
title?: string | null;
|
|
89
|
+
subTitle?: string | null;
|
|
90
|
+
showStepSubtitle?: boolean | null;
|
|
91
|
+
showStepper?: boolean | null;
|
|
92
|
+
showStepperLabels?: boolean | null;
|
|
93
|
+
hideNextButton?: boolean | null;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
export interface JourneyTemplateCreationRequest {
|
|
97
|
+
templateId?: string;
|
|
98
|
+
name: string;
|
|
99
|
+
steps: {
|
|
100
|
+
showStepName?: boolean | null;
|
|
101
|
+
title?: string | null;
|
|
102
|
+
subTitle?: string | null;
|
|
103
|
+
showStepSubtitle?: boolean | null;
|
|
104
|
+
showStepper?: boolean | null;
|
|
105
|
+
showStepperLabels?: boolean | null;
|
|
106
|
+
hideNextButton?: boolean | null;
|
|
107
|
+
name: string;
|
|
108
|
+
stepId?: string;
|
|
109
|
+
schema: any;
|
|
110
|
+
uischema: any;
|
|
111
|
+
}[];
|
|
112
|
+
description?: string | null;
|
|
113
|
+
rules?: {
|
|
114
|
+
type: "inject" | "injectWithKey";
|
|
115
|
+
sourceType: "journey" | "step" | "block";
|
|
116
|
+
source: string;
|
|
117
|
+
target: string;
|
|
118
|
+
}[];
|
|
119
|
+
logics?: {
|
|
120
|
+
autoGeneratedId?: string;
|
|
121
|
+
conditions: string[];
|
|
122
|
+
actions: string[];
|
|
123
|
+
}[];
|
|
124
|
+
createdBy?: string;
|
|
125
|
+
tags?: string[];
|
|
126
|
+
settings?: {
|
|
127
|
+
runtimeEntities?: ("ORDER" | "OPPORTUNITY")[];
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
export interface JourneyTemplateUpdateRequest {
|
|
131
|
+
templateId: string;
|
|
132
|
+
name?: string;
|
|
133
|
+
steps?: {
|
|
134
|
+
showStepName?: boolean | null;
|
|
135
|
+
title?: string | null;
|
|
136
|
+
subTitle?: string | null;
|
|
137
|
+
showStepSubtitle?: boolean | null;
|
|
138
|
+
showStepper?: boolean | null;
|
|
139
|
+
showStepperLabels?: boolean | null;
|
|
140
|
+
hideNextButton?: boolean | null;
|
|
141
|
+
name: string;
|
|
142
|
+
stepId?: string;
|
|
143
|
+
schema: any;
|
|
144
|
+
uischema: any;
|
|
145
|
+
}[];
|
|
146
|
+
description?: string | null;
|
|
147
|
+
rules?: {
|
|
148
|
+
type: "inject" | "injectWithKey";
|
|
149
|
+
sourceType: "journey" | "step" | "block";
|
|
150
|
+
source: string;
|
|
151
|
+
target: string;
|
|
152
|
+
}[];
|
|
153
|
+
logics?: {
|
|
154
|
+
autoGeneratedId?: string;
|
|
155
|
+
conditions: string[];
|
|
156
|
+
actions: string[];
|
|
157
|
+
}[];
|
|
158
|
+
tags?: string[];
|
|
159
|
+
settings?: {
|
|
160
|
+
runtimeEntities?: ("ORDER" | "OPPORTUNITY")[];
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
export interface PersistFilesRequest {
|
|
164
|
+
files: {
|
|
165
|
+
bucket: string;
|
|
166
|
+
key: string;
|
|
167
|
+
fileName?: string;
|
|
168
|
+
}[];
|
|
169
|
+
}
|
|
170
|
+
export interface SearchJourneysQueryRequest {
|
|
171
|
+
/**
|
|
172
|
+
* Lucene query syntax
|
|
173
|
+
* See https://lucene.apache.org/core/2_9_4/queryparsersyntax.html ; https://www.elastic.co/guide/en/kibana/current/lucene-query.html
|
|
174
|
+
*
|
|
175
|
+
* example:
|
|
176
|
+
* *journey* OR *test*
|
|
177
|
+
*/
|
|
178
|
+
q?: string;
|
|
179
|
+
/**
|
|
180
|
+
* The offset of the first result to return.
|
|
181
|
+
* See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
|
|
182
|
+
*
|
|
183
|
+
* example:
|
|
184
|
+
* 0
|
|
185
|
+
*/
|
|
186
|
+
from?: string;
|
|
187
|
+
/**
|
|
188
|
+
* The maximum number of results to return.
|
|
189
|
+
* See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
|
|
190
|
+
*
|
|
191
|
+
* example:
|
|
192
|
+
* 10
|
|
193
|
+
*/
|
|
194
|
+
size?: string;
|
|
195
|
+
/**
|
|
196
|
+
* The sort order. Follows Lucene syntax.
|
|
197
|
+
*
|
|
198
|
+
* example:
|
|
199
|
+
* lastModifiedAt:desc
|
|
200
|
+
*/
|
|
201
|
+
sort?: string;
|
|
202
|
+
}
|
|
203
|
+
export interface SearchJourneysResponse {
|
|
204
|
+
/**
|
|
205
|
+
* The total number of hits.
|
|
206
|
+
*
|
|
207
|
+
* example:
|
|
208
|
+
* 1
|
|
209
|
+
*/
|
|
210
|
+
hits?: number;
|
|
211
|
+
/**
|
|
212
|
+
* The results.
|
|
213
|
+
*
|
|
214
|
+
*/
|
|
215
|
+
results?: {
|
|
216
|
+
/**
|
|
217
|
+
* example:
|
|
218
|
+
* e0f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8
|
|
219
|
+
*/
|
|
220
|
+
journeyId?: string; // uuid
|
|
221
|
+
/**
|
|
222
|
+
* The type of journey.
|
|
223
|
+
* v2: Old Journey
|
|
224
|
+
* v3: New Journey
|
|
225
|
+
*
|
|
226
|
+
* example:
|
|
227
|
+
* v2
|
|
228
|
+
*/
|
|
229
|
+
type?: "v2" | "v3";
|
|
230
|
+
/**
|
|
231
|
+
* example:
|
|
232
|
+
* My Journey
|
|
233
|
+
*/
|
|
234
|
+
name?: string;
|
|
235
|
+
/**
|
|
236
|
+
* example:
|
|
237
|
+
* 739224
|
|
238
|
+
*/
|
|
239
|
+
organizationId?: string;
|
|
240
|
+
/**
|
|
241
|
+
* example:
|
|
242
|
+
* 739225
|
|
243
|
+
*/
|
|
244
|
+
brandId?: string;
|
|
245
|
+
/**
|
|
246
|
+
* example:
|
|
247
|
+
* 2020-01-01T00:00:00.000Z
|
|
248
|
+
*/
|
|
249
|
+
createdAt?: string; // date-time
|
|
250
|
+
/**
|
|
251
|
+
* example:
|
|
252
|
+
* 2020-01-01T00:00:00.000Z
|
|
253
|
+
*/
|
|
254
|
+
lastModifiedAt?: string; // date-time
|
|
255
|
+
/**
|
|
256
|
+
* example:
|
|
257
|
+
* 12345
|
|
258
|
+
*/
|
|
259
|
+
createdBy?: string;
|
|
260
|
+
settings?: {
|
|
261
|
+
/**
|
|
262
|
+
* example:
|
|
263
|
+
* My Journey Description
|
|
264
|
+
*/
|
|
265
|
+
description?: string;
|
|
266
|
+
/**
|
|
267
|
+
* example:
|
|
268
|
+
* 99999999-9999-9999-9999-999999999999
|
|
269
|
+
*/
|
|
270
|
+
templatedId?: string;
|
|
271
|
+
/**
|
|
272
|
+
* example:
|
|
273
|
+
* My Journey Category
|
|
274
|
+
*/
|
|
275
|
+
category?: string;
|
|
276
|
+
};
|
|
277
|
+
}[];
|
|
278
|
+
}
|
|
279
|
+
export interface Widget {
|
|
280
|
+
widgetId?: string;
|
|
281
|
+
organizationId: string;
|
|
282
|
+
name?: string;
|
|
283
|
+
initialStepId?: string;
|
|
284
|
+
styling?: {
|
|
285
|
+
[name: string]: {
|
|
286
|
+
[name: string]: {
|
|
287
|
+
[name: string]: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
theming_options?: {
|
|
291
|
+
palette: {
|
|
292
|
+
[name: string]: string;
|
|
293
|
+
};
|
|
294
|
+
typography: {
|
|
295
|
+
[name: string]: string;
|
|
296
|
+
};
|
|
297
|
+
spacing: {
|
|
298
|
+
[name: string]: string;
|
|
299
|
+
};
|
|
300
|
+
shape: {
|
|
301
|
+
[name: string]: string;
|
|
302
|
+
};
|
|
303
|
+
props: {
|
|
304
|
+
[name: string]: string;
|
|
305
|
+
};
|
|
306
|
+
background: {
|
|
307
|
+
[name: string]: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
shop?: any;
|
|
312
|
+
steps?: any[];
|
|
313
|
+
results?: any;
|
|
314
|
+
builder?: {
|
|
315
|
+
name: string;
|
|
316
|
+
description: string;
|
|
317
|
+
category: "gas" | "power" | "broadband";
|
|
318
|
+
bundle_category?: "gas" | "power" | "broadband";
|
|
319
|
+
brand_id: string;
|
|
320
|
+
style_id: string;
|
|
321
|
+
template_id: string;
|
|
322
|
+
steps: {
|
|
323
|
+
[name: string]: {
|
|
324
|
+
[name: string]: any;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
created_by: string;
|
|
328
|
+
created_at: string; // date-time
|
|
329
|
+
last_modified_by: string;
|
|
330
|
+
last_modified_at: string; // date-time
|
|
331
|
+
active: boolean;
|
|
332
|
+
selected_products: string[];
|
|
333
|
+
selected_addons: string[];
|
|
334
|
+
enable_automation_email: boolean;
|
|
335
|
+
email_template_id: string;
|
|
336
|
+
targets?: string[];
|
|
337
|
+
useBaseElementsLibrary?: boolean;
|
|
338
|
+
};
|
|
339
|
+
last_modified_at?: string;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
declare namespace Paths {
|
|
345
|
+
namespace CreateJourney {
|
|
346
|
+
export type RequestBody = Components.Schemas.JourneyCreationRequest;
|
|
347
|
+
namespace Responses {
|
|
348
|
+
export type $201 = Components.Schemas.JourneyResponse;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
namespace CreateJourneyStepTemplate {
|
|
352
|
+
export type RequestBody = Components.Schemas.JourneyStepTemplateCreationRequest;
|
|
353
|
+
}
|
|
354
|
+
namespace CreateJourneyTemplate {
|
|
355
|
+
export type RequestBody = Components.Schemas.JourneyTemplateCreationRequest;
|
|
356
|
+
}
|
|
357
|
+
namespace CreateWidget {
|
|
358
|
+
export type RequestBody = Components.Schemas.Widget;
|
|
359
|
+
}
|
|
360
|
+
namespace FilesPersist {
|
|
361
|
+
export type RequestBody = Components.Schemas.PersistFilesRequest;
|
|
362
|
+
}
|
|
363
|
+
namespace GetCraftsmenJourneys {
|
|
364
|
+
export type RequestBody = Components.Schemas.CommissioningJourneyQueryRequest;
|
|
365
|
+
}
|
|
366
|
+
namespace GetJourney {
|
|
367
|
+
namespace Parameters {
|
|
368
|
+
/**
|
|
369
|
+
* example:
|
|
370
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
371
|
+
*/
|
|
372
|
+
export type Id = string; // uuid
|
|
373
|
+
}
|
|
374
|
+
export interface PathParameters {
|
|
375
|
+
id: /**
|
|
376
|
+
* example:
|
|
377
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
378
|
+
*/
|
|
379
|
+
Parameters.Id /* uuid */;
|
|
380
|
+
}
|
|
381
|
+
namespace Responses {
|
|
382
|
+
export type $200 = Components.Schemas.JourneyResponse;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
namespace GetJourneyStepTemplateById {
|
|
386
|
+
namespace Parameters {
|
|
387
|
+
/**
|
|
388
|
+
* example:
|
|
389
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
390
|
+
*/
|
|
391
|
+
export type Id = string; // uuid
|
|
392
|
+
}
|
|
393
|
+
export interface PathParameters {
|
|
394
|
+
id: /**
|
|
395
|
+
* example:
|
|
396
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
397
|
+
*/
|
|
398
|
+
Parameters.Id /* uuid */;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
namespace GetJourneyTemplateById {
|
|
402
|
+
namespace Parameters {
|
|
403
|
+
/**
|
|
404
|
+
* example:
|
|
405
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
406
|
+
*/
|
|
407
|
+
export type Id = string; // uuid
|
|
408
|
+
}
|
|
409
|
+
export interface PathParameters {
|
|
410
|
+
id: /**
|
|
411
|
+
* example:
|
|
412
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
413
|
+
*/
|
|
414
|
+
Parameters.Id /* uuid */;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
namespace GetJourneysByOrgId {
|
|
418
|
+
namespace Parameters {
|
|
419
|
+
/**
|
|
420
|
+
* example:
|
|
421
|
+
* 123
|
|
422
|
+
*/
|
|
423
|
+
export type Id = string;
|
|
424
|
+
}
|
|
425
|
+
export interface PathParameters {
|
|
426
|
+
id: /**
|
|
427
|
+
* example:
|
|
428
|
+
* 123
|
|
429
|
+
*/
|
|
430
|
+
Parameters.Id;
|
|
431
|
+
}
|
|
432
|
+
namespace Responses {
|
|
433
|
+
export type $200 = Components.Schemas.GetJourneysResponse;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
namespace GetWidget {
|
|
437
|
+
namespace Parameters {
|
|
438
|
+
/**
|
|
439
|
+
* example:
|
|
440
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
441
|
+
*/
|
|
442
|
+
export type Id = string; // uuid
|
|
443
|
+
}
|
|
444
|
+
export interface PathParameters {
|
|
445
|
+
id: /**
|
|
446
|
+
* example:
|
|
447
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
448
|
+
*/
|
|
449
|
+
Parameters.Id /* uuid */;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
namespace RemoveJourney {
|
|
453
|
+
namespace Parameters {
|
|
454
|
+
/**
|
|
455
|
+
* example:
|
|
456
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
457
|
+
*/
|
|
458
|
+
export type Id = string; // uuid
|
|
459
|
+
}
|
|
460
|
+
export interface PathParameters {
|
|
461
|
+
id: /**
|
|
462
|
+
* example:
|
|
463
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
464
|
+
*/
|
|
465
|
+
Parameters.Id /* uuid */;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
namespace RemoveJourneyStepTemplate {
|
|
469
|
+
namespace Parameters {
|
|
470
|
+
/**
|
|
471
|
+
* example:
|
|
472
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
473
|
+
*/
|
|
474
|
+
export type Id = string; // uuid
|
|
475
|
+
}
|
|
476
|
+
export interface PathParameters {
|
|
477
|
+
id: /**
|
|
478
|
+
* example:
|
|
479
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
480
|
+
*/
|
|
481
|
+
Parameters.Id /* uuid */;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
namespace RemoveJourneyTemplate {
|
|
485
|
+
namespace Parameters {
|
|
486
|
+
/**
|
|
487
|
+
* example:
|
|
488
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
489
|
+
*/
|
|
490
|
+
export type Id = string; // uuid
|
|
491
|
+
}
|
|
492
|
+
export interface PathParameters {
|
|
493
|
+
id: /**
|
|
494
|
+
* example:
|
|
495
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
496
|
+
*/
|
|
497
|
+
Parameters.Id /* uuid */;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
namespace RemoveWidget {
|
|
501
|
+
namespace Parameters {
|
|
502
|
+
/**
|
|
503
|
+
* example:
|
|
504
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
505
|
+
*/
|
|
506
|
+
export type Id = string; // uuid
|
|
507
|
+
}
|
|
508
|
+
export interface PathParameters {
|
|
509
|
+
id: /**
|
|
510
|
+
* example:
|
|
511
|
+
* 509cdffe-424f-457a-95c2-9708c304ce77
|
|
512
|
+
*/
|
|
513
|
+
Parameters.Id /* uuid */;
|
|
514
|
+
}
|
|
515
|
+
export type RequestBody = Components.Schemas.Widget;
|
|
516
|
+
}
|
|
517
|
+
namespace RemoveWidgets {
|
|
518
|
+
namespace Parameters {
|
|
519
|
+
export type WidgetId = string[];
|
|
520
|
+
}
|
|
521
|
+
export interface QueryParameters {
|
|
522
|
+
widgetId: Parameters.WidgetId;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
namespace SearchJourneyTemplates {
|
|
526
|
+
export type RequestBody = Components.Schemas.JourneyTemplateUpdateRequest;
|
|
527
|
+
}
|
|
528
|
+
namespace SearchJourneys {
|
|
529
|
+
export type RequestBody = Components.Schemas.SearchJourneysQueryRequest;
|
|
530
|
+
namespace Responses {
|
|
531
|
+
export type $200 = Components.Schemas.SearchJourneysResponse;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
namespace UpdateJourney {
|
|
535
|
+
export type RequestBody = Components.Schemas.JourneyCreationRequest;
|
|
536
|
+
namespace Responses {
|
|
537
|
+
export type $200 = Components.Schemas.JourneyResponse;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
namespace UpdateJourneyStepTemplate {
|
|
541
|
+
export type RequestBody = Components.Schemas.JourneyStepTemplateCreationRequest;
|
|
542
|
+
}
|
|
543
|
+
namespace UpdateJourneyTemplate {
|
|
544
|
+
export type RequestBody = Components.Schemas.JourneyTemplateUpdateRequest;
|
|
545
|
+
}
|
|
546
|
+
namespace UpdateWidget {
|
|
547
|
+
export type RequestBody = Components.Schemas.Widget;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export interface OperationMethods {
|
|
552
|
+
/**
|
|
553
|
+
* getJourneysByOrgId - getJourneysByOrgId
|
|
554
|
+
*
|
|
555
|
+
* Get all journeys by organization id
|
|
556
|
+
*/
|
|
557
|
+
'getJourneysByOrgId'(
|
|
558
|
+
parameters?: Parameters<Paths.GetJourneysByOrgId.PathParameters> | null,
|
|
559
|
+
data?: any,
|
|
560
|
+
config?: AxiosRequestConfig
|
|
561
|
+
): OperationResponse<Paths.GetJourneysByOrgId.Responses.$200>
|
|
562
|
+
/**
|
|
563
|
+
* getJourney - getJourney
|
|
564
|
+
*
|
|
565
|
+
* Get journey by id
|
|
566
|
+
*/
|
|
567
|
+
'getJourney'(
|
|
568
|
+
parameters?: Parameters<Paths.GetJourney.PathParameters> | null,
|
|
569
|
+
data?: any,
|
|
570
|
+
config?: AxiosRequestConfig
|
|
571
|
+
): OperationResponse<Paths.GetJourney.Responses.$200>
|
|
572
|
+
/**
|
|
573
|
+
* removeJourney - removeJourney
|
|
574
|
+
*
|
|
575
|
+
* Remove journey by id
|
|
576
|
+
*/
|
|
577
|
+
'removeJourney'(
|
|
578
|
+
parameters?: Parameters<Paths.RemoveJourney.PathParameters> | null,
|
|
579
|
+
data?: any,
|
|
580
|
+
config?: AxiosRequestConfig
|
|
581
|
+
): OperationResponse<any>
|
|
582
|
+
/**
|
|
583
|
+
* updateJourney - updateJourney
|
|
584
|
+
*
|
|
585
|
+
* Update a Journey
|
|
586
|
+
*/
|
|
587
|
+
'updateJourney'(
|
|
588
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
589
|
+
data?: Paths.UpdateJourney.RequestBody,
|
|
590
|
+
config?: AxiosRequestConfig
|
|
591
|
+
): OperationResponse<Paths.UpdateJourney.Responses.$200>
|
|
592
|
+
/**
|
|
593
|
+
* createJourney - createJourney
|
|
594
|
+
*
|
|
595
|
+
* Create a Journey
|
|
596
|
+
*/
|
|
597
|
+
'createJourney'(
|
|
598
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
599
|
+
data?: Paths.CreateJourney.RequestBody,
|
|
600
|
+
config?: AxiosRequestConfig
|
|
601
|
+
): OperationResponse<Paths.CreateJourney.Responses.$201>
|
|
602
|
+
/**
|
|
603
|
+
* getJourneysTemplates - getJourneysTemplates
|
|
604
|
+
*
|
|
605
|
+
* Get All Journey Templates
|
|
606
|
+
*/
|
|
607
|
+
'getJourneysTemplates'(
|
|
608
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
609
|
+
data?: any,
|
|
610
|
+
config?: AxiosRequestConfig
|
|
611
|
+
): OperationResponse<any>
|
|
612
|
+
/**
|
|
613
|
+
* createJourneyTemplate - createJourneyTemplate
|
|
614
|
+
*
|
|
615
|
+
* Get a new Journey Template
|
|
616
|
+
*/
|
|
617
|
+
'createJourneyTemplate'(
|
|
618
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
619
|
+
data?: Paths.CreateJourneyTemplate.RequestBody,
|
|
620
|
+
config?: AxiosRequestConfig
|
|
621
|
+
): OperationResponse<any>
|
|
622
|
+
/**
|
|
623
|
+
* updateJourneyTemplate - updateJourneyTemplate
|
|
624
|
+
*
|
|
625
|
+
* Update a Journey Template
|
|
626
|
+
*/
|
|
627
|
+
'updateJourneyTemplate'(
|
|
628
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
629
|
+
data?: Paths.UpdateJourneyTemplate.RequestBody,
|
|
630
|
+
config?: AxiosRequestConfig
|
|
631
|
+
): OperationResponse<any>
|
|
632
|
+
/**
|
|
633
|
+
* getJourneyTemplateById - getJourneyTemplateById
|
|
634
|
+
*
|
|
635
|
+
* Get Journey Template by ID
|
|
636
|
+
*/
|
|
637
|
+
'getJourneyTemplateById'(
|
|
638
|
+
parameters?: Parameters<Paths.GetJourneyTemplateById.PathParameters> | null,
|
|
639
|
+
data?: any,
|
|
640
|
+
config?: AxiosRequestConfig
|
|
641
|
+
): OperationResponse<any>
|
|
642
|
+
/**
|
|
643
|
+
* removeJourneyTemplate - removeJourneyTemplate
|
|
644
|
+
*
|
|
645
|
+
* Remove Journey Template by id
|
|
646
|
+
*/
|
|
647
|
+
'removeJourneyTemplate'(
|
|
648
|
+
parameters?: Parameters<Paths.RemoveJourneyTemplate.PathParameters> | null,
|
|
649
|
+
data?: any,
|
|
650
|
+
config?: AxiosRequestConfig
|
|
651
|
+
): OperationResponse<any>
|
|
652
|
+
/**
|
|
653
|
+
* searchJourneyTemplates - searchJourneyTemplates
|
|
654
|
+
*
|
|
655
|
+
* Search Journey Templates
|
|
656
|
+
*/
|
|
657
|
+
'searchJourneyTemplates'(
|
|
658
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
659
|
+
data?: Paths.SearchJourneyTemplates.RequestBody,
|
|
660
|
+
config?: AxiosRequestConfig
|
|
661
|
+
): OperationResponse<any>
|
|
662
|
+
/**
|
|
663
|
+
* getJourneyStepTemplateById - getJourneyStepTemplateById
|
|
664
|
+
*
|
|
665
|
+
* Get Journey Step Template by ID
|
|
666
|
+
*/
|
|
667
|
+
'getJourneyStepTemplateById'(
|
|
668
|
+
parameters?: Parameters<Paths.GetJourneyStepTemplateById.PathParameters> | null,
|
|
669
|
+
data?: any,
|
|
670
|
+
config?: AxiosRequestConfig
|
|
671
|
+
): OperationResponse<any>
|
|
672
|
+
/**
|
|
673
|
+
* removeJourneyStepTemplate - removeJourneyStepTemplate
|
|
674
|
+
*
|
|
675
|
+
* Delete Journey Step Template
|
|
676
|
+
*/
|
|
677
|
+
'removeJourneyStepTemplate'(
|
|
678
|
+
parameters?: Parameters<Paths.RemoveJourneyStepTemplate.PathParameters> | null,
|
|
679
|
+
data?: any,
|
|
680
|
+
config?: AxiosRequestConfig
|
|
681
|
+
): OperationResponse<any>
|
|
682
|
+
/**
|
|
683
|
+
* getJourneysStepTemplates - getJourneysStepTemplates
|
|
684
|
+
*
|
|
685
|
+
* Get All Journey Step Templates
|
|
686
|
+
*/
|
|
687
|
+
'getJourneysStepTemplates'(
|
|
688
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
689
|
+
data?: any,
|
|
690
|
+
config?: AxiosRequestConfig
|
|
691
|
+
): OperationResponse<any>
|
|
692
|
+
/**
|
|
693
|
+
* createJourneyStepTemplate - createJourneyStepTemplate
|
|
694
|
+
*
|
|
695
|
+
* Create a new journey step template
|
|
696
|
+
*/
|
|
697
|
+
'createJourneyStepTemplate'(
|
|
698
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
699
|
+
data?: Paths.CreateJourneyStepTemplate.RequestBody,
|
|
700
|
+
config?: AxiosRequestConfig
|
|
701
|
+
): OperationResponse<any>
|
|
702
|
+
/**
|
|
703
|
+
* updateJourneyStepTemplate - updateJourneyStepTemplate
|
|
704
|
+
*
|
|
705
|
+
* Update a journey step template
|
|
706
|
+
*/
|
|
707
|
+
'updateJourneyStepTemplate'(
|
|
708
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
709
|
+
data?: Paths.UpdateJourneyStepTemplate.RequestBody,
|
|
710
|
+
config?: AxiosRequestConfig
|
|
711
|
+
): OperationResponse<any>
|
|
712
|
+
/**
|
|
713
|
+
* getWidget - getWidget
|
|
714
|
+
*
|
|
715
|
+
* Get Widget by ID
|
|
716
|
+
*/
|
|
717
|
+
'getWidget'(
|
|
718
|
+
parameters?: Parameters<Paths.GetWidget.PathParameters> | null,
|
|
719
|
+
data?: any,
|
|
720
|
+
config?: AxiosRequestConfig
|
|
721
|
+
): OperationResponse<any>
|
|
722
|
+
/**
|
|
723
|
+
* removeWidget - removeWidget
|
|
724
|
+
*
|
|
725
|
+
* Remove widget by id
|
|
726
|
+
*/
|
|
727
|
+
'removeWidget'(
|
|
728
|
+
parameters?: Parameters<Paths.RemoveWidget.PathParameters> | null,
|
|
729
|
+
data?: Paths.RemoveWidget.RequestBody,
|
|
730
|
+
config?: AxiosRequestConfig
|
|
731
|
+
): OperationResponse<any>
|
|
732
|
+
/**
|
|
733
|
+
* getCraftsmenJourneys - getCraftsmenJourneys
|
|
734
|
+
*
|
|
735
|
+
* Get craftsmen Journeys
|
|
736
|
+
*/
|
|
737
|
+
'getCraftsmenJourneys'(
|
|
738
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
739
|
+
data?: Paths.GetCraftsmenJourneys.RequestBody,
|
|
740
|
+
config?: AxiosRequestConfig
|
|
741
|
+
): OperationResponse<any>
|
|
742
|
+
/**
|
|
743
|
+
* getEmailTemplates - getEmailTemplates
|
|
744
|
+
*
|
|
745
|
+
* Get email templates
|
|
746
|
+
*/
|
|
747
|
+
'getEmailTemplates'(
|
|
748
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
749
|
+
data?: any,
|
|
750
|
+
config?: AxiosRequestConfig
|
|
751
|
+
): OperationResponse<any>
|
|
752
|
+
/**
|
|
753
|
+
* searchWidgetByOrganizationId - searchWidgetByOrganizationId
|
|
754
|
+
*
|
|
755
|
+
* Search widgets by organization ID
|
|
756
|
+
*/
|
|
757
|
+
'searchWidgetByOrganizationId'(
|
|
758
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
759
|
+
data?: any,
|
|
760
|
+
config?: AxiosRequestConfig
|
|
761
|
+
): OperationResponse<any>
|
|
762
|
+
/**
|
|
763
|
+
* updateWidget - updateWidget
|
|
764
|
+
*
|
|
765
|
+
* Update a widget
|
|
766
|
+
*/
|
|
767
|
+
'updateWidget'(
|
|
768
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
769
|
+
data?: Paths.UpdateWidget.RequestBody,
|
|
770
|
+
config?: AxiosRequestConfig
|
|
771
|
+
): OperationResponse<any>
|
|
772
|
+
/**
|
|
773
|
+
* createWidget - createWidget
|
|
774
|
+
*
|
|
775
|
+
* Create new Widget
|
|
776
|
+
*/
|
|
777
|
+
'createWidget'(
|
|
778
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
779
|
+
data?: Paths.CreateWidget.RequestBody,
|
|
780
|
+
config?: AxiosRequestConfig
|
|
781
|
+
): OperationResponse<any>
|
|
782
|
+
/**
|
|
783
|
+
* removeWidgets - removeWidgets
|
|
784
|
+
*
|
|
785
|
+
* Remove widgets
|
|
786
|
+
*/
|
|
787
|
+
'removeWidgets'(
|
|
788
|
+
parameters?: Parameters<Paths.RemoveWidgets.QueryParameters> | null,
|
|
789
|
+
data?: any,
|
|
790
|
+
config?: AxiosRequestConfig
|
|
791
|
+
): OperationResponse<any>
|
|
792
|
+
/**
|
|
793
|
+
* searchJourneys - searchJourneys
|
|
794
|
+
*
|
|
795
|
+
* Search Journeys
|
|
796
|
+
*/
|
|
797
|
+
'searchJourneys'(
|
|
798
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
799
|
+
data?: Paths.SearchJourneys.RequestBody,
|
|
800
|
+
config?: AxiosRequestConfig
|
|
801
|
+
): OperationResponse<Paths.SearchJourneys.Responses.$200>
|
|
802
|
+
/**
|
|
803
|
+
* filesPersist - filesPersist
|
|
804
|
+
*
|
|
805
|
+
* Persist files
|
|
806
|
+
*/
|
|
807
|
+
'filesPersist'(
|
|
808
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
809
|
+
data?: Paths.FilesPersist.RequestBody,
|
|
810
|
+
config?: AxiosRequestConfig
|
|
811
|
+
): OperationResponse<any>
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
export interface PathsDictionary {
|
|
815
|
+
['/v1/journey/organization/{id}']: {
|
|
816
|
+
/**
|
|
817
|
+
* getJourneysByOrgId - getJourneysByOrgId
|
|
818
|
+
*
|
|
819
|
+
* Get all journeys by organization id
|
|
820
|
+
*/
|
|
821
|
+
'get'(
|
|
822
|
+
parameters?: Parameters<Paths.GetJourneysByOrgId.PathParameters> | null,
|
|
823
|
+
data?: any,
|
|
824
|
+
config?: AxiosRequestConfig
|
|
825
|
+
): OperationResponse<Paths.GetJourneysByOrgId.Responses.$200>
|
|
826
|
+
}
|
|
827
|
+
['/v1/journey/configuration/{id}']: {
|
|
828
|
+
/**
|
|
829
|
+
* getJourney - getJourney
|
|
830
|
+
*
|
|
831
|
+
* Get journey by id
|
|
832
|
+
*/
|
|
833
|
+
'get'(
|
|
834
|
+
parameters?: Parameters<Paths.GetJourney.PathParameters> | null,
|
|
835
|
+
data?: any,
|
|
836
|
+
config?: AxiosRequestConfig
|
|
837
|
+
): OperationResponse<Paths.GetJourney.Responses.$200>
|
|
838
|
+
/**
|
|
839
|
+
* removeJourney - removeJourney
|
|
840
|
+
*
|
|
841
|
+
* Remove journey by id
|
|
842
|
+
*/
|
|
843
|
+
'delete'(
|
|
844
|
+
parameters?: Parameters<Paths.RemoveJourney.PathParameters> | null,
|
|
845
|
+
data?: any,
|
|
846
|
+
config?: AxiosRequestConfig
|
|
847
|
+
): OperationResponse<any>
|
|
848
|
+
}
|
|
849
|
+
['/v1/journey/configuration']: {
|
|
850
|
+
/**
|
|
851
|
+
* createJourney - createJourney
|
|
852
|
+
*
|
|
853
|
+
* Create a Journey
|
|
854
|
+
*/
|
|
855
|
+
'post'(
|
|
856
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
857
|
+
data?: Paths.CreateJourney.RequestBody,
|
|
858
|
+
config?: AxiosRequestConfig
|
|
859
|
+
): OperationResponse<Paths.CreateJourney.Responses.$201>
|
|
860
|
+
/**
|
|
861
|
+
* updateJourney - updateJourney
|
|
862
|
+
*
|
|
863
|
+
* Update a Journey
|
|
864
|
+
*/
|
|
865
|
+
'put'(
|
|
866
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
867
|
+
data?: Paths.UpdateJourney.RequestBody,
|
|
868
|
+
config?: AxiosRequestConfig
|
|
869
|
+
): OperationResponse<Paths.UpdateJourney.Responses.$200>
|
|
870
|
+
}
|
|
871
|
+
['/v1/journey/templates']: {
|
|
872
|
+
/**
|
|
873
|
+
* updateJourneyTemplate - updateJourneyTemplate
|
|
874
|
+
*
|
|
875
|
+
* Update a Journey Template
|
|
876
|
+
*/
|
|
877
|
+
'patch'(
|
|
878
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
879
|
+
data?: Paths.UpdateJourneyTemplate.RequestBody,
|
|
880
|
+
config?: AxiosRequestConfig
|
|
881
|
+
): OperationResponse<any>
|
|
882
|
+
/**
|
|
883
|
+
* getJourneysTemplates - getJourneysTemplates
|
|
884
|
+
*
|
|
885
|
+
* Get All Journey Templates
|
|
886
|
+
*/
|
|
887
|
+
'get'(
|
|
888
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
889
|
+
data?: any,
|
|
890
|
+
config?: AxiosRequestConfig
|
|
891
|
+
): OperationResponse<any>
|
|
892
|
+
/**
|
|
893
|
+
* createJourneyTemplate - createJourneyTemplate
|
|
894
|
+
*
|
|
895
|
+
* Get a new Journey Template
|
|
896
|
+
*/
|
|
897
|
+
'post'(
|
|
898
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
899
|
+
data?: Paths.CreateJourneyTemplate.RequestBody,
|
|
900
|
+
config?: AxiosRequestConfig
|
|
901
|
+
): OperationResponse<any>
|
|
902
|
+
}
|
|
903
|
+
['/v1/journey/templates/{id}']: {
|
|
904
|
+
/**
|
|
905
|
+
* removeJourneyTemplate - removeJourneyTemplate
|
|
906
|
+
*
|
|
907
|
+
* Remove Journey Template by id
|
|
908
|
+
*/
|
|
909
|
+
'delete'(
|
|
910
|
+
parameters?: Parameters<Paths.RemoveJourneyTemplate.PathParameters> | null,
|
|
911
|
+
data?: any,
|
|
912
|
+
config?: AxiosRequestConfig
|
|
913
|
+
): OperationResponse<any>
|
|
914
|
+
/**
|
|
915
|
+
* getJourneyTemplateById - getJourneyTemplateById
|
|
916
|
+
*
|
|
917
|
+
* Get Journey Template by ID
|
|
918
|
+
*/
|
|
919
|
+
'get'(
|
|
920
|
+
parameters?: Parameters<Paths.GetJourneyTemplateById.PathParameters> | null,
|
|
921
|
+
data?: any,
|
|
922
|
+
config?: AxiosRequestConfig
|
|
923
|
+
): OperationResponse<any>
|
|
924
|
+
}
|
|
925
|
+
['/v1/journey/templates/search']: {
|
|
926
|
+
/**
|
|
927
|
+
* searchJourneyTemplates - searchJourneyTemplates
|
|
928
|
+
*
|
|
929
|
+
* Search Journey Templates
|
|
930
|
+
*/
|
|
931
|
+
'post'(
|
|
932
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
933
|
+
data?: Paths.SearchJourneyTemplates.RequestBody,
|
|
934
|
+
config?: AxiosRequestConfig
|
|
935
|
+
): OperationResponse<any>
|
|
936
|
+
}
|
|
937
|
+
['/v1/journey/step/templates/{id}']: {
|
|
938
|
+
/**
|
|
939
|
+
* removeJourneyStepTemplate - removeJourneyStepTemplate
|
|
940
|
+
*
|
|
941
|
+
* Delete Journey Step Template
|
|
942
|
+
*/
|
|
943
|
+
'delete'(
|
|
944
|
+
parameters?: Parameters<Paths.RemoveJourneyStepTemplate.PathParameters> | null,
|
|
945
|
+
data?: any,
|
|
946
|
+
config?: AxiosRequestConfig
|
|
947
|
+
): OperationResponse<any>
|
|
948
|
+
/**
|
|
949
|
+
* getJourneyStepTemplateById - getJourneyStepTemplateById
|
|
950
|
+
*
|
|
951
|
+
* Get Journey Step Template by ID
|
|
952
|
+
*/
|
|
953
|
+
'get'(
|
|
954
|
+
parameters?: Parameters<Paths.GetJourneyStepTemplateById.PathParameters> | null,
|
|
955
|
+
data?: any,
|
|
956
|
+
config?: AxiosRequestConfig
|
|
957
|
+
): OperationResponse<any>
|
|
958
|
+
}
|
|
959
|
+
['/v1/journey/step/templates']: {
|
|
960
|
+
/**
|
|
961
|
+
* getJourneysStepTemplates - getJourneysStepTemplates
|
|
962
|
+
*
|
|
963
|
+
* Get All Journey Step Templates
|
|
964
|
+
*/
|
|
965
|
+
'get'(
|
|
966
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
967
|
+
data?: any,
|
|
968
|
+
config?: AxiosRequestConfig
|
|
969
|
+
): OperationResponse<any>
|
|
970
|
+
/**
|
|
971
|
+
* createJourneyStepTemplate - createJourneyStepTemplate
|
|
972
|
+
*
|
|
973
|
+
* Create a new journey step template
|
|
974
|
+
*/
|
|
975
|
+
'post'(
|
|
976
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
977
|
+
data?: Paths.CreateJourneyStepTemplate.RequestBody,
|
|
978
|
+
config?: AxiosRequestConfig
|
|
979
|
+
): OperationResponse<any>
|
|
980
|
+
/**
|
|
981
|
+
* updateJourneyStepTemplate - updateJourneyStepTemplate
|
|
982
|
+
*
|
|
983
|
+
* Update a journey step template
|
|
984
|
+
*/
|
|
985
|
+
'patch'(
|
|
986
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
987
|
+
data?: Paths.UpdateJourneyStepTemplate.RequestBody,
|
|
988
|
+
config?: AxiosRequestConfig
|
|
989
|
+
): OperationResponse<any>
|
|
990
|
+
}
|
|
991
|
+
['/v1/widget/configuration/{id}']: {
|
|
992
|
+
/**
|
|
993
|
+
* getWidget - getWidget
|
|
994
|
+
*
|
|
995
|
+
* Get Widget by ID
|
|
996
|
+
*/
|
|
997
|
+
'get'(
|
|
998
|
+
parameters?: Parameters<Paths.GetWidget.PathParameters> | null,
|
|
999
|
+
data?: any,
|
|
1000
|
+
config?: AxiosRequestConfig
|
|
1001
|
+
): OperationResponse<any>
|
|
1002
|
+
/**
|
|
1003
|
+
* removeWidget - removeWidget
|
|
1004
|
+
*
|
|
1005
|
+
* Remove widget by id
|
|
1006
|
+
*/
|
|
1007
|
+
'delete'(
|
|
1008
|
+
parameters?: Parameters<Paths.RemoveWidget.PathParameters> | null,
|
|
1009
|
+
data?: Paths.RemoveWidget.RequestBody,
|
|
1010
|
+
config?: AxiosRequestConfig
|
|
1011
|
+
): OperationResponse<any>
|
|
1012
|
+
}
|
|
1013
|
+
['/v1/widget/craftsmen']: {
|
|
1014
|
+
/**
|
|
1015
|
+
* getCraftsmenJourneys - getCraftsmenJourneys
|
|
1016
|
+
*
|
|
1017
|
+
* Get craftsmen Journeys
|
|
1018
|
+
*/
|
|
1019
|
+
'post'(
|
|
1020
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1021
|
+
data?: Paths.GetCraftsmenJourneys.RequestBody,
|
|
1022
|
+
config?: AxiosRequestConfig
|
|
1023
|
+
): OperationResponse<any>
|
|
1024
|
+
}
|
|
1025
|
+
['/v1/widget/email-templates/{id}']: {
|
|
1026
|
+
/**
|
|
1027
|
+
* getEmailTemplates - getEmailTemplates
|
|
1028
|
+
*
|
|
1029
|
+
* Get email templates
|
|
1030
|
+
*/
|
|
1031
|
+
'get'(
|
|
1032
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1033
|
+
data?: any,
|
|
1034
|
+
config?: AxiosRequestConfig
|
|
1035
|
+
): OperationResponse<any>
|
|
1036
|
+
}
|
|
1037
|
+
['/v1/widget/organization/{id}']: {
|
|
1038
|
+
/**
|
|
1039
|
+
* searchWidgetByOrganizationId - searchWidgetByOrganizationId
|
|
1040
|
+
*
|
|
1041
|
+
* Search widgets by organization ID
|
|
1042
|
+
*/
|
|
1043
|
+
'get'(
|
|
1044
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1045
|
+
data?: any,
|
|
1046
|
+
config?: AxiosRequestConfig
|
|
1047
|
+
): OperationResponse<any>
|
|
1048
|
+
}
|
|
1049
|
+
['/v1/widget/configuration']: {
|
|
1050
|
+
/**
|
|
1051
|
+
* createWidget - createWidget
|
|
1052
|
+
*
|
|
1053
|
+
* Create new Widget
|
|
1054
|
+
*/
|
|
1055
|
+
'post'(
|
|
1056
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1057
|
+
data?: Paths.CreateWidget.RequestBody,
|
|
1058
|
+
config?: AxiosRequestConfig
|
|
1059
|
+
): OperationResponse<any>
|
|
1060
|
+
/**
|
|
1061
|
+
* updateWidget - updateWidget
|
|
1062
|
+
*
|
|
1063
|
+
* Update a widget
|
|
1064
|
+
*/
|
|
1065
|
+
'put'(
|
|
1066
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1067
|
+
data?: Paths.UpdateWidget.RequestBody,
|
|
1068
|
+
config?: AxiosRequestConfig
|
|
1069
|
+
): OperationResponse<any>
|
|
1070
|
+
}
|
|
1071
|
+
['/v1/widget/configuration/delete']: {
|
|
1072
|
+
/**
|
|
1073
|
+
* removeWidgets - removeWidgets
|
|
1074
|
+
*
|
|
1075
|
+
* Remove widgets
|
|
1076
|
+
*/
|
|
1077
|
+
'delete'(
|
|
1078
|
+
parameters?: Parameters<Paths.RemoveWidgets.QueryParameters> | null,
|
|
1079
|
+
data?: any,
|
|
1080
|
+
config?: AxiosRequestConfig
|
|
1081
|
+
): OperationResponse<any>
|
|
1082
|
+
}
|
|
1083
|
+
['/v1/journey/configuration/search']: {
|
|
1084
|
+
/**
|
|
1085
|
+
* searchJourneys - searchJourneys
|
|
1086
|
+
*
|
|
1087
|
+
* Search Journeys
|
|
1088
|
+
*/
|
|
1089
|
+
'post'(
|
|
1090
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1091
|
+
data?: Paths.SearchJourneys.RequestBody,
|
|
1092
|
+
config?: AxiosRequestConfig
|
|
1093
|
+
): OperationResponse<Paths.SearchJourneys.Responses.$200>
|
|
1094
|
+
}
|
|
1095
|
+
['/v1/journey/files/persist']: {
|
|
1096
|
+
/**
|
|
1097
|
+
* filesPersist - filesPersist
|
|
1098
|
+
*
|
|
1099
|
+
* Persist files
|
|
1100
|
+
*/
|
|
1101
|
+
'post'(
|
|
1102
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1103
|
+
data?: Paths.FilesPersist.RequestBody,
|
|
1104
|
+
config?: AxiosRequestConfig
|
|
1105
|
+
): OperationResponse<any>
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|