@matech/thebigpos-sdk 3.18.0-dev-6739 → 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;
@@ -5115,6 +5123,7 @@ export interface LoanFieldAccess {
5115
5123
  export interface LoanFieldAccessItem {
5116
5124
  fieldKey: string;
5117
5125
  access: LoanFieldAccessItemAccessEnum;
5126
+ patchPath?: string | null;
5118
5127
  }
5119
5128
 
5120
5129
  export interface LoanFinancial {
@@ -5257,6 +5266,7 @@ export interface LoanList {
5257
5266
  buyerAgentContact?: LoanContactList | null;
5258
5267
  sellerAgentContact?: LoanContactList | null;
5259
5268
  userLoans: UserLoan[];
5269
+ myLoanRoles: LoanRole[];
5260
5270
  contacts: LoanContact[];
5261
5271
  borrowers: LoanListBorrower[];
5262
5272
  taskCounts: LoanTaskCounts;
@@ -6221,6 +6231,20 @@ export type MonthlyPaymentWidgetConfig = UtilRequiredKeys<
6221
6231
  type: MonthlyPaymentWidgetConfigTypeEnum;
6222
6232
  };
6223
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
+
6224
6248
  export type MyTasksWidgetConfig = UtilRequiredKeys<
6225
6249
  BaseCanvasWidgetConfig,
6226
6250
  "type"
@@ -6419,6 +6443,26 @@ export interface Pagination {
6419
6443
  pageSize: number;
6420
6444
  }
6421
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
+
6422
6466
  export interface PartnerSearchCriteria {
6423
6467
  searchText?: string | null;
6424
6468
  isActive?: boolean | null;
@@ -6426,6 +6470,10 @@ export interface PartnerSearchCriteria {
6426
6470
  roles?: UserRole[] | null;
6427
6471
  }
6428
6472
 
6473
+ export interface PartnerSlug {
6474
+ slug: string;
6475
+ }
6476
+
6429
6477
  export interface PendingInvite {
6430
6478
  status: PendingInviteStatusEnum;
6431
6479
  /** @format uuid */
@@ -7048,6 +7096,7 @@ export interface SiteConfiguration {
7048
7096
  user?: UserPublic | null;
7049
7097
  asoSettings?: ASOSettings | null;
7050
7098
  accountSettings: AccountSettings;
7099
+ isPartnerPortalEnabled: boolean;
7051
7100
  autoTaskReminderIntervalsInDays?: number[] | null;
7052
7101
  mobileSettings?: MobileSettings | null;
7053
7102
  losSettings?: LOSSettings | null;
@@ -7243,6 +7292,7 @@ export interface SiteConfigurationByUrl {
7243
7292
  user?: UserPublic | null;
7244
7293
  asoSettings?: ASOSettings | null;
7245
7294
  accountSettings: AccountSettings;
7295
+ isPartnerPortalEnabled: boolean;
7246
7296
  autoTaskReminderIntervalsInDays?: number[] | null;
7247
7297
  mobileSettings?: MobileSettings | null;
7248
7298
  losSettings?: LOSSettings | null;
@@ -8049,6 +8099,14 @@ export interface UpdateMobilePhoneRequest {
8049
8099
  phone: string;
8050
8100
  }
8051
8101
 
8102
+ export interface UpdatePartnerPortalRequest {
8103
+ isEnabled?: boolean | null;
8104
+ }
8105
+
8106
+ export interface UpdatePartnerSlugRequest {
8107
+ slug: string;
8108
+ }
8109
+
8052
8110
  export interface UpdateUserGroupRequest {
8053
8111
  name: string;
8054
8112
  description?: string | null;
@@ -9502,6 +9560,8 @@ export type ManualDocumentClassificationRequestDocumentTypeEnum =
9502
9560
 
9503
9561
  export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
9504
9562
 
9563
+ export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
9564
+
9505
9565
  export type MyTasksWidgetConfigTypeEnum = "MyTasks";
9506
9566
 
9507
9567
  export type OpenTasksWidgetConfigTypeEnum = "OpenTasks";
@@ -10225,6 +10285,33 @@ export class Api<
10225
10285
  ...params,
10226
10286
  }),
10227
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
+
10228
10315
  /**
10229
10316
  * No description
10230
10317
  *
@@ -14984,13 +15071,14 @@ export class Api<
14984
15071
  * @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
14985
15072
  * @secure
14986
15073
  * @response `204` `void` No Content
15074
+ * @response `403` `HttpError` Forbidden
14987
15075
  */
14988
15076
  deleteFormSubmissionFile: (
14989
15077
  formSubmissionFileId: string,
14990
15078
  formSubmissionId: string,
14991
15079
  params: RequestParams = {},
14992
15080
  ) =>
14993
- this.request<void, any>({
15081
+ this.request<void, HttpError>({
14994
15082
  path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}`,
14995
15083
  method: "DELETE",
14996
15084
  secure: true,
@@ -15006,6 +15094,7 @@ export class Api<
15006
15094
  * @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
15007
15095
  * @secure
15008
15096
  * @response `200` `FileWithBytes` OK
15097
+ * @response `403` `HttpError` Forbidden
15009
15098
  */
15010
15099
  downloadFormSubmissionFile: (
15011
15100
  formSubmissionFileId: string,
@@ -15016,7 +15105,7 @@ export class Api<
15016
15105
  },
15017
15106
  params: RequestParams = {},
15018
15107
  ) =>
15019
- this.request<FileWithBytes, any>({
15108
+ this.request<FileWithBytes, HttpError>({
15020
15109
  path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}/download`,
15021
15110
  method: "GET",
15022
15111
  query: query,
@@ -15034,6 +15123,7 @@ export class Api<
15034
15123
  * @request GET:/api/form-submissions
15035
15124
  * @secure
15036
15125
  * @response `200` `FormSubmissionPaginated` OK
15126
+ * @response `403` `HttpError` Forbidden
15037
15127
  */
15038
15128
  getFormSubmissions: (
15039
15129
  query?: {
@@ -15046,7 +15136,7 @@ export class Api<
15046
15136
  },
15047
15137
  params: RequestParams = {},
15048
15138
  ) =>
15049
- this.request<FormSubmissionPaginated, any>({
15139
+ this.request<FormSubmissionPaginated, HttpError>({
15050
15140
  path: `/api/form-submissions`,
15051
15141
  method: "GET",
15052
15142
  query: query,
@@ -15092,9 +15182,10 @@ export class Api<
15092
15182
  * @request GET:/api/form-submissions/{id}
15093
15183
  * @secure
15094
15184
  * @response `200` `FormSubmission` OK
15185
+ * @response `403` `HttpError` Forbidden
15095
15186
  */
15096
15187
  getFormSubmission: (id: string, params: RequestParams = {}) =>
15097
- this.request<FormSubmission, any>({
15188
+ this.request<FormSubmission, HttpError>({
15098
15189
  path: `/api/form-submissions/${id}`,
15099
15190
  method: "GET",
15100
15191
  secure: true,
@@ -15111,13 +15202,14 @@ export class Api<
15111
15202
  * @request PUT:/api/form-submissions/{id}
15112
15203
  * @secure
15113
15204
  * @response `200` `FormSubmission` OK
15205
+ * @response `403` `HttpError` Forbidden
15114
15206
  */
15115
15207
  replaceFormSubmission: (
15116
15208
  id: string,
15117
15209
  data: FormSubmissionRequest,
15118
15210
  params: RequestParams = {},
15119
15211
  ) =>
15120
- this.request<FormSubmission, any>({
15212
+ this.request<FormSubmission, HttpError>({
15121
15213
  path: `/api/form-submissions/${id}`,
15122
15214
  method: "PUT",
15123
15215
  body: data,
@@ -15136,9 +15228,10 @@ export class Api<
15136
15228
  * @request DELETE:/api/form-submissions/{id}
15137
15229
  * @secure
15138
15230
  * @response `204` `void` No Content
15231
+ * @response `403` `HttpError` Forbidden
15139
15232
  */
15140
15233
  deleteFormSubmission: (id: string, params: RequestParams = {}) =>
15141
- this.request<void, any>({
15234
+ this.request<void, HttpError>({
15142
15235
  path: `/api/form-submissions/${id}`,
15143
15236
  method: "DELETE",
15144
15237
  secure: true,
@@ -15154,6 +15247,7 @@ export class Api<
15154
15247
  * @request POST:/api/form-submissions/search
15155
15248
  * @secure
15156
15249
  * @response `200` `FormSubmissionPaginated` OK
15250
+ * @response `403` `HttpError` Forbidden
15157
15251
  */
15158
15252
  searchFormSubmissions: (
15159
15253
  data: FormSubmissionSearchCriteria,
@@ -15167,7 +15261,7 @@ export class Api<
15167
15261
  },
15168
15262
  params: RequestParams = {},
15169
15263
  ) =>
15170
- this.request<FormSubmissionPaginated, any>({
15264
+ this.request<FormSubmissionPaginated, HttpError>({
15171
15265
  path: `/api/form-submissions/search`,
15172
15266
  method: "POST",
15173
15267
  query: query,
@@ -15659,6 +15753,7 @@ export class Api<
15659
15753
  * @request POST:/api/listings/{listingId}/files
15660
15754
  * @secure
15661
15755
  * @response `200` `ListingFile` OK
15756
+ * @response `403` `HttpError` Forbidden
15662
15757
  */
15663
15758
  addListingFile: (
15664
15759
  listingId: string,
@@ -15670,7 +15765,7 @@ export class Api<
15670
15765
  },
15671
15766
  params: RequestParams = {},
15672
15767
  ) =>
15673
- this.request<ListingFile, any>({
15768
+ this.request<ListingFile, HttpError>({
15674
15769
  path: `/api/listings/${listingId}/files`,
15675
15770
  method: "POST",
15676
15771
  body: data,
@@ -15689,13 +15784,14 @@ export class Api<
15689
15784
  * @request PATCH:/api/listings/{listingId}/files
15690
15785
  * @secure
15691
15786
  * @response `200` `ListingFile` OK
15787
+ * @response `403` `HttpError` Forbidden
15692
15788
  */
15693
15789
  updateListingFiles: (
15694
15790
  listingId: string,
15695
15791
  data: JsonPatchDocument,
15696
15792
  params: RequestParams = {},
15697
15793
  ) =>
15698
- this.request<ListingFile, any>({
15794
+ this.request<ListingFile, HttpError>({
15699
15795
  path: `/api/listings/${listingId}/files`,
15700
15796
  method: "PATCH",
15701
15797
  body: data,
@@ -15714,13 +15810,14 @@ export class Api<
15714
15810
  * @request DELETE:/api/listings/{listingId}/files/{id}
15715
15811
  * @secure
15716
15812
  * @response `204` `Listing` No Content
15813
+ * @response `403` `HttpError` Forbidden
15717
15814
  */
15718
15815
  removeListingFile: (
15719
15816
  listingId: string,
15720
15817
  id: string,
15721
15818
  params: RequestParams = {},
15722
15819
  ) =>
15723
- this.request<Listing, any>({
15820
+ this.request<Listing, HttpError>({
15724
15821
  path: `/api/listings/${listingId}/files/${id}`,
15725
15822
  method: "DELETE",
15726
15823
  secure: true,
@@ -15737,6 +15834,7 @@ export class Api<
15737
15834
  * @request POST:/api/listings/{listingId}/photos
15738
15835
  * @secure
15739
15836
  * @response `200` `ListingPhoto` OK
15837
+ * @response `403` `HttpError` Forbidden
15740
15838
  */
15741
15839
  addListingPhoto: (
15742
15840
  listingId: string,
@@ -15750,7 +15848,7 @@ export class Api<
15750
15848
  },
15751
15849
  params: RequestParams = {},
15752
15850
  ) =>
15753
- this.request<ListingPhoto, any>({
15851
+ this.request<ListingPhoto, HttpError>({
15754
15852
  path: `/api/listings/${listingId}/photos`,
15755
15853
  method: "POST",
15756
15854
  body: data,
@@ -15769,13 +15867,14 @@ export class Api<
15769
15867
  * @request PATCH:/api/listings/{listingId}/photos
15770
15868
  * @secure
15771
15869
  * @response `200` `(ListingPhoto)[]` OK
15870
+ * @response `403` `HttpError` Forbidden
15772
15871
  */
15773
15872
  updateListingPhotos: (
15774
15873
  listingId: string,
15775
15874
  data: JsonPatchDocument,
15776
15875
  params: RequestParams = {},
15777
15876
  ) =>
15778
- this.request<ListingPhoto[], any>({
15877
+ this.request<ListingPhoto[], HttpError>({
15779
15878
  path: `/api/listings/${listingId}/photos`,
15780
15879
  method: "PATCH",
15781
15880
  body: data,
@@ -15794,13 +15893,14 @@ export class Api<
15794
15893
  * @request DELETE:/api/listings/{listingId}/photos/{id}
15795
15894
  * @secure
15796
15895
  * @response `204` `Listing` No Content
15896
+ * @response `403` `HttpError` Forbidden
15797
15897
  */
15798
15898
  removeListingPhoto: (
15799
15899
  listingId: string,
15800
15900
  id: string,
15801
15901
  params: RequestParams = {},
15802
15902
  ) =>
15803
- this.request<Listing, any>({
15903
+ this.request<Listing, HttpError>({
15804
15904
  path: `/api/listings/${listingId}/photos/${id}`,
15805
15905
  method: "DELETE",
15806
15906
  secure: true,
@@ -15935,9 +16035,10 @@ export class Api<
15935
16035
  * @request DELETE:/api/listings/{id}
15936
16036
  * @secure
15937
16037
  * @response `204` `void` No Content
16038
+ * @response `403` `HttpError` Forbidden
15938
16039
  */
15939
16040
  deleteListing: (id: string, params: RequestParams = {}) =>
15940
- this.request<void, any>({
16041
+ this.request<void, HttpError>({
15941
16042
  path: `/api/listings/${id}`,
15942
16043
  method: "DELETE",
15943
16044
  secure: true,
@@ -15986,6 +16087,7 @@ export class Api<
15986
16087
  * @request PUT:/api/listings/{id}/background-image
15987
16088
  * @secure
15988
16089
  * @response `200` `File` OK
16090
+ * @response `403` `HttpError` Forbidden
15989
16091
  */
15990
16092
  updateListingBackgroundImage: (
15991
16093
  id: string,
@@ -15995,7 +16097,7 @@ export class Api<
15995
16097
  },
15996
16098
  params: RequestParams = {},
15997
16099
  ) =>
15998
- this.request<File, any>({
16100
+ this.request<File, HttpError>({
15999
16101
  path: `/api/listings/${id}/background-image`,
16000
16102
  method: "PUT",
16001
16103
  body: data,
@@ -16014,9 +16116,10 @@ export class Api<
16014
16116
  * @request DELETE:/api/listings/{id}/background-image
16015
16117
  * @secure
16016
16118
  * @response `204` `void` No Content
16119
+ * @response `403` `HttpError` Forbidden
16017
16120
  */
16018
16121
  deleteListingBackgroundImage: (id: string, params: RequestParams = {}) =>
16019
- this.request<void, any>({
16122
+ this.request<void, HttpError>({
16020
16123
  path: `/api/listings/${id}/background-image`,
16021
16124
  method: "DELETE",
16022
16125
  secure: true,
@@ -19769,6 +19872,35 @@ export class Api<
19769
19872
  ...params,
19770
19873
  }),
19771
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
+
19772
19904
  /**
19773
19905
  * No description
19774
19906
  *
@@ -22666,6 +22798,115 @@ export class Api<
22666
22798
  ...params,
22667
22799
  }),
22668
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
+
22669
22910
  /**
22670
22911
  * No description
22671
22912
  *