shred-api-client 2.4.13-rc.3 → 2.4.14-rc.2
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/dist/index.d.ts +12 -6
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -801,12 +801,8 @@ type QueryOrderBy<T> = {
|
|
|
801
801
|
type QueryFilterOp = "==" | "!=" | ">" | "<" | ">=" | "<=" | "in" | "not-in" | "array-contains" | "array-contains-any" | "between";
|
|
802
802
|
type QueryWhere<T> = {
|
|
803
803
|
field: keyof T | "modified";
|
|
804
|
-
operation:
|
|
805
|
-
value: T[keyof T] | T[keyof T][]
|
|
806
|
-
} | {
|
|
807
|
-
field: keyof T | "modified";
|
|
808
|
-
operation: "between";
|
|
809
|
-
value: {
|
|
804
|
+
operation: QueryFilterOp;
|
|
805
|
+
value: T[keyof T] | T[keyof T][] | {
|
|
810
806
|
from: number;
|
|
811
807
|
to: number;
|
|
812
808
|
};
|
|
@@ -1308,6 +1304,8 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1308
1304
|
}>>>;
|
|
1309
1305
|
totalSubscriptions: z.ZodOptional<z.ZodNumber>;
|
|
1310
1306
|
totalUsers: z.ZodOptional<z.ZodNumber>;
|
|
1307
|
+
reportUrl: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
reportViewers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1311
1309
|
}, "strip", z.ZodTypeAny, {
|
|
1312
1310
|
id: string;
|
|
1313
1311
|
name: string;
|
|
@@ -1384,6 +1382,8 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1384
1382
|
} | undefined;
|
|
1385
1383
|
totalSubscriptions?: number | undefined;
|
|
1386
1384
|
totalUsers?: number | undefined;
|
|
1385
|
+
reportUrl?: string | undefined;
|
|
1386
|
+
reportViewers?: string[] | undefined;
|
|
1387
1387
|
}, {
|
|
1388
1388
|
id: string;
|
|
1389
1389
|
name: string;
|
|
@@ -1460,6 +1460,8 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1460
1460
|
} | undefined;
|
|
1461
1461
|
totalSubscriptions?: number | undefined;
|
|
1462
1462
|
totalUsers?: number | undefined;
|
|
1463
|
+
reportUrl?: string | undefined;
|
|
1464
|
+
reportViewers?: string[] | undefined;
|
|
1463
1465
|
}>;
|
|
1464
1466
|
declare const MemberSchema: z.ZodObject<{
|
|
1465
1467
|
name: z.ZodString;
|
|
@@ -1518,6 +1520,10 @@ declare const Endpoints$6: {
|
|
|
1518
1520
|
uri: string;
|
|
1519
1521
|
method: string;
|
|
1520
1522
|
};
|
|
1523
|
+
UpdateReportViewers: {
|
|
1524
|
+
uri: string;
|
|
1525
|
+
method: string;
|
|
1526
|
+
};
|
|
1521
1527
|
};
|
|
1522
1528
|
|
|
1523
1529
|
type index$8_Member = Member;
|
package/dist/index.js
CHANGED
|
@@ -5974,7 +5974,9 @@ var TenantSchema = external_exports.object({
|
|
|
5974
5974
|
useOwnScripts: external_exports.boolean().optional(),
|
|
5975
5975
|
subscription: external_exports.optional(external_exports.lazy(() => SubscriptionSchema)),
|
|
5976
5976
|
totalSubscriptions: external_exports.number().optional(),
|
|
5977
|
-
totalUsers: external_exports.number().optional()
|
|
5977
|
+
totalUsers: external_exports.number().optional(),
|
|
5978
|
+
reportUrl: external_exports.string().optional(),
|
|
5979
|
+
reportViewers: external_exports.array(external_exports.string()).optional()
|
|
5978
5980
|
});
|
|
5979
5981
|
var MemberSchema = external_exports.object({
|
|
5980
5982
|
name: external_exports.string(),
|
|
@@ -6012,6 +6014,10 @@ var Endpoints8 = {
|
|
|
6012
6014
|
Members: {
|
|
6013
6015
|
uri: "/tenants/:tenantId/members",
|
|
6014
6016
|
method: "GET"
|
|
6017
|
+
},
|
|
6018
|
+
UpdateReportViewers: {
|
|
6019
|
+
uri: "/tenants/:tenantId/report-viewers",
|
|
6020
|
+
method: "PUT"
|
|
6015
6021
|
}
|
|
6016
6022
|
};
|
|
6017
6023
|
|