@ogcio/building-blocks-sdk 0.1.9 → 0.1.11
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/client/clients/journey/index.d.ts +22 -12
- package/dist/client/clients/journey/index.d.ts.map +1 -1
- package/dist/client/clients/journey/schema.d.ts +18 -43
- package/dist/client/clients/journey/schema.d.ts.map +1 -1
- package/dist/client/clients/payments/index.d.ts.map +1 -1
- package/dist/client/clients/payments/schema.d.ts +0 -33
- package/dist/client/clients/payments/schema.d.ts.map +1 -1
- package/package.json +18 -21
- package/src/client/clients/journey/open-api-definition.json +50 -29
- package/src/client/clients/journey/schema.ts +18 -43
- package/src/client/clients/payments/open-api-definition.json +0 -9
- package/src/client/clients/payments/schema.ts +0 -33
|
@@ -258,7 +258,8 @@ export interface paths {
|
|
|
258
258
|
} | {
|
|
259
259
|
templateId: string;
|
|
260
260
|
title: string;
|
|
261
|
-
|
|
261
|
+
recipient: string;
|
|
262
|
+
generatePDF: boolean;
|
|
262
263
|
} | {
|
|
263
264
|
buttonLabel: string;
|
|
264
265
|
returnUrl: string;
|
|
@@ -633,39 +634,6 @@ export interface paths {
|
|
|
633
634
|
patch?: never;
|
|
634
635
|
trace?: never;
|
|
635
636
|
};
|
|
636
|
-
"/api/v1/journeys/create-journey": {
|
|
637
|
-
parameters: {
|
|
638
|
-
query?: never;
|
|
639
|
-
header?: never;
|
|
640
|
-
path?: never;
|
|
641
|
-
cookie?: never;
|
|
642
|
-
};
|
|
643
|
-
get?: never;
|
|
644
|
-
put?: never;
|
|
645
|
-
post: {
|
|
646
|
-
parameters: {
|
|
647
|
-
query?: never;
|
|
648
|
-
header?: never;
|
|
649
|
-
path?: never;
|
|
650
|
-
cookie?: never;
|
|
651
|
-
};
|
|
652
|
-
requestBody?: never;
|
|
653
|
-
responses: {
|
|
654
|
-
/** @description Default Response */
|
|
655
|
-
200: {
|
|
656
|
-
headers: {
|
|
657
|
-
[name: string]: unknown;
|
|
658
|
-
};
|
|
659
|
-
content?: never;
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
};
|
|
663
|
-
delete?: never;
|
|
664
|
-
options?: never;
|
|
665
|
-
head?: never;
|
|
666
|
-
patch?: never;
|
|
667
|
-
trace?: never;
|
|
668
|
-
};
|
|
669
637
|
"/api/v1/journey_step_connections/{connectionId}": {
|
|
670
638
|
parameters: {
|
|
671
639
|
query?: never;
|
|
@@ -989,7 +957,8 @@ export interface paths {
|
|
|
989
957
|
} | {
|
|
990
958
|
templateId: string;
|
|
991
959
|
title: string;
|
|
992
|
-
|
|
960
|
+
recipient: string;
|
|
961
|
+
generatePDF: boolean;
|
|
993
962
|
} | {
|
|
994
963
|
buttonLabel: string;
|
|
995
964
|
returnUrl: string;
|
|
@@ -1080,7 +1049,8 @@ export interface paths {
|
|
|
1080
1049
|
} | {
|
|
1081
1050
|
templateId: string;
|
|
1082
1051
|
title: string;
|
|
1083
|
-
|
|
1052
|
+
recipient: string;
|
|
1053
|
+
generatePDF: boolean;
|
|
1084
1054
|
} | {
|
|
1085
1055
|
buttonLabel: string;
|
|
1086
1056
|
returnUrl: string;
|
|
@@ -1110,7 +1080,8 @@ export interface paths {
|
|
|
1110
1080
|
} | {
|
|
1111
1081
|
templateId: string;
|
|
1112
1082
|
title: string;
|
|
1113
|
-
|
|
1083
|
+
recipient: string;
|
|
1084
|
+
generatePDF: boolean;
|
|
1114
1085
|
} | {
|
|
1115
1086
|
buttonLabel: string;
|
|
1116
1087
|
returnUrl: string;
|
|
@@ -1298,7 +1269,8 @@ export interface paths {
|
|
|
1298
1269
|
} | {
|
|
1299
1270
|
templateId: string;
|
|
1300
1271
|
title: string;
|
|
1301
|
-
|
|
1272
|
+
recipient: string;
|
|
1273
|
+
generatePDF: boolean;
|
|
1302
1274
|
} | {
|
|
1303
1275
|
buttonLabel: string;
|
|
1304
1276
|
returnUrl: string;
|
|
@@ -1326,7 +1298,8 @@ export interface paths {
|
|
|
1326
1298
|
} | {
|
|
1327
1299
|
templateId: string;
|
|
1328
1300
|
title: string;
|
|
1329
|
-
|
|
1301
|
+
recipient: string;
|
|
1302
|
+
generatePDF: boolean;
|
|
1330
1303
|
} | {
|
|
1331
1304
|
buttonLabel: string;
|
|
1332
1305
|
returnUrl: string;
|
|
@@ -1526,11 +1499,12 @@ export interface paths {
|
|
|
1526
1499
|
stepId: string;
|
|
1527
1500
|
stepType: "title" | "form" | "payment" | "messaging" | "complete";
|
|
1528
1501
|
status: "pending" | "in_progress" | "failed" | "completed";
|
|
1529
|
-
data?:
|
|
1502
|
+
data?: {
|
|
1530
1503
|
formSubmissionId: string;
|
|
1504
|
+
amount?: number;
|
|
1531
1505
|
} | {
|
|
1532
1506
|
transactionId: string;
|
|
1533
|
-
}
|
|
1507
|
+
} | Record<string, never>;
|
|
1534
1508
|
createdAt: string;
|
|
1535
1509
|
updatedAt: string;
|
|
1536
1510
|
}[];
|
|
@@ -1730,11 +1704,12 @@ export interface paths {
|
|
|
1730
1704
|
stepId: string;
|
|
1731
1705
|
stepType: "title" | "form" | "payment" | "messaging" | "complete";
|
|
1732
1706
|
status: "pending" | "in_progress" | "failed" | "completed";
|
|
1733
|
-
data?:
|
|
1707
|
+
data?: {
|
|
1734
1708
|
formSubmissionId: string;
|
|
1709
|
+
amount?: number;
|
|
1735
1710
|
} | {
|
|
1736
1711
|
transactionId: string;
|
|
1737
|
-
}
|
|
1712
|
+
} | Record<string, never>;
|
|
1738
1713
|
createdAt: string;
|
|
1739
1714
|
updatedAt: string;
|
|
1740
1715
|
}[];
|
|
@@ -32,39 +32,6 @@ export interface paths {
|
|
|
32
32
|
patch?: never;
|
|
33
33
|
trace?: never;
|
|
34
34
|
};
|
|
35
|
-
"/token": {
|
|
36
|
-
parameters: {
|
|
37
|
-
query?: never;
|
|
38
|
-
header?: never;
|
|
39
|
-
path?: never;
|
|
40
|
-
cookie?: never;
|
|
41
|
-
};
|
|
42
|
-
get: {
|
|
43
|
-
parameters: {
|
|
44
|
-
query?: never;
|
|
45
|
-
header?: never;
|
|
46
|
-
path?: never;
|
|
47
|
-
cookie?: never;
|
|
48
|
-
};
|
|
49
|
-
requestBody?: never;
|
|
50
|
-
responses: {
|
|
51
|
-
/** @description Default Response */
|
|
52
|
-
200: {
|
|
53
|
-
headers: {
|
|
54
|
-
[name: string]: unknown;
|
|
55
|
-
};
|
|
56
|
-
content?: never;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
put?: never;
|
|
61
|
-
post?: never;
|
|
62
|
-
delete?: never;
|
|
63
|
-
options?: never;
|
|
64
|
-
head?: never;
|
|
65
|
-
patch?: never;
|
|
66
|
-
trace?: never;
|
|
67
|
-
};
|
|
68
35
|
"/health": {
|
|
69
36
|
parameters: {
|
|
70
37
|
query?: never;
|