@raystack/frontier 0.8.32 → 0.8.34
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/index.d.ts +8 -5
- package/dist/index.js +7 -4
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
- package/react/dist/index.d.ts +76 -31
- package/react/dist/index.js +687 -348
- package/react/dist/index.mjs +668 -329
package/dist/index.d.ts
CHANGED
|
@@ -314,8 +314,8 @@ interface V1Beta1CheckoutSetupBody {
|
|
|
314
314
|
}
|
|
315
315
|
interface V1Beta1CheckoutSubscriptionBody {
|
|
316
316
|
plan?: string;
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
skip_trial?: boolean;
|
|
318
|
+
cancel_after_trial?: boolean;
|
|
319
319
|
}
|
|
320
320
|
interface V1Beta1CreateBillingAccountResponse {
|
|
321
321
|
/** Created billing account */
|
|
@@ -498,8 +498,11 @@ type V1Beta1EnableProjectResponse = object;
|
|
|
498
498
|
type V1Beta1EnableUserResponse = object;
|
|
499
499
|
interface V1Beta1Feature {
|
|
500
500
|
id?: string;
|
|
501
|
+
/** machine friendly name */
|
|
501
502
|
name?: string;
|
|
502
503
|
product_ids?: string[];
|
|
504
|
+
/** human friendly name */
|
|
505
|
+
title?: string;
|
|
503
506
|
metadata?: object;
|
|
504
507
|
/** @format date-time */
|
|
505
508
|
created_at?: string;
|
|
@@ -2476,7 +2479,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2476
2479
|
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
|
|
2477
2480
|
* @secure
|
|
2478
2481
|
*/
|
|
2479
|
-
frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string,
|
|
2482
|
+
frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, body: {
|
|
2480
2483
|
immediate?: boolean;
|
|
2481
2484
|
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2482
2485
|
/**
|
|
@@ -2800,7 +2803,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2800
2803
|
* @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
|
|
2801
2804
|
* @secure
|
|
2802
2805
|
*/
|
|
2803
|
-
frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2806
|
+
frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2804
2807
|
/**
|
|
2805
2808
|
* @description Allows the current logged in user to join the Org if one is not a part of it. The user will only be able to join when the user email's domain matches the organization's whitelisted domains.
|
|
2806
2809
|
*
|
|
@@ -2810,7 +2813,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2810
2813
|
* @request POST:/v1beta1/organizations/{org_id}/join
|
|
2811
2814
|
* @secure
|
|
2812
2815
|
*/
|
|
2813
|
-
frontierServiceJoinOrganization: (orgId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2816
|
+
frontierServiceJoinOrganization: (orgId: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2814
2817
|
/**
|
|
2815
2818
|
* @description Returns a list of custom roles created under an organization with their associated permissions
|
|
2816
2819
|
*
|
package/dist/index.js
CHANGED
|
@@ -1311,11 +1311,12 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1311
1311
|
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
|
|
1312
1312
|
* @secure
|
|
1313
1313
|
*/
|
|
1314
|
-
this.frontierServiceCancelSubscription = (orgId, billingId, id,
|
|
1314
|
+
this.frontierServiceCancelSubscription = (orgId, billingId, id, body, params = {}) => this.request(__spreadValues({
|
|
1315
1315
|
path: `/v1beta1/organizations/${orgId}/billing/${billingId}/subscriptions/${id}/cancel`,
|
|
1316
1316
|
method: "POST",
|
|
1317
|
-
|
|
1317
|
+
body,
|
|
1318
1318
|
secure: true,
|
|
1319
|
+
type: "application/json" /* Json */,
|
|
1319
1320
|
format: "json"
|
|
1320
1321
|
}, params));
|
|
1321
1322
|
/**
|
|
@@ -1741,9 +1742,10 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1741
1742
|
* @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
|
|
1742
1743
|
* @secure
|
|
1743
1744
|
*/
|
|
1744
|
-
this.frontierServiceAcceptOrganizationInvitation = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
1745
|
+
this.frontierServiceAcceptOrganizationInvitation = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
1745
1746
|
path: `/v1beta1/organizations/${orgId}/invitations/${id}/accept`,
|
|
1746
1747
|
method: "POST",
|
|
1748
|
+
body,
|
|
1747
1749
|
secure: true,
|
|
1748
1750
|
format: "json"
|
|
1749
1751
|
}, params));
|
|
@@ -1756,9 +1758,10 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1756
1758
|
* @request POST:/v1beta1/organizations/{org_id}/join
|
|
1757
1759
|
* @secure
|
|
1758
1760
|
*/
|
|
1759
|
-
this.frontierServiceJoinOrganization = (orgId, params = {}) => this.request(__spreadValues({
|
|
1761
|
+
this.frontierServiceJoinOrganization = (orgId, body, params = {}) => this.request(__spreadValues({
|
|
1760
1762
|
path: `/v1beta1/organizations/${orgId}/join`,
|
|
1761
1763
|
method: "POST",
|
|
1764
|
+
body,
|
|
1762
1765
|
secure: true,
|
|
1763
1766
|
format: "json"
|
|
1764
1767
|
}, params));
|
package/dist/index.mjs
CHANGED
|
@@ -1286,11 +1286,12 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1286
1286
|
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
|
|
1287
1287
|
* @secure
|
|
1288
1288
|
*/
|
|
1289
|
-
this.frontierServiceCancelSubscription = (orgId, billingId, id,
|
|
1289
|
+
this.frontierServiceCancelSubscription = (orgId, billingId, id, body, params = {}) => this.request(__spreadValues({
|
|
1290
1290
|
path: `/v1beta1/organizations/${orgId}/billing/${billingId}/subscriptions/${id}/cancel`,
|
|
1291
1291
|
method: "POST",
|
|
1292
|
-
|
|
1292
|
+
body,
|
|
1293
1293
|
secure: true,
|
|
1294
|
+
type: "application/json" /* Json */,
|
|
1294
1295
|
format: "json"
|
|
1295
1296
|
}, params));
|
|
1296
1297
|
/**
|
|
@@ -1716,9 +1717,10 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1716
1717
|
* @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
|
|
1717
1718
|
* @secure
|
|
1718
1719
|
*/
|
|
1719
|
-
this.frontierServiceAcceptOrganizationInvitation = (orgId, id, params = {}) => this.request(__spreadValues({
|
|
1720
|
+
this.frontierServiceAcceptOrganizationInvitation = (orgId, id, body, params = {}) => this.request(__spreadValues({
|
|
1720
1721
|
path: `/v1beta1/organizations/${orgId}/invitations/${id}/accept`,
|
|
1721
1722
|
method: "POST",
|
|
1723
|
+
body,
|
|
1722
1724
|
secure: true,
|
|
1723
1725
|
format: "json"
|
|
1724
1726
|
}, params));
|
|
@@ -1731,9 +1733,10 @@ var V1Beta1 = class extends HttpClient {
|
|
|
1731
1733
|
* @request POST:/v1beta1/organizations/{org_id}/join
|
|
1732
1734
|
* @secure
|
|
1733
1735
|
*/
|
|
1734
|
-
this.frontierServiceJoinOrganization = (orgId, params = {}) => this.request(__spreadValues({
|
|
1736
|
+
this.frontierServiceJoinOrganization = (orgId, body, params = {}) => this.request(__spreadValues({
|
|
1735
1737
|
path: `/v1beta1/organizations/${orgId}/join`,
|
|
1736
1738
|
method: "POST",
|
|
1739
|
+
body,
|
|
1737
1740
|
secure: true,
|
|
1738
1741
|
format: "json"
|
|
1739
1742
|
}, params));
|
package/package.json
CHANGED
package/react/dist/index.d.ts
CHANGED
|
@@ -54,49 +54,64 @@ interface OrganizationProfileProps {
|
|
|
54
54
|
organizationId: string;
|
|
55
55
|
defaultRoute?: string;
|
|
56
56
|
tempShowBilling?: boolean;
|
|
57
|
+
tempShowTokens?: boolean;
|
|
57
58
|
}
|
|
58
|
-
declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
59
|
+
declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
59
60
|
organizationId: string;
|
|
60
61
|
tempShowBilling?: boolean | undefined;
|
|
61
|
-
|
|
62
|
+
tempShowTokens?: boolean | undefined;
|
|
63
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
62
64
|
organizationId: string;
|
|
63
65
|
tempShowBilling?: boolean | undefined;
|
|
66
|
+
tempShowTokens?: boolean | undefined;
|
|
64
67
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/delete", string, "/delete", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
65
68
|
organizationId: string;
|
|
66
69
|
tempShowBilling?: boolean | undefined;
|
|
67
|
-
|
|
70
|
+
tempShowTokens?: boolean | undefined;
|
|
71
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/security", "/security", string, "/security", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
68
72
|
organizationId: string;
|
|
69
73
|
tempShowBilling?: boolean | undefined;
|
|
70
|
-
|
|
74
|
+
tempShowTokens?: boolean | undefined;
|
|
75
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
71
76
|
organizationId: string;
|
|
72
77
|
tempShowBilling?: boolean | undefined;
|
|
73
|
-
|
|
78
|
+
tempShowTokens?: boolean | undefined;
|
|
79
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
74
80
|
organizationId: string;
|
|
75
81
|
tempShowBilling?: boolean | undefined;
|
|
82
|
+
tempShowTokens?: boolean | undefined;
|
|
76
83
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
77
84
|
organizationId: string;
|
|
78
85
|
tempShowBilling?: boolean | undefined;
|
|
79
|
-
|
|
86
|
+
tempShowTokens?: boolean | undefined;
|
|
87
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
80
88
|
organizationId: string;
|
|
81
89
|
tempShowBilling?: boolean | undefined;
|
|
82
|
-
|
|
90
|
+
tempShowTokens?: boolean | undefined;
|
|
91
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
83
92
|
organizationId: string;
|
|
84
93
|
tempShowBilling?: boolean | undefined;
|
|
94
|
+
tempShowTokens?: boolean | undefined;
|
|
85
95
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
86
96
|
organizationId: string;
|
|
87
97
|
tempShowBilling?: boolean | undefined;
|
|
88
|
-
|
|
98
|
+
tempShowTokens?: boolean | undefined;
|
|
99
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
89
100
|
organizationId: string;
|
|
90
101
|
tempShowBilling?: boolean | undefined;
|
|
91
|
-
|
|
102
|
+
tempShowTokens?: boolean | undefined;
|
|
103
|
+
}, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
92
104
|
organizationId: string;
|
|
93
105
|
tempShowBilling?: boolean | undefined;
|
|
106
|
+
tempShowTokens?: boolean | undefined;
|
|
94
107
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
95
108
|
organizationId: string;
|
|
96
109
|
tempShowBilling?: boolean | undefined;
|
|
97
|
-
|
|
110
|
+
tempShowTokens?: boolean | undefined;
|
|
111
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
98
112
|
organizationId: string;
|
|
99
113
|
tempShowBilling?: boolean | undefined;
|
|
114
|
+
tempShowTokens?: boolean | undefined;
|
|
100
115
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", {}, unknown, {}, {}, {
|
|
101
116
|
domainId: string;
|
|
102
117
|
}, {
|
|
@@ -104,9 +119,11 @@ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_
|
|
|
104
119
|
}, _tanstack_react_router.RouteContext, {
|
|
105
120
|
organizationId: string;
|
|
106
121
|
tempShowBilling?: boolean | undefined;
|
|
107
|
-
|
|
122
|
+
tempShowTokens?: boolean | undefined;
|
|
123
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
108
124
|
organizationId: string;
|
|
109
125
|
tempShowBilling?: boolean | undefined;
|
|
126
|
+
tempShowTokens?: boolean | undefined;
|
|
110
127
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", {}, unknown, {}, {}, {
|
|
111
128
|
domainId: string;
|
|
112
129
|
}, {
|
|
@@ -114,77 +131,93 @@ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_
|
|
|
114
131
|
}, _tanstack_react_router.RouteContext, {
|
|
115
132
|
organizationId: string;
|
|
116
133
|
tempShowBilling?: boolean | undefined;
|
|
117
|
-
|
|
134
|
+
tempShowTokens?: boolean | undefined;
|
|
135
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
|
|
118
136
|
teamId: string;
|
|
119
137
|
}, {
|
|
120
138
|
teamId: string;
|
|
121
139
|
}, _tanstack_react_router.RouteContext, {
|
|
122
140
|
organizationId: string;
|
|
123
141
|
tempShowBilling?: boolean | undefined;
|
|
124
|
-
|
|
142
|
+
tempShowTokens?: boolean | undefined;
|
|
143
|
+
}, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
|
|
125
144
|
teamId: string;
|
|
126
145
|
}, {
|
|
127
146
|
teamId: string;
|
|
128
147
|
}, _tanstack_react_router.RouteContext, {
|
|
129
148
|
organizationId: string;
|
|
130
149
|
tempShowBilling?: boolean | undefined;
|
|
150
|
+
tempShowTokens?: boolean | undefined;
|
|
131
151
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", {}, unknown, {}, {}, {}, {
|
|
132
152
|
teamId: string;
|
|
133
153
|
}, _tanstack_react_router.RouteContext, {
|
|
134
154
|
organizationId: string;
|
|
135
155
|
tempShowBilling?: boolean | undefined;
|
|
136
|
-
|
|
156
|
+
tempShowTokens?: boolean | undefined;
|
|
157
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
|
|
137
158
|
teamId: string;
|
|
138
159
|
}, {
|
|
139
160
|
teamId: string;
|
|
140
161
|
}, _tanstack_react_router.RouteContext, {
|
|
141
162
|
organizationId: string;
|
|
142
163
|
tempShowBilling?: boolean | undefined;
|
|
164
|
+
tempShowTokens?: boolean | undefined;
|
|
143
165
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", {}, unknown, {}, {}, {}, {
|
|
144
166
|
teamId: string;
|
|
145
167
|
}, _tanstack_react_router.RouteContext, {
|
|
146
168
|
organizationId: string;
|
|
147
169
|
tempShowBilling?: boolean | undefined;
|
|
148
|
-
|
|
170
|
+
tempShowTokens?: boolean | undefined;
|
|
171
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
149
172
|
organizationId: string;
|
|
150
173
|
tempShowBilling?: boolean | undefined;
|
|
151
|
-
|
|
174
|
+
tempShowTokens?: boolean | undefined;
|
|
175
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
152
176
|
organizationId: string;
|
|
153
177
|
tempShowBilling?: boolean | undefined;
|
|
178
|
+
tempShowTokens?: boolean | undefined;
|
|
154
179
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
155
180
|
organizationId: string;
|
|
156
181
|
tempShowBilling?: boolean | undefined;
|
|
157
|
-
|
|
182
|
+
tempShowTokens?: boolean | undefined;
|
|
183
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
|
|
158
184
|
projectId: string;
|
|
159
185
|
}, {
|
|
160
186
|
projectId: string;
|
|
161
187
|
}, _tanstack_react_router.RouteContext, {
|
|
162
188
|
organizationId: string;
|
|
163
189
|
tempShowBilling?: boolean | undefined;
|
|
164
|
-
|
|
190
|
+
tempShowTokens?: boolean | undefined;
|
|
191
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
|
|
165
192
|
projectId: string;
|
|
166
193
|
}, {
|
|
167
194
|
projectId: string;
|
|
168
195
|
}, _tanstack_react_router.RouteContext, {
|
|
169
196
|
organizationId: string;
|
|
170
197
|
tempShowBilling?: boolean | undefined;
|
|
198
|
+
tempShowTokens?: boolean | undefined;
|
|
171
199
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", {}, unknown, {}, {}, {}, {
|
|
172
200
|
projectId: string;
|
|
173
201
|
}, _tanstack_react_router.RouteContext, {
|
|
174
202
|
organizationId: string;
|
|
175
203
|
tempShowBilling?: boolean | undefined;
|
|
176
|
-
|
|
204
|
+
tempShowTokens?: boolean | undefined;
|
|
205
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/profile", "/profile", string, "/profile", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
177
206
|
organizationId: string;
|
|
178
207
|
tempShowBilling?: boolean | undefined;
|
|
179
|
-
|
|
208
|
+
tempShowTokens?: boolean | undefined;
|
|
209
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/preferences", "/preferences", string, "/preferences", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
180
210
|
organizationId: string;
|
|
181
211
|
tempShowBilling?: boolean | undefined;
|
|
182
|
-
|
|
212
|
+
tempShowTokens?: boolean | undefined;
|
|
213
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
183
214
|
organizationId: string;
|
|
184
215
|
tempShowBilling?: boolean | undefined;
|
|
185
|
-
|
|
216
|
+
tempShowTokens?: boolean | undefined;
|
|
217
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
186
218
|
organizationId: string;
|
|
187
219
|
tempShowBilling?: boolean | undefined;
|
|
220
|
+
tempShowTokens?: boolean | undefined;
|
|
188
221
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$billingId/edit-address", "/billing/$billingId/edit-address", string, "/billing/$billingId/edit-address", {}, unknown, {}, {}, {
|
|
189
222
|
billingId: string;
|
|
190
223
|
}, {
|
|
@@ -192,12 +225,15 @@ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_
|
|
|
192
225
|
}, _tanstack_react_router.RouteContext, {
|
|
193
226
|
organizationId: string;
|
|
194
227
|
tempShowBilling?: boolean | undefined;
|
|
195
|
-
|
|
228
|
+
tempShowTokens?: boolean | undefined;
|
|
229
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
196
230
|
organizationId: string;
|
|
197
231
|
tempShowBilling?: boolean | undefined;
|
|
198
|
-
|
|
232
|
+
tempShowTokens?: boolean | undefined;
|
|
233
|
+
}, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
199
234
|
organizationId: string;
|
|
200
235
|
tempShowBilling?: boolean | undefined;
|
|
236
|
+
tempShowTokens?: boolean | undefined;
|
|
201
237
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/confirm-change/$planId", "/plans/confirm-change/$planId", string, "/plans/confirm-change/$planId", {}, unknown, {}, {}, {
|
|
202
238
|
planId: string;
|
|
203
239
|
}, {
|
|
@@ -205,8 +241,13 @@ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_
|
|
|
205
241
|
}, _tanstack_react_router.RouteContext, {
|
|
206
242
|
organizationId: string;
|
|
207
243
|
tempShowBilling?: boolean | undefined;
|
|
208
|
-
|
|
209
|
-
|
|
244
|
+
tempShowTokens?: boolean | undefined;
|
|
245
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling" | "tempShowTokens">>, "/tokens", "/tokens", string, "/tokens", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
246
|
+
organizationId: string;
|
|
247
|
+
tempShowBilling?: boolean | undefined;
|
|
248
|
+
tempShowTokens?: boolean | undefined;
|
|
249
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], any>, Record<string, any>>;
|
|
250
|
+
declare const OrganizationProfile: ({ organizationId, defaultRoute, tempShowBilling, tempShowTokens }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
|
|
210
251
|
declare module '@tanstack/react-router' {
|
|
211
252
|
interface Register {
|
|
212
253
|
router: typeof router;
|
|
@@ -541,8 +582,8 @@ interface V1Beta1CheckoutSetupBody {
|
|
|
541
582
|
}
|
|
542
583
|
interface V1Beta1CheckoutSubscriptionBody {
|
|
543
584
|
plan?: string;
|
|
544
|
-
|
|
545
|
-
|
|
585
|
+
skip_trial?: boolean;
|
|
586
|
+
cancel_after_trial?: boolean;
|
|
546
587
|
}
|
|
547
588
|
interface V1Beta1CreateBillingAccountResponse {
|
|
548
589
|
/** Created billing account */
|
|
@@ -698,8 +739,11 @@ interface V1Beta1Domain {
|
|
|
698
739
|
}
|
|
699
740
|
interface V1Beta1Feature {
|
|
700
741
|
id?: string;
|
|
742
|
+
/** machine friendly name */
|
|
701
743
|
name?: string;
|
|
702
744
|
product_ids?: string[];
|
|
745
|
+
/** human friendly name */
|
|
746
|
+
title?: string;
|
|
703
747
|
metadata?: object;
|
|
704
748
|
/** @format date-time */
|
|
705
749
|
created_at?: string;
|
|
@@ -2673,7 +2717,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2673
2717
|
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
|
|
2674
2718
|
* @secure
|
|
2675
2719
|
*/
|
|
2676
|
-
frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string,
|
|
2720
|
+
frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, body: {
|
|
2677
2721
|
immediate?: boolean;
|
|
2678
2722
|
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2679
2723
|
/**
|
|
@@ -2997,7 +3041,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2997
3041
|
* @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
|
|
2998
3042
|
* @secure
|
|
2999
3043
|
*/
|
|
3000
|
-
frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
3044
|
+
frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
3001
3045
|
/**
|
|
3002
3046
|
* @description Allows the current logged in user to join the Org if one is not a part of it. The user will only be able to join when the user email's domain matches the organization's whitelisted domains.
|
|
3003
3047
|
*
|
|
@@ -3007,7 +3051,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3007
3051
|
* @request POST:/v1beta1/organizations/{org_id}/join
|
|
3008
3052
|
* @secure
|
|
3009
3053
|
*/
|
|
3010
|
-
frontierServiceJoinOrganization: (orgId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
3054
|
+
frontierServiceJoinOrganization: (orgId: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
3011
3055
|
/**
|
|
3012
3056
|
* @description Returns a list of custom roles created under an organization with their associated permissions
|
|
3013
3057
|
*
|
|
@@ -3871,6 +3915,7 @@ interface FrontierContextProviderProps {
|
|
|
3871
3915
|
isActivePlanLoading: boolean;
|
|
3872
3916
|
setIsActivePlanLoading: Dispatch<SetStateAction<boolean>>;
|
|
3873
3917
|
fetchActiveSubsciption: () => Promise<V1Beta1Subscription | undefined>;
|
|
3918
|
+
paymentMethod: V1Beta1PaymentMethod | undefined;
|
|
3874
3919
|
}
|
|
3875
3920
|
declare function useFrontier(): FrontierContextProviderProps;
|
|
3876
3921
|
|