@nl-portal/nl-portal-api 0.1.1-alpha.97 → 0.1.1-alpha.99

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.
@@ -178,6 +178,8 @@ export type Mutation = {
178
178
  /** Submit a task */
179
179
  submitTaak: Taak;
180
180
  /** Submit a task */
181
+ submitTaakV2: TaakV2;
182
+ /** Submit a task */
181
183
  submitTask: Taak;
182
184
  /** Updates the profile for the user */
183
185
  updateBurgerProfiel?: Maybe<Klant>;
@@ -191,6 +193,10 @@ export type MutationSubmitTaakArgs = {
191
193
  id: Scalars['UUID']['input'];
192
194
  submission: Scalars['JSON']['input'];
193
195
  };
196
+ export type MutationSubmitTaakV2Args = {
197
+ id: Scalars['UUID']['input'];
198
+ submission: Scalars['JSON']['input'];
199
+ };
194
200
  export type MutationSubmitTaskArgs = {
195
201
  id: Scalars['UUID']['input'];
196
202
  submission: Scalars['JSON']['input'];
@@ -202,6 +208,12 @@ export type MutationUpdateProductVerbruiksObjectArgs = {
202
208
  id: Scalars['UUID']['input'];
203
209
  submission: Scalars['JSON']['input'];
204
210
  };
211
+ export type OgoneBetaling = {
212
+ __typename?: 'OgoneBetaling';
213
+ bedrag: Scalars['Float']['output'];
214
+ betaalkenmerk: Scalars['String']['output'];
215
+ pspid: Scalars['String']['output'];
216
+ };
205
217
  export type OgonePayment = {
206
218
  __typename?: 'OgonePayment';
207
219
  formAction: Scalars['String']['output'];
@@ -366,14 +378,30 @@ export type Query = {
366
378
  getProductTypes: Array<ProductType>;
367
379
  /** Get list of verbruiksobjecten of product */
368
380
  getProductVerbruiksObjecten: Array<ProductVerbruiksObject>;
369
- /** Get list of zaken by product name */
381
+ /**
382
+ *
383
+ * Get list of zaken by product name or productTypeId
384
+ * isOpen is optional, when not available, all zaken will be returned
385
+ * isOpen is true, only zaken without enddate will be returned
386
+ * isOpen is false, only zaken with an enddate will be returned
387
+ *
388
+ */
370
389
  getProductZaken: Array<Zaak>;
371
- /** Get list of products by product name */
390
+ /**
391
+ *
392
+ * Get list of products by product name or productTypeId
393
+ * subProductType, is optional. It search for the subProductType in the products
394
+ *
395
+ */
372
396
  getProducten: ProductPage;
373
397
  /** Get task by id */
374
398
  getTaakById: Taak;
399
+ /** Get task by id V2 */
400
+ getTaakByIdV2: TaakV2;
375
401
  /** Get a list of tasks. Optional filter for zaak */
376
402
  getTaken: TaakPage;
403
+ /** Get a list of tasks. Optional filter for zaak V2 */
404
+ getTakenV2: TaakPageV2;
377
405
  /**
378
406
  * Get a list of tasks
379
407
  * @deprecated Replaced by getTaken
@@ -381,7 +409,14 @@ export type Query = {
381
409
  getTasks: TaakPage;
382
410
  /** Gets a zaak by id */
383
411
  getZaak: Zaak;
384
- /** Gets all zaken for the user */
412
+ /**
413
+ *
414
+ * Gets all zaken for the user
415
+ * isOpen is optional, when not available, all zaken will be returned
416
+ * isOpen is true, only zaken without enddate will be returned
417
+ * isOpen is false, only zaken with an enddate will be returned
418
+ *
419
+ */
385
420
  getZaken: ZaakPage;
386
421
  };
387
422
  export type QueryGetBewonersAantalArgs = {
@@ -424,6 +459,7 @@ export type QueryGetProductVerbruiksObjectenArgs = {
424
459
  productId: Scalars['UUID']['input'];
425
460
  };
426
461
  export type QueryGetProductZakenArgs = {
462
+ isOpen?: InputMaybe<Scalars['Boolean']['input']>;
427
463
  pageSize?: InputMaybe<Scalars['Int']['input']>;
428
464
  productName: Scalars['String']['input'];
429
465
  productTypeId?: InputMaybe<Scalars['UUID']['input']>;
@@ -438,11 +474,19 @@ export type QueryGetProductenArgs = {
438
474
  export type QueryGetTaakByIdArgs = {
439
475
  id: Scalars['UUID']['input'];
440
476
  };
477
+ export type QueryGetTaakByIdV2Args = {
478
+ id: Scalars['UUID']['input'];
479
+ };
441
480
  export type QueryGetTakenArgs = {
442
481
  pageNumber?: InputMaybe<Scalars['Int']['input']>;
443
482
  pageSize?: InputMaybe<Scalars['Int']['input']>;
444
483
  zaakUUID?: InputMaybe<Scalars['UUID']['input']>;
445
484
  };
485
+ export type QueryGetTakenV2Args = {
486
+ pageNumber?: InputMaybe<Scalars['Int']['input']>;
487
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
488
+ zaakUUID?: InputMaybe<Scalars['UUID']['input']>;
489
+ };
446
490
  export type QueryGetTasksArgs = {
447
491
  pageNumber?: InputMaybe<Scalars['Int']['input']>;
448
492
  pageSize?: InputMaybe<Scalars['Int']['input']>;
@@ -451,6 +495,7 @@ export type QueryGetZaakArgs = {
451
495
  id: Scalars['UUID']['input'];
452
496
  };
453
497
  export type QueryGetZakenArgs = {
498
+ isOpen?: InputMaybe<Scalars['Boolean']['input']>;
454
499
  page?: InputMaybe<Scalars['Int']['input']>;
455
500
  zaakTypeUrl?: InputMaybe<Scalars['String']['input']>;
456
501
  };
@@ -480,6 +525,11 @@ export type Taak = {
480
525
  verloopdatum?: Maybe<Scalars['LocalDateTime']['output']>;
481
526
  zaak?: Maybe<Scalars['String']['output']>;
482
527
  };
528
+ export type TaakForm = {
529
+ __typename?: 'TaakForm';
530
+ data: Scalars['JSON']['output'];
531
+ formulier: Scalars['String']['output'];
532
+ };
483
533
  export type TaakFormulier = {
484
534
  __typename?: 'TaakFormulier';
485
535
  /** @deprecated To support old formulier types */
@@ -496,6 +546,15 @@ export type TaakIdentificatie = {
496
546
  type: Scalars['String']['output'];
497
547
  value: Scalars['String']['output'];
498
548
  };
549
+ export type TaakKoppeling = {
550
+ __typename?: 'TaakKoppeling';
551
+ registratie: TaakKoppelingRegistratie;
552
+ uuid: Scalars['UUID']['output'];
553
+ };
554
+ export declare enum TaakKoppelingRegistratie {
555
+ Product = "PRODUCT",
556
+ Zaak = "ZAAK"
557
+ }
499
558
  export type TaakPage = {
500
559
  __typename?: 'TaakPage';
501
560
  content: Array<Taak>;
@@ -507,12 +566,40 @@ export type TaakPage = {
507
566
  /** The total number of available pages */
508
567
  totalPages: Scalars['Int']['output'];
509
568
  };
569
+ export type TaakPageV2 = {
570
+ __typename?: 'TaakPageV2';
571
+ content: Array<TaakV2>;
572
+ number: Scalars['Int']['output'];
573
+ /** The number of elements on this page */
574
+ numberOfElements: Scalars['Int']['output'];
575
+ size: Scalars['Int']['output'];
576
+ totalElements: Scalars['Int']['output'];
577
+ /** The total number of available pages */
578
+ totalPages: Scalars['Int']['output'];
579
+ };
510
580
  export declare enum TaakStatus {
511
581
  Gesloten = "GESLOTEN",
512
582
  Ingediend = "INGEDIEND",
513
583
  Open = "OPEN",
514
584
  Verwerkt = "VERWERKT"
515
585
  }
586
+ export type TaakUrl = {
587
+ __typename?: 'TaakUrl';
588
+ uri: Scalars['String']['output'];
589
+ };
590
+ export type TaakV2 = {
591
+ __typename?: 'TaakV2';
592
+ formtaak?: Maybe<TaakForm>;
593
+ id: Scalars['UUID']['output'];
594
+ identificatie: TaakIdentificatie;
595
+ koppeling: TaakKoppeling;
596
+ ogonebetaling?: Maybe<OgoneBetaling>;
597
+ soort: Scalars['String']['output'];
598
+ status: TaakStatus;
599
+ titel: Scalars['String']['output'];
600
+ url?: Maybe<TaakUrl>;
601
+ verloopdatum?: Maybe<Scalars['LocalDateTime']['output']>;
602
+ };
516
603
  export type Zaak = {
517
604
  __typename?: 'Zaak';
518
605
  documenten: Array<Document>;
@@ -835,6 +922,7 @@ export type GetProductVerbruiksObjectenQuery = {
835
922
  export type GetProductZakenQueryVariables = Exact<{
836
923
  productName: Scalars['String']['input'];
837
924
  pageSize?: InputMaybe<Scalars['Int']['input']>;
925
+ isOpen?: InputMaybe<Scalars['Boolean']['input']>;
838
926
  }>;
839
927
  export type GetProductZakenQuery = {
840
928
  __typename?: 'Query';
@@ -1045,6 +1133,7 @@ export type GetZaakQuery = {
1045
1133
  };
1046
1134
  export type GetZakenQueryVariables = Exact<{
1047
1135
  page?: InputMaybe<Scalars['Int']['input']>;
1136
+ isOpen?: InputMaybe<Scalars['Boolean']['input']>;
1048
1137
  }>;
1049
1138
  export type GetZakenQuery = {
1050
1139
  __typename?: 'Query';
@@ -1590,6 +1679,7 @@ export declare const GetProductZakenDocument: Apollo.DocumentNode;
1590
1679
  * variables: {
1591
1680
  * productName: // value for 'productName'
1592
1681
  * pageSize: // value for 'pageSize'
1682
+ * isOpen: // value for 'isOpen'
1593
1683
  * },
1594
1684
  * });
1595
1685
  */
@@ -1601,14 +1691,17 @@ export declare function useGetProductZakenQuery(baseOptions: Apollo.QueryHookOpt
1601
1691
  })): Apollo.QueryResult<GetProductZakenQuery, Exact<{
1602
1692
  productName: string;
1603
1693
  pageSize?: InputMaybe<number> | undefined;
1694
+ isOpen?: InputMaybe<boolean> | undefined;
1604
1695
  }>>;
1605
1696
  export declare function useGetProductZakenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetProductZakenQuery, GetProductZakenQueryVariables>): Apollo.LazyQueryResultTuple<GetProductZakenQuery, Exact<{
1606
1697
  productName: string;
1607
1698
  pageSize?: InputMaybe<number> | undefined;
1699
+ isOpen?: InputMaybe<boolean> | undefined;
1608
1700
  }>>;
1609
1701
  export declare function useGetProductZakenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetProductZakenQuery, GetProductZakenQueryVariables>): Apollo.UseSuspenseQueryResult<GetProductZakenQuery, Exact<{
1610
1702
  productName: string;
1611
1703
  pageSize?: InputMaybe<number> | undefined;
1704
+ isOpen?: InputMaybe<boolean> | undefined;
1612
1705
  }>>;
1613
1706
  export type GetProductZakenQueryHookResult = ReturnType<typeof useGetProductZakenQuery>;
1614
1707
  export type GetProductZakenLazyQueryHookResult = ReturnType<typeof useGetProductZakenLazyQuery>;
@@ -1814,17 +1907,21 @@ export declare const GetZakenDocument: Apollo.DocumentNode;
1814
1907
  * const { data, loading, error } = useGetZakenQuery({
1815
1908
  * variables: {
1816
1909
  * page: // value for 'page'
1910
+ * isOpen: // value for 'isOpen'
1817
1911
  * },
1818
1912
  * });
1819
1913
  */
1820
1914
  export declare function useGetZakenQuery(baseOptions?: Apollo.QueryHookOptions<GetZakenQuery, GetZakenQueryVariables>): Apollo.QueryResult<GetZakenQuery, Exact<{
1821
1915
  page?: InputMaybe<number> | undefined;
1916
+ isOpen?: InputMaybe<boolean> | undefined;
1822
1917
  }>>;
1823
1918
  export declare function useGetZakenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetZakenQuery, GetZakenQueryVariables>): Apollo.LazyQueryResultTuple<GetZakenQuery, Exact<{
1824
1919
  page?: InputMaybe<number> | undefined;
1920
+ isOpen?: InputMaybe<boolean> | undefined;
1825
1921
  }>>;
1826
1922
  export declare function useGetZakenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetZakenQuery, GetZakenQueryVariables>): Apollo.UseSuspenseQueryResult<GetZakenQuery, Exact<{
1827
1923
  page?: InputMaybe<number> | undefined;
1924
+ isOpen?: InputMaybe<boolean> | undefined;
1828
1925
  }>>;
1829
1926
  export type GetZakenQueryHookResult = ReturnType<typeof useGetZakenQuery>;
1830
1927
  export type GetZakenLazyQueryHookResult = ReturnType<typeof useGetZakenLazyQuery>;