@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/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.32.0
5
+ * The version of the OpenAPI document: 0.33.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -418,6 +418,56 @@ export interface CreateOrderContactInformation {
418
418
  */
419
419
  'phone'?: string | null;
420
420
  }
421
+ /**
422
+ *
423
+ * @export
424
+ * @interface CreatePixelRequest
425
+ */
426
+ export interface CreatePixelRequest {
427
+ /**
428
+ *
429
+ * @type {string}
430
+ * @memberof CreatePixelRequest
431
+ */
432
+ 'name': string;
433
+ /**
434
+ *
435
+ * @type {Array<string>}
436
+ * @memberof CreatePixelRequest
437
+ */
438
+ 'sourceProjects': Array<string>;
439
+ /**
440
+ *
441
+ * @type {CreatePixelRequestFilters}
442
+ * @memberof CreatePixelRequest
443
+ */
444
+ 'filters': CreatePixelRequestFilters;
445
+ }
446
+ /**
447
+ *
448
+ * @export
449
+ * @interface CreatePixelRequestFilters
450
+ */
451
+ export interface CreatePixelRequestFilters {
452
+ /**
453
+ *
454
+ * @type {Array<string>}
455
+ * @memberof CreatePixelRequestFilters
456
+ */
457
+ 'projects': Array<string> | null;
458
+ /**
459
+ *
460
+ * @type {Array<string>}
461
+ * @memberof CreatePixelRequestFilters
462
+ */
463
+ 'demographics': Array<string> | null;
464
+ /**
465
+ *
466
+ * @type {Array<string>}
467
+ * @memberof CreatePixelRequestFilters
468
+ */
469
+ 'tags': Array<string> | null;
470
+ }
421
471
  /**
422
472
  * @type CreateReview201Response
423
473
  * @export
@@ -1593,6 +1643,56 @@ export declare const PaymentAttemptStatusEnum: {
1593
1643
  readonly Cancelled: "cancelled";
1594
1644
  };
1595
1645
  export type PaymentAttemptStatusEnum = typeof PaymentAttemptStatusEnum[keyof typeof PaymentAttemptStatusEnum];
1646
+ /**
1647
+ *
1648
+ * @export
1649
+ * @interface Pixel
1650
+ */
1651
+ export interface Pixel {
1652
+ /**
1653
+ * Unique object identifier
1654
+ * @type {string}
1655
+ * @memberof Pixel
1656
+ */
1657
+ 'id': string;
1658
+ /**
1659
+ *
1660
+ * @type {string}
1661
+ * @memberof Pixel
1662
+ */
1663
+ 'name': string;
1664
+ /**
1665
+ *
1666
+ * @type {Array<string>}
1667
+ * @memberof Pixel
1668
+ */
1669
+ 'sourceProjects': Array<string>;
1670
+ /**
1671
+ *
1672
+ * @type {CreatePixelRequestFilters}
1673
+ * @memberof Pixel
1674
+ */
1675
+ 'filters': CreatePixelRequestFilters;
1676
+ }
1677
+ /**
1678
+ *
1679
+ * @export
1680
+ * @interface PixelsResponse
1681
+ */
1682
+ export interface PixelsResponse {
1683
+ /**
1684
+ *
1685
+ * @type {Array<Pixel>}
1686
+ * @memberof PixelsResponse
1687
+ */
1688
+ 'pixels': Array<Pixel>;
1689
+ /**
1690
+ *
1691
+ * @type {number}
1692
+ * @memberof PixelsResponse
1693
+ */
1694
+ 'nextPageToken'?: number | null;
1695
+ }
1596
1696
  /**
1597
1697
  *
1598
1698
  * @export
@@ -4367,6 +4467,390 @@ export declare class PaymentApi extends BaseAPI {
4367
4467
  */
4368
4468
  getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
4369
4469
  }
4470
+ /**
4471
+ * PixelsApi - axios parameter creator
4472
+ * @export
4473
+ */
4474
+ export declare const PixelsApiAxiosParamCreator: (configuration?: Configuration) => {
4475
+ /**
4476
+ *
4477
+ * @summary Create a pixel
4478
+ * @param {string} project Project unique identifier
4479
+ * @param {string} platformId The platform identifier
4480
+ * @param {number} [pageToken] Page reference token
4481
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4482
+ * @param {string} [search] Search term to filter results
4483
+ * @param {CreatePixelRequest} [createPixelRequest]
4484
+ * @param {*} [options] Override http request option.
4485
+ * @throws {RequiredError}
4486
+ */
4487
+ createPixel: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, createPixelRequest?: CreatePixelRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4488
+ /**
4489
+ * Delete a pixel
4490
+ * @summary Delete a pixel
4491
+ * @param {string} project Project unique identifier
4492
+ * @param {string} platformId The platform identifier
4493
+ * @param {string} pixelId The pixel identifier
4494
+ * @param {*} [options] Override http request option.
4495
+ * @throws {RequiredError}
4496
+ */
4497
+ deletePixel: (project: string, platformId: string, pixelId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4498
+ /**
4499
+ * Get a pixel for a platform by a given pixel ID.
4500
+ * @summary Get pixel
4501
+ * @param {string} project Project unique identifier
4502
+ * @param {string} platformId The platform identifier
4503
+ * @param {string} pixelId The pixel identifier
4504
+ * @param {*} [options] Override http request option.
4505
+ * @throws {RequiredError}
4506
+ */
4507
+ getPixel: (project: string, platformId: string, pixelId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4508
+ /**
4509
+ * List pixels for a platform
4510
+ * @summary List pixels
4511
+ * @param {string} project Project unique identifier
4512
+ * @param {string} platformId The platform identifier
4513
+ * @param {number} [pageToken] Page reference token
4514
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4515
+ * @param {string} [search] Search term to filter results
4516
+ * @param {*} [options] Override http request option.
4517
+ * @throws {RequiredError}
4518
+ */
4519
+ listPixels: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4520
+ /**
4521
+ * Update a pixel
4522
+ * @summary Update a pixel
4523
+ * @param {string} project Project unique identifier
4524
+ * @param {string} platformId The platform identifier
4525
+ * @param {string} pixelId The pixel identifier
4526
+ * @param {CreatePixelRequest} [createPixelRequest]
4527
+ * @param {*} [options] Override http request option.
4528
+ * @throws {RequiredError}
4529
+ */
4530
+ updatePixel: (project: string, platformId: string, pixelId: string, createPixelRequest?: CreatePixelRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4531
+ };
4532
+ /**
4533
+ * PixelsApi - functional programming interface
4534
+ * @export
4535
+ */
4536
+ export declare const PixelsApiFp: (configuration?: Configuration) => {
4537
+ /**
4538
+ *
4539
+ * @summary Create a pixel
4540
+ * @param {string} project Project unique identifier
4541
+ * @param {string} platformId The platform identifier
4542
+ * @param {number} [pageToken] Page reference token
4543
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4544
+ * @param {string} [search] Search term to filter results
4545
+ * @param {CreatePixelRequest} [createPixelRequest]
4546
+ * @param {*} [options] Override http request option.
4547
+ * @throws {RequiredError}
4548
+ */
4549
+ createPixel(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, createPixelRequest?: CreatePixelRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pixel>>;
4550
+ /**
4551
+ * Delete a pixel
4552
+ * @summary Delete a pixel
4553
+ * @param {string} project Project unique identifier
4554
+ * @param {string} platformId The platform identifier
4555
+ * @param {string} pixelId The pixel identifier
4556
+ * @param {*} [options] Override http request option.
4557
+ * @throws {RequiredError}
4558
+ */
4559
+ deletePixel(project: string, platformId: string, pixelId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4560
+ /**
4561
+ * Get a pixel for a platform by a given pixel ID.
4562
+ * @summary Get pixel
4563
+ * @param {string} project Project unique identifier
4564
+ * @param {string} platformId The platform identifier
4565
+ * @param {string} pixelId The pixel identifier
4566
+ * @param {*} [options] Override http request option.
4567
+ * @throws {RequiredError}
4568
+ */
4569
+ getPixel(project: string, platformId: string, pixelId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pixel>>;
4570
+ /**
4571
+ * List pixels for a platform
4572
+ * @summary List pixels
4573
+ * @param {string} project Project unique identifier
4574
+ * @param {string} platformId The platform identifier
4575
+ * @param {number} [pageToken] Page reference token
4576
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4577
+ * @param {string} [search] Search term to filter results
4578
+ * @param {*} [options] Override http request option.
4579
+ * @throws {RequiredError}
4580
+ */
4581
+ listPixels(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PixelsResponse>>;
4582
+ /**
4583
+ * Update a pixel
4584
+ * @summary Update a pixel
4585
+ * @param {string} project Project unique identifier
4586
+ * @param {string} platformId The platform identifier
4587
+ * @param {string} pixelId The pixel identifier
4588
+ * @param {CreatePixelRequest} [createPixelRequest]
4589
+ * @param {*} [options] Override http request option.
4590
+ * @throws {RequiredError}
4591
+ */
4592
+ updatePixel(project: string, platformId: string, pixelId: string, createPixelRequest?: CreatePixelRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Pixel>>;
4593
+ };
4594
+ /**
4595
+ * PixelsApi - factory interface
4596
+ * @export
4597
+ */
4598
+ export declare const PixelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4599
+ /**
4600
+ *
4601
+ * @summary Create a pixel
4602
+ * @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
4603
+ * @param {*} [options] Override http request option.
4604
+ * @throws {RequiredError}
4605
+ */
4606
+ createPixel(requestParameters: PixelsApiCreatePixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pixel>;
4607
+ /**
4608
+ * Delete a pixel
4609
+ * @summary Delete a pixel
4610
+ * @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
4611
+ * @param {*} [options] Override http request option.
4612
+ * @throws {RequiredError}
4613
+ */
4614
+ deletePixel(requestParameters: PixelsApiDeletePixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
4615
+ /**
4616
+ * Get a pixel for a platform by a given pixel ID.
4617
+ * @summary Get pixel
4618
+ * @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
4619
+ * @param {*} [options] Override http request option.
4620
+ * @throws {RequiredError}
4621
+ */
4622
+ getPixel(requestParameters: PixelsApiGetPixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pixel>;
4623
+ /**
4624
+ * List pixels for a platform
4625
+ * @summary List pixels
4626
+ * @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
4627
+ * @param {*} [options] Override http request option.
4628
+ * @throws {RequiredError}
4629
+ */
4630
+ listPixels(requestParameters: PixelsApiListPixelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PixelsResponse>;
4631
+ /**
4632
+ * Update a pixel
4633
+ * @summary Update a pixel
4634
+ * @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
4635
+ * @param {*} [options] Override http request option.
4636
+ * @throws {RequiredError}
4637
+ */
4638
+ updatePixel(requestParameters: PixelsApiUpdatePixelRequest, options?: RawAxiosRequestConfig): AxiosPromise<Pixel>;
4639
+ };
4640
+ /**
4641
+ * Request parameters for createPixel operation in PixelsApi.
4642
+ * @export
4643
+ * @interface PixelsApiCreatePixelRequest
4644
+ */
4645
+ export interface PixelsApiCreatePixelRequest {
4646
+ /**
4647
+ * Project unique identifier
4648
+ * @type {string}
4649
+ * @memberof PixelsApiCreatePixel
4650
+ */
4651
+ readonly project: string;
4652
+ /**
4653
+ * The platform identifier
4654
+ * @type {string}
4655
+ * @memberof PixelsApiCreatePixel
4656
+ */
4657
+ readonly platformId: string;
4658
+ /**
4659
+ * Page reference token
4660
+ * @type {number}
4661
+ * @memberof PixelsApiCreatePixel
4662
+ */
4663
+ readonly pageToken?: number;
4664
+ /**
4665
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
4666
+ * @type {number}
4667
+ * @memberof PixelsApiCreatePixel
4668
+ */
4669
+ readonly pageSize?: number;
4670
+ /**
4671
+ * Search term to filter results
4672
+ * @type {string}
4673
+ * @memberof PixelsApiCreatePixel
4674
+ */
4675
+ readonly search?: string;
4676
+ /**
4677
+ *
4678
+ * @type {CreatePixelRequest}
4679
+ * @memberof PixelsApiCreatePixel
4680
+ */
4681
+ readonly createPixelRequest?: CreatePixelRequest;
4682
+ }
4683
+ /**
4684
+ * Request parameters for deletePixel operation in PixelsApi.
4685
+ * @export
4686
+ * @interface PixelsApiDeletePixelRequest
4687
+ */
4688
+ export interface PixelsApiDeletePixelRequest {
4689
+ /**
4690
+ * Project unique identifier
4691
+ * @type {string}
4692
+ * @memberof PixelsApiDeletePixel
4693
+ */
4694
+ readonly project: string;
4695
+ /**
4696
+ * The platform identifier
4697
+ * @type {string}
4698
+ * @memberof PixelsApiDeletePixel
4699
+ */
4700
+ readonly platformId: string;
4701
+ /**
4702
+ * The pixel identifier
4703
+ * @type {string}
4704
+ * @memberof PixelsApiDeletePixel
4705
+ */
4706
+ readonly pixelId: string;
4707
+ }
4708
+ /**
4709
+ * Request parameters for getPixel operation in PixelsApi.
4710
+ * @export
4711
+ * @interface PixelsApiGetPixelRequest
4712
+ */
4713
+ export interface PixelsApiGetPixelRequest {
4714
+ /**
4715
+ * Project unique identifier
4716
+ * @type {string}
4717
+ * @memberof PixelsApiGetPixel
4718
+ */
4719
+ readonly project: string;
4720
+ /**
4721
+ * The platform identifier
4722
+ * @type {string}
4723
+ * @memberof PixelsApiGetPixel
4724
+ */
4725
+ readonly platformId: string;
4726
+ /**
4727
+ * The pixel identifier
4728
+ * @type {string}
4729
+ * @memberof PixelsApiGetPixel
4730
+ */
4731
+ readonly pixelId: string;
4732
+ }
4733
+ /**
4734
+ * Request parameters for listPixels operation in PixelsApi.
4735
+ * @export
4736
+ * @interface PixelsApiListPixelsRequest
4737
+ */
4738
+ export interface PixelsApiListPixelsRequest {
4739
+ /**
4740
+ * Project unique identifier
4741
+ * @type {string}
4742
+ * @memberof PixelsApiListPixels
4743
+ */
4744
+ readonly project: string;
4745
+ /**
4746
+ * The platform identifier
4747
+ * @type {string}
4748
+ * @memberof PixelsApiListPixels
4749
+ */
4750
+ readonly platformId: string;
4751
+ /**
4752
+ * Page reference token
4753
+ * @type {number}
4754
+ * @memberof PixelsApiListPixels
4755
+ */
4756
+ readonly pageToken?: number;
4757
+ /**
4758
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
4759
+ * @type {number}
4760
+ * @memberof PixelsApiListPixels
4761
+ */
4762
+ readonly pageSize?: number;
4763
+ /**
4764
+ * Search term to filter results
4765
+ * @type {string}
4766
+ * @memberof PixelsApiListPixels
4767
+ */
4768
+ readonly search?: string;
4769
+ }
4770
+ /**
4771
+ * Request parameters for updatePixel operation in PixelsApi.
4772
+ * @export
4773
+ * @interface PixelsApiUpdatePixelRequest
4774
+ */
4775
+ export interface PixelsApiUpdatePixelRequest {
4776
+ /**
4777
+ * Project unique identifier
4778
+ * @type {string}
4779
+ * @memberof PixelsApiUpdatePixel
4780
+ */
4781
+ readonly project: string;
4782
+ /**
4783
+ * The platform identifier
4784
+ * @type {string}
4785
+ * @memberof PixelsApiUpdatePixel
4786
+ */
4787
+ readonly platformId: string;
4788
+ /**
4789
+ * The pixel identifier
4790
+ * @type {string}
4791
+ * @memberof PixelsApiUpdatePixel
4792
+ */
4793
+ readonly pixelId: string;
4794
+ /**
4795
+ *
4796
+ * @type {CreatePixelRequest}
4797
+ * @memberof PixelsApiUpdatePixel
4798
+ */
4799
+ readonly createPixelRequest?: CreatePixelRequest;
4800
+ }
4801
+ /**
4802
+ * PixelsApi - object-oriented interface
4803
+ * @export
4804
+ * @class PixelsApi
4805
+ * @extends {BaseAPI}
4806
+ */
4807
+ export declare class PixelsApi extends BaseAPI {
4808
+ /**
4809
+ *
4810
+ * @summary Create a pixel
4811
+ * @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
4812
+ * @param {*} [options] Override http request option.
4813
+ * @throws {RequiredError}
4814
+ * @memberof PixelsApi
4815
+ */
4816
+ createPixel(requestParameters: PixelsApiCreatePixelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pixel, any>>;
4817
+ /**
4818
+ * Delete a pixel
4819
+ * @summary Delete a pixel
4820
+ * @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
4821
+ * @param {*} [options] Override http request option.
4822
+ * @throws {RequiredError}
4823
+ * @memberof PixelsApi
4824
+ */
4825
+ deletePixel(requestParameters: PixelsApiDeletePixelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4826
+ /**
4827
+ * Get a pixel for a platform by a given pixel ID.
4828
+ * @summary Get pixel
4829
+ * @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
4830
+ * @param {*} [options] Override http request option.
4831
+ * @throws {RequiredError}
4832
+ * @memberof PixelsApi
4833
+ */
4834
+ getPixel(requestParameters: PixelsApiGetPixelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pixel, any>>;
4835
+ /**
4836
+ * List pixels for a platform
4837
+ * @summary List pixels
4838
+ * @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
4839
+ * @param {*} [options] Override http request option.
4840
+ * @throws {RequiredError}
4841
+ * @memberof PixelsApi
4842
+ */
4843
+ listPixels(requestParameters: PixelsApiListPixelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PixelsResponse, any>>;
4844
+ /**
4845
+ * Update a pixel
4846
+ * @summary Update a pixel
4847
+ * @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
4848
+ * @param {*} [options] Override http request option.
4849
+ * @throws {RequiredError}
4850
+ * @memberof PixelsApi
4851
+ */
4852
+ updatePixel(requestParameters: PixelsApiUpdatePixelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Pixel, any>>;
4853
+ }
4370
4854
  /**
4371
4855
  * PlatformApi - axios parameter creator
4372
4856
  * @export