@cometh/checkout-sdk
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -7,2 +7,6 @@ export type LydiaSettings = { | ||
export type endpoint = 'https://homologation.lydia-app.com' | 'https://lydia-app.com'; | ||
export declare const endpoint: { | ||
readonly HTTPS___HOMOLOGATION_LYDIA_APP_COM: "https://homologation.lydia-app.com"; | ||
readonly HTTPS___LYDIA_APP_COM: "https://lydia-app.com"; | ||
}; | ||
export type StripeSettings = { | ||
@@ -31,2 +35,10 @@ readonly accountId?: string; | ||
export type ValidationStatus = 'TO_COMPLETE' | 'PENDING' | 'VALIDATED'; | ||
/** | ||
* Validation status of a process | ||
*/ | ||
export declare const ValidationStatus: { | ||
readonly TO_COMPLETE: "TO_COMPLETE"; | ||
readonly PENDING: "PENDING"; | ||
readonly VALIDATED: "VALIDATED"; | ||
}; | ||
export type ValidationStatuses = { | ||
@@ -121,2 +133,9 @@ /** | ||
/** | ||
* Currency of product price | ||
*/ | ||
export declare const currency: { | ||
readonly EUR: "EUR"; | ||
readonly GBP: "GBP"; | ||
}; | ||
/** | ||
* The Ethereum address of the user. | ||
@@ -210,3 +229,18 @@ */ | ||
export type status = 'initiated' | 'cashed' | 'relayed' | 'reverted' | 'cancelled' | 'completed'; | ||
/** | ||
* Status of the transaction | ||
*/ | ||
export declare const status: { | ||
readonly INITIATED: "initiated"; | ||
readonly CASHED: "cashed"; | ||
readonly RELAYED: "relayed"; | ||
readonly REVERTED: "reverted"; | ||
readonly CANCELLED: "cancelled"; | ||
readonly COMPLETED: "completed"; | ||
}; | ||
export type pspType = 'Lydia' | 'Stripe'; | ||
export declare const pspType: { | ||
readonly LYDIA: "Lydia"; | ||
readonly STRIPE: "Stripe"; | ||
}; | ||
export type PaginatedTransactions = { | ||
@@ -261,2 +295,8 @@ /** | ||
export type businessType = 'company' | 'government_entity' | 'individual' | 'non_profit'; | ||
export declare const businessType: { | ||
readonly COMPANY: "company"; | ||
readonly GOVERNMENT_ENTITY: "government_entity"; | ||
readonly INDIVIDUAL: "individual"; | ||
readonly NON_PROFIT: "non_profit"; | ||
}; | ||
/** | ||
@@ -266,2 +306,9 @@ * Currency | ||
export type currency2 = 'eur' | 'usd'; | ||
/** | ||
* Currency | ||
*/ | ||
export declare const currency2: { | ||
readonly EUR: "eur"; | ||
readonly USD: "usd"; | ||
}; | ||
export type AdminWhitelistRequest = { | ||
@@ -281,2 +328,10 @@ /** | ||
export type WhitelistStatus = 'TO_REVIEW' | 'VALIDATED' | 'REFUSED'; | ||
/** | ||
* The status of the contract in the whitelist. | ||
*/ | ||
export declare const WhitelistStatus: { | ||
readonly TO_REVIEW: "TO_REVIEW"; | ||
readonly VALIDATED: "VALIDATED"; | ||
readonly REFUSED: "REFUSED"; | ||
}; | ||
export type WhitelistContract = { | ||
@@ -283,0 +338,0 @@ /** |
// This file is auto-generated by @hey-api/openapi-ts | ||
export {}; | ||
export const endpoint = { | ||
HTTPS___HOMOLOGATION_LYDIA_APP_COM: 'https://homologation.lydia-app.com', | ||
HTTPS___LYDIA_APP_COM: 'https://lydia-app.com' | ||
}; | ||
/** | ||
* Validation status of a process | ||
*/ | ||
export const ValidationStatus = { | ||
TO_COMPLETE: 'TO_COMPLETE', | ||
PENDING: 'PENDING', | ||
VALIDATED: 'VALIDATED' | ||
}; | ||
/** | ||
* Currency of product price | ||
*/ | ||
export const currency = { | ||
EUR: 'EUR', | ||
GBP: 'GBP' | ||
}; | ||
/** | ||
* Status of the transaction | ||
*/ | ||
export const status = { | ||
INITIATED: 'initiated', | ||
CASHED: 'cashed', | ||
RELAYED: 'relayed', | ||
REVERTED: 'reverted', | ||
CANCELLED: 'cancelled', | ||
COMPLETED: 'completed' | ||
}; | ||
export const pspType = { | ||
LYDIA: 'Lydia', | ||
STRIPE: 'Stripe' | ||
}; | ||
export const businessType = { | ||
COMPANY: 'company', | ||
GOVERNMENT_ENTITY: 'government_entity', | ||
INDIVIDUAL: 'individual', | ||
NON_PROFIT: 'non_profit' | ||
}; | ||
/** | ||
* Currency | ||
*/ | ||
export const currency2 = { | ||
EUR: 'eur', | ||
USD: 'usd' | ||
}; | ||
/** | ||
* The status of the contract in the whitelist. | ||
*/ | ||
export const WhitelistStatus = { | ||
TO_REVIEW: 'TO_REVIEW', | ||
VALIDATED: 'VALIDATED', | ||
REFUSED: 'REFUSED' | ||
}; |
{ | ||
"name": "@cometh/checkout-sdk", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "SDK to use Cometh Checkout API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -11,2 +11,7 @@ // This file is auto-generated by @hey-api/openapi-ts | ||
export const endpoint = { | ||
HTTPS___HOMOLOGATION_LYDIA_APP_COM: 'https://homologation.lydia-app.com', | ||
HTTPS___LYDIA_APP_COM: 'https://lydia-app.com' | ||
} as const; | ||
export type StripeSettings = { | ||
@@ -39,2 +44,11 @@ readonly accountId?: string; | ||
/** | ||
* Validation status of a process | ||
*/ | ||
export const ValidationStatus = { | ||
TO_COMPLETE: 'TO_COMPLETE', | ||
PENDING: 'PENDING', | ||
VALIDATED: 'VALIDATED' | ||
} as const; | ||
export type ValidationStatuses = { | ||
@@ -138,2 +152,10 @@ /** | ||
/** | ||
* Currency of product price | ||
*/ | ||
export const currency = { | ||
EUR: 'EUR', | ||
GBP: 'GBP' | ||
} as const; | ||
/** | ||
* The Ethereum address of the user. | ||
@@ -235,4 +257,21 @@ */ | ||
/** | ||
* Status of the transaction | ||
*/ | ||
export const status = { | ||
INITIATED: 'initiated', | ||
CASHED: 'cashed', | ||
RELAYED: 'relayed', | ||
REVERTED: 'reverted', | ||
CANCELLED: 'cancelled', | ||
COMPLETED: 'completed' | ||
} as const; | ||
export type pspType = 'Lydia' | 'Stripe'; | ||
export const pspType = { | ||
LYDIA: 'Lydia', | ||
STRIPE: 'Stripe' | ||
} as const; | ||
export type PaginatedTransactions = { | ||
@@ -293,2 +332,9 @@ /** | ||
export const businessType = { | ||
COMPANY: 'company', | ||
GOVERNMENT_ENTITY: 'government_entity', | ||
INDIVIDUAL: 'individual', | ||
NON_PROFIT: 'non_profit' | ||
} as const; | ||
/** | ||
@@ -299,2 +345,10 @@ * Currency | ||
/** | ||
* Currency | ||
*/ | ||
export const currency2 = { | ||
EUR: 'eur', | ||
USD: 'usd' | ||
} as const; | ||
export type AdminWhitelistRequest = { | ||
@@ -316,2 +370,11 @@ /** | ||
/** | ||
* The status of the contract in the whitelist. | ||
*/ | ||
export const WhitelistStatus = { | ||
TO_REVIEW: 'TO_REVIEW', | ||
VALIDATED: 'VALIDATED', | ||
REFUSED: 'REFUSED' | ||
} as const; | ||
export type WhitelistContract = { | ||
@@ -318,0 +381,0 @@ /** |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
215716
6769
1