@openfort/openfort-node 0.6.64 → 0.6.65
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/generated/index.d.ts +1 -1
- package/dist/generated/index.js +1 -2
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/{DomainData.d.ts → AccountAbstractionV6Details.d.ts} +5 -6
- package/dist/generated/models/AccountAbstractionV6Details.js +38 -0
- package/dist/generated/models/AccountAbstractionV6Details.js.map +1 -0
- package/dist/generated/models/CreateAccountRequest.d.ts +1 -1
- package/dist/generated/models/CreatePaymasterRequest.d.ts +1 -1
- package/dist/generated/models/EstimateTransactionIntentGasResult.d.ts +3 -21
- package/dist/generated/models/EstimateTransactionIntentGasResult.js.map +1 -1
- package/dist/generated/models/NextActionPayload.d.ts +4 -0
- package/dist/generated/models/NextActionPayload.js +6 -0
- package/dist/generated/models/NextActionPayload.js.map +1 -1
- package/dist/generated/models/ObjectSerializer.d.ts +7 -13
- package/dist/generated/models/ObjectSerializer.js +20 -35
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PaymasterResponse.d.ts +1 -1
- package/dist/generated/models/PlayerResponseTransactionIntentsInner.d.ts +4 -3
- package/dist/generated/models/PlayerResponseTransactionIntentsInner.js +12 -0
- package/dist/generated/models/PlayerResponseTransactionIntentsInner.js.map +1 -1
- package/dist/generated/models/SignPayloadRequest.d.ts +3 -3
- package/dist/generated/models/SignPayloadRequest.js +1 -1
- package/dist/generated/models/SignPayloadRequest.js.map +1 -1
- package/dist/generated/models/{Web3ConnectionListQueries.d.ts → StandardDetails.d.ts} +25 -11
- package/dist/generated/models/StandardDetails.js +74 -0
- package/dist/generated/models/StandardDetails.js.map +1 -0
- package/dist/generated/models/{EntityTypeWEB3ACTION.d.ts → TransactionAbstractionType.d.ts} +1 -1
- package/dist/generated/models/{EntityTypeWEB3CONNECTION.js → TransactionAbstractionType.js} +1 -1
- package/dist/generated/models/TransactionAbstractionType.js.map +1 -0
- package/dist/generated/models/TransactionIntent.d.ts +4 -3
- package/dist/generated/models/TransactionIntent.js +12 -0
- package/dist/generated/models/TransactionIntent.js.map +1 -1
- package/dist/generated/models/TransactionIntentDetails.d.ts +76 -0
- package/dist/generated/models/{Web3ActionResponse.js → TransactionIntentDetails.js} +36 -45
- package/dist/generated/models/TransactionIntentDetails.js.map +1 -0
- package/dist/generated/models/TransactionIntentResponse.d.ts +4 -3
- package/dist/generated/models/TransactionIntentResponse.js +12 -0
- package/dist/generated/models/TransactionIntentResponse.js.map +1 -1
- package/dist/generated/models/{CreateWeb3ConnectionRequest.d.ts → TypedDomainData.d.ts} +15 -7
- package/dist/generated/models/{DomainData.js → TypedDomainData.js} +13 -7
- package/dist/generated/models/TypedDomainData.js.map +1 -0
- package/dist/generated/models/UserOperationV6.d.ts +71 -0
- package/dist/generated/models/UserOperationV6.js +92 -0
- package/dist/generated/models/UserOperationV6.js.map +1 -0
- package/dist/generated/models/ZKSyncDetails.d.ts +67 -0
- package/dist/generated/models/ZKSyncDetails.js +86 -0
- package/dist/generated/models/ZKSyncDetails.js.map +1 -0
- package/dist/generated/models/all.d.ts +7 -13
- package/dist/generated/models/all.js +7 -13
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +0 -124
- package/dist/generated/types/ObjectParamAPI.js +1 -48
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +0 -51
- package/dist/generated/types/ObservableAPI.js +1 -122
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +0 -49
- package/dist/generated/types/PromiseAPI.js +1 -60
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -4
- package/dist/index.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/apis/web3ConnectionsApiWrapper.d.ts +0 -34
- package/dist/apis/web3ConnectionsApiWrapper.js +0 -62
- package/dist/apis/web3ConnectionsApiWrapper.js.map +0 -1
- package/dist/generated/apis/Web3ConnectionsApi.d.ts +0 -95
- package/dist/generated/apis/Web3ConnectionsApi.js +0 -330
- package/dist/generated/apis/Web3ConnectionsApi.js.map +0 -1
- package/dist/generated/models/CreateWeb3ConnectionRequest.js +0 -44
- package/dist/generated/models/CreateWeb3ConnectionRequest.js.map +0 -1
- package/dist/generated/models/DomainData.js.map +0 -1
- package/dist/generated/models/EntityTypeWEB3ACTION.js +0 -14
- package/dist/generated/models/EntityTypeWEB3ACTION.js.map +0 -1
- package/dist/generated/models/EntityTypeWEB3CONNECTION.d.ts +0 -12
- package/dist/generated/models/EntityTypeWEB3CONNECTION.js.map +0 -1
- package/dist/generated/models/SubmitWeb3ActionRequest.d.ts +0 -39
- package/dist/generated/models/SubmitWeb3ActionRequest.js +0 -44
- package/dist/generated/models/SubmitWeb3ActionRequest.js.map +0 -1
- package/dist/generated/models/Web3ActionListResponse.d.ts +0 -35
- package/dist/generated/models/Web3ActionListResponse.js +0 -62
- package/dist/generated/models/Web3ActionListResponse.js.map +0 -1
- package/dist/generated/models/Web3ActionResponse.d.ts +0 -46
- package/dist/generated/models/Web3ActionResponse.js.map +0 -1
- package/dist/generated/models/Web3ActionStatusEnum.d.ts +0 -12
- package/dist/generated/models/Web3ActionStatusEnum.js +0 -14
- package/dist/generated/models/Web3ActionStatusEnum.js.map +0 -1
- package/dist/generated/models/Web3ConnectionListQueries.js +0 -56
- package/dist/generated/models/Web3ConnectionListQueries.js.map +0 -1
- package/dist/generated/models/Web3ConnectionListResponse.d.ts +0 -35
- package/dist/generated/models/Web3ConnectionListResponse.js +0 -62
- package/dist/generated/models/Web3ConnectionListResponse.js.map +0 -1
- package/dist/generated/models/Web3ConnectionResponse.d.ts +0 -34
- package/dist/generated/models/Web3ConnectionResponse.js +0 -56
- package/dist/generated/models/Web3ConnectionResponse.js.map +0 -1
- package/dist/generated/models/Web3ConnectionResponseExpandable.d.ts +0 -12
- package/dist/generated/models/Web3ConnectionResponseExpandable.js +0 -14
- package/dist/generated/models/Web3ConnectionResponseExpandable.js.map +0 -1
- package/dist/generated/models/Web3ConnectionResponsePlayer.d.ts +0 -43
- package/dist/generated/models/Web3ConnectionResponsePlayer.js +0 -77
- package/dist/generated/models/Web3ConnectionResponsePlayer.js.map +0 -1
- package/dist/models/submitWeb3ActionRequest.d.ts +0 -6
- package/dist/models/submitWeb3ActionRequest.js +0 -3
- package/dist/models/submitWeb3ActionRequest.js.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BaseApiWrapper } from "./baseApiWrapper";
|
|
2
|
-
import { CreateWeb3ConnectionRequest, Web3ActionListResponse, Web3ActionResponse, Web3ConnectionListQueries, Web3ConnectionListResponse, Web3ConnectionResponse, Web3ConnectionsApi } from "../generated";
|
|
3
|
-
import { GetWeb3ConnectionRequest } from "../models/getWeb3ConnectionRequest";
|
|
4
|
-
import { GetWeb3ActionsList } from "../models/getWeb3ActionsList";
|
|
5
|
-
import { CreateSubmitWeb3ActionRequest } from "../models/submitWeb3ActionRequest";
|
|
6
|
-
export declare class Web3ConnectionsApiWrapper extends BaseApiWrapper<Web3ConnectionsApi> {
|
|
7
|
-
static type: string;
|
|
8
|
-
constructor(accessToken: string, basePath?: string);
|
|
9
|
-
/**
|
|
10
|
-
* Creates a web3 connection object.
|
|
11
|
-
* @param req Parameters to create web3 connection
|
|
12
|
-
*/
|
|
13
|
-
create(req: CreateWeb3ConnectionRequest): Promise<Web3ConnectionResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 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.
|
|
16
|
-
* @param req Parameters to retrieve web3 connection
|
|
17
|
-
*/
|
|
18
|
-
get(req: GetWeb3ConnectionRequest): Promise<Web3ConnectionResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* 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.
|
|
21
|
-
* @param req Parameters to get list of the web3 connections
|
|
22
|
-
*/
|
|
23
|
-
list(req: Web3ConnectionListQueries): Promise<Web3ConnectionListResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* 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.
|
|
26
|
-
* @param req Parameters to get list of web3 actions
|
|
27
|
-
*/
|
|
28
|
-
getWeb3Actions(req: GetWeb3ActionsList): Promise<Web3ActionListResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* Approve or Reject a web3 action for the given web3 connection.
|
|
31
|
-
* @param req Parameters to approve or reject a web3 action
|
|
32
|
-
*/
|
|
33
|
-
submitWeb3Action(req: CreateSubmitWeb3ActionRequest): Promise<Web3ActionResponse>;
|
|
34
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.Web3ConnectionsApiWrapper = void 0;
|
|
13
|
-
const baseApiWrapper_1 = require("./baseApiWrapper");
|
|
14
|
-
const generated_1 = require("../generated");
|
|
15
|
-
const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
|
|
16
|
-
let Web3ConnectionsApiWrapper = class Web3ConnectionsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
|
|
17
|
-
constructor(accessToken, basePath) {
|
|
18
|
-
super(generated_1.Web3ConnectionsApi, accessToken, basePath);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Creates a web3 connection object.
|
|
22
|
-
* @param req Parameters to create web3 connection
|
|
23
|
-
*/
|
|
24
|
-
async create(req) {
|
|
25
|
-
return await this.api.createWeb3Connection(req);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* 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.
|
|
29
|
-
* @param req Parameters to retrieve web3 connection
|
|
30
|
-
*/
|
|
31
|
-
async get(req) {
|
|
32
|
-
return await this.api.getWeb3Connection(req.id, req.expand);
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* 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.
|
|
36
|
-
* @param req Parameters to get list of the web3 connections
|
|
37
|
-
*/
|
|
38
|
-
async list(req) {
|
|
39
|
-
return await this.api.getWeb3Connections(req?.limit, req?.skip, req?.order, req.player, req?.disconnected);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* 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.
|
|
43
|
-
* @param req Parameters to get list of web3 actions
|
|
44
|
-
*/
|
|
45
|
-
async getWeb3Actions(req) {
|
|
46
|
-
return await this.api.getWeb3Actions(req.id);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Approve or Reject a web3 action for the given web3 connection.
|
|
50
|
-
* @param req Parameters to approve or reject a web3 action
|
|
51
|
-
*/
|
|
52
|
-
async submitWeb3Action(req) {
|
|
53
|
-
return await this.api.submitWeb3Action(req.id, req.web3Action, req.submitWeb3ActionRequest);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
Web3ConnectionsApiWrapper.type = "web3Connections";
|
|
57
|
-
Web3ConnectionsApiWrapper = __decorate([
|
|
58
|
-
httpErrorHandler_1.httpErrorHandler,
|
|
59
|
-
__metadata("design:paramtypes", [String, String])
|
|
60
|
-
], Web3ConnectionsApiWrapper);
|
|
61
|
-
exports.Web3ConnectionsApiWrapper = Web3ConnectionsApiWrapper;
|
|
62
|
-
//# sourceMappingURL=web3ConnectionsApiWrapper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"web3ConnectionsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/web3ConnectionsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,4CAQsB;AACtB,oEAAiE;AAM1D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,+BAAkC;IAG7E,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,8BAAkB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACrD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAgC;QAChD,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAA6B;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAA8B;QAC5C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC;IAC/G,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,cAAc,CAAC,GAAuB;QAC/C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,gBAAgB,CAAC,GAAkC;QAC5D,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,uBAAuB,CAAC,CAAC;IAChG,CAAC;;AA5CM,8BAAI,GAAG,iBAAiB,CAAC;AADvB,yBAAyB;IADrC,mCAAgB;;GACJ,yBAAyB,CA8CrC;AA9CY,8DAAyB"}
|
|
@@ -1,95 +0,0 @@
|
|
|
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](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 Specifies the web3Connection ID (starts with web3_).
|
|
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 limit Specifies the maximum number of records to return.
|
|
39
|
-
* @param skip Specifies the offset for the first records to return.
|
|
40
|
-
* @param order Specifies the order in which to sort the results.
|
|
41
|
-
* @param player Specifies the unique player ID (starts with pla_)
|
|
42
|
-
* @param disconnected Specifies connection status
|
|
43
|
-
*/
|
|
44
|
-
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, 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 Specifies the web3Connection ID (starts with web3_).
|
|
49
|
-
* @param web3Action Specifies web3_action (starts with act_).
|
|
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
|
-
}
|
|
@@ -1,330 +0,0 @@
|
|
|
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](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 Specifies the web3Connection ID (starts with web3_).
|
|
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 limit Specifies the maximum number of records to return.
|
|
116
|
-
* @param skip Specifies the offset for the first records to return.
|
|
117
|
-
* @param order Specifies the order in which to sort the results.
|
|
118
|
-
* @param player Specifies the unique player ID (starts with pla_)
|
|
119
|
-
* @param disconnected Specifies connection status
|
|
120
|
-
*/
|
|
121
|
-
async getWeb3Connections(limit, skip, order, player, disconnected, _options) {
|
|
122
|
-
let _config = _options || this.configuration;
|
|
123
|
-
// Path Params
|
|
124
|
-
const localVarPath = '/v1/web3_connections';
|
|
125
|
-
// Make Request Context
|
|
126
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
127
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
128
|
-
// Query Params
|
|
129
|
-
if (limit !== undefined) {
|
|
130
|
-
requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32"));
|
|
131
|
-
}
|
|
132
|
-
// Query Params
|
|
133
|
-
if (skip !== undefined) {
|
|
134
|
-
requestContext.setQueryParam("skip", ObjectSerializer_1.ObjectSerializer.serialize(skip, "number", "int32"));
|
|
135
|
-
}
|
|
136
|
-
// Query Params
|
|
137
|
-
if (order !== undefined) {
|
|
138
|
-
requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "SortOrder", ""));
|
|
139
|
-
}
|
|
140
|
-
// Query Params
|
|
141
|
-
if (player !== undefined) {
|
|
142
|
-
requestContext.setQueryParam("player", ObjectSerializer_1.ObjectSerializer.serialize(player, "string", ""));
|
|
143
|
-
}
|
|
144
|
-
// Query Params
|
|
145
|
-
if (disconnected !== undefined) {
|
|
146
|
-
requestContext.setQueryParam("disconnected", ObjectSerializer_1.ObjectSerializer.serialize(disconnected, "boolean", ""));
|
|
147
|
-
}
|
|
148
|
-
let authMethod;
|
|
149
|
-
// Apply auth methods
|
|
150
|
-
authMethod = _config.authMethods["sk"];
|
|
151
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
152
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
153
|
-
}
|
|
154
|
-
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
155
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
156
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
157
|
-
}
|
|
158
|
-
return requestContext;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Approve or Reject a web3 action for the given web3 connection.
|
|
162
|
-
* Approve or Reject a web3 action
|
|
163
|
-
* @param id Specifies the web3Connection ID (starts with web3_).
|
|
164
|
-
* @param web3Action Specifies web3_action (starts with act_).
|
|
165
|
-
* @param submitWeb3ActionRequest
|
|
166
|
-
*/
|
|
167
|
-
async submitWeb3Action(id, web3Action, submitWeb3ActionRequest, _options) {
|
|
168
|
-
let _config = _options || this.configuration;
|
|
169
|
-
// verify required parameter 'id' is not null or undefined
|
|
170
|
-
if (id === null || id === undefined) {
|
|
171
|
-
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "submitWeb3Action", "id");
|
|
172
|
-
}
|
|
173
|
-
// verify required parameter 'web3Action' is not null or undefined
|
|
174
|
-
if (web3Action === null || web3Action === undefined) {
|
|
175
|
-
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "submitWeb3Action", "web3Action");
|
|
176
|
-
}
|
|
177
|
-
// verify required parameter 'submitWeb3ActionRequest' is not null or undefined
|
|
178
|
-
if (submitWeb3ActionRequest === null || submitWeb3ActionRequest === undefined) {
|
|
179
|
-
throw new baseapi_1.RequiredError("Web3ConnectionsApi", "submitWeb3Action", "submitWeb3ActionRequest");
|
|
180
|
-
}
|
|
181
|
-
// Path Params
|
|
182
|
-
const localVarPath = '/v1/web3_connections/{id}/actions/{web3_action}'
|
|
183
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)))
|
|
184
|
-
.replace('{' + 'web3_action' + '}', encodeURIComponent(String(web3Action)));
|
|
185
|
-
// Make Request Context
|
|
186
|
-
const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
187
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
188
|
-
// Body Params
|
|
189
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
190
|
-
"application/json"
|
|
191
|
-
]);
|
|
192
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
193
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(submitWeb3ActionRequest, "SubmitWeb3ActionRequest", ""), contentType);
|
|
194
|
-
requestContext.setBody(serializedBody);
|
|
195
|
-
let authMethod;
|
|
196
|
-
// Apply auth methods
|
|
197
|
-
authMethod = _config.authMethods["sk"];
|
|
198
|
-
if (authMethod?.applySecurityAuthentication) {
|
|
199
|
-
await authMethod?.applySecurityAuthentication(requestContext);
|
|
200
|
-
}
|
|
201
|
-
const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
|
|
202
|
-
if (defaultAuth?.applySecurityAuthentication) {
|
|
203
|
-
await defaultAuth?.applySecurityAuthentication(requestContext);
|
|
204
|
-
}
|
|
205
|
-
return requestContext;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
exports.Web3ConnectionsApiRequestFactory = Web3ConnectionsApiRequestFactory;
|
|
209
|
-
class Web3ConnectionsApiResponseProcessor {
|
|
210
|
-
/**
|
|
211
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
212
|
-
* to the expected objects
|
|
213
|
-
*
|
|
214
|
-
* @params response Response returned by the server for a request to createWeb3Connection
|
|
215
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
216
|
-
*/
|
|
217
|
-
async createWeb3Connection(response) {
|
|
218
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
219
|
-
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
220
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
221
|
-
return body;
|
|
222
|
-
}
|
|
223
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
224
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
225
|
-
}
|
|
226
|
-
if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
|
|
227
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
228
|
-
}
|
|
229
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
230
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
231
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
232
|
-
return body;
|
|
233
|
-
}
|
|
234
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
238
|
-
* to the expected objects
|
|
239
|
-
*
|
|
240
|
-
* @params response Response returned by the server for a request to getWeb3Actions
|
|
241
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
242
|
-
*/
|
|
243
|
-
async getWeb3Actions(response) {
|
|
244
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
245
|
-
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
246
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionListResponse", "");
|
|
247
|
-
return body;
|
|
248
|
-
}
|
|
249
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
250
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
251
|
-
}
|
|
252
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
253
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
254
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionListResponse", "");
|
|
255
|
-
return body;
|
|
256
|
-
}
|
|
257
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
261
|
-
* to the expected objects
|
|
262
|
-
*
|
|
263
|
-
* @params response Response returned by the server for a request to getWeb3Connection
|
|
264
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
265
|
-
*/
|
|
266
|
-
async getWeb3Connection(response) {
|
|
267
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
268
|
-
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
269
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
270
|
-
return body;
|
|
271
|
-
}
|
|
272
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
273
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
274
|
-
}
|
|
275
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
276
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
277
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionResponse", "");
|
|
278
|
-
return body;
|
|
279
|
-
}
|
|
280
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
284
|
-
* to the expected objects
|
|
285
|
-
*
|
|
286
|
-
* @params response Response returned by the server for a request to getWeb3Connections
|
|
287
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
288
|
-
*/
|
|
289
|
-
async getWeb3Connections(response) {
|
|
290
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
291
|
-
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
292
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionListResponse", "");
|
|
293
|
-
return body;
|
|
294
|
-
}
|
|
295
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
296
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
297
|
-
}
|
|
298
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
299
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
300
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ConnectionListResponse", "");
|
|
301
|
-
return body;
|
|
302
|
-
}
|
|
303
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
307
|
-
* to the expected objects
|
|
308
|
-
*
|
|
309
|
-
* @params response Response returned by the server for a request to submitWeb3Action
|
|
310
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
311
|
-
*/
|
|
312
|
-
async submitWeb3Action(response) {
|
|
313
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
314
|
-
if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
|
|
315
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionResponse", "");
|
|
316
|
-
return body;
|
|
317
|
-
}
|
|
318
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
319
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
|
|
320
|
-
}
|
|
321
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
322
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
323
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "Web3ActionResponse", "");
|
|
324
|
-
return body;
|
|
325
|
-
}
|
|
326
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
exports.Web3ConnectionsApiResponseProcessor = Web3ConnectionsApiResponseProcessor;
|
|
330
|
-
//# sourceMappingURL=Web3ConnectionsApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,YA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CAAC,cAAc,IAAI,GAAG,EAAE;YAClE,MAAM,IAAI,GAAuB,mCAAgB,CAAC,WAAW,CACzD,mCAAgB,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAC,EAC/D,oBAAoB,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"}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DomainData.js","sourceRoot":"","sources":["../../../src/generated/models/DomainData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,UAAU;IAqCnB,MAAM,CAAC,mBAAmB;QACtB,OAAO,UAAU,CAAC,gBAAgB,CAAC;IACvC,CAAC;IAED;IACA,CAAC;;AA1CL,gCA2CC;AAlCmB,wBAAa,GAAuB,SAAS,CAAC;AAE9C,2BAAgB,GAA0E;IACtG;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,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,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,mBAAmB;QAC3B,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;CAAK,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=EntityTypeWEB3ACTION.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityTypeWEB3ACTION.js","sourceRoot":"","sources":["../../../src/generated/models/EntityTypeWEB3ACTION.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 EntityTypeWEB3CONNECTION = "web3Connection";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityTypeWEB3CONNECTION.js","sourceRoot":"","sources":["../../../src/generated/models/EntityTypeWEB3CONNECTION.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"}
|