@teemill/inserts 0.4.1 → 0.4.3

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
  * 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.1
5
+ * The version of the OpenAPI document: 0.4.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,121 +13,56 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface ApiError
20
- */
21
16
  export interface ApiError {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ApiError
26
- */
27
17
  'message': string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ApiError
32
- */
33
18
  'code': string;
34
19
  }
35
- /**
36
- *
37
- * @export
38
- * @interface CreateInsertRequest
39
- */
40
20
  export interface CreateInsertRequest {
41
21
  /**
42
22
  * Whether the insert is enabled
43
- * @type {boolean}
44
- * @memberof CreateInsertRequest
45
23
  */
46
24
  'enabled': boolean;
47
25
  /**
48
26
  * A reference to the variant that will be inserted into the order when this insert rule is triggered
49
- * @type {string}
50
- * @memberof CreateInsertRequest
51
27
  */
52
28
  'variantRef': string;
53
29
  /**
54
30
  * A reference to the insert type that will be inserted into the order when this insert rule is triggered
55
- * @type {string}
56
- * @memberof CreateInsertRequest
57
31
  */
58
32
  'typeRef': string;
59
- /**
60
- *
61
- * @type {CreateInsertRequestConfig}
62
- * @memberof CreateInsertRequest
63
- */
64
33
  'config'?: CreateInsertRequestConfig;
65
34
  }
66
- /**
67
- *
68
- * @export
69
- * @interface CreateInsertRequestConfig
70
- */
71
35
  export interface CreateInsertRequestConfig {
72
- /**
73
- *
74
- * @type {CreateInsertRequestConfigCoupon}
75
- * @memberof CreateInsertRequestConfig
76
- */
77
36
  'coupon'?: CreateInsertRequestConfigCoupon;
78
37
  }
79
- /**
80
- *
81
- * @export
82
- * @interface CreateInsertRequestConfigCoupon
83
- */
84
38
  export interface CreateInsertRequestConfigCoupon {
85
39
  /**
86
40
  * The prefix of the coupon code to apply to the insert
87
- * @type {string}
88
- * @memberof CreateInsertRequestConfigCoupon
89
41
  */
90
42
  'prefix': string;
91
43
  /**
92
44
  * The type of coupon to apply to the insert
93
- * @type {string}
94
- * @memberof CreateInsertRequestConfigCoupon
95
45
  */
96
46
  'type': CreateInsertRequestConfigCouponTypeEnum;
97
47
  /**
98
48
  * The number of hours after creation which the coupon will expire
99
- * @type {number}
100
- * @memberof CreateInsertRequestConfigCoupon
101
49
  */
102
50
  'expiryHours': number;
103
51
  /**
104
52
  * The number of times the coupon can be used
105
- * @type {number}
106
- * @memberof CreateInsertRequestConfigCoupon
107
53
  */
108
54
  'numberOfUses': number;
109
- /**
110
- *
111
- * @type {Value}
112
- * @memberof CreateInsertRequestConfigCoupon
113
- */
114
55
  'value': Value;
115
56
  /**
116
57
  * The minimum order value to apply the coupon to
117
- * @type {number}
118
- * @memberof CreateInsertRequestConfigCoupon
119
58
  */
120
59
  'minimumOrderValue': number;
121
60
  /**
122
61
  * A list of delivery methods that will be used for the discount. **Note:** Adding delivery methods requires the delivery integration to be installed on your project.
123
- * @type {Array<string>}
124
- * @memberof CreateInsertRequestConfigCoupon
125
62
  */
126
63
  'freeDeliveryMethods'?: Array<string>;
127
64
  /**
128
65
  * The description of the coupon to apply to the insert
129
- * @type {string}
130
- * @memberof CreateInsertRequestConfigCoupon
131
66
  */
132
67
  'description': string;
133
68
  }
@@ -137,159 +72,65 @@ export declare const CreateInsertRequestConfigCouponTypeEnum: {
137
72
  readonly Item: "item";
138
73
  };
139
74
  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
- }
178
- /**
179
- *
180
- * @export
181
- * @interface Insert
182
- */
183
75
  export interface Insert {
184
76
  /**
185
77
  * Unique object identifier
186
- * @type {string}
187
- * @memberof Insert
188
78
  */
189
79
  'id': string;
190
80
  /**
191
81
  * Whether the insert is enabled
192
- * @type {boolean}
193
- * @memberof Insert
194
82
  */
195
83
  'enabled': boolean;
196
84
  /**
197
85
  * A reference to the variant that will be inserted into the order when this insert rule is triggered
198
- * @type {string}
199
- * @memberof Insert
200
86
  */
201
87
  'variantRef': string | null;
202
88
  /**
203
89
  * A reference to the insert type that will be inserted into the order when this insert rule is triggered
204
- * @type {string}
205
- * @memberof Insert
206
90
  */
207
91
  'typeRef': string;
208
- /**
209
- *
210
- * @type {InsertConfig}
211
- * @memberof Insert
212
- */
213
92
  'config': InsertConfig | null;
214
93
  /**
215
94
  * ISO 8601 Timestamp
216
- * @type {string}
217
- * @memberof Insert
218
95
  */
219
96
  'createdAt': string;
220
97
  /**
221
98
  * ISO 8601 Timestamp
222
- * @type {string}
223
- * @memberof Insert
224
99
  */
225
100
  'updatedAt': string | null;
226
101
  }
227
102
  /**
228
103
  * The configuration of the insert
229
- * @export
230
- * @interface InsertConfig
231
104
  */
232
105
  export interface InsertConfig {
233
- /**
234
- *
235
- * @type {InsertConfigCoupon}
236
- * @memberof InsertConfig
237
- */
238
106
  'coupon'?: InsertConfigCoupon | null;
239
107
  }
240
- /**
241
- *
242
- * @export
243
- * @interface InsertConfigCoupon
244
- */
245
108
  export interface InsertConfigCoupon {
246
109
  /**
247
110
  * The prefix of the coupon code to apply to the insert
248
- * @type {string}
249
- * @memberof InsertConfigCoupon
250
111
  */
251
112
  'prefix': string;
252
113
  /**
253
114
  * The type of coupon to apply to the insert
254
- * @type {string}
255
- * @memberof InsertConfigCoupon
256
115
  */
257
116
  'type': InsertConfigCouponTypeEnum;
258
117
  /**
259
118
  * The number of hours after creation which the coupon will expire
260
- * @type {number}
261
- * @memberof InsertConfigCoupon
262
119
  */
263
120
  'expiryHours': number;
264
121
  /**
265
122
  * The number of times the coupon can be used
266
- * @type {number}
267
- * @memberof InsertConfigCoupon
268
123
  */
269
124
  'numberOfUses': number;
270
125
  /**
271
126
  * A list of delivery methods for the discount.
272
- * @type {Array<string>}
273
- * @memberof InsertConfigCoupon
274
127
  */
275
128
  'freeDeliveryMethods'?: Array<string> | null;
276
- /**
277
- *
278
- * @type {Value}
279
- * @memberof InsertConfigCoupon
280
- */
281
129
  'value': Value;
282
130
  /**
283
131
  * The minimum order value to apply the coupon to
284
- * @type {number}
285
- * @memberof InsertConfigCoupon
286
132
  */
287
133
  'minimumOrderValue': number;
288
- /**
289
- *
290
- * @type {string}
291
- * @memberof InsertConfigCoupon
292
- */
293
134
  'description': string;
294
135
  }
295
136
  export declare const InsertConfigCouponTypeEnum: {
@@ -298,133 +139,84 @@ export declare const InsertConfigCouponTypeEnum: {
298
139
  readonly Item: "item";
299
140
  };
300
141
  export type InsertConfigCouponTypeEnum = typeof InsertConfigCouponTypeEnum[keyof typeof InsertConfigCouponTypeEnum];
301
- /**
302
- *
303
- * @export
304
- * @interface InsertType
305
- */
306
142
  export interface InsertType {
307
143
  /**
308
144
  * Unique object identifier
309
- * @type {string}
310
- * @memberof InsertType
311
145
  */
312
146
  'id': string;
313
147
  /**
314
148
  * The name of the insert type
315
- * @type {string}
316
- * @memberof InsertType
317
149
  */
318
150
  'name': string;
319
151
  /**
320
152
  * The code of the insert type
321
- * @type {string}
322
- * @memberof InsertType
323
153
  */
324
154
  'code': string;
325
155
  /**
326
156
  * The description of the insert type
327
- * @type {string}
328
- * @memberof InsertType
329
157
  */
330
158
  'description': string;
331
159
  }
332
- /**
333
- *
334
- * @export
335
- * @interface UpdateInsertRequest
336
- */
160
+ export interface ListInsertTypes200Response {
161
+ 'insertTypes': Array<InsertType>;
162
+ /**
163
+ * The token referencing the next page number
164
+ */
165
+ 'nextPageToken': number | null;
166
+ }
167
+ export interface ListInserts200Response {
168
+ 'inserts': Array<Insert>;
169
+ /**
170
+ * The token referencing the next page number
171
+ */
172
+ 'nextPageToken': number | null;
173
+ }
337
174
  export interface UpdateInsertRequest {
338
175
  /**
339
176
  * Whether the insert is enabled
340
- * @type {boolean}
341
- * @memberof UpdateInsertRequest
342
177
  */
343
178
  'enabled'?: boolean;
344
179
  /**
345
180
  * A reference to the variant that will be inserted into the order when this insert rule is triggered
346
- * @type {string}
347
- * @memberof UpdateInsertRequest
348
181
  */
349
182
  'variantRef'?: string;
350
183
  /**
351
184
  * A reference to the insert type that will be inserted into the order when this insert rule is triggered
352
- * @type {string}
353
- * @memberof UpdateInsertRequest
354
185
  */
355
186
  'typeRef'?: string;
356
- /**
357
- *
358
- * @type {UpdateInsertRequestConfig}
359
- * @memberof UpdateInsertRequest
360
- */
361
187
  'config'?: UpdateInsertRequestConfig | null;
362
188
  }
363
- /**
364
- *
365
- * @export
366
- * @interface UpdateInsertRequestConfig
367
- */
368
189
  export interface UpdateInsertRequestConfig {
369
- /**
370
- *
371
- * @type {UpdateInsertRequestConfigCoupon}
372
- * @memberof UpdateInsertRequestConfig
373
- */
374
190
  'coupon'?: UpdateInsertRequestConfigCoupon;
375
191
  }
376
- /**
377
- *
378
- * @export
379
- * @interface UpdateInsertRequestConfigCoupon
380
- */
381
192
  export interface UpdateInsertRequestConfigCoupon {
382
193
  /**
383
194
  * The prefix of the coupon code to apply to the insert
384
- * @type {string}
385
- * @memberof UpdateInsertRequestConfigCoupon
386
195
  */
387
196
  'prefix': string;
388
197
  /**
389
198
  * The number of times the coupon can be used
390
- * @type {number}
391
- * @memberof UpdateInsertRequestConfigCoupon
392
199
  */
393
200
  'numberOfUses': number;
394
201
  /**
395
202
  * The number of hours after creation which the coupon will expire
396
- * @type {number}
397
- * @memberof UpdateInsertRequestConfigCoupon
398
203
  */
399
204
  'expiryHours': number;
400
205
  /**
401
206
  * The type of coupon to apply to the insert
402
- * @type {string}
403
- * @memberof UpdateInsertRequestConfigCoupon
404
207
  */
405
208
  'type': UpdateInsertRequestConfigCouponTypeEnum;
406
- /**
407
- *
408
- * @type {Value}
409
- * @memberof UpdateInsertRequestConfigCoupon
410
- */
411
209
  'value': Value;
412
210
  /**
413
211
  * The minimum order value to apply the coupon to
414
- * @type {number}
415
- * @memberof UpdateInsertRequestConfigCoupon
416
212
  */
417
213
  'minimumOrderValue': number;
418
214
  /**
419
215
  * A list of delivery methods that will be used for the discount. **Note:** Adding delivery methods requires the delivery integration to be installed on your project.
420
- * @type {Array<string>}
421
- * @memberof UpdateInsertRequestConfigCoupon
422
216
  */
423
217
  'freeDeliveryMethods'?: Array<string> | null;
424
218
  /**
425
219
  * The description of the coupon to apply to the insert
426
- * @type {string}
427
- * @memberof UpdateInsertRequestConfigCoupon
428
220
  */
429
221
  'description': string;
430
222
  }
@@ -437,12 +229,10 @@ export type UpdateInsertRequestConfigCouponTypeEnum = typeof UpdateInsertRequest
437
229
  /**
438
230
  * @type Value
439
231
  * The value of the discount. For percentage discounts, this is the percentage (0-100). For fixed discounts, this is the fixed amount. For item discounts, this is the product reference.
440
- * @export
441
232
  */
442
233
  export type Value = number | string;
443
234
  /**
444
235
  * InsertsApi - axios parameter creator
445
- * @export
446
236
  */
447
237
  export declare const InsertsApiAxiosParamCreator: (configuration?: Configuration) => {
448
238
  /**
@@ -487,7 +277,6 @@ export declare const InsertsApiAxiosParamCreator: (configuration?: Configuration
487
277
  };
488
278
  /**
489
279
  * InsertsApi - functional programming interface
490
- * @export
491
280
  */
492
281
  export declare const InsertsApiFp: (configuration?: Configuration) => {
493
282
  /**
@@ -518,7 +307,7 @@ export declare const InsertsApiFp: (configuration?: Configuration) => {
518
307
  * @param {*} [options] Override http request option.
519
308
  * @throws {RequiredError}
520
309
  */
521
- listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
310
+ listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInserts200Response>>;
522
311
  /**
523
312
  * Update an insert for a project
524
313
  * @summary Update an insert
@@ -532,7 +321,6 @@ export declare const InsertsApiFp: (configuration?: Configuration) => {
532
321
  };
533
322
  /**
534
323
  * InsertsApi - factory interface
535
- * @export
536
324
  */
537
325
  export declare const InsertsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
538
326
  /**
@@ -558,7 +346,7 @@ export declare const InsertsApiFactory: (configuration?: Configuration, basePath
558
346
  * @param {*} [options] Override http request option.
559
347
  * @throws {RequiredError}
560
348
  */
561
- listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
349
+ listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListInserts200Response>;
562
350
  /**
563
351
  * Update an insert for a project
564
352
  * @summary Update an insert
@@ -570,103 +358,58 @@ export declare const InsertsApiFactory: (configuration?: Configuration, basePath
570
358
  };
571
359
  /**
572
360
  * Request parameters for createInsert operation in InsertsApi.
573
- * @export
574
- * @interface InsertsApiCreateInsertRequest
575
361
  */
576
362
  export interface InsertsApiCreateInsertRequest {
577
- /**
578
- *
579
- * @type {string}
580
- * @memberof InsertsApiCreateInsert
581
- */
582
363
  readonly project: string;
583
364
  /**
584
365
  * Create an insert
585
- * @type {CreateInsertRequest}
586
- * @memberof InsertsApiCreateInsert
587
366
  */
588
367
  readonly createInsertRequest: CreateInsertRequest;
589
368
  }
590
369
  /**
591
370
  * Request parameters for getInsert operation in InsertsApi.
592
- * @export
593
- * @interface InsertsApiGetInsertRequest
594
371
  */
595
372
  export interface InsertsApiGetInsertRequest {
596
373
  /**
597
374
  * Filter by insert ID
598
- * @type {string}
599
- * @memberof InsertsApiGetInsert
600
375
  */
601
376
  readonly insertId: string;
602
- /**
603
- *
604
- * @type {string}
605
- * @memberof InsertsApiGetInsert
606
- */
607
377
  readonly project: string;
608
378
  }
609
379
  /**
610
380
  * Request parameters for listInserts operation in InsertsApi.
611
- * @export
612
- * @interface InsertsApiListInsertsRequest
613
381
  */
614
382
  export interface InsertsApiListInsertsRequest {
615
- /**
616
- *
617
- * @type {string}
618
- * @memberof InsertsApiListInserts
619
- */
620
383
  readonly project: string;
621
384
  /**
622
385
  * Page reference token
623
- * @type {number}
624
- * @memberof InsertsApiListInserts
625
386
  */
626
387
  readonly pageToken?: number;
627
388
  /**
628
389
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
629
- * @type {number}
630
- * @memberof InsertsApiListInserts
631
390
  */
632
391
  readonly pageSize?: number;
633
392
  /**
634
393
  * Search for inserts by id or name
635
- * @type {string}
636
- * @memberof InsertsApiListInserts
637
394
  */
638
395
  readonly search?: string;
639
396
  }
640
397
  /**
641
398
  * Request parameters for updateInsert operation in InsertsApi.
642
- * @export
643
- * @interface InsertsApiUpdateInsertRequest
644
399
  */
645
400
  export interface InsertsApiUpdateInsertRequest {
646
401
  /**
647
402
  * Filter by insert ID
648
- * @type {string}
649
- * @memberof InsertsApiUpdateInsert
650
403
  */
651
404
  readonly insertId: string;
652
- /**
653
- *
654
- * @type {string}
655
- * @memberof InsertsApiUpdateInsert
656
- */
657
405
  readonly project: string;
658
406
  /**
659
407
  * Update an insert
660
- * @type {UpdateInsertRequest}
661
- * @memberof InsertsApiUpdateInsert
662
408
  */
663
409
  readonly updateInsertRequest: UpdateInsertRequest;
664
410
  }
665
411
  /**
666
412
  * InsertsApi - object-oriented interface
667
- * @export
668
- * @class InsertsApi
669
- * @extends {BaseAPI}
670
413
  */
671
414
  export declare class InsertsApi extends BaseAPI {
672
415
  /**
@@ -675,40 +418,35 @@ export declare class InsertsApi extends BaseAPI {
675
418
  * @param {InsertsApiCreateInsertRequest} requestParameters Request parameters.
676
419
  * @param {*} [options] Override http request option.
677
420
  * @throws {RequiredError}
678
- * @memberof InsertsApi
679
421
  */
680
- createInsert(requestParameters: InsertsApiCreateInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any>>;
422
+ createInsert(requestParameters: InsertsApiCreateInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any, {}>>;
681
423
  /**
682
424
  * Retrieve details for a specific insert for a project
683
425
  * @summary Retrieve an insert for a project
684
426
  * @param {InsertsApiGetInsertRequest} requestParameters Request parameters.
685
427
  * @param {*} [options] Override http request option.
686
428
  * @throws {RequiredError}
687
- * @memberof InsertsApi
688
429
  */
689
- getInsert(requestParameters: InsertsApiGetInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any>>;
430
+ getInsert(requestParameters: InsertsApiGetInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any, {}>>;
690
431
  /**
691
432
  * List your project inserts
692
433
  * @summary List project inserts
693
434
  * @param {InsertsApiListInsertsRequest} requestParameters Request parameters.
694
435
  * @param {*} [options] Override http request option.
695
436
  * @throws {RequiredError}
696
- * @memberof InsertsApi
697
437
  */
698
- listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
438
+ listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInserts200Response, any, {}>>;
699
439
  /**
700
440
  * Update an insert for a project
701
441
  * @summary Update an insert
702
442
  * @param {InsertsApiUpdateInsertRequest} requestParameters Request parameters.
703
443
  * @param {*} [options] Override http request option.
704
444
  * @throws {RequiredError}
705
- * @memberof InsertsApi
706
445
  */
707
- updateInsert(requestParameters: InsertsApiUpdateInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any>>;
446
+ updateInsert(requestParameters: InsertsApiUpdateInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any, {}>>;
708
447
  }
709
448
  /**
710
449
  * InsertsTypesApi - axios parameter creator
711
- * @export
712
450
  */
713
451
  export declare const InsertsTypesApiAxiosParamCreator: (configuration?: Configuration) => {
714
452
  /**
@@ -734,7 +472,6 @@ export declare const InsertsTypesApiAxiosParamCreator: (configuration?: Configur
734
472
  };
735
473
  /**
736
474
  * InsertsTypesApi - functional programming interface
737
- * @export
738
475
  */
739
476
  export declare const InsertsTypesApiFp: (configuration?: Configuration) => {
740
477
  /**
@@ -756,11 +493,10 @@ export declare const InsertsTypesApiFp: (configuration?: Configuration) => {
756
493
  * @param {*} [options] Override http request option.
757
494
  * @throws {RequiredError}
758
495
  */
759
- listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
496
+ listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsertTypes200Response>>;
760
497
  };
761
498
  /**
762
499
  * InsertsTypesApi - factory interface
763
- * @export
764
500
  */
765
501
  export declare const InsertsTypesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
766
502
  /**
@@ -778,63 +514,38 @@ export declare const InsertsTypesApiFactory: (configuration?: Configuration, bas
778
514
  * @param {*} [options] Override http request option.
779
515
  * @throws {RequiredError}
780
516
  */
781
- listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
517
+ listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListInsertTypes200Response>;
782
518
  };
783
519
  /**
784
520
  * Request parameters for getInsertType operation in InsertsTypesApi.
785
- * @export
786
- * @interface InsertsTypesApiGetInsertTypeRequest
787
521
  */
788
522
  export interface InsertsTypesApiGetInsertTypeRequest {
789
523
  /**
790
524
  * Filter by insert type ID
791
- * @type {string}
792
- * @memberof InsertsTypesApiGetInsertType
793
525
  */
794
526
  readonly insertTypeId: string;
795
- /**
796
- *
797
- * @type {string}
798
- * @memberof InsertsTypesApiGetInsertType
799
- */
800
527
  readonly project: string;
801
528
  }
802
529
  /**
803
530
  * Request parameters for listInsertTypes operation in InsertsTypesApi.
804
- * @export
805
- * @interface InsertsTypesApiListInsertTypesRequest
806
531
  */
807
532
  export interface InsertsTypesApiListInsertTypesRequest {
808
- /**
809
- *
810
- * @type {string}
811
- * @memberof InsertsTypesApiListInsertTypes
812
- */
813
533
  readonly project: string;
814
534
  /**
815
535
  * Page reference token
816
- * @type {number}
817
- * @memberof InsertsTypesApiListInsertTypes
818
536
  */
819
537
  readonly pageToken?: number;
820
538
  /**
821
539
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
822
- * @type {number}
823
- * @memberof InsertsTypesApiListInsertTypes
824
540
  */
825
541
  readonly pageSize?: number;
826
542
  /**
827
543
  * Search for inserts by id or name
828
- * @type {string}
829
- * @memberof InsertsTypesApiListInsertTypes
830
544
  */
831
545
  readonly search?: string;
832
546
  }
833
547
  /**
834
548
  * InsertsTypesApi - object-oriented interface
835
- * @export
836
- * @class InsertsTypesApi
837
- * @extends {BaseAPI}
838
549
  */
839
550
  export declare class InsertsTypesApi extends BaseAPI {
840
551
  /**
@@ -843,16 +554,14 @@ export declare class InsertsTypesApi extends BaseAPI {
843
554
  * @param {InsertsTypesApiGetInsertTypeRequest} requestParameters Request parameters.
844
555
  * @param {*} [options] Override http request option.
845
556
  * @throws {RequiredError}
846
- * @memberof InsertsTypesApi
847
557
  */
848
- getInsertType(requestParameters: InsertsTypesApiGetInsertTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsertType, any>>;
558
+ getInsertType(requestParameters: InsertsTypesApiGetInsertTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsertType, any, {}>>;
849
559
  /**
850
560
  * List all insert types
851
561
  * @summary List insert types
852
562
  * @param {InsertsTypesApiListInsertTypesRequest} requestParameters Request parameters.
853
563
  * @param {*} [options] Override http request option.
854
564
  * @throws {RequiredError}
855
- * @memberof InsertsTypesApi
856
565
  */
857
- listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
566
+ listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInsertTypes200Response, any, {}>>;
858
567
  }