@constructive-io/react 0.19.5 → 0.19.6

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 (45) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +6 -6
  4. package/admin/hooks/invalidation.js +15 -15
  5. package/admin/hooks/mutation-keys.d.ts +12 -12
  6. package/admin/hooks/mutation-keys.js +8 -8
  7. package/admin/hooks/mutations/index.d.ts +3 -3
  8. package/admin/hooks/mutations/index.js +3 -3
  9. package/admin/hooks/queries/index.d.ts +2 -2
  10. package/admin/hooks/queries/index.js +2 -2
  11. package/admin/hooks/query-keys.d.ts +14 -14
  12. package/admin/hooks/query-keys.js +9 -9
  13. package/admin/orm/index.d.ts +2 -2
  14. package/admin/orm/index.js +2 -2
  15. package/admin/orm/input-types.d.ts +190 -183
  16. package/admin/orm/models/index.d.ts +1 -1
  17. package/admin/orm/models/index.js +3 -3
  18. package/admin/schema-types.d.ts +147 -141
  19. package/admin/types.d.ts +18 -17
  20. package/esm/admin/hooks/index.d.ts +1 -1
  21. package/esm/admin/hooks/index.js +1 -1
  22. package/esm/admin/hooks/invalidation.d.ts +6 -6
  23. package/esm/admin/hooks/invalidation.js +16 -16
  24. package/esm/admin/hooks/mutation-keys.d.ts +12 -12
  25. package/esm/admin/hooks/mutation-keys.js +7 -7
  26. package/esm/admin/hooks/mutations/index.d.ts +3 -3
  27. package/esm/admin/hooks/mutations/index.js +3 -3
  28. package/esm/admin/hooks/queries/index.d.ts +2 -2
  29. package/esm/admin/hooks/queries/index.js +2 -2
  30. package/esm/admin/hooks/query-keys.d.ts +14 -14
  31. package/esm/admin/hooks/query-keys.js +8 -8
  32. package/esm/admin/orm/index.d.ts +2 -2
  33. package/esm/admin/orm/index.js +2 -2
  34. package/esm/admin/orm/input-types.d.ts +190 -183
  35. package/esm/admin/orm/models/index.d.ts +1 -1
  36. package/esm/admin/orm/models/index.js +1 -1
  37. package/esm/admin/schema-types.d.ts +147 -141
  38. package/esm/admin/types.d.ts +18 -17
  39. package/esm/public/orm/input-types.d.ts +10 -1
  40. package/esm/public/schema-types.d.ts +111 -105
  41. package/esm/public/types.d.ts +1 -0
  42. package/package.json +4 -4
  43. package/public/orm/input-types.d.ts +10 -1
  44. package/public/schema-types.d.ts +111 -105
  45. package/public/types.d.ts +1 -0
@@ -90,10 +90,10 @@ export type OrgMembershipSettingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMA
90
90
  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' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'RESERVED_ASC' | 'RESERVED_DESC';
91
91
  /** Methods to use when ordering `OrgLimit`. */
92
92
  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' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
93
- /** Methods to use when ordering `OrgInvite`. */
94
- 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';
95
93
  /** Methods to use when ordering `AppMembership`. */
96
94
  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';
95
+ /** Methods to use when ordering `OrgInvite`. */
96
+ 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' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_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';
97
97
  /** Methods to use when ordering `OrgMembership`. */
98
98
  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';
99
99
  /** A filter to be used against `AppLimitCredit` object types. All fields are combined with a logical ‘and.’ */
@@ -1314,43 +1314,6 @@ export interface OrgLimitFilter {
1314
1314
  /** Negates the expression. */
1315
1315
  not?: OrgLimitFilter;
1316
1316
  }
1317
- /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */
1318
- export interface OrgInviteFilter {
1319
- /** Filter by the object’s `id` field. */
1320
- id?: UUIDFilter;
1321
- /** Filter by the object’s `email` field. */
1322
- email?: ConstructiveInternalTypeEmailFilter;
1323
- /** Filter by the object’s `senderId` field. */
1324
- senderId?: UUIDFilter;
1325
- /** Filter by the object’s `receiverId` field. */
1326
- receiverId?: UUIDFilter;
1327
- /** Filter by the object’s `inviteToken` field. */
1328
- inviteToken?: StringFilter;
1329
- /** Filter by the object’s `inviteValid` field. */
1330
- inviteValid?: BooleanFilter;
1331
- /** Filter by the object’s `inviteLimit` field. */
1332
- inviteLimit?: IntFilter;
1333
- /** Filter by the object’s `inviteCount` field. */
1334
- inviteCount?: IntFilter;
1335
- /** Filter by the object’s `multiple` field. */
1336
- multiple?: BooleanFilter;
1337
- /** Filter by the object’s `profileId` field. */
1338
- profileId?: UUIDFilter;
1339
- /** Filter by the object’s `expiresAt` field. */
1340
- expiresAt?: DatetimeFilter;
1341
- /** Filter by the object’s `createdAt` field. */
1342
- createdAt?: DatetimeFilter;
1343
- /** Filter by the object’s `updatedAt` field. */
1344
- updatedAt?: DatetimeFilter;
1345
- /** Filter by the object’s `entityId` field. */
1346
- entityId?: UUIDFilter;
1347
- /** Checks for all expressions in this list. */
1348
- and?: OrgInviteFilter[];
1349
- /** Checks for any expressions in this list. */
1350
- or?: OrgInviteFilter[];
1351
- /** Negates the expression. */
1352
- not?: OrgInviteFilter;
1353
- }
1354
1317
  /** A filter to be used against `AppMembership` object types. All fields are combined with a logical ‘and.’ */
1355
1318
  export interface AppMembershipFilter {
1356
1319
  /** Filter by the object’s `id` field. */
@@ -1392,6 +1355,45 @@ export interface AppMembershipFilter {
1392
1355
  /** Negates the expression. */
1393
1356
  not?: AppMembershipFilter;
1394
1357
  }
1358
+ /** A filter to be used against `OrgInvite` object types. All fields are combined with a logical ‘and.’ */
1359
+ export interface OrgInviteFilter {
1360
+ /** Filter by the object’s `id` field. */
1361
+ id?: UUIDFilter;
1362
+ /** Filter by the object’s `email` field. */
1363
+ email?: ConstructiveInternalTypeEmailFilter;
1364
+ /** Filter by the object’s `senderId` field. */
1365
+ senderId?: UUIDFilter;
1366
+ /** Filter by the object’s `receiverId` field. */
1367
+ receiverId?: UUIDFilter;
1368
+ /** Filter by the object’s `inviteToken` field. */
1369
+ inviteToken?: StringFilter;
1370
+ /** Filter by the object’s `inviteValid` field. */
1371
+ inviteValid?: BooleanFilter;
1372
+ /** Filter by the object’s `inviteLimit` field. */
1373
+ inviteLimit?: IntFilter;
1374
+ /** Filter by the object’s `inviteCount` field. */
1375
+ inviteCount?: IntFilter;
1376
+ /** Filter by the object’s `multiple` field. */
1377
+ multiple?: BooleanFilter;
1378
+ /** Filter by the object’s `profileId` field. */
1379
+ profileId?: UUIDFilter;
1380
+ /** Filter by the object’s `isReadOnly` field. */
1381
+ isReadOnly?: BooleanFilter;
1382
+ /** Filter by the object’s `expiresAt` field. */
1383
+ expiresAt?: DatetimeFilter;
1384
+ /** Filter by the object’s `createdAt` field. */
1385
+ createdAt?: DatetimeFilter;
1386
+ /** Filter by the object’s `updatedAt` field. */
1387
+ updatedAt?: DatetimeFilter;
1388
+ /** Filter by the object’s `entityId` field. */
1389
+ entityId?: UUIDFilter;
1390
+ /** Checks for all expressions in this list. */
1391
+ and?: OrgInviteFilter[];
1392
+ /** Checks for any expressions in this list. */
1393
+ or?: OrgInviteFilter[];
1394
+ /** Negates the expression. */
1395
+ not?: OrgInviteFilter;
1396
+ }
1395
1397
  export interface SubmitAppInviteCodeInput {
1396
1398
  clientMutationId?: string;
1397
1399
  token?: string;
@@ -2209,40 +2211,6 @@ export interface OrgLimitInput {
2209
2211
  periodCredits?: string;
2210
2212
  entityId: string;
2211
2213
  }
2212
- export interface CreateOrgInviteInput {
2213
- clientMutationId?: string;
2214
- /** The `OrgInvite` to be created by this mutation. */
2215
- orgInvite: OrgInviteInput;
2216
- }
2217
- /** An input for mutations affecting `OrgInvite` */
2218
- export interface OrgInviteInput {
2219
- id?: string;
2220
- /** Email address of the invited recipient */
2221
- email?: ConstructiveInternalTypeEmail;
2222
- /** User ID of the member who sent this invitation */
2223
- senderId?: string;
2224
- /** User ID of the intended recipient, if targeting a specific user */
2225
- receiverId?: string;
2226
- /** Unique random hex token used to redeem this invitation */
2227
- inviteToken?: string;
2228
- /** Whether this invitation is still valid and can be redeemed */
2229
- inviteValid?: boolean;
2230
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
2231
- inviteLimit?: number;
2232
- /** Running count of how many times this invite has been claimed */
2233
- inviteCount?: number;
2234
- /** Whether this invite can be claimed by multiple recipients */
2235
- multiple?: boolean;
2236
- /** Optional JSON payload of additional invite metadata */
2237
- data?: unknown;
2238
- /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
2239
- profileId?: string;
2240
- /** Timestamp after which this invitation can no longer be redeemed */
2241
- expiresAt?: string;
2242
- createdAt?: string;
2243
- updatedAt?: string;
2244
- entityId: string;
2245
- }
2246
2214
  export interface CreateAppMembershipInput {
2247
2215
  clientMutationId?: string;
2248
2216
  /** The `AppMembership` to be created by this mutation. */
@@ -2277,6 +2245,42 @@ export interface AppMembershipInput {
2277
2245
  actorId: string;
2278
2246
  profileId?: string;
2279
2247
  }
2248
+ export interface CreateOrgInviteInput {
2249
+ clientMutationId?: string;
2250
+ /** The `OrgInvite` to be created by this mutation. */
2251
+ orgInvite: OrgInviteInput;
2252
+ }
2253
+ /** An input for mutations affecting `OrgInvite` */
2254
+ export interface OrgInviteInput {
2255
+ id?: string;
2256
+ /** Email address of the invited recipient */
2257
+ email?: ConstructiveInternalTypeEmail;
2258
+ /** User ID of the member who sent this invitation */
2259
+ senderId?: string;
2260
+ /** User ID of the intended recipient, if targeting a specific user */
2261
+ receiverId?: string;
2262
+ /** Unique random hex token used to redeem this invitation */
2263
+ inviteToken?: string;
2264
+ /** Whether this invitation is still valid and can be redeemed */
2265
+ inviteValid?: boolean;
2266
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
2267
+ inviteLimit?: number;
2268
+ /** Running count of how many times this invite has been claimed */
2269
+ inviteCount?: number;
2270
+ /** Whether this invite can be claimed by multiple recipients */
2271
+ multiple?: boolean;
2272
+ /** Optional JSON payload of additional invite metadata */
2273
+ data?: unknown;
2274
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
2275
+ profileId?: string;
2276
+ /** Whether the resulting membership should be read-only when this invite is claimed */
2277
+ isReadOnly?: boolean;
2278
+ /** Timestamp after which this invitation can no longer be redeemed */
2279
+ expiresAt?: string;
2280
+ createdAt?: string;
2281
+ updatedAt?: string;
2282
+ entityId: string;
2283
+ }
2280
2284
  export interface CreateOrgMembershipInput {
2281
2285
  clientMutationId?: string;
2282
2286
  /** The `OrgMembership` to be created by this mutation. */
@@ -3117,41 +3121,6 @@ export interface OrgLimitPatch {
3117
3121
  periodCredits?: string;
3118
3122
  entityId?: string;
3119
3123
  }
3120
- export interface UpdateOrgInviteInput {
3121
- clientMutationId?: string;
3122
- id: string;
3123
- /** An object where the defined keys will be set on the `OrgInvite` being updated. */
3124
- orgInvitePatch: OrgInvitePatch;
3125
- }
3126
- /** Represents an update to a `OrgInvite`. Fields that are set will be updated. */
3127
- export interface OrgInvitePatch {
3128
- id?: string;
3129
- /** Email address of the invited recipient */
3130
- email?: ConstructiveInternalTypeEmail;
3131
- /** User ID of the member who sent this invitation */
3132
- senderId?: string;
3133
- /** User ID of the intended recipient, if targeting a specific user */
3134
- receiverId?: string;
3135
- /** Unique random hex token used to redeem this invitation */
3136
- inviteToken?: string;
3137
- /** Whether this invitation is still valid and can be redeemed */
3138
- inviteValid?: boolean;
3139
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
3140
- inviteLimit?: number;
3141
- /** Running count of how many times this invite has been claimed */
3142
- inviteCount?: number;
3143
- /** Whether this invite can be claimed by multiple recipients */
3144
- multiple?: boolean;
3145
- /** Optional JSON payload of additional invite metadata */
3146
- data?: unknown;
3147
- /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
3148
- profileId?: string;
3149
- /** Timestamp after which this invitation can no longer be redeemed */
3150
- expiresAt?: string;
3151
- createdAt?: string;
3152
- updatedAt?: string;
3153
- entityId?: string;
3154
- }
3155
3124
  export interface UpdateAppMembershipInput {
3156
3125
  clientMutationId?: string;
3157
3126
  id: string;
@@ -3187,6 +3156,43 @@ export interface AppMembershipPatch {
3187
3156
  actorId?: string;
3188
3157
  profileId?: string;
3189
3158
  }
3159
+ export interface UpdateOrgInviteInput {
3160
+ clientMutationId?: string;
3161
+ id: string;
3162
+ /** An object where the defined keys will be set on the `OrgInvite` being updated. */
3163
+ orgInvitePatch: OrgInvitePatch;
3164
+ }
3165
+ /** Represents an update to a `OrgInvite`. Fields that are set will be updated. */
3166
+ export interface OrgInvitePatch {
3167
+ id?: string;
3168
+ /** Email address of the invited recipient */
3169
+ email?: ConstructiveInternalTypeEmail;
3170
+ /** User ID of the member who sent this invitation */
3171
+ senderId?: string;
3172
+ /** User ID of the intended recipient, if targeting a specific user */
3173
+ receiverId?: string;
3174
+ /** Unique random hex token used to redeem this invitation */
3175
+ inviteToken?: string;
3176
+ /** Whether this invitation is still valid and can be redeemed */
3177
+ inviteValid?: boolean;
3178
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
3179
+ inviteLimit?: number;
3180
+ /** Running count of how many times this invite has been claimed */
3181
+ inviteCount?: number;
3182
+ /** Whether this invite can be claimed by multiple recipients */
3183
+ multiple?: boolean;
3184
+ /** Optional JSON payload of additional invite metadata */
3185
+ data?: unknown;
3186
+ /** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
3187
+ profileId?: string;
3188
+ /** Whether the resulting membership should be read-only when this invite is claimed */
3189
+ isReadOnly?: boolean;
3190
+ /** Timestamp after which this invitation can no longer be redeemed */
3191
+ expiresAt?: string;
3192
+ createdAt?: string;
3193
+ updatedAt?: string;
3194
+ entityId?: string;
3195
+ }
3190
3196
  export interface UpdateOrgMembershipInput {
3191
3197
  clientMutationId?: string;
3192
3198
  id: string;
@@ -3387,11 +3393,11 @@ export interface DeleteOrgLimitInput {
3387
3393
  clientMutationId?: string;
3388
3394
  id: string;
3389
3395
  }
3390
- export interface DeleteOrgInviteInput {
3396
+ export interface DeleteAppMembershipInput {
3391
3397
  clientMutationId?: string;
3392
3398
  id: string;
3393
3399
  }
3394
- export interface DeleteAppMembershipInput {
3400
+ export interface DeleteOrgInviteInput {
3395
3401
  clientMutationId?: string;
3396
3402
  id: string;
3397
3403
  }
@@ -3716,13 +3722,6 @@ export interface OrgLimitConnection {
3716
3722
  pageInfo: PageInfo;
3717
3723
  totalCount: number;
3718
3724
  }
3719
- /** A connection to a list of `OrgInvite` values. */
3720
- export interface OrgInviteConnection {
3721
- nodes: OrgInvite[];
3722
- edges: OrgInviteEdge[];
3723
- pageInfo: PageInfo;
3724
- totalCount: number;
3725
- }
3726
3725
  /** A connection to a list of `AppMembership` values. */
3727
3726
  export interface AppMembershipConnection {
3728
3727
  nodes: AppMembership[];
@@ -3730,6 +3729,13 @@ export interface AppMembershipConnection {
3730
3729
  pageInfo: PageInfo;
3731
3730
  totalCount: number;
3732
3731
  }
3732
+ /** A connection to a list of `OrgInvite` values. */
3733
+ export interface OrgInviteConnection {
3734
+ nodes: OrgInvite[];
3735
+ edges: OrgInviteEdge[];
3736
+ pageInfo: PageInfo;
3737
+ totalCount: number;
3738
+ }
3733
3739
  /** A connection to a list of `OrgMembership` values. */
3734
3740
  export interface OrgMembershipConnection {
3735
3741
  nodes: OrgMembership[];
@@ -3999,18 +4005,18 @@ export interface CreateOrgLimitPayload {
3999
4005
  orgLimit?: OrgLimit | null;
4000
4006
  orgLimitEdge?: OrgLimitEdge | null;
4001
4007
  }
4002
- export interface CreateOrgInvitePayload {
4003
- clientMutationId?: string | null;
4004
- /** The `OrgInvite` that was created by this mutation. */
4005
- orgInvite?: OrgInvite | null;
4006
- orgInviteEdge?: OrgInviteEdge | null;
4007
- }
4008
4008
  export interface CreateAppMembershipPayload {
4009
4009
  clientMutationId?: string | null;
4010
4010
  /** The `AppMembership` that was created by this mutation. */
4011
4011
  appMembership?: AppMembership | null;
4012
4012
  appMembershipEdge?: AppMembershipEdge | null;
4013
4013
  }
4014
+ export interface CreateOrgInvitePayload {
4015
+ clientMutationId?: string | null;
4016
+ /** The `OrgInvite` that was created by this mutation. */
4017
+ orgInvite?: OrgInvite | null;
4018
+ orgInviteEdge?: OrgInviteEdge | null;
4019
+ }
4014
4020
  export interface CreateOrgMembershipPayload {
4015
4021
  clientMutationId?: string | null;
4016
4022
  /** The `OrgMembership` that was created by this mutation. */
@@ -4257,18 +4263,18 @@ export interface UpdateOrgLimitPayload {
4257
4263
  orgLimit?: OrgLimit | null;
4258
4264
  orgLimitEdge?: OrgLimitEdge | null;
4259
4265
  }
4260
- export interface UpdateOrgInvitePayload {
4261
- clientMutationId?: string | null;
4262
- /** The `OrgInvite` that was updated by this mutation. */
4263
- orgInvite?: OrgInvite | null;
4264
- orgInviteEdge?: OrgInviteEdge | null;
4265
- }
4266
4266
  export interface UpdateAppMembershipPayload {
4267
4267
  clientMutationId?: string | null;
4268
4268
  /** The `AppMembership` that was updated by this mutation. */
4269
4269
  appMembership?: AppMembership | null;
4270
4270
  appMembershipEdge?: AppMembershipEdge | null;
4271
4271
  }
4272
+ export interface UpdateOrgInvitePayload {
4273
+ clientMutationId?: string | null;
4274
+ /** The `OrgInvite` that was updated by this mutation. */
4275
+ orgInvite?: OrgInvite | null;
4276
+ orgInviteEdge?: OrgInviteEdge | null;
4277
+ }
4272
4278
  export interface UpdateOrgMembershipPayload {
4273
4279
  clientMutationId?: string | null;
4274
4280
  /** The `OrgMembership` that was updated by this mutation. */
@@ -4515,18 +4521,18 @@ export interface DeleteOrgLimitPayload {
4515
4521
  orgLimit?: OrgLimit | null;
4516
4522
  orgLimitEdge?: OrgLimitEdge | null;
4517
4523
  }
4518
- export interface DeleteOrgInvitePayload {
4519
- clientMutationId?: string | null;
4520
- /** The `OrgInvite` that was deleted by this mutation. */
4521
- orgInvite?: OrgInvite | null;
4522
- orgInviteEdge?: OrgInviteEdge | null;
4523
- }
4524
4524
  export interface DeleteAppMembershipPayload {
4525
4525
  clientMutationId?: string | null;
4526
4526
  /** The `AppMembership` that was deleted by this mutation. */
4527
4527
  appMembership?: AppMembership | null;
4528
4528
  appMembershipEdge?: AppMembershipEdge | null;
4529
4529
  }
4530
+ export interface DeleteOrgInvitePayload {
4531
+ clientMutationId?: string | null;
4532
+ /** The `OrgInvite` that was deleted by this mutation. */
4533
+ orgInvite?: OrgInvite | null;
4534
+ orgInviteEdge?: OrgInviteEdge | null;
4535
+ }
4530
4536
  export interface DeleteOrgMembershipPayload {
4531
4537
  clientMutationId?: string | null;
4532
4538
  /** The `OrgMembership` that was deleted by this mutation. */
@@ -4822,18 +4828,18 @@ export interface OrgLimitEdge {
4822
4828
  /** The `OrgLimit` at the end of the edge. */
4823
4829
  node?: OrgLimit | null;
4824
4830
  }
4825
- /** A `OrgInvite` edge in the connection. */
4826
- export interface OrgInviteEdge {
4827
- cursor?: string | null;
4828
- /** The `OrgInvite` at the end of the edge. */
4829
- node?: OrgInvite | null;
4830
- }
4831
4831
  /** A `AppMembership` edge in the connection. */
4832
4832
  export interface AppMembershipEdge {
4833
4833
  cursor?: string | null;
4834
4834
  /** The `AppMembership` at the end of the edge. */
4835
4835
  node?: AppMembership | null;
4836
4836
  }
4837
+ /** A `OrgInvite` edge in the connection. */
4838
+ export interface OrgInviteEdge {
4839
+ cursor?: string | null;
4840
+ /** The `OrgInvite` at the end of the edge. */
4841
+ node?: OrgInvite | null;
4842
+ }
4837
4843
  /** A `OrgMembership` edge in the connection. */
4838
4844
  export interface OrgMembershipEdge {
4839
4845
  cursor?: string | null;
package/admin/types.d.ts CHANGED
@@ -379,23 +379,6 @@ export interface OrgLimit {
379
379
  periodCredits: string | null;
380
380
  entityId: string | null;
381
381
  }
382
- export interface OrgInvite {
383
- id: string | null;
384
- email: ConstructiveInternalTypeEmail | null;
385
- senderId: string | null;
386
- receiverId: string | null;
387
- inviteToken: string | null;
388
- inviteValid: boolean | null;
389
- inviteLimit: number | null;
390
- inviteCount: number | null;
391
- multiple: boolean | null;
392
- data: unknown | null;
393
- profileId: string | null;
394
- expiresAt: string | null;
395
- createdAt: string | null;
396
- updatedAt: string | null;
397
- entityId: string | null;
398
- }
399
382
  export interface AppMembership {
400
383
  id: string | null;
401
384
  createdAt: string | null;
@@ -414,6 +397,24 @@ export interface AppMembership {
414
397
  actorId: string | null;
415
398
  profileId: string | null;
416
399
  }
400
+ export interface OrgInvite {
401
+ id: string | null;
402
+ email: ConstructiveInternalTypeEmail | null;
403
+ senderId: string | null;
404
+ receiverId: string | null;
405
+ inviteToken: string | null;
406
+ inviteValid: boolean | null;
407
+ inviteLimit: number | null;
408
+ inviteCount: number | null;
409
+ multiple: boolean | null;
410
+ data: unknown | null;
411
+ profileId: string | null;
412
+ isReadOnly: boolean | null;
413
+ expiresAt: string | null;
414
+ createdAt: string | null;
415
+ updatedAt: string | null;
416
+ entityId: string | null;
417
+ }
417
418
  export interface OrgMembership {
418
419
  id: string | null;
419
420
  createdAt: string | null;
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, AppPermission, OrgPermission, AppLevelRequirement, AppLimitCreditRedemption, AppLimitCreditCodeItem, AppLimitCredit, OrgMember, AppPermissionDefault, AppLimitCreditCode, OrgPermissionDefault, AppAdminGrant, AppOwnerGrant, AppAchievement, AppStep, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, OrgAdminGrant, OrgOwnerGrant, MembershipType, AppLimitDefault, OrgLimitDefault, OrgLimitCredit, OrgChartEdgeGrant, AppClaimedInvite, AppGrant, AppMembershipDefault, OrgMembershipDefault, OrgClaimedInvite, AppLimitEvent, OrgLimitEvent, OrgGrant, OrgChartEdge, UsageSnapshot, OrgMemberProfile, AppLevel, AppLimit, AppInvite, OrgMembershipSetting, OrgLimitAggregate, OrgLimit, OrgInvite, AppMembership, OrgMembership
5
+ * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, AppPermission, OrgPermission, AppLevelRequirement, AppLimitCreditRedemption, AppLimitCreditCodeItem, AppLimitCredit, OrgMember, AppPermissionDefault, AppLimitCreditCode, OrgPermissionDefault, AppAdminGrant, AppOwnerGrant, AppAchievement, AppStep, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, OrgAdminGrant, OrgOwnerGrant, MembershipType, AppLimitDefault, OrgLimitDefault, OrgLimitCredit, OrgChartEdgeGrant, AppClaimedInvite, AppGrant, AppMembershipDefault, OrgMembershipDefault, OrgClaimedInvite, AppLimitEvent, OrgLimitEvent, OrgGrant, OrgChartEdge, UsageSnapshot, OrgMemberProfile, AppLevel, AppLimit, AppInvite, OrgMembershipSetting, OrgLimitAggregate, OrgLimit, AppMembership, OrgInvite, OrgMembership
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -2,7 +2,7 @@
2
2
  * GraphQL SDK
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  *
5
- * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, AppPermission, OrgPermission, AppLevelRequirement, AppLimitCreditRedemption, AppLimitCreditCodeItem, AppLimitCredit, OrgMember, AppPermissionDefault, AppLimitCreditCode, OrgPermissionDefault, AppAdminGrant, AppOwnerGrant, AppAchievement, AppStep, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, OrgAdminGrant, OrgOwnerGrant, MembershipType, AppLimitDefault, OrgLimitDefault, OrgLimitCredit, OrgChartEdgeGrant, AppClaimedInvite, AppGrant, AppMembershipDefault, OrgMembershipDefault, OrgClaimedInvite, AppLimitEvent, OrgLimitEvent, OrgGrant, OrgChartEdge, UsageSnapshot, OrgMemberProfile, AppLevel, AppLimit, AppInvite, OrgMembershipSetting, OrgLimitAggregate, OrgLimit, OrgInvite, AppMembership, OrgMembership
5
+ * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, AppPermission, OrgPermission, AppLevelRequirement, AppLimitCreditRedemption, AppLimitCreditCodeItem, AppLimitCredit, OrgMember, AppPermissionDefault, AppLimitCreditCode, OrgPermissionDefault, AppAdminGrant, AppOwnerGrant, AppAchievement, AppStep, AppLimitCapsDefault, OrgLimitCapsDefault, AppLimitCap, OrgLimitCap, OrgAdminGrant, OrgOwnerGrant, MembershipType, AppLimitDefault, OrgLimitDefault, OrgLimitCredit, OrgChartEdgeGrant, AppClaimedInvite, AppGrant, AppMembershipDefault, OrgMembershipDefault, OrgClaimedInvite, AppLimitEvent, OrgLimitEvent, OrgGrant, OrgChartEdge, UsageSnapshot, OrgMemberProfile, AppLevel, AppLimit, AppInvite, OrgMembershipSetting, OrgLimitAggregate, OrgLimit, AppMembership, OrgInvite, OrgMembership
6
6
  *
7
7
  * Usage:
8
8
  *
@@ -244,16 +244,16 @@ export declare const invalidate: {
244
244
  /** Invalidate orgLimit list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
245
245
  /** Invalidate a specific orgLimit */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
246
246
  };
247
- /** Invalidate orgInvite queries */ readonly orgInvite: {
248
- /** Invalidate all orgInvite queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
249
- /** Invalidate orgInvite list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
250
- /** Invalidate a specific orgInvite */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
251
- };
252
247
  /** Invalidate appMembership queries */ readonly appMembership: {
253
248
  /** Invalidate all appMembership queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
254
249
  /** Invalidate appMembership list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
255
250
  /** Invalidate a specific appMembership */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
256
251
  };
252
+ /** Invalidate orgInvite queries */ readonly orgInvite: {
253
+ /** Invalidate all orgInvite queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
254
+ /** Invalidate orgInvite list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
255
+ /** Invalidate a specific orgInvite */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
256
+ };
257
257
  /** Invalidate orgMembership queries */ readonly orgMembership: {
258
258
  /** Invalidate all orgMembership queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
259
259
  /** Invalidate orgMembership list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
@@ -316,7 +316,7 @@ export declare const remove: {
316
316
  /** Remove orgMembershipSetting from cache */ readonly orgMembershipSetting: (queryClient: QueryClient, id: string | number) => void;
317
317
  /** Remove orgLimitAggregate from cache */ readonly orgLimitAggregate: (queryClient: QueryClient, id: string | number) => void;
318
318
  /** Remove orgLimit from cache */ readonly orgLimit: (queryClient: QueryClient, id: string | number) => void;
319
- /** Remove orgInvite from cache */ readonly orgInvite: (queryClient: QueryClient, id: string | number) => void;
320
319
  /** Remove appMembership from cache */ readonly appMembership: (queryClient: QueryClient, id: string | number) => void;
320
+ /** Remove orgInvite from cache */ readonly orgInvite: (queryClient: QueryClient, id: string | number) => void;
321
321
  /** Remove orgMembership from cache */ readonly orgMembership: (queryClient: QueryClient, id: string | number) => void;
322
322
  };
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import { orgGetManagersRecordKeys, orgGetSubordinatesRecordKeys, appPermissionKeys, orgPermissionKeys, appLevelRequirementKeys, appLimitCreditRedemptionKeys, appLimitCreditCodeItemKeys, appLimitCreditKeys, orgMemberKeys, appPermissionDefaultKeys, appLimitCreditCodeKeys, orgPermissionDefaultKeys, appAdminGrantKeys, appOwnerGrantKeys, appAchievementKeys, appStepKeys, appLimitCapsDefaultKeys, orgLimitCapsDefaultKeys, appLimitCapKeys, orgLimitCapKeys, orgAdminGrantKeys, orgOwnerGrantKeys, membershipTypeKeys, appLimitDefaultKeys, orgLimitDefaultKeys, orgLimitCreditKeys, orgChartEdgeGrantKeys, appClaimedInviteKeys, appGrantKeys, appMembershipDefaultKeys, orgMembershipDefaultKeys, orgClaimedInviteKeys, appLimitEventKeys, orgLimitEventKeys, orgGrantKeys, orgChartEdgeKeys, usageSnapshotKeys, orgMemberProfileKeys, appLevelKeys, appLimitKeys, appInviteKeys, orgMembershipSettingKeys, orgLimitAggregateKeys, orgLimitKeys, orgInviteKeys, appMembershipKeys, orgMembershipKeys, } from './query-keys';
6
+ import { orgGetManagersRecordKeys, orgGetSubordinatesRecordKeys, appPermissionKeys, orgPermissionKeys, appLevelRequirementKeys, appLimitCreditRedemptionKeys, appLimitCreditCodeItemKeys, appLimitCreditKeys, orgMemberKeys, appPermissionDefaultKeys, appLimitCreditCodeKeys, orgPermissionDefaultKeys, appAdminGrantKeys, appOwnerGrantKeys, appAchievementKeys, appStepKeys, appLimitCapsDefaultKeys, orgLimitCapsDefaultKeys, appLimitCapKeys, orgLimitCapKeys, orgAdminGrantKeys, orgOwnerGrantKeys, membershipTypeKeys, appLimitDefaultKeys, orgLimitDefaultKeys, orgLimitCreditKeys, orgChartEdgeGrantKeys, appClaimedInviteKeys, appGrantKeys, appMembershipDefaultKeys, orgMembershipDefaultKeys, orgClaimedInviteKeys, appLimitEventKeys, orgLimitEventKeys, orgGrantKeys, orgChartEdgeKeys, usageSnapshotKeys, orgMemberProfileKeys, appLevelKeys, appLimitKeys, appInviteKeys, orgMembershipSettingKeys, orgLimitAggregateKeys, orgLimitKeys, appMembershipKeys, orgInviteKeys, orgMembershipKeys, } from './query-keys';
7
7
  /**
8
8
  // ============================================================================
9
9
  // Invalidation Helpers
@@ -508,17 +508,6 @@ export const invalidate = {
508
508
  queryKey: orgLimitKeys.detail(id),
509
509
  }),
510
510
  },
511
- /** Invalidate orgInvite queries */ orgInvite: {
512
- /** Invalidate all orgInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
513
- queryKey: orgInviteKeys.all,
514
- }),
515
- /** Invalidate orgInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
516
- queryKey: orgInviteKeys.lists(),
517
- }),
518
- /** Invalidate a specific orgInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
519
- queryKey: orgInviteKeys.detail(id),
520
- }),
521
- },
522
511
  /** Invalidate appMembership queries */ appMembership: {
523
512
  /** Invalidate all appMembership queries */ all: (queryClient) => queryClient.invalidateQueries({
524
513
  queryKey: appMembershipKeys.all,
@@ -530,6 +519,17 @@ export const invalidate = {
530
519
  queryKey: appMembershipKeys.detail(id),
531
520
  }),
532
521
  },
522
+ /** Invalidate orgInvite queries */ orgInvite: {
523
+ /** Invalidate all orgInvite queries */ all: (queryClient) => queryClient.invalidateQueries({
524
+ queryKey: orgInviteKeys.all,
525
+ }),
526
+ /** Invalidate orgInvite list queries */ lists: (queryClient) => queryClient.invalidateQueries({
527
+ queryKey: orgInviteKeys.lists(),
528
+ }),
529
+ /** Invalidate a specific orgInvite */ detail: (queryClient, id) => queryClient.invalidateQueries({
530
+ queryKey: orgInviteKeys.detail(id),
531
+ }),
532
+ },
533
533
  /** Invalidate orgMembership queries */ orgMembership: {
534
534
  /** Invalidate all orgMembership queries */ all: (queryClient) => queryClient.invalidateQueries({
535
535
  queryKey: orgMembershipKeys.all,
@@ -774,14 +774,14 @@ export const remove = {
774
774
  queryKey: orgLimitKeys.detail(id),
775
775
  });
776
776
  },
777
- /** Remove orgInvite from cache */ orgInvite: (queryClient, id) => {
777
+ /** Remove appMembership from cache */ appMembership: (queryClient, id) => {
778
778
  queryClient.removeQueries({
779
- queryKey: orgInviteKeys.detail(id),
779
+ queryKey: appMembershipKeys.detail(id),
780
780
  });
781
781
  },
782
- /** Remove appMembership from cache */ appMembership: (queryClient, id) => {
782
+ /** Remove orgInvite from cache */ orgInvite: (queryClient, id) => {
783
783
  queryClient.removeQueries({
784
- queryKey: appMembershipKeys.detail(id),
784
+ queryKey: orgInviteKeys.detail(id),
785
785
  });
786
786
  },
787
787
  /** Remove orgMembership from cache */ orgMembership: (queryClient, id) => {
@@ -267,18 +267,18 @@ export declare const orgLimitMutationKeys: {
267
267
  /** Update orgLimit mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orglimit", "update", string | number];
268
268
  /** Delete orgLimit mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orglimit", "delete", string | number];
269
269
  };
270
- export declare const orgInviteMutationKeys: {
271
- /** All orgInvite mutation keys */ readonly all: readonly ["mutation", "orginvite"];
272
- /** Create orgInvite mutation key */ readonly create: () => readonly ["mutation", "orginvite", "create"];
273
- /** Update orgInvite mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orginvite", "update", string | number];
274
- /** Delete orgInvite mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orginvite", "delete", string | number];
275
- };
276
270
  export declare const appMembershipMutationKeys: {
277
271
  /** All appMembership mutation keys */ readonly all: readonly ["mutation", "appmembership"];
278
272
  /** Create appMembership mutation key */ readonly create: () => readonly ["mutation", "appmembership", "create"];
279
273
  /** Update appMembership mutation key */ readonly update: (id: string | number) => readonly ["mutation", "appmembership", "update", string | number];
280
274
  /** Delete appMembership mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "appmembership", "delete", string | number];
281
275
  };
276
+ export declare const orgInviteMutationKeys: {
277
+ /** All orgInvite mutation keys */ readonly all: readonly ["mutation", "orginvite"];
278
+ /** Create orgInvite mutation key */ readonly create: () => readonly ["mutation", "orginvite", "create"];
279
+ /** Update orgInvite mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orginvite", "update", string | number];
280
+ /** Delete orgInvite mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orginvite", "delete", string | number];
281
+ };
282
282
  export declare const orgMembershipMutationKeys: {
283
283
  /** All orgMembership mutation keys */ readonly all: readonly ["mutation", "orgmembership"];
284
284
  /** Create orgMembership mutation key */ readonly create: () => readonly ["mutation", "orgmembership", "create"];
@@ -577,18 +577,18 @@ export declare const mutationKeys: {
577
577
  /** Update orgLimit mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orglimit", "update", string | number];
578
578
  /** Delete orgLimit mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orglimit", "delete", string | number];
579
579
  };
580
- readonly orgInvite: {
581
- /** All orgInvite mutation keys */ readonly all: readonly ["mutation", "orginvite"];
582
- /** Create orgInvite mutation key */ readonly create: () => readonly ["mutation", "orginvite", "create"];
583
- /** Update orgInvite mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orginvite", "update", string | number];
584
- /** Delete orgInvite mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orginvite", "delete", string | number];
585
- };
586
580
  readonly appMembership: {
587
581
  /** All appMembership mutation keys */ readonly all: readonly ["mutation", "appmembership"];
588
582
  /** Create appMembership mutation key */ readonly create: () => readonly ["mutation", "appmembership", "create"];
589
583
  /** Update appMembership mutation key */ readonly update: (id: string | number) => readonly ["mutation", "appmembership", "update", string | number];
590
584
  /** Delete appMembership mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "appmembership", "delete", string | number];
591
585
  };
586
+ readonly orgInvite: {
587
+ /** All orgInvite mutation keys */ readonly all: readonly ["mutation", "orginvite"];
588
+ /** Create orgInvite mutation key */ readonly create: () => readonly ["mutation", "orginvite", "create"];
589
+ /** Update orgInvite mutation key */ readonly update: (id: string | number) => readonly ["mutation", "orginvite", "update", string | number];
590
+ /** Delete orgInvite mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "orginvite", "delete", string | number];
591
+ };
592
592
  readonly orgMembership: {
593
593
  /** All orgMembership mutation keys */ readonly all: readonly ["mutation", "orgmembership"];
594
594
  /** Create orgMembership mutation key */ readonly create: () => readonly ["mutation", "orgmembership", "create"];