mailmeteor 0.0.12 → 0.0.13
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.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2608,6 +2608,20 @@ declare class Users extends HeyApiClient {
|
|
|
2608
2608
|
}, options?: Options<never, ThrowOnError>): RequestResult<UsersWatchMailboxResponses, UsersWatchMailboxErrors, ThrowOnError, "data">;
|
|
2609
2609
|
deleteAction<ThrowOnError extends boolean = true>(user_id: string, action_id: string, options?: Options<never, ThrowOnError>): RequestResult<UsersDeleteActionResponses, UsersDeleteActionErrors, ThrowOnError, "data">;
|
|
2610
2610
|
}
|
|
2611
|
+
declare class OrganizationMembers extends HeyApiClient {
|
|
2612
|
+
list<ThrowOnError extends boolean = true>(organization_id: string, parameters?: {
|
|
2613
|
+
limit?: number;
|
|
2614
|
+
starting_after?: string;
|
|
2615
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationMembersListResponses, OrganizationMembersListErrors, ThrowOnError, "data">;
|
|
2616
|
+
create<ThrowOnError extends boolean = true>(organization_id: string, parameters: {
|
|
2617
|
+
email: string;
|
|
2618
|
+
roles: Array<'admin' | 'member'>;
|
|
2619
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationMembersCreateResponses, OrganizationMembersCreateErrors, ThrowOnError, "data">;
|
|
2620
|
+
delete<ThrowOnError extends boolean = true>(organization_id: string, member_id: string, options?: Options<never, ThrowOnError>): RequestResult<OrganizationMembersDeleteResponses, OrganizationMembersDeleteErrors, ThrowOnError, "data">;
|
|
2621
|
+
update<ThrowOnError extends boolean = true>(organization_id: string, member_id: string, parameters?: {
|
|
2622
|
+
roles?: Array<'admin' | 'member'>;
|
|
2623
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<OrganizationMembersUpdateResponses, OrganizationMembersUpdateErrors, ThrowOnError, "data">;
|
|
2624
|
+
}
|
|
2611
2625
|
declare class Organizations extends HeyApiClient {
|
|
2612
2626
|
list<ThrowOnError extends boolean = true>(options?: Options<never, ThrowOnError>): RequestResult<OrganizationsListResponses, OrganizationsListErrors, ThrowOnError, "data">;
|
|
2613
2627
|
create<ThrowOnError extends boolean = true>(parameters: {
|
|
@@ -2749,6 +2763,7 @@ declare class Mailmeteor {
|
|
|
2749
2763
|
readonly billing: Billing;
|
|
2750
2764
|
readonly contactLists: ContactLists;
|
|
2751
2765
|
readonly organizations: Organizations;
|
|
2766
|
+
readonly organizationMembers: OrganizationMembers;
|
|
2752
2767
|
readonly users: Users;
|
|
2753
2768
|
readonly contacts: Contacts;
|
|
2754
2769
|
constructor(key: string, config?: MailmeteorConfig);
|
package/dist/index.mjs
CHANGED
|
@@ -1639,6 +1639,7 @@ class Mailmeteor {
|
|
|
1639
1639
|
this.billing = new Billing({ client: this.client });
|
|
1640
1640
|
this.contactLists = new ContactLists({ client: this.client });
|
|
1641
1641
|
this.organizations = new Organizations({ client: this.client });
|
|
1642
|
+
this.organizationMembers = new OrganizationMembers({ client: this.client });
|
|
1642
1643
|
this.users = new Users({ client: this.client });
|
|
1643
1644
|
this.contacts = new Contacts({ client: this.client });
|
|
1644
1645
|
}
|