sequenzy 2.1.2 → 2.1.4
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/cjs/api/resources/inApp/client/Client.d.ts +36 -0
- package/dist/cjs/api/resources/inApp/client/Client.js +138 -0
- package/dist/cjs/api/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inApp/client/requests/WriteInAppCopyRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +3 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +10 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +6 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestFormat.js +9 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestKind.js +8 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopy.js +3 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +3 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +8 -0
- package/dist/cjs/api/resources/inApp/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/types/index.js +9 -0
- package/dist/cjs/api/resources/sequences/types/SimulateSequencesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/sequences/types/SimulateSequencesResponseReadiness.d.ts +1 -1
- package/dist/cjs/api/resources/webTrackingKeys/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/webTrackingKeys/client/Client.js +2 -2
- package/dist/cjs/api/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/cjs/api/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/cjs/api/types/Company.d.ts +1 -0
- package/dist/cjs/api/types/InAppMessage.d.ts +5 -1
- package/dist/cjs/api/types/InAppMessageImagePlacement.d.ts +6 -0
- package/dist/cjs/api/types/InAppMessageImagePlacement.js +9 -0
- package/dist/cjs/api/types/InAppMessagePosition.d.ts +2 -1
- package/dist/cjs/api/types/InAppMessagePosition.js +2 -1
- package/dist/cjs/api/types/PushDevice.d.ts +1 -0
- package/dist/cjs/api/types/PushDeviceSource.d.ts +2 -0
- package/dist/cjs/api/types/PushDeviceSource.js +2 -0
- package/dist/cjs/api/types/SequenceActionResponse.d.ts +1 -1
- package/dist/cjs/api/types/WebTrackingKey.d.ts +5 -3
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.js +36 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/index.js +3 -1
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +14 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +36 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestKind.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +13 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.js +35 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/index.d.ts +9 -0
- package/dist/cjs/serialization/resources/inApp/types/index.js +9 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.js +1 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.js +1 -0
- package/dist/cjs/serialization/types/InAppMessage.d.ts +3 -0
- package/dist/cjs/serialization/types/InAppMessage.js +3 -0
- package/dist/cjs/serialization/types/InAppMessageImagePlacement.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppMessageImagePlacement.js +29 -0
- package/dist/cjs/serialization/types/InAppMessagePosition.d.ts +1 -1
- package/dist/cjs/serialization/types/InAppMessagePosition.js +1 -1
- package/dist/cjs/serialization/types/PushDeviceSource.d.ts +1 -1
- package/dist/cjs/serialization/types/PushDeviceSource.js +1 -1
- package/dist/cjs/serialization/types/WebTrackingKey.d.ts +1 -0
- package/dist/cjs/serialization/types/WebTrackingKey.js +1 -0
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- package/dist/esm/api/resources/inApp/client/Client.d.ts +36 -0
- package/dist/esm/api/resources/inApp/client/Client.js +138 -0
- package/dist/esm/api/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +13 -0
- package/dist/esm/api/resources/inApp/client/requests/WriteInAppCopyRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +9 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +2 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +7 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +6 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestFormat.js +6 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestKind.js +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopy.js +2 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +2 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +5 -0
- package/dist/esm/api/resources/inApp/types/index.d.ts +9 -0
- package/dist/esm/api/resources/inApp/types/index.js +9 -0
- package/dist/esm/api/resources/sequences/types/SimulateSequencesResponse.d.ts +1 -1
- package/dist/esm/api/resources/sequences/types/SimulateSequencesResponseReadiness.d.ts +1 -1
- package/dist/esm/api/resources/webTrackingKeys/client/Client.d.ts +2 -2
- package/dist/esm/api/resources/webTrackingKeys/client/Client.js +2 -2
- package/dist/esm/api/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/esm/api/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/esm/api/types/Company.d.ts +1 -0
- package/dist/esm/api/types/InAppMessage.d.ts +5 -1
- package/dist/esm/api/types/InAppMessageImagePlacement.d.ts +6 -0
- package/dist/esm/api/types/InAppMessageImagePlacement.js +6 -0
- package/dist/esm/api/types/InAppMessagePosition.d.ts +2 -1
- package/dist/esm/api/types/InAppMessagePosition.js +2 -1
- package/dist/esm/api/types/PushDevice.d.ts +1 -0
- package/dist/esm/api/types/PushDeviceSource.d.ts +2 -0
- package/dist/esm/api/types/PushDeviceSource.js +2 -0
- package/dist/esm/api/types/SequenceActionResponse.d.ts +1 -1
- package/dist/esm/api/types/WebTrackingKey.d.ts +5 -3
- package/dist/esm/api/types/index.d.ts +1 -0
- package/dist/esm/api/types/index.js +1 -0
- package/dist/esm/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +14 -0
- package/dist/esm/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.js +10 -0
- package/dist/esm/serialization/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/esm/serialization/resources/inApp/client/requests/index.js +1 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +14 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +10 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestKind.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +13 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.js +9 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/index.d.ts +9 -0
- package/dist/esm/serialization/resources/inApp/types/index.js +9 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.js +1 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.js +1 -0
- package/dist/esm/serialization/types/InAppMessage.d.ts +3 -0
- package/dist/esm/serialization/types/InAppMessage.js +3 -0
- package/dist/esm/serialization/types/InAppMessageImagePlacement.d.ts +7 -0
- package/dist/esm/serialization/types/InAppMessageImagePlacement.js +3 -0
- package/dist/esm/serialization/types/InAppMessagePosition.d.ts +1 -1
- package/dist/esm/serialization/types/InAppMessagePosition.js +1 -1
- package/dist/esm/serialization/types/PushDeviceSource.d.ts +1 -1
- package/dist/esm/serialization/types/PushDeviceSource.js +1 -1
- package/dist/esm/serialization/types/WebTrackingKey.d.ts +1 -0
- package/dist/esm/serialization/types/WebTrackingKey.js +1 -0
- package/dist/esm/serialization/types/index.d.ts +1 -0
- package/dist/esm/serialization/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -311,6 +311,7 @@ export * from "./InAppMessage.js";
|
|
|
311
311
|
export * from "./InAppMessageButtonsItem.js";
|
|
312
312
|
export * from "./InAppMessageButtonsItemAction.js";
|
|
313
313
|
export * from "./InAppMessageFormat.js";
|
|
314
|
+
export * from "./InAppMessageImagePlacement.js";
|
|
314
315
|
export * from "./InAppMessageKind.js";
|
|
315
316
|
export * from "./InAppMessagePosition.js";
|
|
316
317
|
export * from "./InAppStyle.js";
|
|
@@ -327,6 +327,7 @@ __exportStar(require("./InAppMessage.js"), exports);
|
|
|
327
327
|
__exportStar(require("./InAppMessageButtonsItem.js"), exports);
|
|
328
328
|
__exportStar(require("./InAppMessageButtonsItemAction.js"), exports);
|
|
329
329
|
__exportStar(require("./InAppMessageFormat.js"), exports);
|
|
330
|
+
__exportStar(require("./InAppMessageImagePlacement.js"), exports);
|
|
330
331
|
__exportStar(require("./InAppMessageKind.js"), exports);
|
|
331
332
|
__exportStar(require("./InAppMessagePosition.js"), exports);
|
|
332
333
|
__exportStar(require("./InAppStyle.js"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../../index.js";
|
|
4
|
+
import { WriteInAppCopyRequestFormat } from "../../types/WriteInAppCopyRequestFormat.js";
|
|
5
|
+
import { WriteInAppCopyRequestKind } from "../../types/WriteInAppCopyRequestKind.js";
|
|
6
|
+
export declare const WriteInAppCopyRequest: core.serialization.Schema<serializers.WriteInAppCopyRequest.Raw, Sequenzy.WriteInAppCopyRequest>;
|
|
7
|
+
export declare namespace WriteInAppCopyRequest {
|
|
8
|
+
interface Raw {
|
|
9
|
+
brief: string;
|
|
10
|
+
format?: WriteInAppCopyRequestFormat.Raw | null;
|
|
11
|
+
hasImage?: boolean | null;
|
|
12
|
+
kind?: WriteInAppCopyRequestKind.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyRequest = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../../core/index.js"));
|
|
29
|
+
const WriteInAppCopyRequestFormat_js_1 = require("../../types/WriteInAppCopyRequestFormat.js");
|
|
30
|
+
const WriteInAppCopyRequestKind_js_1 = require("../../types/WriteInAppCopyRequestKind.js");
|
|
31
|
+
exports.WriteInAppCopyRequest = core.serialization.object({
|
|
32
|
+
brief: core.serialization.string(),
|
|
33
|
+
format: WriteInAppCopyRequestFormat_js_1.WriteInAppCopyRequestFormat.optional(),
|
|
34
|
+
hasImage: core.serialization.boolean().optional(),
|
|
35
|
+
kind: WriteInAppCopyRequestKind_js_1.WriteInAppCopyRequestKind.optional(),
|
|
36
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecordInAppEventRequest = void 0;
|
|
3
|
+
exports.WriteInAppCopyRequest = exports.RecordInAppEventRequest = void 0;
|
|
4
4
|
var RecordInAppEventRequest_js_1 = require("./RecordInAppEventRequest.js");
|
|
5
5
|
Object.defineProperty(exports, "RecordInAppEventRequest", { enumerable: true, get: function () { return RecordInAppEventRequest_js_1.RecordInAppEventRequest; } });
|
|
6
|
+
var WriteInAppCopyRequest_js_1 = require("./WriteInAppCopyRequest.js");
|
|
7
|
+
Object.defineProperty(exports, "WriteInAppCopyRequest", { enumerable: true, get: function () { return WriteInAppCopyRequest_js_1.WriteInAppCopyRequest; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { ListInAppTemplatesResponseTemplatesItem } from "./ListInAppTemplatesResponseTemplatesItem.js";
|
|
5
|
+
export declare const ListInAppTemplatesResponse: core.serialization.ObjectSchema<serializers.ListInAppTemplatesResponse.Raw, Sequenzy.ListInAppTemplatesResponse>;
|
|
6
|
+
export declare namespace ListInAppTemplatesResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
success?: boolean | null;
|
|
9
|
+
templates?: ListInAppTemplatesResponseTemplatesItem.Raw[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.ListInAppTemplatesResponse = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
const ListInAppTemplatesResponseTemplatesItem_js_1 = require("./ListInAppTemplatesResponseTemplatesItem.js");
|
|
30
|
+
exports.ListInAppTemplatesResponse = core.serialization.object({
|
|
31
|
+
success: core.serialization.boolean().optional(),
|
|
32
|
+
templates: core.serialization.list(ListInAppTemplatesResponseTemplatesItem_js_1.ListInAppTemplatesResponseTemplatesItem).optional(),
|
|
33
|
+
});
|
package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { ListInAppTemplatesResponseTemplatesItemCategory } from "./ListInAppTemplatesResponseTemplatesItemCategory.js";
|
|
5
|
+
export declare const ListInAppTemplatesResponseTemplatesItem: core.serialization.ObjectSchema<serializers.ListInAppTemplatesResponseTemplatesItem.Raw, Sequenzy.ListInAppTemplatesResponseTemplatesItem>;
|
|
6
|
+
export declare namespace ListInAppTemplatesResponseTemplatesItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
category?: ListInAppTemplatesResponseTemplatesItemCategory.Raw | null;
|
|
9
|
+
config?: Record<string, unknown> | null;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
id?: string | null;
|
|
12
|
+
name?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.ListInAppTemplatesResponseTemplatesItem = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
const ListInAppTemplatesResponseTemplatesItemCategory_js_1 = require("./ListInAppTemplatesResponseTemplatesItemCategory.js");
|
|
30
|
+
exports.ListInAppTemplatesResponseTemplatesItem = core.serialization.object({
|
|
31
|
+
category: ListInAppTemplatesResponseTemplatesItemCategory_js_1.ListInAppTemplatesResponseTemplatesItemCategory.optional(),
|
|
32
|
+
config: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
33
|
+
description: core.serialization.string().optional(),
|
|
34
|
+
id: core.serialization.string().optional(),
|
|
35
|
+
name: core.serialization.string().optional(),
|
|
36
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const ListInAppTemplatesResponseTemplatesItemCategory: core.serialization.Schema<serializers.ListInAppTemplatesResponseTemplatesItemCategory.Raw, Sequenzy.ListInAppTemplatesResponseTemplatesItemCategory>;
|
|
5
|
+
export declare namespace ListInAppTemplatesResponseTemplatesItemCategory {
|
|
6
|
+
type Raw = "Conversion" | "Onboarding" | "Announcement" | "Engagement";
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.ListInAppTemplatesResponseTemplatesItemCategory = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
exports.ListInAppTemplatesResponseTemplatesItemCategory = core.serialization.enum_(["Conversion", "Onboarding", "Announcement", "Engagement"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const WriteInAppCopyRequestFormat: core.serialization.Schema<serializers.WriteInAppCopyRequestFormat.Raw, Sequenzy.WriteInAppCopyRequestFormat>;
|
|
5
|
+
export declare namespace WriteInAppCopyRequestFormat {
|
|
6
|
+
type Raw = "modal" | "banner" | "fullscreen";
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyRequestFormat = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
exports.WriteInAppCopyRequestFormat = core.serialization.enum_(["modal", "banner", "fullscreen"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const WriteInAppCopyRequestKind: core.serialization.Schema<serializers.WriteInAppCopyRequestKind.Raw, Sequenzy.WriteInAppCopyRequestKind>;
|
|
5
|
+
export declare namespace WriteInAppCopyRequestKind {
|
|
6
|
+
type Raw = "message" | "card";
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyRequestKind = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
exports.WriteInAppCopyRequestKind = core.serialization.enum_(["message", "card"]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { WriteInAppCopyResponseCopy } from "./WriteInAppCopyResponseCopy.js";
|
|
5
|
+
export declare const WriteInAppCopyResponse: core.serialization.ObjectSchema<serializers.WriteInAppCopyResponse.Raw, Sequenzy.WriteInAppCopyResponse>;
|
|
6
|
+
export declare namespace WriteInAppCopyResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
copy?: WriteInAppCopyResponseCopy.Raw | null;
|
|
9
|
+
success?: boolean | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyResponse = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
const WriteInAppCopyResponseCopy_js_1 = require("./WriteInAppCopyResponseCopy.js");
|
|
30
|
+
exports.WriteInAppCopyResponse = core.serialization.object({
|
|
31
|
+
copy: WriteInAppCopyResponseCopy_js_1.WriteInAppCopyResponseCopy.optional(),
|
|
32
|
+
success: core.serialization.boolean().optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { WriteInAppCopyResponseCopyButtonsItem } from "./WriteInAppCopyResponseCopyButtonsItem.js";
|
|
5
|
+
export declare const WriteInAppCopyResponseCopy: core.serialization.ObjectSchema<serializers.WriteInAppCopyResponseCopy.Raw, Sequenzy.WriteInAppCopyResponseCopy>;
|
|
6
|
+
export declare namespace WriteInAppCopyResponseCopy {
|
|
7
|
+
interface Raw {
|
|
8
|
+
body?: string | null;
|
|
9
|
+
buttons?: WriteInAppCopyResponseCopyButtonsItem.Raw[] | null;
|
|
10
|
+
eyebrow?: string | null;
|
|
11
|
+
title?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyResponseCopy = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
const WriteInAppCopyResponseCopyButtonsItem_js_1 = require("./WriteInAppCopyResponseCopyButtonsItem.js");
|
|
30
|
+
exports.WriteInAppCopyResponseCopy = core.serialization.object({
|
|
31
|
+
body: core.serialization.string().optional(),
|
|
32
|
+
buttons: core.serialization.list(WriteInAppCopyResponseCopyButtonsItem_js_1.WriteInAppCopyResponseCopyButtonsItem).optional(),
|
|
33
|
+
eyebrow: core.serialization.string().optional(),
|
|
34
|
+
title: core.serialization.string().optional(),
|
|
35
|
+
});
|
package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { WriteInAppCopyResponseCopyButtonsItemAction } from "./WriteInAppCopyResponseCopyButtonsItemAction.js";
|
|
5
|
+
export declare const WriteInAppCopyResponseCopyButtonsItem: core.serialization.ObjectSchema<serializers.WriteInAppCopyResponseCopyButtonsItem.Raw, Sequenzy.WriteInAppCopyResponseCopyButtonsItem>;
|
|
6
|
+
export declare namespace WriteInAppCopyResponseCopyButtonsItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
action?: WriteInAppCopyResponseCopyButtonsItemAction.Raw | null;
|
|
9
|
+
label?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyResponseCopyButtonsItem = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
const WriteInAppCopyResponseCopyButtonsItemAction_js_1 = require("./WriteInAppCopyResponseCopyButtonsItemAction.js");
|
|
30
|
+
exports.WriteInAppCopyResponseCopyButtonsItem = core.serialization.object({
|
|
31
|
+
action: WriteInAppCopyResponseCopyButtonsItemAction_js_1.WriteInAppCopyResponseCopyButtonsItemAction.optional(),
|
|
32
|
+
label: core.serialization.string().optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const WriteInAppCopyResponseCopyButtonsItemAction: core.serialization.Schema<serializers.WriteInAppCopyResponseCopyButtonsItemAction.Raw, Sequenzy.WriteInAppCopyResponseCopyButtonsItemAction>;
|
|
5
|
+
export declare namespace WriteInAppCopyResponseCopyButtonsItemAction {
|
|
6
|
+
type Raw = "open_url" | "dismiss";
|
|
7
|
+
}
|
package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.WriteInAppCopyResponseCopyButtonsItemAction = void 0;
|
|
28
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
29
|
+
exports.WriteInAppCopyResponseCopyButtonsItemAction = core.serialization.enum_(["open_url", "dismiss"]);
|
|
@@ -5,5 +5,14 @@ export * from "./ListInAppMessagesRequestKind.js";
|
|
|
5
5
|
export * from "./ListInAppMessagesRequestStatus.js";
|
|
6
6
|
export * from "./ListInAppMessagesResponse.js";
|
|
7
7
|
export * from "./ListInAppMessagesResponseStatus.js";
|
|
8
|
+
export * from "./ListInAppTemplatesResponse.js";
|
|
9
|
+
export * from "./ListInAppTemplatesResponseTemplatesItem.js";
|
|
10
|
+
export * from "./ListInAppTemplatesResponseTemplatesItemCategory.js";
|
|
8
11
|
export * from "./RecordInAppEventRequestType.js";
|
|
9
12
|
export * from "./RecordInAppEventResponse.js";
|
|
13
|
+
export * from "./WriteInAppCopyRequestFormat.js";
|
|
14
|
+
export * from "./WriteInAppCopyRequestKind.js";
|
|
15
|
+
export * from "./WriteInAppCopyResponse.js";
|
|
16
|
+
export * from "./WriteInAppCopyResponseCopy.js";
|
|
17
|
+
export * from "./WriteInAppCopyResponseCopyButtonsItem.js";
|
|
18
|
+
export * from "./WriteInAppCopyResponseCopyButtonsItemAction.js";
|
|
@@ -21,5 +21,14 @@ __exportStar(require("./ListInAppMessagesRequestKind.js"), exports);
|
|
|
21
21
|
__exportStar(require("./ListInAppMessagesRequestStatus.js"), exports);
|
|
22
22
|
__exportStar(require("./ListInAppMessagesResponse.js"), exports);
|
|
23
23
|
__exportStar(require("./ListInAppMessagesResponseStatus.js"), exports);
|
|
24
|
+
__exportStar(require("./ListInAppTemplatesResponse.js"), exports);
|
|
25
|
+
__exportStar(require("./ListInAppTemplatesResponseTemplatesItem.js"), exports);
|
|
26
|
+
__exportStar(require("./ListInAppTemplatesResponseTemplatesItemCategory.js"), exports);
|
|
24
27
|
__exportStar(require("./RecordInAppEventRequestType.js"), exports);
|
|
25
28
|
__exportStar(require("./RecordInAppEventResponse.js"), exports);
|
|
29
|
+
__exportStar(require("./WriteInAppCopyRequestFormat.js"), exports);
|
|
30
|
+
__exportStar(require("./WriteInAppCopyRequestKind.js"), exports);
|
|
31
|
+
__exportStar(require("./WriteInAppCopyResponse.js"), exports);
|
|
32
|
+
__exportStar(require("./WriteInAppCopyResponseCopy.js"), exports);
|
|
33
|
+
__exportStar(require("./WriteInAppCopyResponseCopyButtonsItem.js"), exports);
|
|
34
|
+
__exportStar(require("./WriteInAppCopyResponseCopyButtonsItemAction.js"), exports);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../index.js";
|
|
|
4
4
|
export declare const CreateWebTrackingKeysRequest: core.serialization.Schema<serializers.CreateWebTrackingKeysRequest.Raw, Sequenzy.CreateWebTrackingKeysRequest>;
|
|
5
5
|
export declare namespace CreateWebTrackingKeysRequest {
|
|
6
6
|
interface Raw {
|
|
7
|
+
allowedAppIds?: string[] | null;
|
|
7
8
|
allowedOrigins?: string[] | null;
|
|
8
9
|
name: string;
|
|
9
10
|
}
|
|
@@ -27,6 +27,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
exports.CreateWebTrackingKeysRequest = void 0;
|
|
28
28
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
29
29
|
exports.CreateWebTrackingKeysRequest = core.serialization.object({
|
|
30
|
+
allowedAppIds: core.serialization.list(core.serialization.string()).optional(),
|
|
30
31
|
allowedOrigins: core.serialization.list(core.serialization.string()).optional(),
|
|
31
32
|
name: core.serialization.string(),
|
|
32
33
|
});
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../index.js";
|
|
|
4
4
|
export declare const UpdateWebTrackingKeysRequest: core.serialization.Schema<serializers.UpdateWebTrackingKeysRequest.Raw, Omit<Sequenzy.UpdateWebTrackingKeysRequest, "id">>;
|
|
5
5
|
export declare namespace UpdateWebTrackingKeysRequest {
|
|
6
6
|
interface Raw {
|
|
7
|
+
allowedAppIds?: string[] | null;
|
|
7
8
|
allowedOrigins?: string[] | null;
|
|
8
9
|
isActive?: boolean | null;
|
|
9
10
|
name?: string | null;
|
|
@@ -27,6 +27,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
exports.UpdateWebTrackingKeysRequest = void 0;
|
|
28
28
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
29
29
|
exports.UpdateWebTrackingKeysRequest = core.serialization.object({
|
|
30
|
+
allowedAppIds: core.serialization.list(core.serialization.string()).optional(),
|
|
30
31
|
allowedOrigins: core.serialization.list(core.serialization.string()).optional(),
|
|
31
32
|
isActive: core.serialization.boolean().optional(),
|
|
32
33
|
name: core.serialization.string().optional(),
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { InAppMessageButtonsItem } from "./InAppMessageButtonsItem.js";
|
|
5
5
|
import { InAppMessageFormat } from "./InAppMessageFormat.js";
|
|
6
|
+
import { InAppMessageImagePlacement } from "./InAppMessageImagePlacement.js";
|
|
6
7
|
import { InAppMessageKind } from "./InAppMessageKind.js";
|
|
7
8
|
import { InAppMessagePosition } from "./InAppMessagePosition.js";
|
|
8
9
|
import { InAppStyle } from "./InAppStyle.js";
|
|
@@ -18,8 +19,10 @@ export declare namespace InAppMessage {
|
|
|
18
19
|
dismissedAt?: (string | null | undefined) | null;
|
|
19
20
|
displayedAt?: (string | null | undefined) | null;
|
|
20
21
|
expiresAt?: (string | null | undefined) | null;
|
|
22
|
+
eyebrow?: string | null;
|
|
21
23
|
format?: (InAppMessageFormat.Raw | null | undefined) | null;
|
|
22
24
|
id?: string | null;
|
|
25
|
+
imagePlacement?: (InAppMessageImagePlacement.Raw | null | undefined) | null;
|
|
23
26
|
imageUrl?: (string | null | undefined) | null;
|
|
24
27
|
kind?: InAppMessageKind.Raw | null;
|
|
25
28
|
pinned?: boolean | null;
|
|
@@ -28,6 +28,7 @@ exports.InAppMessage = void 0;
|
|
|
28
28
|
const core = __importStar(require("../../core/index.js"));
|
|
29
29
|
const InAppMessageButtonsItem_js_1 = require("./InAppMessageButtonsItem.js");
|
|
30
30
|
const InAppMessageFormat_js_1 = require("./InAppMessageFormat.js");
|
|
31
|
+
const InAppMessageImagePlacement_js_1 = require("./InAppMessageImagePlacement.js");
|
|
31
32
|
const InAppMessageKind_js_1 = require("./InAppMessageKind.js");
|
|
32
33
|
const InAppMessagePosition_js_1 = require("./InAppMessagePosition.js");
|
|
33
34
|
const InAppStyle_js_1 = require("./InAppStyle.js");
|
|
@@ -41,8 +42,10 @@ exports.InAppMessage = core.serialization.object({
|
|
|
41
42
|
dismissedAt: core.serialization.date().optionalNullable(),
|
|
42
43
|
displayedAt: core.serialization.date().optionalNullable(),
|
|
43
44
|
expiresAt: core.serialization.date().optionalNullable(),
|
|
45
|
+
eyebrow: core.serialization.string().optional(),
|
|
44
46
|
format: InAppMessageFormat_js_1.InAppMessageFormat.optionalNullable(),
|
|
45
47
|
id: core.serialization.string().optional(),
|
|
48
|
+
imagePlacement: InAppMessageImagePlacement_js_1.InAppMessageImagePlacement.optionalNullable(),
|
|
46
49
|
imageUrl: core.serialization.string().optionalNullable(),
|
|
47
50
|
kind: InAppMessageKind_js_1.InAppMessageKind.optional(),
|
|
48
51
|
pinned: core.serialization.boolean().optional(),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const InAppMessageImagePlacement: core.serialization.Schema<serializers.InAppMessageImagePlacement.Raw, Sequenzy.InAppMessageImagePlacement>;
|
|
5
|
+
export declare namespace InAppMessageImagePlacement {
|
|
6
|
+
type Raw = "top" | "background";
|
|
7
|
+
}
|