@iblai/data-layer 1.12.6 → 1.12.106

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.
@@ -1,4 +1,18 @@
1
1
  import { PaginatedRbacRoleList, PatchedRbacRole, RbacRole, LtiKey, LtiMentor, LtiTool } from '@iblai/iblai-api';
2
+ /** Creation status of an LTI agent link built asynchronously by the backend. */
3
+ export type LtiAgentLinkStatus = 'pending' | 'building' | 'ready' | 'failed';
4
+ /**
5
+ * `LtiMentor` plus the async-create fields that exist on the backend but not
6
+ * in the pinned generated client (4.166.0-ai). Authoritative spec:
7
+ * `packages/api-core/build-ts/src/models/LtiMentor.ts`.
8
+ */
9
+ export type LtiAgentLink = LtiMentor & {
10
+ status?: LtiAgentLinkStatus;
11
+ /** When the status last changed. */
12
+ status_updated_at?: string;
13
+ /** True when an in-flight build exceeded the backend's stall timeout. */
14
+ stalled?: boolean;
15
+ };
2
16
  /**
3
17
  * The LTI provider list endpoints paginate at runtime (DRF envelope) even
4
18
  * though the generated client types them as bare arrays. This is the real
@@ -259,18 +273,18 @@ export declare const coreApiSlice: import("@reduxjs/toolkit/query").Api<import("
259
273
  pageSize?: number;
260
274
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
261
275
  attempt?: number;
262
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>;
276
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>;
263
277
  getLtiMentorDetail: import("@reduxjs/toolkit/query").QueryDefinition<{
264
278
  id: string;
265
279
  platformKey: string;
266
280
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
267
281
  attempt?: number;
268
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>;
282
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>;
269
283
  createLtiMentor: import("@reduxjs/toolkit/query").MutationDefinition<{
270
284
  requestBody: LtiMentor;
271
285
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
272
286
  attempt?: number;
273
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>;
287
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>;
274
288
  updateLtiMentor: import("@reduxjs/toolkit/query").MutationDefinition<{
275
289
  id: string;
276
290
  requestBody: LtiMentor;
@@ -8563,7 +8577,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8563
8577
  startedTimeStamp?: undefined | undefined;
8564
8578
  fulfilledTimeStamp?: undefined | undefined;
8565
8579
  } & {
8566
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8580
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8567
8581
  isUninitialized: false;
8568
8582
  isLoading: false;
8569
8583
  isFetching: false;
@@ -8578,8 +8592,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8578
8592
  pageSize?: number;
8579
8593
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8580
8594
  attempt?: number;
8581
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8582
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8595
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8596
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8583
8597
  isUninitialized: false;
8584
8598
  isLoading: false;
8585
8599
  isFetching: false;
@@ -8600,8 +8614,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8600
8614
  pageSize?: number;
8601
8615
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8602
8616
  attempt?: number;
8603
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8604
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8617
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8618
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8605
8619
  isUninitialized: false;
8606
8620
  isLoading: false;
8607
8621
  isFetching: false;
@@ -8618,8 +8632,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8618
8632
  pageSize?: number;
8619
8633
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8620
8634
  attempt?: number;
8621
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8622
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8635
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8636
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8623
8637
  isUninitialized: false;
8624
8638
  isLoading: false;
8625
8639
  isFetching: false;
@@ -8634,8 +8648,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8634
8648
  pageSize?: number;
8635
8649
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8636
8650
  attempt?: number;
8637
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8638
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8651
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8652
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8639
8653
  isUninitialized: false;
8640
8654
  isLoading: false;
8641
8655
  isFetching: false;
@@ -8663,7 +8677,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8663
8677
  startedTimeStamp?: undefined | undefined;
8664
8678
  fulfilledTimeStamp?: undefined | undefined;
8665
8679
  } & {
8666
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8680
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8667
8681
  isUninitialized: false;
8668
8682
  isLoading: false;
8669
8683
  isFetching: false;
@@ -8678,8 +8692,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8678
8692
  pageSize?: number;
8679
8693
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8680
8694
  attempt?: number;
8681
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8682
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8695
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8696
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8683
8697
  isUninitialized: false;
8684
8698
  isLoading: false;
8685
8699
  isFetching: false;
@@ -8700,8 +8714,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8700
8714
  pageSize?: number;
8701
8715
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8702
8716
  attempt?: number;
8703
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8704
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8717
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8718
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8705
8719
  isUninitialized: false;
8706
8720
  isLoading: false;
8707
8721
  isFetching: false;
@@ -8718,8 +8732,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8718
8732
  pageSize?: number;
8719
8733
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8720
8734
  attempt?: number;
8721
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8722
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8735
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8736
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8723
8737
  isUninitialized: false;
8724
8738
  isLoading: false;
8725
8739
  isFetching: false;
@@ -8734,8 +8748,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8734
8748
  pageSize?: number;
8735
8749
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8736
8750
  attempt?: number;
8737
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>> & {
8738
- currentData?: PaginatedLtiList<LtiMentor> | undefined;
8751
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>> & {
8752
+ currentData?: PaginatedLtiList<LtiAgentLink> | undefined;
8739
8753
  isUninitialized: false;
8740
8754
  isLoading: false;
8741
8755
  isFetching: false;
@@ -8752,7 +8766,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8752
8766
  pageSize?: number;
8753
8767
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8754
8768
  attempt?: number;
8755
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiMentor>, "coreApiSlice", any>>;
8769
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", PaginatedLtiList<LtiAgentLink>, "coreApiSlice", any>>;
8756
8770
  }, useGetLtiMentorDetailQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
8757
8771
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
8758
8772
  originalArgs?: undefined | undefined;
@@ -8763,7 +8777,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8763
8777
  startedTimeStamp?: undefined | undefined;
8764
8778
  fulfilledTimeStamp?: undefined | undefined;
8765
8779
  } & {
8766
- currentData?: LtiMentor | undefined;
8780
+ currentData?: LtiAgentLink | undefined;
8767
8781
  isUninitialized: false;
8768
8782
  isLoading: false;
8769
8783
  isFetching: false;
@@ -8776,8 +8790,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8776
8790
  platformKey: string;
8777
8791
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8778
8792
  attempt?: number;
8779
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8780
- currentData?: LtiMentor | undefined;
8793
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8794
+ currentData?: LtiAgentLink | undefined;
8781
8795
  isUninitialized: false;
8782
8796
  isLoading: false;
8783
8797
  isFetching: false;
@@ -8796,8 +8810,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8796
8810
  platformKey: string;
8797
8811
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8798
8812
  attempt?: number;
8799
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8800
- currentData?: LtiMentor | undefined;
8813
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8814
+ currentData?: LtiAgentLink | undefined;
8801
8815
  isUninitialized: false;
8802
8816
  isLoading: false;
8803
8817
  isFetching: false;
@@ -8812,8 +8826,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8812
8826
  platformKey: string;
8813
8827
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8814
8828
  attempt?: number;
8815
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8816
- currentData?: LtiMentor | undefined;
8829
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8830
+ currentData?: LtiAgentLink | undefined;
8817
8831
  isUninitialized: false;
8818
8832
  isLoading: false;
8819
8833
  isFetching: false;
@@ -8826,8 +8840,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8826
8840
  platformKey: string;
8827
8841
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8828
8842
  attempt?: number;
8829
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8830
- currentData?: LtiMentor | undefined;
8843
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8844
+ currentData?: LtiAgentLink | undefined;
8831
8845
  isUninitialized: false;
8832
8846
  isLoading: false;
8833
8847
  isFetching: false;
@@ -8853,7 +8867,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8853
8867
  startedTimeStamp?: undefined | undefined;
8854
8868
  fulfilledTimeStamp?: undefined | undefined;
8855
8869
  } & {
8856
- currentData?: LtiMentor | undefined;
8870
+ currentData?: LtiAgentLink | undefined;
8857
8871
  isUninitialized: false;
8858
8872
  isLoading: false;
8859
8873
  isFetching: false;
@@ -8866,8 +8880,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8866
8880
  platformKey: string;
8867
8881
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8868
8882
  attempt?: number;
8869
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8870
- currentData?: LtiMentor | undefined;
8883
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8884
+ currentData?: LtiAgentLink | undefined;
8871
8885
  isUninitialized: false;
8872
8886
  isLoading: false;
8873
8887
  isFetching: false;
@@ -8886,8 +8900,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8886
8900
  platformKey: string;
8887
8901
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8888
8902
  attempt?: number;
8889
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8890
- currentData?: LtiMentor | undefined;
8903
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8904
+ currentData?: LtiAgentLink | undefined;
8891
8905
  isUninitialized: false;
8892
8906
  isLoading: false;
8893
8907
  isFetching: false;
@@ -8902,8 +8916,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8902
8916
  platformKey: string;
8903
8917
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8904
8918
  attempt?: number;
8905
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8906
- currentData?: LtiMentor | undefined;
8919
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8920
+ currentData?: LtiAgentLink | undefined;
8907
8921
  isUninitialized: false;
8908
8922
  isLoading: false;
8909
8923
  isFetching: false;
@@ -8916,8 +8930,8 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8916
8930
  platformKey: string;
8917
8931
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8918
8932
  attempt?: number;
8919
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>> & {
8920
- currentData?: LtiMentor | undefined;
8933
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>> & {
8934
+ currentData?: LtiAgentLink | undefined;
8921
8935
  isUninitialized: false;
8922
8936
  isLoading: false;
8923
8937
  isFetching: false;
@@ -8932,7 +8946,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8932
8946
  platformKey: string;
8933
8947
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
8934
8948
  attempt?: number;
8935
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>>;
8949
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>>;
8936
8950
  }, useCreateLtiMentorMutation: <R extends Record<string, any> = ({
8937
8951
  requestId?: undefined;
8938
8952
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
@@ -8951,14 +8965,14 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8951
8965
  status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
8952
8966
  } & Omit<{
8953
8967
  requestId: string;
8954
- data?: LtiMentor | undefined;
8968
+ data?: LtiAgentLink | undefined;
8955
8969
  error?: unknown;
8956
8970
  endpointName: string;
8957
8971
  startedTimeStamp: number;
8958
8972
  fulfilledTimeStamp?: number;
8959
8973
  }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
8960
8974
  requestId: string;
8961
- data?: LtiMentor | undefined;
8975
+ data?: LtiAgentLink | undefined;
8962
8976
  error?: unknown;
8963
8977
  endpointName: string;
8964
8978
  startedTimeStamp: number;
@@ -8975,7 +8989,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8975
8989
  status: import("@reduxjs/toolkit/query").QueryStatus.pending;
8976
8990
  } & {
8977
8991
  requestId: string;
8978
- data?: LtiMentor | undefined;
8992
+ data?: LtiAgentLink | undefined;
8979
8993
  error?: unknown;
8980
8994
  endpointName: string;
8981
8995
  startedTimeStamp: number;
@@ -8992,14 +9006,14 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
8992
9006
  status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
8993
9007
  } & Omit<{
8994
9008
  requestId: string;
8995
- data?: LtiMentor | undefined;
9009
+ data?: LtiAgentLink | undefined;
8996
9010
  error?: unknown;
8997
9011
  endpointName: string;
8998
9012
  startedTimeStamp: number;
8999
9013
  fulfilledTimeStamp?: number;
9000
9014
  }, "error"> & Required<Pick<{
9001
9015
  requestId: string;
9002
- data?: LtiMentor | undefined;
9016
+ data?: LtiAgentLink | undefined;
9003
9017
  error?: unknown;
9004
9018
  endpointName: string;
9005
9019
  startedTimeStamp: number;
@@ -9029,14 +9043,14 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
9029
9043
  status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
9030
9044
  } & Omit<{
9031
9045
  requestId: string;
9032
- data?: LtiMentor | undefined;
9046
+ data?: LtiAgentLink | undefined;
9033
9047
  error?: unknown;
9034
9048
  endpointName: string;
9035
9049
  startedTimeStamp: number;
9036
9050
  fulfilledTimeStamp?: number;
9037
9051
  }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
9038
9052
  requestId: string;
9039
- data?: LtiMentor | undefined;
9053
+ data?: LtiAgentLink | undefined;
9040
9054
  error?: unknown;
9041
9055
  endpointName: string;
9042
9056
  startedTimeStamp: number;
@@ -9053,7 +9067,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
9053
9067
  status: import("@reduxjs/toolkit/query").QueryStatus.pending;
9054
9068
  } & {
9055
9069
  requestId: string;
9056
- data?: LtiMentor | undefined;
9070
+ data?: LtiAgentLink | undefined;
9057
9071
  error?: unknown;
9058
9072
  endpointName: string;
9059
9073
  startedTimeStamp: number;
@@ -9070,14 +9084,14 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
9070
9084
  status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
9071
9085
  } & Omit<{
9072
9086
  requestId: string;
9073
- data?: LtiMentor | undefined;
9087
+ data?: LtiAgentLink | undefined;
9074
9088
  error?: unknown;
9075
9089
  endpointName: string;
9076
9090
  startedTimeStamp: number;
9077
9091
  fulfilledTimeStamp?: number;
9078
9092
  }, "error"> & Required<Pick<{
9079
9093
  requestId: string;
9080
- data?: LtiMentor | undefined;
9094
+ data?: LtiAgentLink | undefined;
9081
9095
  error?: unknown;
9082
9096
  endpointName: string;
9083
9097
  startedTimeStamp: number;
@@ -9096,7 +9110,7 @@ export declare const useCreateRedirectTokenMutation: <R extends Record<string, a
9096
9110
  requestBody: LtiMentor;
9097
9111
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, unknown, unknown, {
9098
9112
  attempt?: number;
9099
- } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiMentor, "coreApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
9113
+ } & import("@reduxjs/toolkit/query").RetryOptions, {}>, "PlatformUsers" | "PlatformInfo" | "AccessibleUsers" | "RbacGroups" | "RbacPolicies" | "RbacRoles" | "RbacTeamsAccess" | "LtiKeys" | "LtiMentors" | "LtiTools", LtiAgentLink, "coreApiSlice", any>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
9100
9114
  originalArgs?: {
9101
9115
  requestBody: LtiMentor;
9102
9116
  } | undefined;
@@ -1,9 +1,10 @@
1
- import { UserMemorySettings, GetUserMemorySettingsArgs, UpdateUserMemorySettingsArgs, GlobalMemoriesResponse, GlobalMemory, GetGlobalMemoriesArgs, CreateGlobalMemoryArgs, DeleteGlobalMemoryArgs, MentorMemoriesByCategoryResponse, MentorMemoriesListResponse, MentorMemory, AllMentorMemoriesResponse, GetMentorMemoriesArgs, GetMentorMemoriesListArgs, GetAllMentorMemoriesArgs, CreateMentorMemoryArgs, UpdateMentorMemoryArgs, DeleteMentorMemoryArgs, MentorMemoryCategory, GetMemoryCategoriesAdminArgs, CreateMemoryCategoryArgs, UpdateMemoryCategoryArgs, DeleteMemoryCategoryArgs, MemsearchConfig, GetMemsearchConfigArgs, UpdateMemsearchConfigArgs, MemsearchStatus, GetMemsearchStatusArgs } from './types';
1
+ import { UserMemorySettings, GetUserMemorySettingsArgs, UpdateUserMemorySettingsArgs, GlobalMemoriesResponse, GlobalMemory, GetGlobalMemoriesArgs, CreateGlobalMemoryArgs, UpdateGlobalMemoryArgs, DeleteGlobalMemoryArgs, MentorMemoriesByCategoryResponse, MentorMemoriesListResponse, MentorMemory, AllMentorMemoriesResponse, GetMentorMemoriesArgs, GetMentorMemoriesListArgs, GetAllMentorMemoriesArgs, CreateMentorMemoryArgs, UpdateMentorMemoryArgs, DeleteMentorMemoryArgs, MentorMemoryCategory, GetMemoryCategoriesAdminArgs, CreateMemoryCategoryArgs, UpdateMemoryCategoryArgs, DeleteMemoryCategoryArgs, MemsearchConfig, GetMemsearchConfigArgs, UpdateMemsearchConfigArgs, MemsearchStatus, GetMemsearchStatusArgs } from './types';
2
2
  export declare const memoryApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, {
3
3
  getUserMemorySettings: import("@reduxjs/toolkit/query").QueryDefinition<GetUserMemorySettingsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, UserMemorySettings, "memoryApiSlice", unknown>;
4
4
  updateUserMemorySettings: import("@reduxjs/toolkit/query").MutationDefinition<UpdateUserMemorySettingsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, UserMemorySettings, "memoryApiSlice", unknown>;
5
5
  getGlobalMemories: import("@reduxjs/toolkit/query").QueryDefinition<GetGlobalMemoriesArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, GlobalMemoriesResponse, "memoryApiSlice", unknown>;
6
6
  createGlobalMemory: import("@reduxjs/toolkit/query").MutationDefinition<CreateGlobalMemoryArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, GlobalMemory, "memoryApiSlice", unknown>;
7
+ updateGlobalMemory: import("@reduxjs/toolkit/query").MutationDefinition<UpdateGlobalMemoryArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, GlobalMemory, "memoryApiSlice", unknown>;
7
8
  deleteGlobalMemory: import("@reduxjs/toolkit/query").MutationDefinition<DeleteGlobalMemoryArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, void, "memoryApiSlice", unknown>;
8
9
  getMentorMemories: import("@reduxjs/toolkit/query").QueryDefinition<GetMentorMemoriesArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, MentorMemoriesByCategoryResponse, "memoryApiSlice", unknown>;
9
10
  getMentorMemoriesList: import("@reduxjs/toolkit/query").QueryDefinition<GetMentorMemoriesListArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, MentorMemoriesListResponse, "memoryApiSlice", unknown>;
@@ -865,6 +866,166 @@ export declare const useGetUserMemorySettingsQuery: <R extends Record<string, an
865
866
  } | undefined) => readonly [(arg: CreateGlobalMemoryArgs) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<CreateGlobalMemoryArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, GlobalMemory, "memoryApiSlice", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
866
867
  originalArgs?: CreateGlobalMemoryArgs | undefined;
867
868
  reset: () => void;
869
+ }], useUpdateGlobalMemoryMutation: <R extends Record<string, any> = ({
870
+ requestId?: undefined;
871
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
872
+ data?: undefined;
873
+ error?: undefined;
874
+ endpointName?: string;
875
+ startedTimeStamp?: undefined;
876
+ fulfilledTimeStamp?: undefined;
877
+ } & {
878
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
879
+ isUninitialized: true;
880
+ isLoading: false;
881
+ isSuccess: false;
882
+ isError: false;
883
+ }) | ({
884
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
885
+ } & Omit<{
886
+ requestId: string;
887
+ data?: GlobalMemory | undefined;
888
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
889
+ endpointName: string;
890
+ startedTimeStamp: number;
891
+ fulfilledTimeStamp?: number;
892
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
893
+ requestId: string;
894
+ data?: GlobalMemory | undefined;
895
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
896
+ endpointName: string;
897
+ startedTimeStamp: number;
898
+ fulfilledTimeStamp?: number;
899
+ }, "data" | "fulfilledTimeStamp">> & {
900
+ error: undefined;
901
+ } & {
902
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
903
+ isUninitialized: false;
904
+ isLoading: false;
905
+ isSuccess: true;
906
+ isError: false;
907
+ }) | ({
908
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
909
+ } & {
910
+ requestId: string;
911
+ data?: GlobalMemory | undefined;
912
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
913
+ endpointName: string;
914
+ startedTimeStamp: number;
915
+ fulfilledTimeStamp?: number;
916
+ } & {
917
+ data?: undefined;
918
+ } & {
919
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
920
+ isUninitialized: false;
921
+ isLoading: true;
922
+ isSuccess: false;
923
+ isError: false;
924
+ }) | ({
925
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
926
+ } & Omit<{
927
+ requestId: string;
928
+ data?: GlobalMemory | undefined;
929
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
930
+ endpointName: string;
931
+ startedTimeStamp: number;
932
+ fulfilledTimeStamp?: number;
933
+ }, "error"> & Required<Pick<{
934
+ requestId: string;
935
+ data?: GlobalMemory | undefined;
936
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
937
+ endpointName: string;
938
+ startedTimeStamp: number;
939
+ fulfilledTimeStamp?: number;
940
+ }, "error">> & {
941
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
942
+ isUninitialized: false;
943
+ isLoading: false;
944
+ isSuccess: false;
945
+ isError: true;
946
+ })>(options?: {
947
+ selectFromResult?: ((state: ({
948
+ requestId?: undefined;
949
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
950
+ data?: undefined;
951
+ error?: undefined;
952
+ endpointName?: string;
953
+ startedTimeStamp?: undefined;
954
+ fulfilledTimeStamp?: undefined;
955
+ } & {
956
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
957
+ isUninitialized: true;
958
+ isLoading: false;
959
+ isSuccess: false;
960
+ isError: false;
961
+ }) | ({
962
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
963
+ } & Omit<{
964
+ requestId: string;
965
+ data?: GlobalMemory | undefined;
966
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
967
+ endpointName: string;
968
+ startedTimeStamp: number;
969
+ fulfilledTimeStamp?: number;
970
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
971
+ requestId: string;
972
+ data?: GlobalMemory | undefined;
973
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
974
+ endpointName: string;
975
+ startedTimeStamp: number;
976
+ fulfilledTimeStamp?: number;
977
+ }, "data" | "fulfilledTimeStamp">> & {
978
+ error: undefined;
979
+ } & {
980
+ status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
981
+ isUninitialized: false;
982
+ isLoading: false;
983
+ isSuccess: true;
984
+ isError: false;
985
+ }) | ({
986
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
987
+ } & {
988
+ requestId: string;
989
+ data?: GlobalMemory | undefined;
990
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
991
+ endpointName: string;
992
+ startedTimeStamp: number;
993
+ fulfilledTimeStamp?: number;
994
+ } & {
995
+ data?: undefined;
996
+ } & {
997
+ status: import("@reduxjs/toolkit/query").QueryStatus.pending;
998
+ isUninitialized: false;
999
+ isLoading: true;
1000
+ isSuccess: false;
1001
+ isError: false;
1002
+ }) | ({
1003
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
1004
+ } & Omit<{
1005
+ requestId: string;
1006
+ data?: GlobalMemory | undefined;
1007
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
1008
+ endpointName: string;
1009
+ startedTimeStamp: number;
1010
+ fulfilledTimeStamp?: number;
1011
+ }, "error"> & Required<Pick<{
1012
+ requestId: string;
1013
+ data?: GlobalMemory | undefined;
1014
+ error?: import("@data-layer/features/utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
1015
+ endpointName: string;
1016
+ startedTimeStamp: number;
1017
+ fulfilledTimeStamp?: number;
1018
+ }, "error">> & {
1019
+ status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
1020
+ isUninitialized: false;
1021
+ isLoading: false;
1022
+ isSuccess: false;
1023
+ isError: true;
1024
+ })) => R) | undefined;
1025
+ fixedCacheKey?: string;
1026
+ } | undefined) => readonly [(arg: UpdateGlobalMemoryArgs) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<UpdateGlobalMemoryArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("@data-layer/features/utils").CustomQueryArgs, unknown, import("@data-layer/features/utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, GlobalMemory, "memoryApiSlice", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
1027
+ originalArgs?: UpdateGlobalMemoryArgs | undefined;
1028
+ reset: () => void;
868
1029
  }], useDeleteGlobalMemoryMutation: <R extends Record<string, any> = ({
869
1030
  requestId?: undefined;
870
1031
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
@@ -25,6 +25,10 @@ export declare const MEMSEARCH_ENDPOINTS: {
25
25
  service: SERVICES;
26
26
  path: (org: string, userId: string) => string;
27
27
  };
28
+ UPDATE_GLOBAL_MEMORY: {
29
+ service: SERVICES;
30
+ path: (org: string, userId: string, memoryId: number) => string;
31
+ };
28
32
  DELETE_GLOBAL_MEMORY: {
29
33
  service: SERVICES;
30
34
  path: (org: string, userId: string, memoryId: number) => string;
@@ -54,6 +54,17 @@ export type CreateGlobalMemoryArgs = {
54
54
  userId: string;
55
55
  content: string;
56
56
  };
57
+ /**
58
+ * Updates a memory's content and refreshes its embeddings. The backend
59
+ * responds 409 when the new content duplicates another of the user's
60
+ * memories. For admin/RBAC callers the path `userId` is the managed user.
61
+ */
62
+ export type UpdateGlobalMemoryArgs = {
63
+ org: string;
64
+ userId: string;
65
+ memoryId: number;
66
+ content: string;
67
+ };
57
68
  export type DeleteGlobalMemoryArgs = {
58
69
  org: string;
59
70
  userId: string;