@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
|
@@ -4,29 +4,32 @@ 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
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject2"));
|
|
11
|
-
|
|
12
|
-
var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject3"));
|
|
13
|
-
|
|
14
|
-
var _InlineObject3 = _interopRequireDefault(require("../model/InlineObject4"));
|
|
15
|
-
|
|
8
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
16
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
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); }
|
|
18
11
|
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
|
-
|
|
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.6
|
|
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
|
+
*/
|
|
24
27
|
/**
|
|
25
28
|
* AdManagement service.
|
|
26
29
|
* @module api/AdManagementApi
|
|
27
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.6
|
|
28
31
|
*/
|
|
29
|
-
var AdManagementApi = /*#__PURE__*/function () {
|
|
32
|
+
var AdManagementApi = exports["default"] = /*#__PURE__*/function () {
|
|
30
33
|
/**
|
|
31
34
|
* Constructs a new AdManagementApi.
|
|
32
35
|
* @alias module:api/AdManagementApi
|
|
@@ -36,14 +39,14 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
36
39
|
*/
|
|
37
40
|
function AdManagementApi(apiClient) {
|
|
38
41
|
_classCallCheck(this, AdManagementApi);
|
|
39
|
-
|
|
40
42
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
41
43
|
}
|
|
44
|
+
|
|
42
45
|
/**
|
|
43
46
|
* Callback function to receive the result of the createAd operation.
|
|
44
47
|
* @callback module:api/AdManagementApi~createAdCallback
|
|
45
48
|
* @param {String} error Error message, if any.
|
|
46
|
-
* @param {module:model/
|
|
49
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
47
50
|
* @param {String} response The complete HTTP response.
|
|
48
51
|
*/
|
|
49
52
|
|
|
@@ -51,20 +54,18 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
51
54
|
* Create Ad
|
|
52
55
|
* Creates a new Ad object
|
|
53
56
|
* @param {Object} opts Optional parameters
|
|
54
|
-
* @param {String}
|
|
55
|
-
* @param {Number}
|
|
56
|
-
* @param {String}
|
|
57
|
-
* @param {module:model/
|
|
57
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
58
|
+
* @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
|
|
59
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
60
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
58
61
|
* @param {module:api/AdManagementApi~createAdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
59
|
-
* data is of type: {@link module:model/
|
|
62
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
60
63
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
64
|
_createClass(AdManagementApi, [{
|
|
64
65
|
key: "createAd",
|
|
65
66
|
value: function createAd(opts, callback) {
|
|
66
67
|
opts = opts || {};
|
|
67
|
-
var postBody = opts['
|
|
68
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
68
69
|
var pathParams = {};
|
|
69
70
|
var queryParams = {};
|
|
70
71
|
var headerParams = {
|
|
@@ -76,14 +77,15 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
76
77
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
77
78
|
var contentTypes = [];
|
|
78
79
|
var accepts = ['*/*'];
|
|
79
|
-
var returnType =
|
|
80
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
80
81
|
return this.apiClient.callApi('/graph/data/ads/ads', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
81
82
|
}
|
|
83
|
+
|
|
82
84
|
/**
|
|
83
85
|
* Callback function to receive the result of the createAdCampaign operation.
|
|
84
86
|
* @callback module:api/AdManagementApi~createAdCampaignCallback
|
|
85
87
|
* @param {String} error Error message, if any.
|
|
86
|
-
* @param {module:model/
|
|
88
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
87
89
|
* @param {String} response The complete HTTP response.
|
|
88
90
|
*/
|
|
89
91
|
|
|
@@ -91,19 +93,18 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
91
93
|
* Create Ad Campaign
|
|
92
94
|
* Creates a new ad campaign
|
|
93
95
|
* @param {Object} opts Optional parameters
|
|
94
|
-
* @param {String}
|
|
95
|
-
* @param {Number}
|
|
96
|
-
* @param {String}
|
|
97
|
-
* @param {module:model/
|
|
96
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
97
|
+
* @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
|
|
98
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
99
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
98
100
|
* @param {module:api/AdManagementApi~createAdCampaignCallback} callback The callback function, accepting three arguments: error, data, response
|
|
99
|
-
* data is of type: {@link module:model/
|
|
101
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
100
102
|
*/
|
|
101
|
-
|
|
102
103
|
}, {
|
|
103
104
|
key: "createAdCampaign",
|
|
104
105
|
value: function createAdCampaign(opts, callback) {
|
|
105
106
|
opts = opts || {};
|
|
106
|
-
var postBody = opts['
|
|
107
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
107
108
|
var pathParams = {};
|
|
108
109
|
var queryParams = {};
|
|
109
110
|
var headerParams = {
|
|
@@ -115,9 +116,10 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
115
116
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
116
117
|
var contentTypes = [];
|
|
117
118
|
var accepts = ['*/*'];
|
|
118
|
-
var returnType =
|
|
119
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
119
120
|
return this.apiClient.callApi('/graph/data/ads/campaigns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
120
121
|
}
|
|
122
|
+
|
|
121
123
|
/**
|
|
122
124
|
* Callback function to receive the result of the get17 operation.
|
|
123
125
|
* @callback module:api/AdManagementApi~get17Callback
|
|
@@ -129,12 +131,11 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
129
131
|
/**
|
|
130
132
|
* Root for the API
|
|
131
133
|
* @param {Object} opts Optional parameters
|
|
132
|
-
* @param {String}
|
|
133
|
-
* @param {Number}
|
|
134
|
-
* @param {String}
|
|
134
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
135
|
+
* @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
|
|
136
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
135
137
|
* @param {module:api/AdManagementApi~get17Callback} callback The callback function, accepting three arguments: error, data, response
|
|
136
138
|
*/
|
|
137
|
-
|
|
138
139
|
}, {
|
|
139
140
|
key: "get17",
|
|
140
141
|
value: function get17(opts, callback) {
|
|
@@ -154,11 +155,12 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
154
155
|
var returnType = null;
|
|
155
156
|
return this.apiClient.callApi('/graph/data/ads/campaigns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
156
157
|
}
|
|
158
|
+
|
|
157
159
|
/**
|
|
158
160
|
* Callback function to receive the result of the get18 operation.
|
|
159
161
|
* @callback module:api/AdManagementApi~get18Callback
|
|
160
162
|
* @param {String} error Error message, if any.
|
|
161
|
-
* @param {Object.<String, module:model/{String:
|
|
163
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
162
164
|
* @param {String} response The complete HTTP response.
|
|
163
165
|
*/
|
|
164
166
|
|
|
@@ -166,23 +168,21 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
166
168
|
* Gets and object by id
|
|
167
169
|
* @param {Number} id
|
|
168
170
|
* @param {Object} opts Optional parameters
|
|
169
|
-
* @param {String}
|
|
170
|
-
* @param {Number}
|
|
171
|
-
* @param {String}
|
|
171
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
172
|
+
* @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
|
|
173
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
172
174
|
* @param {module:api/AdManagementApi~get18Callback} callback The callback function, accepting three arguments: error, data, response
|
|
173
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
175
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
174
176
|
*/
|
|
175
|
-
|
|
176
177
|
}, {
|
|
177
178
|
key: "get18",
|
|
178
179
|
value: function get18(id, opts, callback) {
|
|
179
180
|
opts = opts || {};
|
|
180
|
-
var postBody = null;
|
|
181
|
-
|
|
181
|
+
var postBody = null;
|
|
182
|
+
// verify the required parameter 'id' is set
|
|
182
183
|
if (id === undefined || id === null) {
|
|
183
184
|
throw new Error("Missing the required parameter 'id' when calling get18");
|
|
184
185
|
}
|
|
185
|
-
|
|
186
186
|
var pathParams = {
|
|
187
187
|
'id': id
|
|
188
188
|
};
|
|
@@ -197,10 +197,11 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
197
197
|
var contentTypes = [];
|
|
198
198
|
var accepts = ['application/json'];
|
|
199
199
|
var returnType = {
|
|
200
|
-
'String':
|
|
200
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
201
201
|
};
|
|
202
202
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
203
203
|
}
|
|
204
|
+
|
|
204
205
|
/**
|
|
205
206
|
* Callback function to receive the result of the get19 operation.
|
|
206
207
|
* @callback module:api/AdManagementApi~get19Callback
|
|
@@ -212,12 +213,11 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
212
213
|
/**
|
|
213
214
|
* Root for the API
|
|
214
215
|
* @param {Object} opts Optional parameters
|
|
215
|
-
* @param {String}
|
|
216
|
-
* @param {Number}
|
|
217
|
-
* @param {String}
|
|
216
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
217
|
+
* @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
|
|
218
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
218
219
|
* @param {module:api/AdManagementApi~get19Callback} callback The callback function, accepting three arguments: error, data, response
|
|
219
220
|
*/
|
|
220
|
-
|
|
221
221
|
}, {
|
|
222
222
|
key: "get19",
|
|
223
223
|
value: function get19(opts, callback) {
|
|
@@ -237,11 +237,12 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
237
237
|
var returnType = null;
|
|
238
238
|
return this.apiClient.callApi('/graph/data/ads/ads', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
239
239
|
}
|
|
240
|
+
|
|
240
241
|
/**
|
|
241
242
|
* Callback function to receive the result of the get20 operation.
|
|
242
243
|
* @callback module:api/AdManagementApi~get20Callback
|
|
243
244
|
* @param {String} error Error message, if any.
|
|
244
|
-
* @param {Object.<String, module:model/{String:
|
|
245
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
245
246
|
* @param {String} response The complete HTTP response.
|
|
246
247
|
*/
|
|
247
248
|
|
|
@@ -249,23 +250,21 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
249
250
|
* Gets and object by id
|
|
250
251
|
* @param {Number} id
|
|
251
252
|
* @param {Object} opts Optional parameters
|
|
252
|
-
* @param {String}
|
|
253
|
-
* @param {Number}
|
|
254
|
-
* @param {String}
|
|
253
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
254
|
+
* @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
|
|
255
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
255
256
|
* @param {module:api/AdManagementApi~get20Callback} callback The callback function, accepting three arguments: error, data, response
|
|
256
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
257
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
257
258
|
*/
|
|
258
|
-
|
|
259
259
|
}, {
|
|
260
260
|
key: "get20",
|
|
261
261
|
value: function get20(id, opts, callback) {
|
|
262
262
|
opts = opts || {};
|
|
263
|
-
var postBody = null;
|
|
264
|
-
|
|
263
|
+
var postBody = null;
|
|
264
|
+
// verify the required parameter 'id' is set
|
|
265
265
|
if (id === undefined || id === null) {
|
|
266
266
|
throw new Error("Missing the required parameter 'id' when calling get20");
|
|
267
267
|
}
|
|
268
|
-
|
|
269
268
|
var pathParams = {
|
|
270
269
|
'id': id
|
|
271
270
|
};
|
|
@@ -280,38 +279,37 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
280
279
|
var contentTypes = [];
|
|
281
280
|
var accepts = ['application/json'];
|
|
282
281
|
var returnType = {
|
|
283
|
-
'String':
|
|
282
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
284
283
|
};
|
|
285
284
|
return this.apiClient.callApi('/graph/data/ads/ads/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
286
285
|
}
|
|
286
|
+
|
|
287
287
|
/**
|
|
288
288
|
* Callback function to receive the result of the getCampaign operation.
|
|
289
289
|
* @callback module:api/AdManagementApi~getCampaignCallback
|
|
290
290
|
* @param {String} error Error message, if any.
|
|
291
|
-
* @param {Object.<String, module:model/{String:
|
|
291
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
292
292
|
* @param {String} response The complete HTTP response.
|
|
293
293
|
*/
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* @param {Number} id
|
|
297
297
|
* @param {Object} opts Optional parameters
|
|
298
|
-
* @param {String}
|
|
299
|
-
* @param {Number}
|
|
300
|
-
* @param {String}
|
|
298
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
299
|
+
* @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
|
|
300
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
301
301
|
* @param {module:api/AdManagementApi~getCampaignCallback} callback The callback function, accepting three arguments: error, data, response
|
|
302
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
302
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
303
303
|
*/
|
|
304
|
-
|
|
305
304
|
}, {
|
|
306
305
|
key: "getCampaign",
|
|
307
306
|
value: function getCampaign(id, opts, callback) {
|
|
308
307
|
opts = opts || {};
|
|
309
|
-
var postBody = null;
|
|
310
|
-
|
|
308
|
+
var postBody = null;
|
|
309
|
+
// verify the required parameter 'id' is set
|
|
311
310
|
if (id === undefined || id === null) {
|
|
312
311
|
throw new Error("Missing the required parameter 'id' when calling getCampaign");
|
|
313
312
|
}
|
|
314
|
-
|
|
315
313
|
var pathParams = {
|
|
316
314
|
'id': id
|
|
317
315
|
};
|
|
@@ -326,38 +324,37 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
326
324
|
var contentTypes = [];
|
|
327
325
|
var accepts = ['*/*'];
|
|
328
326
|
var returnType = {
|
|
329
|
-
'String':
|
|
327
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
330
328
|
};
|
|
331
329
|
return this.apiClient.callApi('/graph/data/ads/ads/{id}/campaign', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
332
330
|
}
|
|
331
|
+
|
|
333
332
|
/**
|
|
334
333
|
* Callback function to receive the result of the getFromCat operation.
|
|
335
334
|
* @callback module:api/AdManagementApi~getFromCatCallback
|
|
336
335
|
* @param {String} error Error message, if any.
|
|
337
|
-
* @param {Object.<String, module:model/{String:
|
|
336
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
338
337
|
* @param {String} response The complete HTTP response.
|
|
339
338
|
*/
|
|
340
339
|
|
|
341
340
|
/**
|
|
342
341
|
* @param {Number} id
|
|
343
342
|
* @param {Object} opts Optional parameters
|
|
344
|
-
* @param {String}
|
|
345
|
-
* @param {Number}
|
|
346
|
-
* @param {String}
|
|
343
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
344
|
+
* @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
|
|
345
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
347
346
|
* @param {module:api/AdManagementApi~getFromCatCallback} callback The callback function, accepting three arguments: error, data, response
|
|
348
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
347
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
349
348
|
*/
|
|
350
|
-
|
|
351
349
|
}, {
|
|
352
350
|
key: "getFromCat",
|
|
353
351
|
value: function getFromCat(id, opts, callback) {
|
|
354
352
|
opts = opts || {};
|
|
355
|
-
var postBody = null;
|
|
356
|
-
|
|
353
|
+
var postBody = null;
|
|
354
|
+
// verify the required parameter 'id' is set
|
|
357
355
|
if (id === undefined || id === null) {
|
|
358
356
|
throw new Error("Missing the required parameter 'id' when calling getFromCat");
|
|
359
357
|
}
|
|
360
|
-
|
|
361
358
|
var pathParams = {
|
|
362
359
|
'id': id
|
|
363
360
|
};
|
|
@@ -372,39 +369,38 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
372
369
|
var contentTypes = [];
|
|
373
370
|
var accepts = ['*/*'];
|
|
374
371
|
var returnType = {
|
|
375
|
-
'String':
|
|
372
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
376
373
|
};
|
|
377
374
|
return this.apiClient.callApi('/graph/data/ads/campaigns/nextfromcategory/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
378
375
|
}
|
|
376
|
+
|
|
379
377
|
/**
|
|
380
378
|
* Callback function to receive the result of the update operation.
|
|
381
379
|
* @callback module:api/AdManagementApi~updateCallback
|
|
382
380
|
* @param {String} error Error message, if any.
|
|
383
|
-
* @param {module:model/
|
|
381
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
384
382
|
* @param {String} response The complete HTTP response.
|
|
385
383
|
*/
|
|
386
384
|
|
|
387
385
|
/**
|
|
388
386
|
* @param {Number} id
|
|
389
387
|
* @param {Object} opts Optional parameters
|
|
390
|
-
* @param {String}
|
|
391
|
-
* @param {Number}
|
|
392
|
-
* @param {String}
|
|
393
|
-
* @param {Object.<String, {String:
|
|
388
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
389
|
+
* @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
|
|
390
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
391
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
394
392
|
* @param {module:api/AdManagementApi~updateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
395
|
-
* data is of type: {@link module:model/
|
|
393
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
396
394
|
*/
|
|
397
|
-
|
|
398
395
|
}, {
|
|
399
396
|
key: "update",
|
|
400
397
|
value: function update(id, opts, callback) {
|
|
401
398
|
opts = opts || {};
|
|
402
|
-
var postBody = opts['requestBody'];
|
|
403
|
-
|
|
399
|
+
var postBody = opts['requestBody'];
|
|
400
|
+
// verify the required parameter 'id' is set
|
|
404
401
|
if (id === undefined || id === null) {
|
|
405
402
|
throw new Error("Missing the required parameter 'id' when calling update");
|
|
406
403
|
}
|
|
407
|
-
|
|
408
404
|
var pathParams = {
|
|
409
405
|
'id': id
|
|
410
406
|
};
|
|
@@ -418,38 +414,37 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
418
414
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
419
415
|
var contentTypes = [];
|
|
420
416
|
var accepts = ['*/*'];
|
|
421
|
-
var returnType =
|
|
417
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
422
418
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
423
419
|
}
|
|
420
|
+
|
|
424
421
|
/**
|
|
425
422
|
* Callback function to receive the result of the update1 operation.
|
|
426
423
|
* @callback module:api/AdManagementApi~update1Callback
|
|
427
424
|
* @param {String} error Error message, if any.
|
|
428
|
-
* @param {module:model/
|
|
425
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
429
426
|
* @param {String} response The complete HTTP response.
|
|
430
427
|
*/
|
|
431
428
|
|
|
432
429
|
/**
|
|
433
430
|
* @param {Number} id
|
|
434
431
|
* @param {Object} opts Optional parameters
|
|
435
|
-
* @param {String}
|
|
436
|
-
* @param {Number}
|
|
437
|
-
* @param {String}
|
|
438
|
-
* @param {Object.<String, {String:
|
|
432
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
433
|
+
* @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
|
|
434
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
435
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
439
436
|
* @param {module:api/AdManagementApi~update1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
440
|
-
* data is of type: {@link module:model/
|
|
437
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
441
438
|
*/
|
|
442
|
-
|
|
443
439
|
}, {
|
|
444
440
|
key: "update1",
|
|
445
441
|
value: function update1(id, opts, callback) {
|
|
446
442
|
opts = opts || {};
|
|
447
|
-
var postBody = opts['requestBody'];
|
|
448
|
-
|
|
443
|
+
var postBody = opts['requestBody'];
|
|
444
|
+
// verify the required parameter 'id' is set
|
|
449
445
|
if (id === undefined || id === null) {
|
|
450
446
|
throw new Error("Missing the required parameter 'id' when calling update1");
|
|
451
447
|
}
|
|
452
|
-
|
|
453
448
|
var pathParams = {
|
|
454
449
|
'id': id
|
|
455
450
|
};
|
|
@@ -463,38 +458,37 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
463
458
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
464
459
|
var contentTypes = [];
|
|
465
460
|
var accepts = ['*/*'];
|
|
466
|
-
var returnType =
|
|
461
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
467
462
|
return this.apiClient.callApi('/graph/data/ads/ads/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
468
463
|
}
|
|
464
|
+
|
|
469
465
|
/**
|
|
470
466
|
* Callback function to receive the result of the updateAds operation.
|
|
471
467
|
* @callback module:api/AdManagementApi~updateAdsCallback
|
|
472
468
|
* @param {String} error Error message, if any.
|
|
473
|
-
* @param {module:model/
|
|
469
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
474
470
|
* @param {String} response The complete HTTP response.
|
|
475
471
|
*/
|
|
476
472
|
|
|
477
473
|
/**
|
|
478
474
|
* @param {Number} id
|
|
479
475
|
* @param {Object} opts Optional parameters
|
|
480
|
-
* @param {String}
|
|
481
|
-
* @param {Number}
|
|
482
|
-
* @param {String}
|
|
483
|
-
* @param {module:model/
|
|
476
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
477
|
+
* @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
|
|
478
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
479
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
484
480
|
* @param {module:api/AdManagementApi~updateAdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
485
|
-
* data is of type: {@link module:model/
|
|
481
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
486
482
|
*/
|
|
487
|
-
|
|
488
483
|
}, {
|
|
489
484
|
key: "updateAds",
|
|
490
485
|
value: function updateAds(id, opts, callback) {
|
|
491
486
|
opts = opts || {};
|
|
492
|
-
var postBody = opts['
|
|
493
|
-
|
|
487
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
488
|
+
// verify the required parameter 'id' is set
|
|
494
489
|
if (id === undefined || id === null) {
|
|
495
490
|
throw new Error("Missing the required parameter 'id' when calling updateAds");
|
|
496
491
|
}
|
|
497
|
-
|
|
498
492
|
var pathParams = {
|
|
499
493
|
'id': id
|
|
500
494
|
};
|
|
@@ -508,9 +502,10 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
508
502
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
509
503
|
var contentTypes = [];
|
|
510
504
|
var accepts = ['*/*'];
|
|
511
|
-
var returnType =
|
|
505
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
512
506
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}/ads', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
513
507
|
}
|
|
508
|
+
|
|
514
509
|
/**
|
|
515
510
|
* Callback function to receive the result of the updateSites operation.
|
|
516
511
|
* @callback module:api/AdManagementApi~updateSitesCallback
|
|
@@ -522,23 +517,21 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
522
517
|
/**
|
|
523
518
|
* @param {Number} id
|
|
524
519
|
* @param {Object} opts Optional parameters
|
|
525
|
-
* @param {String}
|
|
526
|
-
* @param {Number}
|
|
527
|
-
* @param {String}
|
|
528
|
-
* @param {Array.<module:model/
|
|
520
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
521
|
+
* @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
|
|
522
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
523
|
+
* @param {Array.<module:model/PurgeDataDefaultResponseValue>} [purgeDataDefaultResponseValue]
|
|
529
524
|
* @param {module:api/AdManagementApi~updateSitesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
530
525
|
*/
|
|
531
|
-
|
|
532
526
|
}, {
|
|
533
527
|
key: "updateSites",
|
|
534
528
|
value: function updateSites(id, opts, callback) {
|
|
535
529
|
opts = opts || {};
|
|
536
|
-
var postBody = opts['
|
|
537
|
-
|
|
530
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
531
|
+
// verify the required parameter 'id' is set
|
|
538
532
|
if (id === undefined || id === null) {
|
|
539
533
|
throw new Error("Missing the required parameter 'id' when calling updateSites");
|
|
540
534
|
}
|
|
541
|
-
|
|
542
535
|
var pathParams = {
|
|
543
536
|
'id': id
|
|
544
537
|
};
|
|
@@ -556,8 +549,5 @@ var AdManagementApi = /*#__PURE__*/function () {
|
|
|
556
549
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}/sites', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
557
550
|
}
|
|
558
551
|
}]);
|
|
559
|
-
|
|
560
552
|
return AdManagementApi;
|
|
561
|
-
}();
|
|
562
|
-
|
|
563
|
-
exports["default"] = AdManagementApi;
|
|
553
|
+
}();
|