@onbeam/automation-api-client
Advanced tools
Comparing version 2.0.17 to 2.0.19
@@ -505,2 +505,3 @@ type ApiRequestOptions = { | ||
receiverEntityId?: string; | ||
receiverWalletAddress?: string; | ||
optimistic?: boolean; | ||
@@ -1032,2 +1033,24 @@ sponsor?: boolean; | ||
type MigrateRequestInput = { | ||
profileEntityId: string; | ||
userEntityId: string; | ||
chainId?: number; | ||
}; | ||
type MigrateResponse = { | ||
success: boolean; | ||
}; | ||
declare class MigrationService { | ||
readonly httpRequest: BaseHttpRequest; | ||
constructor(httpRequest: BaseHttpRequest); | ||
/** | ||
* Migrate all the native token, ERC20 tokens and NFTs registered for your game from an Automation API profile to a Player API user | ||
* @param requestBody | ||
* @returns MigrateResponse | ||
* @throws ApiError | ||
*/ | ||
migrateProfileAssets(requestBody: MigrateRequestInput): CancelablePromise<MigrateResponse>; | ||
} | ||
type CommonAddPolicyRequestInput = { | ||
@@ -1614,2 +1637,3 @@ tokenAddress: string; | ||
readonly marketplaceV2: MarketplaceV2Service; | ||
readonly migration: MigrationService; | ||
readonly policy: PolicyService; | ||
@@ -1632,2 +1656,2 @@ readonly profiles: ProfilesService; | ||
export { type AcceptAssetOfferRequestInputV2, Beam, type BuyAssetRequestInputV2, type CancelAssetListingRequestInputV2, type CancelAssetOfferRequestInputV2, type CommonActivityResponse, CommonAddPolicyRequestInput, CommonAddPolicyResponse, type CommonAssetActivityRequestInput, type CommonContractActivityRequestInput, type CommonGetPoliciesResponse, type CommonRemovePolicyResponse, type CommonStatsRequestInput, type CommonStatsResponse, type CommonUserActivityRequestInput, type ConvertTokenRequestInput, CreateAssetOfferRequestInputV2, type CreateOfferResponseV2, type CreateProfileRequestInput, type CreateProfileResponse, type CreateTransactionRequestInputV2, type CreateWebhookForGame, type GenerateLinkCodeRequestInput, type GenerateLinkCodeResponse, type GenerateSignInCodeRequestInput, type GenerateSignInCodeResponse, type GetAllGasUsageResponse, type GetAllProfilesResponse, type GetAssetListingsResponseV2, GetAssetResponseV2, GetAssetsForContractBodyInputV2, type GetAssetsForContractResponseV2, GetAssetsForProfileBodyInputV2, type GetAssetsForProfileResponseV2, type GetChainCurrenciesResponseV2, type GetChainResponse, type GetEstimateResponse, GetGameResponse, type GetGasUsageResponse, GetListedAssetsBodyInputV2, GetPolicyUsageResponse, type GetProfileCurrenciesResponseV2, type GetProfileNativeCurrencyResponseV2, type GetProfileResponse, type GetQuoteResponse, type GetTransactionsResponseV2, type GetWebhooksForGameResponse, type RefreshContractRequestBody, type RefreshTokenRequestBody, RegenerateGameApiKeysResponse, SellAssetRequestInputV2, type SellAssetResponseV2, type TradeTokensRequestInput, TransactionResponse, type TransferAssetRequestInputV2, type TransferNativeTokenRequestInputV2, type TransferTokenRequestInputV2, type UnwrappingTokenInput, type UpdateProfileRequestInput, type UpdateProfileResponse, type WebhookForGameResponse, type WrappingTokenInput, Beam as default }; | ||
export { type AcceptAssetOfferRequestInputV2, Beam, type BuyAssetRequestInputV2, type CancelAssetListingRequestInputV2, type CancelAssetOfferRequestInputV2, type CommonActivityResponse, CommonAddPolicyRequestInput, CommonAddPolicyResponse, type CommonAssetActivityRequestInput, type CommonContractActivityRequestInput, type CommonGetPoliciesResponse, type CommonRemovePolicyResponse, type CommonStatsRequestInput, type CommonStatsResponse, type CommonUserActivityRequestInput, type ConvertTokenRequestInput, CreateAssetOfferRequestInputV2, type CreateOfferResponseV2, type CreateProfileRequestInput, type CreateProfileResponse, type CreateTransactionRequestInputV2, type CreateWebhookForGame, type GenerateLinkCodeRequestInput, type GenerateLinkCodeResponse, type GenerateSignInCodeRequestInput, type GenerateSignInCodeResponse, type GetAllGasUsageResponse, type GetAllProfilesResponse, type GetAssetListingsResponseV2, GetAssetResponseV2, GetAssetsForContractBodyInputV2, type GetAssetsForContractResponseV2, GetAssetsForProfileBodyInputV2, type GetAssetsForProfileResponseV2, type GetChainCurrenciesResponseV2, type GetChainResponse, type GetEstimateResponse, GetGameResponse, type GetGasUsageResponse, GetListedAssetsBodyInputV2, GetPolicyUsageResponse, type GetProfileCurrenciesResponseV2, type GetProfileNativeCurrencyResponseV2, type GetProfileResponse, type GetQuoteResponse, type GetTransactionsResponseV2, type GetWebhooksForGameResponse, type MigrateRequestInput, type MigrateResponse, type RefreshContractRequestBody, type RefreshTokenRequestBody, RegenerateGameApiKeysResponse, SellAssetRequestInputV2, type SellAssetResponseV2, type TradeTokensRequestInput, TransactionResponse, type TransferAssetRequestInputV2, type TransferNativeTokenRequestInputV2, type TransferTokenRequestInputV2, type UnwrappingTokenInput, type UpdateProfileRequestInput, type UpdateProfileResponse, type WebhookForGameResponse, type WrappingTokenInput, Beam as default }; |
@@ -1102,2 +1102,23 @@ var __accessCheck = (obj, member, msg) => { | ||
// src/generated/services/MigrationService.ts | ||
var MigrationService = class { | ||
constructor(httpRequest) { | ||
this.httpRequest = httpRequest; | ||
} | ||
/** | ||
* Migrate all the native token, ERC20 tokens and NFTs registered for your game from an Automation API profile to a Player API user | ||
* @param requestBody | ||
* @returns MigrateResponse | ||
* @throws ApiError | ||
*/ | ||
migrateProfileAssets(requestBody) { | ||
return this.httpRequest.request({ | ||
method: "POST", | ||
url: "/v1/migration/migrate", | ||
body: requestBody, | ||
mediaType: "application/json" | ||
}); | ||
} | ||
}; | ||
// src/generated/services/PolicyService.ts | ||
@@ -1521,2 +1542,3 @@ var PolicyService = class { | ||
this.marketplaceV2 = new MarketplaceV2Service(this.request); | ||
this.migration = new MigrationService(this.request); | ||
this.policy = new PolicyService(this.request); | ||
@@ -1523,0 +1545,0 @@ this.profiles = new ProfilesService(this.request); |
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "2.0.17", | ||
"version": "2.0.19", | ||
"scripts": { | ||
@@ -29,0 +29,0 @@ "generate": "pnpm generate:client && pnpm generate:barrels && pnpm build", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
781592
21592