@constructive-io/sdk 0.10.0 → 0.10.2

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.
Files changed (57) hide show
  1. package/README.md +0 -8
  2. package/admin/orm/input-types.d.ts +19 -95
  3. package/auth/orm/index.d.ts +6 -6
  4. package/auth/orm/index.js +6 -6
  5. package/auth/orm/input-types.d.ts +276 -311
  6. package/auth/orm/input-types.js +9 -1
  7. package/auth/orm/models/index.d.ts +3 -3
  8. package/auth/orm/models/index.js +7 -7
  9. package/esm/admin/orm/input-types.d.ts +19 -95
  10. package/esm/auth/orm/index.d.ts +6 -6
  11. package/esm/auth/orm/index.js +6 -6
  12. package/esm/auth/orm/input-types.d.ts +276 -311
  13. package/esm/auth/orm/input-types.js +9 -1
  14. package/esm/auth/orm/models/index.d.ts +3 -3
  15. package/esm/auth/orm/models/index.js +3 -3
  16. package/esm/objects/orm/input-types.d.ts +3 -27
  17. package/esm/public/orm/index.d.ts +81 -48
  18. package/esm/public/orm/index.js +26 -18
  19. package/esm/public/orm/input-types.d.ts +2318 -2557
  20. package/esm/public/orm/input-types.js +26 -1
  21. package/esm/public/orm/models/blueprint.d.ts +56 -0
  22. package/esm/public/orm/models/blueprint.js +94 -0
  23. package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
  24. package/esm/public/orm/models/blueprintTemplate.js +94 -0
  25. package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
  26. package/esm/public/orm/models/databaseTransfer.js +94 -0
  27. package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
  28. package/esm/public/orm/models/embeddingChunk.js +94 -0
  29. package/esm/public/orm/models/enum.d.ts +56 -0
  30. package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
  31. package/esm/public/orm/models/index.d.ts +13 -9
  32. package/esm/public/orm/models/index.js +13 -9
  33. package/esm/public/orm/mutation/index.d.ts +98 -50
  34. package/esm/public/orm/mutation/index.js +126 -66
  35. package/index.js +8 -8
  36. package/objects/orm/input-types.d.ts +3 -27
  37. package/package.json +3 -3
  38. package/public/orm/index.d.ts +81 -48
  39. package/public/orm/index.js +26 -18
  40. package/public/orm/input-types.d.ts +2318 -2557
  41. package/public/orm/input-types.js +26 -1
  42. package/public/orm/models/blueprint.d.ts +56 -0
  43. package/public/orm/models/blueprint.js +98 -0
  44. package/public/orm/models/blueprintTemplate.d.ts +56 -0
  45. package/public/orm/models/blueprintTemplate.js +98 -0
  46. package/public/orm/models/databaseTransfer.d.ts +56 -0
  47. package/public/orm/models/databaseTransfer.js +98 -0
  48. package/public/orm/models/embeddingChunk.d.ts +56 -0
  49. package/public/orm/models/embeddingChunk.js +98 -0
  50. package/public/orm/models/enum.d.ts +56 -0
  51. package/public/orm/models/{uuidModule.js → enum.js} +25 -25
  52. package/public/orm/models/index.d.ts +13 -9
  53. package/public/orm/models/index.js +29 -21
  54. package/public/orm/mutation/index.d.ts +98 -50
  55. package/public/orm/mutation/index.js +126 -66
  56. package/esm/public/orm/models/uuidModule.d.ts +0 -56
  57. package/public/orm/models/uuidModule.d.ts +0 -56
@@ -2,4 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.connectionFieldsMap = void 0;
4
4
  // ============ Connection Fields Map ============
5
- exports.connectionFieldsMap = {};
5
+ exports.connectionFieldsMap = {
6
+ User: {
7
+ ownedEmails: 'Email',
8
+ ownedPhoneNumbers: 'PhoneNumber',
9
+ ownedCryptoAddresses: 'CryptoAddress',
10
+ ownedConnectedAccounts: 'ConnectedAccount',
11
+ auditLogsByActorId: 'AuditLog',
12
+ },
13
+ };
@@ -3,10 +3,10 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export { CryptoAddressModel } from './cryptoAddress';
7
- export { RoleTypeModel } from './roleType';
6
+ export { EmailModel } from './email';
8
7
  export { PhoneNumberModel } from './phoneNumber';
8
+ export { CryptoAddressModel } from './cryptoAddress';
9
9
  export { ConnectedAccountModel } from './connectedAccount';
10
10
  export { AuditLogModel } from './auditLog';
11
- export { EmailModel } from './email';
11
+ export { RoleTypeModel } from './roleType';
12
12
  export { UserModel } from './user';
@@ -1,22 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserModel = exports.EmailModel = exports.AuditLogModel = exports.ConnectedAccountModel = exports.PhoneNumberModel = exports.RoleTypeModel = exports.CryptoAddressModel = void 0;
3
+ exports.UserModel = exports.RoleTypeModel = exports.AuditLogModel = exports.ConnectedAccountModel = exports.CryptoAddressModel = exports.PhoneNumberModel = exports.EmailModel = void 0;
4
4
  /**
5
5
  * Models barrel export
6
6
  * @generated by @constructive-io/graphql-codegen
7
7
  * DO NOT EDIT - changes will be overwritten
8
8
  */
9
- var cryptoAddress_1 = require("./cryptoAddress");
10
- Object.defineProperty(exports, "CryptoAddressModel", { enumerable: true, get: function () { return cryptoAddress_1.CryptoAddressModel; } });
11
- var roleType_1 = require("./roleType");
12
- Object.defineProperty(exports, "RoleTypeModel", { enumerable: true, get: function () { return roleType_1.RoleTypeModel; } });
9
+ var email_1 = require("./email");
10
+ Object.defineProperty(exports, "EmailModel", { enumerable: true, get: function () { return email_1.EmailModel; } });
13
11
  var phoneNumber_1 = require("./phoneNumber");
14
12
  Object.defineProperty(exports, "PhoneNumberModel", { enumerable: true, get: function () { return phoneNumber_1.PhoneNumberModel; } });
13
+ var cryptoAddress_1 = require("./cryptoAddress");
14
+ Object.defineProperty(exports, "CryptoAddressModel", { enumerable: true, get: function () { return cryptoAddress_1.CryptoAddressModel; } });
15
15
  var connectedAccount_1 = require("./connectedAccount");
16
16
  Object.defineProperty(exports, "ConnectedAccountModel", { enumerable: true, get: function () { return connectedAccount_1.ConnectedAccountModel; } });
17
17
  var auditLog_1 = require("./auditLog");
18
18
  Object.defineProperty(exports, "AuditLogModel", { enumerable: true, get: function () { return auditLog_1.AuditLogModel; } });
19
- var email_1 = require("./email");
20
- Object.defineProperty(exports, "EmailModel", { enumerable: true, get: function () { return email_1.EmailModel; } });
19
+ var roleType_1 = require("./roleType");
20
+ Object.defineProperty(exports, "RoleTypeModel", { enumerable: true, get: function () { return roleType_1.RoleTypeModel; } });
21
21
  var user_1 = require("./user");
22
22
  Object.defineProperty(exports, "UserModel", { enumerable: true, get: function () { return user_1.UserModel; } });
@@ -250,10 +250,6 @@ export interface AppPermission {
250
250
  bitstr?: string | null;
251
251
  /** Human-readable description of what this permission allows */
252
252
  description?: string | null;
253
- /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
254
- descriptionTrgmSimilarity?: number | null;
255
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
256
- searchScore?: number | null;
257
253
  }
258
254
  /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */
259
255
  export interface OrgPermission {
@@ -266,10 +262,6 @@ export interface OrgPermission {
266
262
  bitstr?: string | null;
267
263
  /** Human-readable description of what this permission allows */
268
264
  description?: string | null;
269
- /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
270
- descriptionTrgmSimilarity?: number | null;
271
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
272
- searchScore?: number | null;
273
265
  }
274
266
  /** Defines the specific requirements that must be met to achieve a level */
275
267
  export interface AppLevelRequirement {
@@ -286,10 +278,6 @@ export interface AppLevelRequirement {
286
278
  priority?: number | null;
287
279
  createdAt?: string | null;
288
280
  updatedAt?: string | null;
289
- /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
290
- descriptionTrgmSimilarity?: number | null;
291
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
292
- searchScore?: number | null;
293
281
  }
294
282
  /** Simplified view of active members in an entity, used for listing who belongs to an org or group */
295
283
  export interface OrgMember {
@@ -388,7 +376,7 @@ export interface OrgChartEdgeGrant {
388
376
  childId?: string | null;
389
377
  /** User ID of the manager being assigned; NULL for top-level positions */
390
378
  parentId?: string | null;
391
- /** User ID of the admin who performed this grant or revocation */
379
+ /** User ID of the admin who performed this grant or revocation; NULL if grantor was deleted */
392
380
  grantorId?: string | null;
393
381
  /** TRUE to add/update the edge, FALSE to remove it */
394
382
  isGrant?: boolean | null;
@@ -398,10 +386,6 @@ export interface OrgChartEdgeGrant {
398
386
  positionLevel?: number | null;
399
387
  /** Timestamp when this grant or revocation was recorded */
400
388
  createdAt?: string | null;
401
- /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */
402
- positionTitleTrgmSimilarity?: number | null;
403
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
404
- searchScore?: number | null;
405
389
  }
406
390
  /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
407
391
  export interface MembershipType {
@@ -413,12 +397,6 @@ export interface MembershipType {
413
397
  description?: string | null;
414
398
  /** Short prefix used to namespace tables and functions for this membership scope */
415
399
  prefix?: string | null;
416
- /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
417
- descriptionTrgmSimilarity?: number | null;
418
- /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */
419
- prefixTrgmSimilarity?: number | null;
420
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
421
- searchScore?: number | null;
422
400
  }
423
401
  /** Tracks per-actor usage counts against configurable maximum limits */
424
402
  export interface AppLimit {
@@ -547,10 +525,6 @@ export interface OrgChartEdge {
547
525
  positionTitle?: string | null;
548
526
  /** Numeric seniority level for this position (higher = more senior) */
549
527
  positionLevel?: number | null;
550
- /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */
551
- positionTitleTrgmSimilarity?: number | null;
552
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
553
- searchScore?: number | null;
554
528
  }
555
529
  /** Default membership settings per entity, controlling initial approval and verification state for new members */
556
530
  export interface OrgMembershipDefault {
@@ -649,10 +623,6 @@ export interface Invite {
649
623
  expiresAt?: string | null;
650
624
  createdAt?: string | null;
651
625
  updatedAt?: string | null;
652
- /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */
653
- inviteTokenTrgmSimilarity?: number | null;
654
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
655
- searchScore?: number | null;
656
626
  }
657
627
  /** Defines available levels that users can achieve by completing requirements */
658
628
  export interface AppLevel {
@@ -667,10 +637,6 @@ export interface AppLevel {
667
637
  ownerId?: string | null;
668
638
  createdAt?: string | null;
669
639
  updatedAt?: string | null;
670
- /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
671
- descriptionTrgmSimilarity?: number | null;
672
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
673
- searchScore?: number | null;
674
640
  }
675
641
  /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
676
642
  export interface OrgInvite {
@@ -698,10 +664,6 @@ export interface OrgInvite {
698
664
  createdAt?: string | null;
699
665
  updatedAt?: string | null;
700
666
  entityId?: string | null;
701
- /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */
702
- inviteTokenTrgmSimilarity?: number | null;
703
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
704
- searchScore?: number | null;
705
667
  }
706
668
  export interface ConnectionResult<T> {
707
669
  nodes: T[];
@@ -824,8 +786,6 @@ export type AppPermissionSelect = {
824
786
  bitnum?: boolean;
825
787
  bitstr?: boolean;
826
788
  description?: boolean;
827
- descriptionTrgmSimilarity?: boolean;
828
- searchScore?: boolean;
829
789
  };
830
790
  export type OrgPermissionSelect = {
831
791
  id?: boolean;
@@ -833,8 +793,6 @@ export type OrgPermissionSelect = {
833
793
  bitnum?: boolean;
834
794
  bitstr?: boolean;
835
795
  description?: boolean;
836
- descriptionTrgmSimilarity?: boolean;
837
- searchScore?: boolean;
838
796
  };
839
797
  export type AppLevelRequirementSelect = {
840
798
  id?: boolean;
@@ -845,8 +803,6 @@ export type AppLevelRequirementSelect = {
845
803
  priority?: boolean;
846
804
  createdAt?: boolean;
847
805
  updatedAt?: boolean;
848
- descriptionTrgmSimilarity?: boolean;
849
- searchScore?: boolean;
850
806
  };
851
807
  export type OrgMemberSelect = {
852
808
  id?: boolean;
@@ -917,17 +873,12 @@ export type OrgChartEdgeGrantSelect = {
917
873
  positionTitle?: boolean;
918
874
  positionLevel?: boolean;
919
875
  createdAt?: boolean;
920
- positionTitleTrgmSimilarity?: boolean;
921
- searchScore?: boolean;
922
876
  };
923
877
  export type MembershipTypeSelect = {
924
878
  id?: boolean;
925
879
  name?: boolean;
926
880
  description?: boolean;
927
881
  prefix?: boolean;
928
- descriptionTrgmSimilarity?: boolean;
929
- prefixTrgmSimilarity?: boolean;
930
- searchScore?: boolean;
931
882
  };
932
883
  export type AppLimitSelect = {
933
884
  id?: boolean;
@@ -1014,8 +965,6 @@ export type OrgChartEdgeSelect = {
1014
965
  parentId?: boolean;
1015
966
  positionTitle?: boolean;
1016
967
  positionLevel?: boolean;
1017
- positionTitleTrgmSimilarity?: boolean;
1018
- searchScore?: boolean;
1019
968
  };
1020
969
  export type OrgMembershipDefaultSelect = {
1021
970
  id?: boolean;
@@ -1077,8 +1026,6 @@ export type InviteSelect = {
1077
1026
  expiresAt?: boolean;
1078
1027
  createdAt?: boolean;
1079
1028
  updatedAt?: boolean;
1080
- inviteTokenTrgmSimilarity?: boolean;
1081
- searchScore?: boolean;
1082
1029
  };
1083
1030
  export type AppLevelSelect = {
1084
1031
  id?: boolean;
@@ -1088,8 +1035,6 @@ export type AppLevelSelect = {
1088
1035
  ownerId?: boolean;
1089
1036
  createdAt?: boolean;
1090
1037
  updatedAt?: boolean;
1091
- descriptionTrgmSimilarity?: boolean;
1092
- searchScore?: boolean;
1093
1038
  };
1094
1039
  export type OrgInviteSelect = {
1095
1040
  id?: boolean;
@@ -1106,8 +1051,6 @@ export type OrgInviteSelect = {
1106
1051
  createdAt?: boolean;
1107
1052
  updatedAt?: boolean;
1108
1053
  entityId?: boolean;
1109
- inviteTokenTrgmSimilarity?: boolean;
1110
- searchScore?: boolean;
1111
1054
  };
1112
1055
  export interface OrgGetManagersRecordFilter {
1113
1056
  userId?: UUIDFilter;
@@ -1129,8 +1072,6 @@ export interface AppPermissionFilter {
1129
1072
  bitnum?: IntFilter;
1130
1073
  bitstr?: BitStringFilter;
1131
1074
  description?: StringFilter;
1132
- descriptionTrgmSimilarity?: FloatFilter;
1133
- searchScore?: FloatFilter;
1134
1075
  and?: AppPermissionFilter[];
1135
1076
  or?: AppPermissionFilter[];
1136
1077
  not?: AppPermissionFilter;
@@ -1141,8 +1082,6 @@ export interface OrgPermissionFilter {
1141
1082
  bitnum?: IntFilter;
1142
1083
  bitstr?: BitStringFilter;
1143
1084
  description?: StringFilter;
1144
- descriptionTrgmSimilarity?: FloatFilter;
1145
- searchScore?: FloatFilter;
1146
1085
  and?: OrgPermissionFilter[];
1147
1086
  or?: OrgPermissionFilter[];
1148
1087
  not?: OrgPermissionFilter;
@@ -1156,8 +1095,6 @@ export interface AppLevelRequirementFilter {
1156
1095
  priority?: IntFilter;
1157
1096
  createdAt?: DatetimeFilter;
1158
1097
  updatedAt?: DatetimeFilter;
1159
- descriptionTrgmSimilarity?: FloatFilter;
1160
- searchScore?: FloatFilter;
1161
1098
  and?: AppLevelRequirementFilter[];
1162
1099
  or?: AppLevelRequirementFilter[];
1163
1100
  not?: AppLevelRequirementFilter;
@@ -1258,8 +1195,6 @@ export interface OrgChartEdgeGrantFilter {
1258
1195
  positionTitle?: StringFilter;
1259
1196
  positionLevel?: IntFilter;
1260
1197
  createdAt?: DatetimeFilter;
1261
- positionTitleTrgmSimilarity?: FloatFilter;
1262
- searchScore?: FloatFilter;
1263
1198
  and?: OrgChartEdgeGrantFilter[];
1264
1199
  or?: OrgChartEdgeGrantFilter[];
1265
1200
  not?: OrgChartEdgeGrantFilter;
@@ -1269,9 +1204,6 @@ export interface MembershipTypeFilter {
1269
1204
  name?: StringFilter;
1270
1205
  description?: StringFilter;
1271
1206
  prefix?: StringFilter;
1272
- descriptionTrgmSimilarity?: FloatFilter;
1273
- prefixTrgmSimilarity?: FloatFilter;
1274
- searchScore?: FloatFilter;
1275
1207
  and?: MembershipTypeFilter[];
1276
1208
  or?: MembershipTypeFilter[];
1277
1209
  not?: MembershipTypeFilter;
@@ -1388,8 +1320,6 @@ export interface OrgChartEdgeFilter {
1388
1320
  parentId?: UUIDFilter;
1389
1321
  positionTitle?: StringFilter;
1390
1322
  positionLevel?: IntFilter;
1391
- positionTitleTrgmSimilarity?: FloatFilter;
1392
- searchScore?: FloatFilter;
1393
1323
  and?: OrgChartEdgeFilter[];
1394
1324
  or?: OrgChartEdgeFilter[];
1395
1325
  not?: OrgChartEdgeFilter;
@@ -1463,8 +1393,6 @@ export interface InviteFilter {
1463
1393
  expiresAt?: DatetimeFilter;
1464
1394
  createdAt?: DatetimeFilter;
1465
1395
  updatedAt?: DatetimeFilter;
1466
- inviteTokenTrgmSimilarity?: FloatFilter;
1467
- searchScore?: FloatFilter;
1468
1396
  and?: InviteFilter[];
1469
1397
  or?: InviteFilter[];
1470
1398
  not?: InviteFilter;
@@ -1477,8 +1405,6 @@ export interface AppLevelFilter {
1477
1405
  ownerId?: UUIDFilter;
1478
1406
  createdAt?: DatetimeFilter;
1479
1407
  updatedAt?: DatetimeFilter;
1480
- descriptionTrgmSimilarity?: FloatFilter;
1481
- searchScore?: FloatFilter;
1482
1408
  and?: AppLevelFilter[];
1483
1409
  or?: AppLevelFilter[];
1484
1410
  not?: AppLevelFilter;
@@ -1498,44 +1424,42 @@ export interface OrgInviteFilter {
1498
1424
  createdAt?: DatetimeFilter;
1499
1425
  updatedAt?: DatetimeFilter;
1500
1426
  entityId?: UUIDFilter;
1501
- inviteTokenTrgmSimilarity?: FloatFilter;
1502
- searchScore?: FloatFilter;
1503
1427
  and?: OrgInviteFilter[];
1504
1428
  or?: OrgInviteFilter[];
1505
1429
  not?: OrgInviteFilter;
1506
1430
  }
1507
1431
  export type OrgGetManagersRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
1508
1432
  export type OrgGetSubordinatesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
1509
- export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1510
- export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1511
- export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1433
+ export type AppPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC';
1434
+ export type OrgPermissionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC';
1435
+ export type AppLevelRequirementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1512
1436
  export type OrgMemberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1513
1437
  export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC';
1514
- export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC';
1515
- export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1516
- export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1517
- export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1518
- export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1438
+ export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1439
+ export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1440
+ export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1441
+ export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1442
+ export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1519
1443
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
1520
1444
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
1521
- export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1522
- export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'PREFIX_TRGM_SIMILARITY_ASC' | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1445
+ export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC';
1446
+ export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
1523
1447
  export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
1524
1448
  export type AppAchievementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1525
1449
  export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1526
1450
  export type ClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1527
- export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1451
+ export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1528
1452
  export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC';
1529
1453
  export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1530
- export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1531
- export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1532
- export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1454
+ export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1455
+ export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1456
+ export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC';
1533
1457
  export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1534
1458
  export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1535
1459
  export type OrgMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1536
- export type InviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1537
- export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1538
- export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1460
+ export type InviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1461
+ export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1462
+ export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1539
1463
  export interface CreateOrgGetManagersRecordInput {
1540
1464
  clientMutationId?: string;
1541
1465
  orgGetManagersRecord: {
@@ -1848,7 +1772,7 @@ export interface CreateOrgChartEdgeGrantInput {
1848
1772
  entityId: string;
1849
1773
  childId: string;
1850
1774
  parentId?: string;
1851
- grantorId: string;
1775
+ grantorId?: string;
1852
1776
  isGrant?: boolean;
1853
1777
  positionTitle?: string;
1854
1778
  positionLevel?: number;
@@ -1,10 +1,10 @@
1
1
  import type { OrmClientConfig } from './client';
2
- import { CryptoAddressModel } from './models/cryptoAddress';
3
- import { RoleTypeModel } from './models/roleType';
2
+ import { EmailModel } from './models/email';
4
3
  import { PhoneNumberModel } from './models/phoneNumber';
4
+ import { CryptoAddressModel } from './models/cryptoAddress';
5
5
  import { ConnectedAccountModel } from './models/connectedAccount';
6
6
  import { AuditLogModel } from './models/auditLog';
7
- import { EmailModel } from './models/email';
7
+ import { RoleTypeModel } from './models/roleType';
8
8
  import { UserModel } from './models/user';
9
9
  export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
10
10
  export { GraphQLRequestError } from './client';
@@ -37,12 +37,12 @@ export { createMutationOperations } from './mutation';
37
37
  * ```
38
38
  */
39
39
  export declare function createClient(config: OrmClientConfig): {
40
- cryptoAddress: CryptoAddressModel;
41
- roleType: RoleTypeModel;
40
+ email: EmailModel;
42
41
  phoneNumber: PhoneNumberModel;
42
+ cryptoAddress: CryptoAddressModel;
43
43
  connectedAccount: ConnectedAccountModel;
44
44
  auditLog: AuditLogModel;
45
- email: EmailModel;
45
+ roleType: RoleTypeModel;
46
46
  user: UserModel;
47
47
  query: {
48
48
  currentIpAddress: (options?: {
@@ -4,12 +4,12 @@
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
6
  import { OrmClient } from './client';
7
- import { CryptoAddressModel } from './models/cryptoAddress';
8
- import { RoleTypeModel } from './models/roleType';
7
+ import { EmailModel } from './models/email';
9
8
  import { PhoneNumberModel } from './models/phoneNumber';
9
+ import { CryptoAddressModel } from './models/cryptoAddress';
10
10
  import { ConnectedAccountModel } from './models/connectedAccount';
11
11
  import { AuditLogModel } from './models/auditLog';
12
- import { EmailModel } from './models/email';
12
+ import { RoleTypeModel } from './models/roleType';
13
13
  import { UserModel } from './models/user';
14
14
  import { createQueryOperations } from './query';
15
15
  import { createMutationOperations } from './mutation';
@@ -45,12 +45,12 @@ export { createMutationOperations } from './mutation';
45
45
  export function createClient(config) {
46
46
  const client = new OrmClient(config);
47
47
  return {
48
- cryptoAddress: new CryptoAddressModel(client),
49
- roleType: new RoleTypeModel(client),
48
+ email: new EmailModel(client),
50
49
  phoneNumber: new PhoneNumberModel(client),
50
+ cryptoAddress: new CryptoAddressModel(client),
51
51
  connectedAccount: new ConnectedAccountModel(client),
52
52
  auditLog: new AuditLogModel(client),
53
- email: new EmailModel(client),
53
+ roleType: new RoleTypeModel(client),
54
54
  user: new UserModel(client),
55
55
  query: createQueryOperations(client),
56
56
  mutation: createMutationOperations(client),