@ogcio/building-blocks-sdk 0.2.91 → 0.2.92
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 +7 -0
- package/dist/client/clients/journey/index.d.ts +46 -0
- package/dist/client/clients/journey/index.d.ts.map +1 -1
- package/dist/client/clients/journey/schema.d.ts +178 -4
- package/dist/client/clients/journey/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/clients/journey/open-api-definition.json +2043 -1350
- package/src/client/clients/journey/schema.ts +178 -4
|
@@ -559,6 +559,26 @@ export interface paths {
|
|
|
559
559
|
patch?: never;
|
|
560
560
|
trace?: never;
|
|
561
561
|
};
|
|
562
|
+
"/api/v1/exporter/submissions/{journeyId}": {
|
|
563
|
+
parameters: {
|
|
564
|
+
query?: never;
|
|
565
|
+
header?: never;
|
|
566
|
+
path?: never;
|
|
567
|
+
cookie?: never;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Export submissions for a journey
|
|
571
|
+
* @description Export submissions for a journey
|
|
572
|
+
*/
|
|
573
|
+
get: operations["exportSubmissions"];
|
|
574
|
+
put?: never;
|
|
575
|
+
post?: never;
|
|
576
|
+
delete?: never;
|
|
577
|
+
options?: never;
|
|
578
|
+
head?: never;
|
|
579
|
+
patch?: never;
|
|
580
|
+
trace?: never;
|
|
581
|
+
};
|
|
562
582
|
}
|
|
563
583
|
export type webhooks = Record<string, never>;
|
|
564
584
|
export interface components {
|
|
@@ -608,6 +628,7 @@ export interface operations {
|
|
|
608
628
|
createdAt: string;
|
|
609
629
|
updatedAt: string;
|
|
610
630
|
allowedAuthMethods: ("email_otp" | "social:mygovid")[];
|
|
631
|
+
formVersion: ("V1" | "V2") | null;
|
|
611
632
|
userName: string;
|
|
612
633
|
}[];
|
|
613
634
|
metadata?: {
|
|
@@ -785,12 +806,14 @@ export interface operations {
|
|
|
785
806
|
updatedAt: string;
|
|
786
807
|
initialStepId: string;
|
|
787
808
|
allowedAuthMethods: ("email_otp" | "social:mygovid")[];
|
|
809
|
+
formVersion: ("V1" | "V2") | null;
|
|
788
810
|
steps: {
|
|
789
811
|
id: string;
|
|
790
812
|
journeyId: string;
|
|
791
813
|
stepType: "title" | "auth-method" | "form" | "payment" | "messaging" | "complete";
|
|
792
814
|
stepData: {
|
|
793
815
|
formId: string;
|
|
816
|
+
keyvault?: boolean;
|
|
794
817
|
} | {
|
|
795
818
|
paymentRequestId: string;
|
|
796
819
|
title: string;
|
|
@@ -1146,6 +1169,22 @@ export interface operations {
|
|
|
1146
1169
|
};
|
|
1147
1170
|
};
|
|
1148
1171
|
/** @description Default Response */
|
|
1172
|
+
404: {
|
|
1173
|
+
headers: {
|
|
1174
|
+
[name: string]: unknown;
|
|
1175
|
+
};
|
|
1176
|
+
content: {
|
|
1177
|
+
"application/json": {
|
|
1178
|
+
code: string;
|
|
1179
|
+
detail: string;
|
|
1180
|
+
requestId: string;
|
|
1181
|
+
name: string;
|
|
1182
|
+
validation?: unknown;
|
|
1183
|
+
validationContext?: string;
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
/** @description Default Response */
|
|
1149
1188
|
500: {
|
|
1150
1189
|
headers: {
|
|
1151
1190
|
[name: string]: unknown;
|
|
@@ -1197,7 +1236,8 @@ export interface operations {
|
|
|
1197
1236
|
* "allowedAuthMethods": [
|
|
1198
1237
|
* "email_otp",
|
|
1199
1238
|
* "social:mygovid"
|
|
1200
|
-
* ]
|
|
1239
|
+
* ],
|
|
1240
|
+
* "formVersion": "V1"
|
|
1201
1241
|
* }
|
|
1202
1242
|
*/
|
|
1203
1243
|
data: {
|
|
@@ -1211,6 +1251,7 @@ export interface operations {
|
|
|
1211
1251
|
createdAt: string;
|
|
1212
1252
|
updatedAt: string;
|
|
1213
1253
|
allowedAuthMethods: ("email_otp" | "social:mygovid")[];
|
|
1254
|
+
formVersion: ("V1" | "V2") | null;
|
|
1214
1255
|
};
|
|
1215
1256
|
metadata?: {
|
|
1216
1257
|
links?: {
|
|
@@ -1666,6 +1707,7 @@ export interface operations {
|
|
|
1666
1707
|
stepType: "title" | "auth-method" | "form" | "payment" | "messaging" | "complete";
|
|
1667
1708
|
stepData: {
|
|
1668
1709
|
formId: string;
|
|
1710
|
+
keyvault?: boolean;
|
|
1669
1711
|
} | {
|
|
1670
1712
|
paymentRequestId: string;
|
|
1671
1713
|
title: string;
|
|
@@ -1768,6 +1810,7 @@ export interface operations {
|
|
|
1768
1810
|
"application/json": {
|
|
1769
1811
|
stepData: {
|
|
1770
1812
|
formId: string;
|
|
1813
|
+
keyvault?: boolean;
|
|
1771
1814
|
} | {
|
|
1772
1815
|
paymentRequestId: string;
|
|
1773
1816
|
title: string;
|
|
@@ -1824,6 +1867,7 @@ export interface operations {
|
|
|
1824
1867
|
stepType: "title" | "auth-method" | "form" | "payment" | "messaging" | "complete";
|
|
1825
1868
|
stepData: {
|
|
1826
1869
|
formId: string;
|
|
1870
|
+
keyvault?: boolean;
|
|
1827
1871
|
} | {
|
|
1828
1872
|
paymentRequestId: string;
|
|
1829
1873
|
title: string;
|
|
@@ -1879,6 +1923,22 @@ export interface operations {
|
|
|
1879
1923
|
};
|
|
1880
1924
|
};
|
|
1881
1925
|
/** @description Default Response */
|
|
1926
|
+
400: {
|
|
1927
|
+
headers: {
|
|
1928
|
+
[name: string]: unknown;
|
|
1929
|
+
};
|
|
1930
|
+
content: {
|
|
1931
|
+
"application/json": {
|
|
1932
|
+
code: string;
|
|
1933
|
+
detail: string;
|
|
1934
|
+
requestId: string;
|
|
1935
|
+
name: string;
|
|
1936
|
+
validation?: unknown;
|
|
1937
|
+
validationContext?: string;
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
/** @description Default Response */
|
|
1882
1942
|
401: {
|
|
1883
1943
|
headers: {
|
|
1884
1944
|
[name: string]: unknown;
|
|
@@ -2008,6 +2068,7 @@ export interface operations {
|
|
|
2008
2068
|
configured: boolean;
|
|
2009
2069
|
stepData: {
|
|
2010
2070
|
formId: string;
|
|
2071
|
+
keyvault?: boolean;
|
|
2011
2072
|
} | {
|
|
2012
2073
|
paymentRequestId: string;
|
|
2013
2074
|
title: string;
|
|
@@ -2062,6 +2123,7 @@ export interface operations {
|
|
|
2062
2123
|
stepType: "title" | "auth-method" | "form" | "payment" | "messaging" | "complete";
|
|
2063
2124
|
stepData: {
|
|
2064
2125
|
formId: string;
|
|
2126
|
+
keyvault?: boolean;
|
|
2065
2127
|
} | {
|
|
2066
2128
|
paymentRequestId: string;
|
|
2067
2129
|
title: string;
|
|
@@ -2175,6 +2237,7 @@ export interface operations {
|
|
|
2175
2237
|
createdAt: string;
|
|
2176
2238
|
updatedAt: string;
|
|
2177
2239
|
choosenAuthMethod: string;
|
|
2240
|
+
formVersion: "V1" | "V2";
|
|
2178
2241
|
}[];
|
|
2179
2242
|
metadata?: {
|
|
2180
2243
|
links?: {
|
|
@@ -2282,7 +2345,8 @@ export interface operations {
|
|
|
2282
2345
|
* "updatedAt": "2025-10-09T15:03:00.000Z"
|
|
2283
2346
|
* }
|
|
2284
2347
|
* ],
|
|
2285
|
-
* "choosenAuthMethod": "email_otp"
|
|
2348
|
+
* "choosenAuthMethod": "email_otp",
|
|
2349
|
+
* "formVersion": "V1"
|
|
2286
2350
|
* }
|
|
2287
2351
|
*/
|
|
2288
2352
|
data: {
|
|
@@ -2312,6 +2376,7 @@ export interface operations {
|
|
|
2312
2376
|
updatedAt: string;
|
|
2313
2377
|
}[];
|
|
2314
2378
|
choosenAuthMethod: string;
|
|
2379
|
+
formVersion: "V1" | "V2";
|
|
2315
2380
|
};
|
|
2316
2381
|
metadata?: {
|
|
2317
2382
|
links?: {
|
|
@@ -2402,6 +2467,7 @@ export interface operations {
|
|
|
2402
2467
|
createdAt: string;
|
|
2403
2468
|
updatedAt: string;
|
|
2404
2469
|
choosenAuthMethod: string;
|
|
2470
|
+
formVersion: "V1" | "V2";
|
|
2405
2471
|
}[];
|
|
2406
2472
|
metadata?: {
|
|
2407
2473
|
links?: {
|
|
@@ -2494,6 +2560,7 @@ export interface operations {
|
|
|
2494
2560
|
updatedAt: string;
|
|
2495
2561
|
}[];
|
|
2496
2562
|
choosenAuthMethod: string;
|
|
2563
|
+
formVersion: "V1" | "V2";
|
|
2497
2564
|
userEmail?: string;
|
|
2498
2565
|
organizationId: string;
|
|
2499
2566
|
};
|
|
@@ -2695,7 +2762,8 @@ export interface operations {
|
|
|
2695
2762
|
* "updatedAt": "2025-10-09T15:03:00.000Z"
|
|
2696
2763
|
* }
|
|
2697
2764
|
* ],
|
|
2698
|
-
* "choosenAuthMethod": "email_otp"
|
|
2765
|
+
* "choosenAuthMethod": "email_otp",
|
|
2766
|
+
* "formVersion": "V1"
|
|
2699
2767
|
* }
|
|
2700
2768
|
*/
|
|
2701
2769
|
"application/json": {
|
|
@@ -2753,7 +2821,8 @@ export interface operations {
|
|
|
2753
2821
|
* "updatedAt": "2025-10-09T15:03:00.000Z"
|
|
2754
2822
|
* }
|
|
2755
2823
|
* ],
|
|
2756
|
-
* "choosenAuthMethod": "email_otp"
|
|
2824
|
+
* "choosenAuthMethod": "email_otp",
|
|
2825
|
+
* "formVersion": "V1"
|
|
2757
2826
|
* }
|
|
2758
2827
|
*/
|
|
2759
2828
|
data: {
|
|
@@ -2855,6 +2924,7 @@ export interface operations {
|
|
|
2855
2924
|
createdAt: string;
|
|
2856
2925
|
updatedAt: string;
|
|
2857
2926
|
choosenAuthMethod: string;
|
|
2927
|
+
formVersion: "V1" | "V2";
|
|
2858
2928
|
organizationId: string;
|
|
2859
2929
|
journeyTitle: {
|
|
2860
2930
|
en: string;
|
|
@@ -3784,4 +3854,108 @@ export interface operations {
|
|
|
3784
3854
|
};
|
|
3785
3855
|
};
|
|
3786
3856
|
};
|
|
3857
|
+
exportSubmissions: {
|
|
3858
|
+
parameters: {
|
|
3859
|
+
query?: {
|
|
3860
|
+
offset?: number;
|
|
3861
|
+
limit?: number;
|
|
3862
|
+
};
|
|
3863
|
+
header?: never;
|
|
3864
|
+
path: {
|
|
3865
|
+
journeyId: string;
|
|
3866
|
+
};
|
|
3867
|
+
cookie?: never;
|
|
3868
|
+
};
|
|
3869
|
+
requestBody?: never;
|
|
3870
|
+
responses: {
|
|
3871
|
+
/** @description Default Response */
|
|
3872
|
+
200: {
|
|
3873
|
+
headers: {
|
|
3874
|
+
[name: string]: unknown;
|
|
3875
|
+
};
|
|
3876
|
+
content: {
|
|
3877
|
+
"application/json": {
|
|
3878
|
+
data: {
|
|
3879
|
+
journeySubmissionId: string;
|
|
3880
|
+
journeyName: string;
|
|
3881
|
+
journeySubmissionStatus: string;
|
|
3882
|
+
journeySubmissionCreatedAt: string;
|
|
3883
|
+
journeySubmissionUpdatedAt: string;
|
|
3884
|
+
payment?: {
|
|
3885
|
+
referenceId: string;
|
|
3886
|
+
requestTitle: string;
|
|
3887
|
+
amount: number;
|
|
3888
|
+
updatedAt: string;
|
|
3889
|
+
status: string;
|
|
3890
|
+
providerName: string;
|
|
3891
|
+
providerType: string;
|
|
3892
|
+
/**
|
|
3893
|
+
* @example {
|
|
3894
|
+
* "stripeChargeId": "ch_3SnhgxB1C43EN5FC1A1GL06b"
|
|
3895
|
+
* }
|
|
3896
|
+
*/
|
|
3897
|
+
metadata: {
|
|
3898
|
+
[key: string]: string;
|
|
3899
|
+
};
|
|
3900
|
+
};
|
|
3901
|
+
formSubmission: {
|
|
3902
|
+
_id: string;
|
|
3903
|
+
encryptedContent: string;
|
|
3904
|
+
locale: string;
|
|
3905
|
+
paymentAmountRequired: number;
|
|
3906
|
+
processed: boolean;
|
|
3907
|
+
submissionTags: string[];
|
|
3908
|
+
version: number;
|
|
3909
|
+
created: string;
|
|
3910
|
+
attachmentMetadata: {
|
|
3911
|
+
[key: string]: string;
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3914
|
+
}[];
|
|
3915
|
+
metadata?: {
|
|
3916
|
+
links?: {
|
|
3917
|
+
self: {
|
|
3918
|
+
href?: string;
|
|
3919
|
+
};
|
|
3920
|
+
next?: {
|
|
3921
|
+
href?: string;
|
|
3922
|
+
};
|
|
3923
|
+
prev?: {
|
|
3924
|
+
href?: string;
|
|
3925
|
+
};
|
|
3926
|
+
first: {
|
|
3927
|
+
href?: string;
|
|
3928
|
+
};
|
|
3929
|
+
last: {
|
|
3930
|
+
href?: string;
|
|
3931
|
+
};
|
|
3932
|
+
pages: {
|
|
3933
|
+
[key: string]: {
|
|
3934
|
+
href?: string;
|
|
3935
|
+
};
|
|
3936
|
+
};
|
|
3937
|
+
};
|
|
3938
|
+
totalCount?: number;
|
|
3939
|
+
};
|
|
3940
|
+
};
|
|
3941
|
+
};
|
|
3942
|
+
};
|
|
3943
|
+
/** @description Default Response */
|
|
3944
|
+
401: {
|
|
3945
|
+
headers: {
|
|
3946
|
+
[name: string]: unknown;
|
|
3947
|
+
};
|
|
3948
|
+
content: {
|
|
3949
|
+
"application/json": {
|
|
3950
|
+
code: string;
|
|
3951
|
+
detail: string;
|
|
3952
|
+
requestId: string;
|
|
3953
|
+
name: string;
|
|
3954
|
+
validation?: unknown;
|
|
3955
|
+
validationContext?: string;
|
|
3956
|
+
};
|
|
3957
|
+
};
|
|
3958
|
+
};
|
|
3959
|
+
};
|
|
3960
|
+
};
|
|
3787
3961
|
}
|