Skip to content

Commit

Permalink
Merge pull request #546 from team-monite/dev
Browse files Browse the repository at this point in the history
fix(devops): Update main branch
  • Loading branch information
marcperezmonite authored Jan 24, 2025
2 parents ae66c00 + 22daef0 commit 18f0beb
Show file tree
Hide file tree
Showing 97 changed files with 17,863 additions and 9,863 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-birds-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13306): add financing tab
5 changes: 5 additions & 0 deletions .changeset/chilled-schools-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-12235): Payment terms create/update/delete
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [["@monite/sdk-react", "@monite/sdk-api"]],
"linked": [],
"access": "public",
"baseBranch": "origin/main",
"baseBranch": "origin/dev",
"updateInternalDependencies": "patch",
"ignore": ["sdk-demo-with-nextjs-and-clerk-auth"]
}
5 changes: 5 additions & 0 deletions .changeset/eighty-pandas-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13301): finance an invoice
5 changes: 5 additions & 0 deletions .changeset/flat-walls-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13389): Default bank account is selected during counterpart and currency selection
5 changes: 5 additions & 0 deletions .changeset/forty-onions-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13304): implement finance banner
5 changes: 5 additions & 0 deletions .changeset/healthy-roses-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13398): expose finance components
6 changes: 6 additions & 0 deletions .changeset/hungry-snakes-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@monite/sdk-react': minor
'@team-monite/sdk-demo': minor
---

feat(DEV-13399): add integrations page and finance application card
5 changes: 5 additions & 0 deletions .changeset/kind-impalas-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': patch
---

feat(DEV-13428): add wrapper for finance faq
5 changes: 5 additions & 0 deletions .changeset/lucky-pumas-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@monite/sdk-react': minor
---

feat(DEV-13346): show confirmation modal for bill cancelation
6 changes: 6 additions & 0 deletions .changeset/shy-otters-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@monite/sdk-react': minor
'@team-monite/sdk-demo': minor
---

feat(DEV-13399): add integrations page and finance application card
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Monite SDK
Use Monite SDK to embed invoicing and payables powered by [Monite](https://monite.com/) into your products.
Use Monite SDK to embed invoicing and payables powered by [Monite](https://monite.com/) into your products
The SDK provides React UI components for displaying and managing data served via the Monite API, as well as a standalone JavaScript API client for those whose prefer to build a UI from scratch.

## Packages
Expand Down
2 changes: 1 addition & 1 deletion examples/with-nextjs-and-clerk-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eslint": "8.57.0",
"eslint-config-next": "~14.0.3",
"mqtt": "~5.3.1",
"next": "~14.2.10",
"next": "~14.2.21",
"openapi-fetch": "~0.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@
"micromatch@npm:4.0.2": "4.0.8",
"vite@npm:5.1.8/rollup": "4.22.4",
"tsup@npm:8.0.2/rollup": "4.22.4",
"path-to-regexp@npm:0.1.10": "0.1.12",
"cookie@npm:0.5.0": "0.7.2",
"cookie@npm:^0.5.0": "0.7.2",
"cookie@npm:0.6.0": "0.7.2",
"nanoid@npm:^3.3.6": "3.3.8",
"ws": "^8.17.1"
},
"packageManager": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"cross-env": "^7.0.3",
"deepmerge": "~4.3.1",
"eslint": "~8.57.0",
"express": "^4.21.1",
"express": "~4.21.2",
"lodash-es": "~4.17.21",
"nanoid": "~5.0.9",
"node-fetch": "~3.3.1",
Expand All @@ -78,7 +78,7 @@
"sass": "^1.52.1",
"ts-node": "~10.9.1",
"typescript": "~5.5.4",
"vite": "~5.4.9",
"vite": "~5.4.12",
"web-vitals": "^2.1.4",
"yup": "~0.32.11"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/sdk-demo/src/apps/Base/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Products,
Tags,
Onboarding,
Integrations,
RolesAndApprovalPolicies,
} from '@monite/sdk-react';
import { Box } from '@mui/material';
Expand Down Expand Up @@ -94,6 +95,14 @@ export const Base = () => {
}
/>
<Route path={ROUTES.onboarding} element={<Onboarding />} />
<Route
path={ROUTES.integrations}
element={
<Gutter>
<Integrations />
</Gutter>
}
/>
<Route path="*" element={<Navigate to={ROUTES.counterparts} />} />
</Routes>
);
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-demo/src/apps/Base/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const ROUTES = {
receivables: '/receivables',
products: '/products',
onboarding: '/onboarding',
integrations: '/integrations',
rolesApprovals: '/settings/roles-approvals',
};
5 changes: 5 additions & 0 deletions packages/sdk-demo/src/components/Menu/consts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ export const getNavigationData = (
url: ROUTES.onboarding,
renderIcon: (props) => <LabelIcon {...props} />,
},
integrations: {
label: t(i18n)`Integrations`,
url: ROUTES.integrations,
renderIcon: (props) => <LabelIcon {...props} />,
},
},
},
});
4 changes: 4 additions & 0 deletions packages/sdk-demo/src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ msgstr "Entity User ID"
msgid "Error: <0>{0}</0>"
msgstr "Error: <0>{0}</0>"

#: src/components/Menu/consts.tsx:66
msgid "Integrations"
msgstr "Integrations"

#: src/components/LoginForm/LoginForm.tsx:128
msgid "Login"
msgstr "Login"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-drop-in/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"react-use": "^17.3.2",
"rimraf": "~5.0.0",
"typescript": "~5.5.4",
"vite": "~5.1.8"
"vite": "~5.4.12"
},
"dependencies": {
"@monite/sdk-api": "workspace:~"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-react/generate-api-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -o errexit
yarn exec openapi-qraft src/api/schema.json --plugin tanstack-query-react --plugin openapi-typescript \
--output-dir src/api --clean --filter-services '**,!/portal/**' \
--operation-predefined-parameters \
'/**,!/auth/**,!/entities/**,!/entity_users/me,!/entity_users/my_entity,!/entity_users/my_role,!/events/**,!/mail_templates/**,!/webhook_subscriptions/**,!/webhook_settings/**,!/receivables/variables,!/settings/**,!/files/**,!/mailbox_domains/**,!/payable_purchase_orders/**,!/frontend/bank_account_masks,!/frontend/document_type_descriptions,!/frontend/person_mask,!/frontend/bank_accounts_currency_to_supported_countries,!/internal/**:header.x-monite-entity-id' \
'/**,!/auth/**,!/entities/**,!/entity_users/me,!/entity_users/my_entity,!/entity_users/my_role,!/events/**,!/mail_templates/**,!/webhook_subscriptions/**,!/webhook_settings/**,!/receivables/variables,!/settings/**,!/files/**,!/mailbox_domains/**,!/payable_purchase_orders/**,!/frontend/bank_account_masks,!/frontend/document_type_descriptions,!/frontend/person_mask,!/frontend/bank_accounts_currency_to_supported_countries,!/internal/**,!/payables/validations/**:header.x-monite-entity-id' \
'/**:header.x-monite-version' \
&& prettier --write src/api/**/**.ts
2 changes: 1 addition & 1 deletion packages/sdk-react/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = {
statements: 96,
},
'./src/components/receivables': {
branches: 35,
branches: 30,
functions: 25,
lines: 60,
statements: 55,
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"react-infinite-scroll-component": "~6.1.0",
"react-international-phone": "~4.2.4",
"react-router-dom": "^6.3.0",
"react-script-hook": "~1.7.2",
"react-use": "^17.3.2",
"react-virtuoso": "~4.7.10",
"yup": "~0.32.11"
Expand Down
Loading

0 comments on commit 18f0beb

Please sign in to comment.