@gobodo/gobodo-api 0.1.24 → 0.1.26
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 +13 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +6 -2
- package/dist/api/AdCampaignsApi.js +34 -2
- package/dist/api/AdManagementApi.js +50 -2
- package/dist/api/AdminDataManagementApi.js +6 -2
- package/dist/api/AdsApi.js +26 -2
- package/dist/api/AttachmentsApi.js +30 -2
- package/dist/api/AuthenticationApi.js +76 -5
- package/dist/api/CategoriesApi.js +30 -2
- package/dist/api/CommentsApi.js +34 -2
- package/dist/api/ContentManagementApi.js +98 -2
- package/dist/api/ConversationsApi.js +38 -2
- package/dist/api/DataSheetImportsApi.js +62 -2
- package/dist/api/DefaultApi.js +46 -2
- package/dist/api/DocumentsApi.js +54 -2
- package/dist/api/EntryPartsApi.js +54 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +14 -2
- package/dist/api/FilesApi.js +6 -2
- package/dist/api/FormsApi.js +74 -2
- package/dist/api/FunctionsApi.js +6 -2
- package/dist/api/GeocodeApi.js +22 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +42 -2
- package/dist/api/GraphObjectTypesApi.js +38 -2
- package/dist/api/GraphObjectsApi.js +258 -2
- package/dist/api/GraphRelationshipTypesApi.js +70 -2
- package/dist/api/GraphRelationshipsApi.js +126 -2
- package/dist/api/GraphSchemasApi.js +30 -2
- package/dist/api/GraphTraversalApi.js +22 -2
- package/dist/api/GraphsApi.js +46 -2
- package/dist/api/GroupsApi.js +46 -2
- package/dist/api/IAMApi.js +18 -2
- package/dist/api/ImagesApi.js +34 -2
- package/dist/api/InvitesApi.js +22 -2
- package/dist/api/LikesApi.js +50 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +10 -2
- package/dist/api/MeetingEventsApi.js +22 -2
- package/dist/api/PagesApi.js +38 -2
- package/dist/api/PostsApi.js +22 -2
- package/dist/api/PrivateMessagesApi.js +66 -2
- package/dist/api/PublicationsApi.js +6 -2
- package/dist/api/ScreensApi.js +14 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +407 -2
- package/dist/api/TagsApi.js +6 -2
- package/dist/api/TemplatesApi.js +14 -2
- package/dist/api/ThemeMappingsApi.js +14 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +38 -2
- package/dist/api/UsersApi.js +38 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +46 -2
- package/dist/index.js +7 -0
- package/dist/model/APIClient.js +2 -2
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
- package/dist/model/Article.js +38 -38
- package/dist/model/Authorization.js +2 -2
- package/dist/model/Balance.js +2 -2
- 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 +14 -14
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -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 +57 -57
- 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 +28 -28
- package/dist/model/DocumentPartType.js +2 -2
- package/dist/model/DocumentType.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +23 -23
- package/dist/model/File.js +14 -14
- package/dist/model/FileAttachmentUploadObject.js +14 -14
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +13 -13
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +2 -2
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphDatabaseService.js +10 -10
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +11 -11
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +23 -23
- 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 +11 -11
- package/dist/model/GraphRelationObjectObject.js +11 -11
- package/dist/model/GraphRelationship.js +11 -11
- 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 +28 -28
- package/dist/model/ImageUploadObject.js +28 -28
- package/dist/model/InputPart.js +12 -12
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +25 -25
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +17 -17
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +9 -9
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +16 -16
- package/dist/model/PageSchema.js +26 -26
- 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 +2 -2
- 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 +41 -41
- 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 +11 -11
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +23 -23
- package/dist/model/SocialGroup.js +10 -10
- package/dist/model/SocialGroupType.js +2 -2
- 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 +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +16 -16
- package/dist/model/ThemeMappingPayload.js +10 -10
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +13 -3
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +16 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +158 -0
- package/dist/model/User.js +9 -9
- package/dist/model/UserDataPayload.js +9 -9
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +9 -9
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +38 -38
- package/dist/model/VideoLiveUrl.js +13 -13
- package/dist/model/VideoSchema.js +46 -46
- package/dist/model/VideoUploadObject.js +38 -38
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -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.26
|
|
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 ThemeMappingPayload model module.
|
|
29
29
|
* @module model/ThemeMappingPayload
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.26
|
|
31
31
|
*/
|
|
32
32
|
var ThemeMappingPayload = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -66,15 +66,15 @@ var ThemeMappingPayload = /*#__PURE__*/function () {
|
|
|
66
66
|
if (data.hasOwnProperty('urlpatterns')) {
|
|
67
67
|
obj['urlpatterns'] = _ApiClient["default"].convertToType(data['urlpatterns'], ['String']);
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty('urlPatterns')) {
|
|
70
|
-
obj['urlPatterns'] = _ApiClient["default"].convertToType(data['urlPatterns'], Object);
|
|
71
|
-
}
|
|
72
69
|
if (data.hasOwnProperty('rootCategory')) {
|
|
73
70
|
obj['rootCategory'] = _ZeusPortalCategory["default"].constructFromObject(data['rootCategory']);
|
|
74
71
|
}
|
|
75
72
|
if (data.hasOwnProperty('siteTypeId')) {
|
|
76
73
|
obj['siteTypeId'] = _ApiClient["default"].convertToType(data['siteTypeId'], 'Number');
|
|
77
74
|
}
|
|
75
|
+
if (data.hasOwnProperty('urlPatterns')) {
|
|
76
|
+
obj['urlPatterns'] = _ApiClient["default"].convertToType(data['urlPatterns'], Object);
|
|
77
|
+
}
|
|
78
78
|
if (data.hasOwnProperty('id')) {
|
|
79
79
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
80
80
|
}
|
|
@@ -114,11 +114,6 @@ ThemeMappingPayload.prototype['templateid'] = undefined;
|
|
|
114
114
|
*/
|
|
115
115
|
ThemeMappingPayload.prototype['urlpatterns'] = undefined;
|
|
116
116
|
|
|
117
|
-
/**
|
|
118
|
-
* @member {Object} urlPatterns
|
|
119
|
-
*/
|
|
120
|
-
ThemeMappingPayload.prototype['urlPatterns'] = undefined;
|
|
121
|
-
|
|
122
117
|
/**
|
|
123
118
|
* @member {module:model/ZeusPortalCategory} rootCategory
|
|
124
119
|
*/
|
|
@@ -129,6 +124,11 @@ ThemeMappingPayload.prototype['rootCategory'] = undefined;
|
|
|
129
124
|
*/
|
|
130
125
|
ThemeMappingPayload.prototype['siteTypeId'] = undefined;
|
|
131
126
|
|
|
127
|
+
/**
|
|
128
|
+
* @member {Object} urlPatterns
|
|
129
|
+
*/
|
|
130
|
+
ThemeMappingPayload.prototype['urlPatterns'] = undefined;
|
|
131
|
+
|
|
132
132
|
/**
|
|
133
133
|
* @member {Number} id
|
|
134
134
|
*/
|
|
@@ -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.26
|
|
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 Transaction model module.
|
|
28
28
|
* @module model/Transaction
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.26
|
|
30
30
|
*/
|
|
31
31
|
var Transaction = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Transfer.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.26
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,12 +27,12 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* The Transfer model module.
|
|
29
29
|
* @module model/Transfer
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.26
|
|
31
31
|
*/
|
|
32
32
|
var Transfer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
34
34
|
* Constructs a new <code>Transfer</code>.
|
|
35
|
-
*
|
|
35
|
+
* Any associated data regarding the payment methods used in the transfer
|
|
36
36
|
* @alias module:model/Transfer
|
|
37
37
|
*/
|
|
38
38
|
function Transfer() {
|
|
@@ -81,6 +81,11 @@ var Transfer = /*#__PURE__*/function () {
|
|
|
81
81
|
if (data.hasOwnProperty('sender')) {
|
|
82
82
|
obj['sender'] = _PaymentAccountObject["default"].constructFromObject(data['sender']);
|
|
83
83
|
}
|
|
84
|
+
if (data.hasOwnProperty('paymentMethodDetails')) {
|
|
85
|
+
obj['paymentMethodDetails'] = _ApiClient["default"].convertToType(data['paymentMethodDetails'], {
|
|
86
|
+
'String': Object
|
|
87
|
+
});
|
|
88
|
+
}
|
|
84
89
|
}
|
|
85
90
|
return obj;
|
|
86
91
|
}
|
|
@@ -145,4 +150,9 @@ Transfer.prototype['metadata'] = undefined;
|
|
|
145
150
|
* @member {module:model/PaymentAccountObject} sender
|
|
146
151
|
*/
|
|
147
152
|
Transfer.prototype['sender'] = undefined;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @member {Object.<String, Object>} paymentMethodDetails
|
|
156
|
+
*/
|
|
157
|
+
Transfer.prototype['paymentMethodDetails'] = undefined;
|
|
148
158
|
var _default = exports["default"] = Transfer;
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
* gobodo-api
|
|
19
19
|
* REST Interface for Gobodo API
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 0.1.
|
|
21
|
+
* The version of the OpenAPI document: 0.1.26
|
|
22
22
|
* Contact: info@gobodo.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
29
29
|
/**
|
|
30
30
|
* The TransferInput model module.
|
|
31
31
|
* @module model/TransferInput
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.26
|
|
33
33
|
*/
|
|
34
34
|
var TransferInput = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Transfer = _interopRequireDefault(require("./Transfer"));
|
|
9
|
+
var _TransferResponsePaymentMethodDetails = _interopRequireDefault(require("./TransferResponsePaymentMethodDetails"));
|
|
9
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
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); }
|
|
11
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -16,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
17
|
* gobodo-api
|
|
17
18
|
* REST Interface for Gobodo API
|
|
18
19
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.26
|
|
20
21
|
* Contact: info@gobodo.io
|
|
21
22
|
*
|
|
22
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
28
|
/**
|
|
28
29
|
* The TransferResponse model module.
|
|
29
30
|
* @module model/TransferResponse
|
|
30
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.26
|
|
31
32
|
*/
|
|
32
33
|
var TransferResponse = /*#__PURE__*/function () {
|
|
33
34
|
/**
|
|
@@ -63,6 +64,9 @@ var TransferResponse = /*#__PURE__*/function () {
|
|
|
63
64
|
if (data.hasOwnProperty('transfer')) {
|
|
64
65
|
obj['transfer'] = _Transfer["default"].constructFromObject(data['transfer']);
|
|
65
66
|
}
|
|
67
|
+
if (data.hasOwnProperty('paymentMethodDetails')) {
|
|
68
|
+
obj['paymentMethodDetails'] = _TransferResponsePaymentMethodDetails["default"].constructFromObject(data['paymentMethodDetails']);
|
|
69
|
+
}
|
|
66
70
|
if (data.hasOwnProperty('failureException')) {
|
|
67
71
|
obj['failureException'] = _ApiClient["default"].convertToType(data['failureException'], 'String');
|
|
68
72
|
}
|
|
@@ -83,6 +87,11 @@ var TransferResponse = /*#__PURE__*/function () {
|
|
|
83
87
|
// data not null
|
|
84
88
|
_Transfer["default"].validateJSON(data['transfer']);
|
|
85
89
|
}
|
|
90
|
+
// validate the optional field `paymentMethodDetails`
|
|
91
|
+
if (data['paymentMethodDetails']) {
|
|
92
|
+
// data not null
|
|
93
|
+
_TransferResponsePaymentMethodDetails["default"].validateJSON(data['paymentMethodDetails']);
|
|
94
|
+
}
|
|
86
95
|
// ensure the json data is a string
|
|
87
96
|
if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
|
|
88
97
|
throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
|
|
@@ -97,6 +106,11 @@ var TransferResponse = /*#__PURE__*/function () {
|
|
|
97
106
|
*/
|
|
98
107
|
TransferResponse.prototype['transfer'] = undefined;
|
|
99
108
|
|
|
109
|
+
/**
|
|
110
|
+
* @member {module:model/TransferResponsePaymentMethodDetails} paymentMethodDetails
|
|
111
|
+
*/
|
|
112
|
+
TransferResponse.prototype['paymentMethodDetails'] = undefined;
|
|
113
|
+
|
|
100
114
|
/**
|
|
101
115
|
* The reason the transfer action failed
|
|
102
116
|
* @member {String} failureException
|
|
@@ -0,0 +1,158 @@
|
|
|
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 _PaymentAccountObject = _interopRequireDefault(require("./PaymentAccountObject"));
|
|
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.26
|
|
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 TransferResponsePaymentMethodDetails model module.
|
|
29
|
+
* @module model/TransferResponsePaymentMethodDetails
|
|
30
|
+
* @version 0.1.26
|
|
31
|
+
*/
|
|
32
|
+
var TransferResponsePaymentMethodDetails = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new <code>TransferResponsePaymentMethodDetails</code>.
|
|
35
|
+
* Any associated data regarding the payment methods used in the transfer
|
|
36
|
+
* @alias module:model/TransferResponsePaymentMethodDetails
|
|
37
|
+
*/
|
|
38
|
+
function TransferResponsePaymentMethodDetails() {
|
|
39
|
+
_classCallCheck(this, TransferResponsePaymentMethodDetails);
|
|
40
|
+
TransferResponsePaymentMethodDetails.initialize(this);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Initializes the fields of this object.
|
|
45
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
46
|
+
* Only for internal use.
|
|
47
|
+
*/
|
|
48
|
+
_createClass(TransferResponsePaymentMethodDetails, null, [{
|
|
49
|
+
key: "initialize",
|
|
50
|
+
value: function initialize(obj) {}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Constructs a <code>TransferResponsePaymentMethodDetails</code> from a plain JavaScript object, optionally creating a new instance.
|
|
54
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
55
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
56
|
+
* @param {module:model/TransferResponsePaymentMethodDetails} obj Optional instance to populate.
|
|
57
|
+
* @return {module:model/TransferResponsePaymentMethodDetails} The populated <code>TransferResponsePaymentMethodDetails</code> instance.
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "constructFromObject",
|
|
61
|
+
value: function constructFromObject(data, obj) {
|
|
62
|
+
if (data) {
|
|
63
|
+
obj = obj || new TransferResponsePaymentMethodDetails();
|
|
64
|
+
if (data.hasOwnProperty('id')) {
|
|
65
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], Object);
|
|
66
|
+
}
|
|
67
|
+
if (data.hasOwnProperty('destination')) {
|
|
68
|
+
obj['destination'] = _PaymentAccountObject["default"].constructFromObject(data['destination']);
|
|
69
|
+
}
|
|
70
|
+
if (data.hasOwnProperty('description')) {
|
|
71
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
72
|
+
}
|
|
73
|
+
if (data.hasOwnProperty('amount')) {
|
|
74
|
+
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('metadata')) {
|
|
77
|
+
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], {
|
|
78
|
+
'String': 'String'
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('sender')) {
|
|
82
|
+
obj['sender'] = _PaymentAccountObject["default"].constructFromObject(data['sender']);
|
|
83
|
+
}
|
|
84
|
+
if (data.hasOwnProperty('paymentMethodDetails')) {
|
|
85
|
+
obj['paymentMethodDetails'] = _ApiClient["default"].convertToType(data['paymentMethodDetails'], {
|
|
86
|
+
'String': Object
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return obj;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Validates the JSON data with respect to <code>TransferResponsePaymentMethodDetails</code>.
|
|
95
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
96
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>TransferResponsePaymentMethodDetails</code>.
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "validateJSON",
|
|
100
|
+
value: function validateJSON(data) {
|
|
101
|
+
// validate the optional field `destination`
|
|
102
|
+
if (data['destination']) {
|
|
103
|
+
// data not null
|
|
104
|
+
_PaymentAccountObject["default"].validateJSON(data['destination']);
|
|
105
|
+
}
|
|
106
|
+
// ensure the json data is a string
|
|
107
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
108
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
109
|
+
}
|
|
110
|
+
// validate the optional field `sender`
|
|
111
|
+
if (data['sender']) {
|
|
112
|
+
// data not null
|
|
113
|
+
_PaymentAccountObject["default"].validateJSON(data['sender']);
|
|
114
|
+
}
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
}]);
|
|
118
|
+
return TransferResponsePaymentMethodDetails;
|
|
119
|
+
}();
|
|
120
|
+
/**
|
|
121
|
+
* The id of the transfer
|
|
122
|
+
* @member {Object} id
|
|
123
|
+
*/
|
|
124
|
+
TransferResponsePaymentMethodDetails.prototype['id'] = undefined;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @member {module:model/PaymentAccountObject} destination
|
|
128
|
+
*/
|
|
129
|
+
TransferResponsePaymentMethodDetails.prototype['destination'] = undefined;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
133
|
+
* @member {String} description
|
|
134
|
+
*/
|
|
135
|
+
TransferResponsePaymentMethodDetails.prototype['description'] = undefined;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The amount of the transfer in cents
|
|
139
|
+
* @member {Number} amount
|
|
140
|
+
*/
|
|
141
|
+
TransferResponsePaymentMethodDetails.prototype['amount'] = undefined;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Metadata associated with the transfer
|
|
145
|
+
* @member {Object.<String, String>} metadata
|
|
146
|
+
*/
|
|
147
|
+
TransferResponsePaymentMethodDetails.prototype['metadata'] = undefined;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @member {module:model/PaymentAccountObject} sender
|
|
151
|
+
*/
|
|
152
|
+
TransferResponsePaymentMethodDetails.prototype['sender'] = undefined;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @member {Object.<String, Object>} paymentMethodDetails
|
|
156
|
+
*/
|
|
157
|
+
TransferResponsePaymentMethodDetails.prototype['paymentMethodDetails'] = undefined;
|
|
158
|
+
var _default = exports["default"] = TransferResponsePaymentMethodDetails;
|
package/dist/model/User.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.26
|
|
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 User model module.
|
|
29
29
|
* @module model/User
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.26
|
|
31
31
|
*/
|
|
32
32
|
var User = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -66,12 +66,12 @@ var User = /*#__PURE__*/function () {
|
|
|
66
66
|
if (data.hasOwnProperty('address')) {
|
|
67
67
|
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty('domain')) {
|
|
70
|
-
obj['domain'] = _UserDomain["default"].constructFromObject(data['domain']);
|
|
71
|
-
}
|
|
72
69
|
if (data.hasOwnProperty('status')) {
|
|
73
70
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
74
71
|
}
|
|
72
|
+
if (data.hasOwnProperty('domain')) {
|
|
73
|
+
obj['domain'] = _UserDomain["default"].constructFromObject(data['domain']);
|
|
74
|
+
}
|
|
75
75
|
if (data.hasOwnProperty('firstname')) {
|
|
76
76
|
obj['firstname'] = _ApiClient["default"].convertToType(data['firstname'], 'String');
|
|
77
77
|
}
|
|
@@ -181,14 +181,14 @@ User.prototype['state'] = undefined;
|
|
|
181
181
|
User.prototype['address'] = undefined;
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
* @member {
|
|
184
|
+
* @member {Number} status
|
|
185
185
|
*/
|
|
186
|
-
User.prototype['
|
|
186
|
+
User.prototype['status'] = undefined;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
|
-
* @member {
|
|
189
|
+
* @member {module:model/UserDomain} domain
|
|
190
190
|
*/
|
|
191
|
-
User.prototype['
|
|
191
|
+
User.prototype['domain'] = undefined;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* @member {String} firstname
|
|
@@ -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.26
|
|
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 UserDataPayload model module.
|
|
29
29
|
* @module model/UserDataPayload
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.26
|
|
31
31
|
*/
|
|
32
32
|
var UserDataPayload = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -66,12 +66,12 @@ var UserDataPayload = /*#__PURE__*/function () {
|
|
|
66
66
|
if (data.hasOwnProperty('address')) {
|
|
67
67
|
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty('domain')) {
|
|
70
|
-
obj['domain'] = _UserDomain["default"].constructFromObject(data['domain']);
|
|
71
|
-
}
|
|
72
69
|
if (data.hasOwnProperty('status')) {
|
|
73
70
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
|
|
74
71
|
}
|
|
72
|
+
if (data.hasOwnProperty('domain')) {
|
|
73
|
+
obj['domain'] = _UserDomain["default"].constructFromObject(data['domain']);
|
|
74
|
+
}
|
|
75
75
|
if (data.hasOwnProperty('firstname')) {
|
|
76
76
|
obj['firstname'] = _ApiClient["default"].convertToType(data['firstname'], 'String');
|
|
77
77
|
}
|
|
@@ -181,14 +181,14 @@ UserDataPayload.prototype['state'] = undefined;
|
|
|
181
181
|
UserDataPayload.prototype['address'] = undefined;
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
* @member {
|
|
184
|
+
* @member {Number} status
|
|
185
185
|
*/
|
|
186
|
-
UserDataPayload.prototype['
|
|
186
|
+
UserDataPayload.prototype['status'] = undefined;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
|
-
* @member {
|
|
189
|
+
* @member {module:model/UserDomain} domain
|
|
190
190
|
*/
|
|
191
|
-
UserDataPayload.prototype['
|
|
191
|
+
UserDataPayload.prototype['domain'] = undefined;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* @member {String} firstname
|
package/dist/model/UserDomain.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.26
|
|
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 UserDomain model module.
|
|
28
28
|
* @module model/UserDomain
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.26
|
|
30
30
|
*/
|
|
31
31
|
var UserDomain = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/UserInvite.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.26
|
|
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 UserInvite model module.
|
|
28
28
|
* @module model/UserInvite
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.26
|
|
30
30
|
*/
|
|
31
31
|
var UserInvite = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.26
|
|
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 UserInviteInput model module.
|
|
28
28
|
* @module model/UserInviteInput
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.26
|
|
30
30
|
*/
|
|
31
31
|
var UserInviteInput = /*#__PURE__*/function () {
|
|
32
32
|
/**
|