@gobodo/gobodo-api 0.1.11 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +58 -10
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/index.js +28 -0
- package/dist/model/APIClient.js +2 -2
- package/dist/model/Article.js +32 -32
- package/dist/model/Authorization.js +2 -2
- package/dist/model/BankAccountInfo.js +162 -0
- package/dist/model/CardInfo.js +126 -0
- package/dist/model/Comment.js +2 -2
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateCustomerResponse.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +52 -52
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +32 -32
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +14 -14
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +9 -9
- package/dist/model/File.js +14 -14
- package/dist/model/FileAttachmentUploadObject.js +14 -14
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +13 -13
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +2 -2
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +26 -2
- package/dist/model/GraphObjectSchema.js +2 -2
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelation.js +2 -2
- package/dist/model/GraphRelationObjectObject.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +22 -22
- package/dist/model/ImageUploadObject.js +22 -22
- package/dist/model/InputPart.js +12 -12
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +2 -2
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +9 -9
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +9 -9
- package/dist/model/PageSchema.js +13 -13
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +47 -3
- package/dist/model/PaymentMethodInput.js +168 -0
- package/dist/model/PaymentMethodResponse.js +104 -0
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +9 -9
- package/dist/model/PrivateMessageConversation.js +2 -2
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +9 -9
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/User.js +9 -9
- package/dist/model/UserDataPayload.js +9 -9
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +9 -9
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +33 -33
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +33 -33
- package/dist/model/VideoUploadObject.js +33 -33
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
14
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
15
|
+
* gobodo-api
|
|
16
|
+
* REST Interface for Gobodo API
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
|
+
* Contact: info@gobodo.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The BankAccountInfo model module.
|
|
28
|
+
* @module model/BankAccountInfo
|
|
29
|
+
* @version 0.1.14
|
|
30
|
+
*/
|
|
31
|
+
var BankAccountInfo = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>BankAccountInfo</code>.
|
|
34
|
+
* @alias module:model/BankAccountInfo
|
|
35
|
+
*/
|
|
36
|
+
function BankAccountInfo() {
|
|
37
|
+
_classCallCheck(this, BankAccountInfo);
|
|
38
|
+
BankAccountInfo.initialize(this);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the fields of this object.
|
|
43
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
+
* Only for internal use.
|
|
45
|
+
*/
|
|
46
|
+
_createClass(BankAccountInfo, null, [{
|
|
47
|
+
key: "initialize",
|
|
48
|
+
value: function initialize(obj) {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a <code>BankAccountInfo</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
+
* @param {module:model/BankAccountInfo} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/BankAccountInfo} The populated <code>BankAccountInfo</code> instance.
|
|
56
|
+
*/
|
|
57
|
+
}, {
|
|
58
|
+
key: "constructFromObject",
|
|
59
|
+
value: function constructFromObject(data, obj) {
|
|
60
|
+
if (data) {
|
|
61
|
+
obj = obj || new BankAccountInfo();
|
|
62
|
+
if (data.hasOwnProperty('accountNumber')) {
|
|
63
|
+
obj['accountNumber'] = _ApiClient["default"].convertToType(data['accountNumber'], 'String');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('routingNumber')) {
|
|
66
|
+
obj['routingNumber'] = _ApiClient["default"].convertToType(data['routingNumber'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('accountHolderType')) {
|
|
69
|
+
obj['accountHolderType'] = _ApiClient["default"].convertToType(data['accountHolderType'], 'String');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('accountType')) {
|
|
72
|
+
obj['accountType'] = _ApiClient["default"].convertToType(data['accountType'], 'String');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Validates the JSON data with respect to <code>BankAccountInfo</code>.
|
|
80
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
81
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>BankAccountInfo</code>.
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "validateJSON",
|
|
85
|
+
value: function validateJSON(data) {
|
|
86
|
+
// ensure the json data is a string
|
|
87
|
+
if (data['accountNumber'] && !(typeof data['accountNumber'] === 'string' || data['accountNumber'] instanceof String)) {
|
|
88
|
+
throw new Error("Expected the field `accountNumber` to be a primitive type in the JSON string but got " + data['accountNumber']);
|
|
89
|
+
}
|
|
90
|
+
// ensure the json data is a string
|
|
91
|
+
if (data['routingNumber'] && !(typeof data['routingNumber'] === 'string' || data['routingNumber'] instanceof String)) {
|
|
92
|
+
throw new Error("Expected the field `routingNumber` to be a primitive type in the JSON string but got " + data['routingNumber']);
|
|
93
|
+
}
|
|
94
|
+
// ensure the json data is a string
|
|
95
|
+
if (data['accountHolderType'] && !(typeof data['accountHolderType'] === 'string' || data['accountHolderType'] instanceof String)) {
|
|
96
|
+
throw new Error("Expected the field `accountHolderType` to be a primitive type in the JSON string but got " + data['accountHolderType']);
|
|
97
|
+
}
|
|
98
|
+
// ensure the json data is a string
|
|
99
|
+
if (data['accountType'] && !(typeof data['accountType'] === 'string' || data['accountType'] instanceof String)) {
|
|
100
|
+
throw new Error("Expected the field `accountType` to be a primitive type in the JSON string but got " + data['accountType']);
|
|
101
|
+
}
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
}]);
|
|
105
|
+
return BankAccountInfo;
|
|
106
|
+
}();
|
|
107
|
+
/**
|
|
108
|
+
* @member {String} accountNumber
|
|
109
|
+
*/
|
|
110
|
+
BankAccountInfo.prototype['accountNumber'] = undefined;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @member {String} routingNumber
|
|
114
|
+
*/
|
|
115
|
+
BankAccountInfo.prototype['routingNumber'] = undefined;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @member {module:model/BankAccountInfo.AccountHolderTypeEnum} accountHolderType
|
|
119
|
+
*/
|
|
120
|
+
BankAccountInfo.prototype['accountHolderType'] = undefined;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @member {module:model/BankAccountInfo.AccountTypeEnum} accountType
|
|
124
|
+
*/
|
|
125
|
+
BankAccountInfo.prototype['accountType'] = undefined;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Allowed values for the <code>accountHolderType</code> property.
|
|
129
|
+
* @enum {String}
|
|
130
|
+
* @readonly
|
|
131
|
+
*/
|
|
132
|
+
BankAccountInfo['AccountHolderTypeEnum'] = {
|
|
133
|
+
/**
|
|
134
|
+
* value: "PERSONAL"
|
|
135
|
+
* @const
|
|
136
|
+
*/
|
|
137
|
+
"PERSONAL": "PERSONAL",
|
|
138
|
+
/**
|
|
139
|
+
* value: "BUSINESS"
|
|
140
|
+
* @const
|
|
141
|
+
*/
|
|
142
|
+
"BUSINESS": "BUSINESS"
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Allowed values for the <code>accountType</code> property.
|
|
147
|
+
* @enum {String}
|
|
148
|
+
* @readonly
|
|
149
|
+
*/
|
|
150
|
+
BankAccountInfo['AccountTypeEnum'] = {
|
|
151
|
+
/**
|
|
152
|
+
* value: "CHECKING"
|
|
153
|
+
* @const
|
|
154
|
+
*/
|
|
155
|
+
"CHECKING": "CHECKING",
|
|
156
|
+
/**
|
|
157
|
+
* value: "SAVINGS"
|
|
158
|
+
* @const
|
|
159
|
+
*/
|
|
160
|
+
"SAVINGS": "SAVINGS"
|
|
161
|
+
};
|
|
162
|
+
var _default = exports["default"] = BankAccountInfo;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
12
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
14
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
15
|
+
* gobodo-api
|
|
16
|
+
* REST Interface for Gobodo API
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
|
+
* Contact: info@gobodo.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The CardInfo model module.
|
|
28
|
+
* @module model/CardInfo
|
|
29
|
+
* @version 0.1.14
|
|
30
|
+
*/
|
|
31
|
+
var CardInfo = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>CardInfo</code>.
|
|
34
|
+
* @alias module:model/CardInfo
|
|
35
|
+
*/
|
|
36
|
+
function CardInfo() {
|
|
37
|
+
_classCallCheck(this, CardInfo);
|
|
38
|
+
CardInfo.initialize(this);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the fields of this object.
|
|
43
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
+
* Only for internal use.
|
|
45
|
+
*/
|
|
46
|
+
_createClass(CardInfo, null, [{
|
|
47
|
+
key: "initialize",
|
|
48
|
+
value: function initialize(obj) {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a <code>CardInfo</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
+
* @param {module:model/CardInfo} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/CardInfo} The populated <code>CardInfo</code> instance.
|
|
56
|
+
*/
|
|
57
|
+
}, {
|
|
58
|
+
key: "constructFromObject",
|
|
59
|
+
value: function constructFromObject(data, obj) {
|
|
60
|
+
if (data) {
|
|
61
|
+
obj = obj || new CardInfo();
|
|
62
|
+
if (data.hasOwnProperty('cardNumber')) {
|
|
63
|
+
obj['cardNumber'] = _ApiClient["default"].convertToType(data['cardNumber'], 'String');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('expireMonth')) {
|
|
66
|
+
obj['expireMonth'] = _ApiClient["default"].convertToType(data['expireMonth'], 'Number');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('expireDay')) {
|
|
69
|
+
obj['expireDay'] = _ApiClient["default"].convertToType(data['expireDay'], 'Number');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('expireYear')) {
|
|
72
|
+
obj['expireYear'] = _ApiClient["default"].convertToType(data['expireYear'], 'Number');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('cvc')) {
|
|
75
|
+
obj['cvc'] = _ApiClient["default"].convertToType(data['cvc'], 'String');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return obj;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Validates the JSON data with respect to <code>CardInfo</code>.
|
|
83
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
84
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CardInfo</code>.
|
|
85
|
+
*/
|
|
86
|
+
}, {
|
|
87
|
+
key: "validateJSON",
|
|
88
|
+
value: function validateJSON(data) {
|
|
89
|
+
// ensure the json data is a string
|
|
90
|
+
if (data['cardNumber'] && !(typeof data['cardNumber'] === 'string' || data['cardNumber'] instanceof String)) {
|
|
91
|
+
throw new Error("Expected the field `cardNumber` to be a primitive type in the JSON string but got " + data['cardNumber']);
|
|
92
|
+
}
|
|
93
|
+
// ensure the json data is a string
|
|
94
|
+
if (data['cvc'] && !(typeof data['cvc'] === 'string' || data['cvc'] instanceof String)) {
|
|
95
|
+
throw new Error("Expected the field `cvc` to be a primitive type in the JSON string but got " + data['cvc']);
|
|
96
|
+
}
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
}]);
|
|
100
|
+
return CardInfo;
|
|
101
|
+
}();
|
|
102
|
+
/**
|
|
103
|
+
* @member {String} cardNumber
|
|
104
|
+
*/
|
|
105
|
+
CardInfo.prototype['cardNumber'] = undefined;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @member {Number} expireMonth
|
|
109
|
+
*/
|
|
110
|
+
CardInfo.prototype['expireMonth'] = undefined;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @member {Number} expireDay
|
|
114
|
+
*/
|
|
115
|
+
CardInfo.prototype['expireDay'] = undefined;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @member {Number} expireYear
|
|
119
|
+
*/
|
|
120
|
+
CardInfo.prototype['expireYear'] = undefined;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @member {String} cvc
|
|
124
|
+
*/
|
|
125
|
+
CardInfo.prototype['cvc'] = undefined;
|
|
126
|
+
var _default = exports["default"] = CardInfo;
|
package/dist/model/Comment.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The Comment model module.
|
|
28
28
|
* @module model/Comment
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.14
|
|
30
30
|
*/
|
|
31
31
|
var Comment = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The Coordinates model module.
|
|
28
28
|
* @module model/Coordinates
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.14
|
|
30
30
|
*/
|
|
31
31
|
var Coordinates = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.14
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The CreateAccountResponse model module.
|
|
29
29
|
* @module model/CreateAccountResponse
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.14
|
|
31
31
|
*/
|
|
32
32
|
var CreateAccountResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.14
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The CreateCustomerResponse model module.
|
|
29
29
|
* @module model/CreateCustomerResponse
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.14
|
|
31
31
|
*/
|
|
32
32
|
var CreateCustomerResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreateStripeAccountInput model module.
|
|
28
28
|
* @module model/CreateStripeAccountInput
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.14
|
|
30
30
|
*/
|
|
31
31
|
var CreateStripeAccountInput = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreateStripeCustomerInput model module.
|
|
28
28
|
* @module model/CreateStripeCustomerInput
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.14
|
|
30
30
|
*/
|
|
31
31
|
var CreateStripeCustomerInput = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/DataObject.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.14
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* The DataObject model module.
|
|
28
28
|
* @module model/DataObject
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.14
|
|
30
30
|
*/
|
|
31
31
|
var DataObject = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
21
21
|
* gobodo-api
|
|
22
22
|
* REST Interface for Gobodo API
|
|
23
23
|
*
|
|
24
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.14
|
|
25
25
|
* Contact: info@gobodo.io
|
|
26
26
|
*
|
|
27
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
32
32
|
/**
|
|
33
33
|
* The DataSheetImport model module.
|
|
34
34
|
* @module model/DataSheetImport
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.14
|
|
36
36
|
*/
|
|
37
37
|
var DataSheetImport = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -68,21 +68,6 @@ var DataSheetImport = /*#__PURE__*/function () {
|
|
|
68
68
|
if (data.hasOwnProperty('container')) {
|
|
69
69
|
obj['container'] = _GraphObject["default"].constructFromObject(data['container']);
|
|
70
70
|
}
|
|
71
|
-
if (data.hasOwnProperty('communityeditable')) {
|
|
72
|
-
obj['communityeditable'] = _ApiClient["default"].convertToType(data['communityeditable'], 'Boolean');
|
|
73
|
-
}
|
|
74
|
-
if (data.hasOwnProperty('published')) {
|
|
75
|
-
obj['published'] = _ApiClient["default"].convertToType(data['published'], 'Boolean');
|
|
76
|
-
}
|
|
77
|
-
if (data.hasOwnProperty('orphan')) {
|
|
78
|
-
obj['orphan'] = _ApiClient["default"].convertToType(data['orphan'], 'Boolean');
|
|
79
|
-
}
|
|
80
|
-
if (data.hasOwnProperty('importobjecttype')) {
|
|
81
|
-
obj['importobjecttype'] = _GraphObjectType["default"].constructFromObject(data['importobjecttype']);
|
|
82
|
-
}
|
|
83
|
-
if (data.hasOwnProperty('importrelationshiptype')) {
|
|
84
|
-
obj['importrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['importrelationshiptype']);
|
|
85
|
-
}
|
|
86
71
|
if (data.hasOwnProperty('preview')) {
|
|
87
72
|
obj['preview'] = _ApiClient["default"].convertToType(data['preview'], Object);
|
|
88
73
|
}
|
|
@@ -104,9 +89,24 @@ var DataSheetImport = /*#__PURE__*/function () {
|
|
|
104
89
|
if (data.hasOwnProperty('sheetprops')) {
|
|
105
90
|
obj['sheetprops'] = _ApiClient["default"].convertToType(data['sheetprops'], ['String']);
|
|
106
91
|
}
|
|
92
|
+
if (data.hasOwnProperty('importobjecttype')) {
|
|
93
|
+
obj['importobjecttype'] = _GraphObjectType["default"].constructFromObject(data['importobjecttype']);
|
|
94
|
+
}
|
|
107
95
|
if (data.hasOwnProperty('isorphan')) {
|
|
108
96
|
obj['isorphan'] = _ApiClient["default"].convertToType(data['isorphan'], 'Boolean');
|
|
109
97
|
}
|
|
98
|
+
if (data.hasOwnProperty('published')) {
|
|
99
|
+
obj['published'] = _ApiClient["default"].convertToType(data['published'], 'Boolean');
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('communityeditable')) {
|
|
102
|
+
obj['communityeditable'] = _ApiClient["default"].convertToType(data['communityeditable'], 'Boolean');
|
|
103
|
+
}
|
|
104
|
+
if (data.hasOwnProperty('importrelationshiptype')) {
|
|
105
|
+
obj['importrelationshiptype'] = _GraphRelationshipType["default"].constructFromObject(data['importrelationshiptype']);
|
|
106
|
+
}
|
|
107
|
+
if (data.hasOwnProperty('orphan')) {
|
|
108
|
+
obj['orphan'] = _ApiClient["default"].convertToType(data['orphan'], 'Boolean');
|
|
109
|
+
}
|
|
110
110
|
if (data.hasOwnProperty('creator')) {
|
|
111
111
|
obj['creator'] = _User["default"].constructFromObject(data['creator']);
|
|
112
112
|
}
|
|
@@ -148,16 +148,6 @@ var DataSheetImport = /*#__PURE__*/function () {
|
|
|
148
148
|
// data not null
|
|
149
149
|
_GraphObject["default"].validateJSON(data['container']);
|
|
150
150
|
}
|
|
151
|
-
// validate the optional field `importobjecttype`
|
|
152
|
-
if (data['importobjecttype']) {
|
|
153
|
-
// data not null
|
|
154
|
-
_GraphObjectType["default"].validateJSON(data['importobjecttype']);
|
|
155
|
-
}
|
|
156
|
-
// validate the optional field `importrelationshiptype`
|
|
157
|
-
if (data['importrelationshiptype']) {
|
|
158
|
-
// data not null
|
|
159
|
-
_GraphRelationshipType["default"].validateJSON(data['importrelationshiptype']);
|
|
160
|
-
}
|
|
161
151
|
// validate the optional field `graph`
|
|
162
152
|
if (data['graph']) {
|
|
163
153
|
// data not null
|
|
@@ -180,6 +170,16 @@ var DataSheetImport = /*#__PURE__*/function () {
|
|
|
180
170
|
if (!Array.isArray(data['sheetprops'])) {
|
|
181
171
|
throw new Error("Expected the field `sheetprops` to be an array in the JSON data but got " + data['sheetprops']);
|
|
182
172
|
}
|
|
173
|
+
// validate the optional field `importobjecttype`
|
|
174
|
+
if (data['importobjecttype']) {
|
|
175
|
+
// data not null
|
|
176
|
+
_GraphObjectType["default"].validateJSON(data['importobjecttype']);
|
|
177
|
+
}
|
|
178
|
+
// validate the optional field `importrelationshiptype`
|
|
179
|
+
if (data['importrelationshiptype']) {
|
|
180
|
+
// data not null
|
|
181
|
+
_GraphRelationshipType["default"].validateJSON(data['importrelationshiptype']);
|
|
182
|
+
}
|
|
183
183
|
// validate the optional field `creator`
|
|
184
184
|
if (data['creator']) {
|
|
185
185
|
// data not null
|
|
@@ -209,31 +209,6 @@ var DataSheetImport = /*#__PURE__*/function () {
|
|
|
209
209
|
*/
|
|
210
210
|
DataSheetImport.prototype['container'] = undefined;
|
|
211
211
|
|
|
212
|
-
/**
|
|
213
|
-
* @member {Boolean} communityeditable
|
|
214
|
-
*/
|
|
215
|
-
DataSheetImport.prototype['communityeditable'] = undefined;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* @member {Boolean} published
|
|
219
|
-
*/
|
|
220
|
-
DataSheetImport.prototype['published'] = undefined;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @member {Boolean} orphan
|
|
224
|
-
*/
|
|
225
|
-
DataSheetImport.prototype['orphan'] = undefined;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @member {module:model/GraphObjectType} importobjecttype
|
|
229
|
-
*/
|
|
230
|
-
DataSheetImport.prototype['importobjecttype'] = undefined;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* @member {module:model/GraphRelationshipType} importrelationshiptype
|
|
234
|
-
*/
|
|
235
|
-
DataSheetImport.prototype['importrelationshiptype'] = undefined;
|
|
236
|
-
|
|
237
212
|
/**
|
|
238
213
|
* @member {Object} preview
|
|
239
214
|
*/
|
|
@@ -269,11 +244,36 @@ DataSheetImport.prototype['rundate'] = undefined;
|
|
|
269
244
|
*/
|
|
270
245
|
DataSheetImport.prototype['sheetprops'] = undefined;
|
|
271
246
|
|
|
247
|
+
/**
|
|
248
|
+
* @member {module:model/GraphObjectType} importobjecttype
|
|
249
|
+
*/
|
|
250
|
+
DataSheetImport.prototype['importobjecttype'] = undefined;
|
|
251
|
+
|
|
272
252
|
/**
|
|
273
253
|
* @member {Boolean} isorphan
|
|
274
254
|
*/
|
|
275
255
|
DataSheetImport.prototype['isorphan'] = undefined;
|
|
276
256
|
|
|
257
|
+
/**
|
|
258
|
+
* @member {Boolean} published
|
|
259
|
+
*/
|
|
260
|
+
DataSheetImport.prototype['published'] = undefined;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @member {Boolean} communityeditable
|
|
264
|
+
*/
|
|
265
|
+
DataSheetImport.prototype['communityeditable'] = undefined;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @member {module:model/GraphRelationshipType} importrelationshiptype
|
|
269
|
+
*/
|
|
270
|
+
DataSheetImport.prototype['importrelationshiptype'] = undefined;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @member {Boolean} orphan
|
|
274
|
+
*/
|
|
275
|
+
DataSheetImport.prototype['orphan'] = undefined;
|
|
276
|
+
|
|
277
277
|
/**
|
|
278
278
|
* @member {module:model/User} creator
|
|
279
279
|
*/
|