@teemill/inserts 0.4.2 → 0.4.4

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/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Inserts API
5
5
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
6
6
  *
7
- * The version of the OpenAPI document: 0.4.2
7
+ * The version of the OpenAPI document: 0.4.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -43,7 +43,6 @@ export const UpdateInsertRequestConfigCouponTypeEnum = {
43
43
  };
44
44
  /**
45
45
  * InsertsApi - axios parameter creator
46
- * @export
47
46
  */
48
47
  export const InsertsApiAxiosParamCreator = function (configuration) {
49
48
  return {
@@ -225,7 +224,6 @@ export const InsertsApiAxiosParamCreator = function (configuration) {
225
224
  };
226
225
  /**
227
226
  * InsertsApi - functional programming interface
228
- * @export
229
227
  */
230
228
  export const InsertsApiFp = function (configuration) {
231
229
  const localVarAxiosParamCreator = InsertsApiAxiosParamCreator(configuration);
@@ -305,7 +303,6 @@ export const InsertsApiFp = function (configuration) {
305
303
  };
306
304
  /**
307
305
  * InsertsApi - factory interface
308
- * @export
309
306
  */
310
307
  export const InsertsApiFactory = function (configuration, basePath, axios) {
311
308
  const localVarFp = InsertsApiFp(configuration);
@@ -354,9 +351,6 @@ export const InsertsApiFactory = function (configuration, basePath, axios) {
354
351
  };
355
352
  /**
356
353
  * InsertsApi - object-oriented interface
357
- * @export
358
- * @class InsertsApi
359
- * @extends {BaseAPI}
360
354
  */
361
355
  export class InsertsApi extends BaseAPI {
362
356
  /**
@@ -365,7 +359,6 @@ export class InsertsApi extends BaseAPI {
365
359
  * @param {InsertsApiCreateInsertRequest} requestParameters Request parameters.
366
360
  * @param {*} [options] Override http request option.
367
361
  * @throws {RequiredError}
368
- * @memberof InsertsApi
369
362
  */
370
363
  createInsert(requestParameters, options) {
371
364
  return InsertsApiFp(this.configuration).createInsert(requestParameters.project, requestParameters.createInsertRequest, options).then((request) => request(this.axios, this.basePath));
@@ -376,7 +369,6 @@ export class InsertsApi extends BaseAPI {
376
369
  * @param {InsertsApiGetInsertRequest} requestParameters Request parameters.
377
370
  * @param {*} [options] Override http request option.
378
371
  * @throws {RequiredError}
379
- * @memberof InsertsApi
380
372
  */
381
373
  getInsert(requestParameters, options) {
382
374
  return InsertsApiFp(this.configuration).getInsert(requestParameters.insertId, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
@@ -387,7 +379,6 @@ export class InsertsApi extends BaseAPI {
387
379
  * @param {InsertsApiListInsertsRequest} requestParameters Request parameters.
388
380
  * @param {*} [options] Override http request option.
389
381
  * @throws {RequiredError}
390
- * @memberof InsertsApi
391
382
  */
392
383
  listInserts(requestParameters, options) {
393
384
  return InsertsApiFp(this.configuration).listInserts(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
@@ -398,7 +389,6 @@ export class InsertsApi extends BaseAPI {
398
389
  * @param {InsertsApiUpdateInsertRequest} requestParameters Request parameters.
399
390
  * @param {*} [options] Override http request option.
400
391
  * @throws {RequiredError}
401
- * @memberof InsertsApi
402
392
  */
403
393
  updateInsert(requestParameters, options) {
404
394
  return InsertsApiFp(this.configuration).updateInsert(requestParameters.insertId, requestParameters.project, requestParameters.updateInsertRequest, options).then((request) => request(this.axios, this.basePath));
@@ -406,7 +396,6 @@ export class InsertsApi extends BaseAPI {
406
396
  }
407
397
  /**
408
398
  * InsertsTypesApi - axios parameter creator
409
- * @export
410
399
  */
411
400
  export const InsertsTypesApiAxiosParamCreator = function (configuration) {
412
401
  return {
@@ -502,7 +491,6 @@ export const InsertsTypesApiAxiosParamCreator = function (configuration) {
502
491
  };
503
492
  /**
504
493
  * InsertsTypesApi - functional programming interface
505
- * @export
506
494
  */
507
495
  export const InsertsTypesApiFp = function (configuration) {
508
496
  const localVarAxiosParamCreator = InsertsTypesApiAxiosParamCreator(configuration);
@@ -547,7 +535,6 @@ export const InsertsTypesApiFp = function (configuration) {
547
535
  };
548
536
  /**
549
537
  * InsertsTypesApi - factory interface
550
- * @export
551
538
  */
552
539
  export const InsertsTypesApiFactory = function (configuration, basePath, axios) {
553
540
  const localVarFp = InsertsTypesApiFp(configuration);
@@ -576,9 +563,6 @@ export const InsertsTypesApiFactory = function (configuration, basePath, axios)
576
563
  };
577
564
  /**
578
565
  * InsertsTypesApi - object-oriented interface
579
- * @export
580
- * @class InsertsTypesApi
581
- * @extends {BaseAPI}
582
566
  */
583
567
  export class InsertsTypesApi extends BaseAPI {
584
568
  /**
@@ -587,7 +571,6 @@ export class InsertsTypesApi extends BaseAPI {
587
571
  * @param {InsertsTypesApiGetInsertTypeRequest} requestParameters Request parameters.
588
572
  * @param {*} [options] Override http request option.
589
573
  * @throws {RequiredError}
590
- * @memberof InsertsTypesApi
591
574
  */
592
575
  getInsertType(requestParameters, options) {
593
576
  return InsertsTypesApiFp(this.configuration).getInsertType(requestParameters.insertTypeId, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
@@ -598,7 +581,6 @@ export class InsertsTypesApi extends BaseAPI {
598
581
  * @param {InsertsTypesApiListInsertTypesRequest} requestParameters Request parameters.
599
582
  * @param {*} [options] Override http request option.
600
583
  * @throws {RequiredError}
601
- * @memberof InsertsTypesApi
602
584
  */
603
585
  listInsertTypes(requestParameters, options) {
604
586
  return InsertsTypesApiFp(this.configuration).listInsertTypes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
@@ -2,7 +2,7 @@
2
2
  * Inserts API
3
3
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
4
4
  *
5
- * The version of the OpenAPI document: 0.4.2
5
+ * The version of the OpenAPI document: 0.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,42 +12,22 @@
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
23
  options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
@@ -58,9 +38,5 @@ interface ServerMap {
58
38
  description: string;
59
39
  }[];
60
40
  }
61
- /**
62
- *
63
- * @export
64
- */
65
41
  export declare const operationServerMap: ServerMap;
66
42
  export {};
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Inserts API
5
5
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
6
6
  *
7
- * The version of the OpenAPI document: 0.4.2
7
+ * The version of the OpenAPI document: 0.4.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,21 +13,12 @@
13
13
  */
14
14
  import globalAxios from 'axios';
15
15
  export const BASE_PATH = "https://api.localhost:8080".replace(/\/+$/, "");
16
- /**
17
- *
18
- * @export
19
- */
20
16
  export const COLLECTION_FORMATS = {
21
17
  csv: ",",
22
18
  ssv: " ",
23
19
  tsv: "\t",
24
20
  pipes: "|",
25
21
  };
26
- /**
27
- *
28
- * @export
29
- * @class BaseAPI
30
- */
31
22
  export class BaseAPI {
32
23
  constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
33
24
  var _a;
@@ -40,12 +31,6 @@ export class BaseAPI {
40
31
  }
41
32
  }
42
33
  ;
43
- /**
44
- *
45
- * @export
46
- * @class RequiredError
47
- * @extends {Error}
48
- */
49
34
  export class RequiredError extends Error {
50
35
  constructor(field, msg) {
51
36
  super(msg);
@@ -53,8 +38,4 @@ export class RequiredError extends Error {
53
38
  this.name = "RequiredError";
54
39
  }
55
40
  }
56
- /**
57
- *
58
- * @export
59
- */
60
41
  export const operationServerMap = {};
@@ -2,7 +2,7 @@
2
2
  * Inserts API
3
3
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
4
4
  *
5
- * The version of the OpenAPI document: 0.4.2
5
+ * The version of the OpenAPI document: 0.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Inserts API
5
5
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
6
6
  *
7
- * The version of the OpenAPI document: 0.4.2
7
+ * The version of the OpenAPI document: 0.4.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Inserts API
3
3
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
4
4
  *
5
- * The version of the OpenAPI document: 0.4.2
5
+ * The version of the OpenAPI document: 0.4.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,49 +23,32 @@ export declare class Configuration {
23
23
  /**
24
24
  * parameter for apiKey security
25
25
  * @param name security name
26
- * @memberof Configuration
27
26
  */
28
27
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
28
  /**
30
29
  * parameter for basic security
31
- *
32
- * @type {string}
33
- * @memberof Configuration
34
30
  */
35
31
  username?: string;
36
32
  /**
37
33
  * parameter for basic security
38
- *
39
- * @type {string}
40
- * @memberof Configuration
41
34
  */
42
35
  password?: string;
43
36
  /**
44
37
  * parameter for oauth2 security
45
38
  * @param name security name
46
39
  * @param scopes oauth2 scope
47
- * @memberof Configuration
48
40
  */
49
41
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
42
  /**
51
43
  * override base path
52
- *
53
- * @type {string}
54
- * @memberof Configuration
55
44
  */
56
45
  basePath?: string;
57
46
  /**
58
47
  * override server index
59
- *
60
- * @type {number}
61
- * @memberof Configuration
62
48
  */
63
49
  serverIndex?: number;
64
50
  /**
65
51
  * base options for axios calls
66
- *
67
- * @type {any}
68
- * @memberof Configuration
69
52
  */
70
53
  baseOptions?: any;
71
54
  /**
@@ -4,7 +4,7 @@
4
4
  * Inserts API
5
5
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
6
6
  *
7
- * The version of the OpenAPI document: 0.4.2
7
+ * The version of the OpenAPI document: 0.4.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Inserts API
3
3
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
4
4
  *
5
- * The version of the OpenAPI document: 0.4.2
5
+ * The version of the OpenAPI document: 0.4.4
6
6
  *
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
  * Inserts API
5
5
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
6
6
  *
7
- * The version of the OpenAPI document: 0.4.2
7
+ * The version of the OpenAPI document: 0.4.4
8
8
  *
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
  * Inserts API
3
3
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
4
4
  *
5
- * The version of the OpenAPI document: 0.4.2
5
+ * The version of the OpenAPI document: 0.4.4
6
6
  *
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
  * Inserts API
6
6
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
7
7
  *
8
- * The version of the OpenAPI document: 0.4.2
8
+ * The version of the OpenAPI document: 0.4.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -128,7 +128,7 @@ const { status, data } = await apiInstance.getInsert(
128
128
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
129
129
 
130
130
  # **listInserts**
131
- > InlineObject1 listInserts()
131
+ > ListInserts200Response listInserts()
132
132
 
133
133
  List your project inserts
134
134
 
@@ -168,7 +168,7 @@ const { status, data } = await apiInstance.listInserts(
168
168
 
169
169
  ### Return type
170
170
 
171
- **InlineObject1**
171
+ **ListInserts200Response**
172
172
 
173
173
  ### Authorization
174
174
 
@@ -67,7 +67,7 @@ const { status, data } = await apiInstance.getInsertType(
67
67
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
68
68
 
69
69
  # **listInsertTypes**
70
- > InlineObject listInsertTypes()
70
+ > ListInsertTypes200Response listInsertTypes()
71
71
 
72
72
  List all insert types
73
73
 
@@ -107,7 +107,7 @@ const { status, data } = await apiInstance.listInsertTypes(
107
107
 
108
108
  ### Return type
109
109
 
110
- **InlineObject**
110
+ **ListInsertTypes200Response**
111
111
 
112
112
  ### Authorization
113
113
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Inserts API
5
5
  * An API for managing order inserts in PodOS that automatically adds a free item to a customer\'s order when specific conditions are met, such as a first-time purchase.
6
6
  *
7
- * The version of the OpenAPI document: 0.4.2
7
+ * The version of the OpenAPI document: 0.4.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/inserts",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "OpenAPI client for @teemill/inserts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "^1.6.1"
27
+ "axios": "1.12.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",