@matech/thebigpos-sdk 3.26.0-dev-8257 → 3.26.0-dev-8288

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 CHANGED
@@ -5061,6 +5061,8 @@ export interface MyPartner {
5061
5061
  email: string;
5062
5062
  phone?: string | null;
5063
5063
  tier: MyPartnerTierEnum;
5064
+ isOnLoanOfficerList: boolean;
5065
+ isFromPartnerSite: boolean;
5064
5066
  /** @format date-time */
5065
5067
  createdAt: string;
5066
5068
  }
@@ -9646,6 +9648,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9646
9648
  * @response `422` `UnprocessableEntity` Unprocessable Content
9647
9649
  */
9648
9650
  createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBase, any, {}, any>>;
9651
+ /**
9652
+ * No description
9653
+ *
9654
+ * @tags DocumentTemplates
9655
+ * @name GetAvailableDocumentTemplateTypes
9656
+ * @summary Get Available Types
9657
+ * @request GET:/api/document-templates/available-types
9658
+ * @secure
9659
+ * @response `200` `(DocumentType)[]` OK
9660
+ */
9661
+ getAvailableDocumentTemplateTypes: (params?: RequestParams) => Promise<AxiosResponse<DocumentType[], any, {}, any>>;
9649
9662
  /**
9650
9663
  * No description
9651
9664
  *
@@ -14594,7 +14607,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14594
14607
  */
14595
14608
  deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14596
14609
  /**
14597
- * @description The partners on the loan officer's list and the loan officer's portal relations, plus the open partner invites the loan officer sent
14610
+ * @description The partner profiles on the loan officer's list, pending partners who have not signed up yet included, and the loan officer's portal relations
14598
14611
  *
14599
14612
  * @tags UsersMe
14600
14613
  * @name GetMyPartners
@@ -14606,31 +14619,31 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14606
14619
  */
14607
14620
  getMyPartners: (params?: RequestParams) => Promise<AxiosResponse<MyPartner[], any, {}, any>>;
14608
14621
  /**
14609
- * No description
14622
+ * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
14610
14623
  *
14611
14624
  * @tags UsersMe
14612
14625
  * @name AddMyPartner
14613
14626
  * @summary Add My Partner
14614
- * @request POST:/api/users/me/partners/{partnerId}
14627
+ * @request POST:/api/users/me/partners/{partnerProfileId}
14615
14628
  * @secure
14616
14629
  * @response `204` `void` No Content
14617
14630
  * @response `403` `ProblemDetails` Forbidden
14618
14631
  * @response `404` `ProblemDetails` Not Found
14619
14632
  */
14620
- addMyPartner: (partnerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14633
+ addMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14621
14634
  /**
14622
- * No description
14635
+ * @description Takes a partner, by partner profile ID, off the loan officer's own list
14623
14636
  *
14624
14637
  * @tags UsersMe
14625
14638
  * @name RemoveMyPartner
14626
14639
  * @summary Remove My Partner
14627
- * @request DELETE:/api/users/me/partners/{partnerId}
14640
+ * @request DELETE:/api/users/me/partners/{partnerProfileId}
14628
14641
  * @secure
14629
14642
  * @response `204` `void` No Content
14630
14643
  * @response `403` `ProblemDetails` Forbidden
14631
14644
  * @response `404` `ProblemDetails` Not Found
14632
14645
  */
14633
- removeMyPartner: (partnerId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14646
+ removeMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14634
14647
  /**
14635
14648
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
14636
14649
  *
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
  *
@@ -6433,7 +6444,7 @@ export class Api extends HttpClient {
6433
6444
  */
6434
6445
  deleteRelationshipProspect: (id, params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects/${id}`, method: "DELETE", secure: true }, params)),
6435
6446
  /**
6436
- * @description The partners on the loan officer's list and the loan officer's portal relations, plus the open partner invites the loan officer sent
6447
+ * @description The partner profiles on the loan officer's list, pending partners who have not signed up yet included, and the loan officer's portal relations
6437
6448
  *
6438
6449
  * @tags UsersMe
6439
6450
  * @name GetMyPartners
@@ -6445,31 +6456,31 @@ export class Api extends HttpClient {
6445
6456
  */
6446
6457
  getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
6447
6458
  /**
6448
- * No description
6459
+ * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
6449
6460
  *
6450
6461
  * @tags UsersMe
6451
6462
  * @name AddMyPartner
6452
6463
  * @summary Add My Partner
6453
- * @request POST:/api/users/me/partners/{partnerId}
6464
+ * @request POST:/api/users/me/partners/{partnerProfileId}
6454
6465
  * @secure
6455
6466
  * @response `204` `void` No Content
6456
6467
  * @response `403` `ProblemDetails` Forbidden
6457
6468
  * @response `404` `ProblemDetails` Not Found
6458
6469
  */
6459
- addMyPartner: (partnerId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerId}`, method: "POST", secure: true }, params)),
6470
+ addMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "POST", secure: true }, params)),
6460
6471
  /**
6461
- * No description
6472
+ * @description Takes a partner, by partner profile ID, off the loan officer's own list
6462
6473
  *
6463
6474
  * @tags UsersMe
6464
6475
  * @name RemoveMyPartner
6465
6476
  * @summary Remove My Partner
6466
- * @request DELETE:/api/users/me/partners/{partnerId}
6477
+ * @request DELETE:/api/users/me/partners/{partnerProfileId}
6467
6478
  * @secure
6468
6479
  * @response `204` `void` No Content
6469
6480
  * @response `403` `ProblemDetails` Forbidden
6470
6481
  * @response `404` `ProblemDetails` Not Found
6471
6482
  */
6472
- removeMyPartner: (partnerId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerId}`, method: "DELETE", secure: true }, params)),
6483
+ removeMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "DELETE", secure: true }, params)),
6473
6484
  /**
6474
6485
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
6475
6486
  *