Files
sf-sim/packages/sim-consumidor-objenious/domain/DTOs/objeniousapi.ts

22 lines
415 B
TypeScript

export type ActionData = {
dueDate: string, // isodate
filter?: {} // no se si hace falta
identifier: {
identifiers: string[]
identifierType: "IMSI" | "MSISDN" | "REFERENCE" | "ICCID" | "IMEI"
}
}
export type ActivationData = ActionData & {
offer: {
code: string | "SAVEFAMILY1" | "SAVEFAMILY2",
services: any[]
}
}
export type ResponseError = {
error: string,
detail: Object[]
}