@otr-app/shared-backend-generated-client 2.5.59 → 2.5.61
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 +3 -0
- package/dist/angular/api/lawfirmController.service.ts +56 -0
- package/dist/angular/model/accountManagerModel.ts +19 -0
- package/dist/angular/model/createBillingSubscriptionRequest.ts +11 -0
- package/dist/angular/model/getAccountManagerModel.ts +19 -0
- package/dist/angular/model/getAccountManagersResponse.ts +18 -0
- package/dist/angular/model/getLawfirmModel.ts +2 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/otrBackendService.js +26 -0
- package/dist/otrBackendService.min.js +4 -4
- package/dist/typescript/api/LawfirmControllerApi.d.ts +5 -0
- package/dist/typescript/api/LawfirmControllerApi.js +19 -0
- package/dist/typescript/model/AccountManagerModel.d.ts +16 -0
- package/dist/typescript/model/AccountManagerModel.js +12 -0
- package/dist/typescript/model/CreateBillingSubscriptionRequest.d.ts +9 -0
- package/dist/typescript/model/CreateBillingSubscriptionRequest.js +9 -1
- package/dist/typescript/model/GetAccountManagerModel.d.ts +16 -0
- package/dist/typescript/model/GetAccountManagerModel.js +12 -0
- package/dist/typescript/model/GetAccountManagersResponse.d.ts +15 -0
- package/dist/typescript/model/GetAccountManagersResponse.js +12 -0
- package/dist/typescript/model/GetLawfirmModel.d.ts +1 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +9 -1
- package/dist/typescript-fetch/apis/LawfirmControllerApi.js +26 -1
- package/dist/typescript-fetch/models/AccountManagerModel.d.ts +39 -0
- package/dist/typescript-fetch/models/AccountManagerModel.js +40 -0
- package/dist/typescript-fetch/models/CreateBillingSubscriptionRequest.d.ts +21 -0
- package/dist/typescript-fetch/models/CreateBillingSubscriptionRequest.js +14 -0
- package/dist/typescript-fetch/models/GetAccountManagerModel.d.ts +39 -0
- package/dist/typescript-fetch/models/GetAccountManagerModel.js +40 -0
- package/dist/typescript-fetch/models/GetAccountManagersResponse.d.ts +28 -0
- package/dist/typescript-fetch/models/GetAccountManagersResponse.js +37 -0
- package/dist/typescript-fetch/models/GetLawfirmModel.d.ts +7 -1
- package/dist/typescript-fetch/models/GetLawfirmModel.js +3 -1
- package/dist/typescript-fetch/models/index.d.ts +3 -0
- package/dist/typescript-fetch/models/index.js +3 -0
- package/dist/typescript-open-api/otr-backend.d.ts +85 -0
- package/dist/typescript-open-api/otr-backend.js +6 -0
- package/package.json +1 -1
|
@@ -43,6 +43,11 @@ export declare class LawfirmControllerApi {
|
|
|
43
43
|
* @param lawfirmId lawfirmId
|
|
44
44
|
*/
|
|
45
45
|
deleteLawfirmCoverPhotoUsingDELETE(lawfirmId: string, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @summary getAccountManagers
|
|
49
|
+
*/
|
|
50
|
+
getAccountManagersUsingGET(extraHttpRequestParams?: any): ng.IHttpPromise<models.GetAccountManagersResponse>;
|
|
46
51
|
/**
|
|
47
52
|
*
|
|
48
53
|
* @summary getInboxMessages
|
|
@@ -132,6 +132,25 @@ export class LawfirmControllerApi {
|
|
|
132
132
|
}
|
|
133
133
|
return this.$http(httpRequestParams);
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary getAccountManagers
|
|
138
|
+
*/
|
|
139
|
+
getAccountManagersUsingGET(extraHttpRequestParams) {
|
|
140
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/account-managers';
|
|
141
|
+
let queryParameters = {};
|
|
142
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
143
|
+
let httpRequestParams = {
|
|
144
|
+
method: 'GET',
|
|
145
|
+
url: localVarPath,
|
|
146
|
+
params: queryParameters,
|
|
147
|
+
headers: headerParams
|
|
148
|
+
};
|
|
149
|
+
if (extraHttpRequestParams) {
|
|
150
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
151
|
+
}
|
|
152
|
+
return this.$http(httpRequestParams);
|
|
153
|
+
}
|
|
135
154
|
/**
|
|
136
155
|
*
|
|
137
156
|
* @summary getInboxMessages
|
|
@@ -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 AccountManagerModel {
|
|
13
|
+
"firstName"?: string;
|
|
14
|
+
"lastName"?: string;
|
|
15
|
+
"userId"?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 {};
|
|
@@ -13,8 +13,17 @@ import * as models from './models';
|
|
|
13
13
|
export interface CreateBillingSubscriptionRequest {
|
|
14
14
|
"accountIdempotencyKey"?: string;
|
|
15
15
|
"cardId"?: string;
|
|
16
|
+
"caseId"?: string;
|
|
16
17
|
"guardian"?: models.SubscriptionGuardianModel;
|
|
18
|
+
"initialSubscriptionFlow"?: CreateBillingSubscriptionRequest.InitialSubscriptionFlowEnum;
|
|
17
19
|
"priceIds"?: Array<string>;
|
|
18
20
|
"productId"?: string;
|
|
19
21
|
"trialEndDate"?: string;
|
|
20
22
|
}
|
|
23
|
+
export declare namespace CreateBillingSubscriptionRequest {
|
|
24
|
+
enum InitialSubscriptionFlowEnum {
|
|
25
|
+
BOOKINGUPSELL,
|
|
26
|
+
FASTLANETEENFLOW,
|
|
27
|
+
HOMEPAGEBANNER
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -9,4 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export var CreateBillingSubscriptionRequest;
|
|
13
|
+
(function (CreateBillingSubscriptionRequest) {
|
|
14
|
+
let InitialSubscriptionFlowEnum;
|
|
15
|
+
(function (InitialSubscriptionFlowEnum) {
|
|
16
|
+
InitialSubscriptionFlowEnum[InitialSubscriptionFlowEnum["BOOKINGUPSELL"] = 'BOOKING_UPSELL'] = "BOOKINGUPSELL";
|
|
17
|
+
InitialSubscriptionFlowEnum[InitialSubscriptionFlowEnum["FASTLANETEENFLOW"] = 'FASTLANE_TEEN_FLOW'] = "FASTLANETEENFLOW";
|
|
18
|
+
InitialSubscriptionFlowEnum[InitialSubscriptionFlowEnum["HOMEPAGEBANNER"] = 'HOME_PAGE_BANNER'] = "HOMEPAGEBANNER";
|
|
19
|
+
})(InitialSubscriptionFlowEnum = CreateBillingSubscriptionRequest.InitialSubscriptionFlowEnum || (CreateBillingSubscriptionRequest.InitialSubscriptionFlowEnum = {}));
|
|
20
|
+
})(CreateBillingSubscriptionRequest || (CreateBillingSubscriptionRequest = {}));
|
|
@@ -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 GetAccountManagerModel {
|
|
13
|
+
"firstName"?: string;
|
|
14
|
+
"lastName"?: string;
|
|
15
|
+
"userId"?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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 * as models from './models';
|
|
13
|
+
export interface GetAccountManagersResponse {
|
|
14
|
+
"accountManagers"?: Array<models.GetAccountManagerModel>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 {};
|
|
@@ -3,6 +3,7 @@ export * from './AccountLevelFee';
|
|
|
3
3
|
export * from './AccountLevelFeeRequest';
|
|
4
4
|
export * from './AccountLevelFeeResponse';
|
|
5
5
|
export * from './AccountLevelFeeToSave';
|
|
6
|
+
export * from './AccountManagerModel';
|
|
6
7
|
export * from './Action';
|
|
7
8
|
export * from './ActionByEntityModel';
|
|
8
9
|
export * from './ActivityFeedModel';
|
|
@@ -266,6 +267,8 @@ export * from './GenerateCounterOfferCasePaymentsResponse';
|
|
|
266
267
|
export * from './GenerateTemplateRequest';
|
|
267
268
|
export * from './GenericAdminListRequest';
|
|
268
269
|
export * from './GeoRatesRequest';
|
|
270
|
+
export * from './GetAccountManagerModel';
|
|
271
|
+
export * from './GetAccountManagersResponse';
|
|
269
272
|
export * from './GetActivityFeedResponse';
|
|
270
273
|
export * from './GetAddressInnerResponse';
|
|
271
274
|
export * from './GetAnonymousTicketUploads';
|
|
@@ -3,6 +3,7 @@ export * from './AccountLevelFee';
|
|
|
3
3
|
export * from './AccountLevelFeeRequest';
|
|
4
4
|
export * from './AccountLevelFeeResponse';
|
|
5
5
|
export * from './AccountLevelFeeToSave';
|
|
6
|
+
export * from './AccountManagerModel';
|
|
6
7
|
export * from './Action';
|
|
7
8
|
export * from './ActionByEntityModel';
|
|
8
9
|
export * from './ActivityFeedModel';
|
|
@@ -266,6 +267,8 @@ export * from './GenerateCounterOfferCasePaymentsResponse';
|
|
|
266
267
|
export * from './GenerateTemplateRequest';
|
|
267
268
|
export * from './GenericAdminListRequest';
|
|
268
269
|
export * from './GeoRatesRequest';
|
|
270
|
+
export * from './GetAccountManagerModel';
|
|
271
|
+
export * from './GetAccountManagersResponse';
|
|
269
272
|
export * from './GetActivityFeedResponse';
|
|
270
273
|
export * from './GetAddressInnerResponse';
|
|
271
274
|
export * from './GetAnonymousTicketUploads';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CreateNewLawfirmRequest, GetLawfirmAddressesResponse, GetLawfirmCaseStatsResponse, GetLawfirmInboxMessagesResponse, GetLawfirmJobTitleResponse, GetLawfirmLawyersResponse, GetLawfirmResponse, GetLawfirmSupportedStatesResponse, GetLawfirmsResponse, GetStripeConnectedAccountsResponse, IntercomSearchTicketsResponse, LawfirmPictureRequest, LawfirmSupportedStateRequest, LawfirmVacationRequest, SaveLawfirmAccountManagerRequest, UpdateLawfirmPaymentModelRequest, UpdateLawfirmRequest, UpdateLawyerRoleRequest, UploadLawfirmsRequest, UploadLawfirmsResponse, UpsertAddressRequest } from '../models';
|
|
13
|
+
import { CreateNewLawfirmRequest, GetAccountManagersResponse, GetLawfirmAddressesResponse, GetLawfirmCaseStatsResponse, GetLawfirmInboxMessagesResponse, GetLawfirmJobTitleResponse, GetLawfirmLawyersResponse, GetLawfirmResponse, GetLawfirmSupportedStatesResponse, GetLawfirmsResponse, GetStripeConnectedAccountsResponse, IntercomSearchTicketsResponse, LawfirmPictureRequest, LawfirmSupportedStateRequest, LawfirmVacationRequest, SaveLawfirmAccountManagerRequest, UpdateLawfirmPaymentModelRequest, UpdateLawfirmRequest, UpdateLawyerRoleRequest, UploadLawfirmsRequest, UploadLawfirmsResponse, UpsertAddressRequest } from '../models';
|
|
14
14
|
export interface AddLawfirmAddressUsingPOSTRequest {
|
|
15
15
|
lawfirmId: number;
|
|
16
16
|
request: UpsertAddressRequest;
|
|
@@ -151,6 +151,14 @@ export declare class LawfirmControllerApi extends runtime.BaseAPI {
|
|
|
151
151
|
* deleteLawfirmCoverPhoto
|
|
152
152
|
*/
|
|
153
153
|
deleteLawfirmCoverPhotoUsingDELETE(requestParameters: DeleteLawfirmCoverPhotoUsingDELETERequest): Promise<object>;
|
|
154
|
+
/**
|
|
155
|
+
* getAccountManagers
|
|
156
|
+
*/
|
|
157
|
+
getAccountManagersUsingGETRaw(): Promise<runtime.ApiResponse<GetAccountManagersResponse>>;
|
|
158
|
+
/**
|
|
159
|
+
* getAccountManagers
|
|
160
|
+
*/
|
|
161
|
+
getAccountManagersUsingGET(): Promise<GetAccountManagersResponse>;
|
|
154
162
|
/**
|
|
155
163
|
* getInboxMessages
|
|
156
164
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CreateNewLawfirmRequestToJSON, GetLawfirmAddressesResponseFromJSON, GetLawfirmCaseStatsResponseFromJSON, GetLawfirmInboxMessagesResponseFromJSON, GetLawfirmJobTitleResponseFromJSON, GetLawfirmLawyersResponseFromJSON, GetLawfirmResponseFromJSON, GetLawfirmSupportedStatesResponseFromJSON, GetLawfirmsResponseFromJSON, GetStripeConnectedAccountsResponseFromJSON, IntercomSearchTicketsResponseFromJSON, LawfirmPictureRequestToJSON, LawfirmSupportedStateRequestToJSON, LawfirmVacationRequestToJSON, SaveLawfirmAccountManagerRequestToJSON, UpdateLawfirmPaymentModelRequestToJSON, UpdateLawfirmRequestToJSON, UpdateLawyerRoleRequestToJSON, UploadLawfirmsRequestToJSON, UploadLawfirmsResponseFromJSON, UpsertAddressRequestToJSON, } from '../models';
|
|
24
|
+
import { CreateNewLawfirmRequestToJSON, GetAccountManagersResponseFromJSON, GetLawfirmAddressesResponseFromJSON, GetLawfirmCaseStatsResponseFromJSON, GetLawfirmInboxMessagesResponseFromJSON, GetLawfirmJobTitleResponseFromJSON, GetLawfirmLawyersResponseFromJSON, GetLawfirmResponseFromJSON, GetLawfirmSupportedStatesResponseFromJSON, GetLawfirmsResponseFromJSON, GetStripeConnectedAccountsResponseFromJSON, IntercomSearchTicketsResponseFromJSON, LawfirmPictureRequestToJSON, LawfirmSupportedStateRequestToJSON, LawfirmVacationRequestToJSON, SaveLawfirmAccountManagerRequestToJSON, UpdateLawfirmPaymentModelRequestToJSON, UpdateLawfirmRequestToJSON, UpdateLawyerRoleRequestToJSON, UploadLawfirmsRequestToJSON, UploadLawfirmsResponseFromJSON, UpsertAddressRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -146,6 +146,31 @@ export class LawfirmControllerApi extends runtime.BaseAPI {
|
|
|
146
146
|
return yield response.value();
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* getAccountManagers
|
|
151
|
+
*/
|
|
152
|
+
getAccountManagersUsingGETRaw() {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const queryParameters = {};
|
|
155
|
+
const headerParameters = {};
|
|
156
|
+
const response = yield this.request({
|
|
157
|
+
path: `/api/v1/lawfirms/account-managers`,
|
|
158
|
+
method: 'GET',
|
|
159
|
+
headers: headerParameters,
|
|
160
|
+
query: queryParameters,
|
|
161
|
+
});
|
|
162
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetAccountManagersResponseFromJSON(jsonValue));
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* getAccountManagers
|
|
167
|
+
*/
|
|
168
|
+
getAccountManagersUsingGET() {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const response = yield this.getAccountManagersUsingGETRaw();
|
|
171
|
+
return yield response.value();
|
|
172
|
+
});
|
|
173
|
+
}
|
|
149
174
|
/**
|
|
150
175
|
* getInboxMessages
|
|
151
176
|
*/
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
15
|
+
* @interface AccountManagerModel
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountManagerModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountManagerModel
|
|
22
|
+
*/
|
|
23
|
+
firstName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccountManagerModel
|
|
28
|
+
*/
|
|
29
|
+
lastName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AccountManagerModel
|
|
34
|
+
*/
|
|
35
|
+
userId?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function AccountManagerModelFromJSON(json: any): AccountManagerModel;
|
|
38
|
+
export declare function AccountManagerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountManagerModel;
|
|
39
|
+
export declare function AccountManagerModelToJSON(value?: AccountManagerModel | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function AccountManagerModelFromJSON(json) {
|
|
16
|
+
return AccountManagerModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function AccountManagerModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
24
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
25
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function AccountManagerModelToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'firstName': value.firstName,
|
|
37
|
+
'lastName': value.lastName,
|
|
38
|
+
'userId': value.userId,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -28,12 +28,24 @@ export interface CreateBillingSubscriptionRequest {
|
|
|
28
28
|
* @memberof CreateBillingSubscriptionRequest
|
|
29
29
|
*/
|
|
30
30
|
cardId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateBillingSubscriptionRequest
|
|
35
|
+
*/
|
|
36
|
+
caseId?: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {SubscriptionGuardianModel}
|
|
34
40
|
* @memberof CreateBillingSubscriptionRequest
|
|
35
41
|
*/
|
|
36
42
|
guardian?: SubscriptionGuardianModel;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateBillingSubscriptionRequest
|
|
47
|
+
*/
|
|
48
|
+
initialSubscriptionFlow?: CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum;
|
|
37
49
|
/**
|
|
38
50
|
*
|
|
39
51
|
* @type {Array<string>}
|
|
@@ -56,3 +68,12 @@ export interface CreateBillingSubscriptionRequest {
|
|
|
56
68
|
export declare function CreateBillingSubscriptionRequestFromJSON(json: any): CreateBillingSubscriptionRequest;
|
|
57
69
|
export declare function CreateBillingSubscriptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBillingSubscriptionRequest;
|
|
58
70
|
export declare function CreateBillingSubscriptionRequestToJSON(value?: CreateBillingSubscriptionRequest | null): any;
|
|
71
|
+
/**
|
|
72
|
+
* @export
|
|
73
|
+
* @enum {string}
|
|
74
|
+
*/
|
|
75
|
+
export declare enum CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum {
|
|
76
|
+
BOOKINGUPSELL = "BOOKING_UPSELL",
|
|
77
|
+
FASTLANETEENFLOW = "FASTLANE_TEEN_FLOW",
|
|
78
|
+
HOMEPAGEBANNER = "HOME_PAGE_BANNER"
|
|
79
|
+
}
|
|
@@ -23,7 +23,9 @@ export function CreateBillingSubscriptionRequestFromJSONTyped(json, ignoreDiscri
|
|
|
23
23
|
return {
|
|
24
24
|
'accountIdempotencyKey': !exists(json, 'accountIdempotencyKey') ? undefined : json['accountIdempotencyKey'],
|
|
25
25
|
'cardId': !exists(json, 'cardId') ? undefined : json['cardId'],
|
|
26
|
+
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
26
27
|
'guardian': !exists(json, 'guardian') ? undefined : SubscriptionGuardianModelFromJSON(json['guardian']),
|
|
28
|
+
'initialSubscriptionFlow': !exists(json, 'initialSubscriptionFlow') ? undefined : json['initialSubscriptionFlow'],
|
|
27
29
|
'priceIds': !exists(json, 'priceIds') ? undefined : json['priceIds'],
|
|
28
30
|
'productId': !exists(json, 'productId') ? undefined : json['productId'],
|
|
29
31
|
'trialEndDate': !exists(json, 'trialEndDate') ? undefined : (new Date(json['trialEndDate'])),
|
|
@@ -39,9 +41,21 @@ export function CreateBillingSubscriptionRequestToJSON(value) {
|
|
|
39
41
|
return {
|
|
40
42
|
'accountIdempotencyKey': value.accountIdempotencyKey,
|
|
41
43
|
'cardId': value.cardId,
|
|
44
|
+
'caseId': value.caseId,
|
|
42
45
|
'guardian': SubscriptionGuardianModelToJSON(value.guardian),
|
|
46
|
+
'initialSubscriptionFlow': value.initialSubscriptionFlow,
|
|
43
47
|
'priceIds': value.priceIds,
|
|
44
48
|
'productId': value.productId,
|
|
45
49
|
'trialEndDate': value.trialEndDate === undefined ? undefined : (value.trialEndDate.toISOString().substr(0, 10)),
|
|
46
50
|
};
|
|
47
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @export
|
|
54
|
+
* @enum {string}
|
|
55
|
+
*/
|
|
56
|
+
export var CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum;
|
|
57
|
+
(function (CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum) {
|
|
58
|
+
CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum["BOOKINGUPSELL"] = "BOOKING_UPSELL";
|
|
59
|
+
CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum["FASTLANETEENFLOW"] = "FASTLANE_TEEN_FLOW";
|
|
60
|
+
CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum["HOMEPAGEBANNER"] = "HOME_PAGE_BANNER";
|
|
61
|
+
})(CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum || (CreateBillingSubscriptionRequestInitialSubscriptionFlowEnum = {}));
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
|
15
|
+
* @interface GetAccountManagerModel
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAccountManagerModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAccountManagerModel
|
|
22
|
+
*/
|
|
23
|
+
firstName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetAccountManagerModel
|
|
28
|
+
*/
|
|
29
|
+
lastName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetAccountManagerModel
|
|
34
|
+
*/
|
|
35
|
+
userId?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function GetAccountManagerModelFromJSON(json: any): GetAccountManagerModel;
|
|
38
|
+
export declare function GetAccountManagerModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAccountManagerModel;
|
|
39
|
+
export declare function GetAccountManagerModelToJSON(value?: GetAccountManagerModel | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function GetAccountManagerModelFromJSON(json) {
|
|
16
|
+
return GetAccountManagerModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function GetAccountManagerModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
24
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
25
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function GetAccountManagerModelToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'firstName': value.firstName,
|
|
37
|
+
'lastName': value.lastName,
|
|
38
|
+
'userId': value.userId,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { GetAccountManagerModel } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetAccountManagersResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetAccountManagersResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GetAccountManagerModel>}
|
|
22
|
+
* @memberof GetAccountManagersResponse
|
|
23
|
+
*/
|
|
24
|
+
accountManagers?: Array<GetAccountManagerModel>;
|
|
25
|
+
}
|
|
26
|
+
export declare function GetAccountManagersResponseFromJSON(json: any): GetAccountManagersResponse;
|
|
27
|
+
export declare function GetAccountManagersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAccountManagersResponse;
|
|
28
|
+
export declare function GetAccountManagersResponseToJSON(value?: GetAccountManagersResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { GetAccountManagerModelFromJSON, GetAccountManagerModelToJSON, } from './';
|
|
16
|
+
export function GetAccountManagersResponseFromJSON(json) {
|
|
17
|
+
return GetAccountManagersResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function GetAccountManagersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'accountManagers': !exists(json, 'accountManagers') ? undefined : (json['accountManagers'].map(GetAccountManagerModelFromJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function GetAccountManagersResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'accountManagers': value.accountManagers === undefined ? undefined : (value.accountManagers.map(GetAccountManagerModelToJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AddressDomain, LawfirmRedirectModel, LawfirmSettingsDomainRes, LawfirmStatusModel, SupportedStateModel } from './';
|
|
12
|
+
import { AccountManagerModel, AddressDomain, LawfirmRedirectModel, LawfirmSettingsDomainRes, LawfirmStatusModel, SupportedStateModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -22,6 +22,12 @@ export interface GetLawfirmModel {
|
|
|
22
22
|
* @memberof GetLawfirmModel
|
|
23
23
|
*/
|
|
24
24
|
aboutUsBlurb?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AccountManagerModel}
|
|
28
|
+
* @memberof GetLawfirmModel
|
|
29
|
+
*/
|
|
30
|
+
accountManager?: AccountManagerModel;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {AddressDomain}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { AddressDomainFromJSON, AddressDomainToJSON, LawfirmRedirectModelFromJSON, LawfirmRedirectModelToJSON, LawfirmSettingsDomainResFromJSON, LawfirmSettingsDomainResToJSON, LawfirmStatusModelFromJSON, LawfirmStatusModelToJSON, SupportedStateModelFromJSON, SupportedStateModelToJSON, } from './';
|
|
15
|
+
import { AccountManagerModelFromJSON, AccountManagerModelToJSON, AddressDomainFromJSON, AddressDomainToJSON, LawfirmRedirectModelFromJSON, LawfirmRedirectModelToJSON, LawfirmSettingsDomainResFromJSON, LawfirmSettingsDomainResToJSON, LawfirmStatusModelFromJSON, LawfirmStatusModelToJSON, SupportedStateModelFromJSON, SupportedStateModelToJSON, } from './';
|
|
16
16
|
export function GetLawfirmModelFromJSON(json) {
|
|
17
17
|
return GetLawfirmModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -22,6 +22,7 @@ export function GetLawfirmModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
24
|
'aboutUsBlurb': !exists(json, 'aboutUsBlurb') ? undefined : json['aboutUsBlurb'],
|
|
25
|
+
'accountManager': !exists(json, 'accountManager') ? undefined : AccountManagerModelFromJSON(json['accountManager']),
|
|
25
26
|
'address': !exists(json, 'address') ? undefined : AddressDomainFromJSON(json['address']),
|
|
26
27
|
'caseAssignmentPriority': !exists(json, 'caseAssignmentPriority') ? undefined : json['caseAssignmentPriority'],
|
|
27
28
|
'coverPhotoUrl': !exists(json, 'coverPhotoUrl') ? undefined : json['coverPhotoUrl'],
|
|
@@ -61,6 +62,7 @@ export function GetLawfirmModelToJSON(value) {
|
|
|
61
62
|
}
|
|
62
63
|
return {
|
|
63
64
|
'aboutUsBlurb': value.aboutUsBlurb,
|
|
65
|
+
'accountManager': AccountManagerModelToJSON(value.accountManager),
|
|
64
66
|
'address': AddressDomainToJSON(value.address),
|
|
65
67
|
'caseAssignmentPriority': value.caseAssignmentPriority,
|
|
66
68
|
'coverPhotoUrl': value.coverPhotoUrl,
|
|
@@ -3,6 +3,7 @@ export * from './AccountLevelFee';
|
|
|
3
3
|
export * from './AccountLevelFeeRequest';
|
|
4
4
|
export * from './AccountLevelFeeResponse';
|
|
5
5
|
export * from './AccountLevelFeeToSave';
|
|
6
|
+
export * from './AccountManagerModel';
|
|
6
7
|
export * from './Action';
|
|
7
8
|
export * from './ActionByEntityModel';
|
|
8
9
|
export * from './ActivityFeedModel';
|
|
@@ -266,6 +267,8 @@ export * from './GenerateCounterOfferCasePaymentsResponse';
|
|
|
266
267
|
export * from './GenerateTemplateRequest';
|
|
267
268
|
export * from './GenericAdminListRequest';
|
|
268
269
|
export * from './GeoRatesRequest';
|
|
270
|
+
export * from './GetAccountManagerModel';
|
|
271
|
+
export * from './GetAccountManagersResponse';
|
|
269
272
|
export * from './GetActivityFeedResponse';
|
|
270
273
|
export * from './GetAddressInnerResponse';
|
|
271
274
|
export * from './GetAnonymousTicketUploads';
|
|
@@ -3,6 +3,7 @@ export * from './AccountLevelFee';
|
|
|
3
3
|
export * from './AccountLevelFeeRequest';
|
|
4
4
|
export * from './AccountLevelFeeResponse';
|
|
5
5
|
export * from './AccountLevelFeeToSave';
|
|
6
|
+
export * from './AccountManagerModel';
|
|
6
7
|
export * from './Action';
|
|
7
8
|
export * from './ActionByEntityModel';
|
|
8
9
|
export * from './ActivityFeedModel';
|
|
@@ -266,6 +267,8 @@ export * from './GenerateCounterOfferCasePaymentsResponse';
|
|
|
266
267
|
export * from './GenerateTemplateRequest';
|
|
267
268
|
export * from './GenericAdminListRequest';
|
|
268
269
|
export * from './GeoRatesRequest';
|
|
270
|
+
export * from './GetAccountManagerModel';
|
|
271
|
+
export * from './GetAccountManagersResponse';
|
|
269
272
|
export * from './GetActivityFeedResponse';
|
|
270
273
|
export * from './GetAddressInnerResponse';
|
|
271
274
|
export * from './GetAnonymousTicketUploads';
|