@constructive-sdk/cli 0.17.1 → 0.17.3

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 (213) hide show
  1. package/admin/cli/commands/app-invite.js +22 -0
  2. package/admin/cli/commands/app-limit-default.js +22 -0
  3. package/admin/cli/commands/{confirm-upload.d.ts → app-limit-event.d.ts} +1 -1
  4. package/admin/cli/commands/app-limit-event.js +212 -0
  5. package/admin/cli/commands/app-limit.js +66 -0
  6. package/admin/cli/commands/app-membership.js +0 -22
  7. package/admin/cli/commands/org-invite.js +22 -0
  8. package/{esm/admin/cli/commands/confirm-upload.d.ts → admin/cli/commands/org-limit-aggregate.d.ts} +1 -1
  9. package/admin/cli/commands/org-limit-aggregate.js +362 -0
  10. package/admin/cli/commands/org-limit-default.js +22 -0
  11. package/{auth/cli/commands/confirm-upload.d.ts → admin/cli/commands/org-limit-event.d.ts} +1 -1
  12. package/admin/cli/commands/org-limit-event.js +212 -0
  13. package/admin/cli/commands/org-limit.js +66 -0
  14. package/admin/cli/commands/org-membership-setting.js +44 -0
  15. package/admin/cli/commands.js +25 -21
  16. package/admin/cli/executor.d.ts +12 -14
  17. package/admin/orm/index.d.ts +24 -23
  18. package/admin/orm/index.js +24 -18
  19. package/admin/orm/input-types.d.ts +1297 -839
  20. package/admin/orm/models/appLimitEvent.d.ts +32 -0
  21. package/admin/orm/models/appLimitEvent.js +55 -0
  22. package/admin/orm/models/index.d.ts +12 -9
  23. package/admin/orm/models/index.js +25 -19
  24. package/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  25. package/admin/orm/models/orgLimitAggregate.js +100 -0
  26. package/admin/orm/models/orgLimitEvent.d.ts +32 -0
  27. package/admin/orm/models/orgLimitEvent.js +55 -0
  28. package/admin/orm/mutation/index.d.ts +1 -15
  29. package/admin/orm/mutation/index.js +0 -12
  30. package/auth/cli/commands.js +1 -3
  31. package/auth/cli/executor.d.ts +0 -5
  32. package/auth/orm/index.d.ts +0 -5
  33. package/auth/orm/input-types.d.ts +0 -20
  34. package/auth/orm/mutation/index.d.ts +1 -15
  35. package/auth/orm/mutation/index.js +0 -12
  36. package/esm/admin/cli/commands/app-invite.js +22 -0
  37. package/esm/admin/cli/commands/app-limit-default.js +22 -0
  38. package/esm/{auth/cli/commands/confirm-upload.d.ts → admin/cli/commands/app-limit-event.d.ts} +1 -1
  39. package/esm/admin/cli/commands/app-limit-event.js +210 -0
  40. package/esm/admin/cli/commands/app-limit.js +66 -0
  41. package/esm/admin/cli/commands/app-membership.js +0 -22
  42. package/esm/admin/cli/commands/org-invite.js +22 -0
  43. package/esm/admin/cli/commands/org-limit-aggregate.d.ts +8 -0
  44. package/esm/admin/cli/commands/org-limit-aggregate.js +360 -0
  45. package/esm/admin/cli/commands/org-limit-default.js +22 -0
  46. package/esm/admin/cli/commands/org-limit-event.d.ts +8 -0
  47. package/esm/admin/cli/commands/org-limit-event.js +210 -0
  48. package/esm/admin/cli/commands/org-limit.js +66 -0
  49. package/esm/admin/cli/commands/org-membership-setting.js +44 -0
  50. package/esm/admin/cli/commands.js +25 -21
  51. package/esm/admin/cli/executor.d.ts +12 -14
  52. package/esm/admin/orm/index.d.ts +24 -23
  53. package/esm/admin/orm/index.js +24 -18
  54. package/esm/admin/orm/input-types.d.ts +1297 -839
  55. package/esm/admin/orm/models/appLimitEvent.d.ts +32 -0
  56. package/esm/admin/orm/models/appLimitEvent.js +51 -0
  57. package/esm/admin/orm/models/index.d.ts +12 -9
  58. package/esm/admin/orm/models/index.js +12 -9
  59. package/esm/admin/orm/models/orgLimitAggregate.d.ts +56 -0
  60. package/esm/admin/orm/models/orgLimitAggregate.js +96 -0
  61. package/esm/admin/orm/models/orgLimitEvent.d.ts +32 -0
  62. package/esm/admin/orm/models/orgLimitEvent.js +51 -0
  63. package/esm/admin/orm/mutation/index.d.ts +1 -15
  64. package/esm/admin/orm/mutation/index.js +0 -12
  65. package/esm/auth/cli/commands.js +1 -3
  66. package/esm/auth/cli/executor.d.ts +0 -5
  67. package/esm/auth/orm/index.d.ts +0 -5
  68. package/esm/auth/orm/input-types.d.ts +0 -20
  69. package/esm/auth/orm/mutation/index.d.ts +1 -15
  70. package/esm/auth/orm/mutation/index.js +0 -12
  71. package/esm/objects/cli/commands.js +1 -3
  72. package/esm/objects/cli/executor.d.ts +0 -5
  73. package/esm/objects/orm/index.d.ts +0 -5
  74. package/esm/objects/orm/input-types.d.ts +0 -20
  75. package/esm/objects/orm/mutation/index.d.ts +1 -15
  76. package/esm/objects/orm/mutation/index.js +0 -12
  77. package/esm/public/cli/commands/agent-message.d.ts +8 -0
  78. package/esm/public/cli/commands/agent-message.js +324 -0
  79. package/esm/public/cli/commands/agent-task.d.ts +8 -0
  80. package/esm/public/cli/commands/agent-task.js +368 -0
  81. package/esm/public/cli/commands/agent-thread.d.ts +8 -0
  82. package/esm/public/cli/commands/agent-thread.js +372 -0
  83. package/esm/public/cli/commands/app-invite.js +22 -0
  84. package/esm/public/cli/commands/app-limit-default.js +22 -0
  85. package/esm/public/cli/commands/app-limit-event.d.ts +8 -0
  86. package/esm/public/cli/commands/app-limit-event.js +210 -0
  87. package/esm/public/cli/commands/app-limit.js +66 -0
  88. package/esm/public/cli/commands/app-membership.js +0 -22
  89. package/esm/public/cli/commands/billing-module.d.ts +8 -0
  90. package/esm/public/cli/commands/billing-module.js +492 -0
  91. package/esm/public/cli/commands/limits-module.js +22 -0
  92. package/esm/public/cli/commands/node-type-registry.d.ts +8 -0
  93. package/esm/public/cli/commands/node-type-registry.js +343 -0
  94. package/esm/public/cli/commands/org-invite.js +22 -0
  95. package/esm/public/cli/commands/org-limit-aggregate.d.ts +8 -0
  96. package/esm/public/cli/commands/org-limit-aggregate.js +360 -0
  97. package/esm/public/cli/commands/org-limit-default.js +22 -0
  98. package/esm/public/cli/commands/org-limit-event.d.ts +8 -0
  99. package/esm/public/cli/commands/org-limit-event.js +210 -0
  100. package/esm/public/cli/commands/org-limit.js +66 -0
  101. package/esm/public/cli/commands/org-membership-setting.js +44 -0
  102. package/esm/public/cli/commands/plans-module.d.ts +8 -0
  103. package/esm/public/cli/commands/plans-module.js +426 -0
  104. package/esm/public/cli/commands/profiles-module.js +44 -0
  105. package/esm/public/cli/commands/storage-module.js +22 -44
  106. package/esm/public/cli/commands.js +45 -29
  107. package/esm/public/cli/executor.d.ts +38 -34
  108. package/esm/public/orm/index.d.ts +56 -43
  109. package/esm/public/orm/index.js +36 -18
  110. package/esm/public/orm/input-types.d.ts +2983 -1112
  111. package/esm/public/orm/input-types.js +9 -0
  112. package/esm/public/orm/models/agentMessage.d.ts +56 -0
  113. package/esm/public/orm/models/agentMessage.js +96 -0
  114. package/esm/public/orm/models/agentTask.d.ts +56 -0
  115. package/esm/public/orm/models/agentTask.js +96 -0
  116. package/esm/public/orm/models/agentThread.d.ts +56 -0
  117. package/esm/public/orm/models/agentThread.js +96 -0
  118. package/esm/public/orm/models/appLimitEvent.d.ts +32 -0
  119. package/esm/public/orm/models/appLimitEvent.js +51 -0
  120. package/esm/public/orm/models/billingModule.d.ts +56 -0
  121. package/esm/public/orm/models/billingModule.js +96 -0
  122. package/esm/public/orm/models/index.d.ts +18 -9
  123. package/esm/public/orm/models/index.js +18 -9
  124. package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  125. package/esm/public/orm/models/nodeTypeRegistry.js +96 -0
  126. package/esm/public/orm/models/orgLimitAggregate.d.ts +56 -0
  127. package/esm/public/orm/models/orgLimitAggregate.js +96 -0
  128. package/esm/public/orm/models/orgLimitEvent.d.ts +32 -0
  129. package/esm/public/orm/models/orgLimitEvent.js +51 -0
  130. package/esm/public/orm/models/plansModule.d.ts +56 -0
  131. package/esm/public/orm/models/plansModule.js +96 -0
  132. package/esm/public/orm/mutation/index.d.ts +17 -31
  133. package/esm/public/orm/mutation/index.js +24 -36
  134. package/esm/public/orm/query/index.d.ts +28 -28
  135. package/esm/public/orm/query/index.js +48 -48
  136. package/objects/cli/commands.js +1 -3
  137. package/objects/cli/executor.d.ts +0 -5
  138. package/objects/orm/index.d.ts +0 -5
  139. package/objects/orm/input-types.d.ts +0 -20
  140. package/objects/orm/mutation/index.d.ts +1 -15
  141. package/objects/orm/mutation/index.js +0 -12
  142. package/package.json +4 -4
  143. package/public/cli/commands/agent-message.d.ts +8 -0
  144. package/public/cli/commands/agent-message.js +326 -0
  145. package/public/cli/commands/agent-task.d.ts +8 -0
  146. package/public/cli/commands/agent-task.js +370 -0
  147. package/public/cli/commands/agent-thread.d.ts +8 -0
  148. package/public/cli/commands/agent-thread.js +374 -0
  149. package/public/cli/commands/app-invite.js +22 -0
  150. package/public/cli/commands/app-limit-default.js +22 -0
  151. package/public/cli/commands/app-limit-event.d.ts +8 -0
  152. package/public/cli/commands/app-limit-event.js +212 -0
  153. package/public/cli/commands/app-limit.js +66 -0
  154. package/public/cli/commands/app-membership.js +0 -22
  155. package/public/cli/commands/billing-module.d.ts +8 -0
  156. package/public/cli/commands/billing-module.js +494 -0
  157. package/public/cli/commands/limits-module.js +22 -0
  158. package/public/cli/commands/node-type-registry.d.ts +8 -0
  159. package/public/cli/commands/node-type-registry.js +345 -0
  160. package/public/cli/commands/org-invite.js +22 -0
  161. package/public/cli/commands/org-limit-aggregate.d.ts +8 -0
  162. package/public/cli/commands/org-limit-aggregate.js +362 -0
  163. package/public/cli/commands/org-limit-default.js +22 -0
  164. package/public/cli/commands/org-limit-event.d.ts +8 -0
  165. package/public/cli/commands/org-limit-event.js +212 -0
  166. package/public/cli/commands/org-limit.js +66 -0
  167. package/public/cli/commands/org-membership-setting.js +44 -0
  168. package/public/cli/commands/plans-module.d.ts +8 -0
  169. package/public/cli/commands/plans-module.js +428 -0
  170. package/public/cli/commands/profiles-module.js +44 -0
  171. package/public/cli/commands/storage-module.js +22 -44
  172. package/public/cli/commands.js +45 -29
  173. package/public/cli/executor.d.ts +38 -34
  174. package/public/orm/index.d.ts +56 -43
  175. package/public/orm/index.js +36 -18
  176. package/public/orm/input-types.d.ts +2983 -1112
  177. package/public/orm/input-types.js +9 -0
  178. package/public/orm/models/agentMessage.d.ts +56 -0
  179. package/public/orm/models/agentMessage.js +100 -0
  180. package/public/orm/models/agentTask.d.ts +56 -0
  181. package/public/orm/models/agentTask.js +100 -0
  182. package/public/orm/models/agentThread.d.ts +56 -0
  183. package/public/orm/models/agentThread.js +100 -0
  184. package/public/orm/models/appLimitEvent.d.ts +32 -0
  185. package/public/orm/models/appLimitEvent.js +55 -0
  186. package/public/orm/models/billingModule.d.ts +56 -0
  187. package/public/orm/models/billingModule.js +100 -0
  188. package/public/orm/models/index.d.ts +18 -9
  189. package/public/orm/models/index.js +39 -21
  190. package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
  191. package/public/orm/models/nodeTypeRegistry.js +100 -0
  192. package/public/orm/models/orgLimitAggregate.d.ts +56 -0
  193. package/public/orm/models/orgLimitAggregate.js +100 -0
  194. package/public/orm/models/orgLimitEvent.d.ts +32 -0
  195. package/public/orm/models/orgLimitEvent.js +55 -0
  196. package/public/orm/models/plansModule.d.ts +56 -0
  197. package/public/orm/models/plansModule.js +100 -0
  198. package/public/orm/mutation/index.d.ts +17 -31
  199. package/public/orm/mutation/index.js +24 -36
  200. package/public/orm/query/index.d.ts +28 -28
  201. package/public/orm/query/index.js +48 -48
  202. package/admin/cli/commands/confirm-upload.js +0 -36
  203. package/auth/cli/commands/confirm-upload.js +0 -36
  204. package/esm/admin/cli/commands/confirm-upload.js +0 -34
  205. package/esm/auth/cli/commands/confirm-upload.js +0 -34
  206. package/esm/objects/cli/commands/confirm-upload.d.ts +0 -8
  207. package/esm/objects/cli/commands/confirm-upload.js +0 -34
  208. package/esm/public/cli/commands/confirm-upload.d.ts +0 -8
  209. package/esm/public/cli/commands/confirm-upload.js +0 -34
  210. package/objects/cli/commands/confirm-upload.d.ts +0 -8
  211. package/objects/cli/commands/confirm-upload.js +0 -36
  212. package/public/cli/commands/confirm-upload.d.ts +0 -8
  213. package/public/cli/commands/confirm-upload.js +0 -36
@@ -325,21 +325,27 @@ export interface AppOwnerGrant {
325
325
  createdAt?: string | null;
326
326
  updatedAt?: string | null;
327
327
  }
328
- /** Default maximum values for each named limit, applied when no per-actor override exists */
329
- export interface AppLimitDefault {
328
+ /** Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually */
329
+ export interface AppAchievement {
330
330
  id: string;
331
- /** Name identifier of the limit this default applies to */
331
+ actorId?: string | null;
332
+ /** Name identifier of the level requirement being tracked */
332
333
  name?: string | null;
333
- /** Default maximum usage allowed for this limit */
334
- max?: number | null;
334
+ /** Cumulative count of completed steps toward this requirement */
335
+ count?: number | null;
336
+ createdAt?: string | null;
337
+ updatedAt?: string | null;
335
338
  }
336
- /** Default maximum values for each named limit, applied when no per-actor override exists */
337
- export interface OrgLimitDefault {
339
+ /** Log of individual user actions toward level requirements; every single step ever taken is recorded here */
340
+ export interface AppStep {
338
341
  id: string;
339
- /** Name identifier of the limit this default applies to */
342
+ actorId?: string | null;
343
+ /** Name identifier of the level requirement this step fulfills */
340
344
  name?: string | null;
341
- /** Default maximum usage allowed for this limit */
342
- max?: number | null;
345
+ /** Number of units completed in this step action */
346
+ count?: number | null;
347
+ createdAt?: string | null;
348
+ updatedAt?: string | null;
343
349
  }
344
350
  /** Records of admin role grants and revocations between members */
345
351
  export interface OrgAdminGrant {
@@ -367,51 +373,40 @@ export interface OrgOwnerGrant {
367
373
  createdAt?: string | null;
368
374
  updatedAt?: string | null;
369
375
  }
370
- /** Tracks per-actor usage counts against configurable maximum limits */
371
- export interface AppLimit {
372
- id: string;
373
- /** Name identifier of the limit being tracked */
376
+ /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
377
+ export interface MembershipType {
378
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
379
+ id: number;
380
+ /** Human-readable name of the membership type */
374
381
  name?: string | null;
375
- /** User whose usage is being tracked against this limit */
376
- actorId?: string | null;
377
- /** Current usage count for this actor and limit */
378
- num?: number | null;
379
- /** Maximum allowed usage; NULL means use the default limit value */
380
- max?: number | null;
382
+ /** Description of what this membership type represents */
383
+ description?: string | null;
384
+ /** Short prefix used to namespace tables and functions for this membership scope */
385
+ prefix?: string | null;
386
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
387
+ parentMembershipType?: number | null;
388
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
389
+ hasUsersTableEntry?: boolean | null;
381
390
  }
382
- /** Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually */
383
- export interface AppAchievement {
391
+ /** Default maximum values for each named limit, applied when no per-actor override exists */
392
+ export interface AppLimitDefault {
384
393
  id: string;
385
- actorId?: string | null;
386
- /** Name identifier of the level requirement being tracked */
394
+ /** Name identifier of the limit this default applies to */
387
395
  name?: string | null;
388
- /** Cumulative count of completed steps toward this requirement */
389
- count?: number | null;
390
- createdAt?: string | null;
391
- updatedAt?: string | null;
396
+ /** Default maximum usage allowed for this limit */
397
+ max?: string | null;
398
+ /** Default soft limit threshold for warnings; NULL means no soft limit */
399
+ softMax?: string | null;
392
400
  }
393
- /** Log of individual user actions toward level requirements; every single step ever taken is recorded here */
394
- export interface AppStep {
401
+ /** Default maximum values for each named limit, applied when no per-actor override exists */
402
+ export interface OrgLimitDefault {
395
403
  id: string;
396
- actorId?: string | null;
397
- /** Name identifier of the level requirement this step fulfills */
404
+ /** Name identifier of the limit this default applies to */
398
405
  name?: string | null;
399
- /** Number of units completed in this step action */
400
- count?: number | null;
401
- createdAt?: string | null;
402
- updatedAt?: string | null;
403
- }
404
- /** Records of successfully claimed invitations, linking senders to receivers */
405
- export interface AppClaimedInvite {
406
- id: string;
407
- /** Optional JSON payload captured at the time the invite was claimed */
408
- data?: Record<string, unknown> | null;
409
- /** User ID of the original invitation sender */
410
- senderId?: string | null;
411
- /** User ID of the person who claimed and redeemed the invitation */
412
- receiverId?: string | null;
413
- createdAt?: string | null;
414
- updatedAt?: string | null;
406
+ /** Default maximum usage allowed for this limit */
407
+ max?: string | null;
408
+ /** Default soft limit threshold for warnings; NULL means no soft limit */
409
+ softMax?: string | null;
415
410
  }
416
411
  /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */
417
412
  export interface OrgChartEdgeGrant {
@@ -433,33 +428,17 @@ export interface OrgChartEdgeGrant {
433
428
  /** Timestamp when this grant or revocation was recorded */
434
429
  createdAt?: string | null;
435
430
  }
436
- /** Tracks per-actor usage counts against configurable maximum limits */
437
- export interface OrgLimit {
431
+ /** Records of successfully claimed invitations, linking senders to receivers */
432
+ export interface AppClaimedInvite {
438
433
  id: string;
439
- /** Name identifier of the limit being tracked */
440
- name?: string | null;
441
- /** User whose usage is being tracked against this limit */
442
- actorId?: string | null;
443
- /** Current usage count for this actor and limit */
444
- num?: number | null;
445
- /** Maximum allowed usage; NULL means use the default limit value */
446
- max?: number | null;
447
- entityId?: string | null;
448
- }
449
- /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
450
- export interface MembershipType {
451
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
452
- id: number;
453
- /** Human-readable name of the membership type */
454
- name?: string | null;
455
- /** Description of what this membership type represents */
456
- description?: string | null;
457
- /** Short prefix used to namespace tables and functions for this membership scope */
458
- prefix?: string | null;
459
- /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
460
- parentMembershipType?: number | null;
461
- /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
462
- hasUsersTableEntry?: boolean | null;
434
+ /** Optional JSON payload captured at the time the invite was claimed */
435
+ data?: Record<string, unknown> | null;
436
+ /** User ID of the original invitation sender */
437
+ senderId?: string | null;
438
+ /** User ID of the person who claimed and redeemed the invitation */
439
+ receiverId?: string | null;
440
+ createdAt?: string | null;
441
+ updatedAt?: string | null;
463
442
  }
464
443
  /** Records of individual permission grants and revocations for members via bitmask */
465
444
  export interface AppGrant {
@@ -511,6 +490,48 @@ export interface OrgClaimedInvite {
511
490
  updatedAt?: string | null;
512
491
  entityId?: string | null;
513
492
  }
493
+ /** Append-only log of limit events for historical reporting and audit */
494
+ export interface AppLimitEvent {
495
+ /** Limit name this event applies to */
496
+ name?: string | null;
497
+ /** User who triggered this event; NULL for system/aggregate events */
498
+ actorId?: string | null;
499
+ /** Entity this event applies to; NULL for app-level events */
500
+ entityId?: string | null;
501
+ /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
502
+ eventType?: string | null;
503
+ /** Change amount: positive for increment, negative for decrement */
504
+ delta?: string | null;
505
+ /** Usage count before this event */
506
+ numBefore?: string | null;
507
+ /** Usage count after this event */
508
+ numAfter?: string | null;
509
+ /** Max limit ceiling at the time of this event */
510
+ maxAtEvent?: string | null;
511
+ /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
512
+ reason?: string | null;
513
+ }
514
+ /** Append-only log of limit events for historical reporting and audit */
515
+ export interface OrgLimitEvent {
516
+ /** Limit name this event applies to */
517
+ name?: string | null;
518
+ /** User who triggered this event; NULL for system/aggregate events */
519
+ actorId?: string | null;
520
+ /** Entity this event applies to; NULL for app-level events */
521
+ entityId?: string | null;
522
+ /** Event type: inc, dec, check, modify, transfer, apply_plan, reset */
523
+ eventType?: string | null;
524
+ /** Change amount: positive for increment, negative for decrement */
525
+ delta?: string | null;
526
+ /** Usage count before this event */
527
+ numBefore?: string | null;
528
+ /** Usage count after this event */
529
+ numAfter?: string | null;
530
+ /** Max limit ceiling at the time of this event */
531
+ maxAtEvent?: string | null;
532
+ /** Optional reason or source: achievement, invite, plan_change, purchase, etc. */
533
+ reason?: string | null;
534
+ }
514
535
  /** Records of individual permission grants and revocations for members via bitmask */
515
536
  export interface OrgGrant {
516
537
  id: string;
@@ -542,6 +563,42 @@ export interface OrgChartEdge {
542
563
  /** Numeric seniority level for this position (higher = more senior) */
543
564
  positionLevel?: number | null;
544
565
  }
566
+ /** Tracks per-actor usage counts against configurable maximum limits */
567
+ export interface AppLimit {
568
+ id: string;
569
+ /** Name identifier of the limit being tracked */
570
+ name?: string | null;
571
+ /** User whose usage is being tracked against this limit */
572
+ actorId?: string | null;
573
+ /** Current usage count for this actor and limit */
574
+ num?: string | null;
575
+ /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
576
+ max?: string | null;
577
+ /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
578
+ softMax?: string | null;
579
+ /** Start of the current metering window; NULL means no time window */
580
+ windowStart?: string | null;
581
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
582
+ windowDuration?: string | null;
583
+ }
584
+ /** Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown) */
585
+ export interface OrgLimitAggregate {
586
+ id: string;
587
+ /** Name identifier of the aggregate limit being tracked */
588
+ name?: string | null;
589
+ /** Entity (org) whose aggregate usage is being tracked */
590
+ entityId?: string | null;
591
+ /** Current aggregate usage count for this entity and limit */
592
+ num?: string | null;
593
+ /** Maximum allowed aggregate usage; negative means unlimited */
594
+ max?: string | null;
595
+ /** Soft limit threshold for warnings; NULL means no soft limit */
596
+ softMax?: string | null;
597
+ /** Start of the current metering window; NULL means no time window */
598
+ windowStart?: string | null;
599
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
600
+ windowDuration?: string | null;
601
+ }
545
602
  /** Per-membership profile information visible to other entity members (display name, email, title, bio, avatar) */
546
603
  export interface OrgMemberProfile {
547
604
  id: string;
@@ -564,27 +621,24 @@ export interface OrgMemberProfile {
564
621
  /** Profile picture visible to other entity members */
565
622
  profilePicture?: ConstructiveInternalTypeImage | null;
566
623
  }
567
- /** Per-entity settings for the memberships module */
568
- export interface OrgMembershipSetting {
624
+ /** Tracks per-actor usage counts against configurable maximum limits */
625
+ export interface OrgLimit {
569
626
  id: string;
570
- createdAt?: string | null;
571
- updatedAt?: string | null;
572
- createdBy?: string | null;
573
- updatedBy?: string | null;
574
- /** References the entity these settings apply to */
627
+ /** Name identifier of the limit being tracked */
628
+ name?: string | null;
629
+ /** User whose usage is being tracked against this limit */
630
+ actorId?: string | null;
631
+ /** Current usage count for this actor and limit */
632
+ num?: string | null;
633
+ /** Maximum allowed usage; negative means unlimited. Modified by plans, credits, and achievements. */
634
+ max?: string | null;
635
+ /** Soft limit threshold for warnings; NULL means no soft limit. When num >= soft_max, consumers should warn but still allow until max is reached. */
636
+ softMax?: string | null;
637
+ /** Start of the current metering window; NULL means no time window */
638
+ windowStart?: string | null;
639
+ /** Duration of the metering window (e.g. 1 day, 1 month); NULL means no time window */
640
+ windowDuration?: string | null;
575
641
  entityId?: string | null;
576
- /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
577
- deleteMemberCascadeChildren?: boolean | null;
578
- /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
579
- createChildCascadeOwners?: boolean | null;
580
- /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
581
- createChildCascadeAdmins?: boolean | null;
582
- /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
583
- createChildCascadeMembers?: boolean | null;
584
- /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
585
- allowExternalMembers?: boolean | null;
586
- /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
587
- populateMemberEmail?: boolean | null;
588
642
  }
589
643
  /** Defines available levels that users can achieve by completing requirements */
590
644
  export interface AppLevel {
@@ -619,11 +673,39 @@ export interface AppInvite {
619
673
  multiple?: boolean | null;
620
674
  /** Optional JSON payload of additional invite metadata */
621
675
  data?: Record<string, unknown> | null;
676
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
677
+ profileId?: string | null;
622
678
  /** Timestamp after which this invitation can no longer be redeemed */
623
679
  expiresAt?: string | null;
624
680
  createdAt?: string | null;
625
681
  updatedAt?: string | null;
626
682
  }
683
+ /** Per-entity settings for the memberships module */
684
+ export interface OrgMembershipSetting {
685
+ id: string;
686
+ createdAt?: string | null;
687
+ updatedAt?: string | null;
688
+ createdBy?: string | null;
689
+ updatedBy?: string | null;
690
+ /** References the entity these settings apply to */
691
+ entityId?: string | null;
692
+ /** When a member is deleted, whether to cascade-remove their descendant-entity memberships */
693
+ deleteMemberCascadeChildren?: boolean | null;
694
+ /** When a child entity is created, whether to auto-add existing org-level owners as child-entity owners */
695
+ createChildCascadeOwners?: boolean | null;
696
+ /** When a child entity is created, whether to auto-add existing org-level admins as child-entity admins */
697
+ createChildCascadeAdmins?: boolean | null;
698
+ /** When a child entity is created, whether to auto-add existing org-level members (non-admin, non-owner) as child-entity members */
699
+ createChildCascadeMembers?: boolean | null;
700
+ /** Whether descendants of this org may admit members who are not already org members (outside-collaborators toggle) */
701
+ allowExternalMembers?: boolean | null;
702
+ /** Controls how profile assignment on invites is validated: strict (permission + subset check), permission_only (permission only), or subset_only (subset check only) */
703
+ inviteProfileAssignmentMode?: string | null;
704
+ /** Whether member_profiles.email is snapshot on join and kept synced with the user's primary email. When FALSE, the email field is left blank and never synced from the user's primary email. */
705
+ populateMemberEmail?: boolean | null;
706
+ /** Allocation mode for sub-entity limits: pooled (shared parent cap, no per-entity budgets) or budgeted (explicit per-entity allocations, transfer enabled) */
707
+ limitAllocationMode?: string | null;
708
+ }
627
709
  /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
628
710
  export interface OrgInvite {
629
711
  id: string;
@@ -645,6 +727,8 @@ export interface OrgInvite {
645
727
  multiple?: boolean | null;
646
728
  /** Optional JSON payload of additional invite metadata */
647
729
  data?: Record<string, unknown> | null;
730
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
731
+ profileId?: string | null;
648
732
  /** Timestamp after which this invitation can no longer be redeemed */
649
733
  expiresAt?: string | null;
650
734
  createdAt?: string | null;
@@ -668,8 +752,6 @@ export interface AppMembership {
668
752
  isVerified?: boolean | null;
669
753
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
670
754
  isActive?: boolean | null;
671
- /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
672
- isExternal?: boolean | null;
673
755
  /** Whether the actor is the owner of this entity */
674
756
  isOwner?: boolean | null;
675
757
  /** Whether the actor has admin privileges on this entity */
@@ -746,27 +828,23 @@ export interface AppAdminGrantRelations {
746
828
  }
747
829
  export interface AppOwnerGrantRelations {
748
830
  }
749
- export interface AppLimitDefaultRelations {
831
+ export interface AppAchievementRelations {
750
832
  }
751
- export interface OrgLimitDefaultRelations {
833
+ export interface AppStepRelations {
752
834
  }
753
835
  export interface OrgAdminGrantRelations {
754
836
  }
755
837
  export interface OrgOwnerGrantRelations {
756
838
  }
757
- export interface AppLimitRelations {
758
- }
759
- export interface AppAchievementRelations {
839
+ export interface MembershipTypeRelations {
760
840
  }
761
- export interface AppStepRelations {
841
+ export interface AppLimitDefaultRelations {
762
842
  }
763
- export interface AppClaimedInviteRelations {
843
+ export interface OrgLimitDefaultRelations {
764
844
  }
765
845
  export interface OrgChartEdgeGrantRelations {
766
846
  }
767
- export interface OrgLimitRelations {
768
- }
769
- export interface MembershipTypeRelations {
847
+ export interface AppClaimedInviteRelations {
770
848
  }
771
849
  export interface AppGrantRelations {
772
850
  }
@@ -776,19 +854,29 @@ export interface OrgMembershipDefaultRelations {
776
854
  }
777
855
  export interface OrgClaimedInviteRelations {
778
856
  }
857
+ export interface AppLimitEventRelations {
858
+ }
859
+ export interface OrgLimitEventRelations {
860
+ }
779
861
  export interface OrgGrantRelations {
780
862
  }
781
863
  export interface OrgChartEdgeRelations {
782
864
  }
865
+ export interface AppLimitRelations {
866
+ }
867
+ export interface OrgLimitAggregateRelations {
868
+ }
783
869
  export interface OrgMemberProfileRelations {
784
870
  membership?: OrgMembership | null;
785
871
  }
786
- export interface OrgMembershipSettingRelations {
872
+ export interface OrgLimitRelations {
787
873
  }
788
874
  export interface AppLevelRelations {
789
875
  }
790
876
  export interface AppInviteRelations {
791
877
  }
878
+ export interface OrgMembershipSettingRelations {
879
+ }
792
880
  export interface OrgInviteRelations {
793
881
  }
794
882
  export interface AppMembershipRelations {
@@ -806,27 +894,30 @@ export type AppPermissionDefaultWithRelations = AppPermissionDefault & AppPermis
806
894
  export type OrgPermissionDefaultWithRelations = OrgPermissionDefault & OrgPermissionDefaultRelations;
807
895
  export type AppAdminGrantWithRelations = AppAdminGrant & AppAdminGrantRelations;
808
896
  export type AppOwnerGrantWithRelations = AppOwnerGrant & AppOwnerGrantRelations;
809
- export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
810
- export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
811
- export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations;
812
- export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations;
813
- export type AppLimitWithRelations = AppLimit & AppLimitRelations;
814
897
  export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations;
815
898
  export type AppStepWithRelations = AppStep & AppStepRelations;
816
- export type AppClaimedInviteWithRelations = AppClaimedInvite & AppClaimedInviteRelations;
817
- export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations;
818
- export type OrgLimitWithRelations = OrgLimit & OrgLimitRelations;
899
+ export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations;
900
+ export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations;
819
901
  export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
902
+ export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
903
+ export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
904
+ export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations;
905
+ export type AppClaimedInviteWithRelations = AppClaimedInvite & AppClaimedInviteRelations;
820
906
  export type AppGrantWithRelations = AppGrant & AppGrantRelations;
821
907
  export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations;
822
908
  export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations;
823
909
  export type OrgClaimedInviteWithRelations = OrgClaimedInvite & OrgClaimedInviteRelations;
910
+ export type AppLimitEventWithRelations = AppLimitEvent & AppLimitEventRelations;
911
+ export type OrgLimitEventWithRelations = OrgLimitEvent & OrgLimitEventRelations;
824
912
  export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations;
825
913
  export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations;
914
+ export type AppLimitWithRelations = AppLimit & AppLimitRelations;
915
+ export type OrgLimitAggregateWithRelations = OrgLimitAggregate & OrgLimitAggregateRelations;
826
916
  export type OrgMemberProfileWithRelations = OrgMemberProfile & OrgMemberProfileRelations;
827
- export type OrgMembershipSettingWithRelations = OrgMembershipSetting & OrgMembershipSettingRelations;
917
+ export type OrgLimitWithRelations = OrgLimit & OrgLimitRelations;
828
918
  export type AppLevelWithRelations = AppLevel & AppLevelRelations;
829
919
  export type AppInviteWithRelations = AppInvite & AppInviteRelations;
920
+ export type OrgMembershipSettingWithRelations = OrgMembershipSetting & OrgMembershipSettingRelations;
830
921
  export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
831
922
  export type AppMembershipWithRelations = AppMembership & AppMembershipRelations;
832
923
  export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations;
@@ -893,15 +984,21 @@ export type AppOwnerGrantSelect = {
893
984
  createdAt?: boolean;
894
985
  updatedAt?: boolean;
895
986
  };
896
- export type AppLimitDefaultSelect = {
987
+ export type AppAchievementSelect = {
897
988
  id?: boolean;
989
+ actorId?: boolean;
898
990
  name?: boolean;
899
- max?: boolean;
991
+ count?: boolean;
992
+ createdAt?: boolean;
993
+ updatedAt?: boolean;
900
994
  };
901
- export type OrgLimitDefaultSelect = {
995
+ export type AppStepSelect = {
902
996
  id?: boolean;
997
+ actorId?: boolean;
903
998
  name?: boolean;
904
- max?: boolean;
999
+ count?: boolean;
1000
+ createdAt?: boolean;
1001
+ updatedAt?: boolean;
905
1002
  };
906
1003
  export type OrgAdminGrantSelect = {
907
1004
  id?: boolean;
@@ -921,36 +1018,25 @@ export type OrgOwnerGrantSelect = {
921
1018
  createdAt?: boolean;
922
1019
  updatedAt?: boolean;
923
1020
  };
924
- export type AppLimitSelect = {
1021
+ export type MembershipTypeSelect = {
1022
+ id?: boolean;
1023
+ name?: boolean;
1024
+ description?: boolean;
1025
+ prefix?: boolean;
1026
+ parentMembershipType?: boolean;
1027
+ hasUsersTableEntry?: boolean;
1028
+ };
1029
+ export type AppLimitDefaultSelect = {
925
1030
  id?: boolean;
926
1031
  name?: boolean;
927
- actorId?: boolean;
928
- num?: boolean;
929
1032
  max?: boolean;
1033
+ softMax?: boolean;
930
1034
  };
931
- export type AppAchievementSelect = {
1035
+ export type OrgLimitDefaultSelect = {
932
1036
  id?: boolean;
933
- actorId?: boolean;
934
1037
  name?: boolean;
935
- count?: boolean;
936
- createdAt?: boolean;
937
- updatedAt?: boolean;
938
- };
939
- export type AppStepSelect = {
940
- id?: boolean;
941
- actorId?: boolean;
942
- name?: boolean;
943
- count?: boolean;
944
- createdAt?: boolean;
945
- updatedAt?: boolean;
946
- };
947
- export type AppClaimedInviteSelect = {
948
- id?: boolean;
949
- data?: boolean;
950
- senderId?: boolean;
951
- receiverId?: boolean;
952
- createdAt?: boolean;
953
- updatedAt?: boolean;
1038
+ max?: boolean;
1039
+ softMax?: boolean;
954
1040
  };
955
1041
  export type OrgChartEdgeGrantSelect = {
956
1042
  id?: boolean;
@@ -963,21 +1049,13 @@ export type OrgChartEdgeGrantSelect = {
963
1049
  positionLevel?: boolean;
964
1050
  createdAt?: boolean;
965
1051
  };
966
- export type OrgLimitSelect = {
967
- id?: boolean;
968
- name?: boolean;
969
- actorId?: boolean;
970
- num?: boolean;
971
- max?: boolean;
972
- entityId?: boolean;
973
- };
974
- export type MembershipTypeSelect = {
1052
+ export type AppClaimedInviteSelect = {
975
1053
  id?: boolean;
976
- name?: boolean;
977
- description?: boolean;
978
- prefix?: boolean;
979
- parentMembershipType?: boolean;
980
- hasUsersTableEntry?: boolean;
1054
+ data?: boolean;
1055
+ senderId?: boolean;
1056
+ receiverId?: boolean;
1057
+ createdAt?: boolean;
1058
+ updatedAt?: boolean;
981
1059
  };
982
1060
  export type AppGrantSelect = {
983
1061
  id?: boolean;
@@ -1015,6 +1093,28 @@ export type OrgClaimedInviteSelect = {
1015
1093
  updatedAt?: boolean;
1016
1094
  entityId?: boolean;
1017
1095
  };
1096
+ export type AppLimitEventSelect = {
1097
+ name?: boolean;
1098
+ actorId?: boolean;
1099
+ entityId?: boolean;
1100
+ eventType?: boolean;
1101
+ delta?: boolean;
1102
+ numBefore?: boolean;
1103
+ numAfter?: boolean;
1104
+ maxAtEvent?: boolean;
1105
+ reason?: boolean;
1106
+ };
1107
+ export type OrgLimitEventSelect = {
1108
+ name?: boolean;
1109
+ actorId?: boolean;
1110
+ entityId?: boolean;
1111
+ eventType?: boolean;
1112
+ delta?: boolean;
1113
+ numBefore?: boolean;
1114
+ numAfter?: boolean;
1115
+ maxAtEvent?: boolean;
1116
+ reason?: boolean;
1117
+ };
1018
1118
  export type OrgGrantSelect = {
1019
1119
  id?: boolean;
1020
1120
  permissions?: boolean;
@@ -1035,6 +1135,26 @@ export type OrgChartEdgeSelect = {
1035
1135
  positionTitle?: boolean;
1036
1136
  positionLevel?: boolean;
1037
1137
  };
1138
+ export type AppLimitSelect = {
1139
+ id?: boolean;
1140
+ name?: boolean;
1141
+ actorId?: boolean;
1142
+ num?: boolean;
1143
+ max?: boolean;
1144
+ softMax?: boolean;
1145
+ windowStart?: boolean;
1146
+ windowDuration?: boolean;
1147
+ };
1148
+ export type OrgLimitAggregateSelect = {
1149
+ id?: boolean;
1150
+ name?: boolean;
1151
+ entityId?: boolean;
1152
+ num?: boolean;
1153
+ max?: boolean;
1154
+ softMax?: boolean;
1155
+ windowStart?: boolean;
1156
+ windowDuration?: boolean;
1157
+ };
1038
1158
  export type OrgMemberProfileSelect = {
1039
1159
  id?: boolean;
1040
1160
  createdAt?: boolean;
@@ -1051,19 +1171,16 @@ export type OrgMemberProfileSelect = {
1051
1171
  select: OrgMembershipSelect;
1052
1172
  };
1053
1173
  };
1054
- export type OrgMembershipSettingSelect = {
1174
+ export type OrgLimitSelect = {
1055
1175
  id?: boolean;
1056
- createdAt?: boolean;
1057
- updatedAt?: boolean;
1058
- createdBy?: boolean;
1059
- updatedBy?: boolean;
1176
+ name?: boolean;
1177
+ actorId?: boolean;
1178
+ num?: boolean;
1179
+ max?: boolean;
1180
+ softMax?: boolean;
1181
+ windowStart?: boolean;
1182
+ windowDuration?: boolean;
1060
1183
  entityId?: boolean;
1061
- deleteMemberCascadeChildren?: boolean;
1062
- createChildCascadeOwners?: boolean;
1063
- createChildCascadeAdmins?: boolean;
1064
- createChildCascadeMembers?: boolean;
1065
- allowExternalMembers?: boolean;
1066
- populateMemberEmail?: boolean;
1067
1184
  };
1068
1185
  export type AppLevelSelect = {
1069
1186
  id?: boolean;
@@ -1084,10 +1201,27 @@ export type AppInviteSelect = {
1084
1201
  inviteCount?: boolean;
1085
1202
  multiple?: boolean;
1086
1203
  data?: boolean;
1204
+ profileId?: boolean;
1087
1205
  expiresAt?: boolean;
1088
1206
  createdAt?: boolean;
1089
1207
  updatedAt?: boolean;
1090
1208
  };
1209
+ export type OrgMembershipSettingSelect = {
1210
+ id?: boolean;
1211
+ createdAt?: boolean;
1212
+ updatedAt?: boolean;
1213
+ createdBy?: boolean;
1214
+ updatedBy?: boolean;
1215
+ entityId?: boolean;
1216
+ deleteMemberCascadeChildren?: boolean;
1217
+ createChildCascadeOwners?: boolean;
1218
+ createChildCascadeAdmins?: boolean;
1219
+ createChildCascadeMembers?: boolean;
1220
+ allowExternalMembers?: boolean;
1221
+ inviteProfileAssignmentMode?: boolean;
1222
+ populateMemberEmail?: boolean;
1223
+ limitAllocationMode?: boolean;
1224
+ };
1091
1225
  export type OrgInviteSelect = {
1092
1226
  id?: boolean;
1093
1227
  email?: boolean;
@@ -1099,6 +1233,7 @@ export type OrgInviteSelect = {
1099
1233
  inviteCount?: boolean;
1100
1234
  multiple?: boolean;
1101
1235
  data?: boolean;
1236
+ profileId?: boolean;
1102
1237
  expiresAt?: boolean;
1103
1238
  createdAt?: boolean;
1104
1239
  updatedAt?: boolean;
@@ -1115,7 +1250,6 @@ export type AppMembershipSelect = {
1115
1250
  isDisabled?: boolean;
1116
1251
  isVerified?: boolean;
1117
1252
  isActive?: boolean;
1118
- isExternal?: boolean;
1119
1253
  isOwner?: boolean;
1120
1254
  isAdmin?: boolean;
1121
1255
  permissions?: boolean;
@@ -1302,33 +1436,45 @@ export interface AppOwnerGrantFilter {
1302
1436
  /** Negates the expression. */
1303
1437
  not?: AppOwnerGrantFilter;
1304
1438
  }
1305
- export interface AppLimitDefaultFilter {
1439
+ export interface AppAchievementFilter {
1306
1440
  /** Filter by the object’s `id` field. */
1307
1441
  id?: UUIDFilter;
1442
+ /** Filter by the object’s `actorId` field. */
1443
+ actorId?: UUIDFilter;
1308
1444
  /** Filter by the object’s `name` field. */
1309
1445
  name?: StringFilter;
1310
- /** Filter by the object’s `max` field. */
1311
- max?: IntFilter;
1446
+ /** Filter by the object’s `count` field. */
1447
+ count?: IntFilter;
1448
+ /** Filter by the object’s `createdAt` field. */
1449
+ createdAt?: DatetimeFilter;
1450
+ /** Filter by the object’s `updatedAt` field. */
1451
+ updatedAt?: DatetimeFilter;
1312
1452
  /** Checks for all expressions in this list. */
1313
- and?: AppLimitDefaultFilter[];
1453
+ and?: AppAchievementFilter[];
1314
1454
  /** Checks for any expressions in this list. */
1315
- or?: AppLimitDefaultFilter[];
1455
+ or?: AppAchievementFilter[];
1316
1456
  /** Negates the expression. */
1317
- not?: AppLimitDefaultFilter;
1457
+ not?: AppAchievementFilter;
1318
1458
  }
1319
- export interface OrgLimitDefaultFilter {
1459
+ export interface AppStepFilter {
1320
1460
  /** Filter by the object’s `id` field. */
1321
1461
  id?: UUIDFilter;
1462
+ /** Filter by the object’s `actorId` field. */
1463
+ actorId?: UUIDFilter;
1322
1464
  /** Filter by the object’s `name` field. */
1323
1465
  name?: StringFilter;
1324
- /** Filter by the object’s `max` field. */
1325
- max?: IntFilter;
1466
+ /** Filter by the object’s `count` field. */
1467
+ count?: IntFilter;
1468
+ /** Filter by the object’s `createdAt` field. */
1469
+ createdAt?: DatetimeFilter;
1470
+ /** Filter by the object’s `updatedAt` field. */
1471
+ updatedAt?: DatetimeFilter;
1326
1472
  /** Checks for all expressions in this list. */
1327
- and?: OrgLimitDefaultFilter[];
1473
+ and?: AppStepFilter[];
1328
1474
  /** Checks for any expressions in this list. */
1329
- or?: OrgLimitDefaultFilter[];
1475
+ or?: AppStepFilter[];
1330
1476
  /** Negates the expression. */
1331
- not?: OrgLimitDefaultFilter;
1477
+ not?: AppStepFilter;
1332
1478
  }
1333
1479
  export interface OrgAdminGrantFilter {
1334
1480
  /** Filter by the object’s `id` field. */
@@ -1374,81 +1520,57 @@ export interface OrgOwnerGrantFilter {
1374
1520
  /** Negates the expression. */
1375
1521
  not?: OrgOwnerGrantFilter;
1376
1522
  }
1377
- export interface AppLimitFilter {
1523
+ export interface MembershipTypeFilter {
1378
1524
  /** Filter by the object’s `id` field. */
1379
- id?: UUIDFilter;
1525
+ id?: IntFilter;
1380
1526
  /** Filter by the object’s `name` field. */
1381
1527
  name?: StringFilter;
1382
- /** Filter by the object’s `actorId` field. */
1383
- actorId?: UUIDFilter;
1384
- /** Filter by the object’s `num` field. */
1385
- num?: IntFilter;
1386
- /** Filter by the object’s `max` field. */
1387
- max?: IntFilter;
1528
+ /** Filter by the object’s `description` field. */
1529
+ description?: StringFilter;
1530
+ /** Filter by the object’s `prefix` field. */
1531
+ prefix?: StringFilter;
1532
+ /** Filter by the object’s `parentMembershipType` field. */
1533
+ parentMembershipType?: IntFilter;
1534
+ /** Filter by the object’s `hasUsersTableEntry` field. */
1535
+ hasUsersTableEntry?: BooleanFilter;
1388
1536
  /** Checks for all expressions in this list. */
1389
- and?: AppLimitFilter[];
1537
+ and?: MembershipTypeFilter[];
1390
1538
  /** Checks for any expressions in this list. */
1391
- or?: AppLimitFilter[];
1539
+ or?: MembershipTypeFilter[];
1392
1540
  /** Negates the expression. */
1393
- not?: AppLimitFilter;
1541
+ not?: MembershipTypeFilter;
1394
1542
  }
1395
- export interface AppAchievementFilter {
1543
+ export interface AppLimitDefaultFilter {
1396
1544
  /** Filter by the object’s `id` field. */
1397
1545
  id?: UUIDFilter;
1398
- /** Filter by the object’s `actorId` field. */
1399
- actorId?: UUIDFilter;
1400
1546
  /** Filter by the object’s `name` field. */
1401
1547
  name?: StringFilter;
1402
- /** Filter by the object’s `count` field. */
1403
- count?: IntFilter;
1404
- /** Filter by the object’s `createdAt` field. */
1405
- createdAt?: DatetimeFilter;
1406
- /** Filter by the object’s `updatedAt` field. */
1407
- updatedAt?: DatetimeFilter;
1548
+ /** Filter by the object’s `max` field. */
1549
+ max?: BigIntFilter;
1550
+ /** Filter by the object’s `softMax` field. */
1551
+ softMax?: BigIntFilter;
1408
1552
  /** Checks for all expressions in this list. */
1409
- and?: AppAchievementFilter[];
1553
+ and?: AppLimitDefaultFilter[];
1410
1554
  /** Checks for any expressions in this list. */
1411
- or?: AppAchievementFilter[];
1555
+ or?: AppLimitDefaultFilter[];
1412
1556
  /** Negates the expression. */
1413
- not?: AppAchievementFilter;
1557
+ not?: AppLimitDefaultFilter;
1414
1558
  }
1415
- export interface AppStepFilter {
1559
+ export interface OrgLimitDefaultFilter {
1416
1560
  /** Filter by the object’s `id` field. */
1417
1561
  id?: UUIDFilter;
1418
- /** Filter by the object’s `actorId` field. */
1419
- actorId?: UUIDFilter;
1420
1562
  /** Filter by the object’s `name` field. */
1421
1563
  name?: StringFilter;
1422
- /** Filter by the object’s `count` field. */
1423
- count?: IntFilter;
1424
- /** Filter by the object’s `createdAt` field. */
1425
- createdAt?: DatetimeFilter;
1426
- /** Filter by the object’s `updatedAt` field. */
1427
- updatedAt?: DatetimeFilter;
1428
- /** Checks for all expressions in this list. */
1429
- and?: AppStepFilter[];
1430
- /** Checks for any expressions in this list. */
1431
- or?: AppStepFilter[];
1432
- /** Negates the expression. */
1433
- not?: AppStepFilter;
1434
- }
1435
- export interface AppClaimedInviteFilter {
1436
- /** Filter by the object’s `id` field. */
1437
- id?: UUIDFilter;
1438
- /** Filter by the object’s `senderId` field. */
1439
- senderId?: UUIDFilter;
1440
- /** Filter by the object’s `receiverId` field. */
1441
- receiverId?: UUIDFilter;
1442
- /** Filter by the object’s `createdAt` field. */
1443
- createdAt?: DatetimeFilter;
1444
- /** Filter by the object’s `updatedAt` field. */
1445
- updatedAt?: DatetimeFilter;
1564
+ /** Filter by the object’s `max` field. */
1565
+ max?: BigIntFilter;
1566
+ /** Filter by the object’s `softMax` field. */
1567
+ softMax?: BigIntFilter;
1446
1568
  /** Checks for all expressions in this list. */
1447
- and?: AppClaimedInviteFilter[];
1569
+ and?: OrgLimitDefaultFilter[];
1448
1570
  /** Checks for any expressions in this list. */
1449
- or?: AppClaimedInviteFilter[];
1571
+ or?: OrgLimitDefaultFilter[];
1450
1572
  /** Negates the expression. */
1451
- not?: AppClaimedInviteFilter;
1573
+ not?: OrgLimitDefaultFilter;
1452
1574
  }
1453
1575
  export interface OrgChartEdgeGrantFilter {
1454
1576
  /** Filter by the object’s `id` field. */
@@ -1476,45 +1598,23 @@ export interface OrgChartEdgeGrantFilter {
1476
1598
  /** Negates the expression. */
1477
1599
  not?: OrgChartEdgeGrantFilter;
1478
1600
  }
1479
- export interface OrgLimitFilter {
1601
+ export interface AppClaimedInviteFilter {
1480
1602
  /** Filter by the object’s `id` field. */
1481
1603
  id?: UUIDFilter;
1482
- /** Filter by the object’s `name` field. */
1483
- name?: StringFilter;
1484
- /** Filter by the object’s `actorId` field. */
1485
- actorId?: UUIDFilter;
1486
- /** Filter by the object’s `num` field. */
1487
- num?: IntFilter;
1488
- /** Filter by the object’s `max` field. */
1489
- max?: IntFilter;
1490
- /** Filter by the object’s `entityId` field. */
1491
- entityId?: UUIDFilter;
1492
- /** Checks for all expressions in this list. */
1493
- and?: OrgLimitFilter[];
1494
- /** Checks for any expressions in this list. */
1495
- or?: OrgLimitFilter[];
1496
- /** Negates the expression. */
1497
- not?: OrgLimitFilter;
1498
- }
1499
- export interface MembershipTypeFilter {
1500
- /** Filter by the object’s `id` field. */
1501
- id?: IntFilter;
1502
- /** Filter by the object’s `name` field. */
1503
- name?: StringFilter;
1504
- /** Filter by the object’s `description` field. */
1505
- description?: StringFilter;
1506
- /** Filter by the object’s `prefix` field. */
1507
- prefix?: StringFilter;
1508
- /** Filter by the object’s `parentMembershipType` field. */
1509
- parentMembershipType?: IntFilter;
1510
- /** Filter by the object’s `hasUsersTableEntry` field. */
1511
- hasUsersTableEntry?: BooleanFilter;
1604
+ /** Filter by the object’s `senderId` field. */
1605
+ senderId?: UUIDFilter;
1606
+ /** Filter by the object’s `receiverId` field. */
1607
+ receiverId?: UUIDFilter;
1608
+ /** Filter by the object’s `createdAt` field. */
1609
+ createdAt?: DatetimeFilter;
1610
+ /** Filter by the object’s `updatedAt` field. */
1611
+ updatedAt?: DatetimeFilter;
1512
1612
  /** Checks for all expressions in this list. */
1513
- and?: MembershipTypeFilter[];
1613
+ and?: AppClaimedInviteFilter[];
1514
1614
  /** Checks for any expressions in this list. */
1515
- or?: MembershipTypeFilter[];
1615
+ or?: AppClaimedInviteFilter[];
1516
1616
  /** Negates the expression. */
1517
- not?: MembershipTypeFilter;
1617
+ not?: AppClaimedInviteFilter;
1518
1618
  }
1519
1619
  export interface AppGrantFilter {
1520
1620
  /** Filter by the object’s `id` field. */
@@ -1602,19 +1702,71 @@ export interface OrgClaimedInviteFilter {
1602
1702
  /** Negates the expression. */
1603
1703
  not?: OrgClaimedInviteFilter;
1604
1704
  }
1605
- export interface OrgGrantFilter {
1606
- /** Filter by the object’s `id` field. */
1607
- id?: UUIDFilter;
1608
- /** Filter by the object’s `permissions` field. */
1609
- permissions?: BitStringFilter;
1610
- /** Filter by the object’s `isGrant` field. */
1611
- isGrant?: BooleanFilter;
1705
+ export interface AppLimitEventFilter {
1706
+ /** Filter by the object’s `name` field. */
1707
+ name?: StringFilter;
1612
1708
  /** Filter by the object’s `actorId` field. */
1613
1709
  actorId?: UUIDFilter;
1614
1710
  /** Filter by the object’s `entityId` field. */
1615
1711
  entityId?: UUIDFilter;
1616
- /** Filter by the object’s `grantorId` field. */
1617
- grantorId?: UUIDFilter;
1712
+ /** Filter by the object’s `eventType` field. */
1713
+ eventType?: StringFilter;
1714
+ /** Filter by the object’s `delta` field. */
1715
+ delta?: BigIntFilter;
1716
+ /** Filter by the object’s `numBefore` field. */
1717
+ numBefore?: BigIntFilter;
1718
+ /** Filter by the object’s `numAfter` field. */
1719
+ numAfter?: BigIntFilter;
1720
+ /** Filter by the object’s `maxAtEvent` field. */
1721
+ maxAtEvent?: BigIntFilter;
1722
+ /** Filter by the object’s `reason` field. */
1723
+ reason?: StringFilter;
1724
+ /** Checks for all expressions in this list. */
1725
+ and?: AppLimitEventFilter[];
1726
+ /** Checks for any expressions in this list. */
1727
+ or?: AppLimitEventFilter[];
1728
+ /** Negates the expression. */
1729
+ not?: AppLimitEventFilter;
1730
+ }
1731
+ export interface OrgLimitEventFilter {
1732
+ /** Filter by the object’s `name` field. */
1733
+ name?: StringFilter;
1734
+ /** Filter by the object’s `actorId` field. */
1735
+ actorId?: UUIDFilter;
1736
+ /** Filter by the object’s `entityId` field. */
1737
+ entityId?: UUIDFilter;
1738
+ /** Filter by the object’s `eventType` field. */
1739
+ eventType?: StringFilter;
1740
+ /** Filter by the object’s `delta` field. */
1741
+ delta?: BigIntFilter;
1742
+ /** Filter by the object’s `numBefore` field. */
1743
+ numBefore?: BigIntFilter;
1744
+ /** Filter by the object’s `numAfter` field. */
1745
+ numAfter?: BigIntFilter;
1746
+ /** Filter by the object’s `maxAtEvent` field. */
1747
+ maxAtEvent?: BigIntFilter;
1748
+ /** Filter by the object’s `reason` field. */
1749
+ reason?: StringFilter;
1750
+ /** Checks for all expressions in this list. */
1751
+ and?: OrgLimitEventFilter[];
1752
+ /** Checks for any expressions in this list. */
1753
+ or?: OrgLimitEventFilter[];
1754
+ /** Negates the expression. */
1755
+ not?: OrgLimitEventFilter;
1756
+ }
1757
+ export interface OrgGrantFilter {
1758
+ /** Filter by the object’s `id` field. */
1759
+ id?: UUIDFilter;
1760
+ /** Filter by the object’s `permissions` field. */
1761
+ permissions?: BitStringFilter;
1762
+ /** Filter by the object’s `isGrant` field. */
1763
+ isGrant?: BooleanFilter;
1764
+ /** Filter by the object’s `actorId` field. */
1765
+ actorId?: UUIDFilter;
1766
+ /** Filter by the object’s `entityId` field. */
1767
+ entityId?: UUIDFilter;
1768
+ /** Filter by the object’s `grantorId` field. */
1769
+ grantorId?: UUIDFilter;
1618
1770
  /** Filter by the object’s `createdAt` field. */
1619
1771
  createdAt?: DatetimeFilter;
1620
1772
  /** Filter by the object’s `updatedAt` field. */
@@ -1650,6 +1802,54 @@ export interface OrgChartEdgeFilter {
1650
1802
  /** Negates the expression. */
1651
1803
  not?: OrgChartEdgeFilter;
1652
1804
  }
1805
+ export interface AppLimitFilter {
1806
+ /** Filter by the object’s `id` field. */
1807
+ id?: UUIDFilter;
1808
+ /** Filter by the object’s `name` field. */
1809
+ name?: StringFilter;
1810
+ /** Filter by the object’s `actorId` field. */
1811
+ actorId?: UUIDFilter;
1812
+ /** Filter by the object’s `num` field. */
1813
+ num?: BigIntFilter;
1814
+ /** Filter by the object’s `max` field. */
1815
+ max?: BigIntFilter;
1816
+ /** Filter by the object’s `softMax` field. */
1817
+ softMax?: BigIntFilter;
1818
+ /** Filter by the object’s `windowStart` field. */
1819
+ windowStart?: DatetimeFilter;
1820
+ /** Filter by the object’s `windowDuration` field. */
1821
+ windowDuration?: IntervalFilter;
1822
+ /** Checks for all expressions in this list. */
1823
+ and?: AppLimitFilter[];
1824
+ /** Checks for any expressions in this list. */
1825
+ or?: AppLimitFilter[];
1826
+ /** Negates the expression. */
1827
+ not?: AppLimitFilter;
1828
+ }
1829
+ export interface OrgLimitAggregateFilter {
1830
+ /** Filter by the object’s `id` field. */
1831
+ id?: UUIDFilter;
1832
+ /** Filter by the object’s `name` field. */
1833
+ name?: StringFilter;
1834
+ /** Filter by the object’s `entityId` field. */
1835
+ entityId?: UUIDFilter;
1836
+ /** Filter by the object’s `num` field. */
1837
+ num?: BigIntFilter;
1838
+ /** Filter by the object’s `max` field. */
1839
+ max?: BigIntFilter;
1840
+ /** Filter by the object’s `softMax` field. */
1841
+ softMax?: BigIntFilter;
1842
+ /** Filter by the object’s `windowStart` field. */
1843
+ windowStart?: DatetimeFilter;
1844
+ /** Filter by the object’s `windowDuration` field. */
1845
+ windowDuration?: IntervalFilter;
1846
+ /** Checks for all expressions in this list. */
1847
+ and?: OrgLimitAggregateFilter[];
1848
+ /** Checks for any expressions in this list. */
1849
+ or?: OrgLimitAggregateFilter[];
1850
+ /** Negates the expression. */
1851
+ not?: OrgLimitAggregateFilter;
1852
+ }
1653
1853
  export interface OrgMemberProfileFilter {
1654
1854
  /** Filter by the object’s `id` field. */
1655
1855
  id?: UUIDFilter;
@@ -1682,37 +1882,31 @@ export interface OrgMemberProfileFilter {
1682
1882
  /** Filter by the object’s `membership` relation. */
1683
1883
  membership?: OrgMembershipFilter;
1684
1884
  }
1685
- export interface OrgMembershipSettingFilter {
1885
+ export interface OrgLimitFilter {
1686
1886
  /** Filter by the object’s `id` field. */
1687
1887
  id?: UUIDFilter;
1688
- /** Filter by the object’s `createdAt` field. */
1689
- createdAt?: DatetimeFilter;
1690
- /** Filter by the object’s `updatedAt` field. */
1691
- updatedAt?: DatetimeFilter;
1692
- /** Filter by the object’s `createdBy` field. */
1693
- createdBy?: UUIDFilter;
1694
- /** Filter by the object’s `updatedBy` field. */
1695
- updatedBy?: UUIDFilter;
1888
+ /** Filter by the object’s `name` field. */
1889
+ name?: StringFilter;
1890
+ /** Filter by the object’s `actorId` field. */
1891
+ actorId?: UUIDFilter;
1892
+ /** Filter by the object’s `num` field. */
1893
+ num?: BigIntFilter;
1894
+ /** Filter by the object’s `max` field. */
1895
+ max?: BigIntFilter;
1896
+ /** Filter by the object’s `softMax` field. */
1897
+ softMax?: BigIntFilter;
1898
+ /** Filter by the object’s `windowStart` field. */
1899
+ windowStart?: DatetimeFilter;
1900
+ /** Filter by the object’s `windowDuration` field. */
1901
+ windowDuration?: IntervalFilter;
1696
1902
  /** Filter by the object’s `entityId` field. */
1697
1903
  entityId?: UUIDFilter;
1698
- /** Filter by the object’s `deleteMemberCascadeChildren` field. */
1699
- deleteMemberCascadeChildren?: BooleanFilter;
1700
- /** Filter by the object’s `createChildCascadeOwners` field. */
1701
- createChildCascadeOwners?: BooleanFilter;
1702
- /** Filter by the object’s `createChildCascadeAdmins` field. */
1703
- createChildCascadeAdmins?: BooleanFilter;
1704
- /** Filter by the object’s `createChildCascadeMembers` field. */
1705
- createChildCascadeMembers?: BooleanFilter;
1706
- /** Filter by the object’s `allowExternalMembers` field. */
1707
- allowExternalMembers?: BooleanFilter;
1708
- /** Filter by the object’s `populateMemberEmail` field. */
1709
- populateMemberEmail?: BooleanFilter;
1710
1904
  /** Checks for all expressions in this list. */
1711
- and?: OrgMembershipSettingFilter[];
1905
+ and?: OrgLimitFilter[];
1712
1906
  /** Checks for any expressions in this list. */
1713
- or?: OrgMembershipSettingFilter[];
1907
+ or?: OrgLimitFilter[];
1714
1908
  /** Negates the expression. */
1715
- not?: OrgMembershipSettingFilter;
1909
+ not?: OrgLimitFilter;
1716
1910
  }
1717
1911
  export interface AppLevelFilter {
1718
1912
  /** Filter by the object’s `id` field. */
@@ -1753,6 +1947,8 @@ export interface AppInviteFilter {
1753
1947
  inviteCount?: IntFilter;
1754
1948
  /** Filter by the object’s `multiple` field. */
1755
1949
  multiple?: BooleanFilter;
1950
+ /** Filter by the object’s `profileId` field. */
1951
+ profileId?: UUIDFilter;
1756
1952
  /** Filter by the object’s `expiresAt` field. */
1757
1953
  expiresAt?: DatetimeFilter;
1758
1954
  /** Filter by the object’s `createdAt` field. */
@@ -1766,6 +1962,42 @@ export interface AppInviteFilter {
1766
1962
  /** Negates the expression. */
1767
1963
  not?: AppInviteFilter;
1768
1964
  }
1965
+ export interface OrgMembershipSettingFilter {
1966
+ /** Filter by the object’s `id` field. */
1967
+ id?: UUIDFilter;
1968
+ /** Filter by the object’s `createdAt` field. */
1969
+ createdAt?: DatetimeFilter;
1970
+ /** Filter by the object’s `updatedAt` field. */
1971
+ updatedAt?: DatetimeFilter;
1972
+ /** Filter by the object’s `createdBy` field. */
1973
+ createdBy?: UUIDFilter;
1974
+ /** Filter by the object’s `updatedBy` field. */
1975
+ updatedBy?: UUIDFilter;
1976
+ /** Filter by the object’s `entityId` field. */
1977
+ entityId?: UUIDFilter;
1978
+ /** Filter by the object’s `deleteMemberCascadeChildren` field. */
1979
+ deleteMemberCascadeChildren?: BooleanFilter;
1980
+ /** Filter by the object’s `createChildCascadeOwners` field. */
1981
+ createChildCascadeOwners?: BooleanFilter;
1982
+ /** Filter by the object’s `createChildCascadeAdmins` field. */
1983
+ createChildCascadeAdmins?: BooleanFilter;
1984
+ /** Filter by the object’s `createChildCascadeMembers` field. */
1985
+ createChildCascadeMembers?: BooleanFilter;
1986
+ /** Filter by the object’s `allowExternalMembers` field. */
1987
+ allowExternalMembers?: BooleanFilter;
1988
+ /** Filter by the object’s `inviteProfileAssignmentMode` field. */
1989
+ inviteProfileAssignmentMode?: StringFilter;
1990
+ /** Filter by the object’s `populateMemberEmail` field. */
1991
+ populateMemberEmail?: BooleanFilter;
1992
+ /** Filter by the object’s `limitAllocationMode` field. */
1993
+ limitAllocationMode?: StringFilter;
1994
+ /** Checks for all expressions in this list. */
1995
+ and?: OrgMembershipSettingFilter[];
1996
+ /** Checks for any expressions in this list. */
1997
+ or?: OrgMembershipSettingFilter[];
1998
+ /** Negates the expression. */
1999
+ not?: OrgMembershipSettingFilter;
2000
+ }
1769
2001
  export interface OrgInviteFilter {
1770
2002
  /** Filter by the object’s `id` field. */
1771
2003
  id?: UUIDFilter;
@@ -1785,6 +2017,8 @@ export interface OrgInviteFilter {
1785
2017
  inviteCount?: IntFilter;
1786
2018
  /** Filter by the object’s `multiple` field. */
1787
2019
  multiple?: BooleanFilter;
2020
+ /** Filter by the object’s `profileId` field. */
2021
+ profileId?: UUIDFilter;
1788
2022
  /** Filter by the object’s `expiresAt` field. */
1789
2023
  expiresAt?: DatetimeFilter;
1790
2024
  /** Filter by the object’s `createdAt` field. */
@@ -1821,8 +2055,6 @@ export interface AppMembershipFilter {
1821
2055
  isVerified?: BooleanFilter;
1822
2056
  /** Filter by the object’s `isActive` field. */
1823
2057
  isActive?: BooleanFilter;
1824
- /** Filter by the object’s `isExternal` field. */
1825
- isExternal?: BooleanFilter;
1826
2058
  /** Filter by the object’s `isOwner` field. */
1827
2059
  isOwner?: BooleanFilter;
1828
2060
  /** Filter by the object’s `isAdmin` field. */
@@ -1900,29 +2132,32 @@ export type AppPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMA
1900
2132
  export type OrgPermissionDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1901
2133
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1902
2134
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1903
- export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
1904
- export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
1905
- export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1906
- export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1907
- export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC';
1908
2135
  export type AppAchievementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1909
2136
  export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1910
- export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_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';
1911
- 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' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1912
- export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
2137
+ export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
2138
+ export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1913
2139
  export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC';
2140
+ export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
2141
+ export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC';
2142
+ 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' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
2143
+ export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_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';
1914
2144
  export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1915
2145
  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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC';
1916
2146
  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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1917
2147
  export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_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';
2148
+ export type AppLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
2149
+ export type OrgLimitEventOrderBy = 'NATURAL' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'DELTA_ASC' | 'DELTA_DESC' | 'NUM_BEFORE_ASC' | 'NUM_BEFORE_DESC' | 'NUM_AFTER_ASC' | 'NUM_AFTER_DESC' | 'MAX_AT_EVENT_ASC' | 'MAX_AT_EVENT_DESC' | 'REASON_ASC' | 'REASON_DESC';
1918
2150
  export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_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';
1919
2151
  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_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC';
2152
+ export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC';
2153
+ export type OrgLimitAggregateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC';
1920
2154
  export type OrgMemberProfileOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'MEMBERSHIP_ID_ASC' | 'MEMBERSHIP_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'BIO_ASC' | 'BIO_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC';
1921
- export type OrgMembershipSettingOrderBy = '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' | 'DELETE_MEMBER_CASCADE_CHILDREN_ASC' | 'DELETE_MEMBER_CASCADE_CHILDREN_DESC' | 'CREATE_CHILD_CASCADE_OWNERS_ASC' | 'CREATE_CHILD_CASCADE_OWNERS_DESC' | 'CREATE_CHILD_CASCADE_ADMINS_ASC' | 'CREATE_CHILD_CASCADE_ADMINS_DESC' | 'CREATE_CHILD_CASCADE_MEMBERS_ASC' | 'CREATE_CHILD_CASCADE_MEMBERS_DESC' | 'ALLOW_EXTERNAL_MEMBERS_ASC' | 'ALLOW_EXTERNAL_MEMBERS_DESC' | 'POPULATE_MEMBER_EMAIL_ASC' | 'POPULATE_MEMBER_EMAIL_DESC';
2155
+ export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1922
2156
  export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1923
- export type AppInviteOrderBy = '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' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1924
- 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' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_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';
1925
- 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_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
2157
+ export type AppInviteOrderBy = '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' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2158
+ export type OrgMembershipSettingOrderBy = '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' | 'DELETE_MEMBER_CASCADE_CHILDREN_ASC' | 'DELETE_MEMBER_CASCADE_CHILDREN_DESC' | 'CREATE_CHILD_CASCADE_OWNERS_ASC' | 'CREATE_CHILD_CASCADE_OWNERS_DESC' | 'CREATE_CHILD_CASCADE_ADMINS_ASC' | 'CREATE_CHILD_CASCADE_ADMINS_DESC' | 'CREATE_CHILD_CASCADE_MEMBERS_ASC' | 'CREATE_CHILD_CASCADE_MEMBERS_DESC' | 'ALLOW_EXTERNAL_MEMBERS_ASC' | 'ALLOW_EXTERNAL_MEMBERS_DESC' | 'INVITE_PROFILE_ASSIGNMENT_MODE_ASC' | 'INVITE_PROFILE_ASSIGNMENT_MODE_DESC' | 'POPULATE_MEMBER_EMAIL_ASC' | 'POPULATE_MEMBER_EMAIL_DESC' | 'LIMIT_ALLOCATION_MODE_ASC' | 'LIMIT_ALLOCATION_MODE_DESC';
2159
+ 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' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_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';
2160
+ 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_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1926
2161
  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_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1927
2162
  export interface CreateOrgGetManagersRecordInput {
1928
2163
  clientMutationId?: string;
@@ -2142,43 +2377,47 @@ export interface DeleteAppOwnerGrantInput {
2142
2377
  clientMutationId?: string;
2143
2378
  id: string;
2144
2379
  }
2145
- export interface CreateAppLimitDefaultInput {
2380
+ export interface CreateAppAchievementInput {
2146
2381
  clientMutationId?: string;
2147
- appLimitDefault: {
2382
+ appAchievement: {
2383
+ actorId?: string;
2148
2384
  name: string;
2149
- max?: number;
2385
+ count?: number;
2150
2386
  };
2151
2387
  }
2152
- export interface AppLimitDefaultPatch {
2388
+ export interface AppAchievementPatch {
2389
+ actorId?: string | null;
2153
2390
  name?: string | null;
2154
- max?: number | null;
2391
+ count?: number | null;
2155
2392
  }
2156
- export interface UpdateAppLimitDefaultInput {
2393
+ export interface UpdateAppAchievementInput {
2157
2394
  clientMutationId?: string;
2158
2395
  id: string;
2159
- appLimitDefaultPatch: AppLimitDefaultPatch;
2396
+ appAchievementPatch: AppAchievementPatch;
2160
2397
  }
2161
- export interface DeleteAppLimitDefaultInput {
2398
+ export interface DeleteAppAchievementInput {
2162
2399
  clientMutationId?: string;
2163
2400
  id: string;
2164
2401
  }
2165
- export interface CreateOrgLimitDefaultInput {
2402
+ export interface CreateAppStepInput {
2166
2403
  clientMutationId?: string;
2167
- orgLimitDefault: {
2404
+ appStep: {
2405
+ actorId?: string;
2168
2406
  name: string;
2169
- max?: number;
2407
+ count?: number;
2170
2408
  };
2171
2409
  }
2172
- export interface OrgLimitDefaultPatch {
2410
+ export interface AppStepPatch {
2411
+ actorId?: string | null;
2173
2412
  name?: string | null;
2174
- max?: number | null;
2413
+ count?: number | null;
2175
2414
  }
2176
- export interface UpdateOrgLimitDefaultInput {
2415
+ export interface UpdateAppStepInput {
2177
2416
  clientMutationId?: string;
2178
2417
  id: string;
2179
- orgLimitDefaultPatch: OrgLimitDefaultPatch;
2418
+ appStepPatch: AppStepPatch;
2180
2419
  }
2181
- export interface DeleteOrgLimitDefaultInput {
2420
+ export interface DeleteAppStepInput {
2182
2421
  clientMutationId?: string;
2183
2422
  id: string;
2184
2423
  }
@@ -2230,93 +2469,73 @@ export interface DeleteOrgOwnerGrantInput {
2230
2469
  clientMutationId?: string;
2231
2470
  id: string;
2232
2471
  }
2233
- export interface CreateAppLimitInput {
2472
+ export interface CreateMembershipTypeInput {
2234
2473
  clientMutationId?: string;
2235
- appLimit: {
2236
- name?: string;
2237
- actorId: string;
2238
- num?: number;
2239
- max?: number;
2474
+ membershipType: {
2475
+ name: string;
2476
+ description: string;
2477
+ prefix: string;
2478
+ parentMembershipType?: number;
2479
+ hasUsersTableEntry?: boolean;
2240
2480
  };
2241
2481
  }
2242
- export interface AppLimitPatch {
2482
+ export interface MembershipTypePatch {
2243
2483
  name?: string | null;
2244
- actorId?: string | null;
2245
- num?: number | null;
2246
- max?: number | null;
2484
+ description?: string | null;
2485
+ prefix?: string | null;
2486
+ parentMembershipType?: number | null;
2487
+ hasUsersTableEntry?: boolean | null;
2247
2488
  }
2248
- export interface UpdateAppLimitInput {
2489
+ export interface UpdateMembershipTypeInput {
2249
2490
  clientMutationId?: string;
2250
- id: string;
2251
- appLimitPatch: AppLimitPatch;
2491
+ id: number;
2492
+ membershipTypePatch: MembershipTypePatch;
2252
2493
  }
2253
- export interface DeleteAppLimitInput {
2494
+ export interface DeleteMembershipTypeInput {
2254
2495
  clientMutationId?: string;
2255
- id: string;
2496
+ id: number;
2256
2497
  }
2257
- export interface CreateAppAchievementInput {
2498
+ export interface CreateAppLimitDefaultInput {
2258
2499
  clientMutationId?: string;
2259
- appAchievement: {
2260
- actorId?: string;
2500
+ appLimitDefault: {
2261
2501
  name: string;
2262
- count?: number;
2502
+ max?: string;
2503
+ softMax?: string;
2263
2504
  };
2264
2505
  }
2265
- export interface AppAchievementPatch {
2266
- actorId?: string | null;
2506
+ export interface AppLimitDefaultPatch {
2267
2507
  name?: string | null;
2268
- count?: number | null;
2508
+ max?: string | null;
2509
+ softMax?: string | null;
2269
2510
  }
2270
- export interface UpdateAppAchievementInput {
2511
+ export interface UpdateAppLimitDefaultInput {
2271
2512
  clientMutationId?: string;
2272
2513
  id: string;
2273
- appAchievementPatch: AppAchievementPatch;
2514
+ appLimitDefaultPatch: AppLimitDefaultPatch;
2274
2515
  }
2275
- export interface DeleteAppAchievementInput {
2516
+ export interface DeleteAppLimitDefaultInput {
2276
2517
  clientMutationId?: string;
2277
2518
  id: string;
2278
2519
  }
2279
- export interface CreateAppStepInput {
2520
+ export interface CreateOrgLimitDefaultInput {
2280
2521
  clientMutationId?: string;
2281
- appStep: {
2282
- actorId?: string;
2522
+ orgLimitDefault: {
2283
2523
  name: string;
2284
- count?: number;
2524
+ max?: string;
2525
+ softMax?: string;
2285
2526
  };
2286
2527
  }
2287
- export interface AppStepPatch {
2288
- actorId?: string | null;
2528
+ export interface OrgLimitDefaultPatch {
2289
2529
  name?: string | null;
2290
- count?: number | null;
2291
- }
2292
- export interface UpdateAppStepInput {
2293
- clientMutationId?: string;
2294
- id: string;
2295
- appStepPatch: AppStepPatch;
2296
- }
2297
- export interface DeleteAppStepInput {
2298
- clientMutationId?: string;
2299
- id: string;
2300
- }
2301
- export interface CreateAppClaimedInviteInput {
2302
- clientMutationId?: string;
2303
- appClaimedInvite: {
2304
- data?: Record<string, unknown>;
2305
- senderId?: string;
2306
- receiverId?: string;
2307
- };
2308
- }
2309
- export interface AppClaimedInvitePatch {
2310
- data?: Record<string, unknown> | null;
2311
- senderId?: string | null;
2312
- receiverId?: string | null;
2530
+ max?: string | null;
2531
+ softMax?: string | null;
2313
2532
  }
2314
- export interface UpdateAppClaimedInviteInput {
2533
+ export interface UpdateOrgLimitDefaultInput {
2315
2534
  clientMutationId?: string;
2316
2535
  id: string;
2317
- appClaimedInvitePatch: AppClaimedInvitePatch;
2536
+ orgLimitDefaultPatch: OrgLimitDefaultPatch;
2318
2537
  }
2319
- export interface DeleteAppClaimedInviteInput {
2538
+ export interface DeleteOrgLimitDefaultInput {
2320
2539
  clientMutationId?: string;
2321
2540
  id: string;
2322
2541
  }
@@ -2350,58 +2569,28 @@ export interface DeleteOrgChartEdgeGrantInput {
2350
2569
  clientMutationId?: string;
2351
2570
  id: string;
2352
2571
  }
2353
- export interface CreateOrgLimitInput {
2572
+ export interface CreateAppClaimedInviteInput {
2354
2573
  clientMutationId?: string;
2355
- orgLimit: {
2356
- name?: string;
2357
- actorId: string;
2358
- num?: number;
2359
- max?: number;
2360
- entityId: string;
2361
- };
2574
+ appClaimedInvite: {
2575
+ data?: Record<string, unknown>;
2576
+ senderId?: string;
2577
+ receiverId?: string;
2578
+ };
2362
2579
  }
2363
- export interface OrgLimitPatch {
2364
- name?: string | null;
2365
- actorId?: string | null;
2366
- num?: number | null;
2367
- max?: number | null;
2368
- entityId?: string | null;
2580
+ export interface AppClaimedInvitePatch {
2581
+ data?: Record<string, unknown> | null;
2582
+ senderId?: string | null;
2583
+ receiverId?: string | null;
2369
2584
  }
2370
- export interface UpdateOrgLimitInput {
2585
+ export interface UpdateAppClaimedInviteInput {
2371
2586
  clientMutationId?: string;
2372
2587
  id: string;
2373
- orgLimitPatch: OrgLimitPatch;
2588
+ appClaimedInvitePatch: AppClaimedInvitePatch;
2374
2589
  }
2375
- export interface DeleteOrgLimitInput {
2590
+ export interface DeleteAppClaimedInviteInput {
2376
2591
  clientMutationId?: string;
2377
2592
  id: string;
2378
2593
  }
2379
- export interface CreateMembershipTypeInput {
2380
- clientMutationId?: string;
2381
- membershipType: {
2382
- name: string;
2383
- description: string;
2384
- prefix: string;
2385
- parentMembershipType?: number;
2386
- hasUsersTableEntry?: boolean;
2387
- };
2388
- }
2389
- export interface MembershipTypePatch {
2390
- name?: string | null;
2391
- description?: string | null;
2392
- prefix?: string | null;
2393
- parentMembershipType?: number | null;
2394
- hasUsersTableEntry?: boolean | null;
2395
- }
2396
- export interface UpdateMembershipTypeInput {
2397
- clientMutationId?: string;
2398
- id: number;
2399
- membershipTypePatch: MembershipTypePatch;
2400
- }
2401
- export interface DeleteMembershipTypeInput {
2402
- clientMutationId?: string;
2403
- id: number;
2404
- }
2405
2594
  export interface CreateAppGrantInput {
2406
2595
  clientMutationId?: string;
2407
2596
  appGrant: {
@@ -2498,6 +2687,74 @@ export interface DeleteOrgClaimedInviteInput {
2498
2687
  clientMutationId?: string;
2499
2688
  id: string;
2500
2689
  }
2690
+ export interface CreateAppLimitEventInput {
2691
+ clientMutationId?: string;
2692
+ appLimitEvent: {
2693
+ name?: string;
2694
+ actorId?: string;
2695
+ entityId?: string;
2696
+ eventType?: string;
2697
+ delta?: string;
2698
+ numBefore?: string;
2699
+ numAfter?: string;
2700
+ maxAtEvent?: string;
2701
+ reason?: string;
2702
+ };
2703
+ }
2704
+ export interface AppLimitEventPatch {
2705
+ name?: string | null;
2706
+ actorId?: string | null;
2707
+ entityId?: string | null;
2708
+ eventType?: string | null;
2709
+ delta?: string | null;
2710
+ numBefore?: string | null;
2711
+ numAfter?: string | null;
2712
+ maxAtEvent?: string | null;
2713
+ reason?: string | null;
2714
+ }
2715
+ export interface UpdateAppLimitEventInput {
2716
+ clientMutationId?: string;
2717
+ id: string;
2718
+ appLimitEventPatch: AppLimitEventPatch;
2719
+ }
2720
+ export interface DeleteAppLimitEventInput {
2721
+ clientMutationId?: string;
2722
+ id: string;
2723
+ }
2724
+ export interface CreateOrgLimitEventInput {
2725
+ clientMutationId?: string;
2726
+ orgLimitEvent: {
2727
+ name?: string;
2728
+ actorId?: string;
2729
+ entityId?: string;
2730
+ eventType?: string;
2731
+ delta?: string;
2732
+ numBefore?: string;
2733
+ numAfter?: string;
2734
+ maxAtEvent?: string;
2735
+ reason?: string;
2736
+ };
2737
+ }
2738
+ export interface OrgLimitEventPatch {
2739
+ name?: string | null;
2740
+ actorId?: string | null;
2741
+ entityId?: string | null;
2742
+ eventType?: string | null;
2743
+ delta?: string | null;
2744
+ numBefore?: string | null;
2745
+ numAfter?: string | null;
2746
+ maxAtEvent?: string | null;
2747
+ reason?: string | null;
2748
+ }
2749
+ export interface UpdateOrgLimitEventInput {
2750
+ clientMutationId?: string;
2751
+ id: string;
2752
+ orgLimitEventPatch: OrgLimitEventPatch;
2753
+ }
2754
+ export interface DeleteOrgLimitEventInput {
2755
+ clientMutationId?: string;
2756
+ id: string;
2757
+ }
2501
2758
  export interface CreateOrgGrantInput {
2502
2759
  clientMutationId?: string;
2503
2760
  orgGrant: {
@@ -2550,6 +2807,66 @@ export interface DeleteOrgChartEdgeInput {
2550
2807
  clientMutationId?: string;
2551
2808
  id: string;
2552
2809
  }
2810
+ export interface CreateAppLimitInput {
2811
+ clientMutationId?: string;
2812
+ appLimit: {
2813
+ name?: string;
2814
+ actorId: string;
2815
+ num?: string;
2816
+ max?: string;
2817
+ softMax?: string;
2818
+ windowStart?: string;
2819
+ windowDuration?: IntervalInput;
2820
+ };
2821
+ }
2822
+ export interface AppLimitPatch {
2823
+ name?: string | null;
2824
+ actorId?: string | null;
2825
+ num?: string | null;
2826
+ max?: string | null;
2827
+ softMax?: string | null;
2828
+ windowStart?: string | null;
2829
+ windowDuration?: IntervalInput | null;
2830
+ }
2831
+ export interface UpdateAppLimitInput {
2832
+ clientMutationId?: string;
2833
+ id: string;
2834
+ appLimitPatch: AppLimitPatch;
2835
+ }
2836
+ export interface DeleteAppLimitInput {
2837
+ clientMutationId?: string;
2838
+ id: string;
2839
+ }
2840
+ export interface CreateOrgLimitAggregateInput {
2841
+ clientMutationId?: string;
2842
+ orgLimitAggregate: {
2843
+ name?: string;
2844
+ entityId: string;
2845
+ num?: string;
2846
+ max?: string;
2847
+ softMax?: string;
2848
+ windowStart?: string;
2849
+ windowDuration?: IntervalInput;
2850
+ };
2851
+ }
2852
+ export interface OrgLimitAggregatePatch {
2853
+ name?: string | null;
2854
+ entityId?: string | null;
2855
+ num?: string | null;
2856
+ max?: string | null;
2857
+ softMax?: string | null;
2858
+ windowStart?: string | null;
2859
+ windowDuration?: IntervalInput | null;
2860
+ }
2861
+ export interface UpdateOrgLimitAggregateInput {
2862
+ clientMutationId?: string;
2863
+ id: string;
2864
+ orgLimitAggregatePatch: OrgLimitAggregatePatch;
2865
+ }
2866
+ export interface DeleteOrgLimitAggregateInput {
2867
+ clientMutationId?: string;
2868
+ id: string;
2869
+ }
2553
2870
  export interface CreateOrgMemberProfileInput {
2554
2871
  clientMutationId?: string;
2555
2872
  orgMemberProfile: {
@@ -2583,37 +2900,35 @@ export interface DeleteOrgMemberProfileInput {
2583
2900
  clientMutationId?: string;
2584
2901
  id: string;
2585
2902
  }
2586
- export interface CreateOrgMembershipSettingInput {
2903
+ export interface CreateOrgLimitInput {
2587
2904
  clientMutationId?: string;
2588
- orgMembershipSetting: {
2589
- createdBy?: string;
2590
- updatedBy?: string;
2905
+ orgLimit: {
2906
+ name?: string;
2907
+ actorId: string;
2908
+ num?: string;
2909
+ max?: string;
2910
+ softMax?: string;
2911
+ windowStart?: string;
2912
+ windowDuration?: IntervalInput;
2591
2913
  entityId: string;
2592
- deleteMemberCascadeChildren?: boolean;
2593
- createChildCascadeOwners?: boolean;
2594
- createChildCascadeAdmins?: boolean;
2595
- createChildCascadeMembers?: boolean;
2596
- allowExternalMembers?: boolean;
2597
- populateMemberEmail?: boolean;
2598
2914
  };
2599
2915
  }
2600
- export interface OrgMembershipSettingPatch {
2601
- createdBy?: string | null;
2602
- updatedBy?: string | null;
2916
+ export interface OrgLimitPatch {
2917
+ name?: string | null;
2918
+ actorId?: string | null;
2919
+ num?: string | null;
2920
+ max?: string | null;
2921
+ softMax?: string | null;
2922
+ windowStart?: string | null;
2923
+ windowDuration?: IntervalInput | null;
2603
2924
  entityId?: string | null;
2604
- deleteMemberCascadeChildren?: boolean | null;
2605
- createChildCascadeOwners?: boolean | null;
2606
- createChildCascadeAdmins?: boolean | null;
2607
- createChildCascadeMembers?: boolean | null;
2608
- allowExternalMembers?: boolean | null;
2609
- populateMemberEmail?: boolean | null;
2610
2925
  }
2611
- export interface UpdateOrgMembershipSettingInput {
2926
+ export interface UpdateOrgLimitInput {
2612
2927
  clientMutationId?: string;
2613
2928
  id: string;
2614
- orgMembershipSettingPatch: OrgMembershipSettingPatch;
2929
+ orgLimitPatch: OrgLimitPatch;
2615
2930
  }
2616
- export interface DeleteOrgMembershipSettingInput {
2931
+ export interface DeleteOrgLimitInput {
2617
2932
  clientMutationId?: string;
2618
2933
  id: string;
2619
2934
  }
@@ -2653,6 +2968,7 @@ export interface CreateAppInviteInput {
2653
2968
  inviteCount?: number;
2654
2969
  multiple?: boolean;
2655
2970
  data?: Record<string, unknown>;
2971
+ profileId?: string;
2656
2972
  expiresAt?: string;
2657
2973
  };
2658
2974
  }
@@ -2665,6 +2981,7 @@ export interface AppInvitePatch {
2665
2981
  inviteCount?: number | null;
2666
2982
  multiple?: boolean | null;
2667
2983
  data?: Record<string, unknown> | null;
2984
+ profileId?: string | null;
2668
2985
  expiresAt?: string | null;
2669
2986
  }
2670
2987
  export interface UpdateAppInviteInput {
@@ -2676,6 +2993,44 @@ export interface DeleteAppInviteInput {
2676
2993
  clientMutationId?: string;
2677
2994
  id: string;
2678
2995
  }
2996
+ export interface CreateOrgMembershipSettingInput {
2997
+ clientMutationId?: string;
2998
+ orgMembershipSetting: {
2999
+ createdBy?: string;
3000
+ updatedBy?: string;
3001
+ entityId: string;
3002
+ deleteMemberCascadeChildren?: boolean;
3003
+ createChildCascadeOwners?: boolean;
3004
+ createChildCascadeAdmins?: boolean;
3005
+ createChildCascadeMembers?: boolean;
3006
+ allowExternalMembers?: boolean;
3007
+ inviteProfileAssignmentMode?: string;
3008
+ populateMemberEmail?: boolean;
3009
+ limitAllocationMode?: string;
3010
+ };
3011
+ }
3012
+ export interface OrgMembershipSettingPatch {
3013
+ createdBy?: string | null;
3014
+ updatedBy?: string | null;
3015
+ entityId?: string | null;
3016
+ deleteMemberCascadeChildren?: boolean | null;
3017
+ createChildCascadeOwners?: boolean | null;
3018
+ createChildCascadeAdmins?: boolean | null;
3019
+ createChildCascadeMembers?: boolean | null;
3020
+ allowExternalMembers?: boolean | null;
3021
+ inviteProfileAssignmentMode?: string | null;
3022
+ populateMemberEmail?: boolean | null;
3023
+ limitAllocationMode?: string | null;
3024
+ }
3025
+ export interface UpdateOrgMembershipSettingInput {
3026
+ clientMutationId?: string;
3027
+ id: string;
3028
+ orgMembershipSettingPatch: OrgMembershipSettingPatch;
3029
+ }
3030
+ export interface DeleteOrgMembershipSettingInput {
3031
+ clientMutationId?: string;
3032
+ id: string;
3033
+ }
2679
3034
  export interface CreateOrgInviteInput {
2680
3035
  clientMutationId?: string;
2681
3036
  orgInvite: {
@@ -2688,6 +3043,7 @@ export interface CreateOrgInviteInput {
2688
3043
  inviteCount?: number;
2689
3044
  multiple?: boolean;
2690
3045
  data?: Record<string, unknown>;
3046
+ profileId?: string;
2691
3047
  expiresAt?: string;
2692
3048
  entityId: string;
2693
3049
  };
@@ -2702,6 +3058,7 @@ export interface OrgInvitePatch {
2702
3058
  inviteCount?: number | null;
2703
3059
  multiple?: boolean | null;
2704
3060
  data?: Record<string, unknown> | null;
3061
+ profileId?: string | null;
2705
3062
  expiresAt?: string | null;
2706
3063
  entityId?: string | null;
2707
3064
  }
@@ -2724,7 +3081,6 @@ export interface CreateAppMembershipInput {
2724
3081
  isDisabled?: boolean;
2725
3082
  isVerified?: boolean;
2726
3083
  isActive?: boolean;
2727
- isExternal?: boolean;
2728
3084
  isOwner?: boolean;
2729
3085
  isAdmin?: boolean;
2730
3086
  permissions?: string;
@@ -2741,7 +3097,6 @@ export interface AppMembershipPatch {
2741
3097
  isDisabled?: boolean | null;
2742
3098
  isVerified?: boolean | null;
2743
3099
  isActive?: boolean | null;
2744
- isExternal?: boolean | null;
2745
3100
  isOwner?: boolean | null;
2746
3101
  isAdmin?: boolean | null;
2747
3102
  permissions?: string | null;
@@ -2832,10 +3187,6 @@ export interface RequestUploadUrlInput {
2832
3187
  /** Original filename (optional, for display and Content-Disposition) */
2833
3188
  filename?: string;
2834
3189
  }
2835
- export interface ConfirmUploadInput {
2836
- /** The file ID returned by requestUploadUrl */
2837
- fileId: string;
2838
- }
2839
3190
  export interface ProvisionBucketInput {
2840
3191
  /** The logical bucket key (e.g., "public", "private") */
2841
3192
  bucketKey: string;
@@ -2845,6 +3196,31 @@ export interface ProvisionBucketInput {
2845
3196
  */
2846
3197
  ownerId?: string;
2847
3198
  }
3199
+ /** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */
3200
+ export interface IntervalFilter {
3201
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3202
+ isNull?: boolean;
3203
+ /** Equal to the specified value. */
3204
+ equalTo?: IntervalInput;
3205
+ /** Not equal to the specified value. */
3206
+ notEqualTo?: IntervalInput;
3207
+ /** Not equal to the specified value, treating null like an ordinary value. */
3208
+ distinctFrom?: IntervalInput;
3209
+ /** Equal to the specified value, treating null like an ordinary value. */
3210
+ notDistinctFrom?: IntervalInput;
3211
+ /** Included in the specified list. */
3212
+ in?: IntervalInput[];
3213
+ /** Not included in the specified list. */
3214
+ notIn?: IntervalInput[];
3215
+ /** Less than the specified value. */
3216
+ lessThan?: IntervalInput;
3217
+ /** Less than or equal to the specified value. */
3218
+ lessThanOrEqualTo?: IntervalInput;
3219
+ /** Greater than the specified value. */
3220
+ greaterThan?: IntervalInput;
3221
+ /** Greater than or equal to the specified value. */
3222
+ greaterThanOrEqualTo?: IntervalInput;
3223
+ }
2848
3224
  /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
2849
3225
  export interface ConstructiveInternalTypeImageFilter {
2850
3226
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -2957,6 +3333,25 @@ export interface ConstructiveInternalTypeEmailFilter {
2957
3333
  /** Greater than or equal to the specified value (case-insensitive). */
2958
3334
  greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
2959
3335
  }
3336
+ /** An interval of time that has passed where the smallest distinct unit is a second. */
3337
+ export interface IntervalInput {
3338
+ /**
3339
+ * A quantity of seconds. This is the only non-integer field, as all the other
3340
+ * fields will dump their overflow into a smaller unit of time. Intervals don’t
3341
+ * have a smaller unit than seconds.
3342
+ */
3343
+ seconds?: number;
3344
+ /** A quantity of minutes. */
3345
+ minutes?: number;
3346
+ /** A quantity of hours. */
3347
+ hours?: number;
3348
+ /** A quantity of days. */
3349
+ days?: number;
3350
+ /** A quantity of months. */
3351
+ months?: number;
3352
+ /** A quantity of years. */
3353
+ years?: number;
3354
+ }
2960
3355
  /** A connection to a list of `AppPermission` values. */
2961
3356
  export interface AppPermissionConnection {
2962
3357
  nodes: AppPermission[];
@@ -3041,8 +3436,6 @@ export interface RequestUploadUrlPayload {
3041
3436
  deduplicated: boolean;
3042
3437
  /** Presigned URL expiry time (null if deduplicated) */
3043
3438
  expiresAt?: string | null;
3044
- /** File status — 'pending' for fresh uploads, 'ready' or 'processed' for deduplicated files. Clients can use this to know immediately whether the file is usable. */
3045
- status: string;
3046
3439
  }
3047
3440
  export type RequestUploadUrlPayloadSelect = {
3048
3441
  uploadUrl?: boolean;
@@ -3050,20 +3443,6 @@ export type RequestUploadUrlPayloadSelect = {
3050
3443
  key?: boolean;
3051
3444
  deduplicated?: boolean;
3052
3445
  expiresAt?: boolean;
3053
- status?: boolean;
3054
- };
3055
- export interface ConfirmUploadPayload {
3056
- /** The confirmed file ID */
3057
- fileId: string;
3058
- /** New file status */
3059
- status: string;
3060
- /** Whether confirmation succeeded */
3061
- success: boolean;
3062
- }
3063
- export type ConfirmUploadPayloadSelect = {
3064
- fileId?: boolean;
3065
- status?: boolean;
3066
- success?: boolean;
3067
3446
  };
3068
3447
  export interface ProvisionBucketPayload {
3069
3448
  /** Whether provisioning succeeded */
@@ -3447,94 +3826,94 @@ export type DeleteAppOwnerGrantPayloadSelect = {
3447
3826
  select: AppOwnerGrantEdgeSelect;
3448
3827
  };
3449
3828
  };
3450
- export interface CreateAppLimitDefaultPayload {
3829
+ export interface CreateAppAchievementPayload {
3451
3830
  clientMutationId?: string | null;
3452
- /** The `AppLimitDefault` that was created by this mutation. */
3453
- appLimitDefault?: AppLimitDefault | null;
3454
- appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3831
+ /** The `AppAchievement` that was created by this mutation. */
3832
+ appAchievement?: AppAchievement | null;
3833
+ appAchievementEdge?: AppAchievementEdge | null;
3455
3834
  }
3456
- export type CreateAppLimitDefaultPayloadSelect = {
3835
+ export type CreateAppAchievementPayloadSelect = {
3457
3836
  clientMutationId?: boolean;
3458
- appLimitDefault?: {
3459
- select: AppLimitDefaultSelect;
3837
+ appAchievement?: {
3838
+ select: AppAchievementSelect;
3460
3839
  };
3461
- appLimitDefaultEdge?: {
3462
- select: AppLimitDefaultEdgeSelect;
3840
+ appAchievementEdge?: {
3841
+ select: AppAchievementEdgeSelect;
3463
3842
  };
3464
3843
  };
3465
- export interface UpdateAppLimitDefaultPayload {
3844
+ export interface UpdateAppAchievementPayload {
3466
3845
  clientMutationId?: string | null;
3467
- /** The `AppLimitDefault` that was updated by this mutation. */
3468
- appLimitDefault?: AppLimitDefault | null;
3469
- appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3846
+ /** The `AppAchievement` that was updated by this mutation. */
3847
+ appAchievement?: AppAchievement | null;
3848
+ appAchievementEdge?: AppAchievementEdge | null;
3470
3849
  }
3471
- export type UpdateAppLimitDefaultPayloadSelect = {
3850
+ export type UpdateAppAchievementPayloadSelect = {
3472
3851
  clientMutationId?: boolean;
3473
- appLimitDefault?: {
3474
- select: AppLimitDefaultSelect;
3852
+ appAchievement?: {
3853
+ select: AppAchievementSelect;
3475
3854
  };
3476
- appLimitDefaultEdge?: {
3477
- select: AppLimitDefaultEdgeSelect;
3855
+ appAchievementEdge?: {
3856
+ select: AppAchievementEdgeSelect;
3478
3857
  };
3479
3858
  };
3480
- export interface DeleteAppLimitDefaultPayload {
3859
+ export interface DeleteAppAchievementPayload {
3481
3860
  clientMutationId?: string | null;
3482
- /** The `AppLimitDefault` that was deleted by this mutation. */
3483
- appLimitDefault?: AppLimitDefault | null;
3484
- appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3861
+ /** The `AppAchievement` that was deleted by this mutation. */
3862
+ appAchievement?: AppAchievement | null;
3863
+ appAchievementEdge?: AppAchievementEdge | null;
3485
3864
  }
3486
- export type DeleteAppLimitDefaultPayloadSelect = {
3865
+ export type DeleteAppAchievementPayloadSelect = {
3487
3866
  clientMutationId?: boolean;
3488
- appLimitDefault?: {
3489
- select: AppLimitDefaultSelect;
3490
- };
3491
- appLimitDefaultEdge?: {
3492
- select: AppLimitDefaultEdgeSelect;
3867
+ appAchievement?: {
3868
+ select: AppAchievementSelect;
3869
+ };
3870
+ appAchievementEdge?: {
3871
+ select: AppAchievementEdgeSelect;
3493
3872
  };
3494
3873
  };
3495
- export interface CreateOrgLimitDefaultPayload {
3874
+ export interface CreateAppStepPayload {
3496
3875
  clientMutationId?: string | null;
3497
- /** The `OrgLimitDefault` that was created by this mutation. */
3498
- orgLimitDefault?: OrgLimitDefault | null;
3499
- orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3876
+ /** The `AppStep` that was created by this mutation. */
3877
+ appStep?: AppStep | null;
3878
+ appStepEdge?: AppStepEdge | null;
3500
3879
  }
3501
- export type CreateOrgLimitDefaultPayloadSelect = {
3880
+ export type CreateAppStepPayloadSelect = {
3502
3881
  clientMutationId?: boolean;
3503
- orgLimitDefault?: {
3504
- select: OrgLimitDefaultSelect;
3882
+ appStep?: {
3883
+ select: AppStepSelect;
3505
3884
  };
3506
- orgLimitDefaultEdge?: {
3507
- select: OrgLimitDefaultEdgeSelect;
3885
+ appStepEdge?: {
3886
+ select: AppStepEdgeSelect;
3508
3887
  };
3509
3888
  };
3510
- export interface UpdateOrgLimitDefaultPayload {
3889
+ export interface UpdateAppStepPayload {
3511
3890
  clientMutationId?: string | null;
3512
- /** The `OrgLimitDefault` that was updated by this mutation. */
3513
- orgLimitDefault?: OrgLimitDefault | null;
3514
- orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3891
+ /** The `AppStep` that was updated by this mutation. */
3892
+ appStep?: AppStep | null;
3893
+ appStepEdge?: AppStepEdge | null;
3515
3894
  }
3516
- export type UpdateOrgLimitDefaultPayloadSelect = {
3895
+ export type UpdateAppStepPayloadSelect = {
3517
3896
  clientMutationId?: boolean;
3518
- orgLimitDefault?: {
3519
- select: OrgLimitDefaultSelect;
3897
+ appStep?: {
3898
+ select: AppStepSelect;
3520
3899
  };
3521
- orgLimitDefaultEdge?: {
3522
- select: OrgLimitDefaultEdgeSelect;
3900
+ appStepEdge?: {
3901
+ select: AppStepEdgeSelect;
3523
3902
  };
3524
3903
  };
3525
- export interface DeleteOrgLimitDefaultPayload {
3904
+ export interface DeleteAppStepPayload {
3526
3905
  clientMutationId?: string | null;
3527
- /** The `OrgLimitDefault` that was deleted by this mutation. */
3528
- orgLimitDefault?: OrgLimitDefault | null;
3529
- orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3906
+ /** The `AppStep` that was deleted by this mutation. */
3907
+ appStep?: AppStep | null;
3908
+ appStepEdge?: AppStepEdge | null;
3530
3909
  }
3531
- export type DeleteOrgLimitDefaultPayloadSelect = {
3910
+ export type DeleteAppStepPayloadSelect = {
3532
3911
  clientMutationId?: boolean;
3533
- orgLimitDefault?: {
3534
- select: OrgLimitDefaultSelect;
3912
+ appStep?: {
3913
+ select: AppStepSelect;
3535
3914
  };
3536
- orgLimitDefaultEdge?: {
3537
- select: OrgLimitDefaultEdgeSelect;
3915
+ appStepEdge?: {
3916
+ select: AppStepEdgeSelect;
3538
3917
  };
3539
3918
  };
3540
3919
  export interface CreateOrgAdminGrantPayload {
@@ -3627,184 +4006,139 @@ export type DeleteOrgOwnerGrantPayloadSelect = {
3627
4006
  select: OrgOwnerGrantEdgeSelect;
3628
4007
  };
3629
4008
  };
3630
- export interface CreateAppLimitPayload {
3631
- clientMutationId?: string | null;
3632
- /** The `AppLimit` that was created by this mutation. */
3633
- appLimit?: AppLimit | null;
3634
- appLimitEdge?: AppLimitEdge | null;
3635
- }
3636
- export type CreateAppLimitPayloadSelect = {
3637
- clientMutationId?: boolean;
3638
- appLimit?: {
3639
- select: AppLimitSelect;
3640
- };
3641
- appLimitEdge?: {
3642
- select: AppLimitEdgeSelect;
3643
- };
3644
- };
3645
- export interface UpdateAppLimitPayload {
3646
- clientMutationId?: string | null;
3647
- /** The `AppLimit` that was updated by this mutation. */
3648
- appLimit?: AppLimit | null;
3649
- appLimitEdge?: AppLimitEdge | null;
3650
- }
3651
- export type UpdateAppLimitPayloadSelect = {
3652
- clientMutationId?: boolean;
3653
- appLimit?: {
3654
- select: AppLimitSelect;
3655
- };
3656
- appLimitEdge?: {
3657
- select: AppLimitEdgeSelect;
3658
- };
3659
- };
3660
- export interface DeleteAppLimitPayload {
3661
- clientMutationId?: string | null;
3662
- /** The `AppLimit` that was deleted by this mutation. */
3663
- appLimit?: AppLimit | null;
3664
- appLimitEdge?: AppLimitEdge | null;
3665
- }
3666
- export type DeleteAppLimitPayloadSelect = {
3667
- clientMutationId?: boolean;
3668
- appLimit?: {
3669
- select: AppLimitSelect;
3670
- };
3671
- appLimitEdge?: {
3672
- select: AppLimitEdgeSelect;
3673
- };
3674
- };
3675
- export interface CreateAppAchievementPayload {
4009
+ export interface CreateMembershipTypePayload {
3676
4010
  clientMutationId?: string | null;
3677
- /** The `AppAchievement` that was created by this mutation. */
3678
- appAchievement?: AppAchievement | null;
3679
- appAchievementEdge?: AppAchievementEdge | null;
4011
+ /** The `MembershipType` that was created by this mutation. */
4012
+ membershipType?: MembershipType | null;
4013
+ membershipTypeEdge?: MembershipTypeEdge | null;
3680
4014
  }
3681
- export type CreateAppAchievementPayloadSelect = {
4015
+ export type CreateMembershipTypePayloadSelect = {
3682
4016
  clientMutationId?: boolean;
3683
- appAchievement?: {
3684
- select: AppAchievementSelect;
4017
+ membershipType?: {
4018
+ select: MembershipTypeSelect;
3685
4019
  };
3686
- appAchievementEdge?: {
3687
- select: AppAchievementEdgeSelect;
4020
+ membershipTypeEdge?: {
4021
+ select: MembershipTypeEdgeSelect;
3688
4022
  };
3689
4023
  };
3690
- export interface UpdateAppAchievementPayload {
4024
+ export interface UpdateMembershipTypePayload {
3691
4025
  clientMutationId?: string | null;
3692
- /** The `AppAchievement` that was updated by this mutation. */
3693
- appAchievement?: AppAchievement | null;
3694
- appAchievementEdge?: AppAchievementEdge | null;
4026
+ /** The `MembershipType` that was updated by this mutation. */
4027
+ membershipType?: MembershipType | null;
4028
+ membershipTypeEdge?: MembershipTypeEdge | null;
3695
4029
  }
3696
- export type UpdateAppAchievementPayloadSelect = {
4030
+ export type UpdateMembershipTypePayloadSelect = {
3697
4031
  clientMutationId?: boolean;
3698
- appAchievement?: {
3699
- select: AppAchievementSelect;
4032
+ membershipType?: {
4033
+ select: MembershipTypeSelect;
3700
4034
  };
3701
- appAchievementEdge?: {
3702
- select: AppAchievementEdgeSelect;
4035
+ membershipTypeEdge?: {
4036
+ select: MembershipTypeEdgeSelect;
3703
4037
  };
3704
4038
  };
3705
- export interface DeleteAppAchievementPayload {
4039
+ export interface DeleteMembershipTypePayload {
3706
4040
  clientMutationId?: string | null;
3707
- /** The `AppAchievement` that was deleted by this mutation. */
3708
- appAchievement?: AppAchievement | null;
3709
- appAchievementEdge?: AppAchievementEdge | null;
4041
+ /** The `MembershipType` that was deleted by this mutation. */
4042
+ membershipType?: MembershipType | null;
4043
+ membershipTypeEdge?: MembershipTypeEdge | null;
3710
4044
  }
3711
- export type DeleteAppAchievementPayloadSelect = {
4045
+ export type DeleteMembershipTypePayloadSelect = {
3712
4046
  clientMutationId?: boolean;
3713
- appAchievement?: {
3714
- select: AppAchievementSelect;
4047
+ membershipType?: {
4048
+ select: MembershipTypeSelect;
3715
4049
  };
3716
- appAchievementEdge?: {
3717
- select: AppAchievementEdgeSelect;
4050
+ membershipTypeEdge?: {
4051
+ select: MembershipTypeEdgeSelect;
3718
4052
  };
3719
4053
  };
3720
- export interface CreateAppStepPayload {
4054
+ export interface CreateAppLimitDefaultPayload {
3721
4055
  clientMutationId?: string | null;
3722
- /** The `AppStep` that was created by this mutation. */
3723
- appStep?: AppStep | null;
3724
- appStepEdge?: AppStepEdge | null;
4056
+ /** The `AppLimitDefault` that was created by this mutation. */
4057
+ appLimitDefault?: AppLimitDefault | null;
4058
+ appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3725
4059
  }
3726
- export type CreateAppStepPayloadSelect = {
4060
+ export type CreateAppLimitDefaultPayloadSelect = {
3727
4061
  clientMutationId?: boolean;
3728
- appStep?: {
3729
- select: AppStepSelect;
4062
+ appLimitDefault?: {
4063
+ select: AppLimitDefaultSelect;
3730
4064
  };
3731
- appStepEdge?: {
3732
- select: AppStepEdgeSelect;
4065
+ appLimitDefaultEdge?: {
4066
+ select: AppLimitDefaultEdgeSelect;
3733
4067
  };
3734
4068
  };
3735
- export interface UpdateAppStepPayload {
4069
+ export interface UpdateAppLimitDefaultPayload {
3736
4070
  clientMutationId?: string | null;
3737
- /** The `AppStep` that was updated by this mutation. */
3738
- appStep?: AppStep | null;
3739
- appStepEdge?: AppStepEdge | null;
4071
+ /** The `AppLimitDefault` that was updated by this mutation. */
4072
+ appLimitDefault?: AppLimitDefault | null;
4073
+ appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3740
4074
  }
3741
- export type UpdateAppStepPayloadSelect = {
4075
+ export type UpdateAppLimitDefaultPayloadSelect = {
3742
4076
  clientMutationId?: boolean;
3743
- appStep?: {
3744
- select: AppStepSelect;
4077
+ appLimitDefault?: {
4078
+ select: AppLimitDefaultSelect;
3745
4079
  };
3746
- appStepEdge?: {
3747
- select: AppStepEdgeSelect;
4080
+ appLimitDefaultEdge?: {
4081
+ select: AppLimitDefaultEdgeSelect;
3748
4082
  };
3749
4083
  };
3750
- export interface DeleteAppStepPayload {
4084
+ export interface DeleteAppLimitDefaultPayload {
3751
4085
  clientMutationId?: string | null;
3752
- /** The `AppStep` that was deleted by this mutation. */
3753
- appStep?: AppStep | null;
3754
- appStepEdge?: AppStepEdge | null;
4086
+ /** The `AppLimitDefault` that was deleted by this mutation. */
4087
+ appLimitDefault?: AppLimitDefault | null;
4088
+ appLimitDefaultEdge?: AppLimitDefaultEdge | null;
3755
4089
  }
3756
- export type DeleteAppStepPayloadSelect = {
4090
+ export type DeleteAppLimitDefaultPayloadSelect = {
3757
4091
  clientMutationId?: boolean;
3758
- appStep?: {
3759
- select: AppStepSelect;
4092
+ appLimitDefault?: {
4093
+ select: AppLimitDefaultSelect;
3760
4094
  };
3761
- appStepEdge?: {
3762
- select: AppStepEdgeSelect;
4095
+ appLimitDefaultEdge?: {
4096
+ select: AppLimitDefaultEdgeSelect;
3763
4097
  };
3764
4098
  };
3765
- export interface CreateAppClaimedInvitePayload {
4099
+ export interface CreateOrgLimitDefaultPayload {
3766
4100
  clientMutationId?: string | null;
3767
- /** The `AppClaimedInvite` that was created by this mutation. */
3768
- appClaimedInvite?: AppClaimedInvite | null;
3769
- appClaimedInviteEdge?: AppClaimedInviteEdge | null;
4101
+ /** The `OrgLimitDefault` that was created by this mutation. */
4102
+ orgLimitDefault?: OrgLimitDefault | null;
4103
+ orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3770
4104
  }
3771
- export type CreateAppClaimedInvitePayloadSelect = {
4105
+ export type CreateOrgLimitDefaultPayloadSelect = {
3772
4106
  clientMutationId?: boolean;
3773
- appClaimedInvite?: {
3774
- select: AppClaimedInviteSelect;
4107
+ orgLimitDefault?: {
4108
+ select: OrgLimitDefaultSelect;
3775
4109
  };
3776
- appClaimedInviteEdge?: {
3777
- select: AppClaimedInviteEdgeSelect;
4110
+ orgLimitDefaultEdge?: {
4111
+ select: OrgLimitDefaultEdgeSelect;
3778
4112
  };
3779
4113
  };
3780
- export interface UpdateAppClaimedInvitePayload {
4114
+ export interface UpdateOrgLimitDefaultPayload {
3781
4115
  clientMutationId?: string | null;
3782
- /** The `AppClaimedInvite` that was updated by this mutation. */
3783
- appClaimedInvite?: AppClaimedInvite | null;
3784
- appClaimedInviteEdge?: AppClaimedInviteEdge | null;
4116
+ /** The `OrgLimitDefault` that was updated by this mutation. */
4117
+ orgLimitDefault?: OrgLimitDefault | null;
4118
+ orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3785
4119
  }
3786
- export type UpdateAppClaimedInvitePayloadSelect = {
4120
+ export type UpdateOrgLimitDefaultPayloadSelect = {
3787
4121
  clientMutationId?: boolean;
3788
- appClaimedInvite?: {
3789
- select: AppClaimedInviteSelect;
4122
+ orgLimitDefault?: {
4123
+ select: OrgLimitDefaultSelect;
3790
4124
  };
3791
- appClaimedInviteEdge?: {
3792
- select: AppClaimedInviteEdgeSelect;
4125
+ orgLimitDefaultEdge?: {
4126
+ select: OrgLimitDefaultEdgeSelect;
3793
4127
  };
3794
4128
  };
3795
- export interface DeleteAppClaimedInvitePayload {
4129
+ export interface DeleteOrgLimitDefaultPayload {
3796
4130
  clientMutationId?: string | null;
3797
- /** The `AppClaimedInvite` that was deleted by this mutation. */
3798
- appClaimedInvite?: AppClaimedInvite | null;
3799
- appClaimedInviteEdge?: AppClaimedInviteEdge | null;
4131
+ /** The `OrgLimitDefault` that was deleted by this mutation. */
4132
+ orgLimitDefault?: OrgLimitDefault | null;
4133
+ orgLimitDefaultEdge?: OrgLimitDefaultEdge | null;
3800
4134
  }
3801
- export type DeleteAppClaimedInvitePayloadSelect = {
4135
+ export type DeleteOrgLimitDefaultPayloadSelect = {
3802
4136
  clientMutationId?: boolean;
3803
- appClaimedInvite?: {
3804
- select: AppClaimedInviteSelect;
4137
+ orgLimitDefault?: {
4138
+ select: OrgLimitDefaultSelect;
3805
4139
  };
3806
- appClaimedInviteEdge?: {
3807
- select: AppClaimedInviteEdgeSelect;
4140
+ orgLimitDefaultEdge?: {
4141
+ select: OrgLimitDefaultEdgeSelect;
3808
4142
  };
3809
4143
  };
3810
4144
  export interface CreateOrgChartEdgeGrantPayload {
@@ -3852,94 +4186,49 @@ export type DeleteOrgChartEdgeGrantPayloadSelect = {
3852
4186
  select: OrgChartEdgeGrantEdgeSelect;
3853
4187
  };
3854
4188
  };
3855
- export interface CreateOrgLimitPayload {
3856
- clientMutationId?: string | null;
3857
- /** The `OrgLimit` that was created by this mutation. */
3858
- orgLimit?: OrgLimit | null;
3859
- orgLimitEdge?: OrgLimitEdge | null;
3860
- }
3861
- export type CreateOrgLimitPayloadSelect = {
3862
- clientMutationId?: boolean;
3863
- orgLimit?: {
3864
- select: OrgLimitSelect;
3865
- };
3866
- orgLimitEdge?: {
3867
- select: OrgLimitEdgeSelect;
3868
- };
3869
- };
3870
- export interface UpdateOrgLimitPayload {
3871
- clientMutationId?: string | null;
3872
- /** The `OrgLimit` that was updated by this mutation. */
3873
- orgLimit?: OrgLimit | null;
3874
- orgLimitEdge?: OrgLimitEdge | null;
3875
- }
3876
- export type UpdateOrgLimitPayloadSelect = {
3877
- clientMutationId?: boolean;
3878
- orgLimit?: {
3879
- select: OrgLimitSelect;
3880
- };
3881
- orgLimitEdge?: {
3882
- select: OrgLimitEdgeSelect;
3883
- };
3884
- };
3885
- export interface DeleteOrgLimitPayload {
3886
- clientMutationId?: string | null;
3887
- /** The `OrgLimit` that was deleted by this mutation. */
3888
- orgLimit?: OrgLimit | null;
3889
- orgLimitEdge?: OrgLimitEdge | null;
3890
- }
3891
- export type DeleteOrgLimitPayloadSelect = {
3892
- clientMutationId?: boolean;
3893
- orgLimit?: {
3894
- select: OrgLimitSelect;
3895
- };
3896
- orgLimitEdge?: {
3897
- select: OrgLimitEdgeSelect;
3898
- };
3899
- };
3900
- export interface CreateMembershipTypePayload {
4189
+ export interface CreateAppClaimedInvitePayload {
3901
4190
  clientMutationId?: string | null;
3902
- /** The `MembershipType` that was created by this mutation. */
3903
- membershipType?: MembershipType | null;
3904
- membershipTypeEdge?: MembershipTypeEdge | null;
4191
+ /** The `AppClaimedInvite` that was created by this mutation. */
4192
+ appClaimedInvite?: AppClaimedInvite | null;
4193
+ appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3905
4194
  }
3906
- export type CreateMembershipTypePayloadSelect = {
4195
+ export type CreateAppClaimedInvitePayloadSelect = {
3907
4196
  clientMutationId?: boolean;
3908
- membershipType?: {
3909
- select: MembershipTypeSelect;
4197
+ appClaimedInvite?: {
4198
+ select: AppClaimedInviteSelect;
3910
4199
  };
3911
- membershipTypeEdge?: {
3912
- select: MembershipTypeEdgeSelect;
4200
+ appClaimedInviteEdge?: {
4201
+ select: AppClaimedInviteEdgeSelect;
3913
4202
  };
3914
4203
  };
3915
- export interface UpdateMembershipTypePayload {
4204
+ export interface UpdateAppClaimedInvitePayload {
3916
4205
  clientMutationId?: string | null;
3917
- /** The `MembershipType` that was updated by this mutation. */
3918
- membershipType?: MembershipType | null;
3919
- membershipTypeEdge?: MembershipTypeEdge | null;
4206
+ /** The `AppClaimedInvite` that was updated by this mutation. */
4207
+ appClaimedInvite?: AppClaimedInvite | null;
4208
+ appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3920
4209
  }
3921
- export type UpdateMembershipTypePayloadSelect = {
4210
+ export type UpdateAppClaimedInvitePayloadSelect = {
3922
4211
  clientMutationId?: boolean;
3923
- membershipType?: {
3924
- select: MembershipTypeSelect;
4212
+ appClaimedInvite?: {
4213
+ select: AppClaimedInviteSelect;
3925
4214
  };
3926
- membershipTypeEdge?: {
3927
- select: MembershipTypeEdgeSelect;
4215
+ appClaimedInviteEdge?: {
4216
+ select: AppClaimedInviteEdgeSelect;
3928
4217
  };
3929
4218
  };
3930
- export interface DeleteMembershipTypePayload {
4219
+ export interface DeleteAppClaimedInvitePayload {
3931
4220
  clientMutationId?: string | null;
3932
- /** The `MembershipType` that was deleted by this mutation. */
3933
- membershipType?: MembershipType | null;
3934
- membershipTypeEdge?: MembershipTypeEdge | null;
4221
+ /** The `AppClaimedInvite` that was deleted by this mutation. */
4222
+ appClaimedInvite?: AppClaimedInvite | null;
4223
+ appClaimedInviteEdge?: AppClaimedInviteEdge | null;
3935
4224
  }
3936
- export type DeleteMembershipTypePayloadSelect = {
4225
+ export type DeleteAppClaimedInvitePayloadSelect = {
3937
4226
  clientMutationId?: boolean;
3938
- membershipType?: {
3939
- select: MembershipTypeSelect;
4227
+ appClaimedInvite?: {
4228
+ select: AppClaimedInviteSelect;
3940
4229
  };
3941
- membershipTypeEdge?: {
3942
- select: MembershipTypeEdgeSelect;
4230
+ appClaimedInviteEdge?: {
4231
+ select: AppClaimedInviteEdgeSelect;
3943
4232
  };
3944
4233
  };
3945
4234
  export interface CreateAppGrantPayload {
@@ -4122,6 +4411,28 @@ export type DeleteOrgClaimedInvitePayloadSelect = {
4122
4411
  select: OrgClaimedInviteEdgeSelect;
4123
4412
  };
4124
4413
  };
4414
+ export interface CreateAppLimitEventPayload {
4415
+ clientMutationId?: string | null;
4416
+ /** The `AppLimitEvent` that was created by this mutation. */
4417
+ appLimitEvent?: AppLimitEvent | null;
4418
+ }
4419
+ export type CreateAppLimitEventPayloadSelect = {
4420
+ clientMutationId?: boolean;
4421
+ appLimitEvent?: {
4422
+ select: AppLimitEventSelect;
4423
+ };
4424
+ };
4425
+ export interface CreateOrgLimitEventPayload {
4426
+ clientMutationId?: string | null;
4427
+ /** The `OrgLimitEvent` that was created by this mutation. */
4428
+ orgLimitEvent?: OrgLimitEvent | null;
4429
+ }
4430
+ export type CreateOrgLimitEventPayloadSelect = {
4431
+ clientMutationId?: boolean;
4432
+ orgLimitEvent?: {
4433
+ select: OrgLimitEventSelect;
4434
+ };
4435
+ };
4125
4436
  export interface CreateOrgGrantPayload {
4126
4437
  clientMutationId?: string | null;
4127
4438
  /** The `OrgGrant` that was created by this mutation. */
@@ -4182,34 +4493,124 @@ export type CreateOrgChartEdgePayloadSelect = {
4182
4493
  select: OrgChartEdgeEdgeSelect;
4183
4494
  };
4184
4495
  };
4185
- export interface UpdateOrgChartEdgePayload {
4496
+ export interface UpdateOrgChartEdgePayload {
4497
+ clientMutationId?: string | null;
4498
+ /** The `OrgChartEdge` that was updated by this mutation. */
4499
+ orgChartEdge?: OrgChartEdge | null;
4500
+ orgChartEdgeEdge?: OrgChartEdgeEdge | null;
4501
+ }
4502
+ export type UpdateOrgChartEdgePayloadSelect = {
4503
+ clientMutationId?: boolean;
4504
+ orgChartEdge?: {
4505
+ select: OrgChartEdgeSelect;
4506
+ };
4507
+ orgChartEdgeEdge?: {
4508
+ select: OrgChartEdgeEdgeSelect;
4509
+ };
4510
+ };
4511
+ export interface DeleteOrgChartEdgePayload {
4512
+ clientMutationId?: string | null;
4513
+ /** The `OrgChartEdge` that was deleted by this mutation. */
4514
+ orgChartEdge?: OrgChartEdge | null;
4515
+ orgChartEdgeEdge?: OrgChartEdgeEdge | null;
4516
+ }
4517
+ export type DeleteOrgChartEdgePayloadSelect = {
4518
+ clientMutationId?: boolean;
4519
+ orgChartEdge?: {
4520
+ select: OrgChartEdgeSelect;
4521
+ };
4522
+ orgChartEdgeEdge?: {
4523
+ select: OrgChartEdgeEdgeSelect;
4524
+ };
4525
+ };
4526
+ export interface CreateAppLimitPayload {
4527
+ clientMutationId?: string | null;
4528
+ /** The `AppLimit` that was created by this mutation. */
4529
+ appLimit?: AppLimit | null;
4530
+ appLimitEdge?: AppLimitEdge | null;
4531
+ }
4532
+ export type CreateAppLimitPayloadSelect = {
4533
+ clientMutationId?: boolean;
4534
+ appLimit?: {
4535
+ select: AppLimitSelect;
4536
+ };
4537
+ appLimitEdge?: {
4538
+ select: AppLimitEdgeSelect;
4539
+ };
4540
+ };
4541
+ export interface UpdateAppLimitPayload {
4542
+ clientMutationId?: string | null;
4543
+ /** The `AppLimit` that was updated by this mutation. */
4544
+ appLimit?: AppLimit | null;
4545
+ appLimitEdge?: AppLimitEdge | null;
4546
+ }
4547
+ export type UpdateAppLimitPayloadSelect = {
4548
+ clientMutationId?: boolean;
4549
+ appLimit?: {
4550
+ select: AppLimitSelect;
4551
+ };
4552
+ appLimitEdge?: {
4553
+ select: AppLimitEdgeSelect;
4554
+ };
4555
+ };
4556
+ export interface DeleteAppLimitPayload {
4557
+ clientMutationId?: string | null;
4558
+ /** The `AppLimit` that was deleted by this mutation. */
4559
+ appLimit?: AppLimit | null;
4560
+ appLimitEdge?: AppLimitEdge | null;
4561
+ }
4562
+ export type DeleteAppLimitPayloadSelect = {
4563
+ clientMutationId?: boolean;
4564
+ appLimit?: {
4565
+ select: AppLimitSelect;
4566
+ };
4567
+ appLimitEdge?: {
4568
+ select: AppLimitEdgeSelect;
4569
+ };
4570
+ };
4571
+ export interface CreateOrgLimitAggregatePayload {
4572
+ clientMutationId?: string | null;
4573
+ /** The `OrgLimitAggregate` that was created by this mutation. */
4574
+ orgLimitAggregate?: OrgLimitAggregate | null;
4575
+ orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
4576
+ }
4577
+ export type CreateOrgLimitAggregatePayloadSelect = {
4578
+ clientMutationId?: boolean;
4579
+ orgLimitAggregate?: {
4580
+ select: OrgLimitAggregateSelect;
4581
+ };
4582
+ orgLimitAggregateEdge?: {
4583
+ select: OrgLimitAggregateEdgeSelect;
4584
+ };
4585
+ };
4586
+ export interface UpdateOrgLimitAggregatePayload {
4186
4587
  clientMutationId?: string | null;
4187
- /** The `OrgChartEdge` that was updated by this mutation. */
4188
- orgChartEdge?: OrgChartEdge | null;
4189
- orgChartEdgeEdge?: OrgChartEdgeEdge | null;
4588
+ /** The `OrgLimitAggregate` that was updated by this mutation. */
4589
+ orgLimitAggregate?: OrgLimitAggregate | null;
4590
+ orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
4190
4591
  }
4191
- export type UpdateOrgChartEdgePayloadSelect = {
4592
+ export type UpdateOrgLimitAggregatePayloadSelect = {
4192
4593
  clientMutationId?: boolean;
4193
- orgChartEdge?: {
4194
- select: OrgChartEdgeSelect;
4594
+ orgLimitAggregate?: {
4595
+ select: OrgLimitAggregateSelect;
4195
4596
  };
4196
- orgChartEdgeEdge?: {
4197
- select: OrgChartEdgeEdgeSelect;
4597
+ orgLimitAggregateEdge?: {
4598
+ select: OrgLimitAggregateEdgeSelect;
4198
4599
  };
4199
4600
  };
4200
- export interface DeleteOrgChartEdgePayload {
4601
+ export interface DeleteOrgLimitAggregatePayload {
4201
4602
  clientMutationId?: string | null;
4202
- /** The `OrgChartEdge` that was deleted by this mutation. */
4203
- orgChartEdge?: OrgChartEdge | null;
4204
- orgChartEdgeEdge?: OrgChartEdgeEdge | null;
4603
+ /** The `OrgLimitAggregate` that was deleted by this mutation. */
4604
+ orgLimitAggregate?: OrgLimitAggregate | null;
4605
+ orgLimitAggregateEdge?: OrgLimitAggregateEdge | null;
4205
4606
  }
4206
- export type DeleteOrgChartEdgePayloadSelect = {
4607
+ export type DeleteOrgLimitAggregatePayloadSelect = {
4207
4608
  clientMutationId?: boolean;
4208
- orgChartEdge?: {
4209
- select: OrgChartEdgeSelect;
4609
+ orgLimitAggregate?: {
4610
+ select: OrgLimitAggregateSelect;
4210
4611
  };
4211
- orgChartEdgeEdge?: {
4212
- select: OrgChartEdgeEdgeSelect;
4612
+ orgLimitAggregateEdge?: {
4613
+ select: OrgLimitAggregateEdgeSelect;
4213
4614
  };
4214
4615
  };
4215
4616
  export interface CreateOrgMemberProfilePayload {
@@ -4257,49 +4658,49 @@ export type DeleteOrgMemberProfilePayloadSelect = {
4257
4658
  select: OrgMemberProfileEdgeSelect;
4258
4659
  };
4259
4660
  };
4260
- export interface CreateOrgMembershipSettingPayload {
4661
+ export interface CreateOrgLimitPayload {
4261
4662
  clientMutationId?: string | null;
4262
- /** The `OrgMembershipSetting` that was created by this mutation. */
4263
- orgMembershipSetting?: OrgMembershipSetting | null;
4264
- orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
4663
+ /** The `OrgLimit` that was created by this mutation. */
4664
+ orgLimit?: OrgLimit | null;
4665
+ orgLimitEdge?: OrgLimitEdge | null;
4265
4666
  }
4266
- export type CreateOrgMembershipSettingPayloadSelect = {
4667
+ export type CreateOrgLimitPayloadSelect = {
4267
4668
  clientMutationId?: boolean;
4268
- orgMembershipSetting?: {
4269
- select: OrgMembershipSettingSelect;
4669
+ orgLimit?: {
4670
+ select: OrgLimitSelect;
4270
4671
  };
4271
- orgMembershipSettingEdge?: {
4272
- select: OrgMembershipSettingEdgeSelect;
4672
+ orgLimitEdge?: {
4673
+ select: OrgLimitEdgeSelect;
4273
4674
  };
4274
4675
  };
4275
- export interface UpdateOrgMembershipSettingPayload {
4676
+ export interface UpdateOrgLimitPayload {
4276
4677
  clientMutationId?: string | null;
4277
- /** The `OrgMembershipSetting` that was updated by this mutation. */
4278
- orgMembershipSetting?: OrgMembershipSetting | null;
4279
- orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
4678
+ /** The `OrgLimit` that was updated by this mutation. */
4679
+ orgLimit?: OrgLimit | null;
4680
+ orgLimitEdge?: OrgLimitEdge | null;
4280
4681
  }
4281
- export type UpdateOrgMembershipSettingPayloadSelect = {
4682
+ export type UpdateOrgLimitPayloadSelect = {
4282
4683
  clientMutationId?: boolean;
4283
- orgMembershipSetting?: {
4284
- select: OrgMembershipSettingSelect;
4684
+ orgLimit?: {
4685
+ select: OrgLimitSelect;
4285
4686
  };
4286
- orgMembershipSettingEdge?: {
4287
- select: OrgMembershipSettingEdgeSelect;
4687
+ orgLimitEdge?: {
4688
+ select: OrgLimitEdgeSelect;
4288
4689
  };
4289
4690
  };
4290
- export interface DeleteOrgMembershipSettingPayload {
4691
+ export interface DeleteOrgLimitPayload {
4291
4692
  clientMutationId?: string | null;
4292
- /** The `OrgMembershipSetting` that was deleted by this mutation. */
4293
- orgMembershipSetting?: OrgMembershipSetting | null;
4294
- orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
4693
+ /** The `OrgLimit` that was deleted by this mutation. */
4694
+ orgLimit?: OrgLimit | null;
4695
+ orgLimitEdge?: OrgLimitEdge | null;
4295
4696
  }
4296
- export type DeleteOrgMembershipSettingPayloadSelect = {
4697
+ export type DeleteOrgLimitPayloadSelect = {
4297
4698
  clientMutationId?: boolean;
4298
- orgMembershipSetting?: {
4299
- select: OrgMembershipSettingSelect;
4699
+ orgLimit?: {
4700
+ select: OrgLimitSelect;
4300
4701
  };
4301
- orgMembershipSettingEdge?: {
4302
- select: OrgMembershipSettingEdgeSelect;
4702
+ orgLimitEdge?: {
4703
+ select: OrgLimitEdgeSelect;
4303
4704
  };
4304
4705
  };
4305
4706
  export interface CreateAppLevelPayload {
@@ -4392,6 +4793,51 @@ export type DeleteAppInvitePayloadSelect = {
4392
4793
  select: AppInviteEdgeSelect;
4393
4794
  };
4394
4795
  };
4796
+ export interface CreateOrgMembershipSettingPayload {
4797
+ clientMutationId?: string | null;
4798
+ /** The `OrgMembershipSetting` that was created by this mutation. */
4799
+ orgMembershipSetting?: OrgMembershipSetting | null;
4800
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
4801
+ }
4802
+ export type CreateOrgMembershipSettingPayloadSelect = {
4803
+ clientMutationId?: boolean;
4804
+ orgMembershipSetting?: {
4805
+ select: OrgMembershipSettingSelect;
4806
+ };
4807
+ orgMembershipSettingEdge?: {
4808
+ select: OrgMembershipSettingEdgeSelect;
4809
+ };
4810
+ };
4811
+ export interface UpdateOrgMembershipSettingPayload {
4812
+ clientMutationId?: string | null;
4813
+ /** The `OrgMembershipSetting` that was updated by this mutation. */
4814
+ orgMembershipSetting?: OrgMembershipSetting | null;
4815
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
4816
+ }
4817
+ export type UpdateOrgMembershipSettingPayloadSelect = {
4818
+ clientMutationId?: boolean;
4819
+ orgMembershipSetting?: {
4820
+ select: OrgMembershipSettingSelect;
4821
+ };
4822
+ orgMembershipSettingEdge?: {
4823
+ select: OrgMembershipSettingEdgeSelect;
4824
+ };
4825
+ };
4826
+ export interface DeleteOrgMembershipSettingPayload {
4827
+ clientMutationId?: string | null;
4828
+ /** The `OrgMembershipSetting` that was deleted by this mutation. */
4829
+ orgMembershipSetting?: OrgMembershipSetting | null;
4830
+ orgMembershipSettingEdge?: OrgMembershipSettingEdge | null;
4831
+ }
4832
+ export type DeleteOrgMembershipSettingPayloadSelect = {
4833
+ clientMutationId?: boolean;
4834
+ orgMembershipSetting?: {
4835
+ select: OrgMembershipSettingSelect;
4836
+ };
4837
+ orgMembershipSettingEdge?: {
4838
+ select: OrgMembershipSettingEdgeSelect;
4839
+ };
4840
+ };
4395
4841
  export interface CreateOrgInvitePayload {
4396
4842
  clientMutationId?: string | null;
4397
4843
  /** The `OrgInvite` that was created by this mutation. */
@@ -4640,28 +5086,28 @@ export type AppOwnerGrantEdgeSelect = {
4640
5086
  select: AppOwnerGrantSelect;
4641
5087
  };
4642
5088
  };
4643
- /** A `AppLimitDefault` edge in the connection. */
4644
- export interface AppLimitDefaultEdge {
5089
+ /** A `AppAchievement` edge in the connection. */
5090
+ export interface AppAchievementEdge {
4645
5091
  cursor?: string | null;
4646
- /** The `AppLimitDefault` at the end of the edge. */
4647
- node?: AppLimitDefault | null;
5092
+ /** The `AppAchievement` at the end of the edge. */
5093
+ node?: AppAchievement | null;
4648
5094
  }
4649
- export type AppLimitDefaultEdgeSelect = {
5095
+ export type AppAchievementEdgeSelect = {
4650
5096
  cursor?: boolean;
4651
5097
  node?: {
4652
- select: AppLimitDefaultSelect;
5098
+ select: AppAchievementSelect;
4653
5099
  };
4654
5100
  };
4655
- /** A `OrgLimitDefault` edge in the connection. */
4656
- export interface OrgLimitDefaultEdge {
5101
+ /** A `AppStep` edge in the connection. */
5102
+ export interface AppStepEdge {
4657
5103
  cursor?: string | null;
4658
- /** The `OrgLimitDefault` at the end of the edge. */
4659
- node?: OrgLimitDefault | null;
5104
+ /** The `AppStep` at the end of the edge. */
5105
+ node?: AppStep | null;
4660
5106
  }
4661
- export type OrgLimitDefaultEdgeSelect = {
5107
+ export type AppStepEdgeSelect = {
4662
5108
  cursor?: boolean;
4663
5109
  node?: {
4664
- select: OrgLimitDefaultSelect;
5110
+ select: AppStepSelect;
4665
5111
  };
4666
5112
  };
4667
5113
  /** A `OrgAdminGrant` edge in the connection. */
@@ -4688,52 +5134,40 @@ export type OrgOwnerGrantEdgeSelect = {
4688
5134
  select: OrgOwnerGrantSelect;
4689
5135
  };
4690
5136
  };
4691
- /** A `AppLimit` edge in the connection. */
4692
- export interface AppLimitEdge {
4693
- cursor?: string | null;
4694
- /** The `AppLimit` at the end of the edge. */
4695
- node?: AppLimit | null;
4696
- }
4697
- export type AppLimitEdgeSelect = {
4698
- cursor?: boolean;
4699
- node?: {
4700
- select: AppLimitSelect;
4701
- };
4702
- };
4703
- /** A `AppAchievement` edge in the connection. */
4704
- export interface AppAchievementEdge {
5137
+ /** A `MembershipType` edge in the connection. */
5138
+ export interface MembershipTypeEdge {
4705
5139
  cursor?: string | null;
4706
- /** The `AppAchievement` at the end of the edge. */
4707
- node?: AppAchievement | null;
5140
+ /** The `MembershipType` at the end of the edge. */
5141
+ node?: MembershipType | null;
4708
5142
  }
4709
- export type AppAchievementEdgeSelect = {
5143
+ export type MembershipTypeEdgeSelect = {
4710
5144
  cursor?: boolean;
4711
5145
  node?: {
4712
- select: AppAchievementSelect;
5146
+ select: MembershipTypeSelect;
4713
5147
  };
4714
5148
  };
4715
- /** A `AppStep` edge in the connection. */
4716
- export interface AppStepEdge {
5149
+ /** A `AppLimitDefault` edge in the connection. */
5150
+ export interface AppLimitDefaultEdge {
4717
5151
  cursor?: string | null;
4718
- /** The `AppStep` at the end of the edge. */
4719
- node?: AppStep | null;
5152
+ /** The `AppLimitDefault` at the end of the edge. */
5153
+ node?: AppLimitDefault | null;
4720
5154
  }
4721
- export type AppStepEdgeSelect = {
5155
+ export type AppLimitDefaultEdgeSelect = {
4722
5156
  cursor?: boolean;
4723
5157
  node?: {
4724
- select: AppStepSelect;
5158
+ select: AppLimitDefaultSelect;
4725
5159
  };
4726
5160
  };
4727
- /** A `AppClaimedInvite` edge in the connection. */
4728
- export interface AppClaimedInviteEdge {
5161
+ /** A `OrgLimitDefault` edge in the connection. */
5162
+ export interface OrgLimitDefaultEdge {
4729
5163
  cursor?: string | null;
4730
- /** The `AppClaimedInvite` at the end of the edge. */
4731
- node?: AppClaimedInvite | null;
5164
+ /** The `OrgLimitDefault` at the end of the edge. */
5165
+ node?: OrgLimitDefault | null;
4732
5166
  }
4733
- export type AppClaimedInviteEdgeSelect = {
5167
+ export type OrgLimitDefaultEdgeSelect = {
4734
5168
  cursor?: boolean;
4735
5169
  node?: {
4736
- select: AppClaimedInviteSelect;
5170
+ select: OrgLimitDefaultSelect;
4737
5171
  };
4738
5172
  };
4739
5173
  /** A `OrgChartEdgeGrant` edge in the connection. */
@@ -4748,28 +5182,16 @@ export type OrgChartEdgeGrantEdgeSelect = {
4748
5182
  select: OrgChartEdgeGrantSelect;
4749
5183
  };
4750
5184
  };
4751
- /** A `OrgLimit` edge in the connection. */
4752
- export interface OrgLimitEdge {
4753
- cursor?: string | null;
4754
- /** The `OrgLimit` at the end of the edge. */
4755
- node?: OrgLimit | null;
4756
- }
4757
- export type OrgLimitEdgeSelect = {
4758
- cursor?: boolean;
4759
- node?: {
4760
- select: OrgLimitSelect;
4761
- };
4762
- };
4763
- /** A `MembershipType` edge in the connection. */
4764
- export interface MembershipTypeEdge {
5185
+ /** A `AppClaimedInvite` edge in the connection. */
5186
+ export interface AppClaimedInviteEdge {
4765
5187
  cursor?: string | null;
4766
- /** The `MembershipType` at the end of the edge. */
4767
- node?: MembershipType | null;
5188
+ /** The `AppClaimedInvite` at the end of the edge. */
5189
+ node?: AppClaimedInvite | null;
4768
5190
  }
4769
- export type MembershipTypeEdgeSelect = {
5191
+ export type AppClaimedInviteEdgeSelect = {
4770
5192
  cursor?: boolean;
4771
5193
  node?: {
4772
- select: MembershipTypeSelect;
5194
+ select: AppClaimedInviteSelect;
4773
5195
  };
4774
5196
  };
4775
5197
  /** A `AppGrant` edge in the connection. */
@@ -4844,6 +5266,30 @@ export type OrgChartEdgeEdgeSelect = {
4844
5266
  select: OrgChartEdgeSelect;
4845
5267
  };
4846
5268
  };
5269
+ /** A `AppLimit` edge in the connection. */
5270
+ export interface AppLimitEdge {
5271
+ cursor?: string | null;
5272
+ /** The `AppLimit` at the end of the edge. */
5273
+ node?: AppLimit | null;
5274
+ }
5275
+ export type AppLimitEdgeSelect = {
5276
+ cursor?: boolean;
5277
+ node?: {
5278
+ select: AppLimitSelect;
5279
+ };
5280
+ };
5281
+ /** A `OrgLimitAggregate` edge in the connection. */
5282
+ export interface OrgLimitAggregateEdge {
5283
+ cursor?: string | null;
5284
+ /** The `OrgLimitAggregate` at the end of the edge. */
5285
+ node?: OrgLimitAggregate | null;
5286
+ }
5287
+ export type OrgLimitAggregateEdgeSelect = {
5288
+ cursor?: boolean;
5289
+ node?: {
5290
+ select: OrgLimitAggregateSelect;
5291
+ };
5292
+ };
4847
5293
  /** A `OrgMemberProfile` edge in the connection. */
4848
5294
  export interface OrgMemberProfileEdge {
4849
5295
  cursor?: string | null;
@@ -4856,16 +5302,16 @@ export type OrgMemberProfileEdgeSelect = {
4856
5302
  select: OrgMemberProfileSelect;
4857
5303
  };
4858
5304
  };
4859
- /** A `OrgMembershipSetting` edge in the connection. */
4860
- export interface OrgMembershipSettingEdge {
5305
+ /** A `OrgLimit` edge in the connection. */
5306
+ export interface OrgLimitEdge {
4861
5307
  cursor?: string | null;
4862
- /** The `OrgMembershipSetting` at the end of the edge. */
4863
- node?: OrgMembershipSetting | null;
5308
+ /** The `OrgLimit` at the end of the edge. */
5309
+ node?: OrgLimit | null;
4864
5310
  }
4865
- export type OrgMembershipSettingEdgeSelect = {
5311
+ export type OrgLimitEdgeSelect = {
4866
5312
  cursor?: boolean;
4867
5313
  node?: {
4868
- select: OrgMembershipSettingSelect;
5314
+ select: OrgLimitSelect;
4869
5315
  };
4870
5316
  };
4871
5317
  /** A `AppLevel` edge in the connection. */
@@ -4892,6 +5338,18 @@ export type AppInviteEdgeSelect = {
4892
5338
  select: AppInviteSelect;
4893
5339
  };
4894
5340
  };
5341
+ /** A `OrgMembershipSetting` edge in the connection. */
5342
+ export interface OrgMembershipSettingEdge {
5343
+ cursor?: string | null;
5344
+ /** The `OrgMembershipSetting` at the end of the edge. */
5345
+ node?: OrgMembershipSetting | null;
5346
+ }
5347
+ export type OrgMembershipSettingEdgeSelect = {
5348
+ cursor?: boolean;
5349
+ node?: {
5350
+ select: OrgMembershipSettingSelect;
5351
+ };
5352
+ };
4895
5353
  /** A `OrgInvite` edge in the connection. */
4896
5354
  export interface OrgInviteEdge {
4897
5355
  cursor?: string | null;