@nl-portal/nl-portal-api 0.1.1-alpha.75 → 0.1.1-alpha.76
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/dist/contexts/ApiContext.d.ts +9 -3
- package/dist/generated/Graphql.d.ts +256 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1261 -1213
- package/dist/queries/get-erfpacht-contracten.d.ts +1 -0
- package/package.json +2 -2
- package/dist/components/ApiWrapper.d.ts +0 -7
- /package/dist/{components/ApiWrapper.test.d.ts → tests/contexts/ApiContext.test.d.ts} +0 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
interface
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ContextProps {
|
|
3
3
|
restUri: string;
|
|
4
4
|
}
|
|
5
|
-
declare const ApiContext: React.Context<
|
|
5
|
+
declare const ApiContext: React.Context<ContextProps>;
|
|
6
|
+
interface Props {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
graphqlUri: string;
|
|
9
|
+
restUri: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const ApiProvider: ({ children, graphqlUri, restUri }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
12
|
export default ApiContext;
|
|
@@ -71,6 +71,30 @@ export type Adres = {
|
|
|
71
71
|
type: Scalars['String']['output'];
|
|
72
72
|
volledigAdres: Scalars['String']['output'];
|
|
73
73
|
};
|
|
74
|
+
export type CaseCreated = {
|
|
75
|
+
__typename?: 'CaseCreated';
|
|
76
|
+
caseId: Scalars['UUID']['output'];
|
|
77
|
+
};
|
|
78
|
+
export type CaseDefinition = {
|
|
79
|
+
__typename?: 'CaseDefinition';
|
|
80
|
+
id: Scalars['String']['output'];
|
|
81
|
+
schema: Scalars['JSON']['output'];
|
|
82
|
+
statusDefinition: Array<Scalars['String']['output']>;
|
|
83
|
+
};
|
|
84
|
+
export type CaseInstance = {
|
|
85
|
+
__typename?: 'CaseInstance';
|
|
86
|
+
caseDefinitionId: Scalars['String']['output'];
|
|
87
|
+
createdOn: Scalars['String']['output'];
|
|
88
|
+
externalId?: Maybe<Scalars['String']['output']>;
|
|
89
|
+
id: Scalars['UUID']['output'];
|
|
90
|
+
status?: Maybe<Status>;
|
|
91
|
+
statusHistory?: Maybe<Array<HistoricStatus>>;
|
|
92
|
+
submission: Scalars['JSON']['output'];
|
|
93
|
+
userId: Scalars['String']['output'];
|
|
94
|
+
};
|
|
95
|
+
export type CaseInstanceOrderingInput = {
|
|
96
|
+
createdOn: Sort;
|
|
97
|
+
};
|
|
74
98
|
export type ContactMoment = {
|
|
75
99
|
__typename?: 'ContactMoment';
|
|
76
100
|
bronorganisatie?: Maybe<Scalars['String']['output']>;
|
|
@@ -95,6 +119,32 @@ export type ContactMomentPage = {
|
|
|
95
119
|
/** The total number of available pages */
|
|
96
120
|
totalPages: Scalars['Int']['output'];
|
|
97
121
|
};
|
|
122
|
+
export type Contract = {
|
|
123
|
+
__typename?: 'Contract';
|
|
124
|
+
beginDatum: Scalars['String']['output'];
|
|
125
|
+
eindDatum?: Maybe<Scalars['String']['output']>;
|
|
126
|
+
id: Scalars['Int']['output'];
|
|
127
|
+
klanten: Array<NeaKlant>;
|
|
128
|
+
taken: Array<Taak>;
|
|
129
|
+
zakelijkRechten: Array<ZakelijkRecht>;
|
|
130
|
+
zaken: Array<Zaak>;
|
|
131
|
+
};
|
|
132
|
+
export type ContractBeperkt = {
|
|
133
|
+
__typename?: 'ContractBeperkt';
|
|
134
|
+
adressen: Array<NeaAdres>;
|
|
135
|
+
id: Scalars['Int']['output'];
|
|
136
|
+
};
|
|
137
|
+
export type ContractBeperktPage = {
|
|
138
|
+
__typename?: 'ContractBeperktPage';
|
|
139
|
+
content: Array<ContractBeperkt>;
|
|
140
|
+
number: Scalars['Int']['output'];
|
|
141
|
+
/** The number of elements on this page */
|
|
142
|
+
numberOfElements: Scalars['Int']['output'];
|
|
143
|
+
size: Scalars['Int']['output'];
|
|
144
|
+
totalElements: Scalars['Int']['output'];
|
|
145
|
+
/** The total number of available pages */
|
|
146
|
+
totalPages: Scalars['Int']['output'];
|
|
147
|
+
};
|
|
98
148
|
export type Document = {
|
|
99
149
|
__typename?: 'Document';
|
|
100
150
|
bestandsnaam?: Maybe<Scalars['String']['output']>;
|
|
@@ -140,6 +190,11 @@ export type HandelsNaam = {
|
|
|
140
190
|
naam: Scalars['String']['output'];
|
|
141
191
|
volgorde: Scalars['Int']['output'];
|
|
142
192
|
};
|
|
193
|
+
export type HistoricStatus = {
|
|
194
|
+
__typename?: 'HistoricStatus';
|
|
195
|
+
createdOn: Scalars['String']['output'];
|
|
196
|
+
status: Status;
|
|
197
|
+
};
|
|
143
198
|
export type Hoofdvestiging = {
|
|
144
199
|
__typename?: 'Hoofdvestiging';
|
|
145
200
|
adressen?: Maybe<Array<Adres>>;
|
|
@@ -150,6 +205,12 @@ export type Hoofdvestiging = {
|
|
|
150
205
|
totaalWerkzamePersonen: Scalars['Int']['output'];
|
|
151
206
|
vestigingsnummer: Scalars['String']['output'];
|
|
152
207
|
};
|
|
208
|
+
export type KadastraalObject = {
|
|
209
|
+
__typename?: 'KadastraalObject';
|
|
210
|
+
aanduiding: Scalars['String']['output'];
|
|
211
|
+
adressen: Array<NeaAdres>;
|
|
212
|
+
identificatie: Scalars['String']['output'];
|
|
213
|
+
};
|
|
153
214
|
export type Klant = {
|
|
154
215
|
__typename?: 'Klant';
|
|
155
216
|
emailadres?: Maybe<Scalars['String']['output']>;
|
|
@@ -178,6 +239,8 @@ export type MaterieleRegistratie = {
|
|
|
178
239
|
};
|
|
179
240
|
export type Mutation = {
|
|
180
241
|
__typename?: 'Mutation';
|
|
242
|
+
/** Convert submission to json return resulting data */
|
|
243
|
+
processSubmission: CaseCreated;
|
|
181
244
|
/** Submit a task */
|
|
182
245
|
submitTaak: Taak;
|
|
183
246
|
/** Submit a task */
|
|
@@ -185,6 +248,11 @@ export type Mutation = {
|
|
|
185
248
|
/** Updates the profile for the user */
|
|
186
249
|
updateBurgerProfiel?: Maybe<Klant>;
|
|
187
250
|
};
|
|
251
|
+
export type MutationProcessSubmissionArgs = {
|
|
252
|
+
caseDefinitionId: Scalars['String']['input'];
|
|
253
|
+
initialStatus?: InputMaybe<Scalars['String']['input']>;
|
|
254
|
+
submission: Scalars['JSON']['input'];
|
|
255
|
+
};
|
|
188
256
|
export type MutationSubmitTaakArgs = {
|
|
189
257
|
id: Scalars['UUID']['input'];
|
|
190
258
|
submission: Scalars['JSON']['input'];
|
|
@@ -196,6 +264,56 @@ export type MutationSubmitTaskArgs = {
|
|
|
196
264
|
export type MutationUpdateBurgerProfielArgs = {
|
|
197
265
|
klant: KlantUpdateInput;
|
|
198
266
|
};
|
|
267
|
+
export type NeaAdres = {
|
|
268
|
+
__typename?: 'NeaAdres';
|
|
269
|
+
adresBuitenland?: Maybe<NeaAdresBuitenland>;
|
|
270
|
+
adresseerbaarObjectId?: Maybe<Scalars['String']['output']>;
|
|
271
|
+
huisletter?: Maybe<Scalars['String']['output']>;
|
|
272
|
+
huisnummer?: Maybe<Scalars['Int']['output']>;
|
|
273
|
+
huisnummertoevoeging?: Maybe<Scalars['String']['output']>;
|
|
274
|
+
land?: Maybe<Scalars['String']['output']>;
|
|
275
|
+
nummeraanduidingId?: Maybe<Scalars['String']['output']>;
|
|
276
|
+
postbusnummer?: Maybe<Scalars['String']['output']>;
|
|
277
|
+
postcode?: Maybe<Scalars['String']['output']>;
|
|
278
|
+
straatnaam?: Maybe<Scalars['String']['output']>;
|
|
279
|
+
woonplaats?: Maybe<Scalars['String']['output']>;
|
|
280
|
+
};
|
|
281
|
+
export type NeaAdresBuitenland = {
|
|
282
|
+
__typename?: 'NeaAdresBuitenland';
|
|
283
|
+
land?: Maybe<Scalars['String']['output']>;
|
|
284
|
+
postcodeWoonplaats?: Maybe<Scalars['String']['output']>;
|
|
285
|
+
regio?: Maybe<Scalars['String']['output']>;
|
|
286
|
+
straatnaamHuisnummer?: Maybe<Scalars['String']['output']>;
|
|
287
|
+
};
|
|
288
|
+
export type NeaKlant = {
|
|
289
|
+
__typename?: 'NeaKlant';
|
|
290
|
+
organisatie?: Maybe<Organisatie>;
|
|
291
|
+
persoon?: Maybe<NeaPersoon>;
|
|
292
|
+
};
|
|
293
|
+
export type NeaPersoon = {
|
|
294
|
+
__typename?: 'NeaPersoon';
|
|
295
|
+
achterNaam: Scalars['String']['output'];
|
|
296
|
+
correspondentieAdres?: Maybe<NeaAdres>;
|
|
297
|
+
emailAdres?: Maybe<Scalars['String']['output']>;
|
|
298
|
+
klantnummer: Scalars['Int']['output'];
|
|
299
|
+
subjectId: Scalars['Int']['output'];
|
|
300
|
+
telefoonNummer?: Maybe<Scalars['String']['output']>;
|
|
301
|
+
verblijfAdres: NeaAdres;
|
|
302
|
+
volledigeNaam: Scalars['String']['output'];
|
|
303
|
+
voorNaam?: Maybe<Scalars['String']['output']>;
|
|
304
|
+
voorletters?: Maybe<Scalars['String']['output']>;
|
|
305
|
+
voorvoegselAchternaam?: Maybe<Scalars['String']['output']>;
|
|
306
|
+
};
|
|
307
|
+
export type Organisatie = {
|
|
308
|
+
__typename?: 'Organisatie';
|
|
309
|
+
bezoekAdres: NeaAdres;
|
|
310
|
+
correspondentieAdres?: Maybe<NeaAdres>;
|
|
311
|
+
klantnummer: Scalars['Int']['output'];
|
|
312
|
+
kvkNummer?: Maybe<Scalars['String']['output']>;
|
|
313
|
+
naam: Scalars['String']['output'];
|
|
314
|
+
rsin?: Maybe<Scalars['String']['output']>;
|
|
315
|
+
vestigingsnummer?: Maybe<Scalars['String']['output']>;
|
|
316
|
+
};
|
|
199
317
|
export type Persoon = {
|
|
200
318
|
__typename?: 'Persoon';
|
|
201
319
|
burgerservicenummer?: Maybe<Scalars['String']['output']>;
|
|
@@ -250,6 +368,10 @@ export type PersoonVerblijfplaats = {
|
|
|
250
368
|
};
|
|
251
369
|
export type Query = {
|
|
252
370
|
__typename?: 'Query';
|
|
371
|
+
/** retrieves all available case definitions */
|
|
372
|
+
allCaseDefinitions: Array<CaseDefinition>;
|
|
373
|
+
/** retrieves all available case instances */
|
|
374
|
+
allCaseInstances: Array<CaseInstance>;
|
|
253
375
|
/**
|
|
254
376
|
* find all form definitions from repository
|
|
255
377
|
* @deprecated This method is not used by the NL Portal frontend and is not being replaced.
|
|
@@ -261,8 +383,14 @@ export type Query = {
|
|
|
261
383
|
getBewonersAantal?: Maybe<Scalars['Int']['output']>;
|
|
262
384
|
/** Gets the profile for the user */
|
|
263
385
|
getBurgerProfiel?: Maybe<Klant>;
|
|
386
|
+
/** retrieves single case instance from repository */
|
|
387
|
+
getCaseInstance?: Maybe<CaseInstance>;
|
|
264
388
|
/** Gets a document content by id as base64 encoded */
|
|
265
389
|
getDocumentContent: DocumentContent;
|
|
390
|
+
/** Get erfpacht contract by UUID */
|
|
391
|
+
getErfpachtContract: Contract;
|
|
392
|
+
/** Gets all erfpacht contracten of user or rsin */
|
|
393
|
+
getErfpachtContracten: ContractBeperktPage;
|
|
266
394
|
/**
|
|
267
395
|
* find single form definition from repository or Objecten API
|
|
268
396
|
* @deprecated Replaced by getFormDefinitionByName and getFormDefinitionByObjectenApiUrl, replace with getFormDefinitionByName or getFormDefinitionByObjectenApiUrl
|
|
@@ -296,10 +424,24 @@ export type Query = {
|
|
|
296
424
|
/** Gets all zaken for the user */
|
|
297
425
|
getZaken: ZaakPage;
|
|
298
426
|
};
|
|
427
|
+
export type QueryAllCaseInstancesArgs = {
|
|
428
|
+
orderBy: CaseInstanceOrderingInput;
|
|
429
|
+
};
|
|
430
|
+
export type QueryGetCaseInstanceArgs = {
|
|
431
|
+
id: Scalars['UUID']['input'];
|
|
432
|
+
};
|
|
299
433
|
export type QueryGetDocumentContentArgs = {
|
|
300
434
|
documentApi: Scalars['String']['input'];
|
|
301
435
|
id: Scalars['UUID']['input'];
|
|
302
436
|
};
|
|
437
|
+
export type QueryGetErfpachtContractArgs = {
|
|
438
|
+
id: Scalars['String']['input'];
|
|
439
|
+
};
|
|
440
|
+
export type QueryGetErfpachtContractenArgs = {
|
|
441
|
+
pageNumber?: InputMaybe<Scalars['Int']['input']>;
|
|
442
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
443
|
+
rsin?: InputMaybe<Scalars['String']['input']>;
|
|
444
|
+
};
|
|
303
445
|
export type QueryGetFormDefinitionByIdArgs = {
|
|
304
446
|
id: Scalars['String']['input'];
|
|
305
447
|
};
|
|
@@ -341,6 +483,15 @@ export type SbiActiviteit = {
|
|
|
341
483
|
sbiCode: Scalars['String']['output'];
|
|
342
484
|
sbiOmschrijving: Scalars['String']['output'];
|
|
343
485
|
};
|
|
486
|
+
export declare enum Sort {
|
|
487
|
+
Asc = "ASC",
|
|
488
|
+
Desc = "DESC"
|
|
489
|
+
}
|
|
490
|
+
export type Status = {
|
|
491
|
+
__typename?: 'Status';
|
|
492
|
+
createdOn: Scalars['String']['output'];
|
|
493
|
+
name: Scalars['String']['output'];
|
|
494
|
+
};
|
|
344
495
|
export type StatusType = {
|
|
345
496
|
__typename?: 'StatusType';
|
|
346
497
|
isEindstatus?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -439,6 +590,12 @@ export type ZaakType = {
|
|
|
439
590
|
identificatie: Scalars['String']['output'];
|
|
440
591
|
omschrijving: Scalars['String']['output'];
|
|
441
592
|
};
|
|
593
|
+
export type ZakelijkRecht = {
|
|
594
|
+
__typename?: 'ZakelijkRecht';
|
|
595
|
+
id: Scalars['Int']['output'];
|
|
596
|
+
kadastraalObjecten: Array<KadastraalObject>;
|
|
597
|
+
naam: Scalars['String']['output'];
|
|
598
|
+
};
|
|
442
599
|
export type FormulierFieldsFragment = {
|
|
443
600
|
__typename?: 'TaakFormulier';
|
|
444
601
|
formuliertype: string;
|
|
@@ -523,6 +680,29 @@ export type GetDocumentenQuery = {
|
|
|
523
680
|
}>;
|
|
524
681
|
};
|
|
525
682
|
};
|
|
683
|
+
export type GetErfpachtContractenQueryVariables = Exact<{
|
|
684
|
+
pageNumber?: InputMaybe<Scalars['Int']['input']>;
|
|
685
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
686
|
+
}>;
|
|
687
|
+
export type GetErfpachtContractenQuery = {
|
|
688
|
+
__typename?: 'Query';
|
|
689
|
+
getErfpachtContracten: {
|
|
690
|
+
__typename?: 'ContractBeperktPage';
|
|
691
|
+
totalElements: number;
|
|
692
|
+
totalPages: number;
|
|
693
|
+
content: Array<{
|
|
694
|
+
__typename?: 'ContractBeperkt';
|
|
695
|
+
id: number;
|
|
696
|
+
adressen: Array<{
|
|
697
|
+
__typename?: 'NeaAdres';
|
|
698
|
+
straatnaam?: string | null;
|
|
699
|
+
huisnummer?: number | null;
|
|
700
|
+
woonplaats?: string | null;
|
|
701
|
+
nummeraanduidingId?: string | null;
|
|
702
|
+
}>;
|
|
703
|
+
}>;
|
|
704
|
+
};
|
|
705
|
+
};
|
|
526
706
|
export type GetFormDefinitionByIdQueryVariables = Exact<{
|
|
527
707
|
id: Scalars['String']['input'];
|
|
528
708
|
}>;
|
|
@@ -969,7 +1149,12 @@ export declare const GetDocumentenDocument: Apollo.DocumentNode;
|
|
|
969
1149
|
* },
|
|
970
1150
|
* });
|
|
971
1151
|
*/
|
|
972
|
-
export declare function useGetDocumentenQuery(baseOptions: Apollo.QueryHookOptions<GetDocumentenQuery, GetDocumentenQueryVariables>
|
|
1152
|
+
export declare function useGetDocumentenQuery(baseOptions: Apollo.QueryHookOptions<GetDocumentenQuery, GetDocumentenQueryVariables> & ({
|
|
1153
|
+
variables: GetDocumentenQueryVariables;
|
|
1154
|
+
skip?: boolean;
|
|
1155
|
+
} | {
|
|
1156
|
+
skip: boolean;
|
|
1157
|
+
})): Apollo.QueryResult<GetDocumentenQuery, Exact<{
|
|
973
1158
|
id: any;
|
|
974
1159
|
}>>;
|
|
975
1160
|
export declare function useGetDocumentenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetDocumentenQuery, GetDocumentenQueryVariables>): Apollo.LazyQueryResultTuple<GetDocumentenQuery, Exact<{
|
|
@@ -982,6 +1167,40 @@ export type GetDocumentenQueryHookResult = ReturnType<typeof useGetDocumentenQue
|
|
|
982
1167
|
export type GetDocumentenLazyQueryHookResult = ReturnType<typeof useGetDocumentenLazyQuery>;
|
|
983
1168
|
export type GetDocumentenSuspenseQueryHookResult = ReturnType<typeof useGetDocumentenSuspenseQuery>;
|
|
984
1169
|
export type GetDocumentenQueryResult = Apollo.QueryResult<GetDocumentenQuery, GetDocumentenQueryVariables>;
|
|
1170
|
+
export declare const GetErfpachtContractenDocument: Apollo.DocumentNode;
|
|
1171
|
+
/**
|
|
1172
|
+
* __useGetErfpachtContractenQuery__
|
|
1173
|
+
*
|
|
1174
|
+
* To run a query within a React component, call `useGetErfpachtContractenQuery` and pass it any options that fit your needs.
|
|
1175
|
+
* When your component renders, `useGetErfpachtContractenQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1176
|
+
* you can use to render your UI.
|
|
1177
|
+
*
|
|
1178
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1179
|
+
*
|
|
1180
|
+
* @example
|
|
1181
|
+
* const { data, loading, error } = useGetErfpachtContractenQuery({
|
|
1182
|
+
* variables: {
|
|
1183
|
+
* pageNumber: // value for 'pageNumber'
|
|
1184
|
+
* pageSize: // value for 'pageSize'
|
|
1185
|
+
* },
|
|
1186
|
+
* });
|
|
1187
|
+
*/
|
|
1188
|
+
export declare function useGetErfpachtContractenQuery(baseOptions?: Apollo.QueryHookOptions<GetErfpachtContractenQuery, GetErfpachtContractenQueryVariables>): Apollo.QueryResult<GetErfpachtContractenQuery, Exact<{
|
|
1189
|
+
pageNumber?: InputMaybe<number> | undefined;
|
|
1190
|
+
pageSize?: InputMaybe<number> | undefined;
|
|
1191
|
+
}>>;
|
|
1192
|
+
export declare function useGetErfpachtContractenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetErfpachtContractenQuery, GetErfpachtContractenQueryVariables>): Apollo.LazyQueryResultTuple<GetErfpachtContractenQuery, Exact<{
|
|
1193
|
+
pageNumber?: InputMaybe<number> | undefined;
|
|
1194
|
+
pageSize?: InputMaybe<number> | undefined;
|
|
1195
|
+
}>>;
|
|
1196
|
+
export declare function useGetErfpachtContractenSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetErfpachtContractenQuery, GetErfpachtContractenQueryVariables>): Apollo.UseSuspenseQueryResult<GetErfpachtContractenQuery, Exact<{
|
|
1197
|
+
pageNumber?: InputMaybe<number> | undefined;
|
|
1198
|
+
pageSize?: InputMaybe<number> | undefined;
|
|
1199
|
+
}>>;
|
|
1200
|
+
export type GetErfpachtContractenQueryHookResult = ReturnType<typeof useGetErfpachtContractenQuery>;
|
|
1201
|
+
export type GetErfpachtContractenLazyQueryHookResult = ReturnType<typeof useGetErfpachtContractenLazyQuery>;
|
|
1202
|
+
export type GetErfpachtContractenSuspenseQueryHookResult = ReturnType<typeof useGetErfpachtContractenSuspenseQuery>;
|
|
1203
|
+
export type GetErfpachtContractenQueryResult = Apollo.QueryResult<GetErfpachtContractenQuery, GetErfpachtContractenQueryVariables>;
|
|
985
1204
|
export declare const GetFormDefinitionByIdDocument: Apollo.DocumentNode;
|
|
986
1205
|
/**
|
|
987
1206
|
* __useGetFormDefinitionByIdQuery__
|
|
@@ -999,7 +1218,12 @@ export declare const GetFormDefinitionByIdDocument: Apollo.DocumentNode;
|
|
|
999
1218
|
* },
|
|
1000
1219
|
* });
|
|
1001
1220
|
*/
|
|
1002
|
-
export declare function useGetFormDefinitionByIdQuery(baseOptions: Apollo.QueryHookOptions<GetFormDefinitionByIdQuery, GetFormDefinitionByIdQueryVariables>
|
|
1221
|
+
export declare function useGetFormDefinitionByIdQuery(baseOptions: Apollo.QueryHookOptions<GetFormDefinitionByIdQuery, GetFormDefinitionByIdQueryVariables> & ({
|
|
1222
|
+
variables: GetFormDefinitionByIdQueryVariables;
|
|
1223
|
+
skip?: boolean;
|
|
1224
|
+
} | {
|
|
1225
|
+
skip: boolean;
|
|
1226
|
+
})): Apollo.QueryResult<GetFormDefinitionByIdQuery, Exact<{
|
|
1003
1227
|
id: string;
|
|
1004
1228
|
}>>;
|
|
1005
1229
|
export declare function useGetFormDefinitionByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetFormDefinitionByIdQuery, GetFormDefinitionByIdQueryVariables>): Apollo.LazyQueryResultTuple<GetFormDefinitionByIdQuery, Exact<{
|
|
@@ -1029,7 +1253,12 @@ export declare const GetFormDefinitionByObjectenApiUrlDocument: Apollo.DocumentN
|
|
|
1029
1253
|
* },
|
|
1030
1254
|
* });
|
|
1031
1255
|
*/
|
|
1032
|
-
export declare function useGetFormDefinitionByObjectenApiUrlQuery(baseOptions: Apollo.QueryHookOptions<GetFormDefinitionByObjectenApiUrlQuery, GetFormDefinitionByObjectenApiUrlQueryVariables>
|
|
1256
|
+
export declare function useGetFormDefinitionByObjectenApiUrlQuery(baseOptions: Apollo.QueryHookOptions<GetFormDefinitionByObjectenApiUrlQuery, GetFormDefinitionByObjectenApiUrlQueryVariables> & ({
|
|
1257
|
+
variables: GetFormDefinitionByObjectenApiUrlQueryVariables;
|
|
1258
|
+
skip?: boolean;
|
|
1259
|
+
} | {
|
|
1260
|
+
skip: boolean;
|
|
1261
|
+
})): Apollo.QueryResult<GetFormDefinitionByObjectenApiUrlQuery, Exact<{
|
|
1033
1262
|
url: string;
|
|
1034
1263
|
}>>;
|
|
1035
1264
|
export declare function useGetFormDefinitionByObjectenApiUrlLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetFormDefinitionByObjectenApiUrlQuery, GetFormDefinitionByObjectenApiUrlQueryVariables>): Apollo.LazyQueryResultTuple<GetFormDefinitionByObjectenApiUrlQuery, Exact<{
|
|
@@ -1059,7 +1288,12 @@ export declare const GetFormDefinitionByNameDocument: Apollo.DocumentNode;
|
|
|
1059
1288
|
* },
|
|
1060
1289
|
* });
|
|
1061
1290
|
*/
|
|
1062
|
-
export declare function useGetFormDefinitionByNameQuery(baseOptions: Apollo.QueryHookOptions<GetFormDefinitionByNameQuery, GetFormDefinitionByNameQueryVariables>
|
|
1291
|
+
export declare function useGetFormDefinitionByNameQuery(baseOptions: Apollo.QueryHookOptions<GetFormDefinitionByNameQuery, GetFormDefinitionByNameQueryVariables> & ({
|
|
1292
|
+
variables: GetFormDefinitionByNameQueryVariables;
|
|
1293
|
+
skip?: boolean;
|
|
1294
|
+
} | {
|
|
1295
|
+
skip: boolean;
|
|
1296
|
+
})): Apollo.QueryResult<GetFormDefinitionByNameQuery, Exact<{
|
|
1063
1297
|
name: string;
|
|
1064
1298
|
}>>;
|
|
1065
1299
|
export declare function useGetFormDefinitionByNameLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetFormDefinitionByNameQuery, GetFormDefinitionByNameQueryVariables>): Apollo.LazyQueryResultTuple<GetFormDefinitionByNameQuery, Exact<{
|
|
@@ -1176,7 +1410,12 @@ export declare const GetObjectContactMomentenDocument: Apollo.DocumentNode;
|
|
|
1176
1410
|
* },
|
|
1177
1411
|
* });
|
|
1178
1412
|
*/
|
|
1179
|
-
export declare function useGetObjectContactMomentenQuery(baseOptions: Apollo.QueryHookOptions<GetObjectContactMomentenQuery, GetObjectContactMomentenQueryVariables>
|
|
1413
|
+
export declare function useGetObjectContactMomentenQuery(baseOptions: Apollo.QueryHookOptions<GetObjectContactMomentenQuery, GetObjectContactMomentenQueryVariables> & ({
|
|
1414
|
+
variables: GetObjectContactMomentenQueryVariables;
|
|
1415
|
+
skip?: boolean;
|
|
1416
|
+
} | {
|
|
1417
|
+
skip: boolean;
|
|
1418
|
+
})): Apollo.QueryResult<GetObjectContactMomentenQuery, Exact<{
|
|
1180
1419
|
objectUrl: string;
|
|
1181
1420
|
}>>;
|
|
1182
1421
|
export declare function useGetObjectContactMomentenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetObjectContactMomentenQuery, GetObjectContactMomentenQueryVariables>): Apollo.LazyQueryResultTuple<GetObjectContactMomentenQuery, Exact<{
|
|
@@ -1264,7 +1503,12 @@ export declare const GetTaakByIdDocument: Apollo.DocumentNode;
|
|
|
1264
1503
|
* },
|
|
1265
1504
|
* });
|
|
1266
1505
|
*/
|
|
1267
|
-
export declare function useGetTaakByIdQuery(baseOptions: Apollo.QueryHookOptions<GetTaakByIdQuery, GetTaakByIdQueryVariables>
|
|
1506
|
+
export declare function useGetTaakByIdQuery(baseOptions: Apollo.QueryHookOptions<GetTaakByIdQuery, GetTaakByIdQueryVariables> & ({
|
|
1507
|
+
variables: GetTaakByIdQueryVariables;
|
|
1508
|
+
skip?: boolean;
|
|
1509
|
+
} | {
|
|
1510
|
+
skip: boolean;
|
|
1511
|
+
})): Apollo.QueryResult<GetTaakByIdQuery, Exact<{
|
|
1268
1512
|
id: any;
|
|
1269
1513
|
}>>;
|
|
1270
1514
|
export declare function useGetTaakByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetTaakByIdQuery, GetTaakByIdQueryVariables>): Apollo.LazyQueryResultTuple<GetTaakByIdQuery, Exact<{
|
|
@@ -1332,7 +1576,12 @@ export declare const GetZaakDocument: Apollo.DocumentNode;
|
|
|
1332
1576
|
* },
|
|
1333
1577
|
* });
|
|
1334
1578
|
*/
|
|
1335
|
-
export declare function useGetZaakQuery(baseOptions: Apollo.QueryHookOptions<GetZaakQuery, GetZaakQueryVariables>
|
|
1579
|
+
export declare function useGetZaakQuery(baseOptions: Apollo.QueryHookOptions<GetZaakQuery, GetZaakQueryVariables> & ({
|
|
1580
|
+
variables: GetZaakQueryVariables;
|
|
1581
|
+
skip?: boolean;
|
|
1582
|
+
} | {
|
|
1583
|
+
skip: boolean;
|
|
1584
|
+
})): Apollo.QueryResult<GetZaakQuery, Exact<{
|
|
1336
1585
|
id: any;
|
|
1337
1586
|
}>>;
|
|
1338
1587
|
export declare function useGetZaakLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetZaakQuery, GetZaakQueryVariables>): Apollo.LazyQueryResultTuple<GetZaakQuery, Exact<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as ApiContext } from "./contexts/ApiContext";
|
|
1
|
+
export { default as ApiContext, ApiProvider } from "./contexts/ApiContext";
|
|
3
2
|
export * from "./constants/token";
|
|
4
3
|
export * from "./generated/Graphql";
|
|
5
4
|
export * from "./queries/get-taken";
|
|
@@ -10,3 +9,4 @@ export * from "./queries/get-persoon-data";
|
|
|
10
9
|
export * from "./queries/get-burger-profiel";
|
|
11
10
|
export * from "./queries/get-zaak";
|
|
12
11
|
export * from "./queries/get-bewoner-aantal.ts";
|
|
12
|
+
export * from "./queries/get-erfpacht-contracten";
|