@constructive-sdk/cli 0.14.0 → 0.14.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.
- package/admin/cli/commands/app-membership.js +22 -0
- package/admin/cli/commands/membership-type.js +44 -0
- package/{auth/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/admin/cli/commands/org-member-profile.js +392 -0
- package/admin/cli/commands/org-membership.js +44 -0
- package/admin/cli/commands.js +7 -5
- package/admin/cli/executor.d.ts +3 -2
- package/admin/orm/index.d.ts +6 -4
- package/admin/orm/index.js +6 -4
- package/admin/orm/input-types.d.ts +503 -295
- package/admin/orm/models/index.d.ts +3 -2
- package/admin/orm/models/index.js +7 -5
- package/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
- package/{esm/auth/cli/commands/one-time-token.d.ts → auth/cli/commands/create-api-key.d.ts} +1 -1
- package/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/auth/cli/commands/request-cross-origin-token.js +36 -0
- package/auth/cli/commands/require-step-up.d.ts +8 -0
- package/auth/cli/commands/require-step-up.js +30 -0
- package/auth/cli/commands/{one-time-token.d.ts → revoke-api-key.d.ts} +1 -1
- package/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/auth/cli/commands/revoke-session.d.ts +8 -0
- package/auth/cli/commands/revoke-session.js +36 -0
- package/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/auth/cli/commands/sign-in-cross-origin.js +36 -0
- package/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/auth/cli/commands/user-connected-account.js +176 -0
- package/auth/cli/commands.js +23 -11
- package/auth/cli/executor.d.ts +44 -14
- package/auth/orm/index.d.ts +45 -15
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +186 -251
- package/auth/orm/input-types.js +0 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/auth/orm/models/userConnectedAccount.js +76 -0
- package/auth/orm/mutation/index.d.ts +56 -16
- package/auth/orm/mutation/index.js +78 -18
- package/auth/orm/query/index.d.ts +12 -4
- package/auth/orm/query/index.js +19 -7
- package/esm/admin/cli/commands/app-membership.js +22 -0
- package/esm/admin/cli/commands/membership-type.js +44 -0
- package/esm/{public/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/admin/cli/commands/org-member-profile.js +390 -0
- package/esm/admin/cli/commands/org-membership.js +44 -0
- package/esm/admin/cli/commands.js +7 -5
- package/esm/admin/cli/executor.d.ts +3 -2
- package/esm/admin/orm/index.d.ts +6 -4
- package/esm/admin/orm/index.js +6 -4
- package/esm/admin/orm/input-types.d.ts +503 -295
- package/esm/admin/orm/models/index.d.ts +3 -2
- package/esm/admin/orm/models/index.js +3 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
- package/esm/auth/cli/commands/create-api-key.d.ts +8 -0
- package/esm/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/esm/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/esm/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/esm/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/auth/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/auth/cli/commands/require-step-up.d.ts +8 -0
- package/esm/auth/cli/commands/require-step-up.js +28 -0
- package/esm/auth/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/esm/auth/cli/commands/revoke-session.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-session.js +34 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/auth/cli/commands/user-connected-account.js +174 -0
- package/esm/auth/cli/commands.js +23 -11
- package/esm/auth/cli/executor.d.ts +44 -14
- package/esm/auth/orm/index.d.ts +45 -15
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +186 -251
- package/esm/auth/orm/input-types.js +0 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/auth/orm/models/userConnectedAccount.js +72 -0
- package/esm/auth/orm/mutation/index.d.ts +56 -16
- package/esm/auth/orm/mutation/index.js +78 -18
- package/esm/auth/orm/query/index.d.ts +12 -4
- package/esm/auth/orm/query/index.js +19 -7
- package/esm/public/cli/commands/app-membership.js +22 -0
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/create-api-key.d.ts +8 -0
- package/esm/public/cli/commands/create-api-key.js +34 -0
- package/{public/cli/commands/connected-account.d.ts → esm/public/cli/commands/devices-module.d.ts} +1 -1
- package/esm/public/cli/commands/{connected-account.js → devices-module.js} +101 -87
- package/esm/public/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/public/cli/commands/disconnect-account.js +34 -0
- package/esm/public/cli/commands/{table-template-module.d.ts → entity-type-provision.d.ts} +1 -1
- package/esm/public/cli/commands/entity-type-provision.js +554 -0
- package/esm/public/cli/commands/membership-type.js +44 -0
- package/esm/public/cli/commands/memberships-module.js +22 -0
- package/esm/{auth/cli/commands/connected-account.d.ts → public/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/public/cli/commands/org-member-profile.js +390 -0
- package/esm/public/cli/commands/org-membership.js +44 -0
- package/esm/public/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/public/cli/commands/provision-new-user.js +34 -0
- package/esm/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/provision-spatial-relation.js +34 -0
- package/esm/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/public/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/public/cli/commands/require-step-up.d.ts +8 -0
- package/esm/public/cli/commands/require-step-up.js +28 -0
- package/{auth/cli/commands/sign-in-one-time-token.d.ts → esm/public/cli/commands/resolve-blueprint-field.d.ts} +1 -1
- package/esm/public/cli/commands/resolve-blueprint-field.js +38 -0
- package/esm/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/public/cli/commands/revoke-api-key.js +34 -0
- package/esm/public/cli/commands/revoke-session.d.ts +8 -0
- package/esm/public/cli/commands/revoke-session.js +34 -0
- package/esm/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/esm/{auth/cli/commands/connected-account.js → public/cli/commands/session-secrets-module.js} +82 -90
- package/esm/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/public/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/public/cli/commands/spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/spatial-relation.js +472 -0
- package/esm/public/cli/commands/user-auth-module.js +24 -24
- package/esm/public/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/public/cli/commands/user-connected-account.js +174 -0
- package/esm/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/esm/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/esm/public/cli/commands.js +41 -15
- package/esm/public/cli/executor.d.ts +61 -16
- package/esm/public/orm/index.d.ts +69 -19
- package/esm/public/orm/index.js +16 -6
- package/esm/public/orm/input-types.d.ts +2047 -640
- package/esm/public/orm/input-types.js +15 -6
- package/esm/public/orm/models/devicesModule.d.ts +56 -0
- package/esm/public/orm/models/devicesModule.js +96 -0
- package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
- package/esm/public/orm/models/index.d.ts +8 -3
- package/esm/public/orm/models/index.js +8 -3
- package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
- package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionSecretsModule.js +96 -0
- package/esm/public/orm/models/spatialRelation.d.ts +56 -0
- package/esm/public/orm/models/spatialRelation.js +96 -0
- package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/public/orm/models/userConnectedAccount.js +72 -0
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +72 -20
- package/esm/public/orm/mutation/index.js +96 -24
- package/esm/public/orm/query/index.d.ts +24 -2
- package/esm/public/orm/query/index.js +36 -4
- package/package.json +2 -2
- package/public/cli/commands/app-membership.js +22 -0
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/create-api-key.d.ts +8 -0
- package/public/cli/commands/create-api-key.js +36 -0
- package/public/cli/commands/devices-module.d.ts +8 -0
- package/{auth/cli/commands/connected-account.js → public/cli/commands/devices-module.js} +101 -87
- package/public/cli/commands/disconnect-account.d.ts +8 -0
- package/public/cli/commands/disconnect-account.js +36 -0
- package/public/cli/commands/entity-type-provision.d.ts +8 -0
- package/public/cli/commands/entity-type-provision.js +556 -0
- package/public/cli/commands/membership-type.js +44 -0
- package/public/cli/commands/memberships-module.js +22 -0
- package/public/cli/commands/org-member-profile.d.ts +8 -0
- package/public/cli/commands/org-member-profile.js +392 -0
- package/public/cli/commands/org-membership.js +44 -0
- package/public/cli/commands/provision-new-user.d.ts +8 -0
- package/public/cli/commands/provision-new-user.js +36 -0
- package/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/public/cli/commands/provision-spatial-relation.js +36 -0
- package/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/public/cli/commands/request-cross-origin-token.js +36 -0
- package/public/cli/commands/require-step-up.d.ts +8 -0
- package/public/cli/commands/require-step-up.js +30 -0
- package/public/cli/commands/resolve-blueprint-field.d.ts +8 -0
- package/public/cli/commands/resolve-blueprint-field.js +40 -0
- package/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/public/cli/commands/revoke-api-key.js +36 -0
- package/public/cli/commands/revoke-session.d.ts +8 -0
- package/public/cli/commands/revoke-session.js +36 -0
- package/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/public/cli/commands/{connected-account.js → session-secrets-module.js} +82 -90
- package/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/public/cli/commands/sign-in-cross-origin.js +36 -0
- package/public/cli/commands/spatial-relation.d.ts +8 -0
- package/public/cli/commands/spatial-relation.js +474 -0
- package/public/cli/commands/user-auth-module.js +24 -24
- package/public/cli/commands/user-connected-account.d.ts +8 -0
- package/public/cli/commands/user-connected-account.js +176 -0
- package/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/public/cli/commands.js +41 -15
- package/public/cli/executor.d.ts +61 -16
- package/public/orm/index.d.ts +69 -19
- package/public/orm/index.js +16 -6
- package/public/orm/input-types.d.ts +2047 -640
- package/public/orm/input-types.js +15 -6
- package/public/orm/models/devicesModule.d.ts +56 -0
- package/public/orm/models/devicesModule.js +100 -0
- package/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
- package/public/orm/models/index.d.ts +8 -3
- package/public/orm/models/index.js +19 -9
- package/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
- package/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/public/orm/models/sessionSecretsModule.js +100 -0
- package/public/orm/models/spatialRelation.d.ts +56 -0
- package/public/orm/models/spatialRelation.js +100 -0
- package/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/public/orm/models/userConnectedAccount.js +76 -0
- package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/public/orm/models/webauthnCredentialsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +72 -20
- package/public/orm/mutation/index.js +96 -24
- package/public/orm/query/index.d.ts +24 -2
- package/public/orm/query/index.js +36 -4
- package/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/auth/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/cli/commands/one-time-token.d.ts +0 -8
- package/esm/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/cli/commands/one-time-token.d.ts +0 -8
- package/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/public/cli/commands/table-template-module.d.ts +0 -8
- package/public/orm/models/connectedAccount.d.ts +0 -56
- package/public/orm/models/tableTemplateModule.d.ts +0 -56
|
@@ -20,24 +20,25 @@ import appLimitDefaultCmd from './commands/app-limit-default';
|
|
|
20
20
|
import orgLimitDefaultCmd from './commands/org-limit-default';
|
|
21
21
|
import orgAdminGrantCmd from './commands/org-admin-grant';
|
|
22
22
|
import orgOwnerGrantCmd from './commands/org-owner-grant';
|
|
23
|
-
import membershipTypeCmd from './commands/membership-type';
|
|
24
23
|
import appLimitCmd from './commands/app-limit';
|
|
25
24
|
import appAchievementCmd from './commands/app-achievement';
|
|
26
25
|
import appStepCmd from './commands/app-step';
|
|
27
26
|
import appClaimedInviteCmd from './commands/app-claimed-invite';
|
|
28
27
|
import orgChartEdgeGrantCmd from './commands/org-chart-edge-grant';
|
|
29
28
|
import orgLimitCmd from './commands/org-limit';
|
|
29
|
+
import membershipTypeCmd from './commands/membership-type';
|
|
30
30
|
import appGrantCmd from './commands/app-grant';
|
|
31
31
|
import appMembershipDefaultCmd from './commands/app-membership-default';
|
|
32
32
|
import orgClaimedInviteCmd from './commands/org-claimed-invite';
|
|
33
33
|
import orgGrantCmd from './commands/org-grant';
|
|
34
34
|
import orgChartEdgeCmd from './commands/org-chart-edge';
|
|
35
35
|
import orgMembershipDefaultCmd from './commands/org-membership-default';
|
|
36
|
+
import orgMemberProfileCmd from './commands/org-member-profile';
|
|
36
37
|
import appLevelCmd from './commands/app-level';
|
|
37
38
|
import appInviteCmd from './commands/app-invite';
|
|
39
|
+
import orgInviteCmd from './commands/org-invite';
|
|
38
40
|
import appMembershipCmd from './commands/app-membership';
|
|
39
41
|
import orgMembershipCmd from './commands/org-membership';
|
|
40
|
-
import orgInviteCmd from './commands/org-invite';
|
|
41
42
|
import appPermissionsGetPaddedMaskCmd from './commands/app-permissions-get-padded-mask';
|
|
42
43
|
import orgPermissionsGetPaddedMaskCmd from './commands/org-permissions-get-padded-mask';
|
|
43
44
|
import orgIsManagerOfCmd from './commands/org-is-manager-of';
|
|
@@ -71,24 +72,25 @@ const createCommandMap = () => ({
|
|
|
71
72
|
'org-limit-default': orgLimitDefaultCmd,
|
|
72
73
|
'org-admin-grant': orgAdminGrantCmd,
|
|
73
74
|
'org-owner-grant': orgOwnerGrantCmd,
|
|
74
|
-
'membership-type': membershipTypeCmd,
|
|
75
75
|
'app-limit': appLimitCmd,
|
|
76
76
|
'app-achievement': appAchievementCmd,
|
|
77
77
|
'app-step': appStepCmd,
|
|
78
78
|
'app-claimed-invite': appClaimedInviteCmd,
|
|
79
79
|
'org-chart-edge-grant': orgChartEdgeGrantCmd,
|
|
80
80
|
'org-limit': orgLimitCmd,
|
|
81
|
+
'membership-type': membershipTypeCmd,
|
|
81
82
|
'app-grant': appGrantCmd,
|
|
82
83
|
'app-membership-default': appMembershipDefaultCmd,
|
|
83
84
|
'org-claimed-invite': orgClaimedInviteCmd,
|
|
84
85
|
'org-grant': orgGrantCmd,
|
|
85
86
|
'org-chart-edge': orgChartEdgeCmd,
|
|
86
87
|
'org-membership-default': orgMembershipDefaultCmd,
|
|
88
|
+
'org-member-profile': orgMemberProfileCmd,
|
|
87
89
|
'app-level': appLevelCmd,
|
|
88
90
|
'app-invite': appInviteCmd,
|
|
91
|
+
'org-invite': orgInviteCmd,
|
|
89
92
|
'app-membership': appMembershipCmd,
|
|
90
93
|
'org-membership': orgMembershipCmd,
|
|
91
|
-
'org-invite': orgInviteCmd,
|
|
92
94
|
'app-permissions-get-padded-mask': appPermissionsGetPaddedMaskCmd,
|
|
93
95
|
'org-permissions-get-padded-mask': orgPermissionsGetPaddedMaskCmd,
|
|
94
96
|
'org-is-manager-of': orgIsManagerOfCmd,
|
|
@@ -106,7 +108,7 @@ const createCommandMap = () => ({
|
|
|
106
108
|
'confirm-upload': confirmUploadCmd,
|
|
107
109
|
'provision-bucket': provisionBucketCmd,
|
|
108
110
|
});
|
|
109
|
-
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n
|
|
111
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n org-member orgMember CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n app-limit appLimit CRUD operations\n app-achievement appAchievement CRUD operations\n app-step appStep CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-limit orgLimit CRUD operations\n membership-type membershipType CRUD operations\n app-grant appGrant CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n app-level appLevel CRUD operations\n app-invite appInvite CRUD operations\n org-invite orgInvite CRUD operations\n app-membership appMembership CRUD operations\n org-membership orgMembership CRUD operations\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n steps-achieved stepsAchieved\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\n confirm-upload Confirm that a file has been uploaded to S3.\nVerifies the object exists in S3, checks content-type,\nand transitions the file status from 'pending' to 'ready'.\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
110
112
|
export const commands = async (argv, prompter, options) => {
|
|
111
113
|
if (argv.help || argv.h) {
|
|
112
114
|
console.log(usage);
|
|
@@ -14,24 +14,25 @@ export declare function getClient(contextName?: string): {
|
|
|
14
14
|
orgLimitDefault: import("..").OrgLimitDefaultModel;
|
|
15
15
|
orgAdminGrant: import("..").OrgAdminGrantModel;
|
|
16
16
|
orgOwnerGrant: import("..").OrgOwnerGrantModel;
|
|
17
|
-
membershipType: import("..").MembershipTypeModel;
|
|
18
17
|
appLimit: import("..").AppLimitModel;
|
|
19
18
|
appAchievement: import("..").AppAchievementModel;
|
|
20
19
|
appStep: import("..").AppStepModel;
|
|
21
20
|
appClaimedInvite: import("..").AppClaimedInviteModel;
|
|
22
21
|
orgChartEdgeGrant: import("..").OrgChartEdgeGrantModel;
|
|
23
22
|
orgLimit: import("..").OrgLimitModel;
|
|
23
|
+
membershipType: import("..").MembershipTypeModel;
|
|
24
24
|
appGrant: import("..").AppGrantModel;
|
|
25
25
|
appMembershipDefault: import("..").AppMembershipDefaultModel;
|
|
26
26
|
orgClaimedInvite: import("..").OrgClaimedInviteModel;
|
|
27
27
|
orgGrant: import("..").OrgGrantModel;
|
|
28
28
|
orgChartEdge: import("..").OrgChartEdgeModel;
|
|
29
29
|
orgMembershipDefault: import("..").OrgMembershipDefaultModel;
|
|
30
|
+
orgMemberProfile: import("..").OrgMemberProfileModel;
|
|
30
31
|
appLevel: import("..").AppLevelModel;
|
|
31
32
|
appInvite: import("..").AppInviteModel;
|
|
33
|
+
orgInvite: import("..").OrgInviteModel;
|
|
32
34
|
appMembership: import("..").AppMembershipModel;
|
|
33
35
|
orgMembership: import("..").OrgMembershipModel;
|
|
34
|
-
orgInvite: import("..").OrgInviteModel;
|
|
35
36
|
query: {
|
|
36
37
|
appPermissionsGetPaddedMask: (args: import("../orm/query").AppPermissionsGetPaddedMaskVariables, options?: {
|
|
37
38
|
select?: Record<string, unknown>;
|
package/esm/admin/orm/index.d.ts
CHANGED
|
@@ -13,24 +13,25 @@ import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
|
13
13
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
14
14
|
import { OrgAdminGrantModel } from './models/orgAdminGrant';
|
|
15
15
|
import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
|
|
16
|
-
import { MembershipTypeModel } from './models/membershipType';
|
|
17
16
|
import { AppLimitModel } from './models/appLimit';
|
|
18
17
|
import { AppAchievementModel } from './models/appAchievement';
|
|
19
18
|
import { AppStepModel } from './models/appStep';
|
|
20
19
|
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
21
20
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
22
21
|
import { OrgLimitModel } from './models/orgLimit';
|
|
22
|
+
import { MembershipTypeModel } from './models/membershipType';
|
|
23
23
|
import { AppGrantModel } from './models/appGrant';
|
|
24
24
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
25
25
|
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
26
26
|
import { OrgGrantModel } from './models/orgGrant';
|
|
27
27
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
28
28
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
29
|
+
import { OrgMemberProfileModel } from './models/orgMemberProfile';
|
|
29
30
|
import { AppLevelModel } from './models/appLevel';
|
|
30
31
|
import { AppInviteModel } from './models/appInvite';
|
|
32
|
+
import { OrgInviteModel } from './models/orgInvite';
|
|
31
33
|
import { AppMembershipModel } from './models/appMembership';
|
|
32
34
|
import { OrgMembershipModel } from './models/orgMembership';
|
|
33
|
-
import { OrgInviteModel } from './models/orgInvite';
|
|
34
35
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
35
36
|
export { GraphQLRequestError } from './client';
|
|
36
37
|
export { QueryBuilder } from './query-builder';
|
|
@@ -77,24 +78,25 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
77
78
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
78
79
|
orgAdminGrant: OrgAdminGrantModel;
|
|
79
80
|
orgOwnerGrant: OrgOwnerGrantModel;
|
|
80
|
-
membershipType: MembershipTypeModel;
|
|
81
81
|
appLimit: AppLimitModel;
|
|
82
82
|
appAchievement: AppAchievementModel;
|
|
83
83
|
appStep: AppStepModel;
|
|
84
84
|
appClaimedInvite: AppClaimedInviteModel;
|
|
85
85
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
86
86
|
orgLimit: OrgLimitModel;
|
|
87
|
+
membershipType: MembershipTypeModel;
|
|
87
88
|
appGrant: AppGrantModel;
|
|
88
89
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
89
90
|
orgClaimedInvite: OrgClaimedInviteModel;
|
|
90
91
|
orgGrant: OrgGrantModel;
|
|
91
92
|
orgChartEdge: OrgChartEdgeModel;
|
|
92
93
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
94
|
+
orgMemberProfile: OrgMemberProfileModel;
|
|
93
95
|
appLevel: AppLevelModel;
|
|
94
96
|
appInvite: AppInviteModel;
|
|
97
|
+
orgInvite: OrgInviteModel;
|
|
95
98
|
appMembership: AppMembershipModel;
|
|
96
99
|
orgMembership: OrgMembershipModel;
|
|
97
|
-
orgInvite: OrgInviteModel;
|
|
98
100
|
query: {
|
|
99
101
|
appPermissionsGetPaddedMask: (args: import("./query").AppPermissionsGetPaddedMaskVariables, options?: {
|
|
100
102
|
select?: Record<string, unknown>;
|
package/esm/admin/orm/index.js
CHANGED
|
@@ -18,24 +18,25 @@ import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
|
18
18
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
19
19
|
import { OrgAdminGrantModel } from './models/orgAdminGrant';
|
|
20
20
|
import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
|
|
21
|
-
import { MembershipTypeModel } from './models/membershipType';
|
|
22
21
|
import { AppLimitModel } from './models/appLimit';
|
|
23
22
|
import { AppAchievementModel } from './models/appAchievement';
|
|
24
23
|
import { AppStepModel } from './models/appStep';
|
|
25
24
|
import { AppClaimedInviteModel } from './models/appClaimedInvite';
|
|
26
25
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
27
26
|
import { OrgLimitModel } from './models/orgLimit';
|
|
27
|
+
import { MembershipTypeModel } from './models/membershipType';
|
|
28
28
|
import { AppGrantModel } from './models/appGrant';
|
|
29
29
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
30
30
|
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
|
|
31
31
|
import { OrgGrantModel } from './models/orgGrant';
|
|
32
32
|
import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
33
33
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
34
|
+
import { OrgMemberProfileModel } from './models/orgMemberProfile';
|
|
34
35
|
import { AppLevelModel } from './models/appLevel';
|
|
35
36
|
import { AppInviteModel } from './models/appInvite';
|
|
37
|
+
import { OrgInviteModel } from './models/orgInvite';
|
|
36
38
|
import { AppMembershipModel } from './models/appMembership';
|
|
37
39
|
import { OrgMembershipModel } from './models/orgMembership';
|
|
38
|
-
import { OrgInviteModel } from './models/orgInvite';
|
|
39
40
|
import { createQueryOperations } from './query';
|
|
40
41
|
import { createMutationOperations } from './mutation';
|
|
41
42
|
export { GraphQLRequestError } from './client';
|
|
@@ -85,24 +86,25 @@ export function createClient(config) {
|
|
|
85
86
|
orgLimitDefault: new OrgLimitDefaultModel(client),
|
|
86
87
|
orgAdminGrant: new OrgAdminGrantModel(client),
|
|
87
88
|
orgOwnerGrant: new OrgOwnerGrantModel(client),
|
|
88
|
-
membershipType: new MembershipTypeModel(client),
|
|
89
89
|
appLimit: new AppLimitModel(client),
|
|
90
90
|
appAchievement: new AppAchievementModel(client),
|
|
91
91
|
appStep: new AppStepModel(client),
|
|
92
92
|
appClaimedInvite: new AppClaimedInviteModel(client),
|
|
93
93
|
orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
|
|
94
94
|
orgLimit: new OrgLimitModel(client),
|
|
95
|
+
membershipType: new MembershipTypeModel(client),
|
|
95
96
|
appGrant: new AppGrantModel(client),
|
|
96
97
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
97
98
|
orgClaimedInvite: new OrgClaimedInviteModel(client),
|
|
98
99
|
orgGrant: new OrgGrantModel(client),
|
|
99
100
|
orgChartEdge: new OrgChartEdgeModel(client),
|
|
100
101
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
102
|
+
orgMemberProfile: new OrgMemberProfileModel(client),
|
|
101
103
|
appLevel: new AppLevelModel(client),
|
|
102
104
|
appInvite: new AppInviteModel(client),
|
|
105
|
+
orgInvite: new OrgInviteModel(client),
|
|
103
106
|
appMembership: new AppMembershipModel(client),
|
|
104
107
|
orgMembership: new OrgMembershipModel(client),
|
|
105
|
-
orgInvite: new OrgInviteModel(client),
|
|
106
108
|
query: createQueryOperations(client),
|
|
107
109
|
mutation: createMutationOperations(client),
|
|
108
110
|
};
|