@burdenoff/microfe-assethandler 2026.1111.1 → 2026.1111.2
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/assethandler/components/FinanceRegisterExportDialog.d.ts +6 -0
- package/dist/assethandler/components/FinanceRegisterExportDialog.js +189 -0
- package/dist/assethandler/components/FinanceRegisterExportDialog.js.map +1 -0
- package/dist/assethandler/pages/FinanceFinanceHubPage.js +146 -208
- package/dist/assethandler/pages/FinanceFinanceHubPage.js.map +1 -1
- package/dist/assethandler/utils/financeExport.d.ts +32 -0
- package/dist/assethandler/utils/financeExport.js +85 -0
- package/dist/assethandler/utils/financeExport.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +144 -0
- package/dist/generated/wspace-operations.js +301 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/package.json +1 -1
|
@@ -13,6 +13,11 @@ import * as Apollo from '@apollo/client';
|
|
|
13
13
|
import * as ApolloReactHooks from '@apollo/client/react';
|
|
14
14
|
export type AssetBudgetStatus = 'ON_TRACK' | 'OVER_BUDGET' | 'UNDER_BUDGET';
|
|
15
15
|
export type AssetCondition = 'DAMAGED' | 'EXCELLENT' | 'FAIR' | 'GOOD' | 'POOR';
|
|
16
|
+
/** Cursor-based pagination input for list queries. Limit is clamped server-side to a maximum of 100; cursor is the opaque `id` returned from the previous page. Replaces the implicit hardcoded `take: 200` ceiling (scale audit #1). */
|
|
17
|
+
export type AssetHandlerPaginationInput = {
|
|
18
|
+
cursor?: string | null | undefined;
|
|
19
|
+
limit?: number | null | undefined;
|
|
20
|
+
};
|
|
16
21
|
export type AssetStatus = 'ACTIVE' | 'DISPOSED' | 'INACTIVE' | 'MAINTENANCE' | 'RETIRED';
|
|
17
22
|
export type AssetTransactionStatus = 'APPROVED' | 'COMPLETED' | 'PENDING' | 'REJECTED';
|
|
18
23
|
export type AssetTransactionType = 'DISPOSAL' | 'LEASE' | 'MAINTENANCE' | 'PURCHASE' | 'TRANSFER';
|
|
@@ -421,6 +426,55 @@ export type AssetHandlerBootstrapQuery = {
|
|
|
421
426
|
}>;
|
|
422
427
|
};
|
|
423
428
|
};
|
|
429
|
+
export type AssetHandlerExportBudgetsQueryVariables = Exact<{
|
|
430
|
+
pagination: Types.AssetHandlerPaginationInput;
|
|
431
|
+
}>;
|
|
432
|
+
export type AssetHandlerExportBudgetsQuery = {
|
|
433
|
+
budgets: Array<{
|
|
434
|
+
id: string;
|
|
435
|
+
workspaceId: string;
|
|
436
|
+
name: string;
|
|
437
|
+
department: string;
|
|
438
|
+
category: string;
|
|
439
|
+
period: string;
|
|
440
|
+
allocated: number;
|
|
441
|
+
spent: number;
|
|
442
|
+
remaining: number;
|
|
443
|
+
status: Types.AssetBudgetStatus;
|
|
444
|
+
}>;
|
|
445
|
+
};
|
|
446
|
+
export type AssetHandlerExportTransactionsQueryVariables = Exact<{
|
|
447
|
+
pagination: Types.AssetHandlerPaginationInput;
|
|
448
|
+
}>;
|
|
449
|
+
export type AssetHandlerExportTransactionsQuery = {
|
|
450
|
+
transactions: Array<{
|
|
451
|
+
id: string;
|
|
452
|
+
workspaceId: string;
|
|
453
|
+
type: Types.AssetTransactionType;
|
|
454
|
+
description: string;
|
|
455
|
+
department: string | null;
|
|
456
|
+
amount: number;
|
|
457
|
+
currency: string;
|
|
458
|
+
status: Types.AssetTransactionStatus;
|
|
459
|
+
occurredAt: string;
|
|
460
|
+
}>;
|
|
461
|
+
};
|
|
462
|
+
export type AssetHandlerExportInvoicesQueryVariables = Exact<{
|
|
463
|
+
pagination: Types.AssetHandlerPaginationInput;
|
|
464
|
+
}>;
|
|
465
|
+
export type AssetHandlerExportInvoicesQuery = {
|
|
466
|
+
invoices: Array<{
|
|
467
|
+
id: string;
|
|
468
|
+
workspaceId: string;
|
|
469
|
+
number: string;
|
|
470
|
+
vendor: string;
|
|
471
|
+
amount: number;
|
|
472
|
+
currency: string;
|
|
473
|
+
issueDate: string;
|
|
474
|
+
dueDate: string;
|
|
475
|
+
status: Types.InvoiceStatus;
|
|
476
|
+
}>;
|
|
477
|
+
};
|
|
424
478
|
export declare const AssetFieldsFragmentDoc: Apollo.DocumentNode;
|
|
425
479
|
export declare const IncidentFieldsFragmentDoc: Apollo.DocumentNode;
|
|
426
480
|
export declare const TransactionFieldsFragmentDoc: Apollo.DocumentNode;
|
|
@@ -581,4 +635,94 @@ export type AssetHandlerBootstrapQueryHookResult = ReturnType<typeof useAssetHan
|
|
|
581
635
|
export type AssetHandlerBootstrapLazyQueryHookResult = ReturnType<typeof useAssetHandlerBootstrapLazyQuery>;
|
|
582
636
|
export type AssetHandlerBootstrapSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerBootstrapSuspenseQuery>;
|
|
583
637
|
export type AssetHandlerBootstrapQueryResult = Apollo.QueryResult<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>;
|
|
638
|
+
export declare const AssetHandlerExportBudgetsDocument: Apollo.DocumentNode;
|
|
639
|
+
/**
|
|
640
|
+
* __useAssetHandlerExportBudgetsQuery__
|
|
641
|
+
*
|
|
642
|
+
* To run a query within a React component, call `useAssetHandlerExportBudgetsQuery` and pass it any options that fit your needs.
|
|
643
|
+
* When your component renders, `useAssetHandlerExportBudgetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
644
|
+
* you can use to render your UI.
|
|
645
|
+
*
|
|
646
|
+
* @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;
|
|
647
|
+
*
|
|
648
|
+
* @example
|
|
649
|
+
* const { data, loading, error } = useAssetHandlerExportBudgetsQuery({
|
|
650
|
+
* variables: {
|
|
651
|
+
* pagination: // value for 'pagination'
|
|
652
|
+
* },
|
|
653
|
+
* });
|
|
654
|
+
*/
|
|
655
|
+
export declare function useAssetHandlerExportBudgetsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables> & ({
|
|
656
|
+
variables: Types.AssetHandlerExportBudgetsQueryVariables;
|
|
657
|
+
skip?: boolean;
|
|
658
|
+
} | {
|
|
659
|
+
skip: boolean;
|
|
660
|
+
})): ApolloReactHooks.useQuery.Result<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables, "empty" | "complete" | "streaming", Types.AssetHandlerExportBudgetsQueryVariables, undefined>;
|
|
661
|
+
export declare function useAssetHandlerExportBudgetsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
662
|
+
export declare function useAssetHandlerExportBudgetsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>;
|
|
663
|
+
export declare function useAssetHandlerExportBudgetsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportBudgetsQuery | undefined, Types.AssetHandlerExportBudgetsQueryVariables>;
|
|
664
|
+
export type AssetHandlerExportBudgetsQueryHookResult = ReturnType<typeof useAssetHandlerExportBudgetsQuery>;
|
|
665
|
+
export type AssetHandlerExportBudgetsLazyQueryHookResult = ReturnType<typeof useAssetHandlerExportBudgetsLazyQuery>;
|
|
666
|
+
export type AssetHandlerExportBudgetsSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerExportBudgetsSuspenseQuery>;
|
|
667
|
+
export type AssetHandlerExportBudgetsQueryResult = Apollo.QueryResult<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>;
|
|
668
|
+
export declare const AssetHandlerExportTransactionsDocument: Apollo.DocumentNode;
|
|
669
|
+
/**
|
|
670
|
+
* __useAssetHandlerExportTransactionsQuery__
|
|
671
|
+
*
|
|
672
|
+
* To run a query within a React component, call `useAssetHandlerExportTransactionsQuery` and pass it any options that fit your needs.
|
|
673
|
+
* When your component renders, `useAssetHandlerExportTransactionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
674
|
+
* you can use to render your UI.
|
|
675
|
+
*
|
|
676
|
+
* @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;
|
|
677
|
+
*
|
|
678
|
+
* @example
|
|
679
|
+
* const { data, loading, error } = useAssetHandlerExportTransactionsQuery({
|
|
680
|
+
* variables: {
|
|
681
|
+
* pagination: // value for 'pagination'
|
|
682
|
+
* },
|
|
683
|
+
* });
|
|
684
|
+
*/
|
|
685
|
+
export declare function useAssetHandlerExportTransactionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables> & ({
|
|
686
|
+
variables: Types.AssetHandlerExportTransactionsQueryVariables;
|
|
687
|
+
skip?: boolean;
|
|
688
|
+
} | {
|
|
689
|
+
skip: boolean;
|
|
690
|
+
})): ApolloReactHooks.useQuery.Result<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables, "empty" | "complete" | "streaming", Types.AssetHandlerExportTransactionsQueryVariables, undefined>;
|
|
691
|
+
export declare function useAssetHandlerExportTransactionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
692
|
+
export declare function useAssetHandlerExportTransactionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>;
|
|
693
|
+
export declare function useAssetHandlerExportTransactionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportTransactionsQuery | undefined, Types.AssetHandlerExportTransactionsQueryVariables>;
|
|
694
|
+
export type AssetHandlerExportTransactionsQueryHookResult = ReturnType<typeof useAssetHandlerExportTransactionsQuery>;
|
|
695
|
+
export type AssetHandlerExportTransactionsLazyQueryHookResult = ReturnType<typeof useAssetHandlerExportTransactionsLazyQuery>;
|
|
696
|
+
export type AssetHandlerExportTransactionsSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerExportTransactionsSuspenseQuery>;
|
|
697
|
+
export type AssetHandlerExportTransactionsQueryResult = Apollo.QueryResult<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>;
|
|
698
|
+
export declare const AssetHandlerExportInvoicesDocument: Apollo.DocumentNode;
|
|
699
|
+
/**
|
|
700
|
+
* __useAssetHandlerExportInvoicesQuery__
|
|
701
|
+
*
|
|
702
|
+
* To run a query within a React component, call `useAssetHandlerExportInvoicesQuery` and pass it any options that fit your needs.
|
|
703
|
+
* When your component renders, `useAssetHandlerExportInvoicesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
704
|
+
* you can use to render your UI.
|
|
705
|
+
*
|
|
706
|
+
* @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;
|
|
707
|
+
*
|
|
708
|
+
* @example
|
|
709
|
+
* const { data, loading, error } = useAssetHandlerExportInvoicesQuery({
|
|
710
|
+
* variables: {
|
|
711
|
+
* pagination: // value for 'pagination'
|
|
712
|
+
* },
|
|
713
|
+
* });
|
|
714
|
+
*/
|
|
715
|
+
export declare function useAssetHandlerExportInvoicesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables> & ({
|
|
716
|
+
variables: Types.AssetHandlerExportInvoicesQueryVariables;
|
|
717
|
+
skip?: boolean;
|
|
718
|
+
} | {
|
|
719
|
+
skip: boolean;
|
|
720
|
+
})): ApolloReactHooks.useQuery.Result<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables, "empty" | "complete" | "streaming", Types.AssetHandlerExportInvoicesQueryVariables, undefined>;
|
|
721
|
+
export declare function useAssetHandlerExportInvoicesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
722
|
+
export declare function useAssetHandlerExportInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>;
|
|
723
|
+
export declare function useAssetHandlerExportInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportInvoicesQuery | undefined, Types.AssetHandlerExportInvoicesQueryVariables>;
|
|
724
|
+
export type AssetHandlerExportInvoicesQueryHookResult = ReturnType<typeof useAssetHandlerExportInvoicesQuery>;
|
|
725
|
+
export type AssetHandlerExportInvoicesLazyQueryHookResult = ReturnType<typeof useAssetHandlerExportInvoicesLazyQuery>;
|
|
726
|
+
export type AssetHandlerExportInvoicesSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerExportInvoicesSuspenseQuery>;
|
|
727
|
+
export type AssetHandlerExportInvoicesQueryResult = Apollo.QueryResult<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>;
|
|
584
728
|
export {};
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client";
|
|
2
|
+
import "@apollo/client/react";
|
|
3
|
+
// src/generated/wspace-operations.ts
|
|
4
|
+
var t = e`
|
|
5
|
+
fragment AssetFields on Asset {
|
|
6
|
+
id
|
|
7
|
+
assetNumber
|
|
8
|
+
name
|
|
9
|
+
description
|
|
10
|
+
category
|
|
11
|
+
status
|
|
12
|
+
condition
|
|
13
|
+
serialNumber
|
|
14
|
+
locationName
|
|
15
|
+
assignedTo
|
|
16
|
+
tags
|
|
17
|
+
createdAt
|
|
18
|
+
updatedAt
|
|
19
|
+
}
|
|
20
|
+
`, n = e`
|
|
21
|
+
fragment IncidentFields on Incident {
|
|
22
|
+
id
|
|
23
|
+
title
|
|
24
|
+
description
|
|
25
|
+
category
|
|
26
|
+
priority
|
|
27
|
+
status
|
|
28
|
+
assignedTo
|
|
29
|
+
reportedBy
|
|
30
|
+
reportedAt
|
|
31
|
+
resolvedAt
|
|
32
|
+
slaBreached
|
|
33
|
+
}
|
|
34
|
+
`, r = e`
|
|
35
|
+
fragment TransactionFields on AssetTransaction {
|
|
36
|
+
id
|
|
37
|
+
type
|
|
38
|
+
status
|
|
39
|
+
amount
|
|
40
|
+
currency
|
|
41
|
+
category
|
|
42
|
+
description
|
|
43
|
+
vendor
|
|
44
|
+
department
|
|
45
|
+
occurredAt
|
|
46
|
+
}
|
|
47
|
+
`, i = e`
|
|
48
|
+
fragment WorkOrderFields on WorkOrder {
|
|
49
|
+
id
|
|
50
|
+
title
|
|
51
|
+
description
|
|
52
|
+
type
|
|
53
|
+
status
|
|
54
|
+
priority
|
|
55
|
+
assetId
|
|
56
|
+
assignedTo
|
|
57
|
+
completedAt
|
|
58
|
+
cost
|
|
59
|
+
completionNotes
|
|
60
|
+
createdAt
|
|
61
|
+
updatedAt
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
e`
|
|
65
|
+
mutation CreateSandbox($input: CreateSandboxInput!) {
|
|
66
|
+
createSandbox(input: $input) {
|
|
67
|
+
id
|
|
68
|
+
name
|
|
69
|
+
status
|
|
70
|
+
network {
|
|
71
|
+
internalUrl
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
`, e`
|
|
76
|
+
mutation ProxySandboxRequest($input: ProxySandboxRequestInput!) {
|
|
77
|
+
proxySandboxRequest(input: $input) {
|
|
78
|
+
status
|
|
79
|
+
body
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`, e`
|
|
83
|
+
mutation ExtendSandboxTtl($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {
|
|
84
|
+
extendSandboxTTL(
|
|
85
|
+
id: $id
|
|
86
|
+
additionalSeconds: $additionalSeconds
|
|
87
|
+
context: $context
|
|
88
|
+
) {
|
|
89
|
+
id
|
|
90
|
+
expiresAt
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
`, e`
|
|
94
|
+
query GetSandbox($id: ID!, $context: ContextInput!) {
|
|
95
|
+
getSandbox(id: $id, context: $context) {
|
|
96
|
+
id
|
|
97
|
+
status
|
|
98
|
+
errorMessage
|
|
99
|
+
network {
|
|
100
|
+
internalUrl
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
`, e`
|
|
105
|
+
query GetActiveSandboxes($context: ContextInput!) {
|
|
106
|
+
getActiveSandboxes(context: $context) {
|
|
107
|
+
id
|
|
108
|
+
name
|
|
109
|
+
status
|
|
110
|
+
metadata
|
|
111
|
+
template
|
|
112
|
+
createdBy
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
`, e`
|
|
116
|
+
query AssetHandlerBootstrap {
|
|
117
|
+
dashboardOverview {
|
|
118
|
+
totalAssets
|
|
119
|
+
openIncidents
|
|
120
|
+
openWorkOrders
|
|
121
|
+
totalTransactions
|
|
122
|
+
}
|
|
123
|
+
assets {
|
|
124
|
+
...AssetFields
|
|
125
|
+
}
|
|
126
|
+
incidents {
|
|
127
|
+
...IncidentFields
|
|
128
|
+
}
|
|
129
|
+
workOrders {
|
|
130
|
+
...WorkOrderFields
|
|
131
|
+
}
|
|
132
|
+
maintenanceRecords {
|
|
133
|
+
id
|
|
134
|
+
assetId
|
|
135
|
+
title
|
|
136
|
+
description
|
|
137
|
+
type
|
|
138
|
+
status
|
|
139
|
+
priority
|
|
140
|
+
scheduledAt
|
|
141
|
+
completedAt
|
|
142
|
+
estimatedCost
|
|
143
|
+
actualCost
|
|
144
|
+
checklist
|
|
145
|
+
createdAt
|
|
146
|
+
updatedAt
|
|
147
|
+
}
|
|
148
|
+
transactions {
|
|
149
|
+
...TransactionFields
|
|
150
|
+
}
|
|
151
|
+
changeRequests {
|
|
152
|
+
id
|
|
153
|
+
title
|
|
154
|
+
description
|
|
155
|
+
type
|
|
156
|
+
status
|
|
157
|
+
risk
|
|
158
|
+
requestedBy
|
|
159
|
+
assignedTo
|
|
160
|
+
affectedAssets
|
|
161
|
+
scheduledStart
|
|
162
|
+
scheduledEnd
|
|
163
|
+
approvals
|
|
164
|
+
createdAt
|
|
165
|
+
updatedAt
|
|
166
|
+
}
|
|
167
|
+
problems {
|
|
168
|
+
id
|
|
169
|
+
title
|
|
170
|
+
description
|
|
171
|
+
status
|
|
172
|
+
priority
|
|
173
|
+
category
|
|
174
|
+
assignedTo
|
|
175
|
+
relatedIncidents
|
|
176
|
+
rootCause
|
|
177
|
+
workaround
|
|
178
|
+
createdAt
|
|
179
|
+
updatedAt
|
|
180
|
+
}
|
|
181
|
+
budgets {
|
|
182
|
+
id
|
|
183
|
+
name
|
|
184
|
+
category
|
|
185
|
+
allocated
|
|
186
|
+
spent
|
|
187
|
+
remaining
|
|
188
|
+
period
|
|
189
|
+
department
|
|
190
|
+
status
|
|
191
|
+
}
|
|
192
|
+
invoices {
|
|
193
|
+
id
|
|
194
|
+
number
|
|
195
|
+
vendor
|
|
196
|
+
amount
|
|
197
|
+
currency
|
|
198
|
+
issueDate
|
|
199
|
+
dueDate
|
|
200
|
+
status
|
|
201
|
+
items
|
|
202
|
+
relatedPO
|
|
203
|
+
}
|
|
204
|
+
securityEvents: getVaultSecurityEvents {
|
|
205
|
+
items {
|
|
206
|
+
id
|
|
207
|
+
eventType
|
|
208
|
+
severity
|
|
209
|
+
title: message
|
|
210
|
+
description
|
|
211
|
+
source: resourceType
|
|
212
|
+
userId
|
|
213
|
+
ipAddress
|
|
214
|
+
occurredAt: timestamp
|
|
215
|
+
resolved: reviewed
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
complianceFrameworks: securityComplianceFrameworks(
|
|
219
|
+
filter: {sourceProduct: "assethandler"}
|
|
220
|
+
) {
|
|
221
|
+
items {
|
|
222
|
+
id
|
|
223
|
+
name
|
|
224
|
+
version
|
|
225
|
+
status
|
|
226
|
+
score
|
|
227
|
+
totalControls
|
|
228
|
+
passedControls
|
|
229
|
+
failedControls
|
|
230
|
+
lastAssessment
|
|
231
|
+
nextAssessment
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
securityPolicies: securityGovernancePolicies(
|
|
235
|
+
filter: {sourceProduct: "assethandler"}
|
|
236
|
+
) {
|
|
237
|
+
items {
|
|
238
|
+
id
|
|
239
|
+
name
|
|
240
|
+
description
|
|
241
|
+
category
|
|
242
|
+
status
|
|
243
|
+
version
|
|
244
|
+
effectiveDate
|
|
245
|
+
reviewDate
|
|
246
|
+
owner
|
|
247
|
+
applicableTo
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
${t}
|
|
252
|
+
${n}
|
|
253
|
+
${i}
|
|
254
|
+
${r}`;
|
|
255
|
+
var a = e`
|
|
256
|
+
query AssetHandlerExportBudgets($pagination: AssetHandlerPaginationInput!) {
|
|
257
|
+
budgets(pagination: $pagination) {
|
|
258
|
+
id
|
|
259
|
+
workspaceId
|
|
260
|
+
name
|
|
261
|
+
department
|
|
262
|
+
category
|
|
263
|
+
period
|
|
264
|
+
allocated
|
|
265
|
+
spent
|
|
266
|
+
remaining
|
|
267
|
+
status
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
`, o = e`
|
|
271
|
+
query AssetHandlerExportTransactions($pagination: AssetHandlerPaginationInput!) {
|
|
272
|
+
transactions(pagination: $pagination) {
|
|
273
|
+
id
|
|
274
|
+
workspaceId
|
|
275
|
+
type
|
|
276
|
+
description
|
|
277
|
+
department
|
|
278
|
+
amount
|
|
279
|
+
currency
|
|
280
|
+
status
|
|
281
|
+
occurredAt
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
`, s = e`
|
|
285
|
+
query AssetHandlerExportInvoices($pagination: AssetHandlerPaginationInput!) {
|
|
286
|
+
invoices(pagination: $pagination) {
|
|
287
|
+
id
|
|
288
|
+
workspaceId
|
|
289
|
+
number
|
|
290
|
+
vendor
|
|
291
|
+
amount
|
|
292
|
+
currency
|
|
293
|
+
issueDate
|
|
294
|
+
dueDate
|
|
295
|
+
status
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
`;
|
|
299
|
+
export { t as AssetFieldsFragmentDoc, a as AssetHandlerExportBudgetsDocument, s as AssetHandlerExportInvoicesDocument, o as AssetHandlerExportTransactionsDocument, n as IncidentFieldsFragmentDoc, r as TransactionFieldsFragmentDoc, i as WorkOrderFieldsFragmentDoc };
|
|
300
|
+
|
|
301
|
+
//# sourceMappingURL=wspace-operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wspace-operations.js","names":["AssetFieldsFragmentDoc","IncidentFieldsFragmentDoc","TransactionFieldsFragmentDoc","WorkOrderFieldsFragmentDoc","AssetHandlerExportBudgetsDocument","AssetHandlerExportTransactionsDocument","AssetHandlerExportInvoicesDocument"],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type AssetBudgetStatus =\n | 'ON_TRACK'\n | 'OVER_BUDGET'\n | 'UNDER_BUDGET';\n\nexport type AssetCondition =\n | 'DAMAGED'\n | 'EXCELLENT'\n | 'FAIR'\n | 'GOOD'\n | 'POOR';\n\n/** Cursor-based pagination input for list queries. Limit is clamped server-side to a maximum of 100; cursor is the opaque `id` returned from the previous page. Replaces the implicit hardcoded `take: 200` ceiling (scale audit #1). */\nexport type AssetHandlerPaginationInput = {\n cursor?: string | null | undefined;\n limit?: number | null | undefined;\n};\n\nexport type AssetStatus =\n | 'ACTIVE'\n | 'DISPOSED'\n | 'INACTIVE'\n | 'MAINTENANCE'\n | 'RETIRED';\n\nexport type AssetTransactionStatus =\n | 'APPROVED'\n | 'COMPLETED'\n | 'PENDING'\n | 'REJECTED';\n\nexport type AssetTransactionType =\n | 'DISPOSAL'\n | 'LEASE'\n | 'MAINTENANCE'\n | 'PURCHASE'\n | 'TRANSFER';\n\nexport type ChangeRisk =\n | 'CRITICAL'\n | 'HIGH'\n | 'LOW'\n | 'MEDIUM';\n\nexport type ChangeStatus =\n | 'APPROVED'\n | 'COMPLETED'\n | 'DRAFT'\n | 'IN_PROGRESS'\n | 'REJECTED'\n | 'SUBMITTED';\n\nexport type ContainerPortInput = {\n containerPort: number;\n name?: string | null | undefined;\n protocol?: string | null | undefined;\n};\n\nexport type ContainerResourcesInput = {\n limitsCpu?: string | null | undefined;\n limitsMemory?: string | null | undefined;\n requestsCpu?: string | null | undefined;\n requestsMemory?: string | null | undefined;\n};\n\nexport type ContainerSpecInput = {\n args?: Array<string> | null | undefined;\n command?: Array<string> | null | undefined;\n env?: Array<EnvVarInput> | null | undefined;\n image: string;\n name: string;\n ports?: Array<ContainerPortInput> | null | undefined;\n resources?: ContainerResourcesInput | null | undefined;\n};\n\n/**\n * Operation context for filtering and scoping data.\n * All fields are optional and can be extended as needed.\n */\nexport type ContextInput = {\n /** App ID for app-level scoping */\n appId?: string | number | null | undefined;\n /** Additional custom context as JSON */\n custom?: Record<string, unknown> | null | undefined;\n /** Project ID for project-level scoping */\n projectId?: string | number | null | undefined;\n /** User ID for user-level scoping */\n userId?: string | number | null | undefined;\n /** Workspace ID for workspace-level scoping */\n workspaceId?: string | number | null | undefined;\n};\n\nexport type CreateSandboxInput = {\n containers: Array<ContainerSpecInput>;\n context: ContextInput;\n description?: string | null | undefined;\n kind?: SandboxKind | null | undefined;\n metadata?: Record<string, unknown> | null | undefined;\n mode?: SandboxMode | null | undefined;\n name: string;\n ownerActorId?: string | number | null | undefined;\n resources?: SandboxResourcesInput | null | undefined;\n /** Run on this customer runner (see SandboxRunner) instead of FluidGrids Cloud. Honoured by createWorkflowSandbox only. The runner must belong to the workspace and be online, or the create fails — it never falls back to cloud. */\n runnerId?: string | number | null | undefined;\n source?: SandboxSource | null | undefined;\n storage?: SandboxStorageInput | null | undefined;\n /** Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}` records. Backed by the canonical `Sandbox.tags` Json column. */\n tags?: Record<string, unknown> | null | undefined;\n template: SandboxTemplate;\n templateId?: string | number | null | undefined;\n ttlSeconds?: number | null | undefined;\n};\n\nexport type EnvVarInput = {\n name: string;\n value: string;\n};\n\nexport type IncidentStatus =\n | 'CLOSED'\n | 'IN_PROGRESS'\n | 'OPEN'\n | 'RESOLVED';\n\nexport type InvoiceStatus =\n | 'CANCELLED'\n | 'DRAFT'\n | 'OVERDUE'\n | 'PAID'\n | 'SENT';\n\nexport type Priority =\n | 'CRITICAL'\n | 'HIGH'\n | 'LOW'\n | 'MEDIUM';\n\nexport type ProblemStatus =\n | 'CLOSED'\n | 'INVESTIGATING'\n | 'KNOWN_ERROR'\n | 'OPEN'\n | 'RESOLVED';\n\nexport type ProxySandboxRequestInput = {\n /** Request body as JSON (for POST/PUT/PATCH) */\n body?: Record<string, unknown> | null | undefined;\n /** Optional container name if sandbox has multiple containers */\n containerName?: string | null | undefined;\n context: ContextInput;\n /** Read-only (\"assistant\") sandboxes authenticate with the caller's OWN tokens rather than a minted OAuth app. The FE forwards its current access + workspace tokens here so the in-sandbox agent always has a fresh, non-stale token (the gateway strips the raw Authorization/X-Workspace-Authorization before the subgraph, so they cannot be recovered from request headers). Ignored for the app-credential (\"Take action\") mode. */\n forwardedAuthToken?: string | null | undefined;\n forwardedWorkspaceToken?: string | null | undefined;\n /** HTTP method: GET, POST, PUT, PATCH, DELETE */\n method: string;\n /** Path to forward (e.g., /sessions, /sessions/:id/prompt) */\n path: string;\n sandboxId: string | number;\n};\n\nexport type SandboxKind =\n | 'INTERNAL'\n | 'USER';\n\nexport type SandboxMode =\n /** Long-running container (K8s Deployment, restartPolicy: Always) */\n | 'DEPLOYMENT'\n /** Run-to-completion task (K8s Job, restartPolicy: Never) */\n | 'JOB';\n\nexport type SandboxResourcesInput = {\n cpuLimit?: string | null | undefined;\n cpuRequest?: string | null | undefined;\n memoryLimit?: string | null | undefined;\n memoryRequest?: string | null | undefined;\n};\n\nexport type SandboxSource =\n | 'AI_ASSISTANT'\n | 'DOCS_BUILDER'\n | 'MANUAL'\n | 'SYSTEM'\n | 'WORKFLOW';\n\nexport type SandboxStatus =\n | 'EXPIRED'\n | 'FAILED'\n | 'PENDING'\n | 'PROVISIONING'\n | 'RUNNING'\n | 'STOPPED'\n | 'STOPPING';\n\nexport type SandboxStorageInput = {\n /** Optional files-svc folder id. When set (and mode != NONE) sandbox volume contents are best-effort exported into this folder on stopSandbox. Folder existence is validated against files-svc via the internal gateway. */\n filesFolderId?: string | number | null | undefined;\n mode?: StorageMode | null | undefined;\n mountPath?: string | null | undefined;\n retainOnDelete?: boolean | null | undefined;\n sizeGi?: number | null | undefined;\n};\n\nexport type SandboxTemplate =\n | 'AI_BUILDER'\n /** One coding-agent job (BOFF-9968). Created only by startSandboxAgentJob. */\n | 'CODING_AGENT'\n | 'CUSTOM'\n | 'DOCS_BUILDER'\n | 'MISC_SHELL'\n | 'VIBECONTROLS'\n | 'WORKFLOW_MULTI_NODE';\n\nexport type SecurityComplianceStatus =\n | 'COMPLIANT'\n | 'NON_COMPLIANT'\n | 'PARTIAL'\n | 'UNDER_REVIEW';\n\nexport type SecurityGovernancePolicyStatus =\n | 'ACTIVE'\n | 'ARCHIVED'\n | 'DEPRECATED'\n | 'DRAFT'\n | 'UNDER_REVIEW';\n\nexport type StorageMode =\n | 'EPHEMERAL'\n | 'NONE'\n | 'PERSISTENT';\n\nexport type VaultSecurityEventSeverity =\n | 'CRITICAL'\n | 'HIGH'\n | 'INFO'\n | 'LOW'\n | 'MEDIUM';\n\nexport type VaultSecurityEventType =\n | 'ANOMALOUS_BEHAVIOR_DETECTED'\n | 'API_KEY_CREATED'\n | 'API_KEY_REVOKED'\n | 'BRUTE_FORCE_DETECTED'\n | 'COMPROMISED_CREDENTIAL_DETECTED'\n | 'CREDENTIAL_STUFFING_DETECTED'\n | 'DATA_EXFILTRATION_DETECTED'\n | 'IMPOSSIBLE_TRAVEL_DETECTED'\n | 'LOGIN_FAILED'\n | 'LOGIN_SUCCESS'\n | 'LOGOUT'\n | 'MFA_CHALLENGE_FAILED'\n | 'MFA_DISABLED'\n | 'MFA_ENABLED'\n | 'PASSWORD_CHANGED'\n | 'PASSWORD_RESET_COMPLETED'\n | 'PASSWORD_RESET_REQUESTED'\n | 'PERMISSION_GRANTED'\n | 'PERMISSION_REVOKED'\n | 'PRIVILEGE_ESCALATION_DETECTED'\n | 'RATE_LIMIT_EXCEEDED'\n | 'ROLE_ASSIGNED'\n | 'ROLE_REVOKED'\n | 'SECRET_ACCESSED'\n | 'SECRET_CREATED'\n | 'SECRET_DELETED'\n | 'SECRET_LEAKED_DETECTED'\n | 'SECRET_ROTATED'\n | 'SECRET_UPDATED'\n | 'SESSION_CREATED'\n | 'SESSION_EXPIRED'\n | 'SESSION_TERMINATED'\n | 'SUSPICIOUS_IP_DETECTED'\n | 'UNAUTHORIZED_ACCESS_ATTEMPT'\n | 'VAULT_ACCESSED'\n | 'VAULT_CREATED'\n | 'VAULT_DELETED';\n\nexport type WorkOrderStatus =\n | 'APPROVED'\n | 'CANCELLED'\n | 'COMPLETED'\n | 'DRAFT'\n | 'IN_PROGRESS'\n | 'SCHEDULED';\n\nexport type WorkOrderType =\n | 'CORRECTIVE'\n | 'EMERGENCY'\n | 'PREDICTIVE'\n | 'PREVENTIVE';\n\nexport type AssetFieldsFragment = { id: string, assetNumber: string, name: string, description: string | null, category: string, status: Types.AssetStatus, condition: Types.AssetCondition, serialNumber: string | null, locationName: string | null, assignedTo: string | null, tags: Array<string>, createdAt: string, updatedAt: string };\n\nexport type IncidentFieldsFragment = { id: string, title: string, description: string, category: string, priority: Types.Priority, status: Types.IncidentStatus, assignedTo: string | null, reportedBy: string, reportedAt: string, resolvedAt: string | null, slaBreached: boolean };\n\nexport type TransactionFieldsFragment = { id: string, type: Types.AssetTransactionType, status: Types.AssetTransactionStatus, amount: number, currency: string, category: string, description: string, vendor: string | null, department: string | null, occurredAt: string };\n\nexport type WorkOrderFieldsFragment = { id: string, title: string, description: string | null, type: Types.WorkOrderType, status: Types.WorkOrderStatus, priority: Types.Priority, assetId: string | null, assignedTo: string | null, completedAt: string | null, cost: number | null, completionNotes: string | null, createdAt: string, updatedAt: string };\n\nexport type CreateSandboxMutationVariables = Exact<{\n input: Types.CreateSandboxInput;\n}>;\n\n\nexport type CreateSandboxMutation = { createSandbox: { id: string, name: string, status: Types.SandboxStatus, network: { internalUrl: string | null } } };\n\nexport type ProxySandboxRequestMutationVariables = Exact<{\n input: Types.ProxySandboxRequestInput;\n}>;\n\n\nexport type ProxySandboxRequestMutation = { proxySandboxRequest: { status: number, body: Record<string, unknown> | null } };\n\nexport type ExtendSandboxTtlMutationVariables = Exact<{\n id: string | number;\n additionalSeconds: number;\n context: Types.ContextInput;\n}>;\n\n\nexport type ExtendSandboxTtlMutation = { extendSandboxTTL: { id: string, expiresAt: string } };\n\nexport type GetSandboxQueryVariables = Exact<{\n id: string | number;\n context: Types.ContextInput;\n}>;\n\n\nexport type GetSandboxQuery = { getSandbox: { id: string, status: Types.SandboxStatus, errorMessage: string | null, network: { internalUrl: string | null } } | null };\n\nexport type GetActiveSandboxesQueryVariables = Exact<{\n context: Types.ContextInput;\n}>;\n\n\nexport type GetActiveSandboxesQuery = { getActiveSandboxes: Array<{ id: string, name: string, status: Types.SandboxStatus, metadata: Record<string, unknown> | null, template: Types.SandboxTemplate, createdBy: string }> };\n\nexport type AssetHandlerBootstrapQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type AssetHandlerBootstrapQuery = { dashboardOverview: { totalAssets: number, openIncidents: number, openWorkOrders: number, totalTransactions: number }, assets: Array<{ id: string, assetNumber: string, name: string, description: string | null, category: string, status: Types.AssetStatus, condition: Types.AssetCondition, serialNumber: string | null, locationName: string | null, assignedTo: string | null, tags: Array<string>, createdAt: string, updatedAt: string }>, incidents: Array<{ id: string, title: string, description: string, category: string, priority: Types.Priority, status: Types.IncidentStatus, assignedTo: string | null, reportedBy: string, reportedAt: string, resolvedAt: string | null, slaBreached: boolean }>, workOrders: Array<{ id: string, title: string, description: string | null, type: Types.WorkOrderType, status: Types.WorkOrderStatus, priority: Types.Priority, assetId: string | null, assignedTo: string | null, completedAt: string | null, cost: number | null, completionNotes: string | null, createdAt: string, updatedAt: string }>, maintenanceRecords: Array<{ id: string, assetId: string, title: string, description: string | null, type: string, status: string, priority: Types.Priority, scheduledAt: string | null, completedAt: string | null, estimatedCost: number | null, actualCost: number | null, checklist: Array<Record<string, unknown>>, createdAt: string, updatedAt: string }>, transactions: Array<{ id: string, type: Types.AssetTransactionType, status: Types.AssetTransactionStatus, amount: number, currency: string, category: string, description: string, vendor: string | null, department: string | null, occurredAt: string }>, changeRequests: Array<{ id: string, title: string, description: string, type: string, status: Types.ChangeStatus, risk: Types.ChangeRisk, requestedBy: string, assignedTo: string | null, affectedAssets: Array<string>, scheduledStart: string | null, scheduledEnd: string | null, approvals: Array<Record<string, unknown>>, createdAt: string, updatedAt: string }>, problems: Array<{ id: string, title: string, description: string, status: Types.ProblemStatus, priority: Types.Priority, category: string, assignedTo: string | null, relatedIncidents: Array<string>, rootCause: string | null, workaround: string | null, createdAt: string, updatedAt: string }>, budgets: Array<{ id: string, name: string, category: string, allocated: number, spent: number, remaining: number, period: string, department: string, status: Types.AssetBudgetStatus }>, invoices: Array<{ id: string, number: string, vendor: string, amount: number, currency: string, issueDate: string, dueDate: string, status: Types.InvoiceStatus, items: Array<Record<string, unknown>>, relatedPO: string | null }>, securityEvents: { items: Array<{ id: string, eventType: Types.VaultSecurityEventType, severity: Types.VaultSecurityEventSeverity, description: string | null, userId: string | null, ipAddress: string | null, title: string, source: string | null, occurredAt: string, resolved: boolean }> }, complianceFrameworks: { items: Array<{ id: string, name: string, version: string, status: Types.SecurityComplianceStatus, score: number, totalControls: number, passedControls: number, failedControls: number, lastAssessment: string, nextAssessment: string }> }, securityPolicies: { items: Array<{ id: string, name: string, description: string | null, category: string, status: Types.SecurityGovernancePolicyStatus, version: string, effectiveDate: string, reviewDate: string, owner: string, applicableTo: Array<string> }> } };\n\nexport type AssetHandlerExportBudgetsQueryVariables = Exact<{\n pagination: Types.AssetHandlerPaginationInput;\n}>;\n\n\nexport type AssetHandlerExportBudgetsQuery = { budgets: Array<{ id: string, workspaceId: string, name: string, department: string, category: string, period: string, allocated: number, spent: number, remaining: number, status: Types.AssetBudgetStatus }> };\n\nexport type AssetHandlerExportTransactionsQueryVariables = Exact<{\n pagination: Types.AssetHandlerPaginationInput;\n}>;\n\n\nexport type AssetHandlerExportTransactionsQuery = { transactions: Array<{ id: string, workspaceId: string, type: Types.AssetTransactionType, description: string, department: string | null, amount: number, currency: string, status: Types.AssetTransactionStatus, occurredAt: string }> };\n\nexport type AssetHandlerExportInvoicesQueryVariables = Exact<{\n pagination: Types.AssetHandlerPaginationInput;\n}>;\n\n\nexport type AssetHandlerExportInvoicesQuery = { invoices: Array<{ id: string, workspaceId: string, number: string, vendor: string, amount: number, currency: string, issueDate: string, dueDate: string, status: Types.InvoiceStatus }> };\n\nexport const AssetFieldsFragmentDoc = gql`\n fragment AssetFields on Asset {\n id\n assetNumber\n name\n description\n category\n status\n condition\n serialNumber\n locationName\n assignedTo\n tags\n createdAt\n updatedAt\n}\n `;\nexport const IncidentFieldsFragmentDoc = gql`\n fragment IncidentFields on Incident {\n id\n title\n description\n category\n priority\n status\n assignedTo\n reportedBy\n reportedAt\n resolvedAt\n slaBreached\n}\n `;\nexport const TransactionFieldsFragmentDoc = gql`\n fragment TransactionFields on AssetTransaction {\n id\n type\n status\n amount\n currency\n category\n description\n vendor\n department\n occurredAt\n}\n `;\nexport const WorkOrderFieldsFragmentDoc = gql`\n fragment WorkOrderFields on WorkOrder {\n id\n title\n description\n type\n status\n priority\n assetId\n assignedTo\n completedAt\n cost\n completionNotes\n createdAt\n updatedAt\n}\n `;\nexport const CreateSandboxDocument = gql`\n mutation CreateSandbox($input: CreateSandboxInput!) {\n createSandbox(input: $input) {\n id\n name\n status\n network {\n internalUrl\n }\n }\n}\n `;\nexport type CreateSandboxMutationFn = Apollo.MutationFunction<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>;\n\n/**\n * __useCreateSandboxMutation__\n *\n * To run a mutation, you first call `useCreateSandboxMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateSandboxMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @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;\n *\n * @example\n * const [createSandboxMutation, { data, loading, error }] = useCreateSandboxMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateSandboxMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>(CreateSandboxDocument, options);\n }\nexport type CreateSandboxMutationHookResult = ReturnType<typeof useCreateSandboxMutation>;\nexport type CreateSandboxMutationResult = Apollo.MutationResult<Types.CreateSandboxMutation>;\nexport type CreateSandboxMutationOptions = Apollo.BaseMutationOptions<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>;\nexport const ProxySandboxRequestDocument = gql`\n mutation ProxySandboxRequest($input: ProxySandboxRequestInput!) {\n proxySandboxRequest(input: $input) {\n status\n body\n }\n}\n `;\nexport type ProxySandboxRequestMutationFn = Apollo.MutationFunction<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>;\n\n/**\n * __useProxySandboxRequestMutation__\n *\n * To run a mutation, you first call `useProxySandboxRequestMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useProxySandboxRequestMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @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;\n *\n * @example\n * const [proxySandboxRequestMutation, { data, loading, error }] = useProxySandboxRequestMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useProxySandboxRequestMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>(ProxySandboxRequestDocument, options);\n }\nexport type ProxySandboxRequestMutationHookResult = ReturnType<typeof useProxySandboxRequestMutation>;\nexport type ProxySandboxRequestMutationResult = Apollo.MutationResult<Types.ProxySandboxRequestMutation>;\nexport type ProxySandboxRequestMutationOptions = Apollo.BaseMutationOptions<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>;\nexport const ExtendSandboxTtlDocument = gql`\n mutation ExtendSandboxTtl($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {\n extendSandboxTTL(\n id: $id\n additionalSeconds: $additionalSeconds\n context: $context\n ) {\n id\n expiresAt\n }\n}\n `;\nexport type ExtendSandboxTtlMutationFn = Apollo.MutationFunction<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>;\n\n/**\n * __useExtendSandboxTtlMutation__\n *\n * To run a mutation, you first call `useExtendSandboxTtlMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExtendSandboxTtlMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @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;\n *\n * @example\n * const [extendSandboxTtlMutation, { data, loading, error }] = useExtendSandboxTtlMutation({\n * variables: {\n * id: // value for 'id'\n * additionalSeconds: // value for 'additionalSeconds'\n * context: // value for 'context'\n * },\n * });\n */\nexport function useExtendSandboxTtlMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>(ExtendSandboxTtlDocument, options);\n }\nexport type ExtendSandboxTtlMutationHookResult = ReturnType<typeof useExtendSandboxTtlMutation>;\nexport type ExtendSandboxTtlMutationResult = Apollo.MutationResult<Types.ExtendSandboxTtlMutation>;\nexport type ExtendSandboxTtlMutationOptions = Apollo.BaseMutationOptions<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>;\nexport const GetSandboxDocument = gql`\n query GetSandbox($id: ID!, $context: ContextInput!) {\n getSandbox(id: $id, context: $context) {\n id\n status\n errorMessage\n network {\n internalUrl\n }\n }\n}\n `;\n\n/**\n * __useGetSandboxQuery__\n *\n * To run a query within a React component, call `useGetSandboxQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSandboxQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @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;\n *\n * @example\n * const { data, loading, error } = useGetSandboxQuery({\n * variables: {\n * id: // value for 'id'\n * context: // value for 'context'\n * },\n * });\n */\nexport function useGetSandboxQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables> & ({ variables: Types.GetSandboxQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>(GetSandboxDocument, options);\n }\nexport function useGetSandboxLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>(GetSandboxDocument, options);\n }\n// @ts-ignore\nexport function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>;\nexport function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSandboxQuery | undefined, Types.GetSandboxQueryVariables>;\nexport function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>(GetSandboxDocument, options);\n }\nexport type GetSandboxQueryHookResult = ReturnType<typeof useGetSandboxQuery>;\nexport type GetSandboxLazyQueryHookResult = ReturnType<typeof useGetSandboxLazyQuery>;\nexport type GetSandboxSuspenseQueryHookResult = ReturnType<typeof useGetSandboxSuspenseQuery>;\nexport type GetSandboxQueryResult = Apollo.QueryResult<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>;\nexport const GetActiveSandboxesDocument = gql`\n query GetActiveSandboxes($context: ContextInput!) {\n getActiveSandboxes(context: $context) {\n id\n name\n status\n metadata\n template\n createdBy\n }\n}\n `;\n\n/**\n * __useGetActiveSandboxesQuery__\n *\n * To run a query within a React component, call `useGetActiveSandboxesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetActiveSandboxesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @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;\n *\n * @example\n * const { data, loading, error } = useGetActiveSandboxesQuery({\n * variables: {\n * context: // value for 'context'\n * },\n * });\n */\nexport function useGetActiveSandboxesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables> & ({ variables: Types.GetActiveSandboxesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>(GetActiveSandboxesDocument, options);\n }\nexport function useGetActiveSandboxesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>(GetActiveSandboxesDocument, options);\n }\n// @ts-ignore\nexport function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>;\nexport function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveSandboxesQuery | undefined, Types.GetActiveSandboxesQueryVariables>;\nexport function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>(GetActiveSandboxesDocument, options);\n }\nexport type GetActiveSandboxesQueryHookResult = ReturnType<typeof useGetActiveSandboxesQuery>;\nexport type GetActiveSandboxesLazyQueryHookResult = ReturnType<typeof useGetActiveSandboxesLazyQuery>;\nexport type GetActiveSandboxesSuspenseQueryHookResult = ReturnType<typeof useGetActiveSandboxesSuspenseQuery>;\nexport type GetActiveSandboxesQueryResult = Apollo.QueryResult<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>;\nexport const AssetHandlerBootstrapDocument = gql`\n query AssetHandlerBootstrap {\n dashboardOverview {\n totalAssets\n openIncidents\n openWorkOrders\n totalTransactions\n }\n assets {\n ...AssetFields\n }\n incidents {\n ...IncidentFields\n }\n workOrders {\n ...WorkOrderFields\n }\n maintenanceRecords {\n id\n assetId\n title\n description\n type\n status\n priority\n scheduledAt\n completedAt\n estimatedCost\n actualCost\n checklist\n createdAt\n updatedAt\n }\n transactions {\n ...TransactionFields\n }\n changeRequests {\n id\n title\n description\n type\n status\n risk\n requestedBy\n assignedTo\n affectedAssets\n scheduledStart\n scheduledEnd\n approvals\n createdAt\n updatedAt\n }\n problems {\n id\n title\n description\n status\n priority\n category\n assignedTo\n relatedIncidents\n rootCause\n workaround\n createdAt\n updatedAt\n }\n budgets {\n id\n name\n category\n allocated\n spent\n remaining\n period\n department\n status\n }\n invoices {\n id\n number\n vendor\n amount\n currency\n issueDate\n dueDate\n status\n items\n relatedPO\n }\n securityEvents: getVaultSecurityEvents {\n items {\n id\n eventType\n severity\n title: message\n description\n source: resourceType\n userId\n ipAddress\n occurredAt: timestamp\n resolved: reviewed\n }\n }\n complianceFrameworks: securityComplianceFrameworks(\n filter: {sourceProduct: \"assethandler\"}\n ) {\n items {\n id\n name\n version\n status\n score\n totalControls\n passedControls\n failedControls\n lastAssessment\n nextAssessment\n }\n }\n securityPolicies: securityGovernancePolicies(\n filter: {sourceProduct: \"assethandler\"}\n ) {\n items {\n id\n name\n description\n category\n status\n version\n effectiveDate\n reviewDate\n owner\n applicableTo\n }\n }\n}\n ${AssetFieldsFragmentDoc}\n${IncidentFieldsFragmentDoc}\n${WorkOrderFieldsFragmentDoc}\n${TransactionFieldsFragmentDoc}`;\n\n/**\n * __useAssetHandlerBootstrapQuery__\n *\n * To run a query within a React component, call `useAssetHandlerBootstrapQuery` and pass it any options that fit your needs.\n * When your component renders, `useAssetHandlerBootstrapQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @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;\n *\n * @example\n * const { data, loading, error } = useAssetHandlerBootstrapQuery({\n * variables: {\n * },\n * });\n */\nexport function useAssetHandlerBootstrapQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>(AssetHandlerBootstrapDocument, options);\n }\nexport function useAssetHandlerBootstrapLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>(AssetHandlerBootstrapDocument, options);\n }\n// @ts-ignore\nexport function useAssetHandlerBootstrapSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>;\nexport function useAssetHandlerBootstrapSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerBootstrapQuery | undefined, Types.AssetHandlerBootstrapQueryVariables>;\nexport function useAssetHandlerBootstrapSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>(AssetHandlerBootstrapDocument, options);\n }\nexport type AssetHandlerBootstrapQueryHookResult = ReturnType<typeof useAssetHandlerBootstrapQuery>;\nexport type AssetHandlerBootstrapLazyQueryHookResult = ReturnType<typeof useAssetHandlerBootstrapLazyQuery>;\nexport type AssetHandlerBootstrapSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerBootstrapSuspenseQuery>;\nexport type AssetHandlerBootstrapQueryResult = Apollo.QueryResult<Types.AssetHandlerBootstrapQuery, Types.AssetHandlerBootstrapQueryVariables>;\nexport const AssetHandlerExportBudgetsDocument = gql`\n query AssetHandlerExportBudgets($pagination: AssetHandlerPaginationInput!) {\n budgets(pagination: $pagination) {\n id\n workspaceId\n name\n department\n category\n period\n allocated\n spent\n remaining\n status\n }\n}\n `;\n\n/**\n * __useAssetHandlerExportBudgetsQuery__\n *\n * To run a query within a React component, call `useAssetHandlerExportBudgetsQuery` and pass it any options that fit your needs.\n * When your component renders, `useAssetHandlerExportBudgetsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @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;\n *\n * @example\n * const { data, loading, error } = useAssetHandlerExportBudgetsQuery({\n * variables: {\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useAssetHandlerExportBudgetsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables> & ({ variables: Types.AssetHandlerExportBudgetsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>(AssetHandlerExportBudgetsDocument, options);\n }\nexport function useAssetHandlerExportBudgetsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>(AssetHandlerExportBudgetsDocument, options);\n }\n// @ts-ignore\nexport function useAssetHandlerExportBudgetsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>;\nexport function useAssetHandlerExportBudgetsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportBudgetsQuery | undefined, Types.AssetHandlerExportBudgetsQueryVariables>;\nexport function useAssetHandlerExportBudgetsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>(AssetHandlerExportBudgetsDocument, options);\n }\nexport type AssetHandlerExportBudgetsQueryHookResult = ReturnType<typeof useAssetHandlerExportBudgetsQuery>;\nexport type AssetHandlerExportBudgetsLazyQueryHookResult = ReturnType<typeof useAssetHandlerExportBudgetsLazyQuery>;\nexport type AssetHandlerExportBudgetsSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerExportBudgetsSuspenseQuery>;\nexport type AssetHandlerExportBudgetsQueryResult = Apollo.QueryResult<Types.AssetHandlerExportBudgetsQuery, Types.AssetHandlerExportBudgetsQueryVariables>;\nexport const AssetHandlerExportTransactionsDocument = gql`\n query AssetHandlerExportTransactions($pagination: AssetHandlerPaginationInput!) {\n transactions(pagination: $pagination) {\n id\n workspaceId\n type\n description\n department\n amount\n currency\n status\n occurredAt\n }\n}\n `;\n\n/**\n * __useAssetHandlerExportTransactionsQuery__\n *\n * To run a query within a React component, call `useAssetHandlerExportTransactionsQuery` and pass it any options that fit your needs.\n * When your component renders, `useAssetHandlerExportTransactionsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @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;\n *\n * @example\n * const { data, loading, error } = useAssetHandlerExportTransactionsQuery({\n * variables: {\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useAssetHandlerExportTransactionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables> & ({ variables: Types.AssetHandlerExportTransactionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>(AssetHandlerExportTransactionsDocument, options);\n }\nexport function useAssetHandlerExportTransactionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>(AssetHandlerExportTransactionsDocument, options);\n }\n// @ts-ignore\nexport function useAssetHandlerExportTransactionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>;\nexport function useAssetHandlerExportTransactionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportTransactionsQuery | undefined, Types.AssetHandlerExportTransactionsQueryVariables>;\nexport function useAssetHandlerExportTransactionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>(AssetHandlerExportTransactionsDocument, options);\n }\nexport type AssetHandlerExportTransactionsQueryHookResult = ReturnType<typeof useAssetHandlerExportTransactionsQuery>;\nexport type AssetHandlerExportTransactionsLazyQueryHookResult = ReturnType<typeof useAssetHandlerExportTransactionsLazyQuery>;\nexport type AssetHandlerExportTransactionsSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerExportTransactionsSuspenseQuery>;\nexport type AssetHandlerExportTransactionsQueryResult = Apollo.QueryResult<Types.AssetHandlerExportTransactionsQuery, Types.AssetHandlerExportTransactionsQueryVariables>;\nexport const AssetHandlerExportInvoicesDocument = gql`\n query AssetHandlerExportInvoices($pagination: AssetHandlerPaginationInput!) {\n invoices(pagination: $pagination) {\n id\n workspaceId\n number\n vendor\n amount\n currency\n issueDate\n dueDate\n status\n }\n}\n `;\n\n/**\n * __useAssetHandlerExportInvoicesQuery__\n *\n * To run a query within a React component, call `useAssetHandlerExportInvoicesQuery` and pass it any options that fit your needs.\n * When your component renders, `useAssetHandlerExportInvoicesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @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;\n *\n * @example\n * const { data, loading, error } = useAssetHandlerExportInvoicesQuery({\n * variables: {\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useAssetHandlerExportInvoicesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables> & ({ variables: Types.AssetHandlerExportInvoicesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>(AssetHandlerExportInvoicesDocument, options);\n }\nexport function useAssetHandlerExportInvoicesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>(AssetHandlerExportInvoicesDocument, options);\n }\n// @ts-ignore\nexport function useAssetHandlerExportInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>;\nexport function useAssetHandlerExportInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.AssetHandlerExportInvoicesQuery | undefined, Types.AssetHandlerExportInvoicesQueryVariables>;\nexport function useAssetHandlerExportInvoicesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>(AssetHandlerExportInvoicesDocument, options);\n }\nexport type AssetHandlerExportInvoicesQueryHookResult = ReturnType<typeof useAssetHandlerExportInvoicesQuery>;\nexport type AssetHandlerExportInvoicesLazyQueryHookResult = ReturnType<typeof useAssetHandlerExportInvoicesLazyQuery>;\nexport type AssetHandlerExportInvoicesSuspenseQueryHookResult = ReturnType<typeof useAssetHandlerExportInvoicesSuspenseQuery>;\nexport type AssetHandlerExportInvoicesQueryResult = Apollo.QueryResult<Types.AssetHandlerExportInvoicesQuery, Types.AssetHandlerExportInvoicesQueryVariables>;"],"mappings":";;;AAqXA,IAAaA,IAAyB,CAAG;;;;;;;;;;;;;;;;OAiB5BC,IAA4B,CAAG;;;;;;;;;;;;;;OAe/BC,IAA+B,CAAG;;;;;;;;;;;;;OAclCC,IAA6B,CAAG;;;;;;;;;;;;;;;;;AAiBR,CAAG;;;;;;;;;;;OAsCG,CAAG;;;;;;;OAkCN,CAAG;;;;;;;;;;;OAwCT,CAAG;;;;;;;;;;;OAiDK,CAAG;;;;;;;;;;;OAgDA,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwI1CH,EAAuB;EAC3BC,EAA0B;EAC1BE,EAA2B;EAC3BD;AAoCF,IAAaE,IAAoC,CAAG;;;;;;;;;;;;;;;OAoDvCC,IAAyC,CAAG;;;;;;;;;;;;;;OAmD5CC,IAAqC,CAAG"}
|