@openfort/openfort-node 0.6.72 → 0.6.74

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 (166) hide show
  1. package/.changeset/README.md +19 -0
  2. package/.changeset/config.json +14 -0
  3. package/CHANGELOG.md +32 -0
  4. package/README.md +0 -1
  5. package/biome.json +56 -0
  6. package/dist/apis/accountsApiWrapper.d.ts +4 -4
  7. package/dist/apis/accountsApiWrapper.js +2 -2
  8. package/dist/apis/accountsApiWrapper.js.map +1 -1
  9. package/dist/apis/accountsV2ApiWrapper.d.ts +23 -0
  10. package/dist/apis/accountsV2ApiWrapper.js +48 -0
  11. package/dist/apis/accountsV2ApiWrapper.js.map +1 -0
  12. package/dist/apis/baseApiWrapper.d.ts +3 -3
  13. package/dist/apis/baseApiWrapper.js +1 -1
  14. package/dist/apis/baseApiWrapper.js.map +1 -1
  15. package/dist/apis/contractsApiWrapper.d.ts +4 -4
  16. package/dist/apis/contractsApiWrapper.js +2 -2
  17. package/dist/apis/contractsApiWrapper.js.map +1 -1
  18. package/dist/apis/eventsApiWrapper.d.ts +3 -3
  19. package/dist/apis/eventsApiWrapper.js +2 -2
  20. package/dist/apis/eventsApiWrapper.js.map +1 -1
  21. package/dist/apis/exchangeApiWrapper.d.ts +2 -2
  22. package/dist/apis/exchangeApiWrapper.js +2 -2
  23. package/dist/apis/exchangeApiWrapper.js.map +1 -1
  24. package/dist/apis/iamApiWrapper.d.ts +3 -3
  25. package/dist/apis/iamApiWrapper.js +6 -6
  26. package/dist/apis/iamApiWrapper.js.map +1 -1
  27. package/dist/apis/inventoriesApiWrapper.d.ts +7 -7
  28. package/dist/apis/inventoriesApiWrapper.js +2 -2
  29. package/dist/apis/inventoriesApiWrapper.js.map +1 -1
  30. package/dist/apis/paymasterApiWrapper.d.ts +4 -4
  31. package/dist/apis/paymasterApiWrapper.js +2 -2
  32. package/dist/apis/paymasterApiWrapper.js.map +1 -1
  33. package/dist/apis/playersApiWrapper.d.ts +3 -3
  34. package/dist/apis/playersApiWrapper.js +2 -2
  35. package/dist/apis/playersApiWrapper.js.map +1 -1
  36. package/dist/apis/policiesApiWrapper.d.ts +3 -3
  37. package/dist/apis/policiesApiWrapper.js +2 -2
  38. package/dist/apis/policiesApiWrapper.js.map +1 -1
  39. package/dist/apis/policyRulesApiWrapper.d.ts +3 -3
  40. package/dist/apis/policyRulesApiWrapper.js +2 -2
  41. package/dist/apis/policyRulesApiWrapper.js.map +1 -1
  42. package/dist/apis/sessionsApiWrapper.d.ts +4 -4
  43. package/dist/apis/sessionsApiWrapper.js +3 -3
  44. package/dist/apis/sessionsApiWrapper.js.map +1 -1
  45. package/dist/apis/settingsApiWrapper.d.ts +4 -4
  46. package/dist/apis/settingsApiWrapper.js +2 -2
  47. package/dist/apis/settingsApiWrapper.js.map +1 -1
  48. package/dist/apis/subscriptionsApiWrapper.d.ts +3 -3
  49. package/dist/apis/subscriptionsApiWrapper.js +3 -3
  50. package/dist/apis/subscriptionsApiWrapper.js.map +1 -1
  51. package/dist/apis/transactionIntentsApiWrapper.d.ts +3 -5
  52. package/dist/apis/transactionIntentsApiWrapper.js +2 -4
  53. package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
  54. package/dist/generated/apis/GraphQLApi.d.ts +22 -0
  55. package/dist/generated/apis/GraphQLApi.js +66 -0
  56. package/dist/generated/apis/GraphQLApi.js.map +1 -0
  57. package/dist/generated/configuration.d.ts +4 -4
  58. package/dist/generated/configuration.js +4 -4
  59. package/dist/generated/configuration.js.map +1 -1
  60. package/dist/generated/index.d.ts +8 -9
  61. package/dist/generated/index.js +6 -6
  62. package/dist/generated/index.js.map +1 -1
  63. package/dist/generated/middleware.d.ts +7 -7
  64. package/dist/generated/middleware.js.map +1 -1
  65. package/dist/generated/models/AccountV2Response.d.ts +2 -0
  66. package/dist/generated/models/AccountV2Response.js +6 -0
  67. package/dist/generated/models/AccountV2Response.js.map +1 -1
  68. package/dist/generated/models/CreateAccountRequest.js +6 -0
  69. package/dist/generated/models/CreateAccountRequest.js.map +1 -1
  70. package/dist/generated/models/CreateEmbeddedRequest.d.ts +1 -0
  71. package/dist/generated/models/CreateEmbeddedRequest.js +6 -0
  72. package/dist/generated/models/CreateEmbeddedRequest.js.map +1 -1
  73. package/dist/generated/models/NextActionPayload.d.ts +6 -0
  74. package/dist/generated/models/NextActionPayload.js.map +1 -1
  75. package/dist/generated/models/ObjectSerializer.d.ts +2 -0
  76. package/dist/generated/models/ObjectSerializer.js +6 -0
  77. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  78. package/dist/generated/models/PasskeyEnv.d.ts +31 -0
  79. package/dist/generated/models/PasskeyEnv.js +50 -0
  80. package/dist/generated/models/PasskeyEnv.js.map +1 -0
  81. package/dist/generated/models/RecoveryMethodDetails.d.ts +30 -0
  82. package/dist/generated/models/RecoveryMethodDetails.js +38 -0
  83. package/dist/generated/models/RecoveryMethodDetails.js.map +1 -0
  84. package/dist/generated/models/RegisterEmbeddedRequest.d.ts +1 -0
  85. package/dist/generated/models/RegisterEmbeddedRequest.js +6 -0
  86. package/dist/generated/models/RegisterEmbeddedRequest.js.map +1 -1
  87. package/dist/generated/models/RevokeSessionRequest.d.ts +1 -1
  88. package/dist/generated/models/all.d.ts +2 -0
  89. package/dist/generated/models/all.js +2 -0
  90. package/dist/generated/models/all.js.map +1 -1
  91. package/dist/generated/rxjsStub.d.ts +1 -1
  92. package/dist/generated/rxjsStub.js.map +1 -1
  93. package/dist/generated/servers.d.ts +1 -1
  94. package/dist/generated/servers.js +2 -2
  95. package/dist/generated/servers.js.map +1 -1
  96. package/dist/generated/types/ObjectParamAPI.d.ts +17 -0
  97. package/dist/generated/types/ObjectParamAPI.js +31 -18
  98. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  99. package/dist/generated/types/ObservableAPI.d.ts +11 -0
  100. package/dist/generated/types/ObservableAPI.js +29 -1
  101. package/dist/generated/types/ObservableAPI.js.map +1 -1
  102. package/dist/generated/types/PromiseAPI.d.ts +9 -0
  103. package/dist/generated/types/PromiseAPI.js +32 -18
  104. package/dist/generated/types/PromiseAPI.js.map +1 -1
  105. package/dist/generated/util.d.ts +4 -4
  106. package/dist/generated/util.js +9 -8
  107. package/dist/generated/util.js.map +1 -1
  108. package/dist/index.d.ts +20 -18
  109. package/dist/index.js +23 -17
  110. package/dist/index.js.map +1 -1
  111. package/dist/models/accountInventoryListQueries.d.ts +1 -1
  112. package/dist/models/baseListRequest.d.ts +1 -1
  113. package/dist/models/cancelTransferOwnershipRequest.d.ts +1 -1
  114. package/dist/models/completeRecoveryRequest.d.ts +1 -1
  115. package/dist/models/deployRequest.d.ts +1 -1
  116. package/dist/models/getAccountRequest.d.ts +1 -1
  117. package/dist/models/getAccountV2Request.d.ts +3 -0
  118. package/dist/models/{getWeb3ActionsList.js → getAccountV2Request.js} +1 -1
  119. package/dist/models/getAccountV2Request.js.map +1 -0
  120. package/dist/models/getAllowFunctionsRequest.d.ts +1 -1
  121. package/dist/models/getDeveloperAccountRequest.d.ts +1 -1
  122. package/dist/models/getPlayerByExternalIdRequest.d.ts +1 -1
  123. package/dist/models/getPlayerRequest.d.ts +1 -1
  124. package/dist/models/getPolicyRequest.d.ts +1 -1
  125. package/dist/models/getTransactionIntentRequest.d.ts +1 -1
  126. package/dist/models/index.d.ts +23 -23
  127. package/dist/models/index.js +5 -13
  128. package/dist/models/index.js.map +1 -1
  129. package/dist/models/playerInventoryListQueries.d.ts +1 -1
  130. package/dist/models/preGenerateEmbeddedAccountRequest.js.map +1 -1
  131. package/dist/models/readContractRequest.d.ts +1 -1
  132. package/dist/models/signPayloadRequest.d.ts +1 -1
  133. package/dist/models/startRecoveryRequest.d.ts +1 -1
  134. package/dist/models/transferOwnershipRequest.d.ts +1 -1
  135. package/dist/models/updateContractRequest.d.ts +1 -1
  136. package/dist/models/updatePaymasterRequest.d.ts +1 -1
  137. package/dist/models/updatePlayerRequest.d.ts +1 -1
  138. package/dist/models/updatePolicyAllowFunctionRequest.d.ts +1 -1
  139. package/dist/models/updatePolicyRequest.d.ts +1 -1
  140. package/dist/models/updatePolicyRuleRequest.d.ts +1 -1
  141. package/dist/models/updateProjectRequest.d.ts +1 -1
  142. package/dist/models/validationError.js.map +1 -1
  143. package/dist/models/webHookEvent.d.ts +1 -1
  144. package/dist/models/webHookEvent.js.map +1 -1
  145. package/dist/utilities/httpErrorHandler.js +5 -3
  146. package/dist/utilities/httpErrorHandler.js.map +1 -1
  147. package/dist/utilities/middleware.d.ts +2 -2
  148. package/dist/utilities/middleware.js +1 -1
  149. package/dist/utilities/middleware.js.map +1 -1
  150. package/dist/utilities/observable.d.ts +1 -1
  151. package/dist/utilities/observer.d.ts +1 -1
  152. package/dist/utilities/observer.js.map +1 -1
  153. package/dist/utilities/signer.js +6 -3
  154. package/dist/utilities/signer.js.map +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/knip.json +6 -0
  158. package/package.json +25 -16
  159. package/tsconfig.json +4 -15
  160. package/tsconfig.tsbuildinfo +1 -1
  161. package/dist/models/getWeb3ActionsList.d.ts +0 -3
  162. package/dist/models/getWeb3ActionsList.js.map +0 -1
  163. package/dist/models/getWeb3ConnectionRequest.d.ts +0 -4
  164. package/dist/models/getWeb3ConnectionRequest.js +0 -3
  165. package/dist/models/getWeb3ConnectionRequest.js.map +0 -1
  166. package/rome.json +0 -59
@@ -0,0 +1,19 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
9
+
10
+ ## How to create a changeset
11
+
12
+ Run `pnpm changeset` to create a new changeset. This will guide you through the process of describing your changes and selecting the appropriate version bump.
13
+
14
+ ## Workflow
15
+
16
+ 1. Make your changes
17
+ 2. Run `pnpm changeset` to describe your changes
18
+ 3. Commit the changeset file along with your code changes
19
+ 4. When ready to release, the CI will handle version bumping and publishing
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@2.1.0/schema.json",
3
+ "changelog": [
4
+ "@changesets/changelog-github",
5
+ {
6
+ "repo": "openfort-xyz/openfort-node"
7
+ }
8
+ ],
9
+ "commit": false,
10
+ "access": "public",
11
+ "baseBranch": "main",
12
+ "updateInternalDependencies": "patch",
13
+ "ignore": []
14
+ }
package/CHANGELOG.md CHANGED
@@ -1,34 +1,66 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.74
4
+
5
+ ### Patch Changes
6
+
7
+ - [#24](https://github.com/openfort-xyz/openfort-node/pull/24) [`29725e3b35ff3e503fcae7d58da2ccc4a693171d`](https://github.com/openfort-xyz/openfort-node/commit/29725e3b35ff3e503fcae7d58da2ccc4a693171d) Thanks [@jamalavedra](https://github.com/jamalavedra)! - switch chain account v2
8
+
9
+ ## 0.6.74
10
+
11
+ ### Patch Changes
12
+
13
+ - [#22](https://github.com/openfort-xyz/openfort-node/pull/22) [`e93f739bedf661232e5bc8e78cc362fef4a5567d`](https://github.com/openfort-xyz/openfort-node/commit/e93f739bedf661232e5bc8e78cc362fef4a5567d) Thanks [@jamalavedra](https://github.com/jamalavedra)! - update reference and include account v2'
14
+
15
+ ## 0.6.73
16
+
17
+ ### Patch Changes
18
+
19
+ - [#19](https://github.com/openfort-xyz/openfort-node/pull/19) [`e95757985307780e12329518e35646d054e57f57`](https://github.com/openfort-xyz/openfort-node/commit/e95757985307780e12329518e35646d054e57f57) Thanks [@jamalavedra](https://github.com/jamalavedra)! - improve workflow for deployment
20
+
3
21
  All notable changes to this project will be documented in this file.
4
22
 
5
23
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
24
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
25
 
8
26
  ## [0.6.72] - 2025-09-08
27
+
9
28
  ### Feat
29
+
10
30
  - Update spec
11
31
 
12
32
  ## [0.6.71] - 2025-04-03
33
+
13
34
  ### Fix
35
+
14
36
  - Expand account
15
37
 
16
38
  ## [0.6.70] - 2025-04-01
39
+
17
40
  ### Feat
41
+
18
42
  - Update SDK reference
19
43
 
20
44
  ## [0.6.69] - 2024-11-05
45
+
21
46
  ### Fix
47
+
22
48
  - Paymaster typo and expose
23
49
 
24
50
  ## [0.6.68] - 2024-10-29
51
+
25
52
  ### Added
53
+
26
54
  - Telegram auth methods
27
55
 
28
56
  ## [0.6.67] - 2024-10-24
57
+
29
58
  ### Updated
59
+
30
60
  - Updated dependencies
31
61
 
32
62
  ## [0.6.60] - 2024-06-10
63
+
33
64
  ### Added
65
+
34
66
  - Nonce signature using secret key
package/README.md CHANGED
@@ -10,7 +10,6 @@
10
10
  Documentation
11
11
  </a>
12
12
  <span> | </span>
13
- <span> | </span>
14
13
  <a href="https://x.com/openfort_hq">
15
14
  Twitter
16
15
  </a>
package/biome.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
+ "files": {
4
+ "includes": ["src/**/*", "*.ts", "*.js", "!src/generated", "*.json"]
5
+ },
6
+ "formatter": {
7
+ "enabled": true,
8
+ "formatWithErrors": true,
9
+ "indentStyle": "space",
10
+ "indentWidth": 2,
11
+ "lineWidth": 80
12
+ },
13
+ "linter": {
14
+ "enabled": true,
15
+ "rules": {
16
+ "recommended": true,
17
+ "a11y": {
18
+ "useButtonType": "off"
19
+ },
20
+ "complexity": {
21
+ "noBannedTypes": "off"
22
+ },
23
+ "correctness": {
24
+ "noUnusedVariables": "error"
25
+ },
26
+ "performance": {
27
+ "noBarrelFile": "error",
28
+ "noReExportAll": "error",
29
+ "noDelete": "off"
30
+ },
31
+ "style": {
32
+ "noNonNullAssertion": "off",
33
+ "useConsistentArrayType": {
34
+ "level": "error",
35
+ "options": { "syntax": "shorthand" }
36
+ }
37
+ },
38
+ "suspicious": {
39
+ "noArrayIndexKey": "off",
40
+ "noAssignInExpressions": "off",
41
+ "noConfusingVoidType": "off",
42
+ "noExplicitAny": "off",
43
+ "noRedeclare": "off",
44
+ "noConsole": { "level": "error", "options": { "allow": ["log"] } }
45
+ }
46
+ }
47
+ },
48
+ "javascript": {
49
+ "formatter": {
50
+ "quoteStyle": "single",
51
+ "trailingCommas": "all",
52
+ "semicolons": "asNeeded"
53
+ }
54
+ },
55
+ "assist": { "actions": { "source": { "organizeImports": "on" } } }
56
+ }
@@ -1,7 +1,7 @@
1
- import { AccountResponse, AccountListResponse, CancelTransferOwnershipRequest, CreateAccountRequest, GetAccountRequest, SignPayloadRequest, SignPayloadResponse, TransactionIntentResponse, TransferOwnershipRequest, StartRecoveryRequest, CompleteRecoveryRequest, AccountListQueries } from "../models";
2
- import { AccountsApi } from "../generated";
3
- import { BaseApiWrapper } from "./baseApiWrapper";
4
- import { DeployRequest } from "../models/deployRequest";
1
+ import { AccountsApi } from '../generated';
2
+ import type { AccountListQueries, AccountListResponse, AccountResponse, CancelTransferOwnershipRequest, CompleteRecoveryRequest, CreateAccountRequest, GetAccountRequest, SignPayloadRequest, SignPayloadResponse, StartRecoveryRequest, TransactionIntentResponse, TransferOwnershipRequest } from '../models';
3
+ import type { DeployRequest } from '../models/deployRequest';
4
+ import { BaseApiWrapper } from './baseApiWrapper';
5
5
  export declare class AccountsApiWrapper extends BaseApiWrapper<AccountsApi> {
6
6
  static type: string;
7
7
  constructor(accessToken: string, basePath?: string);
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AccountsApiWrapper = void 0;
13
13
  const generated_1 = require("../generated");
14
- const baseApiWrapper_1 = require("./baseApiWrapper");
15
14
  const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
16
  let AccountsApiWrapper = class AccountsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
17
  constructor(accessToken, basePath) {
18
18
  super(generated_1.AccountsApi, accessToken, basePath);
@@ -95,7 +95,7 @@ let AccountsApiWrapper = class AccountsApiWrapper extends baseApiWrapper_1.BaseA
95
95
  }
96
96
  };
97
97
  exports.AccountsApiWrapper = AccountsApiWrapper;
98
- AccountsApiWrapper.type = "accounts";
98
+ AccountsApiWrapper.type = 'accounts';
99
99
  exports.AccountsApiWrapper = AccountsApiWrapper = __decorate([
100
100
  httpErrorHandler_1.httpErrorHandler,
101
101
  __metadata("design:paramtypes", [String, String])
@@ -1 +1 @@
1
- {"version":3,"file":"accountsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/accountsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAcA,4CAA2C;AAC3C,qDAAkD;AAClD,oEAAiE;AAI1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAyB;QACzC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAsB;QACnC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAuB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAC7B,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,IAAI,EACR,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,OAAO,EACX,GAAG,CAAC,MAAM,EACV,GAAG,CAAC,OAAO,E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/C,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,gBAAgB,CAC3B,GAA4B;QAE5B,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAA;QAC3B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IAClD,CAAC;;AA7GU,gDAAkB;AACtB,uBAAI,GAAG,UAAU,AAAb,CAAa;6BADb,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA8G9B"}
@@ -0,0 +1,23 @@
1
+ import { AccountsApi } from '../generated';
2
+ import type { AccountListQueriesV2, AccountV2Response, BaseEntityListResponseAccountV2Response, SwitchChainQueriesV2 } from '../models';
3
+ import type { GetAccountV2Request } from '../models/getAccountV2Request';
4
+ import { BaseApiWrapper } from './baseApiWrapper';
5
+ export declare class AccountsV2ApiWrapper extends BaseApiWrapper<AccountsApi> {
6
+ static type: string;
7
+ constructor(accessToken: string, basePath?: string);
8
+ /**
9
+ * Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
10
+ * @param req Criteria to get account.
11
+ */
12
+ get(req: GetAccountV2Request): Promise<AccountV2Response>;
13
+ /**
14
+ * Create an account in destination chain given an account.
15
+ * @param req Request to switch account given account id and chain target.
16
+ */
17
+ switchChain(req: SwitchChainQueriesV2): Promise<AccountV2Response>;
18
+ /**
19
+ * Returns a list of accounts for the given user. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
20
+ * @param req Criteria to get the list of accounts.
21
+ */
22
+ list(req: AccountListQueriesV2): Promise<BaseEntityListResponseAccountV2Response>;
23
+ }
@@ -0,0 +1,48 @@
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.AccountsV2ApiWrapper = void 0;
13
+ const generated_1 = require("../generated");
14
+ const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
+ let AccountsV2ApiWrapper = class AccountsV2ApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
+ constructor(accessToken, basePath) {
18
+ super(generated_1.AccountsApi, accessToken, basePath);
19
+ }
20
+ /**
21
+ * Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
22
+ * @param req Criteria to get account.
23
+ */
24
+ async get(req) {
25
+ return await this.api.getAccountV2(req.id);
26
+ }
27
+ /**
28
+ * Create an account in destination chain given an account.
29
+ * @param req Request to switch account given account id and chain target.
30
+ */
31
+ async switchChain(req) {
32
+ return await this.api.switchChainV2(req);
33
+ }
34
+ /**
35
+ * Returns a list of accounts for the given user. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
36
+ * @param req Criteria to get the list of accounts.
37
+ */
38
+ async list(req) {
39
+ return await this.api.getAccountsV2(req.limit, req.skip, req.order, req.chainId, req.user, req.chainType, req.accountType, req.address);
40
+ }
41
+ };
42
+ exports.AccountsV2ApiWrapper = AccountsV2ApiWrapper;
43
+ AccountsV2ApiWrapper.type = 'accounts';
44
+ exports.AccountsV2ApiWrapper = AccountsV2ApiWrapper = __decorate([
45
+ httpErrorHandler_1.httpErrorHandler,
46
+ __metadata("design:paramtypes", [String, String])
47
+ ], AccountsV2ApiWrapper);
48
+ //# sourceMappingURL=accountsV2ApiWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsV2ApiWrapper.js","sourceRoot":"","sources":["../../src/apis/accountsV2ApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA0C;AAQ1C,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,+BAA2B;IAGnE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CAAC,GAAwB;QACvC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IAC5C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,WAAW,CACtB,GAAyB;QAEzB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;IAC1C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CACf,GAAyB;QAEzB,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,aAAa,CACjC,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,IAAI,EACR,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,OAAO,EACX,GAAG,CAAC,IAAI,EACR,GAAG,CAAC,SAAS,EACb,GAAG,CAAC,WAAW,EACf,GAAG,CAAC,OAAO,CACZ,CAAA;IACH,CAAC;;AA1CU,oDAAoB;AACxB,yBAAI,GAAG,UAAU,AAAb,CAAa;+BADb,oBAAoB;IADhC,mCAAgB;;GACJ,oBAAoB,CA2ChC"}
@@ -1,6 +1,6 @@
1
- import { Observable } from "../utilities/observable";
2
- import { Observer } from "../utilities/observer";
3
- import { Configuration } from "../generated";
1
+ import { type Configuration } from '../generated';
2
+ import type { Observable } from '../utilities/observable';
3
+ import type { Observer } from '../utilities/observer';
4
4
  export declare class BaseApiWrapper<T> implements Observable {
5
5
  static type: string;
6
6
  private readonly _observers;
@@ -29,5 +29,5 @@ class BaseApiWrapper {
29
29
  }
30
30
  }
31
31
  exports.BaseApiWrapper = BaseApiWrapper;
32
- BaseApiWrapper.type = "base";
32
+ BaseApiWrapper.type = 'base';
33
33
  //# sourceMappingURL=baseApiWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"baseApiWrapper.js","sourceRoot":"","sources":["../../src/apis/baseApiWrapper.ts"],"names":[],"mappings":";;;AAEA,4CAAuF;AAEvF,wDAAqD;AAErD,MAAa,cAAc;IAMvB,YAAY,IAA8C,EAAE,WAAmB,EAAE,QAAiB;QAHjF,eAAU,GAAe,EAAE,CAAC;QAIzC,MAAM,MAAM,GAA4B;YACpC,WAAW,EAAE;gBACT,EAAE,EAAE;oBACA,aAAa,EAAE;wBACX,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW;qBAC9B;iBACJ;aACJ;YACD,iBAAiB,EAAE,CAAC,IAAI,uBAAU,EAAE,CAAC;SACxC,CAAC;QAEF,IAAI,QAAQ,EAAE,CAAC;YACX,MAAM,CAAC,UAAU,GAAG,IAAI,+BAAmB,CAAK,QAAQ,EAAE,EAAE,CAAC,CAAC;QAClE,CAAC;QAED,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,IAAA,+BAAmB,EAAC,MAAM,CAAC,CAAC,CAAC;IACrD,CAAC;IAEM,SAAS,CAAC,QAAkB;QAC/B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAED,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;;AA/BL,wCAgCC;AA/BU,mBAAI,GAAG,MAAM,AAAT,CAAU"}
1
+ {"version":3,"file":"baseApiWrapper.js","sourceRoot":"","sources":["../../src/apis/baseApiWrapper.ts"],"names":[],"mappings":";;;AAAA,4CAIqB;AAErB,wDAAoD;AAIpD,MAAa,cAAc;IAMzB,YACE,IAA8C,EAC9C,WAAmB,EACnB,QAAiB;QANF,eAAU,GAAe,EAAE,CAAA;QAQ1C,MAAM,MAAM,GAA4B;YACtC,WAAW,EAAE;gBACX,EAAE,EAAE;oBACF,aAAa,EAAE;wBACb,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW;qBAC5B;iBACF;aACF;YACD,iBAAiB,EAAE,CAAC,IAAI,uBAAU,EAAE,CAAC;SACtC,CAAA;QAED,IAAI,QAAQ,EAAE,CAAC;YACb,MAAM,CAAC,UAAU,GAAG,IAAI,+BAAmB,CAAK,QAAQ,EAAE,EAAE,CAAC,CAAA;QAC/D,CAAC;QAED,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,IAAA,+BAAmB,EAAC,MAAM,CAAC,CAAC,CAAA;IAClD,CAAC;IAEM,SAAS,CAAC,QAAkB;QACjC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAChC,CAAC;IAED,IAAW,SAAS;QAClB,OAAO,IAAI,CAAC,UAAU,CAAA;IACxB,CAAC;;AAnCH,wCAoCC;AAnCQ,mBAAI,GAAG,MAAM,AAAT,CAAS"}
@@ -1,7 +1,7 @@
1
- import { ContractDeleteResponse, ContractResponse, ContractListResponse, CreateContractRequest, GetContractRequest, UpdateContractRequest, ContractListQueries } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { ContractReadResponse, ContractsApi } from "../generated";
4
- import { ReadContractRequest } from "../models/readContractRequest";
1
+ import { type ContractReadResponse, ContractsApi } from '../generated';
2
+ import type { ContractDeleteResponse, ContractListQueries, ContractListResponse, ContractResponse, CreateContractRequest, GetContractRequest, UpdateContractRequest } from '../models';
3
+ import type { ReadContractRequest } from '../models/readContractRequest';
4
+ import { BaseApiWrapper } from './baseApiWrapper';
5
5
  export declare class ContractsApiWrapper extends BaseApiWrapper<ContractsApi> {
6
6
  static type: string;
7
7
  constructor(accessToken: string, basePath?: string);
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ContractsApiWrapper = void 0;
13
- const baseApiWrapper_1 = require("./baseApiWrapper");
14
13
  const generated_1 = require("../generated");
15
14
  const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
16
  let ContractsApiWrapper = class ContractsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
17
  constructor(accessToken, basePath) {
18
18
  super(generated_1.ContractsApi, accessToken, basePath);
@@ -62,7 +62,7 @@ let ContractsApiWrapper = class ContractsApiWrapper extends baseApiWrapper_1.Bas
62
62
  }
63
63
  };
64
64
  exports.ContractsApiWrapper = ContractsApiWrapper;
65
- ContractsApiWrapper.type = "contracts";
65
+ ContractsApiWrapper.type = 'contracts';
66
66
  exports.ContractsApiWrapper = ContractsApiWrapper = __decorate([
67
67
  httpErrorHandler_1.httpErrorHandler,
68
68
  __metadata("design:paramtypes", [String, String])
@@ -1 +1 @@
1
- {"version":3,"file":"contractsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/contractsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,qDAAkD;AAClD,4CAAkE;AAClE,oEAAiE;AAI1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+BAA4B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,wBAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA0B;QAC1C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAA0B;QAC1C,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,G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B;IAD/B,mCAAgB;;GACJ,mBAAmB,CAmE/B"}
@@ -1,6 +1,6 @@
1
- import { BaseApiWrapper } from "./baseApiWrapper";
2
- import { CreateEventRequest, EventDeleteResponse, EventListQueries, EventListResponse, EventResponse, EventsApi } from "../generated";
3
- import { GetEventRequest } from "../models/getEventRequest";
1
+ import { type CreateEventRequest, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, EventsApi } from '../generated';
2
+ import type { GetEventRequest } from '../models/getEventRequest';
3
+ import { BaseApiWrapper } from './baseApiWrapper';
4
4
  export declare class EventsApiWrapper extends BaseApiWrapper<EventsApi> {
5
5
  static type: string;
6
6
  constructor(accessToken: string, basePath?: string);
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EventsApiWrapper = void 0;
13
- const baseApiWrapper_1 = require("./baseApiWrapper");
14
13
  const generated_1 = require("../generated");
15
14
  const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
16
  let EventsApiWrapper = class EventsApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
17
  constructor(accessToken, basePath) {
18
18
  super(generated_1.EventsApi, accessToken, basePath);
@@ -49,7 +49,7 @@ let EventsApiWrapper = class EventsApiWrapper extends baseApiWrapper_1.BaseApiWr
49
49
  }
50
50
  };
51
51
  exports.EventsApiWrapper = EventsApiWrapper;
52
- EventsApiWrapper.type = "events";
52
+ EventsApiWrapper.type = 'events';
53
53
  exports.EventsApiWrapper = EventsApiWrapper = __decorate([
54
54
  httpErrorHandler_1.httpErrorHandler,
55
55
  __metadata("design:paramtypes", [String, String])
@@ -1 +1 @@
1
- {"version":3,"file":"eventsApiWrapper.js","sourceRoot":"","sources":["../../src/apis/eventsApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkD;AAClD,4CAOsB;AACtB,oEAAiE;AAI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;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,GAAuB;QACzC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;IACxC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,GAAqB;QACrC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;IAC3E,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CAAC,GAAoB;QACnC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACxC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU;QAC5B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;IACvC,CAAC;;AAvCU,4CAAgB;AACpB,qBAAI,GAAG,QAAQ,AAAX,CAAW;2BADX,gBAAgB;IAD5B,mCAAgB;;GACJ,gBAAgB,CAwC5B"}
@@ -1,5 +1,5 @@
1
- import { CreateExchangeRequest, ExchangeApi, QuoteExchangeResult, TransactionIntentResponse } from "../generated";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
1
+ import { type CreateExchangeRequest, ExchangeApi, type QuoteExchangeResult, type TransactionIntentResponse } from '../generated';
2
+ import { BaseApiWrapper } from './baseApiWrapper';
3
3
  export declare class ExchangeApiWrapper extends BaseApiWrapper<ExchangeApi> {
4
4
  static type: string;
5
5
  constructor(accessToken: string, basePath?: string);
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ExchangeApiWrapper = void 0;
13
13
  const generated_1 = require("../generated");
14
- const baseApiWrapper_1 = require("./baseApiWrapper");
15
14
  const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
16
  let ExchangeApiWrapper = class ExchangeApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
17
  constructor(accessToken, basePath) {
18
18
  super(generated_1.ExchangeApi, accessToken, basePath);
@@ -33,7 +33,7 @@ let ExchangeApiWrapper = class ExchangeApiWrapper extends baseApiWrapper_1.BaseA
33
33
  }
34
34
  };
35
35
  exports.ExchangeApiWrapper = ExchangeApiWrapper;
36
- ExchangeApiWrapper.type = "exchange";
36
+ ExchangeApiWrapper.type = 'exchange';
37
37
  exports.ExchangeApiWrapper = ExchangeApiWrapper = __decorate([
38
38
  httpErrorHandler_1.httpErrorHandler,
39
39
  __metadata("design:paramtypes", [String, String])
@@ -1 +1 @@
1
- {"version":3,"file":"exchangeApiWrapper.js","sourceRoot":"","sources":["../../src/apis/exchangeApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAAkH;AAClH,qDAAkD;AAClD,oEAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAG/D,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,UAAU,CAAC,GAA0B;QAC9C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,SAAS,CAAC,GAA0B;QAC7C,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACzC,CAAC;;AArBQ,gDAAkB;AACpB,uBAAI,GAAG,UAAU,AAAb,CAAc;6BADhB,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CAsB9B"}
1
+ {"version":3,"file":"exchangeApiWrapper.js","sourceRoot":"","sources":["../../src/apis/exchangeApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAKqB;AACrB,oEAAgE;AAChE,qDAAiD;AAG1C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAA2B;IAGjE,YAAY,WAAmB,EAAE,QAAiB;QAChD,KAAK,CAAC,uBAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAA;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,UAAU,CACrB,GAA0B;QAE1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACvC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,SAAS,CACpB,GAA0B;QAE1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;IACtC,CAAC;;AAzBU,gDAAkB;AACtB,uBAAI,GAAG,UAAU,AAAb,CAAa;6BADb,kBAAkB;IAD9B,mCAAgB;;GACJ,kBAAkB,CA0B9B"}
@@ -1,6 +1,6 @@
1
- import { AdminAuthenticationApi, AuthenticateOAuthRequest, Authorize200Response, AuthorizePlayerRequest, AuthPlayerListQueries, AuthPlayerListResponse, AuthPlayerResponse, AuthSessionResponse, CreateAuthPlayerRequest, AuthConfig, OAuthConfigListResponse, OAuthProvider, PlayerResponse } from "../generated";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { PreGenerateEmbeddedAccountsConfiguration } from "../models/preGenerateEmbeddedAccountRequest";
1
+ import { AdminAuthenticationApi, type AuthConfig, type AuthenticateOAuthRequest, type Authorize200Response, type AuthorizePlayerRequest, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthSessionResponse, type CreateAuthPlayerRequest, type OAuthConfigListResponse, type OAuthProvider, type PlayerResponse } from '../generated';
2
+ import { type PreGenerateEmbeddedAccountsConfiguration } from '../models/preGenerateEmbeddedAccountRequest';
3
+ import { BaseApiWrapper } from './baseApiWrapper';
4
4
  export declare class IamApiWrapper extends BaseApiWrapper<AdminAuthenticationApi> {
5
5
  static type: string;
6
6
  constructor(accessToken: string, basePath?: string);
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.IamApiWrapper = void 0;
13
+ const shield_js_1 = require("@openfort/shield-js");
13
14
  const generated_1 = require("../generated");
14
- const baseApiWrapper_1 = require("./baseApiWrapper");
15
- const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
16
15
  const preGenerateEmbeddedAccountRequest_1 = require("../models/preGenerateEmbeddedAccountRequest");
17
- const shield_js_1 = require("@openfort/shield-js");
16
+ const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
17
+ const baseApiWrapper_1 = require("./baseApiWrapper");
18
18
  let IamApiWrapper = class IamApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
19
19
  constructor(accessToken, basePath) {
20
20
  super(generated_1.AdminAuthenticationApi, accessToken, basePath);
@@ -29,7 +29,7 @@ let IamApiWrapper = class IamApiWrapper extends baseApiWrapper_1.BaseApiWrapper
29
29
  */
30
30
  async createAuthPlayer(req, embeddedReq) {
31
31
  if (req.preGenerateEmbeddedAccount && !embeddedReq) {
32
- throw new Error("Pre-generating embedded account requires additional configuration.");
32
+ throw new Error('Pre-generating embedded account requires additional configuration.');
33
33
  }
34
34
  const { recoveryShare, ...resp } = await this.api.createAuthPlayer(req);
35
35
  if (recoveryShare) {
@@ -44,7 +44,7 @@ let IamApiWrapper = class IamApiWrapper extends baseApiWrapper_1.BaseApiWrapper
44
44
  externalUserId = req.thirdPartyUserId;
45
45
  }
46
46
  else {
47
- throw new Error("Invalid Shield auth provider.");
47
+ throw new Error('Invalid Shield auth provider.');
48
48
  }
49
49
  const authOptions = {
50
50
  authProvider: authProvider,
@@ -131,7 +131,7 @@ let IamApiWrapper = class IamApiWrapper extends baseApiWrapper_1.BaseApiWrapper
131
131
  }
132
132
  };
133
133
  exports.IamApiWrapper = IamApiWrapper;
134
- IamApiWrapper.type = "iam";
134
+ IamApiWrapper.type = 'iam';
135
135
  exports.IamApiWrapper = IamApiWrapper = __decorate([
136
136
  httpErrorHandler_1.httpErrorHandler,
137
137
  __metadata("design:paramtypes", [String, String])
@@ -1 +1 @@
1
- {"version":3,"file":"iamApiWrapper.js","sourceRoot":"","sources":["../../src/apis/iamApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAcsB;AACtB,qDAAkD;AAClD,oEAAiE;AACjE,mGAGqD;AACrD,mDAM6B;AAGtB,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,+BAAsC;IAGrE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,kCAAsB,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,gBAAgB,CACzB,GAA4B,EAC5B,WAAsD;QAEtD,IAAI,GAAG,CAAC,0BAA0B,IAAI,CAAC,WAAW,EAAE,CAAC;YACjD,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;QAC1F,CAAC;QAED,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;QAExE,IAAI,aAAa,EAAE,CAAC;YAChB,IAAI,YAAkC,CAAC;YACvC,IAAI,cAAsB,CAAC;YAC3B,IAAI,WAAW,EAAE,kBAAkB,KAAK,sDAAkB,CAAC,QAAQ,EAAE,CAAC;gBAClE,YAAY,GAAG,8BAAoB,CAAC,QAAQ,CAAC;gBAC7C,cAAc,GAAG,IAAI,CAAC,EAAE,CAAC;YAC7B,CAAC;iBAAM,IAAI,WAAW,EAAE,kBAAkB,KAAK,sDAAkB,CAAC,MAAM,EAAE,CAAC;gBACvE,YAAY,GAAG,8BAAoB,CAAC,MAAM,C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,CAAC,CAAA;IAChD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,eAAe;QAC1B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,CAAA;IACzC,CAAC;IAEM,KAAK,CAAC,SAAS,CACpB,GAA2B;QAE3B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAA;IACtC,CAAC;;AApJU,sCAAa;AACjB,kBAAI,GAAG,KAAK,AAAR,CAAQ;wBADR,aAAa;IADzB,mCAAgB;;GACJ,aAAa,CAqJzB"}
@@ -1,10 +1,10 @@
1
- import { InventoryResponse, InventoryListResponse } from "../models";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { InventoriesApi } from "../generated";
4
- import { PlayerInventoryListQueries } from "../models/playerInventoryListQueries";
5
- import { AccountInventoryListQueries } from "../models/accountInventoryListQueries";
6
- import { GetPlayerInventoryRequest } from "../models/getPlayerInventoryRequest";
7
- import { GetAccountInventoryRequest } from "../models/getAccountInventoryRequest";
1
+ import { InventoriesApi } from '../generated';
2
+ import type { InventoryListResponse, InventoryResponse } from '../models';
3
+ import type { AccountInventoryListQueries } from '../models/accountInventoryListQueries';
4
+ import type { GetAccountInventoryRequest } from '../models/getAccountInventoryRequest';
5
+ import type { GetPlayerInventoryRequest } from '../models/getPlayerInventoryRequest';
6
+ import type { PlayerInventoryListQueries } from '../models/playerInventoryListQueries';
7
+ import { BaseApiWrapper } from './baseApiWrapper';
8
8
  export declare class InventoriesApiWrapper extends BaseApiWrapper<InventoriesApi> {
9
9
  static type: string;
10
10
  constructor(accessToken: string, basePath?: string);
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.InventoriesApiWrapper = void 0;
13
- const baseApiWrapper_1 = require("./baseApiWrapper");
14
13
  const generated_1 = require("../generated");
15
14
  const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
16
  let InventoriesApiWrapper = class InventoriesApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
17
  constructor(accessToken, basePath) {
18
18
  super(generated_1.InventoriesApi, accessToken, basePath);
@@ -57,7 +57,7 @@ let InventoriesApiWrapper = class InventoriesApiWrapper extends baseApiWrapper_1
57
57
  }
58
58
  };
59
59
  exports.InventoriesApiWrapper = InventoriesApiWrapper;
60
- InventoriesApiWrapper.type = "inventories";
60
+ InventoriesApiWrapper.type = 'inventories';
61
61
  exports.InventoriesApiWrapper = InventoriesApiWrapper = __decorate([
62
62
  httpErrorHandler_1.httpErrorHandler,
63
63
  __metadata("design:paramtypes", [String, String])
@@ -1 +1 @@
1
- {"version":3,"file":"inventoriesApiWrapper.js","sourceRoot":"","sources":["../../src/apis/inventoriesApiWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAAkD;AAClD,4CAA8C;AAC9C,oEAAiE;AAO1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,+BAA8B;IAGrE,YAAY,WAAmB,EAAE,QAAiB;QAC9C,KAAK,CAAC,0BAAc,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,qBAAqB,CAAC,GAA+B;QAC9D,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;IACnH,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,GAAgC;QAChE,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,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AE,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrE,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,yBAAyB,CACpC,GAA+B;QAE/B,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,yBAAyB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IACzD,CAAC;;AAvFU,sDAAqB;AACzB,0BAAI,GAAG,aAAa,AAAhB,CAAgB;gCADhB,qBAAqB;IADjC,mCAAgB;;GACJ,qBAAqB,CAwFjC"}
@@ -1,7 +1,7 @@
1
- import { CreatePaymasterRequest, PaymasterApi, PaymasterDeleteResponse, PaymasterResponse } from "../generated";
2
- import { BaseApiWrapper } from "./baseApiWrapper";
3
- import { GetPaymasterRequest } from "../models/getPaymasterRequest";
4
- import { UpdatePaymasterRequest } from "../models/updatePaymasterRequest";
1
+ import { type CreatePaymasterRequest, PaymasterApi, type PaymasterDeleteResponse, type PaymasterResponse } from '../generated';
2
+ import type { GetPaymasterRequest } from '../models/getPaymasterRequest';
3
+ import type { UpdatePaymasterRequest } from '../models/updatePaymasterRequest';
4
+ import { BaseApiWrapper } from './baseApiWrapper';
5
5
  export declare class PaymasterApiWrapper extends BaseApiWrapper<PaymasterApi> {
6
6
  static type: string;
7
7
  constructor(accessToken: string, basePath?: string);
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PaymasterApiWrapper = void 0;
13
13
  const generated_1 = require("../generated");
14
- const baseApiWrapper_1 = require("./baseApiWrapper");
15
14
  const httpErrorHandler_1 = require("../utilities/httpErrorHandler");
15
+ const baseApiWrapper_1 = require("./baseApiWrapper");
16
16
  let PaymasterApiWrapper = class PaymasterApiWrapper extends baseApiWrapper_1.BaseApiWrapper {
17
17
  constructor(accessToken, basePath) {
18
18
  super(generated_1.PaymasterApi, accessToken, basePath);
@@ -48,7 +48,7 @@ let PaymasterApiWrapper = class PaymasterApiWrapper extends baseApiWrapper_1.Bas
48
48
  }
49
49
  };
50
50
  exports.PaymasterApiWrapper = PaymasterApiWrapper;
51
- PaymasterApiWrapper.type = "paymaster";
51
+ PaymasterApiWrapper.type = 'paymaster';
52
52
  exports.PaymasterApiWrapper = PaymasterApiWrapper = __decorate([
53
53
  httpErrorHandler_1.httpErrorHandler,
54
54
  __metadata("design:paramtypes", [String, String])