@teemill/website 0.3.0 → 0.4.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.
- package/README.md +2 -2
- package/api.ts +678 -15
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +665 -12
- package/dist/api.js +37 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +665 -12
- package/dist/esm/api.js +36 -10
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,10 +26,36 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
+
export const ApplicationTechnologyEnum = {
|
|
30
|
+
Dtg: 'dtg',
|
|
31
|
+
Embroidery: 'embroidery',
|
|
32
|
+
Dtf: 'dtf',
|
|
33
|
+
Pretreat: 'pretreat',
|
|
34
|
+
MugSublimation: 'mug_sublimation',
|
|
35
|
+
ManualPrint: 'manual_print',
|
|
36
|
+
AdditionalApplication: 'additional_application',
|
|
37
|
+
NotebookSublimation: 'notebook_sublimation',
|
|
38
|
+
DuplexPrint: 'duplex_print'
|
|
39
|
+
};
|
|
40
|
+
export const ApplicationPlacementEnum = {
|
|
41
|
+
Front: 'front',
|
|
42
|
+
Back: 'back',
|
|
43
|
+
Left: 'left',
|
|
44
|
+
Right: 'right',
|
|
45
|
+
Neck: 'neck'
|
|
46
|
+
};
|
|
47
|
+
export const AttributeThumbnailTypeEnum = {
|
|
48
|
+
Text: 'text',
|
|
49
|
+
Color: 'color',
|
|
50
|
+
Image: 'image'
|
|
51
|
+
};
|
|
29
52
|
export const PaymentAccountMethodEnum = {
|
|
30
53
|
Stripe: 'stripe',
|
|
31
54
|
Paypal: 'paypal'
|
|
32
55
|
};
|
|
56
|
+
export const PriceCurrencyCodeEnum = {
|
|
57
|
+
Gbp: 'GBP'
|
|
58
|
+
};
|
|
33
59
|
/**
|
|
34
60
|
* CrossSellApi - axios parameter creator
|
|
35
61
|
* @export
|
|
@@ -41,11 +67,11 @@ export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
41
67
|
* @summary Attach cross-sell products
|
|
42
68
|
* @param {string} project What project it is
|
|
43
69
|
* @param {string} productId Product\'s unique identifier
|
|
44
|
-
* @param {
|
|
70
|
+
* @param {AttachCrossSellProductsRequest} [attachCrossSellProductsRequest]
|
|
45
71
|
* @param {*} [options] Override http request option.
|
|
46
72
|
* @throws {RequiredError}
|
|
47
73
|
*/
|
|
48
|
-
attachCrossSellProducts: (project_1, productId_1,
|
|
74
|
+
attachCrossSellProducts: (project_1, productId_1, attachCrossSellProductsRequest_1, ...args_1) => __awaiter(this, [project_1, productId_1, attachCrossSellProductsRequest_1, ...args_1], void 0, function* (project, productId, attachCrossSellProductsRequest, options = {}) {
|
|
49
75
|
// verify required parameter 'project' is not null or undefined
|
|
50
76
|
assertParamExists('attachCrossSellProducts', 'project', project);
|
|
51
77
|
// verify required parameter 'productId' is not null or undefined
|
|
@@ -58,7 +84,7 @@ export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
58
84
|
if (configuration) {
|
|
59
85
|
baseOptions = configuration.baseOptions;
|
|
60
86
|
}
|
|
61
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
87
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
62
88
|
const localVarHeaderParameter = {};
|
|
63
89
|
const localVarQueryParameter = {};
|
|
64
90
|
// authentication session-oauth required
|
|
@@ -73,7 +99,7 @@ export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
73
99
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
101
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
76
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
102
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachCrossSellProductsRequest, localVarRequestOptions, configuration);
|
|
77
103
|
return {
|
|
78
104
|
url: toPathString(localVarUrlObj),
|
|
79
105
|
options: localVarRequestOptions,
|
|
@@ -133,14 +159,14 @@ export const CrossSellApiFp = function (configuration) {
|
|
|
133
159
|
* @summary Attach cross-sell products
|
|
134
160
|
* @param {string} project What project it is
|
|
135
161
|
* @param {string} productId Product\'s unique identifier
|
|
136
|
-
* @param {
|
|
162
|
+
* @param {AttachCrossSellProductsRequest} [attachCrossSellProductsRequest]
|
|
137
163
|
* @param {*} [options] Override http request option.
|
|
138
164
|
* @throws {RequiredError}
|
|
139
165
|
*/
|
|
140
|
-
attachCrossSellProducts(project, productId,
|
|
166
|
+
attachCrossSellProducts(project, productId, attachCrossSellProductsRequest, options) {
|
|
141
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
142
168
|
var _a, _b, _c;
|
|
143
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachCrossSellProducts(project, productId,
|
|
169
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachCrossSellProducts(project, productId, attachCrossSellProductsRequest, options);
|
|
144
170
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
145
171
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CrossSellApi.attachCrossSellProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
146
172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -180,7 +206,7 @@ export const CrossSellApiFactory = function (configuration, basePath, axios) {
|
|
|
180
206
|
* @throws {RequiredError}
|
|
181
207
|
*/
|
|
182
208
|
attachCrossSellProducts(requestParameters, options) {
|
|
183
|
-
return localVarFp.attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.
|
|
209
|
+
return localVarFp.attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.attachCrossSellProductsRequest, options).then((request) => request(axios, basePath));
|
|
184
210
|
},
|
|
185
211
|
/**
|
|
186
212
|
*
|
|
@@ -210,7 +236,7 @@ export class CrossSellApi extends BaseAPI {
|
|
|
210
236
|
* @memberof CrossSellApi
|
|
211
237
|
*/
|
|
212
238
|
attachCrossSellProducts(requestParameters, options) {
|
|
213
|
-
return CrossSellApiFp(this.configuration).attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.
|
|
239
|
+
return CrossSellApiFp(this.configuration).attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.attachCrossSellProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
214
240
|
}
|
|
215
241
|
/**
|
|
216
242
|
*
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Website API
|
|
6
6
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|