@constructive-sdk/cli 0.20.4 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/cli/commands/{request-upload-url.d.ts → app-limit-cap.d.ts} +1 -1
- package/admin/cli/commands/app-limit-cap.js +272 -0
- package/{esm/admin/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-caps-default.d.ts} +1 -1
- package/admin/cli/commands/app-limit-caps-default.js +252 -0
- package/{auth/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-credit-code-item.d.ts} +1 -1
- package/admin/cli/commands/app-limit-credit-code-item.js +292 -0
- package/{esm/auth/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-credit-code.d.ts} +1 -1
- package/admin/cli/commands/app-limit-credit-code.js +296 -0
- package/admin/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/admin/cli/commands/app-limit-credit-redemption.js +250 -0
- package/admin/cli/commands/app-limit-credit.d.ts +8 -0
- package/admin/cli/commands/app-limit-credit.js +316 -0
- package/admin/cli/commands/app-limit.js +66 -0
- package/admin/cli/commands/org-limit-aggregate.js +88 -0
- package/admin/cli/commands/org-limit-cap.d.ts +8 -0
- package/admin/cli/commands/org-limit-cap.js +272 -0
- package/admin/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/admin/cli/commands/org-limit-caps-default.js +252 -0
- package/admin/cli/commands/org-limit-credit.d.ts +8 -0
- package/admin/cli/commands/org-limit-credit.js +338 -0
- package/admin/cli/commands/org-limit.js +66 -0
- package/admin/cli/commands.js +25 -9
- package/admin/cli/executor.d.ts +12 -8
- package/admin/orm/index.d.ts +24 -11
- package/admin/orm/index.js +24 -6
- package/admin/orm/input-types.d.ts +2108 -545
- package/admin/orm/input-types.js +13 -1
- package/admin/orm/models/appLimitCap.d.ts +56 -0
- package/admin/orm/models/appLimitCap.js +100 -0
- package/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/appLimitCapsDefault.js +100 -0
- package/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/admin/orm/models/appLimitCredit.js +100 -0
- package/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCode.js +100 -0
- package/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCodeItem.js +100 -0
- package/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/admin/orm/models/appLimitCreditRedemption.js +100 -0
- package/admin/orm/models/index.d.ts +12 -3
- package/admin/orm/models/index.js +25 -7
- package/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/admin/orm/models/orgLimitCap.js +100 -0
- package/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/orgLimitCapsDefault.js +100 -0
- package/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/admin/orm/models/orgLimitCredit.js +100 -0
- package/admin/orm/mutation/index.d.ts +1 -16
- package/admin/orm/mutation/index.js +0 -12
- package/admin/orm/query-builder.js +24 -0
- package/auth/cli/commands.js +1 -3
- package/auth/cli/executor.d.ts +0 -5
- package/auth/orm/index.d.ts +0 -5
- package/auth/orm/input-types.d.ts +0 -38
- package/auth/orm/mutation/index.d.ts +1 -16
- package/auth/orm/mutation/index.js +0 -12
- package/auth/orm/query-builder.js +24 -0
- package/esm/admin/cli/commands/app-limit-cap.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-cap.js +270 -0
- package/esm/admin/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-caps-default.js +250 -0
- package/esm/admin/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-code-item.js +290 -0
- package/esm/admin/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-code.js +294 -0
- package/esm/admin/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-redemption.js +248 -0
- package/esm/admin/cli/commands/app-limit-credit.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit.js +314 -0
- package/esm/admin/cli/commands/app-limit.js +66 -0
- package/esm/admin/cli/commands/org-limit-aggregate.js +88 -0
- package/esm/admin/cli/commands/org-limit-cap.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-cap.js +270 -0
- package/esm/admin/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-caps-default.js +250 -0
- package/esm/admin/cli/commands/org-limit-credit.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-credit.js +336 -0
- package/esm/admin/cli/commands/org-limit.js +66 -0
- package/esm/admin/cli/commands.js +25 -9
- package/esm/admin/cli/executor.d.ts +12 -8
- package/esm/admin/orm/index.d.ts +24 -11
- package/esm/admin/orm/index.js +24 -6
- package/esm/admin/orm/input-types.d.ts +2108 -545
- package/esm/admin/orm/input-types.js +13 -1
- package/esm/admin/orm/models/appLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCap.js +96 -0
- package/esm/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCredit.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCode.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/admin/orm/models/index.d.ts +12 -3
- package/esm/admin/orm/models/index.js +12 -3
- package/esm/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCap.js +96 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCredit.js +96 -0
- package/esm/admin/orm/mutation/index.d.ts +1 -16
- package/esm/admin/orm/mutation/index.js +0 -12
- package/esm/admin/orm/query-builder.js +24 -0
- package/esm/auth/cli/commands.js +1 -3
- package/esm/auth/cli/executor.d.ts +0 -5
- package/esm/auth/orm/index.d.ts +0 -5
- package/esm/auth/orm/input-types.d.ts +0 -38
- package/esm/auth/orm/mutation/index.d.ts +1 -16
- package/esm/auth/orm/mutation/index.js +0 -12
- package/esm/auth/orm/query-builder.js +24 -0
- package/esm/objects/cli/commands.js +1 -3
- package/esm/objects/cli/executor.d.ts +0 -5
- package/esm/objects/orm/index.d.ts +0 -5
- package/esm/objects/orm/input-types.d.ts +0 -38
- package/esm/objects/orm/mutation/index.d.ts +1 -16
- package/esm/objects/orm/mutation/index.js +0 -12
- package/esm/objects/orm/query-builder.js +24 -0
- package/esm/public/cli/commands/api-setting.d.ts +8 -0
- package/esm/public/cli/commands/api-setting.js +468 -0
- package/esm/public/cli/commands/app-limit-cap.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-cap.js +270 -0
- package/esm/public/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-caps-default.js +250 -0
- package/esm/public/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-code-item.js +290 -0
- package/esm/public/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-code.js +294 -0
- package/esm/public/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-redemption.js +248 -0
- package/esm/public/cli/commands/app-limit-credit.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit.js +314 -0
- package/esm/public/cli/commands/app-limit.js +66 -0
- package/esm/public/cli/commands/append-smart-tags.d.ts +8 -0
- package/esm/{admin/cli/commands/request-upload-url.js → public/cli/commands/append-smart-tags.js} +3 -3
- package/esm/public/cli/commands/billing-provider-module.d.ts +8 -0
- package/esm/public/cli/commands/billing-provider-module.js +624 -0
- package/esm/public/cli/commands/cors-setting.d.ts +8 -0
- package/esm/public/cli/commands/cors-setting.js +272 -0
- package/esm/public/cli/commands/database-setting.d.ts +8 -0
- package/esm/public/cli/commands/database-setting.js +448 -0
- package/esm/public/cli/commands/entity-type-provision.js +22 -0
- package/esm/public/cli/commands/function.d.ts +8 -0
- package/esm/public/cli/commands/function.js +268 -0
- package/esm/public/cli/commands/limits-module.js +198 -0
- package/esm/public/cli/commands/org-limit-aggregate.js +88 -0
- package/esm/public/cli/commands/org-limit-cap.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-cap.js +270 -0
- package/esm/public/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-caps-default.js +250 -0
- package/esm/public/cli/commands/org-limit-credit.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-credit.js +336 -0
- package/esm/public/cli/commands/org-limit.js +66 -0
- package/esm/public/cli/commands/partition.d.ts +8 -0
- package/esm/public/cli/commands/partition.js +388 -0
- package/esm/public/cli/commands/plans-module.js +44 -0
- package/esm/public/cli/commands/pubkey-setting.d.ts +8 -0
- package/esm/public/cli/commands/pubkey-setting.js +382 -0
- package/esm/public/cli/commands/rls-setting.d.ts +8 -0
- package/esm/public/cli/commands/rls-setting.js +404 -0
- package/esm/public/cli/commands/storage-module.js +198 -0
- package/esm/public/cli/commands/webauthn-setting.d.ts +8 -0
- package/esm/public/cli/commands/webauthn-setting.js +580 -0
- package/esm/public/cli/commands.js +41 -5
- package/esm/public/cli/executor.d.ts +24 -6
- package/esm/public/orm/index.d.ts +43 -7
- package/esm/public/orm/index.js +38 -2
- package/esm/public/orm/input-types.d.ts +4601 -321
- package/esm/public/orm/input-types.js +21 -0
- package/esm/public/orm/models/apiSetting.d.ts +56 -0
- package/esm/public/orm/models/apiSetting.js +96 -0
- package/esm/public/orm/models/appLimitCap.d.ts +56 -0
- package/esm/public/orm/models/appLimitCap.js +96 -0
- package/esm/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/appLimitCredit.js +96 -0
- package/esm/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCode.js +96 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/public/orm/models/billingProviderModule.d.ts +56 -0
- package/esm/public/orm/models/billingProviderModule.js +96 -0
- package/esm/public/orm/models/corsSetting.d.ts +56 -0
- package/esm/public/orm/models/corsSetting.js +96 -0
- package/esm/public/orm/models/databaseSetting.d.ts +56 -0
- package/esm/public/orm/models/databaseSetting.js +96 -0
- package/esm/public/orm/models/function.d.ts +56 -0
- package/esm/public/orm/models/function.js +96 -0
- package/esm/public/orm/models/index.d.ts +19 -1
- package/esm/public/orm/models/index.js +19 -1
- package/esm/public/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCap.js +96 -0
- package/esm/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCredit.js +96 -0
- package/esm/public/orm/models/partition.d.ts +56 -0
- package/esm/public/orm/models/partition.js +96 -0
- package/esm/public/orm/models/pubkeySetting.d.ts +56 -0
- package/esm/public/orm/models/pubkeySetting.js +96 -0
- package/esm/public/orm/models/rlsSetting.d.ts +56 -0
- package/esm/public/orm/models/rlsSetting.js +96 -0
- package/esm/public/orm/models/webauthnSetting.d.ts +56 -0
- package/esm/public/orm/models/webauthnSetting.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -16
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.js +24 -0
- package/objects/cli/commands.js +1 -3
- package/objects/cli/executor.d.ts +0 -5
- package/objects/orm/index.d.ts +0 -5
- package/objects/orm/input-types.d.ts +0 -38
- package/objects/orm/mutation/index.d.ts +1 -16
- package/objects/orm/mutation/index.js +0 -12
- package/objects/orm/query-builder.js +24 -0
- package/package.json +4 -4
- package/public/cli/commands/api-setting.d.ts +8 -0
- package/public/cli/commands/api-setting.js +470 -0
- package/public/cli/commands/app-limit-cap.d.ts +8 -0
- package/public/cli/commands/app-limit-cap.js +272 -0
- package/public/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/public/cli/commands/app-limit-caps-default.js +252 -0
- package/public/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-code-item.js +292 -0
- package/public/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-code.js +296 -0
- package/public/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-redemption.js +250 -0
- package/public/cli/commands/app-limit-credit.d.ts +8 -0
- package/public/cli/commands/app-limit-credit.js +316 -0
- package/public/cli/commands/app-limit.js +66 -0
- package/public/cli/commands/append-smart-tags.d.ts +8 -0
- package/{objects/cli/commands/request-upload-url.js → public/cli/commands/append-smart-tags.js} +3 -3
- package/public/cli/commands/billing-provider-module.d.ts +8 -0
- package/public/cli/commands/billing-provider-module.js +626 -0
- package/public/cli/commands/cors-setting.d.ts +8 -0
- package/public/cli/commands/cors-setting.js +274 -0
- package/public/cli/commands/database-setting.d.ts +8 -0
- package/public/cli/commands/database-setting.js +450 -0
- package/public/cli/commands/entity-type-provision.js +22 -0
- package/public/cli/commands/function.d.ts +8 -0
- package/public/cli/commands/function.js +270 -0
- package/public/cli/commands/limits-module.js +198 -0
- package/public/cli/commands/org-limit-aggregate.js +88 -0
- package/public/cli/commands/org-limit-cap.d.ts +8 -0
- package/public/cli/commands/org-limit-cap.js +272 -0
- package/public/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/public/cli/commands/org-limit-caps-default.js +252 -0
- package/public/cli/commands/org-limit-credit.d.ts +8 -0
- package/public/cli/commands/org-limit-credit.js +338 -0
- package/public/cli/commands/org-limit.js +66 -0
- package/public/cli/commands/partition.d.ts +8 -0
- package/public/cli/commands/partition.js +390 -0
- package/public/cli/commands/plans-module.js +44 -0
- package/public/cli/commands/pubkey-setting.d.ts +8 -0
- package/public/cli/commands/pubkey-setting.js +384 -0
- package/public/cli/commands/rls-setting.d.ts +8 -0
- package/public/cli/commands/rls-setting.js +406 -0
- package/public/cli/commands/storage-module.js +198 -0
- package/public/cli/commands/webauthn-setting.d.ts +8 -0
- package/public/cli/commands/webauthn-setting.js +582 -0
- package/public/cli/commands.js +41 -5
- package/public/cli/executor.d.ts +24 -6
- package/public/orm/index.d.ts +43 -7
- package/public/orm/index.js +38 -2
- package/public/orm/input-types.d.ts +4601 -321
- package/public/orm/input-types.js +21 -0
- package/public/orm/models/apiSetting.d.ts +56 -0
- package/public/orm/models/apiSetting.js +100 -0
- package/public/orm/models/appLimitCap.d.ts +56 -0
- package/public/orm/models/appLimitCap.js +100 -0
- package/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/appLimitCapsDefault.js +100 -0
- package/public/orm/models/appLimitCredit.d.ts +56 -0
- package/public/orm/models/appLimitCredit.js +100 -0
- package/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/public/orm/models/appLimitCreditCode.js +100 -0
- package/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/public/orm/models/appLimitCreditCodeItem.js +100 -0
- package/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/public/orm/models/appLimitCreditRedemption.js +100 -0
- package/public/orm/models/billingProviderModule.d.ts +56 -0
- package/public/orm/models/billingProviderModule.js +100 -0
- package/public/orm/models/corsSetting.d.ts +56 -0
- package/public/orm/models/corsSetting.js +100 -0
- package/public/orm/models/databaseSetting.d.ts +56 -0
- package/public/orm/models/databaseSetting.js +100 -0
- package/public/orm/models/function.d.ts +56 -0
- package/public/orm/models/function.js +100 -0
- package/public/orm/models/index.d.ts +19 -1
- package/public/orm/models/index.js +41 -5
- package/public/orm/models/orgLimitCap.d.ts +56 -0
- package/public/orm/models/orgLimitCap.js +100 -0
- package/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/orgLimitCapsDefault.js +100 -0
- package/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/public/orm/models/orgLimitCredit.js +100 -0
- package/public/orm/models/partition.d.ts +56 -0
- package/public/orm/models/partition.js +100 -0
- package/public/orm/models/pubkeySetting.d.ts +56 -0
- package/public/orm/models/pubkeySetting.js +100 -0
- package/public/orm/models/rlsSetting.d.ts +56 -0
- package/public/orm/models/rlsSetting.js +100 -0
- package/public/orm/models/webauthnSetting.d.ts +56 -0
- package/public/orm/models/webauthnSetting.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -16
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.js +24 -0
- package/admin/cli/commands/request-upload-url.js +0 -36
- package/auth/cli/commands/request-upload-url.js +0 -36
- package/esm/auth/cli/commands/request-upload-url.js +0 -34
- package/esm/objects/cli/commands/request-upload-url.d.ts +0 -8
- package/esm/objects/cli/commands/request-upload-url.js +0 -34
- package/esm/public/cli/commands/request-upload-url.d.ts +0 -8
- package/esm/public/cli/commands/request-upload-url.js +0 -34
- package/objects/cli/commands/request-upload-url.d.ts +0 -8
- package/public/cli/commands/request-upload-url.d.ts +0 -8
- package/public/cli/commands/request-upload-url.js +0 -36
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppLimitCreditCodeItem model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { AppLimitCreditCodeItemWithRelations, AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy, CreateAppLimitCreditCodeItemInput, AppLimitCreditCodeItemPatch } from '../input-types';
|
|
10
|
+
export declare class AppLimitCreditCodeItemModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppLimitCreditCodeItemSelect>(args: FindManyArgs<S, AppLimitCreditCodeItemFilter, AppLimitCreditCodeItemOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppLimitCreditCodeItemSelect>): QueryBuilder<{
|
|
16
|
+
appLimitCreditCodeItems: ConnectionResult<InferSelectResult<AppLimitCreditCodeItemWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppLimitCreditCodeItemSelect>(args: FindFirstArgs<S, AppLimitCreditCodeItemFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppLimitCreditCodeItemSelect>): QueryBuilder<{
|
|
21
|
+
appLimitCreditCodeItems: {
|
|
22
|
+
nodes: InferSelectResult<AppLimitCreditCodeItemWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppLimitCreditCodeItemSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppLimitCreditCodeItemSelect>): QueryBuilder<{
|
|
29
|
+
appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppLimitCreditCodeItemSelect>(args: CreateArgs<S, CreateAppLimitCreditCodeItemInput['appLimitCreditCodeItem']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppLimitCreditCodeItemSelect>): QueryBuilder<{
|
|
34
|
+
createAppLimitCreditCodeItem: {
|
|
35
|
+
appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppLimitCreditCodeItemSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppLimitCreditCodeItemPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppLimitCreditCodeItemSelect>): QueryBuilder<{
|
|
43
|
+
updateAppLimitCreditCodeItem: {
|
|
44
|
+
appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppLimitCreditCodeItemSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppLimitCreditCodeItemSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppLimitCreditCodeItem: {
|
|
53
|
+
appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppLimitCreditCodeItemModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class AppLimitCreditCodeItemModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLimitCreditCodeItem', 'appLimitCreditCodeItems', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'AppLimitCreditCodeItemFilter', 'AppLimitCreditCodeItemOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'AppLimitCreditCodeItem',
|
|
25
|
+
fieldName: 'appLimitCreditCodeItems',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AppLimitCreditCodeItem', 'appLimitCreditCodeItems', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'AppLimitCreditCodeItemFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'AppLimitCreditCodeItem',
|
|
38
|
+
fieldName: 'appLimitCreditCodeItems',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLimitCreditCodeItem', 'appLimitCreditCodeItems', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'AppLimitCreditCodeItemFilter', 'AppLimitCreditCodeItemOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'AppLimitCreditCodeItem',
|
|
56
|
+
fieldName: 'appLimitCreditCodeItem',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
appLimitCreditCodeItem: data.appLimitCreditCodeItems?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('AppLimitCreditCodeItem', 'createAppLimitCreditCodeItem', 'appLimitCreditCodeItem', args.select, args.data, 'CreateAppLimitCreditCodeItemInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'AppLimitCreditCodeItem',
|
|
70
|
+
fieldName: 'createAppLimitCreditCodeItem',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimitCreditCodeItem', 'updateAppLimitCreditCodeItem', 'appLimitCreditCodeItem', args.select, args.where.id, args.data, 'UpdateAppLimitCreditCodeItemInput', 'id', 'appLimitCreditCodeItemPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'AppLimitCreditCodeItem',
|
|
81
|
+
fieldName: 'updateAppLimitCreditCodeItem',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('AppLimitCreditCodeItem', 'deleteAppLimitCreditCodeItem', 'appLimitCreditCodeItem', {
|
|
88
|
+
id: args.where.id,
|
|
89
|
+
}, 'DeleteAppLimitCreditCodeItemInput', args.select, input_types_1.connectionFieldsMap);
|
|
90
|
+
return new query_builder_1.QueryBuilder({
|
|
91
|
+
client: this.client,
|
|
92
|
+
operation: 'mutation',
|
|
93
|
+
operationName: 'AppLimitCreditCodeItem',
|
|
94
|
+
fieldName: 'deleteAppLimitCreditCodeItem',
|
|
95
|
+
document,
|
|
96
|
+
variables,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.AppLimitCreditCodeItemModel = AppLimitCreditCodeItemModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppLimitCreditRedemption model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { AppLimitCreditRedemptionWithRelations, AppLimitCreditRedemptionSelect, AppLimitCreditRedemptionFilter, AppLimitCreditRedemptionOrderBy, CreateAppLimitCreditRedemptionInput, AppLimitCreditRedemptionPatch } from '../input-types';
|
|
10
|
+
export declare class AppLimitCreditRedemptionModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends AppLimitCreditRedemptionSelect>(args: FindManyArgs<S, AppLimitCreditRedemptionFilter, AppLimitCreditRedemptionOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, AppLimitCreditRedemptionSelect>): QueryBuilder<{
|
|
16
|
+
appLimitCreditRedemptions: ConnectionResult<InferSelectResult<AppLimitCreditRedemptionWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends AppLimitCreditRedemptionSelect>(args: FindFirstArgs<S, AppLimitCreditRedemptionFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, AppLimitCreditRedemptionSelect>): QueryBuilder<{
|
|
21
|
+
appLimitCreditRedemptions: {
|
|
22
|
+
nodes: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends AppLimitCreditRedemptionSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, AppLimitCreditRedemptionSelect>): QueryBuilder<{
|
|
29
|
+
appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends AppLimitCreditRedemptionSelect>(args: CreateArgs<S, CreateAppLimitCreditRedemptionInput['appLimitCreditRedemption']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, AppLimitCreditRedemptionSelect>): QueryBuilder<{
|
|
34
|
+
createAppLimitCreditRedemption: {
|
|
35
|
+
appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends AppLimitCreditRedemptionSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, AppLimitCreditRedemptionPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, AppLimitCreditRedemptionSelect>): QueryBuilder<{
|
|
43
|
+
updateAppLimitCreditRedemption: {
|
|
44
|
+
appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends AppLimitCreditRedemptionSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, AppLimitCreditRedemptionSelect>): QueryBuilder<{
|
|
52
|
+
deleteAppLimitCreditRedemption: {
|
|
53
|
+
appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppLimitCreditRedemptionModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class AppLimitCreditRedemptionModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLimitCreditRedemption', 'appLimitCreditRedemptions', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'AppLimitCreditRedemptionFilter', 'AppLimitCreditRedemptionOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'AppLimitCreditRedemption',
|
|
25
|
+
fieldName: 'appLimitCreditRedemptions',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AppLimitCreditRedemption', 'appLimitCreditRedemptions', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'AppLimitCreditRedemptionFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'AppLimitCreditRedemption',
|
|
38
|
+
fieldName: 'appLimitCreditRedemptions',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AppLimitCreditRedemption', 'appLimitCreditRedemptions', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'AppLimitCreditRedemptionFilter', 'AppLimitCreditRedemptionOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'AppLimitCreditRedemption',
|
|
56
|
+
fieldName: 'appLimitCreditRedemption',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
appLimitCreditRedemption: data.appLimitCreditRedemptions?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('AppLimitCreditRedemption', 'createAppLimitCreditRedemption', 'appLimitCreditRedemption', args.select, args.data, 'CreateAppLimitCreditRedemptionInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'AppLimitCreditRedemption',
|
|
70
|
+
fieldName: 'createAppLimitCreditRedemption',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimitCreditRedemption', 'updateAppLimitCreditRedemption', 'appLimitCreditRedemption', args.select, args.where.id, args.data, 'UpdateAppLimitCreditRedemptionInput', 'id', 'appLimitCreditRedemptionPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'AppLimitCreditRedemption',
|
|
81
|
+
fieldName: 'updateAppLimitCreditRedemption',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('AppLimitCreditRedemption', 'deleteAppLimitCreditRedemption', 'appLimitCreditRedemption', {
|
|
88
|
+
id: args.where.id,
|
|
89
|
+
}, 'DeleteAppLimitCreditRedemptionInput', args.select, input_types_1.connectionFieldsMap);
|
|
90
|
+
return new query_builder_1.QueryBuilder({
|
|
91
|
+
client: this.client,
|
|
92
|
+
operation: 'mutation',
|
|
93
|
+
operationName: 'AppLimitCreditRedemption',
|
|
94
|
+
fieldName: 'deleteAppLimitCreditRedemption',
|
|
95
|
+
document,
|
|
96
|
+
variables,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.AppLimitCreditRedemptionModel = AppLimitCreditRedemptionModel;
|
|
@@ -8,18 +8,27 @@ export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord';
|
|
|
8
8
|
export { AppPermissionModel } from './appPermission';
|
|
9
9
|
export { OrgPermissionModel } from './orgPermission';
|
|
10
10
|
export { AppLevelRequirementModel } from './appLevelRequirement';
|
|
11
|
+
export { AppLimitCreditRedemptionModel } from './appLimitCreditRedemption';
|
|
12
|
+
export { AppLimitCreditCodeItemModel } from './appLimitCreditCodeItem';
|
|
13
|
+
export { AppLimitCreditModel } from './appLimitCredit';
|
|
11
14
|
export { OrgMemberModel } from './orgMember';
|
|
12
15
|
export { AppPermissionDefaultModel } from './appPermissionDefault';
|
|
16
|
+
export { AppLimitCreditCodeModel } from './appLimitCreditCode';
|
|
13
17
|
export { OrgPermissionDefaultModel } from './orgPermissionDefault';
|
|
14
18
|
export { AppAdminGrantModel } from './appAdminGrant';
|
|
15
19
|
export { AppOwnerGrantModel } from './appOwnerGrant';
|
|
16
20
|
export { AppAchievementModel } from './appAchievement';
|
|
17
21
|
export { AppStepModel } from './appStep';
|
|
22
|
+
export { AppLimitCapsDefaultModel } from './appLimitCapsDefault';
|
|
23
|
+
export { OrgLimitCapsDefaultModel } from './orgLimitCapsDefault';
|
|
24
|
+
export { AppLimitCapModel } from './appLimitCap';
|
|
25
|
+
export { OrgLimitCapModel } from './orgLimitCap';
|
|
18
26
|
export { OrgAdminGrantModel } from './orgAdminGrant';
|
|
19
27
|
export { OrgOwnerGrantModel } from './orgOwnerGrant';
|
|
20
28
|
export { MembershipTypeModel } from './membershipType';
|
|
21
29
|
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
22
30
|
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
31
|
+
export { OrgLimitCreditModel } from './orgLimitCredit';
|
|
23
32
|
export { OrgChartEdgeGrantModel } from './orgChartEdgeGrant';
|
|
24
33
|
export { AppClaimedInviteModel } from './appClaimedInvite';
|
|
25
34
|
export { AppGrantModel } from './appGrant';
|
|
@@ -30,13 +39,13 @@ export { AppLimitEventModel } from './appLimitEvent';
|
|
|
30
39
|
export { OrgLimitEventModel } from './orgLimitEvent';
|
|
31
40
|
export { OrgGrantModel } from './orgGrant';
|
|
32
41
|
export { OrgChartEdgeModel } from './orgChartEdge';
|
|
33
|
-
export { AppLimitModel } from './appLimit';
|
|
34
|
-
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
35
42
|
export { OrgMemberProfileModel } from './orgMemberProfile';
|
|
36
|
-
export { OrgLimitModel } from './orgLimit';
|
|
37
43
|
export { AppLevelModel } from './appLevel';
|
|
44
|
+
export { AppLimitModel } from './appLimit';
|
|
38
45
|
export { AppInviteModel } from './appInvite';
|
|
39
46
|
export { OrgMembershipSettingModel } from './orgMembershipSetting';
|
|
47
|
+
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
48
|
+
export { OrgLimitModel } from './orgLimit';
|
|
40
49
|
export { OrgInviteModel } from './orgInvite';
|
|
41
50
|
export { AppMembershipModel } from './appMembership';
|
|
42
51
|
export { OrgMembershipModel } from './orgMembership';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrgMembershipModel = exports.AppMembershipModel = exports.OrgInviteModel = exports.
|
|
3
|
+
exports.OrgMembershipModel = exports.AppMembershipModel = exports.OrgInviteModel = exports.OrgLimitModel = exports.OrgLimitAggregateModel = exports.OrgMembershipSettingModel = exports.AppInviteModel = exports.AppLimitModel = exports.AppLevelModel = exports.OrgMemberProfileModel = exports.OrgChartEdgeModel = exports.OrgGrantModel = exports.OrgLimitEventModel = exports.AppLimitEventModel = exports.OrgClaimedInviteModel = exports.OrgMembershipDefaultModel = exports.AppMembershipDefaultModel = exports.AppGrantModel = exports.AppClaimedInviteModel = exports.OrgChartEdgeGrantModel = exports.OrgLimitCreditModel = exports.OrgLimitDefaultModel = exports.AppLimitDefaultModel = exports.MembershipTypeModel = exports.OrgOwnerGrantModel = exports.OrgAdminGrantModel = exports.OrgLimitCapModel = exports.AppLimitCapModel = exports.OrgLimitCapsDefaultModel = exports.AppLimitCapsDefaultModel = exports.AppStepModel = exports.AppAchievementModel = exports.AppOwnerGrantModel = exports.AppAdminGrantModel = exports.OrgPermissionDefaultModel = exports.AppLimitCreditCodeModel = exports.AppPermissionDefaultModel = exports.OrgMemberModel = exports.AppLimitCreditModel = exports.AppLimitCreditCodeItemModel = exports.AppLimitCreditRedemptionModel = exports.AppLevelRequirementModel = exports.OrgPermissionModel = exports.AppPermissionModel = exports.OrgGetSubordinatesRecordModel = exports.OrgGetManagersRecordModel = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Models barrel export
|
|
6
6
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -16,10 +16,18 @@ var orgPermission_1 = require("./orgPermission");
|
|
|
16
16
|
Object.defineProperty(exports, "OrgPermissionModel", { enumerable: true, get: function () { return orgPermission_1.OrgPermissionModel; } });
|
|
17
17
|
var appLevelRequirement_1 = require("./appLevelRequirement");
|
|
18
18
|
Object.defineProperty(exports, "AppLevelRequirementModel", { enumerable: true, get: function () { return appLevelRequirement_1.AppLevelRequirementModel; } });
|
|
19
|
+
var appLimitCreditRedemption_1 = require("./appLimitCreditRedemption");
|
|
20
|
+
Object.defineProperty(exports, "AppLimitCreditRedemptionModel", { enumerable: true, get: function () { return appLimitCreditRedemption_1.AppLimitCreditRedemptionModel; } });
|
|
21
|
+
var appLimitCreditCodeItem_1 = require("./appLimitCreditCodeItem");
|
|
22
|
+
Object.defineProperty(exports, "AppLimitCreditCodeItemModel", { enumerable: true, get: function () { return appLimitCreditCodeItem_1.AppLimitCreditCodeItemModel; } });
|
|
23
|
+
var appLimitCredit_1 = require("./appLimitCredit");
|
|
24
|
+
Object.defineProperty(exports, "AppLimitCreditModel", { enumerable: true, get: function () { return appLimitCredit_1.AppLimitCreditModel; } });
|
|
19
25
|
var orgMember_1 = require("./orgMember");
|
|
20
26
|
Object.defineProperty(exports, "OrgMemberModel", { enumerable: true, get: function () { return orgMember_1.OrgMemberModel; } });
|
|
21
27
|
var appPermissionDefault_1 = require("./appPermissionDefault");
|
|
22
28
|
Object.defineProperty(exports, "AppPermissionDefaultModel", { enumerable: true, get: function () { return appPermissionDefault_1.AppPermissionDefaultModel; } });
|
|
29
|
+
var appLimitCreditCode_1 = require("./appLimitCreditCode");
|
|
30
|
+
Object.defineProperty(exports, "AppLimitCreditCodeModel", { enumerable: true, get: function () { return appLimitCreditCode_1.AppLimitCreditCodeModel; } });
|
|
23
31
|
var orgPermissionDefault_1 = require("./orgPermissionDefault");
|
|
24
32
|
Object.defineProperty(exports, "OrgPermissionDefaultModel", { enumerable: true, get: function () { return orgPermissionDefault_1.OrgPermissionDefaultModel; } });
|
|
25
33
|
var appAdminGrant_1 = require("./appAdminGrant");
|
|
@@ -30,6 +38,14 @@ var appAchievement_1 = require("./appAchievement");
|
|
|
30
38
|
Object.defineProperty(exports, "AppAchievementModel", { enumerable: true, get: function () { return appAchievement_1.AppAchievementModel; } });
|
|
31
39
|
var appStep_1 = require("./appStep");
|
|
32
40
|
Object.defineProperty(exports, "AppStepModel", { enumerable: true, get: function () { return appStep_1.AppStepModel; } });
|
|
41
|
+
var appLimitCapsDefault_1 = require("./appLimitCapsDefault");
|
|
42
|
+
Object.defineProperty(exports, "AppLimitCapsDefaultModel", { enumerable: true, get: function () { return appLimitCapsDefault_1.AppLimitCapsDefaultModel; } });
|
|
43
|
+
var orgLimitCapsDefault_1 = require("./orgLimitCapsDefault");
|
|
44
|
+
Object.defineProperty(exports, "OrgLimitCapsDefaultModel", { enumerable: true, get: function () { return orgLimitCapsDefault_1.OrgLimitCapsDefaultModel; } });
|
|
45
|
+
var appLimitCap_1 = require("./appLimitCap");
|
|
46
|
+
Object.defineProperty(exports, "AppLimitCapModel", { enumerable: true, get: function () { return appLimitCap_1.AppLimitCapModel; } });
|
|
47
|
+
var orgLimitCap_1 = require("./orgLimitCap");
|
|
48
|
+
Object.defineProperty(exports, "OrgLimitCapModel", { enumerable: true, get: function () { return orgLimitCap_1.OrgLimitCapModel; } });
|
|
33
49
|
var orgAdminGrant_1 = require("./orgAdminGrant");
|
|
34
50
|
Object.defineProperty(exports, "OrgAdminGrantModel", { enumerable: true, get: function () { return orgAdminGrant_1.OrgAdminGrantModel; } });
|
|
35
51
|
var orgOwnerGrant_1 = require("./orgOwnerGrant");
|
|
@@ -40,6 +56,8 @@ var appLimitDefault_1 = require("./appLimitDefault");
|
|
|
40
56
|
Object.defineProperty(exports, "AppLimitDefaultModel", { enumerable: true, get: function () { return appLimitDefault_1.AppLimitDefaultModel; } });
|
|
41
57
|
var orgLimitDefault_1 = require("./orgLimitDefault");
|
|
42
58
|
Object.defineProperty(exports, "OrgLimitDefaultModel", { enumerable: true, get: function () { return orgLimitDefault_1.OrgLimitDefaultModel; } });
|
|
59
|
+
var orgLimitCredit_1 = require("./orgLimitCredit");
|
|
60
|
+
Object.defineProperty(exports, "OrgLimitCreditModel", { enumerable: true, get: function () { return orgLimitCredit_1.OrgLimitCreditModel; } });
|
|
43
61
|
var orgChartEdgeGrant_1 = require("./orgChartEdgeGrant");
|
|
44
62
|
Object.defineProperty(exports, "OrgChartEdgeGrantModel", { enumerable: true, get: function () { return orgChartEdgeGrant_1.OrgChartEdgeGrantModel; } });
|
|
45
63
|
var appClaimedInvite_1 = require("./appClaimedInvite");
|
|
@@ -60,20 +78,20 @@ var orgGrant_1 = require("./orgGrant");
|
|
|
60
78
|
Object.defineProperty(exports, "OrgGrantModel", { enumerable: true, get: function () { return orgGrant_1.OrgGrantModel; } });
|
|
61
79
|
var orgChartEdge_1 = require("./orgChartEdge");
|
|
62
80
|
Object.defineProperty(exports, "OrgChartEdgeModel", { enumerable: true, get: function () { return orgChartEdge_1.OrgChartEdgeModel; } });
|
|
63
|
-
var appLimit_1 = require("./appLimit");
|
|
64
|
-
Object.defineProperty(exports, "AppLimitModel", { enumerable: true, get: function () { return appLimit_1.AppLimitModel; } });
|
|
65
|
-
var orgLimitAggregate_1 = require("./orgLimitAggregate");
|
|
66
|
-
Object.defineProperty(exports, "OrgLimitAggregateModel", { enumerable: true, get: function () { return orgLimitAggregate_1.OrgLimitAggregateModel; } });
|
|
67
81
|
var orgMemberProfile_1 = require("./orgMemberProfile");
|
|
68
82
|
Object.defineProperty(exports, "OrgMemberProfileModel", { enumerable: true, get: function () { return orgMemberProfile_1.OrgMemberProfileModel; } });
|
|
69
|
-
var orgLimit_1 = require("./orgLimit");
|
|
70
|
-
Object.defineProperty(exports, "OrgLimitModel", { enumerable: true, get: function () { return orgLimit_1.OrgLimitModel; } });
|
|
71
83
|
var appLevel_1 = require("./appLevel");
|
|
72
84
|
Object.defineProperty(exports, "AppLevelModel", { enumerable: true, get: function () { return appLevel_1.AppLevelModel; } });
|
|
85
|
+
var appLimit_1 = require("./appLimit");
|
|
86
|
+
Object.defineProperty(exports, "AppLimitModel", { enumerable: true, get: function () { return appLimit_1.AppLimitModel; } });
|
|
73
87
|
var appInvite_1 = require("./appInvite");
|
|
74
88
|
Object.defineProperty(exports, "AppInviteModel", { enumerable: true, get: function () { return appInvite_1.AppInviteModel; } });
|
|
75
89
|
var orgMembershipSetting_1 = require("./orgMembershipSetting");
|
|
76
90
|
Object.defineProperty(exports, "OrgMembershipSettingModel", { enumerable: true, get: function () { return orgMembershipSetting_1.OrgMembershipSettingModel; } });
|
|
91
|
+
var orgLimitAggregate_1 = require("./orgLimitAggregate");
|
|
92
|
+
Object.defineProperty(exports, "OrgLimitAggregateModel", { enumerable: true, get: function () { return orgLimitAggregate_1.OrgLimitAggregateModel; } });
|
|
93
|
+
var orgLimit_1 = require("./orgLimit");
|
|
94
|
+
Object.defineProperty(exports, "OrgLimitModel", { enumerable: true, get: function () { return orgLimit_1.OrgLimitModel; } });
|
|
77
95
|
var orgInvite_1 = require("./orgInvite");
|
|
78
96
|
Object.defineProperty(exports, "OrgInviteModel", { enumerable: true, get: function () { return orgInvite_1.OrgInviteModel; } });
|
|
79
97
|
var appMembership_1 = require("./appMembership");
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgLimitCap model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { OrgLimitCapWithRelations, OrgLimitCapSelect, OrgLimitCapFilter, OrgLimitCapOrderBy, CreateOrgLimitCapInput, OrgLimitCapPatch } from '../input-types';
|
|
10
|
+
export declare class OrgLimitCapModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgLimitCapSelect>(args: FindManyArgs<S, OrgLimitCapFilter, OrgLimitCapOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgLimitCapSelect>): QueryBuilder<{
|
|
16
|
+
orgLimitCaps: ConnectionResult<InferSelectResult<OrgLimitCapWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgLimitCapSelect>(args: FindFirstArgs<S, OrgLimitCapFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgLimitCapSelect>): QueryBuilder<{
|
|
21
|
+
orgLimitCaps: {
|
|
22
|
+
nodes: InferSelectResult<OrgLimitCapWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends OrgLimitCapSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, OrgLimitCapSelect>): QueryBuilder<{
|
|
29
|
+
orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends OrgLimitCapSelect>(args: CreateArgs<S, CreateOrgLimitCapInput['orgLimitCap']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, OrgLimitCapSelect>): QueryBuilder<{
|
|
34
|
+
createOrgLimitCap: {
|
|
35
|
+
orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends OrgLimitCapSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, OrgLimitCapPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, OrgLimitCapSelect>): QueryBuilder<{
|
|
43
|
+
updateOrgLimitCap: {
|
|
44
|
+
orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends OrgLimitCapSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, OrgLimitCapSelect>): QueryBuilder<{
|
|
52
|
+
deleteOrgLimitCap: {
|
|
53
|
+
orgLimitCap: InferSelectResult<OrgLimitCapWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgLimitCapModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class OrgLimitCapModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitCap', 'orgLimitCaps', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'OrgLimitCapFilter', 'OrgLimitCapOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'OrgLimitCap',
|
|
25
|
+
fieldName: 'orgLimitCaps',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('OrgLimitCap', 'orgLimitCaps', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
}, 'OrgLimitCapFilter', input_types_1.connectionFieldsMap);
|
|
34
|
+
return new query_builder_1.QueryBuilder({
|
|
35
|
+
client: this.client,
|
|
36
|
+
operation: 'query',
|
|
37
|
+
operationName: 'OrgLimitCap',
|
|
38
|
+
fieldName: 'orgLimitCaps',
|
|
39
|
+
document,
|
|
40
|
+
variables,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
findOne(args) {
|
|
44
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('OrgLimitCap', 'orgLimitCaps', args.select, {
|
|
45
|
+
where: {
|
|
46
|
+
id: {
|
|
47
|
+
equalTo: args.id,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
first: 1,
|
|
51
|
+
}, 'OrgLimitCapFilter', 'OrgLimitCapOrderBy', input_types_1.connectionFieldsMap);
|
|
52
|
+
return new query_builder_1.QueryBuilder({
|
|
53
|
+
client: this.client,
|
|
54
|
+
operation: 'query',
|
|
55
|
+
operationName: 'OrgLimitCap',
|
|
56
|
+
fieldName: 'orgLimitCap',
|
|
57
|
+
document,
|
|
58
|
+
variables,
|
|
59
|
+
transform: (data) => ({
|
|
60
|
+
orgLimitCap: data.orgLimitCaps?.nodes?.[0] ?? null,
|
|
61
|
+
}),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
create(args) {
|
|
65
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('OrgLimitCap', 'createOrgLimitCap', 'orgLimitCap', args.select, args.data, 'CreateOrgLimitCapInput', input_types_1.connectionFieldsMap);
|
|
66
|
+
return new query_builder_1.QueryBuilder({
|
|
67
|
+
client: this.client,
|
|
68
|
+
operation: 'mutation',
|
|
69
|
+
operationName: 'OrgLimitCap',
|
|
70
|
+
fieldName: 'createOrgLimitCap',
|
|
71
|
+
document,
|
|
72
|
+
variables,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
update(args) {
|
|
76
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('OrgLimitCap', 'updateOrgLimitCap', 'orgLimitCap', args.select, args.where.id, args.data, 'UpdateOrgLimitCapInput', 'id', 'orgLimitCapPatch', input_types_1.connectionFieldsMap);
|
|
77
|
+
return new query_builder_1.QueryBuilder({
|
|
78
|
+
client: this.client,
|
|
79
|
+
operation: 'mutation',
|
|
80
|
+
operationName: 'OrgLimitCap',
|
|
81
|
+
fieldName: 'updateOrgLimitCap',
|
|
82
|
+
document,
|
|
83
|
+
variables,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(args) {
|
|
87
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('OrgLimitCap', 'deleteOrgLimitCap', 'orgLimitCap', {
|
|
88
|
+
id: args.where.id,
|
|
89
|
+
}, 'DeleteOrgLimitCapInput', args.select, input_types_1.connectionFieldsMap);
|
|
90
|
+
return new query_builder_1.QueryBuilder({
|
|
91
|
+
client: this.client,
|
|
92
|
+
operation: 'mutation',
|
|
93
|
+
operationName: 'OrgLimitCap',
|
|
94
|
+
fieldName: 'deleteOrgLimitCap',
|
|
95
|
+
document,
|
|
96
|
+
variables,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.OrgLimitCapModel = OrgLimitCapModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OrgLimitCapsDefault model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { OrgLimitCapsDefaultWithRelations, OrgLimitCapsDefaultSelect, OrgLimitCapsDefaultFilter, OrgLimitCapsDefaultOrderBy, CreateOrgLimitCapsDefaultInput, OrgLimitCapsDefaultPatch } from '../input-types';
|
|
10
|
+
export declare class OrgLimitCapsDefaultModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends OrgLimitCapsDefaultSelect>(args: FindManyArgs<S, OrgLimitCapsDefaultFilter, OrgLimitCapsDefaultOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, OrgLimitCapsDefaultSelect>): QueryBuilder<{
|
|
16
|
+
orgLimitCapsDefaults: ConnectionResult<InferSelectResult<OrgLimitCapsDefaultWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends OrgLimitCapsDefaultSelect>(args: FindFirstArgs<S, OrgLimitCapsDefaultFilter> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, OrgLimitCapsDefaultSelect>): QueryBuilder<{
|
|
21
|
+
orgLimitCapsDefaults: {
|
|
22
|
+
nodes: InferSelectResult<OrgLimitCapsDefaultWithRelations, S>[];
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
findOne<S extends OrgLimitCapsDefaultSelect>(args: {
|
|
26
|
+
id: string;
|
|
27
|
+
select: S;
|
|
28
|
+
} & StrictSelect<S, OrgLimitCapsDefaultSelect>): QueryBuilder<{
|
|
29
|
+
orgLimitCapsDefault: InferSelectResult<OrgLimitCapsDefaultWithRelations, S> | null;
|
|
30
|
+
}>;
|
|
31
|
+
create<S extends OrgLimitCapsDefaultSelect>(args: CreateArgs<S, CreateOrgLimitCapsDefaultInput['orgLimitCapsDefault']> & {
|
|
32
|
+
select: S;
|
|
33
|
+
} & StrictSelect<S, OrgLimitCapsDefaultSelect>): QueryBuilder<{
|
|
34
|
+
createOrgLimitCapsDefault: {
|
|
35
|
+
orgLimitCapsDefault: InferSelectResult<OrgLimitCapsDefaultWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
update<S extends OrgLimitCapsDefaultSelect>(args: UpdateArgs<S, {
|
|
39
|
+
id: string;
|
|
40
|
+
}, OrgLimitCapsDefaultPatch> & {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, OrgLimitCapsDefaultSelect>): QueryBuilder<{
|
|
43
|
+
updateOrgLimitCapsDefault: {
|
|
44
|
+
orgLimitCapsDefault: InferSelectResult<OrgLimitCapsDefaultWithRelations, S>;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
delete<S extends OrgLimitCapsDefaultSelect>(args: DeleteArgs<{
|
|
48
|
+
id: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, OrgLimitCapsDefaultSelect>): QueryBuilder<{
|
|
52
|
+
deleteOrgLimitCapsDefault: {
|
|
53
|
+
orgLimitCapsDefault: InferSelectResult<OrgLimitCapsDefaultWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|