@compassdigital/sdk.typescript 4.108.0 → 4.109.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.
@@ -322,6 +322,11 @@ export interface UserMeta {
322
322
  [index: string]: any;
323
323
  }
324
324
 
325
+ export interface Pagination {
326
+ last_key?: string;
327
+ count?: number;
328
+ }
329
+
325
330
  // GET /user/auth - Gets the JWT token for a user
326
331
 
327
332
  export interface GetUserAuthQuery {
@@ -645,17 +650,24 @@ export interface GetUserRealmUsersPath {
645
650
  }
646
651
 
647
652
  export interface GetUserRealmUsersQuery {
648
- // Max number of records to return. Defaults to 100
653
+ // Max number of records to return. Defaults to 100. Max 10,000.
649
654
  max?: number;
650
655
  // Last modified date greater than this parameter
651
656
  lastmodified_start?: string;
652
657
  // Use ACL permission system
653
658
  acl?: boolean;
659
+ // If true, the response will include pagination metadata
660
+ paginate?: boolean;
661
+ // The last key from the previous response for pagination
662
+ last_key?: string;
654
663
  // Graphql query string
655
664
  _query?: string;
656
665
  }
657
666
 
658
- export type GetUserRealmUsersResponse = Users;
667
+ export interface GetUserRealmUsersResponse {
668
+ users?: User[];
669
+ meta?: Pagination;
670
+ }
659
671
 
660
672
  export interface GetUserRealmUsersRequest
661
673
  extends BaseRequest,