Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Release 2.20190814.1
Browse files Browse the repository at this point in the history
  • Loading branch information
square-sdk-deployer committed Aug 16, 2019
1 parent 9cf54c9 commit 8bac797
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 106 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## Version 2.20190814.1 (2018-08-16)

* **Bug fix**: Removed a currently unsupported API object type
## Version 2.20190814.0 (2019-08-15)

* **New functionality**: All SDKs have been updated to support the Sandbox v2 BETA release
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ Class | Method | HTTP request | Description
- [SquareConnect.MeasurementUnitCustom](docs/MeasurementUnitCustom.md)
- [SquareConnect.MeasurementUnitGeneric](docs/MeasurementUnitGeneric.md)
- [SquareConnect.MeasurementUnitLength](docs/MeasurementUnitLength.md)
- [SquareConnect.MeasurementUnitTime](docs/MeasurementUnitTime.md)
- [SquareConnect.MeasurementUnitUnitType](docs/MeasurementUnitUnitType.md)
- [SquareConnect.MeasurementUnitVolume](docs/MeasurementUnitVolume.md)
- [SquareConnect.MeasurementUnitWeight](docs/MeasurementUnitWeight.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/BatchRetrieveOrdersResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Defines the fields that are included in the response body of a request to the Ba
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**orders** | [**[Order]**](Order.md) | The requested orders. This will omit any requested orders that do not exist or are not charged. | [optional]
**orders** | [**[Order]**](Order.md) | The requested orders. This will omit any requested orders that do not exist. | [optional]
**errors** | [**[Error]**](Error.md) | Any errors that occurred during the request. | [optional]


1 change: 0 additions & 1 deletion docs/MeasurementUnit.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**volume_unit** | **String** | Represents a standard volume unit. See [MeasurementUnitVolume](#type-measurementunitvolume) for possible values | [optional]
**weight_unit** | **String** | Represents a standard unit of weight or mass. See [MeasurementUnitWeight](#type-measurementunitweight) for possible values | [optional]
**generic_unit** | **String** | Reserved for API integrations that lack the ability to specify a real measurement unit See [MeasurementUnitGeneric](#type-measurementunitgeneric) for possible values | [optional]
**time_unit** | **String** | Represents a standard unit of time. See [MeasurementUnitTime](#type-measurementunittime) for possible values | [optional]
**type** | **String** | Represents the type of the measurement unit. See [MeasurementUnitUnitType](#type-measurementunitunittype) for possible values | [optional]


16 changes: 0 additions & 16 deletions docs/MeasurementUnitTime.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/MeasurementUnitUnitType.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

* `WEIGHT` (value: `"TYPE_WEIGHT"`)

* `TIME` (value: `"TYPE_TIME"`)

* `GENERIC` (value: `"TYPE_GENERIC"`)


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "square-connect",
"version": "2.20190814.0",
"version": "2.20190814.1",
"description": "JavaScript client library for the Square Connect v2 API",
"keywords": [
"square",
Expand Down
4 changes: 2 additions & 2 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var querystring = require('querystring');

/**
* @module ApiClient
* @version 2.20190814.0
* @version 2.20190814.1
*/

/**
Expand Down Expand Up @@ -48,7 +48,7 @@ var exports = function() {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'Square-Connect-Javascript/2.20190814.0'
'User-Agent': 'Square-Connect-Javascript/2.20190814.1'
};
/**
* The default HTTP timeout for all API calls.
Expand Down
8 changes: 1 addition & 7 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ var MeasurementUnitArea = require('./model/MeasurementUnitArea');
var MeasurementUnitCustom = require('./model/MeasurementUnitCustom');
var MeasurementUnitGeneric = require('./model/MeasurementUnitGeneric');
var MeasurementUnitLength = require('./model/MeasurementUnitLength');
var MeasurementUnitTime = require('./model/MeasurementUnitTime');
var MeasurementUnitUnitType = require('./model/MeasurementUnitUnitType');
var MeasurementUnitVolume = require('./model/MeasurementUnitVolume');
var MeasurementUnitWeight = require('./model/MeasurementUnitWeight');
Expand Down Expand Up @@ -547,7 +546,7 @@ var V1TransactionsApi = require('./api/V1TransactionsApi');
* </pre>
* </p>
* @module index
* @version 2.20190814.0
* @version 2.20190814.1
*/
module.exports = {
/**
Expand Down Expand Up @@ -1480,11 +1479,6 @@ var V1TransactionsApi = require('./api/V1TransactionsApi');
* @property {module:model/MeasurementUnitLength}
*/
MeasurementUnitLength: MeasurementUnitLength,
/**
* The MeasurementUnitTime model constructor.
* @property {module:model/MeasurementUnitTime}
*/
MeasurementUnitTime: MeasurementUnitTime,
/**
* The MeasurementUnitUnitType model constructor.
* @property {module:model/MeasurementUnitUnitType}
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchRetrieveOrdersResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports.constructFromObject = function(data, obj) {
}

/**
* The requested orders. This will omit any requested orders that do not exist or are not charged.
* The requested orders. This will omit any requested orders that do not exist.
* @member {Array.<module:model/Order>} orders
*/
exports.prototype['orders'] = undefined;
Expand Down
9 changes: 0 additions & 9 deletions src/model/MeasurementUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ var exports = function() {




};

/**
Expand Down Expand Up @@ -69,9 +68,6 @@ exports.constructFromObject = function(data, obj) {
}
if (data.hasOwnProperty('generic_unit')) {
obj['generic_unit'] = ApiClient.convertToType(data['generic_unit'], 'String');
}
if (data.hasOwnProperty('time_unit')) {
obj['time_unit'] = ApiClient.convertToType(data['time_unit'], 'String');
}
if (data.hasOwnProperty('type')) {
obj['type'] = ApiClient.convertToType(data['type'], 'String');
Expand Down Expand Up @@ -110,11 +106,6 @@ exports.prototype['weight_unit'] = undefined;
* @member {String} generic_unit
*/
exports.prototype['generic_unit'] = undefined;
/**
* Represents a standard unit of time. See [MeasurementUnitTime](#type-measurementunittime) for possible values
* @member {String} time_unit
*/
exports.prototype['time_unit'] = undefined;
/**
* Represents the type of the measurement unit. See [MeasurementUnitUnitType](#type-measurementunitunittype) for possible values
* @member {String} type
Expand Down
60 changes: 0 additions & 60 deletions src/model/MeasurementUnitTime.js

This file was deleted.

5 changes: 0 additions & 5 deletions src/model/MeasurementUnitUnitType.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ var exports = {
* @const
*/
"WEIGHT": "TYPE_WEIGHT",
/**
* value: "TYPE_TIME"
* @const
*/
"TIME": "TYPE_TIME",
/**
* value: "TYPE_GENERIC"
* @const
Expand Down

0 comments on commit 8bac797

Please sign in to comment.