@openfort/openfort-node 0.6.21 → 0.6.23
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/dist/apis/playersApiWrapper.d.ts +3 -3
- package/dist/apis/playersApiWrapper.js.map +1 -1
- package/dist/apis/settingsApiWrapper.d.ts +5 -0
- package/dist/apis/settingsApiWrapper.js +8 -0
- package/dist/apis/settingsApiWrapper.js.map +1 -1
- package/dist/generated/apis/PlayersApi.d.ts +6 -6
- package/dist/generated/apis/PlayersApi.js +12 -12
- package/dist/generated/apis/PlayersApi.js.map +1 -1
- package/dist/generated/apis/SettingsApi.d.ts +26 -6
- package/dist/generated/apis/SettingsApi.js +69 -6
- package/dist/generated/apis/SettingsApi.js.map +1 -1
- package/dist/generated/apis/Web3ConnectionsApi.d.ts +95 -0
- package/dist/generated/apis/Web3ConnectionsApi.js +334 -0
- package/dist/generated/apis/Web3ConnectionsApi.js.map +1 -0
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +2 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/AuthPlayerResponsePlayer.d.ts +6 -3
- package/dist/generated/models/AuthPlayerResponsePlayer.js +1 -1
- package/dist/generated/models/AuthPlayerResponsePlayer.js.map +1 -1
- package/dist/generated/models/CreateWeb3ConnectionRequest.d.ts +39 -0
- package/dist/generated/models/CreateWeb3ConnectionRequest.js +44 -0
- package/dist/generated/models/CreateWeb3ConnectionRequest.js.map +1 -0
- package/dist/generated/models/EntityTypeWEB3ACTION.d.ts +12 -0
- package/dist/generated/models/EntityTypeWEB3ACTION.js +14 -0
- package/dist/generated/models/EntityTypeWEB3ACTION.js.map +1 -0
- package/dist/generated/models/EntityTypeWEB3CONNECTION.d.ts +12 -0
- package/dist/generated/models/EntityTypeWEB3CONNECTION.js +14 -0
- package/dist/generated/models/EntityTypeWEB3CONNECTION.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +16 -2
- package/dist/generated/models/ObjectSerializer.js +44 -6
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PaymasterDepositorCreateRequest.d.ts +6 -0
- package/dist/generated/models/PaymasterDepositorCreateRequest.js.map +1 -1
- package/dist/generated/models/PaymasterDepositorGetMessageResponse.d.ts +29 -0
- package/dist/generated/models/PaymasterDepositorGetMessageResponse.js +38 -0
- package/dist/generated/models/PaymasterDepositorGetMessageResponse.js.map +1 -0
- package/dist/generated/models/Player.d.ts +6 -3
- package/dist/generated/models/Player.js +1 -1
- package/dist/generated/models/Player.js.map +1 -1
- package/dist/generated/models/{CreatePlayerRequest.d.ts → PlayerCreateRequest.d.ts} +5 -1
- package/dist/generated/models/{CreatePlayerRequest.js → PlayerCreateRequest.js} +13 -7
- package/dist/generated/models/PlayerCreateRequest.js.map +1 -0
- package/dist/generated/models/PlayerMetadataValue.d.ts +27 -0
- package/dist/generated/models/PlayerMetadataValue.js +25 -0
- package/dist/generated/models/PlayerMetadataValue.js.map +1 -0
- package/dist/generated/models/PlayerResponse.d.ts +6 -3
- package/dist/generated/models/PlayerResponse.js +1 -1
- package/dist/generated/models/PlayerResponse.js.map +1 -1
- package/dist/generated/models/{PlayerRequest.d.ts → PlayerUpdateRequest.d.ts} +5 -1
- package/dist/generated/models/{PlayerRequest.js → PlayerUpdateRequest.js} +13 -7
- package/dist/generated/models/PlayerUpdateRequest.js.map +1 -0
- package/dist/generated/models/SettingsWebhookUpdateRequest.d.ts +3 -0
- package/dist/generated/models/SettingsWebhookUpdateRequest.js.map +1 -1
- package/dist/generated/models/SubmitWeb3ActionRequest.d.ts +35 -0
- package/dist/generated/models/SubmitWeb3ActionRequest.js +38 -0
- package/dist/generated/models/SubmitWeb3ActionRequest.js.map +1 -0
- package/dist/generated/models/TransactionIntentResponsePlayer.d.ts +6 -3
- package/dist/generated/models/TransactionIntentResponsePlayer.js +1 -1
- package/dist/generated/models/TransactionIntentResponsePlayer.js.map +1 -1
- package/dist/generated/models/Web3ActionListResponse.d.ts +35 -0
- package/dist/generated/models/Web3ActionListResponse.js +62 -0
- package/dist/generated/models/Web3ActionListResponse.js.map +1 -0
- package/dist/generated/models/Web3ActionResponse.d.ts +37 -0
- package/dist/generated/models/Web3ActionResponse.js +56 -0
- package/dist/generated/models/Web3ActionResponse.js.map +1 -0
- package/dist/generated/models/Web3ActionStatusEnum.d.ts +12 -0
- package/dist/generated/models/Web3ActionStatusEnum.js +14 -0
- package/dist/generated/models/Web3ActionStatusEnum.js.map +1 -0
- package/dist/generated/models/Web3ConnectionListQueries.d.ts +45 -0
- package/dist/generated/models/Web3ConnectionListQueries.js +56 -0
- package/dist/generated/models/Web3ConnectionListQueries.js.map +1 -0
- package/dist/generated/models/Web3ConnectionListResponse.d.ts +35 -0
- package/dist/generated/models/Web3ConnectionListResponse.js +62 -0
- package/dist/generated/models/Web3ConnectionListResponse.js.map +1 -0
- package/dist/generated/models/Web3ConnectionResponse.d.ts +34 -0
- package/dist/generated/models/Web3ConnectionResponse.js +56 -0
- package/dist/generated/models/Web3ConnectionResponse.js.map +1 -0
- package/dist/generated/models/Web3ConnectionResponseExpandable.d.ts +12 -0
- package/dist/generated/models/Web3ConnectionResponseExpandable.js +14 -0
- package/dist/generated/models/Web3ConnectionResponseExpandable.js.map +1 -0
- package/dist/generated/models/Web3ConnectionResponsePlayer.d.ts +43 -0
- package/dist/generated/models/Web3ConnectionResponsePlayer.js +77 -0
- package/dist/generated/models/Web3ConnectionResponsePlayer.js.map +1 -0
- package/dist/generated/models/all.d.ts +16 -2
- package/dist/generated/models/all.js +16 -2
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +156 -12
- package/dist/generated/types/ObjectParamAPI.js +68 -8
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +75 -12
- package/dist/generated/types/ObservableAPI.js +160 -13
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +73 -12
- package/dist/generated/types/PromiseAPI.js +86 -13
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/models/updatePlayerRequest.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/CreatePlayerRequest.js.map +0 -1
- package/dist/generated/models/PlayerRequest.js.map +0 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { BaseAPIRequestFactory } from './baseapi';
|
|
2
|
+
import { Configuration } from '../configuration';
|
|
3
|
+
import { RequestContext, ResponseContext } from '../http/http';
|
|
4
|
+
import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
|
|
5
|
+
import { SortOrder } from '../models/SortOrder';
|
|
6
|
+
import { SubmitWeb3ActionRequest } from '../models/SubmitWeb3ActionRequest';
|
|
7
|
+
import { Web3ActionListResponse } from '../models/Web3ActionListResponse';
|
|
8
|
+
import { Web3ActionResponse } from '../models/Web3ActionResponse';
|
|
9
|
+
import { Web3ConnectionListResponse } from '../models/Web3ConnectionListResponse';
|
|
10
|
+
import { Web3ConnectionResponse } from '../models/Web3ConnectionResponse';
|
|
11
|
+
import { Web3ConnectionResponseExpandable } from '../models/Web3ConnectionResponseExpandable';
|
|
12
|
+
/**
|
|
13
|
+
* no description
|
|
14
|
+
*/
|
|
15
|
+
export declare class Web3ConnectionsApiRequestFactory extends BaseAPIRequestFactory {
|
|
16
|
+
/**
|
|
17
|
+
* This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
|
|
18
|
+
* Create a Web3 Connection object.
|
|
19
|
+
* @param createWeb3ConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, _options?: Configuration): Promise<RequestContext>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
|
|
24
|
+
* List Web3 actions from a web3 connection.
|
|
25
|
+
* @param id
|
|
26
|
+
*/
|
|
27
|
+
getWeb3Actions(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
|
|
30
|
+
* Get a web3Connection object.
|
|
31
|
+
* @param id Specifies the unique web3Connection ID (starts with web3_).
|
|
32
|
+
* @param expand Specifies the fields to expand.
|
|
33
|
+
*/
|
|
34
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
|
|
37
|
+
* List Web3 connections.
|
|
38
|
+
* @param player Specifies the unique player ID (starts with pla_)
|
|
39
|
+
* @param limit Specifies the maximum number of records to return.
|
|
40
|
+
* @param skip Specifies the offset for the first records to return.
|
|
41
|
+
* @param order Specifies the order in which to sort the results.
|
|
42
|
+
* @param disconnected Specifies connection status
|
|
43
|
+
*/
|
|
44
|
+
getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, _options?: Configuration): Promise<RequestContext>;
|
|
45
|
+
/**
|
|
46
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
47
|
+
* Approve or Reject a web3 action
|
|
48
|
+
* @param id
|
|
49
|
+
* @param web3Action
|
|
50
|
+
* @param submitWeb3ActionRequest
|
|
51
|
+
*/
|
|
52
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, _options?: Configuration): Promise<RequestContext>;
|
|
53
|
+
}
|
|
54
|
+
export declare class Web3ConnectionsApiResponseProcessor {
|
|
55
|
+
/**
|
|
56
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
57
|
+
* to the expected objects
|
|
58
|
+
*
|
|
59
|
+
* @params response Response returned by the server for a request to createWeb3Connection
|
|
60
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
61
|
+
*/
|
|
62
|
+
createWeb3Connection(response: ResponseContext): Promise<Web3ConnectionResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
65
|
+
* to the expected objects
|
|
66
|
+
*
|
|
67
|
+
* @params response Response returned by the server for a request to getWeb3Actions
|
|
68
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
69
|
+
*/
|
|
70
|
+
getWeb3Actions(response: ResponseContext): Promise<Web3ActionListResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
73
|
+
* to the expected objects
|
|
74
|
+
*
|
|
75
|
+
* @params response Response returned by the server for a request to getWeb3Connection
|
|
76
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
77
|
+
*/
|
|
78
|
+
getWeb3Connection(response: ResponseContext): Promise<Web3ConnectionResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
81
|
+
* to the expected objects
|
|
82
|
+
*
|
|
83
|
+
* @params response Response returned by the server for a request to getWeb3Connections
|
|
84
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
85
|
+
*/
|
|
86
|
+
getWeb3Connections(response: ResponseContext): Promise<Web3ConnectionListResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
89
|
+
* to the expected objects
|
|
90
|
+
*
|
|
91
|
+
* @params response Response returned by the server for a request to submitWeb3Action
|
|
92
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
93
|
+
*/
|
|
94
|
+
submitWeb3Action(response: ResponseContext): Promise<Web3ActionResponse>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Web3ConnectionsApiResponseProcessor = exports.Web3ConnectionsApiRequestFactory = void 0;
|
|
4
|
+
// TODO: better import syntax?
|
|
5
|
+
const baseapi_1 = require("./baseapi");
|
|
6
|
+
const http_1 = require("../http/http");
|
|
7
|
+
const ObjectSerializer_1 = require("../models/ObjectSerializer");
|
|
8
|
+
const exception_1 = require("./exception");
|
|
9
|
+
const util_1 = require("../util");
|
|
10
|
+
/**
|
|
11
|
+
* no description
|
|
12
|
+
*/
|
|
13
|
+
class Web3ConnectionsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
14
|
+
/**
|
|
15
|
+
* This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
|
|
16
|
+
* Create a Web3 Connection object.
|
|
17
|
+
* @param createWeb3ConnectionRequest
|
|
18
|
+
*/
|
|
19
|
+
async createWeb3Connection(createWeb3ConnectionRequest, _options) {
|
|
20
|
+
let _config = _options || this.configuration;
|
|
21
|
+
// verify required parameter 'createWeb3ConnectionRequest' is not null or undefined
|
|
22
|
+
if (createWeb3ConnectionRequest === null || createWeb3ConnectionRequest === undefined) {
|
|
23
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "createWeb3Connection", "createWeb3ConnectionRequest");
|
|
24
|
+
}
|
|
25
|
+
// Path Params
|
|
26
|
+
const localVarPath = '/v1/web3_connections';
|
|
27
|
+
// Make Request Context
|
|
28
|
+
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
29
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
30
|
+
// Body Params
|
|
31
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
32
|
+
"application/json"
|
|
33
|
+
]);
|
|
34
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
35
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(createWeb3ConnectionRequest, "CreateWeb3ConnectionRequest", ""), contentType);
|
|
36
|
+
requestContext.setBody(serializedBody);
|
|
37
|
+
let authMethod;
|
|
38
|
+
// Apply auth methods
|
|
39
|
+
authMethod = _config.authMethods["sk"];
|
|
40
|
+
if (authMethod?.applySecurityAuthentication) {
|
|
41
|
+
await authMethod?.applySecurityAuthentication(requestContext);
|
|
42
|
+
}
|
|
43
|
+
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
44
|
+
if (defaultAuth?.applySecurityAuthentication) {
|
|
45
|
+
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
46
|
+
}
|
|
47
|
+
return requestContext;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
|
|
51
|
+
* List Web3 actions from a web3 connection.
|
|
52
|
+
* @param id
|
|
53
|
+
*/
|
|
54
|
+
async getWeb3Actions(id, _options) {
|
|
55
|
+
let _config = _options || this.configuration;
|
|
56
|
+
// verify required parameter 'id' is not null or undefined
|
|
57
|
+
if (id === null || id === undefined) {
|
|
58
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "getWeb3Actions", "id");
|
|
59
|
+
}
|
|
60
|
+
// Path Params
|
|
61
|
+
const localVarPath = '/v1/web3_connections/{id}/actions'
|
|
62
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
63
|
+
// Make Request Context
|
|
64
|
+
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
65
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
66
|
+
let authMethod;
|
|
67
|
+
// Apply auth methods
|
|
68
|
+
authMethod = _config.authMethods["sk"];
|
|
69
|
+
if (authMethod?.applySecurityAuthentication) {
|
|
70
|
+
await authMethod?.applySecurityAuthentication(requestContext);
|
|
71
|
+
}
|
|
72
|
+
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
73
|
+
if (defaultAuth?.applySecurityAuthentication) {
|
|
74
|
+
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
75
|
+
}
|
|
76
|
+
return requestContext;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
|
|
80
|
+
* Get a web3Connection object.
|
|
81
|
+
* @param id Specifies the unique web3Connection ID (starts with web3_).
|
|
82
|
+
* @param expand Specifies the fields to expand.
|
|
83
|
+
*/
|
|
84
|
+
async getWeb3Connection(id, expand, _options) {
|
|
85
|
+
let _config = _options || this.configuration;
|
|
86
|
+
// verify required parameter 'id' is not null or undefined
|
|
87
|
+
if (id === null || id === undefined) {
|
|
88
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "getWeb3Connection", "id");
|
|
89
|
+
}
|
|
90
|
+
// Path Params
|
|
91
|
+
const localVarPath = '/v1/web3_connections/{id}'
|
|
92
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
93
|
+
// Make Request Context
|
|
94
|
+
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
95
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
96
|
+
// Query Params
|
|
97
|
+
if (expand !== undefined) {
|
|
98
|
+
requestContext.setQueryParam("expand", ObjectSerializer_1.ObjectSerializer.serialize(expand, "Array<Web3ConnectionResponseExpandable>", ""));
|
|
99
|
+
}
|
|
100
|
+
let authMethod;
|
|
101
|
+
// Apply auth methods
|
|
102
|
+
authMethod = _config.authMethods["sk"];
|
|
103
|
+
if (authMethod?.applySecurityAuthentication) {
|
|
104
|
+
await authMethod?.applySecurityAuthentication(requestContext);
|
|
105
|
+
}
|
|
106
|
+
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
107
|
+
if (defaultAuth?.applySecurityAuthentication) {
|
|
108
|
+
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
109
|
+
}
|
|
110
|
+
return requestContext;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
|
|
114
|
+
* List Web3 connections.
|
|
115
|
+
* @param player Specifies the unique player ID (starts with pla_)
|
|
116
|
+
* @param limit Specifies the maximum number of records to return.
|
|
117
|
+
* @param skip Specifies the offset for the first records to return.
|
|
118
|
+
* @param order Specifies the order in which to sort the results.
|
|
119
|
+
* @param disconnected Specifies connection status
|
|
120
|
+
*/
|
|
121
|
+
async getWeb3Connections(player, limit, skip, order, disconnected, _options) {
|
|
122
|
+
let _config = _options || this.configuration;
|
|
123
|
+
// verify required parameter 'player' is not null or undefined
|
|
124
|
+
if (player === null || player === undefined) {
|
|
125
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "getWeb3Connections", "player");
|
|
126
|
+
}
|
|
127
|
+
// Path Params
|
|
128
|
+
const localVarPath = '/v1/web3_connections';
|
|
129
|
+
// Make Request Context
|
|
130
|
+
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
131
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
132
|
+
// Query Params
|
|
133
|
+
if (limit !== undefined) {
|
|
134
|
+
requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32"));
|
|
135
|
+
}
|
|
136
|
+
// Query Params
|
|
137
|
+
if (skip !== undefined) {
|
|
138
|
+
requestContext.setQueryParam("skip", ObjectSerializer_1.ObjectSerializer.serialize(skip, "number", "int32"));
|
|
139
|
+
}
|
|
140
|
+
// Query Params
|
|
141
|
+
if (order !== undefined) {
|
|
142
|
+
requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "SortOrder", ""));
|
|
143
|
+
}
|
|
144
|
+
// Query Params
|
|
145
|
+
if (player !== undefined) {
|
|
146
|
+
requestContext.setQueryParam("player", ObjectSerializer_1.ObjectSerializer.serialize(player, "string", ""));
|
|
147
|
+
}
|
|
148
|
+
// Query Params
|
|
149
|
+
if (disconnected !== undefined) {
|
|
150
|
+
requestContext.setQueryParam("disconnected", ObjectSerializer_1.ObjectSerializer.serialize(disconnected, "boolean", ""));
|
|
151
|
+
}
|
|
152
|
+
let authMethod;
|
|
153
|
+
// Apply auth methods
|
|
154
|
+
authMethod = _config.authMethods["sk"];
|
|
155
|
+
if (authMethod?.applySecurityAuthentication) {
|
|
156
|
+
await authMethod?.applySecurityAuthentication(requestContext);
|
|
157
|
+
}
|
|
158
|
+
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
159
|
+
if (defaultAuth?.applySecurityAuthentication) {
|
|
160
|
+
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
161
|
+
}
|
|
162
|
+
return requestContext;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
166
|
+
* Approve or Reject a web3 action
|
|
167
|
+
* @param id
|
|
168
|
+
* @param web3Action
|
|
169
|
+
* @param submitWeb3ActionRequest
|
|
170
|
+
*/
|
|
171
|
+
async submitWeb3Action(id, web3Action, submitWeb3ActionRequest, _options) {
|
|
172
|
+
let _config = _options || this.configuration;
|
|
173
|
+
// verify required parameter 'id' is not null or undefined
|
|
174
|
+
if (id === null || id === undefined) {
|
|
175
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "submitWeb3Action", "id");
|
|
176
|
+
}
|
|
177
|
+
// verify required parameter 'web3Action' is not null or undefined
|
|
178
|
+
if (web3Action === null || web3Action === undefined) {
|
|
179
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "submitWeb3Action", "web3Action");
|
|
180
|
+
}
|
|
181
|
+
// verify required parameter 'submitWeb3ActionRequest' is not null or undefined
|
|
182
|
+
if (submitWeb3ActionRequest === null || submitWeb3ActionRequest === undefined) {
|
|
183
|
+
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "submitWeb3Action", "submitWeb3ActionRequest");
|
|
184
|
+
}
|
|
185
|
+
// Path Params
|
|
186
|
+
const localVarPath = '/v1/web3_connections/{id}/actions/{web3_action}'
|
|
187
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)))
|
|
188
|
+
.replace('{' + 'web3_action' + '}', encodeURIComponent(String(web3Action)));
|
|
189
|
+
// Make Request Context
|
|
190
|
+
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
191
|
+
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
192
|
+
// Body Params
|
|
193
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
194
|
+
"application/json"
|
|
195
|
+
]);
|
|
196
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
197
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(submitWeb3ActionRequest, "SubmitWeb3ActionRequest", ""), contentType);
|
|
198
|
+
requestContext.setBody(serializedBody);
|
|
199
|
+
let authMethod;
|
|
200
|
+
// Apply auth methods
|
|
201
|
+
authMethod = _config.authMethods["sk"];
|
|
202
|
+
if (authMethod?.applySecurityAuthentication) {
|
|
203
|
+
await authMethod?.applySecurityAuthentication(requestContext);
|
|
204
|
+
}
|
|
205
|
+
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
206
|
+
if (defaultAuth?.applySecurityAuthentication) {
|
|
207
|
+
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
208
|
+
}
|
|
209
|
+
return requestContext;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
exports.Web3ConnectionsApiRequestFactory = Web3ConnectionsApiRequestFactory;
|
|
213
|
+
class Web3ConnectionsApiResponseProcessor {
|
|
214
|
+
/**
|
|
215
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
216
|
+
* to the expected objects
|
|
217
|
+
*
|
|
218
|
+
* @params response Response returned by the server for a request to createWeb3Connection
|
|
219
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
220
|
+
*/
|
|
221
|
+
async createWeb3Connection(response) {
|
|
222
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
223
|
+
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
224
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
225
|
+
return body;
|
|
226
|
+
}
|
|
227
|
+
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
228
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
229
|
+
}
|
|
230
|
+
if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
|
|
231
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
232
|
+
}
|
|
233
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
234
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
235
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
236
|
+
return body;
|
|
237
|
+
}
|
|
238
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
242
|
+
* to the expected objects
|
|
243
|
+
*
|
|
244
|
+
* @params response Response returned by the server for a request to getWeb3Actions
|
|
245
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
246
|
+
*/
|
|
247
|
+
async getWeb3Actions(response) {
|
|
248
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
249
|
+
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
250
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionListResponse", "");
|
|
251
|
+
return body;
|
|
252
|
+
}
|
|
253
|
+
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
254
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
255
|
+
}
|
|
256
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
257
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
258
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionListResponse", "");
|
|
259
|
+
return body;
|
|
260
|
+
}
|
|
261
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
265
|
+
* to the expected objects
|
|
266
|
+
*
|
|
267
|
+
* @params response Response returned by the server for a request to getWeb3Connection
|
|
268
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
269
|
+
*/
|
|
270
|
+
async getWeb3Connection(response) {
|
|
271
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
272
|
+
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
273
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
274
|
+
return body;
|
|
275
|
+
}
|
|
276
|
+
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
277
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
278
|
+
}
|
|
279
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
280
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
281
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
282
|
+
return body;
|
|
283
|
+
}
|
|
284
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
288
|
+
* to the expected objects
|
|
289
|
+
*
|
|
290
|
+
* @params response Response returned by the server for a request to getWeb3Connections
|
|
291
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
292
|
+
*/
|
|
293
|
+
async getWeb3Connections(response) {
|
|
294
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
295
|
+
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
296
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionListResponse", "");
|
|
297
|
+
return body;
|
|
298
|
+
}
|
|
299
|
+
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
300
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
301
|
+
}
|
|
302
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
303
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
304
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionListResponse", "");
|
|
305
|
+
return body;
|
|
306
|
+
}
|
|
307
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
311
|
+
* to the expected objects
|
|
312
|
+
*
|
|
313
|
+
* @params response Response returned by the server for a request to submitWeb3Action
|
|
314
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
315
|
+
*/
|
|
316
|
+
async submitWeb3Action(response) {
|
|
317
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
318
|
+
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
319
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionResponse", "");
|
|
320
|
+
return body;
|
|
321
|
+
}
|
|
322
|
+
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
323
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
324
|
+
}
|
|
325
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
326
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
327
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionResponse", "");
|
|
328
|
+
return body;
|
|
329
|
+
}
|
|
330
|
+
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
exports.Web3ConnectionsApiResponseProcessor = Web3ConnectionsApiResponseProcessor;
|
|
334
|
+
//# sourceMappingURL=Web3ConnectionsApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Web3ConnectionsApi.js","sourceRoot":"","sources":["../../../src/generated/apis/Web3ConnectionsApi.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,uCAAmF;AAEnF,uCAAmF;AAGnF,iEAA4D;AAC5D,2CAAyC;AACzC,kCAAsD;AAatD;;GAEG;AACH,MAAa,gCAAiC,SAAQ,+BAAqB;IAEvE;;;;OAIG;IACI,KAAK,CAAC,oBAAoB,CAAC,2BAAwD,EAAE,QAAwB;QAChH,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;QAE7C,mFAAmF;QACnF,IAAI,2BAA2B,KAAK,IAAI,IAAI,2BAA2B,KAAK,SAAS,EAAE;YACnF,MAAM,IAAI,uBAAa,CAAC,oBAAoB,EAAE,sBAAsB,EAAE,6BAA6B,CAAC,CAAC;SACxG;QAGD,cAAc;QACd,MAAM,YAAY,GAAG,sBAAsB,CAAC;QAE5C,uBAAuB;QACvB,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,IAAI,CAAC,CAAC;QAC5F,cAAc,CAAC,cAAc,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAA;QAGtE,cAAc;QACd,MAAM,WAAW,GAAG,mCAAgB,CAAC,qBAAqB,CAAC;YACvD,kBAAkB;SACrB,CAAC,CAAC;QACH,cAAc,CAAC,cAAc,CAAC,cAA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AAoB,EAAE,EAAE,CACL,CAAC;YACxB,OAAO,IAAI,CAAC;SACf;QAED,MAAM,IAAI,wBAAY,CAA8B,QAAQ,CAAC,cAAc,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC,YAAY,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC9J,CAAC;CAEJ;AArKD,kFAqKC"}
|
|
@@ -7,4 +7,4 @@ export * from "./apis/exception";
|
|
|
7
7
|
export * from "./servers";
|
|
8
8
|
export { RequiredError } from "./apis/baseapi";
|
|
9
9
|
export { PromiseMiddleware as Middleware } from './middleware';
|
|
10
|
-
export { PromiseAccountsApi as AccountsApi, PromiseAuthenticationApi as AuthenticationApi, PromiseContractsApi as ContractsApi, PromiseGoogleAuthenticationApi as GoogleAuthenticationApi, PromiseInventoriesApi as InventoriesApi, PromiseOAuthApi as OAuthApi, PromisePlayersApi as PlayersApi, PromisePlayersAuthenticationApi as PlayersAuthenticationApi, PromisePoliciesApi as PoliciesApi, PromisePolicyRulesApi as PolicyRulesApi, PromiseSessionsApi as SessionsApi, PromiseSettingsApi as SettingsApi, PromiseTransactionIntentsApi as TransactionIntentsApi } from './types/PromiseAPI';
|
|
10
|
+
export { PromiseAccountsApi as AccountsApi, PromiseAuthenticationApi as AuthenticationApi, PromiseContractsApi as ContractsApi, PromiseGoogleAuthenticationApi as GoogleAuthenticationApi, PromiseInventoriesApi as InventoriesApi, PromiseOAuthApi as OAuthApi, PromisePlayersApi as PlayersApi, PromisePlayersAuthenticationApi as PlayersAuthenticationApi, PromisePoliciesApi as PoliciesApi, PromisePolicyRulesApi as PolicyRulesApi, PromiseSessionsApi as SessionsApi, PromiseSettingsApi as SettingsApi, PromiseTransactionIntentsApi as TransactionIntentsApi, PromiseWeb3ConnectionsApi as Web3ConnectionsApi } from './types/PromiseAPI';
|
package/dist/generated/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.TransactionIntentsApi = exports.SettingsApi = exports.SessionsApi = exports.PolicyRulesApi = exports.PoliciesApi = exports.PlayersAuthenticationApi = exports.PlayersApi = exports.OAuthApi = exports.InventoriesApi = exports.GoogleAuthenticationApi = exports.ContractsApi = exports.AuthenticationApi = exports.AccountsApi = exports.RequiredError = exports.createConfiguration = void 0;
|
|
17
|
+
exports.Web3ConnectionsApi = exports.TransactionIntentsApi = exports.SettingsApi = exports.SessionsApi = exports.PolicyRulesApi = exports.PoliciesApi = exports.PlayersAuthenticationApi = exports.PlayersApi = exports.OAuthApi = exports.InventoriesApi = exports.GoogleAuthenticationApi = exports.ContractsApi = exports.AuthenticationApi = exports.AccountsApi = exports.RequiredError = exports.createConfiguration = void 0;
|
|
18
18
|
__exportStar(require("./http/http"), exports);
|
|
19
19
|
__exportStar(require("./auth/auth"), exports);
|
|
20
20
|
__exportStar(require("./models/all"), exports);
|
|
@@ -38,4 +38,5 @@ Object.defineProperty(exports, "PolicyRulesApi", { enumerable: true, get: functi
|
|
|
38
38
|
Object.defineProperty(exports, "SessionsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseSessionsApi; } });
|
|
39
39
|
Object.defineProperty(exports, "SettingsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseSettingsApi; } });
|
|
40
40
|
Object.defineProperty(exports, "TransactionIntentsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseTransactionIntentsApi; } });
|
|
41
|
+
Object.defineProperty(exports, "Web3ConnectionsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseWeb3ConnectionsApi; } });
|
|
41
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,iDAAioB;AAAxnB,yGAAA,kBAAkB,OAAe;AAAG,+GAAA,wBAAwB,OAAqB;AAAG,0GAAA,mBAAmB,OAAgB;AAAG,qHAAA,8BAA8B,OAA2B;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,sGAAA,eAAe,OAAY;AAAG,wGAAA,iBAAiB,OAAc;AAAG,sHAAA,+BAA+B,OAA4B;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,yGAAA,kBAAkB,OAAe;AAAG,yGAAA,kBAAkB,OAAe;AAAG,mHAAA,4BAA4B,OAAyB;AAAG,gHAAA,yBAAyB,OAAsB"}
|
|
@@ -10,15 +10,18 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { EntityTypePLAYER } from '../models/EntityTypePLAYER';
|
|
13
|
+
import { PlayerMetadataValue } from '../models/PlayerMetadataValue';
|
|
13
14
|
import { PlayerResponseAccountsInner } from '../models/PlayerResponseAccountsInner';
|
|
14
15
|
import { PlayerResponseTransactionIntentsInner } from '../models/PlayerResponseTransactionIntentsInner';
|
|
15
16
|
export declare class AuthPlayerResponsePlayer {
|
|
16
17
|
'id': string;
|
|
17
18
|
'object': EntityTypePLAYER;
|
|
18
19
|
'createdAt': number;
|
|
19
|
-
'name': string
|
|
20
|
-
'description'
|
|
21
|
-
'metadata'
|
|
20
|
+
'name': string;
|
|
21
|
+
'description'?: string;
|
|
22
|
+
'metadata'?: {
|
|
23
|
+
[key: string]: PlayerMetadataValue;
|
|
24
|
+
};
|
|
22
25
|
'transactionIntents'?: Array<PlayerResponseTransactionIntentsInner>;
|
|
23
26
|
'accounts'?: Array<PlayerResponseAccountsInner>;
|
|
24
27
|
static readonly discriminator: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthPlayerResponsePlayer.js","sourceRoot":"","sources":["../../../src/generated/models/AuthPlayerResponsePlayer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"AuthPlayerResponsePlayer.js","sourceRoot":"","sources":["../../../src/generated/models/AuthPlayerResponsePlayer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAUH,MAAa,wBAAwB;IA8DjC,MAAM,CAAC,mBAAmB;QACtB,OAAO,wBAAwB,CAAC,gBAAgB,CAAC;IACrD,CAAC;IAED;IACA,CAAC;;AAnEL,4DAoEC;AA1DmB,sCAAa,GAAuB,SAAS,CAAC;AAE9C,yCAAgB,GAA0E;IACtG;QACI,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,kBAAkB;QAC1B,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,OAAO;KACpB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,yCAAyC;QACjD,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,oBAAoB;QAC5B,UAAU,EAAE,oBAAoB;QAChC,MAAM,EAAE,8CAA8C;QACtD,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,oCAAoC;QAC5C,QAAQ,EAAE,EAAE;KACf;CAAK,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Openfort API
|
|
3
|
+
* Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: founders@openfort.xyz
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CreateWeb3ConnectionRequest {
|
|
13
|
+
/**
|
|
14
|
+
* The player ID (starts with pla_).
|
|
15
|
+
*/
|
|
16
|
+
'player': string;
|
|
17
|
+
/**
|
|
18
|
+
* The chain ID.
|
|
19
|
+
*/
|
|
20
|
+
'chainId': number;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the URI of the web3Connection.
|
|
23
|
+
*/
|
|
24
|
+
'uri': string;
|
|
25
|
+
static readonly discriminator: string | undefined;
|
|
26
|
+
static readonly attributeTypeMap: Array<{
|
|
27
|
+
name: string;
|
|
28
|
+
baseName: string;
|
|
29
|
+
type: string;
|
|
30
|
+
format: string;
|
|
31
|
+
}>;
|
|
32
|
+
static getAttributeTypeMap(): {
|
|
33
|
+
name: string;
|
|
34
|
+
baseName: string;
|
|
35
|
+
type: string;
|
|
36
|
+
format: string;
|
|
37
|
+
}[];
|
|
38
|
+
constructor();
|
|
39
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Openfort API
|
|
4
|
+
* Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
* Contact: founders@openfort.xyz
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.CreateWeb3ConnectionRequest = void 0;
|
|
15
|
+
class CreateWeb3ConnectionRequest {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return CreateWeb3ConnectionRequest.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.CreateWeb3ConnectionRequest = CreateWeb3ConnectionRequest;
|
|
23
|
+
CreateWeb3ConnectionRequest.discriminator = undefined;
|
|
24
|
+
CreateWeb3ConnectionRequest.attributeTypeMap = [
|
|
25
|
+
{
|
|
26
|
+
"name": "player",
|
|
27
|
+
"baseName": "player",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "chainId",
|
|
33
|
+
"baseName": "chainId",
|
|
34
|
+
"type": "number",
|
|
35
|
+
"format": "int32"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "uri",
|
|
39
|
+
"baseName": "uri",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"format": ""
|
|
42
|
+
}
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=CreateWeb3ConnectionRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWeb3ConnectionRequest.js","sourceRoot":"","sources":["../../../src/generated/models/CreateWeb3ConnectionRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,2BAA2B;IAoCpC,MAAM,CAAC,mBAAmB;QACtB,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACxD,CAAC;IAED;IACA,CAAC;;AAzCL,kEA0CC;AA5BmB,yCAAa,GAAuB,SAAS,CAAC;AAE9C,4CAAgB,GAA0E;IACtG;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,OAAO;KACpB;IACD;QACI,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;CAAK,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Openfort API
|
|
3
|
+
* Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
* Contact: founders@openfort.xyz
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export type EntityTypeWEB3ACTION = "web3Action";
|