@corto-ai/integrations-messenger 0.0.8 → 0.0.9-test.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +2 -2
- package/src/index.d.ts +6 -0
- package/src/lib/actions/base.d.ts +7 -1
- package/src/lib/actions/base.js +2 -0
- package/src/lib/actions/base.js.map +1 -1
- package/src/lib/actions/index.d.ts +6 -0
- package/src/lib/actions/index.js +3 -1
- package/src/lib/actions/index.js.map +1 -1
- package/src/lib/actions/matter/index.d.ts +2 -0
- package/src/lib/actions/matter/index.js +3 -1
- package/src/lib/actions/matter/index.js.map +1 -1
- package/src/lib/actions/matter/set-fullscreen.d.ts +13 -0
- package/src/lib/actions/matter/set-fullscreen.js +6 -0
- package/src/lib/actions/matter/set-fullscreen.js.map +1 -0
- package/src/lib/actions/window/index.d.ts +5 -0
- package/src/lib/actions/window/index.js +5 -0
- package/src/lib/actions/window/index.js.map +1 -0
- package/src/lib/actions/window/update-url.d.ts +12 -0
- package/src/lib/actions/window/update-url.js +6 -0
- package/src/lib/actions/window/update-url.js.map +1 -0
package/README.md
CHANGED
|
@@ -69,6 +69,7 @@ messenger.registerChild(iframe.contentWindow, 'my-integration-app');
|
|
|
69
69
|
| `matter` | `sendOpenPrompt` / `handleOpenPrompt` | Open a specific prompt (`promptId`) on a matter. |
|
|
70
70
|
| `matter` | `sendOpenPromptLibrary` / `handleOpenPromptLibrary` | Open the prompt library for a matter. |
|
|
71
71
|
| `matter` | `sendPreviewDocument` / `handlePreviewDocument` | Preview a document (`documentId`, `documentName`) on a matter. |
|
|
72
|
+
| `matter` | `sendSetFullscreen` / `handleSetFullscreen` | Show/hide the matter nav and list. Clear automatically on navigation in the host application |
|
|
72
73
|
| `contact` | `sendOpenContact` / `handleOpenContact` | Open a contact by `contactId`. |
|
|
73
74
|
| `contact` | `sendOpenEditContact` / `handleOpenEditContact` | Open the edit view for a contact. |
|
|
74
75
|
| `settings` | `sendOpenSettings` / `handleOpenSettings` | Open the host application's settings. |
|
|
@@ -76,6 +77,7 @@ messenger.registerChild(iframe.contentWindow, 'my-integration-app');
|
|
|
76
77
|
| `auth` | `sendExchangeTokenRequest` / `handleExchangeTokenRequest` | Exchange a `clientId` for an auth token. |
|
|
77
78
|
| `auth` | `sendUserDataRequest` / `handleUserDataRequest` | Request the current user's data from the host (currently returns `userId`). |
|
|
78
79
|
| `pubsub` | `sendNotificationRequest` / `handleNotificationRequest` | Subscribe to (or publish) notifications on a `channel`, supporting multiple responses over time. |
|
|
80
|
+
| `window` | `sendUpdateUrl` / `handleUpdateUrl` | Update the url in the host application _without navigating_. Used to support routing/refreshing within an integration |
|
|
79
81
|
|
|
80
82
|
All `matter`, `contact`, and `settings` actions accept an optional `newTab` flag to indicate the host should open the target in a new tab, and `matter` actions also accept an optional `matterId` beyond what's called out above.
|
|
81
83
|
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ declare const _default: {
|
|
|
20
20
|
handleOpenContact: import(".").ActionHandlerFn<import(".").ActionTypeEnum.ContactOpen>;
|
|
21
21
|
};
|
|
22
22
|
matter: {
|
|
23
|
+
sendSetFullscreen: import(".").ActionCreatorFn<import(".").ActionTypeEnum.MatterSetFullscreen>;
|
|
24
|
+
handleSetFullscreen: import(".").ActionHandlerFn<import(".").ActionTypeEnum.MatterSetFullscreen>;
|
|
23
25
|
sendPreviewDocument: import(".").ActionCreatorFn<import(".").ActionTypeEnum.MatterPreviewDocument>;
|
|
24
26
|
handlePreviewDocument: import(".").ActionHandlerFn<import(".").ActionTypeEnum.MatterPreviewDocument>;
|
|
25
27
|
sendOpenMatter: import(".").ActionCreatorFn<import(".").ActionTypeEnum.MatterOpen>;
|
|
@@ -51,6 +53,10 @@ declare const _default: {
|
|
|
51
53
|
sendGetBranding: import(".").ActionCreatorFn<import(".").ActionTypeEnum.GetBranding>;
|
|
52
54
|
handleGetBranding: import(".").ActionHandlerFn<import(".").ActionTypeEnum.GetBranding>;
|
|
53
55
|
};
|
|
56
|
+
window: {
|
|
57
|
+
sendUpdateUrl: import(".").ActionCreatorFn<import(".").ActionTypeEnum.WindowUpdateUrl>;
|
|
58
|
+
handleUpdateUrl: import(".").ActionHandlerFn<import(".").ActionTypeEnum.WindowUpdateUrl>;
|
|
59
|
+
};
|
|
54
60
|
};
|
|
55
61
|
};
|
|
56
62
|
export default _default;
|
|
@@ -14,8 +14,10 @@ import { type MatterOpenEditDataTypeDTO } from './matter/open-edit';
|
|
|
14
14
|
import { type MatterOpenPromptDataTypeDTO } from './matter/open-prompt';
|
|
15
15
|
import { type MatterOpenPromptLibraryDataTypeDTO } from './matter/open-prompt-library';
|
|
16
16
|
import { type MatterPreviewDocumentDataTypeDTO } from './matter/preview-document';
|
|
17
|
+
import { type MatterSetFullScreenDataTypeDTO } from './matter/set-fullscreen';
|
|
17
18
|
import { type PubsubNotificationDataTypeDTO } from './pubsub/notification';
|
|
18
19
|
import { type SettingsOpenDataTypeDTO } from './settings/open';
|
|
20
|
+
import { type WindowUpdateUrlDataTypeDTO } from './window/update-url';
|
|
19
21
|
export declare enum InternalActionTypeEnum {
|
|
20
22
|
Handshake = "Handshake"
|
|
21
23
|
}
|
|
@@ -29,13 +31,15 @@ export declare enum ActionTypeEnum {
|
|
|
29
31
|
MatterOpenDocumentStatus = "MatterOpenDocumentStatus",
|
|
30
32
|
MatterPreviewDocument = "MatterPreviewDocument",
|
|
31
33
|
MatterOpen = "MatterOpen",
|
|
34
|
+
MatterSetFullscreen = "MatterSetFullscreen",
|
|
32
35
|
ContactOpen = "ContactOpen",
|
|
33
36
|
ContactOpenEdit = "ContactOpenEdit",
|
|
34
37
|
SettingsOpen = "SettingsOpen",
|
|
35
38
|
GetBranding = "GetBranding",
|
|
36
39
|
PubsubNotification = "PubsubNotification",
|
|
37
40
|
RequestExchangeToken = "RequestExchangeToken",
|
|
38
|
-
RequestUserData = "RequestUserData"
|
|
41
|
+
RequestUserData = "RequestUserData",
|
|
42
|
+
WindowUpdateUrl = "WindowUpdateUrl"
|
|
39
43
|
}
|
|
40
44
|
export declare const AdditionalMessageConfig: {
|
|
41
45
|
[key in ActionTypeEnum]?: AdditionalMessageConfigDTO;
|
|
@@ -51,6 +55,7 @@ export type DataTypeMapDTO = {
|
|
|
51
55
|
[ActionTypeEnum.MatterOpenDocumentStatus]: MatterOpenDocumentStatusDataTypeDTO;
|
|
52
56
|
[ActionTypeEnum.MatterPreviewDocument]: MatterPreviewDocumentDataTypeDTO;
|
|
53
57
|
[ActionTypeEnum.MatterOpen]: MatterOpenDataTypeDTO;
|
|
58
|
+
[ActionTypeEnum.MatterSetFullscreen]: MatterSetFullScreenDataTypeDTO;
|
|
54
59
|
[ActionTypeEnum.ContactOpen]: ContactOpenDataTypeDTO;
|
|
55
60
|
[ActionTypeEnum.ContactOpenEdit]: ContactOpenEditDataTypeDTO;
|
|
56
61
|
[ActionTypeEnum.SettingsOpen]: SettingsOpenDataTypeDTO;
|
|
@@ -58,4 +63,5 @@ export type DataTypeMapDTO = {
|
|
|
58
63
|
[ActionTypeEnum.PubsubNotification]: PubsubNotificationDataTypeDTO;
|
|
59
64
|
[ActionTypeEnum.RequestExchangeToken]: ExchangeTokenDataTypeDTO;
|
|
60
65
|
[ActionTypeEnum.RequestUserData]: UserDataDataTypeDTO;
|
|
66
|
+
[ActionTypeEnum.WindowUpdateUrl]: WindowUpdateUrlDataTypeDTO;
|
|
61
67
|
};
|
package/src/lib/actions/base.js
CHANGED
|
@@ -13,6 +13,7 @@ export var ActionTypeEnum;
|
|
|
13
13
|
ActionTypeEnum["MatterOpenDocumentStatus"] = "MatterOpenDocumentStatus";
|
|
14
14
|
ActionTypeEnum["MatterPreviewDocument"] = "MatterPreviewDocument";
|
|
15
15
|
ActionTypeEnum["MatterOpen"] = "MatterOpen";
|
|
16
|
+
ActionTypeEnum["MatterSetFullscreen"] = "MatterSetFullscreen";
|
|
16
17
|
ActionTypeEnum["ContactOpen"] = "ContactOpen";
|
|
17
18
|
ActionTypeEnum["ContactOpenEdit"] = "ContactOpenEdit";
|
|
18
19
|
ActionTypeEnum["SettingsOpen"] = "SettingsOpen";
|
|
@@ -20,6 +21,7 @@ export var ActionTypeEnum;
|
|
|
20
21
|
ActionTypeEnum["PubsubNotification"] = "PubsubNotification";
|
|
21
22
|
ActionTypeEnum["RequestExchangeToken"] = "RequestExchangeToken";
|
|
22
23
|
ActionTypeEnum["RequestUserData"] = "RequestUserData";
|
|
24
|
+
ActionTypeEnum["WindowUpdateUrl"] = "WindowUpdateUrl";
|
|
23
25
|
})(ActionTypeEnum || (ActionTypeEnum = {}));
|
|
24
26
|
export const AdditionalMessageConfig = {
|
|
25
27
|
[ActionTypeEnum.PubsubNotification]: { keepAlive: true }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../../libs/integrations-messenger/src/lib/actions/base.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../../libs/integrations-messenger/src/lib/actions/base.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAN,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;AACzB,CAAC,EAFW,sBAAsB,KAAtB,sBAAsB,QAEjC;AAED,MAAM,CAAN,IAAY,cAyBX;AAzBD,WAAY,cAAc;IACxB,iEAA+C,CAAA;IAC/C,mEAAiD,CAAA;IACjD,qEAAmD,CAAA;IACnD,uDAAqC,CAAA;IACrC,yDAAuC,CAAA;IACvC,mDAAiC,CAAA;IACjC,uEAAqD,CAAA;IACrD,iEAA+C,CAAA;IAC/C,2CAAyB,CAAA;IACzB,6DAA2C,CAAA;IAE3C,6CAA2B,CAAA;IAC3B,qDAAmC,CAAA;IAEnC,+CAA6B,CAAA;IAE7B,6CAA2B,CAAA;IAE3B,2DAAyC,CAAA;IAEzC,+DAA6C,CAAA;IAC7C,qDAAmC,CAAA;IAEnC,qDAAmC,CAAA;AACrC,CAAC,EAzBW,cAAc,KAAd,cAAc,QAyBzB;AAED,MAAM,CAAC,MAAM,uBAAuB,GAA6D;IAC/F,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE;CACzD,CAAC"}
|
|
@@ -12,6 +12,8 @@ declare const _default: {
|
|
|
12
12
|
handleOpenContact: import("../models").ActionHandlerFn<import("./base").ActionTypeEnum.ContactOpen>;
|
|
13
13
|
};
|
|
14
14
|
matter: {
|
|
15
|
+
sendSetFullscreen: import("../models").ActionCreatorFn<import("./base").ActionTypeEnum.MatterSetFullscreen>;
|
|
16
|
+
handleSetFullscreen: import("../models").ActionHandlerFn<import("./base").ActionTypeEnum.MatterSetFullscreen>;
|
|
15
17
|
sendPreviewDocument: import("../models").ActionCreatorFn<import("./base").ActionTypeEnum.MatterPreviewDocument>;
|
|
16
18
|
handlePreviewDocument: import("../models").ActionHandlerFn<import("./base").ActionTypeEnum.MatterPreviewDocument>;
|
|
17
19
|
sendOpenMatter: import("../models").ActionCreatorFn<import("./base").ActionTypeEnum.MatterOpen>;
|
|
@@ -43,5 +45,9 @@ declare const _default: {
|
|
|
43
45
|
sendGetBranding: import("../models").ActionCreatorFn<import("./base").ActionTypeEnum.GetBranding>;
|
|
44
46
|
handleGetBranding: import("../models").ActionHandlerFn<import("./base").ActionTypeEnum.GetBranding>;
|
|
45
47
|
};
|
|
48
|
+
window: {
|
|
49
|
+
sendUpdateUrl: import("../models").ActionCreatorFn<import("./base").ActionTypeEnum.WindowUpdateUrl>;
|
|
50
|
+
handleUpdateUrl: import("../models").ActionHandlerFn<import("./base").ActionTypeEnum.WindowUpdateUrl>;
|
|
51
|
+
};
|
|
46
52
|
};
|
|
47
53
|
export default _default;
|
package/src/lib/actions/index.js
CHANGED
|
@@ -4,12 +4,14 @@ import contact from './contact';
|
|
|
4
4
|
import matter from './matter';
|
|
5
5
|
import pubsub from './pubsub';
|
|
6
6
|
import settings from './settings';
|
|
7
|
+
import window from './window';
|
|
7
8
|
export default {
|
|
8
9
|
auth,
|
|
9
10
|
contact,
|
|
10
11
|
matter,
|
|
11
12
|
pubsub,
|
|
12
13
|
settings,
|
|
13
|
-
branding
|
|
14
|
+
branding,
|
|
15
|
+
window
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/integrations-messenger/src/lib/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,QAAQ,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/integrations-messenger/src/lib/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,IAAI;IACJ,OAAO;IACP,MAAM;IACN,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;CACP,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
+
sendSetFullscreen: import("../../models").ActionCreatorFn<import("../base").ActionTypeEnum.MatterSetFullscreen>;
|
|
3
|
+
handleSetFullscreen: import("../../models").ActionHandlerFn<import("../base").ActionTypeEnum.MatterSetFullscreen>;
|
|
2
4
|
sendPreviewDocument: import("../../models").ActionCreatorFn<import("../base").ActionTypeEnum.MatterPreviewDocument>;
|
|
3
5
|
handlePreviewDocument: import("../../models").ActionHandlerFn<import("../base").ActionTypeEnum.MatterPreviewDocument>;
|
|
4
6
|
sendOpenMatter: import("../../models").ActionCreatorFn<import("../base").ActionTypeEnum.MatterOpen>;
|
|
@@ -7,6 +7,7 @@ import openEdit from './open-edit';
|
|
|
7
7
|
import openPrompt from './open-prompt';
|
|
8
8
|
import openPromptLibrary from './open-prompt-library';
|
|
9
9
|
import previewDocument from './preview-document';
|
|
10
|
+
import setFullscreen from './set-fullscreen';
|
|
10
11
|
export default {
|
|
11
12
|
...openAgentSession,
|
|
12
13
|
...openChatSession,
|
|
@@ -16,6 +17,7 @@ export default {
|
|
|
16
17
|
...openPrompt,
|
|
17
18
|
...openPromptLibrary,
|
|
18
19
|
...openMatter,
|
|
19
|
-
...previewDocument
|
|
20
|
+
...previewDocument,
|
|
21
|
+
...setFullscreen
|
|
20
22
|
};
|
|
21
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/integrations-messenger/src/lib/actions/matter/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,QAAQ,CAAC;AAChC,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AACpD,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAClD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,eAAe,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/integrations-messenger/src/lib/actions/matter/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,QAAQ,CAAC;AAChC,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AACpD,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAClD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAE7C,eAAe;IACb,GAAG,gBAAgB;IACnB,GAAG,eAAe;IAClB,GAAG,WAAW;IACd,GAAG,QAAQ;IACX,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,iBAAiB;IACpB,GAAG,UAAU;IACb,GAAG,eAAe;IAClB,GAAG,aAAa;CACjB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ActionResponseBaseDTO } from '../../models';
|
|
2
|
+
import { ActionTypeEnum } from '../base';
|
|
3
|
+
import { type ActionDataTypeDTO } from '../utils';
|
|
4
|
+
type SetFullscreenDTO = {
|
|
5
|
+
fullscreen: boolean;
|
|
6
|
+
};
|
|
7
|
+
type SetFullscreenResponseDTO = ActionResponseBaseDTO;
|
|
8
|
+
export type MatterSetFullScreenDataTypeDTO = ActionDataTypeDTO<SetFullscreenDTO, SetFullscreenResponseDTO>;
|
|
9
|
+
declare const _default: {
|
|
10
|
+
sendSetFullscreen: import("../../models").ActionCreatorFn<ActionTypeEnum.MatterSetFullscreen>;
|
|
11
|
+
handleSetFullscreen: import("../../models").ActionHandlerFn<ActionTypeEnum.MatterSetFullscreen>;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ActionTypeEnum } from '../base';
|
|
2
|
+
import { buildActionCreatorFn, buildActionHandlerFn } from '../utils';
|
|
3
|
+
const sendSetFullscreen = buildActionCreatorFn(ActionTypeEnum.MatterSetFullscreen);
|
|
4
|
+
const handleSetFullscreen = buildActionHandlerFn(ActionTypeEnum.MatterSetFullscreen);
|
|
5
|
+
export default { sendSetFullscreen, handleSetFullscreen };
|
|
6
|
+
//# sourceMappingURL=set-fullscreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-fullscreen.js","sourceRoot":"","sources":["../../../../../../../libs/integrations-messenger/src/lib/actions/matter/set-fullscreen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAA0B,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAU9F,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;AACnF,MAAM,mBAAmB,GAAG,oBAAoB,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC;AAErF,eAAe,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
sendUpdateUrl: import("../../models").ActionCreatorFn<import("../base").ActionTypeEnum.WindowUpdateUrl>;
|
|
3
|
+
handleUpdateUrl: import("../../models").ActionHandlerFn<import("../base").ActionTypeEnum.WindowUpdateUrl>;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/integrations-messenger/src/lib/actions/window/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,eAAe;IACb,GAAG,SAAS;CACb,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ActionResponseBaseDTO, ActionTypeEnum } from '../../models';
|
|
2
|
+
import { type ActionDataTypeDTO } from '../utils';
|
|
3
|
+
type WindowUpdateUrlDTO = {
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
type WindowUpdateUrlResponseDTO = ActionResponseBaseDTO;
|
|
7
|
+
export type WindowUpdateUrlDataTypeDTO = ActionDataTypeDTO<WindowUpdateUrlDTO, WindowUpdateUrlResponseDTO>;
|
|
8
|
+
declare const _default: {
|
|
9
|
+
sendUpdateUrl: import("../../models").ActionCreatorFn<ActionTypeEnum.WindowUpdateUrl>;
|
|
10
|
+
handleUpdateUrl: import("../../models").ActionHandlerFn<ActionTypeEnum.WindowUpdateUrl>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ActionTypeEnum } from '../../models';
|
|
2
|
+
import { buildActionCreatorFn, buildActionHandlerFn } from '../utils';
|
|
3
|
+
const sendUpdateUrl = buildActionCreatorFn(ActionTypeEnum.WindowUpdateUrl);
|
|
4
|
+
const handleUpdateUrl = buildActionHandlerFn(ActionTypeEnum.WindowUpdateUrl);
|
|
5
|
+
export default { sendUpdateUrl, handleUpdateUrl };
|
|
6
|
+
//# sourceMappingURL=update-url.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-url.js","sourceRoot":"","sources":["../../../../../../../libs/integrations-messenger/src/lib/actions/window/update-url.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAA0B,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAU9F,MAAM,aAAa,GAAG,oBAAoB,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;AAC3E,MAAM,eAAe,GAAG,oBAAoB,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;AAE7E,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC"}
|