@ogcio/building-blocks-sdk 0.2.17 → 0.2.19
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/messaging/index.d.ts +3 -1
- package/dist/client/clients/messaging/index.d.ts.map +1 -1
- package/dist/client/clients/messaging/index.js +1 -0
- package/dist/client/clients/messaging/index.js.map +1 -1
- package/dist/client/clients/messaging/schema.d.ts +2 -0
- package/dist/client/clients/messaging/schema.d.ts.map +1 -1
- package/dist/client/clients/profile/index.d.ts +20 -10
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/schema.d.ts +155 -143
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client/clients/messaging/index.ts +4 -1
- package/src/client/clients/messaging/open-api-definition.json +9 -0
- package/src/client/clients/messaging/schema.ts +2 -0
- package/src/client/clients/profile/open-api-definition.json +90 -49
- package/src/client/clients/profile/schema.ts +155 -143
|
@@ -1609,8 +1609,9 @@
|
|
|
1609
1609
|
},
|
|
1610
1610
|
"/api/v1/profiles/imports": {
|
|
1611
1611
|
"get": {
|
|
1612
|
+
"operationId": "listProfileImports",
|
|
1612
1613
|
"tags": [
|
|
1613
|
-
"
|
|
1614
|
+
"Profiles"
|
|
1614
1615
|
],
|
|
1615
1616
|
"description": "List profile imports with pagination",
|
|
1616
1617
|
"parameters": [
|
|
@@ -1982,61 +1983,101 @@
|
|
|
1982
1983
|
"type": "object",
|
|
1983
1984
|
"properties": {
|
|
1984
1985
|
"data": {
|
|
1985
|
-
"type": "
|
|
1986
|
-
"
|
|
1987
|
-
"
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1986
|
+
"type": "object",
|
|
1987
|
+
"properties": {
|
|
1988
|
+
"organisationId": {
|
|
1989
|
+
"type": "string"
|
|
1990
|
+
},
|
|
1991
|
+
"status": {
|
|
1992
|
+
"type": "string"
|
|
1993
|
+
},
|
|
1994
|
+
"createdAt": {
|
|
1995
|
+
"format": "date-time",
|
|
1996
|
+
"type": "string"
|
|
1997
|
+
},
|
|
1998
|
+
"metadata": {
|
|
1999
|
+
"type": "object",
|
|
2000
|
+
"properties": {
|
|
2001
|
+
"filename": {
|
|
2002
|
+
"type": "string"
|
|
2003
|
+
},
|
|
2004
|
+
"mimetype": {
|
|
2005
|
+
"type": "string"
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
"required": [
|
|
2009
|
+
"filename",
|
|
2010
|
+
"mimetype"
|
|
2011
|
+
]
|
|
2012
|
+
},
|
|
2013
|
+
"details": {
|
|
2014
|
+
"type": "array",
|
|
2015
|
+
"items": {
|
|
2016
|
+
"type": "object",
|
|
2017
|
+
"properties": {
|
|
2018
|
+
"email": {
|
|
2019
|
+
"allOf": [
|
|
2020
|
+
{
|
|
2021
|
+
"minLength": 1,
|
|
2022
|
+
"type": "string"
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"format": "email",
|
|
2026
|
+
"type": "string"
|
|
2027
|
+
}
|
|
2028
|
+
]
|
|
2029
|
+
},
|
|
2030
|
+
"firstName": {
|
|
1992
2031
|
"minLength": 1,
|
|
1993
2032
|
"type": "string"
|
|
1994
2033
|
},
|
|
1995
|
-
{
|
|
1996
|
-
"
|
|
2034
|
+
"lastName": {
|
|
2035
|
+
"minLength": 1,
|
|
2036
|
+
"type": "string"
|
|
2037
|
+
},
|
|
2038
|
+
"city": {
|
|
2039
|
+
"type": "string"
|
|
2040
|
+
},
|
|
2041
|
+
"address": {
|
|
2042
|
+
"type": "string"
|
|
2043
|
+
},
|
|
2044
|
+
"phone": {
|
|
2045
|
+
"type": "string"
|
|
2046
|
+
},
|
|
2047
|
+
"dateOfBirth": {
|
|
2048
|
+
"format": "date",
|
|
2049
|
+
"type": "string"
|
|
2050
|
+
},
|
|
2051
|
+
"ppsn": {
|
|
2052
|
+
"type": "string"
|
|
2053
|
+
},
|
|
2054
|
+
"preferredLanguage": {
|
|
2055
|
+
"type": "string",
|
|
2056
|
+
"enum": [
|
|
2057
|
+
"en",
|
|
2058
|
+
"ga"
|
|
2059
|
+
],
|
|
2060
|
+
"default": "en"
|
|
2061
|
+
},
|
|
2062
|
+
"status": {
|
|
1997
2063
|
"type": "string"
|
|
1998
2064
|
}
|
|
2065
|
+
},
|
|
2066
|
+
"required": [
|
|
2067
|
+
"email",
|
|
2068
|
+
"firstName",
|
|
2069
|
+
"lastName",
|
|
2070
|
+
"status"
|
|
1999
2071
|
]
|
|
2000
|
-
},
|
|
2001
|
-
"firstName": {
|
|
2002
|
-
"minLength": 1,
|
|
2003
|
-
"type": "string"
|
|
2004
|
-
},
|
|
2005
|
-
"lastName": {
|
|
2006
|
-
"minLength": 1,
|
|
2007
|
-
"type": "string"
|
|
2008
|
-
},
|
|
2009
|
-
"city": {
|
|
2010
|
-
"type": "string"
|
|
2011
|
-
},
|
|
2012
|
-
"address": {
|
|
2013
|
-
"type": "string"
|
|
2014
|
-
},
|
|
2015
|
-
"phone": {
|
|
2016
|
-
"type": "string"
|
|
2017
|
-
},
|
|
2018
|
-
"dateOfBirth": {
|
|
2019
|
-
"format": "date",
|
|
2020
|
-
"type": "string"
|
|
2021
|
-
},
|
|
2022
|
-
"ppsn": {
|
|
2023
|
-
"type": "string"
|
|
2024
|
-
},
|
|
2025
|
-
"preferredLanguage": {
|
|
2026
|
-
"type": "string",
|
|
2027
|
-
"enum": [
|
|
2028
|
-
"en",
|
|
2029
|
-
"ga"
|
|
2030
|
-
],
|
|
2031
|
-
"default": "en"
|
|
2032
2072
|
}
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
"required": [
|
|
2076
|
+
"organisationId",
|
|
2077
|
+
"status",
|
|
2078
|
+
"metadata",
|
|
2079
|
+
"details"
|
|
2080
|
+
]
|
|
2040
2081
|
},
|
|
2041
2082
|
"metadata": {
|
|
2042
2083
|
"type": "object",
|
|
@@ -171,134 +171,7 @@ export interface paths {
|
|
|
171
171
|
cookie?: never;
|
|
172
172
|
};
|
|
173
173
|
/** @description List profile imports with pagination */
|
|
174
|
-
get:
|
|
175
|
-
parameters: {
|
|
176
|
-
query?: {
|
|
177
|
-
organizationId?: string;
|
|
178
|
-
source?: "csv" | "json";
|
|
179
|
-
/** @description If set, the endpoint searches for profile imports with this value in the metadata.filename */
|
|
180
|
-
search?: string;
|
|
181
|
-
/** @description Indicates where to start fetching data or how many records to skip, defining the initial position within the list */
|
|
182
|
-
offset?: string;
|
|
183
|
-
/** @description Indicates the maximum number (100) of items that will be returned in a single request */
|
|
184
|
-
limit?: string;
|
|
185
|
-
};
|
|
186
|
-
header?: never;
|
|
187
|
-
path?: never;
|
|
188
|
-
cookie?: never;
|
|
189
|
-
};
|
|
190
|
-
requestBody?: never;
|
|
191
|
-
responses: {
|
|
192
|
-
/** @description Default Response */
|
|
193
|
-
200: {
|
|
194
|
-
headers: {
|
|
195
|
-
[name: string]: unknown;
|
|
196
|
-
};
|
|
197
|
-
content: {
|
|
198
|
-
"application/json": {
|
|
199
|
-
data: {
|
|
200
|
-
/** Format: uuid */
|
|
201
|
-
id: string;
|
|
202
|
-
organisationId?: string;
|
|
203
|
-
status: string;
|
|
204
|
-
source: "csv" | "json";
|
|
205
|
-
metadata?: {
|
|
206
|
-
filename: string;
|
|
207
|
-
mimetype: string;
|
|
208
|
-
};
|
|
209
|
-
/** Format: date-time */
|
|
210
|
-
createdAt: string;
|
|
211
|
-
/** Format: date-time */
|
|
212
|
-
updatedAt: string;
|
|
213
|
-
}[];
|
|
214
|
-
metadata?: {
|
|
215
|
-
/** @description Object containing the links to the related endpoints */
|
|
216
|
-
links?: {
|
|
217
|
-
self: {
|
|
218
|
-
/** @description URL pointing to the request itself */
|
|
219
|
-
href?: string;
|
|
220
|
-
};
|
|
221
|
-
next?: {
|
|
222
|
-
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
223
|
-
href?: string;
|
|
224
|
-
};
|
|
225
|
-
prev?: {
|
|
226
|
-
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
227
|
-
href?: string;
|
|
228
|
-
};
|
|
229
|
-
first: {
|
|
230
|
-
/** @description URL pointing to the first page of results in a paginated response */
|
|
231
|
-
href?: string;
|
|
232
|
-
};
|
|
233
|
-
last: {
|
|
234
|
-
/** @description URL pointing to the first page of results in a paginated response */
|
|
235
|
-
href?: string;
|
|
236
|
-
};
|
|
237
|
-
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
238
|
-
pages: {
|
|
239
|
-
[key: string]: {
|
|
240
|
-
href?: string;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
/** @description Number representing the total number of available items */
|
|
245
|
-
totalCount?: number;
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
/** @description Default Response */
|
|
251
|
-
"4XX": {
|
|
252
|
-
headers: {
|
|
253
|
-
[name: string]: unknown;
|
|
254
|
-
};
|
|
255
|
-
content: {
|
|
256
|
-
"application/json": {
|
|
257
|
-
/** @description Code used to categorize the error */
|
|
258
|
-
code: string;
|
|
259
|
-
/** @description Description of the error */
|
|
260
|
-
detail: string;
|
|
261
|
-
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
262
|
-
requestId: string;
|
|
263
|
-
/** @description Name of the error type */
|
|
264
|
-
name: string;
|
|
265
|
-
/** @description List of the validation errors */
|
|
266
|
-
validation?: {
|
|
267
|
-
fieldName: string;
|
|
268
|
-
message: string;
|
|
269
|
-
}[];
|
|
270
|
-
validationContext?: string;
|
|
271
|
-
statusCode: number;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
/** @description Default Response */
|
|
276
|
-
"5XX": {
|
|
277
|
-
headers: {
|
|
278
|
-
[name: string]: unknown;
|
|
279
|
-
};
|
|
280
|
-
content: {
|
|
281
|
-
"application/json": {
|
|
282
|
-
/** @description Code used to categorize the error */
|
|
283
|
-
code: string;
|
|
284
|
-
/** @description Description of the error */
|
|
285
|
-
detail: string;
|
|
286
|
-
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
287
|
-
requestId: string;
|
|
288
|
-
/** @description Name of the error type */
|
|
289
|
-
name: string;
|
|
290
|
-
/** @description List of the validation errors */
|
|
291
|
-
validation?: {
|
|
292
|
-
fieldName: string;
|
|
293
|
-
message: string;
|
|
294
|
-
}[];
|
|
295
|
-
validationContext?: string;
|
|
296
|
-
statusCode: number;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
};
|
|
174
|
+
get: operations["listProfileImports"];
|
|
302
175
|
put?: never;
|
|
303
176
|
post?: never;
|
|
304
177
|
delete?: never;
|
|
@@ -939,6 +812,134 @@ export interface operations {
|
|
|
939
812
|
};
|
|
940
813
|
};
|
|
941
814
|
};
|
|
815
|
+
listProfileImports: {
|
|
816
|
+
parameters: {
|
|
817
|
+
query?: {
|
|
818
|
+
organizationId?: string;
|
|
819
|
+
source?: "csv" | "json";
|
|
820
|
+
/** @description If set, the endpoint searches for profile imports with this value in the metadata.filename */
|
|
821
|
+
search?: string;
|
|
822
|
+
/** @description Indicates where to start fetching data or how many records to skip, defining the initial position within the list */
|
|
823
|
+
offset?: string;
|
|
824
|
+
/** @description Indicates the maximum number (100) of items that will be returned in a single request */
|
|
825
|
+
limit?: string;
|
|
826
|
+
};
|
|
827
|
+
header?: never;
|
|
828
|
+
path?: never;
|
|
829
|
+
cookie?: never;
|
|
830
|
+
};
|
|
831
|
+
requestBody?: never;
|
|
832
|
+
responses: {
|
|
833
|
+
/** @description Default Response */
|
|
834
|
+
200: {
|
|
835
|
+
headers: {
|
|
836
|
+
[name: string]: unknown;
|
|
837
|
+
};
|
|
838
|
+
content: {
|
|
839
|
+
"application/json": {
|
|
840
|
+
data: {
|
|
841
|
+
/** Format: uuid */
|
|
842
|
+
id: string;
|
|
843
|
+
organisationId?: string;
|
|
844
|
+
status: string;
|
|
845
|
+
source: "csv" | "json";
|
|
846
|
+
metadata?: {
|
|
847
|
+
filename: string;
|
|
848
|
+
mimetype: string;
|
|
849
|
+
};
|
|
850
|
+
/** Format: date-time */
|
|
851
|
+
createdAt: string;
|
|
852
|
+
/** Format: date-time */
|
|
853
|
+
updatedAt: string;
|
|
854
|
+
}[];
|
|
855
|
+
metadata?: {
|
|
856
|
+
/** @description Object containing the links to the related endpoints */
|
|
857
|
+
links?: {
|
|
858
|
+
self: {
|
|
859
|
+
/** @description URL pointing to the request itself */
|
|
860
|
+
href?: string;
|
|
861
|
+
};
|
|
862
|
+
next?: {
|
|
863
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
864
|
+
href?: string;
|
|
865
|
+
};
|
|
866
|
+
prev?: {
|
|
867
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
868
|
+
href?: string;
|
|
869
|
+
};
|
|
870
|
+
first: {
|
|
871
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
872
|
+
href?: string;
|
|
873
|
+
};
|
|
874
|
+
last: {
|
|
875
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
876
|
+
href?: string;
|
|
877
|
+
};
|
|
878
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
879
|
+
pages: {
|
|
880
|
+
[key: string]: {
|
|
881
|
+
href?: string;
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
/** @description Number representing the total number of available items */
|
|
886
|
+
totalCount?: number;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
/** @description Default Response */
|
|
892
|
+
"4XX": {
|
|
893
|
+
headers: {
|
|
894
|
+
[name: string]: unknown;
|
|
895
|
+
};
|
|
896
|
+
content: {
|
|
897
|
+
"application/json": {
|
|
898
|
+
/** @description Code used to categorize the error */
|
|
899
|
+
code: string;
|
|
900
|
+
/** @description Description of the error */
|
|
901
|
+
detail: string;
|
|
902
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
903
|
+
requestId: string;
|
|
904
|
+
/** @description Name of the error type */
|
|
905
|
+
name: string;
|
|
906
|
+
/** @description List of the validation errors */
|
|
907
|
+
validation?: {
|
|
908
|
+
fieldName: string;
|
|
909
|
+
message: string;
|
|
910
|
+
}[];
|
|
911
|
+
validationContext?: string;
|
|
912
|
+
statusCode: number;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
/** @description Default Response */
|
|
917
|
+
"5XX": {
|
|
918
|
+
headers: {
|
|
919
|
+
[name: string]: unknown;
|
|
920
|
+
};
|
|
921
|
+
content: {
|
|
922
|
+
"application/json": {
|
|
923
|
+
/** @description Code used to categorize the error */
|
|
924
|
+
code: string;
|
|
925
|
+
/** @description Description of the error */
|
|
926
|
+
detail: string;
|
|
927
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
928
|
+
requestId: string;
|
|
929
|
+
/** @description Name of the error type */
|
|
930
|
+
name: string;
|
|
931
|
+
/** @description List of the validation errors */
|
|
932
|
+
validation?: {
|
|
933
|
+
fieldName: string;
|
|
934
|
+
message: string;
|
|
935
|
+
}[];
|
|
936
|
+
validationContext?: string;
|
|
937
|
+
statusCode: number;
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
};
|
|
942
|
+
};
|
|
942
943
|
getProfileImportDetails: {
|
|
943
944
|
parameters: {
|
|
944
945
|
query?: never;
|
|
@@ -958,21 +959,32 @@ export interface operations {
|
|
|
958
959
|
content: {
|
|
959
960
|
"application/json": {
|
|
960
961
|
data: {
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
962
|
+
organisationId: string;
|
|
963
|
+
status: string;
|
|
964
|
+
/** Format: date-time */
|
|
965
|
+
createdAt?: string;
|
|
966
|
+
metadata: {
|
|
967
|
+
filename: string;
|
|
968
|
+
mimetype: string;
|
|
969
|
+
};
|
|
970
|
+
details: {
|
|
971
|
+
email: string;
|
|
972
|
+
firstName: string;
|
|
973
|
+
lastName: string;
|
|
974
|
+
city?: string;
|
|
975
|
+
address?: string;
|
|
976
|
+
phone?: string;
|
|
977
|
+
/** Format: date */
|
|
978
|
+
dateOfBirth?: string;
|
|
979
|
+
ppsn?: string;
|
|
980
|
+
/**
|
|
981
|
+
* @default en
|
|
982
|
+
* @enum {string}
|
|
983
|
+
*/
|
|
984
|
+
preferredLanguage: "en" | "ga";
|
|
985
|
+
status: string;
|
|
986
|
+
}[];
|
|
987
|
+
};
|
|
976
988
|
metadata?: {
|
|
977
989
|
/** @description Object containing the links to the related endpoints */
|
|
978
990
|
links?: {
|