ozon-api 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import { Category } from "../../types/Category";
1
2
  declare class CategoryClass {
2
3
  private readonly apiKeyInfo;
3
4
  constructor(apiId: string, apiKey: string);
@@ -1,5 +1,6 @@
1
+ import { Product } from "../../types/Product";
1
2
  declare class ProductClass {
2
- private apiKeyInfo;
3
+ private readonly apiKeyInfo;
3
4
  constructor(apiId: string, apiKey: string);
4
5
  importBySku(query: Product.ImportBySkuQuery): Promise<Product.ImportBySkuResult>;
5
6
  checkImportInfo(taskId: number): Promise<Product.CheckImportInfoResult>;
@@ -1,2 +1,3 @@
1
+ import { Category } from "../../types/Category";
1
2
  export declare function attribute(body: Category.AttributeQuery, options?: Global.RequestOptions): Promise<Category.AttributeApi>;
2
3
  export declare function attributeValue(body: Category.AttributeValueQuery, options?: Global.RequestOptions): Promise<Category.AttributeValueApi>;
@@ -1,3 +1,4 @@
1
+ import { Product } from "../../types/Product";
1
2
  export declare function importBySku(body: Product.ImportBySkuQuery, options?: Global.RequestOptions): Promise<Product.ImportBySkuResult>;
2
3
  export declare function checkImportInfo(body: {
3
4
  task_id: number;
@@ -1,4 +1,4 @@
1
- declare namespace Category {
1
+ export declare namespace Category {
2
2
  interface AttributeQuery {
3
3
  description_category_id: number;
4
4
  type_id: number;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- declare namespace Product {
1
+ export declare namespace Product {
2
2
  interface ImportBySkuQuery {
3
3
  items: ImportBySkuQueryItems[];
4
4
  }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ozon-api",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "OZON API",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",