@teemill/website 0.1.6 → 0.2.6

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/dist/api.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.1.6
5
+ * The version of the OpenAPI document: 0.2.6
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,6 +45,56 @@ export interface AuthorizeStripe200Response {
45
45
  */
46
46
  'redirect_url': string;
47
47
  }
48
+ /**
49
+ *
50
+ * @export
51
+ * @interface Menu
52
+ */
53
+ export interface Menu {
54
+ /**
55
+ *
56
+ * @type {Array<MenuItem>}
57
+ * @memberof Menu
58
+ */
59
+ 'items': Array<MenuItem>;
60
+ }
61
+ /**
62
+ *
63
+ * @export
64
+ * @interface MenuItem
65
+ */
66
+ export interface MenuItem {
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof MenuItem
71
+ */
72
+ 'id': string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof MenuItem
77
+ */
78
+ 'text': string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof MenuItem
83
+ */
84
+ 'link': string;
85
+ /**
86
+ *
87
+ * @type {number}
88
+ * @memberof MenuItem
89
+ */
90
+ 'order': number;
91
+ /**
92
+ *
93
+ * @type {Array<SubmenuInner>}
94
+ * @memberof MenuItem
95
+ */
96
+ 'submenu': Array<SubmenuInner>;
97
+ }
48
98
  /**
49
99
  *
50
100
  * @export
@@ -77,6 +127,318 @@ export declare const PaymentAccountMethodEnum: {
77
127
  readonly Paypal: "paypal";
78
128
  };
79
129
  export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typeof PaymentAccountMethodEnum];
130
+ /**
131
+ *
132
+ * @export
133
+ * @interface SubmenuInner
134
+ */
135
+ export interface SubmenuInner {
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof SubmenuInner
140
+ */
141
+ 'id': string;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof SubmenuInner
146
+ */
147
+ 'title': string;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof SubmenuInner
152
+ */
153
+ 'image': string | null;
154
+ /**
155
+ *
156
+ * @type {number}
157
+ * @memberof SubmenuInner
158
+ */
159
+ 'order': number;
160
+ /**
161
+ *
162
+ * @type {Array<SubmenuItem>}
163
+ * @memberof SubmenuInner
164
+ */
165
+ 'items': Array<SubmenuItem>;
166
+ }
167
+ /**
168
+ *
169
+ * @export
170
+ * @interface SubmenuItem
171
+ */
172
+ export interface SubmenuItem {
173
+ /**
174
+ *
175
+ * @type {string}
176
+ * @memberof SubmenuItem
177
+ */
178
+ 'id': string;
179
+ /**
180
+ *
181
+ * @type {string}
182
+ * @memberof SubmenuItem
183
+ */
184
+ 'text': string;
185
+ /**
186
+ *
187
+ * @type {string}
188
+ * @memberof SubmenuItem
189
+ */
190
+ 'link': string;
191
+ /**
192
+ *
193
+ * @type {number}
194
+ * @memberof SubmenuItem
195
+ */
196
+ 'order': number;
197
+ }
198
+ /**
199
+ *
200
+ * @export
201
+ * @interface UpdateMenuRequest
202
+ */
203
+ export interface UpdateMenuRequest {
204
+ /**
205
+ *
206
+ * @type {Array<UpdateMenuRequestItem>}
207
+ * @memberof UpdateMenuRequest
208
+ */
209
+ 'items'?: Array<UpdateMenuRequestItem>;
210
+ }
211
+ /**
212
+ *
213
+ * @export
214
+ * @interface UpdateMenuRequestItem
215
+ */
216
+ export interface UpdateMenuRequestItem {
217
+ /**
218
+ *
219
+ * @type {string}
220
+ * @memberof UpdateMenuRequestItem
221
+ */
222
+ 'id': string | null;
223
+ /**
224
+ *
225
+ * @type {string}
226
+ * @memberof UpdateMenuRequestItem
227
+ */
228
+ 'text': string;
229
+ /**
230
+ *
231
+ * @type {string}
232
+ * @memberof UpdateMenuRequestItem
233
+ */
234
+ 'link': string;
235
+ /**
236
+ *
237
+ * @type {number}
238
+ * @memberof UpdateMenuRequestItem
239
+ */
240
+ 'order': number;
241
+ /**
242
+ *
243
+ * @type {Array<UpdateMenuRequestItemSubmenuInner>}
244
+ * @memberof UpdateMenuRequestItem
245
+ */
246
+ 'submenu': Array<UpdateMenuRequestItemSubmenuInner>;
247
+ }
248
+ /**
249
+ *
250
+ * @export
251
+ * @interface UpdateMenuRequestItemSubmenuInner
252
+ */
253
+ export interface UpdateMenuRequestItemSubmenuInner {
254
+ /**
255
+ *
256
+ * @type {string}
257
+ * @memberof UpdateMenuRequestItemSubmenuInner
258
+ */
259
+ 'id': string | null;
260
+ /**
261
+ *
262
+ * @type {string}
263
+ * @memberof UpdateMenuRequestItemSubmenuInner
264
+ */
265
+ 'title': string;
266
+ /**
267
+ *
268
+ * @type {string}
269
+ * @memberof UpdateMenuRequestItemSubmenuInner
270
+ */
271
+ 'image': string | null;
272
+ /**
273
+ *
274
+ * @type {number}
275
+ * @memberof UpdateMenuRequestItemSubmenuInner
276
+ */
277
+ 'order': number;
278
+ /**
279
+ *
280
+ * @type {Array<UpdateMenuRequestSubmenuItem>}
281
+ * @memberof UpdateMenuRequestItemSubmenuInner
282
+ */
283
+ 'items': Array<UpdateMenuRequestSubmenuItem>;
284
+ }
285
+ /**
286
+ *
287
+ * @export
288
+ * @interface UpdateMenuRequestSubmenuItem
289
+ */
290
+ export interface UpdateMenuRequestSubmenuItem {
291
+ /**
292
+ *
293
+ * @type {string}
294
+ * @memberof UpdateMenuRequestSubmenuItem
295
+ */
296
+ 'id': string | null;
297
+ /**
298
+ *
299
+ * @type {string}
300
+ * @memberof UpdateMenuRequestSubmenuItem
301
+ */
302
+ 'text': string;
303
+ /**
304
+ *
305
+ * @type {string}
306
+ * @memberof UpdateMenuRequestSubmenuItem
307
+ */
308
+ 'link': string;
309
+ /**
310
+ *
311
+ * @type {number}
312
+ * @memberof UpdateMenuRequestSubmenuItem
313
+ */
314
+ 'order': number;
315
+ }
316
+ /**
317
+ * MenuApi - axios parameter creator
318
+ * @export
319
+ */
320
+ export declare const MenuApiAxiosParamCreator: (configuration?: Configuration) => {
321
+ /**
322
+ * Get menu
323
+ * @summary Get menu
324
+ * @param {string} project What project it is
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ getMenu: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
329
+ /**
330
+ * Update menu
331
+ * @summary Update menu
332
+ * @param {string} project What project it is
333
+ * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ */
337
+ updateMenu: (project: string, updateMenuRequest?: UpdateMenuRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
338
+ };
339
+ /**
340
+ * MenuApi - functional programming interface
341
+ * @export
342
+ */
343
+ export declare const MenuApiFp: (configuration?: Configuration) => {
344
+ /**
345
+ * Get menu
346
+ * @summary Get menu
347
+ * @param {string} project What project it is
348
+ * @param {*} [options] Override http request option.
349
+ * @throws {RequiredError}
350
+ */
351
+ getMenu(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Menu>>;
352
+ /**
353
+ * Update menu
354
+ * @summary Update menu
355
+ * @param {string} project What project it is
356
+ * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ updateMenu(project: string, updateMenuRequest?: UpdateMenuRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Menu>>;
361
+ };
362
+ /**
363
+ * MenuApi - factory interface
364
+ * @export
365
+ */
366
+ export declare const MenuApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
367
+ /**
368
+ * Get menu
369
+ * @summary Get menu
370
+ * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ getMenu(requestParameters: MenuApiGetMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<Menu>;
375
+ /**
376
+ * Update menu
377
+ * @summary Update menu
378
+ * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ */
382
+ updateMenu(requestParameters: MenuApiUpdateMenuRequest, options?: RawAxiosRequestConfig): AxiosPromise<Menu>;
383
+ };
384
+ /**
385
+ * Request parameters for getMenu operation in MenuApi.
386
+ * @export
387
+ * @interface MenuApiGetMenuRequest
388
+ */
389
+ export interface MenuApiGetMenuRequest {
390
+ /**
391
+ * What project it is
392
+ * @type {string}
393
+ * @memberof MenuApiGetMenu
394
+ */
395
+ readonly project: string;
396
+ }
397
+ /**
398
+ * Request parameters for updateMenu operation in MenuApi.
399
+ * @export
400
+ * @interface MenuApiUpdateMenuRequest
401
+ */
402
+ export interface MenuApiUpdateMenuRequest {
403
+ /**
404
+ * What project it is
405
+ * @type {string}
406
+ * @memberof MenuApiUpdateMenu
407
+ */
408
+ readonly project: string;
409
+ /**
410
+ * Update menu request
411
+ * @type {UpdateMenuRequest}
412
+ * @memberof MenuApiUpdateMenu
413
+ */
414
+ readonly updateMenuRequest?: UpdateMenuRequest;
415
+ }
416
+ /**
417
+ * MenuApi - object-oriented interface
418
+ * @export
419
+ * @class MenuApi
420
+ * @extends {BaseAPI}
421
+ */
422
+ export declare class MenuApi extends BaseAPI {
423
+ /**
424
+ * Get menu
425
+ * @summary Get menu
426
+ * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
427
+ * @param {*} [options] Override http request option.
428
+ * @throws {RequiredError}
429
+ * @memberof MenuApi
430
+ */
431
+ getMenu(requestParameters: MenuApiGetMenuRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Menu, any>>;
432
+ /**
433
+ * Update menu
434
+ * @summary Update menu
435
+ * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ * @memberof MenuApi
439
+ */
440
+ updateMenu(requestParameters: MenuApiUpdateMenuRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Menu, any>>;
441
+ }
80
442
  /**
81
443
  * PaymentApi - axios parameter creator
82
444
  * @export
package/dist/api.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.1.6
8
+ * The version of the OpenAPI document: 0.2.6
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PaymentAccountMethodEnum = void 0;
25
+ exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.PaymentAccountMethodEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -33,6 +33,194 @@ exports.PaymentAccountMethodEnum = {
33
33
  Stripe: 'stripe',
34
34
  Paypal: 'paypal'
35
35
  };
36
+ /**
37
+ * MenuApi - axios parameter creator
38
+ * @export
39
+ */
40
+ const MenuApiAxiosParamCreator = function (configuration) {
41
+ return {
42
+ /**
43
+ * Get menu
44
+ * @summary Get menu
45
+ * @param {string} project What project it is
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ getMenu: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
50
+ // verify required parameter 'project' is not null or undefined
51
+ (0, common_1.assertParamExists)('getMenu', 'project', project);
52
+ const localVarPath = `/v1/website/menu`;
53
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55
+ let baseOptions;
56
+ if (configuration) {
57
+ baseOptions = configuration.baseOptions;
58
+ }
59
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
60
+ const localVarHeaderParameter = {};
61
+ const localVarQueryParameter = {};
62
+ // authentication session-oauth required
63
+ // oauth required
64
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
65
+ // authentication api-key required
66
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
67
+ if (project !== undefined) {
68
+ localVarQueryParameter['project'] = project;
69
+ }
70
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
71
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
73
+ return {
74
+ url: (0, common_1.toPathString)(localVarUrlObj),
75
+ options: localVarRequestOptions,
76
+ };
77
+ }),
78
+ /**
79
+ * Update menu
80
+ * @summary Update menu
81
+ * @param {string} project What project it is
82
+ * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ updateMenu: (project_1, updateMenuRequest_1, ...args_1) => __awaiter(this, [project_1, updateMenuRequest_1, ...args_1], void 0, function* (project, updateMenuRequest, options = {}) {
87
+ // verify required parameter 'project' is not null or undefined
88
+ (0, common_1.assertParamExists)('updateMenu', 'project', project);
89
+ const localVarPath = `/v1/website/menu`;
90
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
91
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
92
+ let baseOptions;
93
+ if (configuration) {
94
+ baseOptions = configuration.baseOptions;
95
+ }
96
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
97
+ const localVarHeaderParameter = {};
98
+ const localVarQueryParameter = {};
99
+ // authentication session-oauth required
100
+ // oauth required
101
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
102
+ // authentication api-key required
103
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
104
+ if (project !== undefined) {
105
+ localVarQueryParameter['project'] = project;
106
+ }
107
+ localVarHeaderParameter['Content-Type'] = 'application/json';
108
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
109
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
110
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
111
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateMenuRequest, localVarRequestOptions, configuration);
112
+ return {
113
+ url: (0, common_1.toPathString)(localVarUrlObj),
114
+ options: localVarRequestOptions,
115
+ };
116
+ }),
117
+ };
118
+ };
119
+ exports.MenuApiAxiosParamCreator = MenuApiAxiosParamCreator;
120
+ /**
121
+ * MenuApi - functional programming interface
122
+ * @export
123
+ */
124
+ const MenuApiFp = function (configuration) {
125
+ const localVarAxiosParamCreator = (0, exports.MenuApiAxiosParamCreator)(configuration);
126
+ return {
127
+ /**
128
+ * Get menu
129
+ * @summary Get menu
130
+ * @param {string} project What project it is
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ getMenu(project, options) {
135
+ return __awaiter(this, void 0, void 0, function* () {
136
+ var _a, _b, _c;
137
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMenu(project, options);
138
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
139
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MenuApi.getMenu']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
140
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
141
+ });
142
+ },
143
+ /**
144
+ * Update menu
145
+ * @summary Update menu
146
+ * @param {string} project What project it is
147
+ * @param {UpdateMenuRequest} [updateMenuRequest] Update menu request
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ updateMenu(project, updateMenuRequest, options) {
152
+ return __awaiter(this, void 0, void 0, function* () {
153
+ var _a, _b, _c;
154
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMenu(project, updateMenuRequest, options);
155
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
156
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MenuApi.updateMenu']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
157
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
158
+ });
159
+ },
160
+ };
161
+ };
162
+ exports.MenuApiFp = MenuApiFp;
163
+ /**
164
+ * MenuApi - factory interface
165
+ * @export
166
+ */
167
+ const MenuApiFactory = function (configuration, basePath, axios) {
168
+ const localVarFp = (0, exports.MenuApiFp)(configuration);
169
+ return {
170
+ /**
171
+ * Get menu
172
+ * @summary Get menu
173
+ * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ getMenu(requestParameters, options) {
178
+ return localVarFp.getMenu(requestParameters.project, options).then((request) => request(axios, basePath));
179
+ },
180
+ /**
181
+ * Update menu
182
+ * @summary Update menu
183
+ * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ updateMenu(requestParameters, options) {
188
+ return localVarFp.updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(axios, basePath));
189
+ },
190
+ };
191
+ };
192
+ exports.MenuApiFactory = MenuApiFactory;
193
+ /**
194
+ * MenuApi - object-oriented interface
195
+ * @export
196
+ * @class MenuApi
197
+ * @extends {BaseAPI}
198
+ */
199
+ class MenuApi extends base_1.BaseAPI {
200
+ /**
201
+ * Get menu
202
+ * @summary Get menu
203
+ * @param {MenuApiGetMenuRequest} requestParameters Request parameters.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ * @memberof MenuApi
207
+ */
208
+ getMenu(requestParameters, options) {
209
+ return (0, exports.MenuApiFp)(this.configuration).getMenu(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
210
+ }
211
+ /**
212
+ * Update menu
213
+ * @summary Update menu
214
+ * @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ * @memberof MenuApi
218
+ */
219
+ updateMenu(requestParameters, options) {
220
+ return (0, exports.MenuApiFp)(this.configuration).updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(this.axios, this.basePath));
221
+ }
222
+ }
223
+ exports.MenuApi = MenuApi;
36
224
  /**
37
225
  * PaymentApi - axios parameter creator
38
226
  * @export
@@ -82,7 +270,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
82
270
  * @param {*} [options] Override http request option.
83
271
  * @throws {RequiredError}
84
272
  */
85
- deauthorizeStripe: (project_2, ...args_2) => __awaiter(this, [project_2, ...args_2], void 0, function* (project, options = {}) {
273
+ deauthorizeStripe: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
86
274
  // verify required parameter 'project' is not null or undefined
87
275
  (0, common_1.assertParamExists)('deauthorizeStripe', 'project', project);
88
276
  const localVarPath = `/v1/website/payment/stripe/deauthorize`;
@@ -118,7 +306,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
118
306
  * @param {*} [options] Override http request option.
119
307
  * @throws {RequiredError}
120
308
  */
121
- getStripePaymentAccount: (project_3, ...args_3) => __awaiter(this, [project_3, ...args_3], void 0, function* (project, options = {}) {
309
+ getStripePaymentAccount: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
122
310
  // verify required parameter 'project' is not null or undefined
123
311
  (0, common_1.assertParamExists)('getStripePaymentAccount', 'project', project);
124
312
  const localVarPath = `/v1/website/payment/stripe`;
package/dist/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.1.6
5
+ * The version of the OpenAPI document: 0.2.6
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/base.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.1.6
8
+ * The version of the OpenAPI document: 0.2.6
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/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.1.6
5
+ * The version of the OpenAPI document: 0.2.6
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/common.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.1.6
8
+ * The version of the OpenAPI document: 0.2.6
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * 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.1.6
5
+ * The version of the OpenAPI document: 0.2.6
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.1.6
8
+ * The version of the OpenAPI document: 0.2.6
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).