Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Gen Bot committed Oct 20, 2024
1 parent 708673c commit 940063f
Show file tree
Hide file tree
Showing 174 changed files with 5,174 additions and 530 deletions.
152 changes: 140 additions & 12 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,39 +1,167 @@
.github/workflows/npm-publish.yml
.gitignore
.openapi-generator-ignore
AIVisionGeneralAnalysisData.md
AIVisionGeneralAnalysisDataResponsesInner.md
AIVisionModerationAnalysisData.md
AIVisionModerationAnalysisDataResponsesInner.md
AIVisionTaggingAnalysisData.md
AIVisionTaggingAnalysisDataTagsInner.md
API_VERSION
AnalysisApi.md
AnalysisPayload.md
AnalysisType.md
AnalyzeAIVisionGeneralRequest.md
AnalyzeAIVisionGeneralRequestAllOf.md
AnalyzeAIVisionGeneralResponse.md
AnalyzeAIVisionGeneralResponseAllOf.md
AnalyzeAIVisionModerationRequest.md
AnalyzeAIVisionModerationRequestAllOf.md
AnalyzeAIVisionModerationResponse.md
AnalyzeAIVisionModerationResponseAllOf.md
AnalyzeAIVisionTaggingRequest.md
AnalyzeAIVisionTaggingRequestAllOf.md
AnalyzeAIVisionTaggingRequestAllOfTagDefinitions.md
AnalyzeAIVisionTaggingResponse.md
AnalyzeAIVisionTaggingResponseAllOf.md
AnalyzeCaptioningRequest.md
AnalyzeCaptioningResponse.md
AnalyzeCaptioningResponseAllOf.md
AnalyzeCldFashionRequest.md
AnalyzeCldFashionResponse.md
AnalyzeCldFashionResponseAllOf.md
AnalyzeCldTextRequest.md
AnalyzeCldTextResponse.md
AnalyzeCldTextResponseAllOf.md
AnalyzeCocoRequest.md
AnalyzeCocoResponse.md
AnalyzeCocoResponseAllOf.md
AnalyzeCustomRequest.md
AnalyzeCustomRequestAllOf.md
AnalyzeCustomResponse.md
AnalyzeCustomResponseAllOf.md
AnalyzeGoogleTaggingRequest.md
AnalyzeGoogleTaggingResponse.md
AnalyzeGoogleTaggingResponseAllOf.md
AnalyzeHumanAnatomyRequest.md
AnalyzeHumanAnatomyResponse.md
AnalyzeHumanAnatomyResponseAllOf.md
AnalyzeLvisRequest.md
AnalyzeLvisResponse.md
AnalyzeLvisResponseAllOf.md
AnalyzeResponse.md
AnalyzeShopClassifierRequest.md
AnalyzeShopClassifierResponse.md
AnalyzeShopClassifierResponseAllOf.md
AnalyzeUnidetRequest.md
AnalyzeUnidetResponse.md
AnalyzeUnidetResponseAllOf.md
AnalyzeUriRequest.md
AnalyzeUriRequestParameters.md
CustomParameters.md
BaseAnalyzeRequest.md
BaseAnalyzeResponse.md
CaptioningAnalysisData.md
CaptioningAnalysisDataData.md
CldFashionAnalysisData.md
CldTextAnalysisData.md
CocoAnalysisData.md
CustomAnalysisData.md
ErrorResponse.md
ErrorResponseError.md
Feature.md
GoogleTaggingAnalysisData.md
GoogleTaggingAnalysisDataLabelAnnotations.md
GoogleTaggingAnalysisDataLabelAnnotationsLabelsInner.md
HumanAnatomyAnalysisData.md
LICENSE.md
Limits.md
LimitsUsage.md
LvisAnalysisData.md
README.md
README.md
ShopClassifierAnalysisData.md
Source.md
TEMPLATE_VERSION
TagDefinition.md
UnidetAnalysisData.md
VERSION
VQAGeneralParameters.md
VQAModerationParameters.md
VQATaggingParameters.md
api.ts
api/analysisApi.ts
api/apis.ts
git_push.sh
model/aIVisionGeneralAnalysisData.ts
model/aIVisionGeneralAnalysisDataResponsesInner.ts
model/aIVisionModerationAnalysisData.ts
model/aIVisionModerationAnalysisDataResponsesInner.ts
model/aIVisionTaggingAnalysisData.ts
model/aIVisionTaggingAnalysisDataTagsInner.ts
model/analysisPayload.ts
model/analysisType.ts
model/analyzeAIVisionGeneralRequest.ts
model/analyzeAIVisionGeneralRequestAllOf.ts
model/analyzeAIVisionGeneralResponse.ts
model/analyzeAIVisionGeneralResponseAllOf.ts
model/analyzeAIVisionModerationRequest.ts
model/analyzeAIVisionModerationRequestAllOf.ts
model/analyzeAIVisionModerationResponse.ts
model/analyzeAIVisionModerationResponseAllOf.ts
model/analyzeAIVisionTaggingRequest.ts
model/analyzeAIVisionTaggingRequestAllOf.ts
model/analyzeAIVisionTaggingRequestAllOfTagDefinitions.ts
model/analyzeAIVisionTaggingResponse.ts
model/analyzeAIVisionTaggingResponseAllOf.ts
model/analyzeCaptioningRequest.ts
model/analyzeCaptioningResponse.ts
model/analyzeCaptioningResponseAllOf.ts
model/analyzeCldFashionRequest.ts
model/analyzeCldFashionResponse.ts
model/analyzeCldFashionResponseAllOf.ts
model/analyzeCldTextRequest.ts
model/analyzeCldTextResponse.ts
model/analyzeCldTextResponseAllOf.ts
model/analyzeCocoRequest.ts
model/analyzeCocoResponse.ts
model/analyzeCocoResponseAllOf.ts
model/analyzeCustomRequest.ts
model/analyzeCustomRequestAllOf.ts
model/analyzeCustomResponse.ts
model/analyzeCustomResponseAllOf.ts
model/analyzeGoogleTaggingRequest.ts
model/analyzeGoogleTaggingResponse.ts
model/analyzeGoogleTaggingResponseAllOf.ts
model/analyzeHumanAnatomyRequest.ts
model/analyzeHumanAnatomyResponse.ts
model/analyzeHumanAnatomyResponseAllOf.ts
model/analyzeLvisRequest.ts
model/analyzeLvisResponse.ts
model/analyzeLvisResponseAllOf.ts
model/analyzeResponse.ts
model/analyzeShopClassifierRequest.ts
model/analyzeShopClassifierResponse.ts
model/analyzeShopClassifierResponseAllOf.ts
model/analyzeUnidetRequest.ts
model/analyzeUnidetResponse.ts
model/analyzeUnidetResponseAllOf.ts
model/analyzeUriRequest.ts
model/analyzeUriRequestParameters.ts
model/customParameters.ts
model/baseAnalyzeRequest.ts
model/baseAnalyzeResponse.ts
model/captioningAnalysisData.ts
model/captioningAnalysisDataData.ts
model/cldFashionAnalysisData.ts
model/cldTextAnalysisData.ts
model/cocoAnalysisData.ts
model/customAnalysisData.ts
model/errorResponse.ts
model/errorResponseError.ts
model/feature.ts
model/googleTaggingAnalysisData.ts
model/googleTaggingAnalysisDataLabelAnnotations.ts
model/googleTaggingAnalysisDataLabelAnnotationsLabelsInner.ts
model/humanAnatomyAnalysisData.ts
model/limits.ts
model/limitsUsage.ts
model/lvisAnalysisData.ts
model/models.ts
model/tagDefinition.ts
model/vQAGeneralParameters.ts
model/vQAModerationParameters.ts
model/vQATaggingParameters.ts
model/shopClassifierAnalysisData.ts
model/source.ts
model/unidetAnalysisData.ts
package.json
tsconfig.json
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.3
0.1.0
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [0.1.0](https://github.com/cloudinary/analysis-js/compare/0.0.1...0.1.0) (20-10-2024)


### ⚠ BREAKING CHANGES

* Endpoint per analysis type
* Fix Typescript Node string enums
* Add support for multiple API level schemas


### Features

* Endpoint per analysis type
* Add support for multiple API level schemas


### Bug Fixes

* Fix docs templates
* Fix Typescript Node string enums

## [0.0.1](https://github.com/cloudinary/analysis-js/compare/0.0.0...0.0.1) (16-06-2024)


Expand Down
96 changes: 87 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Use the Analyze API to analyze any external asset and return details based on the type of analysis requested.

Currently supports the following analysis options:
* [AI Vision - Tagging](https://cloudinary.com/documentation/cloudinary_ai_vision_addon#tagging_mode)
* [AI Vision - Moderation](https://cloudinary.com/documentation/cloudinary_ai_vision_addon#moderation_mode)
* [AI Vision - General](https://cloudinary.com/documentation/cloudinary_ai_vision_addon#general_mode)
* [Google tagging](https://cloudinary.com/documentation/google_auto_tagging_addon)
* [Captioning](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#ai_based_image_captioning)
* [Cld Fashion](https://cloudinary.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models)
Expand All @@ -22,27 +25,102 @@ Currently supports the following analysis options:

### API Endpoints

All URIs are relative to *https://api.cloudinary.com/v2*
All URIs are relative to *https://api.cloudinary.com/v2/analysis/CLOUD_NAME/analyze*

| Class | Method | HTTP request | Description |
| ------------ | ------------- | ------------- | ------------- |
*AnalysisApi* | [**analyzeUri**](docs/Api/AnalysisApi.md#analyzeUri) | **POST** /{cloud_name}/analysis/analyze/uri | Analyze an asset
*AnalysisApi* | [**analyzeAiVisionGeneral**](docs/Api/AnalysisApi.md#analyzeAiVisionGeneral) | **POST** /ai_vision_general | Analyze - AI Vision General
*AnalysisApi* | [**analyzeAiVisionModeration**](docs/Api/AnalysisApi.md#analyzeAiVisionModeration) | **POST** /ai_vision_moderation | Analyze - AI Vision Moderation
*AnalysisApi* | [**analyzeAiVisionTagging**](docs/Api/AnalysisApi.md#analyzeAiVisionTagging) | **POST** /ai_vision_tagging | Analyze - AI Vision Tagging
*AnalysisApi* | [**analyzeCaptioning**](docs/Api/AnalysisApi.md#analyzeCaptioning) | **POST** /captioning | Analyze - Captioning
*AnalysisApi* | [**analyzeCldFashion**](docs/Api/AnalysisApi.md#analyzeCldFashion) | **POST** /cld_fashion | Analyze - Cld-Fashion
*AnalysisApi* | [**analyzeCldText**](docs/Api/AnalysisApi.md#analyzeCldText) | **POST** /cld_text | Analyze - Cld-Text
*AnalysisApi* | [**analyzeCoco**](docs/Api/AnalysisApi.md#analyzeCoco) | **POST** /coco | Analyze - Coco
*AnalysisApi* | [**analyzeCustom**](docs/Api/AnalysisApi.md#analyzeCustom) | **POST** /custom | Analyze - custom model
*AnalysisApi* | [**analyzeGoogleTagging**](docs/Api/AnalysisApi.md#analyzeGoogleTagging) | **POST** /google_tagging | Analyze - Google Tagging
*AnalysisApi* | [**analyzeHumanAnatomy**](docs/Api/AnalysisApi.md#analyzeHumanAnatomy) | **POST** /human_anatomy | Analyze - Human Anatomy
*AnalysisApi* | [**analyzeLvis**](docs/Api/AnalysisApi.md#analyzeLvis) | **POST** /lvis | Analyze - Lvis
*AnalysisApi* | [**analyzeShopClassifier**](docs/Api/AnalysisApi.md#analyzeShopClassifier) | **POST** /shop_classifier | Analyze - Shop Classifier
*AnalysisApi* | [**analyzeUnidet**](docs/Api/AnalysisApi.md#analyzeUnidet) | **POST** /unidet | Analyze - Unidet


### Models

- [AIVisionGeneralAnalysisData](docs/Model/AIVisionGeneralAnalysisData.md)
- [AIVisionGeneralAnalysisDataResponsesInner](docs/Model/AIVisionGeneralAnalysisDataResponsesInner.md)
- [AIVisionModerationAnalysisData](docs/Model/AIVisionModerationAnalysisData.md)
- [AIVisionModerationAnalysisDataResponsesInner](docs/Model/AIVisionModerationAnalysisDataResponsesInner.md)
- [AIVisionTaggingAnalysisData](docs/Model/AIVisionTaggingAnalysisData.md)
- [AIVisionTaggingAnalysisDataTagsInner](docs/Model/AIVisionTaggingAnalysisDataTagsInner.md)
- [AnalysisPayload](docs/Model/AnalysisPayload.md)
- [AnalysisType](docs/Model/AnalysisType.md)
- [AnalyzeAIVisionGeneralRequest](docs/Model/AnalyzeAIVisionGeneralRequest.md)
- [AnalyzeAIVisionGeneralRequestAllOf](docs/Model/AnalyzeAIVisionGeneralRequestAllOf.md)
- [AnalyzeAIVisionGeneralResponse](docs/Model/AnalyzeAIVisionGeneralResponse.md)
- [AnalyzeAIVisionGeneralResponseAllOf](docs/Model/AnalyzeAIVisionGeneralResponseAllOf.md)
- [AnalyzeAIVisionModerationRequest](docs/Model/AnalyzeAIVisionModerationRequest.md)
- [AnalyzeAIVisionModerationRequestAllOf](docs/Model/AnalyzeAIVisionModerationRequestAllOf.md)
- [AnalyzeAIVisionModerationResponse](docs/Model/AnalyzeAIVisionModerationResponse.md)
- [AnalyzeAIVisionModerationResponseAllOf](docs/Model/AnalyzeAIVisionModerationResponseAllOf.md)
- [AnalyzeAIVisionTaggingRequest](docs/Model/AnalyzeAIVisionTaggingRequest.md)
- [AnalyzeAIVisionTaggingRequestAllOf](docs/Model/AnalyzeAIVisionTaggingRequestAllOf.md)
- [AnalyzeAIVisionTaggingRequestAllOfTagDefinitions](docs/Model/AnalyzeAIVisionTaggingRequestAllOfTagDefinitions.md)
- [AnalyzeAIVisionTaggingResponse](docs/Model/AnalyzeAIVisionTaggingResponse.md)
- [AnalyzeAIVisionTaggingResponseAllOf](docs/Model/AnalyzeAIVisionTaggingResponseAllOf.md)
- [AnalyzeCaptioningRequest](docs/Model/AnalyzeCaptioningRequest.md)
- [AnalyzeCaptioningResponse](docs/Model/AnalyzeCaptioningResponse.md)
- [AnalyzeCaptioningResponseAllOf](docs/Model/AnalyzeCaptioningResponseAllOf.md)
- [AnalyzeCldFashionRequest](docs/Model/AnalyzeCldFashionRequest.md)
- [AnalyzeCldFashionResponse](docs/Model/AnalyzeCldFashionResponse.md)
- [AnalyzeCldFashionResponseAllOf](docs/Model/AnalyzeCldFashionResponseAllOf.md)
- [AnalyzeCldTextRequest](docs/Model/AnalyzeCldTextRequest.md)
- [AnalyzeCldTextResponse](docs/Model/AnalyzeCldTextResponse.md)
- [AnalyzeCldTextResponseAllOf](docs/Model/AnalyzeCldTextResponseAllOf.md)
- [AnalyzeCocoRequest](docs/Model/AnalyzeCocoRequest.md)
- [AnalyzeCocoResponse](docs/Model/AnalyzeCocoResponse.md)
- [AnalyzeCocoResponseAllOf](docs/Model/AnalyzeCocoResponseAllOf.md)
- [AnalyzeCustomRequest](docs/Model/AnalyzeCustomRequest.md)
- [AnalyzeCustomRequestAllOf](docs/Model/AnalyzeCustomRequestAllOf.md)
- [AnalyzeCustomResponse](docs/Model/AnalyzeCustomResponse.md)
- [AnalyzeCustomResponseAllOf](docs/Model/AnalyzeCustomResponseAllOf.md)
- [AnalyzeGoogleTaggingRequest](docs/Model/AnalyzeGoogleTaggingRequest.md)
- [AnalyzeGoogleTaggingResponse](docs/Model/AnalyzeGoogleTaggingResponse.md)
- [AnalyzeGoogleTaggingResponseAllOf](docs/Model/AnalyzeGoogleTaggingResponseAllOf.md)
- [AnalyzeHumanAnatomyRequest](docs/Model/AnalyzeHumanAnatomyRequest.md)
- [AnalyzeHumanAnatomyResponse](docs/Model/AnalyzeHumanAnatomyResponse.md)
- [AnalyzeHumanAnatomyResponseAllOf](docs/Model/AnalyzeHumanAnatomyResponseAllOf.md)
- [AnalyzeLvisRequest](docs/Model/AnalyzeLvisRequest.md)
- [AnalyzeLvisResponse](docs/Model/AnalyzeLvisResponse.md)
- [AnalyzeLvisResponseAllOf](docs/Model/AnalyzeLvisResponseAllOf.md)
- [AnalyzeResponse](docs/Model/AnalyzeResponse.md)
- [AnalyzeShopClassifierRequest](docs/Model/AnalyzeShopClassifierRequest.md)
- [AnalyzeShopClassifierResponse](docs/Model/AnalyzeShopClassifierResponse.md)
- [AnalyzeShopClassifierResponseAllOf](docs/Model/AnalyzeShopClassifierResponseAllOf.md)
- [AnalyzeUnidetRequest](docs/Model/AnalyzeUnidetRequest.md)
- [AnalyzeUnidetResponse](docs/Model/AnalyzeUnidetResponse.md)
- [AnalyzeUnidetResponseAllOf](docs/Model/AnalyzeUnidetResponseAllOf.md)
- [AnalyzeUriRequest](docs/Model/AnalyzeUriRequest.md)
- [AnalyzeUriRequestParameters](docs/Model/AnalyzeUriRequestParameters.md)
- [CustomParameters](docs/Model/CustomParameters.md)
- [BaseAnalyzeRequest](docs/Model/BaseAnalyzeRequest.md)
- [BaseAnalyzeResponse](docs/Model/BaseAnalyzeResponse.md)
- [CaptioningAnalysisData](docs/Model/CaptioningAnalysisData.md)
- [CaptioningAnalysisDataData](docs/Model/CaptioningAnalysisDataData.md)
- [CldFashionAnalysisData](docs/Model/CldFashionAnalysisData.md)
- [CldTextAnalysisData](docs/Model/CldTextAnalysisData.md)
- [CocoAnalysisData](docs/Model/CocoAnalysisData.md)
- [CustomAnalysisData](docs/Model/CustomAnalysisData.md)
- [ErrorResponse](docs/Model/ErrorResponse.md)
- [ErrorResponseError](docs/Model/ErrorResponseError.md)
- [TagDefinition](docs/Model/TagDefinition.md)
- [VQAGeneralParameters](docs/Model/VQAGeneralParameters.md)
- [VQAModerationParameters](docs/Model/VQAModerationParameters.md)
- [VQATaggingParameters](docs/Model/VQATaggingParameters.md)

- [Feature](docs/Model/Feature.md)
- [GoogleTaggingAnalysisData](docs/Model/GoogleTaggingAnalysisData.md)
- [GoogleTaggingAnalysisDataLabelAnnotations](docs/Model/GoogleTaggingAnalysisDataLabelAnnotations.md)
- [GoogleTaggingAnalysisDataLabelAnnotationsLabelsInner](docs/Model/GoogleTaggingAnalysisDataLabelAnnotationsLabelsInner.md)
- [HumanAnatomyAnalysisData](docs/Model/HumanAnatomyAnalysisData.md)
- [Limits](docs/Model/Limits.md)
- [LimitsUsage](docs/Model/LimitsUsage.md)
- [LvisAnalysisData](docs/Model/LvisAnalysisData.md)
- [ShopClassifierAnalysisData](docs/Model/ShopClassifierAnalysisData.md)
- [Source](docs/Model/Source.md)
- [UnidetAnalysisData](docs/Model/UnidetAnalysisData.md)


## Installation
Expand Down
2 changes: 1 addition & 1 deletion TEMPLATE_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.5
0.2.0
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.1.0
2 changes: 1 addition & 1 deletion api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// This is the entrypoint for the package
export * from './api/apis';
export * from './model/models';
export * from './model/models';
Loading

0 comments on commit 940063f

Please sign in to comment.