@nl-portal/nl-portal-api 0.1.1-hack.139 → 0.1.1-hack.140

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.
@@ -112,6 +112,67 @@ export type BerichtenPage = {
112
112
  /** The total number of available pages */
113
113
  totalPages: Scalars['Int']['output'];
114
114
  };
115
+ export type Besluit = {
116
+ __typename?: 'Besluit';
117
+ auditTrails: Array<BesluitAuditTrail>;
118
+ besluittype: Scalars['String']['output'];
119
+ bestuursorgaan?: Maybe<Scalars['String']['output']>;
120
+ datum: Scalars['Date']['output'];
121
+ documenten: Array<BesluitDocument>;
122
+ identificatie: Scalars['String']['output'];
123
+ ingangsdatum: Scalars['Date']['output'];
124
+ publicatiedatum?: Maybe<Scalars['Date']['output']>;
125
+ toelichting?: Maybe<Scalars['String']['output']>;
126
+ uiterlijkeReactiedatum?: Maybe<Scalars['Date']['output']>;
127
+ url: Scalars['String']['output'];
128
+ verantwoordelijkeOrganisatie: Scalars['String']['output'];
129
+ vervaldatum?: Maybe<Scalars['Date']['output']>;
130
+ vervalreden: Scalars['String']['output'];
131
+ vervalredenWeergave: Scalars['String']['output'];
132
+ verzenddatum?: Maybe<Scalars['Date']['output']>;
133
+ zaak: Scalars['String']['output'];
134
+ };
135
+ export type BesluitAuditTrail = {
136
+ __typename?: 'BesluitAuditTrail';
137
+ aanmaakdatum?: Maybe<Scalars['LocalDateTime']['output']>;
138
+ actie: Scalars['String']['output'];
139
+ actieWeergave?: Maybe<Scalars['String']['output']>;
140
+ applicatieId?: Maybe<Scalars['String']['output']>;
141
+ applicatieWeergave?: Maybe<Scalars['String']['output']>;
142
+ bron: Scalars['String']['output'];
143
+ gebruikersId?: Maybe<Scalars['String']['output']>;
144
+ gebruikersWeergave?: Maybe<Scalars['String']['output']>;
145
+ hoofdObject: Scalars['String']['output'];
146
+ resource: Scalars['String']['output'];
147
+ resourceUrl: Scalars['String']['output'];
148
+ resourceWeergave: Scalars['String']['output'];
149
+ resultaat: Scalars['Int']['output'];
150
+ toelichting?: Maybe<Scalars['String']['output']>;
151
+ uuid: Scalars['UUID']['output'];
152
+ wijzigingen: BesluitAuditTrailWijzigingen;
153
+ };
154
+ export type BesluitAuditTrailWijzigingen = {
155
+ __typename?: 'BesluitAuditTrailWijzigingen';
156
+ nieuw?: Maybe<Scalars['JSON']['output']>;
157
+ oud?: Maybe<Scalars['JSON']['output']>;
158
+ };
159
+ export type BesluitDocument = {
160
+ __typename?: 'BesluitDocument';
161
+ besluit: Scalars['String']['output'];
162
+ informatieobject: Scalars['String']['output'];
163
+ url: Scalars['String']['output'];
164
+ };
165
+ export type BesluitPage = {
166
+ __typename?: 'BesluitPage';
167
+ content: Array<Besluit>;
168
+ number: Scalars['Int']['output'];
169
+ /** The number of elements on this page */
170
+ numberOfElements: Scalars['Int']['output'];
171
+ size: Scalars['Int']['output'];
172
+ totalElements: Scalars['Int']['output'];
173
+ /** The total number of available pages */
174
+ totalPages: Scalars['Int']['output'];
175
+ };
115
176
  export type ContactMoment = {
116
177
  __typename?: 'ContactMoment';
117
178
  bronorganisatie?: Maybe<Scalars['String']['output']>;
@@ -136,16 +197,6 @@ export type ContactMomentPage = {
136
197
  /** The total number of available pages */
137
198
  totalPages: Scalars['Int']['output'];
138
199
  };
139
- export type DmnResponse = {
140
- __typename?: 'DmnResponse';
141
- result: DmnResult;
142
- };
143
- export type DmnResult = {
144
- __typename?: 'DmnResult';
145
- type: Scalars['String']['output'];
146
- value: Scalars['String']['output'];
147
- valueInfo?: Maybe<Scalars['String']['output']>;
148
- };
149
200
  export type Document = {
150
201
  __typename?: 'Document';
151
202
  bestandsnaam?: Maybe<Scalars['String']['output']>;
@@ -226,8 +277,6 @@ export type Mutation = {
226
277
  __typename?: 'Mutation';
227
278
  /** Create Ogone payment with hash and fields */
228
279
  generateOgonePayment: OgonePayment;
229
- /** Prefill data to start a form */
230
- prefill: PrefillResponse;
231
280
  /** Submit a task */
232
281
  submitTaak: Taak;
233
282
  /** Submit a task */
@@ -242,13 +291,6 @@ export type Mutation = {
242
291
  export type MutationGenerateOgonePaymentArgs = {
243
292
  paymentRequest: OgonePaymentRequestInput;
244
293
  };
245
- export type MutationPrefillArgs = {
246
- formulier: Scalars['String']['input'];
247
- productName: Scalars['String']['input'];
248
- productTypeId?: InputMaybe<Scalars['UUID']['input']>;
249
- sources?: InputMaybe<Scalars['JSON']['input']>;
250
- staticData?: InputMaybe<Scalars['JSON']['input']>;
251
- };
252
294
  export type MutationSubmitTaakArgs = {
253
295
  id: Scalars['UUID']['input'];
254
296
  submission: Scalars['JSON']['input'];
@@ -393,7 +435,7 @@ export type PersoonVerblijfplaats = {
393
435
  };
394
436
  export type PrefillResponse = {
395
437
  __typename?: 'PrefillResponse';
396
- formulierUrl?: Maybe<Scalars['String']['output']>;
438
+ formulierUrl: Scalars['String']['output'];
397
439
  hash: Scalars['String']['output'];
398
440
  objectId: Scalars['UUID']['output'];
399
441
  };
@@ -434,14 +476,14 @@ export type ProductPage = {
434
476
  export type ProductType = {
435
477
  __typename?: 'ProductType';
436
478
  /** Get list of available beslistabellen, with their object configurations */
437
- beslistabellen?: Maybe<Array<Scalars['String']['output']>>;
479
+ beslistabelMappings?: Maybe<Array<Scalars['String']['output']>>;
438
480
  eigenschappen?: Maybe<Scalars['JSON']['output']>;
439
481
  id?: Maybe<Scalars['UUID']['output']>;
440
482
  naam: Scalars['String']['output'];
441
483
  omschrijving?: Maybe<Scalars['String']['output']>;
442
484
  parameters?: Maybe<Scalars['JSON']['output']>;
443
485
  /** Get list of available forms to prefill, with their object configurations */
444
- prefillFormulieren?: Maybe<Scalars['JSON']['output']>;
486
+ prefillMappings?: Maybe<Scalars['JSON']['output']>;
445
487
  productSubType?: Maybe<Scalars['String']['output']>;
446
488
  zaaktypen: Array<Scalars['UUID']['output']>;
447
489
  };
@@ -465,6 +507,18 @@ export type Query = {
465
507
  getBericht?: Maybe<Bericht>;
466
508
  /** Returns a paginated list of all Berichten */
467
509
  getBerichten: BerichtenPage;
510
+ /** Get all besluit by id */
511
+ getBesluit: Besluit;
512
+ /** Get all besluit audit trails by id */
513
+ getBesluitAuditTrail: BesluitAuditTrail;
514
+ /** Get all besluit audit trails */
515
+ getBesluitAuditTrails: Array<BesluitAuditTrail>;
516
+ /** Get all besluit document by id */
517
+ getBesluitDocument: BesluitDocument;
518
+ /** Get all besluit documents */
519
+ getBesluitDocumenten: Array<BesluitDocument>;
520
+ /** Get all besluiten */
521
+ getBesluiten: BesluitPage;
468
522
  /** Gets the number of people living in the same house of the adresseerbaarObjectIdentificatie */
469
523
  getBewonersAantal?: Maybe<Scalars['Int']['output']>;
470
524
  /** Gets the profile for the user */
@@ -490,8 +544,12 @@ export type Query = {
490
544
  getPersoon?: Maybe<Persoon>;
491
545
  /** Get product by id */
492
546
  getProduct?: Maybe<Product>;
493
- /** Get Product Decision by key */
494
- getProductDecision: Array<DmnResponse>;
547
+ /**
548
+ *
549
+ * Get Product Decision by key. Don't use it till it is configured in ProductType
550
+ *
551
+ */
552
+ getProductDecision: Array<Scalars['JSON']['output']>;
495
553
  /** Get list of taken by product name */
496
554
  getProductTaken: Array<TaakV2>;
497
555
  /** Get productType by name */
@@ -542,6 +600,12 @@ export type Query = {
542
600
  *
543
601
  */
544
602
  getZaken: ZaakPage;
603
+ /**
604
+ *
605
+ * Prefill data to start a form.
606
+ *
607
+ */
608
+ productPrefill: PrefillResponse;
545
609
  };
546
610
  export type QueryGetBerichtArgs = {
547
611
  id: Scalars['UUID']['input'];
@@ -550,6 +614,30 @@ export type QueryGetBerichtenArgs = {
550
614
  pageNumber?: InputMaybe<Scalars['Int']['input']>;
551
615
  pageSize?: InputMaybe<Scalars['Int']['input']>;
552
616
  };
617
+ export type QueryGetBesluitArgs = {
618
+ besluitId: Scalars['UUID']['input'];
619
+ };
620
+ export type QueryGetBesluitAuditTrailArgs = {
621
+ auditTrailId: Scalars['UUID']['input'];
622
+ besluitId: Scalars['UUID']['input'];
623
+ };
624
+ export type QueryGetBesluitAuditTrailsArgs = {
625
+ besluitId: Scalars['UUID']['input'];
626
+ };
627
+ export type QueryGetBesluitDocumentArgs = {
628
+ documentId: Scalars['UUID']['input'];
629
+ };
630
+ export type QueryGetBesluitDocumentenArgs = {
631
+ besluit?: InputMaybe<Scalars['String']['input']>;
632
+ informatieobject?: InputMaybe<Scalars['String']['input']>;
633
+ };
634
+ export type QueryGetBesluitenArgs = {
635
+ besluitType?: InputMaybe<Scalars['String']['input']>;
636
+ identificatie?: InputMaybe<Scalars['String']['input']>;
637
+ pageNumber?: InputMaybe<Scalars['Int']['input']>;
638
+ verantwoordelijkeOrganisatie?: InputMaybe<Scalars['String']['input']>;
639
+ zaak?: InputMaybe<Scalars['String']['input']>;
640
+ };
553
641
  export type QueryGetBewonersAantalArgs = {
554
642
  adresseerbaarObjectIdentificatie: Scalars['String']['input'];
555
643
  };
@@ -642,6 +730,13 @@ export type QueryGetZakenArgs = {
642
730
  page?: InputMaybe<Scalars['Int']['input']>;
643
731
  zaakTypeUrl?: InputMaybe<Scalars['String']['input']>;
644
732
  };
733
+ export type QueryProductPrefillArgs = {
734
+ key: Scalars['String']['input'];
735
+ productName: Scalars['String']['input'];
736
+ productTypeId?: InputMaybe<Scalars['UUID']['input']>;
737
+ sources?: InputMaybe<Scalars['JSON']['input']>;
738
+ staticData?: InputMaybe<Scalars['JSON']['input']>;
739
+ };
645
740
  export type SbiActiviteit = {
646
741
  __typename?: 'SbiActiviteit';
647
742
  indHoofdactiviteit: Scalars['String']['output'];
@@ -762,6 +857,7 @@ export declare enum TaakVersion {
762
857
  }
763
858
  export type Zaak = {
764
859
  __typename?: 'Zaak';
860
+ besluiten: Array<Besluit>;
765
861
  documenten: Array<Document>;
766
862
  einddatum?: Maybe<Scalars['Date']['output']>;
767
863
  identificatie: Scalars['String']['output'];
@@ -1047,26 +1143,6 @@ export type GetFormDefinitionByNameQuery = {
1047
1143
  export type GetPortaalFormulierByIdV2QueryVariables = Exact<{
1048
1144
  id: Scalars['UUID']['input'];
1049
1145
  }>;
1050
- export type GetFormTaakByIdV2Query = {
1051
- __typename?: 'Query';
1052
- getTaakByIdV2?: {
1053
- __typename?: 'TaakV2';
1054
- id: any;
1055
- titel: string;
1056
- status: TaakStatus;
1057
- verloopdatum?: any | null;
1058
- version?: TaakVersion | null;
1059
- formtaak?: {
1060
- __typename?: 'TaakForm';
1061
- data: any;
1062
- formulier: {
1063
- __typename?: 'TaakFormulierV2';
1064
- soort: string;
1065
- value: string;
1066
- };
1067
- } | null;
1068
- } | null;
1069
- };
1070
1146
  export type GetPortaalFormulierByIdV2Query = {
1071
1147
  __typename?: 'Query';
1072
1148
  getTaakByIdV2?: {
@@ -1343,6 +1419,12 @@ export type GetProductQuery = {
1343
1419
  value: string;
1344
1420
  };
1345
1421
  } | null;
1422
+ ogonebetaling?: {
1423
+ __typename?: 'OgoneBetaling';
1424
+ bedrag: number;
1425
+ betaalkenmerk: string;
1426
+ pspid: string;
1427
+ } | null;
1346
1428
  }>;
1347
1429
  } | null;
1348
1430
  };
@@ -1395,7 +1477,7 @@ export type GetTaakByIdV2Query = {
1395
1477
  __typename?: 'TaakUrl';
1396
1478
  uri: string;
1397
1479
  } | null;
1398
- formtaak?: {
1480
+ portaalformulier?: {
1399
1481
  __typename?: 'TaakForm';
1400
1482
  data: any;
1401
1483
  formulier: {
package/dist/index.js CHANGED
@@ -309,7 +309,7 @@ function Xe(e) {
309
309
  const t = { ...n, ...e };
310
310
  return i($, t);
311
311
  }
312
- const I = o`
312
+ const b = o`
313
313
  query GetFormDefinitionByName($name: String!) {
314
314
  getFormDefinitionByName(name: $name) {
315
315
  formDefinition
@@ -318,17 +318,17 @@ const I = o`
318
318
  `;
319
319
  function et(e) {
320
320
  const t = { ...n, ...e };
321
- return r(I, t);
321
+ return r(b, t);
322
322
  }
323
323
  function tt(e) {
324
324
  const t = { ...n, ...e };
325
- return u(I, t);
325
+ return u(b, t);
326
326
  }
327
327
  function nt(e) {
328
328
  const t = { ...n, ...e };
329
- return i(I, t);
329
+ return i(b, t);
330
330
  }
331
- const b = o`
331
+ const I = o`
332
332
  query GetPortaalFormulierByIdV2($id: UUID!) {
333
333
  getTaakByIdV2(id: $id) {
334
334
  id
@@ -348,15 +348,15 @@ const b = o`
348
348
  `;
349
349
  function ot(e) {
350
350
  const t = { ...n, ...e };
351
- return r(b, t);
351
+ return r(I, t);
352
352
  }
353
353
  function rt(e) {
354
354
  const t = { ...n, ...e };
355
- return u(b, t);
355
+ return u(I, t);
356
356
  }
357
357
  function ut(e) {
358
358
  const t = { ...n, ...e };
359
- return i(b, t);
359
+ return i(I, t);
360
360
  }
361
361
  const U = o`
362
362
  query GetGemachtigde {
@@ -505,7 +505,7 @@ function $t(e) {
505
505
  const t = { ...n, ...e };
506
506
  return u(Q, t);
507
507
  }
508
- function It(e) {
508
+ function bt(e) {
509
509
  const t = { ...n, ...e };
510
510
  return i(Q, t);
511
511
  }
@@ -534,7 +534,7 @@ const z = o`
534
534
  }
535
535
  }
536
536
  `;
537
- function bt(e) {
537
+ function It(e) {
538
538
  const t = { ...n, ...e };
539
539
  return r(z, t);
540
540
  }
@@ -649,6 +649,11 @@ const B = o`
649
649
  status
650
650
  verloopdatum
651
651
  version
652
+ ogonebetaling {
653
+ bedrag
654
+ betaalkenmerk
655
+ pspid
656
+ }
652
657
  }
653
658
  }
654
659
  }
@@ -1147,14 +1152,14 @@ export {
1147
1152
  f as GetBurgerProfielDocument,
1148
1153
  G as GetDocumentenDocument,
1149
1154
  k as GetFormDefinitionByIdDocument,
1150
- I as GetFormDefinitionByNameDocument,
1155
+ b as GetFormDefinitionByNameDocument,
1151
1156
  $ as GetFormDefinitionByObjectenApiUrlDocument,
1152
1157
  U as GetGemachtigdeDocument,
1153
1158
  D as GetKlantContactMomentenDocument,
1154
1159
  v as GetObjectContactMomentenDocument,
1155
1160
  P as GetPersoonDataDocument,
1156
1161
  Q as GetPersoonDocument,
1157
- b as GetPortaalFormulierByIdV2Document,
1162
+ I as GetPortaalFormulierByIdV2Document,
1158
1163
  B as GetProductDocument,
1159
1164
  z as GetProductTakenDocument,
1160
1165
  S as GetProductVerbruiksObjectenDocument,
@@ -1224,7 +1229,7 @@ export {
1224
1229
  Gt as useGetPersoonDataSuspenseQuery,
1225
1230
  $t as useGetPersoonLazyQuery,
1226
1231
  kt as useGetPersoonQuery,
1227
- It as useGetPersoonSuspenseQuery,
1232
+ bt as useGetPersoonSuspenseQuery,
1228
1233
  rt as useGetPortaalFormulierByIdV2LazyQuery,
1229
1234
  ot as useGetPortaalFormulierByIdV2Query,
1230
1235
  ut as useGetPortaalFormulierByIdV2SuspenseQuery,
@@ -1232,7 +1237,7 @@ export {
1232
1237
  Bt as useGetProductQuery,
1233
1238
  Ot as useGetProductSuspenseQuery,
1234
1239
  Ut as useGetProductTakenLazyQuery,
1235
- bt as useGetProductTakenQuery,
1240
+ It as useGetProductTakenQuery,
1236
1241
  Dt as useGetProductTakenSuspenseQuery,
1237
1242
  Pt as useGetProductVerbruiksObjectenLazyQuery,
1238
1243
  vt as useGetProductVerbruiksObjectenQuery,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nl-portal/nl-portal-api",
3
- "version": "0.1.1-hack.139",
3
+ "version": "0.1.1-hack.140",
4
4
  "author": "Ritense",
5
5
  "license": "EUPL-1.2",
6
6
  "type": "module",
@@ -49,5 +49,5 @@
49
49
  "react": "^18.3.1",
50
50
  "react-dom": "^18.3.1"
51
51
  },
52
- "gitHead": "38d1489115f9dc69a4d4bd33cda9b4b74c8af9db"
52
+ "gitHead": "9a03ed60ad4c0101d1215f679f135861e107d747"
53
53
  }