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

Commit

Permalink
Merge pull request #79 from square/jessiedlcs/UpdateVersion
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
jessdelacruzsantos authored Dec 17, 2019
2 parents 1ef51c9 + f088458 commit 6dde700
Show file tree
Hide file tree
Showing 1,075 changed files with 1,309 additions and 1,308 deletions.
5 changes: 3 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## Version 2.3.0-20191217 (2019-12-17)
## Version 2.20191217.0 (2019-12-17)
!!!important
Square is excited to announce the public release of customized SDKs for [Java](https://github.com/square/square-java-sdk) and [.NET](https://github.com/square/square-dotnet-sdk). For more information, see [Square SDKs](/sdks).
!!!
Expand All @@ -9,7 +9,8 @@ Square is excited to announce the public release of customized SDKs for [Java](h

* __Beta release:__ SDKs updated to support the new [CashDrawerShifts](cashdrawershift-api/reporting) API.

* Square now follows the semantic versioning scheme that uses three numbers to delineate MAJOR, MINOR, and PATCH versions of our SDK. In addition, the SDK version also includes the API version so you know what Square API version the SDK is related to. For more information, see [Versioning and SDKs](build-basics/versioning-overview#versioning-and-sdks).
* Square now follows the semantic versioning scheme for all SDKs except PHP and Node.js. This versioning scheme uses three numbers to delineate MAJOR, MINOR, and PATCH versions of our SDK. In addition, the SDK version also includes the API version so you know what Square API version the SDK is related to. For more information, see [Versioning and SDKs](build-basics/versioning-overview#versioning-and-sdks).
* Java, .Net, Python, and Ruby SDKs are now version 4.0.0. Java and .Net SDKs have breaking changes in version 4.0.0. Ruby and Python do not have breaking changes.


## Version 2.20191120.0 (2019-11-20)
Expand Down
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.3.0-20191217",
"version": "2.20191217.0",
"description": "JavaScript client library for the Square Connect v2 API",
"keywords": [
"square",
Expand Down
6 changes: 3 additions & 3 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var superagent = require('superagent');
Expand All @@ -17,7 +17,7 @@ var HeaderUtils = require('./lib/HeaderUtils');

/**
* @module ApiClient
* @version 2.3.0-20191217
* @version 2.20191217.0
*/

/**
Expand Down Expand Up @@ -49,7 +49,7 @@ var exports = function() {
* @default {}
*/
this.defaultHeaders = {
'User-Agent': 'Square-Connect-Javascript/2.3.0-20191217'
'User-Agent': 'Square-Connect-Javascript/2.20191217.0'
};
/**
* The default HTTP timeout for all API calls.
Expand Down
4 changes: 2 additions & 2 deletions src/api/ApplePayApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -21,7 +21,7 @@ var RegisterDomainResponse = require('../model/RegisterDomainResponse');
*/

/**
* Constructs a new ApplePayApi.
* Constructs a new ApplePayApi.
* @alias module:api/ApplePayApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/CashDrawersApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -22,7 +22,7 @@ var RetrieveCashDrawerShiftResponse = require('../model/RetrieveCashDrawerShiftR
*/

/**
* Constructs a new CashDrawersApi.
* Constructs a new CashDrawersApi.
* @alias module:api/CashDrawersApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/CatalogApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand Down Expand Up @@ -37,7 +37,7 @@ var UpsertCatalogObjectResponse = require('../model/UpsertCatalogObjectResponse'
*/

/**
* Constructs a new CatalogApi.
* Constructs a new CatalogApi.
* @alias module:api/CatalogApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/CheckoutApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -21,7 +21,7 @@ var CreateCheckoutResponse = require('../model/CreateCheckoutResponse');
*/

/**
* Constructs a new CheckoutApi.
* Constructs a new CheckoutApi.
* @alias module:api/CheckoutApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/CustomersApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -31,7 +31,7 @@ var UpdateCustomerResponse = require('../model/UpdateCustomerResponse');
*/

/**
* Constructs a new CustomersApi.
* Constructs a new CustomersApi.
* @alias module:api/CustomersApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
12 changes: 6 additions & 6 deletions src/api/EmployeesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -21,7 +21,7 @@ var RetrieveEmployeeResponse = require('../model/RetrieveEmployeeResponse');
*/

/**
* Constructs a new EmployeesApi.
* Constructs a new EmployeesApi.
* @alias module:api/EmployeesApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand All @@ -34,7 +34,7 @@ module.exports = function(apiClient) {

/**
* ListEmployees
*
*
* @param {Object} opts Optional parameters
* @param {String} opts.locationId Filter employees returned to only those that are associated with the specified location.
* @param {String} opts.status Specifies the EmployeeStatus to filter the employee by.
Expand Down Expand Up @@ -76,7 +76,7 @@ module.exports = function(apiClient) {

/**
* ListEmployees
*
*
* @param {Object} opts Optional parameters
* @param {String} opts.locationId Filter employees returned to only those that are associated with the specified location.
* @param {String} opts.status Specifies the EmployeeStatus to filter the employee by.
Expand All @@ -94,7 +94,7 @@ module.exports = function(apiClient) {

/**
* RetrieveEmployee
*
*
* @param {String} id UUID for the employee that was requested.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RetrieveEmployeeResponse} and HTTP response
*/
Expand Down Expand Up @@ -133,7 +133,7 @@ module.exports = function(apiClient) {

/**
* RetrieveEmployee
*
*
* @param {String} id UUID for the employee that was requested.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RetrieveEmployeeResponse}
*/
Expand Down
4 changes: 2 additions & 2 deletions src/api/InventoryApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -29,7 +29,7 @@ var RetrieveInventoryPhysicalCountResponse = require('../model/RetrieveInventory
*/

/**
* Constructs a new InventoryApi.
* Constructs a new InventoryApi.
* @alias module:api/InventoryApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/LaborApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand Down Expand Up @@ -39,7 +39,7 @@ var UpdateWorkweekConfigResponse = require('../model/UpdateWorkweekConfigRespons
*/

/**
* Constructs a new LaborApi.
* Constructs a new LaborApi.
* @alias module:api/LaborApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/LocationsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -25,7 +25,7 @@ var UpdateLocationResponse = require('../model/UpdateLocationResponse');
*/

/**
* Constructs a new LocationsApi.
* Constructs a new LocationsApi.
* @alias module:api/LocationsApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/MerchantsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -21,7 +21,7 @@ var RetrieveMerchantResponse = require('../model/RetrieveMerchantResponse');
*/

/**
* Constructs a new MerchantsApi.
* Constructs a new MerchantsApi.
* @alias module:api/MerchantsApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/MobileAuthorizationApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -21,7 +21,7 @@ var CreateMobileAuthorizationCodeResponse = require('../model/CreateMobileAuthor
*/

/**
* Constructs a new MobileAuthorizationApi.
* Constructs a new MobileAuthorizationApi.
* @alias module:api/MobileAuthorizationApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/OAuthApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -25,7 +25,7 @@ var RevokeTokenResponse = require('../model/RevokeTokenResponse');
*/

/**
* Constructs a new OAuthApi.
* Constructs a new OAuthApi.
* @alias module:api/OAuthApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/OrdersApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -29,7 +29,7 @@ var UpdateOrderResponse = require('../model/UpdateOrderResponse');
*/

/**
* Constructs a new OrdersApi.
* Constructs a new OrdersApi.
* @alias module:api/OrdersApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/PaymentsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -27,7 +27,7 @@ var ListPaymentsResponse = require('../model/ListPaymentsResponse');
*/

/**
* Constructs a new PaymentsApi.
* Constructs a new PaymentsApi.
* @alias module:api/PaymentsApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/RefundsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -23,7 +23,7 @@ var RefundPaymentResponse = require('../model/RefundPaymentResponse');
*/

/**
* Constructs a new RefundsApi.
* Constructs a new RefundsApi.
* @alias module:api/RefundsApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
4 changes: 2 additions & 2 deletions src/api/ReportingApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.3.0-SNAPSHOT
* Swagger Codegen version: 2.20191217.0-SNAPSHOT
*
*/
var ApiClient = require('../ApiClient');
Expand All @@ -21,7 +21,7 @@ var ListAdditionalRecipientReceivablesResponse = require('../model/ListAdditiona
*/

/**
* Constructs a new ReportingApi.
* Constructs a new ReportingApi.
* @alias module:api/ReportingApi
* @class
* @param {module:ApiClient} apiClient Optional API client implementation to use,
Expand Down
Loading

0 comments on commit 6dde700

Please sign in to comment.