@otr-app/shared-backend-generated-client 2.4.94 → 3.0.0-experimental
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/listCostItemsForCustomerResponse.ts +0 -3
- package/dist/otr-backend.d.ts +40767 -0
- package/dist/typescript/api/ActionRequiredControllerApi.d.ts +0 -1
- package/dist/typescript/api/ActivityFeedControllerApi.d.ts +0 -1
- package/dist/typescript/api/AddressControllerApi.d.ts +0 -1
- package/dist/typescript/api/AlertNotificationControllerApi.d.ts +0 -1
- package/dist/typescript/api/AppEventsControllerApi.d.ts +0 -1
- package/dist/typescript/api/AuditLawfirmEventsControllerApi.d.ts +0 -1
- package/dist/typescript/api/AuditLogControllerApi.d.ts +0 -1
- package/dist/typescript/api/AuthenticationControllerApi.d.ts +0 -1
- package/dist/typescript/api/AwsCredentialsControllerApi.d.ts +0 -1
- package/dist/typescript/api/BlogWebhookControllerApi.d.ts +0 -1
- package/dist/typescript/api/BranchLinkControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaptchaControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseActionsControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseCounterOfferControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseCreationControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseDeclineControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseNotesControllerApi.d.ts +0 -1
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseReferralCodeControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseRefundControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseResolutionControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseStatusControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseTransferControllerApi.d.ts +0 -1
- package/dist/typescript/api/CaseUserControllerApi.d.ts +0 -1
- package/dist/typescript/api/CertificateControllerApi.d.ts +0 -1
- package/dist/typescript/api/CitationAuditControllerApi.d.ts +0 -1
- package/dist/typescript/api/CitationControllerApi.d.ts +0 -1
- package/dist/typescript/api/CoachingCardsControllerApi.d.ts +0 -1
- package/dist/typescript/api/ConfigurationControllerApi.d.ts +0 -1
- package/dist/typescript/api/ConsoleListControllerApi.d.ts +0 -1
- package/dist/typescript/api/ContactLoopWebhookControllerApi.d.ts +0 -1
- package/dist/typescript/api/ContactTimelineControllerApi.d.ts +0 -1
- package/dist/typescript/api/ConversationControllerApi.d.ts +0 -1
- package/dist/typescript/api/CountyControllerApi.d.ts +0 -1
- package/dist/typescript/api/CourtControllerApi.d.ts +0 -1
- package/dist/typescript/api/CrmControllerApi.d.ts +0 -1
- package/dist/typescript/api/CustomerLeadControllerApi.d.ts +0 -1
- package/dist/typescript/api/CustomerReviewControllerApi.d.ts +0 -1
- package/dist/typescript/api/CustomerServiceAgentBookingsControllerApi.d.ts +0 -1
- package/dist/typescript/api/CustomerServiceAgentControllerApi.d.ts +0 -1
- package/dist/typescript/api/DashboardControllerApi.d.ts +0 -1
- package/dist/typescript/api/DirectMailControllerApi.d.ts +0 -1
- package/dist/typescript/api/DripControllerApi.d.ts +0 -1
- package/dist/typescript/api/DripWebhooksControllerApi.d.ts +0 -1
- package/dist/typescript/api/DriverLicenseControllerApi.d.ts +0 -1
- package/dist/typescript/api/EmailSubscriptionControllerApi.d.ts +0 -1
- package/dist/typescript/api/EmployeeControllerApi.d.ts +0 -1
- package/dist/typescript/api/ExternalContentVoteControllerApi.d.ts +0 -1
- package/dist/typescript/api/ExternalTicketLookupControllerApi.d.ts +0 -1
- package/dist/typescript/api/FeedbackControllerApi.d.ts +0 -1
- package/dist/typescript/api/FreshcallerControllerApi.d.ts +0 -1
- package/dist/typescript/api/FreshdeskTicketControllerApi.d.ts +0 -1
- package/dist/typescript/api/GetCaseControllerApi.d.ts +0 -1
- package/dist/typescript/api/HouseholdMateControllerApi.d.ts +0 -1
- package/dist/typescript/api/HubspotWebhookControllerApi.d.ts +0 -1
- package/dist/typescript/api/InsuranceCalculatorControllerApi.d.ts +0 -1
- package/dist/typescript/api/IntercomTicketControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmCaseDecisionControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmCasesControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmDocumentControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmFeeCoverageControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmPaymentModelControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmRatesControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmSettingsControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmStorefrontControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmSurchargeControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawfirmTransactionsControllerApi.d.ts +0 -1
- package/dist/typescript/api/LawyerControllerApi.d.ts +0 -1
- package/dist/typescript/api/LegalServicesControllerApi.d.ts +0 -1
- package/dist/typescript/api/LineItemControllerApi.d.ts +0 -1
- package/dist/typescript/api/ListCasesControllerApi.d.ts +0 -1
- package/dist/typescript/api/MediaCreationControllerApi.d.ts +0 -1
- package/dist/typescript/api/MessagesControllerApi.d.ts +0 -1
- package/dist/typescript/api/NotesControllerApi.d.ts +0 -1
- package/dist/typescript/api/OcrPipelineControllerApi.d.ts +0 -1
- package/dist/typescript/api/OcrPredictionControllerApi.d.ts +0 -1
- package/dist/typescript/api/OnDemandRequestControllerApi.d.ts +0 -1
- package/dist/typescript/api/OneTimePasswordControllerApi.d.ts +0 -1
- package/dist/typescript/api/PhoneLeadsControllerApi.d.ts +0 -1
- package/dist/typescript/api/PushNotificationControllerApi.d.ts +0 -1
- package/dist/typescript/api/RecurringBillingControllerApi.d.ts +0 -1
- package/dist/typescript/api/RefLinkControllerApi.d.ts +0 -1
- package/dist/typescript/api/ReferralCodeControllerApi.d.ts +0 -1
- package/dist/typescript/api/ReferralControllerApi.d.ts +0 -1
- package/dist/typescript/api/ReferralSourceControllerApi.d.ts +0 -1
- package/dist/typescript/api/RefundEligibilityControllerApi.d.ts +0 -1
- package/dist/typescript/api/RegistrationControllerApi.d.ts +0 -1
- package/dist/typescript/api/ReportingControllerApi.d.ts +0 -1
- package/dist/typescript/api/ScheduledTaskControllerApi.d.ts +0 -1
- package/dist/typescript/api/SingleSignOnControllerApi.d.ts +0 -1
- package/dist/typescript/api/SnsListenerControllerApi.d.ts +0 -1
- package/dist/typescript/api/SocialLoginControllerApi.d.ts +0 -1
- package/dist/typescript/api/StripeCardControllerApi.d.ts +0 -1
- package/dist/typescript/api/StripeControllerApi.d.ts +0 -1
- package/dist/typescript/api/StripeSyncControllerApi.d.ts +0 -1
- package/dist/typescript/api/StripeWebhookControllerApi.d.ts +0 -1
- package/dist/typescript/api/TicketReviewControllerApi.d.ts +0 -1
- package/dist/typescript/api/UrlRedirectControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserAccountControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserAuditControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserPasswordControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserProfileControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserSearchControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserSettingsControllerApi.d.ts +0 -1
- package/dist/typescript/api/UserSocialProfileControllerApi.d.ts +0 -1
- package/dist/typescript/api/UtilityControllerApi.d.ts +0 -1
- package/dist/typescript/api/ValidationControllerApi.d.ts +0 -1
- package/dist/typescript/api/VerificationControllerApi.d.ts +0 -1
- package/dist/typescript/api/ViolationControllerApi.d.ts +0 -1
- package/dist/typescript/api/ViolationPenaltyControllerApi.d.ts +0 -1
- package/dist/typescript/api/WatchlistsControllerApi.d.ts +0 -1
- package/dist/typescript/api/WebsocketMessageControllerApi.d.ts +0 -1
- package/dist/typescript/api/WorkflowStateControllerApi.d.ts +0 -1
- package/dist/typescript/model/ListCostItemsForCustomerResponse.d.ts +0 -3
- package/dist/typescript-fetch/models/ListCostItemsForCustomerResponse.d.ts +0 -18
- package/dist/typescript-fetch/models/ListCostItemsForCustomerResponse.js +0 -6
- package/dist/typescript-fetch/runtime.d.ts +7 -7
- package/package.json +4 -2
- package/dist/typescript/model/SaveCasePaymentPlanRequest.d.ts +0 -24
- package/dist/typescript/model/SaveCasePaymentPlanRequest.js +0 -22
- package/dist/typescript/model/SaveCasePlanRequest.d.ts +0 -24
- package/dist/typescript/model/SaveCasePlanRequest.js +0 -22
|
@@ -11,11 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as models from './models';
|
|
13
13
|
export interface ListCostItemsForCustomerResponse {
|
|
14
|
-
"authorizedPayments"?: Array<models.CasePaymentModel>;
|
|
15
14
|
"clientBaseCostInCents"?: number;
|
|
16
15
|
"clientTotalCostInCents"?: number;
|
|
17
|
-
"counterOfferRefundInCents"?: number;
|
|
18
|
-
"expiredPayments"?: Array<models.CasePaymentModel>;
|
|
19
16
|
"futurePayments"?: Array<models.CasePaymentModel>;
|
|
20
17
|
"lineItems"?: Array<models.LineItemModel>;
|
|
21
18
|
"totalRefCodeAdjustmentInCents"?: number;
|
|
@@ -16,12 +16,6 @@ import { CasePaymentModel, LineItemModel } from './';
|
|
|
16
16
|
* @interface ListCostItemsForCustomerResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface ListCostItemsForCustomerResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CasePaymentModel>}
|
|
22
|
-
* @memberof ListCostItemsForCustomerResponse
|
|
23
|
-
*/
|
|
24
|
-
authorizedPayments?: Array<CasePaymentModel>;
|
|
25
19
|
/**
|
|
26
20
|
*
|
|
27
21
|
* @type {number}
|
|
@@ -34,18 +28,6 @@ export interface ListCostItemsForCustomerResponse {
|
|
|
34
28
|
* @memberof ListCostItemsForCustomerResponse
|
|
35
29
|
*/
|
|
36
30
|
clientTotalCostInCents?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ListCostItemsForCustomerResponse
|
|
41
|
-
*/
|
|
42
|
-
counterOfferRefundInCents?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<CasePaymentModel>}
|
|
46
|
-
* @memberof ListCostItemsForCustomerResponse
|
|
47
|
-
*/
|
|
48
|
-
expiredPayments?: Array<CasePaymentModel>;
|
|
49
31
|
/**
|
|
50
32
|
*
|
|
51
33
|
* @type {Array<CasePaymentModel>}
|
|
@@ -21,11 +21,8 @@ export function ListCostItemsForCustomerResponseFromJSONTyped(json, ignoreDiscri
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
-
'authorizedPayments': !exists(json, 'authorizedPayments') ? undefined : (json['authorizedPayments'].map(CasePaymentModelFromJSON)),
|
|
25
24
|
'clientBaseCostInCents': !exists(json, 'clientBaseCostInCents') ? undefined : json['clientBaseCostInCents'],
|
|
26
25
|
'clientTotalCostInCents': !exists(json, 'clientTotalCostInCents') ? undefined : json['clientTotalCostInCents'],
|
|
27
|
-
'counterOfferRefundInCents': !exists(json, 'counterOfferRefundInCents') ? undefined : json['counterOfferRefundInCents'],
|
|
28
|
-
'expiredPayments': !exists(json, 'expiredPayments') ? undefined : (json['expiredPayments'].map(CasePaymentModelFromJSON)),
|
|
29
26
|
'futurePayments': !exists(json, 'futurePayments') ? undefined : (json['futurePayments'].map(CasePaymentModelFromJSON)),
|
|
30
27
|
'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(LineItemModelFromJSON)),
|
|
31
28
|
'totalRefCodeAdjustmentInCents': !exists(json, 'totalRefCodeAdjustmentInCents') ? undefined : json['totalRefCodeAdjustmentInCents'],
|
|
@@ -39,11 +36,8 @@ export function ListCostItemsForCustomerResponseToJSON(value) {
|
|
|
39
36
|
return null;
|
|
40
37
|
}
|
|
41
38
|
return {
|
|
42
|
-
'authorizedPayments': value.authorizedPayments === undefined ? undefined : (value.authorizedPayments.map(CasePaymentModelToJSON)),
|
|
43
39
|
'clientBaseCostInCents': value.clientBaseCostInCents,
|
|
44
40
|
'clientTotalCostInCents': value.clientTotalCostInCents,
|
|
45
|
-
'counterOfferRefundInCents': value.counterOfferRefundInCents,
|
|
46
|
-
'expiredPayments': value.expiredPayments === undefined ? undefined : (value.expiredPayments.map(CasePaymentModelToJSON)),
|
|
47
41
|
'futurePayments': value.futurePayments === undefined ? undefined : (value.futurePayments.map(CasePaymentModelToJSON)),
|
|
48
42
|
'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(LineItemModelToJSON)),
|
|
49
43
|
'totalRefCodeAdjustmentInCents': value.totalRefCodeAdjustmentInCents,
|
|
@@ -40,7 +40,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
40
40
|
tsv: string;
|
|
41
41
|
pipes: string;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
44
44
|
export interface ConfigurationParameters {
|
|
45
45
|
basePath?: string;
|
|
46
46
|
fetchApi?: FetchAPI;
|
|
@@ -67,16 +67,16 @@ export declare class Configuration {
|
|
|
67
67
|
get headers(): HTTPHeaders | undefined;
|
|
68
68
|
get credentials(): RequestCredentials | undefined;
|
|
69
69
|
}
|
|
70
|
-
export
|
|
71
|
-
export
|
|
72
|
-
export
|
|
70
|
+
export type Json = any;
|
|
71
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
72
|
+
export type HTTPHeaders = {
|
|
73
73
|
[key: string]: string;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type HTTPQuery = {
|
|
76
76
|
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | HTTPQuery;
|
|
77
77
|
};
|
|
78
|
-
export
|
|
79
|
-
export
|
|
78
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
79
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
80
80
|
export interface FetchParams {
|
|
81
81
|
url: string;
|
|
82
82
|
init: RequestInit;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@otr-app/shared-backend-generated-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-experimental",
|
|
4
4
|
"main": "dist/otrBackendService.min.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"/dist"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"generate:devo-angular-ci": "npm run download:devo && gulp codegen && java -jar /opt/openapi-generator-630/modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i api/otr-service.json -o dist/angular -g typescript-angular",
|
|
27
27
|
"generate:devo-angular": "npm run download:devo && gulp codegen && openapi-generator-cli version-manager set 6.3.0 && openapi-generator-cli generate -i api/otr-service.json -o dist/angular -g typescript-angular",
|
|
28
28
|
"generate:devo-typescript-fetch": "rm -r dist/typescript-fetch || npm run download:devo && openapi-generator-cli version-manager set 4.3.1 && openapi-generator-cli generate -i api/otr-service.json -o myclient/typescript-fetch -g typescript-fetch --additional-properties=typescriptThreePlus=true && tsc --project tsconfig.fetch.json --outDir dist/typescript-fetch",
|
|
29
|
+
"generate:backend-types-experimental": "npx openapi-typescript https://otr-backend-service-us-devo.offtherecord.com/v3/api-docs -o dist/otr-backend.d.ts --enum=true --dedupe-enums",
|
|
29
30
|
"generate:devo-angularjs": "rm -r dist/typescript || npm run download:devo && gulp codegen && openapi-generator-cli version-manager set 4.3.1 && openapi-generator-cli generate -i api/otr-service.json -o myclient/typescript -g typescript-angularjs && tsc --project tsconfig.json --outDir dist/typescript",
|
|
30
31
|
"generate:local": "curl http://localhost:8080/v2/api-docs -o api/otr-service.json && gulp codegen && openapi-generator-cli generate -i api/otr-service.json -o dist/typescript -g typescript-angular && tsc && npm run clean-source",
|
|
31
32
|
"bootstrap": "npm i @openapitools/openapi-generator-cli -g && openapi-generator-cli version-manager set 6.3.0"
|
|
@@ -44,11 +45,12 @@
|
|
|
44
45
|
"gulp-uglify": "1.5.2",
|
|
45
46
|
"gulp-util": "3.0.7",
|
|
46
47
|
"jquery": "^3.6.3",
|
|
48
|
+
"openapi-typescript": "^7.6.1",
|
|
47
49
|
"run-sequence": "1.1.5",
|
|
48
50
|
"swagger-js-codegen": "1.12.0",
|
|
49
51
|
"swagger-js-react-native-codegen": "0.1.4",
|
|
50
52
|
"swagger-typescript-codegen": "^1.11.0",
|
|
51
|
-
"typescript": "^
|
|
53
|
+
"typescript": "^5.8.3"
|
|
52
54
|
},
|
|
53
55
|
"peerDependencies": {
|
|
54
56
|
"axios": "^0.27.2"
|
|
@@ -1,24 +0,0 @@
|
|
|
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 SaveCasePaymentPlanRequest {
|
|
13
|
-
"interval"?: SaveCasePaymentPlanRequest.IntervalEnum;
|
|
14
|
-
"productId"?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare namespace SaveCasePaymentPlanRequest {
|
|
17
|
-
enum IntervalEnum {
|
|
18
|
-
DAILY,
|
|
19
|
-
MONTHLY,
|
|
20
|
-
QUARTERLY,
|
|
21
|
-
WEEKLY,
|
|
22
|
-
YEARLY
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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 SaveCasePaymentPlanRequest;
|
|
13
|
-
(function (SaveCasePaymentPlanRequest) {
|
|
14
|
-
let IntervalEnum;
|
|
15
|
-
(function (IntervalEnum) {
|
|
16
|
-
IntervalEnum[IntervalEnum["DAILY"] = 'DAILY'] = "DAILY";
|
|
17
|
-
IntervalEnum[IntervalEnum["MONTHLY"] = 'MONTHLY'] = "MONTHLY";
|
|
18
|
-
IntervalEnum[IntervalEnum["QUARTERLY"] = 'QUARTERLY'] = "QUARTERLY";
|
|
19
|
-
IntervalEnum[IntervalEnum["WEEKLY"] = 'WEEKLY'] = "WEEKLY";
|
|
20
|
-
IntervalEnum[IntervalEnum["YEARLY"] = 'YEARLY'] = "YEARLY";
|
|
21
|
-
})(IntervalEnum = SaveCasePaymentPlanRequest.IntervalEnum || (SaveCasePaymentPlanRequest.IntervalEnum = {}));
|
|
22
|
-
})(SaveCasePaymentPlanRequest || (SaveCasePaymentPlanRequest = {}));
|