@teemill/inserts 0.1.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 +46 -0
- package/api.ts +985 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +612 -0
- package/dist/api.js +602 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +612 -0
- package/dist/esm/api.js +591 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +33 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
package/dist/api.d.ts
ADDED
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inserts API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiError
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiError
|
|
26
|
+
*/
|
|
27
|
+
'message': string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiError
|
|
32
|
+
*/
|
|
33
|
+
'code': string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface CreateInsertRequest
|
|
39
|
+
*/
|
|
40
|
+
export interface CreateInsertRequest {
|
|
41
|
+
/**
|
|
42
|
+
* Whether the insert is enabled
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof CreateInsertRequest
|
|
45
|
+
*/
|
|
46
|
+
'enabled': boolean;
|
|
47
|
+
/**
|
|
48
|
+
* A reference to the product that will be inserted into the order when this insert rule is triggered
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateInsertRequest
|
|
51
|
+
*/
|
|
52
|
+
'productRef': string | null;
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
+
*/
|
|
58
|
+
'typeRef': string | null;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @export
|
|
63
|
+
* @interface Insert
|
|
64
|
+
*/
|
|
65
|
+
export interface Insert {
|
|
66
|
+
/**
|
|
67
|
+
* Unique object identifier
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Insert
|
|
70
|
+
*/
|
|
71
|
+
'id': string;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the insert is enabled
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof Insert
|
|
76
|
+
*/
|
|
77
|
+
'enabled': boolean;
|
|
78
|
+
/**
|
|
79
|
+
* A reference to the product that will be inserted into the order when this insert rule is triggered
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof Insert
|
|
82
|
+
*/
|
|
83
|
+
'productRef': string | null;
|
|
84
|
+
/**
|
|
85
|
+
* A reference to the insert type that will be inserted into the order when this insert rule is triggered
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Insert
|
|
88
|
+
*/
|
|
89
|
+
'typeRef': string | null;
|
|
90
|
+
/**
|
|
91
|
+
* ISO 8601 Timestamp
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof Insert
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* ISO 8601 Timestamp
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof Insert
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string | null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @export
|
|
106
|
+
* @interface InsertType
|
|
107
|
+
*/
|
|
108
|
+
export interface InsertType {
|
|
109
|
+
/**
|
|
110
|
+
* Unique object identifier
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof InsertType
|
|
113
|
+
*/
|
|
114
|
+
'id': string;
|
|
115
|
+
/**
|
|
116
|
+
* The name of the insert type
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof InsertType
|
|
119
|
+
*/
|
|
120
|
+
'name': string;
|
|
121
|
+
/**
|
|
122
|
+
* The code of the insert type
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof InsertType
|
|
125
|
+
*/
|
|
126
|
+
'code': string;
|
|
127
|
+
/**
|
|
128
|
+
* The description of the insert type
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof InsertType
|
|
131
|
+
*/
|
|
132
|
+
'description': string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @export
|
|
137
|
+
* @interface ListInsertTypes200Response
|
|
138
|
+
*/
|
|
139
|
+
export interface ListInsertTypes200Response {
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {Array<InsertType>}
|
|
143
|
+
* @memberof ListInsertTypes200Response
|
|
144
|
+
*/
|
|
145
|
+
'insertTypes': Array<InsertType>;
|
|
146
|
+
/**
|
|
147
|
+
* The token referencing the next page number
|
|
148
|
+
* @type {number}
|
|
149
|
+
* @memberof ListInsertTypes200Response
|
|
150
|
+
*/
|
|
151
|
+
'nextPageToken': number | null;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @export
|
|
156
|
+
* @interface ListInserts200Response
|
|
157
|
+
*/
|
|
158
|
+
export interface ListInserts200Response {
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {Array<Insert>}
|
|
162
|
+
* @memberof ListInserts200Response
|
|
163
|
+
*/
|
|
164
|
+
'inserts': Array<Insert>;
|
|
165
|
+
/**
|
|
166
|
+
* The token referencing the next page number
|
|
167
|
+
* @type {number}
|
|
168
|
+
* @memberof ListInserts200Response
|
|
169
|
+
*/
|
|
170
|
+
'nextPageToken': number | null;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @export
|
|
175
|
+
* @interface UpdateInsertRequest
|
|
176
|
+
*/
|
|
177
|
+
export interface UpdateInsertRequest {
|
|
178
|
+
/**
|
|
179
|
+
* Whether the insert is enabled
|
|
180
|
+
* @type {boolean}
|
|
181
|
+
* @memberof UpdateInsertRequest
|
|
182
|
+
*/
|
|
183
|
+
'enabled'?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* A reference to the product that will be inserted into the order when this insert rule is triggered
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof UpdateInsertRequest
|
|
188
|
+
*/
|
|
189
|
+
'productRef'?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* A reference to the insert type that will be inserted into the order when this insert rule is triggered
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof UpdateInsertRequest
|
|
194
|
+
*/
|
|
195
|
+
'typeRef'?: string | null;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* InsertsApi - axios parameter creator
|
|
199
|
+
* @export
|
|
200
|
+
*/
|
|
201
|
+
export declare const InsertsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
202
|
+
/**
|
|
203
|
+
* Create an insert for a project
|
|
204
|
+
* @summary Create an insert
|
|
205
|
+
* @param {string} project
|
|
206
|
+
* @param {CreateInsertRequest} createInsertRequest Create an insert
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
createInsert: (project: string, createInsertRequest: CreateInsertRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
211
|
+
/**
|
|
212
|
+
* Retrieve details for a specific insert for a project
|
|
213
|
+
* @summary Retrieve an insert for a project
|
|
214
|
+
* @param {string} insertId Filter by insert ID
|
|
215
|
+
* @param {string} project
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
getInsert: (insertId: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
220
|
+
/**
|
|
221
|
+
* List your project inserts
|
|
222
|
+
* @summary List project inserts
|
|
223
|
+
* @param {string} project
|
|
224
|
+
* @param {number} [pageToken] Page reference token
|
|
225
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
226
|
+
* @param {string} [search] Search for inserts by id or name
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
listInserts: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
231
|
+
/**
|
|
232
|
+
* Update an insert for a project
|
|
233
|
+
* @summary Update an insert
|
|
234
|
+
* @param {string} insertId Filter by insert ID
|
|
235
|
+
* @param {string} project
|
|
236
|
+
* @param {UpdateInsertRequest} updateInsertRequest Update an insert
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
updateInsert: (insertId: string, project: string, updateInsertRequest: UpdateInsertRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* InsertsApi - functional programming interface
|
|
244
|
+
* @export
|
|
245
|
+
*/
|
|
246
|
+
export declare const InsertsApiFp: (configuration?: Configuration) => {
|
|
247
|
+
/**
|
|
248
|
+
* Create an insert for a project
|
|
249
|
+
* @summary Create an insert
|
|
250
|
+
* @param {string} project
|
|
251
|
+
* @param {CreateInsertRequest} createInsertRequest Create an insert
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
createInsert(project: string, createInsertRequest: CreateInsertRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Insert>>;
|
|
256
|
+
/**
|
|
257
|
+
* Retrieve details for a specific insert for a project
|
|
258
|
+
* @summary Retrieve an insert for a project
|
|
259
|
+
* @param {string} insertId Filter by insert ID
|
|
260
|
+
* @param {string} project
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
getInsert(insertId: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Insert>>;
|
|
265
|
+
/**
|
|
266
|
+
* List your project inserts
|
|
267
|
+
* @summary List project inserts
|
|
268
|
+
* @param {string} project
|
|
269
|
+
* @param {number} [pageToken] Page reference token
|
|
270
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
271
|
+
* @param {string} [search] Search for inserts by id or name
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
listInserts(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInserts200Response>>;
|
|
276
|
+
/**
|
|
277
|
+
* Update an insert for a project
|
|
278
|
+
* @summary Update an insert
|
|
279
|
+
* @param {string} insertId Filter by insert ID
|
|
280
|
+
* @param {string} project
|
|
281
|
+
* @param {UpdateInsertRequest} updateInsertRequest Update an insert
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
updateInsert(insertId: string, project: string, updateInsertRequest: UpdateInsertRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Insert>>;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* InsertsApi - factory interface
|
|
289
|
+
* @export
|
|
290
|
+
*/
|
|
291
|
+
export declare const InsertsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
292
|
+
/**
|
|
293
|
+
* Create an insert for a project
|
|
294
|
+
* @summary Create an insert
|
|
295
|
+
* @param {InsertsApiCreateInsertRequest} requestParameters Request parameters.
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
*/
|
|
299
|
+
createInsert(requestParameters: InsertsApiCreateInsertRequest, options?: RawAxiosRequestConfig): AxiosPromise<Insert>;
|
|
300
|
+
/**
|
|
301
|
+
* Retrieve details for a specific insert for a project
|
|
302
|
+
* @summary Retrieve an insert for a project
|
|
303
|
+
* @param {InsertsApiGetInsertRequest} requestParameters Request parameters.
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
getInsert(requestParameters: InsertsApiGetInsertRequest, options?: RawAxiosRequestConfig): AxiosPromise<Insert>;
|
|
308
|
+
/**
|
|
309
|
+
* List your project inserts
|
|
310
|
+
* @summary List project inserts
|
|
311
|
+
* @param {InsertsApiListInsertsRequest} requestParameters Request parameters.
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListInserts200Response>;
|
|
316
|
+
/**
|
|
317
|
+
* Update an insert for a project
|
|
318
|
+
* @summary Update an insert
|
|
319
|
+
* @param {InsertsApiUpdateInsertRequest} requestParameters Request parameters.
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
updateInsert(requestParameters: InsertsApiUpdateInsertRequest, options?: RawAxiosRequestConfig): AxiosPromise<Insert>;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Request parameters for createInsert operation in InsertsApi.
|
|
327
|
+
* @export
|
|
328
|
+
* @interface InsertsApiCreateInsertRequest
|
|
329
|
+
*/
|
|
330
|
+
export interface InsertsApiCreateInsertRequest {
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof InsertsApiCreateInsert
|
|
335
|
+
*/
|
|
336
|
+
readonly project: string;
|
|
337
|
+
/**
|
|
338
|
+
* Create an insert
|
|
339
|
+
* @type {CreateInsertRequest}
|
|
340
|
+
* @memberof InsertsApiCreateInsert
|
|
341
|
+
*/
|
|
342
|
+
readonly createInsertRequest: CreateInsertRequest;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Request parameters for getInsert operation in InsertsApi.
|
|
346
|
+
* @export
|
|
347
|
+
* @interface InsertsApiGetInsertRequest
|
|
348
|
+
*/
|
|
349
|
+
export interface InsertsApiGetInsertRequest {
|
|
350
|
+
/**
|
|
351
|
+
* Filter by insert ID
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof InsertsApiGetInsert
|
|
354
|
+
*/
|
|
355
|
+
readonly insertId: string;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof InsertsApiGetInsert
|
|
360
|
+
*/
|
|
361
|
+
readonly project: string;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Request parameters for listInserts operation in InsertsApi.
|
|
365
|
+
* @export
|
|
366
|
+
* @interface InsertsApiListInsertsRequest
|
|
367
|
+
*/
|
|
368
|
+
export interface InsertsApiListInsertsRequest {
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof InsertsApiListInserts
|
|
373
|
+
*/
|
|
374
|
+
readonly project: string;
|
|
375
|
+
/**
|
|
376
|
+
* Page reference token
|
|
377
|
+
* @type {number}
|
|
378
|
+
* @memberof InsertsApiListInserts
|
|
379
|
+
*/
|
|
380
|
+
readonly pageToken?: number;
|
|
381
|
+
/**
|
|
382
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
383
|
+
* @type {number}
|
|
384
|
+
* @memberof InsertsApiListInserts
|
|
385
|
+
*/
|
|
386
|
+
readonly pageSize?: number;
|
|
387
|
+
/**
|
|
388
|
+
* Search for inserts by id or name
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof InsertsApiListInserts
|
|
391
|
+
*/
|
|
392
|
+
readonly search?: string;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Request parameters for updateInsert operation in InsertsApi.
|
|
396
|
+
* @export
|
|
397
|
+
* @interface InsertsApiUpdateInsertRequest
|
|
398
|
+
*/
|
|
399
|
+
export interface InsertsApiUpdateInsertRequest {
|
|
400
|
+
/**
|
|
401
|
+
* Filter by insert ID
|
|
402
|
+
* @type {string}
|
|
403
|
+
* @memberof InsertsApiUpdateInsert
|
|
404
|
+
*/
|
|
405
|
+
readonly insertId: string;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @type {string}
|
|
409
|
+
* @memberof InsertsApiUpdateInsert
|
|
410
|
+
*/
|
|
411
|
+
readonly project: string;
|
|
412
|
+
/**
|
|
413
|
+
* Update an insert
|
|
414
|
+
* @type {UpdateInsertRequest}
|
|
415
|
+
* @memberof InsertsApiUpdateInsert
|
|
416
|
+
*/
|
|
417
|
+
readonly updateInsertRequest: UpdateInsertRequest;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* InsertsApi - object-oriented interface
|
|
421
|
+
* @export
|
|
422
|
+
* @class InsertsApi
|
|
423
|
+
* @extends {BaseAPI}
|
|
424
|
+
*/
|
|
425
|
+
export declare class InsertsApi extends BaseAPI {
|
|
426
|
+
/**
|
|
427
|
+
* Create an insert for a project
|
|
428
|
+
* @summary Create an insert
|
|
429
|
+
* @param {InsertsApiCreateInsertRequest} requestParameters Request parameters.
|
|
430
|
+
* @param {*} [options] Override http request option.
|
|
431
|
+
* @throws {RequiredError}
|
|
432
|
+
* @memberof InsertsApi
|
|
433
|
+
*/
|
|
434
|
+
createInsert(requestParameters: InsertsApiCreateInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any>>;
|
|
435
|
+
/**
|
|
436
|
+
* Retrieve details for a specific insert for a project
|
|
437
|
+
* @summary Retrieve an insert for a project
|
|
438
|
+
* @param {InsertsApiGetInsertRequest} requestParameters Request parameters.
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
* @memberof InsertsApi
|
|
442
|
+
*/
|
|
443
|
+
getInsert(requestParameters: InsertsApiGetInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any>>;
|
|
444
|
+
/**
|
|
445
|
+
* List your project inserts
|
|
446
|
+
* @summary List project inserts
|
|
447
|
+
* @param {InsertsApiListInsertsRequest} requestParameters Request parameters.
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
* @memberof InsertsApi
|
|
451
|
+
*/
|
|
452
|
+
listInserts(requestParameters: InsertsApiListInsertsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInserts200Response, any>>;
|
|
453
|
+
/**
|
|
454
|
+
* Update an insert for a project
|
|
455
|
+
* @summary Update an insert
|
|
456
|
+
* @param {InsertsApiUpdateInsertRequest} requestParameters Request parameters.
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
* @memberof InsertsApi
|
|
460
|
+
*/
|
|
461
|
+
updateInsert(requestParameters: InsertsApiUpdateInsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Insert, any>>;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* InsertsTypesApi - axios parameter creator
|
|
465
|
+
* @export
|
|
466
|
+
*/
|
|
467
|
+
export declare const InsertsTypesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
468
|
+
/**
|
|
469
|
+
* Retrieve details for a specific insert type
|
|
470
|
+
* @summary Retrieve an insert type
|
|
471
|
+
* @param {string} insertTypeId Filter by insert type ID
|
|
472
|
+
* @param {string} project
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
getInsertType: (insertTypeId: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
477
|
+
/**
|
|
478
|
+
* List all insert types
|
|
479
|
+
* @summary List insert types
|
|
480
|
+
* @param {string} project
|
|
481
|
+
* @param {number} [pageToken] Page reference token
|
|
482
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
483
|
+
* @param {string} [search] Search for inserts by id or name
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
listInsertTypes: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* InsertsTypesApi - functional programming interface
|
|
491
|
+
* @export
|
|
492
|
+
*/
|
|
493
|
+
export declare const InsertsTypesApiFp: (configuration?: Configuration) => {
|
|
494
|
+
/**
|
|
495
|
+
* Retrieve details for a specific insert type
|
|
496
|
+
* @summary Retrieve an insert type
|
|
497
|
+
* @param {string} insertTypeId Filter by insert type ID
|
|
498
|
+
* @param {string} project
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
getInsertType(insertTypeId: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsertType>>;
|
|
503
|
+
/**
|
|
504
|
+
* List all insert types
|
|
505
|
+
* @summary List insert types
|
|
506
|
+
* @param {string} project
|
|
507
|
+
* @param {number} [pageToken] Page reference token
|
|
508
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
509
|
+
* @param {string} [search] Search for inserts by id or name
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
*/
|
|
513
|
+
listInsertTypes(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsertTypes200Response>>;
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* InsertsTypesApi - factory interface
|
|
517
|
+
* @export
|
|
518
|
+
*/
|
|
519
|
+
export declare const InsertsTypesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
520
|
+
/**
|
|
521
|
+
* Retrieve details for a specific insert type
|
|
522
|
+
* @summary Retrieve an insert type
|
|
523
|
+
* @param {InsertsTypesApiGetInsertTypeRequest} requestParameters Request parameters.
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
*/
|
|
527
|
+
getInsertType(requestParameters: InsertsTypesApiGetInsertTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InsertType>;
|
|
528
|
+
/**
|
|
529
|
+
* List all insert types
|
|
530
|
+
* @summary List insert types
|
|
531
|
+
* @param {InsertsTypesApiListInsertTypesRequest} requestParameters Request parameters.
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
*/
|
|
535
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListInsertTypes200Response>;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Request parameters for getInsertType operation in InsertsTypesApi.
|
|
539
|
+
* @export
|
|
540
|
+
* @interface InsertsTypesApiGetInsertTypeRequest
|
|
541
|
+
*/
|
|
542
|
+
export interface InsertsTypesApiGetInsertTypeRequest {
|
|
543
|
+
/**
|
|
544
|
+
* Filter by insert type ID
|
|
545
|
+
* @type {string}
|
|
546
|
+
* @memberof InsertsTypesApiGetInsertType
|
|
547
|
+
*/
|
|
548
|
+
readonly insertTypeId: string;
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {string}
|
|
552
|
+
* @memberof InsertsTypesApiGetInsertType
|
|
553
|
+
*/
|
|
554
|
+
readonly project: string;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* Request parameters for listInsertTypes operation in InsertsTypesApi.
|
|
558
|
+
* @export
|
|
559
|
+
* @interface InsertsTypesApiListInsertTypesRequest
|
|
560
|
+
*/
|
|
561
|
+
export interface InsertsTypesApiListInsertTypesRequest {
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof InsertsTypesApiListInsertTypes
|
|
566
|
+
*/
|
|
567
|
+
readonly project: string;
|
|
568
|
+
/**
|
|
569
|
+
* Page reference token
|
|
570
|
+
* @type {number}
|
|
571
|
+
* @memberof InsertsTypesApiListInsertTypes
|
|
572
|
+
*/
|
|
573
|
+
readonly pageToken?: number;
|
|
574
|
+
/**
|
|
575
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
576
|
+
* @type {number}
|
|
577
|
+
* @memberof InsertsTypesApiListInsertTypes
|
|
578
|
+
*/
|
|
579
|
+
readonly pageSize?: number;
|
|
580
|
+
/**
|
|
581
|
+
* Search for inserts by id or name
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof InsertsTypesApiListInsertTypes
|
|
584
|
+
*/
|
|
585
|
+
readonly search?: string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* InsertsTypesApi - object-oriented interface
|
|
589
|
+
* @export
|
|
590
|
+
* @class InsertsTypesApi
|
|
591
|
+
* @extends {BaseAPI}
|
|
592
|
+
*/
|
|
593
|
+
export declare class InsertsTypesApi extends BaseAPI {
|
|
594
|
+
/**
|
|
595
|
+
* Retrieve details for a specific insert type
|
|
596
|
+
* @summary Retrieve an insert type
|
|
597
|
+
* @param {InsertsTypesApiGetInsertTypeRequest} requestParameters Request parameters.
|
|
598
|
+
* @param {*} [options] Override http request option.
|
|
599
|
+
* @throws {RequiredError}
|
|
600
|
+
* @memberof InsertsTypesApi
|
|
601
|
+
*/
|
|
602
|
+
getInsertType(requestParameters: InsertsTypesApiGetInsertTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsertType, any>>;
|
|
603
|
+
/**
|
|
604
|
+
* List all insert types
|
|
605
|
+
* @summary List insert types
|
|
606
|
+
* @param {InsertsTypesApiListInsertTypesRequest} requestParameters Request parameters.
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
* @memberof InsertsTypesApi
|
|
610
|
+
*/
|
|
611
|
+
listInsertTypes(requestParameters: InsertsTypesApiListInsertTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInsertTypes200Response, any>>;
|
|
612
|
+
}
|