@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.js 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.32.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).
@@ -2673,6 +2673,483 @@ export class PaymentApi extends BaseAPI {
2673
2673
  return PaymentApiFp(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2674
2674
  }
2675
2675
  }
2676
+ /**
2677
+ * PixelsApi - axios parameter creator
2678
+ * @export
2679
+ */
2680
+ export const PixelsApiAxiosParamCreator = function (configuration) {
2681
+ return {
2682
+ /**
2683
+ *
2684
+ * @summary Create a pixel
2685
+ * @param {string} project Project unique identifier
2686
+ * @param {string} platformId The platform identifier
2687
+ * @param {number} [pageToken] Page reference token
2688
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2689
+ * @param {string} [search] Search term to filter results
2690
+ * @param {CreatePixelRequest} [createPixelRequest]
2691
+ * @param {*} [options] Override http request option.
2692
+ * @throws {RequiredError}
2693
+ */
2694
+ createPixel: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, createPixelRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, createPixelRequest_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, createPixelRequest, options = {}) {
2695
+ // verify required parameter 'project' is not null or undefined
2696
+ assertParamExists('createPixel', 'project', project);
2697
+ // verify required parameter 'platformId' is not null or undefined
2698
+ assertParamExists('createPixel', 'platformId', platformId);
2699
+ const localVarPath = `/v1/platform/{platformId}/pixels`
2700
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
2701
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2702
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2703
+ let baseOptions;
2704
+ if (configuration) {
2705
+ baseOptions = configuration.baseOptions;
2706
+ }
2707
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2708
+ const localVarHeaderParameter = {};
2709
+ const localVarQueryParameter = {};
2710
+ // authentication session-oauth required
2711
+ // oauth required
2712
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2713
+ // authentication api-key required
2714
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2715
+ if (project !== undefined) {
2716
+ localVarQueryParameter['project'] = project;
2717
+ }
2718
+ if (pageToken !== undefined) {
2719
+ localVarQueryParameter['pageToken'] = pageToken;
2720
+ }
2721
+ if (pageSize !== undefined) {
2722
+ localVarQueryParameter['pageSize'] = pageSize;
2723
+ }
2724
+ if (search !== undefined) {
2725
+ localVarQueryParameter['search'] = search;
2726
+ }
2727
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2728
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2729
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2730
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2731
+ localVarRequestOptions.data = serializeDataIfNeeded(createPixelRequest, localVarRequestOptions, configuration);
2732
+ return {
2733
+ url: toPathString(localVarUrlObj),
2734
+ options: localVarRequestOptions,
2735
+ };
2736
+ }),
2737
+ /**
2738
+ * Delete a pixel
2739
+ * @summary Delete a pixel
2740
+ * @param {string} project Project unique identifier
2741
+ * @param {string} platformId The platform identifier
2742
+ * @param {string} pixelId The pixel identifier
2743
+ * @param {*} [options] Override http request option.
2744
+ * @throws {RequiredError}
2745
+ */
2746
+ deletePixel: (project_1, platformId_1, pixelId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pixelId_1, ...args_1], void 0, function* (project, platformId, pixelId, options = {}) {
2747
+ // verify required parameter 'project' is not null or undefined
2748
+ assertParamExists('deletePixel', 'project', project);
2749
+ // verify required parameter 'platformId' is not null or undefined
2750
+ assertParamExists('deletePixel', 'platformId', platformId);
2751
+ // verify required parameter 'pixelId' is not null or undefined
2752
+ assertParamExists('deletePixel', 'pixelId', pixelId);
2753
+ const localVarPath = `/v1/platform/{platformId}/pixels/{pixelId}`
2754
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
2755
+ .replace(`{${"pixelId"}}`, encodeURIComponent(String(pixelId)));
2756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2758
+ let baseOptions;
2759
+ if (configuration) {
2760
+ baseOptions = configuration.baseOptions;
2761
+ }
2762
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2763
+ const localVarHeaderParameter = {};
2764
+ const localVarQueryParameter = {};
2765
+ // authentication session-oauth required
2766
+ // oauth required
2767
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2768
+ // authentication api-key required
2769
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2770
+ if (project !== undefined) {
2771
+ localVarQueryParameter['project'] = project;
2772
+ }
2773
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2774
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2775
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2776
+ return {
2777
+ url: toPathString(localVarUrlObj),
2778
+ options: localVarRequestOptions,
2779
+ };
2780
+ }),
2781
+ /**
2782
+ * Get a pixel for a platform by a given pixel ID.
2783
+ * @summary Get pixel
2784
+ * @param {string} project Project unique identifier
2785
+ * @param {string} platformId The platform identifier
2786
+ * @param {string} pixelId The pixel identifier
2787
+ * @param {*} [options] Override http request option.
2788
+ * @throws {RequiredError}
2789
+ */
2790
+ getPixel: (project_1, platformId_1, pixelId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pixelId_1, ...args_1], void 0, function* (project, platformId, pixelId, options = {}) {
2791
+ // verify required parameter 'project' is not null or undefined
2792
+ assertParamExists('getPixel', 'project', project);
2793
+ // verify required parameter 'platformId' is not null or undefined
2794
+ assertParamExists('getPixel', 'platformId', platformId);
2795
+ // verify required parameter 'pixelId' is not null or undefined
2796
+ assertParamExists('getPixel', 'pixelId', pixelId);
2797
+ const localVarPath = `/v1/platform/{platformId}/pixels/{pixelId}`
2798
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
2799
+ .replace(`{${"pixelId"}}`, encodeURIComponent(String(pixelId)));
2800
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2801
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2802
+ let baseOptions;
2803
+ if (configuration) {
2804
+ baseOptions = configuration.baseOptions;
2805
+ }
2806
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2807
+ const localVarHeaderParameter = {};
2808
+ const localVarQueryParameter = {};
2809
+ // authentication session-oauth required
2810
+ // oauth required
2811
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2812
+ // authentication api-key required
2813
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2814
+ if (project !== undefined) {
2815
+ localVarQueryParameter['project'] = project;
2816
+ }
2817
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2818
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2819
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2820
+ return {
2821
+ url: toPathString(localVarUrlObj),
2822
+ options: localVarRequestOptions,
2823
+ };
2824
+ }),
2825
+ /**
2826
+ * List pixels for a platform
2827
+ * @summary List pixels
2828
+ * @param {string} project Project unique identifier
2829
+ * @param {string} platformId The platform identifier
2830
+ * @param {number} [pageToken] Page reference token
2831
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2832
+ * @param {string} [search] Search term to filter results
2833
+ * @param {*} [options] Override http request option.
2834
+ * @throws {RequiredError}
2835
+ */
2836
+ listPixels: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, options = {}) {
2837
+ // verify required parameter 'project' is not null or undefined
2838
+ assertParamExists('listPixels', 'project', project);
2839
+ // verify required parameter 'platformId' is not null or undefined
2840
+ assertParamExists('listPixels', 'platformId', platformId);
2841
+ const localVarPath = `/v1/platform/{platformId}/pixels`
2842
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
2843
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2844
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2845
+ let baseOptions;
2846
+ if (configuration) {
2847
+ baseOptions = configuration.baseOptions;
2848
+ }
2849
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2850
+ const localVarHeaderParameter = {};
2851
+ const localVarQueryParameter = {};
2852
+ // authentication session-oauth required
2853
+ // oauth required
2854
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2855
+ // authentication api-key required
2856
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2857
+ if (project !== undefined) {
2858
+ localVarQueryParameter['project'] = project;
2859
+ }
2860
+ if (pageToken !== undefined) {
2861
+ localVarQueryParameter['pageToken'] = pageToken;
2862
+ }
2863
+ if (pageSize !== undefined) {
2864
+ localVarQueryParameter['pageSize'] = pageSize;
2865
+ }
2866
+ if (search !== undefined) {
2867
+ localVarQueryParameter['search'] = search;
2868
+ }
2869
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2870
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2871
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2872
+ return {
2873
+ url: toPathString(localVarUrlObj),
2874
+ options: localVarRequestOptions,
2875
+ };
2876
+ }),
2877
+ /**
2878
+ * Update a pixel
2879
+ * @summary Update a pixel
2880
+ * @param {string} project Project unique identifier
2881
+ * @param {string} platformId The platform identifier
2882
+ * @param {string} pixelId The pixel identifier
2883
+ * @param {CreatePixelRequest} [createPixelRequest]
2884
+ * @param {*} [options] Override http request option.
2885
+ * @throws {RequiredError}
2886
+ */
2887
+ updatePixel: (project_1, platformId_1, pixelId_1, createPixelRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pixelId_1, createPixelRequest_1, ...args_1], void 0, function* (project, platformId, pixelId, createPixelRequest, options = {}) {
2888
+ // verify required parameter 'project' is not null or undefined
2889
+ assertParamExists('updatePixel', 'project', project);
2890
+ // verify required parameter 'platformId' is not null or undefined
2891
+ assertParamExists('updatePixel', 'platformId', platformId);
2892
+ // verify required parameter 'pixelId' is not null or undefined
2893
+ assertParamExists('updatePixel', 'pixelId', pixelId);
2894
+ const localVarPath = `/v1/platform/{platformId}/pixels/{pixelId}`
2895
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
2896
+ .replace(`{${"pixelId"}}`, encodeURIComponent(String(pixelId)));
2897
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2898
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2899
+ let baseOptions;
2900
+ if (configuration) {
2901
+ baseOptions = configuration.baseOptions;
2902
+ }
2903
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2904
+ const localVarHeaderParameter = {};
2905
+ const localVarQueryParameter = {};
2906
+ // authentication session-oauth required
2907
+ // oauth required
2908
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2909
+ // authentication api-key required
2910
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2911
+ if (project !== undefined) {
2912
+ localVarQueryParameter['project'] = project;
2913
+ }
2914
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2915
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2916
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2917
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2918
+ localVarRequestOptions.data = serializeDataIfNeeded(createPixelRequest, localVarRequestOptions, configuration);
2919
+ return {
2920
+ url: toPathString(localVarUrlObj),
2921
+ options: localVarRequestOptions,
2922
+ };
2923
+ }),
2924
+ };
2925
+ };
2926
+ /**
2927
+ * PixelsApi - functional programming interface
2928
+ * @export
2929
+ */
2930
+ export const PixelsApiFp = function (configuration) {
2931
+ const localVarAxiosParamCreator = PixelsApiAxiosParamCreator(configuration);
2932
+ return {
2933
+ /**
2934
+ *
2935
+ * @summary Create a pixel
2936
+ * @param {string} project Project unique identifier
2937
+ * @param {string} platformId The platform identifier
2938
+ * @param {number} [pageToken] Page reference token
2939
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2940
+ * @param {string} [search] Search term to filter results
2941
+ * @param {CreatePixelRequest} [createPixelRequest]
2942
+ * @param {*} [options] Override http request option.
2943
+ * @throws {RequiredError}
2944
+ */
2945
+ createPixel(project, platformId, pageToken, pageSize, search, createPixelRequest, options) {
2946
+ return __awaiter(this, void 0, void 0, function* () {
2947
+ var _a, _b, _c;
2948
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createPixel(project, platformId, pageToken, pageSize, search, createPixelRequest, options);
2949
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2950
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PixelsApi.createPixel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2951
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2952
+ });
2953
+ },
2954
+ /**
2955
+ * Delete a pixel
2956
+ * @summary Delete a pixel
2957
+ * @param {string} project Project unique identifier
2958
+ * @param {string} platformId The platform identifier
2959
+ * @param {string} pixelId The pixel identifier
2960
+ * @param {*} [options] Override http request option.
2961
+ * @throws {RequiredError}
2962
+ */
2963
+ deletePixel(project, platformId, pixelId, options) {
2964
+ return __awaiter(this, void 0, void 0, function* () {
2965
+ var _a, _b, _c;
2966
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePixel(project, platformId, pixelId, options);
2967
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2968
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PixelsApi.deletePixel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2969
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2970
+ });
2971
+ },
2972
+ /**
2973
+ * Get a pixel for a platform by a given pixel ID.
2974
+ * @summary Get pixel
2975
+ * @param {string} project Project unique identifier
2976
+ * @param {string} platformId The platform identifier
2977
+ * @param {string} pixelId The pixel identifier
2978
+ * @param {*} [options] Override http request option.
2979
+ * @throws {RequiredError}
2980
+ */
2981
+ getPixel(project, platformId, pixelId, options) {
2982
+ return __awaiter(this, void 0, void 0, function* () {
2983
+ var _a, _b, _c;
2984
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPixel(project, platformId, pixelId, options);
2985
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2986
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PixelsApi.getPixel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2987
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2988
+ });
2989
+ },
2990
+ /**
2991
+ * List pixels for a platform
2992
+ * @summary List pixels
2993
+ * @param {string} project Project unique identifier
2994
+ * @param {string} platformId The platform identifier
2995
+ * @param {number} [pageToken] Page reference token
2996
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2997
+ * @param {string} [search] Search term to filter results
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ */
3001
+ listPixels(project, platformId, pageToken, pageSize, search, options) {
3002
+ return __awaiter(this, void 0, void 0, function* () {
3003
+ var _a, _b, _c;
3004
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPixels(project, platformId, pageToken, pageSize, search, options);
3005
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3006
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PixelsApi.listPixels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3007
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3008
+ });
3009
+ },
3010
+ /**
3011
+ * Update a pixel
3012
+ * @summary Update a pixel
3013
+ * @param {string} project Project unique identifier
3014
+ * @param {string} platformId The platform identifier
3015
+ * @param {string} pixelId The pixel identifier
3016
+ * @param {CreatePixelRequest} [createPixelRequest]
3017
+ * @param {*} [options] Override http request option.
3018
+ * @throws {RequiredError}
3019
+ */
3020
+ updatePixel(project, platformId, pixelId, createPixelRequest, options) {
3021
+ return __awaiter(this, void 0, void 0, function* () {
3022
+ var _a, _b, _c;
3023
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePixel(project, platformId, pixelId, createPixelRequest, options);
3024
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3025
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PixelsApi.updatePixel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3026
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3027
+ });
3028
+ },
3029
+ };
3030
+ };
3031
+ /**
3032
+ * PixelsApi - factory interface
3033
+ * @export
3034
+ */
3035
+ export const PixelsApiFactory = function (configuration, basePath, axios) {
3036
+ const localVarFp = PixelsApiFp(configuration);
3037
+ return {
3038
+ /**
3039
+ *
3040
+ * @summary Create a pixel
3041
+ * @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
3042
+ * @param {*} [options] Override http request option.
3043
+ * @throws {RequiredError}
3044
+ */
3045
+ createPixel(requestParameters, options) {
3046
+ return localVarFp.createPixel(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createPixelRequest, options).then((request) => request(axios, basePath));
3047
+ },
3048
+ /**
3049
+ * Delete a pixel
3050
+ * @summary Delete a pixel
3051
+ * @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
3052
+ * @param {*} [options] Override http request option.
3053
+ * @throws {RequiredError}
3054
+ */
3055
+ deletePixel(requestParameters, options) {
3056
+ return localVarFp.deletePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(axios, basePath));
3057
+ },
3058
+ /**
3059
+ * Get a pixel for a platform by a given pixel ID.
3060
+ * @summary Get pixel
3061
+ * @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
3062
+ * @param {*} [options] Override http request option.
3063
+ * @throws {RequiredError}
3064
+ */
3065
+ getPixel(requestParameters, options) {
3066
+ return localVarFp.getPixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(axios, basePath));
3067
+ },
3068
+ /**
3069
+ * List pixels for a platform
3070
+ * @summary List pixels
3071
+ * @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
3072
+ * @param {*} [options] Override http request option.
3073
+ * @throws {RequiredError}
3074
+ */
3075
+ listPixels(requestParameters, options) {
3076
+ return localVarFp.listPixels(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
3077
+ },
3078
+ /**
3079
+ * Update a pixel
3080
+ * @summary Update a pixel
3081
+ * @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ */
3085
+ updatePixel(requestParameters, options) {
3086
+ return localVarFp.updatePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, requestParameters.createPixelRequest, options).then((request) => request(axios, basePath));
3087
+ },
3088
+ };
3089
+ };
3090
+ /**
3091
+ * PixelsApi - object-oriented interface
3092
+ * @export
3093
+ * @class PixelsApi
3094
+ * @extends {BaseAPI}
3095
+ */
3096
+ export class PixelsApi extends BaseAPI {
3097
+ /**
3098
+ *
3099
+ * @summary Create a pixel
3100
+ * @param {PixelsApiCreatePixelRequest} requestParameters Request parameters.
3101
+ * @param {*} [options] Override http request option.
3102
+ * @throws {RequiredError}
3103
+ * @memberof PixelsApi
3104
+ */
3105
+ createPixel(requestParameters, options) {
3106
+ 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));
3107
+ }
3108
+ /**
3109
+ * Delete a pixel
3110
+ * @summary Delete a pixel
3111
+ * @param {PixelsApiDeletePixelRequest} requestParameters Request parameters.
3112
+ * @param {*} [options] Override http request option.
3113
+ * @throws {RequiredError}
3114
+ * @memberof PixelsApi
3115
+ */
3116
+ deletePixel(requestParameters, options) {
3117
+ return PixelsApiFp(this.configuration).deletePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(this.axios, this.basePath));
3118
+ }
3119
+ /**
3120
+ * Get a pixel for a platform by a given pixel ID.
3121
+ * @summary Get pixel
3122
+ * @param {PixelsApiGetPixelRequest} requestParameters Request parameters.
3123
+ * @param {*} [options] Override http request option.
3124
+ * @throws {RequiredError}
3125
+ * @memberof PixelsApi
3126
+ */
3127
+ getPixel(requestParameters, options) {
3128
+ return PixelsApiFp(this.configuration).getPixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, options).then((request) => request(this.axios, this.basePath));
3129
+ }
3130
+ /**
3131
+ * List pixels for a platform
3132
+ * @summary List pixels
3133
+ * @param {PixelsApiListPixelsRequest} requestParameters Request parameters.
3134
+ * @param {*} [options] Override http request option.
3135
+ * @throws {RequiredError}
3136
+ * @memberof PixelsApi
3137
+ */
3138
+ listPixels(requestParameters, options) {
3139
+ return PixelsApiFp(this.configuration).listPixels(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
3140
+ }
3141
+ /**
3142
+ * Update a pixel
3143
+ * @summary Update a pixel
3144
+ * @param {PixelsApiUpdatePixelRequest} requestParameters Request parameters.
3145
+ * @param {*} [options] Override http request option.
3146
+ * @throws {RequiredError}
3147
+ * @memberof PixelsApi
3148
+ */
3149
+ updatePixel(requestParameters, options) {
3150
+ return PixelsApiFp(this.configuration).updatePixel(requestParameters.project, requestParameters.platformId, requestParameters.pixelId, requestParameters.createPixelRequest, options).then((request) => request(this.axios, this.basePath));
3151
+ }
3152
+ }
2676
3153
  /**
2677
3154
  * PlatformApi - axios parameter creator
2678
3155
  * @export
@@ -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).
package/dist/esm/base.js 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.32.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).
@@ -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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.32.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).
@@ -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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.32.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).
@@ -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).
package/dist/esm/index.js 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.32.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).
package/dist/index.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).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.32.0
8
+ * The version of the OpenAPI document: 0.33.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,24 @@
1
+ # CreatePixelRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **sourceProjects** | **Array<string>** | | [default to undefined]
10
+ **filters** | [**CreatePixelRequestFilters**](CreatePixelRequestFilters.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreatePixelRequest } from '@teemill/platform';
16
+
17
+ const instance: CreatePixelRequest = {
18
+ name,
19
+ sourceProjects,
20
+ filters,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # CreatePixelRequestFilters
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **projects** | **Array<string>** | | [default to undefined]
9
+ **demographics** | **Array<string>** | | [default to undefined]
10
+ **tags** | **Array<string>** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreatePixelRequestFilters } from '@teemill/platform';
16
+
17
+ const instance: CreatePixelRequestFilters = {
18
+ projects,
19
+ demographics,
20
+ tags,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)