@dynamic-labs/sdk-api 0.0.198 → 0.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.198",
3
+ "version": "0.0.200",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -465,7 +465,7 @@ class SDKApi extends runtime.BaseAPI {
465
465
  });
466
466
  }
467
467
  /**
468
- * Hacky endpoint to get the code
468
+ * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
469
469
  */
470
470
  oauthRedirectCodeRaw(requestParameters, initOverrides) {
471
471
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -499,7 +499,7 @@ class SDKApi extends runtime.BaseAPI {
499
499
  });
500
500
  }
501
501
  /**
502
- * Hacky endpoint to get the code
502
+ * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
503
503
  */
504
504
  oauthRedirectCode(requestParameters, initOverrides) {
505
505
  return _tslib.__awaiter(this, void 0, void 0, function* () {
@@ -279,11 +279,11 @@ export declare class SDKApi extends runtime.BaseAPI {
279
279
  */
280
280
  oauthLoginOptions(requestParameters: OauthLoginOptionsRequest, initOverrides?: RequestInit): Promise<void>;
281
281
  /**
282
- * Hacky endpoint to get the code
282
+ * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
283
283
  */
284
284
  oauthRedirectCodeRaw(requestParameters: OauthRedirectCodeRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
285
285
  /**
286
- * Hacky endpoint to get the code
286
+ * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
287
287
  */
288
288
  oauthRedirectCode(requestParameters: OauthRedirectCodeRequest, initOverrides?: RequestInit): Promise<string>;
289
289
  /**
@@ -461,7 +461,7 @@ class SDKApi extends BaseAPI {
461
461
  });
462
462
  }
463
463
  /**
464
- * Hacky endpoint to get the code
464
+ * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
465
465
  */
466
466
  oauthRedirectCodeRaw(requestParameters, initOverrides) {
467
467
  return __awaiter(this, void 0, void 0, function* () {
@@ -495,7 +495,7 @@ class SDKApi extends BaseAPI {
495
495
  });
496
496
  }
497
497
  /**
498
- * Hacky endpoint to get the code
498
+ * Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
499
499
  */
500
500
  oauthRedirectCode(requestParameters, initOverrides) {
501
501
  return __awaiter(this, void 0, void 0, function* () {
@@ -39,6 +39,7 @@ exports.UnprocessableEntityErrorCode = void 0;
39
39
  UnprocessableEntityErrorCode["InviteAddressRequired"] = "invite_address_required";
40
40
  UnprocessableEntityErrorCode["ProviderNotAvailable"] = "provider_not_available";
41
41
  UnprocessableEntityErrorCode["InvalidUnlinkRequest"] = "invalid_unlink_request";
42
+ UnprocessableEntityErrorCode["TooManyApiTokens"] = "too_many_api_tokens";
42
43
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
43
44
  function UnprocessableEntityErrorCodeFromJSON(json) {
44
45
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -31,7 +31,8 @@ export declare enum UnprocessableEntityErrorCode {
31
31
  EmailVerificationRequired = "email_verification_required",
32
32
  InviteAddressRequired = "invite_address_required",
33
33
  ProviderNotAvailable = "provider_not_available",
34
- InvalidUnlinkRequest = "invalid_unlink_request"
34
+ InvalidUnlinkRequest = "invalid_unlink_request",
35
+ TooManyApiTokens = "too_many_api_tokens"
35
36
  }
36
37
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
37
38
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -35,6 +35,7 @@ var UnprocessableEntityErrorCode;
35
35
  UnprocessableEntityErrorCode["InviteAddressRequired"] = "invite_address_required";
36
36
  UnprocessableEntityErrorCode["ProviderNotAvailable"] = "provider_not_available";
37
37
  UnprocessableEntityErrorCode["InvalidUnlinkRequest"] = "invalid_unlink_request";
38
+ UnprocessableEntityErrorCode["TooManyApiTokens"] = "too_many_api_tokens";
38
39
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
39
40
  function UnprocessableEntityErrorCodeFromJSON(json) {
40
41
  return UnprocessableEntityErrorCodeFromJSONTyped(json);