@ogcio/building-blocks-sdk 0.2.12 → 0.2.14
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/client/clients/journey/index.d.ts +72 -18
- package/dist/client/clients/journey/index.d.ts.map +1 -1
- package/dist/client/clients/journey/schema.d.ts +60 -15
- package/dist/client/clients/journey/schema.d.ts.map +1 -1
- package/dist/client/clients/payments/index.d.ts +116 -29
- package/dist/client/clients/payments/index.d.ts.map +1 -1
- package/dist/client/clients/payments/schema.d.ts +109 -25
- package/dist/client/clients/payments/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/clients/journey/open-api-definition.json +185 -20
- package/src/client/clients/journey/schema.ts +60 -15
- package/src/client/clients/payments/open-api-definition.json +365 -52
- package/src/client/clients/payments/schema.ts +109 -25
|
@@ -541,8 +541,14 @@ export interface paths {
|
|
|
541
541
|
"application/json": {
|
|
542
542
|
data: {
|
|
543
543
|
paymentRequestId: string;
|
|
544
|
-
title:
|
|
545
|
-
|
|
544
|
+
title: {
|
|
545
|
+
en: string;
|
|
546
|
+
ga?: string;
|
|
547
|
+
};
|
|
548
|
+
description?: {
|
|
549
|
+
en: string;
|
|
550
|
+
ga?: string;
|
|
551
|
+
};
|
|
546
552
|
amount?: number;
|
|
547
553
|
reference?: string;
|
|
548
554
|
providers: {
|
|
@@ -603,8 +609,14 @@ export interface paths {
|
|
|
603
609
|
requestBody: {
|
|
604
610
|
content: {
|
|
605
611
|
"application/json": {
|
|
606
|
-
title:
|
|
607
|
-
|
|
612
|
+
title: {
|
|
613
|
+
en: string;
|
|
614
|
+
ga?: string;
|
|
615
|
+
};
|
|
616
|
+
description: {
|
|
617
|
+
en: string | null;
|
|
618
|
+
ga?: string;
|
|
619
|
+
};
|
|
608
620
|
reference: string | null;
|
|
609
621
|
amount: number | null;
|
|
610
622
|
redirectUrl: string | null;
|
|
@@ -711,8 +723,14 @@ export interface paths {
|
|
|
711
723
|
requestBody: {
|
|
712
724
|
content: {
|
|
713
725
|
"application/json": {
|
|
714
|
-
title:
|
|
715
|
-
|
|
726
|
+
title: {
|
|
727
|
+
en: string;
|
|
728
|
+
ga?: string;
|
|
729
|
+
};
|
|
730
|
+
description: {
|
|
731
|
+
en: string | null;
|
|
732
|
+
ga?: string;
|
|
733
|
+
};
|
|
716
734
|
reference: string | null;
|
|
717
735
|
amount: number | null;
|
|
718
736
|
redirectUrl: string | null;
|
|
@@ -838,8 +856,14 @@ export interface paths {
|
|
|
838
856
|
"application/json": {
|
|
839
857
|
data: {
|
|
840
858
|
paymentRequestId: string;
|
|
841
|
-
title:
|
|
842
|
-
|
|
859
|
+
title: {
|
|
860
|
+
en: string;
|
|
861
|
+
ga?: string;
|
|
862
|
+
};
|
|
863
|
+
description?: {
|
|
864
|
+
en: string;
|
|
865
|
+
ga?: string;
|
|
866
|
+
};
|
|
843
867
|
amount?: number;
|
|
844
868
|
allowAmountOverride: boolean;
|
|
845
869
|
createdAt: string;
|
|
@@ -917,8 +941,14 @@ export interface paths {
|
|
|
917
941
|
"application/json": {
|
|
918
942
|
data: {
|
|
919
943
|
paymentRequestId: string;
|
|
920
|
-
title:
|
|
921
|
-
|
|
944
|
+
title: {
|
|
945
|
+
en: string;
|
|
946
|
+
ga?: string;
|
|
947
|
+
};
|
|
948
|
+
description?: {
|
|
949
|
+
en: string;
|
|
950
|
+
ga?: string;
|
|
951
|
+
};
|
|
922
952
|
amount?: number;
|
|
923
953
|
reference?: string;
|
|
924
954
|
providers: {
|
|
@@ -1076,8 +1106,14 @@ export interface paths {
|
|
|
1076
1106
|
"application/json": {
|
|
1077
1107
|
data: {
|
|
1078
1108
|
paymentRequestId: string;
|
|
1079
|
-
title:
|
|
1080
|
-
|
|
1109
|
+
title: {
|
|
1110
|
+
en: string;
|
|
1111
|
+
ga?: string;
|
|
1112
|
+
};
|
|
1113
|
+
description?: {
|
|
1114
|
+
en: string;
|
|
1115
|
+
ga?: string;
|
|
1116
|
+
};
|
|
1081
1117
|
amount: number;
|
|
1082
1118
|
reference: string;
|
|
1083
1119
|
providers: {
|
|
@@ -1309,7 +1345,10 @@ export interface paths {
|
|
|
1309
1345
|
extPaymentId: string;
|
|
1310
1346
|
paymentProviderId: string;
|
|
1311
1347
|
updatedAt: string;
|
|
1312
|
-
title:
|
|
1348
|
+
title: {
|
|
1349
|
+
en: string;
|
|
1350
|
+
ga?: string;
|
|
1351
|
+
};
|
|
1313
1352
|
}[];
|
|
1314
1353
|
metadata?: {
|
|
1315
1354
|
/** @description Object containing the links to the related endpoints */
|
|
@@ -1421,16 +1460,25 @@ export interface paths {
|
|
|
1421
1460
|
extPaymentId: string;
|
|
1422
1461
|
paymentProviderId: string;
|
|
1423
1462
|
updatedAt: string;
|
|
1424
|
-
title:
|
|
1463
|
+
title: {
|
|
1464
|
+
en: string;
|
|
1465
|
+
ga?: string;
|
|
1466
|
+
};
|
|
1425
1467
|
userId: string;
|
|
1426
1468
|
metadata: {
|
|
1427
1469
|
runId?: string;
|
|
1428
1470
|
journeyId?: string;
|
|
1429
|
-
journeyTitle?:
|
|
1471
|
+
journeyTitle?: {
|
|
1472
|
+
en: string;
|
|
1473
|
+
ga?: string;
|
|
1474
|
+
};
|
|
1430
1475
|
redirectUrl?: string;
|
|
1431
1476
|
amount?: string;
|
|
1432
1477
|
};
|
|
1433
|
-
description:
|
|
1478
|
+
description: {
|
|
1479
|
+
en: string;
|
|
1480
|
+
ga?: string;
|
|
1481
|
+
};
|
|
1434
1482
|
providerName: string;
|
|
1435
1483
|
providerType: string;
|
|
1436
1484
|
paymentRequestId: string;
|
|
@@ -1667,16 +1715,25 @@ export interface paths {
|
|
|
1667
1715
|
extPaymentId: string;
|
|
1668
1716
|
paymentProviderId: string;
|
|
1669
1717
|
updatedAt: string;
|
|
1670
|
-
title:
|
|
1718
|
+
title: {
|
|
1719
|
+
en: string;
|
|
1720
|
+
ga?: string;
|
|
1721
|
+
};
|
|
1671
1722
|
userId: string;
|
|
1672
1723
|
metadata: {
|
|
1673
1724
|
runId?: string;
|
|
1674
1725
|
journeyId?: string;
|
|
1675
|
-
journeyTitle?:
|
|
1726
|
+
journeyTitle?: {
|
|
1727
|
+
en: string;
|
|
1728
|
+
ga?: string;
|
|
1729
|
+
};
|
|
1676
1730
|
redirectUrl?: string;
|
|
1677
1731
|
amount?: string;
|
|
1678
1732
|
};
|
|
1679
|
-
description:
|
|
1733
|
+
description: {
|
|
1734
|
+
en: string;
|
|
1735
|
+
ga?: string;
|
|
1736
|
+
};
|
|
1680
1737
|
providerName: string;
|
|
1681
1738
|
providerType: string;
|
|
1682
1739
|
paymentRequestId: string;
|
|
@@ -1786,7 +1843,10 @@ export interface paths {
|
|
|
1786
1843
|
metadata: {
|
|
1787
1844
|
runId?: string;
|
|
1788
1845
|
journeyId?: string;
|
|
1789
|
-
journeyTitle?:
|
|
1846
|
+
journeyTitle?: {
|
|
1847
|
+
en: string;
|
|
1848
|
+
ga?: string;
|
|
1849
|
+
};
|
|
1790
1850
|
redirectUrl?: string;
|
|
1791
1851
|
amount?: string;
|
|
1792
1852
|
};
|
|
@@ -1917,6 +1977,15 @@ export interface paths {
|
|
|
1917
1977
|
};
|
|
1918
1978
|
paymentRequestTitle?: {
|
|
1919
1979
|
type?: string;
|
|
1980
|
+
properties?: {
|
|
1981
|
+
en?: {
|
|
1982
|
+
type?: string;
|
|
1983
|
+
};
|
|
1984
|
+
ga?: {
|
|
1985
|
+
type?: string;
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1988
|
+
required?: string[];
|
|
1920
1989
|
};
|
|
1921
1990
|
amount?: {
|
|
1922
1991
|
minimum?: number;
|
|
@@ -2076,7 +2145,10 @@ export interface paths {
|
|
|
2076
2145
|
userId: string;
|
|
2077
2146
|
transactionId: string;
|
|
2078
2147
|
paymentRequestId: string;
|
|
2079
|
-
paymentRequestTitle:
|
|
2148
|
+
paymentRequestTitle: {
|
|
2149
|
+
en: string;
|
|
2150
|
+
ga?: string;
|
|
2151
|
+
};
|
|
2080
2152
|
amount: number;
|
|
2081
2153
|
extReferenceCode: string;
|
|
2082
2154
|
paymentMethod: string;
|
|
@@ -2619,7 +2691,10 @@ export interface paths {
|
|
|
2619
2691
|
data: {
|
|
2620
2692
|
transactionId: string;
|
|
2621
2693
|
status: "initiated" | "pending" | "succeeded" | "cancelled" | "cancellation_requested" | "failed" | "refunded" | "refund_failed";
|
|
2622
|
-
title:
|
|
2694
|
+
title: {
|
|
2695
|
+
en: string;
|
|
2696
|
+
ga?: string;
|
|
2697
|
+
};
|
|
2623
2698
|
updatedAt: string;
|
|
2624
2699
|
extPaymentId: string;
|
|
2625
2700
|
amount: number;
|
|
@@ -2750,16 +2825,25 @@ export interface paths {
|
|
|
2750
2825
|
extPaymentId: string;
|
|
2751
2826
|
paymentProviderId: string;
|
|
2752
2827
|
updatedAt: string;
|
|
2753
|
-
title:
|
|
2828
|
+
title: {
|
|
2829
|
+
en: string;
|
|
2830
|
+
ga?: string;
|
|
2831
|
+
};
|
|
2754
2832
|
userId: string;
|
|
2755
2833
|
metadata: {
|
|
2756
2834
|
runId?: string;
|
|
2757
2835
|
journeyId?: string;
|
|
2758
|
-
journeyTitle?:
|
|
2836
|
+
journeyTitle?: {
|
|
2837
|
+
en: string;
|
|
2838
|
+
ga?: string;
|
|
2839
|
+
};
|
|
2759
2840
|
redirectUrl?: string;
|
|
2760
2841
|
amount?: string;
|
|
2761
2842
|
};
|
|
2762
|
-
description:
|
|
2843
|
+
description: {
|
|
2844
|
+
en: string;
|
|
2845
|
+
ga?: string;
|
|
2846
|
+
};
|
|
2763
2847
|
providerName: string;
|
|
2764
2848
|
providerType: string;
|
|
2765
2849
|
paymentRequestId: string;
|