Skip to content

Conversation

@orderandchaos-at-work
Copy link
Contributor

JIRA Ticket(s):

Overview

Collaborators

Standards

  • Updated relevant documentation.
  • Added sufficient tests.
  • Commit log is descriptive and succinct.
  • Tested on multiple browsers (ignore if backend-only change).

Considerations

* Get all licenses
*
* @param {GetLicenseOptions} options
* @param {GetLicenseOptions} options.status - The status of the licenses, can be one of: "ACTIVE" "CANCELED" "EVALUATION" "SCHEDULED" "TRIALING" "INACTIVE"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no longer an "EVALUATION" status. Will need to double-check the rest.

src/index.ts Outdated
response = await fetch(input, { ...init, headers: { 'Content-Type': 'application/json', ...init?.headers, 'x-api-key': apiKey, version } });
data = await response.json() as Record<string, unknown>;
} catch (error) {
if (error instanceof TypeError) throw new Error('Unable to complete fetch operation');
Copy link
Contributor Author

@orderandchaos-at-work orderandchaos-at-work Oct 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These errors should be a SalableError type not sure which, could warrant a new type. The messages could be more helpful.

SasankAVST and others added 24 commits December 3, 2024 16:16
feat: updated pricing table resource docs
feat: updated plans docs + minor changes to licenses resource
docs: add documentation for subscriptions resources v4
docs: add documentation for usage resources v4
feat(SD-1201): updated changelog with v4 changes
fix: added missing filter params to get-all-licenses method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants