@idp.global/interfaces 9.0.0 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-07-08 - 9.1.0
4
+
5
+ ### Features
6
+
7
+ - add cursor-paged user activity export contract (audit)
8
+ - IReq_ExportUserActivity: opaque-cursor pagination with since/until filters for SOC2 evidence export and data portability
9
+
3
10
  ## 2026-07-08 - 9.0.0
4
11
 
5
12
  ### Breaking Changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '9.0.0',
6
+ version: '9.1.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -77,3 +77,27 @@ export interface IReq_GetUserActivity extends plugins.typedRequestInterfaces.imp
77
77
  total: number;
78
78
  };
79
79
  }
80
+ /**
81
+ * Cursor-paged export of the authenticated user's full activity trail
82
+ * (SOC2 audit evidence / data portability). Iterate until nextCursor is
83
+ * absent.
84
+ */
85
+ export interface IReq_ExportUserActivity extends plugins.typedRequestInterfaces.implementsTR<plugins.typedRequestInterfaces.ITypedRequest, IReq_ExportUserActivity> {
86
+ method: 'exportUserActivity';
87
+ request: {
88
+ jwt: string;
89
+ /** opaque cursor from the previous page */
90
+ cursor?: string;
91
+ /** page size, capped server-side */
92
+ limit?: number;
93
+ /** only events at or after this epoch ms */
94
+ since?: number;
95
+ /** only events at or before this epoch ms */
96
+ until?: number;
97
+ };
98
+ response: {
99
+ activities: dto.IActivityEventDto[];
100
+ /** absent when the export is complete */
101
+ nextCursor?: string;
102
+ };
103
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idp.global/interfaces",
3
- "version": "9.0.0",
3
+ "version": "9.1.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '9.0.0',
6
+ version: '9.1.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  }
@@ -108,3 +108,32 @@ export interface IReq_GetUserActivity
108
108
  total: number;
109
109
  };
110
110
  }
111
+
112
+ /**
113
+ * Cursor-paged export of the authenticated user's full activity trail
114
+ * (SOC2 audit evidence / data portability). Iterate until nextCursor is
115
+ * absent.
116
+ */
117
+ export interface IReq_ExportUserActivity
118
+ extends plugins.typedRequestInterfaces.implementsTR<
119
+ plugins.typedRequestInterfaces.ITypedRequest,
120
+ IReq_ExportUserActivity
121
+ > {
122
+ method: 'exportUserActivity';
123
+ request: {
124
+ jwt: string;
125
+ /** opaque cursor from the previous page */
126
+ cursor?: string;
127
+ /** page size, capped server-side */
128
+ limit?: number;
129
+ /** only events at or after this epoch ms */
130
+ since?: number;
131
+ /** only events at or before this epoch ms */
132
+ until?: number;
133
+ };
134
+ response: {
135
+ activities: dto.IActivityEventDto[];
136
+ /** absent when the export is complete */
137
+ nextCursor?: string;
138
+ };
139
+ }