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

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
  }
@@ -23078,7 +23080,7 @@ export class Api<
23078
23080
  }),
23079
23081
 
23080
23082
  /**
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
23083
+ * @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
23084
  *
23083
23085
  * @tags UsersMe
23084
23086
  * @name GetMyPartners
@@ -23098,40 +23100,40 @@ export class Api<
23098
23100
  }),
23099
23101
 
23100
23102
  /**
23101
- * No description
23103
+ * @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
23102
23104
  *
23103
23105
  * @tags UsersMe
23104
23106
  * @name AddMyPartner
23105
23107
  * @summary Add My Partner
23106
- * @request POST:/api/users/me/partners/{partnerId}
23108
+ * @request POST:/api/users/me/partners/{partnerProfileId}
23107
23109
  * @secure
23108
23110
  * @response `204` `void` No Content
23109
23111
  * @response `403` `ProblemDetails` Forbidden
23110
23112
  * @response `404` `ProblemDetails` Not Found
23111
23113
  */
23112
- addMyPartner: (partnerId: string, params: RequestParams = {}) =>
23114
+ addMyPartner: (partnerProfileId: string, params: RequestParams = {}) =>
23113
23115
  this.request<void, ProblemDetails>({
23114
- path: `/api/users/me/partners/${partnerId}`,
23116
+ path: `/api/users/me/partners/${partnerProfileId}`,
23115
23117
  method: "POST",
23116
23118
  secure: true,
23117
23119
  ...params,
23118
23120
  }),
23119
23121
 
23120
23122
  /**
23121
- * No description
23123
+ * @description Takes a partner, by partner profile ID, off the loan officer's own list
23122
23124
  *
23123
23125
  * @tags UsersMe
23124
23126
  * @name RemoveMyPartner
23125
23127
  * @summary Remove My Partner
23126
- * @request DELETE:/api/users/me/partners/{partnerId}
23128
+ * @request DELETE:/api/users/me/partners/{partnerProfileId}
23127
23129
  * @secure
23128
23130
  * @response `204` `void` No Content
23129
23131
  * @response `403` `ProblemDetails` Forbidden
23130
23132
  * @response `404` `ProblemDetails` Not Found
23131
23133
  */
23132
- removeMyPartner: (partnerId: string, params: RequestParams = {}) =>
23134
+ removeMyPartner: (partnerProfileId: string, params: RequestParams = {}) =>
23133
23135
  this.request<void, ProblemDetails>({
23134
- path: `/api/users/me/partners/${partnerId}`,
23136
+ path: `/api/users/me/partners/${partnerProfileId}`,
23135
23137
  method: "DELETE",
23136
23138
  secure: true,
23137
23139
  ...params,