@teemill/inserts 0.4.0 → 0.4.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.
- package/README.md +4 -4
- package/api.ts +43 -43
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +45 -45
- package/dist/api.js +1 -1
- 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 +45 -45
- package/dist/esm/api.js +1 -1
- 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/docs/InlineObject.md +22 -0
- package/docs/InlineObject1.md +22 -0
- package/docs/InsertsApi.md +2 -2
- package/docs/InsertsTypesApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/inserts@0.4.
|
|
1
|
+
## @teemill/inserts@0.4.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/inserts@0.4.
|
|
39
|
+
npm install @teemill/inserts@0.4.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -65,12 +65,12 @@ Class | Method | HTTP request | Description
|
|
|
65
65
|
- [CreateInsertRequest](docs/CreateInsertRequest.md)
|
|
66
66
|
- [CreateInsertRequestConfig](docs/CreateInsertRequestConfig.md)
|
|
67
67
|
- [CreateInsertRequestConfigCoupon](docs/CreateInsertRequestConfigCoupon.md)
|
|
68
|
+
- [InlineObject](docs/InlineObject.md)
|
|
69
|
+
- [InlineObject1](docs/InlineObject1.md)
|
|
68
70
|
- [Insert](docs/Insert.md)
|
|
69
71
|
- [InsertConfig](docs/InsertConfig.md)
|
|
70
72
|
- [InsertConfigCoupon](docs/InsertConfigCoupon.md)
|
|
71
73
|
- [InsertType](docs/InsertType.md)
|
|
72
|
-
- [ListInsertTypes200Response](docs/ListInsertTypes200Response.md)
|
|
73
|
-
- [ListInserts200Response](docs/ListInserts200Response.md)
|
|
74
74
|
- [UpdateInsertRequest](docs/UpdateInsertRequest.md)
|
|
75
75
|
- [UpdateInsertRequestConfig](docs/UpdateInsertRequestConfig.md)
|
|
76
76
|
- [UpdateInsertRequestConfigCoupon](docs/UpdateInsertRequestConfigCoupon.md)
|
package/api.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -150,6 +150,44 @@ export const CreateInsertRequestConfigCouponTypeEnum = {
|
|
|
150
150
|
|
|
151
151
|
export type CreateInsertRequestConfigCouponTypeEnum = typeof CreateInsertRequestConfigCouponTypeEnum[keyof typeof CreateInsertRequestConfigCouponTypeEnum];
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @export
|
|
156
|
+
* @interface InlineObject
|
|
157
|
+
*/
|
|
158
|
+
export interface InlineObject {
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {Array<InsertType>}
|
|
162
|
+
* @memberof InlineObject
|
|
163
|
+
*/
|
|
164
|
+
'insertTypes': Array<InsertType>;
|
|
165
|
+
/**
|
|
166
|
+
* The token referencing the next page number
|
|
167
|
+
* @type {number}
|
|
168
|
+
* @memberof InlineObject
|
|
169
|
+
*/
|
|
170
|
+
'nextPageToken': number | null;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @export
|
|
175
|
+
* @interface InlineObject1
|
|
176
|
+
*/
|
|
177
|
+
export interface InlineObject1 {
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {Array<Insert>}
|
|
181
|
+
* @memberof InlineObject1
|
|
182
|
+
*/
|
|
183
|
+
'inserts': Array<Insert>;
|
|
184
|
+
/**
|
|
185
|
+
* The token referencing the next page number
|
|
186
|
+
* @type {number}
|
|
187
|
+
* @memberof InlineObject1
|
|
188
|
+
*/
|
|
189
|
+
'nextPageToken': number | null;
|
|
190
|
+
}
|
|
153
191
|
/**
|
|
154
192
|
*
|
|
155
193
|
* @export
|
|
@@ -307,44 +345,6 @@ export interface InsertType {
|
|
|
307
345
|
*/
|
|
308
346
|
'description': string;
|
|
309
347
|
}
|
|
310
|
-
/**
|
|
311
|
-
*
|
|
312
|
-
* @export
|
|
313
|
-
* @interface ListInsertTypes200Response
|
|
314
|
-
*/
|
|
315
|
-
export interface ListInsertTypes200Response {
|
|
316
|
-
/**
|
|
317
|
-
*
|
|
318
|
-
* @type {Array<InsertType>}
|
|
319
|
-
* @memberof ListInsertTypes200Response
|
|
320
|
-
*/
|
|
321
|
-
'insertTypes': Array<InsertType>;
|
|
322
|
-
/**
|
|
323
|
-
* The token referencing the next page number
|
|
324
|
-
* @type {number}
|
|
325
|
-
* @memberof ListInsertTypes200Response
|
|
326
|
-
*/
|
|
327
|
-
'nextPageToken': number | null;
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
*
|
|
331
|
-
* @export
|
|
332
|
-
* @interface ListInserts200Response
|
|
333
|
-
*/
|
|
334
|
-
export interface ListInserts200Response {
|
|
335
|
-
/**
|
|
336
|
-
*
|
|
337
|
-
* @type {Array<Insert>}
|
|
338
|
-
* @memberof ListInserts200Response
|
|
339
|
-
*/
|
|
340
|
-
'inserts': Array<Insert>;
|
|
341
|
-
/**
|
|
342
|
-
* The token referencing the next page number
|
|
343
|
-
* @type {number}
|
|
344
|
-
* @memberof ListInserts200Response
|
|
345
|
-
*/
|
|
346
|
-
'nextPageToken': number | null;
|
|
347
|
-
}
|
|
348
348
|
/**
|
|
349
349
|
*
|
|
350
350
|
* @export
|
|
@@ -726,7 +726,7 @@ export const InsertsApiFp = function(configuration?: Configuration) {
|
|
|
726
726
|
* @param {*} [options] Override http request option.
|
|
727
727
|
* @throws {RequiredError}
|
|
728
728
|
*/
|
|
729
|
-
async listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
729
|
+
async listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>> {
|
|
730
730
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInserts(project, pageToken, pageSize, search, options);
|
|
731
731
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
732
732
|
const localVarOperationServerBasePath = operationServerMap['InsertsApi.listInserts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -784,7 +784,7 @@ export const InsertsApiFactory = function (configuration?: Configuration, basePa
|
|
|
784
784
|
* @param {*} [options] Override http request option.
|
|
785
785
|
* @throws {RequiredError}
|
|
786
786
|
*/
|
|
787
|
-
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
787
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1> {
|
|
788
788
|
return localVarFp.listInserts(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
789
789
|
},
|
|
790
790
|
/**
|
|
@@ -1110,7 +1110,7 @@ export const InsertsTypesApiFp = function(configuration?: Configuration) {
|
|
|
1110
1110
|
* @param {*} [options] Override http request option.
|
|
1111
1111
|
* @throws {RequiredError}
|
|
1112
1112
|
*/
|
|
1113
|
-
async listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1113
|
+
async listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
|
|
1114
1114
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInsertTypes(project, pageToken, pageSize, search, options);
|
|
1115
1115
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1116
1116
|
const localVarOperationServerBasePath = operationServerMap['InsertsTypesApi.listInsertTypes']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1143,7 +1143,7 @@ export const InsertsTypesApiFactory = function (configuration?: Configuration, b
|
|
|
1143
1143
|
* @param {*} [options] Override http request option.
|
|
1144
1144
|
* @throws {RequiredError}
|
|
1145
1145
|
*/
|
|
1146
|
-
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1146
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
|
|
1147
1147
|
return localVarFp.listInsertTypes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1148
1148
|
},
|
|
1149
1149
|
};
|
package/base.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -137,6 +137,44 @@ export declare const CreateInsertRequestConfigCouponTypeEnum: {
|
|
|
137
137
|
readonly Item: "item";
|
|
138
138
|
};
|
|
139
139
|
export type CreateInsertRequestConfigCouponTypeEnum = typeof CreateInsertRequestConfigCouponTypeEnum[keyof typeof CreateInsertRequestConfigCouponTypeEnum];
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @export
|
|
143
|
+
* @interface InlineObject
|
|
144
|
+
*/
|
|
145
|
+
export interface InlineObject {
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {Array<InsertType>}
|
|
149
|
+
* @memberof InlineObject
|
|
150
|
+
*/
|
|
151
|
+
'insertTypes': Array<InsertType>;
|
|
152
|
+
/**
|
|
153
|
+
* The token referencing the next page number
|
|
154
|
+
* @type {number}
|
|
155
|
+
* @memberof InlineObject
|
|
156
|
+
*/
|
|
157
|
+
'nextPageToken': number | null;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @export
|
|
162
|
+
* @interface InlineObject1
|
|
163
|
+
*/
|
|
164
|
+
export interface InlineObject1 {
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {Array<Insert>}
|
|
168
|
+
* @memberof InlineObject1
|
|
169
|
+
*/
|
|
170
|
+
'inserts': Array<Insert>;
|
|
171
|
+
/**
|
|
172
|
+
* The token referencing the next page number
|
|
173
|
+
* @type {number}
|
|
174
|
+
* @memberof InlineObject1
|
|
175
|
+
*/
|
|
176
|
+
'nextPageToken': number | null;
|
|
177
|
+
}
|
|
140
178
|
/**
|
|
141
179
|
*
|
|
142
180
|
* @export
|
|
@@ -291,44 +329,6 @@ export interface InsertType {
|
|
|
291
329
|
*/
|
|
292
330
|
'description': string;
|
|
293
331
|
}
|
|
294
|
-
/**
|
|
295
|
-
*
|
|
296
|
-
* @export
|
|
297
|
-
* @interface ListInsertTypes200Response
|
|
298
|
-
*/
|
|
299
|
-
export interface ListInsertTypes200Response {
|
|
300
|
-
/**
|
|
301
|
-
*
|
|
302
|
-
* @type {Array<InsertType>}
|
|
303
|
-
* @memberof ListInsertTypes200Response
|
|
304
|
-
*/
|
|
305
|
-
'insertTypes': Array<InsertType>;
|
|
306
|
-
/**
|
|
307
|
-
* The token referencing the next page number
|
|
308
|
-
* @type {number}
|
|
309
|
-
* @memberof ListInsertTypes200Response
|
|
310
|
-
*/
|
|
311
|
-
'nextPageToken': number | null;
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
*
|
|
315
|
-
* @export
|
|
316
|
-
* @interface ListInserts200Response
|
|
317
|
-
*/
|
|
318
|
-
export interface ListInserts200Response {
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @type {Array<Insert>}
|
|
322
|
-
* @memberof ListInserts200Response
|
|
323
|
-
*/
|
|
324
|
-
'inserts': Array<Insert>;
|
|
325
|
-
/**
|
|
326
|
-
* The token referencing the next page number
|
|
327
|
-
* @type {number}
|
|
328
|
-
* @memberof ListInserts200Response
|
|
329
|
-
*/
|
|
330
|
-
'nextPageToken': number | null;
|
|
331
|
-
}
|
|
332
332
|
/**
|
|
333
333
|
*
|
|
334
334
|
* @export
|
|
@@ -518,7 +518,7 @@ export declare const InsertsApiFp: (configuration?: Configuration) => {
|
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
*/
|
|
521
|
-
listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
521
|
+
listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
|
|
522
522
|
/**
|
|
523
523
|
* Update an insert for a project
|
|
524
524
|
* @summary Update an insert
|
|
@@ -558,7 +558,7 @@ export declare const InsertsApiFactory: (configuration?: Configuration, basePath
|
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
559
559
|
* @throws {RequiredError}
|
|
560
560
|
*/
|
|
561
|
-
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
561
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
|
|
562
562
|
/**
|
|
563
563
|
* Update an insert for a project
|
|
564
564
|
* @summary Update an insert
|
|
@@ -695,7 +695,7 @@ export declare class InsertsApi extends BaseAPI {
|
|
|
695
695
|
* @throws {RequiredError}
|
|
696
696
|
* @memberof InsertsApi
|
|
697
697
|
*/
|
|
698
|
-
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
698
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
|
|
699
699
|
/**
|
|
700
700
|
* Update an insert for a project
|
|
701
701
|
* @summary Update an insert
|
|
@@ -756,7 +756,7 @@ export declare const InsertsTypesApiFp: (configuration?: Configuration) => {
|
|
|
756
756
|
* @param {*} [options] Override http request option.
|
|
757
757
|
* @throws {RequiredError}
|
|
758
758
|
*/
|
|
759
|
-
listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
759
|
+
listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
|
|
760
760
|
};
|
|
761
761
|
/**
|
|
762
762
|
* InsertsTypesApi - factory interface
|
|
@@ -778,7 +778,7 @@ export declare const InsertsTypesApiFactory: (configuration?: Configuration, bas
|
|
|
778
778
|
* @param {*} [options] Override http request option.
|
|
779
779
|
* @throws {RequiredError}
|
|
780
780
|
*/
|
|
781
|
-
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
781
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
|
|
782
782
|
};
|
|
783
783
|
/**
|
|
784
784
|
* Request parameters for getInsertType operation in InsertsTypesApi.
|
|
@@ -854,5 +854,5 @@ export declare class InsertsTypesApi extends BaseAPI {
|
|
|
854
854
|
* @throws {RequiredError}
|
|
855
855
|
* @memberof InsertsTypesApi
|
|
856
856
|
*/
|
|
857
|
-
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
857
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
|
|
858
858
|
}
|
package/dist/api.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.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
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
|
* 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.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.1
|
|
9
9
|
*
|
|
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
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
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
|
* 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.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -137,6 +137,44 @@ export declare const CreateInsertRequestConfigCouponTypeEnum: {
|
|
|
137
137
|
readonly Item: "item";
|
|
138
138
|
};
|
|
139
139
|
export type CreateInsertRequestConfigCouponTypeEnum = typeof CreateInsertRequestConfigCouponTypeEnum[keyof typeof CreateInsertRequestConfigCouponTypeEnum];
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @export
|
|
143
|
+
* @interface InlineObject
|
|
144
|
+
*/
|
|
145
|
+
export interface InlineObject {
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {Array<InsertType>}
|
|
149
|
+
* @memberof InlineObject
|
|
150
|
+
*/
|
|
151
|
+
'insertTypes': Array<InsertType>;
|
|
152
|
+
/**
|
|
153
|
+
* The token referencing the next page number
|
|
154
|
+
* @type {number}
|
|
155
|
+
* @memberof InlineObject
|
|
156
|
+
*/
|
|
157
|
+
'nextPageToken': number | null;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @export
|
|
162
|
+
* @interface InlineObject1
|
|
163
|
+
*/
|
|
164
|
+
export interface InlineObject1 {
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {Array<Insert>}
|
|
168
|
+
* @memberof InlineObject1
|
|
169
|
+
*/
|
|
170
|
+
'inserts': Array<Insert>;
|
|
171
|
+
/**
|
|
172
|
+
* The token referencing the next page number
|
|
173
|
+
* @type {number}
|
|
174
|
+
* @memberof InlineObject1
|
|
175
|
+
*/
|
|
176
|
+
'nextPageToken': number | null;
|
|
177
|
+
}
|
|
140
178
|
/**
|
|
141
179
|
*
|
|
142
180
|
* @export
|
|
@@ -291,44 +329,6 @@ export interface InsertType {
|
|
|
291
329
|
*/
|
|
292
330
|
'description': string;
|
|
293
331
|
}
|
|
294
|
-
/**
|
|
295
|
-
*
|
|
296
|
-
* @export
|
|
297
|
-
* @interface ListInsertTypes200Response
|
|
298
|
-
*/
|
|
299
|
-
export interface ListInsertTypes200Response {
|
|
300
|
-
/**
|
|
301
|
-
*
|
|
302
|
-
* @type {Array<InsertType>}
|
|
303
|
-
* @memberof ListInsertTypes200Response
|
|
304
|
-
*/
|
|
305
|
-
'insertTypes': Array<InsertType>;
|
|
306
|
-
/**
|
|
307
|
-
* The token referencing the next page number
|
|
308
|
-
* @type {number}
|
|
309
|
-
* @memberof ListInsertTypes200Response
|
|
310
|
-
*/
|
|
311
|
-
'nextPageToken': number | null;
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
*
|
|
315
|
-
* @export
|
|
316
|
-
* @interface ListInserts200Response
|
|
317
|
-
*/
|
|
318
|
-
export interface ListInserts200Response {
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @type {Array<Insert>}
|
|
322
|
-
* @memberof ListInserts200Response
|
|
323
|
-
*/
|
|
324
|
-
'inserts': Array<Insert>;
|
|
325
|
-
/**
|
|
326
|
-
* The token referencing the next page number
|
|
327
|
-
* @type {number}
|
|
328
|
-
* @memberof ListInserts200Response
|
|
329
|
-
*/
|
|
330
|
-
'nextPageToken': number | null;
|
|
331
|
-
}
|
|
332
332
|
/**
|
|
333
333
|
*
|
|
334
334
|
* @export
|
|
@@ -518,7 +518,7 @@ export declare const InsertsApiFp: (configuration?: Configuration) => {
|
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
*/
|
|
521
|
-
listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
521
|
+
listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
|
|
522
522
|
/**
|
|
523
523
|
* Update an insert for a project
|
|
524
524
|
* @summary Update an insert
|
|
@@ -558,7 +558,7 @@ export declare const InsertsApiFactory: (configuration?: Configuration, basePath
|
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
559
559
|
* @throws {RequiredError}
|
|
560
560
|
*/
|
|
561
|
-
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
561
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
|
|
562
562
|
/**
|
|
563
563
|
* Update an insert for a project
|
|
564
564
|
* @summary Update an insert
|
|
@@ -695,7 +695,7 @@ export declare class InsertsApi extends BaseAPI {
|
|
|
695
695
|
* @throws {RequiredError}
|
|
696
696
|
* @memberof InsertsApi
|
|
697
697
|
*/
|
|
698
|
-
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
698
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
|
|
699
699
|
/**
|
|
700
700
|
* Update an insert for a project
|
|
701
701
|
* @summary Update an insert
|
|
@@ -756,7 +756,7 @@ export declare const InsertsTypesApiFp: (configuration?: Configuration) => {
|
|
|
756
756
|
* @param {*} [options] Override http request option.
|
|
757
757
|
* @throws {RequiredError}
|
|
758
758
|
*/
|
|
759
|
-
listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
759
|
+
listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
|
|
760
760
|
};
|
|
761
761
|
/**
|
|
762
762
|
* InsertsTypesApi - factory interface
|
|
@@ -778,7 +778,7 @@ export declare const InsertsTypesApiFactory: (configuration?: Configuration, bas
|
|
|
778
778
|
* @param {*} [options] Override http request option.
|
|
779
779
|
* @throws {RequiredError}
|
|
780
780
|
*/
|
|
781
|
-
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
781
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
|
|
782
782
|
};
|
|
783
783
|
/**
|
|
784
784
|
* Request parameters for getInsertType operation in InsertsTypesApi.
|
|
@@ -854,5 +854,5 @@ export declare class InsertsTypesApi extends BaseAPI {
|
|
|
854
854
|
* @throws {RequiredError}
|
|
855
855
|
* @memberof InsertsTypesApi
|
|
856
856
|
*/
|
|
857
|
-
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
857
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
|
|
858
858
|
}
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
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
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
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
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
6
6
|
*
|
|
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
|
* 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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
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
|
* 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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.1
|
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# InlineObject
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**insertTypes** | [**Array<InsertType>**](InsertType.md) | | [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | The token referencing the next page number | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { InlineObject } from '@teemill/inserts';
|
|
15
|
+
|
|
16
|
+
const instance: InlineObject = {
|
|
17
|
+
insertTypes,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# InlineObject1
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**inserts** | [**Array<Insert>**](Insert.md) | | [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | The token referencing the next page number | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { InlineObject1 } from '@teemill/inserts';
|
|
15
|
+
|
|
16
|
+
const instance: InlineObject1 = {
|
|
17
|
+
inserts,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/InsertsApi.md
CHANGED
|
@@ -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
|
-
>
|
|
131
|
+
> InlineObject1 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
|
-
**
|
|
171
|
+
**InlineObject1**
|
|
172
172
|
|
|
173
173
|
### Authorization
|
|
174
174
|
|
package/docs/InsertsTypesApi.md
CHANGED
|
@@ -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
|
-
>
|
|
70
|
+
> InlineObject 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
|
-
**
|
|
110
|
+
**InlineObject**
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|