@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/src/index.ts CHANGED
@@ -6704,6 +6704,18 @@ export interface ProblemDetails {
6704
6704
  [key: string]: any;
6705
6705
  }
6706
6706
 
6707
+ export interface PromotePartner {
6708
+ /** @format uuid */
6709
+ partnerProfileID: string;
6710
+ }
6711
+
6712
+ export interface PromotePartnerRequest {
6713
+ /** @format uuid */
6714
+ userID?: string | null;
6715
+ /** @format uuid */
6716
+ inviteID?: string | null;
6717
+ }
6718
+
6707
6719
  export type RecentLoansWidgetConfig = UtilRequiredKeys<
6708
6720
  BaseCanvasWidgetConfig,
6709
6721
  "type"
@@ -13907,6 +13919,25 @@ export class Api<
13907
13919
  ...params,
13908
13920
  }),
13909
13921
 
13922
+ /**
13923
+ * No description
13924
+ *
13925
+ * @tags DocumentTemplates
13926
+ * @name GetAvailableDocumentTemplateTypes
13927
+ * @summary Get Available Types
13928
+ * @request GET:/api/document-templates/available-types
13929
+ * @secure
13930
+ * @response `200` `(DocumentType)[]` OK
13931
+ */
13932
+ getAvailableDocumentTemplateTypes: (params: RequestParams = {}) =>
13933
+ this.request<DocumentType[], any>({
13934
+ path: `/api/document-templates/available-types`,
13935
+ method: "GET",
13936
+ secure: true,
13937
+ format: "json",
13938
+ ...params,
13939
+ }),
13940
+
13910
13941
  /**
13911
13942
  * No description
13912
13943
  *
@@ -23139,6 +23170,34 @@ export class Api<
23139
23170
  ...params,
23140
23171
  }),
23141
23172
 
23173
+ /**
23174
+ * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
23175
+ *
23176
+ * @tags UsersMe
23177
+ * @name PromoteMyPartner
23178
+ * @summary Promote To My Partner
23179
+ * @request POST:/api/users/me/partners/promotions
23180
+ * @secure
23181
+ * @response `200` `PromotePartner` OK
23182
+ * @response `400` `ProblemDetails` Bad Request
23183
+ * @response `403` `ProblemDetails` Forbidden
23184
+ * @response `404` `ProblemDetails` Not Found
23185
+ * @response `422` `ProblemDetails` Unprocessable Content
23186
+ */
23187
+ promoteMyPartner: (
23188
+ data: PromotePartnerRequest,
23189
+ params: RequestParams = {},
23190
+ ) =>
23191
+ this.request<PromotePartner, ProblemDetails>({
23192
+ path: `/api/users/me/partners/promotions`,
23193
+ method: "POST",
23194
+ body: data,
23195
+ secure: true,
23196
+ type: "application/json",
23197
+ format: "json",
23198
+ ...params,
23199
+ }),
23200
+
23142
23201
  /**
23143
23202
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
23144
23203
  *