Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/generated-rq/adyen-checkout/client-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export interface ClientConfig {
basicAuth?:
| { username: string; password: string }
| (() =>
| { username: string; password: string }
| Promise<{ username: string; password: string }>)
{ username: string; password: string } | Promise<{ username: string; password: string }>)
/**
* API key or a function that returns one.
* Sent as header 'X-API-Key' on every request.
Expand Down
100 changes: 17 additions & 83 deletions examples/generated-rq/adyen-checkout/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,26 @@

export interface AccountInfo {
accountAgeIndicator?:
| 'notApplicable'
| 'thisTransaction'
| 'lessThan30Days'
| 'from30To60Days'
| 'moreThan60Days'
'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'
accountChangeDate?: string /* date-time */
accountChangeIndicator?:
| 'thisTransaction'
| 'lessThan30Days'
| 'from30To60Days'
| 'moreThan60Days'
'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'
accountCreationDate?: string /* date-time */
accountType?: 'notApplicable' | 'credit' | 'debit'
addCardAttemptsDay?: number
deliveryAddressUsageDate?: string /* date-time */
deliveryAddressUsageIndicator?:
| 'thisTransaction'
| 'lessThan30Days'
| 'from30To60Days'
| 'moreThan60Days'
'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'
homePhone?: string
mobilePhone?: string
passwordChangeDate?: string /* date-time */
passwordChangeIndicator?:
| 'notApplicable'
| 'thisTransaction'
| 'lessThan30Days'
| 'from30To60Days'
| 'moreThan60Days'
'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'
pastTransactionsDay?: number
pastTransactionsYear?: number
paymentAccountAge?: string /* date-time */
paymentAccountIndicator?:
| 'notApplicable'
| 'thisTransaction'
| 'lessThan30Days'
| 'from30To60Days'
| 'moreThan60Days'
'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'
purchasesLast6Months?: number
suspiciousActivity?: boolean
workPhone?: string
Expand Down Expand Up @@ -1256,11 +1238,7 @@ export interface DonationPaymentRequest {
mpiData?: ThreeDSecureData
origin?: string
paymentMethod?:
| ApplePayDonations
| CardDonations
| GooglePayDonations
| IdealDonations
| PayWithGoogleDonations
ApplePayDonations | CardDonations | GooglePayDonations | IdealDonations | PayWithGoogleDonations
recurringProcessingModel?: 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'
redirectFromIssuerMethod?: string
redirectToIssuerMethod?: string
Expand Down Expand Up @@ -1317,11 +1295,7 @@ export interface EcontextVoucherDetails {
shopperEmail: string
telephoneNumber: string
type:
| 'econtext_seven_eleven'
| 'econtext_online'
| 'econtext'
| 'econtext_stores'
| 'econtext_atm'
'econtext_seven_eleven' | 'econtext_online' | 'econtext' | 'econtext_stores' | 'econtext_atm'
}

export interface EftDetails {
Expand Down Expand Up @@ -1625,14 +1599,7 @@ export interface Mandate {
count?: string
endsAt: string
frequency:
| 'adhoc'
| 'daily'
| 'weekly'
| 'biWeekly'
| 'monthly'
| 'quarterly'
| 'halfYearly'
| 'yearly'
'adhoc' | 'daily' | 'weekly' | 'biWeekly' | 'monthly' | 'quarterly' | 'halfYearly' | 'yearly'
remarks?: string
startsAt?: string
}
Expand Down Expand Up @@ -1672,10 +1639,7 @@ export interface MerchantRiskIndicator {
deliveryEmail?: string
deliveryEmailAddress?: string
deliveryTimeframe?:
| 'electronicDelivery'
| 'sameDayShipping'
| 'overnightShipping'
| 'twoOrMoreDaysShipping'
'electronicDelivery' | 'sameDayShipping' | 'overnightShipping' | 'twoOrMoreDaysShipping'
giftCardAmount?: Amount
giftCardCount?: number
giftCardCurr?: string
Expand Down Expand Up @@ -2054,11 +2018,7 @@ export interface PaymentLinkRequest {
recurringProcessingModel?: 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'
reference: string
requiredShopperFields?:
| 'billingAddress'
| 'deliveryAddress'
| 'shopperEmail'
| 'shopperName'
| 'telephoneNumber'[]
'billingAddress' | 'deliveryAddress' | 'shopperEmail' | 'shopperName' | 'telephoneNumber'[]
returnUrl?: string
reusable?: boolean
riskData?: RiskData
Expand Down Expand Up @@ -2105,11 +2065,7 @@ export interface PaymentLinkResponse {
recurringProcessingModel?: 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'
reference: string
requiredShopperFields?:
| 'billingAddress'
| 'deliveryAddress'
| 'shopperEmail'
| 'shopperName'
| 'telephoneNumber'[]
'billingAddress' | 'deliveryAddress' | 'shopperEmail' | 'shopperName' | 'telephoneNumber'[]
returnUrl?: string
reusable?: boolean
riskData?: RiskData
Expand Down Expand Up @@ -2158,11 +2114,7 @@ export interface PaymentLinkResponseWritable {
recurringProcessingModel?: 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'
reference: string
requiredShopperFields?:
| 'billingAddress'
| 'deliveryAddress'
| 'shopperEmail'
| 'shopperName'
| 'telephoneNumber'[]
'billingAddress' | 'deliveryAddress' | 'shopperEmail' | 'shopperName' | 'telephoneNumber'[]
returnUrl?: string
reusable?: boolean
riskData?: RiskData
Expand Down Expand Up @@ -2574,9 +2526,7 @@ export interface PixRecurring {

export interface PlatformChargebackLogic {
behavior?:
| 'deductFromOneBalanceAccount'
| 'deductAccordingToSplitRatio'
| 'deductFromLiableAccount'
'deductFromOneBalanceAccount' | 'deductAccordingToSplitRatio' | 'deductFromLiableAccount'
costAllocationAccount?: string
targetAccount?: string
}
Expand Down Expand Up @@ -3033,10 +2983,7 @@ export interface ThreeDS2RequestData {
addrMatch?: 'Y' | 'N'
authenticationOnly?: boolean
challengeIndicator?:
| 'noPreference'
| 'requestNoChallenge'
| 'requestChallenge'
| 'requestChallengeAsMandate'
'noPreference' | 'requestNoChallenge' | 'requestChallenge' | 'requestChallengeAsMandate'
deviceChannel: string
deviceRenderOptions?: DeviceRenderOptions
homePhone?: Phone
Expand Down Expand Up @@ -3084,10 +3031,7 @@ export interface ThreeDS2RequestFields {
addrMatch?: 'Y' | 'N'
authenticationOnly?: boolean
challengeIndicator?:
| 'noPreference'
| 'requestNoChallenge'
| 'requestChallenge'
| 'requestChallengeAsMandate'
'noPreference' | 'requestNoChallenge' | 'requestChallenge' | 'requestChallengeAsMandate'
deviceRenderOptions?: DeviceRenderOptions
homePhone?: Phone
mcc?: string
Expand Down Expand Up @@ -3153,10 +3097,7 @@ export interface ThreeDS2Result {
dsTransID?: string
eci?: string
exemptionIndicator?:
| 'lowValue'
| 'secureCorporate'
| 'trustedBeneficiary'
| 'transactionRiskAnalysis'
'lowValue' | 'secureCorporate' | 'trustedBeneficiary' | 'transactionRiskAnalysis'
messageVersion?: string
riskScore?: string
threeDSRequestorChallengeInd?: '01' | '02' | '03' | '04' | '05' | '06'
Expand Down Expand Up @@ -3218,14 +3159,7 @@ export interface TokenMandate {
currency: string
endsAt: string
frequency:
| 'adhoc'
| 'daily'
| 'weekly'
| 'biWeekly'
| 'monthly'
| 'quarterly'
| 'halfYearly'
| 'yearly'
'adhoc' | 'daily' | 'weekly' | 'biWeekly' | 'monthly' | 'quarterly' | 'halfYearly' | 'yearly'
mandateId: string
maskedAccountId?: string
minAmount?: string
Expand Down
3 changes: 1 addition & 2 deletions examples/generated-rq/adyen-legal-entity/client-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export interface ClientConfig {
basicAuth?:
| { username: string; password: string }
| (() =>
| { username: string; password: string }
| Promise<{ username: string; password: string }>)
{ username: string; password: string } | Promise<{ username: string; password: string }>)
/**
* API key or a function that returns one.
* Sent as header 'X-API-Key' on every request.
Expand Down
24 changes: 4 additions & 20 deletions examples/generated-rq/adyen-legal-entity/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,11 +485,7 @@ export interface LegalEntity {
transferInstruments?: TransferInstrumentReference[]
trust?: Trust
type?:
| 'individual'
| 'organization'
| 'soleProprietorship'
| 'trust'
| 'unincorporatedPartnership'
'individual' | 'organization' | 'soleProprietorship' | 'trust' | 'unincorporatedPartnership'
unincorporatedPartnership?: UnincorporatedPartnership
verificationDeadlines?: VerificationDeadline[]
verificationPlan?: string
Expand All @@ -507,11 +503,7 @@ export interface LegalEntityWritable {
soleProprietorship?: SoleProprietorship
trust?: TrustWritable
type?:
| 'individual'
| 'organization'
| 'soleProprietorship'
| 'trust'
| 'unincorporatedPartnership'
'individual' | 'organization' | 'soleProprietorship' | 'trust' | 'unincorporatedPartnership'
unincorporatedPartnership?: UnincorporatedPartnershipWritable
verificationPlan?: string
}
Expand Down Expand Up @@ -598,11 +590,7 @@ export interface LegalEntityInfo {
soleProprietorship?: SoleProprietorship
trust?: Trust
type?:
| 'individual'
| 'organization'
| 'soleProprietorship'
| 'trust'
| 'unincorporatedPartnership'
'individual' | 'organization' | 'soleProprietorship' | 'trust' | 'unincorporatedPartnership'
unincorporatedPartnership?: UnincorporatedPartnership
verificationPlan?: string
}
Expand All @@ -616,11 +604,7 @@ export interface LegalEntityInfoWritable {
soleProprietorship?: SoleProprietorship
trust?: TrustWritable
type?:
| 'individual'
| 'organization'
| 'soleProprietorship'
| 'trust'
| 'unincorporatedPartnership'
'individual' | 'organization' | 'soleProprietorship' | 'trust' | 'unincorporatedPartnership'
unincorporatedPartnership?: UnincorporatedPartnershipWritable
verificationPlan?: string
}
Expand Down
4 changes: 1 addition & 3 deletions examples/generated-rq/openai/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2912,9 +2912,7 @@ export function useDownloadFile(

export function useListFineTuningCheckpointPermissions(
fineTunedModelCheckpoint:
| Parameters<typeof listFineTuningCheckpointPermissions>[0]
| undefined
| null,
Parameters<typeof listFineTuningCheckpointPermissions>[0] | undefined | null,
params?: Parameters<typeof listFineTuningCheckpointPermissions>[1],
options?: Omit<
UseQueryOptions<Awaited<ReturnType<typeof listFineTuningCheckpointPermissions>>, ApiError>,
Expand Down
Loading
Loading