@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
|
@@ -20,6 +20,7 @@ import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
|
20
20
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
21
21
|
import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
22
22
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
23
|
+
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
23
24
|
import { GasReport } from '../models/GasReport';
|
|
24
25
|
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
25
26
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
@@ -66,7 +67,8 @@ export declare class ObservableAccountsApi {
|
|
|
66
67
|
private configuration;
|
|
67
68
|
constructor(configuration: Configuration, requestFactory?: AccountsApiRequestFactory, responseProcessor?: AccountsApiResponseProcessor);
|
|
68
69
|
/**
|
|
69
|
-
*
|
|
70
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
71
|
+
* Cancel request of ownership transfer of an account.
|
|
70
72
|
* @param id Specifies the unique account ID.
|
|
71
73
|
* @param cancelTransferOwnershipRequest
|
|
72
74
|
*/
|
|
@@ -78,27 +80,31 @@ export declare class ObservableAccountsApi {
|
|
|
78
80
|
*/
|
|
79
81
|
completeRecovery(id: string, completeRecoveryRequest: CompleteRecoveryRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
80
82
|
/**
|
|
81
|
-
*
|
|
83
|
+
* This endpoint allows you to add a new account to your Openfort player. Only one account can be active per chain per player.
|
|
84
|
+
* Create an account object.
|
|
82
85
|
* @param createAccountRequest
|
|
83
86
|
*/
|
|
84
87
|
createAccount(createAccountRequest: CreateAccountRequest, _options?: Configuration): Observable<AccountResponse>;
|
|
85
88
|
/**
|
|
86
89
|
* 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.
|
|
90
|
+
* Get existing account.
|
|
87
91
|
* @param id Specifies the unique account ID.
|
|
88
|
-
* @param expand
|
|
92
|
+
* @param expand
|
|
89
93
|
*/
|
|
90
94
|
getAccount(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountResponse>;
|
|
91
95
|
/**
|
|
92
|
-
* 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.
|
|
93
|
-
*
|
|
94
|
-
* @param
|
|
95
|
-
* @param
|
|
96
|
-
* @param
|
|
97
|
-
* @param
|
|
96
|
+
* 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.
|
|
97
|
+
* List accounts of a player.
|
|
98
|
+
* @param player Specifies the unique player ID
|
|
99
|
+
* @param limit Specifies the maximum number of records to return.
|
|
100
|
+
* @param skip Specifies the offset for the first records to return.
|
|
101
|
+
* @param order Specifies the order in which to sort the results.
|
|
102
|
+
* @param expand Specifies the fields to expand in the response.
|
|
98
103
|
*/
|
|
99
104
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountListResponse>;
|
|
100
105
|
/**
|
|
101
|
-
*
|
|
106
|
+
* 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.
|
|
107
|
+
* Request ownership transfer of an account.
|
|
102
108
|
* @param id Specifies the unique account ID.
|
|
103
109
|
* @param transferOwnershipRequest
|
|
104
110
|
*/
|
|
@@ -128,15 +134,18 @@ export declare class ObservableAuthenticationApi {
|
|
|
128
134
|
private configuration;
|
|
129
135
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
130
136
|
/**
|
|
137
|
+
* Login a player.
|
|
131
138
|
* @param loginRequest
|
|
132
139
|
*/
|
|
133
140
|
login(loginRequest: LoginRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
134
141
|
/**
|
|
142
|
+
* Sign up a player.
|
|
135
143
|
* @param signupRequest
|
|
136
144
|
*/
|
|
137
145
|
signup(signupRequest: SignupRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
138
146
|
/**
|
|
139
|
-
*
|
|
147
|
+
* Verify an auth token.
|
|
148
|
+
* @param token Specifies the auth token.
|
|
140
149
|
*/
|
|
141
150
|
verifyAuthToken(token: string, _options?: Configuration): Observable<PlayerResponse>;
|
|
142
151
|
}
|
|
@@ -147,7 +156,7 @@ export declare class ObservableConfigAuthenticationApi {
|
|
|
147
156
|
private configuration;
|
|
148
157
|
constructor(configuration: Configuration, requestFactory?: ConfigAuthenticationApiRequestFactory, responseProcessor?: ConfigAuthenticationApiResponseProcessor);
|
|
149
158
|
/**
|
|
150
|
-
* Google
|
|
159
|
+
* Configure Google OAuth2.
|
|
151
160
|
* @param providerRequest
|
|
152
161
|
*/
|
|
153
162
|
editProvider(providerRequest: ProviderRequest, _options?: Configuration): Observable<ProjectResponse>;
|
|
@@ -159,34 +168,38 @@ export declare class ObservableContractsApi {
|
|
|
159
168
|
private configuration;
|
|
160
169
|
constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
|
|
161
170
|
/**
|
|
162
|
-
*
|
|
171
|
+
* Add a new contract to your project in Openfort
|
|
172
|
+
* Create contract object.
|
|
163
173
|
* @param createContractRequest
|
|
164
174
|
*/
|
|
165
175
|
createContract(createContractRequest: CreateContractRequest, _options?: Configuration): Observable<ContractResponse>;
|
|
166
176
|
/**
|
|
177
|
+
* Delete a contract from the project by providing its contract id.
|
|
167
178
|
* Deletes a contract object.
|
|
168
|
-
* @param id
|
|
179
|
+
* @param id Specifies the unique contract ID.
|
|
169
180
|
*/
|
|
170
181
|
deleteContract(id: string, _options?: Configuration): Observable<ContractDeleteResponse>;
|
|
171
182
|
/**
|
|
172
|
-
*
|
|
183
|
+
* Retrieve a contract by providing their contract id.
|
|
184
|
+
* Get a contract.
|
|
173
185
|
* @param id Specifies the unique contract ID.
|
|
174
186
|
*/
|
|
175
187
|
getContract(id: string, _options?: Configuration): Observable<ContractResponse>;
|
|
176
188
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* @param
|
|
180
|
-
* @param
|
|
181
|
-
* @param
|
|
182
|
-
* @param
|
|
183
|
-
* @param
|
|
184
|
-
* @param
|
|
189
|
+
* List of all contracts per project. By default, a maximum of ten contracts are shown.
|
|
190
|
+
* List contracts.
|
|
191
|
+
* @param limit Specifies the maximum number of records to return.
|
|
192
|
+
* @param skip Specifies the offset for the first records to return.
|
|
193
|
+
* @param order Specifies the order in which to sort the results.
|
|
194
|
+
* @param name Specifies the name of the contract.
|
|
195
|
+
* @param deleted Specifies whether to include deleted contracts.
|
|
196
|
+
* @param chainId The chain ID of the contract.
|
|
197
|
+
* @param address Specifies the address of the contract.
|
|
185
198
|
*/
|
|
186
199
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, _options?: Configuration): Observable<ContractListResponse>;
|
|
187
200
|
/**
|
|
188
201
|
* Updates a contract object.
|
|
189
|
-
* @param id
|
|
202
|
+
* @param id Specifies the unique contract ID.
|
|
190
203
|
* @param updateContractRequest
|
|
191
204
|
*/
|
|
192
205
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Observable<ContractResponse>;
|
|
@@ -198,10 +211,12 @@ export declare class ObservableGoogleAuthenticationApi {
|
|
|
198
211
|
private configuration;
|
|
199
212
|
constructor(configuration: Configuration, requestFactory?: GoogleAuthenticationApiRequestFactory, responseProcessor?: GoogleAuthenticationApiResponseProcessor);
|
|
200
213
|
/**
|
|
214
|
+
* Get the google oauth signin url.
|
|
201
215
|
*/
|
|
202
216
|
getSigninUrl(_options?: Configuration): Observable<GetSigninUrlResponse>;
|
|
203
217
|
/**
|
|
204
|
-
*
|
|
218
|
+
* Get the google oauth token.
|
|
219
|
+
* @param key Specifies the oauth key.
|
|
205
220
|
*/
|
|
206
221
|
getToken(key: string, _options?: Configuration): Observable<AuthResponse>;
|
|
207
222
|
}
|
|
@@ -212,63 +227,63 @@ export declare class ObservableInventoryApi {
|
|
|
212
227
|
private configuration;
|
|
213
228
|
constructor(configuration: Configuration, requestFactory?: InventoryApiRequestFactory, responseProcessor?: InventoryApiResponseProcessor);
|
|
214
229
|
/**
|
|
215
|
-
* Retrieves the cryptocurrency assets of an existing account.
|
|
230
|
+
* Retrieves the cryptocurrency assets of an existing account.
|
|
216
231
|
* @param id Specifies the unique account ID.
|
|
217
|
-
* @param limit
|
|
218
|
-
* @param skip
|
|
219
|
-
* @param order
|
|
232
|
+
* @param limit Specifies the maximum number of records to return.
|
|
233
|
+
* @param skip Specifies the offset for the first records to return.
|
|
234
|
+
* @param order Specifies the order in which to sort the results.
|
|
220
235
|
* @param contractId
|
|
221
236
|
*/
|
|
222
237
|
getAccountCryptoCurrencyInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
223
238
|
/**
|
|
224
|
-
*
|
|
239
|
+
* Get inventory of account.
|
|
225
240
|
* @param id Specifies the unique account ID.
|
|
226
241
|
*/
|
|
227
242
|
getAccountInventory(id: string, _options?: Configuration): Observable<ObsoleteInventoryResponse>;
|
|
228
243
|
/**
|
|
229
|
-
* Retrieves the native asset of an existing account.
|
|
244
|
+
* Retrieves the native asset of an existing account.
|
|
230
245
|
* @param id Specifies the unique account ID.
|
|
231
246
|
*/
|
|
232
247
|
getAccountNativeInventory(id: string, _options?: Configuration): Observable<InventoryResponse>;
|
|
233
248
|
/**
|
|
234
|
-
* Retrieves the NFT assets of an existing account.
|
|
249
|
+
* Retrieves the NFT assets of an existing account.
|
|
235
250
|
* @param id Specifies the unique account ID.
|
|
236
|
-
* @param limit
|
|
237
|
-
* @param skip
|
|
238
|
-
* @param order
|
|
251
|
+
* @param limit Specifies the maximum number of records to return.
|
|
252
|
+
* @param skip Specifies the offset for the first records to return.
|
|
253
|
+
* @param order Specifies the order in which to sort the results.
|
|
239
254
|
* @param contractId
|
|
240
255
|
*/
|
|
241
256
|
getAccountNftInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
242
257
|
/**
|
|
243
|
-
*
|
|
258
|
+
* Get cryptocurrency list of player.
|
|
244
259
|
* @param id Specifies the unique player ID.
|
|
245
|
-
* @param chainId
|
|
246
|
-
* @param limit
|
|
247
|
-
* @param skip
|
|
248
|
-
* @param order
|
|
249
|
-
* @param contractId
|
|
260
|
+
* @param chainId Filter by chain id.
|
|
261
|
+
* @param limit Specifies the maximum number of records to return.
|
|
262
|
+
* @param skip Specifies the offset for the first records to return.
|
|
263
|
+
* @param order Specifies the order in which to sort the results.
|
|
264
|
+
* @param contractId Filter by contract ID.
|
|
250
265
|
*/
|
|
251
266
|
getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
252
267
|
/**
|
|
253
|
-
*
|
|
268
|
+
* Get inventory of player.
|
|
254
269
|
* @param id Specifies the unique player ID.
|
|
255
|
-
* @param chainId
|
|
270
|
+
* @param chainId Filter by chain id.
|
|
256
271
|
*/
|
|
257
272
|
getPlayerInventory(id: string, chainId: number, _options?: Configuration): Observable<ObsoleteInventoryResponse>;
|
|
258
273
|
/**
|
|
259
|
-
*
|
|
274
|
+
* Get native token list of player.
|
|
260
275
|
* @param id Specifies the unique player ID.
|
|
261
|
-
* @param chainId
|
|
276
|
+
* @param chainId Filter by chain id.
|
|
262
277
|
*/
|
|
263
278
|
getPlayerNativeInventory(id: string, chainId: number, _options?: Configuration): Observable<InventoryResponse>;
|
|
264
279
|
/**
|
|
265
|
-
*
|
|
280
|
+
* Get NFTs list of player.
|
|
266
281
|
* @param id Specifies the unique player ID.
|
|
267
|
-
* @param chainId
|
|
268
|
-
* @param limit
|
|
269
|
-
* @param skip
|
|
270
|
-
* @param order
|
|
271
|
-
* @param contractId
|
|
282
|
+
* @param chainId Filter by chain id.
|
|
283
|
+
* @param limit Specifies the maximum number of records to return.
|
|
284
|
+
* @param skip Specifies the offset for the first records to return.
|
|
285
|
+
* @param order Specifies the order in which to sort the results.
|
|
286
|
+
* @param contractId Filter by contract ID.
|
|
272
287
|
*/
|
|
273
288
|
getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
274
289
|
}
|
|
@@ -279,57 +294,75 @@ export declare class ObservablePlayersApi {
|
|
|
279
294
|
private configuration;
|
|
280
295
|
constructor(configuration: Configuration, requestFactory?: PlayersApiRequestFactory, responseProcessor?: PlayersApiResponseProcessor);
|
|
281
296
|
/**
|
|
282
|
-
*
|
|
297
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
298
|
+
* Cancel request to transfer ownership of an account.
|
|
283
299
|
* @param id
|
|
284
300
|
* @param playerCancelTransferOwnershipRequest
|
|
285
301
|
*/
|
|
286
302
|
cancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
287
303
|
/**
|
|
288
|
-
*
|
|
304
|
+
* Add a new player to your player list in Openfort.
|
|
305
|
+
* Create a player object.
|
|
289
306
|
* @param createPlayerRequest
|
|
290
307
|
*/
|
|
291
308
|
createPlayer(createPlayerRequest: CreatePlayerRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
292
309
|
/**
|
|
293
|
-
*
|
|
310
|
+
* Create account object for a player.
|
|
294
311
|
* @param id Specifies the unique player ID.
|
|
295
312
|
* @param createPlayerAccountRequest
|
|
296
313
|
*/
|
|
297
314
|
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, _options?: Configuration): Observable<AccountResponse>;
|
|
298
315
|
/**
|
|
299
|
-
*
|
|
316
|
+
* Create session object for a player.
|
|
300
317
|
* @param id Specifies the unique player ID.
|
|
301
318
|
* @param createPlayerSessionRequest
|
|
302
319
|
*/
|
|
303
320
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
304
321
|
/**
|
|
305
|
-
* Retrieves the details of an existing player.
|
|
322
|
+
* Retrieves the details of an existing player.
|
|
306
323
|
* @param id Specifies the unique player ID.
|
|
307
|
-
* @param expand
|
|
324
|
+
* @param expand Specifies the expandable fields.
|
|
308
325
|
*/
|
|
309
326
|
getPlayer(id: string, expand?: Array<PlayerResponseExpandable>, _options?: Configuration): Observable<PlayerResponse>;
|
|
310
327
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @param id
|
|
313
|
-
* @param expand
|
|
328
|
+
* List of accounts of a player.
|
|
329
|
+
* @param id Specifies the unique player ID.
|
|
330
|
+
* @param expand Specifies the expandable fields.
|
|
314
331
|
*/
|
|
315
332
|
getPlayerAccounts(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountListResponse>;
|
|
316
333
|
/**
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
* @param
|
|
320
|
-
* @param
|
|
321
|
-
* @param
|
|
322
|
-
* @param
|
|
334
|
+
* By default, a maximum of ten players are shown.
|
|
335
|
+
* List players.
|
|
336
|
+
* @param limit Specifies the maximum number of records to return.
|
|
337
|
+
* @param skip Specifies the offset for the first records to return.
|
|
338
|
+
* @param order Specifies the order in which to sort the results.
|
|
339
|
+
* @param expand Specifies the fields to expand in the response.
|
|
340
|
+
* @param name Filter by player name.
|
|
323
341
|
*/
|
|
324
342
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, _options?: Configuration): Observable<PlayerListResponse>;
|
|
325
343
|
/**
|
|
326
|
-
*
|
|
344
|
+
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
345
|
+
* Cancel request to transfer ownership of an account.
|
|
346
|
+
* @param id
|
|
347
|
+
* @param playerCancelTransferOwnershipRequest
|
|
348
|
+
*/
|
|
349
|
+
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
350
|
+
/**
|
|
351
|
+
* 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.
|
|
352
|
+
* Request transfer ownership of account.
|
|
353
|
+
* @param id Specifies the unique player ID.
|
|
354
|
+
* @param playerTransferOwnershipRequest
|
|
355
|
+
*/
|
|
356
|
+
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
357
|
+
/**
|
|
358
|
+
* 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.
|
|
359
|
+
* Request transfer ownership of account.
|
|
327
360
|
* @param id Specifies the unique player ID.
|
|
328
361
|
* @param playerTransferOwnershipRequest
|
|
329
362
|
*/
|
|
330
363
|
requestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
331
364
|
/**
|
|
332
|
-
*
|
|
365
|
+
* Revoke session object for a player.
|
|
333
366
|
* @param id Specifies the unique player ID.
|
|
334
367
|
* @param revokeSessionPlayerRequest
|
|
335
368
|
*/
|
|
@@ -348,10 +381,11 @@ export declare class ObservablePlayersAuthenticationApi {
|
|
|
348
381
|
private configuration;
|
|
349
382
|
constructor(configuration: Configuration, requestFactory?: PlayersAuthenticationApiRequestFactory, responseProcessor?: PlayersAuthenticationApiResponseProcessor);
|
|
350
383
|
/**
|
|
351
|
-
*
|
|
352
|
-
* @param
|
|
353
|
-
* @param
|
|
354
|
-
* @param
|
|
384
|
+
* List authenticated players.
|
|
385
|
+
* @param limit Specifies the maximum number of records to return.
|
|
386
|
+
* @param skip Specifies the offset for the first records to return.
|
|
387
|
+
* @param order Specifies the order in which to sort the results.
|
|
388
|
+
* @param email Specifies the email address of the user.
|
|
355
389
|
*/
|
|
356
390
|
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, _options?: Configuration): Observable<AuthPlayerListResponse>;
|
|
357
391
|
}
|
|
@@ -362,53 +396,57 @@ export declare class ObservablePoliciesApi {
|
|
|
362
396
|
private configuration;
|
|
363
397
|
constructor(configuration: Configuration, requestFactory?: PoliciesApiRequestFactory, responseProcessor?: PoliciesApiResponseProcessor);
|
|
364
398
|
/**
|
|
365
|
-
*
|
|
399
|
+
* Create a policy object.
|
|
366
400
|
* @param createPolicyRequest
|
|
367
401
|
*/
|
|
368
402
|
createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
|
|
369
403
|
/**
|
|
370
|
-
*
|
|
404
|
+
* Create a policy rule object for a policy.
|
|
405
|
+
* @param id Specifies the unique policy ID.
|
|
371
406
|
* @param createPolicyAllowFunctionRequest
|
|
372
407
|
*/
|
|
373
408
|
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, _options?: Configuration): Observable<PolicyRuleResponse>;
|
|
374
409
|
/**
|
|
375
|
-
*
|
|
376
|
-
* @param id
|
|
410
|
+
* Delete a policy object.
|
|
411
|
+
* @param id Specifies the unique policy ID.
|
|
377
412
|
*/
|
|
378
413
|
deletePolicy(id: string, _options?: Configuration): Observable<PolicyDeleteResponse>;
|
|
379
414
|
/**
|
|
380
|
-
*
|
|
381
|
-
* @param limit
|
|
382
|
-
* @param skip
|
|
383
|
-
* @param order
|
|
384
|
-
* @param expand
|
|
385
|
-
* @param name
|
|
386
|
-
* @param deleted
|
|
387
|
-
* @param chainId
|
|
415
|
+
* List policies.
|
|
416
|
+
* @param limit Specifies the maximum number of records to return.
|
|
417
|
+
* @param skip Specifies the offset for the first records to return.
|
|
418
|
+
* @param order Specifies the order in which to sort the results.
|
|
419
|
+
* @param expand Specifies the fields to expand in the response.
|
|
420
|
+
* @param name Specifies the name of the policy.
|
|
421
|
+
* @param deleted Specifies whether to include deleted contracts.
|
|
422
|
+
* @param chainId The chain ID of the policy.
|
|
388
423
|
*/
|
|
389
424
|
getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, _options?: Configuration): Observable<PolicyListResponse>;
|
|
390
425
|
/**
|
|
391
|
-
*
|
|
392
|
-
* @param id
|
|
393
|
-
* @param expand
|
|
426
|
+
* Get a policy object.
|
|
427
|
+
* @param id Specifies the unique policy ID.
|
|
428
|
+
* @param expand Specifies the fields to expand.
|
|
394
429
|
*/
|
|
395
430
|
getPolicy(id: string, expand?: Array<PolicyResponseExpandable>, _options?: Configuration): Observable<PolicyResponse>;
|
|
396
431
|
/**
|
|
397
|
-
*
|
|
398
|
-
* @param
|
|
432
|
+
* List policy rules of a policy.
|
|
433
|
+
* @param id Specifies the unique policy ID.
|
|
434
|
+
* @param expand Specifies the fields to expand.
|
|
399
435
|
*/
|
|
400
436
|
getPolicyAllowFunctions(id: string, expand?: Array<'contract'>, _options?: Configuration): Observable<PolicyRuleListResponse>;
|
|
401
437
|
/**
|
|
402
|
-
*
|
|
438
|
+
* List all gas reports of a policy.
|
|
439
|
+
* @param id Specifies the unique policy ID.
|
|
403
440
|
*/
|
|
404
441
|
getPolicyTotalGasUsage(id: string, _options?: Configuration): Observable<GasReport>;
|
|
405
442
|
/**
|
|
406
|
-
*
|
|
407
|
-
* @param id
|
|
443
|
+
* Update a policy object.
|
|
444
|
+
* @param id Specifies the unique policy ID.
|
|
408
445
|
* @param updatePolicyRequest
|
|
409
446
|
*/
|
|
410
447
|
updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
|
|
411
448
|
/**
|
|
449
|
+
* Update a policy rule object of a policy.
|
|
412
450
|
* @param policy
|
|
413
451
|
* @param policyRule
|
|
414
452
|
* @param updatePolicyRuleRequest
|
|
@@ -422,27 +460,27 @@ export declare class ObservablePolicyRulesApi {
|
|
|
422
460
|
private configuration;
|
|
423
461
|
constructor(configuration: Configuration, requestFactory?: PolicyRulesApiRequestFactory, responseProcessor?: PolicyRulesApiResponseProcessor);
|
|
424
462
|
/**
|
|
425
|
-
*
|
|
463
|
+
* Create a policy rule object.
|
|
426
464
|
* @param createPolicyRuleRequest
|
|
427
465
|
*/
|
|
428
466
|
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, _options?: Configuration): Observable<PolicyRuleResponse>;
|
|
429
467
|
/**
|
|
430
|
-
* Deletes
|
|
431
|
-
* @param id
|
|
468
|
+
* Deletes a policy rule object.
|
|
469
|
+
* @param id Specifies the unique policy rule ID.
|
|
432
470
|
*/
|
|
433
471
|
deletePolicyRules(id: string, _options?: Configuration): Observable<PolicyRuleDeleteResponse>;
|
|
434
472
|
/**
|
|
435
|
-
*
|
|
436
|
-
* @param policy
|
|
437
|
-
* @param limit
|
|
438
|
-
* @param skip
|
|
439
|
-
* @param order
|
|
440
|
-
* @param expand
|
|
473
|
+
* List policy rules of a policy.
|
|
474
|
+
* @param policy Specifies the unique policy ID.
|
|
475
|
+
* @param limit Specifies the maximum number of records to return.
|
|
476
|
+
* @param skip Specifies the offset for the first records to return.
|
|
477
|
+
* @param order Specifies the order in which to sort the results.
|
|
478
|
+
* @param expand Specifies the fields to expand in the response.
|
|
441
479
|
*/
|
|
442
480
|
getPolicyRules(policy: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<'contract'>, _options?: Configuration): Observable<PolicyRuleListResponse>;
|
|
443
481
|
/**
|
|
444
|
-
*
|
|
445
|
-
* @param id Specifies the unique
|
|
482
|
+
* Update a policy rule object.
|
|
483
|
+
* @param id Specifies the unique policy rule ID.
|
|
446
484
|
* @param updatePolicyRuleRequest
|
|
447
485
|
*/
|
|
448
486
|
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, _options?: Configuration): Observable<PolicyRuleResponse>;
|
|
@@ -454,34 +492,33 @@ export declare class ObservableSessionsApi {
|
|
|
454
492
|
private configuration;
|
|
455
493
|
constructor(configuration: Configuration, requestFactory?: SessionsApiRequestFactory, responseProcessor?: SessionsApiResponseProcessor);
|
|
456
494
|
/**
|
|
457
|
-
*
|
|
495
|
+
* Create a session key.
|
|
458
496
|
* @param createSessionRequest
|
|
459
497
|
*/
|
|
460
498
|
createSession(createSessionRequest: CreateSessionRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
461
499
|
/**
|
|
462
|
-
*
|
|
463
|
-
* @param player
|
|
464
|
-
* @param limit
|
|
465
|
-
* @param skip
|
|
466
|
-
* @param order
|
|
467
|
-
* @param expand
|
|
468
|
-
* @param address
|
|
500
|
+
* List session keys of a player.
|
|
501
|
+
* @param player The player ID
|
|
502
|
+
* @param limit Specifies the maximum number of records to return.
|
|
503
|
+
* @param skip Specifies the offset for the first records to return.
|
|
504
|
+
* @param order Specifies the order in which to sort the results.
|
|
505
|
+
* @param expand Specifies the fields to expand in the response.
|
|
469
506
|
*/
|
|
470
|
-
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>,
|
|
507
|
+
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Observable<SessionListResponse>;
|
|
471
508
|
/**
|
|
472
509
|
* Returns a player session by session id
|
|
473
|
-
* @param id
|
|
474
|
-
* @param expand
|
|
510
|
+
* @param id Specifies the unique session ID.
|
|
511
|
+
* @param expand Specifies the fields to expand.
|
|
475
512
|
*/
|
|
476
513
|
getSession(id: string, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Observable<SessionResponse>;
|
|
477
514
|
/**
|
|
478
|
-
*
|
|
515
|
+
* Revoke the session session key.
|
|
479
516
|
* @param revokeSessionRequest
|
|
480
517
|
*/
|
|
481
518
|
revokeSession(revokeSessionRequest: RevokeSessionRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
482
519
|
/**
|
|
483
520
|
* Confirms the creation of a session with an external owner.
|
|
484
|
-
* @param id
|
|
521
|
+
* @param id Specifies the unique session ID.
|
|
485
522
|
* @param signatureRequest
|
|
486
523
|
*/
|
|
487
524
|
signatureSession(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
@@ -493,39 +530,40 @@ export declare class ObservableTransactionIntentsApi {
|
|
|
493
530
|
private configuration;
|
|
494
531
|
constructor(configuration: Configuration, requestFactory?: TransactionIntentsApiRequestFactory, responseProcessor?: TransactionIntentsApiResponseProcessor);
|
|
495
532
|
/**
|
|
496
|
-
*
|
|
533
|
+
* Retrieve a transaction intent by providing their id on Openfort. Transaction intents that have not been processed yet, have the `response` attribute as undefined.
|
|
534
|
+
* Create a transaction intent object.
|
|
497
535
|
* @param createTransactionIntentRequest
|
|
498
536
|
*/
|
|
499
537
|
createTransactionIntent(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
500
538
|
/**
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
* @param
|
|
539
|
+
* Estimate the gas cost of creating a transaction intent and putting it onchain.
|
|
540
|
+
* Estimate gas cost of creating a transaction
|
|
541
|
+
* @param createTransactionIntentRequest
|
|
542
|
+
*/
|
|
543
|
+
estimateTransactionIntentCost(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Observable<EstimateTransactionIntentGasResult>;
|
|
544
|
+
/**
|
|
545
|
+
* Get a transaction intent object.
|
|
546
|
+
* @param id Specifies the unique transaction intent ID.
|
|
547
|
+
* @param expand Specifies the expandable fields.
|
|
504
548
|
*/
|
|
505
549
|
getTransactionIntent(id: string, expand?: Array<TransactionIntentResponseExpandable>, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
506
550
|
/**
|
|
507
|
-
*
|
|
508
|
-
* @param limit
|
|
509
|
-
* @param skip
|
|
510
|
-
* @param order
|
|
511
|
-
* @param expand
|
|
512
|
-
* @param chainId
|
|
513
|
-
* @param accountId
|
|
514
|
-
* @param playerId
|
|
515
|
-
* @param policyId
|
|
551
|
+
* List transaction intents.
|
|
552
|
+
* @param limit Specifies the maximum number of records to return.
|
|
553
|
+
* @param skip Specifies the offset for the first records to return.
|
|
554
|
+
* @param order Specifies the order in which to sort the results.
|
|
555
|
+
* @param expand Specifies the fields to expand in the response.
|
|
556
|
+
* @param chainId The chain ID.
|
|
557
|
+
* @param accountId Filter by account ID.
|
|
558
|
+
* @param playerId Filter by player ID.
|
|
559
|
+
* @param policyId Filter by policy ID.
|
|
516
560
|
*/
|
|
517
561
|
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, accountId?: Array<string>, playerId?: Array<string>, policyId?: Array<string>, _options?: Configuration): Observable<TransactionIntentListResponse>;
|
|
518
562
|
/**
|
|
563
|
+
* 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.
|
|
519
564
|
* Confirms the creation of a transaction intent with an external owner.
|
|
520
|
-
* @param id
|
|
565
|
+
* @param id Specifies the unique transaction intent ID.
|
|
521
566
|
* @param signatureRequest
|
|
522
567
|
*/
|
|
523
568
|
signature(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
524
|
-
/**
|
|
525
|
-
* @param id
|
|
526
|
-
*/
|
|
527
|
-
updateTransactionIntentResponse(id: string, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
528
|
-
/**
|
|
529
|
-
*/
|
|
530
|
-
updateTransactionIntentsResponse(_options?: Configuration): Observable<TransactionIntentListResponse>;
|
|
531
569
|
}
|