@openfort/openfort-node 0.6.10 → 0.6.11

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 (91) hide show
  1. package/dist/generated/apis/AccountsApi.d.ts +1 -1
  2. package/dist/generated/apis/AccountsApi.js +1 -1
  3. package/dist/generated/apis/ContractsApi.d.ts +3 -3
  4. package/dist/generated/apis/ContractsApi.js +3 -3
  5. package/dist/generated/apis/InventoriesApi.d.ts +6 -6
  6. package/dist/generated/apis/InventoriesApi.js +6 -6
  7. package/dist/generated/apis/OAuthApi.d.ts +102 -0
  8. package/dist/generated/apis/OAuthApi.js +358 -0
  9. package/dist/generated/apis/OAuthApi.js.map +1 -0
  10. package/dist/generated/apis/PlayersApi.d.ts +8 -8
  11. package/dist/generated/apis/PlayersApi.js +8 -8
  12. package/dist/generated/apis/PoliciesApi.d.ts +8 -8
  13. package/dist/generated/apis/PoliciesApi.js +8 -8
  14. package/dist/generated/apis/PolicyRulesApi.d.ts +1 -1
  15. package/dist/generated/apis/PolicyRulesApi.js +1 -1
  16. package/dist/generated/apis/SessionsApi.d.ts +3 -3
  17. package/dist/generated/apis/SessionsApi.js +3 -3
  18. package/dist/generated/apis/TransactionIntentsApi.d.ts +6 -6
  19. package/dist/generated/apis/TransactionIntentsApi.js +6 -6
  20. package/dist/generated/index.d.ts +1 -1
  21. package/dist/generated/index.js +2 -1
  22. package/dist/generated/index.js.map +1 -1
  23. package/dist/generated/models/AccelbyteOauthConfig.d.ts +48 -0
  24. package/dist/generated/models/AccelbyteOauthConfig.js +59 -0
  25. package/dist/generated/models/AccelbyteOauthConfig.js.map +1 -0
  26. package/dist/generated/models/AccountListQueries.d.ts +1 -1
  27. package/dist/generated/models/AuthResponse.d.ts +6 -0
  28. package/dist/generated/models/AuthResponse.js.map +1 -1
  29. package/dist/generated/models/CancelTransferOwnershipRequest.d.ts +1 -1
  30. package/dist/generated/models/CompleteRecoveryRequest.d.ts +1 -1
  31. package/dist/generated/models/CreateAccountRequest.d.ts +1 -1
  32. package/dist/generated/models/CreatePlayerSessionRequest.d.ts +1 -1
  33. package/dist/generated/models/CreateSessionRequest.d.ts +2 -2
  34. package/dist/generated/models/CreateTransactionIntentRequest.d.ts +2 -2
  35. package/dist/generated/models/EstimateTransactionIntentGasResult.d.ts +16 -0
  36. package/dist/generated/models/EstimateTransactionIntentGasResult.js +24 -0
  37. package/dist/generated/models/EstimateTransactionIntentGasResult.js.map +1 -1
  38. package/dist/generated/models/OAuthConfigListResponse.d.ts +35 -0
  39. package/dist/generated/models/OAuthConfigListResponse.js +35 -0
  40. package/dist/generated/models/OAuthConfigListResponse.js.map +1 -0
  41. package/dist/generated/models/OAuthConfigRequest.d.ts +32 -0
  42. package/dist/generated/models/OAuthConfigRequest.js +35 -0
  43. package/dist/generated/models/OAuthConfigRequest.js.map +1 -0
  44. package/dist/generated/models/OAuthConfigResponse.d.ts +32 -0
  45. package/dist/generated/models/OAuthConfigResponse.js +35 -0
  46. package/dist/generated/models/OAuthConfigResponse.js.map +1 -0
  47. package/dist/generated/models/OAuthProvider.d.ts +15 -0
  48. package/dist/generated/models/OAuthProvider.js +14 -0
  49. package/dist/generated/models/OAuthProvider.js.map +1 -0
  50. package/dist/generated/models/OAuthProviderACCELBYTE.d.ts +12 -0
  51. package/dist/generated/models/OAuthProviderACCELBYTE.js +14 -0
  52. package/dist/generated/models/OAuthProviderACCELBYTE.js.map +1 -0
  53. package/dist/generated/models/OAuthRequest.d.ts +34 -0
  54. package/dist/generated/models/OAuthRequest.js +35 -0
  55. package/dist/generated/models/OAuthRequest.js.map +1 -0
  56. package/dist/generated/models/ObjectSerializer.d.ts +7 -0
  57. package/dist/generated/models/ObjectSerializer.js +19 -0
  58. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  59. package/dist/generated/models/PlayerCancelTransferOwnershipRequest.d.ts +1 -1
  60. package/dist/generated/models/PlayerInventoryListQueries.d.ts +1 -1
  61. package/dist/generated/models/PlayerTransferOwnershipRequest.d.ts +2 -2
  62. package/dist/generated/models/PolicyRuleListQueries.d.ts +1 -1
  63. package/dist/generated/models/PolicyStrategyRequest.d.ts +3 -3
  64. package/dist/generated/models/ResponseResponse.d.ts +2 -2
  65. package/dist/generated/models/RevokeSessionPlayerRequest.d.ts +1 -1
  66. package/dist/generated/models/RevokeSessionRequest.d.ts +2 -2
  67. package/dist/generated/models/SessionListQueries.d.ts +1 -1
  68. package/dist/generated/models/StartRecoveryRequest.d.ts +1 -1
  69. package/dist/generated/models/TransactionIntentListQueries.d.ts +2 -2
  70. package/dist/generated/models/TransactionIntentResponsePlayer.d.ts +1 -1
  71. package/dist/generated/models/TransactionIntentResponsePlayer.js +1 -1
  72. package/dist/generated/models/TransactionIntentResponsePolicy.d.ts +1 -1
  73. package/dist/generated/models/TransactionIntentResponsePolicy.js +1 -1
  74. package/dist/generated/models/TransferOwnershipRequest.d.ts +1 -1
  75. package/dist/generated/models/all.d.ts +7 -0
  76. package/dist/generated/models/all.js +7 -0
  77. package/dist/generated/models/all.js.map +1 -1
  78. package/dist/generated/types/ObjectParamAPI.d.ts +142 -36
  79. package/dist/generated/types/ObjectParamAPI.js +69 -14
  80. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  81. package/dist/generated/types/ObservableAPI.d.ts +86 -36
  82. package/dist/generated/types/ObservableAPI.js +174 -37
  83. package/dist/generated/types/ObservableAPI.js.map +1 -1
  84. package/dist/generated/types/PromiseAPI.d.ts +84 -36
  85. package/dist/generated/types/PromiseAPI.js +111 -48
  86. package/dist/generated/types/PromiseAPI.js.map +1 -1
  87. package/dist/index.js.map +1 -1
  88. package/dist/version.d.ts +1 -1
  89. package/dist/version.js +1 -1
  90. package/package.json +1 -1
  91. package/tsconfig.tsbuildinfo +1 -1
@@ -36,25 +36,25 @@ export declare class PlayersApiRequestFactory extends BaseAPIRequestFactory {
36
36
  createPlayer(createPlayerRequest: CreatePlayerRequest, _options?: Configuration): Promise<RequestContext>;
37
37
  /**
38
38
  * Create account object for a player.
39
- * @param id Specifies the unique player ID.
39
+ * @param id Specifies the unique player ID (starts with pla_).
40
40
  * @param createPlayerAccountRequest
41
41
  */
42
42
  createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, _options?: Configuration): Promise<RequestContext>;
43
43
  /**
44
44
  * Create session object for a player.
45
- * @param id Specifies the unique player ID.
45
+ * @param id Specifies the unique player ID (starts with pla_).
46
46
  * @param createPlayerSessionRequest
47
47
  */
48
48
  createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, _options?: Configuration): Promise<RequestContext>;
49
49
  /**
50
50
  * Retrieves the details of an existing player.
51
- * @param id Specifies the unique player ID.
51
+ * @param id Specifies the unique player ID (starts with pla_).
52
52
  * @param expand Specifies the expandable fields.
53
53
  */
54
54
  getPlayer(id: string, expand?: Array<PlayerResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
55
55
  /**
56
56
  * List of accounts of a player.
57
- * @param id Specifies the unique player ID.
57
+ * @param id Specifies the unique player ID (starts with pla_).
58
58
  * @param expand Specifies the expandable fields.
59
59
  */
60
60
  getPlayerAccounts(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
@@ -78,26 +78,26 @@ export declare class PlayersApiRequestFactory extends BaseAPIRequestFactory {
78
78
  /**
79
79
  * This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
80
80
  * Request transfer ownership of account.
81
- * @param id Specifies the unique player ID.
81
+ * @param id Specifies the unique player ID (starts with pla_).
82
82
  * @param playerTransferOwnershipRequest
83
83
  */
84
84
  obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Promise<RequestContext>;
85
85
  /**
86
86
  * This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
87
87
  * Request transfer ownership of account.
88
- * @param id Specifies the unique player ID.
88
+ * @param id Specifies the unique player ID (starts with pla_).
89
89
  * @param playerTransferOwnershipRequest
90
90
  */
91
91
  requestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Promise<RequestContext>;
92
92
  /**
93
93
  * Revoke session object for a player.
94
- * @param id Specifies the unique player ID.
94
+ * @param id Specifies the unique player ID (starts with pla_).
95
95
  * @param revokeSessionPlayerRequest
96
96
  */
97
97
  revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, _options?: Configuration): Promise<RequestContext>;
98
98
  /**
99
99
  * Updates a player object.
100
- * @param id Specifies the unique player ID.
100
+ * @param id Specifies the unique player ID (starts with pla_).
101
101
  * @param playerRequest
102
102
  */
103
103
  updatePlayer(id: string, playerRequest: PlayerRequest, _options?: Configuration): Promise<RequestContext>;
@@ -89,7 +89,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
89
89
  }
90
90
  /**
91
91
  * Create account object for a player.
92
- * @param id Specifies the unique player ID.
92
+ * @param id Specifies the unique player ID (starts with pla_).
93
93
  * @param createPlayerAccountRequest
94
94
  */
95
95
  async createPlayerAccount(id, createPlayerAccountRequest, _options) {
@@ -129,7 +129,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
129
129
  }
130
130
  /**
131
131
  * Create session object for a player.
132
- * @param id Specifies the unique player ID.
132
+ * @param id Specifies the unique player ID (starts with pla_).
133
133
  * @param createPlayerSessionRequest
134
134
  */
135
135
  async createPlayerSession(id, createPlayerSessionRequest, _options) {
@@ -169,7 +169,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
169
169
  }
170
170
  /**
171
171
  * Retrieves the details of an existing player.
172
- * @param id Specifies the unique player ID.
172
+ * @param id Specifies the unique player ID (starts with pla_).
173
173
  * @param expand Specifies the expandable fields.
174
174
  */
175
175
  async getPlayer(id, expand, _options) {
@@ -202,7 +202,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
202
202
  }
203
203
  /**
204
204
  * List of accounts of a player.
205
- * @param id Specifies the unique player ID.
205
+ * @param id Specifies the unique player ID (starts with pla_).
206
206
  * @param expand Specifies the expandable fields.
207
207
  */
208
208
  async getPlayerAccounts(id, expand, _options) {
@@ -325,7 +325,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
325
325
  /**
326
326
  * This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
327
327
  * Request transfer ownership of account.
328
- * @param id Specifies the unique player ID.
328
+ * @param id Specifies the unique player ID (starts with pla_).
329
329
  * @param playerTransferOwnershipRequest
330
330
  */
331
331
  async obsoleteRequestTransferAccountOwnership(id, playerTransferOwnershipRequest, _options) {
@@ -366,7 +366,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
366
366
  /**
367
367
  * This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
368
368
  * Request transfer ownership of account.
369
- * @param id Specifies the unique player ID.
369
+ * @param id Specifies the unique player ID (starts with pla_).
370
370
  * @param playerTransferOwnershipRequest
371
371
  */
372
372
  async requestTransferAccountOwnership(id, playerTransferOwnershipRequest, _options) {
@@ -406,7 +406,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
406
406
  }
407
407
  /**
408
408
  * Revoke session object for a player.
409
- * @param id Specifies the unique player ID.
409
+ * @param id Specifies the unique player ID (starts with pla_).
410
410
  * @param revokeSessionPlayerRequest
411
411
  */
412
412
  async revokePlayerSession(id, revokeSessionPlayerRequest, _options) {
@@ -446,7 +446,7 @@ class PlayersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
446
446
  }
447
447
  /**
448
448
  * Updates a player object.
449
- * @param id Specifies the unique player ID.
449
+ * @param id Specifies the unique player ID (starts with pla_).
450
450
  * @param playerRequest
451
451
  */
452
452
  async updatePlayer(id, playerRequest, _options) {
@@ -24,23 +24,23 @@ export declare class PoliciesApiRequestFactory extends BaseAPIRequestFactory {
24
24
  createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Promise<RequestContext>;
25
25
  /**
26
26
  * Create a policy rule object for a policy.
27
- * @param id Specifies the unique policy ID.
27
+ * @param id Specifies the unique policy ID (starts with pol_).
28
28
  * @param createPolicyAllowFunctionRequest
29
29
  */
30
30
  createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, _options?: Configuration): Promise<RequestContext>;
31
31
  /**
32
32
  * Delete a policy object.
33
- * @param id Specifies the unique policy ID.
33
+ * @param id Specifies the unique policy ID (starts with pol_).
34
34
  */
35
35
  deletePolicy(id: string, _options?: Configuration): Promise<RequestContext>;
36
36
  /**
37
37
  * Disable a policy object.
38
- * @param id Specifies the unique policy ID.
38
+ * @param id Specifies the unique policy ID (starts with pol_).
39
39
  */
40
40
  disablePolicy(id: string, _options?: Configuration): Promise<RequestContext>;
41
41
  /**
42
42
  * Enable a policy object.
43
- * @param id Specifies the unique policy ID.
43
+ * @param id Specifies the unique policy ID (starts with pol_).
44
44
  */
45
45
  enablePolicy(id: string, _options?: Configuration): Promise<RequestContext>;
46
46
  /**
@@ -57,24 +57,24 @@ export declare class PoliciesApiRequestFactory extends BaseAPIRequestFactory {
57
57
  getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, enabled?: boolean, _options?: Configuration): Promise<RequestContext>;
58
58
  /**
59
59
  * Get a policy object.
60
- * @param id Specifies the unique policy ID.
60
+ * @param id Specifies the unique policy ID (starts with pol_).
61
61
  * @param expand Specifies the fields to expand.
62
62
  */
63
63
  getPolicy(id: string, expand?: Array<PolicyResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
64
64
  /**
65
65
  * List policy rules of a policy.
66
- * @param id Specifies the unique policy ID.
66
+ * @param id Specifies the unique policy ID (starts with pol_).
67
67
  * @param expand Specifies the fields to expand.
68
68
  */
69
69
  getPolicyAllowFunctions(id: string, expand?: Array<'contract'>, _options?: Configuration): Promise<RequestContext>;
70
70
  /**
71
71
  * List all gas reports of a policy.
72
- * @param id Specifies the unique policy ID.
72
+ * @param id Specifies the unique policy ID (starts with pol_).
73
73
  */
74
74
  getPolicyTotalGasUsage(id: string, _options?: Configuration): Promise<RequestContext>;
75
75
  /**
76
76
  * Update a policy object.
77
- * @param id Specifies the unique policy ID.
77
+ * @param id Specifies the unique policy ID (starts with pol_).
78
78
  * @param updatePolicyRequest
79
79
  */
80
80
  updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, _options?: Configuration): Promise<RequestContext>;
@@ -47,7 +47,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
47
47
  }
48
48
  /**
49
49
  * Create a policy rule object for a policy.
50
- * @param id Specifies the unique policy ID.
50
+ * @param id Specifies the unique policy ID (starts with pol_).
51
51
  * @param createPolicyAllowFunctionRequest
52
52
  */
53
53
  async createPolicyAllowFunction(id, createPolicyAllowFunctionRequest, _options) {
@@ -87,7 +87,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
87
87
  }
88
88
  /**
89
89
  * Delete a policy object.
90
- * @param id Specifies the unique policy ID.
90
+ * @param id Specifies the unique policy ID (starts with pol_).
91
91
  */
92
92
  async deletePolicy(id, _options) {
93
93
  let _config = _options || this.configuration;
@@ -115,7 +115,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
115
115
  }
116
116
  /**
117
117
  * Disable a policy object.
118
- * @param id Specifies the unique policy ID.
118
+ * @param id Specifies the unique policy ID (starts with pol_).
119
119
  */
120
120
  async disablePolicy(id, _options) {
121
121
  let _config = _options || this.configuration;
@@ -143,7 +143,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
143
143
  }
144
144
  /**
145
145
  * Enable a policy object.
146
- * @param id Specifies the unique policy ID.
146
+ * @param id Specifies the unique policy ID (starts with pol_).
147
147
  */
148
148
  async enablePolicy(id, _options) {
149
149
  let _config = _options || this.configuration;
@@ -233,7 +233,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
233
233
  }
234
234
  /**
235
235
  * Get a policy object.
236
- * @param id Specifies the unique policy ID.
236
+ * @param id Specifies the unique policy ID (starts with pol_).
237
237
  * @param expand Specifies the fields to expand.
238
238
  */
239
239
  async getPolicy(id, expand, _options) {
@@ -266,7 +266,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
266
266
  }
267
267
  /**
268
268
  * List policy rules of a policy.
269
- * @param id Specifies the unique policy ID.
269
+ * @param id Specifies the unique policy ID (starts with pol_).
270
270
  * @param expand Specifies the fields to expand.
271
271
  */
272
272
  async getPolicyAllowFunctions(id, expand, _options) {
@@ -299,7 +299,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
299
299
  }
300
300
  /**
301
301
  * List all gas reports of a policy.
302
- * @param id Specifies the unique policy ID.
302
+ * @param id Specifies the unique policy ID (starts with pol_).
303
303
  */
304
304
  async getPolicyTotalGasUsage(id, _options) {
305
305
  let _config = _options || this.configuration;
@@ -327,7 +327,7 @@ class PoliciesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
327
327
  }
328
328
  /**
329
329
  * Update a policy object.
330
- * @param id Specifies the unique policy ID.
330
+ * @param id Specifies the unique policy ID (starts with pol_).
331
331
  * @param updatePolicyRequest
332
332
  */
333
333
  async updatePolicy(id, updatePolicyRequest, _options) {
@@ -23,7 +23,7 @@ export declare class PolicyRulesApiRequestFactory extends BaseAPIRequestFactory
23
23
  deletePolicyRules(id: string, _options?: Configuration): Promise<RequestContext>;
24
24
  /**
25
25
  * List policy rules of a policy.
26
- * @param policy Specifies the unique policy ID.
26
+ * @param policy Specifies the unique policy ID (starts with pol_).
27
27
  * @param limit Specifies the maximum number of records to return.
28
28
  * @param skip Specifies the offset for the first records to return.
29
29
  * @param order Specifies the order in which to sort the results.
@@ -75,7 +75,7 @@ class PolicyRulesApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
75
75
  }
76
76
  /**
77
77
  * List policy rules of a policy.
78
- * @param policy Specifies the unique policy ID.
78
+ * @param policy Specifies the unique policy ID (starts with pol_).
79
79
  * @param limit Specifies the maximum number of records to return.
80
80
  * @param skip Specifies the offset for the first records to return.
81
81
  * @param order Specifies the order in which to sort the results.
@@ -19,7 +19,7 @@ export declare class SessionsApiRequestFactory extends BaseAPIRequestFactory {
19
19
  createSession(createSessionRequest: CreateSessionRequest, _options?: Configuration): Promise<RequestContext>;
20
20
  /**
21
21
  * List session keys of a player.
22
- * @param player The player ID
22
+ * @param player The player ID (starts with pla_)
23
23
  * @param limit Specifies the maximum number of records to return.
24
24
  * @param skip Specifies the offset for the first records to return.
25
25
  * @param order Specifies the order in which to sort the results.
@@ -28,7 +28,7 @@ export declare class SessionsApiRequestFactory extends BaseAPIRequestFactory {
28
28
  getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
29
29
  /**
30
30
  * Returns a player session by session id
31
- * @param id Specifies the unique session ID.
31
+ * @param id Specifies the unique session ID (starts with ses_).
32
32
  * @param expand Specifies the fields to expand.
33
33
  */
34
34
  getSession(id: string, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
@@ -39,7 +39,7 @@ export declare class SessionsApiRequestFactory extends BaseAPIRequestFactory {
39
39
  revokeSession(revokeSessionRequest: RevokeSessionRequest, _options?: Configuration): Promise<RequestContext>;
40
40
  /**
41
41
  * Confirms the creation of a session with an external owner.
42
- * @param id Specifies the unique session ID.
42
+ * @param id Specifies the unique session ID (starts with ses_).
43
43
  * @param signatureRequest
44
44
  */
45
45
  signatureSession(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Promise<RequestContext>;
@@ -47,7 +47,7 @@ class SessionsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
47
47
  }
48
48
  /**
49
49
  * List session keys of a player.
50
- * @param player The player ID
50
+ * @param player The player ID (starts with pla_)
51
51
  * @param limit Specifies the maximum number of records to return.
52
52
  * @param skip Specifies the offset for the first records to return.
53
53
  * @param order Specifies the order in which to sort the results.
@@ -98,7 +98,7 @@ class SessionsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
98
98
  }
99
99
  /**
100
100
  * Returns a player session by session id
101
- * @param id Specifies the unique session ID.
101
+ * @param id Specifies the unique session ID (starts with ses_).
102
102
  * @param expand Specifies the fields to expand.
103
103
  */
104
104
  async getSession(id, expand, _options) {
@@ -165,7 +165,7 @@ class SessionsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
165
165
  }
166
166
  /**
167
167
  * Confirms the creation of a session with an external owner.
168
- * @param id Specifies the unique session ID.
168
+ * @param id Specifies the unique session ID (starts with ses_).
169
169
  * @param signatureRequest
170
170
  */
171
171
  async signatureSession(id, signatureRequest, _options) {
@@ -19,14 +19,14 @@ export declare class TransactionIntentsApiRequestFactory extends BaseAPIRequestF
19
19
  */
20
20
  createTransactionIntent(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Promise<RequestContext>;
21
21
  /**
22
- * Estimate the gas cost of creating a transaction intent and putting it onchain.
22
+ * Estimate the gas cost of creating a transaction intent and putting it on chain. If a policy that includes payment of gas in ERC-20 tokens is provided, an extra field `estimatedTXGasFeeToken` is returned with the estimated amount of tokens.
23
23
  * Estimate gas cost of creating a transaction
24
24
  * @param createTransactionIntentRequest
25
25
  */
26
26
  estimateTransactionIntentCost(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Promise<RequestContext>;
27
27
  /**
28
28
  * Get a transaction intent object.
29
- * @param id Specifies the unique transaction intent ID.
29
+ * @param id Specifies the unique transaction intent ID (starts with tin_).
30
30
  * @param expand Specifies the expandable fields.
31
31
  */
32
32
  getTransactionIntent(id: string, expand?: Array<TransactionIntentResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
@@ -38,14 +38,14 @@ export declare class TransactionIntentsApiRequestFactory extends BaseAPIRequestF
38
38
  * @param expand Specifies the fields to expand in the response.
39
39
  * @param chainId The chain ID.
40
40
  * @param accountId Filter by account ID.
41
- * @param playerId Filter by player ID.
42
- * @param policyId Filter by policy ID.
41
+ * @param playerId Filter by player ID (starts with pla_).
42
+ * @param policyId Filter by policy ID (starts with pol_).
43
43
  */
44
44
  getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, accountId?: Array<string>, playerId?: Array<string>, policyId?: Array<string>, _options?: Configuration): Promise<RequestContext>;
45
45
  /**
46
- * This endpoint is used to put a userOperationHash signature on-chain. This means players that have informed (and use) an [externally-owned account (EOA)](https://ethereum.org/en/developers/docs/accounts/) to authorize operations, such as registering a session key, for their gaming accounts. Given that players with non-custodial accounts are the only ones in possession of the private key, they must sign the information inside the `nextAction` value received from the `POST` API endpoint that creates a transaction_intent, even with their session-keys. Once signed, the client needs to send the signed message using the `/signature` endpoint or use one of the available client-side libraries to do so.
46
+ * This endpoint is used to send the signed userOperationHash. For non-custodial smart accounts, each on chain action using their wallet, they must sign the userOperationHash received from the `POST` API endpoint that creates a transactionIntent.
47
47
  * Confirms the creation of a transaction intent with an external owner.
48
- * @param id Specifies the unique transaction intent ID.
48
+ * @param id Specifies the unique transaction intent ID (starts with tin_).
49
49
  * @param signatureRequest
50
50
  */
51
51
  signature(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Promise<RequestContext>;
@@ -47,7 +47,7 @@ class TransactionIntentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
47
47
  return requestContext;
48
48
  }
49
49
  /**
50
- * Estimate the gas cost of creating a transaction intent and putting it onchain.
50
+ * Estimate the gas cost of creating a transaction intent and putting it on chain. If a policy that includes payment of gas in ERC-20 tokens is provided, an extra field `estimatedTXGasFeeToken` is returned with the estimated amount of tokens.
51
51
  * Estimate gas cost of creating a transaction
52
52
  * @param createTransactionIntentRequest
53
53
  */
@@ -83,7 +83,7 @@ class TransactionIntentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
83
83
  }
84
84
  /**
85
85
  * Get a transaction intent object.
86
- * @param id Specifies the unique transaction intent ID.
86
+ * @param id Specifies the unique transaction intent ID (starts with tin_).
87
87
  * @param expand Specifies the expandable fields.
88
88
  */
89
89
  async getTransactionIntent(id, expand, _options) {
@@ -122,8 +122,8 @@ class TransactionIntentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
122
122
  * @param expand Specifies the fields to expand in the response.
123
123
  * @param chainId The chain ID.
124
124
  * @param accountId Filter by account ID.
125
- * @param playerId Filter by player ID.
126
- * @param policyId Filter by policy ID.
125
+ * @param playerId Filter by player ID (starts with pla_).
126
+ * @param policyId Filter by policy ID (starts with pol_).
127
127
  */
128
128
  async getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options) {
129
129
  let _config = _options || this.configuration;
@@ -177,9 +177,9 @@ class TransactionIntentsApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
177
177
  return requestContext;
178
178
  }
179
179
  /**
180
- * This endpoint is used to put a userOperationHash signature on-chain. This means players that have informed (and use) an [externally-owned account (EOA)](https://ethereum.org/en/developers/docs/accounts/) to authorize operations, such as registering a session key, for their gaming accounts. Given that players with non-custodial accounts are the only ones in possession of the private key, they must sign the information inside the `nextAction` value received from the `POST` API endpoint that creates a transaction_intent, even with their session-keys. Once signed, the client needs to send the signed message using the `/signature` endpoint or use one of the available client-side libraries to do so.
180
+ * This endpoint is used to send the signed userOperationHash. For non-custodial smart accounts, each on chain action using their wallet, they must sign the userOperationHash received from the `POST` API endpoint that creates a transactionIntent.
181
181
  * Confirms the creation of a transaction intent with an external owner.
182
- * @param id Specifies the unique transaction intent ID.
182
+ * @param id Specifies the unique transaction intent ID (starts with tin_).
183
183
  * @param signatureRequest
184
184
  */
185
185
  async signature(id, signatureRequest, _options) {
@@ -7,4 +7,4 @@ export * from "./apis/exception";
7
7
  export * from "./servers";
8
8
  export { RequiredError } from "./apis/baseapi";
9
9
  export { PromiseMiddleware as Middleware } from './middleware';
10
- export { PromiseAccountsApi as AccountsApi, PromiseAuthenticationApi as AuthenticationApi, PromiseConfigAuthenticationApi as ConfigAuthenticationApi, PromiseContractsApi as ContractsApi, PromiseGoogleAuthenticationApi as GoogleAuthenticationApi, PromiseInventoriesApi as InventoriesApi, PromisePlayersApi as PlayersApi, PromisePlayersAuthenticationApi as PlayersAuthenticationApi, PromisePoliciesApi as PoliciesApi, PromisePolicyRulesApi as PolicyRulesApi, PromiseSessionsApi as SessionsApi, PromiseTransactionIntentsApi as TransactionIntentsApi } from './types/PromiseAPI';
10
+ export { PromiseAccountsApi as AccountsApi, PromiseAuthenticationApi as AuthenticationApi, PromiseConfigAuthenticationApi as ConfigAuthenticationApi, PromiseContractsApi as ContractsApi, PromiseGoogleAuthenticationApi as GoogleAuthenticationApi, PromiseInventoriesApi as InventoriesApi, PromiseOAuthApi as OAuthApi, PromisePlayersApi as PlayersApi, PromisePlayersAuthenticationApi as PlayersAuthenticationApi, PromisePoliciesApi as PoliciesApi, PromisePolicyRulesApi as PolicyRulesApi, PromiseSessionsApi as SessionsApi, PromiseTransactionIntentsApi as TransactionIntentsApi } from './types/PromiseAPI';
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.TransactionIntentsApi = exports.SessionsApi = exports.PolicyRulesApi = exports.PoliciesApi = exports.PlayersAuthenticationApi = exports.PlayersApi = exports.InventoriesApi = exports.GoogleAuthenticationApi = exports.ContractsApi = exports.ConfigAuthenticationApi = exports.AuthenticationApi = exports.AccountsApi = exports.RequiredError = exports.createConfiguration = void 0;
17
+ exports.TransactionIntentsApi = exports.SessionsApi = exports.PolicyRulesApi = exports.PoliciesApi = exports.PlayersAuthenticationApi = exports.PlayersApi = exports.OAuthApi = exports.InventoriesApi = exports.GoogleAuthenticationApi = exports.ContractsApi = exports.ConfigAuthenticationApi = exports.AuthenticationApi = exports.AccountsApi = exports.RequiredError = exports.createConfiguration = void 0;
18
18
  __exportStar(require("./http/http"), exports);
19
19
  __exportStar(require("./auth/auth"), exports);
20
20
  __exportStar(require("./models/all"), exports);
@@ -31,6 +31,7 @@ Object.defineProperty(exports, "ConfigAuthenticationApi", { enumerable: true, ge
31
31
  Object.defineProperty(exports, "ContractsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseContractsApi; } });
32
32
  Object.defineProperty(exports, "GoogleAuthenticationApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseGoogleAuthenticationApi; } });
33
33
  Object.defineProperty(exports, "InventoriesApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseInventoriesApi; } });
34
+ Object.defineProperty(exports, "OAuthApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseOAuthApi; } });
34
35
  Object.defineProperty(exports, "PlayersApi", { enumerable: true, get: function () { return PromiseAPI_1.PromisePlayersApi; } });
35
36
  Object.defineProperty(exports, "PlayersAuthenticationApi", { enumerable: true, get: function () { return PromiseAPI_1.PromisePlayersAuthenticationApi; } });
36
37
  Object.defineProperty(exports, "PoliciesApi", { enumerable: true, get: function () { return PromiseAPI_1.PromisePoliciesApi; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,iDAAykB;AAAhkB,yGAAA,kBAAkB,OAAe;AAAG,+GAAA,wBAAwB,OAAqB;AAAG,qHAAA,8BAA8B,OAA2B;AAAG,0GAAA,mBAAmB,OAAgB;AAAG,qHAAA,8BAA8B,OAA2B;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,wGAAA,iBAAiB,OAAc;AAAG,sHAAA,+BAA+B,OAA4B;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,yGAAA,kBAAkB,OAAe;AAAG,mHAAA,4BAA4B,OAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,iDAAumB;AAA9lB,yGAAA,kBAAkB,OAAe;AAAG,+GAAA,wBAAwB,OAAqB;AAAG,qHAAA,8BAA8B,OAA2B;AAAG,0GAAA,mBAAmB,OAAgB;AAAG,qHAAA,8BAA8B,OAA2B;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,sGAAA,eAAe,OAAY;AAAG,wGAAA,iBAAiB,OAAc;AAAG,sHAAA,+BAA+B,OAA4B;AAAG,yGAAA,kBAAkB,OAAe;AAAG,4GAAA,qBAAqB,OAAkB;AAAG,yGAAA,kBAAkB,OAAe;AAAG,mHAAA,4BAA4B,OAAyB"}
@@ -0,0 +1,48 @@
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
+ import { OAuthProviderACCELBYTE } from '../models/OAuthProviderACCELBYTE';
13
+ /**
14
+ * Accelbyte oauth configuration
15
+ */
16
+ export declare class AccelbyteOauthConfig {
17
+ /**
18
+ * Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
19
+ */
20
+ 'baseUrl': string;
21
+ /**
22
+ * Client ID of your accelbyte gaming service environment.
23
+ */
24
+ 'clientId': string;
25
+ /**
26
+ * Secret of your confidential IAM client.
27
+ */
28
+ 'clientSecret': string;
29
+ /**
30
+ * Namespace of the configuration in accelbyte gaming service
31
+ */
32
+ 'namespace': string;
33
+ 'provider': OAuthProviderACCELBYTE;
34
+ static readonly discriminator: string | undefined;
35
+ static readonly attributeTypeMap: Array<{
36
+ name: string;
37
+ baseName: string;
38
+ type: string;
39
+ format: string;
40
+ }>;
41
+ static getAttributeTypeMap(): {
42
+ name: string;
43
+ baseName: string;
44
+ type: string;
45
+ format: string;
46
+ }[];
47
+ constructor();
48
+ }
@@ -0,0 +1,59 @@
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.AccelbyteOauthConfig = void 0;
15
+ /**
16
+ * Accelbyte oauth configuration
17
+ */
18
+ class AccelbyteOauthConfig {
19
+ static getAttributeTypeMap() {
20
+ return AccelbyteOauthConfig.attributeTypeMap;
21
+ }
22
+ constructor() {
23
+ }
24
+ }
25
+ exports.AccelbyteOauthConfig = AccelbyteOauthConfig;
26
+ AccelbyteOauthConfig.discriminator = undefined;
27
+ AccelbyteOauthConfig.attributeTypeMap = [
28
+ {
29
+ "name": "baseUrl",
30
+ "baseName": "baseUrl",
31
+ "type": "string",
32
+ "format": ""
33
+ },
34
+ {
35
+ "name": "clientId",
36
+ "baseName": "clientId",
37
+ "type": "string",
38
+ "format": ""
39
+ },
40
+ {
41
+ "name": "clientSecret",
42
+ "baseName": "clientSecret",
43
+ "type": "string",
44
+ "format": ""
45
+ },
46
+ {
47
+ "name": "namespace",
48
+ "baseName": "namespace",
49
+ "type": "string",
50
+ "format": ""
51
+ },
52
+ {
53
+ "name": "provider",
54
+ "baseName": "provider",
55
+ "type": "OAuthProviderACCELBYTE",
56
+ "format": ""
57
+ }
58
+ ];
59
+ //# sourceMappingURL=AccelbyteOauthConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccelbyteOauthConfig.js","sourceRoot":"","sources":["../../../src/generated/models/AccelbyteOauthConfig.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH;;EAEE;AACF,MAAa,oBAAoB;IAqD7B,MAAM,CAAC,mBAAmB;QACtB,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;IACjD,CAAC;IAED;IACA,CAAC;;AA1DL,oDA2DC;AAxCmB,kCAAa,GAAuB,SAAS,CAAC;AAE9C,qCAAgB,GAA0E;IACtG;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,wBAAwB;QAChC,QAAQ,EAAE,EAAE;KACf;CAAK,CAAC"}
@@ -26,7 +26,7 @@ export declare class AccountListQueries {
26
26
  */
27
27
  'expand'?: Array<AccountResponseExpandable>;
28
28
  /**
29
- * Specifies the unique player ID
29
+ * Specifies the unique player ID (starts with pla_)
30
30
  */
31
31
  'player': string;
32
32
  static readonly discriminator: string | undefined;
@@ -10,7 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export declare class AuthResponse {
13
+ /**
14
+ * Player\'s identifier.
15
+ */
13
16
  'playerId': string;
17
+ /**
18
+ * JWT token.
19
+ */
14
20
  'token': string;
15
21
  static readonly discriminator: string | undefined;
16
22
  static readonly attributeTypeMap: Array<{
@@ -1 +1 @@
1
- {"version":3,"file":"AuthResponse.js","sourceRoot":"","sources":["../../../src/generated/models/AuthResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,YAAY;IAoBrB,MAAM,CAAC,mBAAmB;QACtB,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACzC,CAAC;IAED;IACA,CAAC;;AAzBL,oCA0BC;AAtBmB,0BAAa,GAAuB,SAAS,CAAC;AAE9C,6BAAgB,GAA0E;IACtG;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;CAAK,CAAC"}
1
+ {"version":3,"file":"AuthResponse.js","sourceRoot":"","sources":["../../../src/generated/models/AuthResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,YAAY;IA0BrB,MAAM,CAAC,mBAAmB;QACtB,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACzC,CAAC;IAED;IACA,CAAC;;AA/BL,oCAgCC;AAtBmB,0BAAa,GAAuB,SAAS,CAAC;AAE9C,6BAAgB,GAA0E;IACtG;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;IACD;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,EAAE;KACf;CAAK,CAAC"}
@@ -11,7 +11,7 @@
11
11
  */
12
12
  export declare class CancelTransferOwnershipRequest {
13
13
  /**
14
- * The policy ID
14
+ * The policy ID (starts with pol_)
15
15
  */
16
16
  'policy': string;
17
17
  static readonly discriminator: string | undefined;
@@ -19,7 +19,7 @@ export declare class CompleteRecoveryRequest {
19
19
  */
20
20
  'signatures'?: Array<string>;
21
21
  /**
22
- * The policy ID
22
+ * The policy ID (starts with pol_)
23
23
  */
24
24
  'policy': string;
25
25
  static readonly discriminator: string | undefined;
@@ -29,7 +29,7 @@ export declare class CreateAccountRequest {
29
29
  */
30
30
  'tokenId'?: number;
31
31
  /**
32
- * The player ID
32
+ * The player ID (starts with pla_)
33
33
  */
34
34
  'player': string;
35
35
  static readonly discriminator: string | undefined;
@@ -31,7 +31,7 @@ export declare class CreatePlayerSessionRequest {
31
31
  */
32
32
  'optimistic'?: boolean;
33
33
  /**
34
- * The policy ID.
34
+ * The policy ID (starts with pol_).
35
35
  */
36
36
  'policy'?: string;
37
37
  /**