@serve.zone/interfaces 10.1.0 → 11.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.
@@ -12,7 +12,7 @@ import type {
12
12
  TIsolatedRestoreResourceMapping,
13
13
  } from '../data/backup.js';
14
14
  import type { IService } from '../data/service.js';
15
- import type { IIdentity } from '../data/user.js';
15
+ import type { IIdentity, IIdentityCredential } from '../data/user.js';
16
16
 
17
17
  export interface IReq_Any_Cloudly_CreateServiceBackup
18
18
  extends plugins.typedrequestInterfaces.implementsTR<
@@ -230,7 +230,8 @@ extends plugins.typedrequestInterfaces.implementsTR<
230
230
  > {
231
231
  method: 'createIsolatedRestore';
232
232
  request: {
233
- identity: IIdentity;
233
+ /** Cloudly verifies this credential and derives all actor claims server-side. */
234
+ identity: IIdentityCredential;
234
235
  sourceBackupId: string;
235
236
  targetNodeName: string;
236
237
  purpose: string;
@@ -267,7 +268,8 @@ extends plugins.typedrequestInterfaces.implementsTR<
267
268
  > {
268
269
  method: 'getIsolatedRestores';
269
270
  request: {
270
- identity: IIdentity;
271
+ /** Cloudly verifies this credential and derives all actor claims server-side. */
272
+ identity: IIdentityCredential;
271
273
  sourceBackupId?: string;
272
274
  sourceServiceId?: string;
273
275
  clusterId?: string;
@@ -294,7 +296,8 @@ extends plugins.typedrequestInterfaces.implementsTR<
294
296
  > {
295
297
  method: 'getIsolatedRestoreById';
296
298
  request: {
297
- identity: IIdentity;
299
+ /** Cloudly verifies this credential and derives all actor claims server-side. */
300
+ identity: IIdentityCredential;
298
301
  restoreId: string;
299
302
  };
300
303
  response: {
@@ -396,7 +399,8 @@ extends plugins.typedrequestInterfaces.implementsTR<
396
399
  > {
397
400
  method: 'cleanupIsolatedRestore';
398
401
  request: {
399
- identity: IIdentity;
402
+ /** Cloudly verifies this credential and derives all actor claims server-side. */
403
+ identity: IIdentityCredential;
400
404
  restoreId: string;
401
405
  reason: string;
402
406
  };