@matech/thebigpos-sdk 3.18.0-dev-6750 → 3.18.0-main-6759

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
@@ -69,8 +69,6 @@ export type PendingInviteStatus =
69
69
  | "InviteExpired"
70
70
  | "NotInvited";
71
71
 
72
- export type PartnerTier = "Lite" | "LitePlusPortal" | "Pending";
73
-
74
72
  export type OutboundFailureSeverity = "All" | "Failed" | "CompletedWithErrors";
75
73
 
76
74
  export type LosWebhookSigningKeySyncStatus = "Unknown" | "Synced";
@@ -884,7 +882,6 @@ export interface Account {
884
882
  updatedAt?: string | null;
885
883
  /** @format int32 */
886
884
  allowedLoginsWithoutMFA: number;
887
- isPartnerPortalEnabled: boolean;
888
885
  losSettings: LOSSettings;
889
886
  asoSettings?: ASOSettings | null;
890
887
  settings: AccountSettings;
@@ -915,14 +912,12 @@ export interface AccountSettings {
915
912
  smsNumber?: string | null;
916
913
  ssoHostOverride?: string | null;
917
914
  isEarlyAdopter: boolean;
918
- allowLoanOfficerPartnerInvites: boolean;
919
915
  }
920
916
 
921
917
  export interface AccountSettingsRequest {
922
918
  isSmsEnabled: boolean;
923
919
  smsNumber?: string | null;
924
920
  isEarlyAdopter: boolean;
925
- allowLoanOfficerPartnerInvites?: boolean | null;
926
921
  }
927
922
 
928
923
  export interface Address {
@@ -2453,7 +2448,6 @@ export interface CreateAccountRequest {
2453
2448
  domain: string;
2454
2449
  eConsentBucket?: string | null;
2455
2450
  ignoreCoBorrowerRelationship: boolean;
2456
- isPartnerPortalEnabled: boolean;
2457
2451
  user: AdminUser;
2458
2452
  companyAddress: CompanyAddress;
2459
2453
  contactInfo: ContactInfo;
@@ -2987,7 +2981,6 @@ export interface DraftRequest {
2987
2981
  applicationPayload: any;
2988
2982
  customData?: any | null;
2989
2983
  isCoBorrower: boolean;
2990
- partnerId?: string | null;
2991
2984
  }
2992
2985
 
2993
2986
  export interface EconsentPendingSummary {
@@ -4017,7 +4010,6 @@ export interface LoanApplicationRequest {
4017
4010
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
4018
4011
  /** @format uuid */
4019
4012
  draftId?: string | null;
4020
- partnerId?: string | null;
4021
4013
  additionalFields?: Record<string, any> | null;
4022
4014
  /** @format uuid */
4023
4015
  existingLoanId?: string | null;
@@ -5021,8 +5013,6 @@ export interface LoanDocumentFolderPermissionRequest {
5021
5013
  export interface LoanDocumentFolderSearchCriteria {
5022
5014
  searchText?: string | null;
5023
5015
  isActive?: boolean | null;
5024
- isSystemDefault?: boolean | null;
5025
- role?: LoanRole | null;
5026
5016
  }
5027
5017
 
5028
5018
  export interface LoanDocumentFolderSummary {
@@ -5123,7 +5113,6 @@ export interface LoanFieldAccess {
5123
5113
  export interface LoanFieldAccessItem {
5124
5114
  fieldKey: string;
5125
5115
  access: LoanFieldAccessItemAccessEnum;
5126
- patchPath?: string | null;
5127
5116
  }
5128
5117
 
5129
5118
  export interface LoanFinancial {
@@ -5266,7 +5255,6 @@ export interface LoanList {
5266
5255
  buyerAgentContact?: LoanContactList | null;
5267
5256
  sellerAgentContact?: LoanContactList | null;
5268
5257
  userLoans: UserLoan[];
5269
- myLoanRoles: LoanRole[];
5270
5258
  contacts: LoanContact[];
5271
5259
  borrowers: LoanListBorrower[];
5272
5260
  taskCounts: LoanTaskCounts;
@@ -6231,20 +6219,6 @@ export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<
6231
6219
  type: MonthlyPaymentWidgetConfigTypeEnum;
6232
6220
  };
6233
6221
 
6234
- export interface MyPartner {
6235
- /** @format uuid */
6236
- partnerID?: string | null;
6237
- /** @format uuid */
6238
- inviteID?: string | null;
6239
- firstName: string;
6240
- lastName: string;
6241
- email: string;
6242
- phone?: string | null;
6243
- tier: MyPartnerTierEnum;
6244
- /** @format date-time */
6245
- createdAt: string;
6246
- }
6247
-
6248
6222
  export type MyTasksWidgetConfig = UtilRequiredKeys<
6249
6223
  BaseCanvasWidgetConfig,
6250
6224
  "type"
@@ -6443,26 +6417,6 @@ export interface Pagination {
6443
6417
  pageSize: number;
6444
6418
  }
6445
6419
 
6446
- export interface PartnerFormLink {
6447
- /** @format int32 */
6448
- formType: number;
6449
- name: string;
6450
- url: string;
6451
- }
6452
-
6453
- export interface PartnerLinks {
6454
- slug: string;
6455
- loanOfficers: PartnerLoanOfficerLinks[];
6456
- }
6457
-
6458
- export interface PartnerLoanOfficerLinks {
6459
- /** @format uuid */
6460
- loanOfficerId: string;
6461
- name: string;
6462
- siteUrl: string;
6463
- links: PartnerFormLink[];
6464
- }
6465
-
6466
6420
  export interface PartnerSearchCriteria {
6467
6421
  searchText?: string | null;
6468
6422
  isActive?: boolean | null;
@@ -6470,10 +6424,6 @@ export interface PartnerSearchCriteria {
6470
6424
  roles?: UserRole[] | null;
6471
6425
  }
6472
6426
 
6473
- export interface PartnerSlug {
6474
- slug: string;
6475
- }
6476
-
6477
6427
  export interface PendingInvite {
6478
6428
  status: PendingInviteStatusEnum;
6479
6429
  /** @format uuid */
@@ -7096,7 +7046,6 @@ export interface SiteConfiguration {
7096
7046
  user?: UserPublic | null;
7097
7047
  asoSettings?: ASOSettings | null;
7098
7048
  accountSettings: AccountSettings;
7099
- isPartnerPortalEnabled: boolean;
7100
7049
  autoTaskReminderIntervalsInDays?: number[] | null;
7101
7050
  mobileSettings?: MobileSettings | null;
7102
7051
  losSettings?: LOSSettings | null;
@@ -7292,7 +7241,6 @@ export interface SiteConfigurationByUrl {
7292
7241
  user?: UserPublic | null;
7293
7242
  asoSettings?: ASOSettings | null;
7294
7243
  accountSettings: AccountSettings;
7295
- isPartnerPortalEnabled: boolean;
7296
7244
  autoTaskReminderIntervalsInDays?: number[] | null;
7297
7245
  mobileSettings?: MobileSettings | null;
7298
7246
  losSettings?: LOSSettings | null;
@@ -8099,14 +8047,6 @@ export interface UpdateMobilePhoneRequest {
8099
8047
  phone: string;
8100
8048
  }
8101
8049
 
8102
- export interface UpdatePartnerPortalRequest {
8103
- isEnabled?: boolean | null;
8104
- }
8105
-
8106
- export interface UpdatePartnerSlugRequest {
8107
- slug: string;
8108
- }
8109
-
8110
8050
  export interface UpdateUserGroupRequest {
8111
8051
  name: string;
8112
8052
  description?: string | null;
@@ -9560,8 +9500,6 @@ export type ManualDocumentClassificationRequestDocumentTypeEnum =
9560
9500
 
9561
9501
  export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
9562
9502
 
9563
- export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
9564
-
9565
9503
  export type MyTasksWidgetConfigTypeEnum = "MyTasks";
9566
9504
 
9567
9505
  export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
@@ -10285,33 +10223,6 @@ export class Api<
10285
10223
  ...params,
10286
10224
  }),
10287
10225
 
10288
- /**
10289
- * @description Turns the account's partner portal on or off. While Partner-lite is on for the account, off refuses its realtors' leads and listings and the creation of partner sites.
10290
- *
10291
- * @tags Accounts
10292
- * @name UpdateAccountPartnerPortal
10293
- * @summary Update partner portal switch
10294
- * @request PUT:/api/accounts/{id}/partner-portal
10295
- * @secure
10296
- * @response `200` `Account` OK
10297
- * @response `404` `ProblemDetails` Not Found
10298
- * @response `422` `ProblemDetails` Unprocessable Content
10299
- */
10300
- updateAccountPartnerPortal: (
10301
- id: string,
10302
- data: UpdatePartnerPortalRequest,
10303
- params: RequestParams = {},
10304
- ) =>
10305
- this.request<Account, ProblemDetails>({
10306
- path: `/api/accounts/${id}/partner-portal`,
10307
- method: "PUT",
10308
- body: data,
10309
- secure: true,
10310
- type: "application/json",
10311
- format: "json",
10312
- ...params,
10313
- }),
10314
-
10315
10226
  /**
10316
10227
  * No description
10317
10228
  *
@@ -15071,14 +14982,13 @@ export class Api<
15071
14982
  * @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
15072
14983
  * @secure
15073
14984
  * @response `204` `void` No Content
15074
- * @response `403` `HttpError` Forbidden
15075
14985
  */
15076
14986
  deleteFormSubmissionFile: (
15077
14987
  formSubmissionFileId: string,
15078
14988
  formSubmissionId: string,
15079
14989
  params: RequestParams = {},
15080
14990
  ) =>
15081
- this.request<void, HttpError>({
14991
+ this.request<void, any>({
15082
14992
  path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}`,
15083
14993
  method: "DELETE",
15084
14994
  secure: true,
@@ -15094,7 +15004,6 @@ export class Api<
15094
15004
  * @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
15095
15005
  * @secure
15096
15006
  * @response `200` `FileWithBytes` OK
15097
- * @response `403` `HttpError` Forbidden
15098
15007
  */
15099
15008
  downloadFormSubmissionFile: (
15100
15009
  formSubmissionFileId: string,
@@ -15105,7 +15014,7 @@ export class Api<
15105
15014
  },
15106
15015
  params: RequestParams = {},
15107
15016
  ) =>
15108
- this.request<FileWithBytes, HttpError>({
15017
+ this.request<FileWithBytes, any>({
15109
15018
  path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}/download`,
15110
15019
  method: "GET",
15111
15020
  query: query,
@@ -15123,7 +15032,6 @@ export class Api<
15123
15032
  * @request GET:/api/form-submissions
15124
15033
  * @secure
15125
15034
  * @response `200` `FormSubmissionPaginated` OK
15126
- * @response `403` `HttpError` Forbidden
15127
15035
  */
15128
15036
  getFormSubmissions: (
15129
15037
  query?: {
@@ -15136,7 +15044,7 @@ export class Api<
15136
15044
  },
15137
15045
  params: RequestParams = {},
15138
15046
  ) =>
15139
- this.request<FormSubmissionPaginated, HttpError>({
15047
+ this.request<FormSubmissionPaginated, any>({
15140
15048
  path: `/api/form-submissions`,
15141
15049
  method: "GET",
15142
15050
  query: query,
@@ -15182,10 +15090,9 @@ export class Api<
15182
15090
  * @request GET:/api/form-submissions/{id}
15183
15091
  * @secure
15184
15092
  * @response `200` `FormSubmission` OK
15185
- * @response `403` `HttpError` Forbidden
15186
15093
  */
15187
15094
  getFormSubmission: (id: string, params: RequestParams = {}) =>
15188
- this.request<FormSubmission, HttpError>({
15095
+ this.request<FormSubmission, any>({
15189
15096
  path: `/api/form-submissions/${id}`,
15190
15097
  method: "GET",
15191
15098
  secure: true,
@@ -15202,14 +15109,13 @@ export class Api<
15202
15109
  * @request PUT:/api/form-submissions/{id}
15203
15110
  * @secure
15204
15111
  * @response `200` `FormSubmission` OK
15205
- * @response `403` `HttpError` Forbidden
15206
15112
  */
15207
15113
  replaceFormSubmission: (
15208
15114
  id: string,
15209
15115
  data: FormSubmissionRequest,
15210
15116
  params: RequestParams = {},
15211
15117
  ) =>
15212
- this.request<FormSubmission, HttpError>({
15118
+ this.request<FormSubmission, any>({
15213
15119
  path: `/api/form-submissions/${id}`,
15214
15120
  method: "PUT",
15215
15121
  body: data,
@@ -15228,10 +15134,9 @@ export class Api<
15228
15134
  * @request DELETE:/api/form-submissions/{id}
15229
15135
  * @secure
15230
15136
  * @response `204` `void` No Content
15231
- * @response `403` `HttpError` Forbidden
15232
15137
  */
15233
15138
  deleteFormSubmission: (id: string, params: RequestParams = {}) =>
15234
- this.request<void, HttpError>({
15139
+ this.request<void, any>({
15235
15140
  path: `/api/form-submissions/${id}`,
15236
15141
  method: "DELETE",
15237
15142
  secure: true,
@@ -15247,7 +15152,6 @@ export class Api<
15247
15152
  * @request POST:/api/form-submissions/search
15248
15153
  * @secure
15249
15154
  * @response `200` `FormSubmissionPaginated` OK
15250
- * @response `403` `HttpError` Forbidden
15251
15155
  */
15252
15156
  searchFormSubmissions: (
15253
15157
  data: FormSubmissionSearchCriteria,
@@ -15261,7 +15165,7 @@ export class Api<
15261
15165
  },
15262
15166
  params: RequestParams = {},
15263
15167
  ) =>
15264
- this.request<FormSubmissionPaginated, HttpError>({
15168
+ this.request<FormSubmissionPaginated, any>({
15265
15169
  path: `/api/form-submissions/search`,
15266
15170
  method: "POST",
15267
15171
  query: query,
@@ -15753,7 +15657,6 @@ export class Api<
15753
15657
  * @request POST:/api/listings/{listingId}/files
15754
15658
  * @secure
15755
15659
  * @response `200` `ListingFile` OK
15756
- * @response `403` `HttpError` Forbidden
15757
15660
  */
15758
15661
  addListingFile: (
15759
15662
  listingId: string,
@@ -15765,7 +15668,7 @@ export class Api<
15765
15668
  },
15766
15669
  params: RequestParams = {},
15767
15670
  ) =>
15768
- this.request<ListingFile, HttpError>({
15671
+ this.request<ListingFile, any>({
15769
15672
  path: `/api/listings/${listingId}/files`,
15770
15673
  method: "POST",
15771
15674
  body: data,
@@ -15784,14 +15687,13 @@ export class Api<
15784
15687
  * @request PATCH:/api/listings/{listingId}/files
15785
15688
  * @secure
15786
15689
  * @response `200` `ListingFile` OK
15787
- * @response `403` `HttpError` Forbidden
15788
15690
  */
15789
15691
  updateListingFiles: (
15790
15692
  listingId: string,
15791
15693
  data: JsonPatchDocument,
15792
15694
  params: RequestParams = {},
15793
15695
  ) =>
15794
- this.request<ListingFile, HttpError>({
15696
+ this.request<ListingFile, any>({
15795
15697
  path: `/api/listings/${listingId}/files`,
15796
15698
  method: "PATCH",
15797
15699
  body: data,
@@ -15810,14 +15712,13 @@ export class Api<
15810
15712
  * @request DELETE:/api/listings/{listingId}/files/{id}
15811
15713
  * @secure
15812
15714
  * @response `204` `Listing` No Content
15813
- * @response `403` `HttpError` Forbidden
15814
15715
  */
15815
15716
  removeListingFile: (
15816
15717
  listingId: string,
15817
15718
  id: string,
15818
15719
  params: RequestParams = {},
15819
15720
  ) =>
15820
- this.request<Listing, HttpError>({
15721
+ this.request<Listing, any>({
15821
15722
  path: `/api/listings/${listingId}/files/${id}`,
15822
15723
  method: "DELETE",
15823
15724
  secure: true,
@@ -15834,7 +15735,6 @@ export class Api<
15834
15735
  * @request POST:/api/listings/{listingId}/photos
15835
15736
  * @secure
15836
15737
  * @response `200` `ListingPhoto` OK
15837
- * @response `403` `HttpError` Forbidden
15838
15738
  */
15839
15739
  addListingPhoto: (
15840
15740
  listingId: string,
@@ -15848,7 +15748,7 @@ export class Api<
15848
15748
  },
15849
15749
  params: RequestParams = {},
15850
15750
  ) =>
15851
- this.request<ListingPhoto, HttpError>({
15751
+ this.request<ListingPhoto, any>({
15852
15752
  path: `/api/listings/${listingId}/photos`,
15853
15753
  method: "POST",
15854
15754
  body: data,
@@ -15867,14 +15767,13 @@ export class Api<
15867
15767
  * @request PATCH:/api/listings/{listingId}/photos
15868
15768
  * @secure
15869
15769
  * @response `200` `(ListingPhoto)[]` OK
15870
- * @response `403` `HttpError` Forbidden
15871
15770
  */
15872
15771
  updateListingPhotos: (
15873
15772
  listingId: string,
15874
15773
  data: JsonPatchDocument,
15875
15774
  params: RequestParams = {},
15876
15775
  ) =>
15877
- this.request<ListingPhoto[], HttpError>({
15776
+ this.request<ListingPhoto[], any>({
15878
15777
  path: `/api/listings/${listingId}/photos`,
15879
15778
  method: "PATCH",
15880
15779
  body: data,
@@ -15893,14 +15792,13 @@ export class Api<
15893
15792
  * @request DELETE:/api/listings/{listingId}/photos/{id}
15894
15793
  * @secure
15895
15794
  * @response `204` `Listing` No Content
15896
- * @response `403` `HttpError` Forbidden
15897
15795
  */
15898
15796
  removeListingPhoto: (
15899
15797
  listingId: string,
15900
15798
  id: string,
15901
15799
  params: RequestParams = {},
15902
15800
  ) =>
15903
- this.request<Listing, HttpError>({
15801
+ this.request<Listing, any>({
15904
15802
  path: `/api/listings/${listingId}/photos/${id}`,
15905
15803
  method: "DELETE",
15906
15804
  secure: true,
@@ -16035,10 +15933,9 @@ export class Api<
16035
15933
  * @request DELETE:/api/listings/{id}
16036
15934
  * @secure
16037
15935
  * @response `204` `void` No Content
16038
- * @response `403` `HttpError` Forbidden
16039
15936
  */
16040
15937
  deleteListing: (id: string, params: RequestParams = {}) =>
16041
- this.request<void, HttpError>({
15938
+ this.request<void, any>({
16042
15939
  path: `/api/listings/${id}`,
16043
15940
  method: "DELETE",
16044
15941
  secure: true,
@@ -16087,7 +15984,6 @@ export class Api<
16087
15984
  * @request PUT:/api/listings/{id}/background-image
16088
15985
  * @secure
16089
15986
  * @response `200` `File` OK
16090
- * @response `403` `HttpError` Forbidden
16091
15987
  */
16092
15988
  updateListingBackgroundImage: (
16093
15989
  id: string,
@@ -16097,7 +15993,7 @@ export class Api<
16097
15993
  },
16098
15994
  params: RequestParams = {},
16099
15995
  ) =>
16100
- this.request<File, HttpError>({
15996
+ this.request<File, any>({
16101
15997
  path: `/api/listings/${id}/background-image`,
16102
15998
  method: "PUT",
16103
15999
  body: data,
@@ -16116,10 +16012,9 @@ export class Api<
16116
16012
  * @request DELETE:/api/listings/{id}/background-image
16117
16013
  * @secure
16118
16014
  * @response `204` `void` No Content
16119
- * @response `403` `HttpError` Forbidden
16120
16015
  */
16121
16016
  deleteListingBackgroundImage: (id: string, params: RequestParams = {}) =>
16122
- this.request<void, HttpError>({
16017
+ this.request<void, any>({
16123
16018
  path: `/api/listings/${id}/background-image`,
16124
16019
  method: "DELETE",
16125
16020
  secure: true,
@@ -16713,7 +16608,7 @@ export class Api<
16713
16608
  }),
16714
16609
 
16715
16610
  /**
16716
- * @description Returns the folders the caller can access that are relevant to this loan — every active system-default folder, plus any folder holding a document the caller can read or bound to one of the loan's tasks, even when empty as long as it is active — with the caller's effective accessLevel and the count of documents they can read in each. Upload destinations are the active entries with accessLevel at least Write. Documents that are not assigned to a folder are returned as a synthetic 'Unassigned' folder (ID = empty GUID, isUnassigned = true); filter to its documents with searchLoanDocuments folderScope 'Unassigned' rather than by echoing that ID.
16611
+ * @description Returns the folders the caller can access that are relevant to this loan — every active system-default folder, plus any folder holding a document the caller can read or bound to one of the loan's tasks, even when empty — with the caller's effective accessLevel and the count of documents they can read in each. Upload destinations are the active entries with accessLevel at least Write. Documents that are not assigned to a folder are returned as a synthetic 'Unassigned' folder (ID = empty GUID, isUnassigned = true); filter to its documents with searchLoanDocuments folderScope 'Unassigned' rather than by echoing that ID.
16717
16612
  *
16718
16613
  * @tags LoanDocumentFoldersForSingleLoan
16719
16614
  * @name ListLoanDocumentFolders
@@ -19872,35 +19767,6 @@ export class Api<
19872
19767
  ...params,
19873
19768
  }),
19874
19769
 
19875
- /**
19876
- * @description Changes the short name a realtor's partner links carry. Links shared with the previous name stop working.
19877
- *
19878
- * @tags Partners
19879
- * @name UpdatePartnerLinkSlug
19880
- * @summary Update Partner Link Slug
19881
- * @request PUT:/api/partners/{realtorId}/link-slug
19882
- * @secure
19883
- * @response `200` `PartnerSlug` OK
19884
- * @response `403` `ProblemDetails` Forbidden
19885
- * @response `404` `ProblemDetails` Not Found
19886
- * @response `409` `ProblemDetails` Conflict
19887
- * @response `422` `UnprocessableEntity` Unprocessable Content
19888
- */
19889
- updatePartnerLinkSlug: (
19890
- realtorId: string,
19891
- data: UpdatePartnerSlugRequest,
19892
- params: RequestParams = {},
19893
- ) =>
19894
- this.request<PartnerSlug, ProblemDetails | UnprocessableEntity>({
19895
- path: `/api/partners/${realtorId}/link-slug`,
19896
- method: "PUT",
19897
- body: data,
19898
- secure: true,
19899
- type: "application/json",
19900
- format: "json",
19901
- ...params,
19902
- }),
19903
-
19904
19770
  /**
19905
19771
  * No description
19906
19772
  *
@@ -22798,115 +22664,6 @@ export class Api<
22798
22664
  ...params,
22799
22665
  }),
22800
22666
 
22801
- /**
22802
- * @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
22803
- *
22804
- * @tags UsersMe
22805
- * @name GetMyPartners
22806
- * @summary Get My Partners
22807
- * @request GET:/api/users/me/partners
22808
- * @secure
22809
- * @response `200` `(MyPartner)[]` OK
22810
- * @response `403` `ProblemDetails` Forbidden
22811
- */
22812
- getMyPartners: (params: RequestParams = {}) =>
22813
- this.request<MyPartner[], ProblemDetails>({
22814
- path: `/api/users/me/partners`,
22815
- method: "GET",
22816
- secure: true,
22817
- format: "json",
22818
- ...params,
22819
- }),
22820
-
22821
- /**
22822
- * No description
22823
- *
22824
- * @tags UsersMe
22825
- * @name AddMyPartner
22826
- * @summary Add My Partner
22827
- * @request POST:/api/users/me/partners/{partnerId}
22828
- * @secure
22829
- * @response `204` `void` No Content
22830
- * @response `403` `ProblemDetails` Forbidden
22831
- * @response `404` `ProblemDetails` Not Found
22832
- */
22833
- addMyPartner: (partnerId: string, params: RequestParams = {}) =>
22834
- this.request<void, ProblemDetails>({
22835
- path: `/api/users/me/partners/${partnerId}`,
22836
- method: "POST",
22837
- secure: true,
22838
- ...params,
22839
- }),
22840
-
22841
- /**
22842
- * No description
22843
- *
22844
- * @tags UsersMe
22845
- * @name RemoveMyPartner
22846
- * @summary Remove My Partner
22847
- * @request DELETE:/api/users/me/partners/{partnerId}
22848
- * @secure
22849
- * @response `204` `void` No Content
22850
- * @response `403` `ProblemDetails` Forbidden
22851
- * @response `404` `ProblemDetails` Not Found
22852
- */
22853
- removeMyPartner: (partnerId: string, params: RequestParams = {}) =>
22854
- this.request<void, ProblemDetails>({
22855
- path: `/api/users/me/partners/${partnerId}`,
22856
- method: "DELETE",
22857
- secure: true,
22858
- ...params,
22859
- }),
22860
-
22861
- /**
22862
- * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
22863
- *
22864
- * @tags UsersMe
22865
- * @name GetMyPartnerLinks
22866
- * @summary Get My Partner Links
22867
- * @request GET:/api/users/me/partner-links
22868
- * @secure
22869
- * @response `200` `PartnerLinks` OK
22870
- * @response `403` `ProblemDetails` Forbidden
22871
- * @response `404` `ProblemDetails` Not Found
22872
- */
22873
- getMyPartnerLinks: (params: RequestParams = {}) =>
22874
- this.request<PartnerLinks, ProblemDetails>({
22875
- path: `/api/users/me/partner-links`,
22876
- method: "GET",
22877
- secure: true,
22878
- format: "json",
22879
- ...params,
22880
- }),
22881
-
22882
- /**
22883
- * @description Changes the short name the partner's links carry and returns the links rebuilt with it. Links shared with the previous name stop working.
22884
- *
22885
- * @tags UsersMe
22886
- * @name UpdateMyPartnerLinkSlug
22887
- * @summary Update My Partner Link Slug
22888
- * @request PUT:/api/users/me/partner-links/slug
22889
- * @secure
22890
- * @response `200` `PartnerLinks` OK
22891
- * @response `403` `ProblemDetails` Forbidden
22892
- * @response `404` `ProblemDetails` Not Found
22893
- * @response `409` `ProblemDetails` Conflict
22894
- * @response `422` `UnprocessableEntity` Unprocessable Content
22895
- */
22896
- updateMyPartnerLinkSlug: (
22897
- data: UpdatePartnerSlugRequest,
22898
- params: RequestParams = {},
22899
- ) =>
22900
- this.request<PartnerLinks, ProblemDetails | UnprocessableEntity>({
22901
- path: `/api/users/me/partner-links/slug`,
22902
- method: "PUT",
22903
- body: data,
22904
- secure: true,
22905
- type: "application/json",
22906
- format: "json",
22907
- ...params,
22908
- }),
22909
-
22910
22667
  /**
22911
22668
  * No description
22912
22669
  *