-
Notifications
You must be signed in to change notification settings - Fork 210
Billing SDK Refactor #2722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ItzNotABug
wants to merge
81
commits into
main
Choose a base branch
from
billing-sdk-refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Billing SDK Refactor #2722
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
ef1435c
remove: hardcoded `Plan` type and use billing models from sdk.
ItzNotABug c462360
remove: credits manual type.
ItzNotABug c3a5a3a
remove: paymentMethodList & paymentMethodData manual types.
ItzNotABug 36f11f3
remove: `invoice`, `invoiceList` and `estimationDeleteOrganization` m…
ItzNotABug 2f7bb0c
remove: `Tier` type, ugh!
ItzNotABug ce1c088
remove: `Estimation` type!
ItzNotABug f2fd84b
remove: `Coupon` type!
ItzNotABug c18713e
remove: `Campaign` type!
ItzNotABug 387fca1
remove: `AggregationTeam` type!
ItzNotABug 183f821
remove: `AggregationBreakdown`, `InvoiceUsage` and `AggregationList` …
ItzNotABug 38b814a
remove: `OrganizationUsage` type.
ItzNotABug 8aad7cf
remove: `Address` and `AddressList` type.
ItzNotABug facf695
remove: `Roles` type.
ItzNotABug 529d8b1
replace: `Organization` type with `Models.Organizations`.
ItzNotABug 67dff43
clear: tests.
ItzNotABug a7b7b77
remove: `validateOrganization`.
ItzNotABug b4e08b5
remove: `estimationCreateOrganization`, `deleteOrganization`, `estima…
ItzNotABug 8382911
remove: `listPlans`.
ItzNotABug 60af829
remove: `getPlan`.
ItzNotABug dddadc3
remove: projects, plans, payment methods hardcoded methods.
ItzNotABug 91aaa34
remove: invoices, payments, usage, aggregation hardcoded methods.
ItzNotABug 9a0059c
remove: credits hardcoded methods.
ItzNotABug 3b14de3
remove: campaigns hardcoded methods.
ItzNotABug 4216f3b
remove: `setMembership` hardcoded methods.
ItzNotABug 0597d21
refactor: remove `getCouponAccount` hardcoded method and its usages.
ItzNotABug 7fc29ae
refactor: remove `billingAddress`, `tax`, `orgPayment` hardcoded meth…
ItzNotABug b3e040b
refactor: remove `accounts`, `console`, `regions` based hardcoded met…
ItzNotABug 7710e55
Merge branch 'main' into billing-sdk-refactor
ItzNotABug deb74f9
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug 79dec66
fix: temporary hot fix for group.
ItzNotABug 5b0fd91
remove: BillingPlan hardcoded constant.
ItzNotABug 69baca8
remove: `isGitHubEducationPlan` method and implement proper checks.
ItzNotABug 36368fe
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug cfd4636
cleanups.
ItzNotABug 05cfdd2
Merge branch 'billing-sdk-refactor' into 'remove-billing-plan'.
ItzNotABug 4c47118
remove: programs endpoint api call.
ItzNotABug 0804f64
remove: hardcoded plan.
ItzNotABug 8f05b75
address rabbit comments.
ItzNotABug 9b11552
remove: unused things.
ItzNotABug 9e07b4b
fix: invalid plan var.
ItzNotABug 5cc88f6
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug 5b652af
Merge branch 'billing-sdk-refactor' into 'remove-billing-plan'.
ItzNotABug aa06130
address comments.
ItzNotABug 54b00a6
fix: condition for badge.
ItzNotABug 654db2e
Merge branch 'main' into billing-sdk-refactor
ItzNotABug cf68297
Merge branch 'billing-sdk-refactor' into remove-billing-plan
ItzNotABug 20c785a
fix: urls and payment post routes.
ItzNotABug 985b9e5
update: address comments.
ItzNotABug e66898f
update: address comments.
ItzNotABug 06dcdc4
update: address comments.
ItzNotABug 67d3fab
fix: e2e.
ItzNotABug f3ca152
fix: e2e.
ItzNotABug f9e2510
Merge branch 'billing-sdk-refactor' into 'remove-billing-plan'.
ItzNotABug b21f3c0
address comments.
ItzNotABug ea6084f
Merge branch 'billing-sdk-refactor' into remove-billing-plan
ItzNotABug caf2f6e
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug d5e5b93
Merge branch 'billing-sdk-refactor' into remove-billing-plan
ItzNotABug 9a0b4c1
remove: empty file.
ItzNotABug c4e77db
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug b51353b
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug b2e8849
Merge branch 'billing-sdk-refactor' into 'remove-billing-plan'.
ItzNotABug cc8811b
update: address comments.
ItzNotABug f209eee
fix: lint.
ItzNotABug 6eb2269
fix: tests.
ItzNotABug fe09e90
lint.
ItzNotABug ef59b70
Merge pull request #2737 from appwrite/remove-billing-plan
ItzNotABug 18d3a9b
update: split check into readable format; address comment.
ItzNotABug 8fdda44
update: remove conditional guards on `billingPlanDetails`.
ItzNotABug 085cd23
update: use explicit cloud check.
ItzNotABug 945ae62
address comments.
ItzNotABug 66577cc
address comment.
ItzNotABug 33fedf7
address comments.
ItzNotABug 067d10b
update: send back `null` on `billingIdToPlan` if none is found.
ItzNotABug a8ea415
fix: logic breaking on self-hosted instances.
ItzNotABug 0e921a6
update: better params for short-circuiting.
ItzNotABug 28210cd
Merge branch 'main' into 'billing-sdk-refactor'.
ItzNotABug 88333cd
fix: tests.
ItzNotABug 4decc15
Merge branch 'main' into billing-sdk-refactor
ItzNotABug b458be4
fix: regions endpoint call.
ItzNotABug 2bd17e8
remove: legacy todos.
ItzNotABug ef14ea3
address: todo.
ItzNotABug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 24 additions & 2 deletions
26
src/lib/components/billing/alerts/missingPaymentMethod.svelte
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.