@chipi-stack/types 11.9.0 → 11.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +11 -19
- package/dist/index.d.ts +11 -19
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -194,35 +194,27 @@ interface GetTransactionsParams {
|
|
|
194
194
|
orgId: string;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
* SKU (Stock Keeping Unit) related types
|
|
199
|
-
*/
|
|
200
|
-
type SkuCategory = 'MOBILE_RECHARGE' | 'UTILITIES' | 'ENTERTAINMENT' | 'GIFT_CARDS' | 'TRANSPORTATION';
|
|
197
|
+
type SkuCategory = 'TELEPEAJE' | 'TELEFONIA' | 'GENERAL' | 'TESORERIA' | 'LUZ' | 'INTERNET' | 'TV' | 'MOVILIDAD' | 'RECARGAS' | 'GIFT_CARDS' | 'GAMING' | 'VENTAS_CATALOGO' | 'DEPORTES' | 'STREAMING';
|
|
201
198
|
interface Sku {
|
|
202
199
|
id: string;
|
|
200
|
+
providerId: string;
|
|
203
201
|
name: string;
|
|
204
202
|
description?: string;
|
|
205
203
|
category: SkuCategory;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
204
|
+
referenceRegexValidation: string;
|
|
205
|
+
referenceLabel: string;
|
|
206
|
+
amountRegexValidation: string;
|
|
207
|
+
amountLabel: string;
|
|
208
|
+
fixedAmount?: number;
|
|
209
|
+
canCheckSkuReference: boolean;
|
|
210
|
+
logoUrl?: string;
|
|
210
211
|
createdAt: Date;
|
|
211
212
|
updatedAt: Date;
|
|
212
213
|
}
|
|
213
|
-
interface
|
|
214
|
-
categories?: SkuCategory[];
|
|
215
|
-
}
|
|
216
|
-
interface GetSkusDto extends PaginationQuery {
|
|
217
|
-
categories?: SkuCategory[];
|
|
218
|
-
}
|
|
219
|
-
interface GetSkusQuery extends PaginationQuery {
|
|
214
|
+
interface GetSkuListQuery extends PaginationQuery {
|
|
220
215
|
provider?: string;
|
|
221
216
|
category?: SkuCategory;
|
|
222
217
|
}
|
|
223
|
-
interface FindSkusResponse {
|
|
224
|
-
skus: Sku[];
|
|
225
|
-
}
|
|
226
218
|
|
|
227
219
|
interface SkuTransaction {
|
|
228
220
|
id: string;
|
|
@@ -331,4 +323,4 @@ type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...a
|
|
|
331
323
|
type ValueOrFunction<T> = T | (() => T);
|
|
332
324
|
type MaybePromise<T> = T | Promise<T>;
|
|
333
325
|
|
|
334
|
-
export { type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type
|
|
326
|
+
export { type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type GetMerchantWalletParams, type GetSkuListQuery, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcHookInputParams, type StakeVesuUsdcParams, type Transaction, type TransferHookInput, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcHookInputParams, type WithdrawVesuUsdcParams, type isInternalChipiDeveloper };
|
package/dist/index.d.ts
CHANGED
|
@@ -194,35 +194,27 @@ interface GetTransactionsParams {
|
|
|
194
194
|
orgId: string;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
* SKU (Stock Keeping Unit) related types
|
|
199
|
-
*/
|
|
200
|
-
type SkuCategory = 'MOBILE_RECHARGE' | 'UTILITIES' | 'ENTERTAINMENT' | 'GIFT_CARDS' | 'TRANSPORTATION';
|
|
197
|
+
type SkuCategory = 'TELEPEAJE' | 'TELEFONIA' | 'GENERAL' | 'TESORERIA' | 'LUZ' | 'INTERNET' | 'TV' | 'MOVILIDAD' | 'RECARGAS' | 'GIFT_CARDS' | 'GAMING' | 'VENTAS_CATALOGO' | 'DEPORTES' | 'STREAMING';
|
|
201
198
|
interface Sku {
|
|
202
199
|
id: string;
|
|
200
|
+
providerId: string;
|
|
203
201
|
name: string;
|
|
204
202
|
description?: string;
|
|
205
203
|
category: SkuCategory;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
204
|
+
referenceRegexValidation: string;
|
|
205
|
+
referenceLabel: string;
|
|
206
|
+
amountRegexValidation: string;
|
|
207
|
+
amountLabel: string;
|
|
208
|
+
fixedAmount?: number;
|
|
209
|
+
canCheckSkuReference: boolean;
|
|
210
|
+
logoUrl?: string;
|
|
210
211
|
createdAt: Date;
|
|
211
212
|
updatedAt: Date;
|
|
212
213
|
}
|
|
213
|
-
interface
|
|
214
|
-
categories?: SkuCategory[];
|
|
215
|
-
}
|
|
216
|
-
interface GetSkusDto extends PaginationQuery {
|
|
217
|
-
categories?: SkuCategory[];
|
|
218
|
-
}
|
|
219
|
-
interface GetSkusQuery extends PaginationQuery {
|
|
214
|
+
interface GetSkuListQuery extends PaginationQuery {
|
|
220
215
|
provider?: string;
|
|
221
216
|
category?: SkuCategory;
|
|
222
217
|
}
|
|
223
|
-
interface FindSkusResponse {
|
|
224
|
-
skus: Sku[];
|
|
225
|
-
}
|
|
226
218
|
|
|
227
219
|
interface SkuTransaction {
|
|
228
220
|
id: string;
|
|
@@ -331,4 +323,4 @@ type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...a
|
|
|
331
323
|
type ValueOrFunction<T> = T | (() => T);
|
|
332
324
|
type MaybePromise<T> = T | Promise<T>;
|
|
333
325
|
|
|
334
|
-
export { type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type
|
|
326
|
+
export { type ApiError, type ApiKey, type ApiResponse, type ApproveHookInput, type ApproveParams, type AsyncReturnType, type AuthContext, type CallAnyContractParams, type Chain, type ChainToken, type ChipiBrowserSDKConfig, type ChipiSDKConfig, type ChipiServerSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type GetMerchantWalletParams, type GetSkuListQuery, type GetTokenBalanceParams, type GetTokenBalanceResponse, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcHookInputParams, type StakeVesuUsdcParams, type Transaction, type TransferHookInput, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcHookInputParams, type WithdrawVesuUsdcParams, type isInternalChipiDeveloper };
|