@oursprivacy/platform-sdk 1.17.0 → 1.19.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/CHANGELOG.md +16 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/destination-types.d.mts +138 -0
- package/resources/destination-types.d.mts.map +1 -0
- package/resources/destination-types.d.ts +138 -0
- package/resources/destination-types.d.ts.map +1 -0
- package/resources/destination-types.js +28 -0
- package/resources/destination-types.js.map +1 -0
- package/resources/destination-types.mjs +24 -0
- package/resources/destination-types.mjs.map +1 -0
- package/resources/destinations.d.mts +61 -9
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +61 -9
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +12 -4
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +12 -4
- package/resources/destinations.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +13 -0
- package/src/resources/destination-types.ts +458 -0
- package/src/resources/destinations.ts +68 -5
- package/src/resources/index.ts +5 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -24,11 +24,19 @@ class Destinations extends resource_1.APIResource {
|
|
|
24
24
|
return this._client.get((0, path_1.path) `/rest/v1/destinations/${id}`, options);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Partially update a destination. Only the fields you send are changed
|
|
28
|
-
*
|
|
27
|
+
* Partially update a destination. Only the fields you send are changed; omitted
|
|
28
|
+
* fields are unchanged. The `settings` object is deep-merged into the existing
|
|
29
|
+
* settings by default — keys you omit keep their current value. Pass
|
|
30
|
+
* `?settings_strategy=replace` to wipe and replace the settings blob entirely.
|
|
31
|
+
* Requires scope: destination:update
|
|
29
32
|
*/
|
|
30
|
-
update(id,
|
|
31
|
-
|
|
33
|
+
update(id, params, options) {
|
|
34
|
+
const { settings_strategy, ...body } = params;
|
|
35
|
+
return this._client.patch((0, path_1.path) `/rest/v1/destinations/${id}`, {
|
|
36
|
+
query: { settings_strategy },
|
|
37
|
+
body,
|
|
38
|
+
...options,
|
|
39
|
+
});
|
|
32
40
|
}
|
|
33
41
|
/**
|
|
34
42
|
* Delete a destination. Requires scope: destination:delete
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,EAAU,EACV,MAA+B,EAC/B,OAAwB;QAExB,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE;YAC3D,KAAK,EAAE,EAAE,iBAAiB,EAAE;YAC5B,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF;AAhDD,oCAgDC"}
|
|
@@ -21,11 +21,19 @@ export class Destinations extends APIResource {
|
|
|
21
21
|
return this._client.get(path `/rest/v1/destinations/${id}`, options);
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Partially update a destination. Only the fields you send are changed
|
|
25
|
-
*
|
|
24
|
+
* Partially update a destination. Only the fields you send are changed; omitted
|
|
25
|
+
* fields are unchanged. The `settings` object is deep-merged into the existing
|
|
26
|
+
* settings by default — keys you omit keep their current value. Pass
|
|
27
|
+
* `?settings_strategy=replace` to wipe and replace the settings blob entirely.
|
|
28
|
+
* Requires scope: destination:update
|
|
26
29
|
*/
|
|
27
|
-
update(id,
|
|
28
|
-
|
|
30
|
+
update(id, params, options) {
|
|
31
|
+
const { settings_strategy, ...body } = params;
|
|
32
|
+
return this._client.patch(path `/rest/v1/destinations/${id}`, {
|
|
33
|
+
query: { settings_strategy },
|
|
34
|
+
body,
|
|
35
|
+
...options,
|
|
36
|
+
});
|
|
29
37
|
}
|
|
30
38
|
/**
|
|
31
39
|
* Delete a destination. Requires scope: destination:delete
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.mjs","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"destinations.mjs","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,EAAU,EACV,MAA+B,EAC/B,OAAwB;QAExB,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE;YAC3D,KAAK,EAAE,EAAE,iBAAiB,EAAE;YAC5B,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AllowedEvents, type AllowedEventListResponse, type AllowedEventCreateResponse, type AllowedEventRetrieveResponse, type AllowedEventDeleteResponse, type AllowedEventCreateParams, } from "./allowed-events.mjs";
|
|
2
2
|
export { ConsentSettings, type ConsentSettingListResponse, type ConsentSettingCreateResponse, type ConsentSettingRetrieveResponse, type ConsentSettingReplaceResponse, type ConsentSettingUpdateResponse, type ConsentSettingDeleteResponse, type ConsentSettingReplaceParams, type ConsentSettingUpdateParams, } from "./consent-settings.mjs";
|
|
3
|
+
export { DestinationTypes, type DestinationTypeListResponse, type DestinationTypeRetrieveResponse, } from "./destination-types.mjs";
|
|
3
4
|
export { Destinations, type DestinationListResponse, type DestinationCreateResponse, type DestinationRetrieveResponse, type DestinationUpdateResponse, type DestinationDeleteResponse, type DestinationCreateParams, type DestinationUpdateParams, } from "./destinations.mjs";
|
|
4
5
|
export { ExperimentSettings, type ExperimentSettingListResponse, type ExperimentSettingCreateResponse, type ExperimentSettingRetrieveResponse, type ExperimentSettingUpdateResponse, type ExperimentSettingDeleteResponse, type ExperimentSettingCreateParams, type ExperimentSettingUpdateParams, } from "./experiment-settings.mjs";
|
|
5
6
|
export { ExperimentVariants, type ExperimentVariantListResponse, type ExperimentVariantCreateResponse, type ExperimentVariantRetrieveResponse, type ExperimentVariantUpdateResponse, type ExperimentVariantDeleteResponse, type ExperimentVariantListParams, type ExperimentVariantCreateParams, type ExperimentVariantUpdateParams, type ExperimentVariantListResponsesCursor, } from "./experiment-variants.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,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AK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AllowedEvents, type AllowedEventListResponse, type AllowedEventCreateResponse, type AllowedEventRetrieveResponse, type AllowedEventDeleteResponse, type AllowedEventCreateParams, } from "./allowed-events.js";
|
|
2
2
|
export { ConsentSettings, type ConsentSettingListResponse, type ConsentSettingCreateResponse, type ConsentSettingRetrieveResponse, type ConsentSettingReplaceResponse, type ConsentSettingUpdateResponse, type ConsentSettingDeleteResponse, type ConsentSettingReplaceParams, type ConsentSettingUpdateParams, } from "./consent-settings.js";
|
|
3
|
+
export { DestinationTypes, type DestinationTypeListResponse, type DestinationTypeRetrieveResponse, } from "./destination-types.js";
|
|
3
4
|
export { Destinations, type DestinationListResponse, type DestinationCreateResponse, type DestinationRetrieveResponse, type DestinationUpdateResponse, type DestinationDeleteResponse, type DestinationCreateParams, type DestinationUpdateParams, } from "./destinations.js";
|
|
4
5
|
export { ExperimentSettings, type ExperimentSettingListResponse, type ExperimentSettingCreateResponse, type ExperimentSettingRetrieveResponse, type ExperimentSettingUpdateResponse, type ExperimentSettingDeleteResponse, type ExperimentSettingCreateParams, type ExperimentSettingUpdateParams, } from "./experiment-settings.js";
|
|
5
6
|
export { ExperimentVariants, type ExperimentVariantListResponse, type ExperimentVariantCreateResponse, type ExperimentVariantRetrieveResponse, type ExperimentVariantUpdateResponse, type ExperimentVariantDeleteResponse, type ExperimentVariantListParams, type ExperimentVariantCreateParams, type ExperimentVariantUpdateParams, type ExperimentVariantListResponsesCursor, } from "./experiment-variants.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,K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AAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC;OACM,EACL,gBAAgB,EAChB,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,GACrC;OACM,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B;OACM,EACL,kBAAkB,EAClB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,GACnC;OACM,EACL,kBAAkB,EAClB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,GAC1C;OACM,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EA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oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB;OACM,EACL,QAAQ,EACR,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC"}
|
package/resources/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Versions = exports.Sources = exports.ReplaySettings = exports.Mappings = exports.HeatmapPages = exports.GlobalDispatchCenters = exports.Experiments = exports.ExperimentVariants = exports.ExperimentSettings = exports.Destinations = exports.ConsentSettings = exports.AllowedEvents = void 0;
|
|
4
|
+
exports.Versions = exports.Sources = exports.ReplaySettings = exports.Mappings = exports.HeatmapPages = exports.GlobalDispatchCenters = exports.Experiments = exports.ExperimentVariants = exports.ExperimentSettings = exports.Destinations = exports.DestinationTypes = exports.ConsentSettings = exports.AllowedEvents = void 0;
|
|
5
5
|
var allowed_events_1 = require("./allowed-events.js");
|
|
6
6
|
Object.defineProperty(exports, "AllowedEvents", { enumerable: true, get: function () { return allowed_events_1.AllowedEvents; } });
|
|
7
7
|
var consent_settings_1 = require("./consent-settings.js");
|
|
8
8
|
Object.defineProperty(exports, "ConsentSettings", { enumerable: true, get: function () { return consent_settings_1.ConsentSettings; } });
|
|
9
|
+
var destination_types_1 = require("./destination-types.js");
|
|
10
|
+
Object.defineProperty(exports, "DestinationTypes", { enumerable: true, get: function () { return destination_types_1.DestinationTypes; } });
|
|
9
11
|
var destinations_1 = require("./destinations.js");
|
|
10
12
|
Object.defineProperty(exports, "Destinations", { enumerable: true, get: function () { return destinations_1.Destinations; } });
|
|
11
13
|
var experiment_settings_1 = require("./experiment-settings.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,0DAU4B;AAT1B,mHAAA,eAAe,OAAA;AAUjB,kDASwB;AARtB,4GAAA,YAAY,OAAA;AASd,gEAS+B;AAR7B,yHAAA,kBAAkB,OAAA;AASpB,gEAW+B;AAV7B,yHAAA,kBAAkB,OAAA;AAWpB,gDAyBuB;AAxBrB,0GAAA,WAAW,OAAA;AAyBb,wEAWmC;AAVjC,gIAAA,qBAAqB,OAAA;AAWvB,oDAOyB;AANvB,6GAAA,YAAY,OAAA;AAOd,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,wDAW2B;AAVzB,iHAAA,cAAc,OAAA;AAWhB,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAcoB;AAblB,oGAAA,QAAQ,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,0DAU4B;AAT1B,mHAAA,eAAe,OAAA;AAUjB,4DAI6B;AAH3B,qHAAA,gBAAgB,OAAA;AAIlB,kDASwB;AARtB,4GAAA,YAAY,OAAA;AASd,gEAS+B;AAR7B,yHAAA,kBAAkB,OAAA;AASpB,gEAW+B;AAV7B,yHAAA,kBAAkB,OAAA;AAWpB,gDAyBuB;AAxBrB,0GAAA,WAAW,OAAA;AAyBb,wEAWmC;AAVjC,gIAAA,qBAAqB,OAAA;AAWvB,oDAOyB;AANvB,6GAAA,YAAY,OAAA;AAOd,0CAWoB;AAVlB,oGAAA,QAAQ,OAAA;AAWV,wDAW2B;AAVzB,iHAAA,cAAc,OAAA;AAWhB,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAcoB;AAblB,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { AllowedEvents, } from "./allowed-events.mjs";
|
|
3
3
|
export { ConsentSettings, } from "./consent-settings.mjs";
|
|
4
|
+
export { DestinationTypes, } from "./destination-types.mjs";
|
|
4
5
|
export { Destinations, } from "./destinations.mjs";
|
|
5
6
|
export { ExperimentSettings, } from "./experiment-settings.mjs";
|
|
6
7
|
export { ExperimentVariants, } from "./experiment-variants.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAMd;OACM,EACL,eAAe,GAShB;OACM,EACL,YAAY,GAQb;OACM,EACL,kBAAkB,GAQnB;OACM,EACL,kBAAkB,GAUnB;OACM,EACL,WAAW,GAwBZ;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,YAAY,GAMb;OACM,EACL,QAAQ,GAUT;OACM,EACL,cAAc,GAUf;OACM,EACL,OAAO,GASR;OACM,EACL,QAAQ,GAaT"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAMd;OACM,EACL,eAAe,GAShB;OACM,EACL,gBAAgB,GAGjB;OACM,EACL,YAAY,GAQb;OACM,EACL,kBAAkB,GAQnB;OACM,EACL,kBAAkB,GAUnB;OACM,EACL,WAAW,GAwBZ;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,YAAY,GAMb;OACM,EACL,QAAQ,GAUT;OACM,EACL,cAAc,GAUf;OACM,EACL,OAAO,GASR;OACM,EACL,QAAQ,GAaT"}
|
package/src/client.ts
CHANGED
|
@@ -38,6 +38,11 @@ import {
|
|
|
38
38
|
ConsentSettingUpdateResponse,
|
|
39
39
|
ConsentSettings,
|
|
40
40
|
} from './resources/consent-settings';
|
|
41
|
+
import {
|
|
42
|
+
DestinationTypeListResponse,
|
|
43
|
+
DestinationTypeRetrieveResponse,
|
|
44
|
+
DestinationTypes,
|
|
45
|
+
} from './resources/destination-types';
|
|
41
46
|
import {
|
|
42
47
|
DestinationCreateParams,
|
|
43
48
|
DestinationCreateResponse,
|
|
@@ -914,6 +919,7 @@ export class OursPrivacyPlatform {
|
|
|
914
919
|
replaySettings: API.ReplaySettings = new API.ReplaySettings(this);
|
|
915
920
|
sources: API.Sources = new API.Sources(this);
|
|
916
921
|
versions: API.Versions = new API.Versions(this);
|
|
922
|
+
destinationTypes: API.DestinationTypes = new API.DestinationTypes(this);
|
|
917
923
|
}
|
|
918
924
|
|
|
919
925
|
OursPrivacyPlatform.AllowedEvents = AllowedEvents;
|
|
@@ -928,6 +934,7 @@ OursPrivacyPlatform.Mappings = Mappings;
|
|
|
928
934
|
OursPrivacyPlatform.ReplaySettings = ReplaySettings;
|
|
929
935
|
OursPrivacyPlatform.Sources = Sources;
|
|
930
936
|
OursPrivacyPlatform.Versions = Versions;
|
|
937
|
+
OursPrivacyPlatform.DestinationTypes = DestinationTypes;
|
|
931
938
|
|
|
932
939
|
export declare namespace OursPrivacyPlatform {
|
|
933
940
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -1093,4 +1100,10 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1093
1100
|
type VersionUpdateParams as VersionUpdateParams,
|
|
1094
1101
|
type VersionDiffParams as VersionDiffParams,
|
|
1095
1102
|
};
|
|
1103
|
+
|
|
1104
|
+
export {
|
|
1105
|
+
DestinationTypes as DestinationTypes,
|
|
1106
|
+
type DestinationTypeListResponse as DestinationTypeListResponse,
|
|
1107
|
+
type DestinationTypeRetrieveResponse as DestinationTypeRetrieveResponse,
|
|
1108
|
+
};
|
|
1096
1109
|
}
|
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
import { path } from '../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
export class DestinationTypes extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Lists every destination type the platform supports, with its human-readable
|
|
11
|
+
* label, capability flags (oauth, listsAccounts, supportsRenamedEvents), and the
|
|
12
|
+
* settings descriptor used to configure a destination of that type.
|
|
13
|
+
* Account-agnostic — the response is the same for every API key. Requires scope:
|
|
14
|
+
* destination:list
|
|
15
|
+
*/
|
|
16
|
+
list(options?: RequestOptions): APIPromise<DestinationTypeListResponse> {
|
|
17
|
+
return this._client.get('/rest/v1/destination-types', options);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Fetch the descriptor for a single destination type by its identifier (e.g.
|
|
22
|
+
* `Klaviyo`, `Facebook`, `GoogleDataManagerEventIngest`). Returns 404 if the
|
|
23
|
+
* identifier is unknown. Requires scope: destination:list
|
|
24
|
+
*/
|
|
25
|
+
retrieve(
|
|
26
|
+
id:
|
|
27
|
+
| 'AWSEventBridge'
|
|
28
|
+
| 'AWSKinesis'
|
|
29
|
+
| 'AWSLambda'
|
|
30
|
+
| 'AWSS3'
|
|
31
|
+
| 'AWSSNS'
|
|
32
|
+
| 'ActiveCampaignApi'
|
|
33
|
+
| 'Admitad'
|
|
34
|
+
| 'AmazonDSP'
|
|
35
|
+
| 'Amplitude'
|
|
36
|
+
| 'AppLovin'
|
|
37
|
+
| 'ArtsAI'
|
|
38
|
+
| 'Attentive'
|
|
39
|
+
| 'Audiohook'
|
|
40
|
+
| 'AzureBlob'
|
|
41
|
+
| 'BasisPostback'
|
|
42
|
+
| 'BeeswaxPostback'
|
|
43
|
+
| 'BingAds'
|
|
44
|
+
| 'BingAdsWeb'
|
|
45
|
+
| 'Braze'
|
|
46
|
+
| 'ConvertABTestingEvent'
|
|
47
|
+
| 'Customerio'
|
|
48
|
+
| 'DomoWarehouse'
|
|
49
|
+
| 'Everflow'
|
|
50
|
+
| 'Facebook'
|
|
51
|
+
| 'FloodlightSGTM'
|
|
52
|
+
| 'FullContact'
|
|
53
|
+
| 'G4Analytics'
|
|
54
|
+
| 'GA4MeasurementProtocol'
|
|
55
|
+
| 'GA4ServerProxy'
|
|
56
|
+
| 'Google'
|
|
57
|
+
| 'GoogleAds360'
|
|
58
|
+
| 'GoogleAdsServerContainer'
|
|
59
|
+
| 'GoogleBigQuery'
|
|
60
|
+
| 'GoogleBigQueryWarehouse'
|
|
61
|
+
| 'GoogleDataManagerEventIngest'
|
|
62
|
+
| 'GooglePubSub'
|
|
63
|
+
| 'GoogleStorage'
|
|
64
|
+
| 'HTTPCustomRequest'
|
|
65
|
+
| 'HTTPDestination'
|
|
66
|
+
| 'Hubspot'
|
|
67
|
+
| 'IHeartMediaMagellan'
|
|
68
|
+
| 'Impact'
|
|
69
|
+
| 'Iterable'
|
|
70
|
+
| 'Klaviyo'
|
|
71
|
+
| 'LinkedInAdsCAPI'
|
|
72
|
+
| 'LiveIntent'
|
|
73
|
+
| 'LiveRampWarehouse'
|
|
74
|
+
| 'Mailchimp'
|
|
75
|
+
| 'Mixpanel'
|
|
76
|
+
| 'NextdoorAds'
|
|
77
|
+
| 'OursSyntheticData'
|
|
78
|
+
| 'Partnerize'
|
|
79
|
+
| 'Pinterest'
|
|
80
|
+
| 'Plausible'
|
|
81
|
+
| 'Podscribe'
|
|
82
|
+
| 'PostHog'
|
|
83
|
+
| 'QuantcastCAPI'
|
|
84
|
+
| 'QuoraAds'
|
|
85
|
+
| 'Reddit'
|
|
86
|
+
| 'RokuCAPI'
|
|
87
|
+
| 'SnapchatAdsCapi'
|
|
88
|
+
| 'Spotify'
|
|
89
|
+
| 'StackAdaptAPI'
|
|
90
|
+
| 'Taboola'
|
|
91
|
+
| 'Tatari'
|
|
92
|
+
| 'TheTradeDesk'
|
|
93
|
+
| 'TikTok'
|
|
94
|
+
| 'VWO'
|
|
95
|
+
| 'Viant'
|
|
96
|
+
| 'Vibe'
|
|
97
|
+
| 'Woopra'
|
|
98
|
+
| 'XAds'
|
|
99
|
+
| 'Zendesk'
|
|
100
|
+
| 'ZoomInfo',
|
|
101
|
+
options?: RequestOptions,
|
|
102
|
+
): APIPromise<DestinationTypeRetrieveResponse> {
|
|
103
|
+
return this._client.get(path`/rest/v1/destination-types/${id}`, options);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface DestinationTypeListResponse {
|
|
108
|
+
entities: Array<DestinationTypeListResponse.Entity>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export namespace DestinationTypeListResponse {
|
|
112
|
+
export interface Entity {
|
|
113
|
+
id:
|
|
114
|
+
| 'AWSEventBridge'
|
|
115
|
+
| 'AWSKinesis'
|
|
116
|
+
| 'AWSLambda'
|
|
117
|
+
| 'AWSS3'
|
|
118
|
+
| 'AWSSNS'
|
|
119
|
+
| 'ActiveCampaignApi'
|
|
120
|
+
| 'Admitad'
|
|
121
|
+
| 'AmazonDSP'
|
|
122
|
+
| 'Amplitude'
|
|
123
|
+
| 'AppLovin'
|
|
124
|
+
| 'ArtsAI'
|
|
125
|
+
| 'Attentive'
|
|
126
|
+
| 'Audiohook'
|
|
127
|
+
| 'AzureBlob'
|
|
128
|
+
| 'BasisPostback'
|
|
129
|
+
| 'BeeswaxPostback'
|
|
130
|
+
| 'BingAds'
|
|
131
|
+
| 'BingAdsWeb'
|
|
132
|
+
| 'Braze'
|
|
133
|
+
| 'ConvertABTestingEvent'
|
|
134
|
+
| 'Customerio'
|
|
135
|
+
| 'DomoWarehouse'
|
|
136
|
+
| 'Everflow'
|
|
137
|
+
| 'Facebook'
|
|
138
|
+
| 'FloodlightSGTM'
|
|
139
|
+
| 'FullContact'
|
|
140
|
+
| 'G4Analytics'
|
|
141
|
+
| 'GA4MeasurementProtocol'
|
|
142
|
+
| 'GA4ServerProxy'
|
|
143
|
+
| 'Google'
|
|
144
|
+
| 'GoogleAds360'
|
|
145
|
+
| 'GoogleAdsServerContainer'
|
|
146
|
+
| 'GoogleBigQuery'
|
|
147
|
+
| 'GoogleBigQueryWarehouse'
|
|
148
|
+
| 'GoogleDataManagerEventIngest'
|
|
149
|
+
| 'GooglePubSub'
|
|
150
|
+
| 'GoogleStorage'
|
|
151
|
+
| 'HTTPCustomRequest'
|
|
152
|
+
| 'HTTPDestination'
|
|
153
|
+
| 'Hubspot'
|
|
154
|
+
| 'IHeartMediaMagellan'
|
|
155
|
+
| 'Impact'
|
|
156
|
+
| 'Iterable'
|
|
157
|
+
| 'Klaviyo'
|
|
158
|
+
| 'LinkedInAdsCAPI'
|
|
159
|
+
| 'LiveIntent'
|
|
160
|
+
| 'LiveRampWarehouse'
|
|
161
|
+
| 'Mailchimp'
|
|
162
|
+
| 'Mixpanel'
|
|
163
|
+
| 'NextdoorAds'
|
|
164
|
+
| 'OursSyntheticData'
|
|
165
|
+
| 'Partnerize'
|
|
166
|
+
| 'Pinterest'
|
|
167
|
+
| 'Plausible'
|
|
168
|
+
| 'Podscribe'
|
|
169
|
+
| 'PostHog'
|
|
170
|
+
| 'QuantcastCAPI'
|
|
171
|
+
| 'QuoraAds'
|
|
172
|
+
| 'Reddit'
|
|
173
|
+
| 'RokuCAPI'
|
|
174
|
+
| 'SnapchatAdsCapi'
|
|
175
|
+
| 'Spotify'
|
|
176
|
+
| 'StackAdaptAPI'
|
|
177
|
+
| 'Taboola'
|
|
178
|
+
| 'Tatari'
|
|
179
|
+
| 'TheTradeDesk'
|
|
180
|
+
| 'TikTok'
|
|
181
|
+
| 'VWO'
|
|
182
|
+
| 'Viant'
|
|
183
|
+
| 'Vibe'
|
|
184
|
+
| 'Woopra'
|
|
185
|
+
| 'XAds'
|
|
186
|
+
| 'Zendesk'
|
|
187
|
+
| 'ZoomInfo';
|
|
188
|
+
|
|
189
|
+
capabilities: Entity.Capabilities;
|
|
190
|
+
|
|
191
|
+
label: string;
|
|
192
|
+
|
|
193
|
+
settings: Array<
|
|
194
|
+
| Entity.UnionMember0
|
|
195
|
+
| Entity.UnionMember1
|
|
196
|
+
| Entity.UnionMember2
|
|
197
|
+
| Entity.UnionMember3
|
|
198
|
+
| Entity.UnionMember4
|
|
199
|
+
>;
|
|
200
|
+
|
|
201
|
+
status: 'deprecated' | 'ga';
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export namespace Entity {
|
|
205
|
+
export interface Capabilities {
|
|
206
|
+
listsAccounts: boolean;
|
|
207
|
+
|
|
208
|
+
oauth: boolean;
|
|
209
|
+
|
|
210
|
+
supportsRenamedEvents: boolean;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface UnionMember0 {
|
|
214
|
+
key: string;
|
|
215
|
+
|
|
216
|
+
label: string;
|
|
217
|
+
|
|
218
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export interface UnionMember1 {
|
|
222
|
+
key: string;
|
|
223
|
+
|
|
224
|
+
label: string;
|
|
225
|
+
|
|
226
|
+
options: Array<UnionMember1.Option>;
|
|
227
|
+
|
|
228
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
229
|
+
|
|
230
|
+
required?: boolean | null;
|
|
231
|
+
|
|
232
|
+
sublabel?: string | null;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export namespace UnionMember1 {
|
|
236
|
+
export interface Option {
|
|
237
|
+
label: string;
|
|
238
|
+
|
|
239
|
+
value: string;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface UnionMember2 {
|
|
244
|
+
key: string;
|
|
245
|
+
|
|
246
|
+
label: string;
|
|
247
|
+
|
|
248
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
249
|
+
|
|
250
|
+
defaultValue?: boolean | null;
|
|
251
|
+
|
|
252
|
+
required?: boolean | null;
|
|
253
|
+
|
|
254
|
+
sublabel?: string | null;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface UnionMember3 {
|
|
258
|
+
key: string;
|
|
259
|
+
|
|
260
|
+
label: string;
|
|
261
|
+
|
|
262
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
263
|
+
|
|
264
|
+
sublabel?: string | null;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export interface UnionMember4 {
|
|
268
|
+
key: string;
|
|
269
|
+
|
|
270
|
+
label: string;
|
|
271
|
+
|
|
272
|
+
placeholder: string;
|
|
273
|
+
|
|
274
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
275
|
+
|
|
276
|
+
required?: boolean | null;
|
|
277
|
+
|
|
278
|
+
sublabel?: string | null;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export interface DestinationTypeRetrieveResponse {
|
|
284
|
+
id:
|
|
285
|
+
| 'AWSEventBridge'
|
|
286
|
+
| 'AWSKinesis'
|
|
287
|
+
| 'AWSLambda'
|
|
288
|
+
| 'AWSS3'
|
|
289
|
+
| 'AWSSNS'
|
|
290
|
+
| 'ActiveCampaignApi'
|
|
291
|
+
| 'Admitad'
|
|
292
|
+
| 'AmazonDSP'
|
|
293
|
+
| 'Amplitude'
|
|
294
|
+
| 'AppLovin'
|
|
295
|
+
| 'ArtsAI'
|
|
296
|
+
| 'Attentive'
|
|
297
|
+
| 'Audiohook'
|
|
298
|
+
| 'AzureBlob'
|
|
299
|
+
| 'BasisPostback'
|
|
300
|
+
| 'BeeswaxPostback'
|
|
301
|
+
| 'BingAds'
|
|
302
|
+
| 'BingAdsWeb'
|
|
303
|
+
| 'Braze'
|
|
304
|
+
| 'ConvertABTestingEvent'
|
|
305
|
+
| 'Customerio'
|
|
306
|
+
| 'DomoWarehouse'
|
|
307
|
+
| 'Everflow'
|
|
308
|
+
| 'Facebook'
|
|
309
|
+
| 'FloodlightSGTM'
|
|
310
|
+
| 'FullContact'
|
|
311
|
+
| 'G4Analytics'
|
|
312
|
+
| 'GA4MeasurementProtocol'
|
|
313
|
+
| 'GA4ServerProxy'
|
|
314
|
+
| 'Google'
|
|
315
|
+
| 'GoogleAds360'
|
|
316
|
+
| 'GoogleAdsServerContainer'
|
|
317
|
+
| 'GoogleBigQuery'
|
|
318
|
+
| 'GoogleBigQueryWarehouse'
|
|
319
|
+
| 'GoogleDataManagerEventIngest'
|
|
320
|
+
| 'GooglePubSub'
|
|
321
|
+
| 'GoogleStorage'
|
|
322
|
+
| 'HTTPCustomRequest'
|
|
323
|
+
| 'HTTPDestination'
|
|
324
|
+
| 'Hubspot'
|
|
325
|
+
| 'IHeartMediaMagellan'
|
|
326
|
+
| 'Impact'
|
|
327
|
+
| 'Iterable'
|
|
328
|
+
| 'Klaviyo'
|
|
329
|
+
| 'LinkedInAdsCAPI'
|
|
330
|
+
| 'LiveIntent'
|
|
331
|
+
| 'LiveRampWarehouse'
|
|
332
|
+
| 'Mailchimp'
|
|
333
|
+
| 'Mixpanel'
|
|
334
|
+
| 'NextdoorAds'
|
|
335
|
+
| 'OursSyntheticData'
|
|
336
|
+
| 'Partnerize'
|
|
337
|
+
| 'Pinterest'
|
|
338
|
+
| 'Plausible'
|
|
339
|
+
| 'Podscribe'
|
|
340
|
+
| 'PostHog'
|
|
341
|
+
| 'QuantcastCAPI'
|
|
342
|
+
| 'QuoraAds'
|
|
343
|
+
| 'Reddit'
|
|
344
|
+
| 'RokuCAPI'
|
|
345
|
+
| 'SnapchatAdsCapi'
|
|
346
|
+
| 'Spotify'
|
|
347
|
+
| 'StackAdaptAPI'
|
|
348
|
+
| 'Taboola'
|
|
349
|
+
| 'Tatari'
|
|
350
|
+
| 'TheTradeDesk'
|
|
351
|
+
| 'TikTok'
|
|
352
|
+
| 'VWO'
|
|
353
|
+
| 'Viant'
|
|
354
|
+
| 'Vibe'
|
|
355
|
+
| 'Woopra'
|
|
356
|
+
| 'XAds'
|
|
357
|
+
| 'Zendesk'
|
|
358
|
+
| 'ZoomInfo';
|
|
359
|
+
|
|
360
|
+
capabilities: DestinationTypeRetrieveResponse.Capabilities;
|
|
361
|
+
|
|
362
|
+
label: string;
|
|
363
|
+
|
|
364
|
+
settings: Array<
|
|
365
|
+
| DestinationTypeRetrieveResponse.UnionMember0
|
|
366
|
+
| DestinationTypeRetrieveResponse.UnionMember1
|
|
367
|
+
| DestinationTypeRetrieveResponse.UnionMember2
|
|
368
|
+
| DestinationTypeRetrieveResponse.UnionMember3
|
|
369
|
+
| DestinationTypeRetrieveResponse.UnionMember4
|
|
370
|
+
>;
|
|
371
|
+
|
|
372
|
+
status: 'deprecated' | 'ga';
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export namespace DestinationTypeRetrieveResponse {
|
|
376
|
+
export interface Capabilities {
|
|
377
|
+
listsAccounts: boolean;
|
|
378
|
+
|
|
379
|
+
oauth: boolean;
|
|
380
|
+
|
|
381
|
+
supportsRenamedEvents: boolean;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export interface UnionMember0 {
|
|
385
|
+
key: string;
|
|
386
|
+
|
|
387
|
+
label: string;
|
|
388
|
+
|
|
389
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export interface UnionMember1 {
|
|
393
|
+
key: string;
|
|
394
|
+
|
|
395
|
+
label: string;
|
|
396
|
+
|
|
397
|
+
options: Array<UnionMember1.Option>;
|
|
398
|
+
|
|
399
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
400
|
+
|
|
401
|
+
required?: boolean | null;
|
|
402
|
+
|
|
403
|
+
sublabel?: string | null;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export namespace UnionMember1 {
|
|
407
|
+
export interface Option {
|
|
408
|
+
label: string;
|
|
409
|
+
|
|
410
|
+
value: string;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export interface UnionMember2 {
|
|
415
|
+
key: string;
|
|
416
|
+
|
|
417
|
+
label: string;
|
|
418
|
+
|
|
419
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
420
|
+
|
|
421
|
+
defaultValue?: boolean | null;
|
|
422
|
+
|
|
423
|
+
required?: boolean | null;
|
|
424
|
+
|
|
425
|
+
sublabel?: string | null;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export interface UnionMember3 {
|
|
429
|
+
key: string;
|
|
430
|
+
|
|
431
|
+
label: string;
|
|
432
|
+
|
|
433
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
434
|
+
|
|
435
|
+
sublabel?: string | null;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface UnionMember4 {
|
|
439
|
+
key: string;
|
|
440
|
+
|
|
441
|
+
label: string;
|
|
442
|
+
|
|
443
|
+
placeholder: string;
|
|
444
|
+
|
|
445
|
+
type: 'Alert' | 'GenericOauth' | 'Secret' | 'Select' | 'Switch' | 'Text';
|
|
446
|
+
|
|
447
|
+
required?: boolean | null;
|
|
448
|
+
|
|
449
|
+
sublabel?: string | null;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export declare namespace DestinationTypes {
|
|
454
|
+
export {
|
|
455
|
+
type DestinationTypeListResponse as DestinationTypeListResponse,
|
|
456
|
+
type DestinationTypeRetrieveResponse as DestinationTypeRetrieveResponse,
|
|
457
|
+
};
|
|
458
|
+
}
|