@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.
- package/dist/angular/model/lawfirmInboxMessageDomain.ts +1 -0
- package/dist/typescript/model/LawfirmInboxMessageDomain.d.ts +1 -0
- package/dist/typescript-fetch/apis/BlogWebhookControllerApi.d.ts +29 -0
- package/dist/typescript-fetch/apis/BlogWebhookControllerApi.js +58 -0
- package/dist/typescript-fetch/apis/CertificateControllerApi.d.ts +37 -0
- package/dist/typescript-fetch/apis/CertificateControllerApi.js +69 -0
- package/dist/typescript-fetch/apis/EmailSubscriptionControllerApi.d.ts +29 -0
- package/dist/typescript-fetch/apis/EmailSubscriptionControllerApi.js +59 -0
- package/dist/typescript-fetch/models/BlogDocument.d.ts +40 -0
- package/dist/typescript-fetch/models/BlogDocument.js +41 -0
- package/dist/typescript-fetch/models/BlogEvent.d.ts +46 -0
- package/dist/typescript-fetch/models/BlogEvent.js +43 -0
- package/dist/typescript-fetch/models/BlogMetadata.d.ts +39 -0
- package/dist/typescript-fetch/models/BlogMetadata.js +40 -0
- package/dist/typescript-fetch/models/GetClientCasesResponse.d.ts +52 -0
- package/dist/typescript-fetch/models/GetClientCasesResponse.js +45 -0
- package/dist/typescript-fetch/models/GetUserCasesResponse.d.ts +46 -0
- package/dist/typescript-fetch/models/GetUserCasesResponse.js +43 -0
- package/dist/typescript-fetch/models/LawfirmInboxMessageDomain.d.ts +6 -0
- package/dist/typescript-fetch/models/LawfirmInboxMessageDomain.js +2 -0
- package/dist/typescript-fetch/models/PenaltyModel.d.ts +78 -0
- package/dist/typescript-fetch/models/PenaltyModel.js +68 -0
- package/dist/typescript-fetch/models/SNSNotificationRequest.d.ts +45 -0
- package/dist/typescript-fetch/models/SNSNotificationRequest.js +42 -0
- package/dist/typescript-fetch/models/SSLCertificateResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/SSLCertificateResponse.js +36 -0
- package/dist/typescript-fetch/models/SubscribeRequest.d.ts +28 -0
- package/dist/typescript-fetch/models/SubscribeRequest.js +37 -0
- package/dist/typescript-fetch/models/SubscriberDomain.d.ts +58 -0
- package/dist/typescript-fetch/models/SubscriberDomain.js +52 -0
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.d.ts +48 -0
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.js +50 -0
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.d.ts +48 -0
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.js +50 -0
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.d.ts +48 -0
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.js +50 -0
- package/dist/typescript-fetch/models/ViolationModel0.d.ts +120 -0
- package/dist/typescript-fetch/models/ViolationModel0.js +110 -0
- package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.d.ts +60 -0
- package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.js +62 -0
- package/dist/typescript-open-api/otr-backend.d.ts +2 -0
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ export interface LawfirmInboxMessageDomain {
|
|
|
32
32
|
hasFlagMessage?: boolean;
|
|
33
33
|
hasStarMessage?: boolean;
|
|
34
34
|
hasUnreadMessages?: boolean;
|
|
35
|
+
lastActivityDateUtc?: string;
|
|
35
36
|
lawfirmCaseDecisionStatus?: LawfirmInboxMessageDomain.LawfirmCaseDecisionStatusEnum;
|
|
36
37
|
lawfirmReceiptDateUtc?: string;
|
|
37
38
|
messageBody?: string;
|
|
@@ -30,6 +30,7 @@ export interface LawfirmInboxMessageDomain {
|
|
|
30
30
|
"hasFlagMessage"?: boolean;
|
|
31
31
|
"hasStarMessage"?: boolean;
|
|
32
32
|
"hasUnreadMessages"?: boolean;
|
|
33
|
+
"lastActivityDateUtc"?: string;
|
|
33
34
|
"lawfirmCaseDecisionStatus"?: LawfirmInboxMessageDomain.LawfirmCaseDecisionStatusEnum;
|
|
34
35
|
"lawfirmReceiptDateUtc"?: string;
|
|
35
36
|
"messageBody"?: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 runtime from '../runtime';
|
|
13
|
+
import { BlogEvent } from '../models';
|
|
14
|
+
export interface HandleEventUsingPOSTRequest {
|
|
15
|
+
event: BlogEvent;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class BlogWebhookControllerApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* handleEvent
|
|
23
|
+
*/
|
|
24
|
+
handleEventUsingPOSTRaw(requestParameters: HandleEventUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
|
|
25
|
+
/**
|
|
26
|
+
* handleEvent
|
|
27
|
+
*/
|
|
28
|
+
handleEventUsingPOST(requestParameters: HandleEventUsingPOSTRequest): Promise<void>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { BlogEventToJSON, } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class BlogWebhookControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* handleEvent
|
|
31
|
+
*/
|
|
32
|
+
handleEventUsingPOSTRaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.event === null || requestParameters.event === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('event', 'Required parameter requestParameters.event was null or undefined when calling handleEventUsingPOST.');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
const response = yield this.request({
|
|
41
|
+
path: `/api/v1/webhooks/prismic`,
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: BlogEventToJSON(requestParameters.event),
|
|
46
|
+
});
|
|
47
|
+
return new runtime.VoidApiResponse(response);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* handleEvent
|
|
52
|
+
*/
|
|
53
|
+
handleEventUsingPOST(requestParameters) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
yield this.handleEventUsingPOSTRaw(requestParameters);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 runtime from '../runtime';
|
|
13
|
+
import { SSLCertificateResponse } from '../models';
|
|
14
|
+
export interface GetSSLPublicCertFileUsingGETRequest {
|
|
15
|
+
encoding: GetSSLPublicCertFileUsingGETEncodingEnum;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class CertificateControllerApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* getSSLPublicCertFile
|
|
23
|
+
*/
|
|
24
|
+
getSSLPublicCertFileUsingGETRaw(requestParameters: GetSSLPublicCertFileUsingGETRequest): Promise<runtime.ApiResponse<SSLCertificateResponse>>;
|
|
25
|
+
/**
|
|
26
|
+
* getSSLPublicCertFile
|
|
27
|
+
*/
|
|
28
|
+
getSSLPublicCertFileUsingGET(requestParameters: GetSSLPublicCertFileUsingGETRequest): Promise<SSLCertificateResponse>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
* @enum {string}
|
|
33
|
+
*/
|
|
34
|
+
export declare enum GetSSLPublicCertFileUsingGETEncodingEnum {
|
|
35
|
+
DER = "DER",
|
|
36
|
+
PEM = "PEM"
|
|
37
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { SSLCertificateResponseFromJSON, } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class CertificateControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* getSSLPublicCertFile
|
|
31
|
+
*/
|
|
32
|
+
getSSLPublicCertFileUsingGETRaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.encoding === null || requestParameters.encoding === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('encoding', 'Required parameter requestParameters.encoding was null or undefined when calling getSSLPublicCertFileUsingGET.');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
if (requestParameters.encoding !== undefined) {
|
|
39
|
+
queryParameters['encoding'] = requestParameters.encoding;
|
|
40
|
+
}
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
const response = yield this.request({
|
|
43
|
+
path: `/api/v1/certificates/ssl`,
|
|
44
|
+
method: 'GET',
|
|
45
|
+
headers: headerParameters,
|
|
46
|
+
query: queryParameters,
|
|
47
|
+
});
|
|
48
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SSLCertificateResponseFromJSON(jsonValue));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* getSSLPublicCertFile
|
|
53
|
+
*/
|
|
54
|
+
getSSLPublicCertFileUsingGET(requestParameters) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const response = yield this.getSSLPublicCertFileUsingGETRaw(requestParameters);
|
|
57
|
+
return yield response.value();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
* @enum {string}
|
|
64
|
+
*/
|
|
65
|
+
export var GetSSLPublicCertFileUsingGETEncodingEnum;
|
|
66
|
+
(function (GetSSLPublicCertFileUsingGETEncodingEnum) {
|
|
67
|
+
GetSSLPublicCertFileUsingGETEncodingEnum["DER"] = "DER";
|
|
68
|
+
GetSSLPublicCertFileUsingGETEncodingEnum["PEM"] = "PEM";
|
|
69
|
+
})(GetSSLPublicCertFileUsingGETEncodingEnum || (GetSSLPublicCertFileUsingGETEncodingEnum = {}));
|
|
@@ -0,0 +1,29 @@
|
|
|
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 runtime from '../runtime';
|
|
13
|
+
import { SubscribeRequest } from '../models';
|
|
14
|
+
export interface SubscribeUsingPOSTRequest {
|
|
15
|
+
request: SubscribeRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class EmailSubscriptionControllerApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* subscribe
|
|
23
|
+
*/
|
|
24
|
+
subscribeUsingPOSTRaw(requestParameters: SubscribeUsingPOSTRequest): Promise<runtime.ApiResponse<object>>;
|
|
25
|
+
/**
|
|
26
|
+
* subscribe
|
|
27
|
+
*/
|
|
28
|
+
subscribeUsingPOST(requestParameters: SubscribeUsingPOSTRequest): Promise<object>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { SubscribeRequestToJSON, } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class EmailSubscriptionControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* subscribe
|
|
31
|
+
*/
|
|
32
|
+
subscribeUsingPOSTRaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling subscribeUsingPOST.');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
const response = yield this.request({
|
|
41
|
+
path: `/api/v1/subscribe`,
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: SubscribeRequestToJSON(requestParameters.request),
|
|
46
|
+
});
|
|
47
|
+
return new runtime.JSONApiResponse(response);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* subscribe
|
|
52
|
+
*/
|
|
53
|
+
subscribeUsingPOST(requestParameters) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
const response = yield this.subscribeUsingPOSTRaw(requestParameters);
|
|
56
|
+
return yield response.value();
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { BlogMetadata } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogDocument
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogDocument {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BlogMetadata>}
|
|
22
|
+
* @memberof BlogDocument
|
|
23
|
+
*/
|
|
24
|
+
addition?: Array<BlogMetadata>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<BlogMetadata>}
|
|
28
|
+
* @memberof BlogDocument
|
|
29
|
+
*/
|
|
30
|
+
deletion?: Array<BlogMetadata>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<BlogMetadata>}
|
|
34
|
+
* @memberof BlogDocument
|
|
35
|
+
*/
|
|
36
|
+
update?: Array<BlogMetadata>;
|
|
37
|
+
}
|
|
38
|
+
export declare function BlogDocumentFromJSON(json: any): BlogDocument;
|
|
39
|
+
export declare function BlogDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogDocument;
|
|
40
|
+
export declare function BlogDocumentToJSON(value?: BlogDocument | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { BlogMetadataFromJSON, BlogMetadataToJSON, } from './';
|
|
16
|
+
export function BlogDocumentFromJSON(json) {
|
|
17
|
+
return BlogDocumentFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function BlogDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'addition': !exists(json, 'addition') ? undefined : (json['addition'].map(BlogMetadataFromJSON)),
|
|
25
|
+
'deletion': !exists(json, 'deletion') ? undefined : (json['deletion'].map(BlogMetadataFromJSON)),
|
|
26
|
+
'update': !exists(json, 'update') ? undefined : (json['update'].map(BlogMetadataFromJSON)),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function BlogDocumentToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'addition': value.addition === undefined ? undefined : (value.addition.map(BlogMetadataToJSON)),
|
|
38
|
+
'deletion': value.deletion === undefined ? undefined : (value.deletion.map(BlogMetadataToJSON)),
|
|
39
|
+
'update': value.update === undefined ? undefined : (value.update.map(BlogMetadataToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -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 { BlogDocument } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BlogEvent
|
|
17
|
+
*/
|
|
18
|
+
export interface BlogEvent {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BlogEvent
|
|
23
|
+
*/
|
|
24
|
+
apiUrl?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BlogDocument}
|
|
28
|
+
* @memberof BlogEvent
|
|
29
|
+
*/
|
|
30
|
+
release?: BlogDocument;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BlogEvent
|
|
35
|
+
*/
|
|
36
|
+
secret?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BlogEvent
|
|
41
|
+
*/
|
|
42
|
+
type?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function BlogEventFromJSON(json: any): BlogEvent;
|
|
45
|
+
export declare function BlogEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogEvent;
|
|
46
|
+
export declare function BlogEventToJSON(value?: BlogEvent | 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 { BlogDocumentFromJSON, BlogDocumentToJSON, } from './';
|
|
16
|
+
export function BlogEventFromJSON(json) {
|
|
17
|
+
return BlogEventFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function BlogEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'apiUrl': !exists(json, 'apiUrl') ? undefined : json['apiUrl'],
|
|
25
|
+
'release': !exists(json, 'release') ? undefined : BlogDocumentFromJSON(json['release']),
|
|
26
|
+
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
27
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function BlogEventToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'apiUrl': value.apiUrl,
|
|
39
|
+
'release': BlogDocumentToJSON(value.release),
|
|
40
|
+
'secret': value.secret,
|
|
41
|
+
'type': value.type,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 BlogMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface BlogMetadata {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BlogMetadata
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BlogMetadata
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BlogMetadata
|
|
34
|
+
*/
|
|
35
|
+
ref?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function BlogMetadataFromJSON(json: any): BlogMetadata;
|
|
38
|
+
export declare function BlogMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlogMetadata;
|
|
39
|
+
export declare function BlogMetadataToJSON(value?: BlogMetadata | 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 BlogMetadataFromJSON(json) {
|
|
16
|
+
return BlogMetadataFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function BlogMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
24
|
+
'label': !exists(json, 'label') ? undefined : json['label'],
|
|
25
|
+
'ref': !exists(json, 'ref') ? undefined : json['ref'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function BlogMetadataToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': value.id,
|
|
37
|
+
'label': value.label,
|
|
38
|
+
'ref': value.ref,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 GetClientCasesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetClientCasesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CaseModel>}
|
|
22
|
+
* @memberof GetClientCasesResponse
|
|
23
|
+
*/
|
|
24
|
+
cases?: Array<CaseModel>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<CitationModel>}
|
|
28
|
+
* @memberof GetClientCasesResponse
|
|
29
|
+
*/
|
|
30
|
+
citations?: Array<CitationModel>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetClientCasesResponse
|
|
35
|
+
*/
|
|
36
|
+
numBookings?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetClientCasesResponse
|
|
41
|
+
*/
|
|
42
|
+
numCases?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof GetClientCasesResponse
|
|
47
|
+
*/
|
|
48
|
+
numCitationUploads?: number;
|
|
49
|
+
}
|
|
50
|
+
export declare function GetClientCasesResponseFromJSON(json: any): GetClientCasesResponse;
|
|
51
|
+
export declare function GetClientCasesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetClientCasesResponse;
|
|
52
|
+
export declare function GetClientCasesResponseToJSON(value?: GetClientCasesResponse | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 GetClientCasesResponseFromJSON(json) {
|
|
17
|
+
return GetClientCasesResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function GetClientCasesResponseFromJSONTyped(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
|
+
'numCases': !exists(json, 'numCases') ? undefined : json['numCases'],
|
|
28
|
+
'numCitationUploads': !exists(json, 'numCitationUploads') ? undefined : json['numCitationUploads'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function GetClientCasesResponseToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'cases': value.cases === undefined ? undefined : (value.cases.map(CaseModelToJSON)),
|
|
40
|
+
'citations': value.citations === undefined ? undefined : (value.citations.map(CitationModelToJSON)),
|
|
41
|
+
'numBookings': value.numBookings,
|
|
42
|
+
'numCases': value.numCases,
|
|
43
|
+
'numCitationUploads': value.numCitationUploads,
|
|
44
|
+
};
|
|
45
|
+
}
|