@nl-portal/nl-portal-api 0.1.1-alpha.113 → 0.1.1-alpha.114

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.
@@ -71,36 +71,6 @@ export type Adres = {
71
71
  type: Scalars['String']['output'];
72
72
  volledigAdres: Scalars['String']['output'];
73
73
  };
74
- export type AutomatischIncassoResponse = {
75
- __typename?: 'AutomatischIncassoResponse';
76
- iban?: Maybe<Scalars['String']['output']>;
77
- klantnummer?: Maybe<Scalars['Int']['output']>;
78
- message?: Maybe<Scalars['String']['output']>;
79
- };
80
- export type CaseCreated = {
81
- __typename?: 'CaseCreated';
82
- caseId: Scalars['UUID']['output'];
83
- };
84
- export type CaseDefinition = {
85
- __typename?: 'CaseDefinition';
86
- id: Scalars['String']['output'];
87
- schema: Scalars['JSON']['output'];
88
- statusDefinition: Array<Scalars['String']['output']>;
89
- };
90
- export type CaseInstance = {
91
- __typename?: 'CaseInstance';
92
- caseDefinitionId: Scalars['String']['output'];
93
- createdOn: Scalars['String']['output'];
94
- externalId?: Maybe<Scalars['String']['output']>;
95
- id: Scalars['UUID']['output'];
96
- status?: Maybe<Status>;
97
- statusHistory?: Maybe<Array<HistoricStatus>>;
98
- submission: Scalars['JSON']['output'];
99
- userId: Scalars['String']['output'];
100
- };
101
- export type CaseInstanceOrderingInput = {
102
- createdOn: Sort;
103
- };
104
74
  export type ContactMoment = {
105
75
  __typename?: 'ContactMoment';
106
76
  bronorganisatie?: Maybe<Scalars['String']['output']>;
@@ -125,33 +95,6 @@ export type ContactMomentPage = {
125
95
  /** The total number of available pages */
126
96
  totalPages: Scalars['Int']['output'];
127
97
  };
128
- export type Contract = {
129
- __typename?: 'Contract';
130
- automatischeIncasso: Array<AutomatischIncassoResponse>;
131
- beginDatum: Scalars['String']['output'];
132
- eindDatum?: Maybe<Scalars['String']['output']>;
133
- id: Scalars['Int']['output'];
134
- klanten: Array<NeaKlant>;
135
- taken: Array<TaakV2>;
136
- zakelijkRechten: Array<ZakelijkRecht>;
137
- zaken: Array<Zaak>;
138
- };
139
- export type ContractBeperkt = {
140
- __typename?: 'ContractBeperkt';
141
- adressen: Array<NeaAdres>;
142
- id: Scalars['Int']['output'];
143
- };
144
- export type ContractBeperktPage = {
145
- __typename?: 'ContractBeperktPage';
146
- content: Array<ContractBeperkt>;
147
- number: Scalars['Int']['output'];
148
- /** The number of elements on this page */
149
- numberOfElements: Scalars['Int']['output'];
150
- size: Scalars['Int']['output'];
151
- totalElements: Scalars['Int']['output'];
152
- /** The total number of available pages */
153
- totalPages: Scalars['Int']['output'];
154
- };
155
98
  export type DmnResponse = {
156
99
  __typename?: 'DmnResponse';
157
100
  result: DmnResult;
@@ -188,11 +131,6 @@ export type Embedded = {
188
131
  eigenaar: Eigenaar;
189
132
  hoofdvestiging: Hoofdvestiging;
190
133
  };
191
- export type Form = {
192
- __typename?: 'Form';
193
- name: Scalars['String']['output'];
194
- uuid: Scalars['UUID']['output'];
195
- };
196
134
  export type FormDefinition = {
197
135
  __typename?: 'FormDefinition';
198
136
  formDefinition: Scalars['JSON']['output'];
@@ -207,11 +145,6 @@ export type HandelsNaam = {
207
145
  naam: Scalars['String']['output'];
208
146
  volgorde: Scalars['Int']['output'];
209
147
  };
210
- export type HistoricStatus = {
211
- __typename?: 'HistoricStatus';
212
- createdOn: Scalars['String']['output'];
213
- status: Status;
214
- };
215
148
  export type Hoofdvestiging = {
216
149
  __typename?: 'Hoofdvestiging';
217
150
  adressen?: Maybe<Array<Adres>>;
@@ -222,12 +155,6 @@ export type Hoofdvestiging = {
222
155
  totaalWerkzamePersonen: Scalars['Int']['output'];
223
156
  vestigingsnummer: Scalars['String']['output'];
224
157
  };
225
- export type KadastraalObject = {
226
- __typename?: 'KadastraalObject';
227
- aanduiding: Scalars['String']['output'];
228
- adressen: Array<NeaAdres>;
229
- identificatie: Scalars['String']['output'];
230
- };
231
158
  export type Klant = {
232
159
  __typename?: 'Klant';
233
160
  emailadres?: Maybe<Scalars['String']['output']>;
@@ -258,10 +185,8 @@ export type Mutation = {
258
185
  __typename?: 'Mutation';
259
186
  /** Create Ogone payment with hash and fields */
260
187
  generateOgonePayment: OgonePayment;
261
- /** Prefill data to start a form. Don't use it till it is configured in ProductType */
188
+ /** Prefill data to start a form */
262
189
  prefill: PrefillResponse;
263
- /** Convert submission to json return resulting data */
264
- processSubmission: CaseCreated;
265
190
  /** Submit a task */
266
191
  submitTaak: Taak;
267
192
  /** Submit a task */
@@ -283,11 +208,6 @@ export type MutationPrefillArgs = {
283
208
  productTypeId?: InputMaybe<Scalars['UUID']['input']>;
284
209
  staticData?: InputMaybe<Scalars['JSON']['input']>;
285
210
  };
286
- export type MutationProcessSubmissionArgs = {
287
- caseDefinitionId: Scalars['String']['input'];
288
- initialStatus?: InputMaybe<Scalars['String']['input']>;
289
- submission: Scalars['JSON']['input'];
290
- };
291
211
  export type MutationSubmitTaakArgs = {
292
212
  id: Scalars['UUID']['input'];
293
213
  submission: Scalars['JSON']['input'];
@@ -308,46 +228,6 @@ export type MutationUpdateProductVerbruiksObjectArgs = {
308
228
  id: Scalars['UUID']['input'];
309
229
  submission: Scalars['JSON']['input'];
310
230
  };
311
- export type NeaAdres = {
312
- __typename?: 'NeaAdres';
313
- adresBuitenland?: Maybe<NeaAdresBuitenland>;
314
- adresseerbaarObjectId?: Maybe<Scalars['String']['output']>;
315
- huisletter?: Maybe<Scalars['String']['output']>;
316
- huisnummer?: Maybe<Scalars['Int']['output']>;
317
- huisnummertoevoeging?: Maybe<Scalars['String']['output']>;
318
- land?: Maybe<Scalars['String']['output']>;
319
- nummeraanduidingId?: Maybe<Scalars['String']['output']>;
320
- postbusnummer?: Maybe<Scalars['String']['output']>;
321
- postcode?: Maybe<Scalars['String']['output']>;
322
- straatnaam?: Maybe<Scalars['String']['output']>;
323
- woonplaats?: Maybe<Scalars['String']['output']>;
324
- };
325
- export type NeaAdresBuitenland = {
326
- __typename?: 'NeaAdresBuitenland';
327
- land?: Maybe<Scalars['String']['output']>;
328
- postcodeWoonplaats?: Maybe<Scalars['String']['output']>;
329
- regio?: Maybe<Scalars['String']['output']>;
330
- straatnaamHuisnummer?: Maybe<Scalars['String']['output']>;
331
- };
332
- export type NeaKlant = {
333
- __typename?: 'NeaKlant';
334
- organisatie?: Maybe<Organisatie>;
335
- persoon?: Maybe<NeaPersoon>;
336
- };
337
- export type NeaPersoon = {
338
- __typename?: 'NeaPersoon';
339
- achterNaam: Scalars['String']['output'];
340
- correspondentieAdres?: Maybe<NeaAdres>;
341
- emailAdres?: Maybe<Scalars['String']['output']>;
342
- klantnummer: Scalars['Int']['output'];
343
- subjectId: Scalars['Int']['output'];
344
- telefoonNummer?: Maybe<Scalars['String']['output']>;
345
- verblijfAdres: NeaAdres;
346
- volledigeNaam: Scalars['String']['output'];
347
- voorNaam?: Maybe<Scalars['String']['output']>;
348
- voorletters?: Maybe<Scalars['String']['output']>;
349
- voorvoegselAchternaam?: Maybe<Scalars['String']['output']>;
350
- };
351
231
  export type OgoneBetaling = {
352
232
  __typename?: 'OgoneBetaling';
353
233
  bedrag: Scalars['Float']['output'];
@@ -369,16 +249,6 @@ export type OgonePaymentRequestInput = {
369
249
  successUrl?: InputMaybe<Scalars['String']['input']>;
370
250
  title?: InputMaybe<Scalars['String']['input']>;
371
251
  };
372
- export type Organisatie = {
373
- __typename?: 'Organisatie';
374
- bezoekAdres: NeaAdres;
375
- correspondentieAdres?: Maybe<NeaAdres>;
376
- klantnummer: Scalars['Int']['output'];
377
- kvkNummer?: Maybe<Scalars['String']['output']>;
378
- naam: Scalars['String']['output'];
379
- rsin?: Maybe<Scalars['String']['output']>;
380
- vestigingsnummer?: Maybe<Scalars['String']['output']>;
381
- };
382
252
  export type PaymentField = {
383
253
  __typename?: 'PaymentField';
384
254
  name: Scalars['String']['output'];
@@ -543,31 +413,19 @@ export type ProductVerbruiksObject = {
543
413
  };
544
414
  export type Query = {
545
415
  __typename?: 'Query';
546
- /** retrieves all available case definitions */
547
- allCaseDefinitions: Array<CaseDefinition>;
548
- /** retrieves all available case instances */
549
- allCaseInstances: Array<CaseInstance>;
550
416
  /**
551
417
  * find all form definitions from repository
552
418
  * @deprecated This method is not used by the NL Portal frontend and is not being replaced.
553
419
  */
554
420
  allFormDefinitions: Array<FormDefinition>;
555
- /** Check automatische incasso by klantnummer */
556
- getAutomatischeIncasso: AutomatischIncassoResponse;
557
421
  /** Gets the bedrijf data */
558
422
  getBedrijf?: Maybe<MaatschappelijkeActiviteit>;
559
423
  /** Gets the number of people living in the same house of the adresseerbaarObjectIdentificatie */
560
424
  getBewonersAantal?: Maybe<Scalars['Int']['output']>;
561
425
  /** Gets the profile for the user */
562
426
  getBurgerProfiel?: Maybe<Klant>;
563
- /** retrieves single case instance from repository */
564
- getCaseInstance?: Maybe<CaseInstance>;
565
427
  /** Gets a document content by id as base64 encoded */
566
428
  getDocumentContent: DocumentContent;
567
- /** Get erfpacht contract by UUID */
568
- getErfpachtContract: Contract;
569
- /** Gets all erfpacht contracten of user or rsin */
570
- getErfpachtContracten: ContractBeperktPage;
571
429
  /**
572
430
  * find single form definition from repository or Objecten API
573
431
  * @deprecated Replaced by getFormDefinitionByName and getFormDefinitionByObjectenApiUrl, replace with getFormDefinitionByName or getFormDefinitionByObjectenApiUrl
@@ -577,8 +435,6 @@ export type Query = {
577
435
  getFormDefinitionByName?: Maybe<FormDefinition>;
578
436
  /** find single form definition from the Objecten API */
579
437
  getFormDefinitionByObjectenApiUrl?: Maybe<FormDefinition>;
580
- /** Gets the forms available to the user */
581
- getFormList: Array<Form>;
582
438
  /** Gets the data of the gemachtigde */
583
439
  getGemachtigde: Gemachtigde;
584
440
  /** Gets the contactmomenten of a klant */
@@ -589,7 +445,7 @@ export type Query = {
589
445
  getPersoon?: Maybe<Persoon>;
590
446
  /** Get product by id */
591
447
  getProduct?: Maybe<Product>;
592
- /** Get Product Decision by key. Don't use it till it is configured in ProductType */
448
+ /** Get Product Decision by key */
593
449
  getProductDecision: Array<DmnResponse>;
594
450
  /** Get list of taken by product name */
595
451
  getProductTaken: Array<TaakV2>;
@@ -640,30 +496,13 @@ export type Query = {
640
496
  */
641
497
  getZaken: ZaakPage;
642
498
  };
643
- export type QueryAllCaseInstancesArgs = {
644
- orderBy: CaseInstanceOrderingInput;
645
- };
646
- export type QueryGetAutomatischeIncassoArgs = {
647
- klantnummer?: InputMaybe<Scalars['Int']['input']>;
648
- };
649
499
  export type QueryGetBewonersAantalArgs = {
650
500
  adresseerbaarObjectIdentificatie: Scalars['String']['input'];
651
501
  };
652
- export type QueryGetCaseInstanceArgs = {
653
- id: Scalars['UUID']['input'];
654
- };
655
502
  export type QueryGetDocumentContentArgs = {
656
503
  documentApi: Scalars['String']['input'];
657
504
  id: Scalars['UUID']['input'];
658
505
  };
659
- export type QueryGetErfpachtContractArgs = {
660
- id: Scalars['String']['input'];
661
- };
662
- export type QueryGetErfpachtContractenArgs = {
663
- pageNumber?: InputMaybe<Scalars['Int']['input']>;
664
- pageSize?: InputMaybe<Scalars['Int']['input']>;
665
- rsin?: InputMaybe<Scalars['String']['input']>;
666
- };
667
506
  export type QueryGetFormDefinitionByIdArgs = {
668
507
  id: Scalars['String']['input'];
669
508
  };
@@ -747,15 +586,6 @@ export type SbiActiviteit = {
747
586
  sbiCode: Scalars['String']['output'];
748
587
  sbiOmschrijving: Scalars['String']['output'];
749
588
  };
750
- export declare enum Sort {
751
- Asc = "ASC",
752
- Desc = "DESC"
753
- }
754
- export type Status = {
755
- __typename?: 'Status';
756
- createdOn: Scalars['String']['output'];
757
- name: Scalars['String']['output'];
758
- };
759
589
  export type StatusType = {
760
590
  __typename?: 'StatusType';
761
591
  isEindstatus?: Maybe<Scalars['Boolean']['output']>;
@@ -870,6 +700,7 @@ export declare enum TaakVersion {
870
700
  export type Zaak = {
871
701
  __typename?: 'Zaak';
872
702
  documenten: Array<Document>;
703
+ einddatum?: Maybe<Scalars['Date']['output']>;
873
704
  identificatie: Scalars['String']['output'];
874
705
  omschrijving: Scalars['String']['output'];
875
706
  startdatum: Scalars['Date']['output'];
@@ -913,17 +744,33 @@ export type ZaakType = {
913
744
  identificatie: Scalars['String']['output'];
914
745
  omschrijving: Scalars['String']['output'];
915
746
  };
916
- export type ZakelijkRecht = {
917
- __typename?: 'ZakelijkRecht';
918
- id: Scalars['Int']['output'];
919
- kadastraalObjecten: Array<KadastraalObject>;
920
- naam: Scalars['String']['output'];
921
- };
922
747
  export type FormulierFieldsFragment = {
923
748
  __typename?: 'TaakFormulier';
924
749
  formuliertype: string;
925
750
  value: string;
926
751
  };
752
+ export type GenerateOgonePaymentMutationVariables = Exact<{
753
+ amount: Scalars['Float']['input'];
754
+ failureUrl: Scalars['String']['input'];
755
+ langId: Scalars['String']['input'];
756
+ orderId: Scalars['String']['input'];
757
+ pspId: Scalars['String']['input'];
758
+ reference: Scalars['String']['input'];
759
+ successUrl: Scalars['String']['input'];
760
+ title: Scalars['String']['input'];
761
+ }>;
762
+ export type GenerateOgonePaymentMutation = {
763
+ __typename?: 'Mutation';
764
+ generateOgonePayment: {
765
+ __typename?: 'OgonePayment';
766
+ formAction: string;
767
+ formFields: Array<{
768
+ __typename?: 'PaymentField';
769
+ name: string;
770
+ value: string;
771
+ }>;
772
+ };
773
+ };
927
774
  export type SubmitTaakV2MutationVariables = Exact<{
928
775
  id: Scalars['UUID']['input'];
929
776
  submission: Scalars['JSON']['input'];
@@ -1436,6 +1283,7 @@ export type GetTaakByIdQuery = {
1436
1283
  status: TaakStatus;
1437
1284
  date: string;
1438
1285
  data: any;
1286
+ zaak?: string | null;
1439
1287
  formulier: {
1440
1288
  __typename?: 'TaakFormulier';
1441
1289
  formuliertype: string;
@@ -1479,6 +1327,12 @@ export type GetTakenV2Query = {
1479
1327
  value: string;
1480
1328
  };
1481
1329
  } | null;
1330
+ ogonebetaling?: {
1331
+ __typename?: 'OgoneBetaling';
1332
+ bedrag: number;
1333
+ betaalkenmerk: string;
1334
+ pspid: string;
1335
+ } | null;
1482
1336
  }>;
1483
1337
  };
1484
1338
  };
@@ -1501,6 +1355,8 @@ export type GetTakenQuery = {
1501
1355
  status: TaakStatus;
1502
1356
  date: string;
1503
1357
  verloopdatum?: any | null;
1358
+ data: any;
1359
+ zaak?: string | null;
1504
1360
  formulier: {
1505
1361
  __typename?: 'TaakFormulier';
1506
1362
  formuliertype: string;
@@ -1597,6 +1453,45 @@ export type GetZakenQuery = {
1597
1453
  };
1598
1454
  };
1599
1455
  export declare const FormulierFieldsFragmentDoc: Apollo.DocumentNode;
1456
+ export declare const GenerateOgonePaymentDocument: Apollo.DocumentNode;
1457
+ export type GenerateOgonePaymentMutationFn = Apollo.MutationFunction<GenerateOgonePaymentMutation, GenerateOgonePaymentMutationVariables>;
1458
+ /**
1459
+ * __useGenerateOgonePaymentMutation__
1460
+ *
1461
+ * To run a mutation, you first call `useGenerateOgonePaymentMutation` within a React component and pass it any options that fit your needs.
1462
+ * When your component renders, `useGenerateOgonePaymentMutation` returns a tuple that includes:
1463
+ * - A mutate function that you can call at any time to execute the mutation
1464
+ * - An object with fields that represent the current status of the mutation's execution
1465
+ *
1466
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
1467
+ *
1468
+ * @example
1469
+ * const [generateOgonePaymentMutation, { data, loading, error }] = useGenerateOgonePaymentMutation({
1470
+ * variables: {
1471
+ * amount: // value for 'amount'
1472
+ * failureUrl: // value for 'failureUrl'
1473
+ * langId: // value for 'langId'
1474
+ * orderId: // value for 'orderId'
1475
+ * pspId: // value for 'pspId'
1476
+ * reference: // value for 'reference'
1477
+ * successUrl: // value for 'successUrl'
1478
+ * title: // value for 'title'
1479
+ * },
1480
+ * });
1481
+ */
1482
+ export declare function useGenerateOgonePaymentMutation(baseOptions?: Apollo.MutationHookOptions<GenerateOgonePaymentMutation, GenerateOgonePaymentMutationVariables>): Apollo.MutationTuple<GenerateOgonePaymentMutation, Exact<{
1483
+ amount: Scalars["Float"]["input"];
1484
+ failureUrl: Scalars["String"]["input"];
1485
+ langId: Scalars["String"]["input"];
1486
+ orderId: Scalars["String"]["input"];
1487
+ pspId: Scalars["String"]["input"];
1488
+ reference: Scalars["String"]["input"];
1489
+ successUrl: Scalars["String"]["input"];
1490
+ title: Scalars["String"]["input"];
1491
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1492
+ export type GenerateOgonePaymentMutationHookResult = ReturnType<typeof useGenerateOgonePaymentMutation>;
1493
+ export type GenerateOgonePaymentMutationResult = Apollo.MutationResult<GenerateOgonePaymentMutation>;
1494
+ export type GenerateOgonePaymentMutationOptions = Apollo.BaseMutationOptions<GenerateOgonePaymentMutation, GenerateOgonePaymentMutationVariables>;
1600
1495
  export declare const SubmitTaakV2Document: Apollo.DocumentNode;
1601
1496
  export type SubmitTaakV2MutationFn = Apollo.MutationFunction<SubmitTaakV2Mutation, SubmitTaakV2MutationVariables>;
1602
1497
  /**