@otr-app/shared-backend-generated-client 2.4.97 → 2.4.98
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/lawfirmController.service.ts +4 -12
- package/dist/angular/model/getLawfirmModel.ts +2 -0
- package/dist/angular/model/models.ts +1 -0
- package/dist/angular/model/supportedStateModel.ts +75 -0
- package/dist/otrBackendService.js +0 -5
- package/dist/otrBackendService.min.js +2 -2
- package/dist/typescript/api/LawfirmControllerApi.d.ts +1 -2
- package/dist/typescript/api/LawfirmControllerApi.js +1 -5
- package/dist/typescript/model/GetLawfirmModel.d.ts +1 -0
- package/dist/typescript/model/SupportedStateModel.d.ts +70 -0
- package/dist/typescript/model/SupportedStateModel.js +68 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +0 -1
- package/dist/typescript-fetch/apis/LawfirmControllerApi.js +0 -3
- package/dist/typescript-fetch/models/GetLawfirmModel.d.ts +7 -1
- package/dist/typescript-fetch/models/GetLawfirmModel.js +3 -1
- package/dist/typescript-fetch/models/SupportedStateModel.d.ts +90 -0
- package/dist/typescript-fetch/models/SupportedStateModel.js +96 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -110,9 +110,8 @@ export declare class LawfirmControllerApi {
|
|
|
110
110
|
*
|
|
111
111
|
* @summary getLawfirm
|
|
112
112
|
* @param lawfirmIdString lawfirmIdString
|
|
113
|
-
* @param isDetailsRequired isDetailsRequired
|
|
114
113
|
*/
|
|
115
|
-
getLawfirmUsingGET(lawfirmIdString: string,
|
|
114
|
+
getLawfirmUsingGET(lawfirmIdString: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetLawfirmResponse>;
|
|
116
115
|
/**
|
|
117
116
|
*
|
|
118
117
|
* @summary getLawfirms
|
|
@@ -391,9 +391,8 @@ export class LawfirmControllerApi {
|
|
|
391
391
|
*
|
|
392
392
|
* @summary getLawfirm
|
|
393
393
|
* @param lawfirmIdString lawfirmIdString
|
|
394
|
-
* @param isDetailsRequired isDetailsRequired
|
|
395
394
|
*/
|
|
396
|
-
getLawfirmUsingGET(lawfirmIdString,
|
|
395
|
+
getLawfirmUsingGET(lawfirmIdString, extraHttpRequestParams) {
|
|
397
396
|
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmIdString}'
|
|
398
397
|
.replace('{' + 'lawfirmIdString' + '}', encodeURIComponent(String(lawfirmIdString)));
|
|
399
398
|
let queryParameters = {};
|
|
@@ -402,9 +401,6 @@ export class LawfirmControllerApi {
|
|
|
402
401
|
if (lawfirmIdString === null || lawfirmIdString === undefined) {
|
|
403
402
|
throw new Error('Required parameter lawfirmIdString was null or undefined when calling getLawfirmUsingGET.');
|
|
404
403
|
}
|
|
405
|
-
if (isDetailsRequired !== undefined) {
|
|
406
|
-
queryParameters['isDetailsRequired'] = isDetailsRequired;
|
|
407
|
-
}
|
|
408
404
|
let httpRequestParams = {
|
|
409
405
|
method: 'GET',
|
|
410
406
|
url: localVarPath,
|
|
@@ -35,6 +35,7 @@ export interface GetLawfirmModel {
|
|
|
35
35
|
"redirects"?: Array<models.LawfirmRedirectModel>;
|
|
36
36
|
"seoUrl"?: string;
|
|
37
37
|
"settings"?: models.LawfirmSettingsDomainRes;
|
|
38
|
+
"supportedStateModels"?: Array<models.SupportedStateModel>;
|
|
38
39
|
"supportedStates"?: Array<GetLawfirmModel.SupportedStatesEnum>;
|
|
39
40
|
"tagLine"?: string;
|
|
40
41
|
"website"?: string;
|
|
@@ -0,0 +1,70 @@
|
|
|
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 SupportedStateModel {
|
|
13
|
+
"newAlgoEnabled"?: boolean;
|
|
14
|
+
"state"?: SupportedStateModel.StateEnum;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace SupportedStateModel {
|
|
17
|
+
enum StateEnum {
|
|
18
|
+
AK,
|
|
19
|
+
AL,
|
|
20
|
+
AR,
|
|
21
|
+
AZ,
|
|
22
|
+
CA,
|
|
23
|
+
CO,
|
|
24
|
+
CT,
|
|
25
|
+
DC,
|
|
26
|
+
DE,
|
|
27
|
+
FL,
|
|
28
|
+
GA,
|
|
29
|
+
HI,
|
|
30
|
+
IA,
|
|
31
|
+
ID,
|
|
32
|
+
IL,
|
|
33
|
+
IN,
|
|
34
|
+
KS,
|
|
35
|
+
KY,
|
|
36
|
+
LA,
|
|
37
|
+
MA,
|
|
38
|
+
MD,
|
|
39
|
+
ME,
|
|
40
|
+
MI,
|
|
41
|
+
MN,
|
|
42
|
+
MO,
|
|
43
|
+
MS,
|
|
44
|
+
MT,
|
|
45
|
+
NC,
|
|
46
|
+
ND,
|
|
47
|
+
NE,
|
|
48
|
+
NH,
|
|
49
|
+
NJ,
|
|
50
|
+
NM,
|
|
51
|
+
NV,
|
|
52
|
+
NY,
|
|
53
|
+
OH,
|
|
54
|
+
OK,
|
|
55
|
+
OR,
|
|
56
|
+
PA,
|
|
57
|
+
RI,
|
|
58
|
+
SC,
|
|
59
|
+
SD,
|
|
60
|
+
TN,
|
|
61
|
+
TX,
|
|
62
|
+
UT,
|
|
63
|
+
VA,
|
|
64
|
+
VT,
|
|
65
|
+
WA,
|
|
66
|
+
WI,
|
|
67
|
+
WV,
|
|
68
|
+
WY
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 var SupportedStateModel;
|
|
13
|
+
(function (SupportedStateModel) {
|
|
14
|
+
let StateEnum;
|
|
15
|
+
(function (StateEnum) {
|
|
16
|
+
StateEnum[StateEnum["AK"] = 'AK'] = "AK";
|
|
17
|
+
StateEnum[StateEnum["AL"] = 'AL'] = "AL";
|
|
18
|
+
StateEnum[StateEnum["AR"] = 'AR'] = "AR";
|
|
19
|
+
StateEnum[StateEnum["AZ"] = 'AZ'] = "AZ";
|
|
20
|
+
StateEnum[StateEnum["CA"] = 'CA'] = "CA";
|
|
21
|
+
StateEnum[StateEnum["CO"] = 'CO'] = "CO";
|
|
22
|
+
StateEnum[StateEnum["CT"] = 'CT'] = "CT";
|
|
23
|
+
StateEnum[StateEnum["DC"] = 'DC'] = "DC";
|
|
24
|
+
StateEnum[StateEnum["DE"] = 'DE'] = "DE";
|
|
25
|
+
StateEnum[StateEnum["FL"] = 'FL'] = "FL";
|
|
26
|
+
StateEnum[StateEnum["GA"] = 'GA'] = "GA";
|
|
27
|
+
StateEnum[StateEnum["HI"] = 'HI'] = "HI";
|
|
28
|
+
StateEnum[StateEnum["IA"] = 'IA'] = "IA";
|
|
29
|
+
StateEnum[StateEnum["ID"] = 'ID'] = "ID";
|
|
30
|
+
StateEnum[StateEnum["IL"] = 'IL'] = "IL";
|
|
31
|
+
StateEnum[StateEnum["IN"] = 'IN'] = "IN";
|
|
32
|
+
StateEnum[StateEnum["KS"] = 'KS'] = "KS";
|
|
33
|
+
StateEnum[StateEnum["KY"] = 'KY'] = "KY";
|
|
34
|
+
StateEnum[StateEnum["LA"] = 'LA'] = "LA";
|
|
35
|
+
StateEnum[StateEnum["MA"] = 'MA'] = "MA";
|
|
36
|
+
StateEnum[StateEnum["MD"] = 'MD'] = "MD";
|
|
37
|
+
StateEnum[StateEnum["ME"] = 'ME'] = "ME";
|
|
38
|
+
StateEnum[StateEnum["MI"] = 'MI'] = "MI";
|
|
39
|
+
StateEnum[StateEnum["MN"] = 'MN'] = "MN";
|
|
40
|
+
StateEnum[StateEnum["MO"] = 'MO'] = "MO";
|
|
41
|
+
StateEnum[StateEnum["MS"] = 'MS'] = "MS";
|
|
42
|
+
StateEnum[StateEnum["MT"] = 'MT'] = "MT";
|
|
43
|
+
StateEnum[StateEnum["NC"] = 'NC'] = "NC";
|
|
44
|
+
StateEnum[StateEnum["ND"] = 'ND'] = "ND";
|
|
45
|
+
StateEnum[StateEnum["NE"] = 'NE'] = "NE";
|
|
46
|
+
StateEnum[StateEnum["NH"] = 'NH'] = "NH";
|
|
47
|
+
StateEnum[StateEnum["NJ"] = 'NJ'] = "NJ";
|
|
48
|
+
StateEnum[StateEnum["NM"] = 'NM'] = "NM";
|
|
49
|
+
StateEnum[StateEnum["NV"] = 'NV'] = "NV";
|
|
50
|
+
StateEnum[StateEnum["NY"] = 'NY'] = "NY";
|
|
51
|
+
StateEnum[StateEnum["OH"] = 'OH'] = "OH";
|
|
52
|
+
StateEnum[StateEnum["OK"] = 'OK'] = "OK";
|
|
53
|
+
StateEnum[StateEnum["OR"] = 'OR'] = "OR";
|
|
54
|
+
StateEnum[StateEnum["PA"] = 'PA'] = "PA";
|
|
55
|
+
StateEnum[StateEnum["RI"] = 'RI'] = "RI";
|
|
56
|
+
StateEnum[StateEnum["SC"] = 'SC'] = "SC";
|
|
57
|
+
StateEnum[StateEnum["SD"] = 'SD'] = "SD";
|
|
58
|
+
StateEnum[StateEnum["TN"] = 'TN'] = "TN";
|
|
59
|
+
StateEnum[StateEnum["TX"] = 'TX'] = "TX";
|
|
60
|
+
StateEnum[StateEnum["UT"] = 'UT'] = "UT";
|
|
61
|
+
StateEnum[StateEnum["VA"] = 'VA'] = "VA";
|
|
62
|
+
StateEnum[StateEnum["VT"] = 'VT'] = "VT";
|
|
63
|
+
StateEnum[StateEnum["WA"] = 'WA'] = "WA";
|
|
64
|
+
StateEnum[StateEnum["WI"] = 'WI'] = "WI";
|
|
65
|
+
StateEnum[StateEnum["WV"] = 'WV'] = "WV";
|
|
66
|
+
StateEnum[StateEnum["WY"] = 'WY'] = "WY";
|
|
67
|
+
})(StateEnum = SupportedStateModel.StateEnum || (SupportedStateModel.StateEnum = {}));
|
|
68
|
+
})(SupportedStateModel || (SupportedStateModel = {}));
|
|
@@ -708,6 +708,7 @@ export * from './SubscriptionDiscountEligibility';
|
|
|
708
708
|
export * from './SubscriptionDiscountEligibilityReq';
|
|
709
709
|
export * from './SubscriptionDiscountEligibilityRes';
|
|
710
710
|
export * from './SubscriptionGuardianModel';
|
|
711
|
+
export * from './SupportedStateModel';
|
|
711
712
|
export * from './SyncStripeChargesRequest';
|
|
712
713
|
export * from './SyncStripeChargesResponse';
|
|
713
714
|
export * from './SyncStripeDisputeResponse';
|
|
@@ -708,6 +708,7 @@ export * from './SubscriptionDiscountEligibility';
|
|
|
708
708
|
export * from './SubscriptionDiscountEligibilityReq';
|
|
709
709
|
export * from './SubscriptionDiscountEligibilityRes';
|
|
710
710
|
export * from './SubscriptionGuardianModel';
|
|
711
|
+
export * from './SupportedStateModel';
|
|
711
712
|
export * from './SyncStripeChargesRequest';
|
|
712
713
|
export * from './SyncStripeChargesResponse';
|
|
713
714
|
export * from './SyncStripeDisputeResponse';
|
|
@@ -58,7 +58,6 @@ export interface GetLawfirmSupportTicketsUsingGETRequest {
|
|
|
58
58
|
}
|
|
59
59
|
export interface GetLawfirmUsingGETRequest {
|
|
60
60
|
lawfirmIdString: string;
|
|
61
|
-
isDetailsRequired?: boolean;
|
|
62
61
|
}
|
|
63
62
|
export interface GetLawfirmsUsingGETRequest {
|
|
64
63
|
acceptsAccidentTickets?: boolean;
|
|
@@ -434,9 +434,6 @@ export class LawfirmControllerApi extends runtime.BaseAPI {
|
|
|
434
434
|
throw new runtime.RequiredError('lawfirmIdString', 'Required parameter requestParameters.lawfirmIdString was null or undefined when calling getLawfirmUsingGET.');
|
|
435
435
|
}
|
|
436
436
|
const queryParameters = {};
|
|
437
|
-
if (requestParameters.isDetailsRequired !== undefined) {
|
|
438
|
-
queryParameters['isDetailsRequired'] = requestParameters.isDetailsRequired;
|
|
439
|
-
}
|
|
440
437
|
const headerParameters = {};
|
|
441
438
|
const response = yield this.request({
|
|
442
439
|
path: `/api/v1/lawfirms/{lawfirmIdString}`.replace(`{${"lawfirmIdString"}}`, encodeURIComponent(String(requestParameters.lawfirmIdString))),
|
|
@@ -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 } from './';
|
|
12
|
+
import { AddressDomain, LawfirmRedirectModel, LawfirmSettingsDomainRes, SupportedStateModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -160,6 +160,12 @@ export interface GetLawfirmModel {
|
|
|
160
160
|
* @memberof GetLawfirmModel
|
|
161
161
|
*/
|
|
162
162
|
settings?: LawfirmSettingsDomainRes;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {Array<SupportedStateModel>}
|
|
166
|
+
* @memberof GetLawfirmModel
|
|
167
|
+
*/
|
|
168
|
+
supportedStateModels?: Array<SupportedStateModel>;
|
|
163
169
|
/**
|
|
164
170
|
*
|
|
165
171
|
* @type {Array<string>}
|
|
@@ -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, } from './';
|
|
15
|
+
import { AddressDomainFromJSON, AddressDomainToJSON, LawfirmRedirectModelFromJSON, LawfirmRedirectModelToJSON, LawfirmSettingsDomainResFromJSON, LawfirmSettingsDomainResToJSON, SupportedStateModelFromJSON, SupportedStateModelToJSON, } from './';
|
|
16
16
|
export function GetLawfirmModelFromJSON(json) {
|
|
17
17
|
return GetLawfirmModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -45,6 +45,7 @@ export function GetLawfirmModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'redirects': !exists(json, 'redirects') ? undefined : (json['redirects'].map(LawfirmRedirectModelFromJSON)),
|
|
46
46
|
'seoUrl': !exists(json, 'seoUrl') ? undefined : json['seoUrl'],
|
|
47
47
|
'settings': !exists(json, 'settings') ? undefined : LawfirmSettingsDomainResFromJSON(json['settings']),
|
|
48
|
+
'supportedStateModels': !exists(json, 'supportedStateModels') ? undefined : (json['supportedStateModels'].map(SupportedStateModelFromJSON)),
|
|
48
49
|
'supportedStates': !exists(json, 'supportedStates') ? undefined : json['supportedStates'],
|
|
49
50
|
'tagLine': !exists(json, 'tagLine') ? undefined : json['tagLine'],
|
|
50
51
|
'website': !exists(json, 'website') ? undefined : json['website'],
|
|
@@ -82,6 +83,7 @@ export function GetLawfirmModelToJSON(value) {
|
|
|
82
83
|
'redirects': value.redirects === undefined ? undefined : (value.redirects.map(LawfirmRedirectModelToJSON)),
|
|
83
84
|
'seoUrl': value.seoUrl,
|
|
84
85
|
'settings': LawfirmSettingsDomainResToJSON(value.settings),
|
|
86
|
+
'supportedStateModels': value.supportedStateModels === undefined ? undefined : (value.supportedStateModels.map(SupportedStateModelToJSON)),
|
|
85
87
|
'supportedStates': value.supportedStates,
|
|
86
88
|
'tagLine': value.tagLine,
|
|
87
89
|
'website': value.website,
|
|
@@ -0,0 +1,90 @@
|
|
|
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 SupportedStateModel
|
|
16
|
+
*/
|
|
17
|
+
export interface SupportedStateModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SupportedStateModel
|
|
22
|
+
*/
|
|
23
|
+
newAlgoEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SupportedStateModel
|
|
28
|
+
*/
|
|
29
|
+
state?: SupportedStateModelStateEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare function SupportedStateModelFromJSON(json: any): SupportedStateModel;
|
|
32
|
+
export declare function SupportedStateModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportedStateModel;
|
|
33
|
+
export declare function SupportedStateModelToJSON(value?: SupportedStateModel | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum SupportedStateModelStateEnum {
|
|
39
|
+
AK = "AK",
|
|
40
|
+
AL = "AL",
|
|
41
|
+
AR = "AR",
|
|
42
|
+
AZ = "AZ",
|
|
43
|
+
CA = "CA",
|
|
44
|
+
CO = "CO",
|
|
45
|
+
CT = "CT",
|
|
46
|
+
DC = "DC",
|
|
47
|
+
DE = "DE",
|
|
48
|
+
FL = "FL",
|
|
49
|
+
GA = "GA",
|
|
50
|
+
HI = "HI",
|
|
51
|
+
IA = "IA",
|
|
52
|
+
ID = "ID",
|
|
53
|
+
IL = "IL",
|
|
54
|
+
IN = "IN",
|
|
55
|
+
KS = "KS",
|
|
56
|
+
KY = "KY",
|
|
57
|
+
LA = "LA",
|
|
58
|
+
MA = "MA",
|
|
59
|
+
MD = "MD",
|
|
60
|
+
ME = "ME",
|
|
61
|
+
MI = "MI",
|
|
62
|
+
MN = "MN",
|
|
63
|
+
MO = "MO",
|
|
64
|
+
MS = "MS",
|
|
65
|
+
MT = "MT",
|
|
66
|
+
NC = "NC",
|
|
67
|
+
ND = "ND",
|
|
68
|
+
NE = "NE",
|
|
69
|
+
NH = "NH",
|
|
70
|
+
NJ = "NJ",
|
|
71
|
+
NM = "NM",
|
|
72
|
+
NV = "NV",
|
|
73
|
+
NY = "NY",
|
|
74
|
+
OH = "OH",
|
|
75
|
+
OK = "OK",
|
|
76
|
+
OR = "OR",
|
|
77
|
+
PA = "PA",
|
|
78
|
+
RI = "RI",
|
|
79
|
+
SC = "SC",
|
|
80
|
+
SD = "SD",
|
|
81
|
+
TN = "TN",
|
|
82
|
+
TX = "TX",
|
|
83
|
+
UT = "UT",
|
|
84
|
+
VA = "VA",
|
|
85
|
+
VT = "VT",
|
|
86
|
+
WA = "WA",
|
|
87
|
+
WI = "WI",
|
|
88
|
+
WV = "WV",
|
|
89
|
+
WY = "WY"
|
|
90
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 SupportedStateModelFromJSON(json) {
|
|
16
|
+
return SupportedStateModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function SupportedStateModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'newAlgoEnabled': !exists(json, 'newAlgoEnabled') ? undefined : json['newAlgoEnabled'],
|
|
24
|
+
'state': !exists(json, 'state') ? undefined : json['state'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function SupportedStateModelToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'newAlgoEnabled': value.newAlgoEnabled,
|
|
36
|
+
'state': value.state,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var SupportedStateModelStateEnum;
|
|
44
|
+
(function (SupportedStateModelStateEnum) {
|
|
45
|
+
SupportedStateModelStateEnum["AK"] = "AK";
|
|
46
|
+
SupportedStateModelStateEnum["AL"] = "AL";
|
|
47
|
+
SupportedStateModelStateEnum["AR"] = "AR";
|
|
48
|
+
SupportedStateModelStateEnum["AZ"] = "AZ";
|
|
49
|
+
SupportedStateModelStateEnum["CA"] = "CA";
|
|
50
|
+
SupportedStateModelStateEnum["CO"] = "CO";
|
|
51
|
+
SupportedStateModelStateEnum["CT"] = "CT";
|
|
52
|
+
SupportedStateModelStateEnum["DC"] = "DC";
|
|
53
|
+
SupportedStateModelStateEnum["DE"] = "DE";
|
|
54
|
+
SupportedStateModelStateEnum["FL"] = "FL";
|
|
55
|
+
SupportedStateModelStateEnum["GA"] = "GA";
|
|
56
|
+
SupportedStateModelStateEnum["HI"] = "HI";
|
|
57
|
+
SupportedStateModelStateEnum["IA"] = "IA";
|
|
58
|
+
SupportedStateModelStateEnum["ID"] = "ID";
|
|
59
|
+
SupportedStateModelStateEnum["IL"] = "IL";
|
|
60
|
+
SupportedStateModelStateEnum["IN"] = "IN";
|
|
61
|
+
SupportedStateModelStateEnum["KS"] = "KS";
|
|
62
|
+
SupportedStateModelStateEnum["KY"] = "KY";
|
|
63
|
+
SupportedStateModelStateEnum["LA"] = "LA";
|
|
64
|
+
SupportedStateModelStateEnum["MA"] = "MA";
|
|
65
|
+
SupportedStateModelStateEnum["MD"] = "MD";
|
|
66
|
+
SupportedStateModelStateEnum["ME"] = "ME";
|
|
67
|
+
SupportedStateModelStateEnum["MI"] = "MI";
|
|
68
|
+
SupportedStateModelStateEnum["MN"] = "MN";
|
|
69
|
+
SupportedStateModelStateEnum["MO"] = "MO";
|
|
70
|
+
SupportedStateModelStateEnum["MS"] = "MS";
|
|
71
|
+
SupportedStateModelStateEnum["MT"] = "MT";
|
|
72
|
+
SupportedStateModelStateEnum["NC"] = "NC";
|
|
73
|
+
SupportedStateModelStateEnum["ND"] = "ND";
|
|
74
|
+
SupportedStateModelStateEnum["NE"] = "NE";
|
|
75
|
+
SupportedStateModelStateEnum["NH"] = "NH";
|
|
76
|
+
SupportedStateModelStateEnum["NJ"] = "NJ";
|
|
77
|
+
SupportedStateModelStateEnum["NM"] = "NM";
|
|
78
|
+
SupportedStateModelStateEnum["NV"] = "NV";
|
|
79
|
+
SupportedStateModelStateEnum["NY"] = "NY";
|
|
80
|
+
SupportedStateModelStateEnum["OH"] = "OH";
|
|
81
|
+
SupportedStateModelStateEnum["OK"] = "OK";
|
|
82
|
+
SupportedStateModelStateEnum["OR"] = "OR";
|
|
83
|
+
SupportedStateModelStateEnum["PA"] = "PA";
|
|
84
|
+
SupportedStateModelStateEnum["RI"] = "RI";
|
|
85
|
+
SupportedStateModelStateEnum["SC"] = "SC";
|
|
86
|
+
SupportedStateModelStateEnum["SD"] = "SD";
|
|
87
|
+
SupportedStateModelStateEnum["TN"] = "TN";
|
|
88
|
+
SupportedStateModelStateEnum["TX"] = "TX";
|
|
89
|
+
SupportedStateModelStateEnum["UT"] = "UT";
|
|
90
|
+
SupportedStateModelStateEnum["VA"] = "VA";
|
|
91
|
+
SupportedStateModelStateEnum["VT"] = "VT";
|
|
92
|
+
SupportedStateModelStateEnum["WA"] = "WA";
|
|
93
|
+
SupportedStateModelStateEnum["WI"] = "WI";
|
|
94
|
+
SupportedStateModelStateEnum["WV"] = "WV";
|
|
95
|
+
SupportedStateModelStateEnum["WY"] = "WY";
|
|
96
|
+
})(SupportedStateModelStateEnum || (SupportedStateModelStateEnum = {}));
|
|
@@ -708,6 +708,7 @@ export * from './SubscriptionDiscountEligibility';
|
|
|
708
708
|
export * from './SubscriptionDiscountEligibilityReq';
|
|
709
709
|
export * from './SubscriptionDiscountEligibilityRes';
|
|
710
710
|
export * from './SubscriptionGuardianModel';
|
|
711
|
+
export * from './SupportedStateModel';
|
|
711
712
|
export * from './SyncStripeChargesRequest';
|
|
712
713
|
export * from './SyncStripeChargesResponse';
|
|
713
714
|
export * from './SyncStripeDisputeResponse';
|
|
@@ -708,6 +708,7 @@ export * from './SubscriptionDiscountEligibility';
|
|
|
708
708
|
export * from './SubscriptionDiscountEligibilityReq';
|
|
709
709
|
export * from './SubscriptionDiscountEligibilityRes';
|
|
710
710
|
export * from './SubscriptionGuardianModel';
|
|
711
|
+
export * from './SupportedStateModel';
|
|
711
712
|
export * from './SyncStripeChargesRequest';
|
|
712
713
|
export * from './SyncStripeChargesResponse';
|
|
713
714
|
export * from './SyncStripeDisputeResponse';
|