@raystack/frontier 0.29.1 → 0.30.1

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 CHANGED
@@ -119,7 +119,7 @@ interface ProtobufAny {
119
119
  * `NullValue` is a singleton enumeration to represent the null value for the
120
120
  * `Value` type union.
121
121
  *
122
- * The JSON representation for `NullValue` is JSON `null`.
122
+ * The JSON representation for `NullValue` is JSON `null`.
123
123
  *
124
124
  * - NULL_VALUE: Null value.
125
125
  * @default "NULL_VALUE"
@@ -843,6 +843,11 @@ interface V1Beta1ListAllInvoicesResponse {
843
843
  }
844
844
  interface V1Beta1ListAllOrganizationsResponse {
845
845
  organizations?: V1Beta1Organization[];
846
+ /**
847
+ * Total number of pages in response
848
+ * @format int32
849
+ */
850
+ total_pages?: number;
846
851
  }
847
852
  interface V1Beta1ListAllUsersResponse {
848
853
  /** @format int32 */
@@ -1859,6 +1864,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1859
1864
  user_id?: string;
1860
1865
  /** The state to filter by. It can be enabled or disabled. */
1861
1866
  state?: string;
1867
+ /**
1868
+ * The maximum number of organizations to return per page. The default is 50.
1869
+ * @format int32
1870
+ */
1871
+ page_size?: number;
1872
+ /**
1873
+ * The page number to return. The default is 1.
1874
+ * @format int32
1875
+ */
1876
+ page_num?: number;
1862
1877
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
1863
1878
  /**
1864
1879
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.29.1",
3
+ "version": "0.30.1",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -9,6 +9,7 @@
9
9
  "files": [
10
10
  "dist/**/*",
11
11
  "react/dist/**/*",
12
+ "api-client/dist/**/*",
12
13
  "README.md"
13
14
  ],
14
15
  "scripts": {
@@ -298,23 +298,7 @@ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_
298
298
  showTokens?: boolean | undefined;
299
299
  hideToast?: boolean | undefined;
300
300
  showPreferences?: boolean | undefined;
301
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
302
- organizationId: string;
303
- showBilling?: boolean | undefined;
304
- showTokens?: boolean | undefined;
305
- hideToast?: boolean | undefined;
306
- showPreferences?: boolean | undefined;
307
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$billingId/edit-address", "/billing/$billingId/edit-address", string, "/billing/$billingId/edit-address", {}, unknown, {}, {}, {
308
- billingId: string;
309
- }, {
310
- billingId: string;
311
- }, _tanstack_react_router.RouteContext, {
312
- organizationId: string;
313
- showBilling?: boolean | undefined;
314
- showTokens?: boolean | undefined;
315
- hideToast?: boolean | undefined;
316
- showPreferences?: boolean | undefined;
317
- }, _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" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
301
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
318
302
  organizationId: string;
319
303
  showBilling?: boolean | undefined;
320
304
  showTokens?: boolean | undefined;
@@ -330,7 +314,7 @@ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_
330
314
  showTokens?: boolean | undefined;
331
315
  hideToast?: boolean | undefined;
332
316
  showPreferences?: boolean | undefined;
333
- }, _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" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
317
+ }, _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" | "showBilling" | "showTokens" | "hideToast" | "showPreferences">>, "/plans", "/plans", string, "/plans", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
334
318
  organizationId: string;
335
319
  showBilling?: boolean | undefined;
336
320
  showTokens?: boolean | undefined;
@@ -1165,6 +1149,11 @@ interface V1Beta1ListAllInvoicesResponse {
1165
1149
  }
1166
1150
  interface V1Beta1ListAllOrganizationsResponse {
1167
1151
  organizations?: V1Beta1Organization[];
1152
+ /**
1153
+ * Total number of pages in response
1154
+ * @format int32
1155
+ */
1156
+ total_pages?: number;
1168
1157
  }
1169
1158
  interface V1Beta1ListAllUsersResponse {
1170
1159
  /** @format int32 */
@@ -2176,6 +2165,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2176
2165
  user_id?: string;
2177
2166
  /** The state to filter by. It can be enabled or disabled. */
2178
2167
  state?: string;
2168
+ /**
2169
+ * The maximum number of organizations to return per page. The default is 50.
2170
+ * @format int32
2171
+ */
2172
+ page_size?: number;
2173
+ /**
2174
+ * The page number to return. The default is 1.
2175
+ * @format int32
2176
+ */
2177
+ page_num?: number;
2179
2178
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
2180
2179
  /**
2181
2180
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.