@gobodo/gobodo-api 0.1.20 → 0.1.22
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 +12 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +135 -9
- 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 +49 -0
- package/dist/model/APIClient.js +2 -2
- package/dist/model/AccountSessionInput.js +128 -0
- package/dist/model/AccountSessionResponse.js +113 -0
- 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 +15 -15
- package/dist/model/Authorization.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +10 -10
- 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 +10 -10
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +15 -15
- package/dist/model/DocumentPart.js +9 -9
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +10 -10
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +16 -16
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.js +2 -2
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +9 -9
- 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 +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +14 -14
- 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 +30 -30
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +2 -2
- package/dist/model/ImageUploadObject.js +2 -2
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +13 -13
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +26 -26
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +14 -14
- 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 +2 -2
- 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 +10 -10
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +123 -0
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +10 -10
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +123 -0
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +15 -15
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +14 -14
- 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 +16 -16
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +148 -0
- package/dist/model/TransferInput.js +173 -0
- package/dist/model/TransferObjectObject.js +139 -0
- package/dist/model/TransferResponse.js +105 -0
- 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 +2 -2
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +2 -2
- package/dist/model/VideoUploadObject.js +2 -2
- package/dist/model/ZeusPortalCategory.js +23 -23
- package/package.json +1 -1
|
@@ -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.22
|
|
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 PaymentIntentResponse model module.
|
|
28
28
|
* @module model/PaymentIntentResponse
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.22
|
|
30
30
|
*/
|
|
31
31
|
var PaymentIntentResponse = /*#__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.22
|
|
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 PaymentMethod model module.
|
|
28
28
|
* @module model/PaymentMethod
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.22
|
|
30
30
|
*/
|
|
31
31
|
var PaymentMethod = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -71,9 +71,6 @@ var PaymentMethod = /*#__PURE__*/function () {
|
|
|
71
71
|
if (data.hasOwnProperty('object')) {
|
|
72
72
|
obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
|
|
73
73
|
}
|
|
74
|
-
if (data.hasOwnProperty('created')) {
|
|
75
|
-
obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
|
|
76
|
-
}
|
|
77
74
|
if (data.hasOwnProperty('livemode')) {
|
|
78
75
|
obj['livemode'] = _ApiClient["default"].convertToType(data['livemode'], 'Boolean');
|
|
79
76
|
}
|
|
@@ -83,6 +80,9 @@ var PaymentMethod = /*#__PURE__*/function () {
|
|
|
83
80
|
if (data.hasOwnProperty('bankAccount')) {
|
|
84
81
|
obj['bankAccount'] = _ApiClient["default"].convertToType(data['bankAccount'], Object);
|
|
85
82
|
}
|
|
83
|
+
if (data.hasOwnProperty('created')) {
|
|
84
|
+
obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
|
|
85
|
+
}
|
|
86
86
|
}
|
|
87
87
|
return obj;
|
|
88
88
|
}
|
|
@@ -132,11 +132,6 @@ PaymentMethod.prototype['type'] = undefined;
|
|
|
132
132
|
*/
|
|
133
133
|
PaymentMethod.prototype['object'] = undefined;
|
|
134
134
|
|
|
135
|
-
/**
|
|
136
|
-
* @member {Number} created
|
|
137
|
-
*/
|
|
138
|
-
PaymentMethod.prototype['created'] = undefined;
|
|
139
|
-
|
|
140
135
|
/**
|
|
141
136
|
* @member {Boolean} livemode
|
|
142
137
|
*/
|
|
@@ -152,6 +147,11 @@ PaymentMethod.prototype['card'] = undefined;
|
|
|
152
147
|
*/
|
|
153
148
|
PaymentMethod.prototype['bankAccount'] = undefined;
|
|
154
149
|
|
|
150
|
+
/**
|
|
151
|
+
* @member {Number} created
|
|
152
|
+
*/
|
|
153
|
+
PaymentMethod.prototype['created'] = undefined;
|
|
154
|
+
|
|
155
155
|
/**
|
|
156
156
|
* Allowed values for the <code>type</code> property.
|
|
157
157
|
* @enum {String}
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.22
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* The PaymentMethodInput model module.
|
|
30
30
|
* @module model/PaymentMethodInput
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.22
|
|
32
32
|
*/
|
|
33
33
|
var PaymentMethodInput = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -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.22
|
|
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 PaymentMethodResponse model module.
|
|
29
29
|
* @module model/PaymentMethodResponse
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.22
|
|
31
31
|
*/
|
|
32
32
|
var PaymentMethodResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -0,0 +1,123 @@
|
|
|
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 _PaymentMethod = _interopRequireDefault(require("./PaymentMethod"));
|
|
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.22
|
|
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 PaymentMethodsResponse model module.
|
|
32
|
+
* @module model/PaymentMethodsResponse
|
|
33
|
+
* @version 0.1.22
|
|
34
|
+
*/
|
|
35
|
+
var PaymentMethodsResponse = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>PaymentMethodsResponse</code>.
|
|
38
|
+
* @alias module:model/PaymentMethodsResponse
|
|
39
|
+
*/
|
|
40
|
+
function PaymentMethodsResponse() {
|
|
41
|
+
_classCallCheck(this, PaymentMethodsResponse);
|
|
42
|
+
PaymentMethodsResponse.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(PaymentMethodsResponse, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj) {}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>PaymentMethodsResponse</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/PaymentMethodsResponse} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/PaymentMethodsResponse} The populated <code>PaymentMethodsResponse</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
}, {
|
|
62
|
+
key: "constructFromObject",
|
|
63
|
+
value: function constructFromObject(data, obj) {
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new PaymentMethodsResponse();
|
|
66
|
+
if (data.hasOwnProperty('paymentMethods')) {
|
|
67
|
+
obj['paymentMethods'] = _ApiClient["default"].convertToType(data['paymentMethods'], [_PaymentMethod["default"]]);
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('failureException')) {
|
|
70
|
+
obj['failureException'] = _ApiClient["default"].convertToType(data['failureException'], 'String');
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return obj;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Validates the JSON data with respect to <code>PaymentMethodsResponse</code>.
|
|
78
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
79
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>PaymentMethodsResponse</code>.
|
|
80
|
+
*/
|
|
81
|
+
}, {
|
|
82
|
+
key: "validateJSON",
|
|
83
|
+
value: function validateJSON(data) {
|
|
84
|
+
if (data['paymentMethods']) {
|
|
85
|
+
// data not null
|
|
86
|
+
// ensure the json data is an array
|
|
87
|
+
if (!Array.isArray(data['paymentMethods'])) {
|
|
88
|
+
throw new Error("Expected the field `paymentMethods` to be an array in the JSON data but got " + data['paymentMethods']);
|
|
89
|
+
}
|
|
90
|
+
// validate the optional field `paymentMethods` (array)
|
|
91
|
+
var _iterator = _createForOfIteratorHelper(data['paymentMethods']),
|
|
92
|
+
_step;
|
|
93
|
+
try {
|
|
94
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
95
|
+
var item = _step.value;
|
|
96
|
+
_PaymentMethod["default"].validateJSON(item);
|
|
97
|
+
}
|
|
98
|
+
} catch (err) {
|
|
99
|
+
_iterator.e(err);
|
|
100
|
+
} finally {
|
|
101
|
+
_iterator.f();
|
|
102
|
+
}
|
|
103
|
+
;
|
|
104
|
+
}
|
|
105
|
+
// ensure the json data is a string
|
|
106
|
+
if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
|
|
107
|
+
throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
|
|
108
|
+
}
|
|
109
|
+
return true;
|
|
110
|
+
}
|
|
111
|
+
}]);
|
|
112
|
+
return PaymentMethodsResponse;
|
|
113
|
+
}();
|
|
114
|
+
/**
|
|
115
|
+
* @member {Array.<module:model/PaymentMethod>} paymentMethods
|
|
116
|
+
*/
|
|
117
|
+
PaymentMethodsResponse.prototype['paymentMethods'] = undefined;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @member {String} failureException
|
|
121
|
+
*/
|
|
122
|
+
PaymentMethodsResponse.prototype['failureException'] = undefined;
|
|
123
|
+
var _default = exports["default"] = PaymentMethodsResponse;
|
package/dist/model/Post.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.22
|
|
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 Post model module.
|
|
29
29
|
* @module model/Post
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.22
|
|
31
31
|
*/
|
|
32
32
|
var Post = /*#__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.22
|
|
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 PrivateMessage model module.
|
|
29
29
|
* @module model/PrivateMessage
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.22
|
|
31
31
|
*/
|
|
32
32
|
var PrivateMessage = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.22
|
|
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 PrivateMessageConversation model module.
|
|
28
28
|
* @module model/PrivateMessageConversation
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.22
|
|
30
30
|
*/
|
|
31
31
|
var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -65,15 +65,15 @@ var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
|
65
65
|
if (data.hasOwnProperty('status')) {
|
|
66
66
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
67
67
|
}
|
|
68
|
-
if (data.hasOwnProperty('messages')) {
|
|
69
|
-
obj['messages'] = _ApiClient["default"].convertToType(data['messages'], 'String');
|
|
70
|
-
}
|
|
71
68
|
if (data.hasOwnProperty('creator')) {
|
|
72
69
|
obj['creator'] = _ApiClient["default"].convertToType(data['creator'], 'String');
|
|
73
70
|
}
|
|
74
71
|
if (data.hasOwnProperty('childconversations')) {
|
|
75
72
|
obj['childconversations'] = _ApiClient["default"].convertToType(data['childconversations'], 'String');
|
|
76
73
|
}
|
|
74
|
+
if (data.hasOwnProperty('messages')) {
|
|
75
|
+
obj['messages'] = _ApiClient["default"].convertToType(data['messages'], 'String');
|
|
76
|
+
}
|
|
77
77
|
if (data.hasOwnProperty('groupedMessages')) {
|
|
78
78
|
obj['groupedMessages'] = _ApiClient["default"].convertToType(data['groupedMessages'], Object);
|
|
79
79
|
}
|
|
@@ -122,10 +122,6 @@ var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
|
122
122
|
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
123
123
|
}
|
|
124
124
|
// ensure the json data is a string
|
|
125
|
-
if (data['messages'] && !(typeof data['messages'] === 'string' || data['messages'] instanceof String)) {
|
|
126
|
-
throw new Error("Expected the field `messages` to be a primitive type in the JSON string but got " + data['messages']);
|
|
127
|
-
}
|
|
128
|
-
// ensure the json data is a string
|
|
129
125
|
if (data['creator'] && !(typeof data['creator'] === 'string' || data['creator'] instanceof String)) {
|
|
130
126
|
throw new Error("Expected the field `creator` to be a primitive type in the JSON string but got " + data['creator']);
|
|
131
127
|
}
|
|
@@ -134,6 +130,10 @@ var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
|
134
130
|
throw new Error("Expected the field `childconversations` to be a primitive type in the JSON string but got " + data['childconversations']);
|
|
135
131
|
}
|
|
136
132
|
// ensure the json data is a string
|
|
133
|
+
if (data['messages'] && !(typeof data['messages'] === 'string' || data['messages'] instanceof String)) {
|
|
134
|
+
throw new Error("Expected the field `messages` to be a primitive type in the JSON string but got " + data['messages']);
|
|
135
|
+
}
|
|
136
|
+
// ensure the json data is a string
|
|
137
137
|
if (data['lastparticipantnotself'] && !(typeof data['lastparticipantnotself'] === 'string' || data['lastparticipantnotself'] instanceof String)) {
|
|
138
138
|
throw new Error("Expected the field `lastparticipantnotself` to be a primitive type in the JSON string but got " + data['lastparticipantnotself']);
|
|
139
139
|
}
|
|
@@ -170,12 +170,6 @@ PrivateMessageConversation.prototype['subject'] = undefined;
|
|
|
170
170
|
*/
|
|
171
171
|
PrivateMessageConversation.prototype['status'] = undefined;
|
|
172
172
|
|
|
173
|
-
/**
|
|
174
|
-
* The messages in this conversation
|
|
175
|
-
* @member {String} messages
|
|
176
|
-
*/
|
|
177
|
-
PrivateMessageConversation.prototype['messages'] = undefined;
|
|
178
|
-
|
|
179
173
|
/**
|
|
180
174
|
* The creator of this conversation
|
|
181
175
|
* @member {String} creator
|
|
@@ -188,6 +182,12 @@ PrivateMessageConversation.prototype['creator'] = undefined;
|
|
|
188
182
|
*/
|
|
189
183
|
PrivateMessageConversation.prototype['childconversations'] = undefined;
|
|
190
184
|
|
|
185
|
+
/**
|
|
186
|
+
* The messages in this conversation
|
|
187
|
+
* @member {String} messages
|
|
188
|
+
*/
|
|
189
|
+
PrivateMessageConversation.prototype['messages'] = undefined;
|
|
190
|
+
|
|
191
191
|
/**
|
|
192
192
|
* @member {Object} groupedMessages
|
|
193
193
|
*/
|
|
@@ -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.22
|
|
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 PrivateMessageConversationSchema model module.
|
|
31
31
|
* @module model/PrivateMessageConversationSchema
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.22
|
|
33
33
|
*/
|
|
34
34
|
var PrivateMessageConversationSchema = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Profile.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.22
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* The Profile model module.
|
|
30
30
|
* @module model/Profile
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.22
|
|
32
32
|
*/
|
|
33
33
|
var Profile = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -61,12 +61,12 @@ var Profile = /*#__PURE__*/function () {
|
|
|
61
61
|
value: function constructFromObject(data, obj) {
|
|
62
62
|
if (data) {
|
|
63
63
|
obj = obj || new Profile();
|
|
64
|
-
if (data.hasOwnProperty('user')) {
|
|
65
|
-
obj['user'] = _User["default"].constructFromObject(data['user']);
|
|
66
|
-
}
|
|
67
64
|
if (data.hasOwnProperty('profiletype')) {
|
|
68
65
|
obj['profiletype'] = _Profiletype["default"].constructFromObject(data['profiletype']);
|
|
69
66
|
}
|
|
67
|
+
if (data.hasOwnProperty('user')) {
|
|
68
|
+
obj['user'] = _User["default"].constructFromObject(data['user']);
|
|
69
|
+
}
|
|
70
70
|
if (data.hasOwnProperty('data')) {
|
|
71
71
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
72
72
|
}
|
|
@@ -85,30 +85,30 @@ var Profile = /*#__PURE__*/function () {
|
|
|
85
85
|
}, {
|
|
86
86
|
key: "validateJSON",
|
|
87
87
|
value: function validateJSON(data) {
|
|
88
|
-
// validate the optional field `user`
|
|
89
|
-
if (data['user']) {
|
|
90
|
-
// data not null
|
|
91
|
-
_User["default"].validateJSON(data['user']);
|
|
92
|
-
}
|
|
93
88
|
// validate the optional field `profiletype`
|
|
94
89
|
if (data['profiletype']) {
|
|
95
90
|
// data not null
|
|
96
91
|
_Profiletype["default"].validateJSON(data['profiletype']);
|
|
97
92
|
}
|
|
93
|
+
// validate the optional field `user`
|
|
94
|
+
if (data['user']) {
|
|
95
|
+
// data not null
|
|
96
|
+
_User["default"].validateJSON(data['user']);
|
|
97
|
+
}
|
|
98
98
|
return true;
|
|
99
99
|
}
|
|
100
100
|
}]);
|
|
101
101
|
return Profile;
|
|
102
102
|
}();
|
|
103
103
|
/**
|
|
104
|
-
* @member {module:model/
|
|
104
|
+
* @member {module:model/Profiletype} profiletype
|
|
105
105
|
*/
|
|
106
|
-
Profile.prototype['
|
|
106
|
+
Profile.prototype['profiletype'] = undefined;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* @member {module:model/
|
|
109
|
+
* @member {module:model/User} user
|
|
110
110
|
*/
|
|
111
|
-
Profile.prototype['
|
|
111
|
+
Profile.prototype['user'] = undefined;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* @member {Object} data
|
|
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
20
20
|
* gobodo-api
|
|
21
21
|
* REST Interface for Gobodo API
|
|
22
22
|
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.
|
|
23
|
+
* The version of the OpenAPI document: 0.1.22
|
|
24
24
|
* Contact: info@gobodo.io
|
|
25
25
|
*
|
|
26
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
31
31
|
/**
|
|
32
32
|
* The Profiletype model module.
|
|
33
33
|
* @module model/Profiletype
|
|
34
|
-
* @version 0.1.
|
|
34
|
+
* @version 0.1.22
|
|
35
35
|
*/
|
|
36
36
|
var Profiletype = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -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.22
|
|
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 PropertyContainer model module.
|
|
29
29
|
* @module model/PropertyContainer
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.22
|
|
31
31
|
*/
|
|
32
32
|
var PropertyContainer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.22
|
|
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 PurgeDataDefaultResponseValue model module.
|
|
28
28
|
* @module model/PurgeDataDefaultResponseValue
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.22
|
|
30
30
|
*/
|
|
31
31
|
var PurgeDataDefaultResponseValue = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -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.22
|
|
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 RelationshipMapping model module.
|
|
32
32
|
* @module model/RelationshipMapping
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.22
|
|
34
34
|
*/
|
|
35
35
|
var RelationshipMapping = /*#__PURE__*/function () {
|
|
36
36
|
/**
|