@mittwald/api-client
Advanced tools
Comparing version 1.0.0-alpha.12 to 1.0.0-alpha.13
@@ -114,22 +114,2 @@ /* eslint-disable */ | ||
deprecatedInvoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.deprecatedInvoiceUpdateInvoiceSettings), | ||
/** Prospace tariff change order */ | ||
deprecatedOrderChangeProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderChangeProjecthosting), | ||
/** SpaceServer order */ | ||
deprecatedOrderChangeServer: this.requestFunctionFactory(descriptors.deprecatedOrderChangeServer), | ||
/** Order a domain. */ | ||
deprecatedOrderOrderDomain: this.requestFunctionFactory(descriptors.deprecatedOrderOrderDomain), | ||
/** Prospace order */ | ||
deprecatedOrderOrderProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderOrderProjecthosting), | ||
/** SpaceServer order */ | ||
deprecatedOrderOrderServer: this.requestFunctionFactory(descriptors.deprecatedOrderOrderServer), | ||
/** Preview Prospace tariff change */ | ||
deprecatedOrderPreviewChangeProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewChangeProjecthosting), | ||
/** Preview SpaceServer tariff change */ | ||
deprecatedOrderPreviewChangeServer: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewChangeServer), | ||
/** Preview domain order. */ | ||
deprecatedOrderPreviewOrderDomain: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewOrderDomain), | ||
/** Preview Prospace order */ | ||
deprecatedOrderPreviewOrderProjecthosting: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewOrderProjecthosting), | ||
/** Preview SpaceServer order */ | ||
deprecatedOrderPreviewOrderServer: this.requestFunctionFactory(descriptors.deprecatedOrderPreviewOrderServer), | ||
/** Get details of an Invoice. */ | ||
@@ -136,0 +116,0 @@ invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice), |
{ | ||
"name": "@mittwald/api-client", | ||
"description": "Auto-generated client for the mittwald API", | ||
"version": "1.0.0-alpha.12", | ||
"version": "1.0.0-alpha.13", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/mittwald/api-client-js.git", |
@@ -23,46 +23,8 @@ # mittwald API JavaScript client | ||
### With Yarn | ||
You can install this package from the regular NPM registry: | ||
#### Install Yarn 4 | ||
At this moment you need to use Yarn 4 due to this | ||
[registry login issue](https://github.com/yarnpkg/berry/issues/4341#issuecomment-1477122723). | ||
```shell | ||
yarn set version berry | ||
yarn set version 4 | ||
``` | ||
#### Configure package registry | ||
In order to install the package from https://npm.pkg.github.com, you must | ||
configure the `mittwald` scope. | ||
```shell | ||
yarn config set npmScopes.mittwald.npmRegistryServer https://npm.pkg.github.com | ||
``` | ||
Login to the registry. **You need a personal access token with with the `repo`, | ||
`write:packages`, and `read:packages` permissions.** | ||
```shell | ||
yarn npm login --scope mittwald | ||
``` | ||
Alternatively you can add the token to the config. Do not commit the | ||
`.yarnrc.yml` file to VCS when using this method! | ||
```shell | ||
yarn config set npmScopes.mittwald.npmAuthToken <TOKEN> | ||
``` | ||
Now you can install the package as usual. | ||
```shell | ||
yarn add @mittwald/api-client | ||
``` | ||
Also see the section on [working with the npm registry][pkg-auth] in the Github | ||
docs. | ||
## Usage | ||
@@ -69,0 +31,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1064683
23595
77