@gobodo/gobodo-api 0.1.13 → 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.
Files changed (175) hide show
  1. package/README.md +20 -5
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +2 -2
  10. package/dist/api/CategoriesApi.js +2 -2
  11. package/dist/api/CommentsApi.js +2 -2
  12. package/dist/api/ContentManagementApi.js +2 -2
  13. package/dist/api/ConversationsApi.js +2 -2
  14. package/dist/api/DataSheetImportsApi.js +2 -2
  15. package/dist/api/DefaultApi.js +2 -2
  16. package/dist/api/DocumentsApi.js +2 -2
  17. package/dist/api/EntryPartsApi.js +2 -2
  18. package/dist/api/FacebookApi.js +2 -2
  19. package/dist/api/FieldsApi.js +2 -2
  20. package/dist/api/FilesApi.js +2 -2
  21. package/dist/api/FormsApi.js +2 -2
  22. package/dist/api/FunctionsApi.js +2 -2
  23. package/dist/api/GeocodeApi.js +2 -2
  24. package/dist/api/GoogleApi.js +2 -2
  25. package/dist/api/GraphActionsApi.js +2 -2
  26. package/dist/api/GraphObjectTypesApi.js +2 -2
  27. package/dist/api/GraphObjectsApi.js +2 -2
  28. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  29. package/dist/api/GraphRelationshipsApi.js +2 -2
  30. package/dist/api/GraphSchemasApi.js +2 -2
  31. package/dist/api/GraphTraversalApi.js +2 -2
  32. package/dist/api/GraphsApi.js +2 -2
  33. package/dist/api/GroupsApi.js +2 -2
  34. package/dist/api/IAMApi.js +2 -2
  35. package/dist/api/ImagesApi.js +2 -2
  36. package/dist/api/InvitesApi.js +2 -2
  37. package/dist/api/LikesApi.js +2 -2
  38. package/dist/api/LinkedINApi.js +2 -2
  39. package/dist/api/LiveMeetingsApi.js +2 -2
  40. package/dist/api/MeetingEventsApi.js +2 -2
  41. package/dist/api/PagesApi.js +2 -2
  42. package/dist/api/PostsApi.js +2 -2
  43. package/dist/api/PrivateMessagesApi.js +2 -2
  44. package/dist/api/PublicationsApi.js +2 -2
  45. package/dist/api/ScreensApi.js +2 -2
  46. package/dist/api/SocialIntegrationApi.js +2 -2
  47. package/dist/api/StripeAccountsApi.js +333 -23
  48. package/dist/api/TagsApi.js +2 -2
  49. package/dist/api/TemplatesApi.js +2 -2
  50. package/dist/api/ThemeMappingsApi.js +2 -2
  51. package/dist/api/TransactionsApi.js +2 -2
  52. package/dist/api/TwitterApi.js +2 -2
  53. package/dist/api/UserTagsApi.js +2 -2
  54. package/dist/api/UsersApi.js +2 -2
  55. package/dist/api/UtilsApi.js +2 -2
  56. package/dist/api/VideosApi.js +2 -2
  57. package/dist/index.js +70 -14
  58. package/dist/model/APIClient.js +2 -2
  59. package/dist/model/ApplicationPaymentAccountResponse.js +116 -0
  60. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +179 -0
  61. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +165 -0
  62. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +166 -0
  63. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +135 -0
  64. package/dist/model/Article.js +18 -18
  65. package/dist/model/Authorization.js +2 -2
  66. package/dist/model/BankAccountInfo.js +163 -0
  67. package/dist/model/CardInfo.js +127 -0
  68. package/dist/model/Comment.js +10 -10
  69. package/dist/model/Coordinates.js +2 -2
  70. package/dist/model/CreateAccountResponse.js +2 -2
  71. package/dist/model/CreateCustomerResponse.js +2 -2
  72. package/dist/model/CreateStripeAccountInput.js +2 -2
  73. package/dist/model/CreateStripeCustomerInput.js +2 -2
  74. package/dist/model/CustomerResponse.js +116 -0
  75. package/dist/model/DataObject.js +2 -2
  76. package/dist/model/DataSheetImport.js +52 -52
  77. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  78. package/dist/model/DataSheetImportSummary.js +2 -2
  79. package/dist/model/Document.js +18 -18
  80. package/dist/model/DocumentPart.js +9 -9
  81. package/dist/model/DocumentPartType.js +2 -2
  82. package/dist/model/DocumentType.js +2 -2
  83. package/dist/model/FieldMapping.js +2 -2
  84. package/dist/model/Fields.js +9 -9
  85. package/dist/model/File.js +9 -9
  86. package/dist/model/FileAttachmentUploadObject.js +9 -9
  87. package/dist/model/Filter.js +2 -2
  88. package/dist/model/FilterManager.js +2 -2
  89. package/dist/model/Form.js +2 -2
  90. package/dist/model/FormSection.js +2 -2
  91. package/dist/model/FormSubmission.js +13 -13
  92. package/dist/model/Geocode.js +2 -2
  93. package/dist/model/GeocodePayload.js +2 -2
  94. package/dist/model/GeolocationInput.js +2 -2
  95. package/dist/model/Graph.js +2 -2
  96. package/dist/model/GraphAction.js +2 -2
  97. package/dist/model/GraphDatabaseService.js +2 -2
  98. package/dist/model/GraphGeocode.js +2 -2
  99. package/dist/model/GraphIteratorEntryPart.js +6 -6
  100. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  101. package/dist/model/GraphObject.js +2 -2
  102. package/dist/model/GraphObjectPayload.js +2 -2
  103. package/dist/model/GraphObjectSchema.js +11 -11
  104. package/dist/model/GraphObjectType.js +2 -2
  105. package/dist/model/GraphObjectTypeSchema.js +2 -2
  106. package/dist/model/GraphOwner.js +2 -2
  107. package/dist/model/GraphRelation.js +2 -2
  108. package/dist/model/GraphRelationObjectObject.js +2 -2
  109. package/dist/model/GraphRelationship.js +2 -2
  110. package/dist/model/GraphRelationshipPayload.js +2 -2
  111. package/dist/model/GraphRelationshipType.js +2 -2
  112. package/dist/model/GraphSchema.js +2 -2
  113. package/dist/model/GraphTraversalInput.js +2 -2
  114. package/dist/model/Image.js +10 -10
  115. package/dist/model/ImageUploadObject.js +10 -10
  116. package/dist/model/InputPart.js +2 -2
  117. package/dist/model/InputPartMediaType.js +2 -2
  118. package/dist/model/Link.js +2 -2
  119. package/dist/model/LiveStreamInfo.js +2 -2
  120. package/dist/model/MeetingEvent.js +10 -10
  121. package/dist/model/MeetingEventTimezone.js +2 -2
  122. package/dist/model/MeetingInfo.js +2 -2
  123. package/dist/model/Member.js +2 -2
  124. package/dist/model/MemberGroupCategory.js +2 -2
  125. package/dist/model/MemberList.js +2 -2
  126. package/dist/model/MessageGroup.js +2 -2
  127. package/dist/model/MultipartBody.js +2 -2
  128. package/dist/model/Objecttype.js +2 -2
  129. package/dist/model/Page.js +9 -9
  130. package/dist/model/PageSchema.js +2 -2
  131. package/dist/model/Pageable.js +9 -9
  132. package/dist/model/Path.js +2 -2
  133. package/dist/model/PaymentIntentInput.js +12 -2
  134. package/dist/model/PaymentIntentResponse.js +2 -2
  135. package/dist/model/PaymentMethod.js +47 -3
  136. package/dist/model/PaymentMethodInput.js +180 -0
  137. package/dist/model/PaymentMethodResponse.js +104 -0
  138. package/dist/model/Post.js +2 -2
  139. package/dist/model/PrivateMessage.js +2 -2
  140. package/dist/model/PrivateMessageConversation.js +2 -2
  141. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  142. package/dist/model/Profile.js +2 -2
  143. package/dist/model/Profiletype.js +2 -2
  144. package/dist/model/PropertyContainer.js +2 -2
  145. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  146. package/dist/model/RelationshipMapping.js +2 -2
  147. package/dist/model/ScreenSchema.js +2 -2
  148. package/dist/model/SimulcastInfo.js +2 -2
  149. package/dist/model/SkinField.js +9 -9
  150. package/dist/model/SocialGroup.js +10 -10
  151. package/dist/model/SocialGroupType.js +2 -2
  152. package/dist/model/Sort.js +2 -2
  153. package/dist/model/StatusUpdate.js +2 -2
  154. package/dist/model/StreetAddress.js +2 -2
  155. package/dist/model/StripeAccount.js +16 -2
  156. package/dist/model/StripeCustomerAccount.js +2 -2
  157. package/dist/model/Template.js +2 -2
  158. package/dist/model/TemplateSchema.js +2 -2
  159. package/dist/model/ThemeMapping.js +2 -2
  160. package/dist/model/ThemeMappingPayload.js +2 -2
  161. package/dist/model/Transaction.js +2 -2
  162. package/dist/model/User.js +2 -2
  163. package/dist/model/UserDataPayload.js +2 -2
  164. package/dist/model/UserDomain.js +2 -2
  165. package/dist/model/UserInvite.js +2 -2
  166. package/dist/model/UserInviteInput.js +2 -2
  167. package/dist/model/UserSchema.js +2 -2
  168. package/dist/model/UserTag.js +2 -2
  169. package/dist/model/Userid.js +2 -2
  170. package/dist/model/Video.js +9 -9
  171. package/dist/model/VideoLiveUrl.js +2 -2
  172. package/dist/model/VideoSchema.js +9 -9
  173. package/dist/model/VideoUploadObject.js +9 -9
  174. package/dist/model/ZeusPortalCategory.js +2 -2
  175. package/package.json +1 -1
@@ -0,0 +1,163 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
15
+ * gobodo-api
16
+ * REST Interface for Gobodo API
17
+ *
18
+ * The version of the OpenAPI document: 0.1.16
19
+ * Contact: info@gobodo.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The BankAccountInfo model module.
28
+ * @module model/BankAccountInfo
29
+ * @version 0.1.16
30
+ */
31
+ var BankAccountInfo = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>BankAccountInfo</code>.
34
+ * Bank account information
35
+ * @alias module:model/BankAccountInfo
36
+ */
37
+ function BankAccountInfo() {
38
+ _classCallCheck(this, BankAccountInfo);
39
+ BankAccountInfo.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(BankAccountInfo, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>BankAccountInfo</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/BankAccountInfo} obj Optional instance to populate.
56
+ * @return {module:model/BankAccountInfo} The populated <code>BankAccountInfo</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new BankAccountInfo();
63
+ if (data.hasOwnProperty('accountNumber')) {
64
+ obj['accountNumber'] = _ApiClient["default"].convertToType(data['accountNumber'], 'String');
65
+ }
66
+ if (data.hasOwnProperty('routingNumber')) {
67
+ obj['routingNumber'] = _ApiClient["default"].convertToType(data['routingNumber'], 'String');
68
+ }
69
+ if (data.hasOwnProperty('accountHolderType')) {
70
+ obj['accountHolderType'] = _ApiClient["default"].convertToType(data['accountHolderType'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('accountType')) {
73
+ obj['accountType'] = _ApiClient["default"].convertToType(data['accountType'], 'String');
74
+ }
75
+ }
76
+ return obj;
77
+ }
78
+
79
+ /**
80
+ * Validates the JSON data with respect to <code>BankAccountInfo</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>BankAccountInfo</code>.
83
+ */
84
+ }, {
85
+ key: "validateJSON",
86
+ value: function validateJSON(data) {
87
+ // ensure the json data is a string
88
+ if (data['accountNumber'] && !(typeof data['accountNumber'] === 'string' || data['accountNumber'] instanceof String)) {
89
+ throw new Error("Expected the field `accountNumber` to be a primitive type in the JSON string but got " + data['accountNumber']);
90
+ }
91
+ // ensure the json data is a string
92
+ if (data['routingNumber'] && !(typeof data['routingNumber'] === 'string' || data['routingNumber'] instanceof String)) {
93
+ throw new Error("Expected the field `routingNumber` to be a primitive type in the JSON string but got " + data['routingNumber']);
94
+ }
95
+ // ensure the json data is a string
96
+ if (data['accountHolderType'] && !(typeof data['accountHolderType'] === 'string' || data['accountHolderType'] instanceof String)) {
97
+ throw new Error("Expected the field `accountHolderType` to be a primitive type in the JSON string but got " + data['accountHolderType']);
98
+ }
99
+ // ensure the json data is a string
100
+ if (data['accountType'] && !(typeof data['accountType'] === 'string' || data['accountType'] instanceof String)) {
101
+ throw new Error("Expected the field `accountType` to be a primitive type in the JSON string but got " + data['accountType']);
102
+ }
103
+ return true;
104
+ }
105
+ }]);
106
+ return BankAccountInfo;
107
+ }();
108
+ /**
109
+ * @member {String} accountNumber
110
+ */
111
+ BankAccountInfo.prototype['accountNumber'] = undefined;
112
+
113
+ /**
114
+ * @member {String} routingNumber
115
+ */
116
+ BankAccountInfo.prototype['routingNumber'] = undefined;
117
+
118
+ /**
119
+ * @member {module:model/BankAccountInfo.AccountHolderTypeEnum} accountHolderType
120
+ */
121
+ BankAccountInfo.prototype['accountHolderType'] = undefined;
122
+
123
+ /**
124
+ * @member {module:model/BankAccountInfo.AccountTypeEnum} accountType
125
+ */
126
+ BankAccountInfo.prototype['accountType'] = undefined;
127
+
128
+ /**
129
+ * Allowed values for the <code>accountHolderType</code> property.
130
+ * @enum {String}
131
+ * @readonly
132
+ */
133
+ BankAccountInfo['AccountHolderTypeEnum'] = {
134
+ /**
135
+ * value: "PERSONAL"
136
+ * @const
137
+ */
138
+ "PERSONAL": "PERSONAL",
139
+ /**
140
+ * value: "BUSINESS"
141
+ * @const
142
+ */
143
+ "BUSINESS": "BUSINESS"
144
+ };
145
+
146
+ /**
147
+ * Allowed values for the <code>accountType</code> property.
148
+ * @enum {String}
149
+ * @readonly
150
+ */
151
+ BankAccountInfo['AccountTypeEnum'] = {
152
+ /**
153
+ * value: "CHECKING"
154
+ * @const
155
+ */
156
+ "CHECKING": "CHECKING",
157
+ /**
158
+ * value: "SAVINGS"
159
+ * @const
160
+ */
161
+ "SAVINGS": "SAVINGS"
162
+ };
163
+ var _default = exports["default"] = BankAccountInfo;
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
15
+ * gobodo-api
16
+ * REST Interface for Gobodo API
17
+ *
18
+ * The version of the OpenAPI document: 0.1.16
19
+ * Contact: info@gobodo.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The CardInfo model module.
28
+ * @module model/CardInfo
29
+ * @version 0.1.16
30
+ */
31
+ var CardInfo = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>CardInfo</code>.
34
+ * Card Information
35
+ * @alias module:model/CardInfo
36
+ */
37
+ function CardInfo() {
38
+ _classCallCheck(this, CardInfo);
39
+ CardInfo.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(CardInfo, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>CardInfo</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/CardInfo} obj Optional instance to populate.
56
+ * @return {module:model/CardInfo} The populated <code>CardInfo</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new CardInfo();
63
+ if (data.hasOwnProperty('cardNumber')) {
64
+ obj['cardNumber'] = _ApiClient["default"].convertToType(data['cardNumber'], 'String');
65
+ }
66
+ if (data.hasOwnProperty('expireMonth')) {
67
+ obj['expireMonth'] = _ApiClient["default"].convertToType(data['expireMonth'], 'Number');
68
+ }
69
+ if (data.hasOwnProperty('expireDay')) {
70
+ obj['expireDay'] = _ApiClient["default"].convertToType(data['expireDay'], 'Number');
71
+ }
72
+ if (data.hasOwnProperty('expireYear')) {
73
+ obj['expireYear'] = _ApiClient["default"].convertToType(data['expireYear'], 'Number');
74
+ }
75
+ if (data.hasOwnProperty('cvc')) {
76
+ obj['cvc'] = _ApiClient["default"].convertToType(data['cvc'], 'String');
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>CardInfo</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>CardInfo</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ // ensure the json data is a string
91
+ if (data['cardNumber'] && !(typeof data['cardNumber'] === 'string' || data['cardNumber'] instanceof String)) {
92
+ throw new Error("Expected the field `cardNumber` to be a primitive type in the JSON string but got " + data['cardNumber']);
93
+ }
94
+ // ensure the json data is a string
95
+ if (data['cvc'] && !(typeof data['cvc'] === 'string' || data['cvc'] instanceof String)) {
96
+ throw new Error("Expected the field `cvc` to be a primitive type in the JSON string but got " + data['cvc']);
97
+ }
98
+ return true;
99
+ }
100
+ }]);
101
+ return CardInfo;
102
+ }();
103
+ /**
104
+ * @member {String} cardNumber
105
+ */
106
+ CardInfo.prototype['cardNumber'] = undefined;
107
+
108
+ /**
109
+ * @member {Number} expireMonth
110
+ */
111
+ CardInfo.prototype['expireMonth'] = undefined;
112
+
113
+ /**
114
+ * @member {Number} expireDay
115
+ */
116
+ CardInfo.prototype['expireDay'] = undefined;
117
+
118
+ /**
119
+ * @member {Number} expireYear
120
+ */
121
+ CardInfo.prototype['expireYear'] = undefined;
122
+
123
+ /**
124
+ * @member {String} cvc
125
+ */
126
+ CardInfo.prototype['cvc'] = undefined;
127
+ var _default = exports["default"] = CardInfo;
@@ -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.13
18
+ * The version of the OpenAPI document: 0.1.16
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The Comment model module.
28
28
  * @module model/Comment
29
- * @version 0.1.13
29
+ * @version 0.1.16
30
30
  */
31
31
  var Comment = /*#__PURE__*/function () {
32
32
  /**
@@ -68,15 +68,15 @@ var Comment = /*#__PURE__*/function () {
68
68
  if (data.hasOwnProperty('anonymous')) {
69
69
  obj['anonymous'] = _ApiClient["default"].convertToType(data['anonymous'], 'Boolean');
70
70
  }
71
+ if (data.hasOwnProperty('parentComment')) {
72
+ obj['parentComment'] = _ApiClient["default"].convertToType(data['parentComment'], 'Number');
73
+ }
71
74
  if (data.hasOwnProperty('unfilteredmessage')) {
72
75
  obj['unfilteredmessage'] = _ApiClient["default"].convertToType(data['unfilteredmessage'], 'String');
73
76
  }
74
77
  if (data.hasOwnProperty('unfilteredsubject')) {
75
78
  obj['unfilteredsubject'] = _ApiClient["default"].convertToType(data['unfilteredsubject'], 'String');
76
79
  }
77
- if (data.hasOwnProperty('parentComment')) {
78
- obj['parentComment'] = _ApiClient["default"].convertToType(data['parentComment'], 'Number');
79
- }
80
80
  if (data.hasOwnProperty('replies')) {
81
81
  obj['replies'] = _ApiClient["default"].convertToType(data['replies'], Object);
82
82
  }
@@ -155,6 +155,11 @@ Comment.prototype['parentid'] = undefined;
155
155
  */
156
156
  Comment.prototype['anonymous'] = undefined;
157
157
 
158
+ /**
159
+ * @member {Number} parentComment
160
+ */
161
+ Comment.prototype['parentComment'] = undefined;
162
+
158
163
  /**
159
164
  * @member {String} unfilteredmessage
160
165
  */
@@ -165,11 +170,6 @@ Comment.prototype['unfilteredmessage'] = undefined;
165
170
  */
166
171
  Comment.prototype['unfilteredsubject'] = undefined;
167
172
 
168
- /**
169
- * @member {Number} parentComment
170
- */
171
- Comment.prototype['parentComment'] = undefined;
172
-
173
173
  /**
174
174
  * @member {Object} replies
175
175
  */
@@ -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.13
18
+ * The version of the OpenAPI document: 0.1.16
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The Coordinates model module.
28
28
  * @module model/Coordinates
29
- * @version 0.1.13
29
+ * @version 0.1.16
30
30
  */
31
31
  var Coordinates = /*#__PURE__*/function () {
32
32
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.13
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 CreateAccountResponse model module.
29
29
  * @module model/CreateAccountResponse
30
- * @version 0.1.13
30
+ * @version 0.1.16
31
31
  */
32
32
  var CreateAccountResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.13
19
+ * The version of the OpenAPI document: 0.1.15
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The CreateCustomerResponse model module.
29
29
  * @module model/CreateCustomerResponse
30
- * @version 0.1.13
30
+ * @version 0.1.15
31
31
  */
32
32
  var CreateCustomerResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.13
18
+ * The version of the OpenAPI document: 0.1.16
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The CreateStripeAccountInput model module.
28
28
  * @module model/CreateStripeAccountInput
29
- * @version 0.1.13
29
+ * @version 0.1.16
30
30
  */
31
31
  var CreateStripeAccountInput = /*#__PURE__*/function () {
32
32
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.13
18
+ * The version of the OpenAPI document: 0.1.16
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The CreateStripeCustomerInput model module.
28
28
  * @module model/CreateStripeCustomerInput
29
- * @version 0.1.13
29
+ * @version 0.1.16
30
30
  */
31
31
  var CreateStripeCustomerInput = /*#__PURE__*/function () {
32
32
  /**
@@ -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 _StripeCustomerAccount = _interopRequireDefault(require("./StripeCustomerAccount"));
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 CustomerResponse model module.
29
+ * @module model/CustomerResponse
30
+ * @version 0.1.16
31
+ */
32
+ var CustomerResponse = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new <code>CustomerResponse</code>.
35
+ * @alias module:model/CustomerResponse
36
+ */
37
+ function CustomerResponse() {
38
+ _classCallCheck(this, CustomerResponse);
39
+ CustomerResponse.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(CustomerResponse, null, [{
48
+ key: "initialize",
49
+ value: function initialize(obj) {}
50
+
51
+ /**
52
+ * Constructs a <code>CustomerResponse</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/CustomerResponse} obj Optional instance to populate.
56
+ * @return {module:model/CustomerResponse} The populated <code>CustomerResponse</code> instance.
57
+ */
58
+ }, {
59
+ key: "constructFromObject",
60
+ value: function constructFromObject(data, obj) {
61
+ if (data) {
62
+ obj = obj || new CustomerResponse();
63
+ if (data.hasOwnProperty('clientSecret')) {
64
+ obj['clientSecret'] = _ApiClient["default"].convertToType(data['clientSecret'], 'String');
65
+ }
66
+ if (data.hasOwnProperty('account')) {
67
+ obj['account'] = _StripeCustomerAccount["default"].constructFromObject(data['account']);
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>CustomerResponse</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>CustomerResponse</code>.
80
+ */
81
+ }, {
82
+ key: "validateJSON",
83
+ value: function validateJSON(data) {
84
+ // ensure the json data is a string
85
+ if (data['clientSecret'] && !(typeof data['clientSecret'] === 'string' || data['clientSecret'] instanceof String)) {
86
+ throw new Error("Expected the field `clientSecret` to be a primitive type in the JSON string but got " + data['clientSecret']);
87
+ }
88
+ // validate the optional field `account`
89
+ if (data['account']) {
90
+ // data not null
91
+ _StripeCustomerAccount["default"].validateJSON(data['account']);
92
+ }
93
+ // ensure the json data is a string
94
+ if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
95
+ throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
96
+ }
97
+ return true;
98
+ }
99
+ }]);
100
+ return CustomerResponse;
101
+ }();
102
+ /**
103
+ * @member {String} clientSecret
104
+ */
105
+ CustomerResponse.prototype['clientSecret'] = undefined;
106
+
107
+ /**
108
+ * @member {module:model/StripeCustomerAccount} account
109
+ */
110
+ CustomerResponse.prototype['account'] = undefined;
111
+
112
+ /**
113
+ * @member {String} failureException
114
+ */
115
+ CustomerResponse.prototype['failureException'] = undefined;
116
+ var _default = exports["default"] = CustomerResponse;
@@ -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.13
18
+ * The version of the OpenAPI document: 0.1.16
19
19
  * Contact: info@gobodo.io
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
26
26
  /**
27
27
  * The DataObject model module.
28
28
  * @module model/DataObject
29
- * @version 0.1.13
29
+ * @version 0.1.16
30
30
  */
31
31
  var DataObject = /*#__PURE__*/function () {
32
32
  /**