@openfort/openfort-node 0.6.44 → 0.6.45

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 (147) hide show
  1. package/dist/apis/iamApiWrapper.d.ts +47 -4
  2. package/dist/apis/iamApiWrapper.js +60 -3
  3. package/dist/apis/iamApiWrapper.js.map +1 -1
  4. package/dist/generated/apis/AccountsApi.d.ts +2 -2
  5. package/dist/generated/apis/AccountsApi.js +2 -2
  6. package/dist/generated/apis/{OAuthApi.d.ts → AdminAuthenticationApi.d.ts} +59 -26
  7. package/dist/generated/apis/{OAuthApi.js → AdminAuthenticationApi.js} +189 -87
  8. package/dist/generated/apis/AdminAuthenticationApi.js.map +1 -0
  9. package/dist/generated/apis/AuthenticationApi.d.ts +194 -16
  10. package/dist/generated/apis/AuthenticationApi.js +716 -43
  11. package/dist/generated/apis/AuthenticationApi.js.map +1 -1
  12. package/dist/generated/apis/EmbeddedApi.d.ts +78 -0
  13. package/dist/generated/apis/{PlayersAuthenticationApi.js → EmbeddedApi.js} +136 -60
  14. package/dist/generated/apis/EmbeddedApi.js.map +1 -0
  15. package/dist/generated/index.d.ts +1 -1
  16. package/dist/generated/index.js +2 -4
  17. package/dist/generated/index.js.map +1 -1
  18. package/dist/generated/models/AuthPlayerResponse.d.ts +2 -6
  19. package/dist/generated/models/AuthPlayerResponse.js +3 -27
  20. package/dist/generated/models/AuthPlayerResponse.js.map +1 -1
  21. package/dist/generated/models/AuthProvider.d.ts +15 -0
  22. package/dist/generated/models/AuthProvider.js +14 -0
  23. package/dist/generated/models/AuthProvider.js.map +1 -0
  24. package/dist/generated/models/AuthResponse.d.ts +6 -4
  25. package/dist/generated/models/AuthResponse.js +9 -3
  26. package/dist/generated/models/AuthResponse.js.map +1 -1
  27. package/dist/generated/models/AuthSessionResponse.d.ts +34 -0
  28. package/dist/generated/models/{RetrievePlayerEncryptedKeyResponse.js → AuthSessionResponse.js} +29 -23
  29. package/dist/generated/models/AuthSessionResponse.js.map +1 -0
  30. package/dist/generated/models/AuthenticateOAuthRequest.d.ts +33 -0
  31. package/dist/generated/models/AuthenticateOAuthRequest.js +38 -0
  32. package/dist/generated/models/AuthenticateOAuthRequest.js.map +1 -0
  33. package/dist/generated/models/BaseEntityListResponseDeviceResponse.d.ts +35 -0
  34. package/dist/generated/models/BaseEntityListResponseDeviceResponse.js +62 -0
  35. package/dist/generated/models/BaseEntityListResponseDeviceResponse.js.map +1 -0
  36. package/dist/generated/models/BaseEntityListResponseShareResponse.d.ts +35 -0
  37. package/dist/generated/models/BaseEntityListResponseShareResponse.js +62 -0
  38. package/dist/generated/models/BaseEntityListResponseShareResponse.js.map +1 -0
  39. package/dist/generated/models/{RegisterPlayerEncryptedKeyResponse.d.ts → CheckoutSubscriptionRequest.d.ts} +4 -5
  40. package/dist/generated/models/{RegisterPlayerEncryptedKeyRequest.js → CheckoutSubscriptionRequest.js} +13 -13
  41. package/dist/generated/models/CheckoutSubscriptionRequest.js.map +1 -0
  42. package/dist/generated/models/CreateAccountRequest.d.ts +1 -1
  43. package/dist/generated/models/CreateDeviceRequest.d.ts +31 -0
  44. package/dist/generated/models/{AuthenticatedPlayerResponse.js → CreateDeviceRequest.js} +9 -9
  45. package/dist/generated/models/CreateDeviceRequest.js.map +1 -0
  46. package/dist/generated/models/{RegisterPlayerEncryptedKeyRequest.d.ts → CreateShareRequest.d.ts} +7 -9
  47. package/dist/generated/models/CreateShareRequest.js +44 -0
  48. package/dist/generated/models/CreateShareRequest.js.map +1 -0
  49. package/dist/generated/models/{AuthorizeWithOAuthToken200Response.d.ts → DeprecatedAuthenticatedPlayerResponse.d.ts} +2 -2
  50. package/dist/generated/models/{AuthorizeWithOAuthToken200Response.js → DeprecatedAuthenticatedPlayerResponse.js} +7 -7
  51. package/dist/generated/models/DeprecatedAuthenticatedPlayerResponse.js.map +1 -0
  52. package/dist/generated/models/DeviceListQueries.d.ts +41 -0
  53. package/dist/generated/models/DeviceListQueries.js +50 -0
  54. package/dist/generated/models/DeviceListQueries.js.map +1 -0
  55. package/dist/generated/models/{RetrievePlayerEncryptedKeyResponse.d.ts → DeviceResponse.d.ts} +5 -6
  56. package/dist/generated/models/{RegisterPlayerEncryptedKeyResponse.js → DeviceResponse.js} +17 -17
  57. package/dist/generated/models/DeviceResponse.js.map +1 -0
  58. package/dist/generated/models/EntityTypeDEVICE.d.ts +12 -0
  59. package/dist/generated/models/EntityTypeDEVICE.js +14 -0
  60. package/dist/generated/models/EntityTypeDEVICE.js.map +1 -0
  61. package/dist/generated/models/EntityTypeSHARE.d.ts +12 -0
  62. package/dist/generated/models/EntityTypeSHARE.js +14 -0
  63. package/dist/generated/models/EntityTypeSHARE.js.map +1 -0
  64. package/dist/generated/models/JwtKey.d.ts +34 -0
  65. package/dist/generated/models/JwtKey.js +68 -0
  66. package/dist/generated/models/JwtKey.js.map +1 -0
  67. package/dist/generated/models/JwtKeyResponse.d.ts +29 -0
  68. package/dist/generated/models/JwtKeyResponse.js +32 -0
  69. package/dist/generated/models/JwtKeyResponse.js.map +1 -0
  70. package/dist/generated/models/LinkRequest.d.ts +36 -0
  71. package/dist/generated/models/LinkRequest.js +41 -0
  72. package/dist/generated/models/LinkRequest.js.map +1 -0
  73. package/dist/generated/models/LinkedAccountResponse.d.ts +36 -0
  74. package/dist/generated/models/LinkedAccountResponse.js +68 -0
  75. package/dist/generated/models/LinkedAccountResponse.js.map +1 -0
  76. package/dist/generated/models/{AuthenticatedPlayerResponse.d.ts → LogoutRequest.d.ts} +3 -3
  77. package/dist/generated/models/LogoutRequest.js +32 -0
  78. package/dist/generated/models/LogoutRequest.js.map +1 -0
  79. package/dist/generated/models/OAuthInitRequest.d.ts +33 -0
  80. package/dist/generated/models/OAuthInitRequest.js +38 -0
  81. package/dist/generated/models/OAuthInitRequest.js.map +1 -0
  82. package/dist/generated/models/ObjectSerializer.d.ts +29 -5
  83. package/dist/generated/models/ObjectSerializer.js +84 -15
  84. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  85. package/dist/generated/models/Plan.d.ts +33 -0
  86. package/dist/generated/models/Plan.js +56 -0
  87. package/dist/generated/models/Plan.js.map +1 -0
  88. package/dist/generated/models/PlansResponse.d.ts +29 -0
  89. package/dist/generated/models/PlansResponse.js +32 -0
  90. package/dist/generated/models/PlansResponse.js.map +1 -0
  91. package/dist/generated/models/RefreshTokenRequest.d.ts +31 -0
  92. package/dist/generated/models/RefreshTokenRequest.js +32 -0
  93. package/dist/generated/models/RefreshTokenRequest.js.map +1 -0
  94. package/dist/generated/models/SIWEAuthenticateRequest.d.ts +43 -0
  95. package/dist/generated/models/SIWEAuthenticateRequest.js +50 -0
  96. package/dist/generated/models/SIWEAuthenticateRequest.js.map +1 -0
  97. package/dist/generated/models/SIWEInitResponse.d.ts +33 -0
  98. package/dist/generated/models/SIWEInitResponse.js +44 -0
  99. package/dist/generated/models/SIWEInitResponse.js.map +1 -0
  100. package/dist/generated/models/SIWERequest.d.ts +31 -0
  101. package/dist/generated/models/SIWERequest.js +32 -0
  102. package/dist/generated/models/SIWERequest.js.map +1 -0
  103. package/dist/generated/models/ShareResponse.d.ts +35 -0
  104. package/dist/generated/models/ShareResponse.js +62 -0
  105. package/dist/generated/models/ShareResponse.js.map +1 -0
  106. package/dist/generated/models/ShareType.d.ts +12 -0
  107. package/dist/generated/models/ShareType.js +14 -0
  108. package/dist/generated/models/ShareType.js.map +1 -0
  109. package/dist/generated/models/SubscriptionResponse.d.ts +32 -0
  110. package/dist/generated/models/SubscriptionResponse.js +50 -0
  111. package/dist/generated/models/SubscriptionResponse.js.map +1 -0
  112. package/dist/generated/models/SubscriptionResponsePlan.d.ts +30 -0
  113. package/dist/generated/models/SubscriptionResponsePlan.js +44 -0
  114. package/dist/generated/models/SubscriptionResponsePlan.js.map +1 -0
  115. package/dist/generated/models/all.d.ts +29 -5
  116. package/dist/generated/models/all.js +29 -5
  117. package/dist/generated/models/all.js.map +1 -1
  118. package/dist/generated/types/ObjectParamAPI.d.ts +439 -207
  119. package/dist/generated/types/ObjectParamAPI.js +233 -137
  120. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  121. package/dist/generated/types/ObservableAPI.d.ts +190 -99
  122. package/dist/generated/types/ObservableAPI.js +534 -264
  123. package/dist/generated/types/ObservableAPI.js.map +1 -1
  124. package/dist/generated/types/PromiseAPI.d.ts +188 -95
  125. package/dist/generated/types/PromiseAPI.js +270 -154
  126. package/dist/generated/types/PromiseAPI.js.map +1 -1
  127. package/dist/index.d.ts +0 -2
  128. package/dist/index.js +0 -4
  129. package/dist/index.js.map +1 -1
  130. package/dist/version.d.ts +1 -1
  131. package/dist/version.js +1 -1
  132. package/package.json +1 -1
  133. package/tsconfig.tsbuildinfo +1 -1
  134. package/dist/apis/oauthApiWrapper.d.ts +0 -14
  135. package/dist/apis/oauthApiWrapper.js +0 -38
  136. package/dist/apis/oauthApiWrapper.js.map +0 -1
  137. package/dist/generated/apis/GoogleAuthenticationApi.d.ts +0 -37
  138. package/dist/generated/apis/GoogleAuthenticationApi.js +0 -118
  139. package/dist/generated/apis/GoogleAuthenticationApi.js.map +0 -1
  140. package/dist/generated/apis/OAuthApi.js.map +0 -1
  141. package/dist/generated/apis/PlayersAuthenticationApi.d.ts +0 -56
  142. package/dist/generated/apis/PlayersAuthenticationApi.js.map +0 -1
  143. package/dist/generated/models/AuthenticatedPlayerResponse.js.map +0 -1
  144. package/dist/generated/models/AuthorizeWithOAuthToken200Response.js.map +0 -1
  145. package/dist/generated/models/RegisterPlayerEncryptedKeyRequest.js.map +0 -1
  146. package/dist/generated/models/RegisterPlayerEncryptedKeyResponse.js.map +0 -1
  147. package/dist/generated/models/RetrievePlayerEncryptedKeyResponse.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OAuthApiResponseProcessor = exports.OAuthApiRequestFactory = void 0;
3
+ exports.AdminAuthenticationApiResponseProcessor = exports.AdminAuthenticationApiRequestFactory = void 0;
4
4
  // TODO: better import syntax?
5
5
  const baseapi_1 = require("./baseapi");
6
6
  const http_1 = require("../http/http");
@@ -10,26 +10,20 @@ const util_1 = require("../util");
10
10
  /**
11
11
  * no description
12
12
  */
13
- class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
13
+ class AdminAuthenticationApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
14
14
  /**
15
- * The endpoint verifies the token generated by OAuth provider, creates or retrieves a player based on his email, and returns the jwt token for the player together with the player id.
16
- * Authorize player with token.
17
- * @param provider OAuth provider
18
- * @param oAuthRequest
15
+ * The endpoint creates oauth configuration for the current project environment.
16
+ * Create oauth configuration.
17
+ * @param body Specifies the oauth provider specific configuration.
19
18
  */
20
- async authorizeWithOAuthToken(provider, oAuthRequest, _options) {
19
+ async createOAuthConfig(body, _options) {
21
20
  let _config = _options || this.configuration;
22
- // verify required parameter 'provider' is not null or undefined
23
- if (provider === null || provider === undefined) {
24
- throw new baseapi_1.RequiredError("OAuthApi", "authorizeWithOAuthToken", "provider");
25
- }
26
- // verify required parameter 'oAuthRequest' is not null or undefined
27
- if (oAuthRequest === null || oAuthRequest === undefined) {
28
- throw new baseapi_1.RequiredError("OAuthApi", "authorizeWithOAuthToken", "oAuthRequest");
21
+ // verify required parameter 'body' is not null or undefined
22
+ if (body === null || body === undefined) {
23
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "createOAuthConfig", "body");
29
24
  }
30
25
  // Path Params
31
- const localVarPath = '/iam/v1/oauth/{provider}/authorize'
32
- .replace('{' + 'provider' + '}', encodeURIComponent(String(provider)));
26
+ const localVarPath = '/iam/v1/oauth';
33
27
  // Make Request Context
34
28
  const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
35
29
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
@@ -38,7 +32,7 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
38
32
  "application/json"
39
33
  ]);
40
34
  requestContext.setHeaderParam("Content-Type", contentType);
41
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(oAuthRequest, "OAuthRequest", ""), contentType);
35
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "OAuthConfig", ""), contentType);
42
36
  requestContext.setBody(serializedBody);
43
37
  let authMethod;
44
38
  // Apply auth methods
@@ -46,11 +40,6 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
46
40
  if (authMethod?.applySecurityAuthentication) {
47
41
  await authMethod?.applySecurityAuthentication(requestContext);
48
42
  }
49
- // Apply auth methods
50
- authMethod = _config.authMethods["pk"];
51
- if (authMethod?.applySecurityAuthentication) {
52
- await authMethod?.applySecurityAuthentication(requestContext);
53
- }
54
43
  const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
55
44
  if (defaultAuth?.applySecurityAuthentication) {
56
45
  await defaultAuth?.applySecurityAuthentication(requestContext);
@@ -58,28 +47,22 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
58
47
  return requestContext;
59
48
  }
60
49
  /**
61
- * The endpoint creates oauth configuration for the current project environment.
62
- * Create oauth configuration.
63
- * @param body Specifies the oauth provider specific configuration.
50
+ * Deletes a player auth object. It will delete all linked accounts the player is authenticated with.
51
+ * Deletes a player auth object.
52
+ * @param id Specifies the unique player ID (starts with pla_).
64
53
  */
65
- async createOAuthConfig(body, _options) {
54
+ async deleteAuthPlayer(id, _options) {
66
55
  let _config = _options || this.configuration;
67
- // verify required parameter 'body' is not null or undefined
68
- if (body === null || body === undefined) {
69
- throw new baseapi_1.RequiredError("OAuthApi", "createOAuthConfig", "body");
56
+ // verify required parameter 'id' is not null or undefined
57
+ if (id === null || id === undefined) {
58
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "deleteAuthPlayer", "id");
70
59
  }
71
60
  // Path Params
72
- const localVarPath = '/iam/v1/oauth';
61
+ const localVarPath = '/iam/v1/players/{id}'
62
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
73
63
  // Make Request Context
74
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
64
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
75
65
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
76
- // Body Params
77
- const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
78
- "application/json"
79
- ]);
80
- requestContext.setHeaderParam("Content-Type", contentType);
81
- const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "OAuthConfig", ""), contentType);
82
- requestContext.setBody(serializedBody);
83
66
  let authMethod;
84
67
  // Apply auth methods
85
68
  authMethod = _config.authMethods["sk"];
@@ -101,7 +84,7 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
101
84
  let _config = _options || this.configuration;
102
85
  // verify required parameter 'provider' is not null or undefined
103
86
  if (provider === null || provider === undefined) {
104
- throw new baseapi_1.RequiredError("OAuthApi", "deleteOAuthConfig", "provider");
87
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "deleteOAuthConfig", "provider");
105
88
  }
106
89
  // Path Params
107
90
  const localVarPath = '/iam/v1/oauth/{provider}'
@@ -121,6 +104,49 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
121
104
  }
122
105
  return requestContext;
123
106
  }
107
+ /**
108
+ * Retrieves a list of authenticated players. Players have linked accounts and are authenticated with a provider.
109
+ * List authenticated players.
110
+ * @param limit Specifies the maximum number of records to return.
111
+ * @param skip Specifies the offset for the first records to return.
112
+ * @param order Specifies the order in which to sort the results.
113
+ * @param email Specifies the email address of the user.
114
+ */
115
+ async getAuthPlayers(limit, skip, order, email, _options) {
116
+ let _config = _options || this.configuration;
117
+ // Path Params
118
+ const localVarPath = '/iam/v1/players';
119
+ // Make Request Context
120
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
121
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
122
+ // Query Params
123
+ if (limit !== undefined) {
124
+ requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32"));
125
+ }
126
+ // Query Params
127
+ if (skip !== undefined) {
128
+ requestContext.setQueryParam("skip", ObjectSerializer_1.ObjectSerializer.serialize(skip, "number", "int32"));
129
+ }
130
+ // Query Params
131
+ if (order !== undefined) {
132
+ requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "SortOrder", ""));
133
+ }
134
+ // Query Params
135
+ if (email !== undefined) {
136
+ requestContext.setQueryParam("email", ObjectSerializer_1.ObjectSerializer.serialize(email, "string", ""));
137
+ }
138
+ let authMethod;
139
+ // Apply auth methods
140
+ authMethod = _config.authMethods["sk"];
141
+ if (authMethod?.applySecurityAuthentication) {
142
+ await authMethod?.applySecurityAuthentication(requestContext);
143
+ }
144
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
145
+ if (defaultAuth?.applySecurityAuthentication) {
146
+ await defaultAuth?.applySecurityAuthentication(requestContext);
147
+ }
148
+ return requestContext;
149
+ }
124
150
  /**
125
151
  * The endpoint retrieves oauth configuration for specified provider for the current project environment.
126
152
  * Get oauth configuration.
@@ -130,7 +156,7 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
130
156
  let _config = _options || this.configuration;
131
157
  // verify required parameter 'provider' is not null or undefined
132
158
  if (provider === null || provider === undefined) {
133
- throw new baseapi_1.RequiredError("OAuthApi", "getOAuthConfig", "provider");
159
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "getOAuthConfig", "provider");
134
160
  }
135
161
  // Path Params
136
162
  const localVarPath = '/iam/v1/oauth/{provider}'
@@ -151,28 +177,48 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
151
177
  return requestContext;
152
178
  }
153
179
  /**
154
- * Retrieves the player based on his id in the external provider system.
155
- * Retrieve player by external id.
156
- * @param provider OAuth provider
157
- * @param externalUserId External user id
180
+ * List configured OAuth methods for the current project environment.
181
+ * List of oauth configurations.
158
182
  */
159
- async getPlayerByExternalId(provider, externalUserId, _options) {
183
+ async listOAuthConfig(_options) {
160
184
  let _config = _options || this.configuration;
161
- // verify required parameter 'provider' is not null or undefined
162
- if (provider === null || provider === undefined) {
163
- throw new baseapi_1.RequiredError("OAuthApi", "getPlayerByExternalId", "provider");
185
+ // Path Params
186
+ const localVarPath = '/iam/v1/oauth';
187
+ // Make Request Context
188
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
189
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
190
+ let authMethod;
191
+ // Apply auth methods
192
+ authMethod = _config.authMethods["sk"];
193
+ if (authMethod?.applySecurityAuthentication) {
194
+ await authMethod?.applySecurityAuthentication(requestContext);
195
+ }
196
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
197
+ if (defaultAuth?.applySecurityAuthentication) {
198
+ await defaultAuth?.applySecurityAuthentication(requestContext);
164
199
  }
165
- // verify required parameter 'externalUserId' is not null or undefined
166
- if (externalUserId === null || externalUserId === undefined) {
167
- throw new baseapi_1.RequiredError("OAuthApi", "getPlayerByExternalId", "externalUserId");
200
+ return requestContext;
201
+ }
202
+ /**
203
+ * Verifies the token generated by Openfort Auth.
204
+ * Verify auth token.
205
+ * @param token Specifies the auth token.
206
+ */
207
+ async verifyAuthToken(token, _options) {
208
+ let _config = _options || this.configuration;
209
+ // verify required parameter 'token' is not null or undefined
210
+ if (token === null || token === undefined) {
211
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "verifyAuthToken", "token");
168
212
  }
169
213
  // Path Params
170
- const localVarPath = '/iam/v1/oauth/{provider}/user/{external_user_id}'
171
- .replace('{' + 'provider' + '}', encodeURIComponent(String(provider)))
172
- .replace('{' + 'external_user_id' + '}', encodeURIComponent(String(externalUserId)));
214
+ const localVarPath = '/iam/v1/verify';
173
215
  // Make Request Context
174
216
  const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
175
217
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
218
+ // Query Params
219
+ if (token !== undefined) {
220
+ requestContext.setQueryParam("token", ObjectSerializer_1.ObjectSerializer.serialize(token, "string", ""));
221
+ }
176
222
  let authMethod;
177
223
  // Apply auth methods
178
224
  authMethod = _config.authMethods["sk"];
@@ -186,16 +232,28 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
186
232
  return requestContext;
187
233
  }
188
234
  /**
189
- * The endpoint retrieves the list of oauth configurations for the current project environment.
190
- * List of oauth configurations.
235
+ * The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
236
+ * Retrieve player by oauth token.
237
+ * @param authenticateOAuthRequest
191
238
  */
192
- async listOAuthConfig(_options) {
239
+ async verifyOAuth(authenticateOAuthRequest, _options) {
193
240
  let _config = _options || this.configuration;
241
+ // verify required parameter 'authenticateOAuthRequest' is not null or undefined
242
+ if (authenticateOAuthRequest === null || authenticateOAuthRequest === undefined) {
243
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "verifyOAuth", "authenticateOAuthRequest");
244
+ }
194
245
  // Path Params
195
- const localVarPath = '/iam/v1/oauth';
246
+ const localVarPath = '/iam/v1/oauth/verify';
196
247
  // Make Request Context
197
- const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
248
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
198
249
  requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
250
+ // Body Params
251
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
252
+ "application/json"
253
+ ]);
254
+ requestContext.setHeaderParam("Content-Type", contentType);
255
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(authenticateOAuthRequest, "AuthenticateOAuthRequest", ""), contentType);
256
+ requestContext.setBody(serializedBody);
199
257
  let authMethod;
200
258
  // Apply auth methods
201
259
  authMethod = _config.authMethods["sk"];
@@ -218,11 +276,11 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
218
276
  let _config = _options || this.configuration;
219
277
  // verify required parameter 'provider' is not null or undefined
220
278
  if (provider === null || provider === undefined) {
221
- throw new baseapi_1.RequiredError("OAuthApi", "verifyOAuthToken", "provider");
279
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "verifyOAuthToken", "provider");
222
280
  }
223
281
  // verify required parameter 'oAuthRequest' is not null or undefined
224
282
  if (oAuthRequest === null || oAuthRequest === undefined) {
225
- throw new baseapi_1.RequiredError("OAuthApi", "verifyOAuthToken", "oAuthRequest");
283
+ throw new baseapi_1.RequiredError("AdminAuthenticationApi", "verifyOAuthToken", "oAuthRequest");
226
284
  }
227
285
  // Path Params
228
286
  const localVarPath = '/iam/v1/oauth/{provider}/verify'
@@ -243,11 +301,6 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
243
301
  if (authMethod?.applySecurityAuthentication) {
244
302
  await authMethod?.applySecurityAuthentication(requestContext);
245
303
  }
246
- // Apply auth methods
247
- authMethod = _config.authMethods["pk"];
248
- if (authMethod?.applySecurityAuthentication) {
249
- await authMethod?.applySecurityAuthentication(requestContext);
250
- }
251
304
  const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
252
305
  if (defaultAuth?.applySecurityAuthentication) {
253
306
  await defaultAuth?.applySecurityAuthentication(requestContext);
@@ -255,27 +308,27 @@ class OAuthApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
255
308
  return requestContext;
256
309
  }
257
310
  }
258
- exports.OAuthApiRequestFactory = OAuthApiRequestFactory;
259
- class OAuthApiResponseProcessor {
311
+ exports.AdminAuthenticationApiRequestFactory = AdminAuthenticationApiRequestFactory;
312
+ class AdminAuthenticationApiResponseProcessor {
260
313
  /**
261
314
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
262
315
  * to the expected objects
263
316
  *
264
- * @params response Response returned by the server for a request to authorizeWithOAuthToken
317
+ * @params response Response returned by the server for a request to createOAuthConfig
265
318
  * @throws ApiException if the response code was not in [200, 299]
266
319
  */
267
- async authorizeWithOAuthToken(response) {
320
+ async createOAuthConfig(response) {
268
321
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
269
322
  if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
270
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "AuthorizeWithOAuthToken200Response", "");
323
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfig", "");
271
324
  return body;
272
325
  }
273
326
  if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
274
- throw new exception_1.ApiException(response.httpStatusCode, "", undefined, response.headers);
327
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
275
328
  }
276
329
  // Work around for missing responses in specification, e.g. for petstore.yaml
277
330
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
278
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "AuthorizeWithOAuthToken200Response", "");
331
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfig", "");
279
332
  return body;
280
333
  }
281
334
  throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
@@ -284,21 +337,24 @@ class OAuthApiResponseProcessor {
284
337
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
285
338
  * to the expected objects
286
339
  *
287
- * @params response Response returned by the server for a request to createOAuthConfig
340
+ * @params response Response returned by the server for a request to deleteAuthPlayer
288
341
  * @throws ApiException if the response code was not in [200, 299]
289
342
  */
290
- async createOAuthConfig(response) {
343
+ async deleteAuthPlayer(response) {
291
344
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
292
345
  if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
293
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfig", "");
346
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PlayerDeleteResponse", "");
294
347
  return body;
295
348
  }
296
349
  if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
297
350
  throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
298
351
  }
352
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
353
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
354
+ }
299
355
  // Work around for missing responses in specification, e.g. for petstore.yaml
300
356
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
301
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfig", "");
357
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PlayerDeleteResponse", "");
302
358
  return body;
303
359
  }
304
360
  throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
@@ -325,6 +381,29 @@ class OAuthApiResponseProcessor {
325
381
  }
326
382
  throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
327
383
  }
384
+ /**
385
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
386
+ * to the expected objects
387
+ *
388
+ * @params response Response returned by the server for a request to getAuthPlayers
389
+ * @throws ApiException if the response code was not in [200, 299]
390
+ */
391
+ async getAuthPlayers(response) {
392
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
393
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
394
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "AuthPlayerListResponse", "");
395
+ return body;
396
+ }
397
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
398
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
399
+ }
400
+ // Work around for missing responses in specification, e.g. for petstore.yaml
401
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
402
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "AuthPlayerListResponse", "");
403
+ return body;
404
+ }
405
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
406
+ }
328
407
  /**
329
408
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
330
409
  * to the expected objects
@@ -352,13 +431,13 @@ class OAuthApiResponseProcessor {
352
431
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
353
432
  * to the expected objects
354
433
  *
355
- * @params response Response returned by the server for a request to getPlayerByExternalId
434
+ * @params response Response returned by the server for a request to listOAuthConfig
356
435
  * @throws ApiException if the response code was not in [200, 299]
357
436
  */
358
- async getPlayerByExternalId(response) {
437
+ async listOAuthConfig(response) {
359
438
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
360
439
  if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
361
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PlayerResponse", "");
440
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfigListResponse", "");
362
441
  return body;
363
442
  }
364
443
  if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
@@ -366,7 +445,7 @@ class OAuthApiResponseProcessor {
366
445
  }
367
446
  // Work around for missing responses in specification, e.g. for petstore.yaml
368
447
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
369
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PlayerResponse", "");
448
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfigListResponse", "");
370
449
  return body;
371
450
  }
372
451
  throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
@@ -375,13 +454,13 @@ class OAuthApiResponseProcessor {
375
454
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
376
455
  * to the expected objects
377
456
  *
378
- * @params response Response returned by the server for a request to listOAuthConfig
457
+ * @params response Response returned by the server for a request to verifyAuthToken
379
458
  * @throws ApiException if the response code was not in [200, 299]
380
459
  */
381
- async listOAuthConfig(response) {
460
+ async verifyAuthToken(response) {
382
461
  const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
383
462
  if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
384
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfigListResponse", "");
463
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "AuthSessionResponse", "");
385
464
  return body;
386
465
  }
387
466
  if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
@@ -389,7 +468,30 @@ class OAuthApiResponseProcessor {
389
468
  }
390
469
  // Work around for missing responses in specification, e.g. for petstore.yaml
391
470
  if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
392
- const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "OAuthConfigListResponse", "");
471
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "AuthSessionResponse", "");
472
+ return body;
473
+ }
474
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
475
+ }
476
+ /**
477
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
478
+ * to the expected objects
479
+ *
480
+ * @params response Response returned by the server for a request to verifyOAuth
481
+ * @throws ApiException if the response code was not in [200, 299]
482
+ */
483
+ async verifyOAuth(response) {
484
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
485
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
486
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PlayerResponse", "");
487
+ return body;
488
+ }
489
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
490
+ throw new exception_1.ApiException(response.httpStatusCode, "", undefined, response.headers);
491
+ }
492
+ // Work around for missing responses in specification, e.g. for petstore.yaml
493
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
494
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "PlayerResponse", "");
393
495
  return body;
394
496
  }
395
497
  throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
@@ -418,5 +520,5 @@ class OAuthApiResponseProcessor {
418
520
  throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
419
521
  }
420
522
  }
421
- exports.OAuthApiResponseProcessor = OAuthApiResponseProcessor;
422
- //# sourceMappingURL=OAuthApi.js.map
523
+ exports.AdminAuthenticationApiResponseProcessor = AdminAuthenticationApiResponseProcessor;
524
+ //# sourceMappingURL=AdminAuthenticationApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdminAuthenticationApi.js","sourceRoot":"","sources":["../../../src/generated/apis/AdminAuthenticationApi.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,uCAAmF;AAEnF,uCAAmF;AAGnF,iEAA4D;AAC5D,2CAAyC;AACzC,kCAAsD;AAetD;;GAEG;AACH,MAAa,oCAAqC,SAAQ,+BAAqB;IAE3E;;;;OAIG;IACI,KAAK,CAAC,iBAAiB,CAAC,IAAiB,EAAE,QAAwB;QACtE,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;QAE7C,4DAA4D;QAC5D,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;YACrC,MAAM,IAAI,uBAAa,CAAC,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,CAAC,CAAC;SAClF;QAGD,cAAc;QACd,MAAM,YAAY,GAAG,eAAe,CAAC;QAErC,uBAAuB;QACvB,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,IAAI,CAAC,CAAC;QAC5F,cAAc,CAAC,cAAc,CAAC,QAAQ,EAAE,6BAA6B,CAAC,CAAA;QAGtE,cAAc;QACd,MAAM,WAAW,GAAG,mCAAgB,CAAC,qBAAqB,CAAC;YACvD,kBAAkB;SACrB,CAAC,CAAC;QACH,cAAc,CAAC,cAAc,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;QAC3D,MAAM,cAAc,GAAG,mCAAgB,CAAC,SAAS,CAC7C,mCAAgB,CAAC,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,EAAE,CAAC,EACnD,WAA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