subskribe_sandbox 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/AccountsApi.md +2 -2
- data/docs/AutomatedInvoiceRule.md +5 -5
- data/docs/BillingApi.md +23 -23
- data/docs/BulkPaymentUploadData.md +7 -7
- data/docs/ChargeJson.md +2 -2
- data/docs/PaginatedAccountsResponse.md +10 -0
- data/docs/TaxJarIntegration.md +4 -4
- data/lib/subskribe_dev/api/accounts_api.rb +3 -3
- data/lib/subskribe_dev/api/entities_api.rb +158 -0
- data/lib/subskribe_dev/api/erp_api.rb +20 -20
- data/lib/subskribe_dev/api/product_catalog_api.rb +58 -0
- data/lib/subskribe_dev/api/revenue_recognition_api.rb +22 -22
- data/lib/subskribe_dev/models/automated_invoice_rule.rb +22 -22
- data/lib/subskribe_dev/models/bulk_invoice_run_item.rb +22 -22
- data/lib/subskribe_dev/models/bulk_payment_upload_data.rb +31 -31
- data/lib/subskribe_dev/models/bulk_payment_upload_result.rb +13 -13
- data/lib/subskribe_dev/models/charge_json.rb +19 -19
- data/lib/subskribe_dev/models/order_line_item_json.rb +10 -1
- data/lib/subskribe_dev/models/order_line_item_request_json.rb +10 -1
- data/lib/subskribe_dev/models/paginated_accounts_response.rb +204 -0
- data/lib/subskribe_dev/models/plan_metadata_json.rb +187 -0
- data/lib/subskribe_dev/models/tax_jar_integration.rb +10 -10
- data/lib/subskribe_dev/version.rb +1 -1
- data/lib/subskribe_dev.rb +2 -1
- data/lib/subskribe_dev2/api/accounting_api.rb +193 -0
- data/lib/subskribe_dev2/api/accounts_api.rb +858 -0
- data/lib/subskribe_dev2/api/approvals_api.rb +965 -0
- data/lib/subskribe_dev2/api/attachments_api.rb +299 -0
- data/lib/subskribe_dev2/api/authentication_api.rb +335 -0
- data/lib/subskribe_dev2/api/billing_api.rb +2098 -0
- data/lib/subskribe_dev2/api/credit_memo_api.rb +636 -0
- data/lib/subskribe_dev2/api/custom_field_api.rb +434 -0
- data/lib/subskribe_dev2/api/customization_api.rb +269 -0
- data/lib/subskribe_dev2/api/default_api.rb +223 -0
- data/lib/subskribe_dev2/api/discounts_api.rb +340 -0
- data/lib/subskribe_dev2/api/entities_api.rb +532 -0
- data/lib/subskribe_dev2/api/erp_api.rb +278 -0
- data/lib/subskribe_dev2/api/import_api.rb +568 -0
- data/lib/subskribe_dev2/api/integrations_api.rb +1678 -0
- data/lib/subskribe_dev2/api/metrics_reporting_api.rb +223 -0
- data/lib/subskribe_dev2/api/notifications_api.rb +245 -0
- data/lib/subskribe_dev2/api/opportunity_api.rb +177 -0
- data/lib/subskribe_dev2/api/orders_api.rb +1381 -0
- data/lib/subskribe_dev2/api/payments_api.rb +431 -0
- data/lib/subskribe_dev2/api/product_catalog_api.rb +1886 -0
- data/lib/subskribe_dev2/api/rate_card_api.rb +68 -0
- data/lib/subskribe_dev2/api/refunds_api.rb +189 -0
- data/lib/subskribe_dev2/api/reports_api.rb +227 -0
- data/lib/subskribe_dev2/api/revenue_recognition_api.rb +484 -0
- data/lib/subskribe_dev2/api/sales_room_api.rb +74 -0
- data/lib/subskribe_dev2/api/settings_api.rb +1321 -0
- data/lib/subskribe_dev2/api/subscriptions_api.rb +576 -0
- data/lib/subskribe_dev2/api/usage_api.rb +604 -0
- data/lib/subskribe_dev2/api/users_api.rb +728 -0
- data/lib/subskribe_dev2/api_client.rb +391 -0
- data/lib/subskribe_dev2/api_error.rb +38 -0
- data/lib/subskribe_dev2/configuration.rb +209 -0
- data/lib/subskribe_dev2/models/account_address.rb +265 -0
- data/lib/subskribe_dev2/models/account_address_json.rb +229 -0
- data/lib/subskribe_dev2/models/account_contact.rb +530 -0
- data/lib/subskribe_dev2/models/account_contact_json.rb +274 -0
- data/lib/subskribe_dev2/models/account_json.rb +395 -0
- data/lib/subskribe_dev2/models/account_payment_method_json.rb +268 -0
- data/lib/subskribe_dev2/models/account_receivable_contact_json.rb +225 -0
- data/lib/subskribe_dev2/models/accounting_event.rb +319 -0
- data/lib/subskribe_dev2/models/accounting_event_paginated_response.rb +204 -0
- data/lib/subskribe_dev2/models/accounting_period.rb +356 -0
- data/lib/subskribe_dev2/models/accounting_period_calculation.rb +229 -0
- data/lib/subskribe_dev2/models/add_and_apply_payment_application_json.rb +344 -0
- data/lib/subskribe_dev2/models/anrok_integration_input.rb +184 -0
- data/lib/subskribe_dev2/models/approval_matrix_import_data_json.rb +229 -0
- data/lib/subskribe_dev2/models/approval_matrix_import_preview.rb +226 -0
- data/lib/subskribe_dev2/models/approval_role_json.rb +220 -0
- data/lib/subskribe_dev2/models/approval_role_segment_change.rb +211 -0
- data/lib/subskribe_dev2/models/approval_segment_json.rb +220 -0
- data/lib/subskribe_dev2/models/attachment.rb +326 -0
- data/lib/subskribe_dev2/models/attribute_reference.rb +193 -0
- data/lib/subskribe_dev2/models/auth_saml_integration_json.rb +204 -0
- data/lib/subskribe_dev2/models/automated_invoice_rule.rb +328 -0
- data/lib/subskribe_dev2/models/automated_invoice_rule_request_json.rb +307 -0
- data/lib/subskribe_dev2/models/avalara_integration.rb +238 -0
- data/lib/subskribe_dev2/models/avalara_integration_input.rb +268 -0
- data/lib/subskribe_dev2/models/billing_event_entry.rb +211 -0
- data/lib/subskribe_dev2/models/billing_event_input.rb +216 -0
- data/lib/subskribe_dev2/models/bulk_invoice_run.rb +350 -0
- data/lib/subskribe_dev2/models/bulk_invoice_run_exclusions.rb +197 -0
- data/lib/subskribe_dev2/models/bulk_invoice_run_input.rb +263 -0
- data/lib/subskribe_dev2/models/bulk_invoice_run_item.rb +364 -0
- data/lib/subskribe_dev2/models/bulk_invoice_run_selector.rb +184 -0
- data/lib/subskribe_dev2/models/bulk_payment_upload_data.rb +274 -0
- data/lib/subskribe_dev2/models/bulk_payment_upload_result.rb +204 -0
- data/lib/subskribe_dev2/models/byte_buffer.rb +247 -0
- data/lib/subskribe_dev2/models/catalog_relationship.rb +364 -0
- data/lib/subskribe_dev2/models/charge_json.rb +631 -0
- data/lib/subskribe_dev2/models/charge_partial_json.rb +310 -0
- data/lib/subskribe_dev2/models/company_contact_json.rb +225 -0
- data/lib/subskribe_dev2/models/credit_memo_application_json.rb +239 -0
- data/lib/subskribe_dev2/models/credit_memo_balance_json.rb +211 -0
- data/lib/subskribe_dev2/models/credit_memo_json.rb +363 -0
- data/lib/subskribe_dev2/models/credit_memo_line_item_json.rb +252 -0
- data/lib/subskribe_dev2/models/credit_memo_line_item_request_json.rb +211 -0
- data/lib/subskribe_dev2/models/credit_memo_pagination_response_json.rb +204 -0
- data/lib/subskribe_dev2/models/crm_account_import_response.rb +193 -0
- data/lib/subskribe_dev2/models/custom_field_default.rb +195 -0
- data/lib/subskribe_dev2/models/custom_field_definition_create_input.rb +317 -0
- data/lib/subskribe_dev2/models/custom_field_definition_json.rb +313 -0
- data/lib/subskribe_dev2/models/custom_field_definition_update_input.rb +256 -0
- data/lib/subskribe_dev2/models/custom_field_entry.rb +325 -0
- data/lib/subskribe_dev2/models/custom_field_update_input.rb +195 -0
- data/lib/subskribe_dev2/models/custom_field_value.rb +316 -0
- data/lib/subskribe_dev2/models/data_import.rb +355 -0
- data/lib/subskribe_dev2/models/discount_detail_json.rb +263 -0
- data/lib/subskribe_dev2/models/discount_json.rb +254 -0
- data/lib/subskribe_dev2/models/docu_sign_integration_request_json.rb +236 -0
- data/lib/subskribe_dev2/models/docu_sign_integration_response_json.rb +245 -0
- data/lib/subskribe_dev2/models/document_custom_content.rb +211 -0
- data/lib/subskribe_dev2/models/document_section.rb +265 -0
- data/lib/subskribe_dev2/models/document_template_json.rb +300 -0
- data/lib/subskribe_dev2/models/dunning_setting_json.rb +200 -0
- data/lib/subskribe_dev2/models/email_notifiers_list.rb +208 -0
- data/lib/subskribe_dev2/models/entity.rb +356 -0
- data/lib/subskribe_dev2/models/entity_json.rb +347 -0
- data/lib/subskribe_dev2/models/entity_ref.rb +202 -0
- data/lib/subskribe_dev2/models/entry.rb +202 -0
- data/lib/subskribe_dev2/models/external_arr_schedule_json.rb +319 -0
- data/lib/subskribe_dev2/models/flatfile_workbook_response.rb +184 -0
- data/lib/subskribe_dev2/models/flatfile_workbook_response_data.rb +193 -0
- data/lib/subskribe_dev2/models/input_stream.rb +175 -0
- data/lib/subskribe_dev2/models/integration.rb +311 -0
- data/lib/subskribe_dev2/models/invoice_balance_json.rb +211 -0
- data/lib/subskribe_dev2/models/invoice_item_json.rb +355 -0
- data/lib/subskribe_dev2/models/invoice_item_preview_json.rb +229 -0
- data/lib/subskribe_dev2/models/invoice_json.rb +439 -0
- data/lib/subskribe_dev2/models/invoice_json_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/invoice_number_prefix.rb +184 -0
- data/lib/subskribe_dev2/models/invoice_preview_json.rb +222 -0
- data/lib/subskribe_dev2/models/ledger_account.rb +316 -0
- data/lib/subskribe_dev2/models/ledger_account_mapping.rb +222 -0
- data/lib/subskribe_dev2/models/metrics_json.rb +267 -0
- data/lib/subskribe_dev2/models/notification_target_and_subscriptions.rb +265 -0
- data/lib/subskribe_dev2/models/number_config.rb +254 -0
- data/lib/subskribe_dev2/models/opportunity.rb +326 -0
- data/lib/subskribe_dev2/models/opportunity_json.rb +326 -0
- data/lib/subskribe_dev2/models/opportunity_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/opportunity_rest_json.rb +317 -0
- data/lib/subskribe_dev2/models/order_json.rb +754 -0
- data/lib/subskribe_dev2/models/order_json_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/order_line_item_json.rb +474 -0
- data/lib/subskribe_dev2/models/order_line_item_request_json.rb +384 -0
- data/lib/subskribe_dev2/models/order_request_json.rb +616 -0
- data/lib/subskribe_dev2/models/order_terms.rb +265 -0
- data/lib/subskribe_dev2/models/paginated_accounts_response.rb +204 -0
- data/lib/subskribe_dev2/models/paginated_response.rb +204 -0
- data/lib/subskribe_dev2/models/payment_balance_json.rb +211 -0
- data/lib/subskribe_dev2/models/payment_configuration.rb +208 -0
- data/lib/subskribe_dev2/models/payment_json.rb +300 -0
- data/lib/subskribe_dev2/models/payment_json_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/payment_term_settings_json.rb +219 -0
- data/lib/subskribe_dev2/models/plan_json.rb +339 -0
- data/lib/subskribe_dev2/models/plan_json_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/plan_metadata_json.rb +187 -0
- data/lib/subskribe_dev2/models/predefined_report_def_chart_json.rb +265 -0
- data/lib/subskribe_dev2/models/predefined_report_def_json.rb +222 -0
- data/lib/subskribe_dev2/models/predefined_report_defs_json.rb +186 -0
- data/lib/subskribe_dev2/models/predefined_report_json.rb +213 -0
- data/lib/subskribe_dev2/models/predefined_report_param.rb +296 -0
- data/lib/subskribe_dev2/models/predefined_report_param_object.rb +296 -0
- data/lib/subskribe_dev2/models/prepaid_stats.rb +310 -0
- data/lib/subskribe_dev2/models/price_tier_json.rb +212 -0
- data/lib/subskribe_dev2/models/product_category.rb +264 -0
- data/lib/subskribe_dev2/models/product_category_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/product_input_json.rb +249 -0
- data/lib/subskribe_dev2/models/product_json.rb +276 -0
- data/lib/subskribe_dev2/models/product_json_pagination_response.rb +204 -0
- data/lib/subskribe_dev2/models/purchase_order.rb +226 -0
- data/lib/subskribe_dev2/models/raw_usage.rb +247 -0
- data/lib/subskribe_dev2/models/raw_usages_data.rb +192 -0
- data/lib/subskribe_dev2/models/recognition_event_completion.rb +322 -0
- data/lib/subskribe_dev2/models/recognition_rule.rb +376 -0
- data/lib/subskribe_dev2/models/recurrence_json.rb +256 -0
- data/lib/subskribe_dev2/models/refund.rb +301 -0
- data/lib/subskribe_dev2/models/refund_detail.rb +322 -0
- data/lib/subskribe_dev2/models/refund_request_json.rb +272 -0
- data/lib/subskribe_dev2/models/report_duration.rb +193 -0
- data/lib/subskribe_dev2/models/report_job_response.rb +245 -0
- data/lib/subskribe_dev2/models/salesforce_account.rb +229 -0
- data/lib/subskribe_dev2/models/salesforce_account_billing_address.rb +220 -0
- data/lib/subskribe_dev2/models/salesforce_client_integration_request_json.rb +211 -0
- data/lib/subskribe_dev2/models/settlement_application.rb +329 -0
- data/lib/subskribe_dev2/models/standalone_credit_memo_request.rb +353 -0
- data/lib/subskribe_dev2/models/subscription_charge_alias.rb +283 -0
- data/lib/subskribe_dev2/models/subscription_charge_json.rb +362 -0
- data/lib/subskribe_dev2/models/subscription_json.rb +583 -0
- data/lib/subskribe_dev2/models/subscription_update_json.rb +280 -0
- data/lib/subskribe_dev2/models/tax_jar_integration.rb +238 -0
- data/lib/subskribe_dev2/models/tax_jar_integration_input.rb +193 -0
- data/lib/subskribe_dev2/models/tax_rate_json.rb +286 -0
- data/lib/subskribe_dev2/models/tax_rate_pagination_response_json.rb +204 -0
- data/lib/subskribe_dev2/models/tenant_credit_memo_configuration_json.rb +211 -0
- data/lib/subskribe_dev2/models/tenant_discount_json.rb +193 -0
- data/lib/subskribe_dev2/models/tenant_discount_line_item_json.rb +202 -0
- data/lib/subskribe_dev2/models/tenant_invoice_config.rb +254 -0
- data/lib/subskribe_dev2/models/tenant_json.rb +283 -0
- data/lib/subskribe_dev2/models/tenant_setting_json.rb +307 -0
- data/lib/subskribe_dev2/models/time_series_amount_json.rb +193 -0
- data/lib/subskribe_dev2/models/time_zone.rb +211 -0
- data/lib/subskribe_dev2/models/unit_of_measure_json.rb +250 -0
- data/lib/subskribe_dev2/models/unit_of_measure_pagination_response_json.rb +204 -0
- data/lib/subskribe_dev2/models/update_invoice_request.rb +282 -0
- data/lib/subskribe_dev2/models/usage_aggregate_output.rb +258 -0
- data/lib/subskribe_dev2/models/usage_batch_insert_result.rb +213 -0
- data/lib/subskribe_dev2/models/user_group_json.rb +224 -0
- data/lib/subskribe_dev2/models/user_group_request_json.rb +224 -0
- data/lib/subskribe_dev2/models/user_input.rb +304 -0
- data/lib/subskribe_dev2/models/user_json.rb +376 -0
- data/lib/subskribe_dev2/models/user_pagination_response_json.rb +204 -0
- data/lib/subskribe_dev2/models/void_invoice_request.rb +203 -0
- data/lib/subskribe_dev2/models/void_payment_json.rb +235 -0
- data/lib/subskribe_dev2/version.rb +15 -0
- data/lib/subskribe_dev2.rb +230 -0
- data/lib/subskribe_sandbox/api/accounts_api.rb +3 -3
- data/lib/subskribe_sandbox/api/billing_api.rb +35 -35
- data/lib/subskribe_sandbox/models/automated_invoice_rule.rb +49 -49
- data/lib/subskribe_sandbox/models/bulk_payment_upload_data.rb +46 -46
- data/lib/subskribe_sandbox/models/charge_json.rb +16 -16
- data/lib/subskribe_sandbox/models/paginated_accounts_response.rb +204 -0
- data/lib/subskribe_sandbox/models/tax_jar_integration.rb +31 -31
- data/lib/subskribe_sandbox/version.rb +1 -1
- data/lib/subskribe_sandbox.rb +1 -0
- data/lib/swagger_client/api/accounting_api.rb +193 -0
- data/lib/swagger_client/api/accounts_api.rb +858 -0
- data/lib/swagger_client/api/approvals_api.rb +965 -0
- data/lib/swagger_client/api/attachments_api.rb +299 -0
- data/lib/swagger_client/api/authentication_api.rb +335 -0
- data/lib/swagger_client/api/billing_api.rb +2098 -0
- data/lib/swagger_client/api/credit_memo_api.rb +636 -0
- data/lib/swagger_client/api/custom_field_api.rb +434 -0
- data/lib/swagger_client/api/customization_api.rb +269 -0
- data/lib/swagger_client/api/default_api.rb +223 -0
- data/lib/swagger_client/api/discounts_api.rb +340 -0
- data/lib/swagger_client/api/entities_api.rb +532 -0
- data/lib/swagger_client/api/erp_api.rb +278 -0
- data/lib/swagger_client/api/import_api.rb +568 -0
- data/lib/swagger_client/api/integrations_api.rb +1678 -0
- data/lib/swagger_client/api/metrics_reporting_api.rb +223 -0
- data/lib/swagger_client/api/notifications_api.rb +245 -0
- data/lib/swagger_client/api/opportunity_api.rb +177 -0
- data/lib/swagger_client/api/orders_api.rb +1381 -0
- data/lib/swagger_client/api/payments_api.rb +431 -0
- data/lib/swagger_client/api/product_catalog_api.rb +1886 -0
- data/lib/swagger_client/api/rate_card_api.rb +68 -0
- data/lib/swagger_client/api/refunds_api.rb +189 -0
- data/lib/swagger_client/api/reports_api.rb +227 -0
- data/lib/swagger_client/api/revenue_recognition_api.rb +484 -0
- data/lib/swagger_client/api/sales_room_api.rb +74 -0
- data/lib/swagger_client/api/settings_api.rb +1321 -0
- data/lib/swagger_client/api/subscriptions_api.rb +576 -0
- data/lib/swagger_client/api/usage_api.rb +604 -0
- data/lib/swagger_client/api/users_api.rb +728 -0
- data/lib/swagger_client/api_client.rb +391 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +209 -0
- data/lib/swagger_client/models/account_address.rb +265 -0
- data/lib/swagger_client/models/account_address_json.rb +229 -0
- data/lib/swagger_client/models/account_contact.rb +530 -0
- data/lib/swagger_client/models/account_contact_json.rb +274 -0
- data/lib/swagger_client/models/account_json.rb +395 -0
- data/lib/swagger_client/models/account_payment_method_json.rb +268 -0
- data/lib/swagger_client/models/account_receivable_contact_json.rb +225 -0
- data/lib/swagger_client/models/accounting_event.rb +319 -0
- data/lib/swagger_client/models/accounting_event_paginated_response.rb +204 -0
- data/lib/swagger_client/models/accounting_period.rb +356 -0
- data/lib/swagger_client/models/accounting_period_calculation.rb +229 -0
- data/lib/swagger_client/models/add_and_apply_payment_application_json.rb +344 -0
- data/lib/swagger_client/models/anrok_integration_input.rb +184 -0
- data/lib/swagger_client/models/approval_matrix_import_data_json.rb +229 -0
- data/lib/swagger_client/models/approval_matrix_import_preview.rb +226 -0
- data/lib/swagger_client/models/approval_role_json.rb +220 -0
- data/lib/swagger_client/models/approval_role_segment_change.rb +211 -0
- data/lib/swagger_client/models/approval_segment_json.rb +220 -0
- data/lib/swagger_client/models/attachment.rb +326 -0
- data/lib/swagger_client/models/attribute_reference.rb +193 -0
- data/lib/swagger_client/models/auth_saml_integration_json.rb +204 -0
- data/lib/swagger_client/models/automated_invoice_rule.rb +328 -0
- data/lib/swagger_client/models/automated_invoice_rule_request_json.rb +307 -0
- data/lib/swagger_client/models/avalara_integration.rb +238 -0
- data/lib/swagger_client/models/avalara_integration_input.rb +268 -0
- data/lib/swagger_client/models/billing_event_entry.rb +211 -0
- data/lib/swagger_client/models/billing_event_input.rb +216 -0
- data/lib/swagger_client/models/bulk_invoice_run.rb +350 -0
- data/lib/swagger_client/models/bulk_invoice_run_exclusions.rb +197 -0
- data/lib/swagger_client/models/bulk_invoice_run_input.rb +263 -0
- data/lib/swagger_client/models/bulk_invoice_run_item.rb +364 -0
- data/lib/swagger_client/models/bulk_invoice_run_selector.rb +184 -0
- data/lib/swagger_client/models/bulk_payment_upload_data.rb +274 -0
- data/lib/swagger_client/models/bulk_payment_upload_result.rb +204 -0
- data/lib/swagger_client/models/byte_buffer.rb +247 -0
- data/lib/swagger_client/models/catalog_relationship.rb +364 -0
- data/lib/swagger_client/models/charge_json.rb +631 -0
- data/lib/swagger_client/models/charge_partial_json.rb +310 -0
- data/lib/swagger_client/models/company_contact_json.rb +225 -0
- data/lib/swagger_client/models/credit_memo_application_json.rb +239 -0
- data/lib/swagger_client/models/credit_memo_balance_json.rb +211 -0
- data/lib/swagger_client/models/credit_memo_json.rb +363 -0
- data/lib/swagger_client/models/credit_memo_line_item_json.rb +252 -0
- data/lib/swagger_client/models/credit_memo_line_item_request_json.rb +211 -0
- data/lib/swagger_client/models/credit_memo_pagination_response_json.rb +204 -0
- data/lib/swagger_client/models/crm_account_import_response.rb +193 -0
- data/lib/swagger_client/models/custom_field_default.rb +195 -0
- data/lib/swagger_client/models/custom_field_definition_create_input.rb +317 -0
- data/lib/swagger_client/models/custom_field_definition_json.rb +313 -0
- data/lib/swagger_client/models/custom_field_definition_update_input.rb +256 -0
- data/lib/swagger_client/models/custom_field_entry.rb +325 -0
- data/lib/swagger_client/models/custom_field_update_input.rb +195 -0
- data/lib/swagger_client/models/custom_field_value.rb +316 -0
- data/lib/swagger_client/models/data_import.rb +355 -0
- data/lib/swagger_client/models/discount_detail_json.rb +263 -0
- data/lib/swagger_client/models/discount_json.rb +254 -0
- data/lib/swagger_client/models/docu_sign_integration_request_json.rb +236 -0
- data/lib/swagger_client/models/docu_sign_integration_response_json.rb +245 -0
- data/lib/swagger_client/models/document_custom_content.rb +211 -0
- data/lib/swagger_client/models/document_section.rb +265 -0
- data/lib/swagger_client/models/document_template_json.rb +300 -0
- data/lib/swagger_client/models/dunning_setting_json.rb +200 -0
- data/lib/swagger_client/models/email_notifiers_list.rb +208 -0
- data/lib/swagger_client/models/entity.rb +356 -0
- data/lib/swagger_client/models/entity_json.rb +347 -0
- data/lib/swagger_client/models/entity_ref.rb +202 -0
- data/lib/swagger_client/models/entry.rb +202 -0
- data/lib/swagger_client/models/external_arr_schedule_json.rb +319 -0
- data/lib/swagger_client/models/flatfile_workbook_response.rb +184 -0
- data/lib/swagger_client/models/flatfile_workbook_response_data.rb +193 -0
- data/lib/swagger_client/models/input_stream.rb +175 -0
- data/lib/swagger_client/models/integration.rb +311 -0
- data/lib/swagger_client/models/invoice_balance_json.rb +211 -0
- data/lib/swagger_client/models/invoice_item_json.rb +355 -0
- data/lib/swagger_client/models/invoice_item_preview_json.rb +229 -0
- data/lib/swagger_client/models/invoice_json.rb +439 -0
- data/lib/swagger_client/models/invoice_json_pagination_response.rb +204 -0
- data/lib/swagger_client/models/invoice_number_prefix.rb +184 -0
- data/lib/swagger_client/models/invoice_preview_json.rb +222 -0
- data/lib/swagger_client/models/ledger_account.rb +316 -0
- data/lib/swagger_client/models/ledger_account_mapping.rb +222 -0
- data/lib/swagger_client/models/metrics_json.rb +267 -0
- data/lib/swagger_client/models/notification_target_and_subscriptions.rb +265 -0
- data/lib/swagger_client/models/number_config.rb +254 -0
- data/lib/swagger_client/models/opportunity.rb +326 -0
- data/lib/swagger_client/models/opportunity_json.rb +326 -0
- data/lib/swagger_client/models/opportunity_pagination_response.rb +204 -0
- data/lib/swagger_client/models/opportunity_rest_json.rb +317 -0
- data/lib/swagger_client/models/order_json.rb +754 -0
- data/lib/swagger_client/models/order_json_pagination_response.rb +204 -0
- data/lib/swagger_client/models/order_line_item_json.rb +474 -0
- data/lib/swagger_client/models/order_line_item_request_json.rb +384 -0
- data/lib/swagger_client/models/order_request_json.rb +616 -0
- data/lib/swagger_client/models/order_terms.rb +265 -0
- data/lib/swagger_client/models/paginated_accounts_response.rb +204 -0
- data/lib/swagger_client/models/paginated_response.rb +204 -0
- data/lib/swagger_client/models/payment_balance_json.rb +211 -0
- data/lib/swagger_client/models/payment_configuration.rb +208 -0
- data/lib/swagger_client/models/payment_json.rb +300 -0
- data/lib/swagger_client/models/payment_json_pagination_response.rb +204 -0
- data/lib/swagger_client/models/payment_term_settings_json.rb +219 -0
- data/lib/swagger_client/models/plan_json.rb +339 -0
- data/lib/swagger_client/models/plan_json_pagination_response.rb +204 -0
- data/lib/swagger_client/models/plan_metadata_json.rb +187 -0
- data/lib/swagger_client/models/predefined_report_def_chart_json.rb +265 -0
- data/lib/swagger_client/models/predefined_report_def_json.rb +222 -0
- data/lib/swagger_client/models/predefined_report_defs_json.rb +186 -0
- data/lib/swagger_client/models/predefined_report_json.rb +213 -0
- data/lib/swagger_client/models/predefined_report_param.rb +296 -0
- data/lib/swagger_client/models/predefined_report_param_object.rb +296 -0
- data/lib/swagger_client/models/prepaid_stats.rb +310 -0
- data/lib/swagger_client/models/price_tier_json.rb +212 -0
- data/lib/swagger_client/models/product_category.rb +264 -0
- data/lib/swagger_client/models/product_category_pagination_response.rb +204 -0
- data/lib/swagger_client/models/product_input_json.rb +249 -0
- data/lib/swagger_client/models/product_json.rb +276 -0
- data/lib/swagger_client/models/product_json_pagination_response.rb +204 -0
- data/lib/swagger_client/models/purchase_order.rb +226 -0
- data/lib/swagger_client/models/raw_usage.rb +247 -0
- data/lib/swagger_client/models/raw_usages_data.rb +192 -0
- data/lib/swagger_client/models/recognition_event_completion.rb +322 -0
- data/lib/swagger_client/models/recognition_rule.rb +376 -0
- data/lib/swagger_client/models/recurrence_json.rb +256 -0
- data/lib/swagger_client/models/refund.rb +301 -0
- data/lib/swagger_client/models/refund_detail.rb +322 -0
- data/lib/swagger_client/models/refund_request_json.rb +272 -0
- data/lib/swagger_client/models/report_duration.rb +193 -0
- data/lib/swagger_client/models/report_job_response.rb +245 -0
- data/lib/swagger_client/models/salesforce_account.rb +229 -0
- data/lib/swagger_client/models/salesforce_account_billing_address.rb +220 -0
- data/lib/swagger_client/models/salesforce_client_integration_request_json.rb +211 -0
- data/lib/swagger_client/models/settlement_application.rb +329 -0
- data/lib/swagger_client/models/standalone_credit_memo_request.rb +353 -0
- data/lib/swagger_client/models/subscription_charge_alias.rb +283 -0
- data/lib/swagger_client/models/subscription_charge_json.rb +362 -0
- data/lib/swagger_client/models/subscription_json.rb +583 -0
- data/lib/swagger_client/models/subscription_update_json.rb +280 -0
- data/lib/swagger_client/models/tax_jar_integration.rb +238 -0
- data/lib/swagger_client/models/tax_jar_integration_input.rb +193 -0
- data/lib/swagger_client/models/tax_rate_json.rb +286 -0
- data/lib/swagger_client/models/tax_rate_pagination_response_json.rb +204 -0
- data/lib/swagger_client/models/tenant_credit_memo_configuration_json.rb +211 -0
- data/lib/swagger_client/models/tenant_discount_json.rb +193 -0
- data/lib/swagger_client/models/tenant_discount_line_item_json.rb +202 -0
- data/lib/swagger_client/models/tenant_invoice_config.rb +254 -0
- data/lib/swagger_client/models/tenant_json.rb +283 -0
- data/lib/swagger_client/models/tenant_setting_json.rb +307 -0
- data/lib/swagger_client/models/time_series_amount_json.rb +193 -0
- data/lib/swagger_client/models/time_zone.rb +211 -0
- data/lib/swagger_client/models/unit_of_measure_json.rb +250 -0
- data/lib/swagger_client/models/unit_of_measure_pagination_response_json.rb +204 -0
- data/lib/swagger_client/models/update_invoice_request.rb +282 -0
- data/lib/swagger_client/models/usage_aggregate_output.rb +258 -0
- data/lib/swagger_client/models/usage_batch_insert_result.rb +213 -0
- data/lib/swagger_client/models/user_group_json.rb +224 -0
- data/lib/swagger_client/models/user_group_request_json.rb +224 -0
- data/lib/swagger_client/models/user_input.rb +304 -0
- data/lib/swagger_client/models/user_json.rb +376 -0
- data/lib/swagger_client/models/user_pagination_response_json.rb +204 -0
- data/lib/swagger_client/models/void_invoice_request.rb +203 -0
- data/lib/swagger_client/models/void_payment_json.rb +235 -0
- data/lib/swagger_client/version.rb +15 -0
- data/lib/swagger_client.rb +230 -0
- data/spec/models/paginated_accounts_response_spec.rb +53 -0
- data/spec/models/plan_metadata_json_spec.rb +3 -3
- data/subskribe_dev-1.3.1.gem +0 -0
- data/subskribe_dev.gemspec +4 -4
- data/subskribe_dev2-1.3.2.gem +0 -0
- data/subskribe_dev2.gemspec +46 -0
- data/subskribe_sandbox.gemspec +3 -3
- data/swagger_client.gemspec +46 -0
- metadata +589 -187
@@ -0,0 +1,1678 @@
|
|
1
|
+
=begin
|
2
|
+
#Subskribe API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.41
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module SwaggerClient
|
16
|
+
class IntegrationsApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Add a Anrok integration
|
23
|
+
# Returns the integration ID if successful
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [AnrokIntegrationInput] :body Integration input as a JSON
|
26
|
+
# @return [nil]
|
27
|
+
def add_integration(opts = {})
|
28
|
+
add_integration_with_http_info(opts)
|
29
|
+
nil
|
30
|
+
end
|
31
|
+
|
32
|
+
# Add a Anrok integration
|
33
|
+
# Returns the integration ID if successful
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [AnrokIntegrationInput] :body Integration input as a JSON
|
36
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
37
|
+
def add_integration_with_http_info(opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.add_integration ...'
|
40
|
+
end
|
41
|
+
# resource path
|
42
|
+
local_var_path = '/anrok'
|
43
|
+
|
44
|
+
# query parameters
|
45
|
+
query_params = {}
|
46
|
+
|
47
|
+
# header parameters
|
48
|
+
header_params = {}
|
49
|
+
# HTTP header 'Accept' (if needed)
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
|
+
# HTTP header 'Content-Type'
|
52
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
# form parameters
|
55
|
+
form_params = {}
|
56
|
+
|
57
|
+
# http body (model)
|
58
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
59
|
+
auth_names = ['ApiKeyAuth']
|
60
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
61
|
+
:header_params => header_params,
|
62
|
+
:query_params => query_params,
|
63
|
+
:form_params => form_params,
|
64
|
+
:body => post_body,
|
65
|
+
:auth_names => auth_names)
|
66
|
+
if @api_client.config.debugging
|
67
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#add_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
68
|
+
end
|
69
|
+
return data, status_code, headers
|
70
|
+
end
|
71
|
+
# Add a TaxJar integration
|
72
|
+
# Returns the integration ID if successful
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [TaxJarIntegrationInput] :body Integration input as a JSON
|
75
|
+
# @return [nil]
|
76
|
+
def add_integration1(opts = {})
|
77
|
+
add_integration1_with_http_info(opts)
|
78
|
+
nil
|
79
|
+
end
|
80
|
+
|
81
|
+
# Add a TaxJar integration
|
82
|
+
# Returns the integration ID if successful
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @option opts [TaxJarIntegrationInput] :body Integration input as a JSON
|
85
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
86
|
+
def add_integration1_with_http_info(opts = {})
|
87
|
+
if @api_client.config.debugging
|
88
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.add_integration1 ...'
|
89
|
+
end
|
90
|
+
# resource path
|
91
|
+
local_var_path = '/taxjar'
|
92
|
+
|
93
|
+
# query parameters
|
94
|
+
query_params = {}
|
95
|
+
|
96
|
+
# header parameters
|
97
|
+
header_params = {}
|
98
|
+
# HTTP header 'Accept' (if needed)
|
99
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
100
|
+
# HTTP header 'Content-Type'
|
101
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
102
|
+
|
103
|
+
# form parameters
|
104
|
+
form_params = {}
|
105
|
+
|
106
|
+
# http body (model)
|
107
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
108
|
+
auth_names = ['ApiKeyAuth']
|
109
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
110
|
+
:header_params => header_params,
|
111
|
+
:query_params => query_params,
|
112
|
+
:form_params => form_params,
|
113
|
+
:body => post_body,
|
114
|
+
:auth_names => auth_names)
|
115
|
+
if @api_client.config.debugging
|
116
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#add_integration1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
117
|
+
end
|
118
|
+
return data, status_code, headers
|
119
|
+
end
|
120
|
+
# Handle HubSpot authorization code
|
121
|
+
# Endpoint to handle and process a HubSpot authorization code
|
122
|
+
# @param code authorization code
|
123
|
+
# @param state HubSpot integration id
|
124
|
+
# @param redirect_uri uri to redirect to HubSpot
|
125
|
+
# @param [Hash] opts the optional parameters
|
126
|
+
# @return [nil]
|
127
|
+
def authorization_code_callback(code, state, redirect_uri, opts = {})
|
128
|
+
authorization_code_callback_with_http_info(code, state, redirect_uri, opts)
|
129
|
+
nil
|
130
|
+
end
|
131
|
+
|
132
|
+
# Handle HubSpot authorization code
|
133
|
+
# Endpoint to handle and process a HubSpot authorization code
|
134
|
+
# @param code authorization code
|
135
|
+
# @param state HubSpot integration id
|
136
|
+
# @param redirect_uri uri to redirect to HubSpot
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
139
|
+
def authorization_code_callback_with_http_info(code, state, redirect_uri, opts = {})
|
140
|
+
if @api_client.config.debugging
|
141
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.authorization_code_callback ...'
|
142
|
+
end
|
143
|
+
# verify the required parameter 'code' is set
|
144
|
+
if @api_client.config.client_side_validation && code.nil?
|
145
|
+
fail ArgumentError, "Missing the required parameter 'code' when calling IntegrationsApi.authorization_code_callback"
|
146
|
+
end
|
147
|
+
# verify the required parameter 'state' is set
|
148
|
+
if @api_client.config.client_side_validation && state.nil?
|
149
|
+
fail ArgumentError, "Missing the required parameter 'state' when calling IntegrationsApi.authorization_code_callback"
|
150
|
+
end
|
151
|
+
# verify the required parameter 'redirect_uri' is set
|
152
|
+
if @api_client.config.client_side_validation && redirect_uri.nil?
|
153
|
+
fail ArgumentError, "Missing the required parameter 'redirect_uri' when calling IntegrationsApi.authorization_code_callback"
|
154
|
+
end
|
155
|
+
# resource path
|
156
|
+
local_var_path = '/hubspot'
|
157
|
+
|
158
|
+
# query parameters
|
159
|
+
query_params = {}
|
160
|
+
query_params[:'code'] = code
|
161
|
+
query_params[:'state'] = state
|
162
|
+
query_params[:'redirect_uri'] = redirect_uri
|
163
|
+
|
164
|
+
# header parameters
|
165
|
+
header_params = {}
|
166
|
+
# HTTP header 'Accept' (if needed)
|
167
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
168
|
+
|
169
|
+
# form parameters
|
170
|
+
form_params = {}
|
171
|
+
|
172
|
+
# http body (model)
|
173
|
+
post_body = nil
|
174
|
+
auth_names = ['ApiKeyAuth']
|
175
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
176
|
+
:header_params => header_params,
|
177
|
+
:query_params => query_params,
|
178
|
+
:form_params => form_params,
|
179
|
+
:body => post_body,
|
180
|
+
:auth_names => auth_names)
|
181
|
+
if @api_client.config.debugging
|
182
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#authorization_code_callback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
183
|
+
end
|
184
|
+
return data, status_code, headers
|
185
|
+
end
|
186
|
+
# Callback for the authorization code
|
187
|
+
# Handles the authorization code callback from Salesforce
|
188
|
+
# @param code authorization code
|
189
|
+
# @param state id of the integration
|
190
|
+
# @param [Hash] opts the optional parameters
|
191
|
+
# @option opts [String] :redirect_uri uri to redirect to
|
192
|
+
# @return [nil]
|
193
|
+
def authorization_code_callback1(code, state, opts = {})
|
194
|
+
authorization_code_callback1_with_http_info(code, state, opts)
|
195
|
+
nil
|
196
|
+
end
|
197
|
+
|
198
|
+
# Callback for the authorization code
|
199
|
+
# Handles the authorization code callback from Salesforce
|
200
|
+
# @param code authorization code
|
201
|
+
# @param state id of the integration
|
202
|
+
# @param [Hash] opts the optional parameters
|
203
|
+
# @option opts [String] :redirect_uri uri to redirect to
|
204
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
205
|
+
def authorization_code_callback1_with_http_info(code, state, opts = {})
|
206
|
+
if @api_client.config.debugging
|
207
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.authorization_code_callback1 ...'
|
208
|
+
end
|
209
|
+
# verify the required parameter 'code' is set
|
210
|
+
if @api_client.config.client_side_validation && code.nil?
|
211
|
+
fail ArgumentError, "Missing the required parameter 'code' when calling IntegrationsApi.authorization_code_callback1"
|
212
|
+
end
|
213
|
+
# verify the required parameter 'state' is set
|
214
|
+
if @api_client.config.client_side_validation && state.nil?
|
215
|
+
fail ArgumentError, "Missing the required parameter 'state' when calling IntegrationsApi.authorization_code_callback1"
|
216
|
+
end
|
217
|
+
# resource path
|
218
|
+
local_var_path = '/sfdc'
|
219
|
+
|
220
|
+
# query parameters
|
221
|
+
query_params = {}
|
222
|
+
query_params[:'code'] = code
|
223
|
+
query_params[:'state'] = state
|
224
|
+
query_params[:'redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
|
225
|
+
|
226
|
+
# header parameters
|
227
|
+
header_params = {}
|
228
|
+
# HTTP header 'Accept' (if needed)
|
229
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
230
|
+
|
231
|
+
# form parameters
|
232
|
+
form_params = {}
|
233
|
+
|
234
|
+
# http body (model)
|
235
|
+
post_body = nil
|
236
|
+
auth_names = ['ApiKeyAuth']
|
237
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
238
|
+
:header_params => header_params,
|
239
|
+
:query_params => query_params,
|
240
|
+
:form_params => form_params,
|
241
|
+
:body => post_body,
|
242
|
+
:auth_names => auth_names)
|
243
|
+
if @api_client.config.debugging
|
244
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#authorization_code_callback1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
245
|
+
end
|
246
|
+
return data, status_code, headers
|
247
|
+
end
|
248
|
+
# Complete Docusign integration
|
249
|
+
# Complete the docusign integration. This should be called after the integration has been created and an authorization code has been received from Docusign.
|
250
|
+
# @param [Hash] opts the optional parameters
|
251
|
+
# @option opts [String] :code authorization code received from Docusign
|
252
|
+
# @option opts [String] :state id of the integration
|
253
|
+
# @return [DocuSignIntegrationResponseJson]
|
254
|
+
def complete_integration(opts = {})
|
255
|
+
data, _status_code, _headers = complete_integration_with_http_info(opts)
|
256
|
+
data
|
257
|
+
end
|
258
|
+
|
259
|
+
# Complete Docusign integration
|
260
|
+
# Complete the docusign integration. This should be called after the integration has been created and an authorization code has been received from Docusign.
|
261
|
+
# @param [Hash] opts the optional parameters
|
262
|
+
# @option opts [String] :code authorization code received from Docusign
|
263
|
+
# @option opts [String] :state id of the integration
|
264
|
+
# @return [Array<(DocuSignIntegrationResponseJson, Fixnum, Hash)>] DocuSignIntegrationResponseJson data, response status code and response headers
|
265
|
+
def complete_integration_with_http_info(opts = {})
|
266
|
+
if @api_client.config.debugging
|
267
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.complete_integration ...'
|
268
|
+
end
|
269
|
+
# resource path
|
270
|
+
local_var_path = '/docusign'
|
271
|
+
|
272
|
+
# query parameters
|
273
|
+
query_params = {}
|
274
|
+
query_params[:'code'] = opts[:'code'] if !opts[:'code'].nil?
|
275
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
276
|
+
|
277
|
+
# header parameters
|
278
|
+
header_params = {}
|
279
|
+
# HTTP header 'Accept' (if needed)
|
280
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
281
|
+
# HTTP header 'Content-Type'
|
282
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
283
|
+
|
284
|
+
# form parameters
|
285
|
+
form_params = {}
|
286
|
+
|
287
|
+
# http body (model)
|
288
|
+
post_body = nil
|
289
|
+
auth_names = ['ApiKeyAuth']
|
290
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
291
|
+
:header_params => header_params,
|
292
|
+
:query_params => query_params,
|
293
|
+
:form_params => form_params,
|
294
|
+
:body => post_body,
|
295
|
+
:auth_names => auth_names,
|
296
|
+
:return_type => 'DocuSignIntegrationResponseJson')
|
297
|
+
if @api_client.config.debugging
|
298
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#complete_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
299
|
+
end
|
300
|
+
return data, status_code, headers
|
301
|
+
end
|
302
|
+
# Delete Docusign integration
|
303
|
+
# Removes integration with Docusign from your tenant
|
304
|
+
# @param [Hash] opts the optional parameters
|
305
|
+
# @return [DocuSignIntegrationResponseJson]
|
306
|
+
def delete_integration(opts = {})
|
307
|
+
data, _status_code, _headers = delete_integration_with_http_info(opts)
|
308
|
+
data
|
309
|
+
end
|
310
|
+
|
311
|
+
# Delete Docusign integration
|
312
|
+
# Removes integration with Docusign from your tenant
|
313
|
+
# @param [Hash] opts the optional parameters
|
314
|
+
# @return [Array<(DocuSignIntegrationResponseJson, Fixnum, Hash)>] DocuSignIntegrationResponseJson data, response status code and response headers
|
315
|
+
def delete_integration_with_http_info(opts = {})
|
316
|
+
if @api_client.config.debugging
|
317
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.delete_integration ...'
|
318
|
+
end
|
319
|
+
# resource path
|
320
|
+
local_var_path = '/docusign'
|
321
|
+
|
322
|
+
# query parameters
|
323
|
+
query_params = {}
|
324
|
+
|
325
|
+
# header parameters
|
326
|
+
header_params = {}
|
327
|
+
# HTTP header 'Accept' (if needed)
|
328
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
329
|
+
# HTTP header 'Content-Type'
|
330
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
331
|
+
|
332
|
+
# form parameters
|
333
|
+
form_params = {}
|
334
|
+
|
335
|
+
# http body (model)
|
336
|
+
post_body = nil
|
337
|
+
auth_names = ['ApiKeyAuth']
|
338
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
339
|
+
:header_params => header_params,
|
340
|
+
:query_params => query_params,
|
341
|
+
:form_params => form_params,
|
342
|
+
:body => post_body,
|
343
|
+
:auth_names => auth_names,
|
344
|
+
:return_type => 'DocuSignIntegrationResponseJson')
|
345
|
+
if @api_client.config.debugging
|
346
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#delete_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
347
|
+
end
|
348
|
+
return data, status_code, headers
|
349
|
+
end
|
350
|
+
# Delete HubSpot Integration
|
351
|
+
# Deletes your integration with HubSpot.
|
352
|
+
# @param [Hash] opts the optional parameters
|
353
|
+
# @return [nil]
|
354
|
+
def delete_integration1(opts = {})
|
355
|
+
delete_integration1_with_http_info(opts)
|
356
|
+
nil
|
357
|
+
end
|
358
|
+
|
359
|
+
# Delete HubSpot Integration
|
360
|
+
# Deletes your integration with HubSpot.
|
361
|
+
# @param [Hash] opts the optional parameters
|
362
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
363
|
+
def delete_integration1_with_http_info(opts = {})
|
364
|
+
if @api_client.config.debugging
|
365
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.delete_integration1 ...'
|
366
|
+
end
|
367
|
+
# resource path
|
368
|
+
local_var_path = '/hubspot'
|
369
|
+
|
370
|
+
# query parameters
|
371
|
+
query_params = {}
|
372
|
+
|
373
|
+
# header parameters
|
374
|
+
header_params = {}
|
375
|
+
# HTTP header 'Accept' (if needed)
|
376
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
377
|
+
# HTTP header 'Content-Type'
|
378
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
379
|
+
|
380
|
+
# form parameters
|
381
|
+
form_params = {}
|
382
|
+
|
383
|
+
# http body (model)
|
384
|
+
post_body = nil
|
385
|
+
auth_names = ['ApiKeyAuth']
|
386
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
387
|
+
:header_params => header_params,
|
388
|
+
:query_params => query_params,
|
389
|
+
:form_params => form_params,
|
390
|
+
:body => post_body,
|
391
|
+
:auth_names => auth_names)
|
392
|
+
if @api_client.config.debugging
|
393
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#delete_integration1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
394
|
+
end
|
395
|
+
return data, status_code, headers
|
396
|
+
end
|
397
|
+
# Delete Salesforce integration
|
398
|
+
# Removes the Salesforce integration for the tenant.
|
399
|
+
# @param [Hash] opts the optional parameters
|
400
|
+
# @return [nil]
|
401
|
+
def delete_integration2(opts = {})
|
402
|
+
delete_integration2_with_http_info(opts)
|
403
|
+
nil
|
404
|
+
end
|
405
|
+
|
406
|
+
# Delete Salesforce integration
|
407
|
+
# Removes the Salesforce integration for the tenant.
|
408
|
+
# @param [Hash] opts the optional parameters
|
409
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
410
|
+
def delete_integration2_with_http_info(opts = {})
|
411
|
+
if @api_client.config.debugging
|
412
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.delete_integration2 ...'
|
413
|
+
end
|
414
|
+
# resource path
|
415
|
+
local_var_path = '/sfdc'
|
416
|
+
|
417
|
+
# query parameters
|
418
|
+
query_params = {}
|
419
|
+
|
420
|
+
# header parameters
|
421
|
+
header_params = {}
|
422
|
+
# HTTP header 'Accept' (if needed)
|
423
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
424
|
+
# HTTP header 'Content-Type'
|
425
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
426
|
+
|
427
|
+
# form parameters
|
428
|
+
form_params = {}
|
429
|
+
|
430
|
+
# http body (model)
|
431
|
+
post_body = nil
|
432
|
+
auth_names = ['ApiKeyAuth']
|
433
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
434
|
+
:header_params => header_params,
|
435
|
+
:query_params => query_params,
|
436
|
+
:form_params => form_params,
|
437
|
+
:body => post_body,
|
438
|
+
:auth_names => auth_names)
|
439
|
+
if @api_client.config.debugging
|
440
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#delete_integration2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
441
|
+
end
|
442
|
+
return data, status_code, headers
|
443
|
+
end
|
444
|
+
# Get Salesforce account
|
445
|
+
# Gets a Salesforce account by its id.
|
446
|
+
# @param id id of the account
|
447
|
+
# @param [Hash] opts the optional parameters
|
448
|
+
# @return [SalesforceAccount]
|
449
|
+
def get_account_by_id(id, opts = {})
|
450
|
+
data, _status_code, _headers = get_account_by_id_with_http_info(id, opts)
|
451
|
+
data
|
452
|
+
end
|
453
|
+
|
454
|
+
# Get Salesforce account
|
455
|
+
# Gets a Salesforce account by its id.
|
456
|
+
# @param id id of the account
|
457
|
+
# @param [Hash] opts the optional parameters
|
458
|
+
# @return [Array<(SalesforceAccount, Fixnum, Hash)>] SalesforceAccount data, response status code and response headers
|
459
|
+
def get_account_by_id_with_http_info(id, opts = {})
|
460
|
+
if @api_client.config.debugging
|
461
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_account_by_id ...'
|
462
|
+
end
|
463
|
+
# verify the required parameter 'id' is set
|
464
|
+
if @api_client.config.client_side_validation && id.nil?
|
465
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IntegrationsApi.get_account_by_id"
|
466
|
+
end
|
467
|
+
# resource path
|
468
|
+
local_var_path = '/sfdc/account/{id}'.sub('{' + 'id' + '}', id.to_s)
|
469
|
+
|
470
|
+
# query parameters
|
471
|
+
query_params = {}
|
472
|
+
|
473
|
+
# header parameters
|
474
|
+
header_params = {}
|
475
|
+
# HTTP header 'Accept' (if needed)
|
476
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
477
|
+
|
478
|
+
# form parameters
|
479
|
+
form_params = {}
|
480
|
+
|
481
|
+
# http body (model)
|
482
|
+
post_body = nil
|
483
|
+
auth_names = ['ApiKeyAuth']
|
484
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
485
|
+
:header_params => header_params,
|
486
|
+
:query_params => query_params,
|
487
|
+
:form_params => form_params,
|
488
|
+
:body => post_body,
|
489
|
+
:auth_names => auth_names,
|
490
|
+
:return_type => 'SalesforceAccount')
|
491
|
+
if @api_client.config.debugging
|
492
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_account_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
493
|
+
end
|
494
|
+
return data, status_code, headers
|
495
|
+
end
|
496
|
+
# Get Salesforce accounts
|
497
|
+
# Returns Salesforce accounts matching the specified name.
|
498
|
+
# @param name account name
|
499
|
+
# @param [Hash] opts the optional parameters
|
500
|
+
# @return [Array<SalesforceAccount>]
|
501
|
+
def get_accounts_by_name(name, opts = {})
|
502
|
+
data, _status_code, _headers = get_accounts_by_name_with_http_info(name, opts)
|
503
|
+
data
|
504
|
+
end
|
505
|
+
|
506
|
+
# Get Salesforce accounts
|
507
|
+
# Returns Salesforce accounts matching the specified name.
|
508
|
+
# @param name account name
|
509
|
+
# @param [Hash] opts the optional parameters
|
510
|
+
# @return [Array<(Array<SalesforceAccount>, Fixnum, Hash)>] Array<SalesforceAccount> data, response status code and response headers
|
511
|
+
def get_accounts_by_name_with_http_info(name, opts = {})
|
512
|
+
if @api_client.config.debugging
|
513
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_accounts_by_name ...'
|
514
|
+
end
|
515
|
+
# verify the required parameter 'name' is set
|
516
|
+
if @api_client.config.client_side_validation && name.nil?
|
517
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling IntegrationsApi.get_accounts_by_name"
|
518
|
+
end
|
519
|
+
# resource path
|
520
|
+
local_var_path = '/sfdc/account'
|
521
|
+
|
522
|
+
# query parameters
|
523
|
+
query_params = {}
|
524
|
+
query_params[:'name'] = name
|
525
|
+
|
526
|
+
# header parameters
|
527
|
+
header_params = {}
|
528
|
+
# HTTP header 'Accept' (if needed)
|
529
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
530
|
+
|
531
|
+
# form parameters
|
532
|
+
form_params = {}
|
533
|
+
|
534
|
+
# http body (model)
|
535
|
+
post_body = nil
|
536
|
+
auth_names = ['ApiKeyAuth']
|
537
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
538
|
+
:header_params => header_params,
|
539
|
+
:query_params => query_params,
|
540
|
+
:form_params => form_params,
|
541
|
+
:body => post_body,
|
542
|
+
:auth_names => auth_names,
|
543
|
+
:return_type => 'Array<SalesforceAccount>')
|
544
|
+
if @api_client.config.debugging
|
545
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_accounts_by_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
546
|
+
end
|
547
|
+
return data, status_code, headers
|
548
|
+
end
|
549
|
+
# Get integration details
|
550
|
+
# Gets the integration details of the specified integration id
|
551
|
+
# @param integration_id integration id
|
552
|
+
# @param [Hash] opts the optional parameters
|
553
|
+
# @return [Integration]
|
554
|
+
def get_integration(integration_id, opts = {})
|
555
|
+
data, _status_code, _headers = get_integration_with_http_info(integration_id, opts)
|
556
|
+
data
|
557
|
+
end
|
558
|
+
|
559
|
+
# Get integration details
|
560
|
+
# Gets the integration details of the specified integration id
|
561
|
+
# @param integration_id integration id
|
562
|
+
# @param [Hash] opts the optional parameters
|
563
|
+
# @return [Array<(Integration, Fixnum, Hash)>] Integration data, response status code and response headers
|
564
|
+
def get_integration_with_http_info(integration_id, opts = {})
|
565
|
+
if @api_client.config.debugging
|
566
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_integration ...'
|
567
|
+
end
|
568
|
+
# verify the required parameter 'integration_id' is set
|
569
|
+
if @api_client.config.client_side_validation && integration_id.nil?
|
570
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationsApi.get_integration"
|
571
|
+
end
|
572
|
+
# resource path
|
573
|
+
local_var_path = '/anrok/{integrationId}'.sub('{' + 'integrationId' + '}', integration_id.to_s)
|
574
|
+
|
575
|
+
# query parameters
|
576
|
+
query_params = {}
|
577
|
+
|
578
|
+
# header parameters
|
579
|
+
header_params = {}
|
580
|
+
# HTTP header 'Accept' (if needed)
|
581
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
582
|
+
|
583
|
+
# form parameters
|
584
|
+
form_params = {}
|
585
|
+
|
586
|
+
# http body (model)
|
587
|
+
post_body = nil
|
588
|
+
auth_names = ['ApiKeyAuth']
|
589
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
590
|
+
:header_params => header_params,
|
591
|
+
:query_params => query_params,
|
592
|
+
:form_params => form_params,
|
593
|
+
:body => post_body,
|
594
|
+
:auth_names => auth_names,
|
595
|
+
:return_type => 'Integration')
|
596
|
+
if @api_client.config.debugging
|
597
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
598
|
+
end
|
599
|
+
return data, status_code, headers
|
600
|
+
end
|
601
|
+
# Gets Avalara integration details
|
602
|
+
# Gets the integration details of the specified integration id
|
603
|
+
# @param integration_id integration id
|
604
|
+
# @param [Hash] opts the optional parameters
|
605
|
+
# @return [AvalaraIntegration]
|
606
|
+
def get_integration1(integration_id, opts = {})
|
607
|
+
data, _status_code, _headers = get_integration1_with_http_info(integration_id, opts)
|
608
|
+
data
|
609
|
+
end
|
610
|
+
|
611
|
+
# Gets Avalara integration details
|
612
|
+
# Gets the integration details of the specified integration id
|
613
|
+
# @param integration_id integration id
|
614
|
+
# @param [Hash] opts the optional parameters
|
615
|
+
# @return [Array<(AvalaraIntegration, Fixnum, Hash)>] AvalaraIntegration data, response status code and response headers
|
616
|
+
def get_integration1_with_http_info(integration_id, opts = {})
|
617
|
+
if @api_client.config.debugging
|
618
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_integration1 ...'
|
619
|
+
end
|
620
|
+
# verify the required parameter 'integration_id' is set
|
621
|
+
if @api_client.config.client_side_validation && integration_id.nil?
|
622
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationsApi.get_integration1"
|
623
|
+
end
|
624
|
+
# resource path
|
625
|
+
local_var_path = '/avalara/{integrationId}'.sub('{' + 'integrationId' + '}', integration_id.to_s)
|
626
|
+
|
627
|
+
# query parameters
|
628
|
+
query_params = {}
|
629
|
+
|
630
|
+
# header parameters
|
631
|
+
header_params = {}
|
632
|
+
# HTTP header 'Accept' (if needed)
|
633
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
634
|
+
|
635
|
+
# form parameters
|
636
|
+
form_params = {}
|
637
|
+
|
638
|
+
# http body (model)
|
639
|
+
post_body = nil
|
640
|
+
auth_names = ['ApiKeyAuth']
|
641
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
642
|
+
:header_params => header_params,
|
643
|
+
:query_params => query_params,
|
644
|
+
:form_params => form_params,
|
645
|
+
:body => post_body,
|
646
|
+
:auth_names => auth_names,
|
647
|
+
:return_type => 'AvalaraIntegration')
|
648
|
+
if @api_client.config.debugging
|
649
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_integration1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
650
|
+
end
|
651
|
+
return data, status_code, headers
|
652
|
+
end
|
653
|
+
# Get integration details
|
654
|
+
# Gets the integration details of the specified integration id
|
655
|
+
# @param integration_id integration id
|
656
|
+
# @param [Hash] opts the optional parameters
|
657
|
+
# @return [TaxJarIntegration]
|
658
|
+
def get_integration2(integration_id, opts = {})
|
659
|
+
data, _status_code, _headers = get_integration2_with_http_info(integration_id, opts)
|
660
|
+
data
|
661
|
+
end
|
662
|
+
|
663
|
+
# Get integration details
|
664
|
+
# Gets the integration details of the specified integration id
|
665
|
+
# @param integration_id integration id
|
666
|
+
# @param [Hash] opts the optional parameters
|
667
|
+
# @return [Array<(TaxJarIntegration, Fixnum, Hash)>] TaxJarIntegration data, response status code and response headers
|
668
|
+
def get_integration2_with_http_info(integration_id, opts = {})
|
669
|
+
if @api_client.config.debugging
|
670
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_integration2 ...'
|
671
|
+
end
|
672
|
+
# verify the required parameter 'integration_id' is set
|
673
|
+
if @api_client.config.client_side_validation && integration_id.nil?
|
674
|
+
fail ArgumentError, "Missing the required parameter 'integration_id' when calling IntegrationsApi.get_integration2"
|
675
|
+
end
|
676
|
+
# resource path
|
677
|
+
local_var_path = '/taxjar/{integrationId}'.sub('{' + 'integrationId' + '}', integration_id.to_s)
|
678
|
+
|
679
|
+
# query parameters
|
680
|
+
query_params = {}
|
681
|
+
|
682
|
+
# header parameters
|
683
|
+
header_params = {}
|
684
|
+
# HTTP header 'Accept' (if needed)
|
685
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
686
|
+
|
687
|
+
# form parameters
|
688
|
+
form_params = {}
|
689
|
+
|
690
|
+
# http body (model)
|
691
|
+
post_body = nil
|
692
|
+
auth_names = ['ApiKeyAuth']
|
693
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
694
|
+
:header_params => header_params,
|
695
|
+
:query_params => query_params,
|
696
|
+
:form_params => form_params,
|
697
|
+
:body => post_body,
|
698
|
+
:auth_names => auth_names,
|
699
|
+
:return_type => 'TaxJarIntegration')
|
700
|
+
if @api_client.config.debugging
|
701
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_integration2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
702
|
+
end
|
703
|
+
return data, status_code, headers
|
704
|
+
end
|
705
|
+
# Gets Avalara integration details
|
706
|
+
# Returns the details of the Avalara integration for your tenant
|
707
|
+
# @param [Hash] opts the optional parameters
|
708
|
+
# @return [AvalaraIntegration]
|
709
|
+
def get_integration_by_tenant(opts = {})
|
710
|
+
data, _status_code, _headers = get_integration_by_tenant_with_http_info(opts)
|
711
|
+
data
|
712
|
+
end
|
713
|
+
|
714
|
+
# Gets Avalara integration details
|
715
|
+
# Returns the details of the Avalara integration for your tenant
|
716
|
+
# @param [Hash] opts the optional parameters
|
717
|
+
# @return [Array<(AvalaraIntegration, Fixnum, Hash)>] AvalaraIntegration data, response status code and response headers
|
718
|
+
def get_integration_by_tenant_with_http_info(opts = {})
|
719
|
+
if @api_client.config.debugging
|
720
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_integration_by_tenant ...'
|
721
|
+
end
|
722
|
+
# resource path
|
723
|
+
local_var_path = '/avalara'
|
724
|
+
|
725
|
+
# query parameters
|
726
|
+
query_params = {}
|
727
|
+
|
728
|
+
# header parameters
|
729
|
+
header_params = {}
|
730
|
+
# HTTP header 'Accept' (if needed)
|
731
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
732
|
+
|
733
|
+
# form parameters
|
734
|
+
form_params = {}
|
735
|
+
|
736
|
+
# http body (model)
|
737
|
+
post_body = nil
|
738
|
+
auth_names = ['ApiKeyAuth']
|
739
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
740
|
+
:header_params => header_params,
|
741
|
+
:query_params => query_params,
|
742
|
+
:form_params => form_params,
|
743
|
+
:body => post_body,
|
744
|
+
:auth_names => auth_names,
|
745
|
+
:return_type => 'AvalaraIntegration')
|
746
|
+
if @api_client.config.debugging
|
747
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_integration_by_tenant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
748
|
+
end
|
749
|
+
return data, status_code, headers
|
750
|
+
end
|
751
|
+
# Get Salesforce opportunities
|
752
|
+
# Returns the Salesforce opportunities associated withe the specified account.
|
753
|
+
# @param account_id id of the account
|
754
|
+
# @param [Hash] opts the optional parameters
|
755
|
+
# @return [Array<Opportunity>]
|
756
|
+
def get_opportunities_by_account_id(account_id, opts = {})
|
757
|
+
data, _status_code, _headers = get_opportunities_by_account_id_with_http_info(account_id, opts)
|
758
|
+
data
|
759
|
+
end
|
760
|
+
|
761
|
+
# Get Salesforce opportunities
|
762
|
+
# Returns the Salesforce opportunities associated withe the specified account.
|
763
|
+
# @param account_id id of the account
|
764
|
+
# @param [Hash] opts the optional parameters
|
765
|
+
# @return [Array<(Array<Opportunity>, Fixnum, Hash)>] Array<Opportunity> data, response status code and response headers
|
766
|
+
def get_opportunities_by_account_id_with_http_info(account_id, opts = {})
|
767
|
+
if @api_client.config.debugging
|
768
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.get_opportunities_by_account_id ...'
|
769
|
+
end
|
770
|
+
# verify the required parameter 'account_id' is set
|
771
|
+
if @api_client.config.client_side_validation && account_id.nil?
|
772
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling IntegrationsApi.get_opportunities_by_account_id"
|
773
|
+
end
|
774
|
+
# resource path
|
775
|
+
local_var_path = '/sfdc/opportunity'
|
776
|
+
|
777
|
+
# query parameters
|
778
|
+
query_params = {}
|
779
|
+
query_params[:'accountId'] = account_id
|
780
|
+
|
781
|
+
# header parameters
|
782
|
+
header_params = {}
|
783
|
+
# HTTP header 'Accept' (if needed)
|
784
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
785
|
+
|
786
|
+
# form parameters
|
787
|
+
form_params = {}
|
788
|
+
|
789
|
+
# http body (model)
|
790
|
+
post_body = nil
|
791
|
+
auth_names = ['ApiKeyAuth']
|
792
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
793
|
+
:header_params => header_params,
|
794
|
+
:query_params => query_params,
|
795
|
+
:form_params => form_params,
|
796
|
+
:body => post_body,
|
797
|
+
:auth_names => auth_names,
|
798
|
+
:return_type => 'Array<Opportunity>')
|
799
|
+
if @api_client.config.debugging
|
800
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#get_opportunities_by_account_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
801
|
+
end
|
802
|
+
return data, status_code, headers
|
803
|
+
end
|
804
|
+
# Import account from Salesforce
|
805
|
+
# Imports an account from Salesforce. On success a redirect uri is returned.
|
806
|
+
# @param body json representation of the account
|
807
|
+
# @param [Hash] opts the optional parameters
|
808
|
+
# @return [nil]
|
809
|
+
def import_account(body, opts = {})
|
810
|
+
import_account_with_http_info(body, opts)
|
811
|
+
nil
|
812
|
+
end
|
813
|
+
|
814
|
+
# Import account from Salesforce
|
815
|
+
# Imports an account from Salesforce. On success a redirect uri is returned.
|
816
|
+
# @param body json representation of the account
|
817
|
+
# @param [Hash] opts the optional parameters
|
818
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
819
|
+
def import_account_with_http_info(body, opts = {})
|
820
|
+
if @api_client.config.debugging
|
821
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.import_account ...'
|
822
|
+
end
|
823
|
+
# verify the required parameter 'body' is set
|
824
|
+
if @api_client.config.client_side_validation && body.nil?
|
825
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling IntegrationsApi.import_account"
|
826
|
+
end
|
827
|
+
# resource path
|
828
|
+
local_var_path = '/sfdc/account'
|
829
|
+
|
830
|
+
# query parameters
|
831
|
+
query_params = {}
|
832
|
+
|
833
|
+
# header parameters
|
834
|
+
header_params = {}
|
835
|
+
# HTTP header 'Accept' (if needed)
|
836
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
837
|
+
# HTTP header 'Content-Type'
|
838
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
839
|
+
|
840
|
+
# form parameters
|
841
|
+
form_params = {}
|
842
|
+
|
843
|
+
# http body (model)
|
844
|
+
post_body = @api_client.object_to_http_body(body)
|
845
|
+
auth_names = ['ApiKeyAuth']
|
846
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
847
|
+
:header_params => header_params,
|
848
|
+
:query_params => query_params,
|
849
|
+
:form_params => form_params,
|
850
|
+
:body => post_body,
|
851
|
+
:auth_names => auth_names)
|
852
|
+
if @api_client.config.debugging
|
853
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#import_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
854
|
+
end
|
855
|
+
return data, status_code, headers
|
856
|
+
end
|
857
|
+
# Create Docusign integration
|
858
|
+
# Creates an integration with Docusign. On success a redirect URL is returned.
|
859
|
+
# @param [Hash] opts the optional parameters
|
860
|
+
# @option opts [DocuSignIntegrationRequestJson] :body details of the integration
|
861
|
+
# @return [nil]
|
862
|
+
def initiate_integration(opts = {})
|
863
|
+
initiate_integration_with_http_info(opts)
|
864
|
+
nil
|
865
|
+
end
|
866
|
+
|
867
|
+
# Create Docusign integration
|
868
|
+
# Creates an integration with Docusign. On success a redirect URL is returned.
|
869
|
+
# @param [Hash] opts the optional parameters
|
870
|
+
# @option opts [DocuSignIntegrationRequestJson] :body details of the integration
|
871
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
872
|
+
def initiate_integration_with_http_info(opts = {})
|
873
|
+
if @api_client.config.debugging
|
874
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.initiate_integration ...'
|
875
|
+
end
|
876
|
+
# resource path
|
877
|
+
local_var_path = '/docusign'
|
878
|
+
|
879
|
+
# query parameters
|
880
|
+
query_params = {}
|
881
|
+
|
882
|
+
# header parameters
|
883
|
+
header_params = {}
|
884
|
+
# HTTP header 'Accept' (if needed)
|
885
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
886
|
+
# HTTP header 'Content-Type'
|
887
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
888
|
+
|
889
|
+
# form parameters
|
890
|
+
form_params = {}
|
891
|
+
|
892
|
+
# http body (model)
|
893
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
894
|
+
auth_names = ['ApiKeyAuth']
|
895
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
896
|
+
:header_params => header_params,
|
897
|
+
:query_params => query_params,
|
898
|
+
:form_params => form_params,
|
899
|
+
:body => post_body,
|
900
|
+
:auth_names => auth_names)
|
901
|
+
if @api_client.config.debugging
|
902
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#initiate_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
903
|
+
end
|
904
|
+
return data, status_code, headers
|
905
|
+
end
|
906
|
+
# Initiate a HubSpot integration
|
907
|
+
# Initiates an integration with HubSpot. On success redirect URL is returned.
|
908
|
+
# @param [Hash] opts the optional parameters
|
909
|
+
# @option opts [String] :email admin email
|
910
|
+
# @return [String]
|
911
|
+
def initiate_integration1(opts = {})
|
912
|
+
data, _status_code, _headers = initiate_integration1_with_http_info(opts)
|
913
|
+
data
|
914
|
+
end
|
915
|
+
|
916
|
+
# Initiate a HubSpot integration
|
917
|
+
# Initiates an integration with HubSpot. On success redirect URL is returned.
|
918
|
+
# @param [Hash] opts the optional parameters
|
919
|
+
# @option opts [String] :email admin email
|
920
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
921
|
+
def initiate_integration1_with_http_info(opts = {})
|
922
|
+
if @api_client.config.debugging
|
923
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.initiate_integration1 ...'
|
924
|
+
end
|
925
|
+
# resource path
|
926
|
+
local_var_path = '/hubspot'
|
927
|
+
|
928
|
+
# query parameters
|
929
|
+
query_params = {}
|
930
|
+
|
931
|
+
# header parameters
|
932
|
+
header_params = {}
|
933
|
+
# HTTP header 'Accept' (if needed)
|
934
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
935
|
+
# HTTP header 'Content-Type'
|
936
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
937
|
+
|
938
|
+
# form parameters
|
939
|
+
form_params = {}
|
940
|
+
|
941
|
+
# http body (model)
|
942
|
+
post_body = @api_client.object_to_http_body(opts[:'email'])
|
943
|
+
auth_names = ['ApiKeyAuth']
|
944
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
945
|
+
:header_params => header_params,
|
946
|
+
:query_params => query_params,
|
947
|
+
:form_params => form_params,
|
948
|
+
:body => post_body,
|
949
|
+
:auth_names => auth_names,
|
950
|
+
:return_type => 'String')
|
951
|
+
if @api_client.config.debugging
|
952
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#initiate_integration1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
953
|
+
end
|
954
|
+
return data, status_code, headers
|
955
|
+
end
|
956
|
+
# Initiate integration with Salesforce
|
957
|
+
# Initiate a Salesforce integration. On success a redirect url is returned.
|
958
|
+
# @param [Hash] opts the optional parameters
|
959
|
+
# @option opts [SalesforceClientIntegrationRequestJson] :body
|
960
|
+
# @return [nil]
|
961
|
+
def initiate_integration2(opts = {})
|
962
|
+
initiate_integration2_with_http_info(opts)
|
963
|
+
nil
|
964
|
+
end
|
965
|
+
|
966
|
+
# Initiate integration with Salesforce
|
967
|
+
# Initiate a Salesforce integration. On success a redirect url is returned.
|
968
|
+
# @param [Hash] opts the optional parameters
|
969
|
+
# @option opts [SalesforceClientIntegrationRequestJson] :body
|
970
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
971
|
+
def initiate_integration2_with_http_info(opts = {})
|
972
|
+
if @api_client.config.debugging
|
973
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.initiate_integration2 ...'
|
974
|
+
end
|
975
|
+
# resource path
|
976
|
+
local_var_path = '/sfdc'
|
977
|
+
|
978
|
+
# query parameters
|
979
|
+
query_params = {}
|
980
|
+
|
981
|
+
# header parameters
|
982
|
+
header_params = {}
|
983
|
+
# HTTP header 'Accept' (if needed)
|
984
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
985
|
+
# HTTP header 'Content-Type'
|
986
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
987
|
+
|
988
|
+
# form parameters
|
989
|
+
form_params = {}
|
990
|
+
|
991
|
+
# http body (model)
|
992
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
993
|
+
auth_names = ['ApiKeyAuth']
|
994
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
995
|
+
:header_params => header_params,
|
996
|
+
:query_params => query_params,
|
997
|
+
:form_params => form_params,
|
998
|
+
:body => post_body,
|
999
|
+
:auth_names => auth_names)
|
1000
|
+
if @api_client.config.debugging
|
1001
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#initiate_integration2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1002
|
+
end
|
1003
|
+
return data, status_code, headers
|
1004
|
+
end
|
1005
|
+
# Create an Avalara integration
|
1006
|
+
# Creates an integration with Avalara according to the specified details. On success the id of the integration is returned
|
1007
|
+
# @param [Hash] opts the optional parameters
|
1008
|
+
# @option opts [AvalaraIntegrationInput] :body json representing the integration
|
1009
|
+
# @return [nil]
|
1010
|
+
def integrate(opts = {})
|
1011
|
+
integrate_with_http_info(opts)
|
1012
|
+
nil
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Create an Avalara integration
|
1016
|
+
# Creates an integration with Avalara according to the specified details. On success the id of the integration is returned
|
1017
|
+
# @param [Hash] opts the optional parameters
|
1018
|
+
# @option opts [AvalaraIntegrationInput] :body json representing the integration
|
1019
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1020
|
+
def integrate_with_http_info(opts = {})
|
1021
|
+
if @api_client.config.debugging
|
1022
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.integrate ...'
|
1023
|
+
end
|
1024
|
+
# resource path
|
1025
|
+
local_var_path = '/avalara'
|
1026
|
+
|
1027
|
+
# query parameters
|
1028
|
+
query_params = {}
|
1029
|
+
|
1030
|
+
# header parameters
|
1031
|
+
header_params = {}
|
1032
|
+
# HTTP header 'Accept' (if needed)
|
1033
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1034
|
+
# HTTP header 'Content-Type'
|
1035
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1036
|
+
|
1037
|
+
# form parameters
|
1038
|
+
form_params = {}
|
1039
|
+
|
1040
|
+
# http body (model)
|
1041
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1042
|
+
auth_names = ['ApiKeyAuth']
|
1043
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1044
|
+
:header_params => header_params,
|
1045
|
+
:query_params => query_params,
|
1046
|
+
:form_params => form_params,
|
1047
|
+
:body => post_body,
|
1048
|
+
:auth_names => auth_names)
|
1049
|
+
if @api_client.config.debugging
|
1050
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#integrate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1051
|
+
end
|
1052
|
+
return data, status_code, headers
|
1053
|
+
end
|
1054
|
+
# Pings Avalara
|
1055
|
+
# Once an integration is set up Avalara can be pinged to ensure it is working correctly. On success \"PONG\" is returned.
|
1056
|
+
# @param [Hash] opts the optional parameters
|
1057
|
+
# @option opts [AvalaraIntegrationInput] :body
|
1058
|
+
# @return [nil]
|
1059
|
+
def ping(opts = {})
|
1060
|
+
ping_with_http_info(opts)
|
1061
|
+
nil
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# Pings Avalara
|
1065
|
+
# Once an integration is set up Avalara can be pinged to ensure it is working correctly. On success \"PONG\" is returned.
|
1066
|
+
# @param [Hash] opts the optional parameters
|
1067
|
+
# @option opts [AvalaraIntegrationInput] :body
|
1068
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1069
|
+
def ping_with_http_info(opts = {})
|
1070
|
+
if @api_client.config.debugging
|
1071
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.ping ...'
|
1072
|
+
end
|
1073
|
+
# resource path
|
1074
|
+
local_var_path = '/avalara/ping'
|
1075
|
+
|
1076
|
+
# query parameters
|
1077
|
+
query_params = {}
|
1078
|
+
|
1079
|
+
# header parameters
|
1080
|
+
header_params = {}
|
1081
|
+
# HTTP header 'Accept' (if needed)
|
1082
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1083
|
+
|
1084
|
+
# form parameters
|
1085
|
+
form_params = {}
|
1086
|
+
|
1087
|
+
# http body (model)
|
1088
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1089
|
+
auth_names = ['ApiKeyAuth']
|
1090
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1091
|
+
:header_params => header_params,
|
1092
|
+
:query_params => query_params,
|
1093
|
+
:form_params => form_params,
|
1094
|
+
:body => post_body,
|
1095
|
+
:auth_names => auth_names)
|
1096
|
+
if @api_client.config.debugging
|
1097
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#ping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1098
|
+
end
|
1099
|
+
return data, status_code, headers
|
1100
|
+
end
|
1101
|
+
# Add custom properties to HubSpot
|
1102
|
+
# Add custom properties to HubSpot
|
1103
|
+
# @param [Hash] opts the optional parameters
|
1104
|
+
# @return [nil]
|
1105
|
+
def setup_hub_spot(opts = {})
|
1106
|
+
setup_hub_spot_with_http_info(opts)
|
1107
|
+
nil
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# Add custom properties to HubSpot
|
1111
|
+
# Add custom properties to HubSpot
|
1112
|
+
# @param [Hash] opts the optional parameters
|
1113
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1114
|
+
def setup_hub_spot_with_http_info(opts = {})
|
1115
|
+
if @api_client.config.debugging
|
1116
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.setup_hub_spot ...'
|
1117
|
+
end
|
1118
|
+
# resource path
|
1119
|
+
local_var_path = '/hubspot/setup'
|
1120
|
+
|
1121
|
+
# query parameters
|
1122
|
+
query_params = {}
|
1123
|
+
|
1124
|
+
# header parameters
|
1125
|
+
header_params = {}
|
1126
|
+
# HTTP header 'Accept' (if needed)
|
1127
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1128
|
+
# HTTP header 'Content-Type'
|
1129
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1130
|
+
|
1131
|
+
# form parameters
|
1132
|
+
form_params = {}
|
1133
|
+
|
1134
|
+
# http body (model)
|
1135
|
+
post_body = nil
|
1136
|
+
auth_names = ['ApiKeyAuth']
|
1137
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1138
|
+
:header_params => header_params,
|
1139
|
+
:query_params => query_params,
|
1140
|
+
:form_params => form_params,
|
1141
|
+
:body => post_body,
|
1142
|
+
:auth_names => auth_names)
|
1143
|
+
if @api_client.config.debugging
|
1144
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#setup_hub_spot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1145
|
+
end
|
1146
|
+
return data, status_code, headers
|
1147
|
+
end
|
1148
|
+
# Sync an account to Salesforce
|
1149
|
+
# Syncs the account ARR and its orders to Salesforce.
|
1150
|
+
# @param id account id to sync
|
1151
|
+
# @param [Hash] opts the optional parameters
|
1152
|
+
# @return [nil]
|
1153
|
+
def sync_account_to_salesforce(id, opts = {})
|
1154
|
+
sync_account_to_salesforce_with_http_info(id, opts)
|
1155
|
+
nil
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# Sync an account to Salesforce
|
1159
|
+
# Syncs the account ARR and its orders to Salesforce.
|
1160
|
+
# @param id account id to sync
|
1161
|
+
# @param [Hash] opts the optional parameters
|
1162
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1163
|
+
def sync_account_to_salesforce_with_http_info(id, opts = {})
|
1164
|
+
if @api_client.config.debugging
|
1165
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.sync_account_to_salesforce ...'
|
1166
|
+
end
|
1167
|
+
# verify the required parameter 'id' is set
|
1168
|
+
if @api_client.config.client_side_validation && id.nil?
|
1169
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IntegrationsApi.sync_account_to_salesforce"
|
1170
|
+
end
|
1171
|
+
# resource path
|
1172
|
+
local_var_path = '/sfdc/syncAccount/{id}'.sub('{' + 'id' + '}', id.to_s)
|
1173
|
+
|
1174
|
+
# query parameters
|
1175
|
+
query_params = {}
|
1176
|
+
|
1177
|
+
# header parameters
|
1178
|
+
header_params = {}
|
1179
|
+
# HTTP header 'Accept' (if needed)
|
1180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1181
|
+
# HTTP header 'Content-Type'
|
1182
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1183
|
+
|
1184
|
+
# form parameters
|
1185
|
+
form_params = {}
|
1186
|
+
|
1187
|
+
# http body (model)
|
1188
|
+
post_body = nil
|
1189
|
+
auth_names = ['ApiKeyAuth']
|
1190
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1191
|
+
:header_params => header_params,
|
1192
|
+
:query_params => query_params,
|
1193
|
+
:form_params => form_params,
|
1194
|
+
:body => post_body,
|
1195
|
+
:auth_names => auth_names)
|
1196
|
+
if @api_client.config.debugging
|
1197
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#sync_account_to_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1198
|
+
end
|
1199
|
+
return data, status_code, headers
|
1200
|
+
end
|
1201
|
+
# Sync orders to Salesforce
|
1202
|
+
# Syncs the specified order to Salesforce.
|
1203
|
+
# @param ids opportunityIds
|
1204
|
+
# @param [Hash] opts the optional parameters
|
1205
|
+
# @return [OrderJson]
|
1206
|
+
def sync_deleted_orders_to_salesforce(ids, opts = {})
|
1207
|
+
data, _status_code, _headers = sync_deleted_orders_to_salesforce_with_http_info(ids, opts)
|
1208
|
+
data
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Sync orders to Salesforce
|
1212
|
+
# Syncs the specified order to Salesforce.
|
1213
|
+
# @param ids opportunityIds
|
1214
|
+
# @param [Hash] opts the optional parameters
|
1215
|
+
# @return [Array<(OrderJson, Fixnum, Hash)>] OrderJson data, response status code and response headers
|
1216
|
+
def sync_deleted_orders_to_salesforce_with_http_info(ids, opts = {})
|
1217
|
+
if @api_client.config.debugging
|
1218
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.sync_deleted_orders_to_salesforce ...'
|
1219
|
+
end
|
1220
|
+
# verify the required parameter 'ids' is set
|
1221
|
+
if @api_client.config.client_side_validation && ids.nil?
|
1222
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling IntegrationsApi.sync_deleted_orders_to_salesforce"
|
1223
|
+
end
|
1224
|
+
# resource path
|
1225
|
+
local_var_path = '/sfdc/syncDeletedOrders'
|
1226
|
+
|
1227
|
+
# query parameters
|
1228
|
+
query_params = {}
|
1229
|
+
|
1230
|
+
# header parameters
|
1231
|
+
header_params = {}
|
1232
|
+
# HTTP header 'Accept' (if needed)
|
1233
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1234
|
+
# HTTP header 'Content-Type'
|
1235
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1236
|
+
|
1237
|
+
# form parameters
|
1238
|
+
form_params = {}
|
1239
|
+
|
1240
|
+
# http body (model)
|
1241
|
+
post_body = @api_client.object_to_http_body(ids)
|
1242
|
+
auth_names = ['ApiKeyAuth']
|
1243
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1244
|
+
:header_params => header_params,
|
1245
|
+
:query_params => query_params,
|
1246
|
+
:form_params => form_params,
|
1247
|
+
:body => post_body,
|
1248
|
+
:auth_names => auth_names,
|
1249
|
+
:return_type => 'OrderJson')
|
1250
|
+
if @api_client.config.debugging
|
1251
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#sync_deleted_orders_to_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1252
|
+
end
|
1253
|
+
return data, status_code, headers
|
1254
|
+
end
|
1255
|
+
# Sync esign details for order id
|
1256
|
+
#
|
1257
|
+
# @param order_id
|
1258
|
+
# @param [Hash] opts the optional parameters
|
1259
|
+
# @return [nil]
|
1260
|
+
def sync_esign_details_for_order_to_hub_spot(order_id, opts = {})
|
1261
|
+
sync_esign_details_for_order_to_hub_spot_with_http_info(order_id, opts)
|
1262
|
+
nil
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
# Sync esign details for order id
|
1266
|
+
#
|
1267
|
+
# @param order_id
|
1268
|
+
# @param [Hash] opts the optional parameters
|
1269
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1270
|
+
def sync_esign_details_for_order_to_hub_spot_with_http_info(order_id, opts = {})
|
1271
|
+
if @api_client.config.debugging
|
1272
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.sync_esign_details_for_order_to_hub_spot ...'
|
1273
|
+
end
|
1274
|
+
# verify the required parameter 'order_id' is set
|
1275
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
1276
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling IntegrationsApi.sync_esign_details_for_order_to_hub_spot"
|
1277
|
+
end
|
1278
|
+
# resource path
|
1279
|
+
local_var_path = '/hubspot/esign/{orderId}'.sub('{' + 'orderId' + '}', order_id.to_s)
|
1280
|
+
|
1281
|
+
# query parameters
|
1282
|
+
query_params = {}
|
1283
|
+
|
1284
|
+
# header parameters
|
1285
|
+
header_params = {}
|
1286
|
+
# HTTP header 'Accept' (if needed)
|
1287
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1288
|
+
# HTTP header 'Content-Type'
|
1289
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1290
|
+
|
1291
|
+
# form parameters
|
1292
|
+
form_params = {}
|
1293
|
+
|
1294
|
+
# http body (model)
|
1295
|
+
post_body = nil
|
1296
|
+
auth_names = ['ApiKeyAuth']
|
1297
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1298
|
+
:header_params => header_params,
|
1299
|
+
:query_params => query_params,
|
1300
|
+
:form_params => form_params,
|
1301
|
+
:body => post_body,
|
1302
|
+
:auth_names => auth_names)
|
1303
|
+
if @api_client.config.debugging
|
1304
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#sync_esign_details_for_order_to_hub_spot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1305
|
+
end
|
1306
|
+
return data, status_code, headers
|
1307
|
+
end
|
1308
|
+
# Sync order to Salesforce
|
1309
|
+
# Syncs the specified order to Salesforce.
|
1310
|
+
# @param id order id
|
1311
|
+
# @param [Hash] opts the optional parameters
|
1312
|
+
# @return [OrderJson]
|
1313
|
+
def sync_order_to_salesforce(id, opts = {})
|
1314
|
+
data, _status_code, _headers = sync_order_to_salesforce_with_http_info(id, opts)
|
1315
|
+
data
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Sync order to Salesforce
|
1319
|
+
# Syncs the specified order to Salesforce.
|
1320
|
+
# @param id order id
|
1321
|
+
# @param [Hash] opts the optional parameters
|
1322
|
+
# @return [Array<(OrderJson, Fixnum, Hash)>] OrderJson data, response status code and response headers
|
1323
|
+
def sync_order_to_salesforce_with_http_info(id, opts = {})
|
1324
|
+
if @api_client.config.debugging
|
1325
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.sync_order_to_salesforce ...'
|
1326
|
+
end
|
1327
|
+
# verify the required parameter 'id' is set
|
1328
|
+
if @api_client.config.client_side_validation && id.nil?
|
1329
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IntegrationsApi.sync_order_to_salesforce"
|
1330
|
+
end
|
1331
|
+
# resource path
|
1332
|
+
local_var_path = '/sfdc/sync/{id}'.sub('{' + 'id' + '}', id.to_s)
|
1333
|
+
|
1334
|
+
# query parameters
|
1335
|
+
query_params = {}
|
1336
|
+
|
1337
|
+
# header parameters
|
1338
|
+
header_params = {}
|
1339
|
+
# HTTP header 'Accept' (if needed)
|
1340
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1341
|
+
# HTTP header 'Content-Type'
|
1342
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1343
|
+
|
1344
|
+
# form parameters
|
1345
|
+
form_params = {}
|
1346
|
+
|
1347
|
+
# http body (model)
|
1348
|
+
post_body = nil
|
1349
|
+
auth_names = ['ApiKeyAuth']
|
1350
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1351
|
+
:header_params => header_params,
|
1352
|
+
:query_params => query_params,
|
1353
|
+
:form_params => form_params,
|
1354
|
+
:body => post_body,
|
1355
|
+
:auth_names => auth_names,
|
1356
|
+
:return_type => 'OrderJson')
|
1357
|
+
if @api_client.config.debugging
|
1358
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#sync_order_to_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1359
|
+
end
|
1360
|
+
return data, status_code, headers
|
1361
|
+
end
|
1362
|
+
# Sync orders to Salesforce
|
1363
|
+
# Syncs the specified order to Salesforce.
|
1364
|
+
# @param ids order ids
|
1365
|
+
# @param [Hash] opts the optional parameters
|
1366
|
+
# @return [OrderJson]
|
1367
|
+
def sync_orders_to_salesforce(ids, opts = {})
|
1368
|
+
data, _status_code, _headers = sync_orders_to_salesforce_with_http_info(ids, opts)
|
1369
|
+
data
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# Sync orders to Salesforce
|
1373
|
+
# Syncs the specified order to Salesforce.
|
1374
|
+
# @param ids order ids
|
1375
|
+
# @param [Hash] opts the optional parameters
|
1376
|
+
# @return [Array<(OrderJson, Fixnum, Hash)>] OrderJson data, response status code and response headers
|
1377
|
+
def sync_orders_to_salesforce_with_http_info(ids, opts = {})
|
1378
|
+
if @api_client.config.debugging
|
1379
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.sync_orders_to_salesforce ...'
|
1380
|
+
end
|
1381
|
+
# verify the required parameter 'ids' is set
|
1382
|
+
if @api_client.config.client_side_validation && ids.nil?
|
1383
|
+
fail ArgumentError, "Missing the required parameter 'ids' when calling IntegrationsApi.sync_orders_to_salesforce"
|
1384
|
+
end
|
1385
|
+
# resource path
|
1386
|
+
local_var_path = '/sfdc/syncOrders'
|
1387
|
+
|
1388
|
+
# query parameters
|
1389
|
+
query_params = {}
|
1390
|
+
|
1391
|
+
# header parameters
|
1392
|
+
header_params = {}
|
1393
|
+
# HTTP header 'Accept' (if needed)
|
1394
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1395
|
+
# HTTP header 'Content-Type'
|
1396
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1397
|
+
|
1398
|
+
# form parameters
|
1399
|
+
form_params = {}
|
1400
|
+
|
1401
|
+
# http body (model)
|
1402
|
+
post_body = @api_client.object_to_http_body(ids)
|
1403
|
+
auth_names = ['ApiKeyAuth']
|
1404
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1405
|
+
:header_params => header_params,
|
1406
|
+
:query_params => query_params,
|
1407
|
+
:form_params => form_params,
|
1408
|
+
:body => post_body,
|
1409
|
+
:auth_names => auth_names,
|
1410
|
+
:return_type => 'OrderJson')
|
1411
|
+
if @api_client.config.debugging
|
1412
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#sync_orders_to_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1413
|
+
end
|
1414
|
+
return data, status_code, headers
|
1415
|
+
end
|
1416
|
+
# Sync whole tenant to Salesforce in a paginated fashion
|
1417
|
+
# Syncs the specified tenant to Salesforce. Returns paginated JSON of accounts which were synced
|
1418
|
+
# @param tenant_id
|
1419
|
+
# @param [Hash] opts the optional parameters
|
1420
|
+
# @option opts [String] :cursor
|
1421
|
+
# @option opts [Integer] :limit
|
1422
|
+
# @return [nil]
|
1423
|
+
def sync_tenant_to_salesforce(tenant_id, opts = {})
|
1424
|
+
sync_tenant_to_salesforce_with_http_info(tenant_id, opts)
|
1425
|
+
nil
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# Sync whole tenant to Salesforce in a paginated fashion
|
1429
|
+
# Syncs the specified tenant to Salesforce. Returns paginated JSON of accounts which were synced
|
1430
|
+
# @param tenant_id
|
1431
|
+
# @param [Hash] opts the optional parameters
|
1432
|
+
# @option opts [String] :cursor
|
1433
|
+
# @option opts [Integer] :limit
|
1434
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1435
|
+
def sync_tenant_to_salesforce_with_http_info(tenant_id, opts = {})
|
1436
|
+
if @api_client.config.debugging
|
1437
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.sync_tenant_to_salesforce ...'
|
1438
|
+
end
|
1439
|
+
# verify the required parameter 'tenant_id' is set
|
1440
|
+
if @api_client.config.client_side_validation && tenant_id.nil?
|
1441
|
+
fail ArgumentError, "Missing the required parameter 'tenant_id' when calling IntegrationsApi.sync_tenant_to_salesforce"
|
1442
|
+
end
|
1443
|
+
# resource path
|
1444
|
+
local_var_path = '/sfdc/syncTenant'
|
1445
|
+
|
1446
|
+
# query parameters
|
1447
|
+
query_params = {}
|
1448
|
+
query_params[:'tenantId'] = tenant_id
|
1449
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
1450
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1451
|
+
|
1452
|
+
# header parameters
|
1453
|
+
header_params = {}
|
1454
|
+
# HTTP header 'Accept' (if needed)
|
1455
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1456
|
+
# HTTP header 'Content-Type'
|
1457
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1458
|
+
|
1459
|
+
# form parameters
|
1460
|
+
form_params = {}
|
1461
|
+
|
1462
|
+
# http body (model)
|
1463
|
+
post_body = nil
|
1464
|
+
auth_names = ['ApiKeyAuth']
|
1465
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1466
|
+
:header_params => header_params,
|
1467
|
+
:query_params => query_params,
|
1468
|
+
:form_params => form_params,
|
1469
|
+
:body => post_body,
|
1470
|
+
:auth_names => auth_names)
|
1471
|
+
if @api_client.config.debugging
|
1472
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#sync_tenant_to_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1473
|
+
end
|
1474
|
+
return data, status_code, headers
|
1475
|
+
end
|
1476
|
+
# Test an integration is valid
|
1477
|
+
#
|
1478
|
+
# @param [Hash] opts the optional parameters
|
1479
|
+
# @option opts [AnrokIntegrationInput] :body Integration input as a JSON
|
1480
|
+
# @return [String]
|
1481
|
+
def test_integration(opts = {})
|
1482
|
+
data, _status_code, _headers = test_integration_with_http_info(opts)
|
1483
|
+
data
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# Test an integration is valid
|
1487
|
+
#
|
1488
|
+
# @param [Hash] opts the optional parameters
|
1489
|
+
# @option opts [AnrokIntegrationInput] :body Integration input as a JSON
|
1490
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1491
|
+
def test_integration_with_http_info(opts = {})
|
1492
|
+
if @api_client.config.debugging
|
1493
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.test_integration ...'
|
1494
|
+
end
|
1495
|
+
# resource path
|
1496
|
+
local_var_path = '/anrok/test'
|
1497
|
+
|
1498
|
+
# query parameters
|
1499
|
+
query_params = {}
|
1500
|
+
|
1501
|
+
# header parameters
|
1502
|
+
header_params = {}
|
1503
|
+
# HTTP header 'Accept' (if needed)
|
1504
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1505
|
+
# HTTP header 'Content-Type'
|
1506
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1507
|
+
|
1508
|
+
# form parameters
|
1509
|
+
form_params = {}
|
1510
|
+
|
1511
|
+
# http body (model)
|
1512
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1513
|
+
auth_names = ['ApiKeyAuth']
|
1514
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1515
|
+
:header_params => header_params,
|
1516
|
+
:query_params => query_params,
|
1517
|
+
:form_params => form_params,
|
1518
|
+
:body => post_body,
|
1519
|
+
:auth_names => auth_names,
|
1520
|
+
:return_type => 'String')
|
1521
|
+
if @api_client.config.debugging
|
1522
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#test_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1523
|
+
end
|
1524
|
+
return data, status_code, headers
|
1525
|
+
end
|
1526
|
+
# Test an integration is valid
|
1527
|
+
#
|
1528
|
+
# @param [Hash] opts the optional parameters
|
1529
|
+
# @option opts [TaxJarIntegrationInput] :body Integration input as a JSON
|
1530
|
+
# @return [String]
|
1531
|
+
def test_integration1(opts = {})
|
1532
|
+
data, _status_code, _headers = test_integration1_with_http_info(opts)
|
1533
|
+
data
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# Test an integration is valid
|
1537
|
+
#
|
1538
|
+
# @param [Hash] opts the optional parameters
|
1539
|
+
# @option opts [TaxJarIntegrationInput] :body Integration input as a JSON
|
1540
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1541
|
+
def test_integration1_with_http_info(opts = {})
|
1542
|
+
if @api_client.config.debugging
|
1543
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.test_integration1 ...'
|
1544
|
+
end
|
1545
|
+
# resource path
|
1546
|
+
local_var_path = '/taxjar/test'
|
1547
|
+
|
1548
|
+
# query parameters
|
1549
|
+
query_params = {}
|
1550
|
+
|
1551
|
+
# header parameters
|
1552
|
+
header_params = {}
|
1553
|
+
# HTTP header 'Accept' (if needed)
|
1554
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1555
|
+
# HTTP header 'Content-Type'
|
1556
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1557
|
+
|
1558
|
+
# form parameters
|
1559
|
+
form_params = {}
|
1560
|
+
|
1561
|
+
# http body (model)
|
1562
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
1563
|
+
auth_names = ['ApiKeyAuth']
|
1564
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1565
|
+
:header_params => header_params,
|
1566
|
+
:query_params => query_params,
|
1567
|
+
:form_params => form_params,
|
1568
|
+
:body => post_body,
|
1569
|
+
:auth_names => auth_names,
|
1570
|
+
:return_type => 'String')
|
1571
|
+
if @api_client.config.debugging
|
1572
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#test_integration1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1573
|
+
end
|
1574
|
+
return data, status_code, headers
|
1575
|
+
end
|
1576
|
+
# Make an order primary
|
1577
|
+
# Marks an order as the primary order for its opportunity.
|
1578
|
+
# @param id order id
|
1579
|
+
# @param [Hash] opts the optional parameters
|
1580
|
+
# @return [OrderJson]
|
1581
|
+
def update_primary_order_id_for_opportunity(id, opts = {})
|
1582
|
+
data, _status_code, _headers = update_primary_order_id_for_opportunity_with_http_info(id, opts)
|
1583
|
+
data
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# Make an order primary
|
1587
|
+
# Marks an order as the primary order for its opportunity.
|
1588
|
+
# @param id order id
|
1589
|
+
# @param [Hash] opts the optional parameters
|
1590
|
+
# @return [Array<(OrderJson, Fixnum, Hash)>] OrderJson data, response status code and response headers
|
1591
|
+
def update_primary_order_id_for_opportunity_with_http_info(id, opts = {})
|
1592
|
+
if @api_client.config.debugging
|
1593
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.update_primary_order_id_for_opportunity ...'
|
1594
|
+
end
|
1595
|
+
# verify the required parameter 'id' is set
|
1596
|
+
if @api_client.config.client_side_validation && id.nil?
|
1597
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IntegrationsApi.update_primary_order_id_for_opportunity"
|
1598
|
+
end
|
1599
|
+
# resource path
|
1600
|
+
local_var_path = '/sfdc/order/{id}'.sub('{' + 'id' + '}', id.to_s)
|
1601
|
+
|
1602
|
+
# query parameters
|
1603
|
+
query_params = {}
|
1604
|
+
|
1605
|
+
# header parameters
|
1606
|
+
header_params = {}
|
1607
|
+
# HTTP header 'Accept' (if needed)
|
1608
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1609
|
+
# HTTP header 'Content-Type'
|
1610
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1611
|
+
|
1612
|
+
# form parameters
|
1613
|
+
form_params = {}
|
1614
|
+
|
1615
|
+
# http body (model)
|
1616
|
+
post_body = nil
|
1617
|
+
auth_names = ['ApiKeyAuth']
|
1618
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1619
|
+
:header_params => header_params,
|
1620
|
+
:query_params => query_params,
|
1621
|
+
:form_params => form_params,
|
1622
|
+
:body => post_body,
|
1623
|
+
:auth_names => auth_names,
|
1624
|
+
:return_type => 'OrderJson')
|
1625
|
+
if @api_client.config.debugging
|
1626
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#update_primary_order_id_for_opportunity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1627
|
+
end
|
1628
|
+
return data, status_code, headers
|
1629
|
+
end
|
1630
|
+
# Verify HubSpot setup
|
1631
|
+
# Verify custom objects and properties
|
1632
|
+
# @param [Hash] opts the optional parameters
|
1633
|
+
# @return [nil]
|
1634
|
+
def verify_setup(opts = {})
|
1635
|
+
verify_setup_with_http_info(opts)
|
1636
|
+
nil
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# Verify HubSpot setup
|
1640
|
+
# Verify custom objects and properties
|
1641
|
+
# @param [Hash] opts the optional parameters
|
1642
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1643
|
+
def verify_setup_with_http_info(opts = {})
|
1644
|
+
if @api_client.config.debugging
|
1645
|
+
@api_client.config.logger.debug 'Calling API: IntegrationsApi.verify_setup ...'
|
1646
|
+
end
|
1647
|
+
# resource path
|
1648
|
+
local_var_path = '/hubspot/setup/verify'
|
1649
|
+
|
1650
|
+
# query parameters
|
1651
|
+
query_params = {}
|
1652
|
+
|
1653
|
+
# header parameters
|
1654
|
+
header_params = {}
|
1655
|
+
# HTTP header 'Accept' (if needed)
|
1656
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1657
|
+
# HTTP header 'Content-Type'
|
1658
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1659
|
+
|
1660
|
+
# form parameters
|
1661
|
+
form_params = {}
|
1662
|
+
|
1663
|
+
# http body (model)
|
1664
|
+
post_body = nil
|
1665
|
+
auth_names = ['ApiKeyAuth']
|
1666
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1667
|
+
:header_params => header_params,
|
1668
|
+
:query_params => query_params,
|
1669
|
+
:form_params => form_params,
|
1670
|
+
:body => post_body,
|
1671
|
+
:auth_names => auth_names)
|
1672
|
+
if @api_client.config.debugging
|
1673
|
+
@api_client.config.logger.debug "API called: IntegrationsApi#verify_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1674
|
+
end
|
1675
|
+
return data, status_code, headers
|
1676
|
+
end
|
1677
|
+
end
|
1678
|
+
end
|