Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✱ Stainless preview buildsThis PR will update the kotlin openapi python typescript
|
Greptile SummaryThis PR replaces the Changes:
Notable: This is a breaking change — the old enum values ( Confidence Score: 4/5
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/customers/PurposeOfAccount.yaml | Replaces 6 old enum values (PAYMENTS, PAYROLL, TREASURY, TRADING, LENDING, COLLECTIONS) with 12 more granular ones; OTHER is preserved. Breaking change — well-structured and complete. |
| openapi/components/schemas/customers/BusinessInfo.yaml | Switches purposeOfAccount from an inline free-text string to a $ref to PurposeOfAccount.yaml — correct and consistent with the enum-first approach. |
| openapi/components/schemas/customers/BusinessInfoUpdate.yaml | Same purposeOfAccount inline-to-$ref migration as BusinessInfo.yaml; change is clean and consistent. |
| openapi/paths/customers/customers.yaml | Example value updated from free-text "Payout to contractors" to the correct enum value CONTRACTOR_PAYOUTS. |
| openapi.yaml | Generated bundle — reflects all source changes correctly; PurposeOfAccount schema added, both BusinessInfo and BusinessInfoUpdate updated, example updated. |
| mintlify/openapi.yaml | Generated Mintlify bundle — identical changes to openapi.yaml, correctly in sync. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[POST /customers request] --> B{purposeOfAccount field}
B --> C[PurposeOfAccount enum]
C --> D[CONTRACTOR_PAYOUTS]
C --> E[CREATOR_PAYOUTS]
C --> F[EMPLOYEE_PAYOUTS]
C --> G[MARKETPLACE_SELLER_PAYOUTS]
C --> H[SUPPLIER_PAYMENTS]
C --> I[CROSS_BORDER_B2B]
C --> J[AR_AUTOMATION]
C --> K[AP_AUTOMATION]
C --> L[EMBEDDED_PAYMENTS]
C --> M[PLATFORM_FEE_COLLECTION]
C --> N[P2P_TRANSFERS]
C --> O[CHARITABLE_DONATIONS]
C --> P[OTHER]
Q[BusinessInfo] -- $ref --> C
R[BusinessInfoUpdate] -- $ref --> C
Reviews (1): Last reviewed commit: "use enum for purpose of account" | Re-trigger Greptile
Merge activity
|

No description provided.