@constructive-sdk/cli 0.21.6 → 0.21.8
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-achievement.js +1 -1
- package/admin/cli/commands/app-admin-grant.js +1 -1
- package/admin/cli/commands/app-claimed-invite.js +1 -1
- package/admin/cli/commands/app-grant.js +1 -1
- package/admin/cli/commands/app-invite.js +1 -1
- package/admin/cli/commands/app-level-requirement.js +1 -1
- package/admin/cli/commands/app-level.js +1 -1
- package/admin/cli/commands/app-limit-cap.js +1 -1
- package/admin/cli/commands/app-limit-caps-default.js +1 -1
- package/admin/cli/commands/app-limit-credit-code-item.js +1 -1
- package/admin/cli/commands/app-limit-credit-code.js +1 -1
- package/admin/cli/commands/app-limit-credit-redemption.js +1 -1
- package/admin/cli/commands/app-limit-credit.js +1 -1
- package/admin/cli/commands/app-limit-default.js +1 -1
- package/admin/cli/commands/app-limit-event.js +1 -1
- package/admin/cli/commands/app-limit.js +1 -1
- package/admin/cli/commands/app-membership-default.js +1 -1
- package/admin/cli/commands/app-membership.js +1 -1
- package/admin/cli/commands/app-owner-grant.js +1 -1
- package/admin/cli/commands/app-permission-default.js +1 -1
- package/admin/cli/commands/app-permission.js +1 -1
- package/admin/cli/commands/app-step.js +1 -1
- package/admin/cli/commands/membership-type.js +1 -1
- package/admin/cli/commands/org-admin-grant.js +1 -1
- package/admin/cli/commands/org-chart-edge-grant.js +1 -1
- package/admin/cli/commands/org-chart-edge.js +1 -1
- package/admin/cli/commands/org-claimed-invite.js +1 -1
- package/admin/cli/commands/org-get-managers-record.js +1 -1
- package/admin/cli/commands/org-get-subordinates-record.js +1 -1
- package/admin/cli/commands/org-grant.js +1 -1
- package/admin/cli/commands/org-invite.js +1 -1
- package/admin/cli/commands/org-limit-aggregate.js +1 -1
- package/admin/cli/commands/org-limit-cap.js +1 -1
- package/admin/cli/commands/org-limit-caps-default.js +1 -1
- package/admin/cli/commands/org-limit-credit.js +1 -1
- package/admin/cli/commands/org-limit-default.js +1 -1
- package/admin/cli/commands/org-limit-event.js +1 -1
- package/admin/cli/commands/org-limit.js +1 -1
- package/admin/cli/commands/org-member-profile.js +1 -1
- package/admin/cli/commands/org-member.js +1 -1
- package/admin/cli/commands/org-membership-default.js +1 -1
- package/admin/cli/commands/org-membership-setting.js +1 -1
- package/admin/cli/commands/org-membership.js +1 -1
- package/admin/cli/commands/org-owner-grant.js +1 -1
- package/admin/cli/commands/org-permission-default.js +1 -1
- package/admin/cli/commands/org-permission.js +1 -1
- package/admin/cli/commands/usage-snapshot.js +1 -1
- package/admin/cli/executor.js +2 -2
- package/admin/cli/utils.d.ts +2 -2
- package/admin/cli/utils.js +4 -2
- package/admin/orm/index.d.ts +0 -1
- package/admin/orm/index.js +1 -3
- package/admin/orm/models/appAchievement.d.ts +2 -4
- package/admin/orm/models/appAchievement.js +6 -2
- package/admin/orm/models/appAdminGrant.d.ts +2 -4
- package/admin/orm/models/appAdminGrant.js +6 -2
- package/admin/orm/models/appClaimedInvite.d.ts +2 -4
- package/admin/orm/models/appClaimedInvite.js +6 -2
- package/admin/orm/models/appGrant.d.ts +2 -4
- package/admin/orm/models/appGrant.js +6 -2
- package/admin/orm/models/appInvite.d.ts +2 -4
- package/admin/orm/models/appInvite.js +6 -2
- package/admin/orm/models/appLevel.d.ts +2 -4
- package/admin/orm/models/appLevel.js +6 -2
- package/admin/orm/models/appLevelRequirement.d.ts +2 -4
- package/admin/orm/models/appLevelRequirement.js +6 -2
- package/admin/orm/models/appLimit.d.ts +2 -4
- package/admin/orm/models/appLimit.js +6 -2
- package/admin/orm/models/appLimitCap.d.ts +2 -4
- package/admin/orm/models/appLimitCap.js +6 -2
- package/admin/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/admin/orm/models/appLimitCapsDefault.js +6 -2
- package/admin/orm/models/appLimitCredit.d.ts +2 -4
- package/admin/orm/models/appLimitCredit.js +6 -2
- package/admin/orm/models/appLimitCreditCode.d.ts +2 -4
- package/admin/orm/models/appLimitCreditCode.js +6 -2
- package/admin/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/admin/orm/models/appLimitCreditCodeItem.js +6 -2
- package/admin/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/admin/orm/models/appLimitCreditRedemption.js +6 -2
- package/admin/orm/models/appLimitDefault.d.ts +2 -4
- package/admin/orm/models/appLimitDefault.js +6 -2
- package/admin/orm/models/appLimitEvent.d.ts +2 -4
- package/admin/orm/models/appLimitEvent.js +6 -2
- package/admin/orm/models/appMembership.d.ts +2 -4
- package/admin/orm/models/appMembership.js +6 -2
- package/admin/orm/models/appMembershipDefault.d.ts +2 -4
- package/admin/orm/models/appMembershipDefault.js +6 -2
- package/admin/orm/models/appOwnerGrant.d.ts +2 -4
- package/admin/orm/models/appOwnerGrant.js +6 -2
- package/admin/orm/models/appPermission.d.ts +2 -4
- package/admin/orm/models/appPermission.js +6 -2
- package/admin/orm/models/appPermissionDefault.d.ts +2 -4
- package/admin/orm/models/appPermissionDefault.js +6 -2
- package/admin/orm/models/appStep.d.ts +2 -4
- package/admin/orm/models/appStep.js +6 -2
- package/admin/orm/models/membershipType.d.ts +2 -4
- package/admin/orm/models/membershipType.js +6 -2
- package/admin/orm/models/orgAdminGrant.d.ts +2 -4
- package/admin/orm/models/orgAdminGrant.js +6 -2
- package/admin/orm/models/orgChartEdge.d.ts +2 -4
- package/admin/orm/models/orgChartEdge.js +6 -2
- package/admin/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/admin/orm/models/orgChartEdgeGrant.js +6 -2
- package/admin/orm/models/orgClaimedInvite.d.ts +2 -4
- package/admin/orm/models/orgClaimedInvite.js +6 -2
- package/admin/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/admin/orm/models/orgGetManagersRecord.js +6 -2
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/admin/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/admin/orm/models/orgGrant.d.ts +2 -4
- package/admin/orm/models/orgGrant.js +6 -2
- package/admin/orm/models/orgInvite.d.ts +2 -4
- package/admin/orm/models/orgInvite.js +6 -2
- package/admin/orm/models/orgLimit.d.ts +2 -4
- package/admin/orm/models/orgLimit.js +6 -2
- package/admin/orm/models/orgLimitAggregate.d.ts +2 -4
- package/admin/orm/models/orgLimitAggregate.js +6 -2
- package/admin/orm/models/orgLimitCap.d.ts +2 -4
- package/admin/orm/models/orgLimitCap.js +6 -2
- package/admin/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/admin/orm/models/orgLimitCapsDefault.js +6 -2
- package/admin/orm/models/orgLimitCredit.d.ts +2 -4
- package/admin/orm/models/orgLimitCredit.js +6 -2
- package/admin/orm/models/orgLimitDefault.d.ts +2 -4
- package/admin/orm/models/orgLimitDefault.js +6 -2
- package/admin/orm/models/orgLimitEvent.d.ts +2 -4
- package/admin/orm/models/orgLimitEvent.js +6 -2
- package/admin/orm/models/orgMember.d.ts +2 -4
- package/admin/orm/models/orgMember.js +6 -2
- package/admin/orm/models/orgMemberProfile.d.ts +2 -4
- package/admin/orm/models/orgMemberProfile.js +6 -2
- package/admin/orm/models/orgMembership.d.ts +2 -4
- package/admin/orm/models/orgMembership.js +6 -2
- package/admin/orm/models/orgMembershipDefault.d.ts +2 -4
- package/admin/orm/models/orgMembershipDefault.js +6 -2
- package/admin/orm/models/orgMembershipSetting.d.ts +2 -4
- package/admin/orm/models/orgMembershipSetting.js +6 -2
- package/admin/orm/models/orgOwnerGrant.d.ts +2 -4
- package/admin/orm/models/orgOwnerGrant.js +6 -2
- package/admin/orm/models/orgPermission.d.ts +2 -4
- package/admin/orm/models/orgPermission.js +6 -2
- package/admin/orm/models/orgPermissionDefault.d.ts +2 -4
- package/admin/orm/models/orgPermissionDefault.js +6 -2
- package/admin/orm/models/usageSnapshot.d.ts +2 -4
- package/admin/orm/models/usageSnapshot.js +6 -2
- package/admin/orm/query-builder.d.ts +18 -1
- package/admin/orm/query-builder.js +112 -1
- package/admin/orm/select-types.d.ts +25 -1
- package/auth/cli/commands/audit-log.js +1 -1
- package/auth/cli/commands/crypto-address.js +1 -1
- package/auth/cli/commands/email.js +1 -1
- package/auth/cli/commands/identity-provider.js +1 -1
- package/auth/cli/commands/phone-number.js +1 -1
- package/auth/cli/commands/role-type.js +1 -1
- package/auth/cli/commands/user-connected-account.js +1 -1
- package/auth/cli/commands/user.js +1 -1
- package/auth/cli/commands/webauthn-credential.js +1 -1
- package/auth/cli/executor.js +2 -2
- package/auth/cli/utils.d.ts +2 -2
- package/auth/cli/utils.js +4 -2
- package/auth/orm/index.d.ts +0 -1
- package/auth/orm/index.js +1 -3
- package/auth/orm/models/auditLog.d.ts +2 -4
- package/auth/orm/models/auditLog.js +6 -2
- package/auth/orm/models/cryptoAddress.d.ts +2 -4
- package/auth/orm/models/cryptoAddress.js +6 -2
- package/auth/orm/models/email.d.ts +2 -4
- package/auth/orm/models/email.js +6 -2
- package/auth/orm/models/identityProvider.d.ts +2 -4
- package/auth/orm/models/identityProvider.js +6 -2
- package/auth/orm/models/phoneNumber.d.ts +2 -4
- package/auth/orm/models/phoneNumber.js +6 -2
- package/auth/orm/models/roleType.d.ts +2 -4
- package/auth/orm/models/roleType.js +6 -2
- package/auth/orm/models/user.d.ts +2 -4
- package/auth/orm/models/user.js +6 -2
- package/auth/orm/models/userConnectedAccount.d.ts +2 -4
- package/auth/orm/models/userConnectedAccount.js +6 -2
- package/auth/orm/models/webauthnCredential.d.ts +2 -4
- package/auth/orm/models/webauthnCredential.js +6 -2
- package/auth/orm/query-builder.d.ts +18 -1
- package/auth/orm/query-builder.js +112 -1
- package/auth/orm/select-types.d.ts +25 -1
- package/esm/admin/cli/commands/app-achievement.js +1 -1
- package/esm/admin/cli/commands/app-admin-grant.js +1 -1
- package/esm/admin/cli/commands/app-claimed-invite.js +1 -1
- package/esm/admin/cli/commands/app-grant.js +1 -1
- package/esm/admin/cli/commands/app-invite.js +1 -1
- package/esm/admin/cli/commands/app-level-requirement.js +1 -1
- package/esm/admin/cli/commands/app-level.js +1 -1
- package/esm/admin/cli/commands/app-limit-cap.js +1 -1
- package/esm/admin/cli/commands/app-limit-caps-default.js +1 -1
- package/esm/admin/cli/commands/app-limit-credit-code-item.js +1 -1
- package/esm/admin/cli/commands/app-limit-credit-code.js +1 -1
- package/esm/admin/cli/commands/app-limit-credit-redemption.js +1 -1
- package/esm/admin/cli/commands/app-limit-credit.js +1 -1
- package/esm/admin/cli/commands/app-limit-default.js +1 -1
- package/esm/admin/cli/commands/app-limit-event.js +1 -1
- package/esm/admin/cli/commands/app-limit.js +1 -1
- package/esm/admin/cli/commands/app-membership-default.js +1 -1
- package/esm/admin/cli/commands/app-membership.js +1 -1
- package/esm/admin/cli/commands/app-owner-grant.js +1 -1
- package/esm/admin/cli/commands/app-permission-default.js +1 -1
- package/esm/admin/cli/commands/app-permission.js +1 -1
- package/esm/admin/cli/commands/app-step.js +1 -1
- package/esm/admin/cli/commands/membership-type.js +1 -1
- package/esm/admin/cli/commands/org-admin-grant.js +1 -1
- package/esm/admin/cli/commands/org-chart-edge-grant.js +1 -1
- package/esm/admin/cli/commands/org-chart-edge.js +1 -1
- package/esm/admin/cli/commands/org-claimed-invite.js +1 -1
- package/esm/admin/cli/commands/org-get-managers-record.js +1 -1
- package/esm/admin/cli/commands/org-get-subordinates-record.js +1 -1
- package/esm/admin/cli/commands/org-grant.js +1 -1
- package/esm/admin/cli/commands/org-invite.js +1 -1
- package/esm/admin/cli/commands/org-limit-aggregate.js +1 -1
- package/esm/admin/cli/commands/org-limit-cap.js +1 -1
- package/esm/admin/cli/commands/org-limit-caps-default.js +1 -1
- package/esm/admin/cli/commands/org-limit-credit.js +1 -1
- package/esm/admin/cli/commands/org-limit-default.js +1 -1
- package/esm/admin/cli/commands/org-limit-event.js +1 -1
- package/esm/admin/cli/commands/org-limit.js +1 -1
- package/esm/admin/cli/commands/org-member-profile.js +1 -1
- package/esm/admin/cli/commands/org-member.js +1 -1
- package/esm/admin/cli/commands/org-membership-default.js +1 -1
- package/esm/admin/cli/commands/org-membership-setting.js +1 -1
- package/esm/admin/cli/commands/org-membership.js +1 -1
- package/esm/admin/cli/commands/org-owner-grant.js +1 -1
- package/esm/admin/cli/commands/org-permission-default.js +1 -1
- package/esm/admin/cli/commands/org-permission.js +1 -1
- package/esm/admin/cli/commands/usage-snapshot.js +1 -1
- package/esm/admin/cli/executor.js +2 -2
- package/esm/admin/cli/utils.d.ts +2 -2
- package/esm/admin/cli/utils.js +4 -2
- package/esm/admin/orm/index.d.ts +0 -1
- package/esm/admin/orm/index.js +0 -1
- package/esm/admin/orm/models/appAchievement.d.ts +2 -4
- package/esm/admin/orm/models/appAchievement.js +6 -2
- package/esm/admin/orm/models/appAdminGrant.d.ts +2 -4
- package/esm/admin/orm/models/appAdminGrant.js +6 -2
- package/esm/admin/orm/models/appClaimedInvite.d.ts +2 -4
- package/esm/admin/orm/models/appClaimedInvite.js +6 -2
- package/esm/admin/orm/models/appGrant.d.ts +2 -4
- package/esm/admin/orm/models/appGrant.js +6 -2
- package/esm/admin/orm/models/appInvite.d.ts +2 -4
- package/esm/admin/orm/models/appInvite.js +6 -2
- package/esm/admin/orm/models/appLevel.d.ts +2 -4
- package/esm/admin/orm/models/appLevel.js +6 -2
- package/esm/admin/orm/models/appLevelRequirement.d.ts +2 -4
- package/esm/admin/orm/models/appLevelRequirement.js +6 -2
- package/esm/admin/orm/models/appLimit.d.ts +2 -4
- package/esm/admin/orm/models/appLimit.js +6 -2
- package/esm/admin/orm/models/appLimitCap.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCap.js +6 -2
- package/esm/admin/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCapsDefault.js +6 -2
- package/esm/admin/orm/models/appLimitCredit.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCredit.js +6 -2
- package/esm/admin/orm/models/appLimitCreditCode.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCreditCode.js +6 -2
- package/esm/admin/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCreditCodeItem.js +6 -2
- package/esm/admin/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/esm/admin/orm/models/appLimitCreditRedemption.js +6 -2
- package/esm/admin/orm/models/appLimitDefault.d.ts +2 -4
- package/esm/admin/orm/models/appLimitDefault.js +6 -2
- package/esm/admin/orm/models/appLimitEvent.d.ts +2 -4
- package/esm/admin/orm/models/appLimitEvent.js +6 -2
- package/esm/admin/orm/models/appMembership.d.ts +2 -4
- package/esm/admin/orm/models/appMembership.js +6 -2
- package/esm/admin/orm/models/appMembershipDefault.d.ts +2 -4
- package/esm/admin/orm/models/appMembershipDefault.js +6 -2
- package/esm/admin/orm/models/appOwnerGrant.d.ts +2 -4
- package/esm/admin/orm/models/appOwnerGrant.js +6 -2
- package/esm/admin/orm/models/appPermission.d.ts +2 -4
- package/esm/admin/orm/models/appPermission.js +6 -2
- package/esm/admin/orm/models/appPermissionDefault.d.ts +2 -4
- package/esm/admin/orm/models/appPermissionDefault.js +6 -2
- package/esm/admin/orm/models/appStep.d.ts +2 -4
- package/esm/admin/orm/models/appStep.js +6 -2
- package/esm/admin/orm/models/membershipType.d.ts +2 -4
- package/esm/admin/orm/models/membershipType.js +6 -2
- package/esm/admin/orm/models/orgAdminGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgAdminGrant.js +6 -2
- package/esm/admin/orm/models/orgChartEdge.d.ts +2 -4
- package/esm/admin/orm/models/orgChartEdge.js +6 -2
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgChartEdgeGrant.js +6 -2
- package/esm/admin/orm/models/orgClaimedInvite.d.ts +2 -4
- package/esm/admin/orm/models/orgClaimedInvite.js +6 -2
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/esm/admin/orm/models/orgGetManagersRecord.js +6 -2
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/esm/admin/orm/models/orgGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgGrant.js +6 -2
- package/esm/admin/orm/models/orgInvite.d.ts +2 -4
- package/esm/admin/orm/models/orgInvite.js +6 -2
- package/esm/admin/orm/models/orgLimit.d.ts +2 -4
- package/esm/admin/orm/models/orgLimit.js +6 -2
- package/esm/admin/orm/models/orgLimitAggregate.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitAggregate.js +6 -2
- package/esm/admin/orm/models/orgLimitCap.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitCap.js +6 -2
- package/esm/admin/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitCapsDefault.js +6 -2
- package/esm/admin/orm/models/orgLimitCredit.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitCredit.js +6 -2
- package/esm/admin/orm/models/orgLimitDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitDefault.js +6 -2
- package/esm/admin/orm/models/orgLimitEvent.d.ts +2 -4
- package/esm/admin/orm/models/orgLimitEvent.js +6 -2
- package/esm/admin/orm/models/orgMember.d.ts +2 -4
- package/esm/admin/orm/models/orgMember.js +6 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +2 -4
- package/esm/admin/orm/models/orgMemberProfile.js +6 -2
- package/esm/admin/orm/models/orgMembership.d.ts +2 -4
- package/esm/admin/orm/models/orgMembership.js +6 -2
- package/esm/admin/orm/models/orgMembershipDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgMembershipDefault.js +6 -2
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +2 -4
- package/esm/admin/orm/models/orgMembershipSetting.js +6 -2
- package/esm/admin/orm/models/orgOwnerGrant.d.ts +2 -4
- package/esm/admin/orm/models/orgOwnerGrant.js +6 -2
- package/esm/admin/orm/models/orgPermission.d.ts +2 -4
- package/esm/admin/orm/models/orgPermission.js +6 -2
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +2 -4
- package/esm/admin/orm/models/orgPermissionDefault.js +6 -2
- package/esm/admin/orm/models/usageSnapshot.d.ts +2 -4
- package/esm/admin/orm/models/usageSnapshot.js +6 -2
- package/esm/admin/orm/query-builder.d.ts +18 -1
- package/esm/admin/orm/query-builder.js +108 -1
- package/esm/admin/orm/select-types.d.ts +25 -1
- package/esm/auth/cli/commands/audit-log.js +1 -1
- package/esm/auth/cli/commands/crypto-address.js +1 -1
- package/esm/auth/cli/commands/email.js +1 -1
- package/esm/auth/cli/commands/identity-provider.js +1 -1
- package/esm/auth/cli/commands/phone-number.js +1 -1
- package/esm/auth/cli/commands/role-type.js +1 -1
- package/esm/auth/cli/commands/user-connected-account.js +1 -1
- package/esm/auth/cli/commands/user.js +1 -1
- package/esm/auth/cli/commands/webauthn-credential.js +1 -1
- package/esm/auth/cli/executor.js +2 -2
- package/esm/auth/cli/utils.d.ts +2 -2
- package/esm/auth/cli/utils.js +4 -2
- package/esm/auth/orm/index.d.ts +0 -1
- package/esm/auth/orm/index.js +0 -1
- package/esm/auth/orm/models/auditLog.d.ts +2 -4
- package/esm/auth/orm/models/auditLog.js +6 -2
- package/esm/auth/orm/models/cryptoAddress.d.ts +2 -4
- package/esm/auth/orm/models/cryptoAddress.js +6 -2
- package/esm/auth/orm/models/email.d.ts +2 -4
- package/esm/auth/orm/models/email.js +6 -2
- package/esm/auth/orm/models/identityProvider.d.ts +2 -4
- package/esm/auth/orm/models/identityProvider.js +6 -2
- package/esm/auth/orm/models/phoneNumber.d.ts +2 -4
- package/esm/auth/orm/models/phoneNumber.js +6 -2
- package/esm/auth/orm/models/roleType.d.ts +2 -4
- package/esm/auth/orm/models/roleType.js +6 -2
- package/esm/auth/orm/models/user.d.ts +2 -4
- package/esm/auth/orm/models/user.js +6 -2
- package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -4
- package/esm/auth/orm/models/userConnectedAccount.js +6 -2
- package/esm/auth/orm/models/webauthnCredential.d.ts +2 -4
- package/esm/auth/orm/models/webauthnCredential.js +6 -2
- package/esm/auth/orm/query-builder.d.ts +18 -1
- package/esm/auth/orm/query-builder.js +108 -1
- package/esm/auth/orm/select-types.d.ts +25 -1
- package/esm/objects/cli/commands/commit.js +1 -1
- package/esm/objects/cli/commands/get-all-record.js +1 -1
- package/esm/objects/cli/commands/object.js +1 -1
- package/esm/objects/cli/commands/ref.js +1 -1
- package/esm/objects/cli/commands/store.js +1 -1
- package/esm/objects/cli/executor.js +2 -2
- package/esm/objects/cli/utils.d.ts +2 -2
- package/esm/objects/cli/utils.js +4 -2
- package/esm/objects/orm/index.d.ts +0 -1
- package/esm/objects/orm/index.js +0 -1
- package/esm/objects/orm/models/commit.d.ts +2 -4
- package/esm/objects/orm/models/commit.js +6 -2
- package/esm/objects/orm/models/getAllRecord.d.ts +2 -4
- package/esm/objects/orm/models/getAllRecord.js +6 -2
- package/esm/objects/orm/models/object.d.ts +3 -5
- package/esm/objects/orm/models/object.js +7 -3
- package/esm/objects/orm/models/ref.d.ts +2 -4
- package/esm/objects/orm/models/ref.js +6 -2
- package/esm/objects/orm/models/store.d.ts +2 -4
- package/esm/objects/orm/models/store.js +6 -2
- package/esm/objects/orm/query-builder.d.ts +18 -1
- package/esm/objects/orm/query-builder.js +108 -1
- package/esm/objects/orm/select-types.d.ts +25 -1
- package/esm/public/cli/commands/agent-message.js +1 -1
- package/esm/public/cli/commands/agent-task.js +1 -1
- package/esm/public/cli/commands/agent-thread.js +1 -1
- package/esm/public/cli/commands/api-module.js +1 -1
- package/esm/public/cli/commands/api-schema.js +1 -1
- package/esm/public/cli/commands/api-setting.js +1 -1
- package/esm/public/cli/commands/api.js +1 -1
- package/esm/public/cli/commands/app-achievement.js +1 -1
- package/esm/public/cli/commands/app-admin-grant.js +1 -1
- package/esm/public/cli/commands/app-claimed-invite.js +1 -1
- package/esm/public/cli/commands/app-grant.js +1 -1
- package/esm/public/cli/commands/app-invite.js +1 -1
- package/esm/public/cli/commands/app-level-requirement.js +1 -1
- package/esm/public/cli/commands/app-level.js +1 -1
- package/esm/public/cli/commands/app-limit-cap.js +1 -1
- package/esm/public/cli/commands/app-limit-caps-default.js +1 -1
- package/esm/public/cli/commands/app-limit-credit-code-item.js +1 -1
- package/esm/public/cli/commands/app-limit-credit-code.js +1 -1
- package/esm/public/cli/commands/app-limit-credit-redemption.js +1 -1
- package/esm/public/cli/commands/app-limit-credit.js +1 -1
- package/esm/public/cli/commands/app-limit-default.js +1 -1
- package/esm/public/cli/commands/app-limit-event.js +1 -1
- package/esm/public/cli/commands/app-limit.js +1 -1
- package/esm/public/cli/commands/app-membership-default.js +1 -1
- package/esm/public/cli/commands/app-membership.js +1 -1
- package/esm/public/cli/commands/app-owner-grant.js +1 -1
- package/esm/public/cli/commands/app-permission-default.js +1 -1
- package/esm/public/cli/commands/app-permission.js +1 -1
- package/esm/public/cli/commands/app-step.js +1 -1
- package/esm/public/cli/commands/app.js +1 -1
- package/esm/public/cli/commands/ast-migration.js +1 -1
- package/esm/public/cli/commands/audit-log.js +1 -1
- package/esm/public/cli/commands/billing-module.js +1 -1
- package/esm/public/cli/commands/billing-provider-module.js +1 -1
- package/esm/public/cli/commands/blueprint-construction.js +1 -1
- package/esm/public/cli/commands/blueprint-template.js +1 -1
- package/esm/public/cli/commands/blueprint.js +1 -1
- package/esm/public/cli/commands/check-constraint.js +1 -1
- package/esm/public/cli/commands/commit.js +1 -1
- package/esm/public/cli/commands/connected-accounts-module.js +1 -1
- package/esm/public/cli/commands/cors-setting.js +1 -1
- package/esm/public/cli/commands/crypto-address.js +1 -1
- package/esm/public/cli/commands/crypto-addresses-module.js +1 -1
- package/esm/public/cli/commands/crypto-auth-module.js +1 -1
- package/esm/public/cli/commands/database-provision-module.js +1 -1
- package/esm/public/cli/commands/database-setting.js +1 -1
- package/esm/public/cli/commands/database-transfer.js +1 -1
- package/esm/public/cli/commands/database.js +1 -1
- package/esm/public/cli/commands/default-ids-module.js +1 -1
- package/esm/public/cli/commands/default-privilege.js +1 -1
- package/esm/public/cli/commands/denormalized-table-field.js +1 -1
- package/esm/public/cli/commands/devices-module.js +1 -1
- package/esm/public/cli/commands/domain.js +1 -1
- package/esm/public/cli/commands/email.js +1 -1
- package/esm/public/cli/commands/emails-module.js +1 -1
- package/esm/public/cli/commands/embedding-chunk.js +1 -1
- package/esm/public/cli/commands/encrypted-secrets-module.js +1 -1
- package/esm/public/cli/commands/entity-type-provision.js +1 -1
- package/esm/public/cli/commands/enum.js +1 -1
- package/esm/public/cli/commands/field.js +1 -1
- package/esm/public/cli/commands/foreign-key-constraint.js +1 -1
- package/esm/public/cli/commands/full-text-search.js +1 -1
- package/esm/public/cli/commands/function.js +1 -1
- package/esm/public/cli/commands/get-all-record.js +1 -1
- package/esm/public/cli/commands/hierarchy-module.js +1 -1
- package/esm/public/cli/commands/identity-provider.js +1 -1
- package/esm/public/cli/commands/identity-providers-module.js +1 -1
- package/esm/public/cli/commands/index.js +1 -1
- package/esm/public/cli/commands/invites-module.js +1 -1
- package/esm/public/cli/commands/levels-module.js +1 -1
- package/esm/public/cli/commands/limits-module.js +1 -1
- package/esm/public/cli/commands/membership-type.js +1 -1
- package/esm/public/cli/commands/membership-types-module.js +1 -1
- package/esm/public/cli/commands/memberships-module.js +1 -1
- package/esm/public/cli/commands/migrate-file.js +1 -1
- package/esm/public/cli/commands/node-type-registry.js +1 -1
- package/esm/public/cli/commands/notifications-module.js +1 -1
- package/esm/public/cli/commands/object.js +1 -1
- package/esm/public/cli/commands/org-admin-grant.js +1 -1
- package/esm/public/cli/commands/org-chart-edge-grant.js +1 -1
- package/esm/public/cli/commands/org-chart-edge.js +1 -1
- package/esm/public/cli/commands/org-claimed-invite.js +1 -1
- package/esm/public/cli/commands/org-get-managers-record.js +1 -1
- package/esm/public/cli/commands/org-get-subordinates-record.js +1 -1
- package/esm/public/cli/commands/org-grant.js +1 -1
- package/esm/public/cli/commands/org-invite.js +1 -1
- package/esm/public/cli/commands/org-limit-aggregate.js +1 -1
- package/esm/public/cli/commands/org-limit-cap.js +1 -1
- package/esm/public/cli/commands/org-limit-caps-default.js +1 -1
- package/esm/public/cli/commands/org-limit-credit.js +1 -1
- package/esm/public/cli/commands/org-limit-default.js +1 -1
- package/esm/public/cli/commands/org-limit-event.js +1 -1
- package/esm/public/cli/commands/org-limit.js +1 -1
- package/esm/public/cli/commands/org-member-profile.js +1 -1
- package/esm/public/cli/commands/org-member.js +1 -1
- package/esm/public/cli/commands/org-membership-default.js +1 -1
- package/esm/public/cli/commands/org-membership-setting.js +1 -1
- package/esm/public/cli/commands/org-membership.js +1 -1
- package/esm/public/cli/commands/org-owner-grant.js +1 -1
- package/esm/public/cli/commands/org-permission-default.js +1 -1
- package/esm/public/cli/commands/org-permission.js +1 -1
- package/esm/public/cli/commands/partition.js +1 -1
- package/esm/public/cli/commands/permissions-module.js +1 -1
- package/esm/public/cli/commands/phone-number.js +1 -1
- package/esm/public/cli/commands/phone-numbers-module.js +1 -1
- package/esm/public/cli/commands/plans-module.js +1 -1
- package/esm/public/cli/commands/policy.js +1 -1
- package/esm/public/cli/commands/primary-key-constraint.js +1 -1
- package/esm/public/cli/commands/profiles-module.js +1 -1
- package/esm/public/cli/commands/pubkey-setting.js +1 -1
- package/esm/public/cli/commands/rate-limits-module.js +1 -1
- package/esm/public/cli/commands/realtime-module.js +1 -1
- package/esm/public/cli/commands/ref.js +1 -1
- package/esm/public/cli/commands/relation-provision.js +1 -1
- package/esm/public/cli/commands/rls-module.js +1 -1
- package/esm/public/cli/commands/rls-setting.js +1 -1
- package/esm/public/cli/commands/role-type.js +1 -1
- package/esm/public/cli/commands/schema-grant.js +1 -1
- package/esm/public/cli/commands/schema.js +1 -1
- package/esm/public/cli/commands/secrets-module.js +1 -1
- package/esm/public/cli/commands/secure-table-provision.js +1 -1
- package/esm/public/cli/commands/session-secrets-module.js +1 -1
- package/esm/public/cli/commands/sessions-module.js +1 -1
- package/esm/public/cli/commands/site-metadatum.js +1 -1
- package/esm/public/cli/commands/site-module.js +1 -1
- package/esm/public/cli/commands/site-theme.js +1 -1
- package/esm/public/cli/commands/site.js +1 -1
- package/esm/public/cli/commands/spatial-relation.js +1 -1
- package/esm/public/cli/commands/sql-action.js +1 -1
- package/esm/public/cli/commands/storage-module.js +1 -1
- package/esm/public/cli/commands/store.js +1 -1
- package/esm/public/cli/commands/table-grant.js +1 -1
- package/esm/public/cli/commands/table.js +1 -1
- package/esm/public/cli/commands/trigger-function.js +1 -1
- package/esm/public/cli/commands/trigger.js +1 -1
- package/esm/public/cli/commands/unique-constraint.js +1 -1
- package/esm/public/cli/commands/usage-snapshot.js +1 -1
- package/esm/public/cli/commands/user-auth-module.js +1 -1
- package/esm/public/cli/commands/user-connected-account.js +1 -1
- package/esm/public/cli/commands/user.js +1 -1
- package/esm/public/cli/commands/users-module.js +1 -1
- package/esm/public/cli/commands/view-grant.js +1 -1
- package/esm/public/cli/commands/view-rule.js +1 -1
- package/esm/public/cli/commands/view-table.js +1 -1
- package/esm/public/cli/commands/view.js +1 -1
- package/esm/public/cli/commands/webauthn-auth-module.js +1 -1
- package/esm/public/cli/commands/webauthn-credential.js +1 -1
- package/esm/public/cli/commands/webauthn-credentials-module.js +1 -1
- package/esm/public/cli/commands/webauthn-setting.js +1 -1
- package/esm/public/cli/executor.js +2 -2
- package/esm/public/cli/utils.d.ts +2 -2
- package/esm/public/cli/utils.js +4 -2
- package/esm/public/orm/index.d.ts +0 -1
- package/esm/public/orm/index.js +0 -1
- package/esm/public/orm/models/agentMessage.d.ts +2 -4
- package/esm/public/orm/models/agentMessage.js +6 -2
- package/esm/public/orm/models/agentTask.d.ts +2 -4
- package/esm/public/orm/models/agentTask.js +6 -2
- package/esm/public/orm/models/agentThread.d.ts +2 -4
- package/esm/public/orm/models/agentThread.js +6 -2
- package/esm/public/orm/models/api.d.ts +2 -4
- package/esm/public/orm/models/api.js +6 -2
- package/esm/public/orm/models/apiModule.d.ts +2 -4
- package/esm/public/orm/models/apiModule.js +6 -2
- package/esm/public/orm/models/apiSchema.d.ts +2 -4
- package/esm/public/orm/models/apiSchema.js +6 -2
- package/esm/public/orm/models/apiSetting.d.ts +2 -4
- package/esm/public/orm/models/apiSetting.js +6 -2
- package/esm/public/orm/models/app.d.ts +2 -4
- package/esm/public/orm/models/app.js +6 -2
- package/esm/public/orm/models/appAchievement.d.ts +2 -4
- package/esm/public/orm/models/appAchievement.js +6 -2
- package/esm/public/orm/models/appAdminGrant.d.ts +2 -4
- package/esm/public/orm/models/appAdminGrant.js +6 -2
- package/esm/public/orm/models/appClaimedInvite.d.ts +2 -4
- package/esm/public/orm/models/appClaimedInvite.js +6 -2
- package/esm/public/orm/models/appGrant.d.ts +2 -4
- package/esm/public/orm/models/appGrant.js +6 -2
- package/esm/public/orm/models/appInvite.d.ts +2 -4
- package/esm/public/orm/models/appInvite.js +6 -2
- package/esm/public/orm/models/appLevel.d.ts +2 -4
- package/esm/public/orm/models/appLevel.js +6 -2
- package/esm/public/orm/models/appLevelRequirement.d.ts +2 -4
- package/esm/public/orm/models/appLevelRequirement.js +6 -2
- package/esm/public/orm/models/appLimit.d.ts +2 -4
- package/esm/public/orm/models/appLimit.js +6 -2
- package/esm/public/orm/models/appLimitCap.d.ts +2 -4
- package/esm/public/orm/models/appLimitCap.js +6 -2
- package/esm/public/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/esm/public/orm/models/appLimitCapsDefault.js +6 -2
- package/esm/public/orm/models/appLimitCredit.d.ts +2 -4
- package/esm/public/orm/models/appLimitCredit.js +6 -2
- package/esm/public/orm/models/appLimitCreditCode.d.ts +2 -4
- package/esm/public/orm/models/appLimitCreditCode.js +6 -2
- package/esm/public/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/esm/public/orm/models/appLimitCreditCodeItem.js +6 -2
- package/esm/public/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/esm/public/orm/models/appLimitCreditRedemption.js +6 -2
- package/esm/public/orm/models/appLimitDefault.d.ts +2 -4
- package/esm/public/orm/models/appLimitDefault.js +6 -2
- package/esm/public/orm/models/appLimitEvent.d.ts +2 -4
- package/esm/public/orm/models/appLimitEvent.js +6 -2
- package/esm/public/orm/models/appMembership.d.ts +2 -4
- package/esm/public/orm/models/appMembership.js +6 -2
- package/esm/public/orm/models/appMembershipDefault.d.ts +2 -4
- package/esm/public/orm/models/appMembershipDefault.js +6 -2
- package/esm/public/orm/models/appOwnerGrant.d.ts +2 -4
- package/esm/public/orm/models/appOwnerGrant.js +6 -2
- package/esm/public/orm/models/appPermission.d.ts +2 -4
- package/esm/public/orm/models/appPermission.js +6 -2
- package/esm/public/orm/models/appPermissionDefault.d.ts +2 -4
- package/esm/public/orm/models/appPermissionDefault.js +6 -2
- package/esm/public/orm/models/appStep.d.ts +2 -4
- package/esm/public/orm/models/appStep.js +6 -2
- package/esm/public/orm/models/astMigration.d.ts +2 -4
- package/esm/public/orm/models/astMigration.js +6 -2
- package/esm/public/orm/models/auditLog.d.ts +2 -4
- package/esm/public/orm/models/auditLog.js +6 -2
- package/esm/public/orm/models/billingModule.d.ts +2 -4
- package/esm/public/orm/models/billingModule.js +6 -2
- package/esm/public/orm/models/billingProviderModule.d.ts +2 -4
- package/esm/public/orm/models/billingProviderModule.js +6 -2
- package/esm/public/orm/models/blueprint.d.ts +2 -4
- package/esm/public/orm/models/blueprint.js +6 -2
- package/esm/public/orm/models/blueprintConstruction.d.ts +2 -4
- package/esm/public/orm/models/blueprintConstruction.js +6 -2
- package/esm/public/orm/models/blueprintTemplate.d.ts +2 -4
- package/esm/public/orm/models/blueprintTemplate.js +6 -2
- package/esm/public/orm/models/checkConstraint.d.ts +2 -4
- package/esm/public/orm/models/checkConstraint.js +6 -2
- package/esm/public/orm/models/commit.d.ts +2 -4
- package/esm/public/orm/models/commit.js +6 -2
- package/esm/public/orm/models/connectedAccountsModule.d.ts +2 -4
- package/esm/public/orm/models/connectedAccountsModule.js +6 -2
- package/esm/public/orm/models/corsSetting.d.ts +2 -4
- package/esm/public/orm/models/corsSetting.js +6 -2
- package/esm/public/orm/models/cryptoAddress.d.ts +2 -4
- package/esm/public/orm/models/cryptoAddress.js +6 -2
- package/esm/public/orm/models/cryptoAddressesModule.d.ts +2 -4
- package/esm/public/orm/models/cryptoAddressesModule.js +6 -2
- package/esm/public/orm/models/cryptoAuthModule.d.ts +2 -4
- package/esm/public/orm/models/cryptoAuthModule.js +6 -2
- package/esm/public/orm/models/database.d.ts +2 -4
- package/esm/public/orm/models/database.js +6 -2
- package/esm/public/orm/models/databaseProvisionModule.d.ts +2 -4
- package/esm/public/orm/models/databaseProvisionModule.js +6 -2
- package/esm/public/orm/models/databaseSetting.d.ts +2 -4
- package/esm/public/orm/models/databaseSetting.js +6 -2
- package/esm/public/orm/models/databaseTransfer.d.ts +2 -4
- package/esm/public/orm/models/databaseTransfer.js +6 -2
- package/esm/public/orm/models/defaultIdsModule.d.ts +2 -4
- package/esm/public/orm/models/defaultIdsModule.js +6 -2
- package/esm/public/orm/models/defaultPrivilege.d.ts +2 -4
- package/esm/public/orm/models/defaultPrivilege.js +6 -2
- package/esm/public/orm/models/denormalizedTableField.d.ts +2 -4
- package/esm/public/orm/models/denormalizedTableField.js +6 -2
- package/esm/public/orm/models/devicesModule.d.ts +2 -4
- package/esm/public/orm/models/devicesModule.js +6 -2
- package/esm/public/orm/models/domain.d.ts +2 -4
- package/esm/public/orm/models/domain.js +6 -2
- package/esm/public/orm/models/email.d.ts +2 -4
- package/esm/public/orm/models/email.js +6 -2
- package/esm/public/orm/models/emailsModule.d.ts +2 -4
- package/esm/public/orm/models/emailsModule.js +6 -2
- package/esm/public/orm/models/embeddingChunk.d.ts +2 -4
- package/esm/public/orm/models/embeddingChunk.js +6 -2
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +2 -4
- package/esm/public/orm/models/encryptedSecretsModule.js +6 -2
- package/esm/public/orm/models/entityTypeProvision.d.ts +2 -4
- package/esm/public/orm/models/entityTypeProvision.js +6 -2
- package/esm/public/orm/models/enum.d.ts +2 -4
- package/esm/public/orm/models/enum.js +6 -2
- package/esm/public/orm/models/field.d.ts +2 -4
- package/esm/public/orm/models/field.js +6 -2
- package/esm/public/orm/models/foreignKeyConstraint.d.ts +2 -4
- package/esm/public/orm/models/foreignKeyConstraint.js +6 -2
- package/esm/public/orm/models/fullTextSearch.d.ts +2 -4
- package/esm/public/orm/models/fullTextSearch.js +6 -2
- package/esm/public/orm/models/function.d.ts +2 -4
- package/esm/public/orm/models/function.js +6 -2
- package/esm/public/orm/models/getAllRecord.d.ts +2 -4
- package/esm/public/orm/models/getAllRecord.js +6 -2
- package/esm/public/orm/models/hierarchyModule.d.ts +2 -4
- package/esm/public/orm/models/hierarchyModule.js +6 -2
- package/esm/public/orm/models/identityProvider.d.ts +2 -4
- package/esm/public/orm/models/identityProvider.js +6 -2
- package/esm/public/orm/models/identityProvidersModule.d.ts +2 -4
- package/esm/public/orm/models/identityProvidersModule.js +6 -2
- package/esm/public/orm/models/indexModel.d.ts +2 -4
- package/esm/public/orm/models/indexModel.js +6 -2
- package/esm/public/orm/models/invitesModule.d.ts +2 -4
- package/esm/public/orm/models/invitesModule.js +6 -2
- package/esm/public/orm/models/levelsModule.d.ts +2 -4
- package/esm/public/orm/models/levelsModule.js +6 -2
- package/esm/public/orm/models/limitsModule.d.ts +2 -4
- package/esm/public/orm/models/limitsModule.js +6 -2
- package/esm/public/orm/models/membershipType.d.ts +2 -4
- package/esm/public/orm/models/membershipType.js +6 -2
- package/esm/public/orm/models/membershipTypesModule.d.ts +2 -4
- package/esm/public/orm/models/membershipTypesModule.js +6 -2
- package/esm/public/orm/models/membershipsModule.d.ts +2 -4
- package/esm/public/orm/models/membershipsModule.js +6 -2
- package/esm/public/orm/models/migrateFile.d.ts +2 -4
- package/esm/public/orm/models/migrateFile.js +6 -2
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +2 -4
- package/esm/public/orm/models/nodeTypeRegistry.js +6 -2
- package/esm/public/orm/models/notificationsModule.d.ts +2 -4
- package/esm/public/orm/models/notificationsModule.js +6 -2
- package/esm/public/orm/models/object.d.ts +3 -5
- package/esm/public/orm/models/object.js +7 -3
- package/esm/public/orm/models/orgAdminGrant.d.ts +2 -4
- package/esm/public/orm/models/orgAdminGrant.js +6 -2
- package/esm/public/orm/models/orgChartEdge.d.ts +2 -4
- package/esm/public/orm/models/orgChartEdge.js +6 -2
- package/esm/public/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/esm/public/orm/models/orgChartEdgeGrant.js +6 -2
- package/esm/public/orm/models/orgClaimedInvite.d.ts +2 -4
- package/esm/public/orm/models/orgClaimedInvite.js +6 -2
- package/esm/public/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/esm/public/orm/models/orgGetManagersRecord.js +6 -2
- package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/esm/public/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/esm/public/orm/models/orgGrant.d.ts +2 -4
- package/esm/public/orm/models/orgGrant.js +6 -2
- package/esm/public/orm/models/orgInvite.d.ts +2 -4
- package/esm/public/orm/models/orgInvite.js +6 -2
- package/esm/public/orm/models/orgLimit.d.ts +2 -4
- package/esm/public/orm/models/orgLimit.js +6 -2
- package/esm/public/orm/models/orgLimitAggregate.d.ts +2 -4
- package/esm/public/orm/models/orgLimitAggregate.js +6 -2
- package/esm/public/orm/models/orgLimitCap.d.ts +2 -4
- package/esm/public/orm/models/orgLimitCap.js +6 -2
- package/esm/public/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/esm/public/orm/models/orgLimitCapsDefault.js +6 -2
- package/esm/public/orm/models/orgLimitCredit.d.ts +2 -4
- package/esm/public/orm/models/orgLimitCredit.js +6 -2
- package/esm/public/orm/models/orgLimitDefault.d.ts +2 -4
- package/esm/public/orm/models/orgLimitDefault.js +6 -2
- package/esm/public/orm/models/orgLimitEvent.d.ts +2 -4
- package/esm/public/orm/models/orgLimitEvent.js +6 -2
- package/esm/public/orm/models/orgMember.d.ts +2 -4
- package/esm/public/orm/models/orgMember.js +6 -2
- package/esm/public/orm/models/orgMemberProfile.d.ts +2 -4
- package/esm/public/orm/models/orgMemberProfile.js +6 -2
- package/esm/public/orm/models/orgMembership.d.ts +2 -4
- package/esm/public/orm/models/orgMembership.js +6 -2
- package/esm/public/orm/models/orgMembershipDefault.d.ts +2 -4
- package/esm/public/orm/models/orgMembershipDefault.js +6 -2
- package/esm/public/orm/models/orgMembershipSetting.d.ts +2 -4
- package/esm/public/orm/models/orgMembershipSetting.js +6 -2
- package/esm/public/orm/models/orgOwnerGrant.d.ts +2 -4
- package/esm/public/orm/models/orgOwnerGrant.js +6 -2
- package/esm/public/orm/models/orgPermission.d.ts +2 -4
- package/esm/public/orm/models/orgPermission.js +6 -2
- package/esm/public/orm/models/orgPermissionDefault.d.ts +2 -4
- package/esm/public/orm/models/orgPermissionDefault.js +6 -2
- package/esm/public/orm/models/partition.d.ts +2 -4
- package/esm/public/orm/models/partition.js +6 -2
- package/esm/public/orm/models/permissionsModule.d.ts +2 -4
- package/esm/public/orm/models/permissionsModule.js +6 -2
- package/esm/public/orm/models/phoneNumber.d.ts +2 -4
- package/esm/public/orm/models/phoneNumber.js +6 -2
- package/esm/public/orm/models/phoneNumbersModule.d.ts +2 -4
- package/esm/public/orm/models/phoneNumbersModule.js +6 -2
- package/esm/public/orm/models/plansModule.d.ts +2 -4
- package/esm/public/orm/models/plansModule.js +6 -2
- package/esm/public/orm/models/policy.d.ts +2 -4
- package/esm/public/orm/models/policy.js +6 -2
- package/esm/public/orm/models/primaryKeyConstraint.d.ts +2 -4
- package/esm/public/orm/models/primaryKeyConstraint.js +6 -2
- package/esm/public/orm/models/profilesModule.d.ts +2 -4
- package/esm/public/orm/models/profilesModule.js +6 -2
- package/esm/public/orm/models/pubkeySetting.d.ts +2 -4
- package/esm/public/orm/models/pubkeySetting.js +6 -2
- package/esm/public/orm/models/rateLimitsModule.d.ts +2 -4
- package/esm/public/orm/models/rateLimitsModule.js +6 -2
- package/esm/public/orm/models/realtimeModule.d.ts +2 -4
- package/esm/public/orm/models/realtimeModule.js +6 -2
- package/esm/public/orm/models/ref.d.ts +2 -4
- package/esm/public/orm/models/ref.js +6 -2
- package/esm/public/orm/models/relationProvision.d.ts +2 -4
- package/esm/public/orm/models/relationProvision.js +6 -2
- package/esm/public/orm/models/rlsModule.d.ts +2 -4
- package/esm/public/orm/models/rlsModule.js +6 -2
- package/esm/public/orm/models/rlsSetting.d.ts +2 -4
- package/esm/public/orm/models/rlsSetting.js +6 -2
- package/esm/public/orm/models/roleType.d.ts +2 -4
- package/esm/public/orm/models/roleType.js +6 -2
- package/esm/public/orm/models/schema.d.ts +2 -4
- package/esm/public/orm/models/schema.js +6 -2
- package/esm/public/orm/models/schemaGrant.d.ts +2 -4
- package/esm/public/orm/models/schemaGrant.js +6 -2
- package/esm/public/orm/models/secretsModule.d.ts +2 -4
- package/esm/public/orm/models/secretsModule.js +6 -2
- package/esm/public/orm/models/secureTableProvision.d.ts +2 -4
- package/esm/public/orm/models/secureTableProvision.js +6 -2
- package/esm/public/orm/models/sessionSecretsModule.d.ts +2 -4
- package/esm/public/orm/models/sessionSecretsModule.js +6 -2
- package/esm/public/orm/models/sessionsModule.d.ts +2 -4
- package/esm/public/orm/models/sessionsModule.js +6 -2
- package/esm/public/orm/models/site.d.ts +2 -4
- package/esm/public/orm/models/site.js +6 -2
- package/esm/public/orm/models/siteMetadatum.d.ts +2 -4
- package/esm/public/orm/models/siteMetadatum.js +6 -2
- package/esm/public/orm/models/siteModule.d.ts +2 -4
- package/esm/public/orm/models/siteModule.js +6 -2
- package/esm/public/orm/models/siteTheme.d.ts +2 -4
- package/esm/public/orm/models/siteTheme.js +6 -2
- package/esm/public/orm/models/spatialRelation.d.ts +2 -4
- package/esm/public/orm/models/spatialRelation.js +6 -2
- package/esm/public/orm/models/sqlAction.d.ts +2 -4
- package/esm/public/orm/models/sqlAction.js +6 -2
- package/esm/public/orm/models/storageModule.d.ts +2 -4
- package/esm/public/orm/models/storageModule.js +6 -2
- package/esm/public/orm/models/store.d.ts +2 -4
- package/esm/public/orm/models/store.js +6 -2
- package/esm/public/orm/models/table.d.ts +2 -4
- package/esm/public/orm/models/table.js +6 -2
- package/esm/public/orm/models/tableGrant.d.ts +2 -4
- package/esm/public/orm/models/tableGrant.js +6 -2
- package/esm/public/orm/models/trigger.d.ts +2 -4
- package/esm/public/orm/models/trigger.js +6 -2
- package/esm/public/orm/models/triggerFunction.d.ts +2 -4
- package/esm/public/orm/models/triggerFunction.js +6 -2
- package/esm/public/orm/models/uniqueConstraint.d.ts +2 -4
- package/esm/public/orm/models/uniqueConstraint.js +6 -2
- package/esm/public/orm/models/usageSnapshot.d.ts +2 -4
- package/esm/public/orm/models/usageSnapshot.js +6 -2
- package/esm/public/orm/models/user.d.ts +2 -4
- package/esm/public/orm/models/user.js +6 -2
- package/esm/public/orm/models/userAuthModule.d.ts +2 -4
- package/esm/public/orm/models/userAuthModule.js +6 -2
- package/esm/public/orm/models/userConnectedAccount.d.ts +2 -4
- package/esm/public/orm/models/userConnectedAccount.js +6 -2
- package/esm/public/orm/models/usersModule.d.ts +2 -4
- package/esm/public/orm/models/usersModule.js +6 -2
- package/esm/public/orm/models/view.d.ts +2 -4
- package/esm/public/orm/models/view.js +6 -2
- package/esm/public/orm/models/viewGrant.d.ts +2 -4
- package/esm/public/orm/models/viewGrant.js +6 -2
- package/esm/public/orm/models/viewRule.d.ts +2 -4
- package/esm/public/orm/models/viewRule.js +6 -2
- package/esm/public/orm/models/viewTable.d.ts +2 -4
- package/esm/public/orm/models/viewTable.js +6 -2
- package/esm/public/orm/models/webauthnAuthModule.d.ts +2 -4
- package/esm/public/orm/models/webauthnAuthModule.js +6 -2
- package/esm/public/orm/models/webauthnCredential.d.ts +2 -4
- package/esm/public/orm/models/webauthnCredential.js +6 -2
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +2 -4
- package/esm/public/orm/models/webauthnCredentialsModule.js +6 -2
- package/esm/public/orm/models/webauthnSetting.d.ts +2 -4
- package/esm/public/orm/models/webauthnSetting.js +6 -2
- package/esm/public/orm/query-builder.d.ts +18 -1
- package/esm/public/orm/query-builder.js +108 -1
- package/esm/public/orm/select-types.d.ts +25 -1
- package/objects/cli/commands/commit.js +1 -1
- package/objects/cli/commands/get-all-record.js +1 -1
- package/objects/cli/commands/object.js +1 -1
- package/objects/cli/commands/ref.js +1 -1
- package/objects/cli/commands/store.js +1 -1
- package/objects/cli/executor.js +2 -2
- package/objects/cli/utils.d.ts +2 -2
- package/objects/cli/utils.js +4 -2
- package/objects/orm/index.d.ts +0 -1
- package/objects/orm/index.js +1 -3
- package/objects/orm/models/commit.d.ts +2 -4
- package/objects/orm/models/commit.js +6 -2
- package/objects/orm/models/getAllRecord.d.ts +2 -4
- package/objects/orm/models/getAllRecord.js +6 -2
- package/objects/orm/models/object.d.ts +3 -5
- package/objects/orm/models/object.js +7 -3
- package/objects/orm/models/ref.d.ts +2 -4
- package/objects/orm/models/ref.js +6 -2
- package/objects/orm/models/store.d.ts +2 -4
- package/objects/orm/models/store.js +6 -2
- package/objects/orm/query-builder.d.ts +18 -1
- package/objects/orm/query-builder.js +112 -1
- package/objects/orm/select-types.d.ts +25 -1
- package/package.json +4 -4
- package/public/cli/commands/agent-message.js +1 -1
- package/public/cli/commands/agent-task.js +1 -1
- package/public/cli/commands/agent-thread.js +1 -1
- package/public/cli/commands/api-module.js +1 -1
- package/public/cli/commands/api-schema.js +1 -1
- package/public/cli/commands/api-setting.js +1 -1
- package/public/cli/commands/api.js +1 -1
- package/public/cli/commands/app-achievement.js +1 -1
- package/public/cli/commands/app-admin-grant.js +1 -1
- package/public/cli/commands/app-claimed-invite.js +1 -1
- package/public/cli/commands/app-grant.js +1 -1
- package/public/cli/commands/app-invite.js +1 -1
- package/public/cli/commands/app-level-requirement.js +1 -1
- package/public/cli/commands/app-level.js +1 -1
- package/public/cli/commands/app-limit-cap.js +1 -1
- package/public/cli/commands/app-limit-caps-default.js +1 -1
- package/public/cli/commands/app-limit-credit-code-item.js +1 -1
- package/public/cli/commands/app-limit-credit-code.js +1 -1
- package/public/cli/commands/app-limit-credit-redemption.js +1 -1
- package/public/cli/commands/app-limit-credit.js +1 -1
- package/public/cli/commands/app-limit-default.js +1 -1
- package/public/cli/commands/app-limit-event.js +1 -1
- package/public/cli/commands/app-limit.js +1 -1
- package/public/cli/commands/app-membership-default.js +1 -1
- package/public/cli/commands/app-membership.js +1 -1
- package/public/cli/commands/app-owner-grant.js +1 -1
- package/public/cli/commands/app-permission-default.js +1 -1
- package/public/cli/commands/app-permission.js +1 -1
- package/public/cli/commands/app-step.js +1 -1
- package/public/cli/commands/app.js +1 -1
- package/public/cli/commands/ast-migration.js +1 -1
- package/public/cli/commands/audit-log.js +1 -1
- package/public/cli/commands/billing-module.js +1 -1
- package/public/cli/commands/billing-provider-module.js +1 -1
- package/public/cli/commands/blueprint-construction.js +1 -1
- package/public/cli/commands/blueprint-template.js +1 -1
- package/public/cli/commands/blueprint.js +1 -1
- package/public/cli/commands/check-constraint.js +1 -1
- package/public/cli/commands/commit.js +1 -1
- package/public/cli/commands/connected-accounts-module.js +1 -1
- package/public/cli/commands/cors-setting.js +1 -1
- package/public/cli/commands/crypto-address.js +1 -1
- package/public/cli/commands/crypto-addresses-module.js +1 -1
- package/public/cli/commands/crypto-auth-module.js +1 -1
- package/public/cli/commands/database-provision-module.js +1 -1
- package/public/cli/commands/database-setting.js +1 -1
- package/public/cli/commands/database-transfer.js +1 -1
- package/public/cli/commands/database.js +1 -1
- package/public/cli/commands/default-ids-module.js +1 -1
- package/public/cli/commands/default-privilege.js +1 -1
- package/public/cli/commands/denormalized-table-field.js +1 -1
- package/public/cli/commands/devices-module.js +1 -1
- package/public/cli/commands/domain.js +1 -1
- package/public/cli/commands/email.js +1 -1
- package/public/cli/commands/emails-module.js +1 -1
- package/public/cli/commands/embedding-chunk.js +1 -1
- package/public/cli/commands/encrypted-secrets-module.js +1 -1
- package/public/cli/commands/entity-type-provision.js +1 -1
- package/public/cli/commands/enum.js +1 -1
- package/public/cli/commands/field.js +1 -1
- package/public/cli/commands/foreign-key-constraint.js +1 -1
- package/public/cli/commands/full-text-search.js +1 -1
- package/public/cli/commands/function.js +1 -1
- package/public/cli/commands/get-all-record.js +1 -1
- package/public/cli/commands/hierarchy-module.js +1 -1
- package/public/cli/commands/identity-provider.js +1 -1
- package/public/cli/commands/identity-providers-module.js +1 -1
- package/public/cli/commands/index.js +1 -1
- package/public/cli/commands/invites-module.js +1 -1
- package/public/cli/commands/levels-module.js +1 -1
- package/public/cli/commands/limits-module.js +1 -1
- package/public/cli/commands/membership-type.js +1 -1
- package/public/cli/commands/membership-types-module.js +1 -1
- package/public/cli/commands/memberships-module.js +1 -1
- package/public/cli/commands/migrate-file.js +1 -1
- package/public/cli/commands/node-type-registry.js +1 -1
- package/public/cli/commands/notifications-module.js +1 -1
- package/public/cli/commands/object.js +1 -1
- package/public/cli/commands/org-admin-grant.js +1 -1
- package/public/cli/commands/org-chart-edge-grant.js +1 -1
- package/public/cli/commands/org-chart-edge.js +1 -1
- package/public/cli/commands/org-claimed-invite.js +1 -1
- package/public/cli/commands/org-get-managers-record.js +1 -1
- package/public/cli/commands/org-get-subordinates-record.js +1 -1
- package/public/cli/commands/org-grant.js +1 -1
- package/public/cli/commands/org-invite.js +1 -1
- package/public/cli/commands/org-limit-aggregate.js +1 -1
- package/public/cli/commands/org-limit-cap.js +1 -1
- package/public/cli/commands/org-limit-caps-default.js +1 -1
- package/public/cli/commands/org-limit-credit.js +1 -1
- package/public/cli/commands/org-limit-default.js +1 -1
- package/public/cli/commands/org-limit-event.js +1 -1
- package/public/cli/commands/org-limit.js +1 -1
- package/public/cli/commands/org-member-profile.js +1 -1
- package/public/cli/commands/org-member.js +1 -1
- package/public/cli/commands/org-membership-default.js +1 -1
- package/public/cli/commands/org-membership-setting.js +1 -1
- package/public/cli/commands/org-membership.js +1 -1
- package/public/cli/commands/org-owner-grant.js +1 -1
- package/public/cli/commands/org-permission-default.js +1 -1
- package/public/cli/commands/org-permission.js +1 -1
- package/public/cli/commands/partition.js +1 -1
- package/public/cli/commands/permissions-module.js +1 -1
- package/public/cli/commands/phone-number.js +1 -1
- package/public/cli/commands/phone-numbers-module.js +1 -1
- package/public/cli/commands/plans-module.js +1 -1
- package/public/cli/commands/policy.js +1 -1
- package/public/cli/commands/primary-key-constraint.js +1 -1
- package/public/cli/commands/profiles-module.js +1 -1
- package/public/cli/commands/pubkey-setting.js +1 -1
- package/public/cli/commands/rate-limits-module.js +1 -1
- package/public/cli/commands/realtime-module.js +1 -1
- package/public/cli/commands/ref.js +1 -1
- package/public/cli/commands/relation-provision.js +1 -1
- package/public/cli/commands/rls-module.js +1 -1
- package/public/cli/commands/rls-setting.js +1 -1
- package/public/cli/commands/role-type.js +1 -1
- package/public/cli/commands/schema-grant.js +1 -1
- package/public/cli/commands/schema.js +1 -1
- package/public/cli/commands/secrets-module.js +1 -1
- package/public/cli/commands/secure-table-provision.js +1 -1
- package/public/cli/commands/session-secrets-module.js +1 -1
- package/public/cli/commands/sessions-module.js +1 -1
- package/public/cli/commands/site-metadatum.js +1 -1
- package/public/cli/commands/site-module.js +1 -1
- package/public/cli/commands/site-theme.js +1 -1
- package/public/cli/commands/site.js +1 -1
- package/public/cli/commands/spatial-relation.js +1 -1
- package/public/cli/commands/sql-action.js +1 -1
- package/public/cli/commands/storage-module.js +1 -1
- package/public/cli/commands/store.js +1 -1
- package/public/cli/commands/table-grant.js +1 -1
- package/public/cli/commands/table.js +1 -1
- package/public/cli/commands/trigger-function.js +1 -1
- package/public/cli/commands/trigger.js +1 -1
- package/public/cli/commands/unique-constraint.js +1 -1
- package/public/cli/commands/usage-snapshot.js +1 -1
- package/public/cli/commands/user-auth-module.js +1 -1
- package/public/cli/commands/user-connected-account.js +1 -1
- package/public/cli/commands/user.js +1 -1
- package/public/cli/commands/users-module.js +1 -1
- package/public/cli/commands/view-grant.js +1 -1
- package/public/cli/commands/view-rule.js +1 -1
- package/public/cli/commands/view-table.js +1 -1
- package/public/cli/commands/view.js +1 -1
- package/public/cli/commands/webauthn-auth-module.js +1 -1
- package/public/cli/commands/webauthn-credential.js +1 -1
- package/public/cli/commands/webauthn-credentials-module.js +1 -1
- package/public/cli/commands/webauthn-setting.js +1 -1
- package/public/cli/executor.js +2 -2
- package/public/cli/utils.d.ts +2 -2
- package/public/cli/utils.js +4 -2
- package/public/orm/index.d.ts +0 -1
- package/public/orm/index.js +1 -3
- package/public/orm/models/agentMessage.d.ts +2 -4
- package/public/orm/models/agentMessage.js +6 -2
- package/public/orm/models/agentTask.d.ts +2 -4
- package/public/orm/models/agentTask.js +6 -2
- package/public/orm/models/agentThread.d.ts +2 -4
- package/public/orm/models/agentThread.js +6 -2
- package/public/orm/models/api.d.ts +2 -4
- package/public/orm/models/api.js +6 -2
- package/public/orm/models/apiModule.d.ts +2 -4
- package/public/orm/models/apiModule.js +6 -2
- package/public/orm/models/apiSchema.d.ts +2 -4
- package/public/orm/models/apiSchema.js +6 -2
- package/public/orm/models/apiSetting.d.ts +2 -4
- package/public/orm/models/apiSetting.js +6 -2
- package/public/orm/models/app.d.ts +2 -4
- package/public/orm/models/app.js +6 -2
- package/public/orm/models/appAchievement.d.ts +2 -4
- package/public/orm/models/appAchievement.js +6 -2
- package/public/orm/models/appAdminGrant.d.ts +2 -4
- package/public/orm/models/appAdminGrant.js +6 -2
- package/public/orm/models/appClaimedInvite.d.ts +2 -4
- package/public/orm/models/appClaimedInvite.js +6 -2
- package/public/orm/models/appGrant.d.ts +2 -4
- package/public/orm/models/appGrant.js +6 -2
- package/public/orm/models/appInvite.d.ts +2 -4
- package/public/orm/models/appInvite.js +6 -2
- package/public/orm/models/appLevel.d.ts +2 -4
- package/public/orm/models/appLevel.js +6 -2
- package/public/orm/models/appLevelRequirement.d.ts +2 -4
- package/public/orm/models/appLevelRequirement.js +6 -2
- package/public/orm/models/appLimit.d.ts +2 -4
- package/public/orm/models/appLimit.js +6 -2
- package/public/orm/models/appLimitCap.d.ts +2 -4
- package/public/orm/models/appLimitCap.js +6 -2
- package/public/orm/models/appLimitCapsDefault.d.ts +2 -4
- package/public/orm/models/appLimitCapsDefault.js +6 -2
- package/public/orm/models/appLimitCredit.d.ts +2 -4
- package/public/orm/models/appLimitCredit.js +6 -2
- package/public/orm/models/appLimitCreditCode.d.ts +2 -4
- package/public/orm/models/appLimitCreditCode.js +6 -2
- package/public/orm/models/appLimitCreditCodeItem.d.ts +2 -4
- package/public/orm/models/appLimitCreditCodeItem.js +6 -2
- package/public/orm/models/appLimitCreditRedemption.d.ts +2 -4
- package/public/orm/models/appLimitCreditRedemption.js +6 -2
- package/public/orm/models/appLimitDefault.d.ts +2 -4
- package/public/orm/models/appLimitDefault.js +6 -2
- package/public/orm/models/appLimitEvent.d.ts +2 -4
- package/public/orm/models/appLimitEvent.js +6 -2
- package/public/orm/models/appMembership.d.ts +2 -4
- package/public/orm/models/appMembership.js +6 -2
- package/public/orm/models/appMembershipDefault.d.ts +2 -4
- package/public/orm/models/appMembershipDefault.js +6 -2
- package/public/orm/models/appOwnerGrant.d.ts +2 -4
- package/public/orm/models/appOwnerGrant.js +6 -2
- package/public/orm/models/appPermission.d.ts +2 -4
- package/public/orm/models/appPermission.js +6 -2
- package/public/orm/models/appPermissionDefault.d.ts +2 -4
- package/public/orm/models/appPermissionDefault.js +6 -2
- package/public/orm/models/appStep.d.ts +2 -4
- package/public/orm/models/appStep.js +6 -2
- package/public/orm/models/astMigration.d.ts +2 -4
- package/public/orm/models/astMigration.js +6 -2
- package/public/orm/models/auditLog.d.ts +2 -4
- package/public/orm/models/auditLog.js +6 -2
- package/public/orm/models/billingModule.d.ts +2 -4
- package/public/orm/models/billingModule.js +6 -2
- package/public/orm/models/billingProviderModule.d.ts +2 -4
- package/public/orm/models/billingProviderModule.js +6 -2
- package/public/orm/models/blueprint.d.ts +2 -4
- package/public/orm/models/blueprint.js +6 -2
- package/public/orm/models/blueprintConstruction.d.ts +2 -4
- package/public/orm/models/blueprintConstruction.js +6 -2
- package/public/orm/models/blueprintTemplate.d.ts +2 -4
- package/public/orm/models/blueprintTemplate.js +6 -2
- package/public/orm/models/checkConstraint.d.ts +2 -4
- package/public/orm/models/checkConstraint.js +6 -2
- package/public/orm/models/commit.d.ts +2 -4
- package/public/orm/models/commit.js +6 -2
- package/public/orm/models/connectedAccountsModule.d.ts +2 -4
- package/public/orm/models/connectedAccountsModule.js +6 -2
- package/public/orm/models/corsSetting.d.ts +2 -4
- package/public/orm/models/corsSetting.js +6 -2
- package/public/orm/models/cryptoAddress.d.ts +2 -4
- package/public/orm/models/cryptoAddress.js +6 -2
- package/public/orm/models/cryptoAddressesModule.d.ts +2 -4
- package/public/orm/models/cryptoAddressesModule.js +6 -2
- package/public/orm/models/cryptoAuthModule.d.ts +2 -4
- package/public/orm/models/cryptoAuthModule.js +6 -2
- package/public/orm/models/database.d.ts +2 -4
- package/public/orm/models/database.js +6 -2
- package/public/orm/models/databaseProvisionModule.d.ts +2 -4
- package/public/orm/models/databaseProvisionModule.js +6 -2
- package/public/orm/models/databaseSetting.d.ts +2 -4
- package/public/orm/models/databaseSetting.js +6 -2
- package/public/orm/models/databaseTransfer.d.ts +2 -4
- package/public/orm/models/databaseTransfer.js +6 -2
- package/public/orm/models/defaultIdsModule.d.ts +2 -4
- package/public/orm/models/defaultIdsModule.js +6 -2
- package/public/orm/models/defaultPrivilege.d.ts +2 -4
- package/public/orm/models/defaultPrivilege.js +6 -2
- package/public/orm/models/denormalizedTableField.d.ts +2 -4
- package/public/orm/models/denormalizedTableField.js +6 -2
- package/public/orm/models/devicesModule.d.ts +2 -4
- package/public/orm/models/devicesModule.js +6 -2
- package/public/orm/models/domain.d.ts +2 -4
- package/public/orm/models/domain.js +6 -2
- package/public/orm/models/email.d.ts +2 -4
- package/public/orm/models/email.js +6 -2
- package/public/orm/models/emailsModule.d.ts +2 -4
- package/public/orm/models/emailsModule.js +6 -2
- package/public/orm/models/embeddingChunk.d.ts +2 -4
- package/public/orm/models/embeddingChunk.js +6 -2
- package/public/orm/models/encryptedSecretsModule.d.ts +2 -4
- package/public/orm/models/encryptedSecretsModule.js +6 -2
- package/public/orm/models/entityTypeProvision.d.ts +2 -4
- package/public/orm/models/entityTypeProvision.js +6 -2
- package/public/orm/models/enum.d.ts +2 -4
- package/public/orm/models/enum.js +6 -2
- package/public/orm/models/field.d.ts +2 -4
- package/public/orm/models/field.js +6 -2
- package/public/orm/models/foreignKeyConstraint.d.ts +2 -4
- package/public/orm/models/foreignKeyConstraint.js +6 -2
- package/public/orm/models/fullTextSearch.d.ts +2 -4
- package/public/orm/models/fullTextSearch.js +6 -2
- package/public/orm/models/function.d.ts +2 -4
- package/public/orm/models/function.js +6 -2
- package/public/orm/models/getAllRecord.d.ts +2 -4
- package/public/orm/models/getAllRecord.js +6 -2
- package/public/orm/models/hierarchyModule.d.ts +2 -4
- package/public/orm/models/hierarchyModule.js +6 -2
- package/public/orm/models/identityProvider.d.ts +2 -4
- package/public/orm/models/identityProvider.js +6 -2
- package/public/orm/models/identityProvidersModule.d.ts +2 -4
- package/public/orm/models/identityProvidersModule.js +6 -2
- package/public/orm/models/indexModel.d.ts +2 -4
- package/public/orm/models/indexModel.js +6 -2
- package/public/orm/models/invitesModule.d.ts +2 -4
- package/public/orm/models/invitesModule.js +6 -2
- package/public/orm/models/levelsModule.d.ts +2 -4
- package/public/orm/models/levelsModule.js +6 -2
- package/public/orm/models/limitsModule.d.ts +2 -4
- package/public/orm/models/limitsModule.js +6 -2
- package/public/orm/models/membershipType.d.ts +2 -4
- package/public/orm/models/membershipType.js +6 -2
- package/public/orm/models/membershipTypesModule.d.ts +2 -4
- package/public/orm/models/membershipTypesModule.js +6 -2
- package/public/orm/models/membershipsModule.d.ts +2 -4
- package/public/orm/models/membershipsModule.js +6 -2
- package/public/orm/models/migrateFile.d.ts +2 -4
- package/public/orm/models/migrateFile.js +6 -2
- package/public/orm/models/nodeTypeRegistry.d.ts +2 -4
- package/public/orm/models/nodeTypeRegistry.js +6 -2
- package/public/orm/models/notificationsModule.d.ts +2 -4
- package/public/orm/models/notificationsModule.js +6 -2
- package/public/orm/models/object.d.ts +3 -5
- package/public/orm/models/object.js +7 -3
- package/public/orm/models/orgAdminGrant.d.ts +2 -4
- package/public/orm/models/orgAdminGrant.js +6 -2
- package/public/orm/models/orgChartEdge.d.ts +2 -4
- package/public/orm/models/orgChartEdge.js +6 -2
- package/public/orm/models/orgChartEdgeGrant.d.ts +2 -4
- package/public/orm/models/orgChartEdgeGrant.js +6 -2
- package/public/orm/models/orgClaimedInvite.d.ts +2 -4
- package/public/orm/models/orgClaimedInvite.js +6 -2
- package/public/orm/models/orgGetManagersRecord.d.ts +2 -4
- package/public/orm/models/orgGetManagersRecord.js +6 -2
- package/public/orm/models/orgGetSubordinatesRecord.d.ts +2 -4
- package/public/orm/models/orgGetSubordinatesRecord.js +6 -2
- package/public/orm/models/orgGrant.d.ts +2 -4
- package/public/orm/models/orgGrant.js +6 -2
- package/public/orm/models/orgInvite.d.ts +2 -4
- package/public/orm/models/orgInvite.js +6 -2
- package/public/orm/models/orgLimit.d.ts +2 -4
- package/public/orm/models/orgLimit.js +6 -2
- package/public/orm/models/orgLimitAggregate.d.ts +2 -4
- package/public/orm/models/orgLimitAggregate.js +6 -2
- package/public/orm/models/orgLimitCap.d.ts +2 -4
- package/public/orm/models/orgLimitCap.js +6 -2
- package/public/orm/models/orgLimitCapsDefault.d.ts +2 -4
- package/public/orm/models/orgLimitCapsDefault.js +6 -2
- package/public/orm/models/orgLimitCredit.d.ts +2 -4
- package/public/orm/models/orgLimitCredit.js +6 -2
- package/public/orm/models/orgLimitDefault.d.ts +2 -4
- package/public/orm/models/orgLimitDefault.js +6 -2
- package/public/orm/models/orgLimitEvent.d.ts +2 -4
- package/public/orm/models/orgLimitEvent.js +6 -2
- package/public/orm/models/orgMember.d.ts +2 -4
- package/public/orm/models/orgMember.js +6 -2
- package/public/orm/models/orgMemberProfile.d.ts +2 -4
- package/public/orm/models/orgMemberProfile.js +6 -2
- package/public/orm/models/orgMembership.d.ts +2 -4
- package/public/orm/models/orgMembership.js +6 -2
- package/public/orm/models/orgMembershipDefault.d.ts +2 -4
- package/public/orm/models/orgMembershipDefault.js +6 -2
- package/public/orm/models/orgMembershipSetting.d.ts +2 -4
- package/public/orm/models/orgMembershipSetting.js +6 -2
- package/public/orm/models/orgOwnerGrant.d.ts +2 -4
- package/public/orm/models/orgOwnerGrant.js +6 -2
- package/public/orm/models/orgPermission.d.ts +2 -4
- package/public/orm/models/orgPermission.js +6 -2
- package/public/orm/models/orgPermissionDefault.d.ts +2 -4
- package/public/orm/models/orgPermissionDefault.js +6 -2
- package/public/orm/models/partition.d.ts +2 -4
- package/public/orm/models/partition.js +6 -2
- package/public/orm/models/permissionsModule.d.ts +2 -4
- package/public/orm/models/permissionsModule.js +6 -2
- package/public/orm/models/phoneNumber.d.ts +2 -4
- package/public/orm/models/phoneNumber.js +6 -2
- package/public/orm/models/phoneNumbersModule.d.ts +2 -4
- package/public/orm/models/phoneNumbersModule.js +6 -2
- package/public/orm/models/plansModule.d.ts +2 -4
- package/public/orm/models/plansModule.js +6 -2
- package/public/orm/models/policy.d.ts +2 -4
- package/public/orm/models/policy.js +6 -2
- package/public/orm/models/primaryKeyConstraint.d.ts +2 -4
- package/public/orm/models/primaryKeyConstraint.js +6 -2
- package/public/orm/models/profilesModule.d.ts +2 -4
- package/public/orm/models/profilesModule.js +6 -2
- package/public/orm/models/pubkeySetting.d.ts +2 -4
- package/public/orm/models/pubkeySetting.js +6 -2
- package/public/orm/models/rateLimitsModule.d.ts +2 -4
- package/public/orm/models/rateLimitsModule.js +6 -2
- package/public/orm/models/realtimeModule.d.ts +2 -4
- package/public/orm/models/realtimeModule.js +6 -2
- package/public/orm/models/ref.d.ts +2 -4
- package/public/orm/models/ref.js +6 -2
- package/public/orm/models/relationProvision.d.ts +2 -4
- package/public/orm/models/relationProvision.js +6 -2
- package/public/orm/models/rlsModule.d.ts +2 -4
- package/public/orm/models/rlsModule.js +6 -2
- package/public/orm/models/rlsSetting.d.ts +2 -4
- package/public/orm/models/rlsSetting.js +6 -2
- package/public/orm/models/roleType.d.ts +2 -4
- package/public/orm/models/roleType.js +6 -2
- package/public/orm/models/schema.d.ts +2 -4
- package/public/orm/models/schema.js +6 -2
- package/public/orm/models/schemaGrant.d.ts +2 -4
- package/public/orm/models/schemaGrant.js +6 -2
- package/public/orm/models/secretsModule.d.ts +2 -4
- package/public/orm/models/secretsModule.js +6 -2
- package/public/orm/models/secureTableProvision.d.ts +2 -4
- package/public/orm/models/secureTableProvision.js +6 -2
- package/public/orm/models/sessionSecretsModule.d.ts +2 -4
- package/public/orm/models/sessionSecretsModule.js +6 -2
- package/public/orm/models/sessionsModule.d.ts +2 -4
- package/public/orm/models/sessionsModule.js +6 -2
- package/public/orm/models/site.d.ts +2 -4
- package/public/orm/models/site.js +6 -2
- package/public/orm/models/siteMetadatum.d.ts +2 -4
- package/public/orm/models/siteMetadatum.js +6 -2
- package/public/orm/models/siteModule.d.ts +2 -4
- package/public/orm/models/siteModule.js +6 -2
- package/public/orm/models/siteTheme.d.ts +2 -4
- package/public/orm/models/siteTheme.js +6 -2
- package/public/orm/models/spatialRelation.d.ts +2 -4
- package/public/orm/models/spatialRelation.js +6 -2
- package/public/orm/models/sqlAction.d.ts +2 -4
- package/public/orm/models/sqlAction.js +6 -2
- package/public/orm/models/storageModule.d.ts +2 -4
- package/public/orm/models/storageModule.js +6 -2
- package/public/orm/models/store.d.ts +2 -4
- package/public/orm/models/store.js +6 -2
- package/public/orm/models/table.d.ts +2 -4
- package/public/orm/models/table.js +6 -2
- package/public/orm/models/tableGrant.d.ts +2 -4
- package/public/orm/models/tableGrant.js +6 -2
- package/public/orm/models/trigger.d.ts +2 -4
- package/public/orm/models/trigger.js +6 -2
- package/public/orm/models/triggerFunction.d.ts +2 -4
- package/public/orm/models/triggerFunction.js +6 -2
- package/public/orm/models/uniqueConstraint.d.ts +2 -4
- package/public/orm/models/uniqueConstraint.js +6 -2
- package/public/orm/models/usageSnapshot.d.ts +2 -4
- package/public/orm/models/usageSnapshot.js +6 -2
- package/public/orm/models/user.d.ts +2 -4
- package/public/orm/models/user.js +6 -2
- package/public/orm/models/userAuthModule.d.ts +2 -4
- package/public/orm/models/userAuthModule.js +6 -2
- package/public/orm/models/userConnectedAccount.d.ts +2 -4
- package/public/orm/models/userConnectedAccount.js +6 -2
- package/public/orm/models/usersModule.d.ts +2 -4
- package/public/orm/models/usersModule.js +6 -2
- package/public/orm/models/view.d.ts +2 -4
- package/public/orm/models/view.js +6 -2
- package/public/orm/models/viewGrant.d.ts +2 -4
- package/public/orm/models/viewGrant.js +6 -2
- package/public/orm/models/viewRule.d.ts +2 -4
- package/public/orm/models/viewRule.js +6 -2
- package/public/orm/models/viewTable.d.ts +2 -4
- package/public/orm/models/viewTable.js +6 -2
- package/public/orm/models/webauthnAuthModule.d.ts +2 -4
- package/public/orm/models/webauthnAuthModule.js +6 -2
- package/public/orm/models/webauthnCredential.d.ts +2 -4
- package/public/orm/models/webauthnCredential.js +6 -2
- package/public/orm/models/webauthnCredentialsModule.d.ts +2 -4
- package/public/orm/models/webauthnCredentialsModule.js +6 -2
- package/public/orm/models/webauthnSetting.d.ts +2 -4
- package/public/orm/models/webauthnSetting.js +6 -2
- package/public/orm/query-builder.d.ts +18 -1
- package/public/orm/query-builder.js +112 -1
- package/public/orm/select-types.d.ts +25 -1
- package/admin/cli/node-fetch.d.ts +0 -26
- package/admin/cli/node-fetch.js +0 -129
- package/admin/orm/node-fetch.d.ts +0 -26
- package/admin/orm/node-fetch.js +0 -129
- package/auth/cli/node-fetch.d.ts +0 -26
- package/auth/cli/node-fetch.js +0 -129
- package/auth/orm/node-fetch.d.ts +0 -26
- package/auth/orm/node-fetch.js +0 -129
- package/esm/admin/cli/node-fetch.d.ts +0 -26
- package/esm/admin/cli/node-fetch.js +0 -122
- package/esm/admin/orm/node-fetch.d.ts +0 -26
- package/esm/admin/orm/node-fetch.js +0 -122
- package/esm/auth/cli/node-fetch.d.ts +0 -26
- package/esm/auth/cli/node-fetch.js +0 -122
- package/esm/auth/orm/node-fetch.d.ts +0 -26
- package/esm/auth/orm/node-fetch.js +0 -122
- package/esm/objects/cli/node-fetch.d.ts +0 -26
- package/esm/objects/cli/node-fetch.js +0 -122
- package/esm/objects/orm/node-fetch.d.ts +0 -26
- package/esm/objects/orm/node-fetch.js +0 -122
- package/esm/public/cli/node-fetch.d.ts +0 -26
- package/esm/public/cli/node-fetch.js +0 -122
- package/esm/public/orm/node-fetch.d.ts +0 -26
- package/esm/public/orm/node-fetch.js +0 -122
- package/objects/cli/node-fetch.d.ts +0 -26
- package/objects/cli/node-fetch.js +0 -129
- package/objects/orm/node-fetch.d.ts +0 -26
- package/objects/orm/node-fetch.js +0 -129
- package/public/cli/node-fetch.d.ts +0 -26
- package/public/cli/node-fetch.js +0 -129
- package/public/orm/node-fetch.d.ts +0 -26
- package/public/orm/node-fetch.js +0 -129
|
@@ -15,12 +15,10 @@ export declare class OrgOwnerGrantModel {
|
|
|
15
15
|
} & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
|
|
16
16
|
orgOwnerGrants: ConnectionResult<InferSelectResult<OrgOwnerGrantWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends OrgOwnerGrantSelect>(args: FindFirstArgs<S, OrgOwnerGrantFilter> & {
|
|
18
|
+
findFirst<S extends OrgOwnerGrantSelect>(args: FindFirstArgs<S, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, OrgOwnerGrantSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<OrgOwnerGrantWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends OrgOwnerGrantSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class OrgOwnerGrantModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgOwnerGrant', 'orgOwnerGrants', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'OrgOwnerGrantFilter', 'OrgOwnerGrantOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'OrgOwnerGrant',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'orgOwnerGrant',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
orgOwnerGrant: data.orgOwnerGrants?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class OrgPermissionModel {
|
|
|
15
15
|
} & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
|
|
16
16
|
orgPermissions: ConnectionResult<InferSelectResult<OrgPermissionWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends OrgPermissionSelect>(args: FindFirstArgs<S, OrgPermissionFilter> & {
|
|
18
|
+
findFirst<S extends OrgPermissionSelect>(args: FindFirstArgs<S, OrgPermissionFilter, OrgPermissionOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, OrgPermissionSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<OrgPermissionWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
orgPermission: InferSelectResult<OrgPermissionWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends OrgPermissionSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class OrgPermissionModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgPermission', 'orgPermissions', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'OrgPermissionFilter', 'OrgPermissionOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'OrgPermission',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'orgPermission',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
orgPermission: data.orgPermissions?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class OrgPermissionDefaultModel {
|
|
|
15
15
|
} & StrictSelect<S, OrgPermissionDefaultSelect>): QueryBuilder<{
|
|
16
16
|
orgPermissionDefaults: ConnectionResult<InferSelectResult<OrgPermissionDefaultWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends OrgPermissionDefaultSelect>(args: FindFirstArgs<S, OrgPermissionDefaultFilter> & {
|
|
18
|
+
findFirst<S extends OrgPermissionDefaultSelect>(args: FindFirstArgs<S, OrgPermissionDefaultFilter, OrgPermissionDefaultOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, OrgPermissionDefaultSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<OrgPermissionDefaultWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
orgPermissionDefault: InferSelectResult<OrgPermissionDefaultWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends OrgPermissionDefaultSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class OrgPermissionDefaultModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgPermissionDefault', 'orgPermissionDefaults', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'OrgPermissionDefaultFilter', 'OrgPermissionDefaultOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'OrgPermissionDefault',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'orgPermissionDefault',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
orgPermissionDefault: data.orgPermissionDefaults?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class UsageSnapshotModel {
|
|
|
15
15
|
} & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
|
|
16
16
|
usageSnapshots: ConnectionResult<InferSelectResult<UsageSnapshotWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends UsageSnapshotSelect>(args: FindFirstArgs<S, UsageSnapshotFilter> & {
|
|
18
|
+
findFirst<S extends UsageSnapshotSelect>(args: FindFirstArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<UsageSnapshotWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends UsageSnapshotSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class UsageSnapshotModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('UsageSnapshot', 'usageSnapshots', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'UsageSnapshotFilter', 'UsageSnapshotOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'UsageSnapshot',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'usageSnapshot',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
usageSnapshot: data.usageSnapshots?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -48,7 +48,8 @@ export declare function buildFindManyDocument<TSelect, TWhere>(operationName: st
|
|
|
48
48
|
};
|
|
49
49
|
export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
50
50
|
where?: TWhere;
|
|
51
|
-
|
|
51
|
+
orderBy?: string[];
|
|
52
|
+
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
52
53
|
document: string;
|
|
53
54
|
variables: Record<string, unknown>;
|
|
54
55
|
};
|
|
@@ -91,3 +92,19 @@ export declare function buildCustomDocument<TSelect, TArgs>(operationType: 'quer
|
|
|
91
92
|
document: string;
|
|
92
93
|
variables: Record<string, unknown>;
|
|
93
94
|
};
|
|
95
|
+
export declare function buildBulkInsertDocument<TSelect, TData>(operationName: string, mutationField: string, select: TSelect, data: TData[], inputTypeName: string, onConflict?: unknown, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
96
|
+
document: string;
|
|
97
|
+
variables: Record<string, unknown>;
|
|
98
|
+
};
|
|
99
|
+
export declare function buildBulkUpsertDocument<TSelect, TData>(operationName: string, mutationField: string, select: TSelect, data: TData[], inputTypeName: string, onConflict: unknown, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
100
|
+
document: string;
|
|
101
|
+
variables: Record<string, unknown>;
|
|
102
|
+
};
|
|
103
|
+
export declare function buildBulkUpdateDocument<TSelect, TWhere, TData>(operationName: string, mutationField: string, select: TSelect, where: TWhere, data: TData, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
104
|
+
document: string;
|
|
105
|
+
variables: Record<string, unknown>;
|
|
106
|
+
};
|
|
107
|
+
export declare function buildBulkDeleteDocument<TSelect, TWhere>(operationName: string, mutationField: string, select: TSelect, where: TWhere, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
108
|
+
document: string;
|
|
109
|
+
variables: Record<string, unknown>;
|
|
110
|
+
};
|
|
@@ -45,6 +45,10 @@ exports.buildDeleteDocument = buildDeleteDocument;
|
|
|
45
45
|
exports.buildDeleteByPkDocument = buildDeleteByPkDocument;
|
|
46
46
|
exports.buildJunctionRemoveDocument = buildJunctionRemoveDocument;
|
|
47
47
|
exports.buildCustomDocument = buildCustomDocument;
|
|
48
|
+
exports.buildBulkInsertDocument = buildBulkInsertDocument;
|
|
49
|
+
exports.buildBulkUpsertDocument = buildBulkUpsertDocument;
|
|
50
|
+
exports.buildBulkUpdateDocument = buildBulkUpdateDocument;
|
|
51
|
+
exports.buildBulkDeleteDocument = buildBulkDeleteDocument;
|
|
48
52
|
/**
|
|
49
53
|
* Query Builder - Builds and executes GraphQL operations
|
|
50
54
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -247,7 +251,7 @@ function buildFindManyDocument(operationName, queryField, select, args, filterTy
|
|
|
247
251
|
});
|
|
248
252
|
return { document: (0, runtime_1.print)(document), variables };
|
|
249
253
|
}
|
|
250
|
-
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, connectionFieldsMap) {
|
|
254
|
+
function buildFindFirstDocument(operationName, queryField, select, args, filterTypeName, orderByTypeName, connectionFieldsMap) {
|
|
251
255
|
const selections = select
|
|
252
256
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
253
257
|
: [t.field({ name: 'id' })];
|
|
@@ -261,6 +265,11 @@ function buildFindFirstDocument(operationName, queryField, select, args, filterT
|
|
|
261
265
|
typeName: filterTypeName,
|
|
262
266
|
value: args.where,
|
|
263
267
|
}, variableDefinitions, queryArgs, variables);
|
|
268
|
+
addVariable({
|
|
269
|
+
varName: 'orderBy',
|
|
270
|
+
typeName: '[' + orderByTypeName + '!]',
|
|
271
|
+
value: args.orderBy?.length ? args.orderBy : undefined,
|
|
272
|
+
}, variableDefinitions, queryArgs, variables);
|
|
264
273
|
const document = t.document({
|
|
265
274
|
definitions: [
|
|
266
275
|
t.operationDefinition({
|
|
@@ -643,3 +652,105 @@ function buildValueAst(value) {
|
|
|
643
652
|
}
|
|
644
653
|
throw new Error('Unsupported value type: ' + typeof value);
|
|
645
654
|
}
|
|
655
|
+
// ============================================================================
|
|
656
|
+
// Bulk Mutation Document Builders
|
|
657
|
+
// ============================================================================
|
|
658
|
+
function buildBulkInsertDocument(operationName, mutationField, select, data, inputTypeName, onConflict, connectionFieldsMap) {
|
|
659
|
+
const selections = select
|
|
660
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
661
|
+
: [t.field({ name: 'id' })];
|
|
662
|
+
return {
|
|
663
|
+
document: buildInputMutationDocument({
|
|
664
|
+
operationName,
|
|
665
|
+
mutationField,
|
|
666
|
+
inputTypeName,
|
|
667
|
+
resultSelections: [
|
|
668
|
+
t.field({ name: 'affectedCount' }),
|
|
669
|
+
t.field({
|
|
670
|
+
name: 'returning',
|
|
671
|
+
selectionSet: t.selectionSet({ selections }),
|
|
672
|
+
}),
|
|
673
|
+
],
|
|
674
|
+
}),
|
|
675
|
+
variables: {
|
|
676
|
+
input: {
|
|
677
|
+
values: data,
|
|
678
|
+
...(onConflict ? { onConflict } : {}),
|
|
679
|
+
},
|
|
680
|
+
},
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
function buildBulkUpsertDocument(operationName, mutationField, select, data, inputTypeName, onConflict, connectionFieldsMap) {
|
|
684
|
+
const selections = select
|
|
685
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
686
|
+
: [t.field({ name: 'id' })];
|
|
687
|
+
return {
|
|
688
|
+
document: buildInputMutationDocument({
|
|
689
|
+
operationName,
|
|
690
|
+
mutationField,
|
|
691
|
+
inputTypeName,
|
|
692
|
+
resultSelections: [
|
|
693
|
+
t.field({ name: 'affectedCount' }),
|
|
694
|
+
t.field({
|
|
695
|
+
name: 'returning',
|
|
696
|
+
selectionSet: t.selectionSet({ selections }),
|
|
697
|
+
}),
|
|
698
|
+
],
|
|
699
|
+
}),
|
|
700
|
+
variables: {
|
|
701
|
+
input: {
|
|
702
|
+
values: data,
|
|
703
|
+
onConflict,
|
|
704
|
+
},
|
|
705
|
+
},
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
function buildBulkUpdateDocument(operationName, mutationField, select, where, data, inputTypeName, connectionFieldsMap) {
|
|
709
|
+
const selections = select
|
|
710
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
711
|
+
: [t.field({ name: 'id' })];
|
|
712
|
+
return {
|
|
713
|
+
document: buildInputMutationDocument({
|
|
714
|
+
operationName,
|
|
715
|
+
mutationField,
|
|
716
|
+
inputTypeName,
|
|
717
|
+
resultSelections: [
|
|
718
|
+
t.field({ name: 'affectedCount' }),
|
|
719
|
+
t.field({
|
|
720
|
+
name: 'returning',
|
|
721
|
+
selectionSet: t.selectionSet({ selections }),
|
|
722
|
+
}),
|
|
723
|
+
],
|
|
724
|
+
}),
|
|
725
|
+
variables: {
|
|
726
|
+
input: {
|
|
727
|
+
where,
|
|
728
|
+
patch: data,
|
|
729
|
+
},
|
|
730
|
+
},
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
function buildBulkDeleteDocument(operationName, mutationField, select, where, inputTypeName, connectionFieldsMap) {
|
|
734
|
+
const selections = select
|
|
735
|
+
? buildSelections(select, connectionFieldsMap, operationName)
|
|
736
|
+
: [t.field({ name: 'id' })];
|
|
737
|
+
return {
|
|
738
|
+
document: buildInputMutationDocument({
|
|
739
|
+
operationName,
|
|
740
|
+
mutationField,
|
|
741
|
+
inputTypeName,
|
|
742
|
+
resultSelections: [
|
|
743
|
+
t.field({ name: 'affectedCount' }),
|
|
744
|
+
t.field({
|
|
745
|
+
name: 'returning',
|
|
746
|
+
selectionSet: t.selectionSet({ selections }),
|
|
747
|
+
}),
|
|
748
|
+
],
|
|
749
|
+
}),
|
|
750
|
+
variables: {
|
|
751
|
+
input: {
|
|
752
|
+
where,
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
};
|
|
756
|
+
}
|
|
@@ -24,9 +24,10 @@ export interface FindManyArgs<TSelect, TWhere, TOrderBy = never> {
|
|
|
24
24
|
before?: string;
|
|
25
25
|
offset?: number;
|
|
26
26
|
}
|
|
27
|
-
export interface FindFirstArgs<TSelect, TWhere> {
|
|
27
|
+
export interface FindFirstArgs<TSelect, TWhere, TOrderBy> {
|
|
28
28
|
select?: TSelect;
|
|
29
29
|
where?: TWhere;
|
|
30
|
+
orderBy?: TOrderBy[];
|
|
30
31
|
}
|
|
31
32
|
export interface CreateArgs<TSelect, TData> {
|
|
32
33
|
data: TData;
|
|
@@ -44,6 +45,29 @@ export interface DeleteArgs<TWhere, TSelect = undefined> {
|
|
|
44
45
|
where: TWhere;
|
|
45
46
|
select?: TSelect;
|
|
46
47
|
}
|
|
48
|
+
export interface BulkInsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
49
|
+
data: TData[];
|
|
50
|
+
select?: TSelect;
|
|
51
|
+
onConflict?: TOnConflict;
|
|
52
|
+
}
|
|
53
|
+
export interface BulkUpsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
54
|
+
data: TData[];
|
|
55
|
+
select?: TSelect;
|
|
56
|
+
onConflict: TOnConflict;
|
|
57
|
+
}
|
|
58
|
+
export interface BulkUpdateArgs<TSelect, TWhere, TData> {
|
|
59
|
+
where: TWhere;
|
|
60
|
+
data: TData;
|
|
61
|
+
select?: TSelect;
|
|
62
|
+
}
|
|
63
|
+
export interface BulkDeleteArgs<TSelect, TWhere> {
|
|
64
|
+
where: TWhere;
|
|
65
|
+
select?: TSelect;
|
|
66
|
+
}
|
|
67
|
+
export interface BulkMutationResult<T> {
|
|
68
|
+
affectedCount: number;
|
|
69
|
+
returning: T[];
|
|
70
|
+
}
|
|
47
71
|
type DepthLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
48
72
|
type DecrementDepth = {
|
|
49
73
|
0: 0;
|
|
@@ -18,7 +18,7 @@ const fieldSchema = {
|
|
|
18
18
|
success: 'boolean',
|
|
19
19
|
createdAt: 'string',
|
|
20
20
|
};
|
|
21
|
-
const usage = '\naudit-log <command>\n\nCommands:\n list List auditLog records\n find-first Find first matching auditLog record\n get Get a auditLog by ID\n create Create a new auditLog\n update Update an existing auditLog\n delete Delete a auditLog\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
21
|
+
const usage = '\naudit-log <command>\n\nCommands:\n list List auditLog records\n find-first Find first matching auditLog record\n get Get a auditLog by ID\n create Create a new auditLog\n update Update an existing auditLog\n delete Delete a auditLog\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
22
22
|
exports.default = async (argv, prompter, _options) => {
|
|
23
23
|
if (argv.help || argv.h) {
|
|
24
24
|
console.log(usage);
|
|
@@ -18,7 +18,7 @@ const fieldSchema = {
|
|
|
18
18
|
createdAt: 'string',
|
|
19
19
|
updatedAt: 'string',
|
|
20
20
|
};
|
|
21
|
-
const usage = '\ncrypto-address <command>\n\nCommands:\n list List cryptoAddress records\n find-first Find first matching cryptoAddress record\n get Get a cryptoAddress by ID\n create Create a new cryptoAddress\n update Update an existing cryptoAddress\n delete Delete a cryptoAddress\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
21
|
+
const usage = '\ncrypto-address <command>\n\nCommands:\n list List cryptoAddress records\n find-first Find first matching cryptoAddress record\n get Get a cryptoAddress by ID\n create Create a new cryptoAddress\n update Update an existing cryptoAddress\n delete Delete a cryptoAddress\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
22
22
|
exports.default = async (argv, prompter, _options) => {
|
|
23
23
|
if (argv.help || argv.h) {
|
|
24
24
|
console.log(usage);
|
|
@@ -18,7 +18,7 @@ const fieldSchema = {
|
|
|
18
18
|
createdAt: 'string',
|
|
19
19
|
updatedAt: 'string',
|
|
20
20
|
};
|
|
21
|
-
const usage = '\nemail <command>\n\nCommands:\n list List email records\n find-first Find first matching email record\n get Get a email by ID\n create Create a new email\n update Update an existing email\n delete Delete a email\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
21
|
+
const usage = '\nemail <command>\n\nCommands:\n list List email records\n find-first Find first matching email record\n get Get a email by ID\n create Create a new email\n update Update an existing email\n delete Delete a email\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
22
22
|
exports.default = async (argv, prompter, _options) => {
|
|
23
23
|
if (argv.help || argv.h) {
|
|
24
24
|
console.log(usage);
|
|
@@ -15,7 +15,7 @@ const fieldSchema = {
|
|
|
15
15
|
enabled: 'boolean',
|
|
16
16
|
isBuiltIn: 'boolean',
|
|
17
17
|
};
|
|
18
|
-
const usage = '\nidentity-provider <command>\n\nCommands:\n list List identityProvider records\n find-first Find first matching identityProvider record\n create Create a new identityProvider\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
18
|
+
const usage = '\nidentity-provider <command>\n\nCommands:\n list List identityProvider records\n find-first Find first matching identityProvider record\n create Create a new identityProvider\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
19
19
|
exports.default = async (argv, prompter, _options) => {
|
|
20
20
|
if (argv.help || argv.h) {
|
|
21
21
|
console.log(usage);
|
|
@@ -19,7 +19,7 @@ const fieldSchema = {
|
|
|
19
19
|
createdAt: 'string',
|
|
20
20
|
updatedAt: 'string',
|
|
21
21
|
};
|
|
22
|
-
const usage = '\nphone-number <command>\n\nCommands:\n list List phoneNumber records\n find-first Find first matching phoneNumber record\n get Get a phoneNumber by ID\n create Create a new phoneNumber\n update Update an existing phoneNumber\n delete Delete a phoneNumber\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
22
|
+
const usage = '\nphone-number <command>\n\nCommands:\n list List phoneNumber records\n find-first Find first matching phoneNumber record\n get Get a phoneNumber by ID\n create Create a new phoneNumber\n update Update an existing phoneNumber\n delete Delete a phoneNumber\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
23
23
|
exports.default = async (argv, prompter, _options) => {
|
|
24
24
|
if (argv.help || argv.h) {
|
|
25
25
|
console.log(usage);
|
|
@@ -12,7 +12,7 @@ const fieldSchema = {
|
|
|
12
12
|
id: 'int',
|
|
13
13
|
name: 'string',
|
|
14
14
|
};
|
|
15
|
-
const usage = '\nrole-type <command>\n\nCommands:\n list List roleType records\n find-first Find first matching roleType record\n get Get a roleType by ID\n create Create a new roleType\n update Update an existing roleType\n delete Delete a roleType\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
15
|
+
const usage = '\nrole-type <command>\n\nCommands:\n list List roleType records\n find-first Find first matching roleType record\n get Get a roleType by ID\n create Create a new roleType\n update Update an existing roleType\n delete Delete a roleType\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
16
16
|
exports.default = async (argv, prompter, _options) => {
|
|
17
17
|
if (argv.help || argv.h) {
|
|
18
18
|
console.log(usage);
|
|
@@ -18,7 +18,7 @@ const fieldSchema = {
|
|
|
18
18
|
createdAt: 'string',
|
|
19
19
|
updatedAt: 'string',
|
|
20
20
|
};
|
|
21
|
-
const usage = '\nuser-connected-account <command>\n\nCommands:\n list List userConnectedAccount records\n find-first Find first matching userConnectedAccount record\n create Create a new userConnectedAccount\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
21
|
+
const usage = '\nuser-connected-account <command>\n\nCommands:\n list List userConnectedAccount records\n find-first Find first matching userConnectedAccount record\n create Create a new userConnectedAccount\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
22
22
|
exports.default = async (argv, prompter, _options) => {
|
|
23
23
|
if (argv.help || argv.h) {
|
|
24
24
|
console.log(usage);
|
|
@@ -21,7 +21,7 @@ const fieldSchema = {
|
|
|
21
21
|
displayNameTrgmSimilarity: 'float',
|
|
22
22
|
searchScore: 'float',
|
|
23
23
|
};
|
|
24
|
-
const usage = '\nuser <command>\n\nCommands:\n list List user records\n find-first Find first matching user record\n search <query> Search user records\n get Get a user by ID\n create Create a new user\n update Update an existing user\n delete Delete a user\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\nSearch Options:\n <query> Search query string (required)\n --limit <n> Max number of records to return\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --orderBy <values> Comma-separated list of ordering values\n\n --help, -h Show this help message\n';
|
|
24
|
+
const usage = '\nuser <command>\n\nCommands:\n list List user records\n find-first Find first matching user record\n search <query> Search user records\n get Get a user by ID\n create Create a new user\n update Update an existing user\n delete Delete a user\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nSearch Options:\n <query> Search query string (required)\n --limit <n> Max number of records to return\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --orderBy <values> Comma-separated list of ordering values\n\n --help, -h Show this help message\n';
|
|
25
25
|
exports.default = async (argv, prompter, _options) => {
|
|
26
26
|
if (argv.help || argv.h) {
|
|
27
27
|
console.log(usage);
|
|
@@ -24,7 +24,7 @@ const fieldSchema = {
|
|
|
24
24
|
createdAt: 'string',
|
|
25
25
|
updatedAt: 'string',
|
|
26
26
|
};
|
|
27
|
-
const usage = '\nwebauthn-credential <command>\n\nCommands:\n list List webauthnCredential records\n find-first Find first matching webauthnCredential record\n get Get a webauthnCredential by ID\n create Create a new webauthnCredential\n update Update an existing webauthnCredential\n delete Delete a webauthnCredential\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
27
|
+
const usage = '\nwebauthn-credential <command>\n\nCommands:\n list List webauthnCredential records\n find-first Find first matching webauthnCredential record\n get Get a webauthnCredential by ID\n create Create a new webauthnCredential\n update Update an existing webauthnCredential\n delete Delete a webauthnCredential\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
28
28
|
exports.default = async (argv, prompter, _options) => {
|
|
29
29
|
if (argv.help || argv.h) {
|
|
30
30
|
console.log(usage);
|
package/auth/cli/executor.js
CHANGED
|
@@ -7,7 +7,6 @@ exports.getClient = getClient;
|
|
|
7
7
|
* @generated by @constructive-io/graphql-codegen
|
|
8
8
|
* DO NOT EDIT - changes will be overwritten
|
|
9
9
|
*/
|
|
10
|
-
const node_fetch_1 = require("./node-fetch");
|
|
11
10
|
const appstash_1 = require("appstash");
|
|
12
11
|
const orm_1 = require("../orm");
|
|
13
12
|
const store = (0, appstash_1.createConfigStore)('csdk');
|
|
@@ -35,6 +34,7 @@ function getClient(contextName) {
|
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
return (0, orm_1.createClient)({
|
|
38
|
-
|
|
37
|
+
endpoint: ctx.endpoint,
|
|
38
|
+
headers,
|
|
39
39
|
});
|
|
40
40
|
}
|
package/auth/cli/utils.d.ts
CHANGED
|
@@ -81,8 +81,8 @@ export declare function parseSelectFlag(argv: Record<string, unknown>, defaultSe
|
|
|
81
81
|
export declare function parseFindManyArgs<T = Record<string, unknown>>(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>, extraWhere?: Record<string, unknown>): T;
|
|
82
82
|
/**
|
|
83
83
|
* Build findFirst args from CLI argv.
|
|
84
|
-
* Like parseFindManyArgs but
|
|
85
|
-
*
|
|
84
|
+
* Like parseFindManyArgs but without pagination flags (no limit/offset/after/before/last)
|
|
85
|
+
* — findFirst returns the first matching record. Supports select, where, and orderBy.
|
|
86
86
|
*/
|
|
87
87
|
export declare function parseFindFirstArgs<T = Record<string, unknown>>(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>): T;
|
|
88
88
|
export declare function buildSelectFromPaths(paths: string): Record<string, unknown>;
|
package/auth/cli/utils.js
CHANGED
|
@@ -243,16 +243,18 @@ function parseFindManyArgs(argv, defaultSelect, extraWhere) {
|
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
245
|
* Build findFirst args from CLI argv.
|
|
246
|
-
* Like parseFindManyArgs but
|
|
247
|
-
*
|
|
246
|
+
* Like parseFindManyArgs but without pagination flags (no limit/offset/after/before/last)
|
|
247
|
+
* — findFirst returns the first matching record. Supports select, where, and orderBy.
|
|
248
248
|
*/
|
|
249
249
|
function parseFindFirstArgs(argv, defaultSelect) {
|
|
250
250
|
const select = parseSelectFlag(argv, defaultSelect);
|
|
251
251
|
const parsed = unflattenDotNotation(argv);
|
|
252
252
|
const where = parsed.where;
|
|
253
|
+
const orderBy = parseOrderByFlag(argv);
|
|
253
254
|
return {
|
|
254
255
|
select,
|
|
255
256
|
...(where !== undefined ? { where } : {}),
|
|
257
|
+
...(orderBy !== undefined ? { orderBy } : {}),
|
|
256
258
|
};
|
|
257
259
|
}
|
|
258
260
|
function buildSelectFromPaths(paths) {
|
package/auth/orm/index.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export { GraphQLRequestError } from './client';
|
|
|
13
13
|
export { QueryBuilder } from './query-builder';
|
|
14
14
|
export * from './select-types';
|
|
15
15
|
export * from './models';
|
|
16
|
-
export { NodeHttpAdapter } from './node-fetch';
|
|
17
16
|
export { createQueryOperations } from './query';
|
|
18
17
|
export { createMutationOperations } from './mutation';
|
|
19
18
|
/**
|
package/auth/orm/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.createMutationOperations = exports.createQueryOperations = exports.
|
|
17
|
+
exports.createMutationOperations = exports.createQueryOperations = exports.QueryBuilder = exports.GraphQLRequestError = void 0;
|
|
18
18
|
exports.createClient = createClient;
|
|
19
19
|
/**
|
|
20
20
|
* ORM Client - createClient factory
|
|
@@ -39,8 +39,6 @@ var query_builder_1 = require("./query-builder");
|
|
|
39
39
|
Object.defineProperty(exports, "QueryBuilder", { enumerable: true, get: function () { return query_builder_1.QueryBuilder; } });
|
|
40
40
|
__exportStar(require("./select-types"), exports);
|
|
41
41
|
__exportStar(require("./models"), exports);
|
|
42
|
-
var node_fetch_1 = require("./node-fetch");
|
|
43
|
-
Object.defineProperty(exports, "NodeHttpAdapter", { enumerable: true, get: function () { return node_fetch_1.NodeHttpAdapter; } });
|
|
44
42
|
var query_2 = require("./query");
|
|
45
43
|
Object.defineProperty(exports, "createQueryOperations", { enumerable: true, get: function () { return query_2.createQueryOperations; } });
|
|
46
44
|
var mutation_2 = require("./mutation");
|
|
@@ -15,12 +15,10 @@ export declare class AuditLogModel {
|
|
|
15
15
|
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
16
16
|
auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter> & {
|
|
18
|
+
findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter, AuditLogOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<AuditLogWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends AuditLogSelect>(args: {
|
|
26
24
|
id: string;
|
|
@@ -30,14 +30,18 @@ class AuditLogModel {
|
|
|
30
30
|
findFirst(args) {
|
|
31
31
|
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AuditLog', 'auditLogs', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
|
-
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'AuditLogFilter', 'AuditLogOrderBy', input_types_1.connectionFieldsMap);
|
|
34
35
|
return new query_builder_1.QueryBuilder({
|
|
35
36
|
client: this.client,
|
|
36
37
|
operation: 'query',
|
|
37
38
|
operationName: 'AuditLog',
|
|
38
|
-
fieldName: '
|
|
39
|
+
fieldName: 'auditLog',
|
|
39
40
|
document,
|
|
40
41
|
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
auditLog: data.auditLogs?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
findOne(args) {
|
|
@@ -15,12 +15,10 @@ export declare class CryptoAddressModel {
|
|
|
15
15
|
} & StrictSelect<S, CryptoAddressSelect>): QueryBuilder<{
|
|
16
16
|
cryptoAddresses: ConnectionResult<InferSelectResult<CryptoAddressWithRelations, S>>;
|
|
17
17
|
}>;
|
|
18
|
-
findFirst<S extends CryptoAddressSelect>(args: FindFirstArgs<S, CryptoAddressFilter> & {
|
|
18
|
+
findFirst<S extends CryptoAddressSelect>(args: FindFirstArgs<S, CryptoAddressFilter, CryptoAddressOrderBy> & {
|
|
19
19
|
select: S;
|
|
20
20
|
} & StrictSelect<S, CryptoAddressSelect>): QueryBuilder<{
|
|
21
|
-
|
|
22
|
-
nodes: InferSelectResult<CryptoAddressWithRelations, S>[];
|
|
23
|
-
};
|
|
21
|
+
cryptoAddress: InferSelectResult<CryptoAddressWithRelations, S> | null;
|
|
24
22
|
}>;
|
|
25
23
|
findOne<S extends CryptoAddressSelect>(args: {
|
|
26
24
|
id: string;
|