@powerhousedao/contributor-billing 0.1.31 → 0.1.33
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/document-models/account-transactions/actions.d.ts +20 -0
- package/dist/document-models/account-transactions/actions.d.ts.map +1 -0
- package/dist/document-models/account-transactions/actions.js +9 -0
- package/dist/document-models/account-transactions/gen/account/actions.d.ts +8 -0
- package/dist/document-models/account-transactions/gen/account/actions.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/account/creators.d.ts +4 -0
- package/dist/document-models/account-transactions/gen/account/creators.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/account/creators.js +3 -0
- package/dist/document-models/account-transactions/gen/account/error.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/account/operations.d.ts +7 -0
- package/dist/document-models/account-transactions/gen/account/operations.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/actions.d.ts +8 -0
- package/dist/document-models/account-transactions/gen/actions.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/actions.js +3 -0
- package/dist/document-models/account-transactions/gen/budgets/actions.d.ts +16 -0
- package/dist/document-models/account-transactions/gen/budgets/actions.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/budgets/actions.js +1 -0
- package/dist/document-models/account-transactions/gen/budgets/creators.d.ts +6 -0
- package/dist/document-models/account-transactions/gen/budgets/creators.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/budgets/creators.js +5 -0
- package/dist/document-models/account-transactions/gen/budgets/error.d.ts +2 -0
- package/dist/document-models/account-transactions/gen/budgets/error.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/budgets/error.js +1 -0
- package/dist/document-models/account-transactions/gen/budgets/operations.d.ts +9 -0
- package/dist/document-models/account-transactions/gen/budgets/operations.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/budgets/operations.js +3 -0
- package/dist/document-models/account-transactions/gen/creators.d.ts +7 -0
- package/dist/document-models/account-transactions/gen/creators.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/creators.js +6 -0
- package/dist/document-models/account-transactions/gen/document-model.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/document-model.js +139 -0
- package/dist/document-models/account-transactions/gen/document-schema.d.ts +180 -0
- package/dist/document-models/account-transactions/gen/document-schema.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/document-schema.js +33 -0
- package/dist/document-models/account-transactions/gen/document-type.d.ts +2 -0
- package/dist/document-models/account-transactions/gen/document-type.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/document-type.js +1 -0
- package/dist/document-models/account-transactions/gen/index.d.ts +14 -0
- package/dist/document-models/account-transactions/gen/index.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/index.js +13 -0
- package/dist/document-models/account-transactions/gen/ph-factories.d.ts +23 -0
- package/dist/document-models/account-transactions/gen/ph-factories.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/ph-factories.js +59 -0
- package/dist/document-models/account-transactions/gen/reducer.d.ts +3 -0
- package/dist/document-models/account-transactions/gen/reducer.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/reducer.js +47 -0
- package/dist/document-models/account-transactions/gen/schema/index.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/schema/types.d.ts +230 -0
- package/dist/document-models/account-transactions/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/schema/zod.d.ts +25 -0
- package/dist/document-models/account-transactions/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/schema/zod.js +144 -0
- package/dist/document-models/account-transactions/gen/transactions/actions.d.ts +20 -0
- package/dist/document-models/account-transactions/gen/transactions/actions.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/transactions/actions.js +1 -0
- package/dist/document-models/account-transactions/gen/transactions/creators.d.ts +7 -0
- package/dist/document-models/account-transactions/gen/transactions/creators.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/transactions/creators.js +6 -0
- package/dist/document-models/account-transactions/gen/transactions/error.d.ts +2 -0
- package/dist/document-models/account-transactions/gen/transactions/error.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/transactions/error.js +1 -0
- package/dist/document-models/account-transactions/gen/transactions/operations.d.ts +10 -0
- package/dist/document-models/account-transactions/gen/transactions/operations.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/transactions/operations.js +3 -0
- package/dist/document-models/account-transactions/gen/types.d.ts +12 -0
- package/dist/document-models/account-transactions/gen/types.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/utils.d.ts +15 -0
- package/dist/document-models/account-transactions/gen/utils.d.ts.map +1 -0
- package/dist/document-models/account-transactions/gen/utils.js +63 -0
- package/dist/document-models/account-transactions/hooks.d.ts +11 -0
- package/dist/document-models/account-transactions/hooks.d.ts.map +1 -0
- package/dist/document-models/account-transactions/hooks.js +26 -0
- package/dist/document-models/account-transactions/index.d.ts.map +1 -0
- package/dist/document-models/account-transactions/module.d.ts +5 -0
- package/dist/document-models/account-transactions/module.d.ts.map +1 -0
- package/dist/document-models/account-transactions/module.js +10 -0
- package/dist/document-models/account-transactions/src/index.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/reducers/account.d.ts +3 -0
- package/dist/document-models/account-transactions/src/reducers/account.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/reducers/account.js +13 -0
- package/dist/document-models/account-transactions/src/reducers/budgets.d.ts +3 -0
- package/dist/document-models/account-transactions/src/reducers/budgets.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/reducers/budgets.js +20 -0
- package/dist/document-models/account-transactions/src/reducers/transactions.d.ts +3 -0
- package/dist/document-models/account-transactions/src/reducers/transactions.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/reducers/transactions.js +69 -0
- package/dist/document-models/{integrations/src/tests/integrations.test.d.ts → account-transactions/src/tests/account.test.d.ts} +1 -1
- package/dist/document-models/account-transactions/src/tests/account.test.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/tests/account.test.js +19 -0
- package/dist/document-models/account-transactions/src/tests/budgets.test.d.ts +6 -0
- package/dist/document-models/account-transactions/src/tests/budgets.test.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/tests/budgets.test.js +39 -0
- package/dist/document-models/account-transactions/src/tests/document-model.test.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/tests/document-model.test.js +104 -0
- package/dist/document-models/account-transactions/src/tests/transactions.test.d.ts +6 -0
- package/dist/document-models/account-transactions/src/tests/transactions.test.d.ts.map +1 -0
- package/dist/document-models/account-transactions/src/tests/transactions.test.js +49 -0
- package/dist/document-models/account-transactions/src/utils.d.ts.map +1 -0
- package/dist/document-models/account-transactions/utils.d.ts +14 -0
- package/dist/document-models/account-transactions/utils.d.ts.map +1 -0
- package/dist/document-models/account-transactions/utils.js +7 -0
- package/dist/document-models/{integrations → accounts}/actions.d.ts +5 -4
- package/dist/document-models/accounts/actions.d.ts.map +1 -0
- package/dist/document-models/accounts/actions.js +4 -0
- package/dist/document-models/accounts/gen/accounts/actions.d.ts +20 -0
- package/dist/document-models/accounts/gen/accounts/actions.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/accounts/actions.js +1 -0
- package/dist/document-models/accounts/gen/accounts/creators.d.ts +7 -0
- package/dist/document-models/accounts/gen/accounts/creators.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/accounts/creators.js +6 -0
- package/dist/document-models/accounts/gen/accounts/error.d.ts +2 -0
- package/dist/document-models/accounts/gen/accounts/error.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/accounts/error.js +1 -0
- package/dist/document-models/accounts/gen/accounts/operations.d.ts +10 -0
- package/dist/document-models/accounts/gen/accounts/operations.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/accounts/operations.js +3 -0
- package/dist/document-models/accounts/gen/actions.d.ts +4 -0
- package/dist/document-models/accounts/gen/actions.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/actions.js +1 -0
- package/dist/document-models/accounts/gen/creators.d.ts +3 -0
- package/dist/document-models/accounts/gen/creators.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/creators.js +2 -0
- package/dist/document-models/accounts/gen/document-model.d.ts +3 -0
- package/dist/document-models/accounts/gen/document-model.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/document-model.js +81 -0
- package/dist/document-models/accounts/gen/document-schema.d.ts +142 -0
- package/dist/document-models/accounts/gen/document-schema.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/document-schema.js +33 -0
- package/dist/document-models/accounts/gen/document-type.d.ts +2 -0
- package/dist/document-models/accounts/gen/document-type.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/document-type.js +1 -0
- package/dist/document-models/{integrations → accounts}/gen/index.d.ts +2 -2
- package/dist/document-models/accounts/gen/index.d.ts.map +1 -0
- package/dist/document-models/{integrations → accounts}/gen/index.js +2 -2
- package/dist/document-models/accounts/gen/ph-factories.d.ts +23 -0
- package/dist/document-models/accounts/gen/ph-factories.d.ts.map +1 -0
- package/dist/document-models/{integrations → accounts}/gen/ph-factories.js +3 -5
- package/dist/document-models/accounts/gen/reducer.d.ts +3 -0
- package/dist/document-models/accounts/gen/reducer.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/reducer.js +29 -0
- package/dist/document-models/accounts/gen/schema/index.d.ts +3 -0
- package/dist/document-models/accounts/gen/schema/index.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/schema/index.js +2 -0
- package/dist/document-models/{integrations → accounts}/gen/schema/types.d.ts +41 -53
- package/dist/document-models/accounts/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/schema/types.js +1 -0
- package/dist/document-models/accounts/gen/schema/zod.d.ts +20 -0
- package/dist/document-models/accounts/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/schema/zod.js +80 -0
- package/dist/document-models/accounts/gen/types.d.ts +12 -0
- package/dist/document-models/accounts/gen/types.d.ts.map +1 -0
- package/dist/document-models/accounts/gen/types.js +1 -0
- package/dist/document-models/accounts/gen/utils.d.ts +15 -0
- package/dist/document-models/accounts/gen/utils.d.ts.map +1 -0
- package/dist/document-models/{integrations → accounts}/gen/utils.js +8 -10
- package/dist/document-models/accounts/hooks.d.ts +11 -0
- package/dist/document-models/accounts/hooks.d.ts.map +1 -0
- package/dist/document-models/accounts/hooks.js +26 -0
- package/dist/document-models/accounts/index.d.ts +10 -0
- package/dist/document-models/accounts/index.d.ts.map +1 -0
- package/dist/document-models/accounts/index.js +9 -0
- package/dist/document-models/accounts/module.d.ts +5 -0
- package/dist/document-models/accounts/module.d.ts.map +1 -0
- package/dist/document-models/{integrations → accounts}/module.js +2 -2
- package/dist/document-models/accounts/src/index.d.ts +2 -0
- package/dist/document-models/accounts/src/index.d.ts.map +1 -0
- package/dist/document-models/accounts/src/index.js +1 -0
- package/dist/document-models/accounts/src/reducers/accounts.d.ts +3 -0
- package/dist/document-models/accounts/src/reducers/accounts.d.ts.map +1 -0
- package/dist/document-models/accounts/src/reducers/accounts.js +52 -0
- package/dist/document-models/accounts/src/tests/accounts.test.d.ts +6 -0
- package/dist/document-models/accounts/src/tests/accounts.test.d.ts.map +1 -0
- package/dist/document-models/accounts/src/tests/accounts.test.js +19 -0
- package/dist/document-models/accounts/src/tests/document-model.test.d.ts +10 -0
- package/dist/document-models/accounts/src/tests/document-model.test.d.ts.map +1 -0
- package/dist/document-models/{integrations → accounts}/src/tests/document-model.test.js +26 -26
- package/dist/document-models/accounts/src/utils.d.ts +2 -0
- package/dist/document-models/accounts/src/utils.d.ts.map +1 -0
- package/dist/document-models/accounts/src/utils.js +1 -0
- package/dist/document-models/accounts/utils.d.ts +14 -0
- package/dist/document-models/accounts/utils.d.ts.map +1 -0
- package/dist/document-models/{integrations → accounts}/utils.js +1 -1
- package/dist/document-models/billing-statement/gen/document-schema.d.ts +32 -32
- package/dist/document-models/billing-statement/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/billing-statement/src/reducers/line-items.d.ts.map +1 -1
- package/dist/document-models/billing-statement/src/reducers/line-items.js +0 -1
- package/dist/document-models/document-models.d.ts.map +1 -1
- package/dist/document-models/document-models.js +11 -3
- package/dist/document-models/expense-report/actions.d.ts +2 -0
- package/dist/document-models/expense-report/actions.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/document-model.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/document-model.js +25 -3
- package/dist/document-models/expense-report/gen/document-schema.d.ts +38 -0
- package/dist/document-models/expense-report/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/ph-factories.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/ph-factories.js +17 -15
- package/dist/document-models/expense-report/gen/reducer.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/reducer.js +9 -1
- package/dist/document-models/expense-report/gen/schema/types.d.ts +14 -0
- package/dist/document-models/expense-report/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/schema/zod.d.ts +5 -1
- package/dist/document-models/expense-report/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/schema/zod.js +22 -0
- package/dist/document-models/expense-report/gen/utils.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/utils.js +17 -15
- package/dist/document-models/expense-report/gen/wallet/actions.d.ts +10 -2
- package/dist/document-models/expense-report/gen/wallet/actions.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/wallet/creators.d.ts +4 -2
- package/dist/document-models/expense-report/gen/wallet/creators.d.ts.map +1 -1
- package/dist/document-models/expense-report/gen/wallet/creators.js +3 -1
- package/dist/document-models/expense-report/gen/wallet/operations.d.ts +3 -1
- package/dist/document-models/expense-report/gen/wallet/operations.d.ts.map +1 -1
- package/dist/document-models/expense-report/src/reducers/wallet.d.ts.map +1 -1
- package/dist/document-models/expense-report/src/reducers/wallet.js +29 -7
- package/dist/document-models/index.d.ts +10 -2
- package/dist/document-models/index.d.ts.map +1 -1
- package/dist/document-models/index.js +10 -2
- package/dist/document-models/invoice/gen/document-schema.d.ts +96 -96
- package/dist/document-models/invoice/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/service-offering/actions.d.ts +42 -0
- package/dist/document-models/service-offering/actions.d.ts.map +1 -0
- package/dist/document-models/service-offering/actions.js +10 -0
- package/dist/document-models/service-offering/gen/actions.d.ts +10 -0
- package/dist/document-models/service-offering/gen/actions.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/actions.js +4 -0
- package/dist/document-models/service-offering/gen/creators.d.ts +9 -0
- package/dist/document-models/service-offering/gen/creators.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/creators.js +8 -0
- package/dist/document-models/service-offering/gen/document-model.d.ts +3 -0
- package/dist/document-models/service-offering/gen/document-model.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/document-model.js +620 -0
- package/dist/document-models/service-offering/gen/document-schema.d.ts +427 -0
- package/dist/document-models/service-offering/gen/document-schema.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/document-schema.js +33 -0
- package/dist/document-models/service-offering/gen/document-type.d.ts +2 -0
- package/dist/document-models/service-offering/gen/document-type.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/document-type.js +1 -0
- package/dist/document-models/service-offering/gen/index.d.ts +15 -0
- package/dist/document-models/service-offering/gen/index.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/index.js +14 -0
- package/dist/document-models/service-offering/gen/offering-management/actions.d.ts +52 -0
- package/dist/document-models/service-offering/gen/offering-management/actions.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/offering-management/actions.js +1 -0
- package/dist/document-models/service-offering/gen/offering-management/creators.d.ts +15 -0
- package/dist/document-models/service-offering/gen/offering-management/creators.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/offering-management/creators.js +14 -0
- package/dist/document-models/service-offering/gen/offering-management/error.d.ts +35 -0
- package/dist/document-models/service-offering/gen/offering-management/error.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/offering-management/error.js +38 -0
- package/dist/document-models/service-offering/gen/offering-management/operations.d.ts +18 -0
- package/dist/document-models/service-offering/gen/offering-management/operations.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/offering-management/operations.js +3 -0
- package/dist/document-models/service-offering/gen/option-group-management/actions.d.ts +16 -0
- package/dist/document-models/service-offering/gen/option-group-management/actions.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/option-group-management/actions.js +1 -0
- package/dist/document-models/service-offering/gen/option-group-management/creators.d.ts +6 -0
- package/dist/document-models/service-offering/gen/option-group-management/creators.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/option-group-management/creators.js +5 -0
- package/dist/document-models/service-offering/gen/option-group-management/error.d.ts +28 -0
- package/dist/document-models/service-offering/gen/option-group-management/error.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/option-group-management/error.js +29 -0
- package/dist/document-models/service-offering/gen/option-group-management/operations.d.ts +9 -0
- package/dist/document-models/service-offering/gen/option-group-management/operations.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/option-group-management/operations.js +3 -0
- package/dist/document-models/service-offering/gen/ph-factories.d.ts +23 -0
- package/dist/document-models/service-offering/gen/ph-factories.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/ph-factories.js +62 -0
- package/dist/document-models/service-offering/gen/reducer.d.ts +3 -0
- package/dist/document-models/service-offering/gen/reducer.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/reducer.js +136 -0
- package/dist/document-models/service-offering/gen/schema/index.d.ts +3 -0
- package/dist/document-models/service-offering/gen/schema/index.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/schema/index.js +2 -0
- package/dist/document-models/service-offering/gen/schema/types.d.ts +424 -0
- package/dist/document-models/service-offering/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/schema/types.js +1 -0
- package/dist/document-models/service-offering/gen/schema/zod.d.ts +54 -0
- package/dist/document-models/service-offering/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/schema/zod.js +408 -0
- package/dist/document-models/service-offering/gen/service-management/actions.d.ts +24 -0
- package/dist/document-models/service-offering/gen/service-management/actions.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/service-management/actions.js +1 -0
- package/dist/document-models/service-offering/gen/service-management/creators.d.ts +8 -0
- package/dist/document-models/service-offering/gen/service-management/creators.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/service-management/creators.js +7 -0
- package/dist/document-models/service-offering/gen/service-management/error.d.ts +52 -0
- package/dist/document-models/service-offering/gen/service-management/error.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/service-management/error.js +61 -0
- package/dist/document-models/service-offering/gen/service-management/operations.d.ts +11 -0
- package/dist/document-models/service-offering/gen/service-management/operations.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/service-management/operations.js +3 -0
- package/dist/document-models/service-offering/gen/tier-management/actions.d.ts +44 -0
- package/dist/document-models/service-offering/gen/tier-management/actions.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/tier-management/actions.js +1 -0
- package/dist/document-models/service-offering/gen/tier-management/creators.d.ts +13 -0
- package/dist/document-models/service-offering/gen/tier-management/creators.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/tier-management/creators.js +12 -0
- package/dist/document-models/service-offering/gen/tier-management/error.d.ts +107 -0
- package/dist/document-models/service-offering/gen/tier-management/error.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/tier-management/error.js +134 -0
- package/dist/document-models/service-offering/gen/tier-management/operations.d.ts +16 -0
- package/dist/document-models/service-offering/gen/tier-management/operations.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/tier-management/operations.js +3 -0
- package/dist/document-models/service-offering/gen/types.d.ts +12 -0
- package/dist/document-models/service-offering/gen/types.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/types.js +1 -0
- package/dist/document-models/service-offering/gen/utils.d.ts +15 -0
- package/dist/document-models/service-offering/gen/utils.d.ts.map +1 -0
- package/dist/document-models/service-offering/gen/utils.js +66 -0
- package/dist/document-models/service-offering/hooks.d.ts +11 -0
- package/dist/document-models/service-offering/hooks.d.ts.map +1 -0
- package/dist/document-models/service-offering/hooks.js +26 -0
- package/dist/document-models/service-offering/index.d.ts +10 -0
- package/dist/document-models/service-offering/index.d.ts.map +1 -0
- package/dist/document-models/service-offering/index.js +9 -0
- package/dist/document-models/service-offering/module.d.ts +5 -0
- package/dist/document-models/service-offering/module.d.ts.map +1 -0
- package/dist/document-models/service-offering/module.js +10 -0
- package/dist/document-models/service-offering/src/index.d.ts +2 -0
- package/dist/document-models/service-offering/src/index.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/index.js +1 -0
- package/dist/document-models/service-offering/src/reducers/offering-management.d.ts +3 -0
- package/dist/document-models/service-offering/src/reducers/offering-management.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/reducers/offering-management.js +100 -0
- package/dist/document-models/service-offering/src/reducers/option-group-management.d.ts +3 -0
- package/dist/document-models/service-offering/src/reducers/option-group-management.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/reducers/option-group-management.js +47 -0
- package/dist/document-models/service-offering/src/reducers/service-management.d.ts +3 -0
- package/dist/document-models/service-offering/src/reducers/service-management.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/reducers/service-management.js +74 -0
- package/dist/document-models/service-offering/src/reducers/tier-management.d.ts +3 -0
- package/dist/document-models/service-offering/src/reducers/tier-management.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/reducers/tier-management.js +159 -0
- package/dist/document-models/service-offering/src/tests/document-model.test.d.ts +10 -0
- package/dist/document-models/service-offering/src/tests/document-model.test.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/tests/document-model.test.js +104 -0
- package/dist/document-models/service-offering/src/tests/offering-management.test.d.ts +6 -0
- package/dist/document-models/service-offering/src/tests/offering-management.test.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/tests/offering-management.test.js +129 -0
- package/dist/document-models/service-offering/src/tests/option-group-management.test.d.ts +6 -0
- package/dist/document-models/service-offering/src/tests/option-group-management.test.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/tests/option-group-management.test.js +39 -0
- package/dist/document-models/service-offering/src/tests/service-management.test.d.ts +6 -0
- package/dist/document-models/service-offering/src/tests/service-management.test.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/tests/service-management.test.js +59 -0
- package/dist/document-models/service-offering/src/tests/tier-management.test.d.ts +2 -0
- package/dist/document-models/service-offering/src/tests/tier-management.test.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/tests/tier-management.test.js +1 -0
- package/dist/document-models/service-offering/src/utils.d.ts +2 -0
- package/dist/document-models/service-offering/src/utils.d.ts.map +1 -0
- package/dist/document-models/service-offering/src/utils.js +1 -0
- package/dist/document-models/service-offering/utils.d.ts +14 -0
- package/dist/document-models/service-offering/utils.d.ts.map +1 -0
- package/dist/document-models/service-offering/utils.js +7 -0
- package/dist/document-models/service-subscriptions/actions.d.ts +25 -0
- package/dist/document-models/service-subscriptions/actions.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/actions.js +9 -0
- package/dist/document-models/service-subscriptions/gen/actions.d.ts +8 -0
- package/dist/document-models/service-subscriptions/gen/actions.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/actions.js +3 -0
- package/dist/document-models/service-subscriptions/gen/categories/actions.d.ts +16 -0
- package/dist/document-models/service-subscriptions/gen/categories/actions.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/categories/actions.js +1 -0
- package/dist/document-models/service-subscriptions/gen/categories/creators.d.ts +6 -0
- package/dist/document-models/service-subscriptions/gen/categories/creators.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/categories/creators.js +5 -0
- package/dist/document-models/service-subscriptions/gen/categories/error.d.ts +2 -0
- package/dist/document-models/service-subscriptions/gen/categories/error.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/categories/error.js +1 -0
- package/dist/document-models/service-subscriptions/gen/categories/operations.d.ts +9 -0
- package/dist/document-models/service-subscriptions/gen/categories/operations.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/categories/operations.js +3 -0
- package/dist/document-models/service-subscriptions/gen/creators.d.ts +7 -0
- package/dist/document-models/service-subscriptions/gen/creators.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/creators.js +6 -0
- package/dist/document-models/service-subscriptions/gen/document-model.d.ts +3 -0
- package/dist/document-models/service-subscriptions/gen/document-model.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/document-model.js +194 -0
- package/dist/document-models/service-subscriptions/gen/document-schema.d.ts +180 -0
- package/dist/document-models/service-subscriptions/gen/document-schema.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/document-schema.js +33 -0
- package/dist/document-models/service-subscriptions/gen/document-type.d.ts +2 -0
- package/dist/document-models/service-subscriptions/gen/document-type.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/document-type.js +1 -0
- package/dist/document-models/service-subscriptions/gen/index.d.ts +14 -0
- package/dist/document-models/service-subscriptions/gen/index.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/index.js +13 -0
- package/dist/document-models/service-subscriptions/gen/ph-factories.d.ts +23 -0
- package/dist/document-models/service-subscriptions/gen/ph-factories.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/ph-factories.js +45 -0
- package/dist/document-models/service-subscriptions/gen/reducer.d.ts +3 -0
- package/dist/document-models/service-subscriptions/gen/reducer.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/reducer.js +67 -0
- package/dist/document-models/service-subscriptions/gen/schema/index.d.ts +3 -0
- package/dist/document-models/service-subscriptions/gen/schema/index.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/schema/index.js +2 -0
- package/dist/document-models/service-subscriptions/gen/schema/types.d.ts +274 -0
- package/dist/document-models/service-subscriptions/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/schema/types.js +1 -0
- package/dist/document-models/service-subscriptions/gen/schema/zod.d.ts +31 -0
- package/dist/document-models/service-subscriptions/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/schema/zod.js +199 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/actions.d.ts +32 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/actions.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/actions.js +1 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/creators.d.ts +10 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/creators.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/creators.js +9 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/error.d.ts +2 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/error.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/error.js +1 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/operations.d.ts +13 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/operations.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/subscriptions/operations.js +3 -0
- package/dist/document-models/service-subscriptions/gen/types.d.ts +12 -0
- package/dist/document-models/service-subscriptions/gen/types.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/types.js +1 -0
- package/dist/document-models/service-subscriptions/gen/utils.d.ts +15 -0
- package/dist/document-models/service-subscriptions/gen/utils.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/utils.js +53 -0
- package/dist/document-models/service-subscriptions/gen/vendors/actions.d.ts +16 -0
- package/dist/document-models/service-subscriptions/gen/vendors/actions.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/vendors/actions.js +1 -0
- package/dist/document-models/service-subscriptions/gen/vendors/creators.d.ts +6 -0
- package/dist/document-models/service-subscriptions/gen/vendors/creators.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/vendors/creators.js +5 -0
- package/dist/document-models/service-subscriptions/gen/vendors/error.d.ts +2 -0
- package/dist/document-models/service-subscriptions/gen/vendors/error.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/vendors/error.js +1 -0
- package/dist/document-models/service-subscriptions/gen/vendors/operations.d.ts +9 -0
- package/dist/document-models/service-subscriptions/gen/vendors/operations.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/gen/vendors/operations.js +3 -0
- package/dist/document-models/service-subscriptions/hooks.d.ts +11 -0
- package/dist/document-models/service-subscriptions/hooks.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/hooks.js +26 -0
- package/dist/document-models/service-subscriptions/index.d.ts +10 -0
- package/dist/document-models/service-subscriptions/index.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/index.js +9 -0
- package/dist/document-models/service-subscriptions/module.d.ts +5 -0
- package/dist/document-models/service-subscriptions/module.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/module.js +10 -0
- package/dist/document-models/service-subscriptions/src/index.d.ts +2 -0
- package/dist/document-models/service-subscriptions/src/index.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/index.js +1 -0
- package/dist/document-models/service-subscriptions/src/reducers/categories.d.ts +3 -0
- package/dist/document-models/service-subscriptions/src/reducers/categories.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/reducers/categories.js +24 -0
- package/dist/document-models/service-subscriptions/src/reducers/subscriptions.d.ts +3 -0
- package/dist/document-models/service-subscriptions/src/reducers/subscriptions.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/reducers/subscriptions.js +114 -0
- package/dist/document-models/service-subscriptions/src/reducers/vendors.d.ts +3 -0
- package/dist/document-models/service-subscriptions/src/reducers/vendors.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/reducers/vendors.js +30 -0
- package/dist/document-models/service-subscriptions/src/tests/categories.test.d.ts +6 -0
- package/dist/document-models/service-subscriptions/src/tests/categories.test.d.ts.map +1 -0
- package/dist/document-models/{integrations/src/tests/integrations.test.js → service-subscriptions/src/tests/categories.test.js} +17 -17
- package/dist/document-models/service-subscriptions/src/tests/document-model.test.d.ts +10 -0
- package/dist/document-models/service-subscriptions/src/tests/document-model.test.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/tests/document-model.test.js +104 -0
- package/dist/document-models/service-subscriptions/src/tests/subscriptions.test.d.ts +6 -0
- package/dist/document-models/service-subscriptions/src/tests/subscriptions.test.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/tests/subscriptions.test.js +79 -0
- package/dist/document-models/service-subscriptions/src/tests/vendors.test.d.ts +6 -0
- package/dist/document-models/service-subscriptions/src/tests/vendors.test.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/tests/vendors.test.js +39 -0
- package/dist/document-models/service-subscriptions/src/utils.d.ts +2 -0
- package/dist/document-models/service-subscriptions/src/utils.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/src/utils.js +1 -0
- package/dist/document-models/service-subscriptions/utils.d.ts +14 -0
- package/dist/document-models/service-subscriptions/utils.d.ts.map +1 -0
- package/dist/document-models/service-subscriptions/utils.js +7 -0
- package/dist/document-models/snapshot-report/actions.d.ts +29 -0
- package/dist/document-models/snapshot-report/actions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/actions.js +10 -0
- package/dist/document-models/snapshot-report/gen/accounts/actions.d.ts +16 -0
- package/dist/document-models/snapshot-report/gen/accounts/actions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/accounts/actions.js +1 -0
- package/dist/document-models/snapshot-report/gen/accounts/creators.d.ts +6 -0
- package/dist/document-models/snapshot-report/gen/accounts/creators.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/accounts/creators.js +5 -0
- package/dist/document-models/snapshot-report/gen/accounts/error.d.ts +28 -0
- package/dist/document-models/snapshot-report/gen/accounts/error.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/accounts/error.js +29 -0
- package/dist/document-models/snapshot-report/gen/accounts/operations.d.ts +9 -0
- package/dist/document-models/snapshot-report/gen/accounts/operations.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/accounts/operations.js +3 -0
- package/dist/document-models/snapshot-report/gen/actions.d.ts +10 -0
- package/dist/document-models/snapshot-report/gen/actions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/actions.js +4 -0
- package/dist/document-models/snapshot-report/gen/balances/actions.d.ts +20 -0
- package/dist/document-models/snapshot-report/gen/balances/actions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/balances/actions.js +1 -0
- package/dist/document-models/snapshot-report/gen/balances/creators.d.ts +7 -0
- package/dist/document-models/snapshot-report/gen/balances/creators.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/balances/creators.js +6 -0
- package/dist/document-models/snapshot-report/gen/balances/error.d.ts +35 -0
- package/dist/document-models/snapshot-report/gen/balances/error.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/balances/error.js +38 -0
- package/dist/document-models/snapshot-report/gen/balances/operations.d.ts +10 -0
- package/dist/document-models/snapshot-report/gen/balances/operations.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/balances/operations.js +3 -0
- package/dist/document-models/snapshot-report/gen/configuration/actions.d.ts +28 -0
- package/dist/document-models/snapshot-report/gen/configuration/actions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/configuration/actions.js +1 -0
- package/dist/document-models/snapshot-report/gen/configuration/creators.d.ts +9 -0
- package/dist/document-models/snapshot-report/gen/configuration/creators.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/configuration/creators.js +8 -0
- package/dist/document-models/snapshot-report/gen/configuration/error.d.ts +2 -0
- package/dist/document-models/snapshot-report/gen/configuration/error.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/configuration/error.js +1 -0
- package/dist/document-models/snapshot-report/gen/configuration/operations.d.ts +12 -0
- package/dist/document-models/snapshot-report/gen/configuration/operations.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/configuration/operations.js +3 -0
- package/dist/document-models/snapshot-report/gen/creators.d.ts +9 -0
- package/dist/document-models/snapshot-report/gen/creators.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/creators.js +8 -0
- package/dist/document-models/snapshot-report/gen/document-model.d.ts +3 -0
- package/dist/document-models/snapshot-report/gen/document-model.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/document-model.js +332 -0
- package/dist/document-models/snapshot-report/gen/document-schema.d.ts +275 -0
- package/dist/document-models/snapshot-report/gen/document-schema.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/document-schema.js +33 -0
- package/dist/document-models/snapshot-report/gen/document-type.d.ts +2 -0
- package/dist/document-models/snapshot-report/gen/document-type.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/document-type.js +1 -0
- package/dist/document-models/snapshot-report/gen/index.d.ts +15 -0
- package/dist/document-models/snapshot-report/gen/index.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/index.js +14 -0
- package/dist/document-models/snapshot-report/gen/ph-factories.d.ts +23 -0
- package/dist/document-models/snapshot-report/gen/ph-factories.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/ph-factories.js +54 -0
- package/dist/document-models/snapshot-report/gen/reducer.d.ts +3 -0
- package/dist/document-models/snapshot-report/gen/reducer.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/reducer.js +84 -0
- package/dist/document-models/snapshot-report/gen/schema/index.d.ts +3 -0
- package/dist/document-models/snapshot-report/gen/schema/index.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/schema/index.js +2 -0
- package/dist/document-models/snapshot-report/gen/schema/types.d.ts +264 -0
- package/dist/document-models/snapshot-report/gen/schema/types.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/schema/types.js +1 -0
- package/dist/document-models/snapshot-report/gen/schema/zod.d.ts +37 -0
- package/dist/document-models/snapshot-report/gen/schema/zod.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/schema/zod.js +208 -0
- package/dist/document-models/snapshot-report/gen/transactions/actions.d.ts +20 -0
- package/dist/document-models/snapshot-report/gen/transactions/actions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/transactions/actions.js +1 -0
- package/dist/document-models/snapshot-report/gen/transactions/creators.d.ts +7 -0
- package/dist/document-models/snapshot-report/gen/transactions/creators.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/transactions/creators.js +6 -0
- package/dist/document-models/snapshot-report/gen/transactions/error.d.ts +33 -0
- package/dist/document-models/snapshot-report/gen/transactions/error.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/transactions/error.js +36 -0
- package/dist/document-models/snapshot-report/gen/transactions/operations.d.ts +10 -0
- package/dist/document-models/snapshot-report/gen/transactions/operations.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/transactions/operations.js +3 -0
- package/dist/document-models/snapshot-report/gen/types.d.ts +12 -0
- package/dist/document-models/snapshot-report/gen/types.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/types.js +1 -0
- package/dist/document-models/snapshot-report/gen/utils.d.ts +15 -0
- package/dist/document-models/snapshot-report/gen/utils.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/gen/utils.js +58 -0
- package/dist/document-models/snapshot-report/hooks.d.ts +11 -0
- package/dist/document-models/snapshot-report/hooks.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/hooks.js +26 -0
- package/dist/document-models/snapshot-report/index.d.ts +10 -0
- package/dist/document-models/snapshot-report/index.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/index.js +9 -0
- package/dist/document-models/snapshot-report/module.d.ts +5 -0
- package/dist/document-models/snapshot-report/module.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/module.js +10 -0
- package/dist/document-models/snapshot-report/src/index.d.ts +2 -0
- package/dist/document-models/snapshot-report/src/index.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/index.js +1 -0
- package/dist/document-models/snapshot-report/src/reducers/accounts.d.ts +3 -0
- package/dist/document-models/snapshot-report/src/reducers/accounts.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/reducers/accounts.js +34 -0
- package/dist/document-models/snapshot-report/src/reducers/balances.d.ts +3 -0
- package/dist/document-models/snapshot-report/src/reducers/balances.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/reducers/balances.js +60 -0
- package/dist/document-models/snapshot-report/src/reducers/configuration.d.ts +3 -0
- package/dist/document-models/snapshot-report/src/reducers/configuration.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/reducers/configuration.js +35 -0
- package/dist/document-models/snapshot-report/src/reducers/transactions.d.ts +3 -0
- package/dist/document-models/snapshot-report/src/reducers/transactions.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/reducers/transactions.js +99 -0
- package/dist/document-models/snapshot-report/src/tests/accounts.test.d.ts +6 -0
- package/dist/document-models/snapshot-report/src/tests/accounts.test.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/tests/accounts.test.js +39 -0
- package/dist/document-models/snapshot-report/src/tests/balances.test.d.ts +6 -0
- package/dist/document-models/snapshot-report/src/tests/balances.test.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/tests/balances.test.js +49 -0
- package/dist/document-models/snapshot-report/src/tests/configuration.test.d.ts +6 -0
- package/dist/document-models/snapshot-report/src/tests/configuration.test.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/tests/configuration.test.js +39 -0
- package/dist/document-models/snapshot-report/src/tests/document-model.test.d.ts +10 -0
- package/dist/document-models/snapshot-report/src/tests/document-model.test.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/tests/document-model.test.js +104 -0
- package/dist/document-models/snapshot-report/src/tests/transactions.test.d.ts +6 -0
- package/dist/document-models/snapshot-report/src/tests/transactions.test.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/tests/transactions.test.js +39 -0
- package/dist/document-models/snapshot-report/src/utils.d.ts +2 -0
- package/dist/document-models/snapshot-report/src/utils.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/src/utils.js +1 -0
- package/dist/document-models/snapshot-report/utils.d.ts +14 -0
- package/dist/document-models/snapshot-report/utils.d.ts.map +1 -0
- package/dist/document-models/snapshot-report/utils.js +7 -0
- package/dist/editors/account-transactions-editor/alchemyIntegration.d.ts +55 -0
- package/dist/editors/account-transactions-editor/alchemyIntegration.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/alchemyIntegration.js +136 -0
- package/dist/editors/account-transactions-editor/components/AccountSection.d.ts +9 -0
- package/dist/editors/account-transactions-editor/components/AccountSection.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/components/AccountSection.js +18 -0
- package/dist/editors/account-transactions-editor/components/DocumentHeader.d.ts +8 -0
- package/dist/editors/account-transactions-editor/components/DocumentHeader.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/components/DocumentHeader.js +13 -0
- package/dist/editors/account-transactions-editor/components/TransactionForm.d.ts +10 -0
- package/dist/editors/account-transactions-editor/components/TransactionForm.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/components/TransactionForm.js +70 -0
- package/dist/editors/account-transactions-editor/components/TransactionsTable.d.ts +9 -0
- package/dist/editors/account-transactions-editor/components/TransactionsTable.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/components/TransactionsTable.js +56 -0
- package/dist/editors/account-transactions-editor/editor.d.ts +3 -0
- package/dist/editors/account-transactions-editor/editor.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/editor.js +212 -0
- package/dist/editors/account-transactions-editor/index.d.ts +3 -0
- package/dist/editors/account-transactions-editor/index.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/index.js +9 -0
- package/dist/editors/account-transactions-editor/module.d.ts +3 -0
- package/dist/editors/account-transactions-editor/module.d.ts.map +1 -0
- package/dist/editors/account-transactions-editor/module.js +9 -0
- package/dist/editors/accounts-editor/components/AccountCard.d.ts +12 -0
- package/dist/editors/accounts-editor/components/AccountCard.d.ts.map +1 -0
- package/dist/editors/accounts-editor/components/AccountCard.js +23 -0
- package/dist/editors/accounts-editor/components/AccountForm.d.ts +19 -0
- package/dist/editors/accounts-editor/components/AccountForm.d.ts.map +1 -0
- package/dist/editors/accounts-editor/components/AccountForm.js +66 -0
- package/dist/editors/accounts-editor/components/AccountsFilter.d.ts +8 -0
- package/dist/editors/accounts-editor/components/AccountsFilter.d.ts.map +1 -0
- package/dist/editors/accounts-editor/components/AccountsFilter.js +34 -0
- package/dist/editors/accounts-editor/components/AccountsList.d.ts +12 -0
- package/dist/editors/accounts-editor/components/AccountsList.d.ts.map +1 -0
- package/dist/editors/accounts-editor/components/AccountsList.js +8 -0
- package/dist/editors/accounts-editor/components/DocumentHeader.d.ts +15 -0
- package/dist/editors/accounts-editor/components/DocumentHeader.d.ts.map +1 -0
- package/dist/editors/accounts-editor/components/DocumentHeader.js +23 -0
- package/dist/editors/accounts-editor/components/KYCStatusBadge.d.ts +7 -0
- package/dist/editors/accounts-editor/components/KYCStatusBadge.d.ts.map +1 -0
- package/dist/editors/accounts-editor/components/KYCStatusBadge.js +17 -0
- package/dist/editors/accounts-editor/editor.d.ts +3 -0
- package/dist/editors/accounts-editor/editor.d.ts.map +1 -0
- package/dist/editors/accounts-editor/editor.js +159 -0
- package/dist/editors/accounts-editor/index.d.ts +3 -0
- package/dist/editors/accounts-editor/index.d.ts.map +1 -0
- package/dist/editors/accounts-editor/index.js +9 -0
- package/dist/editors/accounts-editor/module.d.ts +3 -0
- package/dist/editors/accounts-editor/module.d.ts.map +1 -0
- package/dist/editors/accounts-editor/module.js +9 -0
- package/dist/editors/accounts-editor/services/accountTransactionsService.d.ts +29 -0
- package/dist/editors/accounts-editor/services/accountTransactionsService.d.ts.map +1 -0
- package/dist/editors/accounts-editor/services/accountTransactionsService.js +252 -0
- package/dist/editors/builder-team-admin/components/CreateDocument.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/DriveContents.d.ts +6 -0
- package/dist/editors/builder-team-admin/components/DriveContents.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/DriveContents.js +36 -0
- package/dist/editors/builder-team-admin/components/DriveExplorer.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/DriveExplorer.js +49 -0
- package/dist/editors/builder-team-admin/components/EmptyState.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/ExpenseReportsStats.d.ts +11 -0
- package/dist/editors/builder-team-admin/components/ExpenseReportsStats.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/ExpenseReportsStats.js +137 -0
- package/dist/editors/builder-team-admin/components/Files.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/FolderTree.d.ts +14 -0
- package/dist/editors/builder-team-admin/components/FolderTree.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/FolderTree.js +307 -0
- package/dist/editors/builder-team-admin/components/Folders.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/NavigationBreadcrumbs.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/expense-reports.d.ts +2 -0
- package/dist/editors/builder-team-admin/components/expense-reports.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/expense-reports.js +118 -0
- package/dist/editors/builder-team-admin/components/overview/ProfileHeader.d.ts +10 -0
- package/dist/editors/builder-team-admin/components/overview/ProfileHeader.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/overview/ProfileHeader.js +24 -0
- package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.d.ts +15 -0
- package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/overview/SubscriptionsStats.js +61 -0
- package/dist/editors/builder-team-admin/components/overview/TeamMembersOverview.d.ts +10 -0
- package/dist/editors/builder-team-admin/components/overview/TeamMembersOverview.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/overview/TeamMembersOverview.js +121 -0
- package/dist/editors/builder-team-admin/components/snapshot-reports.d.ts +2 -0
- package/dist/editors/builder-team-admin/components/snapshot-reports.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/snapshot-reports.js +116 -0
- package/dist/editors/builder-team-admin/components/team-members.d.ts +2 -0
- package/dist/editors/builder-team-admin/components/team-members.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/components/team-members.js +309 -0
- package/dist/editors/{clean-new-editor → builder-team-admin}/config.d.ts +1 -1
- package/dist/editors/builder-team-admin/config.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/config.js +8 -0
- package/dist/editors/{clean-new-editor → builder-team-admin}/editor.d.ts +1 -1
- package/dist/editors/builder-team-admin/editor.d.ts.map +1 -0
- package/dist/editors/{clean-new-editor → builder-team-admin}/editor.js +1 -1
- package/dist/editors/builder-team-admin/hooks/useExpenseReportAutoPlacement.d.ts +25 -0
- package/dist/editors/builder-team-admin/hooks/useExpenseReportAutoPlacement.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/hooks/useExpenseReportAutoPlacement.js +180 -0
- package/dist/editors/builder-team-admin/hooks/useRemoteBuilderProfiles.d.ts +20 -0
- package/dist/editors/builder-team-admin/hooks/useRemoteBuilderProfiles.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/hooks/useRemoteBuilderProfiles.js +57 -0
- package/dist/editors/builder-team-admin/hooks/useSnapshotReportAutoPlacement.d.ts +25 -0
- package/dist/editors/builder-team-admin/hooks/useSnapshotReportAutoPlacement.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/hooks/useSnapshotReportAutoPlacement.js +180 -0
- package/dist/editors/builder-team-admin/module.d.ts +3 -0
- package/dist/editors/builder-team-admin/module.d.ts.map +1 -0
- package/dist/editors/{clean-new-editor → builder-team-admin}/module.js +3 -3
- package/dist/editors/builder-team-admin/utils/graphql-client.d.ts +41 -0
- package/dist/editors/builder-team-admin/utils/graphql-client.d.ts.map +1 -0
- package/dist/editors/builder-team-admin/utils/graphql-client.js +189 -0
- package/dist/editors/contributor-billing/components/DriveContents.d.ts.map +1 -1
- package/dist/editors/contributor-billing/components/DriveContents.js +5 -1
- package/dist/editors/contributor-billing/components/DriveExplorer.d.ts.map +1 -1
- package/dist/editors/contributor-billing/components/DriveExplorer.js +7 -7
- package/dist/editors/contributor-billing/components/FolderTree.d.ts +12 -3
- package/dist/editors/contributor-billing/components/FolderTree.d.ts.map +1 -1
- package/dist/editors/contributor-billing/components/FolderTree.js +146 -56
- package/dist/editors/contributor-billing/components/InvoiceTable/ConfirmationModal.d.ts.map +1 -0
- package/dist/editors/contributor-billing/components/InvoiceTable/HeaderControls.d.ts.map +1 -0
- package/dist/editors/contributor-billing/components/InvoiceTable/HeaderStats.d.ts.map +1 -0
- package/dist/{old-contributor-billing → editors/contributor-billing}/components/InvoiceTable/HeaderStats.js +10 -9
- package/dist/editors/contributor-billing/components/InvoiceTable/InvoiceTable.d.ts.map +1 -0
- package/dist/editors/contributor-billing/components/{InvoiceTable.js → InvoiceTable/InvoiceTable.js} +5 -5
- package/dist/editors/contributor-billing/components/InvoiceTable/InvoiceTableContainer.d.ts.map +1 -0
- package/dist/editors/contributor-billing/components/InvoiceTable/InvoiceTableRow.d.ts.map +1 -0
- package/dist/editors/contributor-billing/components/InvoiceTable/InvoiceTableSection.d.ts.map +1 -0
- package/dist/editors/contributor-billing/config.d.ts.map +1 -1
- package/dist/editors/contributor-billing/config.js +0 -1
- package/dist/editors/editors.d.ts.map +1 -1
- package/dist/editors/editors.js +13 -3
- package/dist/editors/expense-report/components/AddBillingStatementModal.d.ts.map +1 -1
- package/dist/editors/expense-report/components/AddReportToRemoteDrive.d.ts +13 -0
- package/dist/editors/expense-report/components/AddReportToRemoteDrive.d.ts.map +1 -0
- package/dist/editors/expense-report/components/AddReportToRemoteDrive.js +76 -0
- package/dist/editors/expense-report/components/AggregatedExpensesTable.d.ts.map +1 -1
- package/dist/editors/expense-report/components/AggregatedExpensesTable.js +9 -7
- package/dist/editors/expense-report/components/ExpenseReportPDF.d.ts.map +1 -1
- package/dist/editors/expense-report/components/ExpenseReportTransactionsTable.d.ts +15 -0
- package/dist/editors/expense-report/components/ExpenseReportTransactionsTable.d.ts.map +1 -0
- package/dist/editors/expense-report/components/ExpenseReportTransactionsTable.js +64 -0
- package/dist/editors/expense-report/components/SetOwner.d.ts +8 -0
- package/dist/editors/expense-report/components/SetOwner.d.ts.map +1 -0
- package/dist/editors/expense-report/components/SetOwner.js +98 -0
- package/dist/editors/expense-report/components/WalletsTable.d.ts +3 -1
- package/dist/editors/expense-report/components/WalletsTable.d.ts.map +1 -1
- package/dist/editors/expense-report/components/WalletsTable.js +564 -89
- package/dist/editors/expense-report/editor.d.ts.map +1 -1
- package/dist/editors/expense-report/editor.js +120 -21
- package/dist/editors/expense-report/hooks/useSyncWallet.d.ts +2 -2
- package/dist/editors/expense-report/hooks/useSyncWallet.d.ts.map +1 -1
- package/dist/editors/expense-report/hooks/useSyncWallet.js +92 -17
- package/dist/editors/expense-report/hooks/useWalletSync.d.ts.map +1 -1
- package/dist/editors/expense-report/hooks/useWalletSync.js +2 -1
- package/dist/editors/expense-report/services/walletAccountService.d.ts +40 -0
- package/dist/editors/expense-report/services/walletAccountService.d.ts.map +1 -0
- package/dist/editors/expense-report/services/walletAccountService.js +403 -0
- package/dist/editors/hooks/useAccountTransactionsDocument.d.ts +4 -0
- package/dist/editors/hooks/useAccountTransactionsDocument.d.ts.map +1 -0
- package/dist/editors/hooks/useAccountTransactionsDocument.js +8 -0
- package/dist/editors/hooks/useAccountsDocument.d.ts +4 -0
- package/dist/editors/hooks/useAccountsDocument.d.ts.map +1 -0
- package/dist/editors/hooks/useAccountsDocument.js +8 -0
- package/dist/editors/hooks/useSnapshotReportDocument.d.ts +4 -0
- package/dist/editors/hooks/useSnapshotReportDocument.d.ts.map +1 -0
- package/dist/editors/hooks/useSnapshotReportDocument.js +8 -0
- package/dist/editors/index.d.ts +7 -2
- package/dist/editors/index.d.ts.map +1 -1
- package/dist/editors/index.js +7 -2
- package/dist/editors/invoice/editor.d.ts.map +1 -1
- package/dist/editors/invoice/editor.js +20 -34
- package/dist/editors/invoice/ingestPDF.js +1 -1
- package/dist/editors/invoice/invoiceToGnosis.js +3 -3
- package/dist/editors/invoice/lineItemTags/lineItemTags.d.ts.map +1 -1
- package/dist/editors/invoice/lineItemTags/lineItemTags.js +4 -25
- package/dist/editors/invoice/lineItems.d.ts +1 -1
- package/dist/editors/invoice/lineItems.d.ts.map +1 -1
- package/dist/editors/invoice/lineItems.js +31 -75
- package/dist/editors/invoice/module.d.ts +1 -1
- package/dist/editors/invoice/module.d.ts.map +1 -1
- package/dist/editors/invoice/module.js +1 -1
- package/dist/editors/invoice/requestFinance.js +2 -2
- package/dist/editors/invoice/uploadPdfChunked.js +2 -2
- package/dist/editors/service-offering-editor/components/EditName.d.ts +3 -0
- package/dist/editors/service-offering-editor/components/EditName.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/EditName.js +31 -0
- package/dist/editors/service-offering-editor/components/OfferingInfo.d.ts +9 -0
- package/dist/editors/service-offering-editor/components/OfferingInfo.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/OfferingInfo.js +62 -0
- package/dist/editors/service-offering-editor/components/ScopeAndFacets.d.ts +9 -0
- package/dist/editors/service-offering-editor/components/ScopeAndFacets.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/ScopeAndFacets.js +1077 -0
- package/dist/editors/service-offering-editor/components/ServiceCatalog.d.ts +16 -0
- package/dist/editors/service-offering-editor/components/ServiceCatalog.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/ServiceCatalog.js +1379 -0
- package/dist/editors/service-offering-editor/components/ServicesList.d.ts +9 -0
- package/dist/editors/service-offering-editor/components/ServicesList.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/ServicesList.js +63 -0
- package/dist/editors/service-offering-editor/components/TabNavigation.d.ts +9 -0
- package/dist/editors/service-offering-editor/components/TabNavigation.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/TabNavigation.js +243 -0
- package/dist/editors/service-offering-editor/components/TheMatrix.d.ts +10 -0
- package/dist/editors/service-offering-editor/components/TheMatrix.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/TheMatrix.js +1686 -0
- package/dist/editors/service-offering-editor/components/TierDefinition.d.ts +9 -0
- package/dist/editors/service-offering-editor/components/TierDefinition.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/TierDefinition.js +653 -0
- package/dist/editors/service-offering-editor/components/TiersList.d.ts +9 -0
- package/dist/editors/service-offering-editor/components/TiersList.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/components/TiersList.js +137 -0
- package/dist/editors/service-offering-editor/editor.d.ts +2 -0
- package/dist/editors/service-offering-editor/editor.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/editor.js +336 -0
- package/dist/editors/service-offering-editor/module.d.ts +4 -0
- package/dist/editors/service-offering-editor/module.d.ts.map +1 -0
- package/dist/editors/service-offering-editor/module.js +10 -0
- package/dist/editors/service-subscriptions-editor/components/AddCategoryModal.d.ts +7 -0
- package/dist/editors/service-subscriptions-editor/components/AddCategoryModal.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/AddCategoryModal.js +39 -0
- package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.d.ts +10 -0
- package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/AddSubscriptionModal.js +64 -0
- package/dist/editors/service-subscriptions-editor/components/AddVendorModal.d.ts +7 -0
- package/dist/editors/service-subscriptions-editor/components/AddVendorModal.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/AddVendorModal.js +43 -0
- package/dist/editors/service-subscriptions-editor/components/CategoriesList.d.ts +8 -0
- package/dist/editors/service-subscriptions-editor/components/CategoriesList.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/CategoriesList.js +23 -0
- package/dist/editors/service-subscriptions-editor/components/EditName.d.ts +3 -0
- package/dist/editors/service-subscriptions-editor/components/EditName.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/EditName.js +31 -0
- package/dist/editors/service-subscriptions-editor/components/StatsOverview.d.ts +8 -0
- package/dist/editors/service-subscriptions-editor/components/StatsOverview.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/StatsOverview.js +32 -0
- package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.d.ts +10 -0
- package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/SubscriptionsList.js +88 -0
- package/dist/editors/service-subscriptions-editor/components/VendorsList.d.ts +8 -0
- package/dist/editors/service-subscriptions-editor/components/VendorsList.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/components/VendorsList.js +23 -0
- package/dist/editors/service-subscriptions-editor/editor.d.ts +2 -0
- package/dist/editors/service-subscriptions-editor/editor.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/editor.js +60 -0
- package/dist/editors/{integrations → service-subscriptions-editor}/module.d.ts +1 -1
- package/dist/editors/service-subscriptions-editor/module.d.ts.map +1 -0
- package/dist/editors/service-subscriptions-editor/module.js +10 -0
- package/dist/editors/snapshot-report-editor/components/AddReportToRemoteDrive.d.ts +13 -0
- package/dist/editors/snapshot-report-editor/components/AddReportToRemoteDrive.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/components/AddReportToRemoteDrive.js +76 -0
- package/dist/editors/snapshot-report-editor/components/SetOwner.d.ts +8 -0
- package/dist/editors/snapshot-report-editor/components/SetOwner.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/components/SetOwner.js +98 -0
- package/dist/editors/snapshot-report-editor/editor.d.ts +2 -0
- package/dist/editors/snapshot-report-editor/editor.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/editor.js +560 -0
- package/dist/editors/snapshot-report-editor/hooks/useSyncSnapshotAccount.d.ts +15 -0
- package/dist/editors/snapshot-report-editor/hooks/useSyncSnapshotAccount.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/hooks/useSyncSnapshotAccount.js +327 -0
- package/dist/editors/snapshot-report-editor/module.d.ts +3 -0
- package/dist/editors/snapshot-report-editor/module.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/module.js +9 -0
- package/dist/editors/snapshot-report-editor/utils/balanceCalculations.d.ts +26 -0
- package/dist/editors/snapshot-report-editor/utils/balanceCalculations.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/utils/balanceCalculations.js +103 -0
- package/dist/editors/snapshot-report-editor/utils/deriveTransactions.d.ts +47 -0
- package/dist/editors/snapshot-report-editor/utils/deriveTransactions.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/utils/deriveTransactions.js +89 -0
- package/dist/editors/snapshot-report-editor/utils/flowTypeCalculations.d.ts +29 -0
- package/dist/editors/snapshot-report-editor/utils/flowTypeCalculations.d.ts.map +1 -0
- package/dist/editors/snapshot-report-editor/utils/flowTypeCalculations.js +63 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/powerhouse.manifest.json +78 -6
- package/dist/scripts/alchemy/alchemyClient.d.ts +63 -0
- package/dist/scripts/alchemy/alchemyClient.d.ts.map +1 -0
- package/dist/scripts/alchemy/alchemyClient.js +232 -0
- package/dist/scripts/alchemy/alchemyEnvironment.d.ts +29 -0
- package/dist/scripts/alchemy/alchemyEnvironment.d.ts.map +1 -0
- package/dist/scripts/alchemy/alchemyEnvironment.js +49 -0
- package/dist/scripts/alchemy/alchemyHelpers.d.ts +24 -0
- package/dist/scripts/alchemy/alchemyHelpers.d.ts.map +1 -0
- package/dist/scripts/alchemy/alchemyHelpers.js +116 -0
- package/dist/scripts/alchemy/alchemyTypes.d.ts +93 -0
- package/dist/scripts/alchemy/alchemyTypes.d.ts.map +1 -0
- package/dist/scripts/alchemy/alchemyTypes.js +25 -0
- package/dist/scripts/invoice/pdfToClaudeAI.d.ts.map +1 -1
- package/dist/scripts/invoice/pdfToClaudeAI.js +186 -4
- package/dist/style.css +4288 -158
- package/dist/subgraphs/{integrations → acc-txs-addon}/index.d.ts +1 -1
- package/dist/subgraphs/acc-txs-addon/index.d.ts.map +1 -0
- package/dist/subgraphs/{integrations → acc-txs-addon}/index.js +2 -2
- package/dist/subgraphs/acc-txs-addon/resolvers.d.ts +3 -0
- package/dist/subgraphs/acc-txs-addon/resolvers.d.ts.map +1 -0
- package/dist/subgraphs/acc-txs-addon/resolvers.js +144 -0
- package/dist/subgraphs/acc-txs-addon/schema.d.ts.map +1 -0
- package/dist/subgraphs/acc-txs-addon/schema.js +47 -0
- package/dist/subgraphs/account-transactions/index.d.ts +11 -0
- package/dist/subgraphs/account-transactions/index.d.ts.map +1 -0
- package/dist/subgraphs/account-transactions/index.js +11 -0
- package/dist/subgraphs/account-transactions/resolvers.d.ts.map +1 -0
- package/dist/subgraphs/account-transactions/resolvers.js +168 -0
- package/dist/subgraphs/account-transactions/schema.d.ts +3 -0
- package/dist/subgraphs/account-transactions/schema.d.ts.map +1 -0
- package/dist/subgraphs/account-transactions/schema.js +129 -0
- package/dist/subgraphs/accounts/index.d.ts +11 -0
- package/dist/subgraphs/accounts/index.d.ts.map +1 -0
- package/dist/subgraphs/accounts/index.js +11 -0
- package/dist/subgraphs/accounts/resolvers.d.ts +3 -0
- package/dist/subgraphs/accounts/resolvers.d.ts.map +1 -0
- package/dist/subgraphs/{integrations → accounts}/resolvers.js +27 -15
- package/dist/subgraphs/accounts/schema.d.ts +3 -0
- package/dist/subgraphs/accounts/schema.d.ts.map +1 -0
- package/dist/subgraphs/accounts/schema.js +75 -0
- package/dist/subgraphs/expense-report/resolvers.d.ts.map +1 -1
- package/dist/subgraphs/expense-report/resolvers.js +24 -0
- package/dist/subgraphs/expense-report/schema.d.ts.map +1 -1
- package/dist/subgraphs/expense-report/schema.js +24 -0
- package/dist/subgraphs/index.d.ts +6 -1
- package/dist/subgraphs/index.d.ts.map +1 -1
- package/dist/subgraphs/index.js +6 -1
- package/dist/subgraphs/invoice-addon/customResolvers.js +1 -1
- package/dist/subgraphs/service-offering/index.d.ts +11 -0
- package/dist/subgraphs/service-offering/index.d.ts.map +1 -0
- package/dist/subgraphs/service-offering/index.js +11 -0
- package/dist/subgraphs/service-offering/resolvers.d.ts +3 -0
- package/dist/subgraphs/service-offering/resolvers.d.ts.map +1 -0
- package/dist/subgraphs/service-offering/resolvers.js +432 -0
- package/dist/subgraphs/service-offering/schema.d.ts +3 -0
- package/dist/subgraphs/service-offering/schema.d.ts.map +1 -0
- package/dist/subgraphs/service-offering/schema.js +386 -0
- package/dist/subgraphs/service-subscriptions/index.d.ts +11 -0
- package/dist/subgraphs/service-subscriptions/index.d.ts.map +1 -0
- package/dist/subgraphs/service-subscriptions/index.js +11 -0
- package/dist/subgraphs/service-subscriptions/resolvers.d.ts +3 -0
- package/dist/subgraphs/service-subscriptions/resolvers.d.ts.map +1 -0
- package/dist/subgraphs/service-subscriptions/resolvers.js +228 -0
- package/dist/subgraphs/service-subscriptions/schema.d.ts +3 -0
- package/dist/subgraphs/service-subscriptions/schema.d.ts.map +1 -0
- package/dist/subgraphs/service-subscriptions/schema.js +193 -0
- package/dist/subgraphs/snapshot-report/index.d.ts +11 -0
- package/dist/subgraphs/snapshot-report/index.d.ts.map +1 -0
- package/dist/subgraphs/snapshot-report/index.js +11 -0
- package/dist/subgraphs/snapshot-report/resolvers.d.ts +3 -0
- package/dist/subgraphs/snapshot-report/resolvers.d.ts.map +1 -0
- package/dist/subgraphs/snapshot-report/resolvers.js +276 -0
- package/dist/subgraphs/snapshot-report/schema.d.ts +3 -0
- package/dist/subgraphs/snapshot-report/schema.d.ts.map +1 -0
- package/dist/subgraphs/snapshot-report/schema.js +206 -0
- package/package.json +15 -13
- package/dist/document-models/integrations/actions.d.ts.map +0 -1
- package/dist/document-models/integrations/actions.js +0 -4
- package/dist/document-models/integrations/gen/actions.d.ts +0 -4
- package/dist/document-models/integrations/gen/actions.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/actions.js +0 -1
- package/dist/document-models/integrations/gen/creators.d.ts +0 -3
- package/dist/document-models/integrations/gen/creators.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/creators.js +0 -2
- package/dist/document-models/integrations/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/document-model.js +0 -70
- package/dist/document-models/integrations/gen/document-schema.d.ts +0 -180
- package/dist/document-models/integrations/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/document-schema.js +0 -33
- package/dist/document-models/integrations/gen/document-type.d.ts +0 -2
- package/dist/document-models/integrations/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/document-type.js +0 -1
- package/dist/document-models/integrations/gen/index.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/integrations/actions.d.ts +0 -16
- package/dist/document-models/integrations/gen/integrations/actions.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/integrations/creators.d.ts +0 -6
- package/dist/document-models/integrations/gen/integrations/creators.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/integrations/creators.js +0 -5
- package/dist/document-models/integrations/gen/integrations/error.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/integrations/operations.d.ts +0 -9
- package/dist/document-models/integrations/gen/integrations/operations.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/integrations/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/reducer.d.ts +0 -3
- package/dist/document-models/integrations/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/reducer.js +0 -25
- package/dist/document-models/integrations/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/schema/zod.d.ts +0 -19
- package/dist/document-models/integrations/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/schema/zod.js +0 -97
- package/dist/document-models/integrations/gen/types.d.ts +0 -12
- package/dist/document-models/integrations/gen/types.d.ts.map +0 -1
- package/dist/document-models/integrations/gen/utils.d.ts +0 -15
- package/dist/document-models/integrations/gen/utils.d.ts.map +0 -1
- package/dist/document-models/integrations/hooks.d.ts +0 -11
- package/dist/document-models/integrations/hooks.d.ts.map +0 -1
- package/dist/document-models/integrations/hooks.js +0 -26
- package/dist/document-models/integrations/index.d.ts.map +0 -1
- package/dist/document-models/integrations/module.d.ts +0 -5
- package/dist/document-models/integrations/module.d.ts.map +0 -1
- package/dist/document-models/integrations/src/index.d.ts.map +0 -1
- package/dist/document-models/integrations/src/reducers/integrations.d.ts +0 -3
- package/dist/document-models/integrations/src/reducers/integrations.d.ts.map +0 -1
- package/dist/document-models/integrations/src/reducers/integrations.js +0 -14
- package/dist/document-models/integrations/src/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/integrations/src/tests/integrations.test.d.ts.map +0 -1
- package/dist/document-models/integrations/src/utils.d.ts.map +0 -1
- package/dist/document-models/integrations/utils.d.ts +0 -14
- package/dist/document-models/integrations/utils.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/CreateDocument.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/DriveContents.d.ts +0 -3
- package/dist/editors/clean-new-editor/components/DriveContents.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/DriveContents.js +0 -10
- package/dist/editors/clean-new-editor/components/DriveExplorer.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/DriveExplorer.js +0 -16
- package/dist/editors/clean-new-editor/components/EmptyState.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/Files.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/FolderTree.d.ts +0 -6
- package/dist/editors/clean-new-editor/components/FolderTree.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/FolderTree.js +0 -65
- package/dist/editors/clean-new-editor/components/Folders.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/components/NavigationBreadcrumbs.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/config.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/config.js +0 -5
- package/dist/editors/clean-new-editor/editor.d.ts.map +0 -1
- package/dist/editors/clean-new-editor/module.d.ts +0 -3
- package/dist/editors/clean-new-editor/module.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/ConfirmationModal.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/HeaderControls.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/HeaderStats.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/HeaderStats.js +0 -73
- package/dist/editors/contributor-billing/components/InvoiceTable.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/InvoiceTableContainer.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/InvoiceTableRow.d.ts.map +0 -1
- package/dist/editors/contributor-billing/components/InvoiceTableSection.d.ts.map +0 -1
- package/dist/editors/integrations/components/EditName.d.ts +0 -3
- package/dist/editors/integrations/components/EditName.d.ts.map +0 -1
- package/dist/editors/integrations/components/EditName.js +0 -31
- package/dist/editors/integrations/editor.d.ts +0 -3
- package/dist/editors/integrations/editor.d.ts.map +0 -1
- package/dist/editors/integrations/editor.js +0 -6
- package/dist/editors/integrations/module.d.ts.map +0 -1
- package/dist/editors/integrations/module.js +0 -10
- package/dist/old-contributor-billing/components/DriveExplorer.d.ts +0 -7
- package/dist/old-contributor-billing/components/DriveExplorer.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/DriveExplorer.js +0 -184
- package/dist/old-contributor-billing/components/InvoiceTable/HeaderControls.d.ts +0 -25
- package/dist/old-contributor-billing/components/InvoiceTable/HeaderControls.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/InvoiceTable/HeaderControls.js +0 -154
- package/dist/old-contributor-billing/components/InvoiceTable/HeaderStats.d.ts +0 -2
- package/dist/old-contributor-billing/components/InvoiceTable/HeaderStats.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTable.d.ts +0 -30
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTable.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTable.js +0 -254
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTableRow.d.ts +0 -16
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTableRow.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTableRow.js +0 -47
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTableSection.d.ts +0 -10
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTableSection.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/InvoiceTable/InvoiceTableSection.js +0 -10
- package/dist/old-contributor-billing/components/InvoiceTable/RowActionMenu.d.ts +0 -8
- package/dist/old-contributor-billing/components/InvoiceTable/RowActionMenu.d.ts.map +0 -1
- package/dist/old-contributor-billing/components/InvoiceTable/RowActionMenu.js +0 -2
- package/dist/old-contributor-billing/config.d.ts +0 -3
- package/dist/old-contributor-billing/config.d.ts.map +0 -1
- package/dist/old-contributor-billing/config.js +0 -4
- package/dist/old-contributor-billing/editor.d.ts +0 -3
- package/dist/old-contributor-billing/editor.d.ts.map +0 -1
- package/dist/old-contributor-billing/editor.js +0 -8
- package/dist/old-contributor-billing/module.d.ts +0 -3
- package/dist/old-contributor-billing/module.d.ts.map +0 -1
- package/dist/old-contributor-billing/module.js +0 -9
- package/dist/old-contributor-billing/util.d.ts +0 -10
- package/dist/old-contributor-billing/util.d.ts.map +0 -1
- package/dist/old-contributor-billing/util.js +0 -112
- package/dist/subgraphs/integrations/index.d.ts.map +0 -1
- package/dist/subgraphs/integrations/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/integrations/schema.d.ts.map +0 -1
- package/dist/subgraphs/integrations/schema.js +0 -69
- /package/dist/document-models/{integrations/gen/integrations → account-transactions/gen/account}/actions.js +0 -0
- /package/dist/document-models/{integrations/gen/integrations → account-transactions/gen/account}/error.d.ts +0 -0
- /package/dist/document-models/{integrations/gen/integrations → account-transactions/gen/account}/error.js +0 -0
- /package/dist/document-models/{integrations/gen/integrations → account-transactions/gen/account}/operations.js +0 -0
- /package/dist/document-models/{integrations → account-transactions}/gen/document-model.d.ts +0 -0
- /package/dist/document-models/{integrations → account-transactions}/gen/schema/index.d.ts +0 -0
- /package/dist/document-models/{integrations → account-transactions}/gen/schema/index.js +0 -0
- /package/dist/document-models/{integrations → account-transactions}/gen/schema/types.js +0 -0
- /package/dist/document-models/{integrations → account-transactions}/gen/types.js +0 -0
- /package/dist/document-models/{integrations → account-transactions}/index.d.ts +0 -0
- /package/dist/document-models/{integrations → account-transactions}/index.js +0 -0
- /package/dist/document-models/{integrations → account-transactions}/src/index.d.ts +0 -0
- /package/dist/document-models/{integrations → account-transactions}/src/index.js +0 -0
- /package/dist/document-models/{integrations → account-transactions}/src/tests/document-model.test.d.ts +0 -0
- /package/dist/document-models/{integrations → account-transactions}/src/utils.d.ts +0 -0
- /package/dist/document-models/{integrations → account-transactions}/src/utils.js +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/CreateDocument.d.ts +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/CreateDocument.js +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/DriveExplorer.d.ts +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/EmptyState.d.ts +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/EmptyState.js +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/Files.d.ts +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/Files.js +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/Folders.d.ts +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/Folders.js +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/NavigationBreadcrumbs.d.ts +0 -0
- /package/dist/editors/{clean-new-editor → builder-team-admin}/components/NavigationBreadcrumbs.js +0 -0
- /package/dist/editors/contributor-billing/components/{ConfirmationModal.d.ts → InvoiceTable/ConfirmationModal.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{ConfirmationModal.js → InvoiceTable/ConfirmationModal.js} +0 -0
- /package/dist/editors/contributor-billing/components/{HeaderControls.d.ts → InvoiceTable/HeaderControls.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{HeaderControls.js → InvoiceTable/HeaderControls.js} +0 -0
- /package/dist/editors/contributor-billing/components/{HeaderStats.d.ts → InvoiceTable/HeaderStats.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTable.d.ts → InvoiceTable/InvoiceTable.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTableContainer.d.ts → InvoiceTable/InvoiceTableContainer.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTableContainer.js → InvoiceTable/InvoiceTableContainer.js} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTableRow.d.ts → InvoiceTable/InvoiceTableRow.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTableRow.js → InvoiceTable/InvoiceTableRow.js} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTableSection.d.ts → InvoiceTable/InvoiceTableSection.d.ts} +0 -0
- /package/dist/editors/contributor-billing/components/{InvoiceTableSection.js → InvoiceTable/InvoiceTableSection.js} +0 -0
- /package/dist/subgraphs/{integrations → acc-txs-addon}/schema.d.ts +0 -0
- /package/dist/subgraphs/{integrations → account-transactions}/resolvers.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type SignalDispatch } from "document-model";
|
|
2
|
+
import { type SetStartingBalanceAction, type SetEndingBalanceAction, type RemoveStartingBalanceAction, type RemoveEndingBalanceAction } from "./actions.js";
|
|
3
|
+
import { type SnapshotReportState } from "../types.js";
|
|
4
|
+
export interface SnapshotReportBalancesOperations {
|
|
5
|
+
setStartingBalanceOperation: (state: SnapshotReportState, action: SetStartingBalanceAction, dispatch?: SignalDispatch) => void;
|
|
6
|
+
setEndingBalanceOperation: (state: SnapshotReportState, action: SetEndingBalanceAction, dispatch?: SignalDispatch) => void;
|
|
7
|
+
removeStartingBalanceOperation: (state: SnapshotReportState, action: RemoveStartingBalanceAction, dispatch?: SignalDispatch) => void;
|
|
8
|
+
removeEndingBalanceOperation: (state: SnapshotReportState, action: RemoveEndingBalanceAction, dispatch?: SignalDispatch) => void;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../document-models/snapshot-report/gen/balances/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,gCAAgC;IAC/C,2BAA2B,EAAE,CAC3B,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,wBAAwB,EAChC,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,yBAAyB,EAAE,CACzB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,sBAAsB,EAC9B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,8BAA8B,EAAE,CAC9B,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,2BAA2B,EACnC,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,4BAA4B,EAAE,CAC5B,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,yBAAyB,EACjC,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;CACX"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Action } from "document-model";
|
|
2
|
+
import type { SetReportConfigInput, SetAccountsDocumentInput, SetPeriodInput, SetOwnerIdInput, SetPeriodStartInput, SetPeriodEndInput } from "../types.js";
|
|
3
|
+
export type SetReportConfigAction = Action & {
|
|
4
|
+
type: "SET_REPORT_CONFIG";
|
|
5
|
+
input: SetReportConfigInput;
|
|
6
|
+
};
|
|
7
|
+
export type SetAccountsDocumentAction = Action & {
|
|
8
|
+
type: "SET_ACCOUNTS_DOCUMENT";
|
|
9
|
+
input: SetAccountsDocumentInput;
|
|
10
|
+
};
|
|
11
|
+
export type SetPeriodAction = Action & {
|
|
12
|
+
type: "SET_PERIOD";
|
|
13
|
+
input: SetPeriodInput;
|
|
14
|
+
};
|
|
15
|
+
export type SetOwnerIdAction = Action & {
|
|
16
|
+
type: "SET_OWNER_ID";
|
|
17
|
+
input: SetOwnerIdInput;
|
|
18
|
+
};
|
|
19
|
+
export type SetPeriodStartAction = Action & {
|
|
20
|
+
type: "SET_PERIOD_START";
|
|
21
|
+
input: SetPeriodStartInput;
|
|
22
|
+
};
|
|
23
|
+
export type SetPeriodEndAction = Action & {
|
|
24
|
+
type: "SET_PERIOD_END";
|
|
25
|
+
input: SetPeriodEndInput;
|
|
26
|
+
};
|
|
27
|
+
export type SnapshotReportConfigurationAction = SetReportConfigAction | SetAccountsDocumentAction | SetPeriodAction | SetOwnerIdAction | SetPeriodStartAction | SetPeriodEndAction;
|
|
28
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../document-models/snapshot-report/gen/configuration/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG;IAC3C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG;IAC/C,IAAI,EAAE,uBAAuB,CAAC;IAC9B,KAAK,EAAE,wBAAwB,CAAC;CACjC,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,cAAc,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG;IAC1C,IAAI,EAAE,kBAAkB,CAAC;IACzB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,iCAAiC,GACzC,qBAAqB,GACrB,yBAAyB,GACzB,eAAe,GACf,gBAAgB,GAChB,oBAAoB,GACpB,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {} from "document-model";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SetReportConfigInput, SetAccountsDocumentInput, SetPeriodInput, SetOwnerIdInput, SetPeriodStartInput, SetPeriodEndInput } from "../types.js";
|
|
2
|
+
import type { SetReportConfigAction, SetAccountsDocumentAction, SetPeriodAction, SetOwnerIdAction, SetPeriodStartAction, SetPeriodEndAction } from "./actions.js";
|
|
3
|
+
export declare const setReportConfig: (input: SetReportConfigInput) => SetReportConfigAction;
|
|
4
|
+
export declare const setAccountsDocument: (input: SetAccountsDocumentInput) => SetAccountsDocumentAction;
|
|
5
|
+
export declare const setPeriod: (input: SetPeriodInput) => SetPeriodAction;
|
|
6
|
+
export declare const setOwnerId: (input: SetOwnerIdInput) => SetOwnerIdAction;
|
|
7
|
+
export declare const setPeriodStart: (input: SetPeriodStartInput) => SetPeriodStartAction;
|
|
8
|
+
export declare const setPeriodEnd: (input: SetPeriodEndInput) => SetPeriodEndAction;
|
|
9
|
+
//# sourceMappingURL=creators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../../document-models/snapshot-report/gen/configuration/creators.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EACzB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,0BAOxD,CAAC;AAEJ,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,8BAOhE,CAAC;AAEJ,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,oBAO5C,CAAC;AAEJ,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,qBAO9C,CAAC;AAEJ,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,yBAOtD,CAAC;AAEJ,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,uBAOlD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createAction } from "document-model/core";
|
|
2
|
+
import { SetReportConfigInputSchema, SetAccountsDocumentInputSchema, SetPeriodInputSchema, SetOwnerIdInputSchema, SetPeriodStartInputSchema, SetPeriodEndInputSchema, } from "../schema/zod.js";
|
|
3
|
+
export const setReportConfig = (input) => createAction("SET_REPORT_CONFIG", { ...input }, undefined, SetReportConfigInputSchema, "global");
|
|
4
|
+
export const setAccountsDocument = (input) => createAction("SET_ACCOUNTS_DOCUMENT", { ...input }, undefined, SetAccountsDocumentInputSchema, "global");
|
|
5
|
+
export const setPeriod = (input) => createAction("SET_PERIOD", { ...input }, undefined, SetPeriodInputSchema, "global");
|
|
6
|
+
export const setOwnerId = (input) => createAction("SET_OWNER_ID", { ...input }, undefined, SetOwnerIdInputSchema, "global");
|
|
7
|
+
export const setPeriodStart = (input) => createAction("SET_PERIOD_START", { ...input }, undefined, SetPeriodStartInputSchema, "global");
|
|
8
|
+
export const setPeriodEnd = (input) => createAction("SET_PERIOD_END", { ...input }, undefined, SetPeriodEndInputSchema, "global");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../document-models/snapshot-report/gen/configuration/error.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const errors = {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type SignalDispatch } from "document-model";
|
|
2
|
+
import { type SetReportConfigAction, type SetAccountsDocumentAction, type SetPeriodAction, type SetOwnerIdAction, type SetPeriodStartAction, type SetPeriodEndAction } from "./actions.js";
|
|
3
|
+
import { type SnapshotReportState } from "../types.js";
|
|
4
|
+
export interface SnapshotReportConfigurationOperations {
|
|
5
|
+
setReportConfigOperation: (state: SnapshotReportState, action: SetReportConfigAction, dispatch?: SignalDispatch) => void;
|
|
6
|
+
setAccountsDocumentOperation: (state: SnapshotReportState, action: SetAccountsDocumentAction, dispatch?: SignalDispatch) => void;
|
|
7
|
+
setPeriodOperation: (state: SnapshotReportState, action: SetPeriodAction, dispatch?: SignalDispatch) => void;
|
|
8
|
+
setOwnerIdOperation: (state: SnapshotReportState, action: SetOwnerIdAction, dispatch?: SignalDispatch) => void;
|
|
9
|
+
setPeriodStartOperation: (state: SnapshotReportState, action: SetPeriodStartAction, dispatch?: SignalDispatch) => void;
|
|
10
|
+
setPeriodEndOperation: (state: SnapshotReportState, action: SetPeriodEndAction, dispatch?: SignalDispatch) => void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../document-models/snapshot-report/gen/configuration/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACxB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,qCAAqC;IACpD,wBAAwB,EAAE,CACxB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,qBAAqB,EAC7B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,4BAA4B,EAAE,CAC5B,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,yBAAyB,EACjC,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,kBAAkB,EAAE,CAClB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,eAAe,EACvB,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,mBAAmB,EAAE,CACnB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,gBAAgB,EACxB,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,uBAAuB,EAAE,CACvB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,oBAAoB,EAC5B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,qBAAqB,EAAE,CACrB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,kBAAkB,EAC1B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;CACX"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./configuration/creators.js";
|
|
2
|
+
export * as configurationActions from "./configuration/creators.js";
|
|
3
|
+
export * from "./accounts/creators.js";
|
|
4
|
+
export * as accountsActions from "./accounts/creators.js";
|
|
5
|
+
export * from "./balances/creators.js";
|
|
6
|
+
export * as balancesActions from "./balances/creators.js";
|
|
7
|
+
export * from "./transactions/creators.js";
|
|
8
|
+
export * as transactionsActions from "./transactions/creators.js";
|
|
9
|
+
//# sourceMappingURL=creators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../document-models/snapshot-report/gen/creators.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AACpE,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,cAAc,wBAAwB,CAAC;AACvC,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,cAAc,4BAA4B,CAAC;AAC3C,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./configuration/creators.js";
|
|
2
|
+
export * as configurationActions from "./configuration/creators.js";
|
|
3
|
+
export * from "./accounts/creators.js";
|
|
4
|
+
export * as accountsActions from "./accounts/creators.js";
|
|
5
|
+
export * from "./balances/creators.js";
|
|
6
|
+
export * as balancesActions from "./balances/creators.js";
|
|
7
|
+
export * from "./transactions/creators.js";
|
|
8
|
+
export * as transactionsActions from "./transactions/creators.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/snapshot-report/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAiY3B,CAAC"}
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
export const documentModel = {
|
|
2
|
+
author: {
|
|
3
|
+
name: "Powerhouse",
|
|
4
|
+
website: "https://www.powerhouse.inc/",
|
|
5
|
+
},
|
|
6
|
+
description: "Document model for creating snapshot reports that track fund flows through categorized accounts over a specified accounting period",
|
|
7
|
+
extension: "",
|
|
8
|
+
id: "powerhouse/snapshot-report",
|
|
9
|
+
name: "Snapshot Report",
|
|
10
|
+
specifications: [
|
|
11
|
+
{
|
|
12
|
+
changeLog: [],
|
|
13
|
+
modules: [
|
|
14
|
+
{
|
|
15
|
+
description: "Operations for configuring the snapshot report",
|
|
16
|
+
id: "config",
|
|
17
|
+
name: "configuration",
|
|
18
|
+
operations: [
|
|
19
|
+
{
|
|
20
|
+
description: "Set the report configuration including name, period, and accounts document reference",
|
|
21
|
+
errors: [],
|
|
22
|
+
examples: [],
|
|
23
|
+
id: "set-report-config",
|
|
24
|
+
name: "SET_REPORT_CONFIG",
|
|
25
|
+
reducer: "if (action.input.reportName !== undefined && action.input.reportName !== null) {\n state.reportName = action.input.reportName;\n}\nif (action.input.startDate !== undefined && action.input.startDate !== null) {\n state.startDate = action.input.startDate;\n}\nif (action.input.endDate !== undefined && action.input.endDate !== null) {\n state.endDate = action.input.endDate;\n}\nif (action.input.accountsDocumentId !== undefined && action.input.accountsDocumentId !== null) {\n state.accountsDocumentId = action.input.accountsDocumentId;\n}\nif (action.input.ownerId !== undefined && action.input.ownerId !== null) {\n state.ownerId = action.input.ownerId;\n}",
|
|
26
|
+
schema: "input SetReportConfigInput {\n reportName: String\n startDate: DateTime\n endDate: DateTime\n accountsDocumentId: PHID\n ownerId: PHID\n}",
|
|
27
|
+
scope: "global",
|
|
28
|
+
template: "Set the report configuration including name, period, and accounts document reference",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
description: "Link the snapshot report to an Accounts document",
|
|
32
|
+
errors: [],
|
|
33
|
+
examples: [],
|
|
34
|
+
id: "set-accounts-document",
|
|
35
|
+
name: "SET_ACCOUNTS_DOCUMENT",
|
|
36
|
+
reducer: "state.accountsDocumentId = action.input.accountsDocumentId;",
|
|
37
|
+
schema: "input SetAccountsDocumentInput {\n accountsDocumentId: PHID!\n}",
|
|
38
|
+
scope: "global",
|
|
39
|
+
template: "Link the snapshot report to an Accounts document",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
description: "Set the accounting period for the snapshot report",
|
|
43
|
+
errors: [],
|
|
44
|
+
examples: [],
|
|
45
|
+
id: "set-period",
|
|
46
|
+
name: "SET_PERIOD",
|
|
47
|
+
reducer: "state.startDate = action.input.startDate;\nstate.endDate = action.input.endDate;",
|
|
48
|
+
schema: "input SetPeriodInput {\n startDate: DateTime!\n endDate: DateTime!\n}",
|
|
49
|
+
scope: "global",
|
|
50
|
+
template: "Set the accounting period for the snapshot report",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "Set the owner ID (builder team) for the snapshot report",
|
|
54
|
+
errors: [],
|
|
55
|
+
examples: [],
|
|
56
|
+
id: "set-owner-id",
|
|
57
|
+
name: "SET_OWNER_ID",
|
|
58
|
+
reducer: "state.ownerId = action.input.ownerId;",
|
|
59
|
+
schema: "input SetOwnerIdInput {\n ownerId: PHID!\n}",
|
|
60
|
+
scope: "global",
|
|
61
|
+
template: "Set the owner ID (builder team) for the snapshot report",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
description: "",
|
|
65
|
+
errors: [],
|
|
66
|
+
examples: [],
|
|
67
|
+
id: "80c12645-0005-4534-b578-52a40582d18e",
|
|
68
|
+
name: "SET_PERIOD_START",
|
|
69
|
+
reducer: "",
|
|
70
|
+
schema: "input SetPeriodStartInput {\n periodStart: DateTime!\n}",
|
|
71
|
+
scope: "global",
|
|
72
|
+
template: "",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "",
|
|
76
|
+
errors: [],
|
|
77
|
+
examples: [],
|
|
78
|
+
id: "05d31622-9b31-493a-948b-c817867ce5eb",
|
|
79
|
+
name: "SET_PERIOD_END",
|
|
80
|
+
reducer: "",
|
|
81
|
+
schema: "input SetPeriodEndInput {\n periodEnd: DateTime!\n}",
|
|
82
|
+
scope: "global",
|
|
83
|
+
template: "",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
description: "Operations for managing snapshot accounts",
|
|
89
|
+
id: "accounts",
|
|
90
|
+
name: "accounts",
|
|
91
|
+
operations: [
|
|
92
|
+
{
|
|
93
|
+
description: "Add an account to the snapshot report",
|
|
94
|
+
errors: [
|
|
95
|
+
{
|
|
96
|
+
code: "DUPLICATE_ACCOUNT",
|
|
97
|
+
description: "An account with this ID already exists in the snapshot",
|
|
98
|
+
id: "duplicate-account-error",
|
|
99
|
+
name: "DuplicateAccountError",
|
|
100
|
+
template: "",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
examples: [],
|
|
104
|
+
id: "add-snapshot-account",
|
|
105
|
+
name: "ADD_SNAPSHOT_ACCOUNT",
|
|
106
|
+
reducer: "const existingAccount = state.snapshotAccounts.find(a => a.id === action.input.id);\nif (existingAccount) {\n throw new DuplicateAccountError(`Account with ID ${action.input.id} already exists`);\n}\n\nconst newAccount = {\n id: action.input.id,\n accountId: action.input.accountId,\n accountAddress: action.input.accountAddress,\n accountName: action.input.accountName,\n type: action.input.type,\n accountTransactionsId: action.input.accountTransactionsId || null,\n startingBalances: [],\n endingBalances: [],\n transactions: []\n};\n\nstate.snapshotAccounts.push(newAccount);",
|
|
107
|
+
schema: "input AddSnapshotAccountInput {\n id: OID!\n accountId: OID!\n accountAddress: String!\n accountName: String!\n type: AccountTypeInput!\n accountTransactionsId: PHID\n}",
|
|
108
|
+
scope: "global",
|
|
109
|
+
template: "Add an account to the snapshot report",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
description: "Update the type categorization of a snapshot account",
|
|
113
|
+
errors: [
|
|
114
|
+
{
|
|
115
|
+
code: "UPDATE_ACCOUNT_TYPE_ACCOUNT_NOT_FOUND",
|
|
116
|
+
description: "The specified account was not found in the snapshot",
|
|
117
|
+
id: "account-not-found-error",
|
|
118
|
+
name: "UpdateAccountTypeNotFoundError",
|
|
119
|
+
template: "",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
examples: [],
|
|
123
|
+
id: "update-account-type",
|
|
124
|
+
name: "UPDATE_SNAPSHOT_ACCOUNT_TYPE",
|
|
125
|
+
reducer: "const account = state.snapshotAccounts.find(a => a.id === action.input.id);\nif (!account) {\n throw new UpdateAccountTypeNotFoundError(`Account with ID ${action.input.id} not found`);\n}\n\naccount.type = action.input.type;",
|
|
126
|
+
schema: "input UpdateSnapshotAccountTypeInput {\n id: OID!\n type: AccountTypeInput!\n}",
|
|
127
|
+
scope: "global",
|
|
128
|
+
template: "Update the type categorization of a snapshot account",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
description: "Remove an account from the snapshot report",
|
|
132
|
+
errors: [
|
|
133
|
+
{
|
|
134
|
+
code: "REMOVE_ACCOUNT_NOT_FOUND",
|
|
135
|
+
description: "The specified account was not found in the snapshot",
|
|
136
|
+
id: "account-not-found-error-2",
|
|
137
|
+
name: "RemoveAccountNotFoundError",
|
|
138
|
+
template: "",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
examples: [],
|
|
142
|
+
id: "remove-snapshot-account",
|
|
143
|
+
name: "REMOVE_SNAPSHOT_ACCOUNT",
|
|
144
|
+
reducer: "const accountIndex = state.snapshotAccounts.findIndex(a => a.id === action.input.id);\nif (accountIndex === -1) {\n throw new RemoveAccountNotFoundError(`Account with ID ${action.input.id} not found`);\n}\n\nstate.snapshotAccounts.splice(accountIndex, 1);",
|
|
145
|
+
schema: "input RemoveSnapshotAccountInput {\n id: OID!\n}",
|
|
146
|
+
scope: "global",
|
|
147
|
+
template: "Remove an account from the snapshot report",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
description: "Operations for managing account token balances",
|
|
153
|
+
id: "balances",
|
|
154
|
+
name: "balances",
|
|
155
|
+
operations: [
|
|
156
|
+
{
|
|
157
|
+
description: "Set or update a starting balance for a token in a snapshot account",
|
|
158
|
+
errors: [
|
|
159
|
+
{
|
|
160
|
+
code: "SET_STARTING_BALANCE_ACCOUNT_NOT_FOUND",
|
|
161
|
+
description: "The specified account was not found in the snapshot",
|
|
162
|
+
id: "account-not-found-error-3",
|
|
163
|
+
name: "SetStartingBalanceAccountNotFoundError",
|
|
164
|
+
template: "",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
examples: [],
|
|
168
|
+
id: "set-starting-balance",
|
|
169
|
+
name: "SET_STARTING_BALANCE",
|
|
170
|
+
reducer: "const account = state.snapshotAccounts.find(a => a.id === action.input.accountId);\nif (!account) {\n throw new SetStartingBalanceAccountNotFoundError(`Account with ID ${action.input.accountId} not found`);\n}\n\nconst existingBalance = account.startingBalances.find(b => b.id === action.input.balanceId);\nif (existingBalance) {\n existingBalance.token = action.input.token;\n existingBalance.amount = action.input.amount;\n} else {\n account.startingBalances.push({\n id: action.input.balanceId,\n token: action.input.token,\n amount: action.input.amount\n });\n}",
|
|
171
|
+
schema: "input SetStartingBalanceInput {\n accountId: OID!\n balanceId: OID!\n token: Currency!\n amount: Amount_Currency!\n}",
|
|
172
|
+
scope: "global",
|
|
173
|
+
template: "Set or update a starting balance for a token in a snapshot account",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
description: "Set or update an ending balance for a token in a snapshot account",
|
|
177
|
+
errors: [
|
|
178
|
+
{
|
|
179
|
+
code: "SET_ENDING_BALANCE_ACCOUNT_NOT_FOUND",
|
|
180
|
+
description: "The specified account was not found in the snapshot",
|
|
181
|
+
id: "account-not-found-error-4",
|
|
182
|
+
name: "SetEndingBalanceAccountNotFoundError",
|
|
183
|
+
template: "",
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
examples: [],
|
|
187
|
+
id: "set-ending-balance",
|
|
188
|
+
name: "SET_ENDING_BALANCE",
|
|
189
|
+
reducer: "const account = state.snapshotAccounts.find(a => a.id === action.input.accountId);\nif (!account) {\n throw new SetEndingBalanceAccountNotFoundError(`Account with ID ${action.input.accountId} not found`);\n}\n\nconst existingBalance = account.endingBalances.find(b => b.id === action.input.balanceId);\nif (existingBalance) {\n existingBalance.token = action.input.token;\n existingBalance.amount = action.input.amount;\n} else {\n account.endingBalances.push({\n id: action.input.balanceId,\n token: action.input.token,\n amount: action.input.amount\n });\n}",
|
|
190
|
+
schema: "input SetEndingBalanceInput {\n accountId: OID!\n balanceId: OID!\n token: Currency!\n amount: Amount_Currency!\n}",
|
|
191
|
+
scope: "global",
|
|
192
|
+
template: "Set or update an ending balance for a token in a snapshot account",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
description: "Remove a starting balance entry from a snapshot account",
|
|
196
|
+
errors: [
|
|
197
|
+
{
|
|
198
|
+
code: "REMOVE_STARTING_BALANCE_NOT_FOUND",
|
|
199
|
+
description: "The specified balance was not found",
|
|
200
|
+
id: "balance-not-found-error",
|
|
201
|
+
name: "RemoveStartingBalanceNotFoundError",
|
|
202
|
+
template: "",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
examples: [],
|
|
206
|
+
id: "remove-starting-balance",
|
|
207
|
+
name: "REMOVE_STARTING_BALANCE",
|
|
208
|
+
reducer: "const account = state.snapshotAccounts.find(a => a.id === action.input.accountId);\nif (!account) {\n throw new SetStartingBalanceAccountNotFoundError(`Account with ID ${action.input.accountId} not found`);\n}\n\nconst balanceIndex = account.startingBalances.findIndex(b => b.id === action.input.balanceId);\nif (balanceIndex === -1) {\n throw new RemoveStartingBalanceNotFoundError(`Balance with ID ${action.input.balanceId} not found`);\n}\n\naccount.startingBalances.splice(balanceIndex, 1);",
|
|
209
|
+
schema: "input RemoveStartingBalanceInput {\n accountId: OID!\n balanceId: OID!\n}",
|
|
210
|
+
scope: "global",
|
|
211
|
+
template: "Remove a starting balance entry from a snapshot account",
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
description: "Remove an ending balance entry from a snapshot account",
|
|
215
|
+
errors: [
|
|
216
|
+
{
|
|
217
|
+
code: "REMOVE_ENDING_BALANCE_NOT_FOUND",
|
|
218
|
+
description: "The specified balance was not found",
|
|
219
|
+
id: "balance-not-found-error-2",
|
|
220
|
+
name: "RemoveEndingBalanceNotFoundError",
|
|
221
|
+
template: "",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
examples: [],
|
|
225
|
+
id: "remove-ending-balance",
|
|
226
|
+
name: "REMOVE_ENDING_BALANCE",
|
|
227
|
+
reducer: "const account = state.snapshotAccounts.find(a => a.id === action.input.accountId);\nif (!account) {\n throw new SetEndingBalanceAccountNotFoundError(`Account with ID ${action.input.accountId} not found`);\n}\n\nconst balanceIndex = account.endingBalances.findIndex(b => b.id === action.input.balanceId);\nif (balanceIndex === -1) {\n throw new RemoveEndingBalanceNotFoundError(`Balance with ID ${action.input.balanceId} not found`);\n}\n\naccount.endingBalances.splice(balanceIndex, 1);",
|
|
228
|
+
schema: "input RemoveEndingBalanceInput {\n accountId: OID!\n balanceId: OID!\n}",
|
|
229
|
+
scope: "global",
|
|
230
|
+
template: "Remove an ending balance entry from a snapshot account",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
description: "Operations for managing snapshot transactions",
|
|
236
|
+
id: "transactions",
|
|
237
|
+
name: "transactions",
|
|
238
|
+
operations: [
|
|
239
|
+
{
|
|
240
|
+
description: "Add a transaction to the snapshot with enrichment data",
|
|
241
|
+
errors: [
|
|
242
|
+
{
|
|
243
|
+
code: "DUPLICATE_TRANSACTION",
|
|
244
|
+
description: "A transaction with this ID already exists in the snapshot",
|
|
245
|
+
id: "duplicate-transaction-error",
|
|
246
|
+
name: "DuplicateTransactionError",
|
|
247
|
+
template: "",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
code: "ADD_TRANSACTION_ACCOUNT_NOT_FOUND",
|
|
251
|
+
description: "The specified account was not found in the snapshot",
|
|
252
|
+
id: "account-not-found-error-5",
|
|
253
|
+
name: "AddTransactionAccountNotFoundError",
|
|
254
|
+
template: "",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
examples: [],
|
|
258
|
+
id: "add-transaction",
|
|
259
|
+
name: "ADD_TRANSACTION",
|
|
260
|
+
reducer: 'const account = state.snapshotAccounts.find(a => a.id === action.input.accountId);\nif (!account) {\n throw new AddTransactionAccountNotFoundError(`Account with ID ${action.input.accountId} not found`);\n}\n\nconst existingTransaction = account.transactions.find(t => t.id === action.input.id);\nif (existingTransaction) {\n throw new DuplicateTransactionError(`Transaction with ID ${action.input.id} already exists`);\n}\n\n// AUTO-CATEGORIZATION: Determine flow type and counter-party account ID\nlet flowType = action.input.flowType || null;\nlet counterPartyAccountId = action.input.counterPartyAccountId || null;\n\nif (action.input.counterParty) {\n // Find counter-party account in snapshot\n const counterPartyAccount = state.snapshotAccounts.find(\n (acc) => acc.accountAddress.toLowerCase() === action.input.counterParty.toLowerCase(),\n );\n\n if (counterPartyAccount) {\n // Auto-link counter-party account\n counterPartyAccountId = counterPartyAccount.id;\n\n // Auto-categorize flow type if not explicitly provided\n if (!flowType) {\n // Determine sender and receiver types based on transaction direction\n const fromType =\n action.input.direction === "OUTFLOW"\n ? account.type\n : counterPartyAccount.type;\n const toType =\n action.input.direction === "OUTFLOW"\n ? counterPartyAccount.type\n : account.type;\n\n // Flow categorization rules\n if (fromType === "Source") {\n flowType = "TopUp";\n } else if (toType === "Source") {\n flowType = "Return";\n } else if (toType === "Destination") {\n flowType = "TopUp";\n } else if (fromType === "External") {\n flowType = "External";\n } else if (fromType === "Internal" && toType === "Internal") {\n flowType = "Internal";\n } else if (fromType === "Internal" && toType === "External") {\n flowType = "External";\n } else {\n flowType = "External";\n }\n }\n } else if (!flowType) {\n // FALLBACK: Counter-party not found in snapshot, default to External\n flowType = "External";\n }\n} else if (!flowType) {\n // FALLBACK: No counter-party provided, default to External\n flowType = "External";\n}\n\nconst newTransaction = {\n id: action.input.id,\n transactionId: action.input.transactionId,\n counterParty: action.input.counterParty || null,\n amount: action.input.amount,\n datetime: action.input.datetime,\n txHash: action.input.txHash,\n token: action.input.token,\n blockNumber: action.input.blockNumber || null,\n direction: action.input.direction,\n flowType: flowType,\n counterPartyAccountId: counterPartyAccountId,\n};\n\naccount.transactions.push(newTransaction);',
|
|
261
|
+
schema: "input AddTransactionInput {\n accountId: OID!\n id: OID!\n transactionId: String!\n counterParty: EthereumAddress\n amount: Amount_Currency!\n datetime: DateTime!\n txHash: String!\n token: Currency!\n blockNumber: Int\n direction: TransactionDirectionInput!\n flowType: TransactionFlowTypeInput\n counterPartyAccountId: OID\n}\n",
|
|
262
|
+
scope: "global",
|
|
263
|
+
template: "Add a transaction to the snapshot with enrichment data",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
description: "Remove a transaction from the snapshot",
|
|
267
|
+
errors: [
|
|
268
|
+
{
|
|
269
|
+
code: "REMOVE_TRANSACTION_NOT_FOUND",
|
|
270
|
+
description: "The specified transaction was not found",
|
|
271
|
+
id: "transaction-not-found-error",
|
|
272
|
+
name: "RemoveTransactionNotFoundError",
|
|
273
|
+
template: "",
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
examples: [],
|
|
277
|
+
id: "remove-transaction",
|
|
278
|
+
name: "REMOVE_TRANSACTION",
|
|
279
|
+
reducer: "let found = false;\n\nfor (const account of state.snapshotAccounts) {\n const transactionIndex = account.transactions.findIndex(t => t.id === action.input.id);\n if (transactionIndex !== -1) {\n account.transactions.splice(transactionIndex, 1);\n found = true;\n break;\n }\n}\n\nif (!found) {\n throw new RemoveTransactionNotFoundError(`Transaction with ID ${action.input.id} not found`);\n}",
|
|
280
|
+
schema: "input RemoveTransactionInput {\n id: OID!\n}",
|
|
281
|
+
scope: "global",
|
|
282
|
+
template: "Remove a transaction from the snapshot",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
description: "Update the flow type categorization of a transaction",
|
|
286
|
+
errors: [
|
|
287
|
+
{
|
|
288
|
+
code: "UPDATE_FLOW_TYPE_TRANSACTION_NOT_FOUND",
|
|
289
|
+
description: "The specified transaction was not found",
|
|
290
|
+
id: "transaction-not-found-error-2",
|
|
291
|
+
name: "UpdateFlowTypeTransactionNotFoundError",
|
|
292
|
+
template: "",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
examples: [],
|
|
296
|
+
id: "update-flow-type",
|
|
297
|
+
name: "UPDATE_TRANSACTION_FLOW_TYPE",
|
|
298
|
+
reducer: "let transaction = null;\n\nfor (const account of state.snapshotAccounts) {\n transaction = account.transactions.find(t => t.id === action.input.id);\n if (transaction) {\n break;\n }\n}\n\nif (!transaction) {\n throw new UpdateFlowTypeTransactionNotFoundError(`Transaction with ID ${action.input.id} not found`);\n}\n\ntransaction.flowType = action.input.flowType;",
|
|
299
|
+
schema: "input UpdateTransactionFlowTypeInput {\n id: OID!\n flowType: TransactionFlowTypeInput!\n}",
|
|
300
|
+
scope: "global",
|
|
301
|
+
template: "Update the flow type categorization of a transaction",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
description: "Recalculate all transaction flow types based on current account types and counter-party relationships",
|
|
305
|
+
errors: [],
|
|
306
|
+
examples: [],
|
|
307
|
+
id: "recalculate-flow-types",
|
|
308
|
+
name: "RECALCULATE_FLOW_TYPES",
|
|
309
|
+
reducer: 'for (const account of state.snapshotAccounts) {\n for (const tx of account.transactions) {\n if (!tx.counterParty) continue;\n\n // Find counter-party account\n const counterPartyAccount = state.snapshotAccounts.find(\n (acc) => acc.accountAddress.toLowerCase() === tx.counterParty.toLowerCase(),\n );\n\n if (counterPartyAccount) {\n // Update counter-party link if missing\n if (!tx.counterPartyAccountId) {\n tx.counterPartyAccountId = counterPartyAccount.id;\n }\n\n // Recalculate flow type based on account types\n const fromType =\n tx.direction === "OUTFLOW" ? account.type : counterPartyAccount.type;\n const toType =\n tx.direction === "OUTFLOW" ? counterPartyAccount.type : account.type;\n\n // Flow categorization rules\n if (fromType === "Source") {\n tx.flowType = "TopUp";\n } else if (toType === "Source") {\n tx.flowType = "Return";\n } else if (toType === "Destination") {\n tx.flowType = "TopUp";\n } else if (fromType === "External") {\n tx.flowType = "External";\n } else if (fromType === "Internal" && toType === "Internal") {\n tx.flowType = "Internal";\n } else if (fromType === "Internal" && toType === "External") {\n tx.flowType = "External";\n } else {\n tx.flowType = "External";\n }\n }\n }\n}',
|
|
310
|
+
schema: "input RecalculateFlowTypesInput {\n _: String\n}",
|
|
311
|
+
scope: "global",
|
|
312
|
+
template: "Recalculate all transaction flow types based on current account types",
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
state: {
|
|
318
|
+
global: {
|
|
319
|
+
examples: [],
|
|
320
|
+
initialValue: '"{\\"ownerId\\": null, \\"accountsDocumentId\\": null, \\"startDate\\": null, \\"endDate\\": null, \\"reportName\\": null, \\"reportPeriodStart\\": null, \\"reportPeriodEnd\\": null, \\"snapshotAccounts\\": []}"',
|
|
321
|
+
schema: "type SnapshotReportState {\n ownerId: PHID\n accountsDocumentId: PHID\n startDate: DateTime\n endDate: DateTime\n reportName: String\n reportPeriodStart: DateTime\n reportPeriodEnd: DateTime\n snapshotAccounts: [SnapshotAccount!]!\n}\n\ntype SnapshotAccount {\n id: OID!\n accountId: OID!\n accountAddress: String!\n accountName: String!\n type: AccountType!\n accountTransactionsId: PHID\n startingBalances: [TokenBalance!]!\n endingBalances: [TokenBalance!]!\n transactions: [SnapshotTransaction!]!\n}\n\ntype TokenBalance {\n id: OID!\n token: Currency!\n amount: Amount_Currency!\n}\n\ntype SnapshotTransaction {\n id: OID!\n transactionId: String!\n counterParty: EthereumAddress\n amount: Amount_Currency!\n datetime: DateTime!\n txHash: String!\n token: Currency!\n blockNumber: Int\n direction: TransactionDirection!\n flowType: TransactionFlowType\n counterPartyAccountId: OID\n}\n\nenum AccountType {\n Source\n Internal\n Destination\n External\n}\n\nenum AccountTypeInput {\n Source\n Internal\n Destination\n External\n}\n\nenum TransactionDirection {\n INFLOW\n OUTFLOW\n}\n\nenum TransactionDirectionInput {\n INFLOW\n OUTFLOW\n}\n\nenum TransactionFlowType {\n TopUp\n Return\n Internal\n External\n}\n\nenum TransactionFlowTypeInput {\n TopUp\n Return\n Internal\n External\n}",
|
|
322
|
+
},
|
|
323
|
+
local: {
|
|
324
|
+
examples: [],
|
|
325
|
+
initialValue: '""',
|
|
326
|
+
schema: "",
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
version: 1,
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
};
|