@burdenoff/microfe-timecampus 2026.719.4 → 2026.728.1

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.
Files changed (30) hide show
  1. package/dist/generated/wspace-operations.d.ts +527 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +1112 -880
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.d.ts +175 -0
  6. package/dist/generated/wspace-types.d.ts.map +1 -1
  7. package/dist/generated/wspace-types.js +5 -3
  8. package/dist/generated/wspace-types.js.map +1 -1
  9. package/dist/index.js +5 -5
  10. package/dist/timecampus/TimeCampusRoot.d.ts.map +1 -1
  11. package/dist/timecampus/TimeCampusRoot.js +81 -73
  12. package/dist/timecampus/TimeCampusRoot.js.map +1 -1
  13. package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
  14. package/dist/timecampus/TimeCampusRoutes.js +17 -13
  15. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  16. package/dist/timecampus/components/StatusBadge.d.ts.map +1 -1
  17. package/dist/timecampus/components/StatusBadge.js.map +1 -1
  18. package/dist/timecampus/pages/invoicing/InvoicingPage.d.ts +2 -0
  19. package/dist/timecampus/pages/invoicing/InvoicingPage.d.ts.map +1 -0
  20. package/dist/timecampus/pages/invoicing/InvoicingPage.js +595 -0
  21. package/dist/timecampus/pages/invoicing/InvoicingPage.js.map +1 -0
  22. package/dist/timecampus/types/index.d.ts.map +1 -1
  23. package/dist/timecampus/utils/helpers.d.ts.map +1 -1
  24. package/dist/timecampus/utils/helpers.js +3 -1
  25. package/dist/timecampus/utils/helpers.js.map +1 -1
  26. package/dist/types/assistant.d.ts.map +1 -1
  27. package/dist/utils/pageContext.d.ts.map +1 -1
  28. package/dist/utils/pageContext.js +1 -0
  29. package/dist/utils/pageContext.js.map +1 -1
  30. package/package.json +1 -1
@@ -113,6 +113,59 @@ export type FocusScoreFieldsFragment = {
113
113
  createdAt: string;
114
114
  updatedAt: string;
115
115
  };
116
+ export type InvoiceLineItemFieldsFragment = {
117
+ __typename?: 'TimeCampusInvoiceLineItem';
118
+ id: string;
119
+ invoiceId: string;
120
+ projectId?: string | null;
121
+ taskId?: string | null;
122
+ description: string;
123
+ quantity: number;
124
+ unitRate: number;
125
+ amount: number;
126
+ periodStart?: string | null;
127
+ periodEnd?: string | null;
128
+ };
129
+ export type InvoiceFieldsFragment = {
130
+ __typename?: 'TimeCampusInvoice';
131
+ id: string;
132
+ workspaceId: string;
133
+ invoiceNumber: string;
134
+ status: Types.TimeCampusInvoiceStatus;
135
+ clientPortalConfigId?: string | null;
136
+ clientName: string;
137
+ clientEmail?: string | null;
138
+ clientAddress?: string | null;
139
+ currency: string;
140
+ subtotal: number;
141
+ taxRate: number;
142
+ taxAmount: number;
143
+ total: number;
144
+ periodStart: string;
145
+ periodEnd: string;
146
+ issueDate: string;
147
+ dueDate?: string | null;
148
+ sentAt?: string | null;
149
+ paidAt?: string | null;
150
+ notes?: string | null;
151
+ isOverdue: boolean;
152
+ createdAt: string;
153
+ updatedAt: string;
154
+ createdBy: string;
155
+ lineItems: Array<{
156
+ __typename?: 'TimeCampusInvoiceLineItem';
157
+ id: string;
158
+ invoiceId: string;
159
+ projectId?: string | null;
160
+ taskId?: string | null;
161
+ description: string;
162
+ quantity: number;
163
+ unitRate: number;
164
+ amount: number;
165
+ periodStart?: string | null;
166
+ periodEnd?: string | null;
167
+ }>;
168
+ };
116
169
  export type LifeValueFieldsFragment = {
117
170
  __typename?: 'TimeCampusLifeValue';
118
171
  id: string;
@@ -1212,6 +1265,106 @@ export type DeleteFocusScoreMutation = {
1212
1265
  id: string;
1213
1266
  };
1214
1267
  };
1268
+ export type GenerateInvoiceDraftMutationVariables = Types.Exact<{
1269
+ input: Types.GenerateTimeCampusInvoiceDraftInput;
1270
+ }>;
1271
+ export type GenerateInvoiceDraftMutation = {
1272
+ __typename?: 'Mutation';
1273
+ generateTimeCampusInvoiceDraft: {
1274
+ __typename?: 'TimeCampusInvoice';
1275
+ id: string;
1276
+ workspaceId: string;
1277
+ invoiceNumber: string;
1278
+ status: Types.TimeCampusInvoiceStatus;
1279
+ clientPortalConfigId?: string | null;
1280
+ clientName: string;
1281
+ clientEmail?: string | null;
1282
+ clientAddress?: string | null;
1283
+ currency: string;
1284
+ subtotal: number;
1285
+ taxRate: number;
1286
+ taxAmount: number;
1287
+ total: number;
1288
+ periodStart: string;
1289
+ periodEnd: string;
1290
+ issueDate: string;
1291
+ dueDate?: string | null;
1292
+ sentAt?: string | null;
1293
+ paidAt?: string | null;
1294
+ notes?: string | null;
1295
+ isOverdue: boolean;
1296
+ createdAt: string;
1297
+ updatedAt: string;
1298
+ createdBy: string;
1299
+ lineItems: Array<{
1300
+ __typename?: 'TimeCampusInvoiceLineItem';
1301
+ id: string;
1302
+ invoiceId: string;
1303
+ projectId?: string | null;
1304
+ taskId?: string | null;
1305
+ description: string;
1306
+ quantity: number;
1307
+ unitRate: number;
1308
+ amount: number;
1309
+ periodStart?: string | null;
1310
+ periodEnd?: string | null;
1311
+ }>;
1312
+ };
1313
+ };
1314
+ export type UpdateInvoiceStatusMutationVariables = Types.Exact<{
1315
+ input: Types.UpdateTimeCampusInvoiceStatusInput;
1316
+ }>;
1317
+ export type UpdateInvoiceStatusMutation = {
1318
+ __typename?: 'Mutation';
1319
+ updateTimeCampusInvoiceStatus: {
1320
+ __typename?: 'TimeCampusInvoice';
1321
+ id: string;
1322
+ workspaceId: string;
1323
+ invoiceNumber: string;
1324
+ status: Types.TimeCampusInvoiceStatus;
1325
+ clientPortalConfigId?: string | null;
1326
+ clientName: string;
1327
+ clientEmail?: string | null;
1328
+ clientAddress?: string | null;
1329
+ currency: string;
1330
+ subtotal: number;
1331
+ taxRate: number;
1332
+ taxAmount: number;
1333
+ total: number;
1334
+ periodStart: string;
1335
+ periodEnd: string;
1336
+ issueDate: string;
1337
+ dueDate?: string | null;
1338
+ sentAt?: string | null;
1339
+ paidAt?: string | null;
1340
+ notes?: string | null;
1341
+ isOverdue: boolean;
1342
+ createdAt: string;
1343
+ updatedAt: string;
1344
+ createdBy: string;
1345
+ lineItems: Array<{
1346
+ __typename?: 'TimeCampusInvoiceLineItem';
1347
+ id: string;
1348
+ invoiceId: string;
1349
+ projectId?: string | null;
1350
+ taskId?: string | null;
1351
+ description: string;
1352
+ quantity: number;
1353
+ unitRate: number;
1354
+ amount: number;
1355
+ periodStart?: string | null;
1356
+ periodEnd?: string | null;
1357
+ }>;
1358
+ };
1359
+ };
1360
+ export type DeleteInvoiceDraftMutationVariables = Types.Exact<{
1361
+ id: Types.Scalars['ID']['input'];
1362
+ workspaceId: Types.Scalars['ID']['input'];
1363
+ }>;
1364
+ export type DeleteInvoiceDraftMutation = {
1365
+ __typename?: 'Mutation';
1366
+ deleteTimeCampusInvoiceDraft: boolean;
1367
+ };
1215
1368
  export type LogLifeTimeEntryMutationVariables = Types.Exact<{
1216
1369
  domain: Types.TimeCampusLifeDomain;
1217
1370
  startTime: Types.Scalars['DateTime']['input'];
@@ -3359,6 +3512,137 @@ export type GetFocusScoreTrendQuery = {
3359
3512
  change: number;
3360
3513
  }>;
3361
3514
  };
3515
+ export type ListInvoicesQueryVariables = Types.Exact<{
3516
+ workspaceId: Types.Scalars['ID']['input'];
3517
+ pagination?: Types.InputMaybe<Types.PaginationInput>;
3518
+ filter?: Types.InputMaybe<Types.TimeCampusInvoiceFilterInput>;
3519
+ }>;
3520
+ export type ListInvoicesQuery = {
3521
+ __typename?: 'Query';
3522
+ timeCampusInvoices: {
3523
+ __typename?: 'TimeCampusInvoiceListResponse';
3524
+ total: number;
3525
+ hasMore: boolean;
3526
+ items: Array<{
3527
+ __typename?: 'TimeCampusInvoice';
3528
+ id: string;
3529
+ workspaceId: string;
3530
+ invoiceNumber: string;
3531
+ status: Types.TimeCampusInvoiceStatus;
3532
+ clientPortalConfigId?: string | null;
3533
+ clientName: string;
3534
+ clientEmail?: string | null;
3535
+ clientAddress?: string | null;
3536
+ currency: string;
3537
+ subtotal: number;
3538
+ taxRate: number;
3539
+ taxAmount: number;
3540
+ total: number;
3541
+ periodStart: string;
3542
+ periodEnd: string;
3543
+ issueDate: string;
3544
+ dueDate?: string | null;
3545
+ sentAt?: string | null;
3546
+ paidAt?: string | null;
3547
+ notes?: string | null;
3548
+ isOverdue: boolean;
3549
+ createdAt: string;
3550
+ updatedAt: string;
3551
+ createdBy: string;
3552
+ lineItems: Array<{
3553
+ __typename?: 'TimeCampusInvoiceLineItem';
3554
+ id: string;
3555
+ invoiceId: string;
3556
+ projectId?: string | null;
3557
+ taskId?: string | null;
3558
+ description: string;
3559
+ quantity: number;
3560
+ unitRate: number;
3561
+ amount: number;
3562
+ periodStart?: string | null;
3563
+ periodEnd?: string | null;
3564
+ }>;
3565
+ }>;
3566
+ };
3567
+ };
3568
+ export type GetInvoiceQueryVariables = Types.Exact<{
3569
+ id: Types.Scalars['ID']['input'];
3570
+ workspaceId: Types.Scalars['ID']['input'];
3571
+ }>;
3572
+ export type GetInvoiceQuery = {
3573
+ __typename?: 'Query';
3574
+ timeCampusInvoice?: {
3575
+ __typename?: 'TimeCampusInvoice';
3576
+ id: string;
3577
+ workspaceId: string;
3578
+ invoiceNumber: string;
3579
+ status: Types.TimeCampusInvoiceStatus;
3580
+ clientPortalConfigId?: string | null;
3581
+ clientName: string;
3582
+ clientEmail?: string | null;
3583
+ clientAddress?: string | null;
3584
+ currency: string;
3585
+ subtotal: number;
3586
+ taxRate: number;
3587
+ taxAmount: number;
3588
+ total: number;
3589
+ periodStart: string;
3590
+ periodEnd: string;
3591
+ issueDate: string;
3592
+ dueDate?: string | null;
3593
+ sentAt?: string | null;
3594
+ paidAt?: string | null;
3595
+ notes?: string | null;
3596
+ isOverdue: boolean;
3597
+ createdAt: string;
3598
+ updatedAt: string;
3599
+ createdBy: string;
3600
+ lineItems: Array<{
3601
+ __typename?: 'TimeCampusInvoiceLineItem';
3602
+ id: string;
3603
+ invoiceId: string;
3604
+ projectId?: string | null;
3605
+ taskId?: string | null;
3606
+ description: string;
3607
+ quantity: number;
3608
+ unitRate: number;
3609
+ amount: number;
3610
+ periodStart?: string | null;
3611
+ periodEnd?: string | null;
3612
+ }>;
3613
+ } | null;
3614
+ };
3615
+ export type GetInvoiceStatsQueryVariables = Types.Exact<{
3616
+ workspaceId: Types.Scalars['ID']['input'];
3617
+ }>;
3618
+ export type GetInvoiceStatsQuery = {
3619
+ __typename?: 'Query';
3620
+ timeCampusInvoiceStats: {
3621
+ __typename?: 'TimeCampusInvoiceStats';
3622
+ draftCount: number;
3623
+ sentCount: number;
3624
+ paidCount: number;
3625
+ totalInvoiced: number;
3626
+ totalOutstanding: number;
3627
+ totalPaid: number;
3628
+ };
3629
+ };
3630
+ export type GetInvoiceHtmlQueryVariables = Types.Exact<{
3631
+ id: Types.Scalars['ID']['input'];
3632
+ workspaceId: Types.Scalars['ID']['input'];
3633
+ }>;
3634
+ export type GetInvoiceHtmlQuery = {
3635
+ __typename?: 'Query';
3636
+ timeCampusInvoiceHtml: string;
3637
+ };
3638
+ export type GetInvoicePdfQueryVariables = Types.Exact<{
3639
+ id: Types.Scalars['ID']['input'];
3640
+ workspaceId: Types.Scalars['ID']['input'];
3641
+ }>;
3642
+ export type GetInvoicePdfQuery = {
3643
+ __typename?: 'Query';
3644
+ timeCampusInvoicePdf: string;
3645
+ };
3362
3646
  export type MyLifeBalanceQueryVariables = Types.Exact<{
3363
3647
  from: Types.Scalars['DateTime']['input'];
3364
3648
  to: Types.Scalars['DateTime']['input'];
@@ -4864,6 +5148,8 @@ export declare const ClientPortalFieldsFragmentDoc: Apollo.DocumentNode;
4864
5148
  export declare const EmailTimeEntryFieldsFragmentDoc: Apollo.DocumentNode;
4865
5149
  export declare const ExpenseFieldsFragmentDoc: Apollo.DocumentNode;
4866
5150
  export declare const FocusScoreFieldsFragmentDoc: Apollo.DocumentNode;
5151
+ export declare const InvoiceLineItemFieldsFragmentDoc: Apollo.DocumentNode;
5152
+ export declare const InvoiceFieldsFragmentDoc: Apollo.DocumentNode;
4867
5153
  export declare const LifeValueFieldsFragmentDoc: Apollo.DocumentNode;
4868
5154
  export declare const LifeGoalFieldsFragmentDoc: Apollo.DocumentNode;
4869
5155
  export declare const BalanceTargetFieldsFragmentDoc: Apollo.DocumentNode;
@@ -5608,6 +5894,82 @@ export declare function useDeleteFocusScoreMutation(baseOptions?: ApolloReactHoo
5608
5894
  export type DeleteFocusScoreMutationHookResult = ReturnType<typeof useDeleteFocusScoreMutation>;
5609
5895
  export type DeleteFocusScoreMutationResult = Apollo.MutationResult<Types.DeleteFocusScoreMutation>;
5610
5896
  export type DeleteFocusScoreMutationOptions = Apollo.BaseMutationOptions<Types.DeleteFocusScoreMutation, Types.DeleteFocusScoreMutationVariables>;
5897
+ export declare const GenerateInvoiceDraftDocument: Apollo.DocumentNode;
5898
+ export type GenerateInvoiceDraftMutationFn = Apollo.MutationFunction<Types.GenerateInvoiceDraftMutation, Types.GenerateInvoiceDraftMutationVariables>;
5899
+ /**
5900
+ * __useGenerateInvoiceDraftMutation__
5901
+ *
5902
+ * To run a mutation, you first call `useGenerateInvoiceDraftMutation` within a React component and pass it any options that fit your needs.
5903
+ * When your component renders, `useGenerateInvoiceDraftMutation` returns a tuple that includes:
5904
+ * - A mutate function that you can call at any time to execute the mutation
5905
+ * - An object with fields that represent the current status of the mutation's execution
5906
+ *
5907
+ * @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;
5908
+ *
5909
+ * @example
5910
+ * const [generateInvoiceDraftMutation, { data, loading, error }] = useGenerateInvoiceDraftMutation({
5911
+ * variables: {
5912
+ * input: // value for 'input'
5913
+ * },
5914
+ * });
5915
+ */
5916
+ export declare function useGenerateInvoiceDraftMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.GenerateInvoiceDraftMutation, Types.GenerateInvoiceDraftMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.GenerateInvoiceDraftMutation, Types.GenerateInvoiceDraftMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
5917
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
5918
+ }, undefined>;
5919
+ export type GenerateInvoiceDraftMutationHookResult = ReturnType<typeof useGenerateInvoiceDraftMutation>;
5920
+ export type GenerateInvoiceDraftMutationResult = Apollo.MutationResult<Types.GenerateInvoiceDraftMutation>;
5921
+ export type GenerateInvoiceDraftMutationOptions = Apollo.BaseMutationOptions<Types.GenerateInvoiceDraftMutation, Types.GenerateInvoiceDraftMutationVariables>;
5922
+ export declare const UpdateInvoiceStatusDocument: Apollo.DocumentNode;
5923
+ export type UpdateInvoiceStatusMutationFn = Apollo.MutationFunction<Types.UpdateInvoiceStatusMutation, Types.UpdateInvoiceStatusMutationVariables>;
5924
+ /**
5925
+ * __useUpdateInvoiceStatusMutation__
5926
+ *
5927
+ * To run a mutation, you first call `useUpdateInvoiceStatusMutation` within a React component and pass it any options that fit your needs.
5928
+ * When your component renders, `useUpdateInvoiceStatusMutation` returns a tuple that includes:
5929
+ * - A mutate function that you can call at any time to execute the mutation
5930
+ * - An object with fields that represent the current status of the mutation's execution
5931
+ *
5932
+ * @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;
5933
+ *
5934
+ * @example
5935
+ * const [updateInvoiceStatusMutation, { data, loading, error }] = useUpdateInvoiceStatusMutation({
5936
+ * variables: {
5937
+ * input: // value for 'input'
5938
+ * },
5939
+ * });
5940
+ */
5941
+ export declare function useUpdateInvoiceStatusMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateInvoiceStatusMutation, Types.UpdateInvoiceStatusMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.UpdateInvoiceStatusMutation, Types.UpdateInvoiceStatusMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
5942
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
5943
+ }, undefined>;
5944
+ export type UpdateInvoiceStatusMutationHookResult = ReturnType<typeof useUpdateInvoiceStatusMutation>;
5945
+ export type UpdateInvoiceStatusMutationResult = Apollo.MutationResult<Types.UpdateInvoiceStatusMutation>;
5946
+ export type UpdateInvoiceStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateInvoiceStatusMutation, Types.UpdateInvoiceStatusMutationVariables>;
5947
+ export declare const DeleteInvoiceDraftDocument: Apollo.DocumentNode;
5948
+ export type DeleteInvoiceDraftMutationFn = Apollo.MutationFunction<Types.DeleteInvoiceDraftMutation, Types.DeleteInvoiceDraftMutationVariables>;
5949
+ /**
5950
+ * __useDeleteInvoiceDraftMutation__
5951
+ *
5952
+ * To run a mutation, you first call `useDeleteInvoiceDraftMutation` within a React component and pass it any options that fit your needs.
5953
+ * When your component renders, `useDeleteInvoiceDraftMutation` returns a tuple that includes:
5954
+ * - A mutate function that you can call at any time to execute the mutation
5955
+ * - An object with fields that represent the current status of the mutation's execution
5956
+ *
5957
+ * @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;
5958
+ *
5959
+ * @example
5960
+ * const [deleteInvoiceDraftMutation, { data, loading, error }] = useDeleteInvoiceDraftMutation({
5961
+ * variables: {
5962
+ * id: // value for 'id'
5963
+ * workspaceId: // value for 'workspaceId'
5964
+ * },
5965
+ * });
5966
+ */
5967
+ export declare function useDeleteInvoiceDraftMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteInvoiceDraftMutation, Types.DeleteInvoiceDraftMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.DeleteInvoiceDraftMutation, Types.DeleteInvoiceDraftMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
5968
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
5969
+ }, undefined>;
5970
+ export type DeleteInvoiceDraftMutationHookResult = ReturnType<typeof useDeleteInvoiceDraftMutation>;
5971
+ export type DeleteInvoiceDraftMutationResult = Apollo.MutationResult<Types.DeleteInvoiceDraftMutation>;
5972
+ export type DeleteInvoiceDraftMutationOptions = Apollo.BaseMutationOptions<Types.DeleteInvoiceDraftMutation, Types.DeleteInvoiceDraftMutationVariables>;
5611
5973
  export declare const LogLifeTimeEntryDocument: Apollo.DocumentNode;
5612
5974
  export type LogLifeTimeEntryMutationFn = Apollo.MutationFunction<Types.LogLifeTimeEntryMutation, Types.LogLifeTimeEntryMutationVariables>;
5613
5975
  /**
@@ -8201,6 +8563,171 @@ export type GetFocusScoreTrendQueryHookResult = ReturnType<typeof useGetFocusSco
8201
8563
  export type GetFocusScoreTrendLazyQueryHookResult = ReturnType<typeof useGetFocusScoreTrendLazyQuery>;
8202
8564
  export type GetFocusScoreTrendSuspenseQueryHookResult = ReturnType<typeof useGetFocusScoreTrendSuspenseQuery>;
8203
8565
  export type GetFocusScoreTrendQueryResult = Apollo.QueryResult<Types.GetFocusScoreTrendQuery, Types.GetFocusScoreTrendQueryVariables>;
8566
+ export declare const ListInvoicesDocument: Apollo.DocumentNode;
8567
+ /**
8568
+ * __useListInvoicesQuery__
8569
+ *
8570
+ * To run a query within a React component, call `useListInvoicesQuery` and pass it any options that fit your needs.
8571
+ * When your component renders, `useListInvoicesQuery` returns an object from Apollo Client that contains loading, error, and data properties
8572
+ * you can use to render your UI.
8573
+ *
8574
+ * @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;
8575
+ *
8576
+ * @example
8577
+ * const { data, loading, error } = useListInvoicesQuery({
8578
+ * variables: {
8579
+ * workspaceId: // value for 'workspaceId'
8580
+ * pagination: // value for 'pagination'
8581
+ * filter: // value for 'filter'
8582
+ * },
8583
+ * });
8584
+ */
8585
+ export declare function useListInvoicesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables> & ({
8586
+ variables: Types.ListInvoicesQueryVariables;
8587
+ skip?: boolean;
8588
+ } | {
8589
+ skip: boolean;
8590
+ })): ApolloReactHooks.useQuery.ResultForOptions<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<TVariables & { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: undefined; }>>;
8591
+ export declare function useListInvoicesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & {
8592
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
8593
+ }>;
8594
+ export declare function useListInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables>;
8595
+ export declare function useListInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListInvoicesQuery | undefined, Types.ListInvoicesQueryVariables>;
8596
+ export type ListInvoicesQueryHookResult = ReturnType<typeof useListInvoicesQuery>;
8597
+ export type ListInvoicesLazyQueryHookResult = ReturnType<typeof useListInvoicesLazyQuery>;
8598
+ export type ListInvoicesSuspenseQueryHookResult = ReturnType<typeof useListInvoicesSuspenseQuery>;
8599
+ export type ListInvoicesQueryResult = Apollo.QueryResult<Types.ListInvoicesQuery, Types.ListInvoicesQueryVariables>;
8600
+ export declare const GetInvoiceDocument: Apollo.DocumentNode;
8601
+ /**
8602
+ * __useGetInvoiceQuery__
8603
+ *
8604
+ * To run a query within a React component, call `useGetInvoiceQuery` and pass it any options that fit your needs.
8605
+ * When your component renders, `useGetInvoiceQuery` returns an object from Apollo Client that contains loading, error, and data properties
8606
+ * you can use to render your UI.
8607
+ *
8608
+ * @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;
8609
+ *
8610
+ * @example
8611
+ * const { data, loading, error } = useGetInvoiceQuery({
8612
+ * variables: {
8613
+ * id: // value for 'id'
8614
+ * workspaceId: // value for 'workspaceId'
8615
+ * },
8616
+ * });
8617
+ */
8618
+ export declare function useGetInvoiceQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables> & ({
8619
+ variables: Types.GetInvoiceQueryVariables;
8620
+ skip?: boolean;
8621
+ } | {
8622
+ skip: boolean;
8623
+ })): ApolloReactHooks.useQuery.ResultForOptions<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<TVariables & { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: undefined; }>>;
8624
+ export declare function useGetInvoiceLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & {
8625
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
8626
+ }>;
8627
+ export declare function useGetInvoiceSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables>;
8628
+ export declare function useGetInvoiceSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoiceQuery | undefined, Types.GetInvoiceQueryVariables>;
8629
+ export type GetInvoiceQueryHookResult = ReturnType<typeof useGetInvoiceQuery>;
8630
+ export type GetInvoiceLazyQueryHookResult = ReturnType<typeof useGetInvoiceLazyQuery>;
8631
+ export type GetInvoiceSuspenseQueryHookResult = ReturnType<typeof useGetInvoiceSuspenseQuery>;
8632
+ export type GetInvoiceQueryResult = Apollo.QueryResult<Types.GetInvoiceQuery, Types.GetInvoiceQueryVariables>;
8633
+ export declare const GetInvoiceStatsDocument: Apollo.DocumentNode;
8634
+ /**
8635
+ * __useGetInvoiceStatsQuery__
8636
+ *
8637
+ * To run a query within a React component, call `useGetInvoiceStatsQuery` and pass it any options that fit your needs.
8638
+ * When your component renders, `useGetInvoiceStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
8639
+ * you can use to render your UI.
8640
+ *
8641
+ * @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;
8642
+ *
8643
+ * @example
8644
+ * const { data, loading, error } = useGetInvoiceStatsQuery({
8645
+ * variables: {
8646
+ * workspaceId: // value for 'workspaceId'
8647
+ * },
8648
+ * });
8649
+ */
8650
+ export declare function useGetInvoiceStatsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables> & ({
8651
+ variables: Types.GetInvoiceStatsQueryVariables;
8652
+ skip?: boolean;
8653
+ } | {
8654
+ skip: boolean;
8655
+ })): ApolloReactHooks.useQuery.ResultForOptions<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<TVariables & { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: undefined; }>>;
8656
+ export declare function useGetInvoiceStatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & {
8657
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
8658
+ }>;
8659
+ export declare function useGetInvoiceStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables>;
8660
+ export declare function useGetInvoiceStatsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoiceStatsQuery | undefined, Types.GetInvoiceStatsQueryVariables>;
8661
+ export type GetInvoiceStatsQueryHookResult = ReturnType<typeof useGetInvoiceStatsQuery>;
8662
+ export type GetInvoiceStatsLazyQueryHookResult = ReturnType<typeof useGetInvoiceStatsLazyQuery>;
8663
+ export type GetInvoiceStatsSuspenseQueryHookResult = ReturnType<typeof useGetInvoiceStatsSuspenseQuery>;
8664
+ export type GetInvoiceStatsQueryResult = Apollo.QueryResult<Types.GetInvoiceStatsQuery, Types.GetInvoiceStatsQueryVariables>;
8665
+ export declare const GetInvoiceHtmlDocument: Apollo.DocumentNode;
8666
+ /**
8667
+ * __useGetInvoiceHtmlQuery__
8668
+ *
8669
+ * To run a query within a React component, call `useGetInvoiceHtmlQuery` and pass it any options that fit your needs.
8670
+ * When your component renders, `useGetInvoiceHtmlQuery` returns an object from Apollo Client that contains loading, error, and data properties
8671
+ * you can use to render your UI.
8672
+ *
8673
+ * @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;
8674
+ *
8675
+ * @example
8676
+ * const { data, loading, error } = useGetInvoiceHtmlQuery({
8677
+ * variables: {
8678
+ * id: // value for 'id'
8679
+ * workspaceId: // value for 'workspaceId'
8680
+ * },
8681
+ * });
8682
+ */
8683
+ export declare function useGetInvoiceHtmlQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables> & ({
8684
+ variables: Types.GetInvoiceHtmlQueryVariables;
8685
+ skip?: boolean;
8686
+ } | {
8687
+ skip: boolean;
8688
+ })): ApolloReactHooks.useQuery.ResultForOptions<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<TVariables & { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: undefined; }>>;
8689
+ export declare function useGetInvoiceHtmlLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & {
8690
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
8691
+ }>;
8692
+ export declare function useGetInvoiceHtmlSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables>;
8693
+ export declare function useGetInvoiceHtmlSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoiceHtmlQuery | undefined, Types.GetInvoiceHtmlQueryVariables>;
8694
+ export type GetInvoiceHtmlQueryHookResult = ReturnType<typeof useGetInvoiceHtmlQuery>;
8695
+ export type GetInvoiceHtmlLazyQueryHookResult = ReturnType<typeof useGetInvoiceHtmlLazyQuery>;
8696
+ export type GetInvoiceHtmlSuspenseQueryHookResult = ReturnType<typeof useGetInvoiceHtmlSuspenseQuery>;
8697
+ export type GetInvoiceHtmlQueryResult = Apollo.QueryResult<Types.GetInvoiceHtmlQuery, Types.GetInvoiceHtmlQueryVariables>;
8698
+ export declare const GetInvoicePdfDocument: Apollo.DocumentNode;
8699
+ /**
8700
+ * __useGetInvoicePdfQuery__
8701
+ *
8702
+ * To run a query within a React component, call `useGetInvoicePdfQuery` and pass it any options that fit your needs.
8703
+ * When your component renders, `useGetInvoicePdfQuery` returns an object from Apollo Client that contains loading, error, and data properties
8704
+ * you can use to render your UI.
8705
+ *
8706
+ * @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;
8707
+ *
8708
+ * @example
8709
+ * const { data, loading, error } = useGetInvoicePdfQuery({
8710
+ * variables: {
8711
+ * id: // value for 'id'
8712
+ * workspaceId: // value for 'workspaceId'
8713
+ * },
8714
+ * });
8715
+ */
8716
+ export declare function useGetInvoicePdfQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables> & ({
8717
+ variables: Types.GetInvoicePdfQueryVariables;
8718
+ skip?: boolean;
8719
+ } | {
8720
+ skip: boolean;
8721
+ })): ApolloReactHooks.useQuery.ResultForOptions<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<import('@apollo/client/utilities/internal').NoInfer<TVariables>> & import('@apollo/client/utilities/internal').VariablesOption<TVariables & { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: undefined; }>>;
8722
+ export declare function useGetInvoicePdfLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>> & {
8723
+ variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
8724
+ }>;
8725
+ export declare function useGetInvoicePdfSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables>;
8726
+ export declare function useGetInvoicePdfSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetInvoicePdfQuery | undefined, Types.GetInvoicePdfQueryVariables>;
8727
+ export type GetInvoicePdfQueryHookResult = ReturnType<typeof useGetInvoicePdfQuery>;
8728
+ export type GetInvoicePdfLazyQueryHookResult = ReturnType<typeof useGetInvoicePdfLazyQuery>;
8729
+ export type GetInvoicePdfSuspenseQueryHookResult = ReturnType<typeof useGetInvoicePdfSuspenseQuery>;
8730
+ export type GetInvoicePdfQueryResult = Apollo.QueryResult<Types.GetInvoicePdfQuery, Types.GetInvoicePdfQueryVariables>;
8204
8731
  export declare const MyLifeBalanceDocument: Apollo.DocumentNode;
8205
8732
  /**
8206
8733
  * __useMyLifeBalanceQuery__