@abcagency/hire-control-sdk 1.0.3 → 1.0.4
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 +2 -1
- package/index.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import Company from "./types/company";
|
|
|
7
7
|
import HireControlConfig from "./types/hireControlConfig";
|
|
8
8
|
import ClientAuthConfig from "./types/clientAuthConfig";
|
|
9
9
|
import Event from "./types/event";
|
|
10
|
+
import { Listing } from "./types/listing";
|
|
10
11
|
export declare const auth: {
|
|
11
12
|
login: (clientLogInRequest: import("./types/clientLoginRequest").default) => Promise<any>;
|
|
12
13
|
nextLogin: (credentials: import("./types/credentials").default) => Promise<any>;
|
|
@@ -56,7 +57,7 @@ export declare const clientAuthConfig: {
|
|
|
56
57
|
export declare const permissions: {
|
|
57
58
|
get: (authToken?: string | null) => Promise<string[]>;
|
|
58
59
|
};
|
|
59
|
-
export type { Register, User, Company, Role, HireControlConfig, ClientAuthConfig, Event, };
|
|
60
|
+
export type { Register, User, Company, Role, HireControlConfig, ClientAuthConfig, Event, Listing, };
|
|
60
61
|
declare const hcApi: {
|
|
61
62
|
auth: {
|
|
62
63
|
login: (clientLogInRequest: import("./types/clientLoginRequest").default) => Promise<any>;
|
package/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ import Company from "./types/company";
|
|
|
18
18
|
import HireControlConfig from "./types/hireControlConfig";
|
|
19
19
|
import ClientAuthConfig from "./types/clientAuthConfig";
|
|
20
20
|
import Event from "./types/event";
|
|
21
|
+
import { Listing } from "./types/listing";
|
|
21
22
|
|
|
22
23
|
export const auth = {
|
|
23
24
|
login: authController.login,
|
|
@@ -85,6 +86,7 @@ export type {
|
|
|
85
86
|
HireControlConfig,
|
|
86
87
|
ClientAuthConfig,
|
|
87
88
|
Event,
|
|
89
|
+
Listing,
|
|
88
90
|
};
|
|
89
91
|
|
|
90
92
|
const hcApi = {
|