@brightoutcome/guidistry-client 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +11 -2
  2. package/package.json +8 -3
package/dist/schema.d.ts CHANGED
@@ -120,7 +120,13 @@ export interface paths {
120
120
  path?: never;
121
121
  cookie?: never;
122
122
  };
123
- /** Pending invitations */
123
+ /**
124
+ * Pending invitations
125
+ * @description Pending invitations for one unit and the units inside it, like the People list.
126
+ *
127
+ * A Guidistry administrator's own unit is the platform, so by default they see only platform
128
+ * invitations; pass another organization's unit to see its invitations.
129
+ */
124
130
  get: operations["list_invitations_v1_invitations_get"];
125
131
  put?: never;
126
132
  /** Invite someone by email */
@@ -1010,7 +1016,10 @@ export interface operations {
1010
1016
  };
1011
1017
  list_invitations_v1_invitations_get: {
1012
1018
  parameters: {
1013
- query?: never;
1019
+ query?: {
1020
+ /** @description Unit whose invitations to list, with its sub-units (defaults to the context's unit) */
1021
+ org_unit_id?: string | null;
1022
+ };
1014
1023
  header?: {
1015
1024
  /** @description Membership the caller is acting through (from GET /v1/me) */
1016
1025
  "X-Guidistry-Context"?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightoutcome/guidistry-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Typed client and sign-in helpers for the Guidistry API",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -20,7 +20,10 @@
20
20
  "import": "./dist/auth.js"
21
21
  }
22
22
  },
23
- "files": ["dist", "README.md"],
23
+ "files": [
24
+ "dist",
25
+ "README.md"
26
+ ],
24
27
  "sideEffects": false,
25
28
  "scripts": {
26
29
  "generate": "openapi-typescript ../../openapi/guidistry.json -o src/schema.d.ts",
@@ -36,7 +39,9 @@
36
39
  "aws-amplify": "^6.10.0"
37
40
  },
38
41
  "peerDependenciesMeta": {
39
- "aws-amplify": { "optional": true }
42
+ "aws-amplify": {
43
+ "optional": true
44
+ }
40
45
  },
41
46
  "devDependencies": {
42
47
  "aws-amplify": "^6.22.2",