@orbis-systems/orbis-api-clients 1.4.0 → 1.4.1
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/middleware/index.d.ts +14 -4
- package/dist/middleware/index.d.ts.map +1 -1
- package/dist/middleware/index.esm.js +1 -1
- package/dist/middleware/index.esm.js.map +1 -1
- package/dist/middleware/index.js +1 -1
- package/dist/middleware/index.js.map +1 -1
- package/dist/uma/index.d.ts +61 -2
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/package.json +1 -1
package/dist/uma/index.d.ts
CHANGED
|
@@ -254,6 +254,7 @@ export enum UmaErrorCode {
|
|
|
254
254
|
ForbiddenByFirmsStatusErr = 4292,
|
|
255
255
|
NotAcceptableError = 4600,
|
|
256
256
|
InternalServerErr = 5000,
|
|
257
|
+
BadGatewayErr = 5020,
|
|
257
258
|
InvalidRequest = 6000
|
|
258
259
|
}
|
|
259
260
|
export enum UmaTokenType {
|
|
@@ -612,12 +613,12 @@ export interface UmaGetEndpointsListSerializer {
|
|
|
612
613
|
total_records: number;
|
|
613
614
|
}
|
|
614
615
|
export interface UmaFirmMutationSerializer {
|
|
615
|
-
firm:
|
|
616
|
+
firm: UmaFirmWithCredsSerializer;
|
|
616
617
|
status: number;
|
|
617
618
|
}
|
|
618
619
|
export interface UmaGetFirmsListSerializer {
|
|
619
620
|
current_page: number;
|
|
620
|
-
firms_list:
|
|
621
|
+
firms_list: UmaFirmWithCredsSerializer[];
|
|
621
622
|
pages_count: number;
|
|
622
623
|
status: number;
|
|
623
624
|
total_records: number;
|
|
@@ -1583,6 +1584,10 @@ export interface UmaCreateEndpointDto {
|
|
|
1583
1584
|
route?: string;
|
|
1584
1585
|
type?: UmaCreateEndpointDtoTypeEnum;
|
|
1585
1586
|
}
|
|
1587
|
+
export interface UmaCreateFeedbackDto {
|
|
1588
|
+
comment?: string;
|
|
1589
|
+
subject?: string;
|
|
1590
|
+
}
|
|
1586
1591
|
export interface UmaCreateFirmDto {
|
|
1587
1592
|
allow_b2c_email_notifications?: boolean;
|
|
1588
1593
|
allow_b2c_multi_branch_registration?: boolean;
|
|
@@ -1597,6 +1602,7 @@ export interface UmaCreateFirmDto {
|
|
|
1597
1602
|
phone?: string;
|
|
1598
1603
|
region?: string;
|
|
1599
1604
|
slug?: string;
|
|
1605
|
+
zendesk_credentials?: UmaFirmZendeskCredsDto;
|
|
1600
1606
|
}
|
|
1601
1607
|
export interface UmaCreateIdentityProviderDto {
|
|
1602
1608
|
auth_url?: string;
|
|
@@ -1881,6 +1887,43 @@ export interface UmaFirmSerializer {
|
|
|
1881
1887
|
updated_at: string;
|
|
1882
1888
|
uuid: string;
|
|
1883
1889
|
}
|
|
1890
|
+
export interface UmaFirmWithCredsSerializer {
|
|
1891
|
+
admins_count: number;
|
|
1892
|
+
allow_b2c_email_notifications: boolean;
|
|
1893
|
+
allow_b2c_multi_branch_registration: boolean;
|
|
1894
|
+
b2b_users_count: number;
|
|
1895
|
+
b2c_access_token_expires_in_minutes: number;
|
|
1896
|
+
b2c_refresh_token_expires_in_hours: number;
|
|
1897
|
+
b2c_users_count: number;
|
|
1898
|
+
branches: UmaBranchSerializer[];
|
|
1899
|
+
branches_count: number;
|
|
1900
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
1901
|
+
created_at: string;
|
|
1902
|
+
email: string;
|
|
1903
|
+
/** @example 1 */
|
|
1904
|
+
id: number;
|
|
1905
|
+
is_emails_allowlist_enabled: boolean;
|
|
1906
|
+
is_emails_blocklist_enabled: boolean;
|
|
1907
|
+
last_status_change_at: string;
|
|
1908
|
+
/** @example "ViewTrade" */
|
|
1909
|
+
name: string;
|
|
1910
|
+
notes: string;
|
|
1911
|
+
phone: string;
|
|
1912
|
+
region: string;
|
|
1913
|
+
/** @example "viewtrade" */
|
|
1914
|
+
slug: string;
|
|
1915
|
+
status: string;
|
|
1916
|
+
tags: UmaTagSerializer[];
|
|
1917
|
+
/** @example "2022-02-02T00:00:00Z" */
|
|
1918
|
+
updated_at: string;
|
|
1919
|
+
uuid: string;
|
|
1920
|
+
zendesk_credentials: UmaFirmZendeskCredsDto;
|
|
1921
|
+
}
|
|
1922
|
+
export interface UmaFirmZendeskCredsDto {
|
|
1923
|
+
client_id?: string;
|
|
1924
|
+
client_secret?: string;
|
|
1925
|
+
subdomain?: string;
|
|
1926
|
+
}
|
|
1884
1927
|
export interface UmaGenerateWatchmenAuthTokenDto {
|
|
1885
1928
|
branch_id?: number;
|
|
1886
1929
|
branch_uuid?: string;
|
|
@@ -2391,6 +2434,7 @@ export interface UmaPartialUpdateFirmDto {
|
|
|
2391
2434
|
phone?: string;
|
|
2392
2435
|
slug?: string;
|
|
2393
2436
|
status?: UmaPartialUpdateFirmDtoStatusEnum;
|
|
2437
|
+
zendesk_credentials?: UmaFirmZendeskCredsDto;
|
|
2394
2438
|
}
|
|
2395
2439
|
export interface UmaPartialUpdateMicroserviceDto {
|
|
2396
2440
|
description?: string;
|
|
@@ -2843,6 +2887,7 @@ export interface UmaUpdateFirmDto {
|
|
|
2843
2887
|
slug?: string;
|
|
2844
2888
|
status?: UmaUpdateFirmDtoStatusEnum;
|
|
2845
2889
|
updated_at?: string;
|
|
2890
|
+
zendesk_credentials?: UmaFirmZendeskCredsDto;
|
|
2846
2891
|
}
|
|
2847
2892
|
export interface UmaUpdateIdentityProviderDto {
|
|
2848
2893
|
auth_url?: string;
|
|
@@ -4662,6 +4707,19 @@ export class Endpoints<HandleError extends boolean = boolean, Format extends Cas
|
|
|
4662
4707
|
*/
|
|
4663
4708
|
get(endpointDto: UmaGetEndpointsListDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<UmaGetEndpointsListSerializer, HandleError, Format>>;
|
|
4664
4709
|
}
|
|
4710
|
+
export class Feedback<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4711
|
+
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4712
|
+
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
4713
|
+
/**
|
|
4714
|
+
* @description Send the user's feedback to the Zendesk account configured for their firm. The Zendesk OAuth credentials are kept on the firm, so the client application never has to store them. `subject` is optional, up to 255 characters. `comment` is required, up to ZENDESK_MAX_COMMENT_LENGTH characters (2000 by default).
|
|
4715
|
+
* @tags feedback
|
|
4716
|
+
* @name Create
|
|
4717
|
+
* @summary Send Feedback
|
|
4718
|
+
* @request POST:/v1/feedback
|
|
4719
|
+
* @secure
|
|
4720
|
+
*/
|
|
4721
|
+
create(createFeedback: UmaCreateFeedbackDto, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError, Format>>;
|
|
4722
|
+
}
|
|
4665
4723
|
export class Firms<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
|
|
4666
4724
|
protected readonly apiClient: JwtClient<HandleError, Format>;
|
|
4667
4725
|
constructor(apiClient: JwtClient<HandleError, Format>);
|
|
@@ -5460,6 +5518,7 @@ export class UmaApi<HandleError extends boolean = false, Format extends CaseForm
|
|
|
5460
5518
|
countries: Countries<HandleError, Format>;
|
|
5461
5519
|
emailDomains: EmailDomains<HandleError, Format>;
|
|
5462
5520
|
endpoints: Endpoints<HandleError, Format>;
|
|
5521
|
+
feedback: Feedback<HandleError, Format>;
|
|
5463
5522
|
firms: Firms<HandleError, Format>;
|
|
5464
5523
|
identityProviders: IdentityProviders<HandleError, Format>;
|
|
5465
5524
|
locales: Locales<HandleError, Format>;
|