@liorian/sdk 0.31.0-alpha.61fe5c2 → 0.33.0-alpha.e125804
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/package.json
CHANGED
|
@@ -85,6 +85,14 @@ export class OrganizationsApiService extends ApiService {
|
|
|
85
85
|
return await this.delete(`/organization-preferences/${id}`);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
static async getConsoleConsent() {
|
|
89
|
+
return await this.get('/organization-consent');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static async setConsoleConsent(granted: boolean) {
|
|
93
|
+
return await this.put('/organization-consent', {granted});
|
|
94
|
+
}
|
|
95
|
+
|
|
88
96
|
// Organization Document Types
|
|
89
97
|
static async createDocumentType(payload: any) {
|
|
90
98
|
return await this.post('/organization-document-types/', payload);
|
|
@@ -32,6 +32,7 @@ export const AppConfig = {
|
|
|
32
32
|
CORE_SOCKET_HOST: process.env.NEXT_PUBLIC_CORE_SOCKET_HOST as unknown as string,
|
|
33
33
|
CONNECT_API_HOST: process.env.NEXT_PUBLIC_CONNECT_API_HOST as unknown as string,
|
|
34
34
|
STORE_API_HOST: process.env.NEXT_PUBLIC_STORE_API_HOST as unknown as string,
|
|
35
|
+
CONSOLE_API_HOST: process.env.NEXT_PUBLIC_CONSOLE_API_HOST as unknown as string,
|
|
35
36
|
STORAGE_API_HOST: process.env.NEXT_PUBLIC_STORAGE_API_HOST as unknown as string,
|
|
36
37
|
|
|
37
38
|
API_TIMEOUT: process.env.NEXT_PUBLIC_API_TIMEOUT as unknown as number,
|