@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.
- package/lib/index.d.ts +49 -51
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +54 -53
- package/lib/index.js.map +1 -1
- package/lib/interface/auth.d.ts +5 -0
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +100 -53
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/discount.d.ts +25 -13
- package/lib/interface/discount.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +14 -2
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +59 -0
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/search.d.ts +7 -2
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/user.d.ts +10 -1
- package/lib/interface/user.d.ts.map +1 -1
- package/manifest.json +4 -4
- package/package.json +1 -1
- package/src/index.ts +128 -126
- package/src/interface/auth.ts +6 -0
- package/src/interface/centricos.ts +165 -62
- package/src/interface/discount.ts +32 -14
- package/src/interface/menu.ts +14 -2
- package/src/interface/promo.ts +73 -0
- package/src/interface/search.ts +8 -2
- package/src/interface/user.ts +14 -2
package/src/interface/user.ts
CHANGED
|
@@ -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
|
|
667
|
+
export interface GetUserRealmUsersResponse {
|
|
668
|
+
users?: User[];
|
|
669
|
+
meta?: Pagination;
|
|
670
|
+
}
|
|
659
671
|
|
|
660
672
|
export interface GetUserRealmUsersRequest
|
|
661
673
|
extends BaseRequest,
|