Skip to content

Commit 26eb60d

Browse files
authored
Merge pull request #58 from zenml-io/talha/feedback-fixes
Talha/feedback fixes
2 parents 796d149 + 22b0d29 commit 26eb60d

File tree

120 files changed

+217
-2888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+217
-2888
lines changed

src/api/billing/getBillingByRunIdApi.spec.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/api/billing/getBillingByRunIdApi.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/api/billing/getOrganizationBillingApi.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/api/billing/getPaymentMethodApi.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/api/billing/getStripePortalUrlApi.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/api/billing/getSubscriptionApi.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/api/billing/retryInvoiceApi.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/api/billing/updatePaymentMethodApi.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/api/billing/updateSubscriptionApi.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/api/endpoints.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ export const endpoints = {
1414
reGenerateToken: (username: string): string =>
1515
`/users/${username}/deactivate`,
1616
invites: '/organizations/invite?status=pending',
17-
owner: '/organizations/creator',
1817
members: '/users',
19-
roles: '/organizations/roles',
2018
invite: '/users',
2119
deleteInvite: (id: string): string => `/users/${id}`,
22-
getInvoices: `/billing/organization/invoices`,
2320
},
2421

2522
pipelines: {
@@ -57,18 +54,4 @@ export const endpoints = {
5754
all: `/runs?unlisted=false&hydrated=true`,
5855
get: (runId: TId): string => `/runs/${runId}?unlisted=false&hydrated=true`,
5956
},
60-
billing: {
61-
my: '/billing/stripe/session',
62-
getOrganizationBilling: '/billing/organization',
63-
getPaymentMethod: '/billing/organization/get-payment-method',
64-
getSubscription: '/billing/stripe/get-subscription',
65-
updatePaymentMethod: (id: TId): string =>
66-
`/billing/stripe/update-payment-method?payment_method_id=${id}`,
67-
updateSubscription: (id: TId): string =>
68-
`/billing/stripe/update-subscription?plan_type=${id}`,
69-
get: (pipelineId: TId, runId: TId): string =>
70-
`/billing/${pipelineId}/runs/${runId}`,
71-
retryInvoice: (invoiceId: TId, paymentMethodId: TId): string =>
72-
`/billing/stripe/retry-invoice?invoice_id=${invoiceId}&payment_method_id=${paymentMethodId}`,
73-
},
7457
};

0 commit comments

Comments
 (0)