@secrecy/lib 1.70.0 → 1.72.0

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.
@@ -23,4 +23,7 @@ export class SecrecyOrganizationClient {
23
23
  async list(input) {
24
24
  return this.#apiClient.org.list.query(input);
25
25
  }
26
+ async plans(input) {
27
+ return this.#apiClient.plan.all.query(input);
28
+ }
26
29
  }
@@ -24,4 +24,7 @@ export class SecrecyUserClient {
24
24
  async removeContact(input) {
25
25
  return await this.#apiClient.contacts.removeContact.mutate(input);
26
26
  }
27
+ async getUsers(input) {
28
+ return await this.#apiClient.account.getUsers.query(input);
29
+ }
27
30
  }
@@ -10,4 +10,5 @@ export declare class SecrecyOrganizationClient {
10
10
  removeMember(input: RouterInputs['org']['removeMember']): Promise<RouterOutputs['org']['removeMember']>;
11
11
  updateRole(input: RouterInputs['org']['updateRole']): Promise<RouterOutputs['org']['updateRole']>;
12
12
  list(input: RouterInputs['org']['list']): Promise<RouterOutputs['org']['list']>;
13
+ plans(input: RouterInputs['plan']['all']): Promise<RouterOutputs['plan']['all']>;
13
14
  }
@@ -11,4 +11,5 @@ export declare class SecrecyUserClient {
11
11
  getReceivedInvitations(input: RouterInputs['contacts']['getReceivedInvitations']): Promise<RouterOutputs['contacts']['getReceivedInvitations']>;
12
12
  getSentInvitations(input: RouterInputs['contacts']['getSentInvitations']): Promise<RouterOutputs['contacts']['getSentInvitations']>;
13
13
  removeContact(input: RouterInputs['contacts']['removeContact']): Promise<RouterOutputs['contacts']['removeContact']>;
14
+ getUsers(input: RouterInputs['account']['getUsers']): Promise<RouterOutputs['account']['getUsers']>;
14
15
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.70.0",
5
+ "version": "1.72.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"