@go-avro/avro-js 0.0.2-beta.160 → 0.0.2-beta.162
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/types/api.d.ts +6 -6
- package/dist/types/api.js +1 -1
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -287,7 +287,7 @@ export interface Group {
|
|
|
287
287
|
is_active: boolean;
|
|
288
288
|
is_user_type: boolean;
|
|
289
289
|
users: string[];
|
|
290
|
-
permissions:
|
|
290
|
+
permissions: Permission[];
|
|
291
291
|
company_id: string;
|
|
292
292
|
time_created: number;
|
|
293
293
|
time_updated: number;
|
|
@@ -304,7 +304,7 @@ export declare const LoginResponse: {
|
|
|
304
304
|
readonly NEEDS_TOTP: "NEEDS_TOTP";
|
|
305
305
|
};
|
|
306
306
|
export type LoginResponse = typeof LoginResponse[keyof typeof LoginResponse];
|
|
307
|
-
export declare const
|
|
307
|
+
export declare const Permission: {
|
|
308
308
|
readonly CAN_WRITE_COMPANY: "can_write_company";
|
|
309
309
|
readonly CAN_READ_GROUPS: "can_read_groups";
|
|
310
310
|
readonly CAN_WRITE_PROPOSALS: "can_write_proposals";
|
|
@@ -351,13 +351,13 @@ export declare const Permissions: {
|
|
|
351
351
|
readonly IS_ROOT: "is_root";
|
|
352
352
|
readonly IS_CUSTOMER: "is_customer";
|
|
353
353
|
};
|
|
354
|
-
export type
|
|
354
|
+
export type Permission = typeof Permission[keyof typeof Permission];
|
|
355
355
|
export interface UserCompanyAssociation {
|
|
356
356
|
id: string;
|
|
357
357
|
user: User;
|
|
358
358
|
company: string;
|
|
359
|
-
permissions:
|
|
360
|
-
effective_permissions:
|
|
359
|
+
permissions: Permission[];
|
|
360
|
+
effective_permissions: Permission[];
|
|
361
361
|
time_created: number | null;
|
|
362
362
|
time_updated: number | null;
|
|
363
363
|
notification_setting: NotificationLevel[];
|
|
@@ -474,8 +474,8 @@ export interface Company {
|
|
|
474
474
|
balance: number;
|
|
475
475
|
plan_id: string;
|
|
476
476
|
payment_methods: PaymentMethod[];
|
|
477
|
-
autopay_payment_id: string;
|
|
478
477
|
intuit_connected: boolean;
|
|
478
|
+
next_payment_due: number | null;
|
|
479
479
|
}
|
|
480
480
|
export interface RouteJob {
|
|
481
481
|
time_created: number;
|
package/dist/types/api.js
CHANGED
|
@@ -8,7 +8,7 @@ export const LoginResponse = {
|
|
|
8
8
|
SUCCESS: "SUCCESS",
|
|
9
9
|
NEEDS_TOTP: "NEEDS_TOTP",
|
|
10
10
|
};
|
|
11
|
-
export const
|
|
11
|
+
export const Permission = {
|
|
12
12
|
CAN_WRITE_COMPANY: "can_write_company",
|
|
13
13
|
CAN_READ_GROUPS: "can_read_groups",
|
|
14
14
|
CAN_WRITE_PROPOSALS: "can_write_proposals",
|