valtech-components 2.0.962 → 2.0.963

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.
@@ -1,7 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ValtechAuthConfig } from '../auth/types';
4
- import { Organization, CreateOrgRequest, UpdateOrgRequest, InviteUserRequest, InviteUserResponse, LeaveOrgResponse, ListOrgMembersResponse, OrgRole, ChangeMemberRoleResponse, PendingInvitation, AcceptInvitationResponse } from './types';
4
+ import { Organization, ListMyOrgsResponse, CreateOrgRequest, UpdateOrgRequest, InviteUserRequest, InviteUserResponse, LeaveOrgResponse, ListOrgMembersResponse, OrgRole, ChangeMemberRoleResponse, PendingInvitation, AcceptInvitationResponse } from './types';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class OrgService {
7
7
  private config;
@@ -9,6 +9,10 @@ export declare class OrgService {
9
9
  constructor(config: ValtechAuthConfig, http: HttpClient);
10
10
  private get baseUrl();
11
11
  listMyOrgs(): Observable<Organization[]>;
12
+ listMyOrgsPage(params?: {
13
+ limit?: number;
14
+ nextToken?: string;
15
+ }): Observable<ListMyOrgsResponse>;
12
16
  getOrg(orgId: string): Observable<Organization>;
13
17
  createOrg(req: CreateOrgRequest): Observable<Organization>;
14
18
  updateOrg(orgId: string, req: UpdateOrgRequest): Observable<Organization>;
@@ -111,4 +111,5 @@ export interface CreateRequestTypePayload {
111
111
  labelEn: string;
112
112
  fieldSchema: FieldSchemaDef[];
113
113
  allowAnonymous: boolean;
114
+ visibility?: RequestVisibility;
114
115
  }
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.962";
5
+ export declare const VERSION = "2.0.963";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.962",
3
+ "version": "2.0.963",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"