@openfort/openfort-node 0.6.5 → 0.6.8
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/README.md +1 -1
- package/dist/apis/sessionsApiWrapper.js +1 -1
- package/dist/apis/sessionsApiWrapper.js.map +1 -1
- package/dist/apis/transactionIntentsApiWrapper.d.ts +6 -11
- package/dist/apis/transactionIntentsApiWrapper.js +7 -14
- package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
- package/dist/generated/apis/AccountsApi.d.ts +15 -10
- package/dist/generated/apis/AccountsApi.js +15 -10
- package/dist/generated/apis/AccountsApi.js.map +1 -1
- package/dist/generated/apis/AuthenticationApi.d.ts +4 -1
- package/dist/generated/apis/AuthenticationApi.js +4 -1
- package/dist/generated/apis/AuthenticationApi.js.map +1 -1
- package/dist/generated/apis/ConfigAuthenticationApi.d.ts +1 -1
- package/dist/generated/apis/ConfigAuthenticationApi.js +1 -1
- package/dist/generated/apis/ContractsApi.d.ts +16 -12
- package/dist/generated/apis/ContractsApi.js +17 -13
- package/dist/generated/apis/ContractsApi.js.map +1 -1
- package/dist/generated/apis/GoogleAuthenticationApi.d.ts +3 -1
- package/dist/generated/apis/GoogleAuthenticationApi.js +3 -1
- package/dist/generated/apis/GoogleAuthenticationApi.js.map +1 -1
- package/dist/generated/apis/InventoryApi.d.ts +26 -26
- package/dist/generated/apis/InventoryApi.js +30 -30
- package/dist/generated/apis/InventoryApi.js.map +1 -1
- package/dist/generated/apis/PlayersApi.d.ts +51 -17
- package/dist/generated/apis/PlayersApi.js +157 -19
- package/dist/generated/apis/PlayersApi.js.map +1 -1
- package/dist/generated/apis/PlayersAuthenticationApi.d.ts +5 -4
- package/dist/generated/apis/PlayersAuthenticationApi.js +5 -4
- package/dist/generated/apis/PlayersAuthenticationApi.js.map +1 -1
- package/dist/generated/apis/PoliciesApi.d.ts +24 -20
- package/dist/generated/apis/PoliciesApi.js +25 -21
- package/dist/generated/apis/PoliciesApi.js.map +1 -1
- package/dist/generated/apis/PolicyRulesApi.d.ts +11 -11
- package/dist/generated/apis/PolicyRulesApi.js +11 -11
- package/dist/generated/apis/SessionsApi.d.ts +12 -13
- package/dist/generated/apis/SessionsApi.js +12 -17
- package/dist/generated/apis/SessionsApi.js.map +1 -1
- package/dist/generated/apis/TransactionIntentsApi.d.ts +31 -37
- package/dist/generated/apis/TransactionIntentsApi.js +71 -106
- package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
- package/dist/generated/models/Account.d.ts +3 -0
- package/dist/generated/models/Account.js +1 -1
- package/dist/generated/models/Account.js.map +1 -1
- package/dist/generated/models/AccountInventoryListQueries.d.ts +6 -0
- package/dist/generated/models/AccountInventoryListQueries.js.map +1 -1
- package/dist/generated/models/AccountListQueries.d.ts +12 -0
- package/dist/generated/models/AccountListQueries.js.map +1 -1
- package/dist/generated/models/AccountResponse.d.ts +3 -0
- package/dist/generated/models/AccountResponse.js +1 -1
- package/dist/generated/models/AccountResponse.js.map +1 -1
- package/dist/generated/models/AuthPlayerListQueries.d.ts +9 -0
- package/dist/generated/models/AuthPlayerListQueries.js.map +1 -1
- package/dist/generated/models/CheckoutRequest.d.ts +1 -1
- package/dist/generated/models/ContractListQueries.d.ts +18 -0
- package/dist/generated/models/ContractListQueries.js +1 -1
- package/dist/generated/models/ContractListQueries.js.map +1 -1
- package/dist/generated/models/ContractPolicyRuleResponseContract.d.ts +3 -0
- package/dist/generated/models/ContractPolicyRuleResponseContract.js +1 -1
- package/dist/generated/models/ContractPolicyRuleResponseContract.js.map +1 -1
- package/dist/generated/models/ContractResponse.d.ts +3 -0
- package/dist/generated/models/ContractResponse.js +1 -1
- package/dist/generated/models/ContractResponse.js.map +1 -1
- package/dist/generated/models/CreateAccountRequest.js +1 -1
- package/dist/generated/models/CreateAccountRequest.js.map +1 -1
- package/dist/generated/models/CreateContractRequest.d.ts +15 -0
- package/dist/generated/models/CreateContractRequest.js.map +1 -1
- package/dist/generated/models/CreatePlayerAccountRequest.js +1 -1
- package/dist/generated/models/CreatePlayerAccountRequest.js.map +1 -1
- package/dist/generated/models/CreatePlayerRequest.d.ts +6 -0
- package/dist/generated/models/CreatePlayerRequest.js.map +1 -1
- package/dist/generated/models/CreatePlayerSessionRequest.d.ts +27 -0
- package/dist/generated/models/CreatePlayerSessionRequest.js.map +1 -1
- package/dist/generated/models/CreatePolicyAllowFunctionRequest.d.ts +15 -0
- package/dist/generated/models/CreatePolicyAllowFunctionRequest.js.map +1 -1
- package/dist/generated/models/CreatePolicyRequest.d.ts +6 -0
- package/dist/generated/models/CreatePolicyRequest.js +1 -1
- package/dist/generated/models/CreatePolicyRequest.js.map +1 -1
- package/dist/generated/models/CreatePolicyRuleRequest.d.ts +18 -0
- package/dist/generated/models/CreatePolicyRuleRequest.js.map +1 -1
- package/dist/generated/models/CreateProjectRequest.d.ts +30 -0
- package/dist/generated/models/{ProjectRequest.js → CreateProjectRequest.js} +8 -8
- package/dist/generated/models/CreateProjectRequest.js.map +1 -0
- package/dist/generated/models/CreateSessionRequest.d.ts +30 -0
- package/dist/generated/models/CreateSessionRequest.js.map +1 -1
- package/dist/generated/models/CreateTransactionIntentRequest.d.ts +19 -0
- package/dist/generated/models/CreateTransactionIntentRequest.js +6 -0
- package/dist/generated/models/CreateTransactionIntentRequest.js.map +1 -1
- package/dist/generated/models/DomainData.d.ts +3 -0
- package/dist/generated/models/DomainData.js +1 -1
- package/dist/generated/models/DomainData.js.map +1 -1
- package/dist/generated/models/EstimateTransactionIntentGasResult.d.ts +58 -0
- package/dist/generated/models/EstimateTransactionIntentGasResult.js +71 -0
- package/dist/generated/models/EstimateTransactionIntentGasResult.js.map +1 -0
- package/dist/generated/models/GasReport.d.ts +2 -1
- package/dist/generated/models/GasReport.js +1 -1
- package/dist/generated/models/GasReport.js.map +1 -1
- package/dist/generated/models/GasReportDataInner.d.ts +35 -0
- package/dist/generated/models/GasReportDataInner.js +62 -0
- package/dist/generated/models/GasReportDataInner.js.map +1 -0
- package/dist/generated/models/{MemberResponse.d.ts → GasReportDataInnerPeriod.d.ts} +3 -3
- package/dist/generated/models/GasReportDataInnerPeriod.js +38 -0
- package/dist/generated/models/GasReportDataInnerPeriod.js.map +1 -0
- package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.d.ts +32 -0
- package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js +56 -0
- package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js.map +1 -0
- package/dist/generated/models/Interaction.d.ts +15 -0
- package/dist/generated/models/Interaction.js.map +1 -1
- package/dist/generated/models/Log.d.ts +1 -0
- package/dist/generated/models/Log.js +6 -0
- package/dist/generated/models/Log.js.map +1 -1
- package/dist/generated/models/LoginRequest.d.ts +6 -0
- package/dist/generated/models/LoginRequest.js.map +1 -1
- package/dist/generated/models/Money.d.ts +1 -1
- package/dist/generated/models/ObjectSerializer.d.ts +13 -5
- package/dist/generated/models/ObjectSerializer.js +37 -13
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PlayerCancelTransferOwnershipRequest.js +1 -1
- package/dist/generated/models/PlayerCancelTransferOwnershipRequest.js.map +1 -1
- package/dist/generated/models/PlayerInventoryListQueries.d.ts +12 -0
- package/dist/generated/models/PlayerInventoryListQueries.js +1 -1
- package/dist/generated/models/PlayerInventoryListQueries.js.map +1 -1
- package/dist/generated/models/PlayerInventoryQueries.d.ts +31 -0
- package/dist/generated/models/PlayerInventoryQueries.js +32 -0
- package/dist/generated/models/PlayerInventoryQueries.js.map +1 -0
- package/dist/generated/models/PlayerListQueries.d.ts +12 -0
- package/dist/generated/models/PlayerListQueries.js.map +1 -1
- package/dist/generated/models/PlayerRequest.d.ts +6 -0
- package/dist/generated/models/PlayerRequest.js.map +1 -1
- package/dist/generated/models/PlayerResponseAccountsInner.d.ts +3 -0
- package/dist/generated/models/PlayerResponseAccountsInner.js +1 -1
- package/dist/generated/models/PlayerResponseAccountsInner.js.map +1 -1
- package/dist/generated/models/PlayerResponseTransactionIntentsInner.d.ts +9 -0
- package/dist/generated/models/PlayerResponseTransactionIntentsInner.js +1 -1
- package/dist/generated/models/PlayerResponseTransactionIntentsInner.js.map +1 -1
- package/dist/generated/models/PlayerTransferOwnershipRequest.js +1 -1
- package/dist/generated/models/PlayerTransferOwnershipRequest.js.map +1 -1
- package/dist/generated/models/Policy.d.ts +3 -0
- package/dist/generated/models/Policy.js +1 -1
- package/dist/generated/models/Policy.js.map +1 -1
- package/dist/generated/models/PolicyListQueries.d.ts +18 -0
- package/dist/generated/models/PolicyListQueries.js +1 -1
- package/dist/generated/models/PolicyListQueries.js.map +1 -1
- package/dist/generated/models/PolicyResponse.d.ts +3 -0
- package/dist/generated/models/PolicyResponse.js +1 -1
- package/dist/generated/models/PolicyResponse.js.map +1 -1
- package/dist/generated/models/PolicyRuleListQueries.d.ts +12 -0
- package/dist/generated/models/PolicyRuleListQueries.js.map +1 -1
- package/dist/generated/models/PolicyStrategyRequest.d.ts +6 -0
- package/dist/generated/models/PolicyStrategyRequest.js.map +1 -1
- package/dist/generated/models/{PKPolicy.d.ts → PrivateKeyPolicy.d.ts} +1 -1
- package/dist/generated/models/{PKPolicy.js → PrivateKeyPolicy.js} +1 -1
- package/dist/generated/models/PrivateKeyPolicy.js.map +1 -0
- package/dist/generated/models/ProjectResponse.d.ts +1 -0
- package/dist/generated/models/ProjectResponse.js +6 -0
- package/dist/generated/models/ProjectResponse.js.map +1 -1
- package/dist/generated/models/ProjectWebhookRequest.d.ts +29 -0
- package/dist/generated/models/ProjectWebhookRequest.js +38 -0
- package/dist/generated/models/ProjectWebhookRequest.js.map +1 -0
- package/dist/generated/models/ProviderRequest.d.ts +9 -0
- package/dist/generated/models/ProviderRequest.js.map +1 -1
- package/dist/generated/models/ResponseResponse.d.ts +27 -0
- package/dist/generated/models/ResponseResponse.js +1 -1
- package/dist/generated/models/ResponseResponse.js.map +1 -1
- package/dist/generated/models/RevokeSessionPlayerRequest.d.ts +12 -0
- package/dist/generated/models/RevokeSessionPlayerRequest.js +1 -1
- package/dist/generated/models/RevokeSessionPlayerRequest.js.map +1 -1
- package/dist/generated/models/RevokeSessionRequest.d.ts +15 -0
- package/dist/generated/models/RevokeSessionRequest.js +1 -1
- package/dist/generated/models/RevokeSessionRequest.js.map +1 -1
- package/dist/generated/models/SessionListQueries.d.ts +12 -1
- package/dist/generated/models/SessionListQueries.js +0 -6
- package/dist/generated/models/SessionListQueries.js.map +1 -1
- package/dist/generated/models/SignatureRequest.d.ts +6 -0
- package/dist/generated/models/SignatureRequest.js.map +1 -1
- package/dist/generated/models/SignupRequest.d.ts +12 -0
- package/dist/generated/models/SignupRequest.js.map +1 -1
- package/dist/generated/models/TransactionIntent.d.ts +9 -0
- package/dist/generated/models/TransactionIntent.js +1 -1
- package/dist/generated/models/TransactionIntent.js.map +1 -1
- package/dist/generated/models/TransactionIntentListQueries.d.ts +21 -0
- package/dist/generated/models/TransactionIntentListQueries.js +1 -1
- package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
- package/dist/generated/models/TransactionIntentResponse.d.ts +11 -2
- package/dist/generated/models/TransactionIntentResponse.js +2 -2
- package/dist/generated/models/TransactionIntentResponse.js.map +1 -1
- package/dist/generated/models/TransactionIntentResponseAccount.d.ts +46 -0
- package/dist/generated/models/TransactionIntentResponseAccount.js +95 -0
- package/dist/generated/models/TransactionIntentResponseAccount.js.map +1 -0
- package/dist/generated/models/TransactionIntentResponsePlayer.d.ts +3 -0
- package/dist/generated/models/TransactionIntentResponsePlayer.js +3 -0
- package/dist/generated/models/TransactionIntentResponsePlayer.js.map +1 -1
- package/dist/generated/models/TransactionIntentResponsePolicy.d.ts +6 -0
- package/dist/generated/models/TransactionIntentResponsePolicy.js +4 -1
- package/dist/generated/models/TransactionIntentResponsePolicy.js.map +1 -1
- package/dist/generated/models/UpdateContractRequest.d.ts +18 -0
- package/dist/generated/models/UpdateContractRequest.js +1 -1
- package/dist/generated/models/UpdateContractRequest.js.map +1 -1
- package/dist/generated/models/UpdatePolicyRequest.d.ts +9 -0
- package/dist/generated/models/UpdatePolicyRequest.js +1 -1
- package/dist/generated/models/UpdatePolicyRequest.js.map +1 -1
- package/dist/generated/models/UpdatePolicyRuleRequest.d.ts +15 -0
- package/dist/generated/models/UpdatePolicyRuleRequest.js.map +1 -1
- package/dist/generated/models/{ProjectRequest.d.ts → UpdateProjectRequest.d.ts} +1 -3
- package/dist/generated/models/{MemberResponse.js → UpdateProjectRequest.js} +10 -10
- package/dist/generated/models/UpdateProjectRequest.js.map +1 -0
- package/dist/generated/models/{MembersResponse.d.ts → UserListResponse.d.ts} +3 -3
- package/dist/generated/models/{MembersResponse.js → UserListResponse.js} +8 -8
- package/dist/generated/models/UserListResponse.js.map +1 -0
- package/dist/generated/models/{ProjectRole.d.ts → UserProjectRole.d.ts} +1 -1
- package/dist/generated/models/{ProjectRole.js → UserProjectRole.js} +1 -1
- package/dist/generated/models/UserProjectRole.js.map +1 -0
- package/dist/generated/models/UserResponse.d.ts +37 -0
- package/dist/generated/models/UserResponse.js +74 -0
- package/dist/generated/models/UserResponse.js.map +1 -0
- package/dist/generated/models/all.d.ts +13 -5
- package/dist/generated/models/all.js +13 -5
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +208 -152
- package/dist/generated/types/ObjectParamAPI.js +90 -53
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +175 -137
- package/dist/generated/types/ObservableAPI.js +216 -164
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +175 -137
- package/dist/generated/types/PromiseAPI.js +184 -144
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/models/index.d.ts +1 -2
- package/dist/models/index.js +0 -2
- package/dist/models/index.js.map +1 -1
- package/dist/models/updateProjectRequest.d.ts +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/generated/models/MemberResponse.js.map +0 -1
- package/dist/generated/models/MembersResponse.js.map +0 -1
- package/dist/generated/models/PKPolicy.js.map +0 -1
- package/dist/generated/models/ProjectRequest.js.map +0 -1
- package/dist/generated/models/ProjectRole.js.map +0 -1
- package/dist/models/updateTransactionIntentRequest.d.ts +0 -3
- package/dist/models/updateTransactionIntentRequest.js +0 -3
- package/dist/models/updateTransactionIntentRequest.js.map +0 -1
|
@@ -19,6 +19,7 @@ import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
|
19
19
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
20
20
|
import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
21
21
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
22
|
+
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
22
23
|
import { GasReport } from '../models/GasReport';
|
|
23
24
|
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
24
25
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
@@ -63,7 +64,8 @@ export declare class PromiseAccountsApi {
|
|
|
63
64
|
private api;
|
|
64
65
|
constructor(configuration: Configuration, requestFactory?: AccountsApiRequestFactory, responseProcessor?: AccountsApiResponseProcessor);
|
|
65
66
|
/**
|
|
66
|
-
*
|
|
67
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
68
|
+
* Cancel request of ownership transfer of an account.
|
|
67
69
|
* @param id Specifies the unique account ID.
|
|
68
70
|
* @param cancelTransferOwnershipRequest
|
|
69
71
|
*/
|
|
@@ -75,27 +77,31 @@ export declare class PromiseAccountsApi {
|
|
|
75
77
|
*/
|
|
76
78
|
completeRecovery(id: string, completeRecoveryRequest: CompleteRecoveryRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
77
79
|
/**
|
|
78
|
-
*
|
|
80
|
+
* This endpoint allows you to add a new account to your Openfort player. Only one account can be active per chain per player.
|
|
81
|
+
* Create an account object.
|
|
79
82
|
* @param createAccountRequest
|
|
80
83
|
*/
|
|
81
84
|
createAccount(createAccountRequest: CreateAccountRequest, _options?: Configuration): Promise<AccountResponse>;
|
|
82
85
|
/**
|
|
83
86
|
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
87
|
+
* Get existing account.
|
|
84
88
|
* @param id Specifies the unique account ID.
|
|
85
|
-
* @param expand
|
|
89
|
+
* @param expand
|
|
86
90
|
*/
|
|
87
91
|
getAccount(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Promise<AccountResponse>;
|
|
88
92
|
/**
|
|
89
|
-
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
90
|
-
*
|
|
91
|
-
* @param
|
|
92
|
-
* @param
|
|
93
|
-
* @param
|
|
94
|
-
* @param
|
|
93
|
+
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of ten accounts are shown per page.
|
|
94
|
+
* List accounts of a player.
|
|
95
|
+
* @param player Specifies the unique player ID
|
|
96
|
+
* @param limit Specifies the maximum number of records to return.
|
|
97
|
+
* @param skip Specifies the offset for the first records to return.
|
|
98
|
+
* @param order Specifies the order in which to sort the results.
|
|
99
|
+
* @param expand Specifies the fields to expand in the response.
|
|
95
100
|
*/
|
|
96
101
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Promise<AccountListResponse>;
|
|
97
102
|
/**
|
|
98
|
-
*
|
|
103
|
+
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
104
|
+
* Request ownership transfer of an account.
|
|
99
105
|
* @param id Specifies the unique account ID.
|
|
100
106
|
* @param transferOwnershipRequest
|
|
101
107
|
*/
|
|
@@ -123,15 +129,18 @@ export declare class PromiseAuthenticationApi {
|
|
|
123
129
|
private api;
|
|
124
130
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
125
131
|
/**
|
|
132
|
+
* Login a player.
|
|
126
133
|
* @param loginRequest
|
|
127
134
|
*/
|
|
128
135
|
login(loginRequest: LoginRequest, _options?: Configuration): Promise<AuthResponse>;
|
|
129
136
|
/**
|
|
137
|
+
* Sign up a player.
|
|
130
138
|
* @param signupRequest
|
|
131
139
|
*/
|
|
132
140
|
signup(signupRequest: SignupRequest, _options?: Configuration): Promise<AuthResponse>;
|
|
133
141
|
/**
|
|
134
|
-
*
|
|
142
|
+
* Verify an auth token.
|
|
143
|
+
* @param token Specifies the auth token.
|
|
135
144
|
*/
|
|
136
145
|
verifyAuthToken(token: string, _options?: Configuration): Promise<PlayerResponse>;
|
|
137
146
|
}
|
|
@@ -140,7 +149,7 @@ export declare class PromiseConfigAuthenticationApi {
|
|
|
140
149
|
private api;
|
|
141
150
|
constructor(configuration: Configuration, requestFactory?: ConfigAuthenticationApiRequestFactory, responseProcessor?: ConfigAuthenticationApiResponseProcessor);
|
|
142
151
|
/**
|
|
143
|
-
* Google
|
|
152
|
+
* Configure Google OAuth2.
|
|
144
153
|
* @param providerRequest
|
|
145
154
|
*/
|
|
146
155
|
editProvider(providerRequest: ProviderRequest, _options?: Configuration): Promise<ProjectResponse>;
|
|
@@ -150,34 +159,38 @@ export declare class PromiseContractsApi {
|
|
|
150
159
|
private api;
|
|
151
160
|
constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
|
|
152
161
|
/**
|
|
153
|
-
*
|
|
162
|
+
* Add a new contract to your project in Openfort
|
|
163
|
+
* Create contract object.
|
|
154
164
|
* @param createContractRequest
|
|
155
165
|
*/
|
|
156
166
|
createContract(createContractRequest: CreateContractRequest, _options?: Configuration): Promise<ContractResponse>;
|
|
157
167
|
/**
|
|
168
|
+
* Delete a contract from the project by providing its contract id.
|
|
158
169
|
* Deletes a contract object.
|
|
159
|
-
* @param id
|
|
170
|
+
* @param id Specifies the unique contract ID.
|
|
160
171
|
*/
|
|
161
172
|
deleteContract(id: string, _options?: Configuration): Promise<ContractDeleteResponse>;
|
|
162
173
|
/**
|
|
163
|
-
*
|
|
174
|
+
* Retrieve a contract by providing their contract id.
|
|
175
|
+
* Get a contract.
|
|
164
176
|
* @param id Specifies the unique contract ID.
|
|
165
177
|
*/
|
|
166
178
|
getContract(id: string, _options?: Configuration): Promise<ContractResponse>;
|
|
167
179
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* @param
|
|
171
|
-
* @param
|
|
172
|
-
* @param
|
|
173
|
-
* @param
|
|
174
|
-
* @param
|
|
175
|
-
* @param
|
|
180
|
+
* List of all contracts per project. By default, a maximum of ten contracts are shown.
|
|
181
|
+
* List contracts.
|
|
182
|
+
* @param limit Specifies the maximum number of records to return.
|
|
183
|
+
* @param skip Specifies the offset for the first records to return.
|
|
184
|
+
* @param order Specifies the order in which to sort the results.
|
|
185
|
+
* @param name Specifies the name of the contract.
|
|
186
|
+
* @param deleted Specifies whether to include deleted contracts.
|
|
187
|
+
* @param chainId The chain ID of the contract.
|
|
188
|
+
* @param address Specifies the address of the contract.
|
|
176
189
|
*/
|
|
177
190
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, _options?: Configuration): Promise<ContractListResponse>;
|
|
178
191
|
/**
|
|
179
192
|
* Updates a contract object.
|
|
180
|
-
* @param id
|
|
193
|
+
* @param id Specifies the unique contract ID.
|
|
181
194
|
* @param updateContractRequest
|
|
182
195
|
*/
|
|
183
196
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Promise<ContractResponse>;
|
|
@@ -187,10 +200,12 @@ export declare class PromiseGoogleAuthenticationApi {
|
|
|
187
200
|
private api;
|
|
188
201
|
constructor(configuration: Configuration, requestFactory?: GoogleAuthenticationApiRequestFactory, responseProcessor?: GoogleAuthenticationApiResponseProcessor);
|
|
189
202
|
/**
|
|
203
|
+
* Get the google oauth signin url.
|
|
190
204
|
*/
|
|
191
205
|
getSigninUrl(_options?: Configuration): Promise<GetSigninUrlResponse>;
|
|
192
206
|
/**
|
|
193
|
-
*
|
|
207
|
+
* Get the google oauth token.
|
|
208
|
+
* @param key Specifies the oauth key.
|
|
194
209
|
*/
|
|
195
210
|
getToken(key: string, _options?: Configuration): Promise<AuthResponse>;
|
|
196
211
|
}
|
|
@@ -199,63 +214,63 @@ export declare class PromiseInventoryApi {
|
|
|
199
214
|
private api;
|
|
200
215
|
constructor(configuration: Configuration, requestFactory?: InventoryApiRequestFactory, responseProcessor?: InventoryApiResponseProcessor);
|
|
201
216
|
/**
|
|
202
|
-
* Retrieves the cryptocurrency assets of an existing account.
|
|
217
|
+
* Retrieves the cryptocurrency assets of an existing account.
|
|
203
218
|
* @param id Specifies the unique account ID.
|
|
204
|
-
* @param limit
|
|
205
|
-
* @param skip
|
|
206
|
-
* @param order
|
|
219
|
+
* @param limit Specifies the maximum number of records to return.
|
|
220
|
+
* @param skip Specifies the offset for the first records to return.
|
|
221
|
+
* @param order Specifies the order in which to sort the results.
|
|
207
222
|
* @param contractId
|
|
208
223
|
*/
|
|
209
224
|
getAccountCryptoCurrencyInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
210
225
|
/**
|
|
211
|
-
*
|
|
226
|
+
* Get inventory of account.
|
|
212
227
|
* @param id Specifies the unique account ID.
|
|
213
228
|
*/
|
|
214
229
|
getAccountInventory(id: string, _options?: Configuration): Promise<ObsoleteInventoryResponse>;
|
|
215
230
|
/**
|
|
216
|
-
* Retrieves the native asset of an existing account.
|
|
231
|
+
* Retrieves the native asset of an existing account.
|
|
217
232
|
* @param id Specifies the unique account ID.
|
|
218
233
|
*/
|
|
219
234
|
getAccountNativeInventory(id: string, _options?: Configuration): Promise<InventoryResponse>;
|
|
220
235
|
/**
|
|
221
|
-
* Retrieves the NFT assets of an existing account.
|
|
236
|
+
* Retrieves the NFT assets of an existing account.
|
|
222
237
|
* @param id Specifies the unique account ID.
|
|
223
|
-
* @param limit
|
|
224
|
-
* @param skip
|
|
225
|
-
* @param order
|
|
238
|
+
* @param limit Specifies the maximum number of records to return.
|
|
239
|
+
* @param skip Specifies the offset for the first records to return.
|
|
240
|
+
* @param order Specifies the order in which to sort the results.
|
|
226
241
|
* @param contractId
|
|
227
242
|
*/
|
|
228
243
|
getAccountNftInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
229
244
|
/**
|
|
230
|
-
*
|
|
245
|
+
* Get cryptocurrency list of player.
|
|
231
246
|
* @param id Specifies the unique player ID.
|
|
232
|
-
* @param chainId
|
|
233
|
-
* @param limit
|
|
234
|
-
* @param skip
|
|
235
|
-
* @param order
|
|
236
|
-
* @param contractId
|
|
247
|
+
* @param chainId Filter by chain id.
|
|
248
|
+
* @param limit Specifies the maximum number of records to return.
|
|
249
|
+
* @param skip Specifies the offset for the first records to return.
|
|
250
|
+
* @param order Specifies the order in which to sort the results.
|
|
251
|
+
* @param contractId Filter by contract ID.
|
|
237
252
|
*/
|
|
238
253
|
getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
239
254
|
/**
|
|
240
|
-
*
|
|
255
|
+
* Get inventory of player.
|
|
241
256
|
* @param id Specifies the unique player ID.
|
|
242
|
-
* @param chainId
|
|
257
|
+
* @param chainId Filter by chain id.
|
|
243
258
|
*/
|
|
244
259
|
getPlayerInventory(id: string, chainId: number, _options?: Configuration): Promise<ObsoleteInventoryResponse>;
|
|
245
260
|
/**
|
|
246
|
-
*
|
|
261
|
+
* Get native token list of player.
|
|
247
262
|
* @param id Specifies the unique player ID.
|
|
248
|
-
* @param chainId
|
|
263
|
+
* @param chainId Filter by chain id.
|
|
249
264
|
*/
|
|
250
265
|
getPlayerNativeInventory(id: string, chainId: number, _options?: Configuration): Promise<InventoryResponse>;
|
|
251
266
|
/**
|
|
252
|
-
*
|
|
267
|
+
* Get NFTs list of player.
|
|
253
268
|
* @param id Specifies the unique player ID.
|
|
254
|
-
* @param chainId
|
|
255
|
-
* @param limit
|
|
256
|
-
* @param skip
|
|
257
|
-
* @param order
|
|
258
|
-
* @param contractId
|
|
269
|
+
* @param chainId Filter by chain id.
|
|
270
|
+
* @param limit Specifies the maximum number of records to return.
|
|
271
|
+
* @param skip Specifies the offset for the first records to return.
|
|
272
|
+
* @param order Specifies the order in which to sort the results.
|
|
273
|
+
* @param contractId Filter by contract ID.
|
|
259
274
|
*/
|
|
260
275
|
getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
261
276
|
}
|
|
@@ -264,57 +279,75 @@ export declare class PromisePlayersApi {
|
|
|
264
279
|
private api;
|
|
265
280
|
constructor(configuration: Configuration, requestFactory?: PlayersApiRequestFactory, responseProcessor?: PlayersApiResponseProcessor);
|
|
266
281
|
/**
|
|
267
|
-
*
|
|
282
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
283
|
+
* Cancel request to transfer ownership of an account.
|
|
268
284
|
* @param id
|
|
269
285
|
* @param playerCancelTransferOwnershipRequest
|
|
270
286
|
*/
|
|
271
287
|
cancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
272
288
|
/**
|
|
273
|
-
*
|
|
289
|
+
* Add a new player to your player list in Openfort.
|
|
290
|
+
* Create a player object.
|
|
274
291
|
* @param createPlayerRequest
|
|
275
292
|
*/
|
|
276
293
|
createPlayer(createPlayerRequest: CreatePlayerRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
277
294
|
/**
|
|
278
|
-
*
|
|
295
|
+
* Create account object for a player.
|
|
279
296
|
* @param id Specifies the unique player ID.
|
|
280
297
|
* @param createPlayerAccountRequest
|
|
281
298
|
*/
|
|
282
299
|
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, _options?: Configuration): Promise<AccountResponse>;
|
|
283
300
|
/**
|
|
284
|
-
*
|
|
301
|
+
* Create session object for a player.
|
|
285
302
|
* @param id Specifies the unique player ID.
|
|
286
303
|
* @param createPlayerSessionRequest
|
|
287
304
|
*/
|
|
288
305
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, _options?: Configuration): Promise<SessionResponse>;
|
|
289
306
|
/**
|
|
290
|
-
* Retrieves the details of an existing player.
|
|
307
|
+
* Retrieves the details of an existing player.
|
|
291
308
|
* @param id Specifies the unique player ID.
|
|
292
|
-
* @param expand
|
|
309
|
+
* @param expand Specifies the expandable fields.
|
|
293
310
|
*/
|
|
294
311
|
getPlayer(id: string, expand?: Array<PlayerResponseExpandable>, _options?: Configuration): Promise<PlayerResponse>;
|
|
295
312
|
/**
|
|
296
|
-
*
|
|
297
|
-
* @param id
|
|
298
|
-
* @param expand
|
|
313
|
+
* List of accounts of a player.
|
|
314
|
+
* @param id Specifies the unique player ID.
|
|
315
|
+
* @param expand Specifies the expandable fields.
|
|
299
316
|
*/
|
|
300
317
|
getPlayerAccounts(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Promise<AccountListResponse>;
|
|
301
318
|
/**
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
* @param
|
|
305
|
-
* @param
|
|
306
|
-
* @param
|
|
307
|
-
* @param
|
|
319
|
+
* By default, a maximum of ten players are shown.
|
|
320
|
+
* List players.
|
|
321
|
+
* @param limit Specifies the maximum number of records to return.
|
|
322
|
+
* @param skip Specifies the offset for the first records to return.
|
|
323
|
+
* @param order Specifies the order in which to sort the results.
|
|
324
|
+
* @param expand Specifies the fields to expand in the response.
|
|
325
|
+
* @param name Filter by player name.
|
|
308
326
|
*/
|
|
309
327
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, _options?: Configuration): Promise<PlayerListResponse>;
|
|
310
328
|
/**
|
|
311
|
-
*
|
|
329
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
330
|
+
* Cancel request to transfer ownership of an account.
|
|
331
|
+
* @param id
|
|
332
|
+
* @param playerCancelTransferOwnershipRequest
|
|
333
|
+
*/
|
|
334
|
+
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
337
|
+
* Request transfer ownership of account.
|
|
338
|
+
* @param id Specifies the unique player ID.
|
|
339
|
+
* @param playerTransferOwnershipRequest
|
|
340
|
+
*/
|
|
341
|
+
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
342
|
+
/**
|
|
343
|
+
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
344
|
+
* Request transfer ownership of account.
|
|
312
345
|
* @param id Specifies the unique player ID.
|
|
313
346
|
* @param playerTransferOwnershipRequest
|
|
314
347
|
*/
|
|
315
348
|
requestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
316
349
|
/**
|
|
317
|
-
*
|
|
350
|
+
* Revoke session object for a player.
|
|
318
351
|
* @param id Specifies the unique player ID.
|
|
319
352
|
* @param revokeSessionPlayerRequest
|
|
320
353
|
*/
|
|
@@ -331,10 +364,11 @@ export declare class PromisePlayersAuthenticationApi {
|
|
|
331
364
|
private api;
|
|
332
365
|
constructor(configuration: Configuration, requestFactory?: PlayersAuthenticationApiRequestFactory, responseProcessor?: PlayersAuthenticationApiResponseProcessor);
|
|
333
366
|
/**
|
|
334
|
-
*
|
|
335
|
-
* @param
|
|
336
|
-
* @param
|
|
337
|
-
* @param
|
|
367
|
+
* List authenticated players.
|
|
368
|
+
* @param limit Specifies the maximum number of records to return.
|
|
369
|
+
* @param skip Specifies the offset for the first records to return.
|
|
370
|
+
* @param order Specifies the order in which to sort the results.
|
|
371
|
+
* @param email Specifies the email address of the user.
|
|
338
372
|
*/
|
|
339
373
|
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, _options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
340
374
|
}
|
|
@@ -343,53 +377,57 @@ export declare class PromisePoliciesApi {
|
|
|
343
377
|
private api;
|
|
344
378
|
constructor(configuration: Configuration, requestFactory?: PoliciesApiRequestFactory, responseProcessor?: PoliciesApiResponseProcessor);
|
|
345
379
|
/**
|
|
346
|
-
*
|
|
380
|
+
* Create a policy object.
|
|
347
381
|
* @param createPolicyRequest
|
|
348
382
|
*/
|
|
349
383
|
createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Promise<PolicyResponse>;
|
|
350
384
|
/**
|
|
351
|
-
*
|
|
385
|
+
* Create a policy rule object for a policy.
|
|
386
|
+
* @param id Specifies the unique policy ID.
|
|
352
387
|
* @param createPolicyAllowFunctionRequest
|
|
353
388
|
*/
|
|
354
389
|
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
|
|
355
390
|
/**
|
|
356
|
-
*
|
|
357
|
-
* @param id
|
|
391
|
+
* Delete a policy object.
|
|
392
|
+
* @param id Specifies the unique policy ID.
|
|
358
393
|
*/
|
|
359
394
|
deletePolicy(id: string, _options?: Configuration): Promise<PolicyDeleteResponse>;
|
|
360
395
|
/**
|
|
361
|
-
*
|
|
362
|
-
* @param limit
|
|
363
|
-
* @param skip
|
|
364
|
-
* @param order
|
|
365
|
-
* @param expand
|
|
366
|
-
* @param name
|
|
367
|
-
* @param deleted
|
|
368
|
-
* @param chainId
|
|
396
|
+
* List policies.
|
|
397
|
+
* @param limit Specifies the maximum number of records to return.
|
|
398
|
+
* @param skip Specifies the offset for the first records to return.
|
|
399
|
+
* @param order Specifies the order in which to sort the results.
|
|
400
|
+
* @param expand Specifies the fields to expand in the response.
|
|
401
|
+
* @param name Specifies the name of the policy.
|
|
402
|
+
* @param deleted Specifies whether to include deleted contracts.
|
|
403
|
+
* @param chainId The chain ID of the policy.
|
|
369
404
|
*/
|
|
370
405
|
getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, _options?: Configuration): Promise<PolicyListResponse>;
|
|
371
406
|
/**
|
|
372
|
-
*
|
|
373
|
-
* @param id
|
|
374
|
-
* @param expand
|
|
407
|
+
* Get a policy object.
|
|
408
|
+
* @param id Specifies the unique policy ID.
|
|
409
|
+
* @param expand Specifies the fields to expand.
|
|
375
410
|
*/
|
|
376
411
|
getPolicy(id: string, expand?: Array<PolicyResponseExpandable>, _options?: Configuration): Promise<PolicyResponse>;
|
|
377
412
|
/**
|
|
378
|
-
*
|
|
379
|
-
* @param
|
|
413
|
+
* List policy rules of a policy.
|
|
414
|
+
* @param id Specifies the unique policy ID.
|
|
415
|
+
* @param expand Specifies the fields to expand.
|
|
380
416
|
*/
|
|
381
417
|
getPolicyAllowFunctions(id: string, expand?: Array<'contract'>, _options?: Configuration): Promise<PolicyRuleListResponse>;
|
|
382
418
|
/**
|
|
383
|
-
*
|
|
419
|
+
* List all gas reports of a policy.
|
|
420
|
+
* @param id Specifies the unique policy ID.
|
|
384
421
|
*/
|
|
385
422
|
getPolicyTotalGasUsage(id: string, _options?: Configuration): Promise<GasReport>;
|
|
386
423
|
/**
|
|
387
|
-
*
|
|
388
|
-
* @param id
|
|
424
|
+
* Update a policy object.
|
|
425
|
+
* @param id Specifies the unique policy ID.
|
|
389
426
|
* @param updatePolicyRequest
|
|
390
427
|
*/
|
|
391
428
|
updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, _options?: Configuration): Promise<PolicyResponse>;
|
|
392
429
|
/**
|
|
430
|
+
* Update a policy rule object of a policy.
|
|
393
431
|
* @param policy
|
|
394
432
|
* @param policyRule
|
|
395
433
|
* @param updatePolicyRuleRequest
|
|
@@ -401,27 +439,27 @@ export declare class PromisePolicyRulesApi {
|
|
|
401
439
|
private api;
|
|
402
440
|
constructor(configuration: Configuration, requestFactory?: PolicyRulesApiRequestFactory, responseProcessor?: PolicyRulesApiResponseProcessor);
|
|
403
441
|
/**
|
|
404
|
-
*
|
|
442
|
+
* Create a policy rule object.
|
|
405
443
|
* @param createPolicyRuleRequest
|
|
406
444
|
*/
|
|
407
445
|
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
|
|
408
446
|
/**
|
|
409
|
-
* Deletes
|
|
410
|
-
* @param id
|
|
447
|
+
* Deletes a policy rule object.
|
|
448
|
+
* @param id Specifies the unique policy rule ID.
|
|
411
449
|
*/
|
|
412
450
|
deletePolicyRules(id: string, _options?: Configuration): Promise<PolicyRuleDeleteResponse>;
|
|
413
451
|
/**
|
|
414
|
-
*
|
|
415
|
-
* @param policy
|
|
416
|
-
* @param limit
|
|
417
|
-
* @param skip
|
|
418
|
-
* @param order
|
|
419
|
-
* @param expand
|
|
452
|
+
* List policy rules of a policy.
|
|
453
|
+
* @param policy Specifies the unique policy ID.
|
|
454
|
+
* @param limit Specifies the maximum number of records to return.
|
|
455
|
+
* @param skip Specifies the offset for the first records to return.
|
|
456
|
+
* @param order Specifies the order in which to sort the results.
|
|
457
|
+
* @param expand Specifies the fields to expand in the response.
|
|
420
458
|
*/
|
|
421
459
|
getPolicyRules(policy: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<'contract'>, _options?: Configuration): Promise<PolicyRuleListResponse>;
|
|
422
460
|
/**
|
|
423
|
-
*
|
|
424
|
-
* @param id Specifies the unique
|
|
461
|
+
* Update a policy rule object.
|
|
462
|
+
* @param id Specifies the unique policy rule ID.
|
|
425
463
|
* @param updatePolicyRuleRequest
|
|
426
464
|
*/
|
|
427
465
|
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
|
|
@@ -431,34 +469,33 @@ export declare class PromiseSessionsApi {
|
|
|
431
469
|
private api;
|
|
432
470
|
constructor(configuration: Configuration, requestFactory?: SessionsApiRequestFactory, responseProcessor?: SessionsApiResponseProcessor);
|
|
433
471
|
/**
|
|
434
|
-
*
|
|
472
|
+
* Create a session key.
|
|
435
473
|
* @param createSessionRequest
|
|
436
474
|
*/
|
|
437
475
|
createSession(createSessionRequest: CreateSessionRequest, _options?: Configuration): Promise<SessionResponse>;
|
|
438
476
|
/**
|
|
439
|
-
*
|
|
440
|
-
* @param player
|
|
441
|
-
* @param limit
|
|
442
|
-
* @param skip
|
|
443
|
-
* @param order
|
|
444
|
-
* @param expand
|
|
445
|
-
* @param address
|
|
477
|
+
* List session keys of a player.
|
|
478
|
+
* @param player The player ID
|
|
479
|
+
* @param limit Specifies the maximum number of records to return.
|
|
480
|
+
* @param skip Specifies the offset for the first records to return.
|
|
481
|
+
* @param order Specifies the order in which to sort the results.
|
|
482
|
+
* @param expand Specifies the fields to expand in the response.
|
|
446
483
|
*/
|
|
447
|
-
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>,
|
|
484
|
+
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Promise<SessionListResponse>;
|
|
448
485
|
/**
|
|
449
486
|
* Returns a player session by session id
|
|
450
|
-
* @param id
|
|
451
|
-
* @param expand
|
|
487
|
+
* @param id Specifies the unique session ID.
|
|
488
|
+
* @param expand Specifies the fields to expand.
|
|
452
489
|
*/
|
|
453
490
|
getSession(id: string, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Promise<SessionResponse>;
|
|
454
491
|
/**
|
|
455
|
-
*
|
|
492
|
+
* Revoke the session session key.
|
|
456
493
|
* @param revokeSessionRequest
|
|
457
494
|
*/
|
|
458
495
|
revokeSession(revokeSessionRequest: RevokeSessionRequest, _options?: Configuration): Promise<SessionResponse>;
|
|
459
496
|
/**
|
|
460
497
|
* Confirms the creation of a session with an external owner.
|
|
461
|
-
* @param id
|
|
498
|
+
* @param id Specifies the unique session ID.
|
|
462
499
|
* @param signatureRequest
|
|
463
500
|
*/
|
|
464
501
|
signatureSession(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Promise<SessionResponse>;
|
|
@@ -468,39 +505,40 @@ export declare class PromiseTransactionIntentsApi {
|
|
|
468
505
|
private api;
|
|
469
506
|
constructor(configuration: Configuration, requestFactory?: TransactionIntentsApiRequestFactory, responseProcessor?: TransactionIntentsApiResponseProcessor);
|
|
470
507
|
/**
|
|
471
|
-
*
|
|
508
|
+
* Retrieve a transaction intent by providing their id on Openfort. Transaction intents that have not been processed yet, have the `response` attribute as undefined.
|
|
509
|
+
* Create a transaction intent object.
|
|
472
510
|
* @param createTransactionIntentRequest
|
|
473
511
|
*/
|
|
474
512
|
createTransactionIntent(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
475
513
|
/**
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
* @param
|
|
514
|
+
* Estimate the gas cost of creating a transaction intent and putting it onchain.
|
|
515
|
+
* Estimate gas cost of creating a transaction
|
|
516
|
+
* @param createTransactionIntentRequest
|
|
517
|
+
*/
|
|
518
|
+
estimateTransactionIntentCost(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Promise<EstimateTransactionIntentGasResult>;
|
|
519
|
+
/**
|
|
520
|
+
* Get a transaction intent object.
|
|
521
|
+
* @param id Specifies the unique transaction intent ID.
|
|
522
|
+
* @param expand Specifies the expandable fields.
|
|
479
523
|
*/
|
|
480
524
|
getTransactionIntent(id: string, expand?: Array<TransactionIntentResponseExpandable>, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
481
525
|
/**
|
|
482
|
-
*
|
|
483
|
-
* @param limit
|
|
484
|
-
* @param skip
|
|
485
|
-
* @param order
|
|
486
|
-
* @param expand
|
|
487
|
-
* @param chainId
|
|
488
|
-
* @param accountId
|
|
489
|
-
* @param playerId
|
|
490
|
-
* @param policyId
|
|
526
|
+
* List transaction intents.
|
|
527
|
+
* @param limit Specifies the maximum number of records to return.
|
|
528
|
+
* @param skip Specifies the offset for the first records to return.
|
|
529
|
+
* @param order Specifies the order in which to sort the results.
|
|
530
|
+
* @param expand Specifies the fields to expand in the response.
|
|
531
|
+
* @param chainId The chain ID.
|
|
532
|
+
* @param accountId Filter by account ID.
|
|
533
|
+
* @param playerId Filter by player ID.
|
|
534
|
+
* @param policyId Filter by policy ID.
|
|
491
535
|
*/
|
|
492
536
|
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, accountId?: Array<string>, playerId?: Array<string>, policyId?: Array<string>, _options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
493
537
|
/**
|
|
538
|
+
* This endpoint is used to put a userOperationHash signature on-chain. This means players that have informed (and use) an [externally-owned account (EOA)](https://ethereum.org/en/developers/docs/accounts/) to authorize operations, such as registering a session key, for their gaming accounts. Given that players with non-custodial accounts are the only ones in possession of the private key, they must sign the information inside the `nextAction` value received from the `POST` API endpoint that creates a transaction_intent, even with their session-keys. Once signed, the client needs to send the signed message using the `/signature` endpoint or use one of the available client-side libraries to do so.
|
|
494
539
|
* Confirms the creation of a transaction intent with an external owner.
|
|
495
|
-
* @param id
|
|
540
|
+
* @param id Specifies the unique transaction intent ID.
|
|
496
541
|
* @param signatureRequest
|
|
497
542
|
*/
|
|
498
543
|
signature(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
499
|
-
/**
|
|
500
|
-
* @param id
|
|
501
|
-
*/
|
|
502
|
-
updateTransactionIntentResponse(id: string, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
503
|
-
/**
|
|
504
|
-
*/
|
|
505
|
-
updateTransactionIntentsResponse(_options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
506
544
|
}
|