@gobodo/gobodo-api 0.1.4 → 0.1.6
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 +25 -29
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +590 -606
- package/dist/api/GraphRelationshipTypesApi.js +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +100 -116
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +43 -45
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +28 -28
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +67 -47
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +73 -61
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +122 -85
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +129 -84
- package/dist/model/DocumentPartType.js +67 -40
- package/dist/model/DocumentType.js +77 -54
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +93 -108
- package/dist/model/File.js +58 -44
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +77 -69
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +86 -36
- package/dist/model/GraphObjectSchema.js +90 -62
- package/dist/model/GraphObjectType.js +91 -67
- package/dist/model/GraphObjectTypeSchema.js +110 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +89 -69
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +79 -61
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +63 -35
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +108 -68
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +43 -30
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +104 -64
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +79 -65
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +38 -25
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +93 -108
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +108 -68
- package/dist/model/UserDataPayload.js +108 -68
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +108 -68
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +104 -85
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +122 -98
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
package/dist/api/GroupsApi.js
CHANGED
|
@@ -4,29 +4,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _Page = _interopRequireDefault(require("../model/Page"));
|
|
11
|
-
|
|
9
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
12
10
|
var _SocialGroup = _interopRequireDefault(require("../model/SocialGroup"));
|
|
13
|
-
|
|
14
11
|
var _User = _interopRequireDefault(require("../model/User"));
|
|
15
|
-
|
|
16
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
13
|
+
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); }
|
|
18
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
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.6
|
|
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
|
+
*/
|
|
24
30
|
/**
|
|
25
31
|
* Groups service.
|
|
26
32
|
* @module api/GroupsApi
|
|
27
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.6
|
|
28
34
|
*/
|
|
29
|
-
var GroupsApi = /*#__PURE__*/function () {
|
|
35
|
+
var GroupsApi = exports["default"] = /*#__PURE__*/function () {
|
|
30
36
|
/**
|
|
31
37
|
* Constructs a new GroupsApi.
|
|
32
38
|
* @alias module:api/GroupsApi
|
|
@@ -36,9 +42,9 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
36
42
|
*/
|
|
37
43
|
function GroupsApi(apiClient) {
|
|
38
44
|
_classCallCheck(this, GroupsApi);
|
|
39
|
-
|
|
40
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
41
46
|
}
|
|
47
|
+
|
|
42
48
|
/**
|
|
43
49
|
* Callback function to receive the result of the addMembers operation.
|
|
44
50
|
* @callback module:api/GroupsApi~addMembersCallback
|
|
@@ -53,29 +59,25 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
53
59
|
* @param {Number} groupid
|
|
54
60
|
* @param {Array.<Number>} requestBody Id of user or an array of user ids to add
|
|
55
61
|
* @param {Object} opts Optional parameters
|
|
56
|
-
* @param {String}
|
|
57
|
-
* @param {Number}
|
|
58
|
-
* @param {String}
|
|
59
|
-
* @param {String}
|
|
62
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
63
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
64
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
65
|
+
* @param {String} [inviteCode]
|
|
60
66
|
* @param {module:api/GroupsApi~addMembersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
61
67
|
*/
|
|
62
|
-
|
|
63
|
-
|
|
64
68
|
_createClass(GroupsApi, [{
|
|
65
69
|
key: "addMembers",
|
|
66
70
|
value: function addMembers(groupid, requestBody, opts, callback) {
|
|
67
71
|
opts = opts || {};
|
|
68
|
-
var postBody = requestBody;
|
|
69
|
-
|
|
72
|
+
var postBody = requestBody;
|
|
73
|
+
// verify the required parameter 'groupid' is set
|
|
70
74
|
if (groupid === undefined || groupid === null) {
|
|
71
75
|
throw new Error("Missing the required parameter 'groupid' when calling addMembers");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
}
|
|
77
|
+
// verify the required parameter 'requestBody' is set
|
|
75
78
|
if (requestBody === undefined || requestBody === null) {
|
|
76
79
|
throw new Error("Missing the required parameter 'requestBody' when calling addMembers");
|
|
77
80
|
}
|
|
78
|
-
|
|
79
81
|
var pathParams = {
|
|
80
82
|
'groupid': groupid
|
|
81
83
|
};
|
|
@@ -94,6 +96,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
94
96
|
var returnType = null;
|
|
95
97
|
return this.apiClient.callApi('/graph/data/groups/{groupid}/addmembers', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
96
98
|
}
|
|
99
|
+
|
|
97
100
|
/**
|
|
98
101
|
* Callback function to receive the result of the createGroup operation.
|
|
99
102
|
* @callback module:api/GroupsApi~createGroupCallback
|
|
@@ -107,23 +110,21 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
107
110
|
* Create new group(s)
|
|
108
111
|
* @param {module:model/SocialGroup} socialGroup Group object or array of objects to create
|
|
109
112
|
* @param {Object} opts Optional parameters
|
|
110
|
-
* @param {String}
|
|
111
|
-
* @param {Number}
|
|
112
|
-
* @param {String}
|
|
113
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
114
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
115
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
113
116
|
* @param {module:api/GroupsApi~createGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
114
117
|
* data is of type: {@link Array.<module:model/SocialGroup>}
|
|
115
118
|
*/
|
|
116
|
-
|
|
117
119
|
}, {
|
|
118
120
|
key: "createGroup",
|
|
119
121
|
value: function createGroup(socialGroup, opts, callback) {
|
|
120
122
|
opts = opts || {};
|
|
121
|
-
var postBody = socialGroup;
|
|
122
|
-
|
|
123
|
+
var postBody = socialGroup;
|
|
124
|
+
// verify the required parameter 'socialGroup' is set
|
|
123
125
|
if (socialGroup === undefined || socialGroup === null) {
|
|
124
126
|
throw new Error("Missing the required parameter 'socialGroup' when calling createGroup");
|
|
125
127
|
}
|
|
126
|
-
|
|
127
128
|
var pathParams = {};
|
|
128
129
|
var queryParams = {};
|
|
129
130
|
var headerParams = {
|
|
@@ -138,6 +139,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
138
139
|
var returnType = [_SocialGroup["default"]];
|
|
139
140
|
return this.apiClient.callApi('/graph/data/groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
140
141
|
}
|
|
142
|
+
|
|
141
143
|
/**
|
|
142
144
|
* Callback function to receive the result of the editGroup operation.
|
|
143
145
|
* @callback module:api/GroupsApi~editGroupCallback
|
|
@@ -152,28 +154,25 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
152
154
|
* @param {Number} id
|
|
153
155
|
* @param {module:model/Page} page Conversation object or array of objects to create
|
|
154
156
|
* @param {Object} opts Optional parameters
|
|
155
|
-
* @param {String}
|
|
156
|
-
* @param {Number}
|
|
157
|
-
* @param {String}
|
|
157
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
158
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
159
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
158
160
|
* @param {module:api/GroupsApi~editGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
159
161
|
* data is of type: {@link module:model/Page}
|
|
160
162
|
*/
|
|
161
|
-
|
|
162
163
|
}, {
|
|
163
164
|
key: "editGroup",
|
|
164
165
|
value: function editGroup(id, page, opts, callback) {
|
|
165
166
|
opts = opts || {};
|
|
166
|
-
var postBody = page;
|
|
167
|
-
|
|
167
|
+
var postBody = page;
|
|
168
|
+
// verify the required parameter 'id' is set
|
|
168
169
|
if (id === undefined || id === null) {
|
|
169
170
|
throw new Error("Missing the required parameter 'id' when calling editGroup");
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
}
|
|
172
|
+
// verify the required parameter 'page' is set
|
|
173
173
|
if (page === undefined || page === null) {
|
|
174
174
|
throw new Error("Missing the required parameter 'page' when calling editGroup");
|
|
175
175
|
}
|
|
176
|
-
|
|
177
176
|
var pathParams = {
|
|
178
177
|
'id': id
|
|
179
178
|
};
|
|
@@ -190,6 +189,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
190
189
|
var returnType = _Page["default"];
|
|
191
190
|
return this.apiClient.callApi('/graph/data/groups/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
192
191
|
}
|
|
192
|
+
|
|
193
193
|
/**
|
|
194
194
|
* Callback function to receive the result of the get41 operation.
|
|
195
195
|
* @callback module:api/GroupsApi~get41Callback
|
|
@@ -201,12 +201,11 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
201
201
|
/**
|
|
202
202
|
* Root for the API
|
|
203
203
|
* @param {Object} opts Optional parameters
|
|
204
|
-
* @param {String}
|
|
205
|
-
* @param {Number}
|
|
206
|
-
* @param {String}
|
|
204
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
205
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
206
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
207
207
|
* @param {module:api/GroupsApi~get41Callback} callback The callback function, accepting three arguments: error, data, response
|
|
208
208
|
*/
|
|
209
|
-
|
|
210
209
|
}, {
|
|
211
210
|
key: "get41",
|
|
212
211
|
value: function get41(opts, callback) {
|
|
@@ -226,6 +225,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
226
225
|
var returnType = null;
|
|
227
226
|
return this.apiClient.callApi('/graph/data/groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
228
227
|
}
|
|
228
|
+
|
|
229
229
|
/**
|
|
230
230
|
* Callback function to receive the result of the getGroupById operation.
|
|
231
231
|
* @callback module:api/GroupsApi~getGroupByIdCallback
|
|
@@ -239,23 +239,21 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
239
239
|
* Returns the group with the given id
|
|
240
240
|
* @param {Number} id
|
|
241
241
|
* @param {Object} opts Optional parameters
|
|
242
|
-
* @param {String}
|
|
243
|
-
* @param {Number}
|
|
244
|
-
* @param {String}
|
|
242
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
243
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
244
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
245
245
|
* @param {module:api/GroupsApi~getGroupByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
246
246
|
* data is of type: {@link module:model/SocialGroup}
|
|
247
247
|
*/
|
|
248
|
-
|
|
249
248
|
}, {
|
|
250
249
|
key: "getGroupById",
|
|
251
250
|
value: function getGroupById(id, opts, callback) {
|
|
252
251
|
opts = opts || {};
|
|
253
|
-
var postBody = null;
|
|
254
|
-
|
|
252
|
+
var postBody = null;
|
|
253
|
+
// verify the required parameter 'id' is set
|
|
255
254
|
if (id === undefined || id === null) {
|
|
256
255
|
throw new Error("Missing the required parameter 'id' when calling getGroupById");
|
|
257
256
|
}
|
|
258
|
-
|
|
259
257
|
var pathParams = {
|
|
260
258
|
'id': id
|
|
261
259
|
};
|
|
@@ -272,6 +270,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
272
270
|
var returnType = _SocialGroup["default"];
|
|
273
271
|
return this.apiClient.callApi('/graph/data/groups/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
274
272
|
}
|
|
273
|
+
|
|
275
274
|
/**
|
|
276
275
|
* Callback function to receive the result of the getMembers operation.
|
|
277
276
|
* @callback module:api/GroupsApi~getMembersCallback
|
|
@@ -285,23 +284,21 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
285
284
|
* Returns the admins in the group
|
|
286
285
|
* @param {Number} groupid
|
|
287
286
|
* @param {Object} opts Optional parameters
|
|
288
|
-
* @param {String}
|
|
289
|
-
* @param {Number}
|
|
290
|
-
* @param {String}
|
|
287
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
288
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
289
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
291
290
|
* @param {module:api/GroupsApi~getMembersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
292
291
|
* data is of type: {@link Array.<module:model/User>}
|
|
293
292
|
*/
|
|
294
|
-
|
|
295
293
|
}, {
|
|
296
294
|
key: "getMembers",
|
|
297
295
|
value: function getMembers(groupid, opts, callback) {
|
|
298
296
|
opts = opts || {};
|
|
299
|
-
var postBody = null;
|
|
300
|
-
|
|
297
|
+
var postBody = null;
|
|
298
|
+
// verify the required parameter 'groupid' is set
|
|
301
299
|
if (groupid === undefined || groupid === null) {
|
|
302
300
|
throw new Error("Missing the required parameter 'groupid' when calling getMembers");
|
|
303
301
|
}
|
|
304
|
-
|
|
305
302
|
var pathParams = {
|
|
306
303
|
'groupid': groupid
|
|
307
304
|
};
|
|
@@ -318,6 +315,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
318
315
|
var returnType = [_User["default"]];
|
|
319
316
|
return this.apiClient.callApi('/graph/data/groups/{groupid}/administrators', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
320
317
|
}
|
|
318
|
+
|
|
321
319
|
/**
|
|
322
320
|
* Callback function to receive the result of the getMembers1 operation.
|
|
323
321
|
* @callback module:api/GroupsApi~getMembers1Callback
|
|
@@ -331,23 +329,21 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
331
329
|
* Returns the users in the group
|
|
332
330
|
* @param {Number} groupid
|
|
333
331
|
* @param {Object} opts Optional parameters
|
|
334
|
-
* @param {String}
|
|
335
|
-
* @param {Number}
|
|
336
|
-
* @param {String}
|
|
332
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
333
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
334
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
337
335
|
* @param {module:api/GroupsApi~getMembers1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
338
336
|
* data is of type: {@link Array.<module:model/User>}
|
|
339
337
|
*/
|
|
340
|
-
|
|
341
338
|
}, {
|
|
342
339
|
key: "getMembers1",
|
|
343
340
|
value: function getMembers1(groupid, opts, callback) {
|
|
344
341
|
opts = opts || {};
|
|
345
|
-
var postBody = null;
|
|
346
|
-
|
|
342
|
+
var postBody = null;
|
|
343
|
+
// verify the required parameter 'groupid' is set
|
|
347
344
|
if (groupid === undefined || groupid === null) {
|
|
348
345
|
throw new Error("Missing the required parameter 'groupid' when calling getMembers1");
|
|
349
346
|
}
|
|
350
|
-
|
|
351
347
|
var pathParams = {
|
|
352
348
|
'groupid': groupid
|
|
353
349
|
};
|
|
@@ -364,6 +360,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
364
360
|
var returnType = [_User["default"]];
|
|
365
361
|
return this.apiClient.callApi('/graph/data/groups/{groupid}/members', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
366
362
|
}
|
|
363
|
+
|
|
367
364
|
/**
|
|
368
365
|
* Callback function to receive the result of the joinGroup operation.
|
|
369
366
|
* @callback module:api/GroupsApi~joinGroupCallback
|
|
@@ -377,22 +374,20 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
377
374
|
* Adds the currently logged in user to the group
|
|
378
375
|
* @param {Number} groupid
|
|
379
376
|
* @param {Object} opts Optional parameters
|
|
380
|
-
* @param {String}
|
|
381
|
-
* @param {Number}
|
|
382
|
-
* @param {String}
|
|
377
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
378
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
379
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
383
380
|
* @param {module:api/GroupsApi~joinGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
384
381
|
*/
|
|
385
|
-
|
|
386
382
|
}, {
|
|
387
383
|
key: "joinGroup",
|
|
388
384
|
value: function joinGroup(groupid, opts, callback) {
|
|
389
385
|
opts = opts || {};
|
|
390
|
-
var postBody = null;
|
|
391
|
-
|
|
386
|
+
var postBody = null;
|
|
387
|
+
// verify the required parameter 'groupid' is set
|
|
392
388
|
if (groupid === undefined || groupid === null) {
|
|
393
389
|
throw new Error("Missing the required parameter 'groupid' when calling joinGroup");
|
|
394
390
|
}
|
|
395
|
-
|
|
396
391
|
var pathParams = {
|
|
397
392
|
'groupid': groupid
|
|
398
393
|
};
|
|
@@ -409,6 +404,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
409
404
|
var returnType = null;
|
|
410
405
|
return this.apiClient.callApi('/graph/data/groups/{groupid}/join', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
411
406
|
}
|
|
407
|
+
|
|
412
408
|
/**
|
|
413
409
|
* Callback function to receive the result of the removeMember operation.
|
|
414
410
|
* @callback module:api/GroupsApi~removeMemberCallback
|
|
@@ -423,27 +419,24 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
423
419
|
* @param {Number} groupid
|
|
424
420
|
* @param {Number} uid
|
|
425
421
|
* @param {Object} opts Optional parameters
|
|
426
|
-
* @param {String}
|
|
427
|
-
* @param {Number}
|
|
428
|
-
* @param {String}
|
|
422
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
423
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
424
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
429
425
|
* @param {module:api/GroupsApi~removeMemberCallback} callback The callback function, accepting three arguments: error, data, response
|
|
430
426
|
*/
|
|
431
|
-
|
|
432
427
|
}, {
|
|
433
428
|
key: "removeMember",
|
|
434
429
|
value: function removeMember(groupid, uid, opts, callback) {
|
|
435
430
|
opts = opts || {};
|
|
436
|
-
var postBody = null;
|
|
437
|
-
|
|
431
|
+
var postBody = null;
|
|
432
|
+
// verify the required parameter 'groupid' is set
|
|
438
433
|
if (groupid === undefined || groupid === null) {
|
|
439
434
|
throw new Error("Missing the required parameter 'groupid' when calling removeMember");
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
|
|
435
|
+
}
|
|
436
|
+
// verify the required parameter 'uid' is set
|
|
443
437
|
if (uid === undefined || uid === null) {
|
|
444
438
|
throw new Error("Missing the required parameter 'uid' when calling removeMember");
|
|
445
439
|
}
|
|
446
|
-
|
|
447
440
|
var pathParams = {
|
|
448
441
|
'groupid': groupid,
|
|
449
442
|
'uid': uid
|
|
@@ -461,6 +454,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
461
454
|
var returnType = null;
|
|
462
455
|
return this.apiClient.callApi('/graph/data/groups/{groupid}/members/{uid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
463
456
|
}
|
|
457
|
+
|
|
464
458
|
/**
|
|
465
459
|
* Callback function to receive the result of the setGroupProperties operation.
|
|
466
460
|
* @callback module:api/GroupsApi~setGroupPropertiesCallback
|
|
@@ -474,23 +468,21 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
474
468
|
* Set multiple properties attaced to an object / record
|
|
475
469
|
* @param {Number} id
|
|
476
470
|
* @param {Object} opts Optional parameters
|
|
477
|
-
* @param {String}
|
|
478
|
-
* @param {Number}
|
|
479
|
-
* @param {String}
|
|
480
|
-
* @param {Object.<String, {String:
|
|
471
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
472
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
473
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
474
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
481
475
|
* @param {module:api/GroupsApi~setGroupPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
482
476
|
*/
|
|
483
|
-
|
|
484
477
|
}, {
|
|
485
478
|
key: "setGroupProperties",
|
|
486
479
|
value: function setGroupProperties(id, opts, callback) {
|
|
487
480
|
opts = opts || {};
|
|
488
|
-
var postBody = opts['requestBody'];
|
|
489
|
-
|
|
481
|
+
var postBody = opts['requestBody'];
|
|
482
|
+
// verify the required parameter 'id' is set
|
|
490
483
|
if (id === undefined || id === null) {
|
|
491
484
|
throw new Error("Missing the required parameter 'id' when calling setGroupProperties");
|
|
492
485
|
}
|
|
493
|
-
|
|
494
486
|
var pathParams = {
|
|
495
487
|
'id': id
|
|
496
488
|
};
|
|
@@ -507,6 +499,7 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
507
499
|
var returnType = null;
|
|
508
500
|
return this.apiClient.callApi('/graph/data/groups/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
509
501
|
}
|
|
502
|
+
|
|
510
503
|
/**
|
|
511
504
|
* Callback function to receive the result of the setGroupProperty operation.
|
|
512
505
|
* @callback module:api/GroupsApi~setGroupPropertyCallback
|
|
@@ -521,28 +514,25 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
521
514
|
* @param {Number} id
|
|
522
515
|
* @param {String} prop
|
|
523
516
|
* @param {Object} opts Optional parameters
|
|
524
|
-
* @param {String}
|
|
525
|
-
* @param {Number}
|
|
526
|
-
* @param {String}
|
|
527
|
-
* @param {String}
|
|
517
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
518
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
519
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
520
|
+
* @param {String} [body]
|
|
528
521
|
* @param {module:api/GroupsApi~setGroupPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
529
522
|
*/
|
|
530
|
-
|
|
531
523
|
}, {
|
|
532
524
|
key: "setGroupProperty",
|
|
533
525
|
value: function setGroupProperty(id, prop, opts, callback) {
|
|
534
526
|
opts = opts || {};
|
|
535
|
-
var postBody = opts['body'];
|
|
536
|
-
|
|
527
|
+
var postBody = opts['body'];
|
|
528
|
+
// verify the required parameter 'id' is set
|
|
537
529
|
if (id === undefined || id === null) {
|
|
538
530
|
throw new Error("Missing the required parameter 'id' when calling setGroupProperty");
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
|
|
531
|
+
}
|
|
532
|
+
// verify the required parameter 'prop' is set
|
|
542
533
|
if (prop === undefined || prop === null) {
|
|
543
534
|
throw new Error("Missing the required parameter 'prop' when calling setGroupProperty");
|
|
544
535
|
}
|
|
545
|
-
|
|
546
536
|
var pathParams = {
|
|
547
537
|
'id': id,
|
|
548
538
|
'prop': prop
|
|
@@ -561,8 +551,5 @@ var GroupsApi = /*#__PURE__*/function () {
|
|
|
561
551
|
return this.apiClient.callApi('/graph/data/groups/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
562
552
|
}
|
|
563
553
|
}]);
|
|
564
|
-
|
|
565
554
|
return GroupsApi;
|
|
566
|
-
}();
|
|
567
|
-
|
|
568
|
-
exports["default"] = GroupsApi;
|
|
555
|
+
}();
|