├── .editorconfig ├── .env.template ├── .github ├── CODEOWNERS └── workflows │ ├── docs.yml │ ├── lint.yml │ └── test.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codegen ├── automation │ └── actions │ │ ├── apis │ │ ├── CallbacksApi.ts │ │ ├── DefinitionsApi.ts │ │ ├── FunctionsApi.ts │ │ ├── RevisionsApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ │ ├── auth │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ ├── BatchInputCallbackCompletionBatchRequest.ts │ │ ├── CallbackCompletionBatchRequest.ts │ │ ├── CallbackCompletionRequest.ts │ │ ├── CollectionResponsePublicActionDefinitionForwardPaging.ts │ │ ├── CollectionResponsePublicActionFunctionIdentifierNoPaging.ts │ │ ├── CollectionResponsePublicActionRevisionForwardPaging.ts │ │ ├── ErrorDetail.ts │ │ ├── FieldTypeDefinition.ts │ │ ├── ForwardPaging.ts │ │ ├── InputFieldDefinition.ts │ │ ├── ModelError.ts │ │ ├── NextPage.ts │ │ ├── ObjectSerializer.ts │ │ ├── Option.ts │ │ ├── OutputFieldDefinition.ts │ │ ├── PublicActionDefinition.ts │ │ ├── PublicActionDefinitionEgg.ts │ │ ├── PublicActionDefinitionInputFieldDependenciesInner.ts │ │ ├── PublicActionDefinitionPatch.ts │ │ ├── PublicActionFunction.ts │ │ ├── PublicActionFunctionIdentifier.ts │ │ ├── PublicActionLabels.ts │ │ ├── PublicActionRevision.ts │ │ ├── PublicConditionalSingleFieldDependency.ts │ │ ├── PublicExecutionTranslationRule.ts │ │ ├── PublicObjectRequestOptions.ts │ │ ├── PublicSingleFieldDependency.ts │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ │ └── util.ts ├── cms │ ├── audit_logs │ │ ├── apis │ │ │ ├── AuditLogsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── CollectionResponsePublicAuditLog.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAuditLog.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── blogs │ │ ├── authors │ │ │ ├── apis │ │ │ │ ├── BlogAuthorsApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AttachToLangPrimaryRequestVNext.ts │ │ │ │ ├── BatchInputBlogAuthor.ts │ │ │ │ ├── BatchInputJsonNode.ts │ │ │ │ ├── BatchInputString.ts │ │ │ │ ├── BatchResponseBlogAuthor.ts │ │ │ │ ├── BatchResponseBlogAuthorWithErrors.ts │ │ │ │ ├── BlogAuthor.ts │ │ │ │ ├── BlogAuthorCloneRequestVNext.ts │ │ │ │ ├── CollectionResponseWithTotalBlogAuthorForwardPaging.ts │ │ │ │ ├── DetachFromLangGroupRequestVNext.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── SetNewLanguagePrimaryRequestVNext.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── UpdateLanguagesRequestVNext.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── blog_posts │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── MultiLanguageApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── Angle.ts │ │ │ │ ├── AttachToLangPrimaryRequestVNext.ts │ │ │ │ ├── BackgroundImage.ts │ │ │ │ ├── BatchInputBlogPost.ts │ │ │ │ ├── BatchInputJsonNode.ts │ │ │ │ ├── BatchInputString.ts │ │ │ │ ├── BatchResponseBlogPost.ts │ │ │ │ ├── BatchResponseBlogPostWithErrors.ts │ │ │ │ ├── BlogPost.ts │ │ │ │ ├── BlogPostLanguageCloneRequestVNext.ts │ │ │ │ ├── BreakpointStyles.ts │ │ │ │ ├── CollectionResponseWithTotalBlogPostForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalVersionBlogPost.ts │ │ │ │ ├── ColorStop.ts │ │ │ │ ├── ContentCloneRequestVNext.ts │ │ │ │ ├── ContentLanguageVariation.ts │ │ │ │ ├── ContentScheduleRequestVNext.ts │ │ │ │ ├── DetachFromLangGroupRequestVNext.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── Gradient.ts │ │ │ │ ├── LayoutSection.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── RGBAColor.ts │ │ │ │ ├── RowMetaData.ts │ │ │ │ ├── SetNewLanguagePrimaryRequestVNext.ts │ │ │ │ ├── SideOrCorner.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── Styles.ts │ │ │ │ ├── UpdateLanguagesRequestVNext.ts │ │ │ │ ├── VersionBlogPost.ts │ │ │ │ ├── VersionUser.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ └── tags │ │ │ ├── apis │ │ │ ├── BlogTagsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ ├── AttachToLangPrimaryRequestVNext.ts │ │ │ ├── BatchInputJsonNode.ts │ │ │ ├── BatchInputString.ts │ │ │ ├── BatchInputTag.ts │ │ │ ├── BatchResponseTag.ts │ │ │ ├── BatchResponseTagWithErrors.ts │ │ │ ├── CollectionResponseWithTotalTagForwardPaging.ts │ │ │ ├── DetachFromLangGroupRequestVNext.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── SetNewLanguagePrimaryRequestVNext.ts │ │ │ ├── StandardError.ts │ │ │ ├── Tag.ts │ │ │ ├── TagCloneRequestVNext.ts │ │ │ ├── UpdateLanguagesRequestVNext.ts │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ ├── domains │ │ ├── apis │ │ │ ├── DomainsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── CollectionResponseWithTotalDomainForwardPaging.ts │ │ │ ├── Domain.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── hubdb │ │ ├── apis │ │ │ ├── RowsApi.ts │ │ │ ├── RowsBatchApi.ts │ │ │ ├── TablesApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── BatchInputHubDbTableRowBatchCloneRequest.ts │ │ │ ├── BatchInputHubDbTableRowV3BatchUpdateRequest.ts │ │ │ ├── BatchInputHubDbTableRowV3Request.ts │ │ │ ├── BatchInputString.ts │ │ │ ├── BatchResponseHubDbTableRowV3.ts │ │ │ ├── BatchResponseHubDbTableRowV3WithErrors.ts │ │ │ ├── BoundedNextPage.ts │ │ │ ├── BoundedPaging.ts │ │ │ ├── CollectionResponseWithTotalHubDbTableV3ForwardPaging.ts │ │ │ ├── Column.ts │ │ │ ├── ColumnRequest.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForeignId.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── HubDbTableCloneRequest.ts │ │ │ ├── HubDbTableRowBatchCloneRequest.ts │ │ │ ├── HubDbTableRowV3.ts │ │ │ ├── HubDbTableRowV3BatchUpdateRequest.ts │ │ │ ├── HubDbTableRowV3Request.ts │ │ │ ├── HubDbTableV3.ts │ │ │ ├── HubDbTableV3Request.ts │ │ │ ├── ImportResult.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Option.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── RandomAccessCollectionResponseWithTotalHubDbTableRowV3.ts │ │ │ ├── SimpleUser.ts │ │ │ ├── StandardError.ts │ │ │ ├── StreamingCollectionResponseWithTotalHubDbTableRowV3.ts │ │ │ ├── UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── pages │ │ ├── apis │ │ │ ├── LandingPagesApi.ts │ │ │ ├── SitePagesApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AbTestCreateRequestVNext.ts │ │ │ ├── AbTestEndRequestVNext.ts │ │ │ ├── AbTestRerunRequestVNext.ts │ │ │ ├── Angle.ts │ │ │ ├── AttachToLangPrimaryRequestVNext.ts │ │ │ ├── BackgroundImage.ts │ │ │ ├── BatchInputContentFolder.ts │ │ │ ├── BatchInputJsonNode.ts │ │ │ ├── BatchInputPage.ts │ │ │ ├── BatchInputString.ts │ │ │ ├── BatchResponseContentFolder.ts │ │ │ ├── BatchResponseContentFolderWithErrors.ts │ │ │ ├── BatchResponsePage.ts │ │ │ ├── BatchResponsePageWithErrors.ts │ │ │ ├── CollectionResponseWithTotalContentFolderForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalPageForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalVersionContentFolder.ts │ │ │ ├── CollectionResponseWithTotalVersionPage.ts │ │ │ ├── ColorStop.ts │ │ │ ├── ContentCloneRequestVNext.ts │ │ │ ├── ContentFolder.ts │ │ │ ├── ContentLanguageCloneRequestVNext.ts │ │ │ ├── ContentLanguageVariation.ts │ │ │ ├── ContentScheduleRequestVNext.ts │ │ │ ├── DetachFromLangGroupRequestVNext.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── Gradient.ts │ │ │ ├── LayoutSection.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Page.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── RGBAColor.ts │ │ │ ├── RowMetaData.ts │ │ │ ├── SetNewLanguagePrimaryRequestVNext.ts │ │ │ ├── SideOrCorner.ts │ │ │ ├── StandardError.ts │ │ │ ├── Styles.ts │ │ │ ├── UpdateLanguagesRequestVNext.ts │ │ │ ├── VersionContentFolder.ts │ │ │ ├── VersionPage.ts │ │ │ ├── VersionUser.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── site_search │ │ ├── apis │ │ │ ├── PublicApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── ContentSearchResult.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── IndexedData.ts │ │ │ ├── IndexedField.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── PublicSearchResults.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── source_code │ │ ├── apis │ │ │ ├── ContentApi.ts │ │ │ ├── ExtractApi.ts │ │ │ ├── MetadataApi.ts │ │ │ ├── ValidationApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── ActionResponse.ts │ │ │ ├── AssetFileMetadata.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── FileExtractRequest.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── TaskLocator.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ └── url_redirects │ │ ├── apis │ │ ├── RedirectsApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ │ ├── auth │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ ├── CollectionResponseWithTotalUrlMappingForwardPaging.ts │ │ ├── ErrorDetail.ts │ │ ├── ForwardPaging.ts │ │ ├── ModelError.ts │ │ ├── NextPage.ts │ │ ├── ObjectSerializer.ts │ │ ├── UrlMapping.ts │ │ ├── UrlMappingCreateRequestBody.ts │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ │ └── util.ts ├── communication_preferences │ ├── apis │ │ ├── DefinitionApi.ts │ │ ├── StatusApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ ├── auth │ │ └── auth.ts │ ├── configuration.ts │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ ├── index.ts │ ├── middleware.ts │ ├── models │ │ ├── ErrorDetail.ts │ │ ├── ModelError.ts │ │ ├── ObjectSerializer.ts │ │ ├── PublicSubscriptionStatus.ts │ │ ├── PublicSubscriptionStatusesResponse.ts │ │ ├── PublicUpdateSubscriptionStatusRequest.ts │ │ ├── SubscriptionDefinition.ts │ │ ├── SubscriptionDefinitionsResponse.ts │ │ └── all.ts │ ├── rxjsStub.ts │ ├── servers.ts │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ └── util.ts ├── conversations │ └── visitor_identification │ │ ├── apis │ │ ├── GenerateApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ │ ├── auth │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ ├── ErrorDetail.ts │ │ ├── IdentificationTokenGenerationRequest.ts │ │ ├── IdentificationTokenResponse.ts │ │ ├── ModelError.ts │ │ ├── ObjectSerializer.ts │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ │ └── util.ts ├── crm │ ├── associations │ │ ├── apis │ │ │ ├── BatchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── BatchInputPublicAssociation.ts │ │ │ ├── BatchInputPublicObjectId.ts │ │ │ ├── BatchResponsePublicAssociation.ts │ │ │ ├── BatchResponsePublicAssociationMulti.ts │ │ │ ├── BatchResponsePublicAssociationMultiWithErrors.ts │ │ │ ├── BatchResponsePublicAssociationWithErrors.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociation.ts │ │ │ ├── PublicAssociationMulti.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── StandardError.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── schema │ │ │ ├── apis │ │ │ │ ├── TypesApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── CollectionResponsePublicAssociationDefinitionNoPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── PublicAssociationDefinition.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ ├── util.ts │ │ └── v4 │ │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── ReportApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ ├── AssociationSpec.ts │ │ │ ├── AssociationSpecWithLabel.ts │ │ │ ├── BatchInputPublicAssociationMultiArchive.ts │ │ │ ├── BatchInputPublicAssociationMultiPost.ts │ │ │ ├── BatchInputPublicDefaultAssociationMultiPost.ts │ │ │ ├── BatchInputPublicFetchAssociationsBatchRequest.ts │ │ │ ├── BatchResponseLabelsBetweenObjectPair.ts │ │ │ ├── BatchResponseLabelsBetweenObjectPairWithErrors.ts │ │ │ ├── BatchResponsePublicAssociationMultiWithLabel.ts │ │ │ ├── BatchResponsePublicAssociationMultiWithLabelWithErrors.ts │ │ │ ├── BatchResponsePublicDefaultAssociation.ts │ │ │ ├── CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.ts │ │ │ ├── DateTime.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── LabelsBetweenObjectPair.ts │ │ │ ├── ModelError.ts │ │ │ ├── MultiAssociatedObjectWithLabel.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationMultiArchive.ts │ │ │ ├── PublicAssociationMultiPost.ts │ │ │ ├── PublicAssociationMultiWithLabel.ts │ │ │ ├── PublicDefaultAssociation.ts │ │ │ ├── PublicDefaultAssociationMultiPost.ts │ │ │ ├── PublicFetchAssociationsBatchRequest.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── ReportCreationResponse.ts │ │ │ ├── StandardError.ts │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── schema │ │ │ ├── apis │ │ │ │ ├── DefinitionConfigurationsApi.ts │ │ │ │ ├── DefinitionsApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociationSpecWithLabel.ts │ │ │ │ ├── BatchInputPublicAssociationDefinitionConfigurationCreateRequest.ts │ │ │ │ ├── BatchInputPublicAssociationDefinitionConfigurationUpdateRequest.ts │ │ │ │ ├── BatchInputPublicAssociationSpec.ts │ │ │ │ ├── BatchResponsePublicAssociationDefinitionConfigurationUpdateResult.ts │ │ │ │ ├── BatchResponsePublicAssociationDefinitionConfigurationUpdateResultWithErrors.ts │ │ │ │ ├── BatchResponsePublicAssociationDefinitionUserConfiguration.ts │ │ │ │ ├── BatchResponsePublicAssociationDefinitionUserConfigurationWithErrors.ts │ │ │ │ ├── CollectionResponseAssociationSpecWithLabelNoPaging.ts │ │ │ │ ├── CollectionResponsePublicAssociationDefinitionUserConfigurationNoPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── PublicAssociationDefinitionConfigurationCreateRequest.ts │ │ │ │ ├── PublicAssociationDefinitionConfigurationUpdateRequest.ts │ │ │ │ ├── PublicAssociationDefinitionConfigurationUpdateResult.ts │ │ │ │ ├── PublicAssociationDefinitionCreateRequest.ts │ │ │ │ ├── PublicAssociationDefinitionUpdateRequest.ts │ │ │ │ ├── PublicAssociationDefinitionUserConfiguration.ts │ │ │ │ ├── PublicAssociationSpec.ts │ │ │ │ ├── StandardError.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ ├── commerce │ │ └── invoices │ │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ ├── companies │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicMergeInput.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── contacts │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicGdprDeleteInput.ts │ │ │ ├── PublicMergeInput.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── deals │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicMergeInput.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── exports │ │ ├── apis │ │ │ ├── PublicExportsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── ActionResponseWithSingleResultURI.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── PublicCrmSearchRequest.ts │ │ │ ├── PublicExportListRequest.ts │ │ │ ├── PublicExportRequest.ts │ │ │ ├── PublicExportViewRequest.ts │ │ │ ├── StandardError.ts │ │ │ ├── TaskLocator.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── extensions │ │ ├── calling │ │ │ ├── apis │ │ │ │ ├── ChannelConnectionSettingsApi.ts │ │ │ │ ├── RecordingSettingsApi.ts │ │ │ │ ├── SettingsApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── ChannelConnectionSettingsPatchRequest.ts │ │ │ │ ├── ChannelConnectionSettingsRequest.ts │ │ │ │ ├── ChannelConnectionSettingsResponse.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── MarkRecordingAsReadyRequest.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── RecordingSettingsPatchRequest.ts │ │ │ │ ├── RecordingSettingsRequest.ts │ │ │ │ ├── RecordingSettingsResponse.ts │ │ │ │ ├── SettingsPatchRequest.ts │ │ │ │ ├── SettingsRequest.ts │ │ │ │ ├── SettingsResponse.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── cards │ │ │ ├── apis │ │ │ │ ├── CardsApi.ts │ │ │ │ ├── SampleResponseApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── ActionConfirmationBody.ts │ │ │ │ ├── ActionHookActionBody.ts │ │ │ │ ├── CardActions.ts │ │ │ │ ├── CardAuditResponse.ts │ │ │ │ ├── CardCreateRequest.ts │ │ │ │ ├── CardDisplayBody.ts │ │ │ │ ├── CardDisplayProperty.ts │ │ │ │ ├── CardFetchBody.ts │ │ │ │ ├── CardFetchBodyPatch.ts │ │ │ │ ├── CardObjectTypeBody.ts │ │ │ │ ├── CardPatchRequest.ts │ │ │ │ ├── DisplayOption.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── IFrameActionBody.ts │ │ │ │ ├── IntegratorCardPayloadResponse.ts │ │ │ │ ├── IntegratorObjectResult.ts │ │ │ │ ├── IntegratorObjectResultActionsInner.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── ObjectToken.ts │ │ │ │ ├── PublicCardFetchBody.ts │ │ │ │ ├── PublicCardListResponse.ts │ │ │ │ ├── PublicCardResponse.ts │ │ │ │ ├── TopLevelActions.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ └── videoconferencing │ │ │ ├── apis │ │ │ ├── SettingsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ ├── ErrorDetail.ts │ │ │ ├── ExternalSettings.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ ├── imports │ │ ├── apis │ │ │ ├── CoreApi.ts │ │ │ ├── PublicImportsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── ActionResponse.ts │ │ │ ├── CollectionResponsePublicImportErrorForwardPaging.ts │ │ │ ├── CollectionResponsePublicImportResponse.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ImportRowCore.ts │ │ │ ├── ImportTemplate.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PropertyValue.ts │ │ │ ├── PublicImportError.ts │ │ │ ├── PublicImportMetadata.ts │ │ │ ├── PublicImportResponse.ts │ │ │ ├── PublicObjectListRecord.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── line_items │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── lists │ │ ├── apis │ │ │ ├── FoldersApi.ts │ │ │ ├── ListsApi.ts │ │ │ ├── MappingApi.ts │ │ │ ├── MembershipsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── ApiCollectionResponseJoinTimeAndRecordId.ts │ │ │ ├── ApiCollectionResponseRecordListMembershipNoPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── JoinTimeAndRecordId.ts │ │ │ ├── ListCreateRequest.ts │ │ │ ├── ListCreateResponse.ts │ │ │ ├── ListFetchResponse.ts │ │ │ ├── ListFilterUpdateRequest.ts │ │ │ ├── ListFolderCreateRequest.ts │ │ │ ├── ListFolderCreateResponse.ts │ │ │ ├── ListFolderFetchResponse.ts │ │ │ ├── ListMoveRequest.ts │ │ │ ├── ListSearchRequest.ts │ │ │ ├── ListSearchResponse.ts │ │ │ ├── ListUpdateResponse.ts │ │ │ ├── ListsByIdResponse.ts │ │ │ ├── MembershipChangeRequest.ts │ │ │ ├── MembershipsUpdateResponse.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAbsoluteComparativeTimestampRefineBy.ts │ │ │ ├── PublicAbsoluteRangedTimestampRefineBy.ts │ │ │ ├── PublicAdsSearchFilter.ts │ │ │ ├── PublicAdsTimeFilter.ts │ │ │ ├── PublicAllHistoryRefineBy.ts │ │ │ ├── PublicAllPropertyTypesOperation.ts │ │ │ ├── PublicAndFilterBranch.ts │ │ │ ├── PublicAssociationFilterBranch.ts │ │ │ ├── PublicAssociationInListFilter.ts │ │ │ ├── PublicBatchMigrationMapping.ts │ │ │ ├── PublicBoolPropertyOperation.ts │ │ │ ├── PublicCalendarDatePropertyOperation.ts │ │ │ ├── PublicCampaignInfluencedFilter.ts │ │ │ ├── PublicCommunicationSubscriptionFilter.ts │ │ │ ├── PublicComparativeDatePropertyOperation.ts │ │ │ ├── PublicComparativePropertyUpdatedOperation.ts │ │ │ ├── PublicConstantFilter.ts │ │ │ ├── PublicCtaAnalyticsFilter.ts │ │ │ ├── PublicDatePoint.ts │ │ │ ├── PublicDatePropertyOperation.ts │ │ │ ├── PublicDateTimePropertyOperation.ts │ │ │ ├── PublicEmailEventFilter.ts │ │ │ ├── PublicEmailSubscriptionFilter.ts │ │ │ ├── PublicEnumerationPropertyOperation.ts │ │ │ ├── PublicEventAnalyticsFilter.ts │ │ │ ├── PublicEventFilterMetadata.ts │ │ │ ├── PublicFiscalQuarterReference.ts │ │ │ ├── PublicFiscalYearReference.ts │ │ │ ├── PublicFormSubmissionFilter.ts │ │ │ ├── PublicFormSubmissionFilterCoalescingRefineBy.ts │ │ │ ├── PublicFormSubmissionOnPageFilter.ts │ │ │ ├── PublicInListFilter.ts │ │ │ ├── PublicInListFilterMetadata.ts │ │ │ ├── PublicIndexOffset.ts │ │ │ ├── PublicIndexedTimePoint.ts │ │ │ ├── PublicIndexedTimePointIndexReference.ts │ │ │ ├── PublicIntegrationEventFilter.ts │ │ │ ├── PublicListFolder.ts │ │ │ ├── PublicMigrationMapping.ts │ │ │ ├── PublicMonthReference.ts │ │ │ ├── PublicMultiStringPropertyOperation.ts │ │ │ ├── PublicNotAllFilterBranch.ts │ │ │ ├── PublicNotAnyFilterBranch.ts │ │ │ ├── PublicNowReference.ts │ │ │ ├── PublicNumAssociationsFilter.ts │ │ │ ├── PublicNumOccurrencesRefineBy.ts │ │ │ ├── PublicNumberPropertyOperation.ts │ │ │ ├── PublicObjectList.ts │ │ │ ├── PublicObjectListSearchResult.ts │ │ │ ├── PublicOrFilterBranch.ts │ │ │ ├── PublicPageViewAnalyticsFilter.ts │ │ │ ├── PublicPrivacyAnalyticsFilter.ts │ │ │ ├── PublicPropertyAssociationFilterBranch.ts │ │ │ ├── PublicPropertyAssociationFilterBranchFilterBranchesInner.ts │ │ │ ├── PublicPropertyAssociationFilterBranchFiltersInner.ts │ │ │ ├── PublicPropertyAssociationInListFilter.ts │ │ │ ├── PublicPropertyFilter.ts │ │ │ ├── PublicPropertyReferencedTime.ts │ │ │ ├── PublicQuarterReference.ts │ │ │ ├── PublicRangedDatePropertyOperation.ts │ │ │ ├── PublicRangedNumberPropertyOperation.ts │ │ │ ├── PublicRangedTimeOperation.ts │ │ │ ├── PublicRelativeComparativeTimestampRefineBy.ts │ │ │ ├── PublicRelativeRangedTimestampRefineBy.ts │ │ │ ├── PublicRestrictedFilterBranch.ts │ │ │ ├── PublicRollingDateRangePropertyOperation.ts │ │ │ ├── PublicRollingPropertyUpdatedOperation.ts │ │ │ ├── PublicSetOccurrencesRefineBy.ts │ │ │ ├── PublicStringPropertyOperation.ts │ │ │ ├── PublicSurveyMonkeyFilter.ts │ │ │ ├── PublicSurveyMonkeyValueFilter.ts │ │ │ ├── PublicSurveyMonkeyValueFilterValueComparison.ts │ │ │ ├── PublicTimeOffset.ts │ │ │ ├── PublicTimePointOperation.ts │ │ │ ├── PublicTimePointOperationTimePoint.ts │ │ │ ├── PublicTodayReference.ts │ │ │ ├── PublicUnifiedEventsFilter.ts │ │ │ ├── PublicUnifiedEventsFilterBranch.ts │ │ │ ├── PublicWebinarFilter.ts │ │ │ ├── PublicWeekReference.ts │ │ │ ├── PublicYearReference.ts │ │ │ ├── RecordListMembership.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── objects │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── calls │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── communications │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── configuration.ts │ │ ├── deal_splits │ │ │ ├── apis │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── BatchInputPublicObjectId.ts │ │ │ │ ├── BatchResponseDealToDealSplits.ts │ │ │ │ ├── BatchResponseDealToDealSplitsWithErrors.ts │ │ │ │ ├── DealToDealSplits.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── PublicDealSplitInput.ts │ │ │ │ ├── PublicDealSplitsBatchCreateRequest.ts │ │ │ │ ├── PublicDealSplitsCreateRequest.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── emails │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── feedback_submissions │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── goals │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── leads │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── meetings │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── notes │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── postal_mail │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── tasks │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── taxes │ │ │ ├── apis │ │ │ │ ├── BasicApi.ts │ │ │ │ ├── BatchApi.ts │ │ │ │ ├── SearchApi.ts │ │ │ │ ├── baseapi.ts │ │ │ │ └── exception.ts │ │ │ ├── auth │ │ │ │ └── auth.ts │ │ │ ├── configuration.ts │ │ │ ├── http │ │ │ │ ├── http.ts │ │ │ │ └── isomorphic-fetch.ts │ │ │ ├── index.ts │ │ │ ├── middleware.ts │ │ │ ├── models │ │ │ │ ├── AssociatedId.ts │ │ │ │ ├── AssociationSpec.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ │ ├── ErrorDetail.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── FilterGroup.ts │ │ │ │ ├── ForwardPaging.ts │ │ │ │ ├── ModelError.ts │ │ │ │ ├── NextPage.ts │ │ │ │ ├── ObjectSerializer.ts │ │ │ │ ├── Paging.ts │ │ │ │ ├── PreviousPage.ts │ │ │ │ ├── PublicAssociationsForObject.ts │ │ │ │ ├── PublicObjectId.ts │ │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ │ ├── SimplePublicObject.ts │ │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ │ ├── SimplePublicObjectId.ts │ │ │ │ ├── SimplePublicObjectInput.ts │ │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ │ ├── StandardError.ts │ │ │ │ ├── ValueWithTimestamp.ts │ │ │ │ └── all.ts │ │ │ ├── rxjsStub.ts │ │ │ ├── servers.ts │ │ │ ├── types │ │ │ │ ├── ObjectParamAPI.ts │ │ │ │ ├── ObservableAPI.ts │ │ │ │ └── PromiseAPI.ts │ │ │ └── util.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── owners │ │ ├── apis │ │ │ ├── OwnersApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── CollectionResponsePublicOwnerForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── PublicOwner.ts │ │ │ ├── PublicTeam.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── pipelines │ │ ├── apis │ │ │ ├── PipelineAuditsApi.ts │ │ │ ├── PipelineStageAuditsApi.ts │ │ │ ├── PipelineStagesApi.ts │ │ │ ├── PipelinesApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── CollectionResponsePipelineNoPaging.ts │ │ │ ├── CollectionResponsePipelineStageNoPaging.ts │ │ │ ├── CollectionResponsePublicAuditInfoNoPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Pipeline.ts │ │ │ ├── PipelineInput.ts │ │ │ ├── PipelinePatchInput.ts │ │ │ ├── PipelineStage.ts │ │ │ ├── PipelineStageInput.ts │ │ │ ├── PipelineStagePatchInput.ts │ │ │ ├── PublicAuditInfo.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── products │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── properties │ │ ├── apis │ │ │ ├── BatchApi.ts │ │ │ ├── CoreApi.ts │ │ │ ├── GroupsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── BatchInputPropertyCreate.ts │ │ │ ├── BatchInputPropertyName.ts │ │ │ ├── BatchReadInputPropertyName.ts │ │ │ ├── BatchResponseProperty.ts │ │ │ ├── BatchResponsePropertyWithErrors.ts │ │ │ ├── CollectionResponsePropertyGroupNoPaging.ts │ │ │ ├── CollectionResponsePropertyNoPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Option.ts │ │ │ ├── OptionInput.ts │ │ │ ├── Property.ts │ │ │ ├── PropertyCreate.ts │ │ │ ├── PropertyGroup.ts │ │ │ ├── PropertyGroupCreate.ts │ │ │ ├── PropertyGroupUpdate.ts │ │ │ ├── PropertyModificationMetadata.ts │ │ │ ├── PropertyName.ts │ │ │ ├── PropertyUpdate.ts │ │ │ ├── StandardError.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── quotes │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── schemas │ │ ├── apis │ │ │ ├── CoreApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociationDefinition.ts │ │ │ ├── AssociationDefinitionEgg.ts │ │ │ ├── CollectionResponseObjectSchemaNoPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSchema.ts │ │ │ ├── ObjectSchemaEgg.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── ObjectTypeDefinition.ts │ │ │ ├── ObjectTypeDefinitionLabels.ts │ │ │ ├── ObjectTypeDefinitionPatch.ts │ │ │ ├── ObjectTypePropertyCreate.ts │ │ │ ├── Option.ts │ │ │ ├── OptionInput.ts │ │ │ ├── Property.ts │ │ │ ├── PropertyModificationMetadata.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── tickets │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── SearchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AssociatedId.ts │ │ │ ├── AssociationSpec.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInput.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputForCreate.ts │ │ │ ├── BatchInputSimplePublicObjectBatchInputUpsert.ts │ │ │ ├── BatchInputSimplePublicObjectId.ts │ │ │ ├── BatchReadInputSimplePublicObjectId.ts │ │ │ ├── BatchResponseSimplePublicObject.ts │ │ │ ├── BatchResponseSimplePublicObjectWithErrors.ts │ │ │ ├── BatchResponseSimplePublicUpsertObject.ts │ │ │ ├── BatchResponseSimplePublicUpsertObjectWithErrors.ts │ │ │ ├── CollectionResponseAssociatedId.ts │ │ │ ├── CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalSimplePublicObjectForwardPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── Filter.ts │ │ │ ├── FilterGroup.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicAssociationsForObject.ts │ │ │ ├── PublicMergeInput.ts │ │ │ ├── PublicObjectId.ts │ │ │ ├── PublicObjectSearchRequest.ts │ │ │ ├── SimplePublicObject.ts │ │ │ ├── SimplePublicObjectBatchInput.ts │ │ │ ├── SimplePublicObjectBatchInputForCreate.ts │ │ │ ├── SimplePublicObjectBatchInputUpsert.ts │ │ │ ├── SimplePublicObjectId.ts │ │ │ ├── SimplePublicObjectInput.ts │ │ │ ├── SimplePublicObjectInputForCreate.ts │ │ │ ├── SimplePublicObjectWithAssociations.ts │ │ │ ├── SimplePublicUpsertObject.ts │ │ │ ├── StandardError.ts │ │ │ ├── ValueWithTimestamp.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ └── timeline │ │ ├── apis │ │ ├── EventsApi.ts │ │ ├── TemplatesApi.ts │ │ ├── TokensApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ │ ├── auth │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ ├── BatchInputTimelineEvent.ts │ │ ├── BatchResponseTimelineEventResponse.ts │ │ ├── BatchResponseTimelineEventResponseWithErrors.ts │ │ ├── CollectionResponseTimelineEventTemplateNoPaging.ts │ │ ├── ErrorDetail.ts │ │ ├── EventDetail.ts │ │ ├── ModelError.ts │ │ ├── ObjectSerializer.ts │ │ ├── StandardError.ts │ │ ├── TimelineEvent.ts │ │ ├── TimelineEventIFrame.ts │ │ ├── TimelineEventResponse.ts │ │ ├── TimelineEventTemplate.ts │ │ ├── TimelineEventTemplateCreateRequest.ts │ │ ├── TimelineEventTemplateToken.ts │ │ ├── TimelineEventTemplateTokenOption.ts │ │ ├── TimelineEventTemplateTokenUpdateRequest.ts │ │ ├── TimelineEventTemplateUpdateRequest.ts │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ │ └── util.ts ├── events │ ├── apis │ │ ├── EventsApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ ├── auth │ │ └── auth.ts │ ├── configuration.ts │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ ├── index.ts │ ├── middleware.ts │ ├── models │ │ ├── CollectionResponseExternalUnifiedEvent.ts │ │ ├── ErrorDetail.ts │ │ ├── ExternalUnifiedEvent.ts │ │ ├── ModelError.ts │ │ ├── NextPage.ts │ │ ├── ObjectSerializer.ts │ │ ├── Paging.ts │ │ ├── PreviousPage.ts │ │ ├── VisibleExternalEventTypeNames.ts │ │ └── all.ts │ ├── rxjsStub.ts │ ├── send │ │ ├── apis │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── BatchedBehavioralEventHttpCompletionRequest.ts │ │ │ ├── BehavioralEventHttpCompletionRequest.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── servers.ts │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ └── util.ts ├── files │ ├── apis │ │ ├── FilesApi.ts │ │ ├── FoldersApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ ├── auth │ │ └── auth.ts │ ├── configuration.ts │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ ├── index.ts │ ├── middleware.ts │ ├── models │ │ ├── CollectionResponseFile.ts │ │ ├── CollectionResponseFolder.ts │ │ ├── ErrorDetail.ts │ │ ├── FileActionResponse.ts │ │ ├── FileStat.ts │ │ ├── FileUpdateInput.ts │ │ ├── Folder.ts │ │ ├── FolderActionResponse.ts │ │ ├── FolderInput.ts │ │ ├── FolderUpdateInput.ts │ │ ├── FolderUpdateInputWithId.ts │ │ ├── FolderUpdateTaskLocator.ts │ │ ├── ImportFromUrlInput.ts │ │ ├── ImportFromUrlTaskLocator.ts │ │ ├── ModelError.ts │ │ ├── ModelFile.ts │ │ ├── NextPage.ts │ │ ├── ObjectSerializer.ts │ │ ├── Paging.ts │ │ ├── PreviousPage.ts │ │ ├── SignedUrl.ts │ │ ├── StandardError.ts │ │ └── all.ts │ ├── rxjsStub.ts │ ├── servers.ts │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ └── util.ts ├── marketing │ ├── emails │ │ ├── apis │ │ │ ├── MarketingEmailsApi.ts │ │ │ ├── StatisticsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AbTestCreateRequestVNext.ts │ │ │ ├── AggregateEmailStatistics.ts │ │ │ ├── CollectionResponseWithTotalEmailStatisticIntervalNoPaging.ts │ │ │ ├── CollectionResponseWithTotalPublicEmailForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalVersionPublicEmail.ts │ │ │ ├── ContentCloneRequestVNext.ts │ │ │ ├── EmailCreateRequest.ts │ │ │ ├── EmailStatisticInterval.ts │ │ │ ├── EmailStatisticsData.ts │ │ │ ├── EmailUpdateRequest.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── Interval.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── Paging.ts │ │ │ ├── PreviousPage.ts │ │ │ ├── PublicButtonStyleSettings.ts │ │ │ ├── PublicDividerStyleSettings.ts │ │ │ ├── PublicEmail.ts │ │ │ ├── PublicEmailContent.ts │ │ │ ├── PublicEmailFromDetails.ts │ │ │ ├── PublicEmailRecipients.ts │ │ │ ├── PublicEmailStyleSettings.ts │ │ │ ├── PublicEmailSubscriptionDetails.ts │ │ │ ├── PublicEmailTestingDetails.ts │ │ │ ├── PublicEmailToDetails.ts │ │ │ ├── PublicFontStyle.ts │ │ │ ├── PublicRssEmailDetails.ts │ │ │ ├── PublicWebversionDetails.ts │ │ │ ├── VersionPublicEmail.ts │ │ │ ├── VersionUser.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── events │ │ ├── apis │ │ │ ├── AddEventAttendeesApi.ts │ │ │ ├── BasicApi.ts │ │ │ ├── BatchApi.ts │ │ │ ├── ChangePropertyApi.ts │ │ │ ├── IdentifiersApi.ts │ │ │ ├── ListAssociationsApi.ts │ │ │ ├── RetrieveParticipantStateApi.ts │ │ │ ├── SettingsApi.ts │ │ │ ├── SubscriberStateChangesApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── AppInfo.ts │ │ │ ├── AttendanceCounters.ts │ │ │ ├── BatchInputMarketingEventCreateRequestParams.ts │ │ │ ├── BatchInputMarketingEventEmailSubscriber.ts │ │ │ ├── BatchInputMarketingEventExternalUniqueIdentifier.ts │ │ │ ├── BatchInputMarketingEventPublicObjectIdDeleteRequest.ts │ │ │ ├── BatchInputMarketingEventPublicUpdateRequestFullV2.ts │ │ │ ├── BatchInputMarketingEventSubscriber.ts │ │ │ ├── BatchResponseMarketingEventPublicDefaultResponse.ts │ │ │ ├── BatchResponseMarketingEventPublicDefaultResponseV2.ts │ │ │ ├── BatchResponseMarketingEventPublicDefaultResponseV2WithErrors.ts │ │ │ ├── BatchResponseSubscriberEmailResponse.ts │ │ │ ├── BatchResponseSubscriberVidResponse.ts │ │ │ ├── CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging.ts │ │ │ ├── CollectionResponseSearchPublicResponseWrapperNoPaging.ts │ │ │ ├── CollectionResponseWithTotalMarketingEventIdentifiersResponseNoPaging.ts │ │ │ ├── CollectionResponseWithTotalParticipationBreakdownForwardPaging.ts │ │ │ ├── CollectionResponseWithTotalPublicListNoPaging.ts │ │ │ ├── ContactAssociation.ts │ │ │ ├── CrmPropertyWrapper.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── EventDetailSettings.ts │ │ │ ├── EventDetailSettingsUrl.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── MarketingEventAssociation.ts │ │ │ ├── MarketingEventCompleteRequestParams.ts │ │ │ ├── MarketingEventCreateRequestParams.ts │ │ │ ├── MarketingEventDefaultResponse.ts │ │ │ ├── MarketingEventEmailSubscriber.ts │ │ │ ├── MarketingEventExternalUniqueIdentifier.ts │ │ │ ├── MarketingEventIdentifiersResponse.ts │ │ │ ├── MarketingEventPublicDefaultResponse.ts │ │ │ ├── MarketingEventPublicDefaultResponseV2.ts │ │ │ ├── MarketingEventPublicObjectIdDeleteRequest.ts │ │ │ ├── MarketingEventPublicReadResponse.ts │ │ │ ├── MarketingEventPublicReadResponseV2.ts │ │ │ ├── MarketingEventPublicUpdateRequestFullV2.ts │ │ │ ├── MarketingEventPublicUpdateRequestV2.ts │ │ │ ├── MarketingEventSubscriber.ts │ │ │ ├── MarketingEventUpdateRequestParams.ts │ │ │ ├── ModelError.ts │ │ │ ├── NextPage.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── ParticipationAssociations.ts │ │ │ ├── ParticipationBreakdown.ts │ │ │ ├── ParticipationProperties.ts │ │ │ ├── PropertyValue.ts │ │ │ ├── PublicList.ts │ │ │ ├── SearchPublicResponseWrapper.ts │ │ │ ├── StandardError.ts │ │ │ ├── SubscriberEmailResponse.ts │ │ │ ├── SubscriberVidResponse.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ ├── forms │ │ ├── apis │ │ │ ├── FormsApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── CollectionResponseFormDefinitionBaseForwardPaging.ts │ │ │ ├── CollectionResponseFormDefinitionBaseForwardPagingResultsInner.ts │ │ │ ├── DatepickerField.ts │ │ │ ├── DependentField.ts │ │ │ ├── DependentFieldDependentField.ts │ │ │ ├── DependentFieldFilter.ts │ │ │ ├── DropdownField.ts │ │ │ ├── EmailField.ts │ │ │ ├── EmailFieldValidation.ts │ │ │ ├── EnumeratedFieldOption.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── FieldGroup.ts │ │ │ ├── FileField.ts │ │ │ ├── FormDefinitionBase.ts │ │ │ ├── FormDefinitionCreateRequestBase.ts │ │ │ ├── FormDisplayOptions.ts │ │ │ ├── FormPostSubmitAction.ts │ │ │ ├── FormStyle.ts │ │ │ ├── ForwardPaging.ts │ │ │ ├── HubSpotFormConfiguration.ts │ │ │ ├── HubSpotFormDefinition.ts │ │ │ ├── HubSpotFormDefinitionAllOfLegalConsentOptions.ts │ │ │ ├── HubSpotFormDefinitionCreateRequest.ts │ │ │ ├── HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions.ts │ │ │ ├── HubSpotFormDefinitionPatchRequest.ts │ │ │ ├── LegalConsentCheckbox.ts │ │ │ ├── LegalConsentOptionsExplicitConsentToProcess.ts │ │ │ ├── LegalConsentOptionsImplicitConsentToProcess.ts │ │ │ ├── LegalConsentOptionsLegitimateInterest.ts │ │ │ ├── LegalConsentOptionsNone.ts │ │ │ ├── LifecycleStage.ts │ │ │ ├── MobilePhoneField.ts │ │ │ ├── ModelError.ts │ │ │ ├── MultiLineTextField.ts │ │ │ ├── MultipleCheckboxesField.ts │ │ │ ├── NextPage.ts │ │ │ ├── NumberField.ts │ │ │ ├── NumberFieldValidation.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── PaymentLinkRadioField.ts │ │ │ ├── PhoneField.ts │ │ │ ├── PhoneFieldValidation.ts │ │ │ ├── RadioField.ts │ │ │ ├── SingleCheckboxField.ts │ │ │ ├── SingleLineTextField.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ └── transactional │ │ ├── apis │ │ ├── PublicSMTPTokensApi.ts │ │ ├── SingleSendApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ │ ├── auth │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ ├── CollectionResponseSmtpApiTokenViewForwardPaging.ts │ │ ├── EmailSendStatusView.ts │ │ ├── ErrorDetail.ts │ │ ├── EventIdView.ts │ │ ├── ForwardPaging.ts │ │ ├── ModelError.ts │ │ ├── NextPage.ts │ │ ├── ObjectSerializer.ts │ │ ├── PublicSingleSendEmail.ts │ │ ├── PublicSingleSendRequestEgg.ts │ │ ├── SmtpApiTokenRequestEgg.ts │ │ ├── SmtpApiTokenView.ts │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ │ └── util.ts ├── oauth │ ├── apis │ │ ├── AccessTokensApi.ts │ │ ├── RefreshTokensApi.ts │ │ ├── TokensApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ ├── auth │ │ └── auth.ts │ ├── configuration.ts │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ ├── index.ts │ ├── middleware.ts │ ├── models │ │ ├── AccessTokenInfoResponse.ts │ │ ├── ErrorDetail.ts │ │ ├── ModelError.ts │ │ ├── ObjectSerializer.ts │ │ ├── RefreshTokenInfoResponse.ts │ │ ├── TokenResponseIF.ts │ │ └── all.ts │ ├── rxjsStub.ts │ ├── servers.ts │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ └── util.ts ├── settings │ ├── business_units │ │ ├── apis │ │ │ ├── BusinessUnitApi.ts │ │ │ ├── baseapi.ts │ │ │ └── exception.ts │ │ ├── auth │ │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ │ ├── http.ts │ │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ │ ├── CollectionResponsePublicBusinessUnitNoPaging.ts │ │ │ ├── ErrorDetail.ts │ │ │ ├── ModelError.ts │ │ │ ├── ObjectSerializer.ts │ │ │ ├── PublicBusinessUnit.ts │ │ │ ├── PublicBusinessUnitLogoMetadata.ts │ │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ │ ├── ObjectParamAPI.ts │ │ │ ├── ObservableAPI.ts │ │ │ └── PromiseAPI.ts │ │ └── util.ts │ └── users │ │ ├── apis │ │ ├── RolesApi.ts │ │ ├── TeamsApi.ts │ │ ├── UsersApi.ts │ │ ├── baseapi.ts │ │ └── exception.ts │ │ ├── auth │ │ └── auth.ts │ │ ├── configuration.ts │ │ ├── http │ │ ├── http.ts │ │ └── isomorphic-fetch.ts │ │ ├── index.ts │ │ ├── middleware.ts │ │ ├── models │ │ ├── CollectionResponsePublicPermissionSetNoPaging.ts │ │ ├── CollectionResponsePublicTeamNoPaging.ts │ │ ├── CollectionResponsePublicUserForwardPaging.ts │ │ ├── ErrorDetail.ts │ │ ├── ForwardPaging.ts │ │ ├── ModelError.ts │ │ ├── NextPage.ts │ │ ├── ObjectSerializer.ts │ │ ├── PublicPermissionSet.ts │ │ ├── PublicTeam.ts │ │ ├── PublicUser.ts │ │ ├── PublicUserUpdate.ts │ │ ├── UserProvisionRequest.ts │ │ └── all.ts │ │ ├── rxjsStub.ts │ │ ├── servers.ts │ │ ├── types │ │ ├── ObjectParamAPI.ts │ │ ├── ObservableAPI.ts │ │ └── PromiseAPI.ts │ │ └── util.ts └── webhooks │ ├── apis │ ├── SettingsApi.ts │ ├── SubscriptionsApi.ts │ ├── baseapi.ts │ └── exception.ts │ ├── auth │ └── auth.ts │ ├── configuration.ts │ ├── http │ ├── http.ts │ └── isomorphic-fetch.ts │ ├── index.ts │ ├── middleware.ts │ ├── models │ ├── BatchInputSubscriptionBatchUpdateRequest.ts │ ├── BatchResponseSubscriptionResponse.ts │ ├── BatchResponseSubscriptionResponseWithErrors.ts │ ├── ErrorDetail.ts │ ├── ModelError.ts │ ├── ObjectSerializer.ts │ ├── SettingsChangeRequest.ts │ ├── SettingsResponse.ts │ ├── StandardError.ts │ ├── SubscriptionBatchUpdateRequest.ts │ ├── SubscriptionCreateRequest.ts │ ├── SubscriptionListResponse.ts │ ├── SubscriptionPatchRequest.ts │ ├── SubscriptionResponse.ts │ ├── ThrottlingSettings.ts │ └── all.ts │ ├── rxjsStub.ts │ ├── servers.ts │ ├── types │ ├── ObjectParamAPI.ts │ ├── ObservableAPI.ts │ └── PromiseAPI.ts │ └── util.ts ├── eslint.config.mjs ├── index.ts ├── jasmine.json ├── package-lock.json ├── package.json ├── src ├── client.ts ├── configuration │ ├── ApiClientConfigurator.ts │ ├── IConfiguration.ts │ ├── constants.ts │ ├── privateConstants.ts │ └── version.ts ├── discovery │ ├── BaseDiscovery.ts │ ├── automation │ │ ├── AutomationDiscovery.ts │ │ └── actions │ │ │ └── ActionsDiscovery.ts │ ├── cms │ │ ├── CmsDiscovery.ts │ │ ├── audit_logs │ │ │ └── AuditLogsDiscovery.ts │ │ ├── blogs │ │ │ ├── BlogsDiscovery.ts │ │ │ ├── authors │ │ │ │ └── AuthorsDiscovery.ts │ │ │ ├── blog_posts │ │ │ │ └── BlogPostsDiscovery.ts │ │ │ └── tags │ │ │ │ └── TagsDiscovery.ts │ │ ├── domains │ │ │ └── DomainsDiscovery.ts │ │ ├── hubdb │ │ │ └── HubdbDiscovery.ts │ │ ├── pages │ │ │ └── PagesDiscovery.ts │ │ ├── site_search │ │ │ └── SiteSearchDiscovery.ts │ │ ├── source_code │ │ │ └── SourceCodeDiscovery.ts │ │ └── url_redirects │ │ │ └── UrlRedirectsDiscovery.ts │ ├── communicationPreferences │ │ └── CommunicationPreferencesDiscovery.ts │ ├── conversations │ │ ├── ConversationsDiscovery.ts │ │ └── visitor_identification │ │ │ └── VisitorIdentificationDiscovery.ts │ ├── crm │ │ ├── CrmDiscovery.ts │ │ ├── associations │ │ │ ├── AssociationsDiscovery.ts │ │ │ ├── schema │ │ │ │ └── SchemaDiscovery.ts │ │ │ └── v4 │ │ │ │ ├── AssociationsDiscovery.ts │ │ │ │ └── schema │ │ │ │ └── SchemaDiscovery.ts │ │ ├── commerce │ │ │ ├── CommerceDiscovery.ts │ │ │ └── invoices │ │ │ │ └── InvoicesDiscovery.ts │ │ ├── companies │ │ │ └── CompaniesDiscovery.ts │ │ ├── contacts │ │ │ └── ContactsDiscovery.ts │ │ ├── deals │ │ │ └── DealsDiscovery.ts │ │ ├── exports │ │ │ └── ExportsDiscovery.ts │ │ ├── extensions │ │ │ ├── ExtensionsDiscovery.ts │ │ │ ├── calling │ │ │ │ └── CallingDiscovery.ts │ │ │ ├── cards │ │ │ │ └── CardsDiscovery.ts │ │ │ └── videoconferencing │ │ │ │ └── VideoconferencingDiscovery.ts │ │ ├── imports │ │ │ └── ImportsDiscovery.ts │ │ ├── line_items │ │ │ └── LineItemsDiscovery.ts │ │ ├── lists │ │ │ └── ListsDiscovery.ts │ │ ├── objects │ │ │ ├── ObjectsDiscovery.ts │ │ │ ├── calls │ │ │ │ └── CallsDiscovery.ts │ │ │ ├── communications │ │ │ │ └── CommunicationsDiscovery.ts │ │ │ ├── deal_splits │ │ │ │ └── DealSplitsDiscovery.ts │ │ │ ├── emails │ │ │ │ └── EmailsDiscovery.ts │ │ │ ├── feedback_submissions │ │ │ │ └── FeedbackSubmissionsDiscovery.ts │ │ │ ├── goals │ │ │ │ └── GoalsDiscovery.ts │ │ │ ├── leads │ │ │ │ └── LeadsDiscovery.ts │ │ │ ├── meetings │ │ │ │ └── MeetingsDiscovery.ts │ │ │ ├── notes │ │ │ │ └── NotesDiscovery.ts │ │ │ ├── postal_mail │ │ │ │ └── PostalMailDiscovery.ts │ │ │ ├── tasks │ │ │ │ └── TasksDiscovery.ts │ │ │ └── taxes │ │ │ │ └── TaxesDiscovery.ts │ │ ├── owners │ │ │ └── OwnersDiscovery.ts │ │ ├── pipelines │ │ │ └── PipelinesDiscovery.ts │ │ ├── products │ │ │ └── ProductsDiscovery.ts │ │ ├── properties │ │ │ └── PropertiesDiscovery.ts │ │ ├── quotes │ │ │ └── QuotesDiscovery.ts │ │ ├── schemas │ │ │ └── SchemasDiscovery.ts │ │ ├── tickets │ │ │ └── TicketsDiscovery.ts │ │ └── timeline │ │ │ └── TimelineDiscovery.ts │ ├── events │ │ ├── EventsDiscovery.ts │ │ └── send │ │ │ └── SendDiscovery.ts │ ├── files │ │ └── FilesDiscovery.ts │ ├── marketing │ │ ├── MarketingDiscovery.ts │ │ ├── emails │ │ │ └── EmailsDiscovery.ts │ │ ├── events │ │ │ └── EventsDiscovery.ts │ │ ├── forms │ │ │ └── FormsDiscovery.ts │ │ └── transactional │ │ │ └── TransactionalDiscovery.ts │ ├── oauth │ │ └── OauthDiscovery.ts │ ├── settings │ │ ├── SettingsDiscovery.ts │ │ ├── business_units │ │ │ └── BusinessUnitsDiscovery.ts │ │ └── users │ │ │ └── UsersDiscovery.ts │ └── webhooks │ │ └── WebhooksDiscovery.ts ├── enums │ └── AssociationTypes.ts ├── services │ ├── ApiDecoratorService.ts │ ├── IRequestContext.ts │ ├── decorators │ │ ├── IDecorator.ts │ │ ├── LimiterDecorator.ts │ │ └── RetryDecorator.ts │ ├── getAll.ts │ └── http │ │ ├── Auth.ts │ │ ├── AuthTypes.ts │ │ ├── HttpClient.ts │ │ ├── IHttpOptions.ts │ │ ├── Request.ts │ │ └── StatusCodes.ts └── utils │ ├── ISignatureOptions.ts │ └── signature.ts ├── test ├── spec │ ├── apis.spec.ts │ ├── automation │ │ ├── actions │ │ │ └── actions.spec.ts │ │ └── automation.spec.ts │ ├── cms │ │ ├── auditLogs │ │ │ └── auditLogs.spec.ts │ │ ├── blogs │ │ │ ├── authors │ │ │ │ └── authors.spec.ts │ │ │ ├── blogPosts │ │ │ │ └── blogPosts.spec.ts │ │ │ ├── blogs.spec.ts │ │ │ └── tags │ │ │ │ └── tags.spec.ts │ │ ├── cms.spec.ts │ │ ├── hubdb │ │ │ └── hubdb.spec.ts │ │ ├── pages │ │ │ └── pages.spec.ts │ │ ├── siteSearch │ │ │ └── siteSearch.spec.ts │ │ └── sourceCode │ │ │ └── sourceCode.spec.ts │ ├── communicationPreferences │ │ └── communicationPreferences.spec.ts │ ├── conversations │ │ ├── conversations.spec.ts │ │ └── visitorIdentification │ │ │ └── visitorIdentification.spec.ts │ ├── crm │ │ ├── associations │ │ │ ├── associations.spec.ts │ │ │ ├── schema │ │ │ │ └── schema.spec.ts │ │ │ └── v4 │ │ │ │ ├── associations.spec.ts │ │ │ │ └── schema │ │ │ │ └── schema.spec.ts │ │ ├── commerce │ │ │ ├── commerce.spec.ts │ │ │ └── invoices │ │ │ │ └── invoices.spec.ts │ │ ├── companies │ │ │ └── companies.spec.ts │ │ ├── contacts │ │ │ └── contacts.spec.ts │ │ ├── crm.spec.ts │ │ ├── deals │ │ │ └── deals.spec.ts │ │ ├── exports │ │ │ └── exports.spec.ts │ │ ├── extensions │ │ │ ├── calling │ │ │ │ └── calling.spec.ts │ │ │ ├── cards │ │ │ │ └── cards.spec.ts │ │ │ ├── extensions.spec.ts │ │ │ └── videoconferencing │ │ │ │ └── videoconferencing.spec.ts │ │ ├── imports │ │ │ └── imports.spec.ts │ │ ├── lineItems │ │ │ └── lineItems.spec.ts │ │ ├── lists │ │ │ └── lists.spec.ts │ │ ├── objects │ │ │ ├── calls │ │ │ │ └── calls.spec.ts │ │ │ ├── communications │ │ │ │ └── communications.spec.ts │ │ │ ├── deal_splits │ │ │ │ └── deal_splits.spec.ts │ │ │ ├── emails │ │ │ │ └── emails.spec.ts │ │ │ ├── feedback_submissions │ │ │ │ └── feedback_submissions.spec.ts │ │ │ ├── goals │ │ │ │ └── goals.spec.ts │ │ │ ├── leads │ │ │ │ └── leads.spec.ts │ │ │ ├── meetings │ │ │ │ └── meetings.spec.ts │ │ │ ├── notes │ │ │ │ └── notes.spec.ts │ │ │ ├── objects.spec.ts │ │ │ ├── postal_mail │ │ │ │ └── postal_mail.spec.ts │ │ │ ├── tasks │ │ │ │ └── tasks.spec.ts │ │ │ └── taxes │ │ │ │ └── taxes.spec.ts │ │ ├── owners │ │ │ └── owners.spec.ts │ │ ├── pipelines │ │ │ └── pipelines.spec.ts │ │ ├── products │ │ │ └── products.spec.ts │ │ ├── properties │ │ │ └── properties.spec.ts │ │ ├── quotes │ │ │ └── quotes.spec.ts │ │ ├── schemas │ │ │ └── schemas.spec.ts │ │ ├── tickets │ │ │ └── tickets.spec.ts │ │ └── timeline │ │ │ └── timeline.spec.ts │ ├── events │ │ ├── events.spec.ts │ │ └── send │ │ │ └── send.spec.ts │ ├── files │ │ └── files.spec.ts │ ├── marketing │ │ ├── emails │ │ │ └── emails.spec.ts │ │ ├── events │ │ │ └── events.spec.ts │ │ ├── forms │ │ │ └── forms.spec.ts │ │ ├── marketing.spec.ts │ │ └── transactional │ │ │ └── transactional.spec.ts │ ├── oauth │ │ └── oauth.spec.ts │ ├── settings │ │ ├── businessUnits │ │ │ └── businessUnits.spec.ts │ │ ├── settings.spec.ts │ │ └── users │ │ │ └── users.spec.ts │ └── webhooks │ │ └── webhooks.spec.ts └── unit │ ├── authorizationUrl.spec.ts │ └── signature.spec.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | end_of_line = lf 9 | insert_final_newline = true 10 | indent_style = space 11 | indent_size = 2 12 | charset = utf-8 13 | trim_trailing_whitespace = true 14 | 15 | [*.md] 16 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- 1 | HUBSPOT_API_KEY= 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # This file is managed by GitHubManager 2 | # Changes will be overwritten, please go to https://private.hubteam.com/githubmanager to update this. 3 | 4 | * @HubSpot/devex-sample-apps-developers 5 | -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- 1 | on: 2 | push: 3 | branches: 4 | - master 5 | 6 | jobs: 7 | deploy: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Checkout 11 | uses: actions/checkout@v4 12 | 13 | - name: Install dependencies 14 | run: npm install typedoc@0.26.11 15 | 16 | - name: Generate docs 17 | run: npx typedoc $(find ./codegen/ -name 'index.ts') 18 | 19 | - name: Deploy 20 | uses: peaceiris/actions-gh-pages@v3 21 | with: 22 | github_token: ${{ secrets.GITHUB_TOKEN }} 23 | publish_dir: ./docs 24 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | on: [push] 2 | 3 | jobs: 4 | lint: 5 | runs-on: ubuntu-latest 6 | name: Run eslint 7 | steps: 8 | - uses: actions/checkout@v1 9 | - uses: actions/setup-node@v1 10 | with: 11 | node-version: '18.x' 12 | - run: npm install 13 | - run: npm run lint 14 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | on: [push] 2 | 3 | jobs: 4 | lint: 5 | runs-on: ubuntu-latest 6 | name: Run tests 7 | steps: 8 | - uses: actions/checkout@v1 9 | - uses: actions/setup-node@v1 10 | with: 11 | node-version: '18.x' 12 | - run: npm install 13 | - run: npm run test 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | test-results.xml 3 | .env 4 | .env-test 5 | redis-data/ 6 | db/ 7 | lib 8 | docs -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | ./sample-apps 2 | .github/ 3 | test-results.xml 4 | .env 5 | /test 6 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | codegen 3 | sample-apps 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "quoteProps": "as-needed", 4 | "bracketSpacing": true, 5 | "arrowParens": "always", 6 | "semi": false, 7 | "printWidth": 120, 8 | "trailingComma": "all", 9 | "endOfLine": "lf", 10 | "tabWidth": 2 11 | } 12 | -------------------------------------------------------------------------------- /codegen/automation/actions/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/automation/actions/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseCallbacksApi as CallbacksApi, PromiseDefinitionsApi as DefinitionsApi, PromiseFunctionsApi as FunctionsApi, PromiseRevisionsApi as RevisionsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/automation/actions/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/audit_logs/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/audit_logs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseAuditLogsApi as AuditLogsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/audit_logs/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponsePublicAuditLog' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ModelError' 4 | export * from '../models/NextPage' 5 | export * from '../models/Paging' 6 | export * from '../models/PreviousPage' 7 | export * from '../models/PublicAuditLog' 8 | -------------------------------------------------------------------------------- /codegen/cms/audit_logs/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/blogs/authors/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/blogs/authors/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBlogAuthorsApi as BlogAuthorsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/blogs/authors/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/blogs/blog_posts/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/blogs/blog_posts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseMultiLanguageApi as MultiLanguageApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/blogs/blog_posts/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/blogs/tags/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/blogs/tags/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBlogTagsApi as BlogTagsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/blogs/tags/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/domains/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/cms/domains/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/domains/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseDomainsApi as DomainsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/domains/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponseWithTotalDomainForwardPaging' 2 | export * from '../models/Domain' 3 | export * from '../models/ErrorDetail' 4 | export * from '../models/ForwardPaging' 5 | export * from '../models/ModelError' 6 | export * from '../models/NextPage' 7 | -------------------------------------------------------------------------------- /codegen/cms/domains/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/hubdb/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/cms/hubdb/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/hubdb/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseRowsApi as RowsApi, PromiseRowsBatchApi as RowsBatchApi, PromiseTablesApi as TablesApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/hubdb/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/pages/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/cms/pages/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/pages/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseLandingPagesApi as LandingPagesApi, PromiseSitePagesApi as SitePagesApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/pages/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/site_search/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/site_search/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromisePublicApi as PublicApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/site_search/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ContentSearchResult' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/IndexedData' 4 | export * from '../models/IndexedField' 5 | export * from '../models/ModelError' 6 | export * from '../models/PublicSearchResults' 7 | -------------------------------------------------------------------------------- /codegen/cms/site_search/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/source_code/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/source_code/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseContentApi as ContentApi, PromiseExtractApi as ExtractApi, PromiseMetadataApi as MetadataApi, PromiseValidationApi as ValidationApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/source_code/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ActionResponse' 2 | export * from '../models/AssetFileMetadata' 3 | export * from '../models/ErrorDetail' 4 | export * from '../models/FileExtractRequest' 5 | export * from '../models/ModelError' 6 | export * from '../models/TaskLocator' 7 | -------------------------------------------------------------------------------- /codegen/cms/source_code/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/cms/url_redirects/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/cms/url_redirects/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseRedirectsApi as RedirectsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/cms/url_redirects/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponseWithTotalUrlMappingForwardPaging' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ForwardPaging' 4 | export * from '../models/ModelError' 5 | export * from '../models/NextPage' 6 | export * from '../models/UrlMapping' 7 | export * from '../models/UrlMappingCreateRequestBody' 8 | -------------------------------------------------------------------------------- /codegen/cms/url_redirects/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/communication_preferences/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/communication_preferences/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseDefinitionApi as DefinitionApi, PromiseStatusApi as StatusApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/communication_preferences/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ErrorDetail' 2 | export * from '../models/ModelError' 3 | export * from '../models/PublicSubscriptionStatus' 4 | export * from '../models/PublicSubscriptionStatusesResponse' 5 | export * from '../models/PublicUpdateSubscriptionStatusRequest' 6 | export * from '../models/SubscriptionDefinition' 7 | export * from '../models/SubscriptionDefinitionsResponse' 8 | -------------------------------------------------------------------------------- /codegen/communication_preferences/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/conversations/visitor_identification/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/conversations/visitor_identification/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseGenerateApi as GenerateApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/conversations/visitor_identification/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ErrorDetail' 2 | export * from '../models/IdentificationTokenGenerationRequest' 3 | export * from '../models/IdentificationTokenResponse' 4 | export * from '../models/ModelError' 5 | -------------------------------------------------------------------------------- /codegen/conversations/visitor_identification/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/associations/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/associations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBatchApi as BatchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/associations/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/AssociatedId' 2 | export * from '../models/BatchInputPublicAssociation' 3 | export * from '../models/BatchInputPublicObjectId' 4 | export * from '../models/BatchResponsePublicAssociation' 5 | export * from '../models/BatchResponsePublicAssociationMulti' 6 | export * from '../models/BatchResponsePublicAssociationMultiWithErrors' 7 | export * from '../models/BatchResponsePublicAssociationWithErrors' 8 | export * from '../models/ErrorDetail' 9 | export * from '../models/ModelError' 10 | export * from '../models/NextPage' 11 | export * from '../models/Paging' 12 | export * from '../models/PreviousPage' 13 | export * from '../models/PublicAssociation' 14 | export * from '../models/PublicAssociationMulti' 15 | export * from '../models/PublicObjectId' 16 | export * from '../models/StandardError' 17 | -------------------------------------------------------------------------------- /codegen/crm/associations/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/associations/schema/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/associations/schema/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseTypesApi as TypesApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/associations/schema/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponsePublicAssociationDefinitionNoPaging' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ModelError' 4 | export * from '../models/PublicAssociationDefinition' 5 | -------------------------------------------------------------------------------- /codegen/crm/associations/schema/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/associations/v4/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/associations/v4/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseReportApi as ReportApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/associations/v4/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/associations/v4/schema/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/associations/v4/schema/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseDefinitionConfigurationsApi as DefinitionConfigurationsApi, PromiseDefinitionsApi as DefinitionsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/associations/v4/schema/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/commerce/invoices/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/commerce/invoices/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/commerce/invoices/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/companies/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/companies/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/companies/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/contacts/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/crm/contacts/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/contacts/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/contacts/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/deals/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/deals/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/deals/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/exports/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/exports/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromisePublicExportsApi as PublicExportsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/exports/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ActionResponseWithSingleResultURI' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/Filter' 4 | export * from '../models/ModelError' 5 | export * from '../models/PublicCrmSearchRequest' 6 | export * from '../models/PublicExportListRequest' 7 | export * from '../models/PublicExportRequest' 8 | export * from '../models/PublicExportViewRequest' 9 | export * from '../models/StandardError' 10 | export * from '../models/TaskLocator' 11 | -------------------------------------------------------------------------------- /codegen/crm/exports/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/extensions/calling/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/extensions/calling/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseChannelConnectionSettingsApi as ChannelConnectionSettingsApi, PromiseRecordingSettingsApi as RecordingSettingsApi, PromiseSettingsApi as SettingsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/extensions/calling/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ChannelConnectionSettingsPatchRequest' 2 | export * from '../models/ChannelConnectionSettingsRequest' 3 | export * from '../models/ChannelConnectionSettingsResponse' 4 | export * from '../models/ErrorDetail' 5 | export * from '../models/MarkRecordingAsReadyRequest' 6 | export * from '../models/ModelError' 7 | export * from '../models/RecordingSettingsPatchRequest' 8 | export * from '../models/RecordingSettingsRequest' 9 | export * from '../models/RecordingSettingsResponse' 10 | export * from '../models/SettingsPatchRequest' 11 | export * from '../models/SettingsRequest' 12 | export * from '../models/SettingsResponse' 13 | -------------------------------------------------------------------------------- /codegen/crm/extensions/calling/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/extensions/cards/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/extensions/cards/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseCardsApi as CardsApi, PromiseSampleResponseApi as SampleResponseApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/extensions/cards/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/extensions/videoconferencing/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/extensions/videoconferencing/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseSettingsApi as SettingsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/extensions/videoconferencing/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ErrorDetail' 2 | export * from '../models/ExternalSettings' 3 | export * from '../models/ModelError' 4 | -------------------------------------------------------------------------------- /codegen/crm/extensions/videoconferencing/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/imports/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/imports/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseCoreApi as CoreApi, PromisePublicImportsApi as PublicImportsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/imports/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/ActionResponse' 2 | export * from '../models/CollectionResponsePublicImportErrorForwardPaging' 3 | export * from '../models/CollectionResponsePublicImportResponse' 4 | export * from '../models/ErrorDetail' 5 | export * from '../models/ForwardPaging' 6 | export * from '../models/ImportRowCore' 7 | export * from '../models/ImportTemplate' 8 | export * from '../models/ModelError' 9 | export * from '../models/NextPage' 10 | export * from '../models/Paging' 11 | export * from '../models/PreviousPage' 12 | export * from '../models/PropertyValue' 13 | export * from '../models/PublicImportError' 14 | export * from '../models/PublicImportMetadata' 15 | export * from '../models/PublicImportResponse' 16 | export * from '../models/PublicObjectListRecord' 17 | -------------------------------------------------------------------------------- /codegen/crm/imports/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/line_items/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/line_items/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/line_items/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/lists/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/lists/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseFoldersApi as FoldersApi, PromiseListsApi as ListsApi, PromiseMappingApi as MappingApi, PromiseMembershipsApi as MembershipsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/lists/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/calls/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/calls/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/calls/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/communications/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/communications/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/communications/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/deal_splits/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/deal_splits/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBatchApi as BatchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/deal_splits/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/BatchInputPublicObjectId' 2 | export * from '../models/BatchResponseDealToDealSplits' 3 | export * from '../models/BatchResponseDealToDealSplitsWithErrors' 4 | export * from '../models/DealToDealSplits' 5 | export * from '../models/ErrorDetail' 6 | export * from '../models/ModelError' 7 | export * from '../models/PublicDealSplitInput' 8 | export * from '../models/PublicDealSplitsBatchCreateRequest' 9 | export * from '../models/PublicDealSplitsCreateRequest' 10 | export * from '../models/PublicObjectId' 11 | export * from '../models/SimplePublicObject' 12 | export * from '../models/StandardError' 13 | export * from '../models/ValueWithTimestamp' 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/deal_splits/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/emails/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/emails/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/emails/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/feedback_submissions/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/feedback_submissions/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/feedback_submissions/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/goals/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/goals/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/goals/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/leads/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/leads/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/leads/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/meetings/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/meetings/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/meetings/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/notes/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/notes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/notes/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/postal_mail/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/postal_mail/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/postal_mail/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/tasks/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/tasks/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/tasks/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/objects/taxes/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/objects/taxes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/objects/taxes/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/owners/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/owners/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseOwnersApi as OwnersApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/owners/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponsePublicOwnerForwardPaging' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ForwardPaging' 4 | export * from '../models/ModelError' 5 | export * from '../models/NextPage' 6 | export * from '../models/PublicOwner' 7 | export * from '../models/PublicTeam' 8 | -------------------------------------------------------------------------------- /codegen/crm/owners/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/pipelines/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/pipelines/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromisePipelineAuditsApi as PipelineAuditsApi, PromisePipelineStageAuditsApi as PipelineStageAuditsApi, PromisePipelineStagesApi as PipelineStagesApi, PromisePipelinesApi as PipelinesApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/pipelines/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponsePipelineNoPaging' 2 | export * from '../models/CollectionResponsePipelineStageNoPaging' 3 | export * from '../models/CollectionResponsePublicAuditInfoNoPaging' 4 | export * from '../models/ErrorDetail' 5 | export * from '../models/ModelError' 6 | export * from '../models/Pipeline' 7 | export * from '../models/PipelineInput' 8 | export * from '../models/PipelinePatchInput' 9 | export * from '../models/PipelineStage' 10 | export * from '../models/PipelineStageInput' 11 | export * from '../models/PipelineStagePatchInput' 12 | export * from '../models/PublicAuditInfo' 13 | -------------------------------------------------------------------------------- /codegen/crm/pipelines/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/products/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/products/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/products/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/properties/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/properties/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBatchApi as BatchApi, PromiseCoreApi as CoreApi, PromiseGroupsApi as GroupsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/properties/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/quotes/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/quotes/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/quotes/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/schemas/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/schemas/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseCoreApi as CoreApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/schemas/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/AssociationDefinition' 2 | export * from '../models/AssociationDefinitionEgg' 3 | export * from '../models/CollectionResponseObjectSchemaNoPaging' 4 | export * from '../models/ErrorDetail' 5 | export * from '../models/ModelError' 6 | export * from '../models/ObjectSchema' 7 | export * from '../models/ObjectSchemaEgg' 8 | export * from '../models/ObjectTypeDefinition' 9 | export * from '../models/ObjectTypeDefinitionLabels' 10 | export * from '../models/ObjectTypeDefinitionPatch' 11 | export * from '../models/ObjectTypePropertyCreate' 12 | export * from '../models/Option' 13 | export * from '../models/OptionInput' 14 | export * from '../models/Property' 15 | export * from '../models/PropertyModificationMetadata' 16 | -------------------------------------------------------------------------------- /codegen/crm/schemas/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/tickets/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/tickets/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi, PromiseSearchApi as SearchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/tickets/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/crm/timeline/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/crm/timeline/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseEventsApi as EventsApi, PromiseTemplatesApi as TemplatesApi, PromiseTokensApi as TokensApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/crm/timeline/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/events/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/events/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/events/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseEventsApi as EventsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/events/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponseExternalUnifiedEvent' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ExternalUnifiedEvent' 4 | export * from '../models/ModelError' 5 | export * from '../models/NextPage' 6 | export * from '../models/Paging' 7 | export * from '../models/PreviousPage' 8 | export * from '../models/VisibleExternalEventTypeNames' 9 | -------------------------------------------------------------------------------- /codegen/events/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/events/send/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/events/send/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBasicApi as BasicApi, PromiseBatchApi as BatchApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/events/send/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/BatchedBehavioralEventHttpCompletionRequest' 2 | export * from '../models/BehavioralEventHttpCompletionRequest' 3 | export * from '../models/ErrorDetail' 4 | export * from '../models/ModelError' 5 | -------------------------------------------------------------------------------- /codegen/events/send/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/files/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/files/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/files/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseFilesApi as FilesApi, PromiseFoldersApi as FoldersApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/files/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/marketing/emails/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/marketing/emails/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseMarketingEmailsApi as MarketingEmailsApi, PromiseStatisticsApi as StatisticsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/marketing/emails/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/marketing/events/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/marketing/events/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/marketing/forms/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/marketing/forms/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseFormsApi as FormsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/marketing/forms/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/marketing/transactional/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/marketing/transactional/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromisePublicSMTPTokensApi as PublicSMTPTokensApi, PromiseSingleSendApi as SingleSendApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/marketing/transactional/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponseSmtpApiTokenViewForwardPaging' 2 | export * from '../models/EmailSendStatusView' 3 | export * from '../models/ErrorDetail' 4 | export * from '../models/EventIdView' 5 | export * from '../models/ForwardPaging' 6 | export * from '../models/ModelError' 7 | export * from '../models/NextPage' 8 | export * from '../models/PublicSingleSendEmail' 9 | export * from '../models/PublicSingleSendRequestEgg' 10 | export * from '../models/SmtpApiTokenRequestEgg' 11 | export * from '../models/SmtpApiTokenView' 12 | -------------------------------------------------------------------------------- /codegen/marketing/transactional/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/oauth/apis/baseapi.ts: -------------------------------------------------------------------------------- 1 | import { Configuration } from '../configuration' 2 | 3 | /** 4 | * 5 | * @export 6 | */ 7 | export const COLLECTION_FORMATS = { 8 | csv: ",", 9 | ssv: " ", 10 | tsv: "\t", 11 | pipes: "|", 12 | }; 13 | 14 | 15 | /** 16 | * 17 | * @export 18 | * @class BaseAPI 19 | */ 20 | export class BaseAPIRequestFactory { 21 | 22 | constructor(protected configuration: Configuration) { 23 | } 24 | }; 25 | 26 | /** 27 | * 28 | * @export 29 | * @class RequiredError 30 | * @extends {Error} 31 | */ 32 | export class RequiredError extends Error { 33 | override name: "RequiredError" = "RequiredError"; 34 | constructor(public api: string, public method: string, public field: string) { 35 | super("Required parameter " + field + " was null or undefined when calling " + api + "." + method + "."); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /codegen/oauth/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/oauth/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseAccessTokensApi as AccessTokensApi, PromiseRefreshTokensApi as RefreshTokensApi, PromiseTokensApi as TokensApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/oauth/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/AccessTokenInfoResponse' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ModelError' 4 | export * from '../models/RefreshTokenInfoResponse' 5 | export * from '../models/TokenResponseIF' 6 | -------------------------------------------------------------------------------- /codegen/oauth/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/settings/business_units/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/settings/business_units/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseBusinessUnitApi as BusinessUnitApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/settings/business_units/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponsePublicBusinessUnitNoPaging' 2 | export * from '../models/ErrorDetail' 3 | export * from '../models/ModelError' 4 | export * from '../models/PublicBusinessUnit' 5 | export * from '../models/PublicBusinessUnitLogoMetadata' 6 | -------------------------------------------------------------------------------- /codegen/settings/business_units/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/settings/users/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/settings/users/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseRolesApi as RolesApi, PromiseTeamsApi as TeamsApi, PromiseUsersApi as UsersApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/settings/users/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/CollectionResponsePublicPermissionSetNoPaging' 2 | export * from '../models/CollectionResponsePublicTeamNoPaging' 3 | export * from '../models/CollectionResponsePublicUserForwardPaging' 4 | export * from '../models/ErrorDetail' 5 | export * from '../models/ForwardPaging' 6 | export * from '../models/ModelError' 7 | export * from '../models/NextPage' 8 | export * from '../models/PublicPermissionSet' 9 | export * from '../models/PublicTeam' 10 | export * from '../models/PublicUser' 11 | export * from '../models/PublicUserUpdate' 12 | export * from '../models/UserProvisionRequest' 13 | -------------------------------------------------------------------------------- /codegen/settings/users/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /codegen/webhooks/apis/exception.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Represents an error caused by an api call i.e. it has attributes for a HTTP status code 3 | * and the returned body object. 4 | * 5 | * Example 6 | * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] 7 | * => ApiException(404, someErrorMessageObject) 8 | * 9 | */ 10 | export class ApiException extends Error { 11 | public constructor(public code: number, message: string, public body: T, public headers: { [key: string]: string; }) { 12 | super("HTTP-Code: " + code + "\nMessage: " + message + "\nBody: " + JSON.stringify(body) + "\nHeaders: " + 13 | JSON.stringify(headers)) 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /codegen/webhooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./http/http"; 2 | export * from "./auth/auth"; 3 | export * from "./models/all"; 4 | export { createConfiguration } from "./configuration" 5 | export type { Configuration, ConfigurationOptions, PromiseConfigurationOptions } from "./configuration" 6 | export * from "./apis/exception"; 7 | export * from "./servers"; 8 | export { RequiredError } from "./apis/baseapi"; 9 | 10 | export type { PromiseMiddleware as Middleware, Middleware as ObservableMiddleware } from './middleware'; 11 | export { Observable } from './rxjsStub'; 12 | export { PromiseSettingsApi as SettingsApi, PromiseSubscriptionsApi as SubscriptionsApi } from './types/PromiseAPI'; 13 | 14 | -------------------------------------------------------------------------------- /codegen/webhooks/models/all.ts: -------------------------------------------------------------------------------- 1 | export * from '../models/BatchInputSubscriptionBatchUpdateRequest' 2 | export * from '../models/BatchResponseSubscriptionResponse' 3 | export * from '../models/BatchResponseSubscriptionResponseWithErrors' 4 | export * from '../models/ErrorDetail' 5 | export * from '../models/ModelError' 6 | export * from '../models/SettingsChangeRequest' 7 | export * from '../models/SettingsResponse' 8 | export * from '../models/StandardError' 9 | export * from '../models/SubscriptionBatchUpdateRequest' 10 | export * from '../models/SubscriptionCreateRequest' 11 | export * from '../models/SubscriptionListResponse' 12 | export * from '../models/SubscriptionPatchRequest' 13 | export * from '../models/SubscriptionResponse' 14 | export * from '../models/ThrottlingSettings' 15 | -------------------------------------------------------------------------------- /codegen/webhooks/rxjsStub.ts: -------------------------------------------------------------------------------- 1 | export class Observable { 2 | constructor(private promise: Promise) {} 3 | 4 | toPromise() { 5 | return this.promise; 6 | } 7 | 8 | pipe(callback: (value: T) => S | Promise): Observable { 9 | return new Observable(this.promise.then(callback)); 10 | } 11 | } 12 | 13 | export function from(promise: Promise) { 14 | return new Observable(promise); 15 | } 16 | 17 | export function of(value: T) { 18 | return new Observable(Promise.resolve(value)); 19 | } 20 | 21 | export function mergeMap(callback: (value: T) => Observable) { 22 | return (value: T) => callback(value).toPromise(); 23 | } 24 | 25 | export function map(callback: any) { 26 | return callback; 27 | } 28 | -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | export { Client } from './src/client' 2 | export { DEFAULT_LIMITER_OPTIONS, SEARCH_LIMITER_OPTIONS } from './src/configuration/constants' 3 | export { Signature } from './src/utils/signature' 4 | export { AssociationTypes } from './src/enums/AssociationTypes' 5 | -------------------------------------------------------------------------------- /jasmine.json: -------------------------------------------------------------------------------- 1 | { 2 | "spec_dir": "test", 3 | "spec_files": ["**/*[sS]pec.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /src/configuration/IConfiguration.ts: -------------------------------------------------------------------------------- 1 | import * as http from 'http' 2 | import * as https from 'https' 3 | import Bottleneck from 'bottleneck' 4 | 5 | export default interface IConfiguration { 6 | apiKey?: string 7 | accessToken?: string 8 | developerApiKey?: string 9 | basePath?: string 10 | defaultHeaders?: { [key: string]: string } 11 | numberOfApiCallRetries?: number 12 | limiterOptions?: Bottleneck.ConstructorOptions 13 | limiterJobOptions?: Bottleneck.JobOptions 14 | httpAgent?: http.Agent | https.Agent 15 | middleware?: Array<{ 16 | pre(ctx: unknown): unknown 17 | post(ctx: unknown): unknown 18 | }> 19 | } 20 | -------------------------------------------------------------------------------- /src/configuration/constants.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_LIMITER_OPTIONS = { 2 | minTime: 1000 / 9, 3 | maxConcurrent: 6, 4 | id: 'hubspot-client-limiter', 5 | } 6 | 7 | export const SEARCH_LIMITER_OPTIONS = { 8 | minTime: 550, 9 | maxConcurrent: 3, 10 | id: 'search-hubspot-client-limiter', 11 | } 12 | -------------------------------------------------------------------------------- /src/configuration/privateConstants.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_OBJECTS_LIMIT = 100 2 | -------------------------------------------------------------------------------- /src/configuration/version.ts: -------------------------------------------------------------------------------- 1 | export const VERSION = '@VERSION@' 2 | -------------------------------------------------------------------------------- /src/discovery/BaseDiscovery.ts: -------------------------------------------------------------------------------- 1 | import IConfiguration from '../configuration/IConfiguration' 2 | 3 | export default class BaseDiscovery { 4 | public config: IConfiguration 5 | 6 | constructor(config: IConfiguration = {}) { 7 | this.config = config 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/discovery/automation/AutomationDiscovery.ts: -------------------------------------------------------------------------------- 1 | import BaseDiscovery from '../BaseDiscovery' 2 | import type ActionsDiscovery from './actions/ActionsDiscovery' 3 | 4 | export default class AutomationDiscovery extends BaseDiscovery { 5 | protected _actions: ActionsDiscovery | undefined 6 | 7 | /** 8 | * Getter 9 | * @returns ActionsDiscovery 10 | */ 11 | get actions() { 12 | if (!this._actions) { 13 | const requiredClass = require('./actions/ActionsDiscovery') 14 | this._actions = new requiredClass.default(this.config) as ActionsDiscovery 15 | } 16 | 17 | return this._actions 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/discovery/conversations/ConversationsDiscovery.ts: -------------------------------------------------------------------------------- 1 | import BaseDiscovery from '../BaseDiscovery' 2 | import type VisitorIdentificationDiscovery from './visitor_identification/VisitorIdentificationDiscovery' 3 | 4 | export default class ConversationsDiscovery extends BaseDiscovery { 5 | protected _visitorIdentification: VisitorIdentificationDiscovery | undefined 6 | 7 | /** 8 | * Getter 9 | * @returns VisitorIdentificationDiscovery 10 | */ 11 | get visitorIdentification() { 12 | if (!this._visitorIdentification) { 13 | const requiredClass = require('./visitor_identification/VisitorIdentificationDiscovery') 14 | this._visitorIdentification = new requiredClass.default(this.config) as VisitorIdentificationDiscovery 15 | } 16 | 17 | return this._visitorIdentification 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/discovery/crm/commerce/CommerceDiscovery.ts: -------------------------------------------------------------------------------- 1 | import BaseDiscovery from '../../BaseDiscovery' 2 | import type InvoicesDiscovery from './invoices/InvoicesDiscovery' 3 | 4 | export default class CommerceDiscovery extends BaseDiscovery { 5 | protected _invoices: InvoicesDiscovery | undefined 6 | 7 | /** 8 | * Getter 9 | * @returns InvoicesDiscovery 10 | */ 11 | get invoices() { 12 | if (!this._invoices) { 13 | const requiredClass = require('./invoices/InvoicesDiscovery') 14 | this._invoices = new requiredClass.default(this.config) as InvoicesDiscovery 15 | } 16 | 17 | return this._invoices 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/services/IRequestContext.ts: -------------------------------------------------------------------------------- 1 | import * as http from 'http' 2 | import * as https from 'https' 3 | 4 | export interface IRequestContext { 5 | setHeaderParam(key: string, value: string): void 6 | setAgent(agent: http.Agent | https.Agent): void 7 | } 8 | -------------------------------------------------------------------------------- /src/services/decorators/IDecorator.ts: -------------------------------------------------------------------------------- 1 | export default interface IDecorator { 2 | decorate(method: any): (...args: any) => any 3 | } 4 | -------------------------------------------------------------------------------- /src/services/http/Auth.ts: -------------------------------------------------------------------------------- 1 | import IConfiguration from '../../configuration/IConfiguration' 2 | import { AuthTypes } from './AuthTypes' 3 | import { IHttpOptions } from './IHttpOptions' 4 | 5 | export class Auth { 6 | public static chooseAuth(opts: IHttpOptions = {}, config: IConfiguration = {}): string | undefined { 7 | let type 8 | if (opts.authType) { 9 | if (opts.authType !== 'none' && opts.authType in config) { 10 | type = opts.authType 11 | } 12 | } else { 13 | for (const key in AuthTypes) { 14 | if (config[key as keyof typeof AuthTypes]) { 15 | type = key 16 | } 17 | } 18 | } 19 | 20 | return type 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/services/http/AuthTypes.ts: -------------------------------------------------------------------------------- 1 | export enum AuthTypes { 2 | apiKey, 3 | developerApiKey, 4 | accessToken, 5 | } 6 | -------------------------------------------------------------------------------- /src/services/http/HttpClient.ts: -------------------------------------------------------------------------------- 1 | import fetch from 'node-fetch' 2 | import { Request } from './Request' 3 | 4 | export class HttpClient { 5 | public static async send(request: Request) { 6 | return await fetch(request.getUrl(), request.getSendData()) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/services/http/IHttpOptions.ts: -------------------------------------------------------------------------------- 1 | export interface IHttpOptions { 2 | method?: string 3 | headers?: { [key: string]: string } 4 | body?: any 5 | authType?: string 6 | overlapUrl?: string 7 | path?: string 8 | qs?: { [key: string]: any } 9 | defaultJson?: boolean 10 | } 11 | -------------------------------------------------------------------------------- /src/services/http/StatusCodes.ts: -------------------------------------------------------------------------------- 1 | export enum StatusCodes { 2 | TooManyRequests = 429, 3 | MinServerError = 500, 4 | MaxServerError = 599, 5 | } 6 | -------------------------------------------------------------------------------- /src/utils/ISignatureOptions.ts: -------------------------------------------------------------------------------- 1 | export interface ISignatureOptions { 2 | signature: string 3 | clientSecret: string 4 | requestBody: string 5 | signatureVersion?: string 6 | url?: string 7 | method?: string 8 | timestamp?: number 9 | } 10 | -------------------------------------------------------------------------------- /test/spec/automation/automation.spec.ts: -------------------------------------------------------------------------------- 1 | import ActionsDiscovery from '../../../src/discovery/automation/actions/ActionsDiscovery' 2 | import { Client } from '../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().automation 7 | expect(ActionsDiscovery.name).toBe(client.actions.constructor.name) 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /test/spec/cms/auditLogs/auditLogs.spec.ts: -------------------------------------------------------------------------------- 1 | import { AuditLogsApi } from '../../../../codegen/cms/audit_logs/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.auditLogs 7 | expect(Object.prototype.hasOwnProperty.call(client, 'auditLogsApi')).toBeTruthy() 8 | expect(AuditLogsApi.name).toBe(client.auditLogsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/cms/blogs/authors/authors.spec.ts: -------------------------------------------------------------------------------- 1 | import { BlogAuthorsApi } from '../../../../../codegen/cms/blogs/authors/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.blogs.authors 7 | expect(Object.prototype.hasOwnProperty.call(client, 'blogAuthorsApi')).toBeTruthy() 8 | expect(BlogAuthorsApi.name).toBe(client.blogAuthorsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/cms/blogs/blogPosts/blogPosts.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, MultiLanguageApi } from '../../../../../codegen/cms/blogs/blog_posts/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.blogs.blogPosts 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'multiLanguageApi')).toBeTruthy() 12 | expect(MultiLanguageApi.name).toBe(client.multiLanguageApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/cms/blogs/blogs.spec.ts: -------------------------------------------------------------------------------- 1 | import AuthorsDiscovery from '../../../../src/discovery/cms/blogs/authors/AuthorsDiscovery' 2 | import BlogPostsDiscovery from '../../../../src/discovery/cms/blogs/blog_posts/BlogPostsDiscovery' 3 | import { Client } from '../../../../index' 4 | import TagsDiscovery from '../../../../src/discovery/cms/blogs/tags/TagsDiscovery' 5 | 6 | describe('api client', () => { 7 | it('is discoverable', () => { 8 | const client = new Client().cms.blogs 9 | expect(AuthorsDiscovery.name).toBe(client.authors.constructor.name) 10 | expect(BlogPostsDiscovery.name).toBe(client.blogPosts.constructor.name) 11 | expect(TagsDiscovery.name).toBe(client.tags.constructor.name) 12 | }) 13 | }) 14 | -------------------------------------------------------------------------------- /test/spec/cms/blogs/tags/tags.spec.ts: -------------------------------------------------------------------------------- 1 | import { BlogTagsApi } from '../../../../../codegen/cms/blogs/tags/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.blogs.tags 7 | expect(Object.prototype.hasOwnProperty.call(client, 'blogTagsApi')).toBeTruthy() 8 | expect(BlogTagsApi.name).toBe(client.blogTagsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/cms/hubdb/hubdb.spec.ts: -------------------------------------------------------------------------------- 1 | import { RowsApi, RowsBatchApi, TablesApi } from '../../../../codegen/cms/hubdb/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.hubdb 7 | expect(Object.prototype.hasOwnProperty.call(client, 'rowsApi')).toBeTruthy() 8 | expect(RowsApi.name).toBe(client.rowsApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'rowsBatchApi')).toBeTruthy() 10 | expect(RowsBatchApi.name).toBe(client.rowsBatchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'tablesApi')).toBeTruthy() 12 | expect(TablesApi.name).toBe(client.tablesApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/cms/pages/pages.spec.ts: -------------------------------------------------------------------------------- 1 | import { LandingPagesApi, SitePagesApi } from '../../../../codegen/cms/pages/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.pages 7 | expect(Object.prototype.hasOwnProperty.call(client, 'landingPagesApi')).toBeTruthy() 8 | expect(LandingPagesApi.name).toBe(client.landingPagesApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'sitePagesApi')).toBeTruthy() 10 | expect(SitePagesApi.name).toBe(client.sitePagesApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/cms/siteSearch/siteSearch.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { PublicApi } from '../../../../codegen/cms/site_search/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().cms.siteSearch 7 | expect(Object.prototype.hasOwnProperty.call(client, 'publicApi')).toBeTruthy() 8 | expect(PublicApi.name).toBe(client.publicApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/communicationPreferences/communicationPreferences.spec.ts: -------------------------------------------------------------------------------- 1 | import { DefinitionApi, StatusApi } from '../../../codegen/communication_preferences/index' 2 | import { Client } from '../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().communicationPreferences 7 | expect(Object.prototype.hasOwnProperty.call(client, 'definitionApi')).toBeTruthy() 8 | expect(DefinitionApi.name).toBe(client.definitionApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'statusApi')).toBeTruthy() 10 | expect(StatusApi.name).toBe(client.statusApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/conversations/conversations.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../index' 2 | import VisitorIdentificationDiscovery from '../../../src/discovery/conversations/visitor_identification/VisitorIdentificationDiscovery' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().conversations 7 | expect(VisitorIdentificationDiscovery.name).toBe(client.visitorIdentification.constructor.name) 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /test/spec/conversations/visitorIdentification/visitorIdentification.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { GenerateApi } from '../../../../codegen/conversations/visitor_identification/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().conversations.visitorIdentification 7 | expect(Object.prototype.hasOwnProperty.call(client, 'generateApi')).toBeTruthy() 8 | expect(GenerateApi.name).toBe(client.generateApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/associations/associations.spec.ts: -------------------------------------------------------------------------------- 1 | import AssociationsDiscovery from '../../../../src/discovery/crm/associations/v4/AssociationsDiscovery' 2 | import { BatchApi } from '../../../../codegen/crm/associations/index' 3 | import { Client } from '../../../../index' 4 | import SchemaDiscovery from '../../../../src/discovery/crm/associations/schema/SchemaDiscovery' 5 | 6 | describe('api client', () => { 7 | it('is discoverable', () => { 8 | const client = new Client().crm.associations 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(SchemaDiscovery.name).toBe(client.schema.constructor.name) 12 | expect(AssociationsDiscovery.name).toBe(client.v4.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/associations/schema/schema.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../../index' 2 | import { TypesApi } from '../../../../../codegen/crm/associations/schema' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.associations.schema 7 | expect(Object.prototype.hasOwnProperty.call(client, 'typesApi')).toBeTruthy() 8 | expect(TypesApi.name).toBe(client.typesApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/associations/v4/schema/schema.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../../../index' 2 | import { DefinitionsApi } from '../../../../../../codegen/crm/associations/v4/schema/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.associations.v4.schema 7 | expect(Object.prototype.hasOwnProperty.call(client, 'definitionsApi')).toBeTruthy() 8 | expect(DefinitionsApi.name).toBe(client.definitionsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/commerce/commerce.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import InvoicesDiscovery from '../../../../src/discovery/crm/commerce/invoices/InvoicesDiscovery' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.commerce 7 | expect(InvoicesDiscovery.name).toBe(client.invoices.constructor.name) 8 | }) 9 | }) 10 | -------------------------------------------------------------------------------- /test/spec/crm/commerce/invoices/invoices.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/commerce/invoices/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.commerce.invoices 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/companies/companies.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/companies/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.companies 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/contacts/contacts.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/contacts/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.contacts 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/deals/deals.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/deals/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.deals 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/exports/exports.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { PublicExportsApi } from '../../../../codegen/crm/exports/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.exports 7 | expect(Object.prototype.hasOwnProperty.call(client, 'publicExportsApi')).toBeTruthy() 8 | expect(PublicExportsApi.name).toBe(client.publicExportsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/extensions/cards/cards.spec.ts: -------------------------------------------------------------------------------- 1 | import { CardsApi } from '../../../../../codegen/crm/extensions/cards/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.extensions.cards 7 | expect(Object.prototype.hasOwnProperty.call(client, 'cardsApi')).toBeTruthy() 8 | expect(CardsApi.name).toBe(client.cardsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/extensions/extensions.spec.ts: -------------------------------------------------------------------------------- 1 | import CallingDiscovery from '../../../../src/discovery/crm/extensions/calling/CallingDiscovery' 2 | import CardsDiscovery from '../../../../src/discovery/crm/extensions/cards/CardsDiscovery' 3 | import { Client } from '../../../../index' 4 | import VideoconferencingDiscovery from '../../../../src/discovery/crm/extensions/videoconferencing/VideoconferencingDiscovery' 5 | 6 | describe('api client', () => { 7 | it('is discoverable', () => { 8 | const client = new Client().crm.extensions 9 | expect(CallingDiscovery.name).toBe(client.calling.constructor.name) 10 | expect(CardsDiscovery.name).toBe(client.cards.constructor.name) 11 | expect(VideoconferencingDiscovery.name).toBe(client.videoconferencing.constructor.name) 12 | }) 13 | }) 14 | -------------------------------------------------------------------------------- /test/spec/crm/extensions/videoconferencing/videoconferencing.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../../index' 2 | import { SettingsApi } from '../../../../../codegen/crm/extensions/videoconferencing/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.extensions.videoconferencing 7 | expect(Object.prototype.hasOwnProperty.call(client, 'settingsApi')).toBeTruthy() 8 | expect(SettingsApi.name).toBe(client.settingsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/imports/imports.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { CoreApi } from '../../../../codegen/crm/imports/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.imports 7 | expect(Object.prototype.hasOwnProperty.call(client, 'coreApi')).toBeTruthy() 8 | expect(CoreApi.name).toBe(client.coreApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/lineItems/lineItems.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/line_items/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.lineItems 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/calls/calls.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/calls/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.calls 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/communications/communications.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/communications/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.communications 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/deal_splits/deal_splits.spec.ts: -------------------------------------------------------------------------------- 1 | import { BatchApi } from '../../../../../codegen/crm/objects/deal_splits/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.dealSplits 7 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 8 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/objects/emails/emails.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/emails/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.emails 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/feedback_submissions/feedback_submissions.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/feedback_submissions/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.feedbackSubmissions 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/goals/goals.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/goals/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.goals 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/leads/leads.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/leads/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.leads 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/meetings/meetings.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/meetings/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.meetings 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/notes/notes.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/notes/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.notes 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/postal_mail/postal_mail.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/postal_mail/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.postalMail 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/tasks/tasks.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/tasks/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.tasks 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/objects/taxes/taxes.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../../codegen/crm/objects/taxes/index' 2 | import { Client } from '../../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.objects.taxes 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/owners/owners.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { OwnersApi } from '../../../../codegen/crm/owners/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.owners 7 | expect(Object.prototype.hasOwnProperty.call(client, 'ownersApi')).toBeTruthy() 8 | expect(OwnersApi.name).toBe(client.ownersApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/products/products.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/products/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.products 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/properties/properties.spec.ts: -------------------------------------------------------------------------------- 1 | import { BatchApi, CoreApi, GroupsApi } from '../../../../codegen/crm/properties/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.properties 7 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 8 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'coreApi')).toBeTruthy() 10 | expect(CoreApi.name).toBe(client.coreApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'groupsApi')).toBeTruthy() 12 | expect(GroupsApi.name).toBe(client.groupsApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/quotes/quotes.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/quotes/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.quotes 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/schemas/schemas.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { CoreApi } from '../../../../codegen/crm/schemas/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.schemas 7 | expect(Object.prototype.hasOwnProperty.call(client, 'coreApi')).toBeTruthy() 8 | expect(CoreApi.name).toBe(client.coreApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/crm/tickets/tickets.spec.ts: -------------------------------------------------------------------------------- 1 | import { BasicApi, BatchApi, SearchApi } from '../../../../codegen/crm/tickets/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.tickets 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'searchApi')).toBeTruthy() 12 | expect(SearchApi.name).toBe(client.searchApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/crm/timeline/timeline.spec.ts: -------------------------------------------------------------------------------- 1 | import { EventsApi, TemplatesApi, TokensApi } from '../../../../codegen/crm/timeline/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().crm.timeline 7 | expect(Object.prototype.hasOwnProperty.call(client, 'eventsApi')).toBeTruthy() 8 | expect(EventsApi.name).toBe(client.eventsApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'templatesApi')).toBeTruthy() 10 | expect(TemplatesApi.name).toBe(client.templatesApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'tokensApi')).toBeTruthy() 12 | expect(TokensApi.name).toBe(client.tokensApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/events/events.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../index' 2 | import { EventsApi } from '../../../codegen/events/index' 3 | import SendDiscovery from '../../../src/discovery/events/send/SendDiscovery' 4 | 5 | describe('api client', () => { 6 | it('is discoverable', () => { 7 | const client = new Client().events 8 | expect(Object.prototype.hasOwnProperty.call(client, 'eventsApi')).toBeTruthy() 9 | expect(EventsApi.name).toBe(client.eventsApi.constructor.name) 10 | expect(SendDiscovery.name).toBe(client.send.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/events/send/send.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { BasicApi, BatchApi } from '../../../../codegen/events/send/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().events.send 7 | expect(Object.prototype.hasOwnProperty.call(client, 'basicApi')).toBeTruthy() 8 | expect(BasicApi.name).toBe(client.basicApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'batchApi')).toBeTruthy() 10 | expect(BatchApi.name).toBe(client.batchApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/files/files.spec.ts: -------------------------------------------------------------------------------- 1 | import { FilesApi, FoldersApi } from '../../../codegen/files/index' 2 | import { Client } from '../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().files 7 | expect(Object.prototype.hasOwnProperty.call(client, 'filesApi')).toBeTruthy() 8 | expect(FilesApi.name).toBe(client.filesApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'foldersApi')).toBeTruthy() 10 | expect(FoldersApi.name).toBe(client.foldersApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/marketing/emails/emails.spec.ts: -------------------------------------------------------------------------------- 1 | import { MarketingEmailsApi, StatisticsApi } from '../../../../codegen/marketing/emails/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().marketing.emails 7 | expect(Object.prototype.hasOwnProperty.call(client, 'marketingEmailsApi')).toBeTruthy() 8 | expect(MarketingEmailsApi.name).toBe(client.marketingEmailsApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'statisticsApi')).toBeTruthy() 10 | expect(StatisticsApi.name).toBe(client.statisticsApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/marketing/forms/forms.spec.ts: -------------------------------------------------------------------------------- 1 | import { Client } from '../../../../index' 2 | import { FormsApi } from '../../../../codegen/marketing/forms/index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().marketing.forms 7 | expect(Object.prototype.hasOwnProperty.call(client, 'formsApi')).toBeTruthy() 8 | expect(FormsApi.name).toBe(client.formsApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/marketing/transactional/transactional.spec.ts: -------------------------------------------------------------------------------- 1 | import { PublicSMTPTokensApi, SingleSendApi } from '../../../../codegen/marketing/transactional/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().marketing.transactional 7 | expect(Object.prototype.hasOwnProperty.call(client, 'publicSMTPTokensApi')).toBeTruthy() 8 | expect(PublicSMTPTokensApi.name).toBe(client.publicSMTPTokensApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'singleSendApi')).toBeTruthy() 10 | expect(SingleSendApi.name).toBe(client.singleSendApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /test/spec/oauth/oauth.spec.ts: -------------------------------------------------------------------------------- 1 | import { AccessTokensApi, RefreshTokensApi, TokensApi } from '../../../codegen/oauth/index' 2 | import { Client } from '../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().oauth 7 | expect(Object.prototype.hasOwnProperty.call(client, 'accessTokensApi')).toBeTruthy() 8 | expect(AccessTokensApi.name).toBe(client.accessTokensApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'refreshTokensApi')).toBeTruthy() 10 | expect(RefreshTokensApi.name).toBe(client.refreshTokensApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'tokensApi')).toBeTruthy() 12 | expect(TokensApi.name).toBe(client.tokensApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/settings/businessUnits/businessUnits.spec.ts: -------------------------------------------------------------------------------- 1 | import { BusinessUnitApi } from '../../../../codegen/settings/business_units/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().settings.businessUnits 7 | expect(Object.prototype.hasOwnProperty.call(client, 'businessUnitApi')).toBeTruthy() 8 | expect(BusinessUnitApi.name).toBe(client.businessUnitApi.constructor.name) 9 | }) 10 | }) 11 | -------------------------------------------------------------------------------- /test/spec/settings/settings.spec.ts: -------------------------------------------------------------------------------- 1 | import BusinessUnitsDiscovery from '../../../src/discovery/settings/business_units/BusinessUnitsDiscovery' 2 | import { Client } from '../../../index' 3 | import UsersDiscovery from '../../../src/discovery/settings/users/UsersDiscovery' 4 | 5 | describe('api client', () => { 6 | it('is discoverable', () => { 7 | const client = new Client().settings 8 | expect(BusinessUnitsDiscovery.name).toBe(client.businessUnits.constructor.name) 9 | expect(UsersDiscovery.name).toBe(client.users.constructor.name) 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /test/spec/settings/users/users.spec.ts: -------------------------------------------------------------------------------- 1 | import { RolesApi, TeamsApi, UsersApi } from '../../../../codegen/settings/users/index' 2 | import { Client } from '../../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().settings.users 7 | expect(Object.prototype.hasOwnProperty.call(client, 'rolesApi')).toBeTruthy() 8 | expect(RolesApi.name).toBe(client.rolesApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'teamsApi')).toBeTruthy() 10 | expect(TeamsApi.name).toBe(client.teamsApi.constructor.name) 11 | expect(Object.prototype.hasOwnProperty.call(client, 'usersApi')).toBeTruthy() 12 | expect(UsersApi.name).toBe(client.usersApi.constructor.name) 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /test/spec/webhooks/webhooks.spec.ts: -------------------------------------------------------------------------------- 1 | import { SettingsApi, SubscriptionsApi } from '../../../codegen/webhooks/index' 2 | import { Client } from '../../../index' 3 | 4 | describe('api client', () => { 5 | it('is discoverable', () => { 6 | const client = new Client().webhooks 7 | expect(Object.prototype.hasOwnProperty.call(client, 'settingsApi')).toBeTruthy() 8 | expect(SettingsApi.name).toBe(client.settingsApi.constructor.name) 9 | expect(Object.prototype.hasOwnProperty.call(client, 'subscriptionsApi')).toBeTruthy() 10 | expect(SubscriptionsApi.name).toBe(client.subscriptionsApi.constructor.name) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "esModuleInterop": true, 4 | "strict": true, 5 | "target": "es6", 6 | "module": "commonjs", 7 | "moduleResolution": "node", 8 | "declaration": true, 9 | "noUnusedLocals": false, 10 | "noUnusedParameters": false, 11 | "noImplicitReturns": true, 12 | "noFallthroughCasesInSwitch": true, 13 | "removeComments": true, 14 | "sourceMap": true, 15 | "outDir": "./lib", 16 | "noLib": false, 17 | "lib": [ 18 | "es6" 19 | ,"ES2017.Object" 20 | ,"ES2021.String" 21 | ], 22 | }, 23 | "exclude": [ 24 | "lib", 25 | "node_modules" 26 | ] 27 | } 28 | --------------------------------------------------------------------------------