@otr-app/shared-backend-generated-client 2.4.101 → 2.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.101",
3
+ "version": "2.5.1",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"
@@ -24,8 +24,9 @@
24
24
  "generate:devo": "npm run generate:devo-angularjs",
25
25
  "generate:devo-angularjs-ci": "npm run download:devo && gulp codegen && java -jar /opt/openapi-generator/modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i api/otr-service.json -o myclient/typescript -g typescript-angularjs && tsc --project tsconfig.json --outDir dist/typescript",
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
- "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",
27
+ "generate:devo-angular": "npm run download:devo && gulp codegen && opnapi-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:devo-typescript-open-api": "npx openapi-typescript https://otr-backend-service-us-devo.offtherecord.com/v3/api-docs -o dist/typescript-open-api/otr-backend.ts --enum=true --dedupe-enums && tsc --project tsconfig-open-api.json --outDir dist/typescript-open-api && npm run clean-source",
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,6 +45,7 @@
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",
@@ -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 = {}));
@@ -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 SaveCasePlanRequest {
13
- "interval"?: SaveCasePlanRequest.IntervalEnum;
14
- "productId"?: string;
15
- }
16
- export declare namespace SaveCasePlanRequest {
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 SaveCasePlanRequest;
13
- (function (SaveCasePlanRequest) {
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 = SaveCasePlanRequest.IntervalEnum || (SaveCasePlanRequest.IntervalEnum = {}));
22
- })(SaveCasePlanRequest || (SaveCasePlanRequest = {}));