@matech/thebigpos-sdk 3.18.0 → 3.19.0
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/dist/index.d.ts +276 -2
- package/dist/index.js +182 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +456 -18
package/dist/index.js
CHANGED
|
@@ -95,7 +95,7 @@ export class HttpClient {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* @title The Big POS API
|
|
98
|
-
* @version v3.
|
|
98
|
+
* @version v3.19.0
|
|
99
99
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
100
100
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
101
101
|
*/
|
|
@@ -232,6 +232,19 @@ export class Api extends HttpClient {
|
|
|
232
232
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
233
233
|
*/
|
|
234
234
|
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
235
|
+
/**
|
|
236
|
+
* @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.
|
|
237
|
+
*
|
|
238
|
+
* @tags Accounts
|
|
239
|
+
* @name UpdateAccountPartnerPortal
|
|
240
|
+
* @summary Update partner portal switch
|
|
241
|
+
* @request PUT:/api/accounts/{id}/partner-portal
|
|
242
|
+
* @secure
|
|
243
|
+
* @response `200` `Account` OK
|
|
244
|
+
* @response `404` `ProblemDetails` Not Found
|
|
245
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
246
|
+
*/
|
|
247
|
+
updateAccountPartnerPortal: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/partner-portal`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
235
248
|
/**
|
|
236
249
|
* No description
|
|
237
250
|
*
|
|
@@ -2578,6 +2591,7 @@ export class Api extends HttpClient {
|
|
|
2578
2591
|
* @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
|
|
2579
2592
|
* @secure
|
|
2580
2593
|
* @response `204` `void` No Content
|
|
2594
|
+
* @response `403` `HttpError` Forbidden
|
|
2581
2595
|
*/
|
|
2582
2596
|
deleteFormSubmissionFile: (formSubmissionFileId, formSubmissionId, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}`, method: "DELETE", secure: true }, params)),
|
|
2583
2597
|
/**
|
|
@@ -2589,6 +2603,7 @@ export class Api extends HttpClient {
|
|
|
2589
2603
|
* @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
|
|
2590
2604
|
* @secure
|
|
2591
2605
|
* @response `200` `FileWithBytes` OK
|
|
2606
|
+
* @response `403` `HttpError` Forbidden
|
|
2592
2607
|
*/
|
|
2593
2608
|
downloadFormSubmissionFile: (formSubmissionFileId, formSubmissionId, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}/download`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2594
2609
|
/**
|
|
@@ -2600,6 +2615,7 @@ export class Api extends HttpClient {
|
|
|
2600
2615
|
* @request GET:/api/form-submissions
|
|
2601
2616
|
* @secure
|
|
2602
2617
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2618
|
+
* @response `403` `HttpError` Forbidden
|
|
2603
2619
|
*/
|
|
2604
2620
|
getFormSubmissions: (query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2605
2621
|
/**
|
|
@@ -2622,6 +2638,7 @@ export class Api extends HttpClient {
|
|
|
2622
2638
|
* @request GET:/api/form-submissions/{id}
|
|
2623
2639
|
* @secure
|
|
2624
2640
|
* @response `200` `FormSubmission` OK
|
|
2641
|
+
* @response `403` `HttpError` Forbidden
|
|
2625
2642
|
*/
|
|
2626
2643
|
getFormSubmission: (id, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2627
2644
|
/**
|
|
@@ -2633,6 +2650,7 @@ export class Api extends HttpClient {
|
|
|
2633
2650
|
* @request PUT:/api/form-submissions/{id}
|
|
2634
2651
|
* @secure
|
|
2635
2652
|
* @response `200` `FormSubmission` OK
|
|
2653
|
+
* @response `403` `HttpError` Forbidden
|
|
2636
2654
|
*/
|
|
2637
2655
|
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2638
2656
|
/**
|
|
@@ -2644,6 +2662,7 @@ export class Api extends HttpClient {
|
|
|
2644
2662
|
* @request DELETE:/api/form-submissions/{id}
|
|
2645
2663
|
* @secure
|
|
2646
2664
|
* @response `204` `void` No Content
|
|
2665
|
+
* @response `403` `HttpError` Forbidden
|
|
2647
2666
|
*/
|
|
2648
2667
|
deleteFormSubmission: (id, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "DELETE", secure: true }, params)),
|
|
2649
2668
|
/**
|
|
@@ -2655,6 +2674,7 @@ export class Api extends HttpClient {
|
|
|
2655
2674
|
* @request POST:/api/form-submissions/search
|
|
2656
2675
|
* @secure
|
|
2657
2676
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2677
|
+
* @response `403` `HttpError` Forbidden
|
|
2658
2678
|
*/
|
|
2659
2679
|
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2660
2680
|
/**
|
|
@@ -2891,6 +2911,7 @@ export class Api extends HttpClient {
|
|
|
2891
2911
|
* @request POST:/api/listings/{listingId}/files
|
|
2892
2912
|
* @secure
|
|
2893
2913
|
* @response `200` `ListingFile` OK
|
|
2914
|
+
* @response `403` `HttpError` Forbidden
|
|
2894
2915
|
*/
|
|
2895
2916
|
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2896
2917
|
/**
|
|
@@ -2902,6 +2923,7 @@ export class Api extends HttpClient {
|
|
|
2902
2923
|
* @request PATCH:/api/listings/{listingId}/files
|
|
2903
2924
|
* @secure
|
|
2904
2925
|
* @response `200` `ListingFile` OK
|
|
2926
|
+
* @response `403` `HttpError` Forbidden
|
|
2905
2927
|
*/
|
|
2906
2928
|
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2907
2929
|
/**
|
|
@@ -2913,6 +2935,7 @@ export class Api extends HttpClient {
|
|
|
2913
2935
|
* @request DELETE:/api/listings/{listingId}/files/{id}
|
|
2914
2936
|
* @secure
|
|
2915
2937
|
* @response `204` `Listing` No Content
|
|
2938
|
+
* @response `403` `HttpError` Forbidden
|
|
2916
2939
|
*/
|
|
2917
2940
|
removeListingFile: (listingId, id, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
2918
2941
|
/**
|
|
@@ -2924,6 +2947,7 @@ export class Api extends HttpClient {
|
|
|
2924
2947
|
* @request POST:/api/listings/{listingId}/photos
|
|
2925
2948
|
* @secure
|
|
2926
2949
|
* @response `200` `ListingPhoto` OK
|
|
2950
|
+
* @response `403` `HttpError` Forbidden
|
|
2927
2951
|
*/
|
|
2928
2952
|
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2929
2953
|
/**
|
|
@@ -2935,6 +2959,7 @@ export class Api extends HttpClient {
|
|
|
2935
2959
|
* @request PATCH:/api/listings/{listingId}/photos
|
|
2936
2960
|
* @secure
|
|
2937
2961
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2962
|
+
* @response `403` `HttpError` Forbidden
|
|
2938
2963
|
*/
|
|
2939
2964
|
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2940
2965
|
/**
|
|
@@ -2946,6 +2971,7 @@ export class Api extends HttpClient {
|
|
|
2946
2971
|
* @request DELETE:/api/listings/{listingId}/photos/{id}
|
|
2947
2972
|
* @secure
|
|
2948
2973
|
* @response `204` `Listing` No Content
|
|
2974
|
+
* @response `403` `HttpError` Forbidden
|
|
2949
2975
|
*/
|
|
2950
2976
|
removeListingPhoto: (listingId, id, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
2951
2977
|
/**
|
|
@@ -3016,6 +3042,7 @@ export class Api extends HttpClient {
|
|
|
3016
3042
|
* @request DELETE:/api/listings/{id}
|
|
3017
3043
|
* @secure
|
|
3018
3044
|
* @response `204` `void` No Content
|
|
3045
|
+
* @response `403` `HttpError` Forbidden
|
|
3019
3046
|
*/
|
|
3020
3047
|
deleteListing: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "DELETE", secure: true }, params)),
|
|
3021
3048
|
/**
|
|
@@ -3038,6 +3065,7 @@ export class Api extends HttpClient {
|
|
|
3038
3065
|
* @request PUT:/api/listings/{id}/background-image
|
|
3039
3066
|
* @secure
|
|
3040
3067
|
* @response `200` `File` OK
|
|
3068
|
+
* @response `403` `HttpError` Forbidden
|
|
3041
3069
|
*/
|
|
3042
3070
|
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
3043
3071
|
/**
|
|
@@ -3049,6 +3077,7 @@ export class Api extends HttpClient {
|
|
|
3049
3077
|
* @request DELETE:/api/listings/{id}/background-image
|
|
3050
3078
|
* @secure
|
|
3051
3079
|
* @response `204` `void` No Content
|
|
3080
|
+
* @response `403` `HttpError` Forbidden
|
|
3052
3081
|
*/
|
|
3053
3082
|
deleteListingBackgroundImage: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "DELETE", secure: true }, params)),
|
|
3054
3083
|
/**
|
|
@@ -3372,7 +3401,7 @@ export class Api extends HttpClient {
|
|
|
3372
3401
|
*/
|
|
3373
3402
|
getLoanDocumentFolderUsage: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/usage`, method: "GET", secure: true, format: "json" }, params)),
|
|
3374
3403
|
/**
|
|
3375
|
-
* @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.
|
|
3404
|
+
* @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.
|
|
3376
3405
|
*
|
|
3377
3406
|
* @tags LoanDocumentFoldersForSingleLoan
|
|
3378
3407
|
* @name ListLoanDocumentFolders
|
|
@@ -3634,6 +3663,76 @@ export class Api extends HttpClient {
|
|
|
3634
3663
|
* @response `403` `ProblemDetails` Forbidden
|
|
3635
3664
|
*/
|
|
3636
3665
|
getLoanFieldAccess: (params = {}) => this.request(Object.assign({ path: `/api/loan-fields/access`, method: "GET", secure: true, format: "json" }, params)),
|
|
3666
|
+
/**
|
|
3667
|
+
* No description
|
|
3668
|
+
*
|
|
3669
|
+
* @tags LoanFields
|
|
3670
|
+
* @name GetStandardLoanFields
|
|
3671
|
+
* @summary List standard loan fields with effective access and settings
|
|
3672
|
+
* @request GET:/api/loan-fields/standard
|
|
3673
|
+
* @secure
|
|
3674
|
+
* @response `200` `(StandardLoanField)[]` OK
|
|
3675
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3676
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3677
|
+
*/
|
|
3678
|
+
getStandardLoanFields: (params = {}) => this.request(Object.assign({ path: `/api/loan-fields/standard`, method: "GET", secure: true, format: "json" }, params)),
|
|
3679
|
+
/**
|
|
3680
|
+
* No description
|
|
3681
|
+
*
|
|
3682
|
+
* @tags LoanFields
|
|
3683
|
+
* @name SetLoanFieldPermissions
|
|
3684
|
+
* @summary Set role access levels on one loan field
|
|
3685
|
+
* @request PUT:/api/loan-fields/{fieldKey}/permissions
|
|
3686
|
+
* @secure
|
|
3687
|
+
* @response `204` `void` No Content
|
|
3688
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3689
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3690
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3691
|
+
*/
|
|
3692
|
+
setLoanFieldPermissions: (fieldKey, data, params = {}) => this.request(Object.assign({ path: `/api/loan-fields/${fieldKey}/permissions`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
3693
|
+
/**
|
|
3694
|
+
* No description
|
|
3695
|
+
*
|
|
3696
|
+
* @tags LoanFields
|
|
3697
|
+
* @name SetLoanFieldSettings
|
|
3698
|
+
* @summary Set the AI setting on one loan field
|
|
3699
|
+
* @request PUT:/api/loan-fields/{fieldKey}/settings
|
|
3700
|
+
* @secure
|
|
3701
|
+
* @response `204` `void` No Content
|
|
3702
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3703
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3704
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3705
|
+
*/
|
|
3706
|
+
setLoanFieldSettings: (fieldKey, data, params = {}) => this.request(Object.assign({ path: `/api/loan-fields/${fieldKey}/settings`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
3707
|
+
/**
|
|
3708
|
+
* No description
|
|
3709
|
+
*
|
|
3710
|
+
* @tags LoanFields
|
|
3711
|
+
* @name ResetLoanFieldOverrides
|
|
3712
|
+
* @summary Reset one standard loan field to its seeded defaults
|
|
3713
|
+
* @request DELETE:/api/loan-fields/{fieldKey}/overrides
|
|
3714
|
+
* @secure
|
|
3715
|
+
* @response `204` `void` No Content
|
|
3716
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3717
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3718
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3719
|
+
*/
|
|
3720
|
+
resetLoanFieldOverrides: (fieldKey, params = {}) => this.request(Object.assign({ path: `/api/loan-fields/${fieldKey}/overrides`, method: "DELETE", secure: true }, params)),
|
|
3721
|
+
/**
|
|
3722
|
+
* No description
|
|
3723
|
+
*
|
|
3724
|
+
* @tags LoanFields
|
|
3725
|
+
* @name BulkLoanFieldOperation
|
|
3726
|
+
* @summary Apply one operation to many loan fields
|
|
3727
|
+
* @request POST:/api/loan-fields/bulk
|
|
3728
|
+
* @secure
|
|
3729
|
+
* @response `200` `BulkLoanFieldOperation` OK
|
|
3730
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
3731
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
3732
|
+
* @response `404` `ProblemDetails` Not Found
|
|
3733
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3734
|
+
*/
|
|
3735
|
+
bulkLoanFieldOperation: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-fields/bulk`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3637
3736
|
/**
|
|
3638
3737
|
* No description
|
|
3639
3738
|
*
|
|
@@ -4895,6 +4994,21 @@ export class Api extends HttpClient {
|
|
|
4895
4994
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4896
4995
|
*/
|
|
4897
4996
|
deleteNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
4997
|
+
/**
|
|
4998
|
+
* @description Changes the short name a realtor's partner links carry. Links shared with the previous name stop working.
|
|
4999
|
+
*
|
|
5000
|
+
* @tags Partners
|
|
5001
|
+
* @name UpdatePartnerLinkSlug
|
|
5002
|
+
* @summary Update Partner Link Slug
|
|
5003
|
+
* @request PUT:/api/partners/{realtorId}/link-slug
|
|
5004
|
+
* @secure
|
|
5005
|
+
* @response `200` `PartnerSlug` OK
|
|
5006
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
5007
|
+
* @response `404` `ProblemDetails` Not Found
|
|
5008
|
+
* @response `409` `ProblemDetails` Conflict
|
|
5009
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5010
|
+
*/
|
|
5011
|
+
updatePartnerLinkSlug: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/link-slug`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4898
5012
|
/**
|
|
4899
5013
|
* No description
|
|
4900
5014
|
*
|
|
@@ -6328,6 +6442,72 @@ export class Api extends HttpClient {
|
|
|
6328
6442
|
* @response `204` `void` No Content
|
|
6329
6443
|
*/
|
|
6330
6444
|
deleteRelationshipProspect: (id, params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects/${id}`, method: "DELETE", secure: true }, params)),
|
|
6445
|
+
/**
|
|
6446
|
+
* @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
|
|
6447
|
+
*
|
|
6448
|
+
* @tags UsersMe
|
|
6449
|
+
* @name GetMyPartners
|
|
6450
|
+
* @summary Get My Partners
|
|
6451
|
+
* @request GET:/api/users/me/partners
|
|
6452
|
+
* @secure
|
|
6453
|
+
* @response `200` `(MyPartner)[]` OK
|
|
6454
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6455
|
+
*/
|
|
6456
|
+
getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
|
|
6457
|
+
/**
|
|
6458
|
+
* No description
|
|
6459
|
+
*
|
|
6460
|
+
* @tags UsersMe
|
|
6461
|
+
* @name AddMyPartner
|
|
6462
|
+
* @summary Add My Partner
|
|
6463
|
+
* @request POST:/api/users/me/partners/{partnerId}
|
|
6464
|
+
* @secure
|
|
6465
|
+
* @response `204` `void` No Content
|
|
6466
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6467
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6468
|
+
*/
|
|
6469
|
+
addMyPartner: (partnerId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerId}`, method: "POST", secure: true }, params)),
|
|
6470
|
+
/**
|
|
6471
|
+
* No description
|
|
6472
|
+
*
|
|
6473
|
+
* @tags UsersMe
|
|
6474
|
+
* @name RemoveMyPartner
|
|
6475
|
+
* @summary Remove My Partner
|
|
6476
|
+
* @request DELETE:/api/users/me/partners/{partnerId}
|
|
6477
|
+
* @secure
|
|
6478
|
+
* @response `204` `void` No Content
|
|
6479
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6480
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6481
|
+
*/
|
|
6482
|
+
removeMyPartner: (partnerId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerId}`, method: "DELETE", secure: true }, params)),
|
|
6483
|
+
/**
|
|
6484
|
+
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
6485
|
+
*
|
|
6486
|
+
* @tags UsersMe
|
|
6487
|
+
* @name GetMyPartnerLinks
|
|
6488
|
+
* @summary Get My Partner Links
|
|
6489
|
+
* @request GET:/api/users/me/partner-links
|
|
6490
|
+
* @secure
|
|
6491
|
+
* @response `200` `PartnerLinks` OK
|
|
6492
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6493
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6494
|
+
*/
|
|
6495
|
+
getMyPartnerLinks: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partner-links`, method: "GET", secure: true, format: "json" }, params)),
|
|
6496
|
+
/**
|
|
6497
|
+
* @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.
|
|
6498
|
+
*
|
|
6499
|
+
* @tags UsersMe
|
|
6500
|
+
* @name UpdateMyPartnerLinkSlug
|
|
6501
|
+
* @summary Update My Partner Link Slug
|
|
6502
|
+
* @request PUT:/api/users/me/partner-links/slug
|
|
6503
|
+
* @secure
|
|
6504
|
+
* @response `200` `PartnerLinks` OK
|
|
6505
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6506
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6507
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6508
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6509
|
+
*/
|
|
6510
|
+
updateMyPartnerLinkSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/partner-links/slug`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6331
6511
|
/**
|
|
6332
6512
|
* No description
|
|
6333
6513
|
*
|