@openfort/openfort-node 0.6.65 → 0.6.67
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/CHANGELOG.md +4 -0
- package/README.md +1 -2
- package/dist/apis/iamApiWrapper.d.ts +3 -3
- package/dist/apis/iamApiWrapper.js.map +1 -1
- package/dist/apis/settingsApiWrapper.d.ts +2 -2
- package/dist/apis/settingsApiWrapper.js.map +1 -1
- package/dist/generated/apis/AdminAuthenticationApi.d.ts +18 -4
- package/dist/generated/apis/AdminAuthenticationApi.js +63 -5
- package/dist/generated/apis/AdminAuthenticationApi.js.map +1 -1
- package/dist/generated/apis/AuthenticationApi.d.ts +16 -0
- package/dist/generated/apis/AuthenticationApi.js +61 -0
- package/dist/generated/apis/AuthenticationApi.js.map +1 -1
- package/dist/generated/apis/DefaultApi.d.ts +25 -0
- package/dist/generated/apis/DefaultApi.js +70 -0
- package/dist/generated/apis/DefaultApi.js.map +1 -0
- package/dist/generated/apis/ForwarderContractApi.d.ts +87 -0
- package/dist/generated/apis/ForwarderContractApi.js +318 -0
- package/dist/generated/apis/ForwarderContractApi.js.map +1 -0
- package/dist/generated/apis/PoliciesApi.d.ts +19 -1
- package/dist/generated/apis/PoliciesApi.js +83 -1
- package/dist/generated/apis/PoliciesApi.js.map +1 -1
- package/dist/generated/apis/SettingsApi.d.ts +19 -3
- package/dist/generated/apis/SettingsApi.js +73 -6
- package/dist/generated/apis/SettingsApi.js.map +1 -1
- package/dist/generated/apis/SubscriptionsApi.d.ts +2 -1
- package/dist/generated/apis/SubscriptionsApi.js +3 -2
- package/dist/generated/apis/SubscriptionsApi.js.map +1 -1
- package/dist/generated/apis/TransactionIntentsApi.d.ts +2 -2
- package/dist/generated/apis/TransactionIntentsApi.js +2 -2
- package/dist/generated/http/http.d.ts +1 -0
- package/dist/generated/models/{OAuthConfig.d.ts → AuthConfig.d.ts} +17 -1
- package/dist/generated/models/{OAuthConfig.js → AuthConfig.js} +31 -7
- package/dist/generated/models/AuthConfig.js.map +1 -0
- package/dist/generated/models/AuthProviderListResponse.d.ts +29 -0
- package/dist/generated/models/AuthProviderListResponse.js +32 -0
- package/dist/generated/models/AuthProviderListResponse.js.map +1 -0
- package/dist/generated/models/AuthProviderWithTypeResponse.d.ts +31 -0
- package/dist/generated/models/AuthProviderWithTypeResponse.js +38 -0
- package/dist/generated/models/AuthProviderWithTypeResponse.js.map +1 -0
- package/dist/generated/models/AuthenticationType.d.ts +12 -0
- package/dist/generated/models/AuthenticationType.js +14 -0
- package/dist/generated/models/AuthenticationType.js.map +1 -0
- package/dist/generated/models/BasicAuthProviderEMAIL.d.ts +12 -0
- package/dist/generated/models/BasicAuthProviderEMAIL.js +14 -0
- package/dist/generated/models/BasicAuthProviderEMAIL.js.map +1 -0
- package/dist/generated/models/ContractPolicyRuleResponse.d.ts +3 -2
- package/dist/generated/models/ContractPolicyRuleResponse.js +6 -0
- package/dist/generated/models/ContractPolicyRuleResponse.js.map +1 -1
- package/dist/generated/models/{DeveloperAccountCreateRequest.d.ts → CreateDeveloperAccountCreateRequest.d.ts} +1 -1
- package/dist/generated/models/{DeveloperAccountCreateRequest.js → CreateDeveloperAccountCreateRequest.js} +7 -7
- package/dist/generated/models/CreateDeveloperAccountCreateRequest.js.map +1 -0
- package/dist/generated/models/CreateEcosystemConfigurationRequest.d.ts +29 -0
- package/dist/generated/models/CreateEcosystemConfigurationRequest.js +36 -0
- package/dist/generated/models/CreateEcosystemConfigurationRequest.js.map +1 -1
- package/dist/generated/models/CreateForwarderContractRequest.d.ts +39 -0
- package/dist/generated/models/CreateForwarderContractRequest.js +44 -0
- package/dist/generated/models/CreateForwarderContractRequest.js.map +1 -0
- package/dist/generated/models/CreatePolicyRuleRequest.d.ts +4 -0
- package/dist/generated/models/CreatePolicyRuleRequest.js +6 -0
- package/dist/generated/models/CreatePolicyRuleRequest.js.map +1 -1
- package/dist/generated/models/CreateSessionRequest.d.ts +1 -1
- package/dist/generated/models/EcosystemConfigurationResponse.d.ts +29 -0
- package/dist/generated/models/EcosystemConfigurationResponse.js +36 -0
- package/dist/generated/models/EcosystemConfigurationResponse.js.map +1 -1
- package/dist/generated/models/EmailAuthConfig.d.ts +36 -0
- package/dist/generated/models/EmailAuthConfig.js +41 -0
- package/dist/generated/models/EmailAuthConfig.js.map +1 -0
- package/dist/generated/models/EntityTypeFORWARDERCONTRACT.d.ts +12 -0
- package/dist/generated/models/EntityTypeFORWARDERCONTRACT.js +14 -0
- package/dist/generated/models/EntityTypeFORWARDERCONTRACT.js.map +1 -0
- package/dist/generated/models/ForwarderContractDeleteResponse.d.ts +31 -0
- package/dist/generated/models/ForwarderContractDeleteResponse.js +44 -0
- package/dist/generated/models/ForwarderContractDeleteResponse.js.map +1 -0
- package/dist/generated/models/ForwarderContractResponse.d.ts +34 -0
- package/dist/generated/models/ForwarderContractResponse.js +62 -0
- package/dist/generated/models/ForwarderContractResponse.js.map +1 -0
- package/dist/generated/models/GasReport.d.ts +2 -2
- package/dist/generated/models/GasReport.js +1 -1
- package/dist/generated/models/GasReport.js.map +1 -1
- package/dist/generated/models/{GasReportTransactionIntentsInner.d.ts → GasReportTransactionIntents.d.ts} +5 -5
- package/dist/generated/models/{GasReportTransactionIntentsInner.js → GasReportTransactionIntents.js} +15 -15
- package/dist/generated/models/GasReportTransactionIntents.js.map +1 -0
- package/dist/generated/models/GasReportTransactionIntentsListResponse.d.ts +35 -0
- package/dist/generated/models/GasReportTransactionIntentsListResponse.js +62 -0
- package/dist/generated/models/GasReportTransactionIntentsListResponse.js.map +1 -0
- package/dist/generated/models/GrantCallbackRequest.d.ts +29 -0
- package/dist/generated/models/GrantCallbackRequest.js +38 -0
- package/dist/generated/models/GrantCallbackRequest.js.map +1 -0
- package/dist/generated/models/GrantOAuthResponse.d.ts +31 -0
- package/dist/generated/models/GrantOAuthResponse.js +50 -0
- package/dist/generated/models/GrantOAuthResponse.js.map +1 -0
- package/dist/generated/models/LineOAuthConfig.d.ts +41 -0
- package/dist/generated/models/LineOAuthConfig.js +50 -0
- package/dist/generated/models/LineOAuthConfig.js.map +1 -0
- package/dist/generated/models/ListConfigRequest.d.ts +28 -0
- package/dist/generated/models/ListConfigRequest.js +32 -0
- package/dist/generated/models/ListConfigRequest.js.map +1 -0
- package/dist/generated/models/LoginOIDCRequest.d.ts +31 -0
- package/dist/generated/models/LoginOIDCRequest.js +32 -0
- package/dist/generated/models/LoginOIDCRequest.js.map +1 -0
- package/dist/generated/models/MyEcosystemResponse.d.ts +31 -0
- package/dist/generated/models/MyEcosystemResponse.js +44 -0
- package/dist/generated/models/MyEcosystemResponse.js.map +1 -0
- package/dist/generated/models/OAuthConfigListResponse.d.ts +2 -2
- package/dist/generated/models/OAuthConfigListResponse.js +1 -1
- package/dist/generated/models/OAuthConfigListResponse.js.map +1 -1
- package/dist/generated/models/OAuthInitRequestOptions.d.ts +4 -0
- package/dist/generated/models/OAuthInitRequestOptions.js +6 -0
- package/dist/generated/models/OAuthInitRequestOptions.js.map +1 -1
- package/dist/generated/models/OAuthProvider.d.ts +1 -1
- package/dist/generated/models/OAuthProviderLINE.d.ts +12 -0
- package/dist/generated/models/OAuthProviderLINE.js +14 -0
- package/dist/generated/models/OAuthProviderLINE.js.map +1 -0
- package/dist/generated/models/OAuthProviderTELEGRAM.d.ts +12 -0
- package/dist/generated/models/OAuthProviderTELEGRAM.js +14 -0
- package/dist/generated/models/OAuthProviderTELEGRAM.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +28 -3
- package/dist/generated/models/ObjectSerializer.js +78 -9
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PolicyReportQueries.d.ts +35 -0
- package/dist/generated/models/PolicyReportQueries.js +38 -0
- package/dist/generated/models/PolicyReportQueries.js.map +1 -0
- package/dist/generated/models/PolicyReportTransactionIntentsQueries.d.ts +35 -0
- package/dist/generated/models/PolicyReportTransactionIntentsQueries.js +38 -0
- package/dist/generated/models/PolicyReportTransactionIntentsQueries.js.map +1 -0
- package/dist/generated/models/PolicyResponsePolicyRulesInner.d.ts +2 -1
- package/dist/generated/models/PolicyResponsePolicyRulesInner.js +6 -0
- package/dist/generated/models/PolicyResponsePolicyRulesInner.js.map +1 -1
- package/dist/generated/models/PolicyRuleResponse.d.ts +2 -1
- package/dist/generated/models/PolicyRuleResponse.js +6 -0
- package/dist/generated/models/PolicyRuleResponse.js.map +1 -1
- package/dist/generated/models/TelegramOAuthConfig.d.ts +41 -0
- package/dist/generated/models/TelegramOAuthConfig.js +50 -0
- package/dist/generated/models/TelegramOAuthConfig.js.map +1 -0
- package/dist/generated/models/TelegramThirdPartyConfig.d.ts +37 -0
- package/dist/generated/models/TelegramThirdPartyConfig.js +44 -0
- package/dist/generated/models/TelegramThirdPartyConfig.js.map +1 -0
- package/dist/generated/models/TestTrigger200Response.d.ts +28 -0
- package/dist/generated/models/TestTrigger200Response.js +32 -0
- package/dist/generated/models/TestTrigger200Response.js.map +1 -0
- package/dist/generated/models/ThirdPartyOAuthProvider.d.ts +1 -1
- package/dist/generated/models/ThirdPartyOAuthProviderTELEGRAMMINIAPP.d.ts +12 -0
- package/dist/generated/models/ThirdPartyOAuthProviderTELEGRAMMINIAPP.js +14 -0
- package/dist/generated/models/ThirdPartyOAuthProviderTELEGRAMMINIAPP.js.map +1 -0
- package/dist/generated/models/UpdateDeveloperAccountCreateRequest.d.ts +31 -0
- package/dist/generated/models/UpdateDeveloperAccountCreateRequest.js +32 -0
- package/dist/generated/models/UpdateDeveloperAccountCreateRequest.js.map +1 -0
- package/dist/generated/models/UpdatePolicyRuleRequest.d.ts +4 -0
- package/dist/generated/models/UpdatePolicyRuleRequest.js +6 -0
- package/dist/generated/models/UpdatePolicyRuleRequest.js.map +1 -1
- package/dist/generated/models/all.d.ts +28 -3
- package/dist/generated/models/all.js +28 -3
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +222 -11
- package/dist/generated/types/ObjectParamAPI.js +119 -26
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +100 -10
- package/dist/generated/types/ObservableAPI.js +244 -8
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +96 -10
- package/dist/generated/types/PromiseAPI.js +141 -29
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- 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/DeveloperAccountCreateRequest.js.map +0 -1
- package/dist/generated/models/GasReportTransactionIntentsInner.js.map +0 -1
- package/dist/generated/models/OAuthConfig.js.map +0 -1
|
@@ -3,10 +3,12 @@ import { APITopic } from '../models/APITopic';
|
|
|
3
3
|
import { AccountListResponse } from '../models/AccountListResponse';
|
|
4
4
|
import { AccountResponse } from '../models/AccountResponse';
|
|
5
5
|
import { AccountResponseExpandable } from '../models/AccountResponseExpandable';
|
|
6
|
+
import { AuthConfig } from '../models/AuthConfig';
|
|
6
7
|
import { AuthPlayerListResponse } from '../models/AuthPlayerListResponse';
|
|
7
8
|
import { AuthPlayerResponse } from '../models/AuthPlayerResponse';
|
|
8
9
|
import { AuthPlayerResponseWithRecoveryShare } from '../models/AuthPlayerResponseWithRecoveryShare';
|
|
9
10
|
import { AuthProvider } from '../models/AuthProvider';
|
|
11
|
+
import { AuthProviderListResponse } from '../models/AuthProviderListResponse';
|
|
10
12
|
import { AuthResponse } from '../models/AuthResponse';
|
|
11
13
|
import { AuthSessionResponse } from '../models/AuthSessionResponse';
|
|
12
14
|
import { AuthenticateOAuthRequest } from '../models/AuthenticateOAuthRequest';
|
|
@@ -23,8 +25,10 @@ import { ContractResponse } from '../models/ContractResponse';
|
|
|
23
25
|
import { CreateAccountRequest } from '../models/CreateAccountRequest';
|
|
24
26
|
import { CreateAuthPlayerRequest } from '../models/CreateAuthPlayerRequest';
|
|
25
27
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
28
|
+
import { CreateDeveloperAccountCreateRequest } from '../models/CreateDeveloperAccountCreateRequest';
|
|
26
29
|
import { CreateEventRequest } from '../models/CreateEventRequest';
|
|
27
30
|
import { CreateExchangeRequest } from '../models/CreateExchangeRequest';
|
|
31
|
+
import { CreateForwarderContractRequest } from '../models/CreateForwarderContractRequest';
|
|
28
32
|
import { CreatePaymasterRequest } from '../models/CreatePaymasterRequest';
|
|
29
33
|
import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
30
34
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
@@ -34,7 +38,6 @@ import { CreateTransactionIntentRequest } from '../models/CreateTransactionInten
|
|
|
34
38
|
import { CreateTriggerRequest } from '../models/CreateTriggerRequest';
|
|
35
39
|
import { DeployRequest } from '../models/DeployRequest';
|
|
36
40
|
import { DeprecatedAuthenticatedPlayerResponse } from '../models/DeprecatedAuthenticatedPlayerResponse';
|
|
37
|
-
import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
|
|
38
41
|
import { DeveloperAccountDeleteResponse } from '../models/DeveloperAccountDeleteResponse';
|
|
39
42
|
import { DeveloperAccountGetMessageResponse } from '../models/DeveloperAccountGetMessageResponse';
|
|
40
43
|
import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResponse';
|
|
@@ -44,13 +47,16 @@ import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactio
|
|
|
44
47
|
import { EventDeleteResponse } from '../models/EventDeleteResponse';
|
|
45
48
|
import { EventListResponse } from '../models/EventListResponse';
|
|
46
49
|
import { EventResponse } from '../models/EventResponse';
|
|
50
|
+
import { ForwarderContractDeleteResponse } from '../models/ForwarderContractDeleteResponse';
|
|
51
|
+
import { ForwarderContractResponse } from '../models/ForwarderContractResponse';
|
|
47
52
|
import { GasReportListResponse } from '../models/GasReportListResponse';
|
|
53
|
+
import { GasReportTransactionIntentsListResponse } from '../models/GasReportTransactionIntentsListResponse';
|
|
48
54
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
49
55
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
50
56
|
import { JwtKeyResponse } from '../models/JwtKeyResponse';
|
|
57
|
+
import { LoginOIDCRequest } from '../models/LoginOIDCRequest';
|
|
51
58
|
import { LoginRequest } from '../models/LoginRequest';
|
|
52
59
|
import { LogoutRequest } from '../models/LogoutRequest';
|
|
53
|
-
import { OAuthConfig } from '../models/OAuthConfig';
|
|
54
60
|
import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
|
|
55
61
|
import { OAuthInitRequest } from '../models/OAuthInitRequest';
|
|
56
62
|
import { OAuthProvider } from '../models/OAuthProvider';
|
|
@@ -96,6 +102,7 @@ import { Status } from '../models/Status';
|
|
|
96
102
|
import { SubscriptionDeleteResponse } from '../models/SubscriptionDeleteResponse';
|
|
97
103
|
import { SubscriptionListResponse } from '../models/SubscriptionListResponse';
|
|
98
104
|
import { SubscriptionResponse } from '../models/SubscriptionResponse';
|
|
105
|
+
import { TestTrigger200Response } from '../models/TestTrigger200Response';
|
|
99
106
|
import { ThirdPartyOAuthRequest } from '../models/ThirdPartyOAuthRequest';
|
|
100
107
|
import { TransactionIntentListResponse } from '../models/TransactionIntentListResponse';
|
|
101
108
|
import { TransactionIntentResponse } from '../models/TransactionIntentResponse';
|
|
@@ -106,6 +113,7 @@ import { TriggerResponse } from '../models/TriggerResponse';
|
|
|
106
113
|
import { UnlinkEmailRequest } from '../models/UnlinkEmailRequest';
|
|
107
114
|
import { UnlinkOAuthRequest } from '../models/UnlinkOAuthRequest';
|
|
108
115
|
import { UpdateContractRequest } from '../models/UpdateContractRequest';
|
|
116
|
+
import { UpdateDeveloperAccountCreateRequest } from '../models/UpdateDeveloperAccountCreateRequest';
|
|
109
117
|
import { UpdatePolicyRequest } from '../models/UpdatePolicyRequest';
|
|
110
118
|
import { UpdatePolicyRuleRequest } from '../models/UpdatePolicyRuleRequest';
|
|
111
119
|
import { VerifyEmailRequest } from '../models/VerifyEmailRequest';
|
|
@@ -192,6 +200,12 @@ export declare class PromiseAdminAuthenticationApi {
|
|
|
192
200
|
* @param authorizePlayerRequest
|
|
193
201
|
*/
|
|
194
202
|
authorize(authorizePlayerRequest: AuthorizePlayerRequest, _options?: Configuration): Promise<Authorize200Response>;
|
|
203
|
+
/**
|
|
204
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
205
|
+
* Create oauth configuration.
|
|
206
|
+
* @param body Specifies the oauth provider specific configuration.
|
|
207
|
+
*/
|
|
208
|
+
create(body: AuthConfig, _options?: Configuration): Promise<AuthConfig>;
|
|
195
209
|
/**
|
|
196
210
|
* Creates an authenticated player. The player will be authenticated with the provider and an embedded account can be pre generated.
|
|
197
211
|
* Create an authenticated player.
|
|
@@ -203,7 +217,7 @@ export declare class PromiseAdminAuthenticationApi {
|
|
|
203
217
|
* Create oauth configuration.
|
|
204
218
|
* @param body Specifies the oauth provider specific configuration.
|
|
205
219
|
*/
|
|
206
|
-
createOAuthConfig(body:
|
|
220
|
+
createOAuthConfig(body: AuthConfig, _options?: Configuration): Promise<AuthConfig>;
|
|
207
221
|
/**
|
|
208
222
|
* Deletes a player auth object. It will delete all linked accounts the player is authenticated with.
|
|
209
223
|
* Deletes a player auth object.
|
|
@@ -231,7 +245,7 @@ export declare class PromiseAdminAuthenticationApi {
|
|
|
231
245
|
* Get oauth configuration.
|
|
232
246
|
* @param provider Specifies the oauth provider type.
|
|
233
247
|
*/
|
|
234
|
-
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<
|
|
248
|
+
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<AuthConfig>;
|
|
235
249
|
/**
|
|
236
250
|
* List configured OAuth methods for the current project environment.
|
|
237
251
|
* List of oauth configurations.
|
|
@@ -321,6 +335,13 @@ export declare class PromiseAuthenticationApi {
|
|
|
321
335
|
* @param xGame
|
|
322
336
|
*/
|
|
323
337
|
loginEmailPassword(loginRequest: LoginRequest, xGame?: string, _options?: Configuration): Promise<AuthResponse>;
|
|
338
|
+
/**
|
|
339
|
+
* Authenticate a player from an identity token.
|
|
340
|
+
* OIDC Identity token.
|
|
341
|
+
* @param loginOIDCRequest
|
|
342
|
+
* @param xGame
|
|
343
|
+
*/
|
|
344
|
+
loginOIDC(loginOIDCRequest: LoginOIDCRequest, xGame?: string, _options?: Configuration): Promise<AuthResponse>;
|
|
324
345
|
/**
|
|
325
346
|
* When using Openfort Auth, the endpoint logs out the player.
|
|
326
347
|
* Log out a player.
|
|
@@ -455,6 +476,17 @@ export declare class PromiseContractsApi {
|
|
|
455
476
|
*/
|
|
456
477
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Promise<ContractResponse>;
|
|
457
478
|
}
|
|
479
|
+
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
480
|
+
export declare class PromiseDefaultApi {
|
|
481
|
+
private api;
|
|
482
|
+
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
483
|
+
/**
|
|
484
|
+
* List configured auth methods for the current project environment.
|
|
485
|
+
* List of auth configurations.
|
|
486
|
+
* @param enabled
|
|
487
|
+
*/
|
|
488
|
+
list(enabled?: boolean, _options?: Configuration): Promise<AuthProviderListResponse>;
|
|
489
|
+
}
|
|
458
490
|
import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
|
|
459
491
|
export declare class PromiseEventsApi {
|
|
460
492
|
private api;
|
|
@@ -505,6 +537,44 @@ export declare class PromiseExchangeApi {
|
|
|
505
537
|
*/
|
|
506
538
|
quoteSwap(createExchangeRequest: CreateExchangeRequest, _options?: Configuration): Promise<QuoteExchangeResult>;
|
|
507
539
|
}
|
|
540
|
+
import { ForwarderContractApiRequestFactory, ForwarderContractApiResponseProcessor } from "../apis/ForwarderContractApi";
|
|
541
|
+
export declare class PromiseForwarderContractApi {
|
|
542
|
+
private api;
|
|
543
|
+
constructor(configuration: Configuration, requestFactory?: ForwarderContractApiRequestFactory, responseProcessor?: ForwarderContractApiResponseProcessor);
|
|
544
|
+
/**
|
|
545
|
+
* Create a new forwarder contract. This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
546
|
+
* Create a new forwarder contract.
|
|
547
|
+
* @param createForwarderContractRequest
|
|
548
|
+
*/
|
|
549
|
+
createForwarderContract(createForwarderContractRequest: CreateForwarderContractRequest, _options?: Configuration): Promise<ForwarderContractResponse>;
|
|
550
|
+
/**
|
|
551
|
+
* Delete the forwarder contract with the given id. This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
552
|
+
* Delete forwarder contract by id.
|
|
553
|
+
* @param id
|
|
554
|
+
*/
|
|
555
|
+
deleteForwarderContract(id: string, _options?: Configuration): Promise<ForwarderContractDeleteResponse>;
|
|
556
|
+
/**
|
|
557
|
+
* Returns the forwarder contract with the given id. This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
558
|
+
* Get forwarder contract by id.
|
|
559
|
+
* @param id
|
|
560
|
+
*/
|
|
561
|
+
getForwarderContract(id: string, _options?: Configuration): Promise<ForwarderContractResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* Returns a list of forwarder contract. This object represents the forwarder contract that will be used to pay the gas fees for the transactions. By default, a maximum of 10 forwarder contract are shown per page.
|
|
564
|
+
* List forwarder contract.
|
|
565
|
+
* @param limit Specifies the maximum number of records to return.
|
|
566
|
+
* @param skip Specifies the offset for the first records to return.
|
|
567
|
+
* @param order Specifies the order in which to sort the results.
|
|
568
|
+
*/
|
|
569
|
+
listForwarderContracts(limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<Array<ForwarderContractResponse>>;
|
|
570
|
+
/**
|
|
571
|
+
* Update a forwarder contract. This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
572
|
+
* Update a forwarder contract.
|
|
573
|
+
* @param id
|
|
574
|
+
* @param createForwarderContractRequest
|
|
575
|
+
*/
|
|
576
|
+
updateForwarderContract(id: string, createForwarderContractRequest: CreateForwarderContractRequest, _options?: Configuration): Promise<ForwarderContractResponse>;
|
|
577
|
+
}
|
|
508
578
|
import { InventoriesApiRequestFactory, InventoriesApiResponseProcessor } from "../apis/InventoriesApi";
|
|
509
579
|
export declare class PromiseInventoriesApi {
|
|
510
580
|
private api;
|
|
@@ -714,11 +784,20 @@ export declare class PromisePoliciesApi {
|
|
|
714
784
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
715
785
|
*/
|
|
716
786
|
getPolicyBalance(id: string, _options?: Configuration): Promise<PolicyBalanceWithdrawResponse>;
|
|
787
|
+
/**
|
|
788
|
+
* List transaction intents of a policy report.
|
|
789
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
790
|
+
* @param to The start date of the period in unix timestamp.
|
|
791
|
+
* @param _from The end date of the period in unix timestamp.
|
|
792
|
+
*/
|
|
793
|
+
getPolicyReportTransactionIntents(id: string, to: number, _from: number, _options?: Configuration): Promise<GasReportTransactionIntentsListResponse>;
|
|
717
794
|
/**
|
|
718
795
|
* List all gas reports of a policy.
|
|
719
796
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
797
|
+
* @param to The start date of the period in unix timestamp.
|
|
798
|
+
* @param _from The end date of the period in unix timestamp.
|
|
720
799
|
*/
|
|
721
|
-
getPolicyTotalGasUsage(id: string, _options?: Configuration): Promise<GasReportListResponse>;
|
|
800
|
+
getPolicyTotalGasUsage(id: string, to?: number, _from?: number, _options?: Configuration): Promise<GasReportListResponse>;
|
|
722
801
|
/**
|
|
723
802
|
* Update a policy object.
|
|
724
803
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
@@ -805,9 +884,9 @@ export declare class PromiseSettingsApi {
|
|
|
805
884
|
/**
|
|
806
885
|
* Create or add a developer account. Developer accounts can be used as for escrow, minting and transferring assets. To add your own external account, add a signature and the address of the account. This verified account can then be used as a verified depositor
|
|
807
886
|
* Create a developer account.
|
|
808
|
-
* @param
|
|
887
|
+
* @param createDeveloperAccountCreateRequest
|
|
809
888
|
*/
|
|
810
|
-
createDeveloperAccount(
|
|
889
|
+
createDeveloperAccount(createDeveloperAccountCreateRequest: CreateDeveloperAccountCreateRequest, _options?: Configuration): Promise<DeveloperAccountResponse>;
|
|
811
890
|
/**
|
|
812
891
|
* Delete a developer account from the current project.
|
|
813
892
|
* Delete a developer account.
|
|
@@ -837,6 +916,13 @@ export declare class PromiseSettingsApi {
|
|
|
837
916
|
* @param address Specifies the address
|
|
838
917
|
*/
|
|
839
918
|
getVerificationPayload(address: string, _options?: Configuration): Promise<DeveloperAccountGetMessageResponse>;
|
|
919
|
+
/**
|
|
920
|
+
* Update a developer account.
|
|
921
|
+
* Update a developer account.
|
|
922
|
+
* @param id
|
|
923
|
+
* @param updateDeveloperAccountCreateRequest
|
|
924
|
+
*/
|
|
925
|
+
updateDeveloperAccount(id: string, updateDeveloperAccountCreateRequest: UpdateDeveloperAccountCreateRequest, _options?: Configuration): Promise<DeveloperAccountResponse>;
|
|
840
926
|
}
|
|
841
927
|
import { SubscriptionsApiRequestFactory, SubscriptionsApiResponseProcessor } from "../apis/SubscriptionsApi";
|
|
842
928
|
export declare class PromiseSubscriptionsApi {
|
|
@@ -910,7 +996,7 @@ export declare class PromiseSubscriptionsApi {
|
|
|
910
996
|
* Test a trigger Returns a trigger for the given id.
|
|
911
997
|
* Test trigger by id.
|
|
912
998
|
*/
|
|
913
|
-
testTrigger(_options?: Configuration): Promise<
|
|
999
|
+
testTrigger(_options?: Configuration): Promise<TestTrigger200Response>;
|
|
914
1000
|
}
|
|
915
1001
|
import { TransactionIntentsApiRequestFactory, TransactionIntentsApiResponseProcessor } from "../apis/TransactionIntentsApi";
|
|
916
1002
|
export declare class PromiseTransactionIntentsApi {
|
|
@@ -951,8 +1037,8 @@ export declare class PromiseTransactionIntentsApi {
|
|
|
951
1037
|
*/
|
|
952
1038
|
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, status?: number, policy?: Array<string>, _options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
953
1039
|
/**
|
|
954
|
-
* Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `
|
|
955
|
-
* Send a signed transaction
|
|
1040
|
+
* Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `signableHash`. Openfort will then put it on-chain.
|
|
1041
|
+
* Send a signed transaction signableHash.
|
|
956
1042
|
* @param id Specifies the unique transaction intent ID (starts with tin_).
|
|
957
1043
|
* @param signatureRequest
|
|
958
1044
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PromiseTransactionIntentsApi = exports.PromiseSubscriptionsApi = exports.PromiseSettingsApi = exports.PromiseSessionsApi = exports.PromisePolicyRulesApi = exports.PromisePoliciesApi = exports.PromisePlayersApi = exports.PromisePaymasterApi = exports.PromiseInventoriesApi = exports.PromiseExchangeApi = exports.PromiseEventsApi = exports.PromiseContractsApi = exports.PromiseAuthenticationApi = exports.PromiseAdminAuthenticationApi = exports.PromiseAccountsApi = void 0;
|
|
3
|
+
exports.PromiseTransactionIntentsApi = exports.PromiseSubscriptionsApi = exports.PromiseSettingsApi = exports.PromiseSessionsApi = exports.PromisePolicyRulesApi = exports.PromisePoliciesApi = exports.PromisePlayersApi = exports.PromisePaymasterApi = exports.PromiseInventoriesApi = exports.PromiseForwarderContractApi = exports.PromiseExchangeApi = exports.PromiseEventsApi = exports.PromiseDefaultApi = exports.PromiseContractsApi = exports.PromiseAuthenticationApi = exports.PromiseAdminAuthenticationApi = exports.PromiseAccountsApi = void 0;
|
|
4
4
|
const ObservableAPI_1 = require("./ObservableAPI");
|
|
5
5
|
class PromiseAccountsApi {
|
|
6
6
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
@@ -119,6 +119,15 @@ class PromiseAdminAuthenticationApi {
|
|
|
119
119
|
const result = this.api.authorize(authorizePlayerRequest, _options);
|
|
120
120
|
return result.toPromise();
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
124
|
+
* Create oauth configuration.
|
|
125
|
+
* @param body Specifies the oauth provider specific configuration.
|
|
126
|
+
*/
|
|
127
|
+
create(body, _options) {
|
|
128
|
+
const result = this.api.create(body, _options);
|
|
129
|
+
return result.toPromise();
|
|
130
|
+
}
|
|
122
131
|
/**
|
|
123
132
|
* Creates an authenticated player. The player will be authenticated with the provider and an embedded account can be pre generated.
|
|
124
133
|
* Create an authenticated player.
|
|
@@ -310,6 +319,16 @@ class PromiseAuthenticationApi {
|
|
|
310
319
|
const result = this.api.loginEmailPassword(loginRequest, xGame, _options);
|
|
311
320
|
return result.toPromise();
|
|
312
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* Authenticate a player from an identity token.
|
|
324
|
+
* OIDC Identity token.
|
|
325
|
+
* @param loginOIDCRequest
|
|
326
|
+
* @param xGame
|
|
327
|
+
*/
|
|
328
|
+
loginOIDC(loginOIDCRequest, xGame, _options) {
|
|
329
|
+
const result = this.api.loginOIDC(loginOIDCRequest, xGame, _options);
|
|
330
|
+
return result.toPromise();
|
|
331
|
+
}
|
|
313
332
|
/**
|
|
314
333
|
* When using Openfort Auth, the endpoint logs out the player.
|
|
315
334
|
* Log out a player.
|
|
@@ -511,9 +530,25 @@ class PromiseContractsApi {
|
|
|
511
530
|
}
|
|
512
531
|
exports.PromiseContractsApi = PromiseContractsApi;
|
|
513
532
|
const ObservableAPI_5 = require("./ObservableAPI");
|
|
533
|
+
class PromiseDefaultApi {
|
|
534
|
+
constructor(configuration, requestFactory, responseProcessor) {
|
|
535
|
+
this.api = new ObservableAPI_5.ObservableDefaultApi(configuration, requestFactory, responseProcessor);
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* List configured auth methods for the current project environment.
|
|
539
|
+
* List of auth configurations.
|
|
540
|
+
* @param enabled
|
|
541
|
+
*/
|
|
542
|
+
list(enabled, _options) {
|
|
543
|
+
const result = this.api.list(enabled, _options);
|
|
544
|
+
return result.toPromise();
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
exports.PromiseDefaultApi = PromiseDefaultApi;
|
|
548
|
+
const ObservableAPI_6 = require("./ObservableAPI");
|
|
514
549
|
class PromiseEventsApi {
|
|
515
550
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
516
|
-
this.api = new
|
|
551
|
+
this.api = new ObservableAPI_6.ObservableEventsApi(configuration, requestFactory, responseProcessor);
|
|
517
552
|
}
|
|
518
553
|
/**
|
|
519
554
|
* Create a new event.
|
|
@@ -557,10 +592,10 @@ class PromiseEventsApi {
|
|
|
557
592
|
}
|
|
558
593
|
}
|
|
559
594
|
exports.PromiseEventsApi = PromiseEventsApi;
|
|
560
|
-
const
|
|
595
|
+
const ObservableAPI_7 = require("./ObservableAPI");
|
|
561
596
|
class PromiseExchangeApi {
|
|
562
597
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
563
|
-
this.api = new
|
|
598
|
+
this.api = new ObservableAPI_7.ObservableExchangeApi(configuration, requestFactory, responseProcessor);
|
|
564
599
|
}
|
|
565
600
|
/**
|
|
566
601
|
* Creates token swap.
|
|
@@ -582,10 +617,65 @@ class PromiseExchangeApi {
|
|
|
582
617
|
}
|
|
583
618
|
}
|
|
584
619
|
exports.PromiseExchangeApi = PromiseExchangeApi;
|
|
585
|
-
const
|
|
620
|
+
const ObservableAPI_8 = require("./ObservableAPI");
|
|
621
|
+
class PromiseForwarderContractApi {
|
|
622
|
+
constructor(configuration, requestFactory, responseProcessor) {
|
|
623
|
+
this.api = new ObservableAPI_8.ObservableForwarderContractApi(configuration, requestFactory, responseProcessor);
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Create a new forwarder contract. This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
627
|
+
* Create a new forwarder contract.
|
|
628
|
+
* @param createForwarderContractRequest
|
|
629
|
+
*/
|
|
630
|
+
createForwarderContract(createForwarderContractRequest, _options) {
|
|
631
|
+
const result = this.api.createForwarderContract(createForwarderContractRequest, _options);
|
|
632
|
+
return result.toPromise();
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Delete the forwarder contract with the given id. This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
636
|
+
* Delete forwarder contract by id.
|
|
637
|
+
* @param id
|
|
638
|
+
*/
|
|
639
|
+
deleteForwarderContract(id, _options) {
|
|
640
|
+
const result = this.api.deleteForwarderContract(id, _options);
|
|
641
|
+
return result.toPromise();
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Returns the forwarder contract with the given id. This object represents the forwarder contract that will be used to pay the gas fees for the transactions.
|
|
645
|
+
* Get forwarder contract by id.
|
|
646
|
+
* @param id
|
|
647
|
+
*/
|
|
648
|
+
getForwarderContract(id, _options) {
|
|
649
|
+
const result = this.api.getForwarderContract(id, _options);
|
|
650
|
+
return result.toPromise();
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Returns a list of forwarder contract. This object represents the forwarder contract that will be used to pay the gas fees for the transactions. By default, a maximum of 10 forwarder contract are shown per page.
|
|
654
|
+
* List forwarder contract.
|
|
655
|
+
* @param limit Specifies the maximum number of records to return.
|
|
656
|
+
* @param skip Specifies the offset for the first records to return.
|
|
657
|
+
* @param order Specifies the order in which to sort the results.
|
|
658
|
+
*/
|
|
659
|
+
listForwarderContracts(limit, skip, order, _options) {
|
|
660
|
+
const result = this.api.listForwarderContracts(limit, skip, order, _options);
|
|
661
|
+
return result.toPromise();
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Update a forwarder contract. This object represents the forwarder contract that will be used to pay the gas fees of the transactions.
|
|
665
|
+
* Update a forwarder contract.
|
|
666
|
+
* @param id
|
|
667
|
+
* @param createForwarderContractRequest
|
|
668
|
+
*/
|
|
669
|
+
updateForwarderContract(id, createForwarderContractRequest, _options) {
|
|
670
|
+
const result = this.api.updateForwarderContract(id, createForwarderContractRequest, _options);
|
|
671
|
+
return result.toPromise();
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
exports.PromiseForwarderContractApi = PromiseForwarderContractApi;
|
|
675
|
+
const ObservableAPI_9 = require("./ObservableAPI");
|
|
586
676
|
class PromiseInventoriesApi {
|
|
587
677
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
588
|
-
this.api = new
|
|
678
|
+
this.api = new ObservableAPI_9.ObservableInventoriesApi(configuration, requestFactory, responseProcessor);
|
|
589
679
|
}
|
|
590
680
|
/**
|
|
591
681
|
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
@@ -662,10 +752,10 @@ class PromiseInventoriesApi {
|
|
|
662
752
|
}
|
|
663
753
|
}
|
|
664
754
|
exports.PromiseInventoriesApi = PromiseInventoriesApi;
|
|
665
|
-
const
|
|
755
|
+
const ObservableAPI_10 = require("./ObservableAPI");
|
|
666
756
|
class PromisePaymasterApi {
|
|
667
757
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
668
|
-
this.api = new
|
|
758
|
+
this.api = new ObservableAPI_10.ObservablePaymasterApi(configuration, requestFactory, responseProcessor);
|
|
669
759
|
}
|
|
670
760
|
/**
|
|
671
761
|
* Create a new paymaster. This object represents the paymaster that will be used to pay the gas fees of the transactions.
|
|
@@ -717,10 +807,10 @@ class PromisePaymasterApi {
|
|
|
717
807
|
}
|
|
718
808
|
}
|
|
719
809
|
exports.PromisePaymasterApi = PromisePaymasterApi;
|
|
720
|
-
const
|
|
810
|
+
const ObservableAPI_11 = require("./ObservableAPI");
|
|
721
811
|
class PromisePlayersApi {
|
|
722
812
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
723
|
-
this.api = new
|
|
813
|
+
this.api = new ObservableAPI_11.ObservablePlayersApi(configuration, requestFactory, responseProcessor);
|
|
724
814
|
}
|
|
725
815
|
/**
|
|
726
816
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
@@ -794,10 +884,10 @@ class PromisePlayersApi {
|
|
|
794
884
|
}
|
|
795
885
|
}
|
|
796
886
|
exports.PromisePlayersApi = PromisePlayersApi;
|
|
797
|
-
const
|
|
887
|
+
const ObservableAPI_12 = require("./ObservableAPI");
|
|
798
888
|
class PromisePoliciesApi {
|
|
799
889
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
800
|
-
this.api = new
|
|
890
|
+
this.api = new ObservableAPI_12.ObservablePoliciesApi(configuration, requestFactory, responseProcessor);
|
|
801
891
|
}
|
|
802
892
|
/**
|
|
803
893
|
* Create a policy object.
|
|
@@ -876,12 +966,24 @@ class PromisePoliciesApi {
|
|
|
876
966
|
const result = this.api.getPolicyBalance(id, _options);
|
|
877
967
|
return result.toPromise();
|
|
878
968
|
}
|
|
969
|
+
/**
|
|
970
|
+
* List transaction intents of a policy report.
|
|
971
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
972
|
+
* @param to The start date of the period in unix timestamp.
|
|
973
|
+
* @param _from The end date of the period in unix timestamp.
|
|
974
|
+
*/
|
|
975
|
+
getPolicyReportTransactionIntents(id, to, _from, _options) {
|
|
976
|
+
const result = this.api.getPolicyReportTransactionIntents(id, to, _from, _options);
|
|
977
|
+
return result.toPromise();
|
|
978
|
+
}
|
|
879
979
|
/**
|
|
880
980
|
* List all gas reports of a policy.
|
|
881
981
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
982
|
+
* @param to The start date of the period in unix timestamp.
|
|
983
|
+
* @param _from The end date of the period in unix timestamp.
|
|
882
984
|
*/
|
|
883
|
-
getPolicyTotalGasUsage(id, _options) {
|
|
884
|
-
const result = this.api.getPolicyTotalGasUsage(id, _options);
|
|
985
|
+
getPolicyTotalGasUsage(id, to, _from, _options) {
|
|
986
|
+
const result = this.api.getPolicyTotalGasUsage(id, to, _from, _options);
|
|
885
987
|
return result.toPromise();
|
|
886
988
|
}
|
|
887
989
|
/**
|
|
@@ -895,10 +997,10 @@ class PromisePoliciesApi {
|
|
|
895
997
|
}
|
|
896
998
|
}
|
|
897
999
|
exports.PromisePoliciesApi = PromisePoliciesApi;
|
|
898
|
-
const
|
|
1000
|
+
const ObservableAPI_13 = require("./ObservableAPI");
|
|
899
1001
|
class PromisePolicyRulesApi {
|
|
900
1002
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
901
|
-
this.api = new
|
|
1003
|
+
this.api = new ObservableAPI_13.ObservablePolicyRulesApi(configuration, requestFactory, responseProcessor);
|
|
902
1004
|
}
|
|
903
1005
|
/**
|
|
904
1006
|
* Create a policy rule object.
|
|
@@ -940,10 +1042,10 @@ class PromisePolicyRulesApi {
|
|
|
940
1042
|
}
|
|
941
1043
|
}
|
|
942
1044
|
exports.PromisePolicyRulesApi = PromisePolicyRulesApi;
|
|
943
|
-
const
|
|
1045
|
+
const ObservableAPI_14 = require("./ObservableAPI");
|
|
944
1046
|
class PromiseSessionsApi {
|
|
945
1047
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
946
|
-
this.api = new
|
|
1048
|
+
this.api = new ObservableAPI_14.ObservableSessionsApi(configuration, requestFactory, responseProcessor);
|
|
947
1049
|
}
|
|
948
1050
|
/**
|
|
949
1051
|
* Creates a Session.
|
|
@@ -998,18 +1100,18 @@ class PromiseSessionsApi {
|
|
|
998
1100
|
}
|
|
999
1101
|
}
|
|
1000
1102
|
exports.PromiseSessionsApi = PromiseSessionsApi;
|
|
1001
|
-
const
|
|
1103
|
+
const ObservableAPI_15 = require("./ObservableAPI");
|
|
1002
1104
|
class PromiseSettingsApi {
|
|
1003
1105
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
1004
|
-
this.api = new
|
|
1106
|
+
this.api = new ObservableAPI_15.ObservableSettingsApi(configuration, requestFactory, responseProcessor);
|
|
1005
1107
|
}
|
|
1006
1108
|
/**
|
|
1007
1109
|
* Create or add a developer account. Developer accounts can be used as for escrow, minting and transferring assets. To add your own external account, add a signature and the address of the account. This verified account can then be used as a verified depositor
|
|
1008
1110
|
* Create a developer account.
|
|
1009
|
-
* @param
|
|
1111
|
+
* @param createDeveloperAccountCreateRequest
|
|
1010
1112
|
*/
|
|
1011
|
-
createDeveloperAccount(
|
|
1012
|
-
const result = this.api.createDeveloperAccount(
|
|
1113
|
+
createDeveloperAccount(createDeveloperAccountCreateRequest, _options) {
|
|
1114
|
+
const result = this.api.createDeveloperAccount(createDeveloperAccountCreateRequest, _options);
|
|
1013
1115
|
return result.toPromise();
|
|
1014
1116
|
}
|
|
1015
1117
|
/**
|
|
@@ -1053,12 +1155,22 @@ class PromiseSettingsApi {
|
|
|
1053
1155
|
const result = this.api.getVerificationPayload(address, _options);
|
|
1054
1156
|
return result.toPromise();
|
|
1055
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* Update a developer account.
|
|
1160
|
+
* Update a developer account.
|
|
1161
|
+
* @param id
|
|
1162
|
+
* @param updateDeveloperAccountCreateRequest
|
|
1163
|
+
*/
|
|
1164
|
+
updateDeveloperAccount(id, updateDeveloperAccountCreateRequest, _options) {
|
|
1165
|
+
const result = this.api.updateDeveloperAccount(id, updateDeveloperAccountCreateRequest, _options);
|
|
1166
|
+
return result.toPromise();
|
|
1167
|
+
}
|
|
1056
1168
|
}
|
|
1057
1169
|
exports.PromiseSettingsApi = PromiseSettingsApi;
|
|
1058
|
-
const
|
|
1170
|
+
const ObservableAPI_16 = require("./ObservableAPI");
|
|
1059
1171
|
class PromiseSubscriptionsApi {
|
|
1060
1172
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
1061
|
-
this.api = new
|
|
1173
|
+
this.api = new ObservableAPI_16.ObservableSubscriptionsApi(configuration, requestFactory, responseProcessor);
|
|
1062
1174
|
}
|
|
1063
1175
|
/**
|
|
1064
1176
|
* Creates a subscription for the given project. This object represents the subscription where the project owner has subscribed to.
|
|
@@ -1161,10 +1273,10 @@ class PromiseSubscriptionsApi {
|
|
|
1161
1273
|
}
|
|
1162
1274
|
}
|
|
1163
1275
|
exports.PromiseSubscriptionsApi = PromiseSubscriptionsApi;
|
|
1164
|
-
const
|
|
1276
|
+
const ObservableAPI_17 = require("./ObservableAPI");
|
|
1165
1277
|
class PromiseTransactionIntentsApi {
|
|
1166
1278
|
constructor(configuration, requestFactory, responseProcessor) {
|
|
1167
|
-
this.api = new
|
|
1279
|
+
this.api = new ObservableAPI_17.ObservableTransactionIntentsApi(configuration, requestFactory, responseProcessor);
|
|
1168
1280
|
}
|
|
1169
1281
|
/**
|
|
1170
1282
|
* Creates a TransactionIntent. A pending TransactionIntent has the `response` attribute as undefined. After the TransactionIntent is created and broadcasted to the blockchain, `response` will be populated with the transaction hash and a status (1 success, 0 fail). When using a non-custodial account, a `nextAction` attribute is returned with the `userOperationHash` that must be signed by the owner of the account.
|
|
@@ -1213,8 +1325,8 @@ class PromiseTransactionIntentsApi {
|
|
|
1213
1325
|
return result.toPromise();
|
|
1214
1326
|
}
|
|
1215
1327
|
/**
|
|
1216
|
-
* Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `
|
|
1217
|
-
* Send a signed transaction
|
|
1328
|
+
* Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `signableHash`. Openfort will then put it on-chain.
|
|
1329
|
+
* Send a signed transaction signableHash.
|
|
1218
1330
|
* @param id Specifies the unique transaction intent ID (starts with tin_).
|
|
1219
1331
|
* @param signatureRequest
|
|
1220
1332
|
*/
|