@otr-app/shared-backend-generated-client 2.4.20 → 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.
@@ -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?: undefined, context?: HttpContext}): Observable<any>;
526
- public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
527
- public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
528
- public updateProfilePictureUsingPUT(userId: number, request: UpdateProfilePictureRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
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<any>('put', `${this.configuration.basePath}${localVarPath}`,
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
+
@@ -60,6 +60,7 @@ export interface UserDomain {
60
60
  roles?: Set<UserRoleDomain>;
61
61
  signUpCode?: string;
62
62
  signUpCodeUseCount?: number;
63
+ signedProfilePictureUrl?: string;
63
64
  socialProfiles?: Array<UserSocialProfileModel>;
64
65
  subscriptionPlans?: Array<UserSubscriptionPlanModel>;
65
66
  userAlias?: string;
@@ -59,6 +59,7 @@ export interface UserDomainReq {
59
59
  roles?: Set<UserRoleDomain>;
60
60
  signUpCode?: string;
61
61
  signUpCodeUseCount?: number;
62
+ signedProfilePictureUrl?: string;
62
63
  socialProfiles?: Array<UserSocialProfileModelReq>;
63
64
  subscriptionPlans?: Array<UserSubscriptionPlanModelReq>;
64
65
  userAlias?: string;
@@ -60,6 +60,7 @@ export interface UserDomainRes {
60
60
  roles?: Set<UserRoleDomain>;
61
61
  signUpCode?: string;
62
62
  signUpCodeUseCount?: number;
63
+ signedProfilePictureUrl?: string;
63
64
  socialProfiles?: Array<UserSocialProfileModelRes>;
64
65
  subscriptionPlans?: Array<UserSubscriptionPlanModelRes>;
65
66
  userAlias?: string;
@@ -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 });
@@ -51,6 +51,7 @@ export interface UserDomain {
51
51
  "roles"?: Array<models.UserRoleDomain>;
52
52
  "signUpCode"?: string;
53
53
  "signUpCodeUseCount"?: number;
54
+ "signedProfilePictureUrl"?: string;
54
55
  "socialProfiles"?: Array<models.UserSocialProfileModel>;
55
56
  "subscriptionPlans"?: Array<models.UserSubscriptionPlanModel>;
56
57
  "userAlias"?: string;
@@ -50,6 +50,7 @@ export interface UserDomainReq {
50
50
  "roles"?: Array<models.UserRoleDomain>;
51
51
  "signUpCode"?: string;
52
52
  "signUpCodeUseCount"?: number;
53
+ "signedProfilePictureUrl"?: string;
53
54
  "socialProfiles"?: Array<models.UserSocialProfileModelReq>;
54
55
  "subscriptionPlans"?: Array<models.UserSubscriptionPlanModelReq>;
55
56
  "userAlias"?: string;
@@ -51,6 +51,7 @@ export interface UserDomainRes {
51
51
  "roles"?: Array<models.UserRoleDomain>;
52
52
  "signUpCode"?: string;
53
53
  "signUpCodeUseCount"?: number;
54
+ "signedProfilePictureUrl"?: string;
54
55
  "socialProfiles"?: Array<models.UserSocialProfileModelRes>;
55
56
  "subscriptionPlans"?: Array<models.UserSubscriptionPlanModelRes>;
56
57
  "userAlias"?: string;
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.20",
3
+ "version": "2.4.22",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"