@sp-api-sdk/catalog-items-api-v0 4.0.17 → 5.1.0

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.
Files changed (44) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +283 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +258 -0
  5. package/dist/index.d.ts +258 -0
  6. package/dist/index.js +254 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +26 -12
  9. package/dist/cjs/api-model/api/catalog-items-api.js +0 -128
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/categories.js +0 -15
  16. package/dist/cjs/api-model/models/index.js +0 -19
  17. package/dist/cjs/api-model/models/list-catalog-categories-response.js +0 -15
  18. package/dist/cjs/api-model/models/model-error.js +0 -15
  19. package/dist/cjs/client.js +0 -21
  20. package/dist/cjs/index.js +0 -18
  21. package/dist/es/api-model/api/catalog-items-api.js +0 -118
  22. package/dist/es/api-model/api.js +0 -14
  23. package/dist/es/api-model/base.js +0 -44
  24. package/dist/es/api-model/common.js +0 -110
  25. package/dist/es/api-model/configuration.js +0 -94
  26. package/dist/es/api-model/index.js +0 -16
  27. package/dist/es/api-model/models/categories.js +0 -14
  28. package/dist/es/api-model/models/index.js +0 -3
  29. package/dist/es/api-model/models/list-catalog-categories-response.js +0 -14
  30. package/dist/es/api-model/models/model-error.js +0 -14
  31. package/dist/es/client.js +0 -17
  32. package/dist/es/index.js +0 -2
  33. package/dist/types/api-model/api/catalog-items-api.d.ts +0 -85
  34. package/dist/types/api-model/api.d.ts +0 -12
  35. package/dist/types/api-model/base.d.ts +0 -42
  36. package/dist/types/api-model/common.d.ts +0 -34
  37. package/dist/types/api-model/configuration.d.ts +0 -98
  38. package/dist/types/api-model/index.d.ts +0 -14
  39. package/dist/types/api-model/models/categories.d.ts +0 -25
  40. package/dist/types/api-model/models/index.d.ts +0 -3
  41. package/dist/types/api-model/models/list-catalog-categories-response.d.ts +0 -19
  42. package/dist/types/api-model/models/model-error.d.ts +0 -28
  43. package/dist/types/client.d.ts +0 -6
  44. package/dist/types/index.d.ts +0 -3
@@ -1,98 +0,0 @@
1
- /**
2
- * Selling Partner API for Catalog Items
3
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- interface AWSv4Configuration {
13
- options?: {
14
- region?: string;
15
- service?: string;
16
- };
17
- credentials?: {
18
- accessKeyId?: string;
19
- secretAccessKey?: string;
20
- sessionToken?: string;
21
- };
22
- }
23
- export interface ConfigurationParameters {
24
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
- awsv4?: AWSv4Configuration;
29
- basePath?: string;
30
- serverIndex?: number;
31
- baseOptions?: any;
32
- formDataCtor?: new () => any;
33
- }
34
- export declare class Configuration {
35
- /**
36
- * parameter for apiKey security
37
- * @param name security name
38
- */
39
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
- /**
41
- * parameter for basic security
42
- */
43
- username?: string;
44
- /**
45
- * parameter for basic security
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- */
53
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
- /**
55
- * parameter for aws4 signature security
56
- * @param {Object} AWS4Signature - AWS4 Signature security
57
- * @param {string} options.region - aws region
58
- * @param {string} options.service - name of the service.
59
- * @param {string} credentials.accessKeyId - aws access key id
60
- * @param {string} credentials.secretAccessKey - aws access key
61
- * @param {string} credentials.sessionToken - aws session token
62
- * @memberof Configuration
63
- */
64
- awsv4?: AWSv4Configuration;
65
- /**
66
- * override base path
67
- */
68
- basePath?: string;
69
- /**
70
- * override server index
71
- */
72
- serverIndex?: number;
73
- /**
74
- * base options for axios calls
75
- */
76
- baseOptions?: any;
77
- /**
78
- * The FormData constructor that will be used to create multipart form data
79
- * requests. You can inject this here so that execution environments that
80
- * do not support the FormData class can still run the generated client.
81
- *
82
- * @type {new () => FormData}
83
- */
84
- formDataCtor?: new () => any;
85
- constructor(param?: ConfigurationParameters);
86
- /**
87
- * Check if the given MIME is a JSON MIME.
88
- * JSON MIME examples:
89
- * application/json
90
- * application/json; charset=UTF8
91
- * APPLICATION/JSON
92
- * application/vnd.company+json
93
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
- * @return True if the given MIME is JSON, false otherwise.
95
- */
96
- isJsonMime(mime: string): boolean;
97
- }
98
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Selling Partner API for Catalog Items
3
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from "./api";
13
- export * from "./configuration";
14
- export * from "./models";
@@ -1,25 +0,0 @@
1
- /**
2
- * Selling Partner API for Catalog Items
3
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export interface Categories {
13
- /**
14
- * The identifier for the product category (or browse node).
15
- */
16
- 'ProductCategoryId'?: string;
17
- /**
18
- * The name of the product category (or browse node).
19
- */
20
- 'ProductCategoryName'?: string;
21
- /**
22
- * The parent product category.
23
- */
24
- 'parent'?: object;
25
- }
@@ -1,3 +0,0 @@
1
- export * from './categories';
2
- export * from './list-catalog-categories-response';
3
- export * from './model-error';
@@ -1,19 +0,0 @@
1
- /**
2
- * Selling Partner API for Catalog Items
3
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Categories } from './categories';
13
- export interface ListCatalogCategoriesResponse {
14
- 'payload'?: Array<Categories>;
15
- /**
16
- * A list of error responses returned when a request is unsuccessful.
17
- */
18
- 'errors'?: Array<Error>;
19
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for Catalog Items
3
- * The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Error response returned when the request is unsuccessful.
14
- */
15
- export interface ModelError {
16
- /**
17
- * An error code that identifies the type of error that occurred.
18
- */
19
- 'code': string;
20
- /**
21
- * A message that describes the error condition in a human-readable form.
22
- */
23
- 'message': string;
24
- /**
25
- * Additional information that can help the caller understand or fix the issue.
26
- */
27
- 'details'?: string;
28
- }
@@ -1,6 +0,0 @@
1
- import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { CatalogItemsApi } from './api-model';
3
- export declare const clientRateLimits: RateLimit[];
4
- export declare class CatalogItemsApiClient extends CatalogItemsApi {
5
- constructor(configuration: ClientConfiguration);
6
- }
@@ -1,3 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
3
- export type * from './api-model/models';