valtech-components 2.0.913 → 2.0.914
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/esm2022/lib/services/org/org.service.mjs +10 -2
- package/esm2022/lib/services/org/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/valtech-components.mjs +10 -2
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/rights-footer/rights-footer.component.d.ts +1 -1
- package/lib/components/organisms/article/article.component.d.ts +2 -2
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +1 -1
- package/lib/services/org/org.service.d.ts +4 -11
- package/lib/services/org/types.d.ts +18 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -43,7 +43,7 @@ export declare class RightsFooterComponent {
|
|
|
43
43
|
/**
|
|
44
44
|
* Computed helper for color prop in template.
|
|
45
45
|
*/
|
|
46
|
-
propsColor: import("@angular/core").Signal<"
|
|
46
|
+
propsColor: import("@angular/core").Signal<"medium" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "dark">;
|
|
47
47
|
/**
|
|
48
48
|
* Computed helper for withMargin prop in template.
|
|
49
49
|
*/
|
|
@@ -91,8 +91,8 @@ export declare class ArticleComponent implements OnInit {
|
|
|
91
91
|
icon?: import("valtech-components").IconMetada;
|
|
92
92
|
shape?: "round";
|
|
93
93
|
size?: "small" | "large" | "default";
|
|
94
|
-
fill?: "
|
|
95
|
-
type: "
|
|
94
|
+
fill?: "default" | "clear" | "outline" | "solid";
|
|
95
|
+
type: "button" | "submit" | "reset";
|
|
96
96
|
token?: string;
|
|
97
97
|
ref?: any;
|
|
98
98
|
handler?: (value: any) => any;
|
|
@@ -73,7 +73,7 @@ export declare class ToolbarComponent implements OnInit {
|
|
|
73
73
|
showFlags?: boolean;
|
|
74
74
|
color: import("@ionic/core").Color;
|
|
75
75
|
size?: "small" | "large" | "default";
|
|
76
|
-
fill?: "
|
|
76
|
+
fill?: "default" | "clear" | "outline" | "solid";
|
|
77
77
|
shape?: "round";
|
|
78
78
|
expand?: "full" | "block";
|
|
79
79
|
disabled?: boolean;
|
|
@@ -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 } from './types';
|
|
4
|
+
import { Organization, CreateOrgRequest, UpdateOrgRequest, InviteUserRequest, InviteUserResponse, LeaveOrgResponse, ListOrgMembersResponse, PendingInvitation, AcceptInvitationResponse } from './types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class OrgService {
|
|
7
7
|
private config;
|
|
@@ -44,16 +44,9 @@ export declare class OrgService {
|
|
|
44
44
|
roleId?: string;
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
47
|
-
getPendingInvitations(): Observable<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
orgName: string;
|
|
51
|
-
roleId: string;
|
|
52
|
-
inviterId: string;
|
|
53
|
-
inviterName: string;
|
|
54
|
-
expiresAt: string;
|
|
55
|
-
}>;
|
|
56
|
-
}>;
|
|
47
|
+
getPendingInvitations(): Observable<PendingInvitation[]>;
|
|
48
|
+
acceptInvitation(orgId: string): Observable<AcceptInvitationResponse>;
|
|
49
|
+
declineInvitation(orgId: string): Observable<void>;
|
|
57
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrgService, never>;
|
|
58
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<OrgService>;
|
|
59
52
|
}
|
|
@@ -59,3 +59,21 @@ export interface ListOrgMembersResponse {
|
|
|
59
59
|
nextToken?: string;
|
|
60
60
|
count: number;
|
|
61
61
|
}
|
|
62
|
+
export interface PendingInvitation {
|
|
63
|
+
orgId: string;
|
|
64
|
+
orgName: string;
|
|
65
|
+
roleId: string;
|
|
66
|
+
inviterId: string;
|
|
67
|
+
inviterName: string;
|
|
68
|
+
expiresAt: string;
|
|
69
|
+
}
|
|
70
|
+
export interface ListPendingInvitationsResponse {
|
|
71
|
+
operationId: string;
|
|
72
|
+
items: PendingInvitation[];
|
|
73
|
+
}
|
|
74
|
+
export interface AcceptInvitationResponse {
|
|
75
|
+
operationId: string;
|
|
76
|
+
orgId: string;
|
|
77
|
+
orgName: string;
|
|
78
|
+
roleId: string;
|
|
79
|
+
}
|
package/lib/version.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -284,7 +284,7 @@ export * from './lib/services/legal-link/legal-link.service';
|
|
|
284
284
|
export * from './lib/services/firebase';
|
|
285
285
|
export * from './lib/services/auth';
|
|
286
286
|
export { OrgService } from './lib/services/org/org.service';
|
|
287
|
-
export type { Organization, OrgType, OrgPlan, CreateOrgRequest, UpdateOrgRequest, InviteUserRequest, InviteUserResponse, LeaveOrgResponse, ListMyOrgsResponse, OrgResponse, OrgMember, ListOrgMembersResponse, } from './lib/services/org/types';
|
|
287
|
+
export type { Organization, OrgType, OrgPlan, CreateOrgRequest, UpdateOrgRequest, InviteUserRequest, InviteUserResponse, LeaveOrgResponse, ListMyOrgsResponse, OrgResponse, OrgMember, ListOrgMembersResponse, PendingInvitation, ListPendingInvitationsResponse, AcceptInvitationResponse, } from './lib/services/org/types';
|
|
288
288
|
export * from './lib/services/i18n';
|
|
289
289
|
export * from './lib/services/preferences';
|
|
290
290
|
export * from './lib/services/network-status';
|