@burdenoff/microfe-theglobalfuel 2026.1026.1 → 2026.1031.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 (59) hide show
  1. package/dist/generated/wspace-types.d.ts +58 -0
  2. package/dist/generated/wspace-types.d.ts.map +1 -1
  3. package/dist/theglobalfuel/components/DataTable.d.ts.map +1 -1
  4. package/dist/theglobalfuel/components/DataTable.js +1 -1
  5. package/dist/theglobalfuel/components/DataTable.js.map +1 -1
  6. package/dist/theglobalfuel/components/FilterTabs.js +1 -1
  7. package/dist/theglobalfuel/components/FilterTabs.js.map +1 -1
  8. package/dist/theglobalfuel/components/QuotaUsage.d.ts +12 -0
  9. package/dist/theglobalfuel/components/QuotaUsage.d.ts.map +1 -0
  10. package/dist/theglobalfuel/components/QuotaUsage.js +28 -0
  11. package/dist/theglobalfuel/components/QuotaUsage.js.map +1 -0
  12. package/dist/theglobalfuel/hooks/index.js +1 -1
  13. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.d.ts +3 -0
  14. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.d.ts.map +1 -1
  15. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.js +323 -301
  16. package/dist/theglobalfuel/hooks/useTheGlobalFuelApi.js.map +1 -1
  17. package/dist/theglobalfuel/pages/alerts/AlertsPage.js +32 -32
  18. package/dist/theglobalfuel/pages/alerts/AlertsPage.js.map +1 -1
  19. package/dist/theglobalfuel/pages/analytics/AnalyticsPage.js +211 -211
  20. package/dist/theglobalfuel/pages/analytics/AnalyticsPage.js.map +1 -1
  21. package/dist/theglobalfuel/pages/assets/AssetDetailPage.js +329 -329
  22. package/dist/theglobalfuel/pages/assets/AssetDetailPage.js.map +1 -1
  23. package/dist/theglobalfuel/pages/assets/AssetsPage.js +30 -30
  24. package/dist/theglobalfuel/pages/assets/AssetsPage.js.map +1 -1
  25. package/dist/theglobalfuel/pages/compliance/CompliancePage.js +40 -40
  26. package/dist/theglobalfuel/pages/compliance/CompliancePage.js.map +1 -1
  27. package/dist/theglobalfuel/pages/contracts/ContractDetailPage.js +423 -423
  28. package/dist/theglobalfuel/pages/contracts/ContractDetailPage.js.map +1 -1
  29. package/dist/theglobalfuel/pages/contracts/ContractsPage.d.ts.map +1 -1
  30. package/dist/theglobalfuel/pages/contracts/ContractsPage.js +123 -120
  31. package/dist/theglobalfuel/pages/contracts/ContractsPage.js.map +1 -1
  32. package/dist/theglobalfuel/pages/dashboard/DashboardPage.d.ts.map +1 -1
  33. package/dist/theglobalfuel/pages/dashboard/DashboardPage.js +314 -271
  34. package/dist/theglobalfuel/pages/dashboard/DashboardPage.js.map +1 -1
  35. package/dist/theglobalfuel/pages/emissions/EmissionsPage.js +147 -147
  36. package/dist/theglobalfuel/pages/emissions/EmissionsPage.js.map +1 -1
  37. package/dist/theglobalfuel/pages/esg-disclosures/EsgDisclosuresPage.js +109 -109
  38. package/dist/theglobalfuel/pages/esg-disclosures/EsgDisclosuresPage.js.map +1 -1
  39. package/dist/theglobalfuel/pages/inventory/InventoryPage.js +147 -147
  40. package/dist/theglobalfuel/pages/inventory/InventoryPage.js.map +1 -1
  41. package/dist/theglobalfuel/pages/production/ProductionPage.js +98 -98
  42. package/dist/theglobalfuel/pages/production/ProductionPage.js.map +1 -1
  43. package/dist/theglobalfuel/pages/provenance/ProvenancePage.js +23 -23
  44. package/dist/theglobalfuel/pages/provenance/ProvenancePage.js.map +1 -1
  45. package/dist/theglobalfuel/pages/reports/ReportsPage.js +45 -45
  46. package/dist/theglobalfuel/pages/reserves/ReservesPage.js +35 -35
  47. package/dist/theglobalfuel/pages/reserves/ReservesPage.js.map +1 -1
  48. package/dist/theglobalfuel/pages/safety/IncidentsPage.js +178 -178
  49. package/dist/theglobalfuel/pages/safety/IncidentsPage.js.map +1 -1
  50. package/dist/theglobalfuel/pages/safety/SafetyDashboardPage.js +16 -16
  51. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.d.ts.map +1 -1
  52. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.js +35 -27
  53. package/dist/theglobalfuel/pages/shipments/ShipmentsPage.js.map +1 -1
  54. package/dist/theglobalfuel/utils/index.js +1 -1
  55. package/dist/theglobalfuel/utils/quotaUsage.d.ts +27 -0
  56. package/dist/theglobalfuel/utils/quotaUsage.d.ts.map +1 -0
  57. package/dist/theglobalfuel/utils/quotaUsage.js +24 -0
  58. package/dist/theglobalfuel/utils/quotaUsage.js.map +1 -0
  59. package/package.json +3 -2
@@ -28729,6 +28729,7 @@ export type Query = {
28729
28729
  /** Get all members of a workspace with pagination. Workspace ID is provided as an argument. Falls back to gateway context (x-workspace-id header) if the argument value matches the header or for backward compatibility. */
28730
28730
  workspaceMembers: WorkspaceMemberList;
28731
28731
  workspaceNodeInstallations: Array<WorkspaceNodeInstallation>;
28732
+ workspaceQuotaOverview: Array<WorkspaceQuotaOverview>;
28732
28733
  /** Get a single workspace resource by ID */
28733
28734
  workspaceResource?: Maybe<WorkspaceResource>;
28734
28735
  /** Get resource limits for the current workspace. Workspace ID is read from gateway context (x-workspace-id header). */
@@ -32787,6 +32788,11 @@ export type QueryWorkspaceMembersArgs = {
32787
32788
  workspaceId: Scalars['ID']['input'];
32788
32789
  };
32789
32790
  /** Base Query type with placeholder field. Extended by individual query files. */
32791
+ export type QueryWorkspaceQuotaOverviewArgs = {
32792
+ productId?: InputMaybe<Scalars['ID']['input']>;
32793
+ workspaceId: Scalars['ID']['input'];
32794
+ };
32795
+ /** Base Query type with placeholder field. Extended by individual query files. */
32790
32796
  export type QueryWorkspaceResourceArgs = {
32791
32797
  id: Scalars['ID']['input'];
32792
32798
  };
@@ -42749,6 +42755,58 @@ export type WorkspaceOperationContext = {
42749
42755
  /** Workspace identifier */
42750
42756
  workspaceId?: Maybe<Scalars['ID']['output']>;
42751
42757
  };
42758
+ export type WorkspaceQuotaAssignment = {
42759
+ __typename?: 'WorkspaceQuotaAssignment';
42760
+ /** Reference to the billing account that funded this assignment. */
42761
+ billingAccountId?: Maybe<Scalars['ID']['output']>;
42762
+ createdAt: Scalars['DateTime']['output'];
42763
+ id: Scalars['ID']['output'];
42764
+ /** False when the assignment is soft-deleted or superseded. */
42765
+ isActive: Scalars['Boolean']['output'];
42766
+ /** When the used counter was last zeroed by the reset job. */
42767
+ lastResetAt?: Maybe<Scalars['DateTime']['output']>;
42768
+ /** The maximum allowed value. Null when noLimit is true. */
42769
+ limit?: Maybe<Scalars['Float']['output']>;
42770
+ /** True when this quota is unlimited. */
42771
+ noLimit: Scalars['Boolean']['output'];
42772
+ productId: Scalars['String']['output'];
42773
+ quotaMode: WorkspaceQuotaMode;
42774
+ quotaName: Scalars['String']['output'];
42775
+ /** Reset cadence: NEVER | DAILY | MONTHLY. */
42776
+ resetPeriod: Scalars['String']['output'];
42777
+ /** Reference to the billing subscription that includes this quota. */
42778
+ subscriptionId?: Maybe<Scalars['ID']['output']>;
42779
+ updatedAt: Scalars['DateTime']['output'];
42780
+ /** Accumulated usage since the last reset. */
42781
+ used: Scalars['Float']['output'];
42782
+ workspaceId: Scalars['ID']['output'];
42783
+ };
42784
+ export declare enum WorkspaceQuotaMode {
42785
+ Dedicated = "dedicated",
42786
+ Pooled = "pooled"
42787
+ }
42788
+ export type WorkspaceQuotaOverview = {
42789
+ __typename?: 'WorkspaceQuotaOverview';
42790
+ assignment: WorkspaceQuotaAssignment;
42791
+ /** Effective usage: liveStatus.currentValue if available, otherwise assignment.used. */
42792
+ effectiveUsed: Scalars['Float']['output'];
42793
+ /** Latest scraped value from service metrics (null if the scraper has not run yet). */
42794
+ liveStatus?: Maybe<WorkspaceQuotaStatus>;
42795
+ /** Remaining quota: limit - effectiveUsed. Null when noLimit is true. */
42796
+ remaining?: Maybe<Scalars['Float']['output']>;
42797
+ /** Usage as a percentage of the limit (0-100). 0 when noLimit is true. */
42798
+ usagePercentage: Scalars['Float']['output'];
42799
+ };
42800
+ export type WorkspaceQuotaStatus = {
42801
+ __typename?: 'WorkspaceQuotaStatus';
42802
+ currentValue: Scalars['Float']['output'];
42803
+ limit?: Maybe<Scalars['Float']['output']>;
42804
+ noLimit: Scalars['Boolean']['output'];
42805
+ productId: Scalars['String']['output'];
42806
+ quotaName: Scalars['String']['output'];
42807
+ scrapedAt: Scalars['DateTime']['output'];
42808
+ workspaceId: Scalars['ID']['output'];
42809
+ };
42752
42810
  /** WorkspaceResource represents a managed resource within a workspace. Resources can be compute instances, databases, storage, or other infrastructure. */
42753
42811
  export type WorkspaceResource = {
42754
42812
  __typename?: 'WorkspaceResource';