@matech/thebigpos-sdk 3.18.0-dev-6743 → 3.18.0-dev-6750

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,6 +69,8 @@ export type PendingInviteStatus =
69
69
  | "InviteExpired"
70
70
  | "NotInvited";
71
71
 
72
+ export type PartnerTier = "Lite" | "LitePlusPortal" | "Pending";
73
+
72
74
  export type OutboundFailureSeverity = "All" | "Failed" | "CompletedWithErrors";
73
75
 
74
76
  export type LosWebhookSigningKeySyncStatus = "Unknown" | "Synced";
@@ -882,6 +884,7 @@ export interface Account {
882
884
  updatedAt?: string | null;
883
885
  /** @format int32 */
884
886
  allowedLoginsWithoutMFA: number;
887
+ isPartnerPortalEnabled: boolean;
885
888
  losSettings: LOSSettings;
886
889
  asoSettings?: ASOSettings | null;
887
890
  settings: AccountSettings;
@@ -912,12 +915,14 @@ export interface AccountSettings {
912
915
  smsNumber?: string | null;
913
916
  ssoHostOverride?: string | null;
914
917
  isEarlyAdopter: boolean;
918
+ allowLoanOfficerPartnerInvites: boolean;
915
919
  }
916
920
 
917
921
  export interface AccountSettingsRequest {
918
922
  isSmsEnabled: boolean;
919
923
  smsNumber?: string | null;
920
924
  isEarlyAdopter: boolean;
925
+ allowLoanOfficerPartnerInvites?: boolean | null;
921
926
  }
922
927
 
923
928
  export interface Address {
@@ -2448,6 +2453,7 @@ export interface CreateAccountRequest {
2448
2453
  domain: string;
2449
2454
  eConsentBucket?: string | null;
2450
2455
  ignoreCoBorrowerRelationship: boolean;
2456
+ isPartnerPortalEnabled: boolean;
2451
2457
  user: AdminUser;
2452
2458
  companyAddress: CompanyAddress;
2453
2459
  contactInfo: ContactInfo;
@@ -2981,6 +2987,7 @@ export interface DraftRequest {
2981
2987
  applicationPayload: any;
2982
2988
  customData?: any | null;
2983
2989
  isCoBorrower: boolean;
2990
+ partnerId?: string | null;
2984
2991
  }
2985
2992
 
2986
2993
  export interface EconsentPendingSummary {
@@ -4010,6 +4017,7 @@ export interface LoanApplicationRequest {
4010
4017
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
4011
4018
  /** @format uuid */
4012
4019
  draftId?: string | null;
4020
+ partnerId?: string | null;
4013
4021
  additionalFields?: Record<string, any> | null;
4014
4022
  /** @format uuid */
4015
4023
  existingLoanId?: string | null;
@@ -5258,6 +5266,7 @@ export interface LoanList {
5258
5266
  buyerAgentContact?: LoanContactList | null;
5259
5267
  sellerAgentContact?: LoanContactList | null;
5260
5268
  userLoans: UserLoan[];
5269
+ myLoanRoles: LoanRole[];
5261
5270
  contacts: LoanContact[];
5262
5271
  borrowers: LoanListBorrower[];
5263
5272
  taskCounts: LoanTaskCounts;
@@ -6222,6 +6231,20 @@ export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<
6222
6231
  type: MonthlyPaymentWidgetConfigTypeEnum;
6223
6232
  };
6224
6233
 
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
+
6225
6248
  export type MyTasksWidgetConfig = UtilRequiredKeys<
6226
6249
  BaseCanvasWidgetConfig,
6227
6250
  "type"
@@ -6420,6 +6443,26 @@ export interface Pagination {
6420
6443
  pageSize: number;
6421
6444
  }
6422
6445
 
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
+
6423
6466
  export interface PartnerSearchCriteria {
6424
6467
  searchText?: string | null;
6425
6468
  isActive?: boolean | null;
@@ -6427,6 +6470,10 @@ export interface PartnerSearchCriteria {
6427
6470
  roles?: UserRole[] | null;
6428
6471
  }
6429
6472
 
6473
+ export interface PartnerSlug {
6474
+ slug: string;
6475
+ }
6476
+
6430
6477
  export interface PendingInvite {
6431
6478
  status: PendingInviteStatusEnum;
6432
6479
  /** @format uuid */
@@ -7049,6 +7096,7 @@ export interface SiteConfiguration {
7049
7096
  user?: UserPublic | null;
7050
7097
  asoSettings?: ASOSettings | null;
7051
7098
  accountSettings: AccountSettings;
7099
+ isPartnerPortalEnabled: boolean;
7052
7100
  autoTaskReminderIntervalsInDays?: number[] | null;
7053
7101
  mobileSettings?: MobileSettings | null;
7054
7102
  losSettings?: LOSSettings | null;
@@ -7244,6 +7292,7 @@ export interface SiteConfigurationByUrl {
7244
7292
  user?: UserPublic | null;
7245
7293
  asoSettings?: ASOSettings | null;
7246
7294
  accountSettings: AccountSettings;
7295
+ isPartnerPortalEnabled: boolean;
7247
7296
  autoTaskReminderIntervalsInDays?: number[] | null;
7248
7297
  mobileSettings?: MobileSettings | null;
7249
7298
  losSettings?: LOSSettings | null;
@@ -8050,6 +8099,14 @@ export interface UpdateMobilePhoneRequest {
8050
8099
  phone: string;
8051
8100
  }
8052
8101
 
8102
+ export interface UpdatePartnerPortalRequest {
8103
+ isEnabled?: boolean | null;
8104
+ }
8105
+
8106
+ export interface UpdatePartnerSlugRequest {
8107
+ slug: string;
8108
+ }
8109
+
8053
8110
  export interface UpdateUserGroupRequest {
8054
8111
  name: string;
8055
8112
  description?: string | null;
@@ -9503,6 +9560,8 @@ export type ManualDocumentClassificationRequestDocumentTypeEnum =
9503
9560
 
9504
9561
  export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
9505
9562
 
9563
+ export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
9564
+
9506
9565
  export type MyTasksWidgetConfigTypeEnum = "MyTasks";
9507
9566
 
9508
9567
  export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
@@ -10226,6 +10285,33 @@ export class Api<
10226
10285
  ...params,
10227
10286
  }),
10228
10287
 
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
+
10229
10315
  /**
10230
10316
  * No description
10231
10317
  *
@@ -14985,13 +15071,14 @@ export class Api<
14985
15071
  * @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
14986
15072
  * @secure
14987
15073
  * @response `204` `void` No Content
15074
+ * @response `403` `HttpError` Forbidden
14988
15075
  */
14989
15076
  deleteFormSubmissionFile: (
14990
15077
  formSubmissionFileId: string,
14991
15078
  formSubmissionId: string,
14992
15079
  params: RequestParams = {},
14993
15080
  ) =>
14994
- this.request<void, any>({
15081
+ this.request<void, HttpError>({
14995
15082
  path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}`,
14996
15083
  method: "DELETE",
14997
15084
  secure: true,
@@ -15007,6 +15094,7 @@ export class Api<
15007
15094
  * @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
15008
15095
  * @secure
15009
15096
  * @response `200` `FileWithBytes` OK
15097
+ * @response `403` `HttpError` Forbidden
15010
15098
  */
15011
15099
  downloadFormSubmissionFile: (
15012
15100
  formSubmissionFileId: string,
@@ -15017,7 +15105,7 @@ export class Api<
15017
15105
  },
15018
15106
  params: RequestParams = {},
15019
15107
  ) =>
15020
- this.request<FileWithBytes, any>({
15108
+ this.request<FileWithBytes, HttpError>({
15021
15109
  path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}/download`,
15022
15110
  method: "GET",
15023
15111
  query: query,
@@ -15035,6 +15123,7 @@ export class Api<
15035
15123
  * @request GET:/api/form-submissions
15036
15124
  * @secure
15037
15125
  * @response `200` `FormSubmissionPaginated` OK
15126
+ * @response `403` `HttpError` Forbidden
15038
15127
  */
15039
15128
  getFormSubmissions: (
15040
15129
  query?: {
@@ -15047,7 +15136,7 @@ export class Api<
15047
15136
  },
15048
15137
  params: RequestParams = {},
15049
15138
  ) =>
15050
- this.request<FormSubmissionPaginated, any>({
15139
+ this.request<FormSubmissionPaginated, HttpError>({
15051
15140
  path: `/api/form-submissions`,
15052
15141
  method: "GET",
15053
15142
  query: query,
@@ -15093,9 +15182,10 @@ export class Api<
15093
15182
  * @request GET:/api/form-submissions/{id}
15094
15183
  * @secure
15095
15184
  * @response `200` `FormSubmission` OK
15185
+ * @response `403` `HttpError` Forbidden
15096
15186
  */
15097
15187
  getFormSubmission: (id: string, params: RequestParams = {}) =>
15098
- this.request<FormSubmission, any>({
15188
+ this.request<FormSubmission, HttpError>({
15099
15189
  path: `/api/form-submissions/${id}`,
15100
15190
  method: "GET",
15101
15191
  secure: true,
@@ -15112,13 +15202,14 @@ export class Api<
15112
15202
  * @request PUT:/api/form-submissions/{id}
15113
15203
  * @secure
15114
15204
  * @response `200` `FormSubmission` OK
15205
+ * @response `403` `HttpError` Forbidden
15115
15206
  */
15116
15207
  replaceFormSubmission: (
15117
15208
  id: string,
15118
15209
  data: FormSubmissionRequest,
15119
15210
  params: RequestParams = {},
15120
15211
  ) =>
15121
- this.request<FormSubmission, any>({
15212
+ this.request<FormSubmission, HttpError>({
15122
15213
  path: `/api/form-submissions/${id}`,
15123
15214
  method: "PUT",
15124
15215
  body: data,
@@ -15137,9 +15228,10 @@ export class Api<
15137
15228
  * @request DELETE:/api/form-submissions/{id}
15138
15229
  * @secure
15139
15230
  * @response `204` `void` No Content
15231
+ * @response `403` `HttpError` Forbidden
15140
15232
  */
15141
15233
  deleteFormSubmission: (id: string, params: RequestParams = {}) =>
15142
- this.request<void, any>({
15234
+ this.request<void, HttpError>({
15143
15235
  path: `/api/form-submissions/${id}`,
15144
15236
  method: "DELETE",
15145
15237
  secure: true,
@@ -15155,6 +15247,7 @@ export class Api<
15155
15247
  * @request POST:/api/form-submissions/search
15156
15248
  * @secure
15157
15249
  * @response `200` `FormSubmissionPaginated` OK
15250
+ * @response `403` `HttpError` Forbidden
15158
15251
  */
15159
15252
  searchFormSubmissions: (
15160
15253
  data: FormSubmissionSearchCriteria,
@@ -15168,7 +15261,7 @@ export class Api<
15168
15261
  },
15169
15262
  params: RequestParams = {},
15170
15263
  ) =>
15171
- this.request<FormSubmissionPaginated, any>({
15264
+ this.request<FormSubmissionPaginated, HttpError>({
15172
15265
  path: `/api/form-submissions/search`,
15173
15266
  method: "POST",
15174
15267
  query: query,
@@ -15660,6 +15753,7 @@ export class Api<
15660
15753
  * @request POST:/api/listings/{listingId}/files
15661
15754
  * @secure
15662
15755
  * @response `200` `ListingFile` OK
15756
+ * @response `403` `HttpError` Forbidden
15663
15757
  */
15664
15758
  addListingFile: (
15665
15759
  listingId: string,
@@ -15671,7 +15765,7 @@ export class Api<
15671
15765
  },
15672
15766
  params: RequestParams = {},
15673
15767
  ) =>
15674
- this.request<ListingFile, any>({
15768
+ this.request<ListingFile, HttpError>({
15675
15769
  path: `/api/listings/${listingId}/files`,
15676
15770
  method: "POST",
15677
15771
  body: data,
@@ -15690,13 +15784,14 @@ export class Api<
15690
15784
  * @request PATCH:/api/listings/{listingId}/files
15691
15785
  * @secure
15692
15786
  * @response `200` `ListingFile` OK
15787
+ * @response `403` `HttpError` Forbidden
15693
15788
  */
15694
15789
  updateListingFiles: (
15695
15790
  listingId: string,
15696
15791
  data: JsonPatchDocument,
15697
15792
  params: RequestParams = {},
15698
15793
  ) =>
15699
- this.request<ListingFile, any>({
15794
+ this.request<ListingFile, HttpError>({
15700
15795
  path: `/api/listings/${listingId}/files`,
15701
15796
  method: "PATCH",
15702
15797
  body: data,
@@ -15715,13 +15810,14 @@ export class Api<
15715
15810
  * @request DELETE:/api/listings/{listingId}/files/{id}
15716
15811
  * @secure
15717
15812
  * @response `204` `Listing` No Content
15813
+ * @response `403` `HttpError` Forbidden
15718
15814
  */
15719
15815
  removeListingFile: (
15720
15816
  listingId: string,
15721
15817
  id: string,
15722
15818
  params: RequestParams = {},
15723
15819
  ) =>
15724
- this.request<Listing, any>({
15820
+ this.request<Listing, HttpError>({
15725
15821
  path: `/api/listings/${listingId}/files/${id}`,
15726
15822
  method: "DELETE",
15727
15823
  secure: true,
@@ -15738,6 +15834,7 @@ export class Api<
15738
15834
  * @request POST:/api/listings/{listingId}/photos
15739
15835
  * @secure
15740
15836
  * @response `200` `ListingPhoto` OK
15837
+ * @response `403` `HttpError` Forbidden
15741
15838
  */
15742
15839
  addListingPhoto: (
15743
15840
  listingId: string,
@@ -15751,7 +15848,7 @@ export class Api<
15751
15848
  },
15752
15849
  params: RequestParams = {},
15753
15850
  ) =>
15754
- this.request<ListingPhoto, any>({
15851
+ this.request<ListingPhoto, HttpError>({
15755
15852
  path: `/api/listings/${listingId}/photos`,
15756
15853
  method: "POST",
15757
15854
  body: data,
@@ -15770,13 +15867,14 @@ export class Api<
15770
15867
  * @request PATCH:/api/listings/{listingId}/photos
15771
15868
  * @secure
15772
15869
  * @response `200` `(ListingPhoto)[]` OK
15870
+ * @response `403` `HttpError` Forbidden
15773
15871
  */
15774
15872
  updateListingPhotos: (
15775
15873
  listingId: string,
15776
15874
  data: JsonPatchDocument,
15777
15875
  params: RequestParams = {},
15778
15876
  ) =>
15779
- this.request<ListingPhoto[], any>({
15877
+ this.request<ListingPhoto[], HttpError>({
15780
15878
  path: `/api/listings/${listingId}/photos`,
15781
15879
  method: "PATCH",
15782
15880
  body: data,
@@ -15795,13 +15893,14 @@ export class Api<
15795
15893
  * @request DELETE:/api/listings/{listingId}/photos/{id}
15796
15894
  * @secure
15797
15895
  * @response `204` `Listing` No Content
15896
+ * @response `403` `HttpError` Forbidden
15798
15897
  */
15799
15898
  removeListingPhoto: (
15800
15899
  listingId: string,
15801
15900
  id: string,
15802
15901
  params: RequestParams = {},
15803
15902
  ) =>
15804
- this.request<Listing, any>({
15903
+ this.request<Listing, HttpError>({
15805
15904
  path: `/api/listings/${listingId}/photos/${id}`,
15806
15905
  method: "DELETE",
15807
15906
  secure: true,
@@ -15936,9 +16035,10 @@ export class Api<
15936
16035
  * @request DELETE:/api/listings/{id}
15937
16036
  * @secure
15938
16037
  * @response `204` `void` No Content
16038
+ * @response `403` `HttpError` Forbidden
15939
16039
  */
15940
16040
  deleteListing: (id: string, params: RequestParams = {}) =>
15941
- this.request<void, any>({
16041
+ this.request<void, HttpError>({
15942
16042
  path: `/api/listings/${id}`,
15943
16043
  method: "DELETE",
15944
16044
  secure: true,
@@ -15987,6 +16087,7 @@ export class Api<
15987
16087
  * @request PUT:/api/listings/{id}/background-image
15988
16088
  * @secure
15989
16089
  * @response `200` `File` OK
16090
+ * @response `403` `HttpError` Forbidden
15990
16091
  */
15991
16092
  updateListingBackgroundImage: (
15992
16093
  id: string,
@@ -15996,7 +16097,7 @@ export class Api<
15996
16097
  },
15997
16098
  params: RequestParams = {},
15998
16099
  ) =>
15999
- this.request<File, any>({
16100
+ this.request<File, HttpError>({
16000
16101
  path: `/api/listings/${id}/background-image`,
16001
16102
  method: "PUT",
16002
16103
  body: data,
@@ -16015,9 +16116,10 @@ export class Api<
16015
16116
  * @request DELETE:/api/listings/{id}/background-image
16016
16117
  * @secure
16017
16118
  * @response `204` `void` No Content
16119
+ * @response `403` `HttpError` Forbidden
16018
16120
  */
16019
16121
  deleteListingBackgroundImage: (id: string, params: RequestParams = {}) =>
16020
- this.request<void, any>({
16122
+ this.request<void, HttpError>({
16021
16123
  path: `/api/listings/${id}/background-image`,
16022
16124
  method: "DELETE",
16023
16125
  secure: true,
@@ -19770,6 +19872,35 @@ export class Api<
19770
19872
  ...params,
19771
19873
  }),
19772
19874
 
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
+
19773
19904
  /**
19774
19905
  * No description
19775
19906
  *
@@ -22667,6 +22798,115 @@ export class Api<
22667
22798
  ...params,
22668
22799
  }),
22669
22800
 
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
+
22670
22910
  /**
22671
22911
  * No description
22672
22912
  *