@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/src/index.ts CHANGED
@@ -6324,6 +6324,17 @@ export interface MyPartner {
6324
6324
  createdAt: string;
6325
6325
  }
6326
6326
 
6327
+ export interface MyPartnerPaginated {
6328
+ rows: MyPartner[];
6329
+ pagination: Pagination;
6330
+ /** @format int64 */
6331
+ count: number;
6332
+ }
6333
+
6334
+ export interface MyPartnerSearchCriteria {
6335
+ searchText?: string | null;
6336
+ }
6337
+
6327
6338
  export type MyTasksWidgetConfig = UtilRequiredKeys<
6328
6339
  BaseCanvasWidgetConfig,
6329
6340
  "type"
@@ -10222,7 +10233,7 @@ export class HttpClient<SecurityDataType = unknown> {
10222
10233
 
10223
10234
  /**
10224
10235
  * @title The Big POS API
10225
- * @version v3.27.0
10236
+ * @version v3.28.0
10226
10237
  * @termsOfService https://www.thebigpos.com/terms-of-use/
10227
10238
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
10228
10239
  */
@@ -23131,6 +23142,41 @@ export class Api<
23131
23142
  ...params,
23132
23143
  }),
23133
23144
 
23145
+ /**
23146
+ * @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
23147
+ *
23148
+ * @tags UsersMe
23149
+ * @name SearchMyPartners
23150
+ * @summary Search My Partners
23151
+ * @request POST:/api/users/me/partners/search
23152
+ * @secure
23153
+ * @response `200` `MyPartnerPaginated` OK
23154
+ * @response `400` `ProblemDetails` Bad Request
23155
+ * @response `403` `ProblemDetails` Forbidden
23156
+ */
23157
+ searchMyPartners: (
23158
+ data: MyPartnerSearchCriteria,
23159
+ query?: {
23160
+ /** @format int32 */
23161
+ pageSize?: number;
23162
+ /** @format int32 */
23163
+ pageNumber?: number;
23164
+ sortBy?: string;
23165
+ sortDirection?: string;
23166
+ },
23167
+ params: RequestParams = {},
23168
+ ) =>
23169
+ this.request<MyPartnerPaginated, ProblemDetails>({
23170
+ path: `/api/users/me/partners/search`,
23171
+ method: "POST",
23172
+ query: query,
23173
+ body: data,
23174
+ secure: true,
23175
+ type: "application/json",
23176
+ format: "json",
23177
+ ...params,
23178
+ }),
23179
+
23134
23180
  /**
23135
23181
  * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
23136
23182
  *