Skip to content

Commit 79e9e8b

Browse files
author
Connor OBrien
committed
Adding built files for version 1.0.47
1 parent 51a9b0f commit 79e9e8b

7 files changed

Lines changed: 1313 additions & 1429 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ Class | Method | HTTP request | Description
419419
- [OrderCloud.ListUserGroupAssignment](docs/ListUserGroupAssignment.md)
420420
- [OrderCloud.ListVariant](docs/ListVariant.md)
421421
- [OrderCloud.MessageCCListenerAssignment](docs/MessageCCListenerAssignment.md)
422+
- [OrderCloud.MessageConfig](docs/MessageConfig.md)
422423
- [OrderCloud.MessageSender](docs/MessageSender.md)
423424
- [OrderCloud.MessageSenderAssignment](docs/MessageSenderAssignment.md)
424425
- [OrderCloud.Meta](docs/Meta.md)

dist/ordercloud-javascript-sdk.js

Lines changed: 1052 additions & 1416 deletions
Large diffs are not rendered by default.

dist/ordercloud-javascript-sdk.min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/MessageConfig.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# OrderCloud.MessageConfig
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**URL** | **String** | | [optional]
7+
**elevatedClaimsList** | **String** | | [optional]
8+
**sharedKey** | **String** | | [optional]
9+
**configData** | **Object** | | [optional]
10+
**ID** | **String** | | [optional]
11+
**name** | **String** | | [optional]
12+
**messageTypes** | **[String]** | | [optional]
13+
14+

src/index.js

Lines changed: 8 additions & 3 deletions
Large diffs are not rendered by default.

src/model/MessageConfig.js

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
/**
2+
* OrderCloud
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: 1.0
6+
* Contact: ordercloud@four51.com
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD. Register as an anonymous module.
17+
define(['ApiClient'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
module.exports = factory(require('../ApiClient'));
21+
} else {
22+
// Browser globals (root is window)
23+
if (!root.OrderCloud) {
24+
root.OrderCloud = {};
25+
}
26+
root.OrderCloud.MessageConfig = factory(root.OrderCloud.ApiClient);
27+
}
28+
}(this, function(ApiClient) {
29+
'use strict';
30+
31+
32+
33+
34+
/**
35+
* The MessageConfig model module.
36+
* @module model/MessageConfig
37+
* @version 1.0.47
38+
*/
39+
40+
/**
41+
* Constructs a new <code>MessageConfig</code>.
42+
* @alias module:model/MessageConfig
43+
* @class
44+
*/
45+
var exports = function() {
46+
var _this = this;
47+
48+
49+
50+
51+
52+
53+
54+
55+
};
56+
57+
/**
58+
* Constructs a <code>MessageConfig</code> from a plain JavaScript object, optionally creating a new instance.
59+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
60+
* @param {Object} data The plain JavaScript object bearing properties of interest.
61+
* @param {module:model/MessageConfig} obj Optional instance to populate.
62+
* @return {module:model/MessageConfig} The populated <code>MessageConfig</code> instance.
63+
*/
64+
exports.constructFromObject = function(data, obj) {
65+
if (data) {
66+
obj = obj || new exports();
67+
68+
if (data.hasOwnProperty('URL')) {
69+
obj['URL'] = ApiClient.convertToType(data['URL'], 'String');
70+
}
71+
if (data.hasOwnProperty('ElevatedClaimsList')) {
72+
obj['ElevatedClaimsList'] = ApiClient.convertToType(data['ElevatedClaimsList'], 'String');
73+
}
74+
if (data.hasOwnProperty('SharedKey')) {
75+
obj['SharedKey'] = ApiClient.convertToType(data['SharedKey'], 'String');
76+
}
77+
if (data.hasOwnProperty('ConfigData')) {
78+
obj['ConfigData'] = ApiClient.convertToType(data['ConfigData'], Object);
79+
}
80+
if (data.hasOwnProperty('ID')) {
81+
obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
82+
}
83+
if (data.hasOwnProperty('Name')) {
84+
obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
85+
}
86+
if (data.hasOwnProperty('MessageTypes')) {
87+
obj['MessageTypes'] = ApiClient.convertToType(data['MessageTypes'], ['String']);
88+
}
89+
}
90+
return obj;
91+
}
92+
93+
/**
94+
* @member {String} URL
95+
*/
96+
exports.prototype['URL'] = undefined;
97+
/**
98+
* @member {String} ElevatedClaimsList
99+
*/
100+
exports.prototype['ElevatedClaimsList'] = undefined;
101+
/**
102+
* @member {String} SharedKey
103+
*/
104+
exports.prototype['SharedKey'] = undefined;
105+
/**
106+
* @member {Object} ConfigData
107+
*/
108+
exports.prototype['ConfigData'] = undefined;
109+
/**
110+
* @member {String} ID
111+
*/
112+
exports.prototype['ID'] = undefined;
113+
/**
114+
* @member {String} Name
115+
*/
116+
exports.prototype['Name'] = undefined;
117+
/**
118+
* @member {Array.<String>} MessageTypes
119+
*/
120+
exports.prototype['MessageTypes'] = undefined;
121+
122+
123+
124+
return exports;
125+
}));
126+
127+

test/model/MessageConfig.spec.js

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/**
2+
* OrderCloud
3+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4+
*
5+
* OpenAPI spec version: 1.0
6+
* Contact: ordercloud@four51.com
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', '../../src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require('../../src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.OrderCloud);
24+
}
25+
}(this, function(expect, OrderCloud) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new OrderCloud.MessageConfig();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('MessageConfig', function() {
51+
it('should create an instance of MessageConfig', function() {
52+
// uncomment below and update the code to test MessageConfig
53+
//var instane = new OrderCloud.MessageConfig();
54+
//expect(instance).to.be.a(OrderCloud.MessageConfig);
55+
});
56+
57+
it('should have the property URL (base name: "URL")', function() {
58+
// uncomment below and update the code to test the property URL
59+
//var instane = new OrderCloud.MessageConfig();
60+
//expect(instance).to.be();
61+
});
62+
63+
it('should have the property elevatedClaimsList (base name: "ElevatedClaimsList")', function() {
64+
// uncomment below and update the code to test the property elevatedClaimsList
65+
//var instane = new OrderCloud.MessageConfig();
66+
//expect(instance).to.be();
67+
});
68+
69+
it('should have the property sharedKey (base name: "SharedKey")', function() {
70+
// uncomment below and update the code to test the property sharedKey
71+
//var instane = new OrderCloud.MessageConfig();
72+
//expect(instance).to.be();
73+
});
74+
75+
it('should have the property configData (base name: "ConfigData")', function() {
76+
// uncomment below and update the code to test the property configData
77+
//var instane = new OrderCloud.MessageConfig();
78+
//expect(instance).to.be();
79+
});
80+
81+
it('should have the property ID (base name: "ID")', function() {
82+
// uncomment below and update the code to test the property ID
83+
//var instane = new OrderCloud.MessageConfig();
84+
//expect(instance).to.be();
85+
});
86+
87+
it('should have the property name (base name: "Name")', function() {
88+
// uncomment below and update the code to test the property name
89+
//var instane = new OrderCloud.MessageConfig();
90+
//expect(instance).to.be();
91+
});
92+
93+
it('should have the property messageTypes (base name: "MessageTypes")', function() {
94+
// uncomment below and update the code to test the property messageTypes
95+
//var instane = new OrderCloud.MessageConfig();
96+
//expect(instance).to.be();
97+
});
98+
99+
});
100+
101+
}));

0 commit comments

Comments
 (0)