@matech/thebigpos-sdk 3.27.0-dev-8342 → 3.28.0-dev-8410

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
@@ -5066,6 +5066,15 @@ export interface MyPartner {
5066
5066
  /** @format date-time */
5067
5067
  createdAt: string;
5068
5068
  }
5069
+ export interface MyPartnerPaginated {
5070
+ rows: MyPartner[];
5071
+ pagination: Pagination;
5072
+ /** @format int64 */
5073
+ count: number;
5074
+ }
5075
+ export interface MyPartnerSearchCriteria {
5076
+ searchText?: string | null;
5077
+ }
5069
5078
  export type MyTasksWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5070
5079
  /** @format int32 */
5071
5080
  dueWithinDays: number;
@@ -7589,7 +7598,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
7589
7598
  }
7590
7599
  /**
7591
7600
  * @title The Big POS API
7592
- * @version v3.27.0
7601
+ * @version v3.28.0
7593
7602
  * @termsOfService https://www.thebigpos.com/terms-of-use/
7594
7603
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
7595
7604
  */
@@ -14629,6 +14638,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14629
14638
  * @response `403` `ProblemDetails` Forbidden
14630
14639
  */
14631
14640
  getMyPartners: (params?: RequestParams) => Promise<AxiosResponse<MyPartner[], any, {}, any>>;
14641
+ /**
14642
+ * @description Searches the rows getMyPartners returns by first name, last name, full name or email, and pages them. Sorts by firstName, lastName, email, tier or createdAt when both sortBy and sortDirection are given, else newest first
14643
+ *
14644
+ * @tags UsersMe
14645
+ * @name SearchMyPartners
14646
+ * @summary Search My Partners
14647
+ * @request POST:/api/users/me/partners/search
14648
+ * @secure
14649
+ * @response `200` `MyPartnerPaginated` OK
14650
+ * @response `400` `ProblemDetails` Bad Request
14651
+ * @response `403` `ProblemDetails` Forbidden
14652
+ */
14653
+ searchMyPartners: (data: MyPartnerSearchCriteria, query?: {
14654
+ /** @format int32 */
14655
+ pageSize?: number;
14656
+ /** @format int32 */
14657
+ pageNumber?: number;
14658
+ sortBy?: string;
14659
+ sortDirection?: string;
14660
+ }, params?: RequestParams) => Promise<AxiosResponse<MyPartnerPaginated, any, {}, any>>;
14632
14661
  /**
14633
14662
  * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
14634
14663
  *
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ export class HttpClient {
101
101
  }
102
102
  /**
103
103
  * @title The Big POS API
104
- * @version v3.27.0
104
+ * @version v3.28.0
105
105
  * @termsOfService https://www.thebigpos.com/terms-of-use/
106
106
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
107
107
  */
@@ -6456,6 +6456,19 @@ export class Api extends HttpClient {
6456
6456
  * @response `403` `ProblemDetails` Forbidden
6457
6457
  */
6458
6458
  getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
6459
+ /**
6460
+ * @description Searches the rows getMyPartners returns by first name, last name, full name or email, and pages them. Sorts by firstName, lastName, email, tier or createdAt when both sortBy and sortDirection are given, else newest first
6461
+ *
6462
+ * @tags UsersMe
6463
+ * @name SearchMyPartners
6464
+ * @summary Search My Partners
6465
+ * @request POST:/api/users/me/partners/search
6466
+ * @secure
6467
+ * @response `200` `MyPartnerPaginated` OK
6468
+ * @response `400` `ProblemDetails` Bad Request
6469
+ * @response `403` `ProblemDetails` Forbidden
6470
+ */
6471
+ searchMyPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
6459
6472
  /**
6460
6473
  * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
6461
6474
  *