@teemill/platform 0.32.0 → 0.33.0
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 +11 -2
- package/api.ts +803 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +485 -1
- package/dist/api.js +483 -2
- 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 +485 -1
- package/dist/esm/api.js +478 -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/CreatePixelRequest.md +24 -0
- package/docs/CreatePixelRequestFilters.md +24 -0
- package/docs/Pixel.md +26 -0
- package/docs/PixelsApi.md +341 -0
- package/docs/PixelsResponse.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.33.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -434,6 +434,56 @@ export interface CreateOrderContactInformation {
|
|
|
434
434
|
*/
|
|
435
435
|
'phone'?: string | null;
|
|
436
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @export
|
|
440
|
+
* @interface CreatePixelRequest
|
|
441
|
+
*/
|
|
442
|
+
export interface CreatePixelRequest {
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @type {string}
|
|
446
|
+
* @memberof CreatePixelRequest
|
|
447
|
+
*/
|
|
448
|
+
'name': string;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @type {Array<string>}
|
|
452
|
+
* @memberof CreatePixelRequest
|
|
453
|
+
*/
|
|
454
|
+
'sourceProjects': Array<string>;
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @type {CreatePixelRequestFilters}
|
|
458
|
+
* @memberof CreatePixelRequest
|
|
459
|
+
*/
|
|
460
|
+
'filters': CreatePixelRequestFilters;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @export
|
|
465
|
+
* @interface CreatePixelRequestFilters
|
|
466
|
+
*/
|
|
467
|
+
export interface CreatePixelRequestFilters {
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @type {Array<string>}
|
|
471
|
+
* @memberof CreatePixelRequestFilters
|
|
472
|
+
*/
|
|
473
|
+
'projects': Array<string> | null;
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {Array<string>}
|
|
477
|
+
* @memberof CreatePixelRequestFilters
|
|
478
|
+
*/
|
|
479
|
+
'demographics': Array<string> | null;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @type {Array<string>}
|
|
483
|
+
* @memberof CreatePixelRequestFilters
|
|
484
|
+
*/
|
|
485
|
+
'tags': Array<string> | null;
|
|
486
|
+
}
|
|
437
487
|
/**
|
|
438
488
|
* @type CreateReview201Response
|
|
439
489
|
* @export
|
|
@@ -1629,6 +1679,56 @@ export const PaymentAttemptStatusEnum = {
|
|
|
1629
1679
|
|
|
1630
1680
|
export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
|
|
1631
1681
|
|
|
1682
|
+
/**
|
|
1683
|
+
*
|
|
1684
|
+
* @export
|
|
1685
|
+
* @interface Pixel
|
|
1686
|
+
*/
|
|
1687
|
+
export interface Pixel {
|
|
1688
|
+
/**
|
|
1689
|
+
* Unique object identifier
|
|
1690
|
+
* @type {string}
|
|
1691
|
+
* @memberof Pixel
|
|
1692
|
+
*/
|
|
1693
|
+
'id': string;
|
|
1694
|
+
/**
|
|
1695
|
+
*
|
|
1696
|
+
* @type {string}
|
|
1697
|
+
* @memberof Pixel
|
|
1698
|
+
*/
|
|
1699
|
+
'name': string;
|
|
1700
|
+
/**
|
|
1701
|
+
*
|
|
1702
|
+
* @type {Array<string>}
|
|
1703
|
+
* @memberof Pixel
|
|
1704
|
+
*/
|
|
1705
|
+
'sourceProjects': Array<string>;
|
|
1706
|
+
/**
|
|
1707
|
+
*
|
|
1708
|
+
* @type {CreatePixelRequestFilters}
|
|
1709
|
+
* @memberof Pixel
|
|
1710
|
+
*/
|
|
1711
|
+
'filters': CreatePixelRequestFilters;
|
|
1712
|
+
}
|
|
1713
|
+
/**
|
|
1714
|
+
*
|
|
1715
|
+
* @export
|
|
1716
|
+
* @interface PixelsResponse
|
|
1717
|
+
*/
|
|
1718
|
+
export interface PixelsResponse {
|
|
1719
|
+
/**
|
|
1720
|
+
*
|
|
1721
|
+
* @type {Array<Pixel>}
|
|
1722
|
+
* @memberof PixelsResponse
|
|
1723
|
+
*/
|
|
1724
|
+
'pixels': Array<Pixel>;
|
|
1725
|
+
/**
|
|
1726
|
+
*
|
|
1727
|
+
* @type {number}
|
|
1728
|
+
* @memberof PixelsResponse
|
|
1729
|
+
*/
|
|
1730
|
+
'nextPageToken'?: number | null;
|
|
1731
|
+
}
|
|
1632
1732
|
/**
|
|
1633
1733
|
*
|
|
1634
1734
|
* @export
|
|
@@ -6138,6 +6238,708 @@ export class PaymentApi extends BaseAPI {
|
|
|
6138
6238
|
|
|
6139
6239
|
|
|
6140
6240
|
|
|
6241
|
+
/**
|
|
6242
|
+
* PixelsApi - axios parameter creator
|
|
6243
|
+
* @export
|
|
6244
|
+
*/
|
|
6245
|
+
export const PixelsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
6246
|
+
return {
|
|
6247
|
+
/**
|
|
6248
|
+
*
|
|
6249
|
+
* @summary Create a pixel
|
|
6250
|
+
* @param {string} project Project unique identifier
|
|
6251
|
+
* @param {string} platformId The platform identifier
|
|
6252
|
+
* @param {number} [pageToken] Page reference token
|
|
6253
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
6254
|
+
* @param {string} [search] Search term to filter results
|
|
6255
|
+
* @param {CreatePixelRequest} [createPixelRequest]
|
|
6256
|
+
* @param {*} [options] Override http request option.
|
|
6257
|
+
* @throws {RequiredError}
|
|
6258
|
+
*/
|
|
6259
|
+
createPixel: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, createPixelRequest?: CreatePixelRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6260
|
+
// verify required parameter 'project' is not null or undefined
|
|
6261
|
+
assertParamExists('createPixel', 'project', project)
|
|
6262
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
6263
|
+
assertParamExists('createPixel', 'platformId', platformId)
|
|
6264
|
+
const localVarPath = `/v1/platform/{platformId}/pixels`
|
|
6265
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
6266
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6267
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6268
|
+
let baseOptions;
|
|
6269
|
+
if (configuration) {
|
|
6270
|
+
baseOptions = configuration.baseOptions;
|
|
6271
|
+
}
|
|
6272
|
+
|
|
6273
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6274
|
+
const localVarHeaderParameter = {} as any;
|
|
6275
|
+
const localVarQueryParameter = {} as any;
|
|
6276
|
+
|
|
6277
|
+
// authentication session-oauth required
|
|
6278
|
+
// oauth required
|
|
6279
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
6280
|
+
|
|
6281
|
+
// authentication api-key required
|
|
6282
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6283
|
+
|
|
6284
|
+
if (project !== undefined) {
|
|
6285
|
+
localVarQueryParameter['project'] = project;
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
if (pageToken !== undefined) {
|
|
6289
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
6290
|
+
}
|
|
6291
|
+
|
|
6292
|
+
if (pageSize !== undefined) {
|
|
6293
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
6294
|
+
}
|
|
6295
|
+
|
|
6296
|
+
if (search !== undefined) {
|
|
6297
|
+
localVarQueryParameter['search'] = search;
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
|
|
6301
|
+
|
|
6302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6303
|
+
|
|
6304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6307
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPixelRequest, localVarRequestOptions, configuration)
|
|
6308
|
+
|
|
6309
|
+
return {
|
|
6310
|
+
url: toPathString(localVarUrlObj),
|
|
6311
|
+
options: localVarRequestOptions,
|
|
6312
|
+
};
|
|
6313
|
+
},
|
|
6314
|
+
/**
|
|
6315
|
+
* Delete a pixel
|
|
6316
|
+
* @summary Delete a pixel
|
|
6317
|
+
* @param {string} project Project unique identifier
|
|
6318
|
+
* @param {string} platformId The platform identifier
|
|
6319
|
+
* @param {string} pixelId The pixel identifier
|
|
6320
|
+
* @param {*} [options] Override http request option.
|
|
6321
|
+
* @throws {RequiredError}
|
|
6322
|
+
*/
|
|
6323
|
+
deletePixel: async (project: string, platformId: string, pixelId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6324
|
+
// verify required parameter 'project' is not null or undefined
|
|
6325
|
+
assertParamExists('deletePixel', 'project', project)
|
|
6326
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
6327
|
+
assertParamExists('deletePixel', 'platformId', platformId)
|
|
6328
|
+
// verify required parameter 'pixelId' is not null or undefined
|
|
6329
|
+
assertParamExists('deletePixel', 'pixelId', pixelId)
|
|
6330
|
+
const localVarPath = `/v1/platform/{platformId}/pixels/{pixelId}`
|
|
6331
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
6332
|
+
.replace(`{${"pixelId"}}`, encodeURIComponent(String(pixelId)));
|
|
6333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6335
|
+
let baseOptions;
|
|
6336
|
+
if (configuration) {
|
|
6337
|
+
baseOptions = configuration.baseOptions;
|
|
6338
|
+
}
|
|
6339
|
+
|
|
6340
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
6341
|
+
const localVarHeaderParameter = {} as any;
|
|
6342
|
+
const localVarQueryParameter = {} as any;
|
|
6343
|
+
|
|
6344
|
+
// authentication session-oauth required
|
|
6345
|
+
// oauth required
|
|
6346
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
6347
|
+
|
|
6348
|
+
// authentication api-key required
|
|
6349
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6350
|
+
|
|
6351
|
+
if (project !== undefined) {
|
|
6352
|
+
localVarQueryParameter['project'] = project;
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
|
|
6356
|
+
|
|
6357
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6359
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6360
|
+
|
|
6361
|
+
return {
|
|
6362
|
+
url: toPathString(localVarUrlObj),
|
|
6363
|
+
options: localVarRequestOptions,
|
|
6364
|
+
};
|
|
6365
|
+
},
|
|
6366
|
+
/**
|
|
6367
|
+
* Get a pixel for a platform by a given pixel ID.
|
|
6368
|
+
* @summary Get pixel
|
|
6369
|
+
* @param {string} project Project unique identifier
|
|
6370
|
+
* @param {string} platformId The platform identifier
|
|
6371
|
+
* @param {string} pixelId The pixel identifier
|
|
6372
|
+
* @param {*} [options] Override http request option.
|
|
6373
|
+
* @throws {RequiredError}
|
|
6374
|
+
*/
|
|
6375
|
+
getPixel: async (project: string, platformId: string, pixelId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6376
|
+
// verify required parameter 'project' is not null or undefined
|
|
6377
|
+
assertParamExists('getPixel', 'project', project)
|
|
6378
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
6379
|
+
assertParamExists('getPixel', 'platformId', platformId)
|
|
6380
|
+
// verify required parameter 'pixelId' is not null or undefined
|
|
6381
|
+
assertParamExists('getPixel', 'pixelId', pixelId)
|
|
6382
|
+
const localVarPath = `/v1/platform/{platformId}/pixels/{pixelId}`
|
|
6383
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
6384
|
+
.replace(`{${"pixelId"}}`, encodeURIComponent(String(pixelId)));
|
|
6385
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6386
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6387
|
+
let baseOptions;
|
|
6388
|
+
if (configuration) {
|
|
6389
|
+
baseOptions = configuration.baseOptions;
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6393
|
+
const localVarHeaderParameter = {} as any;
|
|
6394
|
+
const localVarQueryParameter = {} as any;
|
|
6395
|
+
|
|
6396
|
+
// authentication session-oauth required
|
|
6397
|
+
// oauth required
|
|
6398
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
6399
|
+
|
|
6400
|
+
// authentication api-key required
|
|
6401
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6402
|
+
|
|
6403
|
+
if (project !== undefined) {
|
|
6404
|
+
localVarQueryParameter['project'] = project;
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6407
|
+
|
|
6408
|
+
|
|
6409
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6410
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6411
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6412
|
+
|
|
6413
|
+
return {
|
|
6414
|
+
url: toPathString(localVarUrlObj),
|
|
6415
|
+
options: localVarRequestOptions,
|
|
6416
|
+
};
|
|
6417
|
+
},
|
|
6418
|
+
/**
|
|
6419
|
+
* List pixels for a platform
|
|
6420
|
+
* @summary List pixels
|
|
6421
|
+
* @param {string} project Project unique identifier
|
|
6422
|
+
* @param {string} platformId The platform identifier
|
|
6423
|
+
* @param {number} [pageToken] Page reference token
|
|
6424
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
6425
|
+
* @param {string} [search] Search term to filter results
|
|
6426
|
+
* @param {*} [options] Override http request option.
|
|
6427
|
+
* @throws {RequiredError}
|
|
6428
|
+
*/
|
|
6429
|
+
listPixels: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6430
|
+
// verify required parameter 'project' is not null or undefined
|
|
6431
|
+
assertParamExists('listPixels', 'project', project)
|
|
6432
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
6433
|
+
assertParamExists('listPixels', 'platformId', platformId)
|
|
6434
|
+
const localVarPath = `/v1/platform/{platformId}/pixels`
|
|
6435
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
6436
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6437
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6438
|
+
let baseOptions;
|
|
6439
|
+
if (configuration) {
|
|
6440
|
+
baseOptions = configuration.baseOptions;
|
|
6441
|
+
}
|
|
6442
|
+
|
|
6443
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6444
|
+
const localVarHeaderParameter = {} as any;
|
|
6445
|
+
const localVarQueryParameter = {} as any;
|
|
6446
|
+
|
|
6447
|
+
// authentication session-oauth required
|
|
6448
|
+
// oauth required
|
|
6449
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
6450
|
+
|
|
6451
|
+
// authentication api-key required
|
|
6452
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6453
|
+
|
|
6454
|
+
if (project !== undefined) {
|
|
6455
|
+
localVarQueryParameter['project'] = project;
|
|
6456
|
+
}
|
|
6457
|
+
|
|
6458
|
+
if (pageToken !== undefined) {
|
|
6459
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
6460
|
+
}
|
|
6461
|
+
|
|
6462
|
+
if (pageSize !== undefined) {
|
|
6463
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
if (search !== undefined) {
|
|
6467
|
+
localVarQueryParameter['search'] = search;
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
|
|
6471
|
+
|
|
6472
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6473
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6474
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6475
|
+
|
|
6476
|
+
return {
|
|
6477
|
+
url: toPathString(localVarUrlObj),
|
|
6478
|
+
options: localVarRequestOptions,
|
|
6479
|
+
};
|
|
6480
|
+
},
|
|
6481
|
+
/**
|
|
6482
|
+
* Update a pixel
|
|
6483
|
+
* @summary Update a pixel
|
|
6484
|
+
* @param {string} project Project unique identifier
|
|
6485
|
+
* @param {string} platformId The platform identifier
|
|
6486
|
+
* @param {string} pixelId The pixel identifier
|
|
6487
|
+
* @param {CreatePixelRequest} [createPixelRequest]
|
|
6488
|
+
* @param {*} [options] Override http request option.
|
|
6489
|
+
* @throws {RequiredError}
|
|
6490
|
+
*/
|
|
6491
|
+
updatePixel: async (project: string, platformId: string, pixelId: string, createPixelRequest?: CreatePixelRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6492
|
+
// verify required parameter 'project' is not null or undefined
|
|
6493
|
+
assertParamExists('updatePixel', 'project', project)
|
|
6494
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
6495
|
+
assertParamExists('updatePixel', 'platformId', platformId)
|
|
6496
|
+
// verify required parameter 'pixelId' is not null or undefined
|
|
6497
|
+
assertParamExists('updatePixel', 'pixelId', pixelId)
|
|
6498
|
+
const localVarPath = `/v1/platform/{platformId}/pixels/{pixelId}`
|
|
6499
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
6500
|
+
.replace(`{${"pixelId"}}`, encodeURIComponent(String(pixelId)));
|
|
6501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6502
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6503
|
+
let baseOptions;
|
|
6504
|
+
if (configuration) {
|
|
6505
|
+
baseOptions = configuration.baseOptions;
|
|
6506
|
+
}
|
|
6507
|
+
|
|
6508
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
6509
|
+
const localVarHeaderParameter = {} as any;
|
|
6510
|
+
const localVarQueryParameter = {} as any;
|
|
6511
|
+
|
|
6512
|
+
// authentication session-oauth required
|
|
6513
|
+
// oauth required
|
|
6514
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
6515
|
+
|
|
6516
|
+
// authentication api-key required
|
|
6517
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6518
|
+
|
|
6519
|
+
if (project !== undefined) {
|
|
6520
|
+
localVarQueryParameter['project'] = project;
|
|
6521
|
+
}
|
|
6522
|
+
|
|
6523
|
+
|
|
6524
|
+
|
|
6525
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6526
|
+
|
|
6527
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6528
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6529
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6530
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPixelRequest, localVarRequestOptions, configuration)
|
|
6531
|
+
|
|
6532
|
+
return {
|
|
6533
|
+
url: toPathString(localVarUrlObj),
|
|
6534
|
+
options: localVarRequestOptions,
|
|
6535
|
+
};
|
|
6536
|
+
},
|
|
6537
|
+
}
|
|
6538
|
+
};
|
|
6539
|
+
|
|
6540
|
+
/**
|
|
6541
|
+
* PixelsApi - functional programming interface
|
|
6542
|
+
* @export
|
|
6543
|
+
*/
|
|
6544
|
+
export const PixelsApiFp = function(configuration?: Configuration) {
|
|
6545
|
+
const localVarAxiosParamCreator = PixelsApiAxiosParamCreator(configuration)
|
|
6546
|
+
return {
|
|
6547
|
+
/**
|
|
6548
|
+
*
|
|
6549
|
+
* @summary Create a pixel
|
|
6550
|
+
* @param {string} project Project unique identifier
|
|
6551
|
+
* @param {string} platformId The platform identifier
|
|
6552
|
+
* @param {number} [pageToken] Page reference token
|
|
6553
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
6554
|
+
* @param {string} [search] Search term to filter results
|
|
6555
|
+
* @param {CreatePixelRequest} [createPixelRequest]
|
|
6556
|
+
* @param {*} [options] Override http request option.
|
|
6557
|
+
* @throws {RequiredError}
|
|
6558
|
+
*/
|
|
6559
|
+
async createPixel(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, createPixelRequest?: CreatePixelRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pixel>> {
|
|
6560
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createPixel(project, platformId, pageToken, pageSize, search, createPixelRequest, options);
|
|
6561
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6562
|
+
const localVarOperationServerBasePath = operationServerMap['PixelsApi.createPixel']?.[localVarOperationServerIndex]?.url;
|
|
6563
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6564
|
+
},
|
|
6565
|
+
/**
|
|
6566
|
+
* Delete a pixel
|
|
6567
|
+
* @summary Delete a pixel
|
|
6568
|
+
* @param {string} project Project unique identifier
|
|
6569
|
+
* @param {string} platformId The platform identifier
|
|
6570
|
+
* @param {string} pixelId The pixel identifier
|
|
6571
|
+
* @param {*} [options] Override http request option.
|
|
6572
|
+
* @throws {RequiredError}
|
|
6573
|
+
*/
|
|
6574
|
+
async deletePixel(project: string, platformId: string, pixelId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
6575
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePixel(project, platformId, pixelId, options);
|
|
6576
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6577
|
+
const localVarOperationServerBasePath = operationServerMap['PixelsApi.deletePixel']?.[localVarOperationServerIndex]?.url;
|
|
6578
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6579
|
+
},
|
|
6580
|
+
/**
|
|
6581
|
+
* Get a pixel for a platform by a given pixel ID.
|
|
6582
|
+
* @summary Get pixel
|
|
6583
|
+
* @param {string} project Project unique identifier
|
|
6584
|
+
* @param {string} platformId The platform identifier
|
|
6585
|
+
* @param {string} pixelId The pixel identifier
|
|
6586
|
+
* @param {*} [options] Override http request option.
|
|
6587
|
+
* @throws {RequiredError}
|
|
6588
|
+
*/
|
|
6589
|
+
async getPixel(project: string, platformId: string, pixelId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pixel>> {
|
|
6590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPixel(project, platformId, pixelId, options);
|
|
6591
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6592
|
+
const localVarOperationServerBasePath = operationServerMap['PixelsApi.getPixel']?.[localVarOperationServerIndex]?.url;
|
|
6593
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6594
|
+
},
|
|
6595
|
+
/**
|
|
6596
|
+
* List pixels for a platform
|
|
6597
|
+
* @summary List pixels
|
|
6598
|
+
* @param {string} project Project unique identifier
|
|
6599
|
+
* @param {string} platformId The platform identifier
|
|
6600
|
+
* @param {number} [pageToken] Page reference token
|
|
6601
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
6602
|
+
* @param {string} [search] Search term to filter results
|
|
6603
|
+
* @param {*} [options] Override http request option.
|
|
6604
|
+
* @throws {RequiredError}
|
|
6605
|
+
*/
|
|
6606
|
+
async listPixels(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PixelsResponse>> {
|
|
6607
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPixels(project, platformId, pageToken, pageSize, search, options);
|
|
6608
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6609
|
+
const localVarOperationServerBasePath = operationServerMap['PixelsApi.listPixels']?.[localVarOperationServerIndex]?.url;
|
|
6610
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6611
|
+
},
|
|
6612
|
+
/**
|
|
6613
|
+
* Update a pixel
|
|
6614
|
+
* @summary Update a pixel
|
|
6615
|
+
* @param {string} project Project unique identifier
|
|
6616
|
+
* @param {string} platformId The platform identifier
|
|
6617
|
+
* @param {string} pixelId The pixel identifier
|
|
6618
|
+
* @param {CreatePixelRequest} [createPixelRequest]
|
|
6619
|
+
* @param {*} [options] Override http request option.
|
|
6620
|
+
* @throws {RequiredError}
|
|
6621
|
+
*/
|
|
6622
|
+
async updatePixel(project: string, platformId: string, pixelId: string, createPixelRequest?: CreatePixelRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pixel>> {
|
|
6623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePixel(project, platformId, pixelId, createPixelRequest, options);
|
|
6624
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6625
|
+
const localVarOperationServerBasePath = operationServerMap['PixelsApi.updatePixel']?.[localVarOperationServerIndex]?.url;
|
|
6626
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6627
|
+
},
|
|
6628
|
+
}
|
|
6629
|
+
};
|
|
6630
|
+
|
|
6631
|
+
/**
|
|
6632
|
+
* PixelsApi - factory interface
|
|
6633
|
+
* @export
|
|
6634
|
+
*/
|
|
6635
|
+
export const PixelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
6636
|
+
const localVarFp = PixelsApiFp(configuration)
|
|
6637
|
+
return {
|
|
6638
|
+
/**
|
|
6639
|
+
*
|
|
6640
|
+
* @summary Create a pixel
|
|
6641
|
+
* @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
|
|
6642
|
+
* @param {*} [options] Override http request option.
|
|
6643
|
+
* @throws {RequiredError}
|
|
6644
|
+
*/
|
|
6645
|
+
createPixel(requestParameters: PixelsApiCreatePixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pixel> {
|
|
6646
|
+
return localVarFp.createPixel(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createPixelRequest, options).then((request) => request(axios, basePath));
|
|
6647
|
+
},
|
|
6648
|
+
/**
|
|
6649
|
+
* Delete a pixel
|
|
6650
|
+
* @summary Delete a pixel
|
|
6651
|
+
* @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
|
|
6652
|
+
* @param {*} [options] Override http request option.
|
|
6653
|
+
* @throws {RequiredError}
|
|
6654
|
+
*/
|
|
6655
|
+
deletePixel(requestParameters: PixelsApiDeletePixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
6656
|
+
return localVarFp.deletePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(axios, basePath));
|
|
6657
|
+
},
|
|
6658
|
+
/**
|
|
6659
|
+
* Get a pixel for a platform by a given pixel ID.
|
|
6660
|
+
* @summary Get pixel
|
|
6661
|
+
* @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
|
|
6662
|
+
* @param {*} [options] Override http request option.
|
|
6663
|
+
* @throws {RequiredError}
|
|
6664
|
+
*/
|
|
6665
|
+
getPixel(requestParameters: PixelsApiGetPixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pixel> {
|
|
6666
|
+
return localVarFp.getPixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(axios, basePath));
|
|
6667
|
+
},
|
|
6668
|
+
/**
|
|
6669
|
+
* List pixels for a platform
|
|
6670
|
+
* @summary List pixels
|
|
6671
|
+
* @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
|
|
6672
|
+
* @param {*} [options] Override http request option.
|
|
6673
|
+
* @throws {RequiredError}
|
|
6674
|
+
*/
|
|
6675
|
+
listPixels(requestParameters: PixelsApiListPixelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PixelsResponse> {
|
|
6676
|
+
return localVarFp.listPixels(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
6677
|
+
},
|
|
6678
|
+
/**
|
|
6679
|
+
* Update a pixel
|
|
6680
|
+
* @summary Update a pixel
|
|
6681
|
+
* @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
|
|
6682
|
+
* @param {*} [options] Override http request option.
|
|
6683
|
+
* @throws {RequiredError}
|
|
6684
|
+
*/
|
|
6685
|
+
updatePixel(requestParameters: PixelsApiUpdatePixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pixel> {
|
|
6686
|
+
return localVarFp.updatePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, requestParameters.createPixelRequest, options).then((request) => request(axios, basePath));
|
|
6687
|
+
},
|
|
6688
|
+
};
|
|
6689
|
+
};
|
|
6690
|
+
|
|
6691
|
+
/**
|
|
6692
|
+
* Request parameters for createPixel operation in PixelsApi.
|
|
6693
|
+
* @export
|
|
6694
|
+
* @interface PixelsApiCreatePixelRequest
|
|
6695
|
+
*/
|
|
6696
|
+
export interface PixelsApiCreatePixelRequest {
|
|
6697
|
+
/**
|
|
6698
|
+
* Project unique identifier
|
|
6699
|
+
* @type {string}
|
|
6700
|
+
* @memberof PixelsApiCreatePixel
|
|
6701
|
+
*/
|
|
6702
|
+
readonly project: string
|
|
6703
|
+
|
|
6704
|
+
/**
|
|
6705
|
+
* The platform identifier
|
|
6706
|
+
* @type {string}
|
|
6707
|
+
* @memberof PixelsApiCreatePixel
|
|
6708
|
+
*/
|
|
6709
|
+
readonly platformId: string
|
|
6710
|
+
|
|
6711
|
+
/**
|
|
6712
|
+
* Page reference token
|
|
6713
|
+
* @type {number}
|
|
6714
|
+
* @memberof PixelsApiCreatePixel
|
|
6715
|
+
*/
|
|
6716
|
+
readonly pageToken?: number
|
|
6717
|
+
|
|
6718
|
+
/**
|
|
6719
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
6720
|
+
* @type {number}
|
|
6721
|
+
* @memberof PixelsApiCreatePixel
|
|
6722
|
+
*/
|
|
6723
|
+
readonly pageSize?: number
|
|
6724
|
+
|
|
6725
|
+
/**
|
|
6726
|
+
* Search term to filter results
|
|
6727
|
+
* @type {string}
|
|
6728
|
+
* @memberof PixelsApiCreatePixel
|
|
6729
|
+
*/
|
|
6730
|
+
readonly search?: string
|
|
6731
|
+
|
|
6732
|
+
/**
|
|
6733
|
+
*
|
|
6734
|
+
* @type {CreatePixelRequest}
|
|
6735
|
+
* @memberof PixelsApiCreatePixel
|
|
6736
|
+
*/
|
|
6737
|
+
readonly createPixelRequest?: CreatePixelRequest
|
|
6738
|
+
}
|
|
6739
|
+
|
|
6740
|
+
/**
|
|
6741
|
+
* Request parameters for deletePixel operation in PixelsApi.
|
|
6742
|
+
* @export
|
|
6743
|
+
* @interface PixelsApiDeletePixelRequest
|
|
6744
|
+
*/
|
|
6745
|
+
export interface PixelsApiDeletePixelRequest {
|
|
6746
|
+
/**
|
|
6747
|
+
* Project unique identifier
|
|
6748
|
+
* @type {string}
|
|
6749
|
+
* @memberof PixelsApiDeletePixel
|
|
6750
|
+
*/
|
|
6751
|
+
readonly project: string
|
|
6752
|
+
|
|
6753
|
+
/**
|
|
6754
|
+
* The platform identifier
|
|
6755
|
+
* @type {string}
|
|
6756
|
+
* @memberof PixelsApiDeletePixel
|
|
6757
|
+
*/
|
|
6758
|
+
readonly platformId: string
|
|
6759
|
+
|
|
6760
|
+
/**
|
|
6761
|
+
* The pixel identifier
|
|
6762
|
+
* @type {string}
|
|
6763
|
+
* @memberof PixelsApiDeletePixel
|
|
6764
|
+
*/
|
|
6765
|
+
readonly pixelId: string
|
|
6766
|
+
}
|
|
6767
|
+
|
|
6768
|
+
/**
|
|
6769
|
+
* Request parameters for getPixel operation in PixelsApi.
|
|
6770
|
+
* @export
|
|
6771
|
+
* @interface PixelsApiGetPixelRequest
|
|
6772
|
+
*/
|
|
6773
|
+
export interface PixelsApiGetPixelRequest {
|
|
6774
|
+
/**
|
|
6775
|
+
* Project unique identifier
|
|
6776
|
+
* @type {string}
|
|
6777
|
+
* @memberof PixelsApiGetPixel
|
|
6778
|
+
*/
|
|
6779
|
+
readonly project: string
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* The platform identifier
|
|
6783
|
+
* @type {string}
|
|
6784
|
+
* @memberof PixelsApiGetPixel
|
|
6785
|
+
*/
|
|
6786
|
+
readonly platformId: string
|
|
6787
|
+
|
|
6788
|
+
/**
|
|
6789
|
+
* The pixel identifier
|
|
6790
|
+
* @type {string}
|
|
6791
|
+
* @memberof PixelsApiGetPixel
|
|
6792
|
+
*/
|
|
6793
|
+
readonly pixelId: string
|
|
6794
|
+
}
|
|
6795
|
+
|
|
6796
|
+
/**
|
|
6797
|
+
* Request parameters for listPixels operation in PixelsApi.
|
|
6798
|
+
* @export
|
|
6799
|
+
* @interface PixelsApiListPixelsRequest
|
|
6800
|
+
*/
|
|
6801
|
+
export interface PixelsApiListPixelsRequest {
|
|
6802
|
+
/**
|
|
6803
|
+
* Project unique identifier
|
|
6804
|
+
* @type {string}
|
|
6805
|
+
* @memberof PixelsApiListPixels
|
|
6806
|
+
*/
|
|
6807
|
+
readonly project: string
|
|
6808
|
+
|
|
6809
|
+
/**
|
|
6810
|
+
* The platform identifier
|
|
6811
|
+
* @type {string}
|
|
6812
|
+
* @memberof PixelsApiListPixels
|
|
6813
|
+
*/
|
|
6814
|
+
readonly platformId: string
|
|
6815
|
+
|
|
6816
|
+
/**
|
|
6817
|
+
* Page reference token
|
|
6818
|
+
* @type {number}
|
|
6819
|
+
* @memberof PixelsApiListPixels
|
|
6820
|
+
*/
|
|
6821
|
+
readonly pageToken?: number
|
|
6822
|
+
|
|
6823
|
+
/**
|
|
6824
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
6825
|
+
* @type {number}
|
|
6826
|
+
* @memberof PixelsApiListPixels
|
|
6827
|
+
*/
|
|
6828
|
+
readonly pageSize?: number
|
|
6829
|
+
|
|
6830
|
+
/**
|
|
6831
|
+
* Search term to filter results
|
|
6832
|
+
* @type {string}
|
|
6833
|
+
* @memberof PixelsApiListPixels
|
|
6834
|
+
*/
|
|
6835
|
+
readonly search?: string
|
|
6836
|
+
}
|
|
6837
|
+
|
|
6838
|
+
/**
|
|
6839
|
+
* Request parameters for updatePixel operation in PixelsApi.
|
|
6840
|
+
* @export
|
|
6841
|
+
* @interface PixelsApiUpdatePixelRequest
|
|
6842
|
+
*/
|
|
6843
|
+
export interface PixelsApiUpdatePixelRequest {
|
|
6844
|
+
/**
|
|
6845
|
+
* Project unique identifier
|
|
6846
|
+
* @type {string}
|
|
6847
|
+
* @memberof PixelsApiUpdatePixel
|
|
6848
|
+
*/
|
|
6849
|
+
readonly project: string
|
|
6850
|
+
|
|
6851
|
+
/**
|
|
6852
|
+
* The platform identifier
|
|
6853
|
+
* @type {string}
|
|
6854
|
+
* @memberof PixelsApiUpdatePixel
|
|
6855
|
+
*/
|
|
6856
|
+
readonly platformId: string
|
|
6857
|
+
|
|
6858
|
+
/**
|
|
6859
|
+
* The pixel identifier
|
|
6860
|
+
* @type {string}
|
|
6861
|
+
* @memberof PixelsApiUpdatePixel
|
|
6862
|
+
*/
|
|
6863
|
+
readonly pixelId: string
|
|
6864
|
+
|
|
6865
|
+
/**
|
|
6866
|
+
*
|
|
6867
|
+
* @type {CreatePixelRequest}
|
|
6868
|
+
* @memberof PixelsApiUpdatePixel
|
|
6869
|
+
*/
|
|
6870
|
+
readonly createPixelRequest?: CreatePixelRequest
|
|
6871
|
+
}
|
|
6872
|
+
|
|
6873
|
+
/**
|
|
6874
|
+
* PixelsApi - object-oriented interface
|
|
6875
|
+
* @export
|
|
6876
|
+
* @class PixelsApi
|
|
6877
|
+
* @extends {BaseAPI}
|
|
6878
|
+
*/
|
|
6879
|
+
export class PixelsApi extends BaseAPI {
|
|
6880
|
+
/**
|
|
6881
|
+
*
|
|
6882
|
+
* @summary Create a pixel
|
|
6883
|
+
* @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
|
|
6884
|
+
* @param {*} [options] Override http request option.
|
|
6885
|
+
* @throws {RequiredError}
|
|
6886
|
+
* @memberof PixelsApi
|
|
6887
|
+
*/
|
|
6888
|
+
public createPixel(requestParameters: PixelsApiCreatePixelRequest, options?: RawAxiosRequestConfig) {
|
|
6889
|
+
return PixelsApiFp(this.configuration).createPixel(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createPixelRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6890
|
+
}
|
|
6891
|
+
|
|
6892
|
+
/**
|
|
6893
|
+
* Delete a pixel
|
|
6894
|
+
* @summary Delete a pixel
|
|
6895
|
+
* @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
|
|
6896
|
+
* @param {*} [options] Override http request option.
|
|
6897
|
+
* @throws {RequiredError}
|
|
6898
|
+
* @memberof PixelsApi
|
|
6899
|
+
*/
|
|
6900
|
+
public deletePixel(requestParameters: PixelsApiDeletePixelRequest, options?: RawAxiosRequestConfig) {
|
|
6901
|
+
return PixelsApiFp(this.configuration).deletePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(this.axios, this.basePath));
|
|
6902
|
+
}
|
|
6903
|
+
|
|
6904
|
+
/**
|
|
6905
|
+
* Get a pixel for a platform by a given pixel ID.
|
|
6906
|
+
* @summary Get pixel
|
|
6907
|
+
* @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
|
|
6908
|
+
* @param {*} [options] Override http request option.
|
|
6909
|
+
* @throws {RequiredError}
|
|
6910
|
+
* @memberof PixelsApi
|
|
6911
|
+
*/
|
|
6912
|
+
public getPixel(requestParameters: PixelsApiGetPixelRequest, options?: RawAxiosRequestConfig) {
|
|
6913
|
+
return PixelsApiFp(this.configuration).getPixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(this.axios, this.basePath));
|
|
6914
|
+
}
|
|
6915
|
+
|
|
6916
|
+
/**
|
|
6917
|
+
* List pixels for a platform
|
|
6918
|
+
* @summary List pixels
|
|
6919
|
+
* @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
|
|
6920
|
+
* @param {*} [options] Override http request option.
|
|
6921
|
+
* @throws {RequiredError}
|
|
6922
|
+
* @memberof PixelsApi
|
|
6923
|
+
*/
|
|
6924
|
+
public listPixels(requestParameters: PixelsApiListPixelsRequest, options?: RawAxiosRequestConfig) {
|
|
6925
|
+
return PixelsApiFp(this.configuration).listPixels(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
6926
|
+
}
|
|
6927
|
+
|
|
6928
|
+
/**
|
|
6929
|
+
* Update a pixel
|
|
6930
|
+
* @summary Update a pixel
|
|
6931
|
+
* @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
|
|
6932
|
+
* @param {*} [options] Override http request option.
|
|
6933
|
+
* @throws {RequiredError}
|
|
6934
|
+
* @memberof PixelsApi
|
|
6935
|
+
*/
|
|
6936
|
+
public updatePixel(requestParameters: PixelsApiUpdatePixelRequest, options?: RawAxiosRequestConfig) {
|
|
6937
|
+
return PixelsApiFp(this.configuration).updatePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, requestParameters.createPixelRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6938
|
+
}
|
|
6939
|
+
}
|
|
6940
|
+
|
|
6941
|
+
|
|
6942
|
+
|
|
6141
6943
|
/**
|
|
6142
6944
|
* PlatformApi - axios parameter creator
|
|
6143
6945
|
* @export
|