@gobodo/gobodo-api 0.1.38 → 0.1.40
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 +6 -6
- 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 -3
- 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 +6 -13
- package/dist/model/APIClient.js +9 -9
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +14 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +10 -24
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +166 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +135 -0
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/Balance.js +20 -20
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +9 -9
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +20 -2
- package/dist/model/CreateStripeAccountInput.js +10 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +9 -9
- package/dist/model/DocumentType.js +10 -10
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +17 -17
- package/dist/model/File.js +9 -9
- package/dist/model/FileAttachmentUploadObject.js +9 -9
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- 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 +9 -9
- 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 +6 -6
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +11 -11
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.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 +24 -24
- package/dist/model/ImageUploadObject.js +24 -24
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +24 -24
- 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 +18 -18
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +9 -9
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +14 -14
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +11 -11
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +9 -9
- package/dist/model/PrivateMessageConversation.js +39 -39
- 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 +9 -9
- 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 +17 -17
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +18 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +11 -11
- package/dist/model/TemplateSchema.js +11 -11
- package/dist/model/ThemeMapping.js +14 -14
- package/dist/model/ThemeMappingPayload.js +9 -9
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +11 -11
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +11 -11
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +18 -18
- package/dist/model/UserDataPayload.js +18 -18
- 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 +18 -18
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +18 -18
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +18 -18
- package/dist/model/VideoUploadObject.js +18 -18
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
|
|
8
|
+
var _ApplicationPaymentAccountResponseFailureExceptionStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionStackTraceInner"));
|
|
9
|
+
var _ApplicationPaymentAccountResponseFailureExceptionSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionSuppressedInner"));
|
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
11
|
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); }
|
|
13
12
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
@@ -21,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
21
20
|
* gobodo-api
|
|
22
21
|
* REST Interface for Gobodo API
|
|
23
22
|
*
|
|
24
|
-
* The version of the OpenAPI document: 0.1.
|
|
23
|
+
* The version of the OpenAPI document: 0.1.40
|
|
25
24
|
* Contact: info@gobodo.io
|
|
26
25
|
*
|
|
27
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +31,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
32
31
|
/**
|
|
33
32
|
* The ApplicationPaymentAccountResponseFailureException model module.
|
|
34
33
|
* @module model/ApplicationPaymentAccountResponseFailureException
|
|
35
|
-
* @version 0.1.
|
|
34
|
+
* @version 0.1.40
|
|
36
35
|
*/
|
|
37
36
|
var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function () {
|
|
38
37
|
/**
|
|
@@ -65,17 +64,14 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
|
|
|
65
64
|
value: function constructFromObject(data, obj) {
|
|
66
65
|
if (data) {
|
|
67
66
|
obj = obj || new ApplicationPaymentAccountResponseFailureException();
|
|
68
|
-
if (data.hasOwnProperty('cause')) {
|
|
69
|
-
obj['cause'] = _ApplicationPaymentAccountResponseFailureExceptionCause["default"].constructFromObject(data['cause']);
|
|
70
|
-
}
|
|
71
67
|
if (data.hasOwnProperty('stackTrace')) {
|
|
72
|
-
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [
|
|
68
|
+
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionStackTraceInner["default"]]);
|
|
73
69
|
}
|
|
74
70
|
if (data.hasOwnProperty('message')) {
|
|
75
71
|
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
76
72
|
}
|
|
77
73
|
if (data.hasOwnProperty('suppressed')) {
|
|
78
|
-
obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [
|
|
74
|
+
obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionSuppressedInner["default"]]);
|
|
79
75
|
}
|
|
80
76
|
if (data.hasOwnProperty('localizedMessage')) {
|
|
81
77
|
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
@@ -92,11 +88,6 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
|
|
|
92
88
|
}, {
|
|
93
89
|
key: "validateJSON",
|
|
94
90
|
value: function validateJSON(data) {
|
|
95
|
-
// validate the optional field `cause`
|
|
96
|
-
if (data['cause']) {
|
|
97
|
-
// data not null
|
|
98
|
-
_ApplicationPaymentAccountResponseFailureExceptionCause["default"].validateJSON(data['cause']);
|
|
99
|
-
}
|
|
100
91
|
if (data['stackTrace']) {
|
|
101
92
|
// data not null
|
|
102
93
|
// ensure the json data is an array
|
|
@@ -109,7 +100,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
|
|
|
109
100
|
try {
|
|
110
101
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
111
102
|
var item = _step.value;
|
|
112
|
-
|
|
103
|
+
_ApplicationPaymentAccountResponseFailureExceptionStackTraceInner["default"].validateJSON(item);
|
|
113
104
|
}
|
|
114
105
|
} catch (err) {
|
|
115
106
|
_iterator.e(err);
|
|
@@ -134,7 +125,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
|
|
|
134
125
|
try {
|
|
135
126
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
136
127
|
var _item = _step2.value;
|
|
137
|
-
|
|
128
|
+
_ApplicationPaymentAccountResponseFailureExceptionSuppressedInner["default"].validateJSON(_item);
|
|
138
129
|
}
|
|
139
130
|
} catch (err) {
|
|
140
131
|
_iterator2.e(err);
|
|
@@ -153,12 +144,7 @@ var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function ()
|
|
|
153
144
|
return ApplicationPaymentAccountResponseFailureException;
|
|
154
145
|
}();
|
|
155
146
|
/**
|
|
156
|
-
* @member {module:model/
|
|
157
|
-
*/
|
|
158
|
-
ApplicationPaymentAccountResponseFailureException.prototype['cause'] = undefined;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
147
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner>} stackTrace
|
|
162
148
|
*/
|
|
163
149
|
ApplicationPaymentAccountResponseFailureException.prototype['stackTrace'] = undefined;
|
|
164
150
|
|
|
@@ -168,7 +154,7 @@ ApplicationPaymentAccountResponseFailureException.prototype['stackTrace'] = unde
|
|
|
168
154
|
ApplicationPaymentAccountResponseFailureException.prototype['message'] = undefined;
|
|
169
155
|
|
|
170
156
|
/**
|
|
171
|
-
* @member {Array.<module:model/
|
|
157
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner>} suppressed
|
|
172
158
|
*/
|
|
173
159
|
ApplicationPaymentAccountResponseFailureException.prototype['suppressed'] = undefined;
|
|
174
160
|
|
|
@@ -0,0 +1,166 @@
|
|
|
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.40
|
|
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 ApplicationPaymentAccountResponseFailureExceptionStackTraceInner model module.
|
|
28
|
+
* @module model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner
|
|
29
|
+
* @version 0.1.40
|
|
30
|
+
*/
|
|
31
|
+
var ApplicationPaymentAccountResponseFailureExceptionStackTraceInner = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code>.
|
|
34
|
+
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner
|
|
35
|
+
*/
|
|
36
|
+
function ApplicationPaymentAccountResponseFailureExceptionStackTraceInner() {
|
|
37
|
+
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionStackTraceInner);
|
|
38
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.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(ApplicationPaymentAccountResponseFailureExceptionStackTraceInner, null, [{
|
|
47
|
+
key: "initialize",
|
|
48
|
+
value: function initialize(obj) {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</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/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code> instance.
|
|
56
|
+
*/
|
|
57
|
+
}, {
|
|
58
|
+
key: "constructFromObject",
|
|
59
|
+
value: function constructFromObject(data, obj) {
|
|
60
|
+
if (data) {
|
|
61
|
+
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionStackTraceInner();
|
|
62
|
+
if (data.hasOwnProperty('classLoaderName')) {
|
|
63
|
+
obj['classLoaderName'] = _ApiClient["default"].convertToType(data['classLoaderName'], 'String');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('moduleName')) {
|
|
66
|
+
obj['moduleName'] = _ApiClient["default"].convertToType(data['moduleName'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('moduleVersion')) {
|
|
69
|
+
obj['moduleVersion'] = _ApiClient["default"].convertToType(data['moduleVersion'], 'String');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('methodName')) {
|
|
72
|
+
obj['methodName'] = _ApiClient["default"].convertToType(data['methodName'], 'String');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('fileName')) {
|
|
75
|
+
obj['fileName'] = _ApiClient["default"].convertToType(data['fileName'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('lineNumber')) {
|
|
78
|
+
obj['lineNumber'] = _ApiClient["default"].convertToType(data['lineNumber'], 'Number');
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('nativeMethod')) {
|
|
81
|
+
obj['nativeMethod'] = _ApiClient["default"].convertToType(data['nativeMethod'], 'Boolean');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('className')) {
|
|
84
|
+
obj['className'] = _ApiClient["default"].convertToType(data['className'], 'String');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return obj;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code>.
|
|
92
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionStackTraceInner</code>.
|
|
94
|
+
*/
|
|
95
|
+
}, {
|
|
96
|
+
key: "validateJSON",
|
|
97
|
+
value: function validateJSON(data) {
|
|
98
|
+
// ensure the json data is a string
|
|
99
|
+
if (data['classLoaderName'] && !(typeof data['classLoaderName'] === 'string' || data['classLoaderName'] instanceof String)) {
|
|
100
|
+
throw new Error("Expected the field `classLoaderName` to be a primitive type in the JSON string but got " + data['classLoaderName']);
|
|
101
|
+
}
|
|
102
|
+
// ensure the json data is a string
|
|
103
|
+
if (data['moduleName'] && !(typeof data['moduleName'] === 'string' || data['moduleName'] instanceof String)) {
|
|
104
|
+
throw new Error("Expected the field `moduleName` to be a primitive type in the JSON string but got " + data['moduleName']);
|
|
105
|
+
}
|
|
106
|
+
// ensure the json data is a string
|
|
107
|
+
if (data['moduleVersion'] && !(typeof data['moduleVersion'] === 'string' || data['moduleVersion'] instanceof String)) {
|
|
108
|
+
throw new Error("Expected the field `moduleVersion` to be a primitive type in the JSON string but got " + data['moduleVersion']);
|
|
109
|
+
}
|
|
110
|
+
// ensure the json data is a string
|
|
111
|
+
if (data['methodName'] && !(typeof data['methodName'] === 'string' || data['methodName'] instanceof String)) {
|
|
112
|
+
throw new Error("Expected the field `methodName` to be a primitive type in the JSON string but got " + data['methodName']);
|
|
113
|
+
}
|
|
114
|
+
// ensure the json data is a string
|
|
115
|
+
if (data['fileName'] && !(typeof data['fileName'] === 'string' || data['fileName'] instanceof String)) {
|
|
116
|
+
throw new Error("Expected the field `fileName` to be a primitive type in the JSON string but got " + data['fileName']);
|
|
117
|
+
}
|
|
118
|
+
// ensure the json data is a string
|
|
119
|
+
if (data['className'] && !(typeof data['className'] === 'string' || data['className'] instanceof String)) {
|
|
120
|
+
throw new Error("Expected the field `className` to be a primitive type in the JSON string but got " + data['className']);
|
|
121
|
+
}
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
}]);
|
|
125
|
+
return ApplicationPaymentAccountResponseFailureExceptionStackTraceInner;
|
|
126
|
+
}();
|
|
127
|
+
/**
|
|
128
|
+
* @member {String} classLoaderName
|
|
129
|
+
*/
|
|
130
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['classLoaderName'] = undefined;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @member {String} moduleName
|
|
134
|
+
*/
|
|
135
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['moduleName'] = undefined;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @member {String} moduleVersion
|
|
139
|
+
*/
|
|
140
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['moduleVersion'] = undefined;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @member {String} methodName
|
|
144
|
+
*/
|
|
145
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['methodName'] = undefined;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @member {String} fileName
|
|
149
|
+
*/
|
|
150
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['fileName'] = undefined;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @member {Number} lineNumber
|
|
154
|
+
*/
|
|
155
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['lineNumber'] = undefined;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @member {Boolean} nativeMethod
|
|
159
|
+
*/
|
|
160
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['nativeMethod'] = undefined;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @member {String} className
|
|
164
|
+
*/
|
|
165
|
+
ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.prototype['className'] = undefined;
|
|
166
|
+
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionStackTraceInner;
|
|
@@ -0,0 +1,135 @@
|
|
|
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
|
+
var _ApplicationPaymentAccountResponseFailureExceptionStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionStackTraceInner"));
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
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); }
|
|
11
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
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); } /**
|
|
19
|
+
* gobodo-api
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.40
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The ApplicationPaymentAccountResponseFailureExceptionSuppressedInner model module.
|
|
32
|
+
* @module model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner
|
|
33
|
+
* @version 0.1.40
|
|
34
|
+
*/
|
|
35
|
+
var ApplicationPaymentAccountResponseFailureExceptionSuppressedInner = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionSuppressedInner</code>.
|
|
38
|
+
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner
|
|
39
|
+
*/
|
|
40
|
+
function ApplicationPaymentAccountResponseFailureExceptionSuppressedInner() {
|
|
41
|
+
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionSuppressedInner);
|
|
42
|
+
ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.initialize(this);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
_createClass(ApplicationPaymentAccountResponseFailureExceptionSuppressedInner, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj) {}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionSuppressedInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner} The populated <code>ApplicationPaymentAccountResponseFailureExceptionSuppressedInner</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
}, {
|
|
62
|
+
key: "constructFromObject",
|
|
63
|
+
value: function constructFromObject(data, obj) {
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionSuppressedInner();
|
|
66
|
+
if (data.hasOwnProperty('stackTrace')) {
|
|
67
|
+
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionStackTraceInner["default"]]);
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('message')) {
|
|
70
|
+
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('localizedMessage')) {
|
|
73
|
+
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionSuppressedInner</code>.
|
|
81
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
82
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionSuppressedInner</code>.
|
|
83
|
+
*/
|
|
84
|
+
}, {
|
|
85
|
+
key: "validateJSON",
|
|
86
|
+
value: function validateJSON(data) {
|
|
87
|
+
if (data['stackTrace']) {
|
|
88
|
+
// data not null
|
|
89
|
+
// ensure the json data is an array
|
|
90
|
+
if (!Array.isArray(data['stackTrace'])) {
|
|
91
|
+
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
92
|
+
}
|
|
93
|
+
// validate the optional field `stackTrace` (array)
|
|
94
|
+
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
95
|
+
_step;
|
|
96
|
+
try {
|
|
97
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
98
|
+
var item = _step.value;
|
|
99
|
+
_ApplicationPaymentAccountResponseFailureExceptionStackTraceInner["default"].validateJSON(item);
|
|
100
|
+
}
|
|
101
|
+
} catch (err) {
|
|
102
|
+
_iterator.e(err);
|
|
103
|
+
} finally {
|
|
104
|
+
_iterator.f();
|
|
105
|
+
}
|
|
106
|
+
;
|
|
107
|
+
}
|
|
108
|
+
// ensure the json data is a string
|
|
109
|
+
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
110
|
+
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
111
|
+
}
|
|
112
|
+
// ensure the json data is a string
|
|
113
|
+
if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
|
|
114
|
+
throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
|
|
115
|
+
}
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
}]);
|
|
119
|
+
return ApplicationPaymentAccountResponseFailureExceptionSuppressedInner;
|
|
120
|
+
}();
|
|
121
|
+
/**
|
|
122
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner>} stackTrace
|
|
123
|
+
*/
|
|
124
|
+
ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.prototype['stackTrace'] = undefined;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @member {String} message
|
|
128
|
+
*/
|
|
129
|
+
ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.prototype['message'] = undefined;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @member {String} localizedMessage
|
|
133
|
+
*/
|
|
134
|
+
ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.prototype['localizedMessage'] = undefined;
|
|
135
|
+
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionSuppressedInner;
|
package/dist/model/Article.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.40
|
|
23
23
|
* Contact: info@gobodo.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
30
|
/**
|
|
31
31
|
* The Article model module.
|
|
32
32
|
* @module model/Article
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.40
|
|
34
34
|
*/
|
|
35
35
|
var Article = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -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.40
|
|
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 AuthResponse model module.
|
|
28
28
|
* @module model/AuthResponse
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.40
|
|
30
30
|
*/
|
|
31
31
|
var AuthResponse = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Balance.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.40
|
|
23
23
|
* Contact: info@gobodo.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
30
|
/**
|
|
31
31
|
* The Balance model module.
|
|
32
32
|
* @module model/Balance
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.40
|
|
34
34
|
*/
|
|
35
35
|
var Balance = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -66,14 +66,14 @@ var Balance = /*#__PURE__*/function () {
|
|
|
66
66
|
if (data.hasOwnProperty('availableBalances')) {
|
|
67
67
|
obj['availableBalances'] = _ApiClient["default"].convertToType(data['availableBalances'], [_BalanceDetails["default"]]);
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty('
|
|
70
|
-
obj['
|
|
69
|
+
if (data.hasOwnProperty('pendingBalances')) {
|
|
70
|
+
obj['pendingBalances'] = _ApiClient["default"].convertToType(data['pendingBalances'], [_BalanceDetails["default"]]);
|
|
71
71
|
}
|
|
72
72
|
if (data.hasOwnProperty('reservedBalances')) {
|
|
73
73
|
obj['reservedBalances'] = _ApiClient["default"].convertToType(data['reservedBalances'], [_BalanceDetails["default"]]);
|
|
74
74
|
}
|
|
75
|
-
if (data.hasOwnProperty('
|
|
76
|
-
obj['
|
|
75
|
+
if (data.hasOwnProperty('instantAvailableBalances')) {
|
|
76
|
+
obj['instantAvailableBalances'] = _ApiClient["default"].convertToType(data['instantAvailableBalances'], [_BalanceDetails["default"]]);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
return obj;
|
|
@@ -108,14 +108,14 @@ var Balance = /*#__PURE__*/function () {
|
|
|
108
108
|
}
|
|
109
109
|
;
|
|
110
110
|
}
|
|
111
|
-
if (data['
|
|
111
|
+
if (data['pendingBalances']) {
|
|
112
112
|
// data not null
|
|
113
113
|
// ensure the json data is an array
|
|
114
|
-
if (!Array.isArray(data['
|
|
115
|
-
throw new Error("Expected the field `
|
|
114
|
+
if (!Array.isArray(data['pendingBalances'])) {
|
|
115
|
+
throw new Error("Expected the field `pendingBalances` to be an array in the JSON data but got " + data['pendingBalances']);
|
|
116
116
|
}
|
|
117
|
-
// validate the optional field `
|
|
118
|
-
var _iterator2 = _createForOfIteratorHelper(data['
|
|
117
|
+
// validate the optional field `pendingBalances` (array)
|
|
118
|
+
var _iterator2 = _createForOfIteratorHelper(data['pendingBalances']),
|
|
119
119
|
_step2;
|
|
120
120
|
try {
|
|
121
121
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -150,14 +150,14 @@ var Balance = /*#__PURE__*/function () {
|
|
|
150
150
|
}
|
|
151
151
|
;
|
|
152
152
|
}
|
|
153
|
-
if (data['
|
|
153
|
+
if (data['instantAvailableBalances']) {
|
|
154
154
|
// data not null
|
|
155
155
|
// ensure the json data is an array
|
|
156
|
-
if (!Array.isArray(data['
|
|
157
|
-
throw new Error("Expected the field `
|
|
156
|
+
if (!Array.isArray(data['instantAvailableBalances'])) {
|
|
157
|
+
throw new Error("Expected the field `instantAvailableBalances` to be an array in the JSON data but got " + data['instantAvailableBalances']);
|
|
158
158
|
}
|
|
159
|
-
// validate the optional field `
|
|
160
|
-
var _iterator4 = _createForOfIteratorHelper(data['
|
|
159
|
+
// validate the optional field `instantAvailableBalances` (array)
|
|
160
|
+
var _iterator4 = _createForOfIteratorHelper(data['instantAvailableBalances']),
|
|
161
161
|
_step4;
|
|
162
162
|
try {
|
|
163
163
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
@@ -182,9 +182,9 @@ var Balance = /*#__PURE__*/function () {
|
|
|
182
182
|
Balance.prototype['availableBalances'] = undefined;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* @member {Array.<module:model/BalanceDetails>}
|
|
185
|
+
* @member {Array.<module:model/BalanceDetails>} pendingBalances
|
|
186
186
|
*/
|
|
187
|
-
Balance.prototype['
|
|
187
|
+
Balance.prototype['pendingBalances'] = undefined;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* @member {Array.<module:model/BalanceDetails>} reservedBalances
|
|
@@ -192,7 +192,7 @@ Balance.prototype['instantAvailableBalances'] = undefined;
|
|
|
192
192
|
Balance.prototype['reservedBalances'] = undefined;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
* @member {Array.<module:model/BalanceDetails>}
|
|
195
|
+
* @member {Array.<module:model/BalanceDetails>} instantAvailableBalances
|
|
196
196
|
*/
|
|
197
|
-
Balance.prototype['
|
|
197
|
+
Balance.prototype['instantAvailableBalances'] = undefined;
|
|
198
198
|
var _default = exports["default"] = Balance;
|
|
@@ -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.40
|
|
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 BalanceDetails model module.
|
|
29
29
|
* @module model/BalanceDetails
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.40
|
|
31
31
|
*/
|
|
32
32
|
var BalanceDetails = /*#__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.40
|
|
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 BalanceResponse model module.
|
|
29
29
|
* @module model/BalanceResponse
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.40
|
|
31
31
|
*/
|
|
32
32
|
var BalanceResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|