Socket
Socket
Sign inDemoInstall

xero-node

Package Overview
Dependencies
89
Maintainers
4
Versions
165
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.11.2 to 4.11.3

5

build_notes.md

@@ -0,2 +1,7 @@

## Code gen
- Bulk replace the previous package version in xeroapi-codegen
- regenerate code and spot check for expected xero-node changes
## npm publish
```bash

@@ -3,0 +8,0 @@ tsc

2

dist/gen/api/assetApi.js

@@ -25,3 +25,3 @@ "use strict";

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.2' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.3' };
this._useQuerystring = false;

@@ -28,0 +28,0 @@ this.binaryHeaders = {};

@@ -25,3 +25,3 @@ "use strict";

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.2' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.3' };
this._useQuerystring = false;

@@ -28,0 +28,0 @@ this.binaryHeaders = {};

@@ -25,3 +25,3 @@ "use strict";

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.2' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.3' };
this._useQuerystring = false;

@@ -28,0 +28,0 @@ this.binaryHeaders = {};

@@ -25,3 +25,3 @@ "use strict";

this._basePath = defaultBasePath;
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.2' };
this.defaultHeaders = { 'user-agent': 'xero-node-4.11.3' };
this._useQuerystring = false;

@@ -28,0 +28,0 @@ this.binaryHeaders = {};

@@ -54,4 +54,5 @@ /**

InvalidUserRole,
AccountNotValid
AccountNotValid,
FeedNotFoundOrAlreadyDeleted
}
}

@@ -58,4 +58,5 @@ "use strict";

TypeEnum[TypeEnum["AccountNotValid"] = 'account-not-valid'] = "AccountNotValid";
TypeEnum[TypeEnum["FeedNotFoundOrAlreadyDeleted"] = 'feed-not-found-or-already-deleted'] = "FeedNotFoundOrAlreadyDeleted";
})(TypeEnum = ModelError.TypeEnum || (ModelError.TypeEnum = {}));
})(ModelError = exports.ModelError || (exports.ModelError = {}));
//# sourceMappingURL=modelError.js.map

@@ -7,3 +7,3 @@ import { DeductionTypeCalculationType } from '././deductionTypeCalculationType';

'deductionTypeID': string;
'calculationType': DeductionTypeCalculationType;
'calculationType'?: DeductionTypeCalculationType;
/**

@@ -10,0 +10,0 @@ * Deduction type amount

@@ -57,4 +57,5 @@ export declare class SalaryAndWage {

enum PaymentTypeEnum {
Salary
Salary,
Hourly
}
}

@@ -67,4 +67,5 @@ "use strict";

PaymentTypeEnum[PaymentTypeEnum["Salary"] = 'Salary'] = "Salary";
PaymentTypeEnum[PaymentTypeEnum["Hourly"] = 'Hourly'] = "Hourly";
})(PaymentTypeEnum = SalaryAndWage.PaymentTypeEnum || (SalaryAndWage.PaymentTypeEnum = {}));
})(SalaryAndWage = exports.SalaryAndWage || (exports.SalaryAndWage = {}));
//# sourceMappingURL=salaryAndWage.js.map

@@ -53,4 +53,5 @@ export declare class TimeEntry {

ACTIVE,
LOCKED
LOCKED,
INVOICED
}
}

@@ -62,4 +62,5 @@ "use strict";

StatusEnum[StatusEnum["LOCKED"] = 'LOCKED'] = "LOCKED";
StatusEnum[StatusEnum["INVOICED"] = 'INVOICED'] = "INVOICED";
})(StatusEnum = TimeEntry.StatusEnum || (TimeEntry.StatusEnum = {}));
})(TimeEntry = exports.TimeEntry || (exports.TimeEntry = {}));
//# sourceMappingURL=timeEntry.js.map
{
"name": "xero-node",
"version": "4.11.2",
"version": "4.11.3",
"description": "Xero NodeJS OAuth 2.0 client for xero-node",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -5,3 +5,2 @@ # xero-node

* [Accounting Api Docs](https://xeroapi.github.io/xero-node/accounting/index.html)
---
* [Asset Api Docs](https://xeroapi.github.io/xero-node/assets/index.html)

@@ -11,5 +10,5 @@ * [Project Api Docs](https://xeroapi.github.io/xero-node/payroll-au/index.html)

* [Bankfeeds Api Docs](https://xeroapi.github.io/xero-node/bankfeeds/index.html)
* [Payroll Docs (NZ)](https://xeroapi.github.io/xero-node/payroll-uk/index.html)
* [Payroll Docs (NZ)](https://xeroapi.github.io/xero-node/payroll-nz/index.html)
* [Payroll Docs (UK)](https://xeroapi.github.io/xero-node/payroll-uk/index.html)
* [Payroll Docs (AU)](https://xeroapi.github.io/xero-node/payroll-uk/index.html)
* [Payroll Docs (AU)](https://xeroapi.github.io/xero-node/payroll-au/index.html)

@@ -29,8 +28,2 @@ ## Getting Started

## Repo Context & Contributing
This SDK's functionality is majority generated [from our OpenAPISpec](https://github.com/XeroAPI/Xero-OpenAPI).
The exception is the `src/xeroClient.ts` which contains the typescript that is unique to this repository. Contributions are welcome but please keep in mind that majority of SDK is auto-generated from the OpenAPISpec. We try to get changes in that projects to be released on a reasonable cadence.
> Read more about our process in [maintaining our suite of SDK's](https://devblog.xero.com/building-sdks-for-the-future-b79ff726dfd6)
## Testing

@@ -369,1 +362,14 @@ We are working to build out a more robust test suite, and currently just have tests setup for our xeroClient.ts - PR's will now run against a CI build - and as we add more tests to this project community collaboration will be easier to incorporate.

```
## Participating in Xero’s developer community
This SDK is one of a number of SDK’s that the Xero Developer team builds and maintains. We are grateful for all the contributions that the community makes.
Here are a few things you should be aware of as a contributor:
* Xero has adopted the Contributor Covenant [Code of Conduct](https://github.com/XeroAPI/xero-node/blob/master/CODE_OF_CONDUCT.md), we expect all contributors in our community to adhere to it
* If you raise an issue then please make sure to fill out the github issue template, doing so helps us help you
* You’re welcome to raise PRs. As our SDKs are generated we may use your code in the core SDK build instead of merging your code
* We have a [contribution guide](https://github.com/XeroAPI/xero-node/blob/master/CONTRIBUTING.md) for you to follow when contributing to this SDK
* Curious about how we generate our SDK’s? Have a [read of our process](https://devblog.xero.com/building-sdks-for-the-future-b79ff726dfd6) and have a look at our [OpenAPISpec](https://github.com/XeroAPI/Xero-OpenAPI)
* This software is published under the [MIT License](https://github.com/XeroAPI/xero-node/blob/master/LICENSE)
For questions that aren’t related to SDKs please refer to our [developer support page](https://developer.xero.com/support/).

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 not supported yet

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc