@gobodo/gobodo-api-promise 0.1.52 → 0.1.61

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 (223) hide show
  1. package/README.md +137 -54
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +13 -13
  5. package/dist/api/AdManagementApi.js +24 -24
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +13 -13
  8. package/dist/api/AttachmentsApi.js +7 -7
  9. package/dist/api/AuthenticationApi.js +44 -2
  10. package/dist/api/CategoriesApi.js +7 -7
  11. package/dist/api/CommentsApi.js +7 -7
  12. package/dist/api/ContentManagementApi.js +12 -12
  13. package/dist/api/ConversationsApi.js +7 -7
  14. package/dist/api/DataSheetImportsApi.js +7 -7
  15. package/dist/api/DefaultApi.js +15 -443
  16. package/dist/api/DocumentsApi.js +7 -7
  17. package/dist/api/EmailsApi.js +346 -0
  18. package/dist/api/EntryPartsApi.js +7 -7
  19. package/dist/api/FacebookApi.js +2 -2
  20. package/dist/api/FieldsApi.js +2 -2
  21. package/dist/api/FilesApi.js +2 -2
  22. package/dist/api/FormsApi.js +17 -17
  23. package/dist/api/FunctionsApi.js +1373 -25
  24. package/dist/api/GeocodeApi.js +2 -2
  25. package/dist/api/GoogleApi.js +2 -2
  26. package/dist/api/GraphActionTypesApi.js +632 -0
  27. package/dist/api/GraphActionsApi.js +2 -2
  28. package/dist/api/GraphObjectTypesApi.js +250 -86
  29. package/dist/api/GraphObjectsApi.js +2 -2
  30. package/dist/api/GraphRelationshipTypesApi.js +172 -13
  31. package/dist/api/GraphRelationshipsApi.js +21 -20
  32. package/dist/api/GraphSchemasApi.js +13 -13
  33. package/dist/api/GraphTraversalApi.js +2 -2
  34. package/dist/api/GraphsApi.js +13 -13
  35. package/dist/api/GroupsApi.js +7 -7
  36. package/dist/api/IAMApi.js +13 -13
  37. package/dist/api/ImagesApi.js +7 -7
  38. package/dist/api/InvitesApi.js +2 -2
  39. package/dist/api/LikesApi.js +7 -7
  40. package/dist/api/LinkedINApi.js +2 -2
  41. package/dist/api/LiveMeetingsApi.js +2 -2
  42. package/dist/api/MeetingEventsApi.js +2 -2
  43. package/dist/api/NotificationsApi.js +1076 -0
  44. package/dist/api/PagesApi.js +7 -7
  45. package/dist/api/PhoneNumbersApi.js +403 -0
  46. package/dist/api/PostsApi.js +7 -7
  47. package/dist/api/PrivateMessagesApi.js +18 -18
  48. package/dist/api/PublicationsApi.js +2 -2
  49. package/dist/api/ScreensApi.js +2 -2
  50. package/dist/api/SocialIntegrationApi.js +2 -2
  51. package/dist/api/StripeAccountsApi.js +2 -2
  52. package/dist/api/TagsApi.js +2 -2
  53. package/dist/api/TemplatesApi.js +2 -2
  54. package/dist/api/ThemeMappingsApi.js +8 -8
  55. package/dist/api/TopicsApi.js +569 -0
  56. package/dist/api/TransactionsApi.js +2 -2
  57. package/dist/api/TwitterApi.js +2 -2
  58. package/dist/api/UserTagsApi.js +7 -7
  59. package/dist/api/UsersApi.js +7 -7
  60. package/dist/api/UtilsApi.js +2 -2
  61. package/dist/api/VideosApi.js +7 -7
  62. package/dist/index.js +245 -7
  63. package/dist/model/APIClient.js +23 -23
  64. package/dist/model/AccountSessionInput.js +2 -2
  65. package/dist/model/AccountSessionResponse.js +2 -2
  66. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  67. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -49
  68. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
  69. package/dist/model/Article.js +2 -2
  70. package/dist/model/AuthResponse.js +2 -2
  71. package/dist/model/AwsSettings.js +193 -0
  72. package/dist/model/Balance.js +33 -33
  73. package/dist/model/BalanceDetails.js +2 -2
  74. package/dist/model/BalanceResponse.js +2 -2
  75. package/dist/model/BankAccountInfo.js +2 -2
  76. package/dist/model/CardInfo.js +2 -2
  77. package/dist/model/Comment.js +31 -31
  78. package/dist/model/Coordinates.js +2 -2
  79. package/dist/model/CreateAccountResponse.js +2 -2
  80. package/dist/model/CreateFunctionInput.js +238 -0
  81. package/dist/model/CreateStripeAccountInput.js +2 -2
  82. package/dist/model/CreateStripeCustomerInput.js +2 -2
  83. package/dist/model/CreateTopicInput.js +191 -0
  84. package/dist/model/CreateTopicListenerInput.js +160 -0
  85. package/dist/model/CurrencySettings.js +108 -0
  86. package/dist/model/CustomerResponse.js +2 -2
  87. package/dist/model/DataObject.js +2 -2
  88. package/dist/model/DataSheetImport.js +27 -27
  89. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  90. package/dist/model/DataSheetImportSummary.js +2 -2
  91. package/dist/model/DeviceRegistrationRequest.js +252 -0
  92. package/dist/model/Document.js +2 -2
  93. package/dist/model/DocumentPart.js +52 -52
  94. package/dist/model/DocumentPartType.js +23 -23
  95. package/dist/model/DocumentType.js +63 -63
  96. package/dist/model/EmailAddress.js +245 -0
  97. package/dist/model/FieldMapping.js +2 -2
  98. package/dist/model/Fields.js +71 -71
  99. package/dist/model/File.js +23 -23
  100. package/dist/model/FileAttachmentUploadObject.js +23 -23
  101. package/dist/model/Filter.js +2 -2
  102. package/dist/model/FilterManager.js +2 -2
  103. package/dist/model/Form.js +37 -37
  104. package/dist/model/FormSection.js +37 -37
  105. package/dist/model/FormSubmission.js +30 -30
  106. package/dist/model/FunctionConfigInput.js +563 -0
  107. package/dist/model/FunctionEnvironmentConfig.js +221 -0
  108. package/dist/model/FunctionInput.js +260 -0
  109. package/dist/model/FunctionOutput.js +235 -0
  110. package/dist/model/Geocode.js +2 -2
  111. package/dist/model/GeocodePayload.js +2 -2
  112. package/dist/model/GeolocationInput.js +2 -2
  113. package/dist/model/GetFunctionConfig.js +536 -0
  114. package/dist/model/GetFunctionEnvironmentConfig.js +223 -0
  115. package/dist/model/GetFunctionResponse.js +302 -0
  116. package/dist/model/GoogleCloudSettings.js +162 -0
  117. package/dist/model/Graph.js +91 -91
  118. package/dist/model/GraphAction.js +29 -29
  119. package/dist/model/GraphDatabaseService.js +2 -2
  120. package/dist/model/GraphGeocode.js +2 -2
  121. package/dist/model/GraphIteratorEntryPart.js +2 -2
  122. package/dist/model/GraphObject.js +81 -81
  123. package/dist/model/GraphObjectPayload.js +2 -2
  124. package/dist/model/GraphObjectSchema.js +109 -109
  125. package/dist/model/GraphObjectType.js +52 -52
  126. package/dist/model/GraphObjectTypeResponse.js +377 -0
  127. package/dist/model/GraphObjectTypeSchema.js +52 -52
  128. package/dist/model/GraphOwner.js +2 -2
  129. package/dist/model/GraphRelationship.js +30 -30
  130. package/dist/model/GraphRelationshipPayload.js +2 -2
  131. package/dist/model/GraphRelationshipType.js +33 -33
  132. package/dist/model/GraphRelationshipTypeResponse.js +612 -0
  133. package/dist/model/GraphSchema.js +115 -115
  134. package/dist/model/GraphTraversalInput.js +2 -2
  135. package/dist/model/Image.js +70 -70
  136. package/dist/model/ImageUploadObject.js +70 -70
  137. package/dist/model/InputPart.js +2 -2
  138. package/dist/model/InputPartHeaders.js +106 -0
  139. package/dist/model/InputPartMediaType.js +2 -2
  140. package/dist/model/KafkaSettings.js +220 -0
  141. package/dist/model/Link.js +54 -54
  142. package/dist/model/LiveStreamInfo.js +2 -2
  143. package/dist/model/MeetingEvent.js +108 -108
  144. package/dist/model/MeetingEventTimezone.js +2 -2
  145. package/dist/model/MeetingInfo.js +2 -2
  146. package/dist/model/Member.js +31 -31
  147. package/dist/model/MemberGroupCategory.js +2 -2
  148. package/dist/model/MemberList.js +2 -2
  149. package/dist/model/MessageGroup.js +25 -25
  150. package/dist/model/MultipartBody.js +2 -2
  151. package/dist/model/Notification.js +381 -0
  152. package/dist/model/NotificationInput.js +273 -0
  153. package/dist/model/NotificationResponse.js +332 -0
  154. package/dist/model/NumberSettings.js +104 -0
  155. package/dist/model/ObjectSettings.js +129 -0
  156. package/dist/model/Objecttype.js +48 -48
  157. package/dist/model/OutParameter.js +162 -0
  158. package/dist/model/Page.js +2 -2
  159. package/dist/model/PageSchema.js +27 -27
  160. package/dist/model/Pageable.js +2 -2
  161. package/dist/model/Parameter.js +162 -0
  162. package/dist/model/Path.js +2 -2
  163. package/dist/model/PaymentAccountObject.js +2 -2
  164. package/dist/model/PaymentIntentInput.js +2 -2
  165. package/dist/model/PaymentIntentResponse.js +2 -2
  166. package/dist/model/PaymentMethod.js +25 -25
  167. package/dist/model/PaymentMethodInput.js +2 -2
  168. package/dist/model/PaymentMethodResponse.js +2 -2
  169. package/dist/model/PaymentMethodsResponse.js +2 -2
  170. package/dist/model/Payout.js +32 -32
  171. package/dist/model/PayoutInput.js +2 -2
  172. package/dist/model/PayoutResponse.js +2 -2
  173. package/dist/model/PhoneNumber.js +332 -0
  174. package/dist/model/Post.js +2 -2
  175. package/dist/model/PrivateMessage.js +2 -2
  176. package/dist/model/PrivateMessageConversation.js +91 -91
  177. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  178. package/dist/model/Profile.js +2 -2
  179. package/dist/model/Profiletype.js +2 -2
  180. package/dist/model/PropertyContainer.js +25 -25
  181. package/dist/model/PurgeDataDefaultResponse.js +179 -0
  182. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  183. package/dist/model/RelationshipMapping.js +2 -2
  184. package/dist/model/ScreenSchema.js +81 -81
  185. package/dist/model/SimulcastInfo.js +2 -2
  186. package/dist/model/SkinField.js +71 -71
  187. package/dist/model/SkinFieldResponse.js +596 -0
  188. package/dist/model/SocialGroup.js +2 -2
  189. package/dist/model/SocialGroupType.js +25 -25
  190. package/dist/model/Sort.js +2 -2
  191. package/dist/model/SourceTypes.js +2 -2
  192. package/dist/model/StatusUpdate.js +2 -2
  193. package/dist/model/StreetAddress.js +2 -2
  194. package/dist/model/StripeAccount.js +2 -2
  195. package/dist/model/StripeCustomerAccount.js +2 -2
  196. package/dist/model/Template.js +58 -58
  197. package/dist/model/TemplateResponse.js +301 -0
  198. package/dist/model/TemplateSchema.js +58 -58
  199. package/dist/model/ThemeMapping.js +27 -27
  200. package/dist/model/ThemeMappingPayload.js +25 -25
  201. package/dist/model/TopicInfoResponse.js +269 -0
  202. package/dist/model/TopicMessageInput.js +158 -0
  203. package/dist/model/TopicSubscriptionResponse.js +220 -0
  204. package/dist/model/Transaction.js +2 -2
  205. package/dist/model/Transfer.js +32 -32
  206. package/dist/model/TransferInput.js +2 -2
  207. package/dist/model/TransferResponse.js +2 -2
  208. package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
  209. package/dist/model/TraversalRelationResponse.js +2 -2
  210. package/dist/model/User.js +31 -31
  211. package/dist/model/UserDataPayload.js +31 -31
  212. package/dist/model/UserDomain.js +2 -2
  213. package/dist/model/UserInvite.js +29 -29
  214. package/dist/model/UserInviteInput.js +2 -2
  215. package/dist/model/UserSchema.js +31 -31
  216. package/dist/model/UserTag.js +2 -2
  217. package/dist/model/Userid.js +2 -2
  218. package/dist/model/Video.js +52 -52
  219. package/dist/model/VideoLiveUrl.js +27 -27
  220. package/dist/model/VideoSchema.js +52 -52
  221. package/dist/model/VideoUploadObject.js +52 -52
  222. package/dist/model/ZeusPortalCategory.js +2 -2
  223. package/package.json +1 -1
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.52
20
+ * The version of the OpenAPI document: 0.1.61
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The DocumentType model module.
30
30
  * @module model/DocumentType
31
- * @version 0.1.52
31
+ * @version 0.1.61
32
32
  */
33
33
  var DocumentType = /*#__PURE__*/function () {
34
34
  /**
@@ -80,23 +80,6 @@ var DocumentType = /*#__PURE__*/function () {
80
80
  value: function setParent(parent) {
81
81
  this['parent'] = parent;
82
82
  }
83
- /**
84
- * @return {String}
85
- */
86
- }, {
87
- key: "getSingleDescription",
88
- value: function getSingleDescription() {
89
- return this.singleDescription;
90
- }
91
-
92
- /**
93
- * @param {String} singleDescription
94
- */
95
- }, {
96
- key: "setSingleDescription",
97
- value: function setSingleDescription(singleDescription) {
98
- this['singleDescription'] = singleDescription;
99
- }
100
83
  /**
101
84
  * @return {Boolean}
102
85
  */
@@ -115,21 +98,21 @@ var DocumentType = /*#__PURE__*/function () {
115
98
  this['singlePart'] = singlePart;
116
99
  }
117
100
  /**
118
- * @return {Object}
101
+ * @return {String}
119
102
  */
120
103
  }, {
121
- key: "getEntryPartTypes",
122
- value: function getEntryPartTypes() {
123
- return this.entryPartTypes;
104
+ key: "getSingleDescription",
105
+ value: function getSingleDescription() {
106
+ return this.singleDescription;
124
107
  }
125
108
 
126
109
  /**
127
- * @param {Object} entryPartTypes
110
+ * @param {String} singleDescription
128
111
  */
129
112
  }, {
130
- key: "setEntryPartTypes",
131
- value: function setEntryPartTypes(entryPartTypes) {
132
- this['entryPartTypes'] = entryPartTypes;
113
+ key: "setSingleDescription",
114
+ value: function setSingleDescription(singleDescription) {
115
+ this['singleDescription'] = singleDescription;
133
116
  }
134
117
  /**
135
118
  * @return {Boolean}
@@ -165,6 +148,23 @@ var DocumentType = /*#__PURE__*/function () {
165
148
  value: function setChildTypes(childTypes) {
166
149
  this['childTypes'] = childTypes;
167
150
  }
151
+ /**
152
+ * @return {Object}
153
+ */
154
+ }, {
155
+ key: "getEntryPartTypes",
156
+ value: function getEntryPartTypes() {
157
+ return this.entryPartTypes;
158
+ }
159
+
160
+ /**
161
+ * @param {Object} entryPartTypes
162
+ */
163
+ }, {
164
+ key: "setEntryPartTypes",
165
+ value: function setEntryPartTypes(entryPartTypes) {
166
+ this['entryPartTypes'] = entryPartTypes;
167
+ }
168
168
  /**
169
169
  * @return {String}
170
170
  */
@@ -183,21 +183,21 @@ var DocumentType = /*#__PURE__*/function () {
183
183
  this['description'] = description;
184
184
  }
185
185
  /**
186
- * @return {Object}
186
+ * @return {Boolean}
187
187
  */
188
188
  }, {
189
- key: "getSkinFields",
190
- value: function getSkinFields() {
191
- return this.skinFields;
189
+ key: "getSearchable",
190
+ value: function getSearchable() {
191
+ return this.searchable;
192
192
  }
193
193
 
194
194
  /**
195
- * @param {Object} skinFields
195
+ * @param {Boolean} searchable
196
196
  */
197
197
  }, {
198
- key: "setSkinFields",
199
- value: function setSkinFields(skinFields) {
200
- this['skinFields'] = skinFields;
198
+ key: "setSearchable",
199
+ value: function setSearchable(searchable) {
200
+ this['searchable'] = searchable;
201
201
  }
202
202
  /**
203
203
  * @return {module:model/Template}
@@ -217,21 +217,21 @@ var DocumentType = /*#__PURE__*/function () {
217
217
  this['template'] = template;
218
218
  }
219
219
  /**
220
- * @return {Boolean}
220
+ * @return {Object}
221
221
  */
222
222
  }, {
223
- key: "getSearchable",
224
- value: function getSearchable() {
225
- return this.searchable;
223
+ key: "getSkinFields",
224
+ value: function getSkinFields() {
225
+ return this.skinFields;
226
226
  }
227
227
 
228
228
  /**
229
- * @param {Boolean} searchable
229
+ * @param {Object} skinFields
230
230
  */
231
231
  }, {
232
- key: "setSearchable",
233
- value: function setSearchable(searchable) {
234
- this['searchable'] = searchable;
232
+ key: "setSkinFields",
233
+ value: function setSkinFields(skinFields) {
234
+ this['skinFields'] = skinFields;
235
235
  }
236
236
  /**
237
237
  * @return {module:model/GraphObjectType}
@@ -306,14 +306,11 @@ var DocumentType = /*#__PURE__*/function () {
306
306
  if (data.hasOwnProperty('parent')) {
307
307
  obj['parent'] = DocumentType.constructFromObject(data['parent']);
308
308
  }
309
- if (data.hasOwnProperty('singleDescription')) {
310
- obj['singleDescription'] = _ApiClient["default"].convertToType(data['singleDescription'], 'String');
311
- }
312
309
  if (data.hasOwnProperty('singlePart')) {
313
310
  obj['singlePart'] = _ApiClient["default"].convertToType(data['singlePart'], 'Boolean');
314
311
  }
315
- if (data.hasOwnProperty('entryPartTypes')) {
316
- obj['entryPartTypes'] = _ApiClient["default"].convertToType(data['entryPartTypes'], Object);
312
+ if (data.hasOwnProperty('singleDescription')) {
313
+ obj['singleDescription'] = _ApiClient["default"].convertToType(data['singleDescription'], 'String');
317
314
  }
318
315
  if (data.hasOwnProperty('mediaItem')) {
319
316
  obj['mediaItem'] = _ApiClient["default"].convertToType(data['mediaItem'], 'Boolean');
@@ -321,17 +318,20 @@ var DocumentType = /*#__PURE__*/function () {
321
318
  if (data.hasOwnProperty('childTypes')) {
322
319
  obj['childTypes'] = _ApiClient["default"].convertToType(data['childTypes'], Object);
323
320
  }
321
+ if (data.hasOwnProperty('entryPartTypes')) {
322
+ obj['entryPartTypes'] = _ApiClient["default"].convertToType(data['entryPartTypes'], Object);
323
+ }
324
324
  if (data.hasOwnProperty('description')) {
325
325
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
326
326
  }
327
- if (data.hasOwnProperty('skinFields')) {
328
- obj['skinFields'] = _ApiClient["default"].convertToType(data['skinFields'], Object);
327
+ if (data.hasOwnProperty('searchable')) {
328
+ obj['searchable'] = _ApiClient["default"].convertToType(data['searchable'], 'Boolean');
329
329
  }
330
330
  if (data.hasOwnProperty('template')) {
331
331
  obj['template'] = _Template["default"].constructFromObject(data['template']);
332
332
  }
333
- if (data.hasOwnProperty('searchable')) {
334
- obj['searchable'] = _ApiClient["default"].convertToType(data['searchable'], 'Boolean');
333
+ if (data.hasOwnProperty('skinFields')) {
334
+ obj['skinFields'] = _ApiClient["default"].convertToType(data['skinFields'], Object);
335
335
  }
336
336
  if (data.hasOwnProperty('graphObjectType')) {
337
337
  obj['graphObjectType'] = _GraphObjectType["default"].constructFromObject(data['graphObjectType']);
@@ -396,20 +396,15 @@ DocumentType.prototype['name'] = undefined;
396
396
  */
397
397
  DocumentType.prototype['parent'] = undefined;
398
398
 
399
- /**
400
- * @member {String} singleDescription
401
- */
402
- DocumentType.prototype['singleDescription'] = undefined;
403
-
404
399
  /**
405
400
  * @member {Boolean} singlePart
406
401
  */
407
402
  DocumentType.prototype['singlePart'] = undefined;
408
403
 
409
404
  /**
410
- * @member {Object} entryPartTypes
405
+ * @member {String} singleDescription
411
406
  */
412
- DocumentType.prototype['entryPartTypes'] = undefined;
407
+ DocumentType.prototype['singleDescription'] = undefined;
413
408
 
414
409
  /**
415
410
  * @member {Boolean} mediaItem
@@ -421,15 +416,20 @@ DocumentType.prototype['mediaItem'] = undefined;
421
416
  */
422
417
  DocumentType.prototype['childTypes'] = undefined;
423
418
 
419
+ /**
420
+ * @member {Object} entryPartTypes
421
+ */
422
+ DocumentType.prototype['entryPartTypes'] = undefined;
423
+
424
424
  /**
425
425
  * @member {String} description
426
426
  */
427
427
  DocumentType.prototype['description'] = undefined;
428
428
 
429
429
  /**
430
- * @member {Object} skinFields
430
+ * @member {Boolean} searchable
431
431
  */
432
- DocumentType.prototype['skinFields'] = undefined;
432
+ DocumentType.prototype['searchable'] = undefined;
433
433
 
434
434
  /**
435
435
  * @member {module:model/Template} template
@@ -437,9 +437,9 @@ DocumentType.prototype['skinFields'] = undefined;
437
437
  DocumentType.prototype['template'] = undefined;
438
438
 
439
439
  /**
440
- * @member {Boolean} searchable
440
+ * @member {Object} skinFields
441
441
  */
442
- DocumentType.prototype['searchable'] = undefined;
442
+ DocumentType.prototype['skinFields'] = undefined;
443
443
 
444
444
  /**
445
445
  * @member {module:model/GraphObjectType} graphObjectType
@@ -0,0 +1,245 @@
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * gobodo-api
16
+ * REST Interface for Gobodo API
17
+ *
18
+ * The version of the OpenAPI document: 0.1.61
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 EmailAddress model module.
28
+ * @module model/EmailAddress
29
+ * @version 0.1.61
30
+ */
31
+ var EmailAddress = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>EmailAddress</code>.
34
+ * @alias module:model/EmailAddress
35
+ */
36
+ function EmailAddress() {
37
+ _classCallCheck(this, EmailAddress);
38
+ EmailAddress.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ _createClass(EmailAddress, [{
47
+ key: "getEmailAddress",
48
+ value:
49
+ /**
50
+ * @return {String}
51
+ */
52
+ function getEmailAddress() {
53
+ return this.emailAddress;
54
+ }
55
+
56
+ /**
57
+ * @param {String} emailAddress
58
+ */
59
+ }, {
60
+ key: "setEmailAddress",
61
+ value: function setEmailAddress(emailAddress) {
62
+ this['emailAddress'] = emailAddress;
63
+ }
64
+ /**
65
+ * @return {String}
66
+ */
67
+ }, {
68
+ key: "getEmailAddressType",
69
+ value: function getEmailAddressType() {
70
+ return this.emailAddressType;
71
+ }
72
+
73
+ /**
74
+ * @param {String} emailAddressType
75
+ */
76
+ }, {
77
+ key: "setEmailAddressType",
78
+ value: function setEmailAddressType(emailAddressType) {
79
+ this['emailAddressType'] = emailAddressType;
80
+ }
81
+ /**
82
+ * @return {String}
83
+ */
84
+ }, {
85
+ key: "getEmailAddressExtension",
86
+ value: function getEmailAddressExtension() {
87
+ return this.emailAddressExtension;
88
+ }
89
+
90
+ /**
91
+ * @param {String} emailAddressExtension
92
+ */
93
+ }, {
94
+ key: "setEmailAddressExtension",
95
+ value: function setEmailAddressExtension(emailAddressExtension) {
96
+ this['emailAddressExtension'] = emailAddressExtension;
97
+ }
98
+ /**
99
+ * @return {String}
100
+ */
101
+ }, {
102
+ key: "getEmailAddressCountryCode",
103
+ value: function getEmailAddressCountryCode() {
104
+ return this.emailAddressCountryCode;
105
+ }
106
+
107
+ /**
108
+ * @param {String} emailAddressCountryCode
109
+ */
110
+ }, {
111
+ key: "setEmailAddressCountryCode",
112
+ value: function setEmailAddressCountryCode(emailAddressCountryCode) {
113
+ this['emailAddressCountryCode'] = emailAddressCountryCode;
114
+ }
115
+ /**
116
+ * @return {Object}
117
+ */
118
+ }, {
119
+ key: "getData",
120
+ value: function getData() {
121
+ return this.data;
122
+ }
123
+
124
+ /**
125
+ * @param {Object} data
126
+ */
127
+ }, {
128
+ key: "setData",
129
+ value: function setData(data) {
130
+ this['data'] = data;
131
+ }
132
+ /**
133
+ * @return {Number}
134
+ */
135
+ }, {
136
+ key: "getId",
137
+ value: function getId() {
138
+ return this.id;
139
+ }
140
+
141
+ /**
142
+ * @param {Number} id
143
+ */
144
+ }, {
145
+ key: "setId",
146
+ value: function setId(id) {
147
+ this['id'] = id;
148
+ }
149
+ }], [{
150
+ key: "initialize",
151
+ value: function initialize(obj) {}
152
+
153
+ /**
154
+ * Constructs a <code>EmailAddress</code> from a plain JavaScript object, optionally creating a new instance.
155
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
156
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
157
+ * @param {module:model/EmailAddress} obj Optional instance to populate.
158
+ * @return {module:model/EmailAddress} The populated <code>EmailAddress</code> instance.
159
+ */
160
+ }, {
161
+ key: "constructFromObject",
162
+ value: function constructFromObject(data, obj) {
163
+ if (data) {
164
+ obj = obj || new EmailAddress();
165
+ if (data.hasOwnProperty('emailAddress')) {
166
+ obj['emailAddress'] = _ApiClient["default"].convertToType(data['emailAddress'], 'String');
167
+ }
168
+ if (data.hasOwnProperty('emailAddressType')) {
169
+ obj['emailAddressType'] = _ApiClient["default"].convertToType(data['emailAddressType'], 'String');
170
+ }
171
+ if (data.hasOwnProperty('emailAddressExtension')) {
172
+ obj['emailAddressExtension'] = _ApiClient["default"].convertToType(data['emailAddressExtension'], 'String');
173
+ }
174
+ if (data.hasOwnProperty('emailAddressCountryCode')) {
175
+ obj['emailAddressCountryCode'] = _ApiClient["default"].convertToType(data['emailAddressCountryCode'], 'String');
176
+ }
177
+ if (data.hasOwnProperty('data')) {
178
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
179
+ }
180
+ if (data.hasOwnProperty('id')) {
181
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
182
+ }
183
+ }
184
+ return obj;
185
+ }
186
+
187
+ /**
188
+ * Validates the JSON data with respect to <code>EmailAddress</code>.
189
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
190
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>EmailAddress</code>.
191
+ */
192
+ }, {
193
+ key: "validateJSON",
194
+ value: function validateJSON(data) {
195
+ // ensure the json data is a string
196
+ if (data['emailAddress'] && !(typeof data['emailAddress'] === 'string' || data['emailAddress'] instanceof String)) {
197
+ throw new Error("Expected the field `emailAddress` to be a primitive type in the JSON string but got " + data['emailAddress']);
198
+ }
199
+ // ensure the json data is a string
200
+ if (data['emailAddressType'] && !(typeof data['emailAddressType'] === 'string' || data['emailAddressType'] instanceof String)) {
201
+ throw new Error("Expected the field `emailAddressType` to be a primitive type in the JSON string but got " + data['emailAddressType']);
202
+ }
203
+ // ensure the json data is a string
204
+ if (data['emailAddressExtension'] && !(typeof data['emailAddressExtension'] === 'string' || data['emailAddressExtension'] instanceof String)) {
205
+ throw new Error("Expected the field `emailAddressExtension` to be a primitive type in the JSON string but got " + data['emailAddressExtension']);
206
+ }
207
+ // ensure the json data is a string
208
+ if (data['emailAddressCountryCode'] && !(typeof data['emailAddressCountryCode'] === 'string' || data['emailAddressCountryCode'] instanceof String)) {
209
+ throw new Error("Expected the field `emailAddressCountryCode` to be a primitive type in the JSON string but got " + data['emailAddressCountryCode']);
210
+ }
211
+ return true;
212
+ }
213
+ }]);
214
+ return EmailAddress;
215
+ }();
216
+ /**
217
+ * @member {String} emailAddress
218
+ */
219
+ EmailAddress.prototype['emailAddress'] = undefined;
220
+
221
+ /**
222
+ * @member {String} emailAddressType
223
+ */
224
+ EmailAddress.prototype['emailAddressType'] = undefined;
225
+
226
+ /**
227
+ * @member {String} emailAddressExtension
228
+ */
229
+ EmailAddress.prototype['emailAddressExtension'] = undefined;
230
+
231
+ /**
232
+ * @member {String} emailAddressCountryCode
233
+ */
234
+ EmailAddress.prototype['emailAddressCountryCode'] = undefined;
235
+
236
+ /**
237
+ * @member {Object} data
238
+ */
239
+ EmailAddress.prototype['data'] = undefined;
240
+
241
+ /**
242
+ * @member {Number} id
243
+ */
244
+ EmailAddress.prototype['id'] = undefined;
245
+ var _default = exports["default"] = EmailAddress;
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * gobodo-api
16
16
  * REST Interface for Gobodo API
17
17
  *
18
- * The version of the OpenAPI document: 0.1.52
18
+ * The version of the OpenAPI document: 0.1.61
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The FieldMapping model module.
28
28
  * @module model/FieldMapping
29
- * @version 0.1.52
29
+ * @version 0.1.61
30
30
  */
31
31
  var FieldMapping = /*#__PURE__*/function () {
32
32
  /**