Sign In

cloud-elements-zohocrm

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloud-elements-zohocrm - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+13
docs/BulkStatus.md
# Zohocrm.BulkStatus
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**batchId** | **Number** | Contact/Leads loaded | [optional]
**message** | **String** | | [optional]
**numOfLeadsProcessed** | **Number** | Contact/Leads loaded | [optional]
**numOfRowsFailed** | **Number** | Failed count | [optional]
**numOfRowsWithWarning** | **Number** | Contact/Leads that had warnings | [optional]
**status** | **String** | Status of the bulk job | [optional]
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['../ApiClient'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('../ApiClient'));
} else {
// Browser globals (root is window)
if (!root.Zohocrm) {
root.Zohocrm = {};
}
root.Zohocrm.BulkStatus = factory(root.Zohocrm.ApiClient);
}
}(this, function(ApiClient) {
'use strict';
/**
* The BulkStatus model module.
* @module model/BulkStatus
* @version api-v2
*/
/**
* Constructs a new <code>BulkStatus</code>.
* Status of the bulk upload.
* @alias module:model/BulkStatus
* @class
*/
var exports = function() {
};
/**
* Constructs a <code>BulkStatus</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/BulkStatus} obj Optional instance to populate.
* @return {module:model/BulkStatus} The populated <code>BulkStatus</code> instance.
*/
exports.constructFromObject = function(data, obj) {
if (data) {
obj = obj || new exports();
if (data.hasOwnProperty('batchId')) {
obj['batchId'] = ApiClient.convertToType(data['batchId'], 'Number');
}
if (data.hasOwnProperty('message')) {
obj['message'] = ApiClient.convertToType(data['message'], 'String');
}
if (data.hasOwnProperty('numOfLeadsProcessed')) {
obj['numOfLeadsProcessed'] = ApiClient.convertToType(data['numOfLeadsProcessed'], 'Number');
}
if (data.hasOwnProperty('numOfRowsFailed')) {
obj['numOfRowsFailed'] = ApiClient.convertToType(data['numOfRowsFailed'], 'Number');
}
if (data.hasOwnProperty('numOfRowsWithWarning')) {
obj['numOfRowsWithWarning'] = ApiClient.convertToType(data['numOfRowsWithWarning'], 'Number');
}
if (data.hasOwnProperty('status')) {
obj['status'] = ApiClient.convertToType(data['status'], 'String');
}
}
return obj;
}
/**
* Contact/Leads loaded
* @member {Number} batchId
*/
exports.prototype['batchId'] = undefined;
/**
* @member {String} message
*/
exports.prototype['message'] = undefined;
/**
* Contact/Leads loaded
* @member {Number} numOfLeadsProcessed
*/
exports.prototype['numOfLeadsProcessed'] = undefined;
/**
* Failed count
* @member {Number} numOfRowsFailed
*/
exports.prototype['numOfRowsFailed'] = undefined;
/**
* Contact/Leads that had warnings
* @member {Number} numOfRowsWithWarning
*/
exports.prototype['numOfRowsWithWarning'] = undefined;
/**
* Status of the bulk job
* @member {String} status
*/
exports.prototype['status'] = undefined;
return exports;
}));
+2
-1

@@ -6,4 +6,5 @@ # Zohocrm.BulkLoad

------------ | ------------- | ------------- | -------------
**id** | **String** | | [optional]
**id** | **Number** | Id of the bulk job | [optional]
**status** | **String** | Status of the bulk job | [optional]

@@ -6,4 +6,5 @@ # Zohocrm.BulkQuery

------------ | ------------- | ------------- | -------------
**id** | **String** | | [optional]
**id** | **Number** | Id of the bulk job | [optional]
**status** | **String** | Status of the bulk job | [optional]
{
"name": "cloud-elements-zohocrm",
"version": "0.1.3",
"description": "Client library of zohocrm",
"version": "0.1.4",
"description": "Client library of the Cloud Elements Zoho CRM element.",
"main": "src/index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -8,3 +8,3 @@ # zohocrm

- Package version: api-v2
- Build date: 2016-04-26T16:40:01.773-06:00
- Build date: 2016-04-26T16:48:37.648-06:00
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

@@ -160,2 +160,3 @@

- [Zohocrm.BulkQuery](docs/BulkQuery.md)
- [Zohocrm.BulkStatus](docs/BulkStatus.md)
- [Zohocrm.Calls](docs/Calls.md)

@@ -162,0 +163,0 @@ - [Zohocrm.Campaign](docs/Campaign.md)

(function(factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['./ApiClient', './model/Account', './model/BulkLoad', './model/BulkQuery', './model/Calls', './model/Campaign', './model/Contact', './model/Events', './model/Lead', './model/Notes', './model/NotesPOST', './model/Opportunity', './model/Product', './model/Tasks', './model/User', './api/ZohocrmApi'], factory);
define(['./ApiClient', './model/Account', './model/BulkLoad', './model/BulkQuery', './model/BulkStatus', './model/Calls', './model/Campaign', './model/Contact', './model/Events', './model/Lead', './model/Notes', './model/NotesPOST', './model/Opportunity', './model/Product', './model/Tasks', './model/User', './api/ZohocrmApi'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('./ApiClient'), require('./model/Account'), require('./model/BulkLoad'), require('./model/BulkQuery'), require('./model/Calls'), require('./model/Campaign'), require('./model/Contact'), require('./model/Events'), require('./model/Lead'), require('./model/Notes'), require('./model/NotesPOST'), require('./model/Opportunity'), require('./model/Product'), require('./model/Tasks'), require('./model/User'), require('./api/ZohocrmApi'));
module.exports = factory(require('./ApiClient'), require('./model/Account'), require('./model/BulkLoad'), require('./model/BulkQuery'), require('./model/BulkStatus'), require('./model/Calls'), require('./model/Campaign'), require('./model/Contact'), require('./model/Events'), require('./model/Lead'), require('./model/Notes'), require('./model/NotesPOST'), require('./model/Opportunity'), require('./model/Product'), require('./model/Tasks'), require('./model/User'), require('./api/ZohocrmApi'));
}
}(function(ApiClient, Account, BulkLoad, BulkQuery, Calls, Campaign, Contact, Events, Lead, Notes, NotesPOST, Opportunity, Product, Tasks, User, ZohocrmApi) {
}(function(ApiClient, Account, BulkLoad, BulkQuery, BulkStatus, Calls, Campaign, Contact, Events, Lead, Notes, NotesPOST, Opportunity, Product, Tasks, User, ZohocrmApi) {
'use strict';

@@ -65,2 +65,7 @@

/**
* The BulkStatus model constructor.
* @property {module:model/BulkStatus}
*/
BulkStatus: BulkStatus,
/**
* The Calls model constructor.

@@ -67,0 +72,0 @@ * @property {module:model/Calls}

@@ -26,2 +26,3 @@ (function(root, factory) {

* Constructs a new <code>BulkLoad</code>.
* BulkLoad response of bulk upload.
* @alias module:model/BulkLoad

@@ -33,2 +34,3 @@ * @class

};

@@ -48,4 +50,7 @@

if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'String');
obj['id'] = ApiClient.convertToType(data['id'], 'Number');
}
if (data.hasOwnProperty('status')) {
obj['status'] = ApiClient.convertToType(data['status'], 'String');
}
}

@@ -57,10 +62,17 @@ return obj;

/**
* @member {String} id
* Id of the bulk job
* @member {Number} id
*/
exports.prototype['id'] = undefined;
/**
* Status of the bulk job
* @member {String} status
*/
exports.prototype['status'] = undefined;
return exports;
}));

@@ -26,2 +26,3 @@ (function(root, factory) {

* Constructs a new <code>BulkQuery</code>.
* BulkLoad response of bulk download.
* @alias module:model/BulkQuery

@@ -33,2 +34,3 @@ * @class

};

@@ -48,4 +50,7 @@

if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'String');
obj['id'] = ApiClient.convertToType(data['id'], 'Number');
}
if (data.hasOwnProperty('status')) {
obj['status'] = ApiClient.convertToType(data['status'], 'String');
}
}

@@ -57,10 +62,17 @@ return obj;

/**
* @member {String} id
* Id of the bulk job
* @member {Number} id
*/
exports.prototype['id'] = undefined;
/**
* Status of the bulk job
* @member {String} status
*/
exports.prototype['status'] = undefined;
return exports;
}));