@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';
|
|
@@ -103,7 +104,7 @@ export interface AccountsApiGetAccountRequest {
|
|
|
103
104
|
*/
|
|
104
105
|
id: string;
|
|
105
106
|
/**
|
|
106
|
-
*
|
|
107
|
+
*
|
|
107
108
|
* @type Array<AccountResponseExpandable>
|
|
108
109
|
* @memberof AccountsApigetAccount
|
|
109
110
|
*/
|
|
@@ -111,31 +112,31 @@ export interface AccountsApiGetAccountRequest {
|
|
|
111
112
|
}
|
|
112
113
|
export interface AccountsApiGetAccountsRequest {
|
|
113
114
|
/**
|
|
114
|
-
*
|
|
115
|
+
* Specifies the unique player ID
|
|
115
116
|
* @type string
|
|
116
117
|
* @memberof AccountsApigetAccounts
|
|
117
118
|
*/
|
|
118
119
|
player: string;
|
|
119
120
|
/**
|
|
120
|
-
*
|
|
121
|
+
* Specifies the maximum number of records to return.
|
|
121
122
|
* @type number
|
|
122
123
|
* @memberof AccountsApigetAccounts
|
|
123
124
|
*/
|
|
124
125
|
limit?: number;
|
|
125
126
|
/**
|
|
126
|
-
*
|
|
127
|
+
* Specifies the offset for the first records to return.
|
|
127
128
|
* @type number
|
|
128
129
|
* @memberof AccountsApigetAccounts
|
|
129
130
|
*/
|
|
130
131
|
skip?: number;
|
|
131
132
|
/**
|
|
132
|
-
*
|
|
133
|
+
* Specifies the order in which to sort the results.
|
|
133
134
|
* @type SortOrder
|
|
134
135
|
* @memberof AccountsApigetAccounts
|
|
135
136
|
*/
|
|
136
137
|
order?: SortOrder;
|
|
137
138
|
/**
|
|
138
|
-
*
|
|
139
|
+
* Specifies the fields to expand in the response.
|
|
139
140
|
* @type Array<AccountResponseExpandable>
|
|
140
141
|
* @memberof AccountsApigetAccounts
|
|
141
142
|
*/
|
|
@@ -195,7 +196,8 @@ export declare class ObjectAccountsApi {
|
|
|
195
196
|
private api;
|
|
196
197
|
constructor(configuration: Configuration, requestFactory?: AccountsApiRequestFactory, responseProcessor?: AccountsApiResponseProcessor);
|
|
197
198
|
/**
|
|
198
|
-
*
|
|
199
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
200
|
+
* Cancel request of ownership transfer of an account.
|
|
199
201
|
* @param param the request object
|
|
200
202
|
*/
|
|
201
203
|
cancelTransferOwnership(param: AccountsApiCancelTransferOwnershipRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
@@ -205,22 +207,26 @@ export declare class ObjectAccountsApi {
|
|
|
205
207
|
*/
|
|
206
208
|
completeRecovery(param: AccountsApiCompleteRecoveryRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
207
209
|
/**
|
|
208
|
-
*
|
|
210
|
+
* This endpoint allows you to add a new account to your Openfort player. Only one account can be active per chain per player.
|
|
211
|
+
* Create an account object.
|
|
209
212
|
* @param param the request object
|
|
210
213
|
*/
|
|
211
214
|
createAccount(param: AccountsApiCreateAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
212
215
|
/**
|
|
213
216
|
* 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.
|
|
217
|
+
* Get existing account.
|
|
214
218
|
* @param param the request object
|
|
215
219
|
*/
|
|
216
220
|
getAccount(param: AccountsApiGetAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
217
221
|
/**
|
|
218
|
-
* 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.
|
|
222
|
+
* 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.
|
|
223
|
+
* List accounts of a player.
|
|
219
224
|
* @param param the request object
|
|
220
225
|
*/
|
|
221
226
|
getAccounts(param: AccountsApiGetAccountsRequest, options?: Configuration): Promise<AccountListResponse>;
|
|
222
227
|
/**
|
|
223
|
-
*
|
|
228
|
+
* 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.
|
|
229
|
+
* Request ownership transfer of an account.
|
|
224
230
|
* @param param the request object
|
|
225
231
|
*/
|
|
226
232
|
requestTransferOwnership(param: AccountsApiRequestTransferOwnershipRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
@@ -259,7 +265,7 @@ export interface AuthenticationApiSignupRequest {
|
|
|
259
265
|
}
|
|
260
266
|
export interface AuthenticationApiVerifyAuthTokenRequest {
|
|
261
267
|
/**
|
|
262
|
-
*
|
|
268
|
+
* Specifies the auth token.
|
|
263
269
|
* @type string
|
|
264
270
|
* @memberof AuthenticationApiverifyAuthToken
|
|
265
271
|
*/
|
|
@@ -269,14 +275,17 @@ export declare class ObjectAuthenticationApi {
|
|
|
269
275
|
private api;
|
|
270
276
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
271
277
|
/**
|
|
278
|
+
* Login a player.
|
|
272
279
|
* @param param the request object
|
|
273
280
|
*/
|
|
274
281
|
login(param: AuthenticationApiLoginRequest, options?: Configuration): Promise<AuthResponse>;
|
|
275
282
|
/**
|
|
283
|
+
* Sign up a player.
|
|
276
284
|
* @param param the request object
|
|
277
285
|
*/
|
|
278
286
|
signup(param: AuthenticationApiSignupRequest, options?: Configuration): Promise<AuthResponse>;
|
|
279
287
|
/**
|
|
288
|
+
* Verify an auth token.
|
|
280
289
|
* @param param the request object
|
|
281
290
|
*/
|
|
282
291
|
verifyAuthToken(param: AuthenticationApiVerifyAuthTokenRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
@@ -294,7 +303,7 @@ export declare class ObjectConfigAuthenticationApi {
|
|
|
294
303
|
private api;
|
|
295
304
|
constructor(configuration: Configuration, requestFactory?: ConfigAuthenticationApiRequestFactory, responseProcessor?: ConfigAuthenticationApiResponseProcessor);
|
|
296
305
|
/**
|
|
297
|
-
* Google
|
|
306
|
+
* Configure Google OAuth2.
|
|
298
307
|
* @param param the request object
|
|
299
308
|
*/
|
|
300
309
|
editProvider(param: ConfigAuthenticationApiEditProviderRequest, options?: Configuration): Promise<ProjectResponse>;
|
|
@@ -310,7 +319,7 @@ export interface ContractsApiCreateContractRequest {
|
|
|
310
319
|
}
|
|
311
320
|
export interface ContractsApiDeleteContractRequest {
|
|
312
321
|
/**
|
|
313
|
-
*
|
|
322
|
+
* Specifies the unique contract ID.
|
|
314
323
|
* @type string
|
|
315
324
|
* @memberof ContractsApideleteContract
|
|
316
325
|
*/
|
|
@@ -326,43 +335,43 @@ export interface ContractsApiGetContractRequest {
|
|
|
326
335
|
}
|
|
327
336
|
export interface ContractsApiGetContractsRequest {
|
|
328
337
|
/**
|
|
329
|
-
*
|
|
338
|
+
* Specifies the maximum number of records to return.
|
|
330
339
|
* @type number
|
|
331
340
|
* @memberof ContractsApigetContracts
|
|
332
341
|
*/
|
|
333
342
|
limit?: number;
|
|
334
343
|
/**
|
|
335
|
-
*
|
|
344
|
+
* Specifies the offset for the first records to return.
|
|
336
345
|
* @type number
|
|
337
346
|
* @memberof ContractsApigetContracts
|
|
338
347
|
*/
|
|
339
348
|
skip?: number;
|
|
340
349
|
/**
|
|
341
|
-
*
|
|
350
|
+
* Specifies the order in which to sort the results.
|
|
342
351
|
* @type SortOrder
|
|
343
352
|
* @memberof ContractsApigetContracts
|
|
344
353
|
*/
|
|
345
354
|
order?: SortOrder;
|
|
346
355
|
/**
|
|
347
|
-
*
|
|
356
|
+
* Specifies the name of the contract.
|
|
348
357
|
* @type string
|
|
349
358
|
* @memberof ContractsApigetContracts
|
|
350
359
|
*/
|
|
351
360
|
name?: string;
|
|
352
361
|
/**
|
|
353
|
-
*
|
|
362
|
+
* Specifies whether to include deleted contracts.
|
|
354
363
|
* @type boolean
|
|
355
364
|
* @memberof ContractsApigetContracts
|
|
356
365
|
*/
|
|
357
366
|
deleted?: boolean;
|
|
358
367
|
/**
|
|
359
|
-
*
|
|
368
|
+
* The chain ID of the contract.
|
|
360
369
|
* @type number
|
|
361
370
|
* @memberof ContractsApigetContracts
|
|
362
371
|
*/
|
|
363
372
|
chainId?: number;
|
|
364
373
|
/**
|
|
365
|
-
*
|
|
374
|
+
* Specifies the address of the contract.
|
|
366
375
|
* @type string
|
|
367
376
|
* @memberof ContractsApigetContracts
|
|
368
377
|
*/
|
|
@@ -370,7 +379,7 @@ export interface ContractsApiGetContractsRequest {
|
|
|
370
379
|
}
|
|
371
380
|
export interface ContractsApiUpdateContractRequest {
|
|
372
381
|
/**
|
|
373
|
-
*
|
|
382
|
+
* Specifies the unique contract ID.
|
|
374
383
|
* @type string
|
|
375
384
|
* @memberof ContractsApiupdateContract
|
|
376
385
|
*/
|
|
@@ -386,22 +395,26 @@ export declare class ObjectContractsApi {
|
|
|
386
395
|
private api;
|
|
387
396
|
constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
|
|
388
397
|
/**
|
|
389
|
-
*
|
|
398
|
+
* Add a new contract to your project in Openfort
|
|
399
|
+
* Create contract object.
|
|
390
400
|
* @param param the request object
|
|
391
401
|
*/
|
|
392
402
|
createContract(param: ContractsApiCreateContractRequest, options?: Configuration): Promise<ContractResponse>;
|
|
393
403
|
/**
|
|
404
|
+
* Delete a contract from the project by providing its contract id.
|
|
394
405
|
* Deletes a contract object.
|
|
395
406
|
* @param param the request object
|
|
396
407
|
*/
|
|
397
408
|
deleteContract(param: ContractsApiDeleteContractRequest, options?: Configuration): Promise<ContractDeleteResponse>;
|
|
398
409
|
/**
|
|
399
|
-
*
|
|
410
|
+
* Retrieve a contract by providing their contract id.
|
|
411
|
+
* Get a contract.
|
|
400
412
|
* @param param the request object
|
|
401
413
|
*/
|
|
402
414
|
getContract(param: ContractsApiGetContractRequest, options?: Configuration): Promise<ContractResponse>;
|
|
403
415
|
/**
|
|
404
|
-
*
|
|
416
|
+
* List of all contracts per project. By default, a maximum of ten contracts are shown.
|
|
417
|
+
* List contracts.
|
|
405
418
|
* @param param the request object
|
|
406
419
|
*/
|
|
407
420
|
getContracts(param?: ContractsApiGetContractsRequest, options?: Configuration): Promise<ContractListResponse>;
|
|
@@ -416,7 +429,7 @@ export interface GoogleAuthenticationApiGetSigninUrlRequest {
|
|
|
416
429
|
}
|
|
417
430
|
export interface GoogleAuthenticationApiGetTokenRequest {
|
|
418
431
|
/**
|
|
419
|
-
*
|
|
432
|
+
* Specifies the oauth key.
|
|
420
433
|
* @type string
|
|
421
434
|
* @memberof GoogleAuthenticationApigetToken
|
|
422
435
|
*/
|
|
@@ -426,10 +439,12 @@ export declare class ObjectGoogleAuthenticationApi {
|
|
|
426
439
|
private api;
|
|
427
440
|
constructor(configuration: Configuration, requestFactory?: GoogleAuthenticationApiRequestFactory, responseProcessor?: GoogleAuthenticationApiResponseProcessor);
|
|
428
441
|
/**
|
|
442
|
+
* Get the google oauth signin url.
|
|
429
443
|
* @param param the request object
|
|
430
444
|
*/
|
|
431
445
|
getSigninUrl(param?: GoogleAuthenticationApiGetSigninUrlRequest, options?: Configuration): Promise<GetSigninUrlResponse>;
|
|
432
446
|
/**
|
|
447
|
+
* Get the google oauth token.
|
|
433
448
|
* @param param the request object
|
|
434
449
|
*/
|
|
435
450
|
getToken(param: GoogleAuthenticationApiGetTokenRequest, options?: Configuration): Promise<AuthResponse>;
|
|
@@ -443,19 +458,19 @@ export interface InventoryApiGetAccountCryptoCurrencyInventoryRequest {
|
|
|
443
458
|
*/
|
|
444
459
|
id: string;
|
|
445
460
|
/**
|
|
446
|
-
*
|
|
461
|
+
* Specifies the maximum number of records to return.
|
|
447
462
|
* @type number
|
|
448
463
|
* @memberof InventoryApigetAccountCryptoCurrencyInventory
|
|
449
464
|
*/
|
|
450
465
|
limit?: number;
|
|
451
466
|
/**
|
|
452
|
-
*
|
|
467
|
+
* Specifies the offset for the first records to return.
|
|
453
468
|
* @type number
|
|
454
469
|
* @memberof InventoryApigetAccountCryptoCurrencyInventory
|
|
455
470
|
*/
|
|
456
471
|
skip?: number;
|
|
457
472
|
/**
|
|
458
|
-
*
|
|
473
|
+
* Specifies the order in which to sort the results.
|
|
459
474
|
* @type SortOrder
|
|
460
475
|
* @memberof InventoryApigetAccountCryptoCurrencyInventory
|
|
461
476
|
*/
|
|
@@ -491,19 +506,19 @@ export interface InventoryApiGetAccountNftInventoryRequest {
|
|
|
491
506
|
*/
|
|
492
507
|
id: string;
|
|
493
508
|
/**
|
|
494
|
-
*
|
|
509
|
+
* Specifies the maximum number of records to return.
|
|
495
510
|
* @type number
|
|
496
511
|
* @memberof InventoryApigetAccountNftInventory
|
|
497
512
|
*/
|
|
498
513
|
limit?: number;
|
|
499
514
|
/**
|
|
500
|
-
*
|
|
515
|
+
* Specifies the offset for the first records to return.
|
|
501
516
|
* @type number
|
|
502
517
|
* @memberof InventoryApigetAccountNftInventory
|
|
503
518
|
*/
|
|
504
519
|
skip?: number;
|
|
505
520
|
/**
|
|
506
|
-
*
|
|
521
|
+
* Specifies the order in which to sort the results.
|
|
507
522
|
* @type SortOrder
|
|
508
523
|
* @memberof InventoryApigetAccountNftInventory
|
|
509
524
|
*/
|
|
@@ -523,31 +538,31 @@ export interface InventoryApiGetPlayerCryptoCurrencyInventoryRequest {
|
|
|
523
538
|
*/
|
|
524
539
|
id: string;
|
|
525
540
|
/**
|
|
526
|
-
*
|
|
541
|
+
* Filter by chain id.
|
|
527
542
|
* @type number
|
|
528
543
|
* @memberof InventoryApigetPlayerCryptoCurrencyInventory
|
|
529
544
|
*/
|
|
530
545
|
chainId: number;
|
|
531
546
|
/**
|
|
532
|
-
*
|
|
547
|
+
* Specifies the maximum number of records to return.
|
|
533
548
|
* @type number
|
|
534
549
|
* @memberof InventoryApigetPlayerCryptoCurrencyInventory
|
|
535
550
|
*/
|
|
536
551
|
limit?: number;
|
|
537
552
|
/**
|
|
538
|
-
*
|
|
553
|
+
* Specifies the offset for the first records to return.
|
|
539
554
|
* @type number
|
|
540
555
|
* @memberof InventoryApigetPlayerCryptoCurrencyInventory
|
|
541
556
|
*/
|
|
542
557
|
skip?: number;
|
|
543
558
|
/**
|
|
544
|
-
*
|
|
559
|
+
* Specifies the order in which to sort the results.
|
|
545
560
|
* @type SortOrder
|
|
546
561
|
* @memberof InventoryApigetPlayerCryptoCurrencyInventory
|
|
547
562
|
*/
|
|
548
563
|
order?: SortOrder;
|
|
549
564
|
/**
|
|
550
|
-
*
|
|
565
|
+
* Filter by contract ID.
|
|
551
566
|
* @type Array<string>
|
|
552
567
|
* @memberof InventoryApigetPlayerCryptoCurrencyInventory
|
|
553
568
|
*/
|
|
@@ -561,7 +576,7 @@ export interface InventoryApiGetPlayerInventoryRequest {
|
|
|
561
576
|
*/
|
|
562
577
|
id: string;
|
|
563
578
|
/**
|
|
564
|
-
*
|
|
579
|
+
* Filter by chain id.
|
|
565
580
|
* @type number
|
|
566
581
|
* @memberof InventoryApigetPlayerInventory
|
|
567
582
|
*/
|
|
@@ -575,7 +590,7 @@ export interface InventoryApiGetPlayerNativeInventoryRequest {
|
|
|
575
590
|
*/
|
|
576
591
|
id: string;
|
|
577
592
|
/**
|
|
578
|
-
*
|
|
593
|
+
* Filter by chain id.
|
|
579
594
|
* @type number
|
|
580
595
|
* @memberof InventoryApigetPlayerNativeInventory
|
|
581
596
|
*/
|
|
@@ -589,31 +604,31 @@ export interface InventoryApiGetPlayerNftInventoryRequest {
|
|
|
589
604
|
*/
|
|
590
605
|
id: string;
|
|
591
606
|
/**
|
|
592
|
-
*
|
|
607
|
+
* Filter by chain id.
|
|
593
608
|
* @type number
|
|
594
609
|
* @memberof InventoryApigetPlayerNftInventory
|
|
595
610
|
*/
|
|
596
611
|
chainId: number;
|
|
597
612
|
/**
|
|
598
|
-
*
|
|
613
|
+
* Specifies the maximum number of records to return.
|
|
599
614
|
* @type number
|
|
600
615
|
* @memberof InventoryApigetPlayerNftInventory
|
|
601
616
|
*/
|
|
602
617
|
limit?: number;
|
|
603
618
|
/**
|
|
604
|
-
*
|
|
619
|
+
* Specifies the offset for the first records to return.
|
|
605
620
|
* @type number
|
|
606
621
|
* @memberof InventoryApigetPlayerNftInventory
|
|
607
622
|
*/
|
|
608
623
|
skip?: number;
|
|
609
624
|
/**
|
|
610
|
-
*
|
|
625
|
+
* Specifies the order in which to sort the results.
|
|
611
626
|
* @type SortOrder
|
|
612
627
|
* @memberof InventoryApigetPlayerNftInventory
|
|
613
628
|
*/
|
|
614
629
|
order?: SortOrder;
|
|
615
630
|
/**
|
|
616
|
-
*
|
|
631
|
+
* Filter by contract ID.
|
|
617
632
|
* @type Array<string>
|
|
618
633
|
* @memberof InventoryApigetPlayerNftInventory
|
|
619
634
|
*/
|
|
@@ -623,42 +638,42 @@ export declare class ObjectInventoryApi {
|
|
|
623
638
|
private api;
|
|
624
639
|
constructor(configuration: Configuration, requestFactory?: InventoryApiRequestFactory, responseProcessor?: InventoryApiResponseProcessor);
|
|
625
640
|
/**
|
|
626
|
-
* Retrieves the cryptocurrency assets of an existing account.
|
|
641
|
+
* Retrieves the cryptocurrency assets of an existing account.
|
|
627
642
|
* @param param the request object
|
|
628
643
|
*/
|
|
629
644
|
getAccountCryptoCurrencyInventory(param: InventoryApiGetAccountCryptoCurrencyInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
630
645
|
/**
|
|
631
|
-
*
|
|
646
|
+
* Get inventory of account.
|
|
632
647
|
* @param param the request object
|
|
633
648
|
*/
|
|
634
649
|
getAccountInventory(param: InventoryApiGetAccountInventoryRequest, options?: Configuration): Promise<ObsoleteInventoryResponse>;
|
|
635
650
|
/**
|
|
636
|
-
* Retrieves the native asset of an existing account.
|
|
651
|
+
* Retrieves the native asset of an existing account.
|
|
637
652
|
* @param param the request object
|
|
638
653
|
*/
|
|
639
654
|
getAccountNativeInventory(param: InventoryApiGetAccountNativeInventoryRequest, options?: Configuration): Promise<InventoryResponse>;
|
|
640
655
|
/**
|
|
641
|
-
* Retrieves the NFT assets of an existing account.
|
|
656
|
+
* Retrieves the NFT assets of an existing account.
|
|
642
657
|
* @param param the request object
|
|
643
658
|
*/
|
|
644
659
|
getAccountNftInventory(param: InventoryApiGetAccountNftInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
645
660
|
/**
|
|
646
|
-
*
|
|
661
|
+
* Get cryptocurrency list of player.
|
|
647
662
|
* @param param the request object
|
|
648
663
|
*/
|
|
649
664
|
getPlayerCryptoCurrencyInventory(param: InventoryApiGetPlayerCryptoCurrencyInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
650
665
|
/**
|
|
651
|
-
*
|
|
666
|
+
* Get inventory of player.
|
|
652
667
|
* @param param the request object
|
|
653
668
|
*/
|
|
654
669
|
getPlayerInventory(param: InventoryApiGetPlayerInventoryRequest, options?: Configuration): Promise<ObsoleteInventoryResponse>;
|
|
655
670
|
/**
|
|
656
|
-
*
|
|
671
|
+
* Get native token list of player.
|
|
657
672
|
* @param param the request object
|
|
658
673
|
*/
|
|
659
674
|
getPlayerNativeInventory(param: InventoryApiGetPlayerNativeInventoryRequest, options?: Configuration): Promise<InventoryResponse>;
|
|
660
675
|
/**
|
|
661
|
-
*
|
|
676
|
+
* Get NFTs list of player.
|
|
662
677
|
* @param param the request object
|
|
663
678
|
*/
|
|
664
679
|
getPlayerNftInventory(param: InventoryApiGetPlayerNftInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
@@ -722,7 +737,7 @@ export interface PlayersApiGetPlayerRequest {
|
|
|
722
737
|
*/
|
|
723
738
|
id: string;
|
|
724
739
|
/**
|
|
725
|
-
*
|
|
740
|
+
* Specifies the expandable fields.
|
|
726
741
|
* @type Array<PlayerResponseExpandable>
|
|
727
742
|
* @memberof PlayersApigetPlayer
|
|
728
743
|
*/
|
|
@@ -730,13 +745,13 @@ export interface PlayersApiGetPlayerRequest {
|
|
|
730
745
|
}
|
|
731
746
|
export interface PlayersApiGetPlayerAccountsRequest {
|
|
732
747
|
/**
|
|
733
|
-
*
|
|
748
|
+
* Specifies the unique player ID.
|
|
734
749
|
* @type string
|
|
735
750
|
* @memberof PlayersApigetPlayerAccounts
|
|
736
751
|
*/
|
|
737
752
|
id: string;
|
|
738
753
|
/**
|
|
739
|
-
*
|
|
754
|
+
* Specifies the expandable fields.
|
|
740
755
|
* @type Array<AccountResponseExpandable>
|
|
741
756
|
* @memberof PlayersApigetPlayerAccounts
|
|
742
757
|
*/
|
|
@@ -744,36 +759,64 @@ export interface PlayersApiGetPlayerAccountsRequest {
|
|
|
744
759
|
}
|
|
745
760
|
export interface PlayersApiGetPlayersRequest {
|
|
746
761
|
/**
|
|
747
|
-
*
|
|
762
|
+
* Specifies the maximum number of records to return.
|
|
748
763
|
* @type number
|
|
749
764
|
* @memberof PlayersApigetPlayers
|
|
750
765
|
*/
|
|
751
766
|
limit?: number;
|
|
752
767
|
/**
|
|
753
|
-
*
|
|
768
|
+
* Specifies the offset for the first records to return.
|
|
754
769
|
* @type number
|
|
755
770
|
* @memberof PlayersApigetPlayers
|
|
756
771
|
*/
|
|
757
772
|
skip?: number;
|
|
758
773
|
/**
|
|
759
|
-
*
|
|
774
|
+
* Specifies the order in which to sort the results.
|
|
760
775
|
* @type SortOrder
|
|
761
776
|
* @memberof PlayersApigetPlayers
|
|
762
777
|
*/
|
|
763
778
|
order?: SortOrder;
|
|
764
779
|
/**
|
|
765
|
-
*
|
|
780
|
+
* Specifies the fields to expand in the response.
|
|
766
781
|
* @type Array<PlayerResponseExpandable>
|
|
767
782
|
* @memberof PlayersApigetPlayers
|
|
768
783
|
*/
|
|
769
784
|
expand?: Array<PlayerResponseExpandable>;
|
|
770
785
|
/**
|
|
771
|
-
*
|
|
786
|
+
* Filter by player name.
|
|
772
787
|
* @type string
|
|
773
788
|
* @memberof PlayersApigetPlayers
|
|
774
789
|
*/
|
|
775
790
|
name?: string;
|
|
776
791
|
}
|
|
792
|
+
export interface PlayersApiObsoleteCancelTransferAccountOwnershipRequest {
|
|
793
|
+
/**
|
|
794
|
+
*
|
|
795
|
+
* @type string
|
|
796
|
+
* @memberof PlayersApiobsoleteCancelTransferAccountOwnership
|
|
797
|
+
*/
|
|
798
|
+
id: string;
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @type PlayerCancelTransferOwnershipRequest
|
|
802
|
+
* @memberof PlayersApiobsoleteCancelTransferAccountOwnership
|
|
803
|
+
*/
|
|
804
|
+
playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest;
|
|
805
|
+
}
|
|
806
|
+
export interface PlayersApiObsoleteRequestTransferAccountOwnershipRequest {
|
|
807
|
+
/**
|
|
808
|
+
* Specifies the unique player ID.
|
|
809
|
+
* @type string
|
|
810
|
+
* @memberof PlayersApiobsoleteRequestTransferAccountOwnership
|
|
811
|
+
*/
|
|
812
|
+
id: string;
|
|
813
|
+
/**
|
|
814
|
+
*
|
|
815
|
+
* @type PlayerTransferOwnershipRequest
|
|
816
|
+
* @memberof PlayersApiobsoleteRequestTransferAccountOwnership
|
|
817
|
+
*/
|
|
818
|
+
playerTransferOwnershipRequest: PlayerTransferOwnershipRequest;
|
|
819
|
+
}
|
|
777
820
|
export interface PlayersApiRequestTransferAccountOwnershipRequest {
|
|
778
821
|
/**
|
|
779
822
|
* Specifies the unique player ID.
|
|
@@ -820,47 +863,63 @@ export declare class ObjectPlayersApi {
|
|
|
820
863
|
private api;
|
|
821
864
|
constructor(configuration: Configuration, requestFactory?: PlayersApiRequestFactory, responseProcessor?: PlayersApiResponseProcessor);
|
|
822
865
|
/**
|
|
823
|
-
*
|
|
866
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
867
|
+
* Cancel request to transfer ownership of an account.
|
|
824
868
|
* @param param the request object
|
|
825
869
|
*/
|
|
826
870
|
cancelTransferAccountOwnership(param: PlayersApiCancelTransferAccountOwnershipRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
827
871
|
/**
|
|
828
|
-
*
|
|
872
|
+
* Add a new player to your player list in Openfort.
|
|
873
|
+
* Create a player object.
|
|
829
874
|
* @param param the request object
|
|
830
875
|
*/
|
|
831
876
|
createPlayer(param: PlayersApiCreatePlayerRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
832
877
|
/**
|
|
833
|
-
*
|
|
878
|
+
* Create account object for a player.
|
|
834
879
|
* @param param the request object
|
|
835
880
|
*/
|
|
836
881
|
createPlayerAccount(param: PlayersApiCreatePlayerAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
837
882
|
/**
|
|
838
|
-
*
|
|
883
|
+
* Create session object for a player.
|
|
839
884
|
* @param param the request object
|
|
840
885
|
*/
|
|
841
886
|
createPlayerSession(param: PlayersApiCreatePlayerSessionRequest, options?: Configuration): Promise<SessionResponse>;
|
|
842
887
|
/**
|
|
843
|
-
* Retrieves the details of an existing player.
|
|
888
|
+
* Retrieves the details of an existing player.
|
|
844
889
|
* @param param the request object
|
|
845
890
|
*/
|
|
846
891
|
getPlayer(param: PlayersApiGetPlayerRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
847
892
|
/**
|
|
848
|
-
*
|
|
893
|
+
* List of accounts of a player.
|
|
849
894
|
* @param param the request object
|
|
850
895
|
*/
|
|
851
896
|
getPlayerAccounts(param: PlayersApiGetPlayerAccountsRequest, options?: Configuration): Promise<AccountListResponse>;
|
|
852
897
|
/**
|
|
853
|
-
*
|
|
898
|
+
* By default, a maximum of ten players are shown.
|
|
899
|
+
* List players.
|
|
854
900
|
* @param param the request object
|
|
855
901
|
*/
|
|
856
902
|
getPlayers(param?: PlayersApiGetPlayersRequest, options?: Configuration): Promise<PlayerListResponse>;
|
|
857
903
|
/**
|
|
858
|
-
*
|
|
904
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
905
|
+
* Cancel request to transfer ownership of an account.
|
|
906
|
+
* @param param the request object
|
|
907
|
+
*/
|
|
908
|
+
obsoleteCancelTransferAccountOwnership(param: PlayersApiObsoleteCancelTransferAccountOwnershipRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
909
|
+
/**
|
|
910
|
+
* 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.
|
|
911
|
+
* Request transfer ownership of account.
|
|
912
|
+
* @param param the request object
|
|
913
|
+
*/
|
|
914
|
+
obsoleteRequestTransferAccountOwnership(param: PlayersApiObsoleteRequestTransferAccountOwnershipRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
915
|
+
/**
|
|
916
|
+
* 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.
|
|
917
|
+
* Request transfer ownership of account.
|
|
859
918
|
* @param param the request object
|
|
860
919
|
*/
|
|
861
920
|
requestTransferAccountOwnership(param: PlayersApiRequestTransferAccountOwnershipRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
862
921
|
/**
|
|
863
|
-
*
|
|
922
|
+
* Revoke session object for a player.
|
|
864
923
|
* @param param the request object
|
|
865
924
|
*/
|
|
866
925
|
revokePlayerSession(param: PlayersApiRevokePlayerSessionRequest, options?: Configuration): Promise<SessionResponse>;
|
|
@@ -873,25 +932,25 @@ export declare class ObjectPlayersApi {
|
|
|
873
932
|
import { PlayersAuthenticationApiRequestFactory, PlayersAuthenticationApiResponseProcessor } from "../apis/PlayersAuthenticationApi";
|
|
874
933
|
export interface PlayersAuthenticationApiGetAuthenticatedPlayersRequest {
|
|
875
934
|
/**
|
|
876
|
-
*
|
|
935
|
+
* Specifies the maximum number of records to return.
|
|
877
936
|
* @type number
|
|
878
937
|
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
879
938
|
*/
|
|
880
939
|
limit?: number;
|
|
881
940
|
/**
|
|
882
|
-
*
|
|
941
|
+
* Specifies the offset for the first records to return.
|
|
883
942
|
* @type number
|
|
884
943
|
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
885
944
|
*/
|
|
886
945
|
skip?: number;
|
|
887
946
|
/**
|
|
888
|
-
*
|
|
947
|
+
* Specifies the order in which to sort the results.
|
|
889
948
|
* @type SortOrder
|
|
890
949
|
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
891
950
|
*/
|
|
892
951
|
order?: SortOrder;
|
|
893
952
|
/**
|
|
894
|
-
*
|
|
953
|
+
* Specifies the email address of the user.
|
|
895
954
|
* @type string
|
|
896
955
|
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
897
956
|
*/
|
|
@@ -901,6 +960,7 @@ export declare class ObjectPlayersAuthenticationApi {
|
|
|
901
960
|
private api;
|
|
902
961
|
constructor(configuration: Configuration, requestFactory?: PlayersAuthenticationApiRequestFactory, responseProcessor?: PlayersAuthenticationApiResponseProcessor);
|
|
903
962
|
/**
|
|
963
|
+
* List authenticated players.
|
|
904
964
|
* @param param the request object
|
|
905
965
|
*/
|
|
906
966
|
getAuthenticatedPlayers(param?: PlayersAuthenticationApiGetAuthenticatedPlayersRequest, options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
@@ -916,7 +976,7 @@ export interface PoliciesApiCreatePolicyRequest {
|
|
|
916
976
|
}
|
|
917
977
|
export interface PoliciesApiCreatePolicyAllowFunctionRequest {
|
|
918
978
|
/**
|
|
919
|
-
*
|
|
979
|
+
* Specifies the unique policy ID.
|
|
920
980
|
* @type string
|
|
921
981
|
* @memberof PoliciesApicreatePolicyAllowFunction
|
|
922
982
|
*/
|
|
@@ -930,7 +990,7 @@ export interface PoliciesApiCreatePolicyAllowFunctionRequest {
|
|
|
930
990
|
}
|
|
931
991
|
export interface PoliciesApiDeletePolicyRequest {
|
|
932
992
|
/**
|
|
933
|
-
*
|
|
993
|
+
* Specifies the unique policy ID.
|
|
934
994
|
* @type string
|
|
935
995
|
* @memberof PoliciesApideletePolicy
|
|
936
996
|
*/
|
|
@@ -938,43 +998,43 @@ export interface PoliciesApiDeletePolicyRequest {
|
|
|
938
998
|
}
|
|
939
999
|
export interface PoliciesApiGetPoliciesRequest {
|
|
940
1000
|
/**
|
|
941
|
-
*
|
|
1001
|
+
* Specifies the maximum number of records to return.
|
|
942
1002
|
* @type number
|
|
943
1003
|
* @memberof PoliciesApigetPolicies
|
|
944
1004
|
*/
|
|
945
1005
|
limit?: number;
|
|
946
1006
|
/**
|
|
947
|
-
*
|
|
1007
|
+
* Specifies the offset for the first records to return.
|
|
948
1008
|
* @type number
|
|
949
1009
|
* @memberof PoliciesApigetPolicies
|
|
950
1010
|
*/
|
|
951
1011
|
skip?: number;
|
|
952
1012
|
/**
|
|
953
|
-
*
|
|
1013
|
+
* Specifies the order in which to sort the results.
|
|
954
1014
|
* @type SortOrder
|
|
955
1015
|
* @memberof PoliciesApigetPolicies
|
|
956
1016
|
*/
|
|
957
1017
|
order?: SortOrder;
|
|
958
1018
|
/**
|
|
959
|
-
*
|
|
1019
|
+
* Specifies the fields to expand in the response.
|
|
960
1020
|
* @type Array<PolicyResponseExpandable>
|
|
961
1021
|
* @memberof PoliciesApigetPolicies
|
|
962
1022
|
*/
|
|
963
1023
|
expand?: Array<PolicyResponseExpandable>;
|
|
964
1024
|
/**
|
|
965
|
-
*
|
|
1025
|
+
* Specifies the name of the policy.
|
|
966
1026
|
* @type string
|
|
967
1027
|
* @memberof PoliciesApigetPolicies
|
|
968
1028
|
*/
|
|
969
1029
|
name?: string;
|
|
970
1030
|
/**
|
|
971
|
-
*
|
|
1031
|
+
* Specifies whether to include deleted contracts.
|
|
972
1032
|
* @type boolean
|
|
973
1033
|
* @memberof PoliciesApigetPolicies
|
|
974
1034
|
*/
|
|
975
1035
|
deleted?: boolean;
|
|
976
1036
|
/**
|
|
977
|
-
*
|
|
1037
|
+
* The chain ID of the policy.
|
|
978
1038
|
* @type number
|
|
979
1039
|
* @memberof PoliciesApigetPolicies
|
|
980
1040
|
*/
|
|
@@ -982,13 +1042,13 @@ export interface PoliciesApiGetPoliciesRequest {
|
|
|
982
1042
|
}
|
|
983
1043
|
export interface PoliciesApiGetPolicyRequest {
|
|
984
1044
|
/**
|
|
985
|
-
*
|
|
1045
|
+
* Specifies the unique policy ID.
|
|
986
1046
|
* @type string
|
|
987
1047
|
* @memberof PoliciesApigetPolicy
|
|
988
1048
|
*/
|
|
989
1049
|
id: string;
|
|
990
1050
|
/**
|
|
991
|
-
*
|
|
1051
|
+
* Specifies the fields to expand.
|
|
992
1052
|
* @type Array<PolicyResponseExpandable>
|
|
993
1053
|
* @memberof PoliciesApigetPolicy
|
|
994
1054
|
*/
|
|
@@ -996,13 +1056,13 @@ export interface PoliciesApiGetPolicyRequest {
|
|
|
996
1056
|
}
|
|
997
1057
|
export interface PoliciesApiGetPolicyAllowFunctionsRequest {
|
|
998
1058
|
/**
|
|
999
|
-
*
|
|
1059
|
+
* Specifies the unique policy ID.
|
|
1000
1060
|
* @type string
|
|
1001
1061
|
* @memberof PoliciesApigetPolicyAllowFunctions
|
|
1002
1062
|
*/
|
|
1003
1063
|
id: string;
|
|
1004
1064
|
/**
|
|
1005
|
-
*
|
|
1065
|
+
* Specifies the fields to expand.
|
|
1006
1066
|
* @type Array<'contract'>
|
|
1007
1067
|
* @memberof PoliciesApigetPolicyAllowFunctions
|
|
1008
1068
|
*/
|
|
@@ -1010,7 +1070,7 @@ export interface PoliciesApiGetPolicyAllowFunctionsRequest {
|
|
|
1010
1070
|
}
|
|
1011
1071
|
export interface PoliciesApiGetPolicyTotalGasUsageRequest {
|
|
1012
1072
|
/**
|
|
1013
|
-
*
|
|
1073
|
+
* Specifies the unique policy ID.
|
|
1014
1074
|
* @type string
|
|
1015
1075
|
* @memberof PoliciesApigetPolicyTotalGasUsage
|
|
1016
1076
|
*/
|
|
@@ -1018,7 +1078,7 @@ export interface PoliciesApiGetPolicyTotalGasUsageRequest {
|
|
|
1018
1078
|
}
|
|
1019
1079
|
export interface PoliciesApiUpdatePolicyRequest {
|
|
1020
1080
|
/**
|
|
1021
|
-
*
|
|
1081
|
+
* Specifies the unique policy ID.
|
|
1022
1082
|
* @type string
|
|
1023
1083
|
* @memberof PoliciesApiupdatePolicy
|
|
1024
1084
|
*/
|
|
@@ -1054,43 +1114,47 @@ export declare class ObjectPoliciesApi {
|
|
|
1054
1114
|
private api;
|
|
1055
1115
|
constructor(configuration: Configuration, requestFactory?: PoliciesApiRequestFactory, responseProcessor?: PoliciesApiResponseProcessor);
|
|
1056
1116
|
/**
|
|
1057
|
-
*
|
|
1117
|
+
* Create a policy object.
|
|
1058
1118
|
* @param param the request object
|
|
1059
1119
|
*/
|
|
1060
1120
|
createPolicy(param: PoliciesApiCreatePolicyRequest, options?: Configuration): Promise<PolicyResponse>;
|
|
1061
1121
|
/**
|
|
1122
|
+
* Create a policy rule object for a policy.
|
|
1062
1123
|
* @param param the request object
|
|
1063
1124
|
*/
|
|
1064
1125
|
createPolicyAllowFunction(param: PoliciesApiCreatePolicyAllowFunctionRequest, options?: Configuration): Promise<PolicyRuleResponse>;
|
|
1065
1126
|
/**
|
|
1066
|
-
*
|
|
1127
|
+
* Delete a policy object.
|
|
1067
1128
|
* @param param the request object
|
|
1068
1129
|
*/
|
|
1069
1130
|
deletePolicy(param: PoliciesApiDeletePolicyRequest, options?: Configuration): Promise<PolicyDeleteResponse>;
|
|
1070
1131
|
/**
|
|
1071
|
-
*
|
|
1132
|
+
* List policies.
|
|
1072
1133
|
* @param param the request object
|
|
1073
1134
|
*/
|
|
1074
1135
|
getPolicies(param?: PoliciesApiGetPoliciesRequest, options?: Configuration): Promise<PolicyListResponse>;
|
|
1075
1136
|
/**
|
|
1076
|
-
*
|
|
1137
|
+
* Get a policy object.
|
|
1077
1138
|
* @param param the request object
|
|
1078
1139
|
*/
|
|
1079
1140
|
getPolicy(param: PoliciesApiGetPolicyRequest, options?: Configuration): Promise<PolicyResponse>;
|
|
1080
1141
|
/**
|
|
1142
|
+
* List policy rules of a policy.
|
|
1081
1143
|
* @param param the request object
|
|
1082
1144
|
*/
|
|
1083
1145
|
getPolicyAllowFunctions(param: PoliciesApiGetPolicyAllowFunctionsRequest, options?: Configuration): Promise<PolicyRuleListResponse>;
|
|
1084
1146
|
/**
|
|
1147
|
+
* List all gas reports of a policy.
|
|
1085
1148
|
* @param param the request object
|
|
1086
1149
|
*/
|
|
1087
1150
|
getPolicyTotalGasUsage(param: PoliciesApiGetPolicyTotalGasUsageRequest, options?: Configuration): Promise<GasReport>;
|
|
1088
1151
|
/**
|
|
1089
|
-
*
|
|
1152
|
+
* Update a policy object.
|
|
1090
1153
|
* @param param the request object
|
|
1091
1154
|
*/
|
|
1092
1155
|
updatePolicy(param: PoliciesApiUpdatePolicyRequest, options?: Configuration): Promise<PolicyResponse>;
|
|
1093
1156
|
/**
|
|
1157
|
+
* Update a policy rule object of a policy.
|
|
1094
1158
|
* @param param the request object
|
|
1095
1159
|
*/
|
|
1096
1160
|
updatePolicyAllowFunction(param: PoliciesApiUpdatePolicyAllowFunctionRequest, options?: Configuration): Promise<PolicyRuleResponse>;
|
|
@@ -1106,7 +1170,7 @@ export interface PolicyRulesApiCreatePolicyRulesRequest {
|
|
|
1106
1170
|
}
|
|
1107
1171
|
export interface PolicyRulesApiDeletePolicyRulesRequest {
|
|
1108
1172
|
/**
|
|
1109
|
-
*
|
|
1173
|
+
* Specifies the unique policy rule ID.
|
|
1110
1174
|
* @type string
|
|
1111
1175
|
* @memberof PolicyRulesApideletePolicyRules
|
|
1112
1176
|
*/
|
|
@@ -1114,31 +1178,31 @@ export interface PolicyRulesApiDeletePolicyRulesRequest {
|
|
|
1114
1178
|
}
|
|
1115
1179
|
export interface PolicyRulesApiGetPolicyRulesRequest {
|
|
1116
1180
|
/**
|
|
1117
|
-
*
|
|
1181
|
+
* Specifies the unique policy ID.
|
|
1118
1182
|
* @type string
|
|
1119
1183
|
* @memberof PolicyRulesApigetPolicyRules
|
|
1120
1184
|
*/
|
|
1121
1185
|
policy: string;
|
|
1122
1186
|
/**
|
|
1123
|
-
*
|
|
1187
|
+
* Specifies the maximum number of records to return.
|
|
1124
1188
|
* @type number
|
|
1125
1189
|
* @memberof PolicyRulesApigetPolicyRules
|
|
1126
1190
|
*/
|
|
1127
1191
|
limit?: number;
|
|
1128
1192
|
/**
|
|
1129
|
-
*
|
|
1193
|
+
* Specifies the offset for the first records to return.
|
|
1130
1194
|
* @type number
|
|
1131
1195
|
* @memberof PolicyRulesApigetPolicyRules
|
|
1132
1196
|
*/
|
|
1133
1197
|
skip?: number;
|
|
1134
1198
|
/**
|
|
1135
|
-
*
|
|
1199
|
+
* Specifies the order in which to sort the results.
|
|
1136
1200
|
* @type SortOrder
|
|
1137
1201
|
* @memberof PolicyRulesApigetPolicyRules
|
|
1138
1202
|
*/
|
|
1139
1203
|
order?: SortOrder;
|
|
1140
1204
|
/**
|
|
1141
|
-
*
|
|
1205
|
+
* Specifies the fields to expand in the response.
|
|
1142
1206
|
* @type Array<'contract'>
|
|
1143
1207
|
* @memberof PolicyRulesApigetPolicyRules
|
|
1144
1208
|
*/
|
|
@@ -1146,7 +1210,7 @@ export interface PolicyRulesApiGetPolicyRulesRequest {
|
|
|
1146
1210
|
}
|
|
1147
1211
|
export interface PolicyRulesApiUpdatePolicyRulesRequest {
|
|
1148
1212
|
/**
|
|
1149
|
-
* Specifies the unique
|
|
1213
|
+
* Specifies the unique policy rule ID.
|
|
1150
1214
|
* @type string
|
|
1151
1215
|
* @memberof PolicyRulesApiupdatePolicyRules
|
|
1152
1216
|
*/
|
|
@@ -1162,22 +1226,22 @@ export declare class ObjectPolicyRulesApi {
|
|
|
1162
1226
|
private api;
|
|
1163
1227
|
constructor(configuration: Configuration, requestFactory?: PolicyRulesApiRequestFactory, responseProcessor?: PolicyRulesApiResponseProcessor);
|
|
1164
1228
|
/**
|
|
1165
|
-
*
|
|
1229
|
+
* Create a policy rule object.
|
|
1166
1230
|
* @param param the request object
|
|
1167
1231
|
*/
|
|
1168
1232
|
createPolicyRules(param: PolicyRulesApiCreatePolicyRulesRequest, options?: Configuration): Promise<PolicyRuleResponse>;
|
|
1169
1233
|
/**
|
|
1170
|
-
* Deletes
|
|
1234
|
+
* Deletes a policy rule object.
|
|
1171
1235
|
* @param param the request object
|
|
1172
1236
|
*/
|
|
1173
1237
|
deletePolicyRules(param: PolicyRulesApiDeletePolicyRulesRequest, options?: Configuration): Promise<PolicyRuleDeleteResponse>;
|
|
1174
1238
|
/**
|
|
1175
|
-
*
|
|
1239
|
+
* List policy rules of a policy.
|
|
1176
1240
|
* @param param the request object
|
|
1177
1241
|
*/
|
|
1178
1242
|
getPolicyRules(param: PolicyRulesApiGetPolicyRulesRequest, options?: Configuration): Promise<PolicyRuleListResponse>;
|
|
1179
1243
|
/**
|
|
1180
|
-
*
|
|
1244
|
+
* Update a policy rule object.
|
|
1181
1245
|
* @param param the request object
|
|
1182
1246
|
*/
|
|
1183
1247
|
updatePolicyRules(param: PolicyRulesApiUpdatePolicyRulesRequest, options?: Configuration): Promise<PolicyRuleResponse>;
|
|
@@ -1193,51 +1257,45 @@ export interface SessionsApiCreateSessionRequest {
|
|
|
1193
1257
|
}
|
|
1194
1258
|
export interface SessionsApiGetPlayerSessionsRequest {
|
|
1195
1259
|
/**
|
|
1196
|
-
*
|
|
1260
|
+
* The player ID
|
|
1197
1261
|
* @type string
|
|
1198
1262
|
* @memberof SessionsApigetPlayerSessions
|
|
1199
1263
|
*/
|
|
1200
1264
|
player: string;
|
|
1201
1265
|
/**
|
|
1202
|
-
*
|
|
1266
|
+
* Specifies the maximum number of records to return.
|
|
1203
1267
|
* @type number
|
|
1204
1268
|
* @memberof SessionsApigetPlayerSessions
|
|
1205
1269
|
*/
|
|
1206
1270
|
limit?: number;
|
|
1207
1271
|
/**
|
|
1208
|
-
*
|
|
1272
|
+
* Specifies the offset for the first records to return.
|
|
1209
1273
|
* @type number
|
|
1210
1274
|
* @memberof SessionsApigetPlayerSessions
|
|
1211
1275
|
*/
|
|
1212
1276
|
skip?: number;
|
|
1213
1277
|
/**
|
|
1214
|
-
*
|
|
1278
|
+
* Specifies the order in which to sort the results.
|
|
1215
1279
|
* @type SortOrder
|
|
1216
1280
|
* @memberof SessionsApigetPlayerSessions
|
|
1217
1281
|
*/
|
|
1218
1282
|
order?: SortOrder;
|
|
1219
1283
|
/**
|
|
1220
|
-
*
|
|
1284
|
+
* Specifies the fields to expand in the response.
|
|
1221
1285
|
* @type Array<SessionResponseExpandable>
|
|
1222
1286
|
* @memberof SessionsApigetPlayerSessions
|
|
1223
1287
|
*/
|
|
1224
1288
|
expand?: Array<SessionResponseExpandable>;
|
|
1225
|
-
/**
|
|
1226
|
-
*
|
|
1227
|
-
* @type string
|
|
1228
|
-
* @memberof SessionsApigetPlayerSessions
|
|
1229
|
-
*/
|
|
1230
|
-
address?: string;
|
|
1231
1289
|
}
|
|
1232
1290
|
export interface SessionsApiGetSessionRequest {
|
|
1233
1291
|
/**
|
|
1234
|
-
*
|
|
1292
|
+
* Specifies the unique session ID.
|
|
1235
1293
|
* @type string
|
|
1236
1294
|
* @memberof SessionsApigetSession
|
|
1237
1295
|
*/
|
|
1238
1296
|
id: string;
|
|
1239
1297
|
/**
|
|
1240
|
-
*
|
|
1298
|
+
* Specifies the fields to expand.
|
|
1241
1299
|
* @type Array<SessionResponseExpandable>
|
|
1242
1300
|
* @memberof SessionsApigetSession
|
|
1243
1301
|
*/
|
|
@@ -1253,7 +1311,7 @@ export interface SessionsApiRevokeSessionRequest {
|
|
|
1253
1311
|
}
|
|
1254
1312
|
export interface SessionsApiSignatureSessionRequest {
|
|
1255
1313
|
/**
|
|
1256
|
-
*
|
|
1314
|
+
* Specifies the unique session ID.
|
|
1257
1315
|
* @type string
|
|
1258
1316
|
* @memberof SessionsApisignatureSession
|
|
1259
1317
|
*/
|
|
@@ -1269,12 +1327,12 @@ export declare class ObjectSessionsApi {
|
|
|
1269
1327
|
private api;
|
|
1270
1328
|
constructor(configuration: Configuration, requestFactory?: SessionsApiRequestFactory, responseProcessor?: SessionsApiResponseProcessor);
|
|
1271
1329
|
/**
|
|
1272
|
-
*
|
|
1330
|
+
* Create a session key.
|
|
1273
1331
|
* @param param the request object
|
|
1274
1332
|
*/
|
|
1275
1333
|
createSession(param: SessionsApiCreateSessionRequest, options?: Configuration): Promise<SessionResponse>;
|
|
1276
1334
|
/**
|
|
1277
|
-
*
|
|
1335
|
+
* List session keys of a player.
|
|
1278
1336
|
* @param param the request object
|
|
1279
1337
|
*/
|
|
1280
1338
|
getPlayerSessions(param: SessionsApiGetPlayerSessionsRequest, options?: Configuration): Promise<SessionListResponse>;
|
|
@@ -1284,7 +1342,7 @@ export declare class ObjectSessionsApi {
|
|
|
1284
1342
|
*/
|
|
1285
1343
|
getSession(param: SessionsApiGetSessionRequest, options?: Configuration): Promise<SessionResponse>;
|
|
1286
1344
|
/**
|
|
1287
|
-
*
|
|
1345
|
+
* Revoke the session session key.
|
|
1288
1346
|
* @param param the request object
|
|
1289
1347
|
*/
|
|
1290
1348
|
revokeSession(param: SessionsApiRevokeSessionRequest, options?: Configuration): Promise<SessionResponse>;
|
|
@@ -1303,15 +1361,23 @@ export interface TransactionIntentsApiCreateTransactionIntentRequest {
|
|
|
1303
1361
|
*/
|
|
1304
1362
|
createTransactionIntentRequest: CreateTransactionIntentRequest;
|
|
1305
1363
|
}
|
|
1306
|
-
export interface
|
|
1364
|
+
export interface TransactionIntentsApiEstimateTransactionIntentCostRequest {
|
|
1307
1365
|
/**
|
|
1308
1366
|
*
|
|
1367
|
+
* @type CreateTransactionIntentRequest
|
|
1368
|
+
* @memberof TransactionIntentsApiestimateTransactionIntentCost
|
|
1369
|
+
*/
|
|
1370
|
+
createTransactionIntentRequest: CreateTransactionIntentRequest;
|
|
1371
|
+
}
|
|
1372
|
+
export interface TransactionIntentsApiGetTransactionIntentRequest {
|
|
1373
|
+
/**
|
|
1374
|
+
* Specifies the unique transaction intent ID.
|
|
1309
1375
|
* @type string
|
|
1310
1376
|
* @memberof TransactionIntentsApigetTransactionIntent
|
|
1311
1377
|
*/
|
|
1312
1378
|
id: string;
|
|
1313
1379
|
/**
|
|
1314
|
-
*
|
|
1380
|
+
* Specifies the expandable fields.
|
|
1315
1381
|
* @type Array<TransactionIntentResponseExpandable>
|
|
1316
1382
|
* @memberof TransactionIntentsApigetTransactionIntent
|
|
1317
1383
|
*/
|
|
@@ -1319,49 +1385,49 @@ export interface TransactionIntentsApiGetTransactionIntentRequest {
|
|
|
1319
1385
|
}
|
|
1320
1386
|
export interface TransactionIntentsApiGetTransactionIntentsRequest {
|
|
1321
1387
|
/**
|
|
1322
|
-
*
|
|
1388
|
+
* Specifies the maximum number of records to return.
|
|
1323
1389
|
* @type number
|
|
1324
1390
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1325
1391
|
*/
|
|
1326
1392
|
limit?: number;
|
|
1327
1393
|
/**
|
|
1328
|
-
*
|
|
1394
|
+
* Specifies the offset for the first records to return.
|
|
1329
1395
|
* @type number
|
|
1330
1396
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1331
1397
|
*/
|
|
1332
1398
|
skip?: number;
|
|
1333
1399
|
/**
|
|
1334
|
-
*
|
|
1400
|
+
* Specifies the order in which to sort the results.
|
|
1335
1401
|
* @type SortOrder
|
|
1336
1402
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1337
1403
|
*/
|
|
1338
1404
|
order?: SortOrder;
|
|
1339
1405
|
/**
|
|
1340
|
-
*
|
|
1406
|
+
* Specifies the fields to expand in the response.
|
|
1341
1407
|
* @type Array<TransactionIntentResponseExpandable>
|
|
1342
1408
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1343
1409
|
*/
|
|
1344
1410
|
expand?: Array<TransactionIntentResponseExpandable>;
|
|
1345
1411
|
/**
|
|
1346
|
-
*
|
|
1412
|
+
* The chain ID.
|
|
1347
1413
|
* @type number
|
|
1348
1414
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1349
1415
|
*/
|
|
1350
1416
|
chainId?: number;
|
|
1351
1417
|
/**
|
|
1352
|
-
*
|
|
1418
|
+
* Filter by account ID.
|
|
1353
1419
|
* @type Array<string>
|
|
1354
1420
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1355
1421
|
*/
|
|
1356
1422
|
accountId?: Array<string>;
|
|
1357
1423
|
/**
|
|
1358
|
-
*
|
|
1424
|
+
* Filter by player ID.
|
|
1359
1425
|
* @type Array<string>
|
|
1360
1426
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1361
1427
|
*/
|
|
1362
1428
|
playerId?: Array<string>;
|
|
1363
1429
|
/**
|
|
1364
|
-
*
|
|
1430
|
+
* Filter by policy ID.
|
|
1365
1431
|
* @type Array<string>
|
|
1366
1432
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1367
1433
|
*/
|
|
@@ -1369,7 +1435,7 @@ export interface TransactionIntentsApiGetTransactionIntentsRequest {
|
|
|
1369
1435
|
}
|
|
1370
1436
|
export interface TransactionIntentsApiSignatureRequest {
|
|
1371
1437
|
/**
|
|
1372
|
-
*
|
|
1438
|
+
* Specifies the unique transaction intent ID.
|
|
1373
1439
|
* @type string
|
|
1374
1440
|
* @memberof TransactionIntentsApisignature
|
|
1375
1441
|
*/
|
|
@@ -1381,45 +1447,35 @@ export interface TransactionIntentsApiSignatureRequest {
|
|
|
1381
1447
|
*/
|
|
1382
1448
|
signatureRequest: SignatureRequest;
|
|
1383
1449
|
}
|
|
1384
|
-
export interface TransactionIntentsApiUpdateTransactionIntentResponseRequest {
|
|
1385
|
-
/**
|
|
1386
|
-
*
|
|
1387
|
-
* @type string
|
|
1388
|
-
* @memberof TransactionIntentsApiupdateTransactionIntentResponse
|
|
1389
|
-
*/
|
|
1390
|
-
id: string;
|
|
1391
|
-
}
|
|
1392
|
-
export interface TransactionIntentsApiUpdateTransactionIntentsResponseRequest {
|
|
1393
|
-
}
|
|
1394
1450
|
export declare class ObjectTransactionIntentsApi {
|
|
1395
1451
|
private api;
|
|
1396
1452
|
constructor(configuration: Configuration, requestFactory?: TransactionIntentsApiRequestFactory, responseProcessor?: TransactionIntentsApiResponseProcessor);
|
|
1397
1453
|
/**
|
|
1398
|
-
*
|
|
1454
|
+
* Retrieve a transaction intent by providing their id on Openfort. Transaction intents that have not been processed yet, have the `response` attribute as undefined.
|
|
1455
|
+
* Create a transaction intent object.
|
|
1399
1456
|
* @param param the request object
|
|
1400
1457
|
*/
|
|
1401
1458
|
createTransactionIntent(param: TransactionIntentsApiCreateTransactionIntentRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
1402
1459
|
/**
|
|
1403
|
-
*
|
|
1460
|
+
* Estimate the gas cost of creating a transaction intent and putting it onchain.
|
|
1461
|
+
* Estimate gas cost of creating a transaction
|
|
1462
|
+
* @param param the request object
|
|
1463
|
+
*/
|
|
1464
|
+
estimateTransactionIntentCost(param: TransactionIntentsApiEstimateTransactionIntentCostRequest, options?: Configuration): Promise<EstimateTransactionIntentGasResult>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Get a transaction intent object.
|
|
1404
1467
|
* @param param the request object
|
|
1405
1468
|
*/
|
|
1406
1469
|
getTransactionIntent(param: TransactionIntentsApiGetTransactionIntentRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
1407
1470
|
/**
|
|
1408
|
-
*
|
|
1471
|
+
* List transaction intents.
|
|
1409
1472
|
* @param param the request object
|
|
1410
1473
|
*/
|
|
1411
1474
|
getTransactionIntents(param?: TransactionIntentsApiGetTransactionIntentsRequest, options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
1412
1475
|
/**
|
|
1476
|
+
* 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.
|
|
1413
1477
|
* Confirms the creation of a transaction intent with an external owner.
|
|
1414
1478
|
* @param param the request object
|
|
1415
1479
|
*/
|
|
1416
1480
|
signature(param: TransactionIntentsApiSignatureRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
1417
|
-
/**
|
|
1418
|
-
* @param param the request object
|
|
1419
|
-
*/
|
|
1420
|
-
updateTransactionIntentResponse(param: TransactionIntentsApiUpdateTransactionIntentResponseRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
1421
|
-
/**
|
|
1422
|
-
* @param param the request object
|
|
1423
|
-
*/
|
|
1424
|
-
updateTransactionIntentsResponse(param?: TransactionIntentsApiUpdateTransactionIntentsResponseRequest, options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
1425
1481
|
}
|