@otr-app/shared-backend-generated-client 2.5.173 → 2.5.175

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.
Files changed (42) hide show
  1. package/dist/angular/model/lawfirmInboxMessageDomain.ts +1 -0
  2. package/dist/typescript/model/LawfirmInboxMessageDomain.d.ts +1 -0
  3. package/dist/typescript-fetch/apis/BlogWebhookControllerApi.d.ts +29 -0
  4. package/dist/typescript-fetch/apis/BlogWebhookControllerApi.js +58 -0
  5. package/dist/typescript-fetch/apis/CertificateControllerApi.d.ts +37 -0
  6. package/dist/typescript-fetch/apis/CertificateControllerApi.js +69 -0
  7. package/dist/typescript-fetch/apis/EmailSubscriptionControllerApi.d.ts +29 -0
  8. package/dist/typescript-fetch/apis/EmailSubscriptionControllerApi.js +59 -0
  9. package/dist/typescript-fetch/models/BlogDocument.d.ts +40 -0
  10. package/dist/typescript-fetch/models/BlogDocument.js +41 -0
  11. package/dist/typescript-fetch/models/BlogEvent.d.ts +46 -0
  12. package/dist/typescript-fetch/models/BlogEvent.js +43 -0
  13. package/dist/typescript-fetch/models/BlogMetadata.d.ts +39 -0
  14. package/dist/typescript-fetch/models/BlogMetadata.js +40 -0
  15. package/dist/typescript-fetch/models/GetClientCasesResponse.d.ts +52 -0
  16. package/dist/typescript-fetch/models/GetClientCasesResponse.js +45 -0
  17. package/dist/typescript-fetch/models/GetUserCasesResponse.d.ts +46 -0
  18. package/dist/typescript-fetch/models/GetUserCasesResponse.js +43 -0
  19. package/dist/typescript-fetch/models/LawfirmInboxMessageDomain.d.ts +6 -0
  20. package/dist/typescript-fetch/models/LawfirmInboxMessageDomain.js +2 -0
  21. package/dist/typescript-fetch/models/PenaltyModel.d.ts +78 -0
  22. package/dist/typescript-fetch/models/PenaltyModel.js +68 -0
  23. package/dist/typescript-fetch/models/SNSNotificationRequest.d.ts +45 -0
  24. package/dist/typescript-fetch/models/SNSNotificationRequest.js +42 -0
  25. package/dist/typescript-fetch/models/SSLCertificateResponse.d.ts +27 -0
  26. package/dist/typescript-fetch/models/SSLCertificateResponse.js +36 -0
  27. package/dist/typescript-fetch/models/SubscribeRequest.d.ts +28 -0
  28. package/dist/typescript-fetch/models/SubscribeRequest.js +37 -0
  29. package/dist/typescript-fetch/models/SubscriberDomain.d.ts +58 -0
  30. package/dist/typescript-fetch/models/SubscriberDomain.js +52 -0
  31. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.d.ts +48 -0
  32. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.js +50 -0
  33. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.d.ts +48 -0
  34. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.js +50 -0
  35. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.d.ts +48 -0
  36. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.js +50 -0
  37. package/dist/typescript-fetch/models/ViolationModel0.d.ts +120 -0
  38. package/dist/typescript-fetch/models/ViolationModel0.js +110 -0
  39. package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.d.ts +60 -0
  40. package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.js +62 -0
  41. package/dist/typescript-open-api/otr-backend.d.ts +2 -0
  42. package/package.json +1 -1
@@ -0,0 +1,46 @@
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 { CaseModel, CitationModel } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetUserCasesResponse
17
+ */
18
+ export interface GetUserCasesResponse {
19
+ /**
20
+ *
21
+ * @type {Array<CaseModel>}
22
+ * @memberof GetUserCasesResponse
23
+ */
24
+ cases?: Array<CaseModel>;
25
+ /**
26
+ *
27
+ * @type {Array<CitationModel>}
28
+ * @memberof GetUserCasesResponse
29
+ */
30
+ citations?: Array<CitationModel>;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof GetUserCasesResponse
35
+ */
36
+ numBookings?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GetUserCasesResponse
41
+ */
42
+ numCitationUploads?: number;
43
+ }
44
+ export declare function GetUserCasesResponseFromJSON(json: any): GetUserCasesResponse;
45
+ export declare function GetUserCasesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserCasesResponse;
46
+ export declare function GetUserCasesResponseToJSON(value?: GetUserCasesResponse | null): any;
@@ -0,0 +1,43 @@
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 { CaseModelFromJSON, CaseModelToJSON, CitationModelFromJSON, CitationModelToJSON, } from './';
16
+ export function GetUserCasesResponseFromJSON(json) {
17
+ return GetUserCasesResponseFromJSONTyped(json, false);
18
+ }
19
+ export function GetUserCasesResponseFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'cases': !exists(json, 'cases') ? undefined : (json['cases'].map(CaseModelFromJSON)),
25
+ 'citations': !exists(json, 'citations') ? undefined : (json['citations'].map(CitationModelFromJSON)),
26
+ 'numBookings': !exists(json, 'numBookings') ? undefined : json['numBookings'],
27
+ 'numCitationUploads': !exists(json, 'numCitationUploads') ? undefined : json['numCitationUploads'],
28
+ };
29
+ }
30
+ export function GetUserCasesResponseToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'cases': value.cases === undefined ? undefined : (value.cases.map(CaseModelToJSON)),
39
+ 'citations': value.citations === undefined ? undefined : (value.citations.map(CitationModelToJSON)),
40
+ 'numBookings': value.numBookings,
41
+ 'numCitationUploads': value.numCitationUploads,
42
+ };
43
+ }
@@ -130,6 +130,12 @@ export interface LawfirmInboxMessageDomain {
130
130
  * @memberof LawfirmInboxMessageDomain
131
131
  */
132
132
  hasUnreadMessages?: boolean;
133
+ /**
134
+ *
135
+ * @type {Date}
136
+ * @memberof LawfirmInboxMessageDomain
137
+ */
138
+ lastActivityDateUtc?: Date;
133
139
  /**
134
140
  *
135
141
  * @type {string}
@@ -40,6 +40,7 @@ export function LawfirmInboxMessageDomainFromJSONTyped(json, ignoreDiscriminator
40
40
  'hasFlagMessage': !exists(json, 'hasFlagMessage') ? undefined : json['hasFlagMessage'],
41
41
  'hasStarMessage': !exists(json, 'hasStarMessage') ? undefined : json['hasStarMessage'],
42
42
  'hasUnreadMessages': !exists(json, 'hasUnreadMessages') ? undefined : json['hasUnreadMessages'],
43
+ 'lastActivityDateUtc': !exists(json, 'lastActivityDateUtc') ? undefined : (new Date(json['lastActivityDateUtc'])),
43
44
  'lawfirmCaseDecisionStatus': !exists(json, 'lawfirmCaseDecisionStatus') ? undefined : json['lawfirmCaseDecisionStatus'],
44
45
  'lawfirmReceiptDateUtc': !exists(json, 'lawfirmReceiptDateUtc') ? undefined : (new Date(json['lawfirmReceiptDateUtc'])),
45
46
  'messageBody': !exists(json, 'messageBody') ? undefined : json['messageBody'],
@@ -75,6 +76,7 @@ export function LawfirmInboxMessageDomainToJSON(value) {
75
76
  'hasFlagMessage': value.hasFlagMessage,
76
77
  'hasStarMessage': value.hasStarMessage,
77
78
  'hasUnreadMessages': value.hasUnreadMessages,
79
+ 'lastActivityDateUtc': value.lastActivityDateUtc === undefined ? undefined : (value.lastActivityDateUtc.toISOString()),
78
80
  'lawfirmCaseDecisionStatus': value.lawfirmCaseDecisionStatus,
79
81
  'lawfirmReceiptDateUtc': value.lawfirmReceiptDateUtc === undefined ? undefined : (value.lawfirmReceiptDateUtc.toISOString()),
80
82
  'messageBody': value.messageBody,
@@ -0,0 +1,78 @@
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 PenaltyModel
16
+ */
17
+ export interface PenaltyModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PenaltyModel
22
+ */
23
+ additionalTip?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PenaltyModel
28
+ */
29
+ penaltyDataType?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PenaltyModel
34
+ */
35
+ penaltyFriendlyDescription?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PenaltyModel
40
+ */
41
+ penaltyType?: PenaltyModelPenaltyTypeEnum;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PenaltyModel
46
+ */
47
+ penaltyTypeId?: number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PenaltyModel
52
+ */
53
+ penaltyValue?: string;
54
+ }
55
+ export declare function PenaltyModelFromJSON(json: any): PenaltyModel;
56
+ export declare function PenaltyModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PenaltyModel;
57
+ export declare function PenaltyModelToJSON(value?: PenaltyModel | null): any;
58
+ /**
59
+ * @export
60
+ * @enum {string}
61
+ */
62
+ export declare enum PenaltyModelPenaltyTypeEnum {
63
+ DEMERITPOINTS = "DEMERIT_POINTS",
64
+ INCARCERATIONMAXDAYS = "INCARCERATION_MAX_DAYS",
65
+ INCARCERATIONMINDAYS = "INCARCERATION_MIN_DAYS",
66
+ INSURANCEPOINTS = "INSURANCE_POINTS",
67
+ INSURANCERATEINCREASE = "INSURANCE_RATE_INCREASE",
68
+ LICENSEREVOCATIONMAXDAYS = "LICENSE_REVOCATION_MAX_DAYS",
69
+ LICENSEREVOCATIONMINDAYS = "LICENSE_REVOCATION_MIN_DAYS",
70
+ LICENSESUSPENSIONMAXDAYS = "LICENSE_SUSPENSION_MAX_DAYS",
71
+ LICENSESUSPENSIONMINDAYS = "LICENSE_SUSPENSION_MIN_DAYS",
72
+ MANDATORYCOURTAPPEARANCE = "MANDATORY_COURT_APPEARANCE",
73
+ MANDATORYCOURTAPPEARANCEWITHATTORNEY = "MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY",
74
+ MAXBAILAMOUNT = "MAX_BAIL_AMOUNT",
75
+ MINBAILAMOUNT = "MIN_BAIL_AMOUNT",
76
+ PROBATIONINDAYS = "PROBATION_IN_DAYS",
77
+ TOTALBAILAMOUNT = "TOTAL_BAIL_AMOUNT"
78
+ }
@@ -0,0 +1,68 @@
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 PenaltyModelFromJSON(json) {
16
+ return PenaltyModelFromJSONTyped(json, false);
17
+ }
18
+ export function PenaltyModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'additionalTip': !exists(json, 'additionalTip') ? undefined : json['additionalTip'],
24
+ 'penaltyDataType': !exists(json, 'penaltyDataType') ? undefined : json['penaltyDataType'],
25
+ 'penaltyFriendlyDescription': !exists(json, 'penaltyFriendlyDescription') ? undefined : json['penaltyFriendlyDescription'],
26
+ 'penaltyType': !exists(json, 'penaltyType') ? undefined : json['penaltyType'],
27
+ 'penaltyTypeId': !exists(json, 'penaltyTypeId') ? undefined : json['penaltyTypeId'],
28
+ 'penaltyValue': !exists(json, 'penaltyValue') ? undefined : json['penaltyValue'],
29
+ };
30
+ }
31
+ export function PenaltyModelToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'additionalTip': value.additionalTip,
40
+ 'penaltyDataType': value.penaltyDataType,
41
+ 'penaltyFriendlyDescription': value.penaltyFriendlyDescription,
42
+ 'penaltyType': value.penaltyType,
43
+ 'penaltyTypeId': value.penaltyTypeId,
44
+ 'penaltyValue': value.penaltyValue,
45
+ };
46
+ }
47
+ /**
48
+ * @export
49
+ * @enum {string}
50
+ */
51
+ export var PenaltyModelPenaltyTypeEnum;
52
+ (function (PenaltyModelPenaltyTypeEnum) {
53
+ PenaltyModelPenaltyTypeEnum["DEMERITPOINTS"] = "DEMERIT_POINTS";
54
+ PenaltyModelPenaltyTypeEnum["INCARCERATIONMAXDAYS"] = "INCARCERATION_MAX_DAYS";
55
+ PenaltyModelPenaltyTypeEnum["INCARCERATIONMINDAYS"] = "INCARCERATION_MIN_DAYS";
56
+ PenaltyModelPenaltyTypeEnum["INSURANCEPOINTS"] = "INSURANCE_POINTS";
57
+ PenaltyModelPenaltyTypeEnum["INSURANCERATEINCREASE"] = "INSURANCE_RATE_INCREASE";
58
+ PenaltyModelPenaltyTypeEnum["LICENSEREVOCATIONMAXDAYS"] = "LICENSE_REVOCATION_MAX_DAYS";
59
+ PenaltyModelPenaltyTypeEnum["LICENSEREVOCATIONMINDAYS"] = "LICENSE_REVOCATION_MIN_DAYS";
60
+ PenaltyModelPenaltyTypeEnum["LICENSESUSPENSIONMAXDAYS"] = "LICENSE_SUSPENSION_MAX_DAYS";
61
+ PenaltyModelPenaltyTypeEnum["LICENSESUSPENSIONMINDAYS"] = "LICENSE_SUSPENSION_MIN_DAYS";
62
+ PenaltyModelPenaltyTypeEnum["MANDATORYCOURTAPPEARANCE"] = "MANDATORY_COURT_APPEARANCE";
63
+ PenaltyModelPenaltyTypeEnum["MANDATORYCOURTAPPEARANCEWITHATTORNEY"] = "MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY";
64
+ PenaltyModelPenaltyTypeEnum["MAXBAILAMOUNT"] = "MAX_BAIL_AMOUNT";
65
+ PenaltyModelPenaltyTypeEnum["MINBAILAMOUNT"] = "MIN_BAIL_AMOUNT";
66
+ PenaltyModelPenaltyTypeEnum["PROBATIONINDAYS"] = "PROBATION_IN_DAYS";
67
+ PenaltyModelPenaltyTypeEnum["TOTALBAILAMOUNT"] = "TOTAL_BAIL_AMOUNT";
68
+ })(PenaltyModelPenaltyTypeEnum || (PenaltyModelPenaltyTypeEnum = {}));
@@ -0,0 +1,45 @@
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 SNSNotificationRequest
16
+ */
17
+ export interface SNSNotificationRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SNSNotificationRequest
22
+ */
23
+ message?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SNSNotificationRequest
28
+ */
29
+ subscribeURL?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SNSNotificationRequest
34
+ */
35
+ type?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SNSNotificationRequest
40
+ */
41
+ unsubscribeURL?: string;
42
+ }
43
+ export declare function SNSNotificationRequestFromJSON(json: any): SNSNotificationRequest;
44
+ export declare function SNSNotificationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SNSNotificationRequest;
45
+ export declare function SNSNotificationRequestToJSON(value?: SNSNotificationRequest | null): any;
@@ -0,0 +1,42 @@
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 SNSNotificationRequestFromJSON(json) {
16
+ return SNSNotificationRequestFromJSONTyped(json, false);
17
+ }
18
+ export function SNSNotificationRequestFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'message': !exists(json, 'Message') ? undefined : json['Message'],
24
+ 'subscribeURL': !exists(json, 'SubscribeURL') ? undefined : json['SubscribeURL'],
25
+ 'type': !exists(json, 'Type') ? undefined : json['Type'],
26
+ 'unsubscribeURL': !exists(json, 'UnsubscribeURL') ? undefined : json['UnsubscribeURL'],
27
+ };
28
+ }
29
+ export function SNSNotificationRequestToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'Message': value.message,
38
+ 'SubscribeURL': value.subscribeURL,
39
+ 'Type': value.type,
40
+ 'UnsubscribeURL': value.unsubscribeURL,
41
+ };
42
+ }
@@ -0,0 +1,27 @@
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 SSLCertificateResponse
16
+ */
17
+ export interface SSLCertificateResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SSLCertificateResponse
22
+ */
23
+ rawPublicCert?: string;
24
+ }
25
+ export declare function SSLCertificateResponseFromJSON(json: any): SSLCertificateResponse;
26
+ export declare function SSLCertificateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SSLCertificateResponse;
27
+ export declare function SSLCertificateResponseToJSON(value?: SSLCertificateResponse | null): any;
@@ -0,0 +1,36 @@
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 SSLCertificateResponseFromJSON(json) {
16
+ return SSLCertificateResponseFromJSONTyped(json, false);
17
+ }
18
+ export function SSLCertificateResponseFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'rawPublicCert': !exists(json, 'rawPublicCert') ? undefined : json['rawPublicCert'],
24
+ };
25
+ }
26
+ export function SSLCertificateResponseToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'rawPublicCert': value.rawPublicCert,
35
+ };
36
+ }
@@ -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 { SubscriberDomain } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubscribeRequest
17
+ */
18
+ export interface SubscribeRequest {
19
+ /**
20
+ *
21
+ * @type {SubscriberDomain}
22
+ * @memberof SubscribeRequest
23
+ */
24
+ subscriber?: SubscriberDomain;
25
+ }
26
+ export declare function SubscribeRequestFromJSON(json: any): SubscribeRequest;
27
+ export declare function SubscribeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscribeRequest;
28
+ export declare function SubscribeRequestToJSON(value?: SubscribeRequest | 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 { SubscriberDomainFromJSON, SubscriberDomainToJSON, } from './';
16
+ export function SubscribeRequestFromJSON(json) {
17
+ return SubscribeRequestFromJSONTyped(json, false);
18
+ }
19
+ export function SubscribeRequestFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'subscriber': !exists(json, 'subscriber') ? undefined : SubscriberDomainFromJSON(json['subscriber']),
25
+ };
26
+ }
27
+ export function SubscribeRequestToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'subscriber': SubscriberDomainToJSON(value.subscriber),
36
+ };
37
+ }
@@ -0,0 +1,58 @@
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 SubscriberDomain
16
+ */
17
+ export interface SubscriberDomain {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SubscriberDomain
22
+ */
23
+ email?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SubscriberDomain
28
+ */
29
+ fullName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SubscriberDomain
34
+ */
35
+ postalCode?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SubscriberDomain
40
+ */
41
+ roleType?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SubscriberDomain
46
+ */
47
+ subscriptionType?: SubscriberDomainSubscriptionTypeEnum;
48
+ }
49
+ export declare function SubscriberDomainFromJSON(json: any): SubscriberDomain;
50
+ export declare function SubscriberDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriberDomain;
51
+ export declare function SubscriberDomainToJSON(value?: SubscriberDomain | null): any;
52
+ /**
53
+ * @export
54
+ * @enum {string}
55
+ */
56
+ export declare enum SubscriberDomainSubscriptionTypeEnum {
57
+ WEBBROCHURELAUNCHNOTIFICATION = "WEB_BROCHURE_LAUNCH_NOTIFICATION"
58
+ }
@@ -0,0 +1,52 @@
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 SubscriberDomainFromJSON(json) {
16
+ return SubscriberDomainFromJSONTyped(json, false);
17
+ }
18
+ export function SubscriberDomainFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'email': !exists(json, 'email') ? undefined : json['email'],
24
+ 'fullName': !exists(json, 'fullName') ? undefined : json['fullName'],
25
+ 'postalCode': !exists(json, 'postalCode') ? undefined : json['postalCode'],
26
+ 'roleType': !exists(json, 'roleType') ? undefined : json['roleType'],
27
+ 'subscriptionType': !exists(json, 'subscriptionType') ? undefined : json['subscriptionType'],
28
+ };
29
+ }
30
+ export function SubscriberDomainToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'email': value.email,
39
+ 'fullName': value.fullName,
40
+ 'postalCode': value.postalCode,
41
+ 'roleType': value.roleType,
42
+ 'subscriptionType': value.subscriptionType,
43
+ };
44
+ }
45
+ /**
46
+ * @export
47
+ * @enum {string}
48
+ */
49
+ export var SubscriberDomainSubscriptionTypeEnum;
50
+ (function (SubscriberDomainSubscriptionTypeEnum) {
51
+ SubscriberDomainSubscriptionTypeEnum["WEBBROCHURELAUNCHNOTIFICATION"] = "WEB_BROCHURE_LAUNCH_NOTIFICATION";
52
+ })(SubscriberDomainSubscriptionTypeEnum || (SubscriberDomainSubscriptionTypeEnum = {}));
@@ -0,0 +1,48 @@
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 SubscriptionDiscountEligibility
16
+ */
17
+ export interface SubscriptionDiscountEligibility {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SubscriptionDiscountEligibility
22
+ */
23
+ productName?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SubscriptionDiscountEligibility
28
+ */
29
+ subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SubscriptionDiscountEligibility
34
+ */
35
+ uiSubscriptionEligibilityMsg?: string;
36
+ }
37
+ export declare function SubscriptionDiscountEligibilityFromJSON(json: any): SubscriptionDiscountEligibility;
38
+ export declare function SubscriptionDiscountEligibilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDiscountEligibility;
39
+ export declare function SubscriptionDiscountEligibilityToJSON(value?: SubscriptionDiscountEligibility | null): any;
40
+ /**
41
+ * @export
42
+ * @enum {string}
43
+ */
44
+ export declare enum SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum {
45
+ ISELIGIBLE = "IS_ELIGIBLE",
46
+ ISNOTELIGIBLE = "IS_NOT_ELIGIBLE",
47
+ NOTAPPLICABLE = "NOT_APPLICABLE"
48
+ }