@constructive-sdk/cli 0.20.3 → 0.20.5
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/{request-upload-url.d.ts → app-limit-cap.d.ts} +1 -1
- package/admin/cli/commands/app-limit-cap.js +272 -0
- package/{esm/admin/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-caps-default.d.ts} +1 -1
- package/admin/cli/commands/app-limit-caps-default.js +252 -0
- package/{auth/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-credit-code-item.d.ts} +1 -1
- package/admin/cli/commands/app-limit-credit-code-item.js +292 -0
- package/{esm/auth/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-credit-code.d.ts} +1 -1
- package/admin/cli/commands/app-limit-credit-code.js +296 -0
- package/admin/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/admin/cli/commands/app-limit-credit-redemption.js +250 -0
- package/admin/cli/commands/app-limit-credit.d.ts +8 -0
- package/admin/cli/commands/app-limit-credit.js +316 -0
- package/admin/cli/commands/app-limit.js +66 -0
- package/admin/cli/commands/org-limit-aggregate.js +88 -0
- package/admin/cli/commands/org-limit-cap.d.ts +8 -0
- package/admin/cli/commands/org-limit-cap.js +272 -0
- package/admin/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/admin/cli/commands/org-limit-caps-default.js +252 -0
- package/admin/cli/commands/org-limit-credit.d.ts +8 -0
- package/admin/cli/commands/org-limit-credit.js +338 -0
- package/admin/cli/commands/org-limit.js +66 -0
- package/admin/cli/commands.js +25 -9
- package/admin/cli/executor.d.ts +12 -8
- package/admin/orm/index.d.ts +24 -11
- package/admin/orm/index.js +24 -6
- package/admin/orm/input-types.d.ts +2108 -545
- package/admin/orm/input-types.js +13 -1
- package/admin/orm/models/appLimitCap.d.ts +56 -0
- package/admin/orm/models/appLimitCap.js +100 -0
- package/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/appLimitCapsDefault.js +100 -0
- package/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/admin/orm/models/appLimitCredit.js +100 -0
- package/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCode.js +100 -0
- package/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCodeItem.js +100 -0
- package/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/admin/orm/models/appLimitCreditRedemption.js +100 -0
- package/admin/orm/models/index.d.ts +12 -3
- package/admin/orm/models/index.js +25 -7
- package/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/admin/orm/models/orgLimitCap.js +100 -0
- package/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/orgLimitCapsDefault.js +100 -0
- package/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/admin/orm/models/orgLimitCredit.js +100 -0
- package/admin/orm/mutation/index.d.ts +1 -16
- package/admin/orm/mutation/index.js +0 -12
- package/admin/orm/query-builder.js +24 -0
- package/auth/cli/commands.js +1 -3
- package/auth/cli/executor.d.ts +0 -5
- package/auth/orm/index.d.ts +0 -5
- package/auth/orm/input-types.d.ts +0 -38
- package/auth/orm/mutation/index.d.ts +1 -16
- package/auth/orm/mutation/index.js +0 -12
- package/auth/orm/query-builder.js +24 -0
- package/esm/admin/cli/commands/app-limit-cap.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-cap.js +270 -0
- package/esm/admin/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-caps-default.js +250 -0
- package/esm/admin/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-code-item.js +290 -0
- package/esm/admin/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-code.js +294 -0
- package/esm/admin/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-redemption.js +248 -0
- package/esm/admin/cli/commands/app-limit-credit.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit.js +314 -0
- package/esm/admin/cli/commands/app-limit.js +66 -0
- package/esm/admin/cli/commands/org-limit-aggregate.js +88 -0
- package/esm/admin/cli/commands/org-limit-cap.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-cap.js +270 -0
- package/esm/admin/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-caps-default.js +250 -0
- package/esm/admin/cli/commands/org-limit-credit.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-credit.js +336 -0
- package/esm/admin/cli/commands/org-limit.js +66 -0
- package/esm/admin/cli/commands.js +25 -9
- package/esm/admin/cli/executor.d.ts +12 -8
- package/esm/admin/orm/index.d.ts +24 -11
- package/esm/admin/orm/index.js +24 -6
- package/esm/admin/orm/input-types.d.ts +2108 -545
- package/esm/admin/orm/input-types.js +13 -1
- package/esm/admin/orm/models/appLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCap.js +96 -0
- package/esm/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCredit.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCode.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/admin/orm/models/index.d.ts +12 -3
- package/esm/admin/orm/models/index.js +12 -3
- package/esm/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCap.js +96 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCredit.js +96 -0
- package/esm/admin/orm/mutation/index.d.ts +1 -16
- package/esm/admin/orm/mutation/index.js +0 -12
- package/esm/admin/orm/query-builder.js +24 -0
- package/esm/auth/cli/commands.js +1 -3
- package/esm/auth/cli/executor.d.ts +0 -5
- package/esm/auth/orm/index.d.ts +0 -5
- package/esm/auth/orm/input-types.d.ts +0 -38
- package/esm/auth/orm/mutation/index.d.ts +1 -16
- package/esm/auth/orm/mutation/index.js +0 -12
- package/esm/auth/orm/query-builder.js +24 -0
- package/esm/objects/cli/commands.js +1 -3
- package/esm/objects/cli/executor.d.ts +0 -5
- package/esm/objects/orm/index.d.ts +0 -5
- package/esm/objects/orm/input-types.d.ts +0 -38
- package/esm/objects/orm/mutation/index.d.ts +1 -16
- package/esm/objects/orm/mutation/index.js +0 -12
- package/esm/objects/orm/query-builder.js +24 -0
- package/esm/public/cli/commands/api-setting.d.ts +8 -0
- package/esm/public/cli/commands/api-setting.js +468 -0
- package/esm/public/cli/commands/app-limit-cap.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-cap.js +270 -0
- package/esm/public/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-caps-default.js +250 -0
- package/esm/public/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-code-item.js +290 -0
- package/esm/public/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-code.js +294 -0
- package/esm/public/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-redemption.js +248 -0
- package/esm/public/cli/commands/app-limit-credit.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit.js +314 -0
- package/esm/public/cli/commands/app-limit.js +66 -0
- package/esm/public/cli/commands/append-smart-tags.d.ts +8 -0
- package/esm/{admin/cli/commands/request-upload-url.js → public/cli/commands/append-smart-tags.js} +3 -3
- package/esm/public/cli/commands/billing-provider-module.d.ts +8 -0
- package/esm/public/cli/commands/billing-provider-module.js +624 -0
- package/esm/public/cli/commands/cors-setting.d.ts +8 -0
- package/esm/public/cli/commands/cors-setting.js +272 -0
- package/esm/public/cli/commands/database-setting.d.ts +8 -0
- package/esm/public/cli/commands/database-setting.js +448 -0
- package/esm/public/cli/commands/entity-type-provision.js +22 -0
- package/esm/public/cli/commands/function.d.ts +8 -0
- package/esm/public/cli/commands/function.js +268 -0
- package/esm/public/cli/commands/limits-module.js +198 -0
- package/esm/public/cli/commands/org-limit-aggregate.js +88 -0
- package/esm/public/cli/commands/org-limit-cap.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-cap.js +270 -0
- package/esm/public/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-caps-default.js +250 -0
- package/esm/public/cli/commands/org-limit-credit.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-credit.js +336 -0
- package/esm/public/cli/commands/org-limit.js +66 -0
- package/esm/public/cli/commands/partition.d.ts +8 -0
- package/esm/public/cli/commands/partition.js +388 -0
- package/esm/public/cli/commands/plans-module.js +44 -0
- package/esm/public/cli/commands/pubkey-setting.d.ts +8 -0
- package/esm/public/cli/commands/pubkey-setting.js +382 -0
- package/esm/public/cli/commands/rls-setting.d.ts +8 -0
- package/esm/public/cli/commands/rls-setting.js +404 -0
- package/esm/public/cli/commands/storage-module.js +198 -0
- package/esm/public/cli/commands/webauthn-setting.d.ts +8 -0
- package/esm/public/cli/commands/webauthn-setting.js +580 -0
- package/esm/public/cli/commands.js +41 -5
- package/esm/public/cli/executor.d.ts +24 -6
- package/esm/public/orm/index.d.ts +43 -7
- package/esm/public/orm/index.js +38 -2
- package/esm/public/orm/input-types.d.ts +4601 -321
- package/esm/public/orm/input-types.js +21 -0
- package/esm/public/orm/models/apiSetting.d.ts +56 -0
- package/esm/public/orm/models/apiSetting.js +96 -0
- package/esm/public/orm/models/appLimitCap.d.ts +56 -0
- package/esm/public/orm/models/appLimitCap.js +96 -0
- package/esm/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/appLimitCredit.js +96 -0
- package/esm/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCode.js +96 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/public/orm/models/billingProviderModule.d.ts +56 -0
- package/esm/public/orm/models/billingProviderModule.js +96 -0
- package/esm/public/orm/models/corsSetting.d.ts +56 -0
- package/esm/public/orm/models/corsSetting.js +96 -0
- package/esm/public/orm/models/databaseSetting.d.ts +56 -0
- package/esm/public/orm/models/databaseSetting.js +96 -0
- package/esm/public/orm/models/function.d.ts +56 -0
- package/esm/public/orm/models/function.js +96 -0
- package/esm/public/orm/models/index.d.ts +19 -1
- package/esm/public/orm/models/index.js +19 -1
- package/esm/public/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCap.js +96 -0
- package/esm/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCredit.js +96 -0
- package/esm/public/orm/models/partition.d.ts +56 -0
- package/esm/public/orm/models/partition.js +96 -0
- package/esm/public/orm/models/pubkeySetting.d.ts +56 -0
- package/esm/public/orm/models/pubkeySetting.js +96 -0
- package/esm/public/orm/models/rlsSetting.d.ts +56 -0
- package/esm/public/orm/models/rlsSetting.js +96 -0
- package/esm/public/orm/models/webauthnSetting.d.ts +56 -0
- package/esm/public/orm/models/webauthnSetting.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -16
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.js +24 -0
- package/objects/cli/commands.js +1 -3
- package/objects/cli/executor.d.ts +0 -5
- package/objects/orm/index.d.ts +0 -5
- package/objects/orm/input-types.d.ts +0 -38
- package/objects/orm/mutation/index.d.ts +1 -16
- package/objects/orm/mutation/index.js +0 -12
- package/objects/orm/query-builder.js +24 -0
- package/package.json +4 -4
- package/public/cli/commands/api-setting.d.ts +8 -0
- package/public/cli/commands/api-setting.js +470 -0
- package/public/cli/commands/app-limit-cap.d.ts +8 -0
- package/public/cli/commands/app-limit-cap.js +272 -0
- package/public/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/public/cli/commands/app-limit-caps-default.js +252 -0
- package/public/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-code-item.js +292 -0
- package/public/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-code.js +296 -0
- package/public/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-redemption.js +250 -0
- package/public/cli/commands/app-limit-credit.d.ts +8 -0
- package/public/cli/commands/app-limit-credit.js +316 -0
- package/public/cli/commands/app-limit.js +66 -0
- package/public/cli/commands/append-smart-tags.d.ts +8 -0
- package/{objects/cli/commands/request-upload-url.js → public/cli/commands/append-smart-tags.js} +3 -3
- package/public/cli/commands/billing-provider-module.d.ts +8 -0
- package/public/cli/commands/billing-provider-module.js +626 -0
- package/public/cli/commands/cors-setting.d.ts +8 -0
- package/public/cli/commands/cors-setting.js +274 -0
- package/public/cli/commands/database-setting.d.ts +8 -0
- package/public/cli/commands/database-setting.js +450 -0
- package/public/cli/commands/entity-type-provision.js +22 -0
- package/public/cli/commands/function.d.ts +8 -0
- package/public/cli/commands/function.js +270 -0
- package/public/cli/commands/limits-module.js +198 -0
- package/public/cli/commands/org-limit-aggregate.js +88 -0
- package/public/cli/commands/org-limit-cap.d.ts +8 -0
- package/public/cli/commands/org-limit-cap.js +272 -0
- package/public/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/public/cli/commands/org-limit-caps-default.js +252 -0
- package/public/cli/commands/org-limit-credit.d.ts +8 -0
- package/public/cli/commands/org-limit-credit.js +338 -0
- package/public/cli/commands/org-limit.js +66 -0
- package/public/cli/commands/partition.d.ts +8 -0
- package/public/cli/commands/partition.js +390 -0
- package/public/cli/commands/plans-module.js +44 -0
- package/public/cli/commands/pubkey-setting.d.ts +8 -0
- package/public/cli/commands/pubkey-setting.js +384 -0
- package/public/cli/commands/rls-setting.d.ts +8 -0
- package/public/cli/commands/rls-setting.js +406 -0
- package/public/cli/commands/storage-module.js +198 -0
- package/public/cli/commands/webauthn-setting.d.ts +8 -0
- package/public/cli/commands/webauthn-setting.js +582 -0
- package/public/cli/commands.js +41 -5
- package/public/cli/executor.d.ts +24 -6
- package/public/orm/index.d.ts +43 -7
- package/public/orm/index.js +38 -2
- package/public/orm/input-types.d.ts +4601 -321
- package/public/orm/input-types.js +21 -0
- package/public/orm/models/apiSetting.d.ts +56 -0
- package/public/orm/models/apiSetting.js +100 -0
- package/public/orm/models/appLimitCap.d.ts +56 -0
- package/public/orm/models/appLimitCap.js +100 -0
- package/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/appLimitCapsDefault.js +100 -0
- package/public/orm/models/appLimitCredit.d.ts +56 -0
- package/public/orm/models/appLimitCredit.js +100 -0
- package/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/public/orm/models/appLimitCreditCode.js +100 -0
- package/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/public/orm/models/appLimitCreditCodeItem.js +100 -0
- package/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/public/orm/models/appLimitCreditRedemption.js +100 -0
- package/public/orm/models/billingProviderModule.d.ts +56 -0
- package/public/orm/models/billingProviderModule.js +100 -0
- package/public/orm/models/corsSetting.d.ts +56 -0
- package/public/orm/models/corsSetting.js +100 -0
- package/public/orm/models/databaseSetting.d.ts +56 -0
- package/public/orm/models/databaseSetting.js +100 -0
- package/public/orm/models/function.d.ts +56 -0
- package/public/orm/models/function.js +100 -0
- package/public/orm/models/index.d.ts +19 -1
- package/public/orm/models/index.js +41 -5
- package/public/orm/models/orgLimitCap.d.ts +56 -0
- package/public/orm/models/orgLimitCap.js +100 -0
- package/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/orgLimitCapsDefault.js +100 -0
- package/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/public/orm/models/orgLimitCredit.js +100 -0
- package/public/orm/models/partition.d.ts +56 -0
- package/public/orm/models/partition.js +100 -0
- package/public/orm/models/pubkeySetting.d.ts +56 -0
- package/public/orm/models/pubkeySetting.js +100 -0
- package/public/orm/models/rlsSetting.d.ts +56 -0
- package/public/orm/models/rlsSetting.js +100 -0
- package/public/orm/models/webauthnSetting.d.ts +56 -0
- package/public/orm/models/webauthnSetting.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -16
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.js +24 -0
- package/admin/cli/commands/request-upload-url.js +0 -36
- package/auth/cli/commands/request-upload-url.js +0 -36
- package/esm/auth/cli/commands/request-upload-url.js +0 -34
- package/esm/objects/cli/commands/request-upload-url.d.ts +0 -8
- package/esm/objects/cli/commands/request-upload-url.js +0 -34
- package/esm/public/cli/commands/request-upload-url.d.ts +0 -8
- package/esm/public/cli/commands/request-upload-url.js +0 -34
- package/objects/cli/commands/request-upload-url.d.ts +0 -8
- package/public/cli/commands/request-upload-url.d.ts +0 -8
- package/public/cli/commands/request-upload-url.js +0 -36
|
@@ -19,6 +19,7 @@ import tableCmd from './commands/table';
|
|
|
19
19
|
import checkConstraintCmd from './commands/check-constraint';
|
|
20
20
|
import fieldCmd from './commands/field';
|
|
21
21
|
import spatialRelationCmd from './commands/spatial-relation';
|
|
22
|
+
import partitionCmd from './commands/partition';
|
|
22
23
|
import foreignKeyConstraintCmd from './commands/foreign-key-constraint';
|
|
23
24
|
import fullTextSearchCmd from './commands/full-text-search';
|
|
24
25
|
import indexCmd from './commands/index';
|
|
@@ -39,17 +40,20 @@ import identityProvidersModuleCmd from './commands/identity-providers-module';
|
|
|
39
40
|
import schemaGrantCmd from './commands/schema-grant';
|
|
40
41
|
import defaultPrivilegeCmd from './commands/default-privilege';
|
|
41
42
|
import enumCmd from './commands/enum';
|
|
43
|
+
import functionCmd from './commands/function';
|
|
42
44
|
import apiSchemaCmd from './commands/api-schema';
|
|
43
45
|
import apiModuleCmd from './commands/api-module';
|
|
44
46
|
import domainCmd from './commands/domain';
|
|
45
47
|
import siteMetadatumCmd from './commands/site-metadatum';
|
|
46
48
|
import siteModuleCmd from './commands/site-module';
|
|
47
49
|
import siteThemeCmd from './commands/site-theme';
|
|
50
|
+
import corsSettingCmd from './commands/cors-setting';
|
|
48
51
|
import triggerFunctionCmd from './commands/trigger-function';
|
|
49
52
|
import databaseTransferCmd from './commands/database-transfer';
|
|
50
53
|
import apiCmd from './commands/api';
|
|
51
54
|
import siteCmd from './commands/site';
|
|
52
55
|
import appCmd from './commands/app';
|
|
56
|
+
import apiSettingCmd from './commands/api-setting';
|
|
53
57
|
import connectedAccountsModuleCmd from './commands/connected-accounts-module';
|
|
54
58
|
import cryptoAddressesModuleCmd from './commands/crypto-addresses-module';
|
|
55
59
|
import cryptoAuthModuleCmd from './commands/crypto-auth-module';
|
|
@@ -91,7 +95,11 @@ import orgChartEdgeCmd from './commands/org-chart-edge';
|
|
|
91
95
|
import orgChartEdgeGrantCmd from './commands/org-chart-edge-grant';
|
|
92
96
|
import orgPermissionDefaultCmd from './commands/org-permission-default';
|
|
93
97
|
import appLimitCmd from './commands/app-limit';
|
|
98
|
+
import appLimitCreditCmd from './commands/app-limit-credit';
|
|
99
|
+
import appLimitCreditCodeItemCmd from './commands/app-limit-credit-code-item';
|
|
100
|
+
import appLimitCreditRedemptionCmd from './commands/app-limit-credit-redemption';
|
|
94
101
|
import orgLimitCmd from './commands/org-limit';
|
|
102
|
+
import orgLimitCreditCmd from './commands/org-limit-credit';
|
|
95
103
|
import orgLimitAggregateCmd from './commands/org-limit-aggregate';
|
|
96
104
|
import appStepCmd from './commands/app-step';
|
|
97
105
|
import appAchievementCmd from './commands/app-achievement';
|
|
@@ -113,6 +121,11 @@ import identityProviderCmd from './commands/identity-provider';
|
|
|
113
121
|
import refCmd from './commands/ref';
|
|
114
122
|
import storeCmd from './commands/store';
|
|
115
123
|
import appPermissionDefaultCmd from './commands/app-permission-default';
|
|
124
|
+
import appLimitCreditCodeCmd from './commands/app-limit-credit-code';
|
|
125
|
+
import appLimitCapsDefaultCmd from './commands/app-limit-caps-default';
|
|
126
|
+
import orgLimitCapsDefaultCmd from './commands/org-limit-caps-default';
|
|
127
|
+
import appLimitCapCmd from './commands/app-limit-cap';
|
|
128
|
+
import orgLimitCapCmd from './commands/org-limit-cap';
|
|
116
129
|
import membershipTypeCmd from './commands/membership-type';
|
|
117
130
|
import migrateFileCmd from './commands/migrate-file';
|
|
118
131
|
import devicesModuleCmd from './commands/devices-module';
|
|
@@ -121,19 +134,24 @@ import appLimitDefaultCmd from './commands/app-limit-default';
|
|
|
121
134
|
import orgLimitDefaultCmd from './commands/org-limit-default';
|
|
122
135
|
import userConnectedAccountCmd from './commands/user-connected-account';
|
|
123
136
|
import commitCmd from './commands/commit';
|
|
137
|
+
import pubkeySettingCmd from './commands/pubkey-setting';
|
|
124
138
|
import rateLimitsModuleCmd from './commands/rate-limits-module';
|
|
125
139
|
import appMembershipDefaultCmd from './commands/app-membership-default';
|
|
126
140
|
import orgMembershipDefaultCmd from './commands/org-membership-default';
|
|
141
|
+
import rlsSettingCmd from './commands/rls-setting';
|
|
127
142
|
import appLimitEventCmd from './commands/app-limit-event';
|
|
128
143
|
import orgLimitEventCmd from './commands/org-limit-event';
|
|
129
|
-
import plansModuleCmd from './commands/plans-module';
|
|
130
144
|
import rlsModuleCmd from './commands/rls-module';
|
|
145
|
+
import databaseSettingCmd from './commands/database-setting';
|
|
146
|
+
import plansModuleCmd from './commands/plans-module';
|
|
131
147
|
import sqlActionCmd from './commands/sql-action';
|
|
132
148
|
import billingModuleCmd from './commands/billing-module';
|
|
133
149
|
import astMigrationCmd from './commands/ast-migration';
|
|
134
150
|
import userCmd from './commands/user';
|
|
135
151
|
import orgMembershipSettingCmd from './commands/org-membership-setting';
|
|
152
|
+
import webauthnSettingCmd from './commands/webauthn-setting';
|
|
136
153
|
import appMembershipCmd from './commands/app-membership';
|
|
154
|
+
import billingProviderModuleCmd from './commands/billing-provider-module';
|
|
137
155
|
import hierarchyModuleCmd from './commands/hierarchy-module';
|
|
138
156
|
import currentUserIdCmd from './commands/current-user-id';
|
|
139
157
|
import currentUserAgentCmd from './commands/current-user-agent';
|
|
@@ -183,6 +201,7 @@ import copyTemplateToBlueprintCmd from './commands/copy-template-to-blueprint';
|
|
|
183
201
|
import provisionSpatialRelationCmd from './commands/provision-spatial-relation';
|
|
184
202
|
import bootstrapUserCmd from './commands/bootstrap-user';
|
|
185
203
|
import setFieldOrderCmd from './commands/set-field-order';
|
|
204
|
+
import appendSmartTagsCmd from './commands/append-smart-tags';
|
|
186
205
|
import provisionUniqueConstraintCmd from './commands/provision-unique-constraint';
|
|
187
206
|
import provisionFullTextSearchCmd from './commands/provision-full-text-search';
|
|
188
207
|
import provisionIndexCmd from './commands/provision-index';
|
|
@@ -204,7 +223,6 @@ import signUpCmd from './commands/sign-up';
|
|
|
204
223
|
import requestCrossOriginTokenCmd from './commands/request-cross-origin-token';
|
|
205
224
|
import signInCmd from './commands/sign-in';
|
|
206
225
|
import provisionTableCmd from './commands/provision-table';
|
|
207
|
-
import requestUploadUrlCmd from './commands/request-upload-url';
|
|
208
226
|
import provisionBucketCmd from './commands/provision-bucket';
|
|
209
227
|
const createCommandMap = () => ({
|
|
210
228
|
context: contextCmd,
|
|
@@ -222,6 +240,7 @@ const createCommandMap = () => ({
|
|
|
222
240
|
'check-constraint': checkConstraintCmd,
|
|
223
241
|
field: fieldCmd,
|
|
224
242
|
'spatial-relation': spatialRelationCmd,
|
|
243
|
+
partition: partitionCmd,
|
|
225
244
|
'foreign-key-constraint': foreignKeyConstraintCmd,
|
|
226
245
|
'full-text-search': fullTextSearchCmd,
|
|
227
246
|
index: indexCmd,
|
|
@@ -242,17 +261,20 @@ const createCommandMap = () => ({
|
|
|
242
261
|
'schema-grant': schemaGrantCmd,
|
|
243
262
|
'default-privilege': defaultPrivilegeCmd,
|
|
244
263
|
enum: enumCmd,
|
|
264
|
+
function: functionCmd,
|
|
245
265
|
'api-schema': apiSchemaCmd,
|
|
246
266
|
'api-module': apiModuleCmd,
|
|
247
267
|
domain: domainCmd,
|
|
248
268
|
'site-metadatum': siteMetadatumCmd,
|
|
249
269
|
'site-module': siteModuleCmd,
|
|
250
270
|
'site-theme': siteThemeCmd,
|
|
271
|
+
'cors-setting': corsSettingCmd,
|
|
251
272
|
'trigger-function': triggerFunctionCmd,
|
|
252
273
|
'database-transfer': databaseTransferCmd,
|
|
253
274
|
api: apiCmd,
|
|
254
275
|
site: siteCmd,
|
|
255
276
|
app: appCmd,
|
|
277
|
+
'api-setting': apiSettingCmd,
|
|
256
278
|
'connected-accounts-module': connectedAccountsModuleCmd,
|
|
257
279
|
'crypto-addresses-module': cryptoAddressesModuleCmd,
|
|
258
280
|
'crypto-auth-module': cryptoAuthModuleCmd,
|
|
@@ -294,7 +316,11 @@ const createCommandMap = () => ({
|
|
|
294
316
|
'org-chart-edge-grant': orgChartEdgeGrantCmd,
|
|
295
317
|
'org-permission-default': orgPermissionDefaultCmd,
|
|
296
318
|
'app-limit': appLimitCmd,
|
|
319
|
+
'app-limit-credit': appLimitCreditCmd,
|
|
320
|
+
'app-limit-credit-code-item': appLimitCreditCodeItemCmd,
|
|
321
|
+
'app-limit-credit-redemption': appLimitCreditRedemptionCmd,
|
|
297
322
|
'org-limit': orgLimitCmd,
|
|
323
|
+
'org-limit-credit': orgLimitCreditCmd,
|
|
298
324
|
'org-limit-aggregate': orgLimitAggregateCmd,
|
|
299
325
|
'app-step': appStepCmd,
|
|
300
326
|
'app-achievement': appAchievementCmd,
|
|
@@ -316,6 +342,11 @@ const createCommandMap = () => ({
|
|
|
316
342
|
ref: refCmd,
|
|
317
343
|
store: storeCmd,
|
|
318
344
|
'app-permission-default': appPermissionDefaultCmd,
|
|
345
|
+
'app-limit-credit-code': appLimitCreditCodeCmd,
|
|
346
|
+
'app-limit-caps-default': appLimitCapsDefaultCmd,
|
|
347
|
+
'org-limit-caps-default': orgLimitCapsDefaultCmd,
|
|
348
|
+
'app-limit-cap': appLimitCapCmd,
|
|
349
|
+
'org-limit-cap': orgLimitCapCmd,
|
|
319
350
|
'membership-type': membershipTypeCmd,
|
|
320
351
|
'migrate-file': migrateFileCmd,
|
|
321
352
|
'devices-module': devicesModuleCmd,
|
|
@@ -324,19 +355,24 @@ const createCommandMap = () => ({
|
|
|
324
355
|
'org-limit-default': orgLimitDefaultCmd,
|
|
325
356
|
'user-connected-account': userConnectedAccountCmd,
|
|
326
357
|
commit: commitCmd,
|
|
358
|
+
'pubkey-setting': pubkeySettingCmd,
|
|
327
359
|
'rate-limits-module': rateLimitsModuleCmd,
|
|
328
360
|
'app-membership-default': appMembershipDefaultCmd,
|
|
329
361
|
'org-membership-default': orgMembershipDefaultCmd,
|
|
362
|
+
'rls-setting': rlsSettingCmd,
|
|
330
363
|
'app-limit-event': appLimitEventCmd,
|
|
331
364
|
'org-limit-event': orgLimitEventCmd,
|
|
332
|
-
'plans-module': plansModuleCmd,
|
|
333
365
|
'rls-module': rlsModuleCmd,
|
|
366
|
+
'database-setting': databaseSettingCmd,
|
|
367
|
+
'plans-module': plansModuleCmd,
|
|
334
368
|
'sql-action': sqlActionCmd,
|
|
335
369
|
'billing-module': billingModuleCmd,
|
|
336
370
|
'ast-migration': astMigrationCmd,
|
|
337
371
|
user: userCmd,
|
|
338
372
|
'org-membership-setting': orgMembershipSettingCmd,
|
|
373
|
+
'webauthn-setting': webauthnSettingCmd,
|
|
339
374
|
'app-membership': appMembershipCmd,
|
|
375
|
+
'billing-provider-module': billingProviderModuleCmd,
|
|
340
376
|
'hierarchy-module': hierarchyModuleCmd,
|
|
341
377
|
'current-user-id': currentUserIdCmd,
|
|
342
378
|
'current-user-agent': currentUserAgentCmd,
|
|
@@ -386,6 +422,7 @@ const createCommandMap = () => ({
|
|
|
386
422
|
'provision-spatial-relation': provisionSpatialRelationCmd,
|
|
387
423
|
'bootstrap-user': bootstrapUserCmd,
|
|
388
424
|
'set-field-order': setFieldOrderCmd,
|
|
425
|
+
'append-smart-tags': appendSmartTagsCmd,
|
|
389
426
|
'provision-unique-constraint': provisionUniqueConstraintCmd,
|
|
390
427
|
'provision-full-text-search': provisionFullTextSearchCmd,
|
|
391
428
|
'provision-index': provisionIndexCmd,
|
|
@@ -407,10 +444,9 @@ const createCommandMap = () => ({
|
|
|
407
444
|
'request-cross-origin-token': requestCrossOriginTokenCmd,
|
|
408
445
|
'sign-in': signInCmd,
|
|
409
446
|
'provision-table': provisionTableCmd,
|
|
410
|
-
'request-upload-url': requestUploadUrlCmd,
|
|
411
447
|
'provision-bucket': provisionBucketCmd,
|
|
412
448
|
});
|
|
413
|
-
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 get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n agent-thread agentThread CRUD operations\n agent-message agentMessage CRUD operations\n agent-task agentTask CRUD operations\n role-type roleType CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n membership-type membershipType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n commit commit CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n plans-module plansModule CRUD operations\n rls-module rlsModule CRUD operations\n sql-action sqlAction CRUD operations\n billing-module billingModule CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\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 get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Six phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\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 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";
|
|
449
|
+
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 get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n partition partition CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n function function CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n cors-setting corsSetting CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n api-setting apiSetting CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n agent-thread agentThread CRUD operations\n agent-message agentMessage CRUD operations\n agent-task agentTask CRUD operations\n role-type roleType CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n membership-type membershipType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n commit commit CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n rls-setting rlsSetting CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n rls-module rlsModule CRUD operations\n database-setting databaseSetting CRUD operations\n plans-module plansModule CRUD operations\n sql-action sqlAction CRUD operations\n billing-module billingModule CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n app-membership appMembership CRUD operations\n billing-provider-module billingProviderModule CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\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 get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Six phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n append-smart-tags appendSmartTags\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\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";
|
|
414
450
|
export const commands = async (argv, prompter, options) => {
|
|
415
451
|
if (argv.help || argv.h) {
|
|
416
452
|
console.log(usage);
|
|
@@ -13,6 +13,7 @@ export declare function getClient(contextName?: string): {
|
|
|
13
13
|
checkConstraint: import("..").CheckConstraintModel;
|
|
14
14
|
field: import("..").FieldModel;
|
|
15
15
|
spatialRelation: import("..").SpatialRelationModel;
|
|
16
|
+
partition: import("..").PartitionModel;
|
|
16
17
|
foreignKeyConstraint: import("..").ForeignKeyConstraintModel;
|
|
17
18
|
fullTextSearch: import("..").FullTextSearchModel;
|
|
18
19
|
index: import("..").IndexModel;
|
|
@@ -33,17 +34,20 @@ export declare function getClient(contextName?: string): {
|
|
|
33
34
|
schemaGrant: import("..").SchemaGrantModel;
|
|
34
35
|
defaultPrivilege: import("..").DefaultPrivilegeModel;
|
|
35
36
|
enum: import("..").EnumModel;
|
|
37
|
+
function: import("..").FunctionModel;
|
|
36
38
|
apiSchema: import("..").ApiSchemaModel;
|
|
37
39
|
apiModule: import("..").ApiModuleModel;
|
|
38
40
|
domain: import("..").DomainModel;
|
|
39
41
|
siteMetadatum: import("..").SiteMetadatumModel;
|
|
40
42
|
siteModule: import("..").SiteModuleModel;
|
|
41
43
|
siteTheme: import("..").SiteThemeModel;
|
|
44
|
+
corsSetting: import("..").CorsSettingModel;
|
|
42
45
|
triggerFunction: import("..").TriggerFunctionModel;
|
|
43
46
|
databaseTransfer: import("..").DatabaseTransferModel;
|
|
44
47
|
api: import("..").ApiModel;
|
|
45
48
|
site: import("..").SiteModel;
|
|
46
49
|
app: import("..").AppModel;
|
|
50
|
+
apiSetting: import("..").ApiSettingModel;
|
|
47
51
|
connectedAccountsModule: import("..").ConnectedAccountsModuleModel;
|
|
48
52
|
cryptoAddressesModule: import("..").CryptoAddressesModuleModel;
|
|
49
53
|
cryptoAuthModule: import("..").CryptoAuthModuleModel;
|
|
@@ -85,7 +89,11 @@ export declare function getClient(contextName?: string): {
|
|
|
85
89
|
orgChartEdgeGrant: import("..").OrgChartEdgeGrantModel;
|
|
86
90
|
orgPermissionDefault: import("..").OrgPermissionDefaultModel;
|
|
87
91
|
appLimit: import("..").AppLimitModel;
|
|
92
|
+
appLimitCredit: import("..").AppLimitCreditModel;
|
|
93
|
+
appLimitCreditCodeItem: import("..").AppLimitCreditCodeItemModel;
|
|
94
|
+
appLimitCreditRedemption: import("..").AppLimitCreditRedemptionModel;
|
|
88
95
|
orgLimit: import("..").OrgLimitModel;
|
|
96
|
+
orgLimitCredit: import("..").OrgLimitCreditModel;
|
|
89
97
|
orgLimitAggregate: import("..").OrgLimitAggregateModel;
|
|
90
98
|
appStep: import("..").AppStepModel;
|
|
91
99
|
appAchievement: import("..").AppAchievementModel;
|
|
@@ -107,6 +115,11 @@ export declare function getClient(contextName?: string): {
|
|
|
107
115
|
ref: import("..").RefModel;
|
|
108
116
|
store: import("..").StoreModel;
|
|
109
117
|
appPermissionDefault: import("..").AppPermissionDefaultModel;
|
|
118
|
+
appLimitCreditCode: import("..").AppLimitCreditCodeModel;
|
|
119
|
+
appLimitCapsDefault: import("..").AppLimitCapsDefaultModel;
|
|
120
|
+
orgLimitCapsDefault: import("..").OrgLimitCapsDefaultModel;
|
|
121
|
+
appLimitCap: import("..").AppLimitCapModel;
|
|
122
|
+
orgLimitCap: import("..").OrgLimitCapModel;
|
|
110
123
|
membershipType: import("..").MembershipTypeModel;
|
|
111
124
|
migrateFile: import("..").MigrateFileModel;
|
|
112
125
|
devicesModule: import("..").DevicesModuleModel;
|
|
@@ -115,19 +128,24 @@ export declare function getClient(contextName?: string): {
|
|
|
115
128
|
orgLimitDefault: import("..").OrgLimitDefaultModel;
|
|
116
129
|
userConnectedAccount: import("..").UserConnectedAccountModel;
|
|
117
130
|
commit: import("..").CommitModel;
|
|
131
|
+
pubkeySetting: import("..").PubkeySettingModel;
|
|
118
132
|
rateLimitsModule: import("..").RateLimitsModuleModel;
|
|
119
133
|
appMembershipDefault: import("..").AppMembershipDefaultModel;
|
|
120
134
|
orgMembershipDefault: import("..").OrgMembershipDefaultModel;
|
|
135
|
+
rlsSetting: import("..").RlsSettingModel;
|
|
121
136
|
appLimitEvent: import("..").AppLimitEventModel;
|
|
122
137
|
orgLimitEvent: import("..").OrgLimitEventModel;
|
|
123
|
-
plansModule: import("..").PlansModuleModel;
|
|
124
138
|
rlsModule: import("..").RlsModuleModel;
|
|
139
|
+
databaseSetting: import("..").DatabaseSettingModel;
|
|
140
|
+
plansModule: import("..").PlansModuleModel;
|
|
125
141
|
sqlAction: import("..").SqlActionModel;
|
|
126
142
|
billingModule: import("..").BillingModuleModel;
|
|
127
143
|
astMigration: import("..").AstMigrationModel;
|
|
128
144
|
user: import("..").UserModel;
|
|
129
145
|
orgMembershipSetting: import("..").OrgMembershipSettingModel;
|
|
146
|
+
webauthnSetting: import("..").WebauthnSettingModel;
|
|
130
147
|
appMembership: import("..").AppMembershipModel;
|
|
148
|
+
billingProviderModule: import("..").BillingProviderModuleModel;
|
|
131
149
|
hierarchyModule: import("..").HierarchyModuleModel;
|
|
132
150
|
query: {
|
|
133
151
|
currentUserId: (options?: {
|
|
@@ -372,6 +390,11 @@ export declare function getClient(contextName?: string): {
|
|
|
372
390
|
} & import("..").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("..").QueryBuilder<{
|
|
373
391
|
setFieldOrder: import("..").InferSelectResult<import("../orm/input-types").SetFieldOrderPayload, S> | null;
|
|
374
392
|
}>;
|
|
393
|
+
appendSmartTags: <S extends import("../orm/input-types").AppendSmartTagsPayloadSelect>(args: import("../orm/mutation").AppendSmartTagsVariables, options: {
|
|
394
|
+
select: S;
|
|
395
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").AppendSmartTagsPayloadSelect>) => import("..").QueryBuilder<{
|
|
396
|
+
appendSmartTags: import("..").InferSelectResult<import("../orm/input-types").AppendSmartTagsPayload, S> | null;
|
|
397
|
+
}>;
|
|
375
398
|
provisionUniqueConstraint: <S extends import("../orm/input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("../orm/mutation").ProvisionUniqueConstraintVariables, options: {
|
|
376
399
|
select: S;
|
|
377
400
|
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionUniqueConstraintPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -477,11 +500,6 @@ export declare function getClient(contextName?: string): {
|
|
|
477
500
|
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionTablePayloadSelect>) => import("..").QueryBuilder<{
|
|
478
501
|
provisionTable: import("..").InferSelectResult<import("../orm/input-types").ProvisionTablePayload, S> | null;
|
|
479
502
|
}>;
|
|
480
|
-
requestUploadUrl: <S extends import("../orm/input-types").RequestUploadUrlPayloadSelect>(args: import("../orm/mutation").RequestUploadUrlVariables, options: {
|
|
481
|
-
select: S;
|
|
482
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").RequestUploadUrlPayloadSelect>) => import("..").QueryBuilder<{
|
|
483
|
-
requestUploadUrl: import("..").InferSelectResult<import("../orm/input-types").RequestUploadUrlPayload, S> | null;
|
|
484
|
-
}>;
|
|
485
503
|
provisionBucket: <S extends import("../orm/input-types").ProvisionBucketPayloadSelect>(args: import("../orm/mutation").ProvisionBucketVariables, options: {
|
|
486
504
|
select: S;
|
|
487
505
|
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionBucketPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -12,6 +12,7 @@ import { TableModel } from './models/table';
|
|
|
12
12
|
import { CheckConstraintModel } from './models/checkConstraint';
|
|
13
13
|
import { FieldModel } from './models/field';
|
|
14
14
|
import { SpatialRelationModel } from './models/spatialRelation';
|
|
15
|
+
import { PartitionModel } from './models/partition';
|
|
15
16
|
import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
16
17
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
17
18
|
import { IndexModel } from './models/index';
|
|
@@ -32,17 +33,20 @@ import { IdentityProvidersModuleModel } from './models/identityProvidersModule';
|
|
|
32
33
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
33
34
|
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
34
35
|
import { EnumModel } from './models/enum';
|
|
36
|
+
import { FunctionModel } from './models/function';
|
|
35
37
|
import { ApiSchemaModel } from './models/apiSchema';
|
|
36
38
|
import { ApiModuleModel } from './models/apiModule';
|
|
37
39
|
import { DomainModel } from './models/domain';
|
|
38
40
|
import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
39
41
|
import { SiteModuleModel } from './models/siteModule';
|
|
40
42
|
import { SiteThemeModel } from './models/siteTheme';
|
|
43
|
+
import { CorsSettingModel } from './models/corsSetting';
|
|
41
44
|
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
42
45
|
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
43
46
|
import { ApiModel } from './models/api';
|
|
44
47
|
import { SiteModel } from './models/site';
|
|
45
48
|
import { AppModel } from './models/app';
|
|
49
|
+
import { ApiSettingModel } from './models/apiSetting';
|
|
46
50
|
import { ConnectedAccountsModuleModel } from './models/connectedAccountsModule';
|
|
47
51
|
import { CryptoAddressesModuleModel } from './models/cryptoAddressesModule';
|
|
48
52
|
import { CryptoAuthModuleModel } from './models/cryptoAuthModule';
|
|
@@ -84,7 +88,11 @@ import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
|
84
88
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
85
89
|
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
86
90
|
import { AppLimitModel } from './models/appLimit';
|
|
91
|
+
import { AppLimitCreditModel } from './models/appLimitCredit';
|
|
92
|
+
import { AppLimitCreditCodeItemModel } from './models/appLimitCreditCodeItem';
|
|
93
|
+
import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption';
|
|
87
94
|
import { OrgLimitModel } from './models/orgLimit';
|
|
95
|
+
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
88
96
|
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
89
97
|
import { AppStepModel } from './models/appStep';
|
|
90
98
|
import { AppAchievementModel } from './models/appAchievement';
|
|
@@ -106,6 +114,11 @@ import { IdentityProviderModel } from './models/identityProvider';
|
|
|
106
114
|
import { RefModel } from './models/ref';
|
|
107
115
|
import { StoreModel } from './models/store';
|
|
108
116
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
117
|
+
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
118
|
+
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
119
|
+
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
120
|
+
import { AppLimitCapModel } from './models/appLimitCap';
|
|
121
|
+
import { OrgLimitCapModel } from './models/orgLimitCap';
|
|
109
122
|
import { MembershipTypeModel } from './models/membershipType';
|
|
110
123
|
import { MigrateFileModel } from './models/migrateFile';
|
|
111
124
|
import { DevicesModuleModel } from './models/devicesModule';
|
|
@@ -114,19 +127,24 @@ import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
|
114
127
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
115
128
|
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
116
129
|
import { CommitModel } from './models/commit';
|
|
130
|
+
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
117
131
|
import { RateLimitsModuleModel } from './models/rateLimitsModule';
|
|
118
132
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
119
133
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
134
|
+
import { RlsSettingModel } from './models/rlsSetting';
|
|
120
135
|
import { AppLimitEventModel } from './models/appLimitEvent';
|
|
121
136
|
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
122
|
-
import { PlansModuleModel } from './models/plansModule';
|
|
123
137
|
import { RlsModuleModel } from './models/rlsModule';
|
|
138
|
+
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
139
|
+
import { PlansModuleModel } from './models/plansModule';
|
|
124
140
|
import { SqlActionModel } from './models/sqlAction';
|
|
125
141
|
import { BillingModuleModel } from './models/billingModule';
|
|
126
142
|
import { AstMigrationModel } from './models/astMigration';
|
|
127
143
|
import { UserModel } from './models/user';
|
|
128
144
|
import { OrgMembershipSettingModel } from './models/orgMembershipSetting';
|
|
145
|
+
import { WebauthnSettingModel } from './models/webauthnSetting';
|
|
129
146
|
import { AppMembershipModel } from './models/appMembership';
|
|
147
|
+
import { BillingProviderModuleModel } from './models/billingProviderModule';
|
|
130
148
|
import { HierarchyModuleModel } from './models/hierarchyModule';
|
|
131
149
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
132
150
|
export { GraphQLRequestError } from './client';
|
|
@@ -173,6 +191,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
173
191
|
checkConstraint: CheckConstraintModel;
|
|
174
192
|
field: FieldModel;
|
|
175
193
|
spatialRelation: SpatialRelationModel;
|
|
194
|
+
partition: PartitionModel;
|
|
176
195
|
foreignKeyConstraint: ForeignKeyConstraintModel;
|
|
177
196
|
fullTextSearch: FullTextSearchModel;
|
|
178
197
|
index: IndexModel;
|
|
@@ -193,17 +212,20 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
193
212
|
schemaGrant: SchemaGrantModel;
|
|
194
213
|
defaultPrivilege: DefaultPrivilegeModel;
|
|
195
214
|
enum: EnumModel;
|
|
215
|
+
function: FunctionModel;
|
|
196
216
|
apiSchema: ApiSchemaModel;
|
|
197
217
|
apiModule: ApiModuleModel;
|
|
198
218
|
domain: DomainModel;
|
|
199
219
|
siteMetadatum: SiteMetadatumModel;
|
|
200
220
|
siteModule: SiteModuleModel;
|
|
201
221
|
siteTheme: SiteThemeModel;
|
|
222
|
+
corsSetting: CorsSettingModel;
|
|
202
223
|
triggerFunction: TriggerFunctionModel;
|
|
203
224
|
databaseTransfer: DatabaseTransferModel;
|
|
204
225
|
api: ApiModel;
|
|
205
226
|
site: SiteModel;
|
|
206
227
|
app: AppModel;
|
|
228
|
+
apiSetting: ApiSettingModel;
|
|
207
229
|
connectedAccountsModule: ConnectedAccountsModuleModel;
|
|
208
230
|
cryptoAddressesModule: CryptoAddressesModuleModel;
|
|
209
231
|
cryptoAuthModule: CryptoAuthModuleModel;
|
|
@@ -245,7 +267,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
245
267
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
246
268
|
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
247
269
|
appLimit: AppLimitModel;
|
|
270
|
+
appLimitCredit: AppLimitCreditModel;
|
|
271
|
+
appLimitCreditCodeItem: AppLimitCreditCodeItemModel;
|
|
272
|
+
appLimitCreditRedemption: AppLimitCreditRedemptionModel;
|
|
248
273
|
orgLimit: OrgLimitModel;
|
|
274
|
+
orgLimitCredit: OrgLimitCreditModel;
|
|
249
275
|
orgLimitAggregate: OrgLimitAggregateModel;
|
|
250
276
|
appStep: AppStepModel;
|
|
251
277
|
appAchievement: AppAchievementModel;
|
|
@@ -267,6 +293,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
267
293
|
ref: RefModel;
|
|
268
294
|
store: StoreModel;
|
|
269
295
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
296
|
+
appLimitCreditCode: AppLimitCreditCodeModel;
|
|
297
|
+
appLimitCapsDefault: AppLimitCapsDefaultModel;
|
|
298
|
+
orgLimitCapsDefault: OrgLimitCapsDefaultModel;
|
|
299
|
+
appLimitCap: AppLimitCapModel;
|
|
300
|
+
orgLimitCap: OrgLimitCapModel;
|
|
270
301
|
membershipType: MembershipTypeModel;
|
|
271
302
|
migrateFile: MigrateFileModel;
|
|
272
303
|
devicesModule: DevicesModuleModel;
|
|
@@ -275,19 +306,24 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
275
306
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
276
307
|
userConnectedAccount: UserConnectedAccountModel;
|
|
277
308
|
commit: CommitModel;
|
|
309
|
+
pubkeySetting: PubkeySettingModel;
|
|
278
310
|
rateLimitsModule: RateLimitsModuleModel;
|
|
279
311
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
280
312
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
313
|
+
rlsSetting: RlsSettingModel;
|
|
281
314
|
appLimitEvent: AppLimitEventModel;
|
|
282
315
|
orgLimitEvent: OrgLimitEventModel;
|
|
283
|
-
plansModule: PlansModuleModel;
|
|
284
316
|
rlsModule: RlsModuleModel;
|
|
317
|
+
databaseSetting: DatabaseSettingModel;
|
|
318
|
+
plansModule: PlansModuleModel;
|
|
285
319
|
sqlAction: SqlActionModel;
|
|
286
320
|
billingModule: BillingModuleModel;
|
|
287
321
|
astMigration: AstMigrationModel;
|
|
288
322
|
user: UserModel;
|
|
289
323
|
orgMembershipSetting: OrgMembershipSettingModel;
|
|
324
|
+
webauthnSetting: WebauthnSettingModel;
|
|
290
325
|
appMembership: AppMembershipModel;
|
|
326
|
+
billingProviderModule: BillingProviderModuleModel;
|
|
291
327
|
hierarchyModule: HierarchyModuleModel;
|
|
292
328
|
query: {
|
|
293
329
|
currentUserId: (options?: {
|
|
@@ -532,6 +568,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
532
568
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
533
569
|
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
534
570
|
}>;
|
|
571
|
+
appendSmartTags: <S extends import("./input-types").AppendSmartTagsPayloadSelect>(args: import("./mutation").AppendSmartTagsVariables, options: {
|
|
572
|
+
select: S;
|
|
573
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").AppendSmartTagsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
574
|
+
appendSmartTags: import("./select-types").InferSelectResult<import("./input-types").AppendSmartTagsPayload, S> | null;
|
|
575
|
+
}>;
|
|
535
576
|
provisionUniqueConstraint: <S extends import("./input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("./mutation").ProvisionUniqueConstraintVariables, options: {
|
|
536
577
|
select: S;
|
|
537
578
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionUniqueConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -637,11 +678,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
637
678
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionTablePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
638
679
|
provisionTable: import("./select-types").InferSelectResult<import("./input-types").ProvisionTablePayload, S> | null;
|
|
639
680
|
}>;
|
|
640
|
-
requestUploadUrl: <S extends import("./input-types").RequestUploadUrlPayloadSelect>(args: import("./mutation").RequestUploadUrlVariables, options: {
|
|
641
|
-
select: S;
|
|
642
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RequestUploadUrlPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
643
|
-
requestUploadUrl: import("./select-types").InferSelectResult<import("./input-types").RequestUploadUrlPayload, S> | null;
|
|
644
|
-
}>;
|
|
645
681
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
646
682
|
select: S;
|
|
647
683
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|