@teemill/gtins 0.2.1

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 (57) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +46 -0
  5. package/dist/apis/GTINsApi.d.ts +77 -0
  6. package/dist/apis/GTINsApi.js +213 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +19 -0
  9. package/dist/esm/apis/GTINsApi.d.ts +77 -0
  10. package/dist/esm/apis/GTINsApi.js +209 -0
  11. package/dist/esm/apis/index.d.ts +1 -0
  12. package/dist/esm/apis/index.js +3 -0
  13. package/dist/esm/index.d.ts +3 -0
  14. package/dist/esm/index.js +5 -0
  15. package/dist/esm/models/ApiError.d.ts +37 -0
  16. package/dist/esm/models/ApiError.js +42 -0
  17. package/dist/esm/models/AssignGtinRequest.d.ts +31 -0
  18. package/dist/esm/models/AssignGtinRequest.js +40 -0
  19. package/dist/esm/models/GTIN.d.ts +37 -0
  20. package/dist/esm/models/GTIN.js +44 -0
  21. package/dist/esm/models/GTINsResponse.d.ts +38 -0
  22. package/dist/esm/models/GTINsResponse.js +41 -0
  23. package/dist/esm/models/ImportGtins202Response.d.ts +31 -0
  24. package/dist/esm/models/ImportGtins202Response.js +38 -0
  25. package/dist/esm/models/index.d.ts +5 -0
  26. package/dist/esm/models/index.js +7 -0
  27. package/dist/esm/runtime.d.ts +187 -0
  28. package/dist/esm/runtime.js +333 -0
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.js +21 -0
  31. package/dist/models/ApiError.d.ts +37 -0
  32. package/dist/models/ApiError.js +49 -0
  33. package/dist/models/AssignGtinRequest.d.ts +31 -0
  34. package/dist/models/AssignGtinRequest.js +47 -0
  35. package/dist/models/GTIN.d.ts +37 -0
  36. package/dist/models/GTIN.js +51 -0
  37. package/dist/models/GTINsResponse.d.ts +38 -0
  38. package/dist/models/GTINsResponse.js +48 -0
  39. package/dist/models/ImportGtins202Response.d.ts +31 -0
  40. package/dist/models/ImportGtins202Response.js +45 -0
  41. package/dist/models/index.d.ts +5 -0
  42. package/dist/models/index.js +23 -0
  43. package/dist/runtime.d.ts +187 -0
  44. package/dist/runtime.js +349 -0
  45. package/package.json +21 -0
  46. package/src/apis/GTINsApi.ts +311 -0
  47. package/src/apis/index.ts +3 -0
  48. package/src/index.ts +5 -0
  49. package/src/models/ApiError.ts +69 -0
  50. package/src/models/AssignGtinRequest.ts +61 -0
  51. package/src/models/GTIN.ts +70 -0
  52. package/src/models/GTINsResponse.ts +75 -0
  53. package/src/models/ImportGtins202Response.ts +60 -0
  54. package/src/models/index.ts +7 -0
  55. package/src/runtime.ts +441 -0
  56. package/tsconfig.esm.json +7 -0
  57. package/tsconfig.json +20 -0
@@ -0,0 +1,16 @@
1
+ .gitignore
2
+ .npmignore
3
+ README.md
4
+ package.json
5
+ src/apis/GTINsApi.ts
6
+ src/apis/index.ts
7
+ src/index.ts
8
+ src/models/ApiError.ts
9
+ src/models/AssignGtinRequest.ts
10
+ src/models/GTIN.ts
11
+ src/models/GTINsResponse.ts
12
+ src/models/ImportGtins202Response.ts
13
+ src/models/index.ts
14
+ src/runtime.ts
15
+ tsconfig.esm.json
16
+ tsconfig.json
@@ -0,0 +1 @@
1
+ 7.5.0
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ ## @teemill/gtins@0.2.1
2
+
3
+ This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
+
5
+ Environment
6
+ * Node.js
7
+ * Webpack
8
+ * Browserify
9
+
10
+ Language level
11
+ * ES5 - you must have a Promises/A+ library installed
12
+ * ES6
13
+
14
+ Module system
15
+ * CommonJS
16
+ * ES6 module system
17
+
18
+ It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
19
+
20
+ ### Building
21
+
22
+ To build and compile the typescript sources to javascript use:
23
+ ```
24
+ npm install
25
+ npm run build
26
+ ```
27
+
28
+ ### Publishing
29
+
30
+ First build the package then run `npm publish`
31
+
32
+ ### Consuming
33
+
34
+ navigate to the folder of your consuming project and run one of the following commands.
35
+
36
+ _published:_
37
+
38
+ ```
39
+ npm install @teemill/gtins@0.2.1 --save
40
+ ```
41
+
42
+ _unPublished (not recommended):_
43
+
44
+ ```
45
+ npm install PATH_TO_GENERATED_PACKAGE --save
46
+ ```
@@ -0,0 +1,77 @@
1
+ /**
2
+ * GTINs API
3
+ * Manage GTINs
4
+ *
5
+ * The version of the OpenAPI document: 0.2.1
6
+ * Contact: hello@teemill.com
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 * as runtime from '../runtime';
13
+ import type { AssignGtinRequest, GTIN, GTINsResponse, ImportGtins202Response } from '../models/index';
14
+ export interface AssignGtinOperationRequest {
15
+ project: string;
16
+ gtin: string;
17
+ assignGtinRequest?: AssignGtinRequest;
18
+ }
19
+ export interface ImportGtinsRequest {
20
+ project: string;
21
+ body?: string;
22
+ }
23
+ export interface ListGtinsRequest {
24
+ project: string;
25
+ pageSize?: number;
26
+ pageToken?: number;
27
+ search?: string;
28
+ }
29
+ export interface UnassignGtinRequest {
30
+ project: string;
31
+ gtin: string;
32
+ }
33
+ /**
34
+ *
35
+ */
36
+ export declare class GTINsApi extends runtime.BaseAPI {
37
+ /**
38
+ * Assign a GTIN to a variant
39
+ * Assign GTIN
40
+ */
41
+ assignGtinRaw(requestParameters: AssignGtinOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GTIN>>;
42
+ /**
43
+ * Assign a GTIN to a variant
44
+ * Assign GTIN
45
+ */
46
+ assignGtin(project: string, gtin: string, optionalParameters?: runtime.OptionalOnly<AssignGtinOperationRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GTIN>;
47
+ /**
48
+ * Initiates a GTINs import from a CSV file. The result will be available as a notification in the dashboard.
49
+ * Import GTINs
50
+ */
51
+ importGtinsRaw(requestParameters: ImportGtinsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImportGtins202Response>>;
52
+ /**
53
+ * Initiates a GTINs import from a CSV file. The result will be available as a notification in the dashboard.
54
+ * Import GTINs
55
+ */
56
+ importGtins(project: string, optionalParameters?: runtime.OptionalOnly<ImportGtinsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImportGtins202Response>;
57
+ /**
58
+ * List GTINs
59
+ * List gtins
60
+ */
61
+ listGtinsRaw(requestParameters: ListGtinsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GTINsResponse>>;
62
+ /**
63
+ * List GTINs
64
+ * List gtins
65
+ */
66
+ listGtins(project: string, optionalParameters?: runtime.OptionalOnly<ListGtinsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GTINsResponse>;
67
+ /**
68
+ * Unassign a GTIN from a variant
69
+ * Unassign GTIN
70
+ */
71
+ unassignGtinRaw(requestParameters: UnassignGtinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
72
+ /**
73
+ * Unassign a GTIN from a variant
74
+ * Unassign GTIN
75
+ */
76
+ unassignGtin(project: string, gtin: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
77
+ }
@@ -0,0 +1,213 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * GTINs API
6
+ * Manage GTINs
7
+ *
8
+ * The version of the OpenAPI document: 0.2.1
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.GTINsApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const index_1 = require("../models/index");
28
+ /**
29
+ *
30
+ */
31
+ class GTINsApi extends runtime.BaseAPI {
32
+ /**
33
+ * Assign a GTIN to a variant
34
+ * Assign GTIN
35
+ */
36
+ assignGtinRaw(requestParameters, initOverrides) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ if (requestParameters.project === null || requestParameters.project === undefined) {
39
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling assignGtin.');
40
+ }
41
+ if (requestParameters.gtin === null || requestParameters.gtin === undefined) {
42
+ throw new runtime.RequiredError('gtin', 'Required parameter requestParameters.gtin was null or undefined when calling assignGtin.');
43
+ }
44
+ const queryParameters = {};
45
+ if (requestParameters.project !== undefined) {
46
+ queryParameters['project'] = requestParameters.project;
47
+ }
48
+ const headerParameters = {};
49
+ headerParameters['Content-Type'] = 'application/json';
50
+ if (this.configuration && this.configuration.accessToken) {
51
+ // oauth required
52
+ headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
53
+ }
54
+ if (this.configuration && this.configuration.apiKey) {
55
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
56
+ }
57
+ const response = yield this.request({
58
+ path: `/v1/gtins/{gtin}/assign`.replace(`{${"gtin"}}`, encodeURIComponent(String(requestParameters.gtin))),
59
+ method: 'POST',
60
+ headers: headerParameters,
61
+ query: queryParameters,
62
+ body: (0, index_1.AssignGtinRequestToJSON)(requestParameters.assignGtinRequest),
63
+ }, initOverrides);
64
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GTINFromJSON)(jsonValue));
65
+ });
66
+ }
67
+ /**
68
+ * Assign a GTIN to a variant
69
+ * Assign GTIN
70
+ */
71
+ assignGtin(project, gtin, optionalParameters = {}, initOverrides) {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ const response = yield this.assignGtinRaw(Object.assign({ project: project, gtin: gtin }, optionalParameters), initOverrides);
74
+ return yield response.value();
75
+ });
76
+ }
77
+ /**
78
+ * Initiates a GTINs import from a CSV file. The result will be available as a notification in the dashboard.
79
+ * Import GTINs
80
+ */
81
+ importGtinsRaw(requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function* () {
83
+ if (requestParameters.project === null || requestParameters.project === undefined) {
84
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling importGtins.');
85
+ }
86
+ const queryParameters = {};
87
+ if (requestParameters.project !== undefined) {
88
+ queryParameters['project'] = requestParameters.project;
89
+ }
90
+ const headerParameters = {};
91
+ headerParameters['Content-Type'] = 'text/csv';
92
+ if (this.configuration && this.configuration.accessToken) {
93
+ // oauth required
94
+ headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
95
+ }
96
+ if (this.configuration && this.configuration.apiKey) {
97
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
98
+ }
99
+ const response = yield this.request({
100
+ path: `/v1/gtins/import`,
101
+ method: 'POST',
102
+ headers: headerParameters,
103
+ query: queryParameters,
104
+ body: requestParameters.body,
105
+ }, initOverrides);
106
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ImportGtins202ResponseFromJSON)(jsonValue));
107
+ });
108
+ }
109
+ /**
110
+ * Initiates a GTINs import from a CSV file. The result will be available as a notification in the dashboard.
111
+ * Import GTINs
112
+ */
113
+ importGtins(project, optionalParameters = {}, initOverrides) {
114
+ return __awaiter(this, void 0, void 0, function* () {
115
+ const response = yield this.importGtinsRaw(Object.assign({ project: project }, optionalParameters), initOverrides);
116
+ return yield response.value();
117
+ });
118
+ }
119
+ /**
120
+ * List GTINs
121
+ * List gtins
122
+ */
123
+ listGtinsRaw(requestParameters, initOverrides) {
124
+ return __awaiter(this, void 0, void 0, function* () {
125
+ if (requestParameters.project === null || requestParameters.project === undefined) {
126
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling listGtins.');
127
+ }
128
+ const queryParameters = {};
129
+ if (requestParameters.project !== undefined) {
130
+ queryParameters['project'] = requestParameters.project;
131
+ }
132
+ if (requestParameters.pageSize !== undefined) {
133
+ queryParameters['pageSize'] = requestParameters.pageSize;
134
+ }
135
+ if (requestParameters.pageToken !== undefined) {
136
+ queryParameters['pageToken'] = requestParameters.pageToken;
137
+ }
138
+ if (requestParameters.search !== undefined) {
139
+ queryParameters['search'] = requestParameters.search;
140
+ }
141
+ const headerParameters = {};
142
+ if (this.configuration && this.configuration.accessToken) {
143
+ // oauth required
144
+ headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
145
+ }
146
+ if (this.configuration && this.configuration.apiKey) {
147
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
148
+ }
149
+ const response = yield this.request({
150
+ path: `/v1/gtins`,
151
+ method: 'GET',
152
+ headers: headerParameters,
153
+ query: queryParameters,
154
+ }, initOverrides);
155
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GTINsResponseFromJSON)(jsonValue));
156
+ });
157
+ }
158
+ /**
159
+ * List GTINs
160
+ * List gtins
161
+ */
162
+ listGtins(project, optionalParameters = {}, initOverrides) {
163
+ return __awaiter(this, void 0, void 0, function* () {
164
+ const response = yield this.listGtinsRaw(Object.assign({ project: project }, optionalParameters), initOverrides);
165
+ return yield response.value();
166
+ });
167
+ }
168
+ /**
169
+ * Unassign a GTIN from a variant
170
+ * Unassign GTIN
171
+ */
172
+ unassignGtinRaw(requestParameters, initOverrides) {
173
+ return __awaiter(this, void 0, void 0, function* () {
174
+ if (requestParameters.project === null || requestParameters.project === undefined) {
175
+ throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling unassignGtin.');
176
+ }
177
+ if (requestParameters.gtin === null || requestParameters.gtin === undefined) {
178
+ throw new runtime.RequiredError('gtin', 'Required parameter requestParameters.gtin was null or undefined when calling unassignGtin.');
179
+ }
180
+ const queryParameters = {};
181
+ if (requestParameters.project !== undefined) {
182
+ queryParameters['project'] = requestParameters.project;
183
+ }
184
+ const headerParameters = {};
185
+ if (this.configuration && this.configuration.accessToken) {
186
+ // oauth required
187
+ headerParameters["Authorization"] = yield this.configuration.accessToken("session-oauth", []);
188
+ }
189
+ if (this.configuration && this.configuration.apiKey) {
190
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
191
+ }
192
+ const response = yield this.request({
193
+ path: `/v1/gtins/{gtin}/unassign`.replace(`{${"gtin"}}`, encodeURIComponent(String(requestParameters.gtin))),
194
+ method: 'POST',
195
+ headers: headerParameters,
196
+ query: queryParameters,
197
+ }, initOverrides);
198
+ return new runtime.VoidApiResponse(response);
199
+ });
200
+ }
201
+ /**
202
+ * Unassign a GTIN from a variant
203
+ * Unassign GTIN
204
+ */
205
+ unassignGtin(project, gtin, initOverrides) {
206
+ return __awaiter(this, void 0, void 0, function* () {
207
+ yield this.unassignGtinRaw({
208
+ project: project, gtin: gtin,
209
+ }, initOverrides);
210
+ });
211
+ }
212
+ }
213
+ exports.GTINsApi = GTINsApi;
@@ -0,0 +1 @@
1
+ export * from './GTINsApi';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./GTINsApi"), exports);
@@ -0,0 +1,77 @@
1
+ /**
2
+ * GTINs API
3
+ * Manage GTINs
4
+ *
5
+ * The version of the OpenAPI document: 0.2.1
6
+ * Contact: hello@teemill.com
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 * as runtime from '../runtime';
13
+ import type { AssignGtinRequest, GTIN, GTINsResponse, ImportGtins202Response } from '../models/index';
14
+ export interface AssignGtinOperationRequest {
15
+ project: string;
16
+ gtin: string;
17
+ assignGtinRequest?: AssignGtinRequest;
18
+ }
19
+ export interface ImportGtinsRequest {
20
+ project: string;
21
+ body?: string;
22
+ }
23
+ export interface ListGtinsRequest {
24
+ project: string;
25
+ pageSize?: number;
26
+ pageToken?: number;
27
+ search?: string;
28
+ }
29
+ export interface UnassignGtinRequest {
30
+ project: string;
31
+ gtin: string;
32
+ }
33
+ /**
34
+ *
35
+ */
36
+ export declare class GTINsApi extends runtime.BaseAPI {
37
+ /**
38
+ * Assign a GTIN to a variant
39
+ * Assign GTIN
40
+ */
41
+ assignGtinRaw(requestParameters: AssignGtinOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GTIN>>;
42
+ /**
43
+ * Assign a GTIN to a variant
44
+ * Assign GTIN
45
+ */
46
+ assignGtin(project: string, gtin: string, optionalParameters?: runtime.OptionalOnly<AssignGtinOperationRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GTIN>;
47
+ /**
48
+ * Initiates a GTINs import from a CSV file. The result will be available as a notification in the dashboard.
49
+ * Import GTINs
50
+ */
51
+ importGtinsRaw(requestParameters: ImportGtinsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImportGtins202Response>>;
52
+ /**
53
+ * Initiates a GTINs import from a CSV file. The result will be available as a notification in the dashboard.
54
+ * Import GTINs
55
+ */
56
+ importGtins(project: string, optionalParameters?: runtime.OptionalOnly<ImportGtinsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImportGtins202Response>;
57
+ /**
58
+ * List GTINs
59
+ * List gtins
60
+ */
61
+ listGtinsRaw(requestParameters: ListGtinsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GTINsResponse>>;
62
+ /**
63
+ * List GTINs
64
+ * List gtins
65
+ */
66
+ listGtins(project: string, optionalParameters?: runtime.OptionalOnly<ListGtinsRequest>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GTINsResponse>;
67
+ /**
68
+ * Unassign a GTIN from a variant
69
+ * Unassign GTIN
70
+ */
71
+ unassignGtinRaw(requestParameters: UnassignGtinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
72
+ /**
73
+ * Unassign a GTIN from a variant
74
+ * Unassign GTIN
75
+ */
76
+ unassignGtin(project: string, gtin: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
77
+ }