@matech/thebigpos-sdk 3.26.0-dev-8279 → 3.26.0-dev-8293
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.cjs +26 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +36 -0
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +59 -0
package/dist/index.d.ts
CHANGED
|
@@ -5402,6 +5402,16 @@ export interface ProblemDetails {
|
|
|
5402
5402
|
instance?: string | null;
|
|
5403
5403
|
[key: string]: any;
|
|
5404
5404
|
}
|
|
5405
|
+
export interface PromotePartner {
|
|
5406
|
+
/** @format uuid */
|
|
5407
|
+
partnerProfileID: string;
|
|
5408
|
+
}
|
|
5409
|
+
export interface PromotePartnerRequest {
|
|
5410
|
+
/** @format uuid */
|
|
5411
|
+
userID?: string | null;
|
|
5412
|
+
/** @format uuid */
|
|
5413
|
+
inviteID?: string | null;
|
|
5414
|
+
}
|
|
5405
5415
|
export type RecentLoansWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
|
|
5406
5416
|
/** @format int32 */
|
|
5407
5417
|
maxItems: number;
|
|
@@ -9648,6 +9658,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9648
9658
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
9649
9659
|
*/
|
|
9650
9660
|
createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBase, any, {}, any>>;
|
|
9661
|
+
/**
|
|
9662
|
+
* No description
|
|
9663
|
+
*
|
|
9664
|
+
* @tags DocumentTemplates
|
|
9665
|
+
* @name GetAvailableDocumentTemplateTypes
|
|
9666
|
+
* @summary Get Available Types
|
|
9667
|
+
* @request GET:/api/document-templates/available-types
|
|
9668
|
+
* @secure
|
|
9669
|
+
* @response `200` `(DocumentType)[]` OK
|
|
9670
|
+
*/
|
|
9671
|
+
getAvailableDocumentTemplateTypes: (params?: RequestParams) => Promise<AxiosResponse<DocumentType[], any, {}, any>>;
|
|
9651
9672
|
/**
|
|
9652
9673
|
* No description
|
|
9653
9674
|
*
|
|
@@ -14633,6 +14654,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14633
14654
|
* @response `404` `ProblemDetails` Not Found
|
|
14634
14655
|
*/
|
|
14635
14656
|
removeMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
14657
|
+
/**
|
|
14658
|
+
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
|
|
14659
|
+
*
|
|
14660
|
+
* @tags UsersMe
|
|
14661
|
+
* @name PromoteMyPartner
|
|
14662
|
+
* @summary Promote To My Partner
|
|
14663
|
+
* @request POST:/api/users/me/partners/promotions
|
|
14664
|
+
* @secure
|
|
14665
|
+
* @response `200` `PromotePartner` OK
|
|
14666
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
14667
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
14668
|
+
* @response `404` `ProblemDetails` Not Found
|
|
14669
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
14670
|
+
*/
|
|
14671
|
+
promoteMyPartner: (data: PromotePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<PromotePartner, any, {}, any>>;
|
|
14636
14672
|
/**
|
|
14637
14673
|
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
14638
14674
|
*
|
package/dist/index.js
CHANGED
|
@@ -1936,6 +1936,17 @@ export class Api extends HttpClient {
|
|
|
1936
1936
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1937
1937
|
*/
|
|
1938
1938
|
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1939
|
+
/**
|
|
1940
|
+
* No description
|
|
1941
|
+
*
|
|
1942
|
+
* @tags DocumentTemplates
|
|
1943
|
+
* @name GetAvailableDocumentTemplateTypes
|
|
1944
|
+
* @summary Get Available Types
|
|
1945
|
+
* @request GET:/api/document-templates/available-types
|
|
1946
|
+
* @secure
|
|
1947
|
+
* @response `200` `(DocumentType)[]` OK
|
|
1948
|
+
*/
|
|
1949
|
+
getAvailableDocumentTemplateTypes: (params = {}) => this.request(Object.assign({ path: `/api/document-templates/available-types`, method: "GET", secure: true, format: "json" }, params)),
|
|
1939
1950
|
/**
|
|
1940
1951
|
* No description
|
|
1941
1952
|
*
|
|
@@ -6470,6 +6481,21 @@ export class Api extends HttpClient {
|
|
|
6470
6481
|
* @response `404` `ProblemDetails` Not Found
|
|
6471
6482
|
*/
|
|
6472
6483
|
removeMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "DELETE", secure: true }, params)),
|
|
6484
|
+
/**
|
|
6485
|
+
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
|
|
6486
|
+
*
|
|
6487
|
+
* @tags UsersMe
|
|
6488
|
+
* @name PromoteMyPartner
|
|
6489
|
+
* @summary Promote To My Partner
|
|
6490
|
+
* @request POST:/api/users/me/partners/promotions
|
|
6491
|
+
* @secure
|
|
6492
|
+
* @response `200` `PromotePartner` OK
|
|
6493
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6494
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6495
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6496
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6497
|
+
*/
|
|
6498
|
+
promoteMyPartner: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/promotions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6473
6499
|
/**
|
|
6474
6500
|
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
6475
6501
|
*
|