@otr-app/shared-backend-generated-client 2.4.21 → 2.4.22
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/angular/.openapi-generator/FILES +1 -0
- package/dist/angular/api/userProfileController.service.ts +8 -5
- package/dist/angular/model/models.ts +1 -0
- package/dist/angular/model/updateProfilePictureResponse.ts +17 -0
- package/dist/typescript/api/UserProfileControllerApi.d.ts +1 -1
- package/dist/typescript/model/UpdateProfilePictureResponse.d.ts +14 -0
- package/dist/typescript/model/UpdateProfilePictureResponse.js +13 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/package.json +1 -1
|
@@ -860,6 +860,7 @@ model/updateNoteResponse.ts
|
|
|
860
860
|
model/updatePaymentDueDateRequest.ts
|
|
861
861
|
model/updatePhoneNumber.ts
|
|
862
862
|
model/updateProfilePictureRequest.ts
|
|
863
|
+
model/updateProfilePictureResponse.ts
|
|
863
864
|
model/updateRefundEligibilityForCaseRequest.ts
|
|
864
865
|
model/updateReplyForCustomerReview.ts
|
|
865
866
|
model/updateUserDetailsResponse.ts
|
|
@@ -29,6 +29,8 @@ import { SetMarketingEmailOptInRequest } from '../model/setMarketingEmailOptInRe
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { UpdateProfilePictureRequest } from '../model/updateProfilePictureRequest';
|
|
31
31
|
// @ts-ignore
|
|
32
|
+
import { UpdateProfilePictureResponse } from '../model/updateProfilePictureResponse';
|
|
33
|
+
// @ts-ignore
|
|
32
34
|
import { UpdateUserDetailsResponse } from '../model/updateUserDetailsResponse';
|
|
33
35
|
// @ts-ignore
|
|
34
36
|
import { UpdateUserPhoneNumberRequest } from '../model/updateUserPhoneNumberRequest';
|
|
@@ -522,10 +524,10 @@ export class UserProfileControllerService {
|
|
|
522
524
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
523
525
|
* @param reportProgress flag to report request and response progress.
|
|
524
526
|
*/
|
|
525
|
-
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
526
|
-
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
527
|
-
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
528
|
-
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?:
|
|
527
|
+
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<UpdateProfilePictureResponse>;
|
|
528
|
+
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<UpdateProfilePictureResponse>>;
|
|
529
|
+
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<UpdateProfilePictureResponse>>;
|
|
530
|
+
public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
529
531
|
if (userId === null || userId === undefined) {
|
|
530
532
|
throw new Error('Required parameter userId was null or undefined when calling updateProfilePictureUsingPUT.');
|
|
531
533
|
}
|
|
@@ -539,6 +541,7 @@ export class UserProfileControllerService {
|
|
|
539
541
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
540
542
|
// to determine the Accept header
|
|
541
543
|
const httpHeaderAccepts: string[] = [
|
|
544
|
+
'*/*'
|
|
542
545
|
];
|
|
543
546
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
544
547
|
}
|
|
@@ -573,7 +576,7 @@ export class UserProfileControllerService {
|
|
|
573
576
|
}
|
|
574
577
|
|
|
575
578
|
let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/profile-picture`;
|
|
576
|
-
return this.httpClient.request<
|
|
579
|
+
return this.httpClient.request<UpdateProfilePictureResponse>('put', `${this.configuration.basePath}${localVarPath}`,
|
|
577
580
|
{
|
|
578
581
|
context: localVarHttpContext,
|
|
579
582
|
body: request,
|
|
@@ -736,6 +736,7 @@ export * from './updateNoteResponse';
|
|
|
736
736
|
export * from './updatePaymentDueDateRequest';
|
|
737
737
|
export * from './updatePhoneNumber';
|
|
738
738
|
export * from './updateProfilePictureRequest';
|
|
739
|
+
export * from './updateProfilePictureResponse';
|
|
739
740
|
export * from './updateRefundEligibilityForCaseRequest';
|
|
740
741
|
export * from './updateReplyForCustomerReview';
|
|
741
742
|
export * from './updateUserDetailsResponse';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export interface UpdateProfilePictureResponse {
|
|
15
|
+
signedPictureUrl?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -65,7 +65,7 @@ export declare class UserProfileControllerApi {
|
|
|
65
65
|
* @param userId userId
|
|
66
66
|
* @param request request
|
|
67
67
|
*/
|
|
68
|
-
updateProfilePictureUsingPUT(userId: number, request: models.UpdateProfilePictureRequest, extraHttpRequestParams?: any): ng.IHttpPromise<
|
|
68
|
+
updateProfilePictureUsingPUT(userId: number, request: models.UpdateProfilePictureRequest, extraHttpRequestParams?: any): ng.IHttpPromise<models.UpdateProfilePictureResponse>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @summary updateUserAddress
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateProfilePictureResponse {
|
|
13
|
+
"signedPictureUrl"?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OffTheRecord Rest Service API - Devo
|
|
4
|
+
* A service to handle your traffic tickets
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -736,6 +736,7 @@ export * from './UpdateNoteResponse';
|
|
|
736
736
|
export * from './UpdatePaymentDueDateRequest';
|
|
737
737
|
export * from './UpdatePhoneNumber';
|
|
738
738
|
export * from './UpdateProfilePictureRequest';
|
|
739
|
+
export * from './UpdateProfilePictureResponse';
|
|
739
740
|
export * from './UpdateRefundEligibilityForCaseRequest';
|
|
740
741
|
export * from './UpdateReplyForCustomerReview';
|
|
741
742
|
export * from './UpdateUserDetailsResponse';
|
|
@@ -748,6 +748,7 @@ __exportStar(require("./UpdateNoteResponse"), exports);
|
|
|
748
748
|
__exportStar(require("./UpdatePaymentDueDateRequest"), exports);
|
|
749
749
|
__exportStar(require("./UpdatePhoneNumber"), exports);
|
|
750
750
|
__exportStar(require("./UpdateProfilePictureRequest"), exports);
|
|
751
|
+
__exportStar(require("./UpdateProfilePictureResponse"), exports);
|
|
751
752
|
__exportStar(require("./UpdateRefundEligibilityForCaseRequest"), exports);
|
|
752
753
|
__exportStar(require("./UpdateReplyForCustomerReview"), exports);
|
|
753
754
|
__exportStar(require("./UpdateUserDetailsResponse"), exports);
|