@otr-app/shared-backend-generated-client 2.4.21 → 2.4.24
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 +4 -0
- package/dist/angular/api/userProfileController.service.ts +8 -5
- package/dist/angular/model/getLawfirmModel.ts +1 -0
- package/dist/angular/model/intercomConversationResponse.ts +2 -1
- package/dist/angular/model/intercomNext.ts +18 -0
- package/dist/angular/model/intercomPages.ts +22 -0
- package/dist/angular/model/intercomSearchConversationsResponse.ts +2 -0
- package/dist/angular/model/models.ts +4 -0
- package/dist/angular/model/serviceLevelAgreement.ts +19 -0
- package/dist/angular/model/updateProfilePictureResponse.ts +17 -0
- package/dist/angular/model/userAccountModel.ts +1 -0
- package/dist/typescript/api/UserProfileControllerApi.d.ts +1 -1
- package/dist/typescript/model/GetLawfirmModel.d.ts +1 -0
- package/dist/typescript/model/IntercomConversationResponse.d.ts +1 -1
- package/dist/typescript/model/ServiceLevelAgreement.d.ts +16 -0
- package/dist/typescript/model/ServiceLevelAgreement.js +13 -0
- package/dist/typescript/model/UpdateProfilePictureResponse.d.ts +14 -0
- package/dist/typescript/model/UpdateProfilePictureResponse.js +13 -0
- package/dist/typescript/model/models.d.ts +2 -0
- package/dist/typescript/model/models.js +2 -0
- package/package.json +1 -1
|
@@ -526,6 +526,8 @@ model/insertCaseLineItemResponse.ts
|
|
|
526
526
|
model/insertInvoiceLineItemRequest.ts
|
|
527
527
|
model/intercomConversationResponse.ts
|
|
528
528
|
model/intercomCreateTicketResponse.ts
|
|
529
|
+
model/intercomNext.ts
|
|
530
|
+
model/intercomPages.ts
|
|
529
531
|
model/intercomSearchConversationsResponse.ts
|
|
530
532
|
model/intercomSearchTicketsResponse.ts
|
|
531
533
|
model/intercomTicketAttributes.ts
|
|
@@ -745,6 +747,7 @@ model/sendEmailToUsersRequest.ts
|
|
|
745
747
|
model/sendOneTimePasswordRequest.ts
|
|
746
748
|
model/sendPayoutToLawfirmRequest.ts
|
|
747
749
|
model/sendPayoutToLawfirmResponse.ts
|
|
750
|
+
model/serviceLevelAgreement.ts
|
|
748
751
|
model/setArchiveCaseModel.ts
|
|
749
752
|
model/setArchiveOnCasesRequest.ts
|
|
750
753
|
model/setCourtDateForCaseRequest.ts
|
|
@@ -860,6 +863,7 @@ model/updateNoteResponse.ts
|
|
|
860
863
|
model/updatePaymentDueDateRequest.ts
|
|
861
864
|
model/updatePhoneNumber.ts
|
|
862
865
|
model/updateProfilePictureRequest.ts
|
|
866
|
+
model/updateProfilePictureResponse.ts
|
|
863
867
|
model/updateRefundEligibilityForCaseRequest.ts
|
|
864
868
|
model/updateReplyForCustomerReview.ts
|
|
865
869
|
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,
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { LinkedObjects } from './linkedObjects';
|
|
13
13
|
import { Topics } from './topics';
|
|
14
14
|
import { Teammates } from './teammates';
|
|
15
|
+
import { ServiceLevelAgreement } from './serviceLevelAgreement';
|
|
15
16
|
import { ContactList } from './contactList';
|
|
16
17
|
import { Statistics } from './statistics';
|
|
17
18
|
import { Source } from './source';
|
|
@@ -33,7 +34,7 @@ export interface IntercomConversationResponse {
|
|
|
33
34
|
open?: boolean;
|
|
34
35
|
priority?: string;
|
|
35
36
|
read?: boolean;
|
|
36
|
-
sla_applied?:
|
|
37
|
+
sla_applied?: ServiceLevelAgreement;
|
|
37
38
|
snoozed_until?: number;
|
|
38
39
|
source?: Source;
|
|
39
40
|
state?: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 IntercomNext {
|
|
15
|
+
page?: number;
|
|
16
|
+
starting_after?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { IntercomNext } from './intercomNext';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface IntercomPages {
|
|
16
|
+
next?: IntercomNext;
|
|
17
|
+
page?: number;
|
|
18
|
+
per_page?: number;
|
|
19
|
+
total_pages?: number;
|
|
20
|
+
type?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -10,10 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { IntercomConversationResponse } from './intercomConversationResponse';
|
|
13
|
+
import { IntercomPages } from './intercomPages';
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
export interface IntercomSearchConversationsResponse {
|
|
16
17
|
conversations?: Array<IntercomConversationResponse>;
|
|
18
|
+
pages?: IntercomPages;
|
|
17
19
|
total_count?: number;
|
|
18
20
|
}
|
|
19
21
|
|
|
@@ -403,6 +403,8 @@ export * from './insertCaseLineItemResponse';
|
|
|
403
403
|
export * from './insertInvoiceLineItemRequest';
|
|
404
404
|
export * from './intercomConversationResponse';
|
|
405
405
|
export * from './intercomCreateTicketResponse';
|
|
406
|
+
export * from './intercomNext';
|
|
407
|
+
export * from './intercomPages';
|
|
406
408
|
export * from './intercomSearchConversationsResponse';
|
|
407
409
|
export * from './intercomSearchTicketsResponse';
|
|
408
410
|
export * from './intercomTicketAttributes';
|
|
@@ -621,6 +623,7 @@ export * from './sendEmailToUsersRequest';
|
|
|
621
623
|
export * from './sendOneTimePasswordRequest';
|
|
622
624
|
export * from './sendPayoutToLawfirmRequest';
|
|
623
625
|
export * from './sendPayoutToLawfirmResponse';
|
|
626
|
+
export * from './serviceLevelAgreement';
|
|
624
627
|
export * from './setArchiveCaseModel';
|
|
625
628
|
export * from './setArchiveOnCasesRequest';
|
|
626
629
|
export * from './setCourtDateForCaseRequest';
|
|
@@ -736,6 +739,7 @@ export * from './updateNoteResponse';
|
|
|
736
739
|
export * from './updatePaymentDueDateRequest';
|
|
737
740
|
export * from './updatePhoneNumber';
|
|
738
741
|
export * from './updateProfilePictureRequest';
|
|
742
|
+
export * from './updateProfilePictureResponse';
|
|
739
743
|
export * from './updateRefundEligibilityForCaseRequest';
|
|
740
744
|
export * from './updateReplyForCustomerReview';
|
|
741
745
|
export * from './updateUserDetailsResponse';
|
|
@@ -0,0 +1,19 @@
|
|
|
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 ServiceLevelAgreement {
|
|
15
|
+
sla_name?: string;
|
|
16
|
+
sla_status?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -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
|
+
|
|
@@ -18,6 +18,7 @@ export interface UserAccountModel {
|
|
|
18
18
|
merged?: boolean;
|
|
19
19
|
primary?: boolean;
|
|
20
20
|
userHandle?: string;
|
|
21
|
+
verificationDateUtc?: string;
|
|
21
22
|
}
|
|
22
23
|
export namespace UserAccountModel {
|
|
23
24
|
export type LoginProviderEnum = 'APPLE' | 'EMAIL' | 'FACEBOOK' | 'GOOGLE' | 'PHONE' | 'TWITTER' | 'UNKNOWN';
|
|
@@ -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
|
|
@@ -24,7 +24,7 @@ export interface IntercomConversationResponse {
|
|
|
24
24
|
"open"?: boolean;
|
|
25
25
|
"priority"?: string;
|
|
26
26
|
"read"?: boolean;
|
|
27
|
-
"sla_applied"?:
|
|
27
|
+
"sla_applied"?: models.ServiceLevelAgreement;
|
|
28
28
|
"snoozed_until"?: number;
|
|
29
29
|
"source"?: models.Source;
|
|
30
30
|
"state"?: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 ServiceLevelAgreement {
|
|
13
|
+
"sla_name"?: string;
|
|
14
|
+
"sla_status"?: string;
|
|
15
|
+
"type"?: string;
|
|
16
|
+
}
|
|
@@ -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 });
|
|
@@ -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 });
|
|
@@ -621,6 +621,7 @@ export * from './SendEmailToUsersRequest';
|
|
|
621
621
|
export * from './SendOneTimePasswordRequest';
|
|
622
622
|
export * from './SendPayoutToLawfirmRequest';
|
|
623
623
|
export * from './SendPayoutToLawfirmResponse';
|
|
624
|
+
export * from './ServiceLevelAgreement';
|
|
624
625
|
export * from './SetArchiveCaseModel';
|
|
625
626
|
export * from './SetArchiveOnCasesRequest';
|
|
626
627
|
export * from './SetCourtDateForCaseRequest';
|
|
@@ -736,6 +737,7 @@ export * from './UpdateNoteResponse';
|
|
|
736
737
|
export * from './UpdatePaymentDueDateRequest';
|
|
737
738
|
export * from './UpdatePhoneNumber';
|
|
738
739
|
export * from './UpdateProfilePictureRequest';
|
|
740
|
+
export * from './UpdateProfilePictureResponse';
|
|
739
741
|
export * from './UpdateRefundEligibilityForCaseRequest';
|
|
740
742
|
export * from './UpdateReplyForCustomerReview';
|
|
741
743
|
export * from './UpdateUserDetailsResponse';
|
|
@@ -633,6 +633,7 @@ __exportStar(require("./SendEmailToUsersRequest"), exports);
|
|
|
633
633
|
__exportStar(require("./SendOneTimePasswordRequest"), exports);
|
|
634
634
|
__exportStar(require("./SendPayoutToLawfirmRequest"), exports);
|
|
635
635
|
__exportStar(require("./SendPayoutToLawfirmResponse"), exports);
|
|
636
|
+
__exportStar(require("./ServiceLevelAgreement"), exports);
|
|
636
637
|
__exportStar(require("./SetArchiveCaseModel"), exports);
|
|
637
638
|
__exportStar(require("./SetArchiveOnCasesRequest"), exports);
|
|
638
639
|
__exportStar(require("./SetCourtDateForCaseRequest"), exports);
|
|
@@ -748,6 +749,7 @@ __exportStar(require("./UpdateNoteResponse"), exports);
|
|
|
748
749
|
__exportStar(require("./UpdatePaymentDueDateRequest"), exports);
|
|
749
750
|
__exportStar(require("./UpdatePhoneNumber"), exports);
|
|
750
751
|
__exportStar(require("./UpdateProfilePictureRequest"), exports);
|
|
752
|
+
__exportStar(require("./UpdateProfilePictureResponse"), exports);
|
|
751
753
|
__exportStar(require("./UpdateRefundEligibilityForCaseRequest"), exports);
|
|
752
754
|
__exportStar(require("./UpdateReplyForCustomerReview"), exports);
|
|
753
755
|
__exportStar(require("./UpdateUserDetailsResponse"), exports);
|