@fiatconnect/fiatconnect-types
Advanced tools
Comparing version 11.1.2 to 11.1.3
@@ -446,3 +446,3 @@ import { z } from 'zod'; | ||
}; | ||
PIXAccount: { | ||
PIXAccount: ({ | ||
accountName: string; | ||
@@ -453,12 +453,30 @@ institutionName: string; | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & ({ | ||
} & { | ||
keyType: PIXKeyTypeEnum.EMAIL; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.CPF; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.PHONE; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.RANDOM; | ||
@@ -514,3 +532,3 @@ key: string; | ||
}; | ||
PIXAccount: { | ||
PIXAccount: ({ | ||
accountName: string; | ||
@@ -521,12 +539,30 @@ institutionName: string; | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & ({ | ||
} & { | ||
keyType: PIXKeyTypeEnum.EMAIL; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.CPF; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.PHONE; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.RANDOM; | ||
@@ -867,3 +903,3 @@ key: string; | ||
}, "strip", z.ZodTypeAny, { | ||
data: { | ||
data: ({ | ||
accountName: string; | ||
@@ -874,12 +910,30 @@ institutionName: string; | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & ({ | ||
} & { | ||
keyType: PIXKeyTypeEnum.EMAIL; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.CPF; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.PHONE; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.RANDOM; | ||
@@ -890,3 +944,3 @@ key: string; | ||
}, { | ||
data: { | ||
data: ({ | ||
accountName: string; | ||
@@ -897,12 +951,30 @@ institutionName: string; | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & ({ | ||
} & { | ||
keyType: PIXKeyTypeEnum.EMAIL; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.CPF; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.PHONE; | ||
key: string; | ||
} | { | ||
}) | ({ | ||
accountName: string; | ||
institutionName: string; | ||
fiatAccountType: FiatAccountType; | ||
} & { | ||
fiatAccountType: FiatAccountType.BankAccount; | ||
} & { | ||
keyType: PIXKeyTypeEnum.RANDOM; | ||
@@ -909,0 +981,0 @@ key: string; |
@@ -46,4 +46,2 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -53,5 +51,5 @@ isoCountryCode: string; | ||
city: string; | ||
}, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}, { | ||
address1: string; | ||
@@ -61,2 +59,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}>; | ||
@@ -67,3 +67,2 @@ phoneNumber: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -77,4 +76,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -84,2 +81,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
@@ -89,4 +88,4 @@ phoneNumber: string; | ||
identificationDocument: string; | ||
middleName?: string | undefined; | ||
}, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -100,4 +99,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -107,2 +104,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
@@ -112,2 +111,3 @@ phoneNumber: string; | ||
identificationDocument: string; | ||
middleName?: string | undefined; | ||
}>; | ||
@@ -140,4 +140,2 @@ export type PersonalDataAndDocumentsKyc = z.infer<typeof personalDataAndDocumentsKycSchema>; | ||
}, "strip", z.ZodTypeAny, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -147,5 +145,5 @@ isoCountryCode: string; | ||
city: string; | ||
}, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}, { | ||
address1: string; | ||
@@ -155,2 +153,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}>; | ||
@@ -161,3 +161,2 @@ phoneNumber: z.ZodString; | ||
}, "identificationDocument">, "strip", z.ZodTypeAny, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -171,4 +170,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -178,7 +175,9 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
}, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -192,4 +191,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -199,5 +196,8 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
}>, z.ZodObject<{ | ||
@@ -255,4 +255,2 @@ email: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -262,5 +260,5 @@ isoCountryCode: string; | ||
city: string; | ||
}, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}, { | ||
address1: string; | ||
@@ -270,2 +268,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}>; | ||
@@ -276,3 +276,2 @@ phoneNumber: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -286,4 +285,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -293,2 +290,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
@@ -298,4 +297,4 @@ phoneNumber: string; | ||
identificationDocument: string; | ||
middleName?: string | undefined; | ||
}, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -309,4 +308,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -316,2 +313,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
@@ -321,2 +320,3 @@ phoneNumber: string; | ||
identificationDocument: string; | ||
middleName?: string | undefined; | ||
}>; | ||
@@ -348,4 +348,2 @@ PersonalDataAndDocumentsDetailed: z.ZodIntersection<z.ZodIntersection<z.ZodObject<Omit<{ | ||
}, "strip", z.ZodTypeAny, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -355,5 +353,5 @@ isoCountryCode: string; | ||
city: string; | ||
}, { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}, { | ||
address1: string; | ||
@@ -363,2 +361,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}>; | ||
@@ -369,3 +369,2 @@ phoneNumber: z.ZodString; | ||
}, "identificationDocument">, "strip", z.ZodTypeAny, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -379,4 +378,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -386,7 +383,9 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
}, { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -400,4 +399,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -407,5 +404,8 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
}>, z.ZodObject<{ | ||
@@ -438,3 +438,2 @@ email: z.ZodString; | ||
PersonalDataAndDocuments: { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -448,4 +447,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -455,2 +452,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
@@ -460,5 +459,5 @@ phoneNumber: string; | ||
identificationDocument: string; | ||
middleName?: string | undefined; | ||
}; | ||
PersonalDataAndDocumentsDetailed: { | ||
middleName?: string | undefined; | ||
PersonalDataAndDocumentsDetailed: ({ | ||
firstName: string; | ||
@@ -472,4 +471,29 @@ lastName: string; | ||
address: { | ||
address1: string; | ||
isoCountryCode: string; | ||
isoRegionCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
} & { | ||
email: string; | ||
identificationDocumentFront: string; | ||
} & ({ | ||
identificationDocumentType: IdentificationDocumentType; | ||
identificationDocumentBack: string; | ||
} | { | ||
identificationDocumentType: IdentificationDocumentType; | ||
})) & (({ | ||
firstName: string; | ||
lastName: string; | ||
dateOfBirth: { | ||
day: string; | ||
month: string; | ||
year: string; | ||
}; | ||
address: { | ||
address1: string; | ||
@@ -479,5 +503,8 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
} & { | ||
@@ -491,6 +518,5 @@ email: string; | ||
identificationDocumentType: IdentificationDocumentType; | ||
}); | ||
})) | undefined); | ||
}, { | ||
PersonalDataAndDocuments: { | ||
middleName?: string | undefined; | ||
firstName: string; | ||
@@ -504,4 +530,2 @@ lastName: string; | ||
address: { | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
address1: string; | ||
@@ -511,2 +535,4 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
@@ -516,5 +542,5 @@ phoneNumber: string; | ||
identificationDocument: string; | ||
middleName?: string | undefined; | ||
}; | ||
PersonalDataAndDocumentsDetailed: { | ||
middleName?: string | undefined; | ||
PersonalDataAndDocumentsDetailed: ({ | ||
firstName: string; | ||
@@ -528,4 +554,29 @@ lastName: string; | ||
address: { | ||
address1: string; | ||
isoCountryCode: string; | ||
isoRegionCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
} & { | ||
email: string; | ||
identificationDocumentFront: string; | ||
} & ({ | ||
identificationDocumentType: IdentificationDocumentType; | ||
identificationDocumentBack: string; | ||
} | { | ||
identificationDocumentType: IdentificationDocumentType; | ||
})) & (({ | ||
firstName: string; | ||
lastName: string; | ||
dateOfBirth: { | ||
day: string; | ||
month: string; | ||
year: string; | ||
}; | ||
address: { | ||
address1: string; | ||
@@ -535,5 +586,8 @@ isoCountryCode: string; | ||
city: string; | ||
address2?: string | undefined; | ||
postalCode?: string | undefined; | ||
}; | ||
phoneNumber: string; | ||
selfieDocument: string; | ||
middleName?: string | undefined; | ||
} & { | ||
@@ -547,3 +601,3 @@ email: string; | ||
identificationDocumentType: IdentificationDocumentType; | ||
}); | ||
})) | undefined); | ||
}>; | ||
@@ -550,0 +604,0 @@ export type KycSchemas = z.infer<typeof kycSchemasSchema>; |
@@ -22,2 +22,6 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
country: string; | ||
address: string; | ||
fiatType: import("./common").FiatType; | ||
cryptoType: import("./common").CryptoType; | ||
fiatAmount?: string | undefined; | ||
@@ -27,2 +31,3 @@ cryptoAmount?: string | undefined; | ||
preview?: boolean | undefined; | ||
}, { | ||
country: string; | ||
@@ -32,3 +37,2 @@ address: string; | ||
cryptoType: import("./common").CryptoType; | ||
}, { | ||
fiatAmount?: string | undefined; | ||
@@ -38,6 +42,2 @@ cryptoAmount?: string | undefined; | ||
preview?: boolean | undefined; | ||
country: string; | ||
address: string; | ||
fiatType: import("./common").FiatType; | ||
cryptoType: import("./common").CryptoType; | ||
}>; | ||
@@ -52,2 +52,3 @@ export type QuoteRequestBody = z.infer<typeof quoteRequestBodySchema>; | ||
}, "strip", z.ZodTypeAny, { | ||
error: import("./common").FiatConnectError; | ||
minimumFiatAmount?: string | undefined; | ||
@@ -57,4 +58,4 @@ maximumFiatAmount?: string | undefined; | ||
maximumCryptoAmount?: string | undefined; | ||
}, { | ||
error: import("./common").FiatConnectError; | ||
}, { | ||
minimumFiatAmount?: string | undefined; | ||
@@ -64,3 +65,2 @@ maximumFiatAmount?: string | undefined; | ||
maximumCryptoAmount?: string | undefined; | ||
error: import("./common").FiatConnectError; | ||
}>; | ||
@@ -104,4 +104,2 @@ export type QuoteErrorResponse = z.infer<typeof quoteErrorResponseSchema>; | ||
}, "strip", z.ZodTypeAny, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -111,5 +109,5 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
}, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}, { | ||
fiatAccountSchemas: { | ||
@@ -119,2 +117,4 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>; | ||
@@ -134,5 +134,2 @@ export type FiatAccountTypeQuoteData = z.infer<typeof fiatAccountTypeQuoteDataSchema>; | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
transferType: import("./transfer").TransferType; | ||
@@ -144,6 +141,6 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
}, { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
}, { | ||
transferType: import("./transfer").TransferType; | ||
@@ -155,2 +152,5 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
}>, z.ZodObject<{ | ||
@@ -202,4 +202,2 @@ quoteId: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -209,5 +207,5 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
}, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}, { | ||
fiatAccountSchemas: { | ||
@@ -217,8 +215,7 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>>; | ||
}, "strip", z.ZodTypeAny, { | ||
quote: { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
transferType: import("./transfer").TransferType; | ||
@@ -230,2 +227,5 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
} & { | ||
@@ -242,4 +242,2 @@ quoteId: string; | ||
fiatAccount: Partial<Record<import("./fiat-account").FiatAccountType, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -249,8 +247,7 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>>; | ||
}, { | ||
quote: { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
transferType: import("./transfer").TransferType; | ||
@@ -262,2 +259,5 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
} & { | ||
@@ -274,4 +274,2 @@ quoteId: string; | ||
fiatAccount: Partial<Record<import("./fiat-account").FiatAccountType, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -281,2 +279,4 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>>; | ||
@@ -297,5 +297,2 @@ }>; | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
transferType: import("./transfer").TransferType; | ||
@@ -307,6 +304,6 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
}, { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
}, { | ||
transferType: import("./transfer").TransferType; | ||
@@ -318,2 +315,5 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
}>; | ||
@@ -359,4 +359,2 @@ kyc: z.ZodObject<{ | ||
}, "strip", z.ZodTypeAny, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -366,5 +364,5 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
}, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}, { | ||
fiatAccountSchemas: { | ||
@@ -374,8 +372,7 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>>; | ||
}, "strip", z.ZodTypeAny, { | ||
quote: { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
transferType: import("./transfer").TransferType; | ||
@@ -387,2 +384,5 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
}; | ||
@@ -397,4 +397,2 @@ kyc: { | ||
fiatAccount: Partial<Record<import("./fiat-account").FiatAccountType, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -404,8 +402,7 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>>; | ||
}, { | ||
quote: { | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
transferType: import("./transfer").TransferType; | ||
@@ -417,2 +414,5 @@ fiatType: import("./common").FiatType; | ||
guaranteedUntil: string; | ||
fee?: string | undefined; | ||
feeType?: FeeType | undefined; | ||
feeFrequency?: FeeFrequency | undefined; | ||
}; | ||
@@ -427,4 +427,2 @@ kyc: { | ||
fiatAccount: Partial<Record<import("./fiat-account").FiatAccountType, { | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
fiatAccountSchemas: { | ||
@@ -434,4 +432,6 @@ fiatAccountSchema: import("./fiat-account").FiatAccountSchema; | ||
}[]; | ||
settlementTimeLowerBound?: string | undefined; | ||
settlementTimeUpperBound?: string | undefined; | ||
}>>; | ||
}>; | ||
export type QuotePreviewResponse = z.infer<typeof quotePreviewResponseSchema>; |
@@ -64,3 +64,2 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
status: TransferStatus; | ||
@@ -75,4 +74,4 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}, { | ||
fee?: string | undefined; | ||
status: TransferStatus; | ||
@@ -87,3 +86,4 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}>; | ||
export type TransferStatusResponse = z.infer<typeof transferStatusResponseSchema>; |
@@ -37,3 +37,2 @@ import { z } from 'zod'; | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -48,4 +47,4 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -60,2 +59,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}>; | ||
@@ -65,3 +65,2 @@ }, "strip", z.ZodTypeAny, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -76,2 +75,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -81,3 +81,2 @@ }, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -92,2 +91,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -125,3 +125,2 @@ }>>; | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -136,4 +135,4 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -148,2 +147,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}>; | ||
@@ -153,3 +153,2 @@ }, "strip", z.ZodTypeAny, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -164,2 +163,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -169,3 +169,2 @@ }, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -180,2 +179,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -254,3 +254,2 @@ }>>; | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -265,4 +264,4 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -277,2 +276,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}>; | ||
@@ -282,3 +282,2 @@ }, "strip", z.ZodTypeAny, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -293,2 +292,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -298,3 +298,2 @@ }, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -309,2 +308,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -340,3 +340,2 @@ }>>, z.ZodIntersection<z.ZodObject<{ | ||
}, "strip", z.ZodTypeAny, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -351,4 +350,4 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}, { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -363,2 +362,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}>; | ||
@@ -368,3 +368,2 @@ }, "strip", z.ZodTypeAny, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -379,2 +378,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -384,3 +384,2 @@ }, { | ||
payload: { | ||
fee?: string | undefined; | ||
status: import("./transfer").TransferStatus; | ||
@@ -395,2 +394,3 @@ fiatAccountId: string; | ||
amountReceived: string; | ||
fee?: string | undefined; | ||
}; | ||
@@ -397,0 +397,0 @@ }>>, z.ZodIntersection<z.ZodObject<{ |
{ | ||
"name": "@fiatconnect/fiatconnect-types", | ||
"version": "11.1.2", | ||
"version": "11.1.3", | ||
"description": "Types used in the FiatConnect specification. Offered as standalone module for payment providers and wallets to both use for FiatConnect APIs and integrations.", | ||
@@ -30,7 +30,7 @@ "scripts": { | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/eslint-plugin": "^5.54.0", | ||
"@valora/eslint-config-typescript": "^1.0.1", | ||
"@valora/prettier-config": "^0.0.1", | ||
"conventional-changelog-conventionalcommits": "^5.0.0", | ||
"eslint": "^8.34.0", | ||
"eslint": "^8.35.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
@@ -54,4 +54,4 @@ "eslint-plugin-jest": "^27.2.1", | ||
"dependencies": { | ||
"zod": "^3.20.6" | ||
"zod": "^3.21.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171349
3957
Updatedzod@^3.21.0