@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/src/index.ts CHANGED
@@ -6318,6 +6318,8 @@ export interface MyPartner {
6318
6318
  email: string;
6319
6319
  phone?: string | null;
6320
6320
  tier: MyPartnerTierEnum;
6321
+ isOnLoanOfficerList: boolean;
6322
+ isFromPartnerSite: boolean;
6321
6323
  /** @format date-time */
6322
6324
  createdAt: string;
6323
6325
  }
@@ -13905,6 +13907,25 @@ export class Api<
13905
13907
  ...params,
13906
13908
  }),
13907
13909
 
13910
+ /**
13911
+ * No description
13912
+ *
13913
+ * @tags DocumentTemplates
13914
+ * @name GetAvailableDocumentTemplateTypes
13915
+ * @summary Get Available Types
13916
+ * @request GET:/api/document-templates/available-types
13917
+ * @secure
13918
+ * @response `200` `(DocumentType)[]` OK
13919
+ */
13920
+ getAvailableDocumentTemplateTypes: (params: RequestParams = {}) =>
13921
+ this.request<DocumentType[], any>({
13922
+ path: `/api/document-templates/available-types`,
13923
+ method: "GET",
13924
+ secure: true,
13925
+ format: "json",
13926
+ ...params,
13927
+ }),
13928
+
13908
13929
  /**
13909
13930
  * No description
13910
13931
  *
@@ -23078,7 +23099,7 @@ export class Api<
23078
23099
  }),
23079
23100
 
23080
23101
  /**
23081
- * @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
23102
+ * @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
23082
23103
  *
23083
23104
  * @tags UsersMe
23084
23105
  * @name GetMyPartners
@@ -23098,40 +23119,40 @@ export class Api<
23098
23119
  }),
23099
23120
 
23100
23121
  /**
23101
- * No description
23122
+ * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
23102
23123
  *
23103
23124
  * @tags UsersMe
23104
23125
  * @name AddMyPartner
23105
23126
  * @summary Add My Partner
23106
- * @request POST:/api/users/me/partners/{partnerId}
23127
+ * @request POST:/api/users/me/partners/{partnerProfileId}
23107
23128
  * @secure
23108
23129
  * @response `204` `void` No Content
23109
23130
  * @response `403` `ProblemDetails` Forbidden
23110
23131
  * @response `404` `ProblemDetails` Not Found
23111
23132
  */
23112
- addMyPartner: (partnerId: string, params: RequestParams = {}) =>
23133
+ addMyPartner: (partnerProfileId: string, params: RequestParams = {}) =>
23113
23134
  this.request<void, ProblemDetails>({
23114
- path: `/api/users/me/partners/${partnerId}`,
23135
+ path: `/api/users/me/partners/${partnerProfileId}`,
23115
23136
  method: "POST",
23116
23137
  secure: true,
23117
23138
  ...params,
23118
23139
  }),
23119
23140
 
23120
23141
  /**
23121
- * No description
23142
+ * @description Takes a partner, by partner profile ID, off the loan officer's own list
23122
23143
  *
23123
23144
  * @tags UsersMe
23124
23145
  * @name RemoveMyPartner
23125
23146
  * @summary Remove My Partner
23126
- * @request DELETE:/api/users/me/partners/{partnerId}
23147
+ * @request DELETE:/api/users/me/partners/{partnerProfileId}
23127
23148
  * @secure
23128
23149
  * @response `204` `void` No Content
23129
23150
  * @response `403` `ProblemDetails` Forbidden
23130
23151
  * @response `404` `ProblemDetails` Not Found
23131
23152
  */
23132
- removeMyPartner: (partnerId: string, params: RequestParams = {}) =>
23153
+ removeMyPartner: (partnerProfileId: string, params: RequestParams = {}) =>
23133
23154
  this.request<void, ProblemDetails>({
23134
- path: `/api/users/me/partners/${partnerId}`,
23155
+ path: `/api/users/me/partners/${partnerProfileId}`,
23135
23156
  method: "DELETE",
23136
23157
  secure: true,
23137
23158
  ...params,