Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe-kinow committed Jan 14, 2022
1 parent 6909f13 commit e78aa85
Show file tree
Hide file tree
Showing 694 changed files with 1,345 additions and 1,082 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ KinowJavascriptSdk - JavaScript client for kinow-javascript-sdk
Reference for Server API (REST/Json)
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.5.1
- Package version: 1.5.1
- Build date: 2022-01-07T08:10:34.850Z
- API version: 2.0.0
- Package version: 2.0.0
- Build date: 2022-01-14T09:56:05.301Z
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

## Installation
Expand Down Expand Up @@ -786,6 +786,7 @@ Class | Method | HTTP request | Description
- [KinowJavascriptSdk.ProductResponse](docs/ProductResponse.md)
- [KinowJavascriptSdk.ProductVideoListResponse](docs/ProductVideoListResponse.md)
- [KinowJavascriptSdk.Products](docs/Products.md)
- [KinowJavascriptSdk.Promotion](docs/Promotion.md)
- [KinowJavascriptSdk.RegistrationField](docs/RegistrationField.md)
- [KinowJavascriptSdk.RegistrationFieldsResponse](docs/RegistrationFieldsResponse.md)
- [KinowJavascriptSdk.RemoveProductFromCartRequest](docs/RemoveProductFromCartRequest.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/CategoriesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ Name | Type | Description | Notes

<a name="uploadCategoryImage"></a>
# **uploadCategoryImage**
> Image uploadCategoryImage(categoryId, imageTypeName, opts)
> ImageResponse uploadCategoryImage(categoryId, imageTypeName, opts)


Expand Down Expand Up @@ -1632,7 +1632,7 @@ Name | Type | Description | Notes

### Return type

[**Image**](Image.md)
[**ImageResponse**](ImageResponse.md)

### Authorization

Expand Down
6 changes: 3 additions & 3 deletions docs/DirectorsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ null (empty response body)

<a name="uploadDirectorCover"></a>
# **uploadDirectorCover**
> Image uploadDirectorCover(directorId, opts)
> ImageResponse uploadDirectorCover(directorId, opts)


Expand Down Expand Up @@ -915,14 +915,14 @@ Name | Type | Description | Notes

### Return type

[**Image**](Image.md)
[**ImageResponse**](ImageResponse.md)

### Authorization

[ApiClientId](../README.md#ApiClientId), [ApiClientSecret](../README.md#ApiClientSecret)

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: multipart/form-data
- **Accept**: Not defined

14 changes: 7 additions & 7 deletions docs/ImagesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ Name | Type | Description | Notes

<a name="uploadCategoryImage"></a>
# **uploadCategoryImage**
> Image uploadCategoryImage(categoryId, imageTypeName, opts)
> ImageResponse uploadCategoryImage(categoryId, imageTypeName, opts)


Expand Down Expand Up @@ -879,7 +879,7 @@ Name | Type | Description | Notes

### Return type

[**Image**](Image.md)
[**ImageResponse**](ImageResponse.md)

### Authorization

Expand All @@ -892,7 +892,7 @@ Name | Type | Description | Notes

<a name="uploadDirectorCover"></a>
# **uploadDirectorCover**
> Image uploadDirectorCover(directorId, opts)
> ImageResponse uploadDirectorCover(directorId, opts)


Expand Down Expand Up @@ -943,15 +943,15 @@ Name | Type | Description | Notes

### Return type

[**Image**](Image.md)
[**ImageResponse**](ImageResponse.md)

### Authorization

[ApiClientId](../README.md#ApiClientId), [ApiClientSecret](../README.md#ApiClientSecret)

### HTTP request headers

- **Content-Type**: Not defined
- **Content-Type**: multipart/form-data
- **Accept**: Not defined

<a name="uploadProductCover"></a>
Expand Down Expand Up @@ -1020,7 +1020,7 @@ Name | Type | Description | Notes

<a name="uploadProductImage"></a>
# **uploadProductImage**
> Image uploadProductImage(productId, imageTypeName, opts)
> ImageResponse uploadProductImage(productId, imageTypeName, opts)


Expand Down Expand Up @@ -1074,7 +1074,7 @@ Name | Type | Description | Notes

### Return type

[**Image**](Image.md)
[**ImageResponse**](ImageResponse.md)

### Authorization

Expand Down
4 changes: 2 additions & 2 deletions docs/ProductsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@ Name | Type | Description | Notes

<a name="uploadProductImage"></a>
# **uploadProductImage**
> Image uploadProductImage(productId, imageTypeName, opts)
> ImageResponse uploadProductImage(productId, imageTypeName, opts)


Expand Down Expand Up @@ -2892,7 +2892,7 @@ Name | Type | Description | Notes

### Return type

[**Image**](Image.md)
[**ImageResponse**](ImageResponse.md)

### Authorization

Expand Down
14 changes: 14 additions & 0 deletions docs/Promotion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# KinowJavascriptSdk.Promotion

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Integer** | | [optional]
**name** | **String** | | [optional]
**idCountry** | **Integer** | | [optional]
**dateFrom** | **String** | Promotion starts when this date is reached | [optional]
**dateTo** | **String** | Promotion ends when this date is reached | [optional]
**dateAdd** | **String** | | [optional]
**dateUpd** | **String** | | [optional]


21 changes: 15 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,15 @@ declare module 'kinow-javascript-sdk' {
payment_method: string
renewed: number
}
interface Promotion {
id: number
name: string
id_country: number
date_from: string
date_to: string
date_add: string
date_upd: string
}
interface Subscription {
id: number
id_product: number
Expand Down Expand Up @@ -2557,7 +2566,7 @@ declare module 'kinow-javascript-sdk' {
getProductCategories(productId: number, callback?: Function): Promise<CategoryListResponse>
getSubscriptionCategories(subscriptionId: number, callback?: Function): Promise<CategoryListResponse>
uploadCategoryCover(categoryId: number, callback?: Function): Promise<ImageResponse>
uploadCategoryImage(categoryId: number, imageTypeName: string, callback?: Function): Promise<Image>
uploadCategoryImage(categoryId: number, imageTypeName: string, callback?: Function): Promise<ImageResponse>
}
export class ProductsApi {
constructor(config?: ApiClient)
Expand Down Expand Up @@ -2606,7 +2615,7 @@ declare module 'kinow-javascript-sdk' {
getPrice(body: any, callback?: Function): any
getNewProducts(callback?: Function): Promise<ProductListResponse>
getMostWatched(opts?: any, callback?: Function): any
uploadProductImage(productId: number, imageTypeName: string, callback?: Function): Promise<Image>
uploadProductImage(productId: number, imageTypeName: string, callback?: Function): Promise<ImageResponse>
}
export class FeaturesApi {
constructor(config?: ApiClient)
Expand Down Expand Up @@ -2657,17 +2666,17 @@ declare module 'kinow-javascript-sdk' {
uploadProductCover(productId: number, callback?: Function): Promise<ImageResponse>
getProductScreenshots(productId: number, callback?: Function): any
getDirectorCoverImage(directorId: number, callback?: Function): Promise<ImageResponse>
uploadDirectorCover(directorId: number, callback?: Function): Promise<Image>
uploadDirectorCover(directorId: number, callback?: Function): Promise<ImageResponse>
getActorCoverImage(actorId: number, callback?: Function): Promise<ImageResponse>
uploadActorCover(actorId: number, callback?: Function): Promise<ImageResponse>
getCategoryImageTypes(): any
getCategoryBanner(categoryId: number, callback?: Function): Promise<ImageResponse>
getSliderImage(): Promise<ImageListResponse>
getVideoCover(videoId: number, callback?: Function): Promise<ImageResponse>
getProductImages(productId: number, opts?: any, callback?: Function): Promise<ImageListResponse>
uploadProductImage(productId: number, imageTypeName: string, callback?: Function): Promise<Image>
uploadProductImage(productId: number, imageTypeName: string, callback?: Function): Promise<ImageResponse>
uploadCategoryCover(categoryId: number, callback?: Function): Promise<ImageResponse>
uploadCategoryImage(categoryId: number, imageTypeName: string, callback?: Function): Promise<Image>
uploadCategoryImage(categoryId: number, imageTypeName: string, callback?: Function): Promise<ImageResponse>
}
export class DirectorsApi {
constructor(config?: ApiClient)
Expand All @@ -2682,7 +2691,7 @@ declare module 'kinow-javascript-sdk' {
getDirectorProducts(directorId: number, callback?: Function): Promise<DirectorProductListResponse>
getDirectorProductsRole(directorId: number, callback?: Function): Promise<DirectorProductRoleListResponse>
getDirectorCoverImage(directorId: number, callback?: Function): Promise<ImageResponse>
uploadDirectorCover(directorId: number, callback?: Function): Promise<Image>
uploadDirectorCover(directorId: number, callback?: Function): Promise<ImageResponse>
getProductDirectors(productId: number, opts?: any, callback?: Function): Promise<DirectorListResponse>
attachDirectorToProduct(productId: number, directorId: number, callback?: Function): any
getProductDirectorsRole(productId: number, callback?: Function): Promise<DirectorRoleListResponse>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kinow-javascript-sdk",
"version": "1.5.1",
"version": "2.0.0",
"description": "Reference_for_Server_API__RESTJson",
"license": "",
"main": "src/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -32,7 +32,7 @@

/**
* @module ApiClient
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/ActorsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* Actors service.
* @module api/ActorsApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/AddressApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* Address service.
* @module api/AddressApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/AttributesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* Attributes service.
* @module api/AttributesApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/BlogCategoriesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* BlogCategories service.
* @module api/BlogCategoriesApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/BlogPagesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* BlogPages service.
* @module api/BlogPagesApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/BookmarksApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* Bookmarks service.
* @module api/BookmarksApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/BundlesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* Bundles service.
* @module api/BundlesApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/api/CMSCategoriesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Server API
* Reference for Server API (REST/Json)
*
* OpenAPI spec version: 1.5.1
* OpenAPI spec version: 2.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
Expand Down Expand Up @@ -33,7 +33,7 @@
/**
* CMSCategories service.
* @module api/CMSCategoriesApi
* @version 1.5.1
* @version 2.0.0
*/

/**
Expand Down
Loading

0 comments on commit e78aa85

Please sign in to comment.