@etohq/core-flows 1.4.0 → 1.5.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-key/steps/create-api-keys.d.ts +17 -0
- package/dist/api-key/steps/create-api-keys.d.ts.map +1 -1
- package/dist/api-key/steps/create-api-keys.js +11 -0
- package/dist/api-key/steps/create-api-keys.js.map +1 -1
- package/dist/api-key/steps/delete-api-keys.d.ts +5 -1
- package/dist/api-key/steps/delete-api-keys.d.ts.map +1 -1
- package/dist/api-key/steps/delete-api-keys.js.map +1 -1
- package/dist/api-key/steps/revoke-api-keys.d.ts +19 -0
- package/dist/api-key/steps/revoke-api-keys.d.ts.map +1 -1
- package/dist/api-key/steps/revoke-api-keys.js +10 -0
- package/dist/api-key/steps/revoke-api-keys.js.map +1 -1
- package/dist/api-key/steps/update-api-keys.d.ts +19 -0
- package/dist/api-key/steps/update-api-keys.d.ts.map +1 -1
- package/dist/api-key/steps/update-api-keys.js +10 -0
- package/dist/api-key/steps/update-api-keys.js.map +1 -1
- package/dist/api-key/workflows/create-api-keys.d.ts +41 -2
- package/dist/api-key/workflows/create-api-keys.d.ts.map +1 -1
- package/dist/api-key/workflows/create-api-keys.js +30 -2
- package/dist/api-key/workflows/create-api-keys.js.map +1 -1
- package/dist/api-key/workflows/delete-api-keys.d.ts +23 -1
- package/dist/api-key/workflows/delete-api-keys.d.ts.map +1 -1
- package/dist/api-key/workflows/delete-api-keys.js +17 -1
- package/dist/api-key/workflows/delete-api-keys.js.map +1 -1
- package/dist/api-key/workflows/link-sales-channels-to-publishable-key.d.ts +32 -0
- package/dist/api-key/workflows/link-sales-channels-to-publishable-key.d.ts.map +1 -0
- package/dist/api-key/workflows/link-sales-channels-to-publishable-key.js +33 -0
- package/dist/api-key/workflows/link-sales-channels-to-publishable-key.js.map +1 -0
- package/dist/api-key/workflows/revoke-api-keys.d.ts +38 -2
- package/dist/api-key/workflows/revoke-api-keys.d.ts.map +1 -1
- package/dist/api-key/workflows/revoke-api-keys.js +24 -1
- package/dist/api-key/workflows/revoke-api-keys.js.map +1 -1
- package/dist/api-key/workflows/update-api-keys.d.ts +36 -2
- package/dist/api-key/workflows/update-api-keys.d.ts.map +1 -1
- package/dist/api-key/workflows/update-api-keys.js +22 -1
- package/dist/api-key/workflows/update-api-keys.js.map +1 -1
- package/dist/auth/steps/set-auth-app-metadata.d.ts +30 -1
- package/dist/auth/steps/set-auth-app-metadata.d.ts.map +1 -1
- package/dist/auth/steps/set-auth-app-metadata.js +30 -1
- package/dist/auth/steps/set-auth-app-metadata.js.map +1 -1
- package/dist/auth/workflows/generate-reset-password-token.d.ts +32 -1
- package/dist/auth/workflows/generate-reset-password-token.d.ts.map +1 -1
- package/dist/auth/workflows/generate-reset-password-token.js +30 -5
- package/dist/auth/workflows/generate-reset-password-token.js.map +1 -1
- package/dist/common/index.d.ts +1 -2
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -2
- package/dist/common/index.js.map +1 -1
- package/dist/common/steps/create-entities.d.ts +33 -1
- package/dist/common/steps/create-entities.d.ts.map +1 -1
- package/dist/common/steps/create-entities.js +17 -1
- package/dist/common/steps/create-entities.js.map +1 -1
- package/dist/common/steps/create-remote-links.d.ts +8 -23
- package/dist/common/steps/create-remote-links.d.ts.map +1 -1
- package/dist/common/steps/create-remote-links.js +8 -23
- package/dist/common/steps/create-remote-links.js.map +1 -1
- package/dist/common/steps/delete-entities.d.ts +26 -1
- package/dist/common/steps/delete-entities.d.ts.map +1 -1
- package/dist/common/steps/delete-entities.js +9 -1
- package/dist/common/steps/delete-entities.js.map +1 -1
- package/dist/common/steps/dismiss-remote-links.d.ts +8 -23
- package/dist/common/steps/dismiss-remote-links.d.ts.map +1 -1
- package/dist/common/steps/dismiss-remote-links.js +8 -23
- package/dist/common/steps/dismiss-remote-links.js.map +1 -1
- package/dist/common/steps/emit-event.d.ts +5 -17
- package/dist/common/steps/emit-event.d.ts.map +1 -1
- package/dist/common/steps/emit-event.js +5 -17
- package/dist/common/steps/emit-event.js.map +1 -1
- package/dist/common/steps/remove-remote-links.d.ts +5 -20
- package/dist/common/steps/remove-remote-links.d.ts.map +1 -1
- package/dist/common/steps/remove-remote-links.js +5 -20
- package/dist/common/steps/remove-remote-links.js.map +1 -1
- package/dist/common/steps/update-remote-links.d.ts +22 -0
- package/dist/common/steps/update-remote-links.d.ts.map +1 -1
- package/dist/common/steps/update-remote-links.js +22 -0
- package/dist/common/steps/update-remote-links.js.map +1 -1
- package/dist/common/steps/use-query-graph.d.ts +8 -20
- package/dist/common/steps/use-query-graph.d.ts.map +1 -1
- package/dist/common/steps/use-query-graph.js +7 -19
- package/dist/common/steps/use-query-graph.js.map +1 -1
- package/dist/common/steps/use-remote-query.d.ts +34 -70
- package/dist/common/steps/use-remote-query.d.ts.map +1 -1
- package/dist/common/steps/use-remote-query.js +34 -70
- package/dist/common/steps/use-remote-query.js.map +1 -1
- package/dist/common/workflows/batch-links.d.ts +51 -0
- package/dist/common/workflows/batch-links.d.ts.map +1 -1
- package/dist/common/workflows/batch-links.js +51 -0
- package/dist/common/workflows/batch-links.js.map +1 -1
- package/dist/common/workflows/create-links.d.ts +25 -0
- package/dist/common/workflows/create-links.d.ts.map +1 -1
- package/dist/common/workflows/create-links.js +25 -0
- package/dist/common/workflows/create-links.js.map +1 -1
- package/dist/common/workflows/dismiss-links.d.ts +25 -0
- package/dist/common/workflows/dismiss-links.d.ts.map +1 -1
- package/dist/common/workflows/dismiss-links.js +25 -0
- package/dist/common/workflows/dismiss-links.js.map +1 -1
- package/dist/common/workflows/update-links.d.ts +30 -0
- package/dist/common/workflows/update-links.d.ts.map +1 -1
- package/dist/common/workflows/update-links.js +30 -0
- package/dist/common/workflows/update-links.js.map +1 -1
- package/dist/file/steps/delete-files.d.ts +13 -2
- package/dist/file/steps/delete-files.d.ts.map +1 -1
- package/dist/file/steps/delete-files.js +8 -1
- package/dist/file/steps/delete-files.js.map +1 -1
- package/dist/file/steps/upload-files.d.ts +40 -1
- package/dist/file/steps/upload-files.d.ts.map +1 -1
- package/dist/file/steps/upload-files.js +14 -1
- package/dist/file/steps/upload-files.js.map +1 -1
- package/dist/file/workflows/delete-files.d.ts +20 -1
- package/dist/file/workflows/delete-files.d.ts.map +1 -1
- package/dist/file/workflows/delete-files.js +20 -1
- package/dist/file/workflows/delete-files.js.map +1 -1
- package/dist/file/workflows/upload-files.d.ts +51 -1
- package/dist/file/workflows/upload-files.d.ts.map +1 -1
- package/dist/file/workflows/upload-files.js +25 -1
- package/dist/file/workflows/upload-files.js.map +1 -1
- package/dist/invite/index.d.ts +3 -0
- package/dist/invite/index.d.ts.map +1 -0
- package/dist/invite/index.js +19 -0
- package/dist/invite/index.js.map +1 -0
- package/dist/invite/steps/create-invites.d.ts +14 -0
- package/dist/invite/steps/create-invites.d.ts.map +1 -0
- package/dist/invite/steps/create-invites.js +28 -0
- package/dist/invite/steps/create-invites.js.map +1 -0
- package/dist/invite/steps/delete-invites.d.ts +10 -0
- package/dist/invite/steps/delete-invites.d.ts.map +1 -0
- package/dist/invite/steps/delete-invites.js +21 -0
- package/dist/invite/steps/delete-invites.js.map +1 -0
- package/dist/invite/steps/index.d.ts +5 -0
- package/dist/invite/steps/index.d.ts.map +1 -0
- package/dist/invite/steps/index.js +21 -0
- package/dist/invite/steps/index.js.map +1 -0
- package/dist/invite/steps/refresh-invite-tokens.d.ts +10 -0
- package/dist/invite/steps/refresh-invite-tokens.d.ts.map +1 -0
- package/dist/invite/steps/refresh-invite-tokens.js +15 -0
- package/dist/invite/steps/refresh-invite-tokens.js.map +1 -0
- package/dist/invite/steps/validate-token.d.ts +11 -0
- package/dist/invite/steps/validate-token.d.ts.map +1 -0
- package/dist/invite/steps/validate-token.js +16 -0
- package/dist/invite/steps/validate-token.js.map +1 -0
- package/dist/invite/workflows/accept-invite.d.ts +33 -0
- package/dist/invite/workflows/accept-invite.d.ts.map +1 -0
- package/dist/invite/workflows/accept-invite.js +70 -0
- package/dist/invite/workflows/accept-invite.js.map +1 -0
- package/dist/invite/workflows/create-invites.d.ts +27 -0
- package/dist/invite/workflows/create-invites.d.ts.map +1 -0
- package/dist/invite/workflows/create-invites.js +45 -0
- package/dist/invite/workflows/create-invites.js.map +1 -0
- package/dist/invite/workflows/delete-invites.d.ts +23 -0
- package/dist/invite/workflows/delete-invites.d.ts.map +1 -0
- package/dist/invite/workflows/delete-invites.js +40 -0
- package/dist/invite/workflows/delete-invites.js.map +1 -0
- package/dist/invite/workflows/index.d.ts +5 -0
- package/dist/invite/workflows/index.d.ts.map +1 -0
- package/dist/invite/workflows/index.js +21 -0
- package/dist/invite/workflows/index.js.map +1 -0
- package/dist/invite/workflows/refresh-invite-tokens.d.ts +27 -0
- package/dist/invite/workflows/refresh-invite-tokens.d.ts.map +1 -0
- package/dist/invite/workflows/refresh-invite-tokens.js +45 -0
- package/dist/invite/workflows/refresh-invite-tokens.js.map +1 -0
- package/dist/locking/acquire-lock.d.ts +23 -0
- package/dist/locking/acquire-lock.d.ts.map +1 -0
- package/dist/locking/acquire-lock.js +61 -0
- package/dist/locking/acquire-lock.js.map +1 -0
- package/dist/locking/index.d.ts +3 -0
- package/dist/locking/index.d.ts.map +1 -0
- package/dist/locking/index.js +19 -0
- package/dist/locking/index.js.map +1 -0
- package/dist/locking/release-lock.d.ts +19 -0
- package/dist/locking/release-lock.d.ts.map +1 -0
- package/dist/locking/release-lock.js +31 -0
- package/dist/locking/release-lock.js.map +1 -0
- package/dist/notification/steps/notify-on-failure.d.ts +52 -2
- package/dist/notification/steps/notify-on-failure.d.ts.map +1 -1
- package/dist/notification/steps/notify-on-failure.js +12 -2
- package/dist/notification/steps/notify-on-failure.js.map +1 -1
- package/dist/notification/steps/send-notifications.d.ts +38 -0
- package/dist/notification/steps/send-notifications.d.ts.map +1 -1
- package/dist/notification/steps/send-notifications.js.map +1 -1
- package/dist/payment/steps/authorize-payment-session.d.ts +19 -3
- package/dist/payment/steps/authorize-payment-session.d.ts.map +1 -1
- package/dist/payment/steps/authorize-payment-session.js +10 -1
- package/dist/payment/steps/authorize-payment-session.js.map +1 -1
- package/dist/payment/steps/cancel-payment.d.ts +6 -0
- package/dist/payment/steps/cancel-payment.d.ts.map +1 -1
- package/dist/payment/steps/cancel-payment.js.map +1 -1
- package/dist/payment/steps/capture-payment.d.ts +14 -2
- package/dist/payment/steps/capture-payment.d.ts.map +1 -1
- package/dist/payment/steps/capture-payment.js +4 -1
- package/dist/payment/steps/capture-payment.js.map +1 -1
- package/dist/payment/steps/complete-cart-after-payment.d.ts +15 -0
- package/dist/payment/steps/complete-cart-after-payment.d.ts.map +1 -0
- package/dist/payment/steps/complete-cart-after-payment.js +20 -0
- package/dist/payment/steps/complete-cart-after-payment.js.map +1 -0
- package/dist/payment/steps/refund-payment.d.ts +14 -2
- package/dist/payment/steps/refund-payment.d.ts.map +1 -1
- package/dist/payment/steps/refund-payment.js +4 -1
- package/dist/payment/steps/refund-payment.js.map +1 -1
- package/dist/payment/steps/refund-payments.d.ts +22 -5
- package/dist/payment/steps/refund-payments.d.ts.map +1 -1
- package/dist/payment/steps/refund-payments.js.map +1 -1
- package/dist/payment-collection/steps/cancel-payment.d.ts +15 -0
- package/dist/payment-collection/steps/cancel-payment.d.ts.map +1 -0
- package/dist/payment-collection/steps/cancel-payment.js +33 -0
- package/dist/payment-collection/steps/cancel-payment.js.map +1 -0
- package/dist/payment-collection/steps/create-payment-account-holder.d.ts +18 -0
- package/dist/payment-collection/steps/create-payment-account-holder.d.ts.map +1 -0
- package/dist/payment-collection/steps/create-payment-account-holder.js +37 -0
- package/dist/payment-collection/steps/create-payment-account-holder.js.map +1 -0
- package/dist/payment-collection/steps/create-payment-session.d.ts +31 -2
- package/dist/payment-collection/steps/create-payment-session.d.ts.map +1 -1
- package/dist/payment-collection/steps/create-payment-session.js +1 -0
- package/dist/payment-collection/steps/create-payment-session.js.map +1 -1
- package/dist/payment-collection/steps/create-refund-reasons.d.ts +6 -2
- package/dist/payment-collection/steps/create-refund-reasons.d.ts.map +1 -1
- package/dist/payment-collection/steps/create-refund-reasons.js.map +1 -1
- package/dist/payment-collection/steps/delete-payment-sessions.d.ts +7 -1
- package/dist/payment-collection/steps/delete-payment-sessions.d.ts.map +1 -1
- package/dist/payment-collection/steps/delete-payment-sessions.js +1 -1
- package/dist/payment-collection/steps/delete-payment-sessions.js.map +1 -1
- package/dist/payment-collection/steps/delete-refund-reasons.d.ts +5 -1
- package/dist/payment-collection/steps/delete-refund-reasons.d.ts.map +1 -1
- package/dist/payment-collection/steps/delete-refund-reasons.js.map +1 -1
- package/dist/payment-collection/steps/index.d.ts +1 -0
- package/dist/payment-collection/steps/index.d.ts.map +1 -1
- package/dist/payment-collection/steps/index.js +1 -0
- package/dist/payment-collection/steps/index.js.map +1 -1
- package/dist/payment-collection/steps/update-payment-collection.d.ts +21 -2
- package/dist/payment-collection/steps/update-payment-collection.d.ts.map +1 -1
- package/dist/payment-collection/steps/update-payment-collection.js +10 -0
- package/dist/payment-collection/steps/update-payment-collection.js.map +1 -1
- package/dist/payment-collection/steps/update-refund-reasons.d.ts +6 -2
- package/dist/payment-collection/steps/update-refund-reasons.d.ts.map +1 -1
- package/dist/payment-collection/steps/update-refund-reasons.js.map +1 -1
- package/dist/payment-collection/steps/validate-deleted-payment-sessions.d.ts +16 -0
- package/dist/payment-collection/steps/validate-deleted-payment-sessions.d.ts.map +1 -1
- package/dist/payment-collection/steps/validate-deleted-payment-sessions.js +7 -0
- package/dist/payment-collection/steps/validate-deleted-payment-sessions.js.map +1 -1
- package/dist/payment-collection/workflows/cancel-payment-collection.d.ts +23 -0
- package/dist/payment-collection/workflows/cancel-payment-collection.d.ts.map +1 -0
- package/dist/payment-collection/workflows/cancel-payment-collection.js +66 -0
- package/dist/payment-collection/workflows/cancel-payment-collection.js.map +1 -0
- package/dist/payment-collection/workflows/create-payment-session.d.ts +42 -3
- package/dist/payment-collection/workflows/create-payment-session.d.ts.map +1 -1
- package/dist/payment-collection/workflows/create-payment-session.js +81 -3
- package/dist/payment-collection/workflows/create-payment-session.js.map +1 -1
- package/dist/payment-collection/workflows/create-refund-reasons.d.ts +32 -5
- package/dist/payment-collection/workflows/create-refund-reasons.d.ts.map +1 -1
- package/dist/payment-collection/workflows/create-refund-reasons.js +21 -1
- package/dist/payment-collection/workflows/create-refund-reasons.js.map +1 -1
- package/dist/payment-collection/workflows/delete-payment-sessions.d.ts +23 -1
- package/dist/payment-collection/workflows/delete-payment-sessions.d.ts.map +1 -1
- package/dist/payment-collection/workflows/delete-payment-sessions.js +17 -1
- package/dist/payment-collection/workflows/delete-payment-sessions.js.map +1 -1
- package/dist/payment-collection/workflows/delete-refund-reasons.d.ts +27 -4
- package/dist/payment-collection/workflows/delete-refund-reasons.d.ts.map +1 -1
- package/dist/payment-collection/workflows/delete-refund-reasons.js +17 -1
- package/dist/payment-collection/workflows/delete-refund-reasons.js.map +1 -1
- package/dist/payment-collection/workflows/index.d.ts +1 -0
- package/dist/payment-collection/workflows/index.d.ts.map +1 -1
- package/dist/payment-collection/workflows/index.js +1 -0
- package/dist/payment-collection/workflows/index.js.map +1 -1
- package/dist/payment-collection/workflows/update-refund-reasons.d.ts +30 -3
- package/dist/payment-collection/workflows/update-refund-reasons.d.ts.map +1 -1
- package/dist/payment-collection/workflows/update-refund-reasons.js +20 -1
- package/dist/payment-collection/workflows/update-refund-reasons.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/user/steps/create-users.d.ts +11 -1
- package/dist/user/steps/create-users.d.ts.map +1 -1
- package/dist/user/steps/create-users.js +11 -1
- package/dist/user/steps/create-users.js.map +1 -1
- package/dist/user/steps/delete-users.d.ts +6 -2
- package/dist/user/steps/delete-users.d.ts.map +1 -1
- package/dist/user/steps/delete-users.js +1 -1
- package/dist/user/steps/delete-users.js.map +1 -1
- package/dist/user/steps/update-users.d.ts +9 -1
- package/dist/user/steps/update-users.d.ts.map +1 -1
- package/dist/user/steps/update-users.js +9 -1
- package/dist/user/steps/update-users.js.map +1 -1
- package/dist/user/workflows/create-user-account.d.ts +33 -1
- package/dist/user/workflows/create-user-account.d.ts.map +1 -1
- package/dist/user/workflows/create-user-account.js +24 -1
- package/dist/user/workflows/create-user-account.js.map +1 -1
- package/dist/user/workflows/create-users.d.ts +25 -1
- package/dist/user/workflows/create-users.d.ts.map +1 -1
- package/dist/user/workflows/create-users.js +25 -1
- package/dist/user/workflows/create-users.js.map +1 -1
- package/dist/user/workflows/delete-users.d.ts +20 -1
- package/dist/user/workflows/delete-users.d.ts.map +1 -1
- package/dist/user/workflows/delete-users.js +26 -3
- package/dist/user/workflows/delete-users.js.map +1 -1
- package/dist/user/workflows/remove-user-account.d.ts +23 -1
- package/dist/user/workflows/remove-user-account.d.ts.map +1 -1
- package/dist/user/workflows/remove-user-account.js +17 -1
- package/dist/user/workflows/remove-user-account.js.map +1 -1
- package/dist/user/workflows/update-users.d.ts +22 -1
- package/dist/user/workflows/update-users.d.ts.map +1 -1
- package/dist/user/workflows/update-users.js +22 -1
- package/dist/user/workflows/update-users.js.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./steps"), exports);
|
|
18
|
+
__exportStar(require("./workflows"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invite/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,8CAA2B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CreateInviteDTO } from "@etohq/framework/types";
|
|
2
|
+
export declare const createInviteStepId = "create-invite-step";
|
|
3
|
+
/**
|
|
4
|
+
* This step creates one or more invites.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* const data = createInviteStep([
|
|
8
|
+
* {
|
|
9
|
+
* email: "example@gmail.com"
|
|
10
|
+
* }
|
|
11
|
+
* ])
|
|
12
|
+
*/
|
|
13
|
+
export declare const createInviteStep: import("@etohq/framework/workflows-sdk").StepFunction<CreateInviteDTO[], import("@etohq/framework/types").InviteDTO[]>;
|
|
14
|
+
//# sourceMappingURL=create-invites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-invites.d.ts","sourceRoot":"","sources":["../../../src/invite/steps/create-invites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsB,MAAM,wBAAwB,CAAA;AAI5E,eAAO,MAAM,kBAAkB,uBAAuB,CAAA;AACtD;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,wHAqB5B,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createInviteStep = exports.createInviteStepId = void 0;
|
|
4
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
5
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
6
|
+
exports.createInviteStepId = "create-invite-step";
|
|
7
|
+
/**
|
|
8
|
+
* This step creates one or more invites.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const data = createInviteStep([
|
|
12
|
+
* {
|
|
13
|
+
* email: "example@gmail.com"
|
|
14
|
+
* }
|
|
15
|
+
* ])
|
|
16
|
+
*/
|
|
17
|
+
exports.createInviteStep = (0, workflows_sdk_1.createStep)(exports.createInviteStepId, async (input, { container }) => {
|
|
18
|
+
const service = container.resolve(utils_1.Modules.USER);
|
|
19
|
+
const createdInvites = await service.createInvites(input);
|
|
20
|
+
return new workflows_sdk_1.StepResponse(createdInvites, createdInvites.map((inv) => inv.id));
|
|
21
|
+
}, async (createdInvitesIds, { container }) => {
|
|
22
|
+
if (!createdInvitesIds?.length) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const service = container.resolve(utils_1.Modules.USER);
|
|
26
|
+
await service.deleteInvites(createdInvitesIds);
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=create-invites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-invites.js","sourceRoot":"","sources":["../../../src/invite/steps/create-invites.ts"],"names":[],"mappings":";;;AACA,kDAAgD;AAChD,kEAAyE;AAE5D,QAAA,kBAAkB,GAAG,oBAAoB,CAAA;AACtD;;;;;;;;;GASG;AACU,QAAA,gBAAgB,GAAG,IAAA,0BAAU,EACxC,0BAAkB,EAClB,KAAK,EAAE,KAAwB,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IAChD,MAAM,OAAO,GAAuB,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAEnE,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;IAEzD,OAAO,IAAI,4BAAY,CACrB,cAAc,EACd,cAAc,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CACpC,CAAA;AACH,CAAC,EACD,KAAK,EAAE,iBAAiB,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACzC,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC/B,OAAM;IACR,CAAC;IAED,MAAM,OAAO,GAAuB,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAEnE,MAAM,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAA;AAChD,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The IDs of the invites to delete.
|
|
3
|
+
*/
|
|
4
|
+
export type DeleteInvitesStepInput = string[];
|
|
5
|
+
export declare const deleteInvitesStepId = "delete-invites-step";
|
|
6
|
+
/**
|
|
7
|
+
* This step deletes one or more invites.
|
|
8
|
+
*/
|
|
9
|
+
export declare const deleteInvitesStep: import("@etohq/framework/workflows-sdk").StepFunction<DeleteInvitesStepInput, undefined>;
|
|
10
|
+
//# sourceMappingURL=delete-invites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invites.d.ts","sourceRoot":"","sources":["../../../src/invite/steps/delete-invites.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,EAAE,CAAA;AAE7C,eAAO,MAAM,mBAAmB,wBAAwB,CAAA;AACxD;;GAEG;AACH,eAAO,MAAM,iBAAiB,0FAkB7B,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteInvitesStep = exports.deleteInvitesStepId = void 0;
|
|
4
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
5
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
6
|
+
exports.deleteInvitesStepId = "delete-invites-step";
|
|
7
|
+
/**
|
|
8
|
+
* This step deletes one or more invites.
|
|
9
|
+
*/
|
|
10
|
+
exports.deleteInvitesStep = (0, workflows_sdk_1.createStep)(exports.deleteInvitesStepId, async (input, { container }) => {
|
|
11
|
+
const service = container.resolve(utils_1.Modules.USER);
|
|
12
|
+
await service.softDeleteInvites(input);
|
|
13
|
+
return new workflows_sdk_1.StepResponse(void 0, input);
|
|
14
|
+
}, async (deletedInviteIds, { container }) => {
|
|
15
|
+
if (!deletedInviteIds?.length) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const service = container.resolve(utils_1.Modules.USER);
|
|
19
|
+
await service.restoreInvites(deletedInviteIds);
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=delete-invites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invites.js","sourceRoot":"","sources":["../../../src/invite/steps/delete-invites.ts"],"names":[],"mappings":";;;AACA,kDAAgD;AAChD,kEAAyE;AAO5D,QAAA,mBAAmB,GAAG,qBAAqB,CAAA;AACxD;;GAEG;AACU,QAAA,iBAAiB,GAAG,IAAA,0BAAU,EACzC,2BAAmB,EACnB,KAAK,EAAE,KAA6B,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACrD,MAAM,OAAO,GAAuB,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAEnE,MAAM,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAA;IAEtC,OAAO,IAAI,4BAAY,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAA;AACxC,CAAC,EACD,KAAK,EAAE,gBAAgB,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACxC,IAAI,CAAC,gBAAgB,EAAE,MAAM,EAAE,CAAC;QAC9B,OAAM;IACR,CAAC;IAED,MAAM,OAAO,GAAuB,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAEnE,MAAM,OAAO,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAChD,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/invite/steps/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-invites"), exports);
|
|
18
|
+
__exportStar(require("./delete-invites"), exports);
|
|
19
|
+
__exportStar(require("./refresh-invite-tokens"), exports);
|
|
20
|
+
__exportStar(require("./validate-token"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invite/steps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,mDAAgC;AAChC,0DAAuC;AACvC,mDAAgC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The IDs of the invites to refresh.
|
|
3
|
+
*/
|
|
4
|
+
export type RefreshInviteTokensStepInput = string[];
|
|
5
|
+
export declare const refreshInviteTokensStepId = "refresh-invite-tokens-step";
|
|
6
|
+
/**
|
|
7
|
+
* This step refreshes the tokens of one or more invites.
|
|
8
|
+
*/
|
|
9
|
+
export declare const refreshInviteTokensStep: import("@etohq/framework/workflows-sdk").StepFunction<RefreshInviteTokensStepInput, import("@etohq/framework/types").InviteDTO[]>;
|
|
10
|
+
//# sourceMappingURL=refresh-invite-tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-invite-tokens.d.ts","sourceRoot":"","sources":["../../../src/invite/steps/refresh-invite-tokens.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,EAAE,CAAA;AAEnD,eAAO,MAAM,yBAAyB,+BAA+B,CAAA;AACrE;;GAEG;AACH,eAAO,MAAM,uBAAuB,mIASnC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.refreshInviteTokensStep = exports.refreshInviteTokensStepId = void 0;
|
|
4
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
5
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
6
|
+
exports.refreshInviteTokensStepId = "refresh-invite-tokens-step";
|
|
7
|
+
/**
|
|
8
|
+
* This step refreshes the tokens of one or more invites.
|
|
9
|
+
*/
|
|
10
|
+
exports.refreshInviteTokensStep = (0, workflows_sdk_1.createStep)(exports.refreshInviteTokensStepId, async (input, { container }) => {
|
|
11
|
+
const service = container.resolve(utils_1.Modules.USER);
|
|
12
|
+
const invites = await service.refreshInviteTokens(input);
|
|
13
|
+
return new workflows_sdk_1.StepResponse(invites);
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=refresh-invite-tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-invite-tokens.js","sourceRoot":"","sources":["../../../src/invite/steps/refresh-invite-tokens.ts"],"names":[],"mappings":";;;AACA,kEAAyE;AAEzE,kDAAgD;AAOnC,QAAA,yBAAyB,GAAG,4BAA4B,CAAA;AACrE;;GAEG;AACU,QAAA,uBAAuB,GAAG,IAAA,0BAAU,EAC/C,iCAAyB,EACzB,KAAK,EAAE,KAAmC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IAC3D,MAAM,OAAO,GAAuB,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAEnE,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAExD,OAAO,IAAI,4BAAY,CAAC,OAAO,CAAC,CAAA;AAClC,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The token to validate.
|
|
3
|
+
*/
|
|
4
|
+
export type ValidateTokenStepInput = string;
|
|
5
|
+
export declare const validateTokenStepId = "validate-invite-token-step";
|
|
6
|
+
/**
|
|
7
|
+
* This step validates a specified token and returns its associated invite.
|
|
8
|
+
* If not valid, the step throws an error.
|
|
9
|
+
*/
|
|
10
|
+
export declare const validateTokenStep: import("@etohq/framework/workflows-sdk").StepFunction<string, import("@etohq/framework/types").InviteDTO>;
|
|
11
|
+
//# sourceMappingURL=validate-token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-token.d.ts","sourceRoot":"","sources":["../../../src/invite/steps/validate-token.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAA;AAE3C,eAAO,MAAM,mBAAmB,+BAA+B,CAAA;AAC/D;;;GAGG;AACH,eAAO,MAAM,iBAAiB,2GAW7B,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateTokenStep = exports.validateTokenStepId = void 0;
|
|
4
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
5
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
6
|
+
exports.validateTokenStepId = "validate-invite-token-step";
|
|
7
|
+
/**
|
|
8
|
+
* This step validates a specified token and returns its associated invite.
|
|
9
|
+
* If not valid, the step throws an error.
|
|
10
|
+
*/
|
|
11
|
+
exports.validateTokenStep = (0, workflows_sdk_1.createStep)(exports.validateTokenStepId, async (input, { container }) => {
|
|
12
|
+
const userModuleService = container.resolve(utils_1.Modules.USER);
|
|
13
|
+
const invite = await userModuleService.validateInviteToken(input);
|
|
14
|
+
return new workflows_sdk_1.StepResponse(invite);
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=validate-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-token.js","sourceRoot":"","sources":["../../../src/invite/steps/validate-token.ts"],"names":[],"mappings":";;;AACA,kDAAgD;AAChD,kEAAyE;AAO5D,QAAA,mBAAmB,GAAG,4BAA4B,CAAA;AAC/D;;;GAGG;AACU,QAAA,iBAAiB,GAAG,IAAA,0BAAU,EACzC,2BAAmB,EACnB,KAAK,EAAE,KAA6B,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACrD,MAAM,iBAAiB,GAAuB,SAAS,CAAC,OAAO,CAC7D,eAAO,CAAC,IAAI,CACb,CAAA;IAED,MAAM,MAAM,GAAG,MAAM,iBAAiB,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAEjE,OAAO,IAAI,4BAAY,CAAC,MAAM,CAAC,CAAA;AACjC,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { InviteWorkflow, UserDTO } from "@etohq/framework/types";
|
|
2
|
+
export declare const acceptInviteWorkflowId = "accept-invite-workflow";
|
|
3
|
+
/**
|
|
4
|
+
* This workflow accepts an invite and creates a user. It's used by the
|
|
5
|
+
* [Accept Invite Admin API Route](https://docs.etohq.com/api/admin#invites_postinvitesaccept).
|
|
6
|
+
*
|
|
7
|
+
* The workflow throws an error if the specified token is not valid. Also, the workflow
|
|
8
|
+
* requires an auth identity to be created previously. You can create an auth identity
|
|
9
|
+
* using the [Retrieve Registration JWT Token API Route](https://docs.etohq.com/api/admin#auth_postactor_typeauth_provider_register).
|
|
10
|
+
*
|
|
11
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
12
|
+
* accept invites within your custom flows.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* const { result } = await acceptInviteWorkflow(container)
|
|
16
|
+
* .run({
|
|
17
|
+
* input: {
|
|
18
|
+
* invite_token: "sk_123",
|
|
19
|
+
* auth_identity_id: "au_123",
|
|
20
|
+
* user: {
|
|
21
|
+
* email: "example@gmail.com",
|
|
22
|
+
* first_name: "John",
|
|
23
|
+
* last_name: "Doe",
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
* })
|
|
27
|
+
*
|
|
28
|
+
* @summary
|
|
29
|
+
*
|
|
30
|
+
* Accept invite and create user.
|
|
31
|
+
*/
|
|
32
|
+
export declare const acceptInviteWorkflow: import("@etohq/framework/workflows-sdk").ReturnWorkflow<InviteWorkflow.AcceptInviteWorkflowInputDTO, UserDTO[], []>;
|
|
33
|
+
//# sourceMappingURL=accept-invite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accept-invite.d.ts","sourceRoot":"","sources":["../../../src/invite/workflows/accept-invite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAehE,eAAO,MAAM,sBAAsB,2BAA2B,CAAA;AAC9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,oBAAoB,qHA8ChC,CAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.acceptInviteWorkflow = exports.acceptInviteWorkflowId = void 0;
|
|
4
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
5
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
6
|
+
const auth_1 = require("../../auth");
|
|
7
|
+
const emit_event_1 = require("../../common/steps/emit-event");
|
|
8
|
+
const user_1 = require("../../user");
|
|
9
|
+
const steps_1 = require("../steps");
|
|
10
|
+
const validate_token_1 = require("../steps/validate-token");
|
|
11
|
+
exports.acceptInviteWorkflowId = "accept-invite-workflow";
|
|
12
|
+
/**
|
|
13
|
+
* This workflow accepts an invite and creates a user. It's used by the
|
|
14
|
+
* [Accept Invite Admin API Route](https://docs.etohq.com/api/admin#invites_postinvitesaccept).
|
|
15
|
+
*
|
|
16
|
+
* The workflow throws an error if the specified token is not valid. Also, the workflow
|
|
17
|
+
* requires an auth identity to be created previously. You can create an auth identity
|
|
18
|
+
* using the [Retrieve Registration JWT Token API Route](https://docs.etohq.com/api/admin#auth_postactor_typeauth_provider_register).
|
|
19
|
+
*
|
|
20
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
21
|
+
* accept invites within your custom flows.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* const { result } = await acceptInviteWorkflow(container)
|
|
25
|
+
* .run({
|
|
26
|
+
* input: {
|
|
27
|
+
* invite_token: "sk_123",
|
|
28
|
+
* auth_identity_id: "au_123",
|
|
29
|
+
* user: {
|
|
30
|
+
* email: "example@gmail.com",
|
|
31
|
+
* first_name: "John",
|
|
32
|
+
* last_name: "Doe",
|
|
33
|
+
* }
|
|
34
|
+
* }
|
|
35
|
+
* })
|
|
36
|
+
*
|
|
37
|
+
* @summary
|
|
38
|
+
*
|
|
39
|
+
* Accept invite and create user.
|
|
40
|
+
*/
|
|
41
|
+
exports.acceptInviteWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.acceptInviteWorkflowId, (input) => {
|
|
42
|
+
const invite = (0, validate_token_1.validateTokenStep)(input.invite_token);
|
|
43
|
+
const createUserInput = (0, workflows_sdk_1.transform)({ input, invite }, ({ input, invite }) => {
|
|
44
|
+
return [
|
|
45
|
+
{
|
|
46
|
+
...input.user,
|
|
47
|
+
email: input.user.email ?? invite.email,
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
});
|
|
51
|
+
const users = user_1.createUsersWorkflow.runAsStep({
|
|
52
|
+
input: {
|
|
53
|
+
users: createUserInput,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
const authUserInput = (0, workflows_sdk_1.transform)({ input, users }, ({ input, users }) => {
|
|
57
|
+
const createdUser = users[0];
|
|
58
|
+
return {
|
|
59
|
+
authIdentityId: input.auth_identity_id,
|
|
60
|
+
actorType: "user",
|
|
61
|
+
value: createdUser.id,
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
(0, workflows_sdk_1.parallelize)((0, auth_1.setAuthAppMetadataStep)(authUserInput), (0, steps_1.deleteInvitesStep)([invite.id]), (0, emit_event_1.emitEventStep)({
|
|
65
|
+
eventName: utils_1.InviteWorkflowEvents.ACCEPTED,
|
|
66
|
+
data: { id: invite.id },
|
|
67
|
+
}));
|
|
68
|
+
return new workflows_sdk_1.WorkflowResponse(users);
|
|
69
|
+
});
|
|
70
|
+
//# sourceMappingURL=accept-invite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accept-invite.js","sourceRoot":"","sources":["../../../src/invite/workflows/accept-invite.ts"],"names":[],"mappings":";;;AACA,kDAA6D;AAC7D,kEAMuC;AACvC,qCAAmD;AACnD,8DAA6D;AAC7D,qCAAgD;AAChD,oCAA4C;AAC5C,4DAA2D;AAE9C,QAAA,sBAAsB,GAAG,wBAAwB,CAAA;AAC9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACU,QAAA,oBAAoB,GAAG,IAAA,8BAAc,EAChD,8BAAsB,EACtB,CACE,KAAgE,EACnC,EAAE;IAC/B,MAAM,MAAM,GAAG,IAAA,kCAAiB,EAAC,KAAK,CAAC,YAAY,CAAC,CAAA;IAEpD,MAAM,eAAe,GAAG,IAAA,yBAAS,EAC/B,EAAE,KAAK,EAAE,MAAM,EAAE,EACjB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE;QACpB,OAAO;YACL;gBACE,GAAG,KAAK,CAAC,IAAI;gBACb,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK;aACxC;SACF,CAAA;IACH,CAAC,CACF,CAAA;IAED,MAAM,KAAK,GAAG,0BAAmB,CAAC,SAAS,CAAC;QAC1C,KAAK,EAAE;YACL,KAAK,EAAE,eAAe;SACvB;KACF,CAAC,CAAA;IAEF,MAAM,aAAa,GAAG,IAAA,yBAAS,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;QACrE,MAAM,WAAW,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QAE5B,OAAO;YACL,cAAc,EAAE,KAAK,CAAC,gBAAgB;YACtC,SAAS,EAAE,MAAM;YACjB,KAAK,EAAE,WAAW,CAAC,EAAE;SACtB,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAA,2BAAW,EACT,IAAA,6BAAsB,EAAC,aAAa,CAAC,EACrC,IAAA,yBAAiB,EAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAC9B,IAAA,0BAAa,EAAC;QACZ,SAAS,EAAE,4BAAoB,CAAC,QAAQ;QACxC,IAAI,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE;KACxB,CAAC,CACH,CAAA;IAED,OAAO,IAAI,gCAAgB,CAAC,KAAK,CAAC,CAAA;AACpC,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InviteDTO, InviteWorkflow } from "@etohq/framework/types";
|
|
2
|
+
export declare const createInvitesWorkflowId = "create-invite-step";
|
|
3
|
+
/**
|
|
4
|
+
* This workflow creates one or more user invites. It's used by the
|
|
5
|
+
* [Create Invite Admin API Route](https://docs.etohq.com/api/admin#invites_postinvites).
|
|
6
|
+
*
|
|
7
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
8
|
+
* create invites within your custom flows.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const { result } = await createInvitesWorkflow(container)
|
|
12
|
+
* .run({
|
|
13
|
+
* input: {
|
|
14
|
+
* invites: [
|
|
15
|
+
* {
|
|
16
|
+
* email: "example@gmail.com"
|
|
17
|
+
* }
|
|
18
|
+
* ]
|
|
19
|
+
* }
|
|
20
|
+
* })
|
|
21
|
+
*
|
|
22
|
+
* @summary
|
|
23
|
+
*
|
|
24
|
+
* Create one or more user invites.
|
|
25
|
+
*/
|
|
26
|
+
export declare const createInvitesWorkflow: import("@etohq/framework/workflows-sdk").ReturnWorkflow<InviteWorkflow.CreateInvitesWorkflowInputDTO, InviteDTO[], []>;
|
|
27
|
+
//# sourceMappingURL=create-invites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-invites.d.ts","sourceRoot":"","sources":["../../../src/invite/workflows/create-invites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAUlE,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAC3D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,qBAAqB,wHAuBjC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createInvitesWorkflow = exports.createInvitesWorkflowId = void 0;
|
|
4
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
5
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
6
|
+
const emit_event_1 = require("../../common/steps/emit-event");
|
|
7
|
+
const steps_1 = require("../steps");
|
|
8
|
+
exports.createInvitesWorkflowId = "create-invite-step";
|
|
9
|
+
/**
|
|
10
|
+
* This workflow creates one or more user invites. It's used by the
|
|
11
|
+
* [Create Invite Admin API Route](https://docs.etohq.com/api/admin#invites_postinvites).
|
|
12
|
+
*
|
|
13
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
14
|
+
* create invites within your custom flows.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const { result } = await createInvitesWorkflow(container)
|
|
18
|
+
* .run({
|
|
19
|
+
* input: {
|
|
20
|
+
* invites: [
|
|
21
|
+
* {
|
|
22
|
+
* email: "example@gmail.com"
|
|
23
|
+
* }
|
|
24
|
+
* ]
|
|
25
|
+
* }
|
|
26
|
+
* })
|
|
27
|
+
*
|
|
28
|
+
* @summary
|
|
29
|
+
*
|
|
30
|
+
* Create one or more user invites.
|
|
31
|
+
*/
|
|
32
|
+
exports.createInvitesWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.createInvitesWorkflowId, (input) => {
|
|
33
|
+
const createdInvites = (0, steps_1.createInviteStep)(input.invites);
|
|
34
|
+
const invitesIdEvents = (0, workflows_sdk_1.transform)({ createdInvites }, ({ createdInvites }) => {
|
|
35
|
+
return createdInvites.map((v) => {
|
|
36
|
+
return { id: v.id };
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
(0, emit_event_1.emitEventStep)({
|
|
40
|
+
eventName: utils_1.InviteWorkflowEvents.CREATED,
|
|
41
|
+
data: invitesIdEvents,
|
|
42
|
+
});
|
|
43
|
+
return new workflows_sdk_1.WorkflowResponse(createdInvites);
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=create-invites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-invites.js","sourceRoot":"","sources":["../../../src/invite/workflows/create-invites.ts"],"names":[],"mappings":";;;AACA,kDAA6D;AAC7D,kEAKuC;AACvC,8DAA6D;AAC7D,oCAA2C;AAC9B,QAAA,uBAAuB,GAAG,oBAAoB,CAAA;AAC3D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACU,QAAA,qBAAqB,GAAG,IAAA,8BAAc,EACjD,+BAAuB,EACvB,CACE,KAAiE,EAClC,EAAE;IACjC,MAAM,cAAc,GAAG,IAAA,wBAAgB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IAEtD,MAAM,eAAe,GAAG,IAAA,yBAAS,EAC/B,EAAE,cAAc,EAAE,EAClB,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE;QACrB,OAAO,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YAC9B,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAA;QACrB,CAAC,CAAC,CAAA;IACJ,CAAC,CACF,CAAA;IAED,IAAA,0BAAa,EAAC;QACZ,SAAS,EAAE,4BAAoB,CAAC,OAAO;QACvC,IAAI,EAAE,eAAe;KACtB,CAAC,CAAA;IAEF,OAAO,IAAI,gCAAgB,CAAC,cAAc,CAAC,CAAA;AAC7C,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InviteWorkflow } from "@etohq/framework/types";
|
|
2
|
+
export declare const deleteInvitesWorkflowId = "delete-invites-workflow";
|
|
3
|
+
/**
|
|
4
|
+
* This workflow deletes one or more user invites. It's used by the
|
|
5
|
+
* [Delete Invites Admin API Route](https://docs.etohq.com/api/admin#invites_deleteinvitesid).
|
|
6
|
+
*
|
|
7
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
8
|
+
* delete invites within your custom flows.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const { result } = await deleteInvitesWorkflow(container)
|
|
12
|
+
* .run({
|
|
13
|
+
* input: {
|
|
14
|
+
* ids: ["invite_123"]
|
|
15
|
+
* }
|
|
16
|
+
* })
|
|
17
|
+
*
|
|
18
|
+
* @summary
|
|
19
|
+
*
|
|
20
|
+
* Delete one or more user invites.
|
|
21
|
+
*/
|
|
22
|
+
export declare const deleteInvitesWorkflow: import("@etohq/framework/workflows-sdk").ReturnWorkflow<InviteWorkflow.DeleteInvitesWorkflowInput, unknown, any[]>;
|
|
23
|
+
//# sourceMappingURL=delete-invites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invites.d.ts","sourceRoot":"","sources":["../../../src/invite/workflows/delete-invites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAUvD,eAAO,MAAM,uBAAuB,4BAA4B,CAAA;AAChE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,qBAAqB,oHAkBjC,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteInvitesWorkflow = exports.deleteInvitesWorkflowId = void 0;
|
|
4
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
5
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
6
|
+
const emit_event_1 = require("../../common/steps/emit-event");
|
|
7
|
+
const steps_1 = require("../steps");
|
|
8
|
+
exports.deleteInvitesWorkflowId = "delete-invites-workflow";
|
|
9
|
+
/**
|
|
10
|
+
* This workflow deletes one or more user invites. It's used by the
|
|
11
|
+
* [Delete Invites Admin API Route](https://docs.etohq.com/api/admin#invites_deleteinvitesid).
|
|
12
|
+
*
|
|
13
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
14
|
+
* delete invites within your custom flows.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* const { result } = await deleteInvitesWorkflow(container)
|
|
18
|
+
* .run({
|
|
19
|
+
* input: {
|
|
20
|
+
* ids: ["invite_123"]
|
|
21
|
+
* }
|
|
22
|
+
* })
|
|
23
|
+
*
|
|
24
|
+
* @summary
|
|
25
|
+
*
|
|
26
|
+
* Delete one or more user invites.
|
|
27
|
+
*/
|
|
28
|
+
exports.deleteInvitesWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.deleteInvitesWorkflowId, (input) => {
|
|
29
|
+
(0, steps_1.deleteInvitesStep)(input.ids);
|
|
30
|
+
const invitesIdEvents = (0, workflows_sdk_1.transform)({ input }, ({ input }) => {
|
|
31
|
+
return input.ids?.map((id) => {
|
|
32
|
+
return { id };
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
(0, emit_event_1.emitEventStep)({
|
|
36
|
+
eventName: utils_1.InviteWorkflowEvents.DELETED,
|
|
37
|
+
data: invitesIdEvents,
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=delete-invites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-invites.js","sourceRoot":"","sources":["../../../src/invite/workflows/delete-invites.ts"],"names":[],"mappings":";;;AACA,kDAA6D;AAC7D,kEAIuC;AACvC,8DAA6D;AAC7D,oCAA4C;AAE/B,QAAA,uBAAuB,GAAG,yBAAyB,CAAA;AAChE;;;;;;;;;;;;;;;;;;GAkBG;AACU,QAAA,qBAAqB,GAAG,IAAA,8BAAc,EACjD,+BAAuB,EACvB,CACE,KAA8D,EAC1C,EAAE;IACtB,IAAA,yBAAiB,EAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAE5B,MAAM,eAAe,GAAG,IAAA,yBAAS,EAAC,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;QACzD,OAAO,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE;YAC3B,OAAO,EAAE,EAAE,EAAE,CAAA;QACf,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,IAAA,0BAAa,EAAC;QACZ,SAAS,EAAE,4BAAoB,CAAC,OAAO;QACvC,IAAI,EAAE,eAAe;KACtB,CAAC,CAAA;AACJ,CAAC,CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/invite/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-invites"), exports);
|
|
18
|
+
__exportStar(require("./delete-invites"), exports);
|
|
19
|
+
__exportStar(require("./accept-invite"), exports);
|
|
20
|
+
__exportStar(require("./refresh-invite-tokens"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invite/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,mDAAgC;AAChC,kDAA+B;AAC/B,0DAAuC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InviteDTO, InviteWorkflow } from "@etohq/framework/types";
|
|
2
|
+
export declare const refreshInviteTokensWorkflowId = "refresh-invite-tokens-workflow";
|
|
3
|
+
/**
|
|
4
|
+
* This workflow refreshes the token of one or more user invites, updating the
|
|
5
|
+
* token and the expiry date. It's used by the
|
|
6
|
+
* [Refresh Invite Token Admin API Route](https://docs.etohq.com/api/admin#invites_postinvitesidresend).
|
|
7
|
+
*
|
|
8
|
+
* This workflow is useful to trigger resending invite tokens. It emits the `invite.resent` event,
|
|
9
|
+
* which you can listen to in a [Subscriber](https://docs.etohq.com/learn/fundamentals/events-and-subscribers).
|
|
10
|
+
*
|
|
11
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
12
|
+
* refresh invite tokens within your custom flows.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* const { result } = await refreshInviteTokensWorkflow(container)
|
|
16
|
+
* .run({
|
|
17
|
+
* input: {
|
|
18
|
+
* invite_ids: ["invite_123"]
|
|
19
|
+
* }
|
|
20
|
+
* })
|
|
21
|
+
*
|
|
22
|
+
* @summary
|
|
23
|
+
*
|
|
24
|
+
* Refresh user invite tokens.
|
|
25
|
+
*/
|
|
26
|
+
export declare const refreshInviteTokensWorkflow: import("@etohq/framework/workflows-sdk").ReturnWorkflow<InviteWorkflow.ResendInvitesWorkflowInputDTO, InviteDTO[], []>;
|
|
27
|
+
//# sourceMappingURL=refresh-invite-tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-invite-tokens.d.ts","sourceRoot":"","sources":["../../../src/invite/workflows/refresh-invite-tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAYlE,eAAO,MAAM,6BAA6B,mCAAmC,CAAA;AAC7E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,2BAA2B,wHAoBvC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.refreshInviteTokensWorkflow = exports.refreshInviteTokensWorkflowId = void 0;
|
|
4
|
+
const workflows_sdk_1 = require("@etohq/framework/workflows-sdk");
|
|
5
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
6
|
+
const common_1 = require("../../common");
|
|
7
|
+
const refresh_invite_tokens_1 = require("../steps/refresh-invite-tokens");
|
|
8
|
+
exports.refreshInviteTokensWorkflowId = "refresh-invite-tokens-workflow";
|
|
9
|
+
/**
|
|
10
|
+
* This workflow refreshes the token of one or more user invites, updating the
|
|
11
|
+
* token and the expiry date. It's used by the
|
|
12
|
+
* [Refresh Invite Token Admin API Route](https://docs.etohq.com/api/admin#invites_postinvitesidresend).
|
|
13
|
+
*
|
|
14
|
+
* This workflow is useful to trigger resending invite tokens. It emits the `invite.resent` event,
|
|
15
|
+
* which you can listen to in a [Subscriber](https://docs.etohq.com/learn/fundamentals/events-and-subscribers).
|
|
16
|
+
*
|
|
17
|
+
* You can use this workflow within your customizations or your own custom workflows, allowing you to
|
|
18
|
+
* refresh invite tokens within your custom flows.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* const { result } = await refreshInviteTokensWorkflow(container)
|
|
22
|
+
* .run({
|
|
23
|
+
* input: {
|
|
24
|
+
* invite_ids: ["invite_123"]
|
|
25
|
+
* }
|
|
26
|
+
* })
|
|
27
|
+
*
|
|
28
|
+
* @summary
|
|
29
|
+
*
|
|
30
|
+
* Refresh user invite tokens.
|
|
31
|
+
*/
|
|
32
|
+
exports.refreshInviteTokensWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.refreshInviteTokensWorkflowId, (input) => {
|
|
33
|
+
const invites = (0, refresh_invite_tokens_1.refreshInviteTokensStep)(input.invite_ids);
|
|
34
|
+
const invitesIdEvents = (0, workflows_sdk_1.transform)({ invites }, ({ invites }) => {
|
|
35
|
+
return invites.map((v) => {
|
|
36
|
+
return { id: v.id };
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
(0, common_1.emitEventStep)({
|
|
40
|
+
eventName: utils_1.InviteWorkflowEvents.RESENT,
|
|
41
|
+
data: invitesIdEvents,
|
|
42
|
+
});
|
|
43
|
+
return new workflows_sdk_1.WorkflowResponse(invites);
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=refresh-invite-tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refresh-invite-tokens.js","sourceRoot":"","sources":["../../../src/invite/workflows/refresh-invite-tokens.ts"],"names":[],"mappings":";;;AACA,kEAKuC;AAEvC,kDAA6D;AAC7D,yCAA4C;AAC5C,0EAAwE;AAE3D,QAAA,6BAA6B,GAAG,gCAAgC,CAAA;AAC7E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACU,QAAA,2BAA2B,GAAG,IAAA,8BAAc,EACvD,qCAA6B,EAC7B,CACE,KAAiE,EAClC,EAAE;IACjC,MAAM,OAAO,GAAG,IAAA,+CAAuB,EAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IAEzD,MAAM,eAAe,GAAG,IAAA,yBAAS,EAAC,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAC7D,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACvB,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAA;QACrB,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,IAAA,sBAAa,EAAC;QACZ,SAAS,EAAE,4BAAoB,CAAC,MAAM;QACtC,IAAI,EAAE,eAAe;KACtB,CAAC,CAAA;IAEF,OAAO,IAAI,gCAAgB,CAAC,OAAO,CAAC,CAAA;AACtC,CAAC,CACF,CAAA"}
|