Skip to content

Commit

Permalink
patch(*): update schema to include createdAt fields (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivangidas authored Jul 26, 2023
1 parent 32069f9 commit 7f3df11
Show file tree
Hide file tree
Showing 28 changed files with 192 additions and 0 deletions.
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/car/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
},
"techRecord_updateType": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
}
}
}
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/car/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@
},
"techRecord_updateType": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
}
}
}
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-definitions/v3/tech-record/put/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/car/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@
},
"techRecord_updateType": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
}
}
}
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/car/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
},
"techRecord_updateType": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
}
}
}
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/lgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@
},
"techRecord_updateType": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/lgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@
},
"techRecord_updateType": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
9 changes: 9 additions & 0 deletions json-schemas/v3/tech-record/put/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
"partialVin": {
"type": "string"
},
"techRecord_createdAt": {
"type": "string"
},
"techRecord_createdById": {
"type": "string"
},
"techRecord_createdByName": {
"type": "string"
},
"techRecord_adrDetails_vehicleDetails_type": {
"type": [
"string",
Expand Down
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/car/complete/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
techRecord_vehicleSubclass: VehicleSubclass;
techRecord_hiddenInVta?: boolean;
techRecord_updateType?: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
}
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/car/skeleton/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
techRecord_notes?: string;
techRecord_hiddenInVta?: boolean;
techRecord_updateType?: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
}
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/hgv/complete/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export type ApprovalType =

export interface PUTHGVTechnicalRecordV3Complete {
partialVin: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
techRecord_adrDetails_vehicleDetails_type?: string | null;
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
Expand Down
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/hgv/skeleton/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export type ApprovalType =

export interface PUTHGVTechnicalRecordV3Skeleton {
partialVin: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
techRecord_adrDetails_vehicleDetails_type?: string | null;
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
Expand Down
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/hgv/testable/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export type ApprovalType =

export interface PUTHGVTechnicalRecordV3Testable {
partialVin: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
techRecord_adrDetails_vehicleDetails_type?: string | null;
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
Expand Down
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/lgv/complete/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
techRecord_vehicleSubclass: VehicleSubclass;
techRecord_hiddenInVta?: boolean;
techRecord_updateType?: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
}
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/lgv/skeleton/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
techRecord_notes?: string;
techRecord_hiddenInVta?: boolean;
techRecord_updateType?: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
}
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/trl/complete/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ export type SpeedCategorySymbol =

export interface PUTTRLTechnicalRecordV3Complete {
partialVin: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
techRecord_adrDetails_vehicleDetails_type?: string | null;
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
Expand Down
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/trl/skeleton/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ export type VehicleConfiguration =

export interface GETTRLTechnicalRecordV3Skeleton {
partialVin: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
techRecord_adrDetails_vehicleDetails_type?: string | null;
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
Expand Down
3 changes: 3 additions & 0 deletions types/v3/tech-record/put/trl/testable/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ export type SpeedCategorySymbol =

export interface GETTRLTechnicalRecordV3Testable {
partialVin: string;
techRecord_createdAt?: string;
techRecord_createdById?: string;
techRecord_createdByName?: string;
techRecord_adrDetails_vehicleDetails_type?: string | null;
techRecord_adrDetails_vehicleDetails_approvalDate?: string | null;
techRecord_adrDetails_permittedDangerousGoods?: string[] | null;
Expand Down

0 comments on commit 7f3df11

Please sign in to comment.