File tree Expand file tree Collapse file tree
tests/component-tests/apiGateway-tests/testCases Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { Letter } from "@internal/datastore" ;
12import { RequestHeaders } from "../../../constants/request-headers" ;
23import { SUPPLIERID } from "../../../constants/api-constants" ;
34import {
45 ErrorMessageBody ,
56 PostMessageRequestBody ,
67} from "../../../helpers/common-types" ;
7- import { SupplierApiLetters } from "../../../helpers/generate-fetch-test-data" ;
88
99export interface LetterUpdateAttributes {
1010 status : string ;
@@ -43,7 +43,7 @@ export function postValidRequestBody(
4343}
4444
4545export function postInvalidStatusRequestBody (
46- letters : SupplierApiLetters [ ] ,
46+ letters : Letter [ ] ,
4747) : PostMessageRequestBody {
4848 return {
4949 data : [
@@ -66,7 +66,7 @@ export function postInvalidStatusRequestBody(
6666}
6767
6868export function postDuplicateIDRequestBody (
69- letters : SupplierApiLetters [ ] ,
69+ letters : Letter [ ] ,
7070) : PostMessageRequestBody {
7171 return {
7272 data : [
You can’t perform that action at this time.
0 commit comments