@capgo/cli 7.62.2 â 7.64.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.
- package/README.md +33 -2
- package/dist/index.js +413 -392
- package/dist/package.json +2 -3
- package/dist/src/api/app.d.ts +2 -2
- package/dist/src/api/channels.d.ts +952 -63
- package/dist/src/api/cryptoV2.d.ts +0 -1
- package/dist/src/api/update.d.ts +0 -1
- package/dist/src/api/versions.d.ts +0 -1
- package/dist/src/app/add.d.ts +0 -1
- package/dist/src/app/debug.d.ts +0 -1
- package/dist/src/app/delete.d.ts +0 -1
- package/dist/src/app/info.d.ts +0 -1
- package/dist/src/app/list.d.ts +0 -1
- package/dist/src/app/set.d.ts +0 -1
- package/dist/src/app/setting.d.ts +0 -1
- package/dist/src/build/credentials-command.d.ts +0 -1
- package/dist/src/build/credentials.d.ts +0 -1
- package/dist/src/build/request.d.ts +0 -1
- package/dist/src/bundle/check.d.ts +0 -1
- package/dist/src/bundle/cleanup.d.ts +0 -1
- package/dist/src/bundle/compatibility.d.ts +0 -1
- package/dist/src/bundle/decryptV2.d.ts +0 -1
- package/dist/src/bundle/delete.d.ts +0 -1
- package/dist/src/bundle/encryptV2.d.ts +0 -1
- package/dist/src/bundle/list.d.ts +0 -1
- package/dist/src/bundle/partial.d.ts +0 -1
- package/dist/src/bundle/unlink.d.ts +0 -1
- package/dist/src/bundle/upload.d.ts +0 -1
- package/dist/src/bundle/upload_interface.d.ts +0 -1
- package/dist/src/bundle/zip.d.ts +0 -1
- package/dist/src/channel/add.d.ts +0 -1
- package/dist/src/channel/currentBundle.d.ts +0 -1
- package/dist/src/channel/delete.d.ts +0 -1
- package/dist/src/channel/list.d.ts +0 -1
- package/dist/src/channel/set.d.ts +0 -1
- package/dist/src/checksum.d.ts +0 -1
- package/dist/src/config/index.d.ts +0 -1
- package/dist/src/docs.d.ts +0 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/init.d.ts +0 -1
- package/dist/src/keyV2.d.ts +0 -1
- package/dist/src/login.d.ts +0 -1
- package/dist/src/mcp/server.d.ts +0 -1
- package/dist/src/organization/add.d.ts +3 -1
- package/dist/src/organization/delete.d.ts +0 -1
- package/dist/src/organization/index.d.ts +1 -1
- package/dist/src/organization/list.d.ts +4 -1
- package/dist/src/organization/members.d.ts +11 -0
- package/dist/src/organization/set.d.ts +2 -1
- package/dist/src/sdk.d.ts +6 -1
- package/dist/src/sdk.js +319 -308
- package/dist/src/types/supabase.types.d.ts +508 -29
- package/dist/src/user/account.d.ts +0 -1
- package/dist/src/utils/latest-version.d.ts +0 -1
- package/dist/src/utils/security_policy_errors.d.ts +50 -0
- package/dist/src/utils.d.ts +477 -27
- package/dist/src/versionHelpers.d.ts +0 -1
- package/package.json +2 -3
- package/dist/src/api/app.d.ts.map +0 -1
- package/dist/src/api/channels.d.ts.map +0 -1
- package/dist/src/api/cryptoV2.d.ts.map +0 -1
- package/dist/src/api/update.d.ts.map +0 -1
- package/dist/src/api/versions.d.ts.map +0 -1
- package/dist/src/app/add.d.ts.map +0 -1
- package/dist/src/app/debug.d.ts.map +0 -1
- package/dist/src/app/delete.d.ts.map +0 -1
- package/dist/src/app/info.d.ts.map +0 -1
- package/dist/src/app/list.d.ts.map +0 -1
- package/dist/src/app/set.d.ts.map +0 -1
- package/dist/src/app/setting.d.ts.map +0 -1
- package/dist/src/build/credentials-command.d.ts.map +0 -1
- package/dist/src/build/credentials.d.ts.map +0 -1
- package/dist/src/build/request.d.ts.map +0 -1
- package/dist/src/bundle/check.d.ts.map +0 -1
- package/dist/src/bundle/cleanup.d.ts.map +0 -1
- package/dist/src/bundle/compatibility.d.ts.map +0 -1
- package/dist/src/bundle/decryptV2.d.ts.map +0 -1
- package/dist/src/bundle/delete.d.ts.map +0 -1
- package/dist/src/bundle/encryptV2.d.ts.map +0 -1
- package/dist/src/bundle/list.d.ts.map +0 -1
- package/dist/src/bundle/partial.d.ts.map +0 -1
- package/dist/src/bundle/unlink.d.ts.map +0 -1
- package/dist/src/bundle/upload.d.ts.map +0 -1
- package/dist/src/bundle/upload_interface.d.ts.map +0 -1
- package/dist/src/bundle/zip.d.ts.map +0 -1
- package/dist/src/channel/add.d.ts.map +0 -1
- package/dist/src/channel/currentBundle.d.ts.map +0 -1
- package/dist/src/channel/delete.d.ts.map +0 -1
- package/dist/src/channel/list.d.ts.map +0 -1
- package/dist/src/channel/set.d.ts.map +0 -1
- package/dist/src/checksum.d.ts.map +0 -1
- package/dist/src/config/index.d.ts.map +0 -1
- package/dist/src/docs.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/init.d.ts.map +0 -1
- package/dist/src/keyV2.d.ts.map +0 -1
- package/dist/src/login.d.ts.map +0 -1
- package/dist/src/mcp/server.d.ts.map +0 -1
- package/dist/src/organization/add.d.ts.map +0 -1
- package/dist/src/organization/delete.d.ts.map +0 -1
- package/dist/src/organization/index.d.ts.map +0 -1
- package/dist/src/organization/list.d.ts.map +0 -1
- package/dist/src/organization/set.d.ts.map +0 -1
- package/dist/src/sdk.d.ts.map +0 -1
- package/dist/src/types/supabase.types.d.ts.map +0 -1
- package/dist/src/user/account.d.ts.map +0 -1
- package/dist/src/utils/latest-version.d.ts.map +0 -1
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/versionHelpers.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -57,6 +57,7 @@ Follow the documentation here: https://capacitorjs.com/docs/getting-started/
|
|
|
57
57
|
- đš [Organization](#organization)
|
|
58
58
|
- [List](#organization-list)
|
|
59
59
|
- [Add](#organization-add)
|
|
60
|
+
- [Members](#organization-members)
|
|
60
61
|
- [Set](#organization-set)
|
|
61
62
|
- [Delete](#organization-delete)
|
|
62
63
|
- đš [Organisation](#organisation)
|
|
@@ -847,6 +848,34 @@ npx @capgo/cli@latest organization add --name "My Company" --email admin@mycompa
|
|
|
847
848
|
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
848
849
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
849
850
|
|
|
851
|
+
### <a id="organization-members"></a> đš **Members**
|
|
852
|
+
|
|
853
|
+
**Alias:** `m`
|
|
854
|
+
|
|
855
|
+
```bash
|
|
856
|
+
npx @capgo/cli@latest organization members
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
đĨ List organization members and their 2FA status.
|
|
860
|
+
Shows all members of an organization with their roles and whether they have 2FA enabled.
|
|
861
|
+
Useful before enabling 2FA enforcement to see which members will be affected.
|
|
862
|
+
> âšī¸ Viewing 2FA status requires super_admin rights in the organization.
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
**Example:**
|
|
866
|
+
|
|
867
|
+
```bash
|
|
868
|
+
npx @capgo/cli@latest organization members ORG_ID
|
|
869
|
+
```
|
|
870
|
+
|
|
871
|
+
**Options:**
|
|
872
|
+
|
|
873
|
+
| Param | Type | Description |
|
|
874
|
+
| -------------- | ------------- | -------------------- |
|
|
875
|
+
| **-a,** | <code>string</code> | API key to link to your account |
|
|
876
|
+
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
877
|
+
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
878
|
+
|
|
850
879
|
### <a id="organization-set"></a> âī¸ **Set**
|
|
851
880
|
|
|
852
881
|
**Alias:** `s`
|
|
@@ -855,12 +884,12 @@ npx @capgo/cli@latest organization add --name "My Company" --email admin@mycompa
|
|
|
855
884
|
npx @capgo/cli@latest organization set
|
|
856
885
|
```
|
|
857
886
|
|
|
858
|
-
âī¸ Update organization settings such as name and
|
|
887
|
+
âī¸ Update organization settings such as name, email, and 2FA enforcement.
|
|
859
888
|
|
|
860
889
|
**Example:**
|
|
861
890
|
|
|
862
891
|
```bash
|
|
863
|
-
npx @capgo/cli@latest organization set ORG_ID --name "
|
|
892
|
+
npx @capgo/cli@latest organization set ORG_ID --name "New Name"
|
|
864
893
|
```
|
|
865
894
|
|
|
866
895
|
**Options:**
|
|
@@ -869,6 +898,8 @@ npx @capgo/cli@latest organization set ORG_ID --name "Updated Company Name"
|
|
|
869
898
|
| -------------- | ------------- | -------------------- |
|
|
870
899
|
| **-n,** | <code>string</code> | Organization name |
|
|
871
900
|
| **-e,** | <code>string</code> | Management email for the organization |
|
|
901
|
+
| **--enforce-2fa** | <code>boolean</code> | Enable 2FA enforcement for all organization members |
|
|
902
|
+
| **--no-enforce-2fa** | <code>boolean</code> | Disable 2FA enforcement for organization |
|
|
872
903
|
| **-a,** | <code>string</code> | API key to link to your account |
|
|
873
904
|
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
874
905
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|