@openfort/openfort-node 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +46 -0
  2. package/dist/api/apis.d.ts +26 -0
  3. package/dist/api/apis.js +54 -0
  4. package/dist/api/apis.js.map +1 -0
  5. package/dist/api/contractsApi.d.ts +82 -0
  6. package/dist/api/contractsApi.js +317 -0
  7. package/dist/api/contractsApi.js.map +1 -0
  8. package/dist/api/defaultApi.d.ts +142 -0
  9. package/dist/api/defaultApi.js +653 -0
  10. package/dist/api/defaultApi.js.map +1 -0
  11. package/dist/api/logsApi.d.ts +52 -0
  12. package/dist/api/logsApi.js +155 -0
  13. package/dist/api/logsApi.js.map +1 -0
  14. package/dist/api/playersApi.d.ts +157 -0
  15. package/dist/api/playersApi.js +722 -0
  16. package/dist/api/playersApi.js.map +1 -0
  17. package/dist/api/policiesApi.d.ts +175 -0
  18. package/dist/api/policiesApi.js +812 -0
  19. package/dist/api/policiesApi.js.map +1 -0
  20. package/dist/api/projectsApi.d.ts +104 -0
  21. package/dist/api/projectsApi.js +450 -0
  22. package/dist/api/projectsApi.js.map +1 -0
  23. package/dist/api/sessionsApi.d.ts +70 -0
  24. package/dist/api/sessionsApi.js +276 -0
  25. package/dist/api/sessionsApi.js.map +1 -0
  26. package/dist/api/transactionIntentsApi.d.ts +124 -0
  27. package/dist/api/transactionIntentsApi.js +565 -0
  28. package/dist/api/transactionIntentsApi.js.map +1 -0
  29. package/dist/index.d.ts +26 -0
  30. package/dist/index.js +66 -0
  31. package/dist/index.js.map +1 -0
  32. package/dist/model/accountResponse.d.ts +33 -0
  33. package/dist/model/accountResponse.js +64 -0
  34. package/dist/model/accountResponse.js.map +1 -0
  35. package/dist/model/accountsResponse.d.ts +28 -0
  36. package/dist/model/accountsResponse.js +39 -0
  37. package/dist/model/accountsResponse.js.map +1 -0
  38. package/dist/model/allowFunctionResponse.d.ts +31 -0
  39. package/dist/model/allowFunctionResponse.js +54 -0
  40. package/dist/model/allowFunctionResponse.js.map +1 -0
  41. package/dist/model/allowFunctionsResponse.d.ts +28 -0
  42. package/dist/model/allowFunctionsResponse.js +39 -0
  43. package/dist/model/allowFunctionsResponse.js.map +1 -0
  44. package/dist/model/apiKeyResponse.d.ts +28 -0
  45. package/dist/model/apiKeyResponse.js +44 -0
  46. package/dist/model/apiKeyResponse.js.map +1 -0
  47. package/dist/model/assetInventory.d.ts +34 -0
  48. package/dist/model/assetInventory.js +44 -0
  49. package/dist/model/assetInventory.js.map +1 -0
  50. package/dist/model/assetType.d.ts +17 -0
  51. package/dist/model/assetType.js +22 -0
  52. package/dist/model/assetType.js.map +1 -0
  53. package/dist/model/authResponse.d.ts +26 -0
  54. package/dist/model/authResponse.js +34 -0
  55. package/dist/model/authResponse.js.map +1 -0
  56. package/dist/model/contractResponse.d.ts +33 -0
  57. package/dist/model/contractResponse.js +64 -0
  58. package/dist/model/contractResponse.js.map +1 -0
  59. package/dist/model/contractResponseAbi.d.ts +24 -0
  60. package/dist/model/contractResponseAbi.js +23 -0
  61. package/dist/model/contractResponseAbi.js.map +1 -0
  62. package/dist/model/contractResponseAbiAnyOfInner.d.ts +34 -0
  63. package/dist/model/contractResponseAbiAnyOfInner.js +74 -0
  64. package/dist/model/contractResponseAbiAnyOfInner.js.map +1 -0
  65. package/dist/model/contractsResponse.d.ts +28 -0
  66. package/dist/model/contractsResponse.js +39 -0
  67. package/dist/model/contractsResponse.js.map +1 -0
  68. package/dist/model/createSessionPlayerRequest.d.ts +31 -0
  69. package/dist/model/createSessionPlayerRequest.js +59 -0
  70. package/dist/model/createSessionPlayerRequest.js.map +1 -0
  71. package/dist/model/fragment.d.ts +29 -0
  72. package/dist/model/fragment.js +44 -0
  73. package/dist/model/fragment.js.map +1 -0
  74. package/dist/model/gas.d.ts +29 -0
  75. package/dist/model/gas.js +39 -0
  76. package/dist/model/gas.js.map +1 -0
  77. package/dist/model/getProjectResponse.d.ts +27 -0
  78. package/dist/model/getProjectResponse.js +39 -0
  79. package/dist/model/getProjectResponse.js.map +1 -0
  80. package/dist/model/interaction.d.ts +27 -0
  81. package/dist/model/interaction.js +39 -0
  82. package/dist/model/interaction.js.map +1 -0
  83. package/dist/model/inventoryResponse.d.ts +29 -0
  84. package/dist/model/inventoryResponse.js +44 -0
  85. package/dist/model/inventoryResponse.js.map +1 -0
  86. package/dist/model/jsonFragment.d.ts +33 -0
  87. package/dist/model/jsonFragment.js +69 -0
  88. package/dist/model/jsonFragment.js.map +1 -0
  89. package/dist/model/log.d.ts +31 -0
  90. package/dist/model/log.js +59 -0
  91. package/dist/model/log.js.map +1 -0
  92. package/dist/model/models.d.ts +83 -0
  93. package/dist/model/models.js +324 -0
  94. package/dist/model/models.js.map +1 -0
  95. package/dist/model/paramType.d.ts +32 -0
  96. package/dist/model/paramType.js +64 -0
  97. package/dist/model/paramType.js.map +1 -0
  98. package/dist/model/playerResponse.d.ts +36 -0
  99. package/dist/model/playerResponse.js +74 -0
  100. package/dist/model/playerResponse.js.map +1 -0
  101. package/dist/model/playersResponse.d.ts +28 -0
  102. package/dist/model/playersResponse.js +39 -0
  103. package/dist/model/playersResponse.js.map +1 -0
  104. package/dist/model/policiesResponse.d.ts +28 -0
  105. package/dist/model/policiesResponse.js +39 -0
  106. package/dist/model/policiesResponse.js.map +1 -0
  107. package/dist/model/policyResponse.d.ts +34 -0
  108. package/dist/model/policyResponse.js +64 -0
  109. package/dist/model/policyResponse.js.map +1 -0
  110. package/dist/model/projectLogs.d.ts +28 -0
  111. package/dist/model/projectLogs.js +39 -0
  112. package/dist/model/projectLogs.js.map +1 -0
  113. package/dist/model/projectResponse.d.ts +32 -0
  114. package/dist/model/projectResponse.js +59 -0
  115. package/dist/model/projectResponse.js.map +1 -0
  116. package/dist/model/projectsResponse.d.ts +28 -0
  117. package/dist/model/projectsResponse.js +39 -0
  118. package/dist/model/projectsResponse.js.map +1 -0
  119. package/dist/model/responseResponse.d.ts +32 -0
  120. package/dist/model/responseResponse.js +64 -0
  121. package/dist/model/responseResponse.js.map +1 -0
  122. package/dist/model/sessionResponse.d.ts +32 -0
  123. package/dist/model/sessionResponse.js +64 -0
  124. package/dist/model/sessionResponse.js.map +1 -0
  125. package/dist/model/strategy.d.ts +27 -0
  126. package/dist/model/strategy.js +39 -0
  127. package/dist/model/strategy.js.map +1 -0
  128. package/dist/model/sumGas.d.ts +27 -0
  129. package/dist/model/sumGas.js +39 -0
  130. package/dist/model/sumGas.js.map +1 -0
  131. package/dist/model/transactionIntentResponse.d.ts +40 -0
  132. package/dist/model/transactionIntentResponse.js +89 -0
  133. package/dist/model/transactionIntentResponse.js.map +1 -0
  134. package/dist/model/transactionIntentsResponse.d.ts +28 -0
  135. package/dist/model/transactionIntentsResponse.js +39 -0
  136. package/dist/model/transactionIntentsResponse.js.map +1 -0
  137. package/dist/model/userOpResult.d.ts +26 -0
  138. package/dist/model/userOpResult.js +34 -0
  139. package/dist/model/userOpResult.js.map +1 -0
  140. package/package.json +40 -0
  141. package/tsconfig.json +38 -0
  142. package/tsconfig.tsbuildinfo +1 -0
package/dist/index.js ADDED
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const contractsApi_1 = require("./api/contractsApi");
4
+ const defaultApi_1 = require("./api/defaultApi");
5
+ const playersApi_1 = require("./api/playersApi");
6
+ const policiesApi_1 = require("./api/policiesApi");
7
+ const projectsApi_1 = require("./api/projectsApi");
8
+ const sessionsApi_1 = require("./api/sessionsApi");
9
+ const transactionIntentsApi_1 = require("./api/transactionIntentsApi");
10
+ class Openfort {
11
+ constructor(apiKey, basePath) {
12
+ this.apiKey = apiKey;
13
+ this.basePath = basePath;
14
+ }
15
+ get contracts() {
16
+ if (!this._contractApi) {
17
+ this._contractApi = new contractsApi_1.ContractsApi(this.basePath);
18
+ this._contractApi.accessToken = this.apiKey;
19
+ }
20
+ return this._contractApi;
21
+ }
22
+ get default() {
23
+ if (!this._defaultApi) {
24
+ this._defaultApi = new defaultApi_1.DefaultApi(this.basePath);
25
+ this._defaultApi.accessToken = this.apiKey;
26
+ }
27
+ return this._defaultApi;
28
+ }
29
+ get players() {
30
+ if (!this._playerApi) {
31
+ this._playerApi = new playersApi_1.PlayersApi(this.basePath);
32
+ this._playerApi.accessToken = this.apiKey;
33
+ }
34
+ return this._playerApi;
35
+ }
36
+ get policies() {
37
+ if (!this._policiesApi) {
38
+ this._policiesApi = new policiesApi_1.PoliciesApi(this.basePath);
39
+ this._policiesApi.accessToken = this.apiKey;
40
+ }
41
+ return this._policiesApi;
42
+ }
43
+ get projects() {
44
+ if (!this._projectApi) {
45
+ this._projectApi = new projectsApi_1.ProjectsApi();
46
+ this._projectApi.accessToken = this.apiKey;
47
+ }
48
+ return this._projectApi;
49
+ }
50
+ get sessions() {
51
+ if (!this._sessionsApi) {
52
+ this._sessionsApi = new sessionsApi_1.SessionsApi();
53
+ this._sessionsApi.accessToken = this.apiKey;
54
+ }
55
+ return this._sessionsApi;
56
+ }
57
+ get transactions() {
58
+ if (!this._transactionApi) {
59
+ this._transactionApi = new transactionIntentsApi_1.TransactionIntentsApi(this.basePath);
60
+ this._transactionApi.accessToken = this.apiKey;
61
+ }
62
+ return this._transactionApi;
63
+ }
64
+ }
65
+ exports.default = Openfort;
66
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,qDAAkD;AAClD,iDAA8C;AAC9C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,mDAAgD;AAChD,uEAAoE;AAEpE,MAAqB,QAAQ;IAS3B,YACmB,MAAc,EACd,QAAiB;QADjB,WAAM,GAAN,MAAM,CAAQ;QACd,aAAQ,GAAR,QAAQ,CAAS;IACjC,CAAC;IAEJ,IAAW,SAAS;QAClB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpD,IAAI,CAAC,YAAY,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAC7C;QACD,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAW,OAAO;QAChB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,IAAI,CAAC,WAAW,GAAG,IAAI,uBAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACjD,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAC5C;QACD,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,IAAW,OAAO;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YACpB,IAAI,CAAC,UAAU,GAAG,IAAI,uBAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAChD,IAAI,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAC3C;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAW,QAAQ;QACjB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,IAAI,yBAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACnD,IAAI,CAAC,YAAY,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAC7C;QACD,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAW,QAAQ;QACjB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,IAAI,CAAC,WAAW,GAAG,IAAI,yBAAW,EAAE,CAAC;YACrC,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAC5C;QACD,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,IAAW,QAAQ;QACjB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,IAAI,yBAAW,EAAE,CAAC;YACtC,IAAI,CAAC,YAAY,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAC7C;QACD,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,IAAW,YAAY;QACrB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,IAAI,CAAC,eAAe,GAAG,IAAI,6CAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAChE,IAAI,CAAC,eAAe,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;SAChD;QACD,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;CACF;AArED,2BAqEC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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
+ import { TransactionIntentResponse } from './transactionIntentResponse';
13
+ export declare class AccountResponse {
14
+ 'id': string;
15
+ 'createdAt': Date;
16
+ 'address': string;
17
+ 'deployed': boolean;
18
+ 'object': string;
19
+ 'custodial': boolean;
20
+ 'chainId': number;
21
+ 'transactionIntents': Array<TransactionIntentResponse>;
22
+ static discriminator: string | undefined;
23
+ static attributeTypeMap: Array<{
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ }>;
28
+ static getAttributeTypeMap(): {
29
+ name: string;
30
+ baseName: string;
31
+ type: string;
32
+ }[];
33
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 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.AccountResponse = void 0;
15
+ class AccountResponse {
16
+ static getAttributeTypeMap() {
17
+ return AccountResponse.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.AccountResponse = AccountResponse;
21
+ AccountResponse.discriminator = undefined;
22
+ AccountResponse.attributeTypeMap = [
23
+ {
24
+ "name": "id",
25
+ "baseName": "id",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "createdAt",
30
+ "baseName": "created_at",
31
+ "type": "Date"
32
+ },
33
+ {
34
+ "name": "address",
35
+ "baseName": "address",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "deployed",
40
+ "baseName": "deployed",
41
+ "type": "boolean"
42
+ },
43
+ {
44
+ "name": "object",
45
+ "baseName": "object",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "name": "custodial",
50
+ "baseName": "custodial",
51
+ "type": "boolean"
52
+ },
53
+ {
54
+ "name": "chainId",
55
+ "baseName": "chain_id",
56
+ "type": "number"
57
+ },
58
+ {
59
+ "name": "transactionIntents",
60
+ "baseName": "transaction_intents",
61
+ "type": "Array<TransactionIntentResponse>"
62
+ }
63
+ ];
64
+ //# sourceMappingURL=accountResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountResponse.js","sourceRoot":"","sources":["../../src/model/accountResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,eAAe;IAsDxB,MAAM,CAAC,mBAAmB;QACtB,OAAO,eAAe,CAAC,gBAAgB,CAAC;IAC5C,CAAC;;AAxDL,0CAyDC;AA/CU,6BAAa,GAAuB,SAAS,CAAC;AAE9C,gCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,MAAM;KACjB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,oBAAoB;QAC5B,UAAU,EAAE,qBAAqB;QACjC,MAAM,EAAE,kCAAkC;KAC7C;CAAK,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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
+ import { AccountResponse } from './accountResponse';
13
+ export declare class AccountsResponse {
14
+ 'object': string;
15
+ 'url': string;
16
+ 'data': Array<AccountResponse>;
17
+ static discriminator: string | undefined;
18
+ static attributeTypeMap: Array<{
19
+ name: string;
20
+ baseName: string;
21
+ type: string;
22
+ }>;
23
+ static getAttributeTypeMap(): {
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ }[];
28
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 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.AccountsResponse = void 0;
15
+ class AccountsResponse {
16
+ static getAttributeTypeMap() {
17
+ return AccountsResponse.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.AccountsResponse = AccountsResponse;
21
+ AccountsResponse.discriminator = undefined;
22
+ AccountsResponse.attributeTypeMap = [
23
+ {
24
+ "name": "object",
25
+ "baseName": "object",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "url",
30
+ "baseName": "url",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "data",
35
+ "baseName": "data",
36
+ "type": "Array<AccountResponse>"
37
+ }
38
+ ];
39
+ //# sourceMappingURL=accountsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsResponse.js","sourceRoot":"","sources":["../../src/model/accountsResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,gBAAgB;IAwBzB,MAAM,CAAC,mBAAmB;QACtB,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;;AA1BL,4CA2BC;AAtBU,8BAAa,GAAuB,SAAS,CAAC;AAE9C,iCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,wBAAwB;KACnC;CAAK,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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
+ import { ContractResponse } from './contractResponse';
13
+ export declare class AllowFunctionResponse {
14
+ 'id': string;
15
+ 'createdAt': Date;
16
+ 'type': string;
17
+ 'functionName'?: string;
18
+ 'contract'?: ContractResponse;
19
+ 'object': string;
20
+ static discriminator: string | undefined;
21
+ static attributeTypeMap: Array<{
22
+ name: string;
23
+ baseName: string;
24
+ type: string;
25
+ }>;
26
+ static getAttributeTypeMap(): {
27
+ name: string;
28
+ baseName: string;
29
+ type: string;
30
+ }[];
31
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 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.AllowFunctionResponse = void 0;
15
+ class AllowFunctionResponse {
16
+ static getAttributeTypeMap() {
17
+ return AllowFunctionResponse.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.AllowFunctionResponse = AllowFunctionResponse;
21
+ AllowFunctionResponse.discriminator = undefined;
22
+ AllowFunctionResponse.attributeTypeMap = [
23
+ {
24
+ "name": "id",
25
+ "baseName": "id",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "createdAt",
30
+ "baseName": "created_at",
31
+ "type": "Date"
32
+ },
33
+ {
34
+ "name": "type",
35
+ "baseName": "type",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "functionName",
40
+ "baseName": "function_name",
41
+ "type": "string"
42
+ },
43
+ {
44
+ "name": "contract",
45
+ "baseName": "contract",
46
+ "type": "ContractResponse"
47
+ },
48
+ {
49
+ "name": "object",
50
+ "baseName": "object",
51
+ "type": "string"
52
+ }
53
+ ];
54
+ //# sourceMappingURL=allowFunctionResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowFunctionResponse.js","sourceRoot":"","sources":["../../src/model/allowFunctionResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,qBAAqB;IA0C9B,MAAM,CAAC,mBAAmB;QACtB,OAAO,qBAAqB,CAAC,gBAAgB,CAAC;IAClD,CAAC;;AA5CL,sDA6CC;AArCU,mCAAa,GAAuB,SAAS,CAAC;AAE9C,sCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,MAAM;KACjB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,eAAe;QAC3B,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,kBAAkB;KAC7B;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;CAAK,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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
+ import { AllowFunctionResponse } from './allowFunctionResponse';
13
+ export declare class AllowFunctionsResponse {
14
+ 'object': string;
15
+ 'url': string;
16
+ 'data': Array<AllowFunctionResponse>;
17
+ static discriminator: string | undefined;
18
+ static attributeTypeMap: Array<{
19
+ name: string;
20
+ baseName: string;
21
+ type: string;
22
+ }>;
23
+ static getAttributeTypeMap(): {
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ }[];
28
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 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.AllowFunctionsResponse = void 0;
15
+ class AllowFunctionsResponse {
16
+ static getAttributeTypeMap() {
17
+ return AllowFunctionsResponse.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.AllowFunctionsResponse = AllowFunctionsResponse;
21
+ AllowFunctionsResponse.discriminator = undefined;
22
+ AllowFunctionsResponse.attributeTypeMap = [
23
+ {
24
+ "name": "object",
25
+ "baseName": "object",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "url",
30
+ "baseName": "url",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "data",
35
+ "baseName": "data",
36
+ "type": "Array<AllowFunctionResponse>"
37
+ }
38
+ ];
39
+ //# sourceMappingURL=allowFunctionsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowFunctionsResponse.js","sourceRoot":"","sources":["../../src/model/allowFunctionsResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,sBAAsB;IAwB/B,MAAM,CAAC,mBAAmB;QACtB,OAAO,sBAAsB,CAAC,gBAAgB,CAAC;IACnD,CAAC;;AA1BL,wDA2BC;AAtBU,oCAAa,GAAuB,SAAS,CAAC;AAE9C,uCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,KAAK;QACb,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,8BAA8B;KACzC;CAAK,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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 ApiKeyResponse {
13
+ 'createdAt': Date;
14
+ 'token': string;
15
+ 'name': string;
16
+ 'livemode': boolean;
17
+ static discriminator: string | undefined;
18
+ static attributeTypeMap: Array<{
19
+ name: string;
20
+ baseName: string;
21
+ type: string;
22
+ }>;
23
+ static getAttributeTypeMap(): {
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ }[];
28
+ }
@@ -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
+ * The version of the OpenAPI document: 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.ApiKeyResponse = void 0;
15
+ class ApiKeyResponse {
16
+ static getAttributeTypeMap() {
17
+ return ApiKeyResponse.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.ApiKeyResponse = ApiKeyResponse;
21
+ ApiKeyResponse.discriminator = undefined;
22
+ ApiKeyResponse.attributeTypeMap = [
23
+ {
24
+ "name": "createdAt",
25
+ "baseName": "created_at",
26
+ "type": "Date"
27
+ },
28
+ {
29
+ "name": "token",
30
+ "baseName": "token",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "name",
35
+ "baseName": "name",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "livemode",
40
+ "baseName": "livemode",
41
+ "type": "boolean"
42
+ }
43
+ ];
44
+ //# sourceMappingURL=apiKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiKeyResponse.js","sourceRoot":"","sources":["../../src/model/apiKeyResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,cAAc;IA8BvB,MAAM,CAAC,mBAAmB;QACtB,OAAO,cAAc,CAAC,gBAAgB,CAAC;IAC3C,CAAC;;AAhCL,wCAiCC;AA3BU,4BAAa,GAAuB,SAAS,CAAC;AAE9C,+BAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,MAAM;KACjB;IACD;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,SAAS;KACpB;CAAK,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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
+ import { AssetType } from './assetType';
13
+ export declare class AssetInventory {
14
+ 'assetType': AssetType;
15
+ 'address'?: string;
16
+ 'tokenId'?: number;
17
+ /**
18
+ * amount in Wei
19
+ */
20
+ 'amount'?: number;
21
+ static discriminator: string | undefined;
22
+ static attributeTypeMap: Array<{
23
+ name: string;
24
+ baseName: string;
25
+ type: string;
26
+ }>;
27
+ static getAttributeTypeMap(): {
28
+ name: string;
29
+ baseName: string;
30
+ type: string;
31
+ }[];
32
+ }
33
+ export declare namespace AssetInventory {
34
+ }
@@ -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
+ * The version of the OpenAPI document: 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.AssetInventory = void 0;
15
+ class AssetInventory {
16
+ static getAttributeTypeMap() {
17
+ return AssetInventory.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.AssetInventory = AssetInventory;
21
+ AssetInventory.discriminator = undefined;
22
+ AssetInventory.attributeTypeMap = [
23
+ {
24
+ "name": "assetType",
25
+ "baseName": "asset_type",
26
+ "type": "AssetType"
27
+ },
28
+ {
29
+ "name": "address",
30
+ "baseName": "address",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "tokenId",
35
+ "baseName": "token_id",
36
+ "type": "number"
37
+ },
38
+ {
39
+ "name": "amount",
40
+ "baseName": "amount",
41
+ "type": "number"
42
+ }
43
+ ];
44
+ //# sourceMappingURL=assetInventory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetInventory.js","sourceRoot":"","sources":["../../src/model/assetInventory.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,cAAc;IAiCvB,MAAM,CAAC,mBAAmB;QACtB,OAAO,cAAc,CAAC,gBAAgB,CAAC;IAC3C,CAAC;;AAnCL,wCAoCC;AA3BU,4BAAa,GAAuB,SAAS,CAAC;AAE9C,+BAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,WAAW;KACtB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;KACnB;IACD;QACI,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,QAAQ;KACnB;CAAK,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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 enum AssetType {
13
+ NUMBER_1,
14
+ NUMBER_2,
15
+ NUMBER_3,
16
+ NUMBER_4
17
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 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.AssetType = void 0;
15
+ var AssetType;
16
+ (function (AssetType) {
17
+ AssetType[AssetType["NUMBER_1"] = 1] = "NUMBER_1";
18
+ AssetType[AssetType["NUMBER_2"] = 2] = "NUMBER_2";
19
+ AssetType[AssetType["NUMBER_3"] = 3] = "NUMBER_3";
20
+ AssetType[AssetType["NUMBER_4"] = 4] = "NUMBER_4";
21
+ })(AssetType = exports.AssetType || (exports.AssetType = {}));
22
+ //# sourceMappingURL=assetType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetType.js","sourceRoot":"","sources":["../../src/model/assetType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,kCAAiB,CAAC,cAAA,CAAA;IAClB,kCAAiB,CAAC,cAAA,CAAA;IAClB,kCAAiB,CAAC,cAAA,CAAA;IAClB,kCAAiB,CAAC,cAAA,CAAA;AACtB,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 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 AuthResponse {
13
+ 'player': string;
14
+ 'token': string;
15
+ static discriminator: string | undefined;
16
+ static attributeTypeMap: Array<{
17
+ name: string;
18
+ baseName: string;
19
+ type: string;
20
+ }>;
21
+ static getAttributeTypeMap(): {
22
+ name: string;
23
+ baseName: string;
24
+ type: string;
25
+ }[];
26
+ }