@gobodo/gobodo-api 0.1.14 → 0.1.16
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 +16 -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 +287 -25
- 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 +42 -14
- package/dist/model/APIClient.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +116 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +179 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +165 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +166 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +135 -0
- package/dist/model/Article.js +38 -38
- package/dist/model/Authorization.js +2 -2
- package/dist/model/BankAccountInfo.js +3 -2
- package/dist/model/CardInfo.js +3 -2
- 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/CustomerResponse.js +116 -0
- 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 +38 -38
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +9 -9
- package/dist/model/DocumentType.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +14 -14
- 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 +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 +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/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 +9 -9
- package/dist/model/ImageUploadObject.js +9 -9
- package/dist/model/InputPart.js +2 -2
- 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 +18 -18
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +2 -2
- 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 +2 -2
- package/dist/model/Pageable.js +9 -9
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentIntentInput.js +12 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodInput.js +14 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- 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 +14 -14
- package/dist/model/SocialGroup.js +10 -10
- package/dist/model/SocialGroupType.js +2 -2
- 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 +16 -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 +2 -2
- package/dist/model/UserDataPayload.js +2 -2
- 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 +2 -2
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +16 -16
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +16 -16
- package/dist/model/VideoUploadObject.js +16 -16
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
package/dist/api/VideosApi.js
CHANGED
|
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
23
23
|
* gobodo-api
|
|
24
24
|
* REST Interface for Gobodo API
|
|
25
25
|
*
|
|
26
|
-
* The version of the OpenAPI document: 0.1.
|
|
26
|
+
* The version of the OpenAPI document: 0.1.16
|
|
27
27
|
* Contact: info@gobodo.io
|
|
28
28
|
*
|
|
29
29
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
34
34
|
/**
|
|
35
35
|
* Videos service.
|
|
36
36
|
* @module api/VideosApi
|
|
37
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.16
|
|
38
38
|
*/
|
|
39
39
|
var VideosApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
package/dist/index.js
CHANGED
|
@@ -45,6 +45,36 @@ Object.defineProperty(exports, "ApiClient", {
|
|
|
45
45
|
return _ApiClient["default"];
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
+
Object.defineProperty(exports, "ApplicationPaymentAccountResponse", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _ApplicationPaymentAccountResponse["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "ApplicationPaymentAccountResponseFailureException", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _ApplicationPaymentAccountResponseFailureException["default"];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "ApplicationPaymentAccountResponseFailureExceptionCause", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _ApplicationPaymentAccountResponseFailureExceptionCause["default"];
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"];
|
|
76
|
+
}
|
|
77
|
+
});
|
|
48
78
|
Object.defineProperty(exports, "Article", {
|
|
49
79
|
enumerable: true,
|
|
50
80
|
get: function get() {
|
|
@@ -123,12 +153,6 @@ Object.defineProperty(exports, "CreateAccountResponse", {
|
|
|
123
153
|
return _CreateAccountResponse["default"];
|
|
124
154
|
}
|
|
125
155
|
});
|
|
126
|
-
Object.defineProperty(exports, "CreateCustomerResponse", {
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function get() {
|
|
129
|
-
return _CreateCustomerResponse["default"];
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
156
|
Object.defineProperty(exports, "CreateStripeAccountInput", {
|
|
133
157
|
enumerable: true,
|
|
134
158
|
get: function get() {
|
|
@@ -141,6 +165,12 @@ Object.defineProperty(exports, "CreateStripeCustomerInput", {
|
|
|
141
165
|
return _CreateStripeCustomerInput["default"];
|
|
142
166
|
}
|
|
143
167
|
});
|
|
168
|
+
Object.defineProperty(exports, "CustomerResponse", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _CustomerResponse["default"];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
144
174
|
Object.defineProperty(exports, "DataObject", {
|
|
145
175
|
enumerable: true,
|
|
146
176
|
get: function get() {
|
|
@@ -363,12 +393,6 @@ Object.defineProperty(exports, "GraphIteratorEntryPart", {
|
|
|
363
393
|
return _GraphIteratorEntryPart["default"];
|
|
364
394
|
}
|
|
365
395
|
});
|
|
366
|
-
Object.defineProperty(exports, "GraphIteratorEntryPartStackTraceInner", {
|
|
367
|
-
enumerable: true,
|
|
368
|
-
get: function get() {
|
|
369
|
-
return _GraphIteratorEntryPartStackTraceInner["default"];
|
|
370
|
-
}
|
|
371
|
-
});
|
|
372
396
|
Object.defineProperty(exports, "GraphObject", {
|
|
373
397
|
enumerable: true,
|
|
374
398
|
get: function get() {
|
|
@@ -1001,6 +1025,11 @@ Object.defineProperty(exports, "ZeusPortalCategory", {
|
|
|
1001
1025
|
});
|
|
1002
1026
|
var _ApiClient = _interopRequireDefault(require("./ApiClient"));
|
|
1003
1027
|
var _APIClient = _interopRequireDefault(require("./model/APIClient"));
|
|
1028
|
+
var _ApplicationPaymentAccountResponse = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponse"));
|
|
1029
|
+
var _ApplicationPaymentAccountResponseFailureException = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponseFailureException"));
|
|
1030
|
+
var _ApplicationPaymentAccountResponseFailureExceptionCause = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponseFailureExceptionCause"));
|
|
1031
|
+
var _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
|
|
1032
|
+
var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
|
|
1004
1033
|
var _Article = _interopRequireDefault(require("./model/Article"));
|
|
1005
1034
|
var _Authorization = _interopRequireDefault(require("./model/Authorization"));
|
|
1006
1035
|
var _BankAccountInfo = _interopRequireDefault(require("./model/BankAccountInfo"));
|
|
@@ -1008,9 +1037,9 @@ var _CardInfo = _interopRequireDefault(require("./model/CardInfo"));
|
|
|
1008
1037
|
var _Comment = _interopRequireDefault(require("./model/Comment"));
|
|
1009
1038
|
var _Coordinates = _interopRequireDefault(require("./model/Coordinates"));
|
|
1010
1039
|
var _CreateAccountResponse = _interopRequireDefault(require("./model/CreateAccountResponse"));
|
|
1011
|
-
var _CreateCustomerResponse = _interopRequireDefault(require("./model/CreateCustomerResponse"));
|
|
1012
1040
|
var _CreateStripeAccountInput = _interopRequireDefault(require("./model/CreateStripeAccountInput"));
|
|
1013
1041
|
var _CreateStripeCustomerInput = _interopRequireDefault(require("./model/CreateStripeCustomerInput"));
|
|
1042
|
+
var _CustomerResponse = _interopRequireDefault(require("./model/CustomerResponse"));
|
|
1014
1043
|
var _DataObject = _interopRequireDefault(require("./model/DataObject"));
|
|
1015
1044
|
var _DataSheetImport = _interopRequireDefault(require("./model/DataSheetImport"));
|
|
1016
1045
|
var _DataSheetImportPrivacySettings = _interopRequireDefault(require("./model/DataSheetImportPrivacySettings"));
|
|
@@ -1036,7 +1065,6 @@ var _GraphAction = _interopRequireDefault(require("./model/GraphAction"));
|
|
|
1036
1065
|
var _GraphDatabaseService = _interopRequireDefault(require("./model/GraphDatabaseService"));
|
|
1037
1066
|
var _GraphGeocode = _interopRequireDefault(require("./model/GraphGeocode"));
|
|
1038
1067
|
var _GraphIteratorEntryPart = _interopRequireDefault(require("./model/GraphIteratorEntryPart"));
|
|
1039
|
-
var _GraphIteratorEntryPartStackTraceInner = _interopRequireDefault(require("./model/GraphIteratorEntryPartStackTraceInner"));
|
|
1040
1068
|
var _GraphObject = _interopRequireDefault(require("./model/GraphObject"));
|
|
1041
1069
|
var _GraphObjectPayload = _interopRequireDefault(require("./model/GraphObjectPayload"));
|
|
1042
1070
|
var _GraphObjectSchema = _interopRequireDefault(require("./model/GraphObjectSchema"));
|
package/dist/model/APIClient.js
CHANGED
|
@@ -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.16
|
|
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 APIClient model module.
|
|
29
29
|
* @module model/APIClient
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.16
|
|
31
31
|
*/
|
|
32
32
|
var APIClient = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -0,0 +1,116 @@
|
|
|
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 _ApplicationPaymentAccountResponseFailureException = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureException"));
|
|
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12
|
+
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); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
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); } /**
|
|
16
|
+
* gobodo-api
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.16
|
|
20
|
+
* Contact: info@gobodo.io
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* The ApplicationPaymentAccountResponse model module.
|
|
29
|
+
* @module model/ApplicationPaymentAccountResponse
|
|
30
|
+
* @version 0.1.16
|
|
31
|
+
*/
|
|
32
|
+
var ApplicationPaymentAccountResponse = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new <code>ApplicationPaymentAccountResponse</code>.
|
|
35
|
+
* @alias module:model/ApplicationPaymentAccountResponse
|
|
36
|
+
*/
|
|
37
|
+
function ApplicationPaymentAccountResponse() {
|
|
38
|
+
_classCallCheck(this, ApplicationPaymentAccountResponse);
|
|
39
|
+
ApplicationPaymentAccountResponse.initialize(this);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Initializes the fields of this object.
|
|
44
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
45
|
+
* Only for internal use.
|
|
46
|
+
*/
|
|
47
|
+
_createClass(ApplicationPaymentAccountResponse, null, [{
|
|
48
|
+
key: "initialize",
|
|
49
|
+
value: function initialize(obj) {}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Constructs a <code>ApplicationPaymentAccountResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
53
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
54
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
55
|
+
* @param {module:model/ApplicationPaymentAccountResponse} obj Optional instance to populate.
|
|
56
|
+
* @return {module:model/ApplicationPaymentAccountResponse} The populated <code>ApplicationPaymentAccountResponse</code> instance.
|
|
57
|
+
*/
|
|
58
|
+
}, {
|
|
59
|
+
key: "constructFromObject",
|
|
60
|
+
value: function constructFromObject(data, obj) {
|
|
61
|
+
if (data) {
|
|
62
|
+
obj = obj || new ApplicationPaymentAccountResponse();
|
|
63
|
+
if (data.hasOwnProperty('accountId')) {
|
|
64
|
+
obj['accountId'] = _ApiClient["default"].convertToType(data['accountId'], 'Number');
|
|
65
|
+
}
|
|
66
|
+
if (data.hasOwnProperty('siteId')) {
|
|
67
|
+
obj['siteId'] = _ApiClient["default"].convertToType(data['siteId'], 'Number');
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('applicationId')) {
|
|
70
|
+
obj['applicationId'] = _ApiClient["default"].convertToType(data['applicationId'], 'Number');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('failureException')) {
|
|
73
|
+
obj['failureException'] = _ApplicationPaymentAccountResponseFailureException["default"].constructFromObject(data['failureException']);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return obj;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponse</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>ApplicationPaymentAccountResponse</code>.
|
|
83
|
+
*/
|
|
84
|
+
}, {
|
|
85
|
+
key: "validateJSON",
|
|
86
|
+
value: function validateJSON(data) {
|
|
87
|
+
// validate the optional field `failureException`
|
|
88
|
+
if (data['failureException']) {
|
|
89
|
+
// data not null
|
|
90
|
+
_ApplicationPaymentAccountResponseFailureException["default"].validateJSON(data['failureException']);
|
|
91
|
+
}
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
}]);
|
|
95
|
+
return ApplicationPaymentAccountResponse;
|
|
96
|
+
}();
|
|
97
|
+
/**
|
|
98
|
+
* @member {Number} accountId
|
|
99
|
+
*/
|
|
100
|
+
ApplicationPaymentAccountResponse.prototype['accountId'] = undefined;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @member {Number} siteId
|
|
104
|
+
*/
|
|
105
|
+
ApplicationPaymentAccountResponse.prototype['siteId'] = undefined;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @member {Number} applicationId
|
|
109
|
+
*/
|
|
110
|
+
ApplicationPaymentAccountResponse.prototype['applicationId'] = undefined;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @member {module:model/ApplicationPaymentAccountResponseFailureException} failureException
|
|
114
|
+
*/
|
|
115
|
+
ApplicationPaymentAccountResponse.prototype['failureException'] = undefined;
|
|
116
|
+
var _default = exports["default"] = ApplicationPaymentAccountResponse;
|
|
@@ -0,0 +1,179 @@
|
|
|
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 _ApplicationPaymentAccountResponseFailureExceptionCause = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCause"));
|
|
9
|
+
var _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
|
|
10
|
+
var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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
|
+
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; } } }; }
|
|
14
|
+
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); }
|
|
15
|
+
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; }
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
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); } }
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
20
|
+
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); } /**
|
|
21
|
+
* gobodo-api
|
|
22
|
+
* REST Interface for Gobodo API
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: 0.1.16
|
|
25
|
+
* Contact: info@gobodo.io
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* The ApplicationPaymentAccountResponseFailureException model module.
|
|
34
|
+
* @module model/ApplicationPaymentAccountResponseFailureException
|
|
35
|
+
* @version 0.1.16
|
|
36
|
+
*/
|
|
37
|
+
var ApplicationPaymentAccountResponseFailureException = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new <code>ApplicationPaymentAccountResponseFailureException</code>.
|
|
40
|
+
* @alias module:model/ApplicationPaymentAccountResponseFailureException
|
|
41
|
+
*/
|
|
42
|
+
function ApplicationPaymentAccountResponseFailureException() {
|
|
43
|
+
_classCallCheck(this, ApplicationPaymentAccountResponseFailureException);
|
|
44
|
+
ApplicationPaymentAccountResponseFailureException.initialize(this);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
_createClass(ApplicationPaymentAccountResponseFailureException, null, [{
|
|
53
|
+
key: "initialize",
|
|
54
|
+
value: function initialize(obj) {}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Constructs a <code>ApplicationPaymentAccountResponseFailureException</code> from a plain JavaScript object, optionally creating a new instance.
|
|
58
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
59
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
60
|
+
* @param {module:model/ApplicationPaymentAccountResponseFailureException} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/ApplicationPaymentAccountResponseFailureException} The populated <code>ApplicationPaymentAccountResponseFailureException</code> instance.
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "constructFromObject",
|
|
65
|
+
value: function constructFromObject(data, obj) {
|
|
66
|
+
if (data) {
|
|
67
|
+
obj = obj || new ApplicationPaymentAccountResponseFailureException();
|
|
68
|
+
if (data.hasOwnProperty('cause')) {
|
|
69
|
+
obj['cause'] = _ApplicationPaymentAccountResponseFailureExceptionCause["default"].constructFromObject(data['cause']);
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('stackTrace')) {
|
|
72
|
+
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('message')) {
|
|
75
|
+
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('suppressed')) {
|
|
78
|
+
obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"]]);
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('localizedMessage')) {
|
|
81
|
+
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureException</code>.
|
|
89
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureException</code>.
|
|
91
|
+
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "validateJSON",
|
|
94
|
+
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
|
+
if (data['stackTrace']) {
|
|
101
|
+
// data not null
|
|
102
|
+
// ensure the json data is an array
|
|
103
|
+
if (!Array.isArray(data['stackTrace'])) {
|
|
104
|
+
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
105
|
+
}
|
|
106
|
+
// validate the optional field `stackTrace` (array)
|
|
107
|
+
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
108
|
+
_step;
|
|
109
|
+
try {
|
|
110
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
111
|
+
var item = _step.value;
|
|
112
|
+
_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
|
|
113
|
+
}
|
|
114
|
+
} catch (err) {
|
|
115
|
+
_iterator.e(err);
|
|
116
|
+
} finally {
|
|
117
|
+
_iterator.f();
|
|
118
|
+
}
|
|
119
|
+
;
|
|
120
|
+
}
|
|
121
|
+
// ensure the json data is a string
|
|
122
|
+
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
123
|
+
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
124
|
+
}
|
|
125
|
+
if (data['suppressed']) {
|
|
126
|
+
// data not null
|
|
127
|
+
// ensure the json data is an array
|
|
128
|
+
if (!Array.isArray(data['suppressed'])) {
|
|
129
|
+
throw new Error("Expected the field `suppressed` to be an array in the JSON data but got " + data['suppressed']);
|
|
130
|
+
}
|
|
131
|
+
// validate the optional field `suppressed` (array)
|
|
132
|
+
var _iterator2 = _createForOfIteratorHelper(data['suppressed']),
|
|
133
|
+
_step2;
|
|
134
|
+
try {
|
|
135
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
136
|
+
var _item = _step2.value;
|
|
137
|
+
_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"].validateJSON(_item);
|
|
138
|
+
}
|
|
139
|
+
} catch (err) {
|
|
140
|
+
_iterator2.e(err);
|
|
141
|
+
} finally {
|
|
142
|
+
_iterator2.f();
|
|
143
|
+
}
|
|
144
|
+
;
|
|
145
|
+
}
|
|
146
|
+
// ensure the json data is a string
|
|
147
|
+
if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
|
|
148
|
+
throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
|
|
149
|
+
}
|
|
150
|
+
return true;
|
|
151
|
+
}
|
|
152
|
+
}]);
|
|
153
|
+
return ApplicationPaymentAccountResponseFailureException;
|
|
154
|
+
}();
|
|
155
|
+
/**
|
|
156
|
+
* @member {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} cause
|
|
157
|
+
*/
|
|
158
|
+
ApplicationPaymentAccountResponseFailureException.prototype['cause'] = undefined;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
162
|
+
*/
|
|
163
|
+
ApplicationPaymentAccountResponseFailureException.prototype['stackTrace'] = undefined;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @member {String} message
|
|
167
|
+
*/
|
|
168
|
+
ApplicationPaymentAccountResponseFailureException.prototype['message'] = undefined;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
|
|
172
|
+
*/
|
|
173
|
+
ApplicationPaymentAccountResponseFailureException.prototype['suppressed'] = undefined;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @member {String} localizedMessage
|
|
177
|
+
*/
|
|
178
|
+
ApplicationPaymentAccountResponseFailureException.prototype['localizedMessage'] = undefined;
|
|
179
|
+
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureException;
|
|
@@ -0,0 +1,165 @@
|
|
|
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 _ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner"));
|
|
9
|
+
var _ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner = _interopRequireDefault(require("./ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
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); }
|
|
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; } } }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
+
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); } }
|
|
17
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
19
|
+
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); } /**
|
|
20
|
+
* gobodo-api
|
|
21
|
+
* REST Interface for Gobodo API
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: 0.1.16
|
|
24
|
+
* Contact: info@gobodo.io
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* The ApplicationPaymentAccountResponseFailureExceptionCause model module.
|
|
33
|
+
* @module model/ApplicationPaymentAccountResponseFailureExceptionCause
|
|
34
|
+
* @version 0.1.16
|
|
35
|
+
*/
|
|
36
|
+
var ApplicationPaymentAccountResponseFailureExceptionCause = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
|
|
39
|
+
* @alias module:model/ApplicationPaymentAccountResponseFailureExceptionCause
|
|
40
|
+
*/
|
|
41
|
+
function ApplicationPaymentAccountResponseFailureExceptionCause() {
|
|
42
|
+
_classCallCheck(this, ApplicationPaymentAccountResponseFailureExceptionCause);
|
|
43
|
+
ApplicationPaymentAccountResponseFailureExceptionCause.initialize(this);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Initializes the fields of this object.
|
|
48
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
|
+
* Only for internal use.
|
|
50
|
+
*/
|
|
51
|
+
_createClass(ApplicationPaymentAccountResponseFailureExceptionCause, null, [{
|
|
52
|
+
key: "initialize",
|
|
53
|
+
value: function initialize(obj) {}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Constructs a <code>ApplicationPaymentAccountResponseFailureExceptionCause</code> from a plain JavaScript object, optionally creating a new instance.
|
|
57
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
58
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
59
|
+
* @param {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} obj Optional instance to populate.
|
|
60
|
+
* @return {module:model/ApplicationPaymentAccountResponseFailureExceptionCause} The populated <code>ApplicationPaymentAccountResponseFailureExceptionCause</code> instance.
|
|
61
|
+
*/
|
|
62
|
+
}, {
|
|
63
|
+
key: "constructFromObject",
|
|
64
|
+
value: function constructFromObject(data, obj) {
|
|
65
|
+
if (data) {
|
|
66
|
+
obj = obj || new ApplicationPaymentAccountResponseFailureExceptionCause();
|
|
67
|
+
if (data.hasOwnProperty('stackTrace')) {
|
|
68
|
+
obj['stackTrace'] = _ApiClient["default"].convertToType(data['stackTrace'], [_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"]]);
|
|
69
|
+
}
|
|
70
|
+
if (data.hasOwnProperty('message')) {
|
|
71
|
+
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
72
|
+
}
|
|
73
|
+
if (data.hasOwnProperty('suppressed')) {
|
|
74
|
+
obj['suppressed'] = _ApiClient["default"].convertToType(data['suppressed'], [_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"]]);
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('localizedMessage')) {
|
|
77
|
+
obj['localizedMessage'] = _ApiClient["default"].convertToType(data['localizedMessage'], 'String');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return obj;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Validates the JSON data with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
|
|
85
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
86
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ApplicationPaymentAccountResponseFailureExceptionCause</code>.
|
|
87
|
+
*/
|
|
88
|
+
}, {
|
|
89
|
+
key: "validateJSON",
|
|
90
|
+
value: function validateJSON(data) {
|
|
91
|
+
if (data['stackTrace']) {
|
|
92
|
+
// data not null
|
|
93
|
+
// ensure the json data is an array
|
|
94
|
+
if (!Array.isArray(data['stackTrace'])) {
|
|
95
|
+
throw new Error("Expected the field `stackTrace` to be an array in the JSON data but got " + data['stackTrace']);
|
|
96
|
+
}
|
|
97
|
+
// validate the optional field `stackTrace` (array)
|
|
98
|
+
var _iterator = _createForOfIteratorHelper(data['stackTrace']),
|
|
99
|
+
_step;
|
|
100
|
+
try {
|
|
101
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
102
|
+
var item = _step.value;
|
|
103
|
+
_ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner["default"].validateJSON(item);
|
|
104
|
+
}
|
|
105
|
+
} catch (err) {
|
|
106
|
+
_iterator.e(err);
|
|
107
|
+
} finally {
|
|
108
|
+
_iterator.f();
|
|
109
|
+
}
|
|
110
|
+
;
|
|
111
|
+
}
|
|
112
|
+
// ensure the json data is a string
|
|
113
|
+
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
114
|
+
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
115
|
+
}
|
|
116
|
+
if (data['suppressed']) {
|
|
117
|
+
// data not null
|
|
118
|
+
// ensure the json data is an array
|
|
119
|
+
if (!Array.isArray(data['suppressed'])) {
|
|
120
|
+
throw new Error("Expected the field `suppressed` to be an array in the JSON data but got " + data['suppressed']);
|
|
121
|
+
}
|
|
122
|
+
// validate the optional field `suppressed` (array)
|
|
123
|
+
var _iterator2 = _createForOfIteratorHelper(data['suppressed']),
|
|
124
|
+
_step2;
|
|
125
|
+
try {
|
|
126
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
127
|
+
var _item = _step2.value;
|
|
128
|
+
_ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner["default"].validateJSON(_item);
|
|
129
|
+
}
|
|
130
|
+
} catch (err) {
|
|
131
|
+
_iterator2.e(err);
|
|
132
|
+
} finally {
|
|
133
|
+
_iterator2.f();
|
|
134
|
+
}
|
|
135
|
+
;
|
|
136
|
+
}
|
|
137
|
+
// ensure the json data is a string
|
|
138
|
+
if (data['localizedMessage'] && !(typeof data['localizedMessage'] === 'string' || data['localizedMessage'] instanceof String)) {
|
|
139
|
+
throw new Error("Expected the field `localizedMessage` to be a primitive type in the JSON string but got " + data['localizedMessage']);
|
|
140
|
+
}
|
|
141
|
+
return true;
|
|
142
|
+
}
|
|
143
|
+
}]);
|
|
144
|
+
return ApplicationPaymentAccountResponseFailureExceptionCause;
|
|
145
|
+
}();
|
|
146
|
+
/**
|
|
147
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner>} stackTrace
|
|
148
|
+
*/
|
|
149
|
+
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['stackTrace'] = undefined;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @member {String} message
|
|
153
|
+
*/
|
|
154
|
+
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['message'] = undefined;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @member {Array.<module:model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner>} suppressed
|
|
158
|
+
*/
|
|
159
|
+
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['suppressed'] = undefined;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @member {String} localizedMessage
|
|
163
|
+
*/
|
|
164
|
+
ApplicationPaymentAccountResponseFailureExceptionCause.prototype['localizedMessage'] = undefined;
|
|
165
|
+
var _default = exports["default"] = ApplicationPaymentAccountResponseFailureExceptionCause;
|