@corsair-dev/activetrail 0.1.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/LICENSE +191 -0
- package/dist/api.test.d.ts +2 -0
- package/dist/api.test.d.ts.map +1 -0
- package/dist/client.d.ts +17 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/endpoints/account.d.ts +28 -0
- package/dist/endpoints/account.d.ts.map +1 -0
- package/dist/endpoints/automations.d.ts +22 -0
- package/dist/endpoints/automations.d.ts.map +1 -0
- package/dist/endpoints/cache-sync.d.ts +5 -0
- package/dist/endpoints/cache-sync.d.ts.map +1 -0
- package/dist/endpoints/campaign-reports.d.ts +22 -0
- package/dist/endpoints/campaign-reports.d.ts.map +1 -0
- package/dist/endpoints/campaigns.d.ts +38 -0
- package/dist/endpoints/campaigns.d.ts.map +1 -0
- package/dist/endpoints/commerce.d.ts +12 -0
- package/dist/endpoints/commerce.d.ts.map +1 -0
- package/dist/endpoints/contacts.d.ts +46 -0
- package/dist/endpoints/contacts.d.ts.map +1 -0
- package/dist/endpoints/external.d.ts +22 -0
- package/dist/endpoints/external.d.ts.map +1 -0
- package/dist/endpoints/factory.d.ts +10 -0
- package/dist/endpoints/factory.d.ts.map +1 -0
- package/dist/endpoints/groups.d.ts +22 -0
- package/dist/endpoints/groups.d.ts.map +1 -0
- package/dist/endpoints/index.d.ts +1373 -0
- package/dist/endpoints/index.d.ts.map +1 -0
- package/dist/endpoints/landingpage.d.ts +6 -0
- package/dist/endpoints/landingpage.d.ts.map +1 -0
- package/dist/endpoints/mailing-list.d.ts +16 -0
- package/dist/endpoints/mailing-list.d.ts.map +1 -0
- package/dist/endpoints/operational-message.d.ts +6 -0
- package/dist/endpoints/operational-message.d.ts.map +1 -0
- package/dist/endpoints/push-campaign-report.d.ts +10 -0
- package/dist/endpoints/push-campaign-report.d.ts.map +1 -0
- package/dist/endpoints/routes.d.ts +1621 -0
- package/dist/endpoints/routes.d.ts.map +1 -0
- package/dist/endpoints/segmentation.d.ts +18 -0
- package/dist/endpoints/segmentation.d.ts.map +1 -0
- package/dist/endpoints/signup-forms.d.ts +6 -0
- package/dist/endpoints/signup-forms.d.ts.map +1 -0
- package/dist/endpoints/smart-code-site.d.ts +12 -0
- package/dist/endpoints/smart-code-site.d.ts.map +1 -0
- package/dist/endpoints/sms-campaign-report.d.ts +28 -0
- package/dist/endpoints/sms-campaign-report.d.ts.map +1 -0
- package/dist/endpoints/sms-campaign.d.ts +28 -0
- package/dist/endpoints/sms-campaign.d.ts.map +1 -0
- package/dist/endpoints/templates.d.ts +24 -0
- package/dist/endpoints/templates.d.ts.map +1 -0
- package/dist/endpoints/types.d.ts +3288 -0
- package/dist/endpoints/types.d.ts.map +1 -0
- package/dist/endpoints/user-social.d.ts +6 -0
- package/dist/endpoints/user-social.d.ts.map +1 -0
- package/dist/endpoints/webhooks.d.ts +26 -0
- package/dist/endpoints/webhooks.d.ts.map +1 -0
- package/dist/error-handlers.d.ts +35 -0
- package/dist/error-handlers.d.ts.map +1 -0
- package/dist/index.d.ts +226 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/schema/database.d.ts +23 -0
- package/dist/schema/database.d.ts.map +1 -0
- package/dist/schema/index.d.ts +24 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/tsup.config.d.ts +3 -0
- package/dist/tsup.config.d.ts.map +1 -0
- package/package.json +44 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(which shall not include Communications that are clearly marked or
|
|
39
|
+
otherwise designated in writing by the copyright owner as "Not a Work").
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution".
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright (c) 2026 Corsair
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.test.d.ts","sourceRoot":"","sources":["../api.test.ts"],"names":[],"mappings":""}
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ActiveTrailMethod } from './endpoints/routes';
|
|
2
|
+
export declare class ActiveTrailAPIError extends Error {
|
|
3
|
+
readonly status?: number;
|
|
4
|
+
readonly statusText?: string;
|
|
5
|
+
readonly body?: unknown;
|
|
6
|
+
constructor(message: string, options?: {
|
|
7
|
+
cause?: Error;
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export type ActiveTrailRequestOptions = {
|
|
11
|
+
method?: ActiveTrailMethod;
|
|
12
|
+
body?: unknown;
|
|
13
|
+
query?: Record<string, unknown>;
|
|
14
|
+
headers?: Record<string, string>;
|
|
15
|
+
};
|
|
16
|
+
export declare function makeActiveTrailRequest<T>(endpoint: string, apiKey: string, options?: ActiveTrailRequestOptions): Promise<T>;
|
|
17
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,qBAAa,mBAAoB,SAAQ,KAAK;IAC7C,SAAgB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChC,SAAgB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpC,SAAgB,IAAI,CAAC,EAAE,OAAO,CAAC;gBAEnB,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE;CASxD;AAID,MAAM,MAAM,yBAAyB,GAAG;IACvC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC;AAEF,wBAAsB,sBAAsB,CAAC,CAAC,EAC7C,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,yBAA8B,GACrC,OAAO,CAAC,CAAC,CAAC,CAkCZ"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const contactGrowth: ActiveTrailEndpoint;
|
|
3
|
+
export declare const createContentCategory: ActiveTrailEndpoint;
|
|
4
|
+
export declare const deleteAccountContentCategories: ActiveTrailEndpoint;
|
|
5
|
+
export declare const getAccountBalance: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getAccountContentCategories2: ActiveTrailEndpoint;
|
|
7
|
+
export declare const getAccountIntegrationdata: ActiveTrailEndpoint;
|
|
8
|
+
export declare const getAccountMerge: ActiveTrailEndpoint;
|
|
9
|
+
export declare const getContactFields: ActiveTrailEndpoint;
|
|
10
|
+
export declare const getContentCategories: ActiveTrailEndpoint;
|
|
11
|
+
export declare const getExecutiveReport: ActiveTrailEndpoint;
|
|
12
|
+
export declare const getTwoWaySmsReplies: ActiveTrailEndpoint;
|
|
13
|
+
export declare const putAccountContentCategories: ActiveTrailEndpoint;
|
|
14
|
+
export declare const AccountEndpoints: {
|
|
15
|
+
readonly contactGrowth: ActiveTrailEndpoint;
|
|
16
|
+
readonly createContentCategory: ActiveTrailEndpoint;
|
|
17
|
+
readonly deleteAccountContentCategories: ActiveTrailEndpoint;
|
|
18
|
+
readonly getAccountBalance: ActiveTrailEndpoint;
|
|
19
|
+
readonly getAccountContentCategories2: ActiveTrailEndpoint;
|
|
20
|
+
readonly getAccountIntegrationdata: ActiveTrailEndpoint;
|
|
21
|
+
readonly getAccountMerge: ActiveTrailEndpoint;
|
|
22
|
+
readonly getContactFields: ActiveTrailEndpoint;
|
|
23
|
+
readonly getContentCategories: ActiveTrailEndpoint;
|
|
24
|
+
readonly getExecutiveReport: ActiveTrailEndpoint;
|
|
25
|
+
readonly getTwoWaySmsReplies: ActiveTrailEndpoint;
|
|
26
|
+
readonly putAccountContentCategories: ActiveTrailEndpoint;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=account.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../endpoints/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,aAAa,EAAE,mBAE3B,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,mBAKnC,CAAC;AAKF,eAAO,MAAM,8BAA8B,EAAE,mBAS5C,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAKF,eAAO,MAAM,4BAA4B,EAAE,mBAS1C,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,mBASvC,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,mBAE7B,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,mBAKlC,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,mBAKhC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAC;AAKF,eAAO,MAAM,2BAA2B,EAAE,mBASzC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;CAanB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const deleteAutomations: ActiveTrailEndpoint;
|
|
3
|
+
export declare const getAutomationLog: ActiveTrailEndpoint;
|
|
4
|
+
export declare const getAutomationReportsLogAutomationQueue: ActiveTrailEndpoint;
|
|
5
|
+
export declare const getAutomations: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getAutomationsDetails: ActiveTrailEndpoint;
|
|
7
|
+
export declare const getAutomationsEmailCampaignSteps: ActiveTrailEndpoint;
|
|
8
|
+
export declare const getAutomationsSmsCampaignSteps: ActiveTrailEndpoint;
|
|
9
|
+
export declare const getAutomationTriggerTypes: ActiveTrailEndpoint;
|
|
10
|
+
export declare const getUpdateActions: ActiveTrailEndpoint;
|
|
11
|
+
export declare const AutomationsEndpoints: {
|
|
12
|
+
readonly deleteAutomations: ActiveTrailEndpoint;
|
|
13
|
+
readonly getAutomationLog: ActiveTrailEndpoint;
|
|
14
|
+
readonly getAutomationReportsLogAutomationQueue: ActiveTrailEndpoint;
|
|
15
|
+
readonly getAutomations: ActiveTrailEndpoint;
|
|
16
|
+
readonly getAutomationsDetails: ActiveTrailEndpoint;
|
|
17
|
+
readonly getAutomationsEmailCampaignSteps: ActiveTrailEndpoint;
|
|
18
|
+
readonly getAutomationsSmsCampaignSteps: ActiveTrailEndpoint;
|
|
19
|
+
readonly getAutomationTriggerTypes: ActiveTrailEndpoint;
|
|
20
|
+
readonly getUpdateActions: ActiveTrailEndpoint;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=automations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"automations.d.ts","sourceRoot":"","sources":["../../endpoints/automations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAC;AAKF,eAAO,MAAM,sCAAsC,EAAE,mBAOnD,CAAC;AAGH,eAAO,MAAM,cAAc,EAAE,mBAE5B,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,mBAKnC,CAAC;AAKF,eAAO,MAAM,gCAAgC,EAAE,mBAS9C,CAAC;AAKF,eAAO,MAAM,8BAA8B,EAAE,mBAS5C,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,mBASvC,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUvB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ActiveTrailContext } from '../index';
|
|
2
|
+
import type { ActiveTrailRoute } from './routes';
|
|
3
|
+
import type { ActiveTrailEndpointInput } from './types';
|
|
4
|
+
export declare function syncActiveTrailOperationCache(ctx: ActiveTrailContext, route: Pick<ActiveTrailRoute, 'method' | 'group'>, input: ActiveTrailEndpointInput, response: unknown): Promise<void>;
|
|
5
|
+
//# sourceMappingURL=cache-sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache-sync.d.ts","sourceRoot":"","sources":["../../endpoints/cache-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAgExD,wBAAsB,6BAA6B,CAClD,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,QAAQ,GAAG,OAAO,CAAC,EACjD,KAAK,EAAE,wBAAwB,EAC/B,QAAQ,EAAE,OAAO,iBAyCjB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const getAllCampaignReports: ActiveTrailEndpoint;
|
|
3
|
+
export declare const getAllSentCampaigns: ActiveTrailEndpoint;
|
|
4
|
+
export declare const getCampaignBounces: ActiveTrailEndpoint;
|
|
5
|
+
export declare const getCampaignReportsBounced: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getCampaignReportsComplaints: ActiveTrailEndpoint;
|
|
7
|
+
export declare const getCampaignReportsSent: ActiveTrailEndpoint;
|
|
8
|
+
export declare const getCampaignReportsUnopened: ActiveTrailEndpoint;
|
|
9
|
+
export declare const getCampaignUnsubscribed: ActiveTrailEndpoint;
|
|
10
|
+
export declare const getPushCampaignReports: ActiveTrailEndpoint;
|
|
11
|
+
export declare const CampaignReportsEndpoints: {
|
|
12
|
+
readonly getAllCampaignReports: ActiveTrailEndpoint;
|
|
13
|
+
readonly getAllSentCampaigns: ActiveTrailEndpoint;
|
|
14
|
+
readonly getCampaignBounces: ActiveTrailEndpoint;
|
|
15
|
+
readonly getCampaignReportsBounced: ActiveTrailEndpoint;
|
|
16
|
+
readonly getCampaignReportsComplaints: ActiveTrailEndpoint;
|
|
17
|
+
readonly getCampaignReportsSent: ActiveTrailEndpoint;
|
|
18
|
+
readonly getCampaignReportsUnopened: ActiveTrailEndpoint;
|
|
19
|
+
readonly getCampaignUnsubscribed: ActiveTrailEndpoint;
|
|
20
|
+
readonly getPushCampaignReports: ActiveTrailEndpoint;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=campaign-reports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"campaign-reports.d.ts","sourceRoot":"","sources":["../../endpoints/campaign-reports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,qBAAqB,EAAE,mBAKnC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,mBAKhC,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,mBASvC,CAAC;AAKF,eAAO,MAAM,4BAA4B,EAAE,mBAS1C,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAC;AAGF,eAAO,MAAM,0BAA0B,EAAE,mBASxC,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,mBAKrC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;CAU3B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const createCampaign: ActiveTrailEndpoint;
|
|
3
|
+
export declare const createCampaignForContacts: ActiveTrailEndpoint;
|
|
4
|
+
export declare const deleteCampaign: ActiveTrailEndpoint;
|
|
5
|
+
export declare const getCampaignDesign: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getCampaignScheduling: ActiveTrailEndpoint;
|
|
7
|
+
export declare const getCampaignsDetails: ActiveTrailEndpoint;
|
|
8
|
+
export declare const getCampaignsSegment: ActiveTrailEndpoint;
|
|
9
|
+
export declare const getCampaignsSentCampaigns: ActiveTrailEndpoint;
|
|
10
|
+
export declare const getCampaignTemplate: ActiveTrailEndpoint;
|
|
11
|
+
export declare const getPushCampaigns: ActiveTrailEndpoint;
|
|
12
|
+
export declare const getTemplate: ActiveTrailEndpoint;
|
|
13
|
+
export declare const listSmsCampaigns: ActiveTrailEndpoint;
|
|
14
|
+
export declare const putCampaignsSegment: ActiveTrailEndpoint;
|
|
15
|
+
export declare const updateCampaignDesign: ActiveTrailEndpoint;
|
|
16
|
+
export declare const updateCampaignScheduling: ActiveTrailEndpoint;
|
|
17
|
+
export declare const updateCampaignSDetails: ActiveTrailEndpoint;
|
|
18
|
+
export declare const updateCampaignTemplate: ActiveTrailEndpoint;
|
|
19
|
+
export declare const CampaignsEndpoints: {
|
|
20
|
+
readonly createCampaign: ActiveTrailEndpoint;
|
|
21
|
+
readonly createCampaignForContacts: ActiveTrailEndpoint;
|
|
22
|
+
readonly deleteCampaign: ActiveTrailEndpoint;
|
|
23
|
+
readonly getCampaignDesign: ActiveTrailEndpoint;
|
|
24
|
+
readonly getCampaignScheduling: ActiveTrailEndpoint;
|
|
25
|
+
readonly getCampaignsDetails: ActiveTrailEndpoint;
|
|
26
|
+
readonly getCampaignsSegment: ActiveTrailEndpoint;
|
|
27
|
+
readonly getCampaignsSentCampaigns: ActiveTrailEndpoint;
|
|
28
|
+
readonly getCampaignTemplate: ActiveTrailEndpoint;
|
|
29
|
+
readonly getPushCampaigns: ActiveTrailEndpoint;
|
|
30
|
+
readonly getTemplate: ActiveTrailEndpoint;
|
|
31
|
+
readonly listSmsCampaigns: ActiveTrailEndpoint;
|
|
32
|
+
readonly putCampaignsSegment: ActiveTrailEndpoint;
|
|
33
|
+
readonly updateCampaignDesign: ActiveTrailEndpoint;
|
|
34
|
+
readonly updateCampaignScheduling: ActiveTrailEndpoint;
|
|
35
|
+
readonly updateCampaignSDetails: ActiveTrailEndpoint;
|
|
36
|
+
readonly updateCampaignTemplate: ActiveTrailEndpoint;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=campaigns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"campaigns.d.ts","sourceRoot":"","sources":["../../endpoints/campaigns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,cAAc,EAAE,mBAE5B,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,mBASvC,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,mBAE5B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,mBAKnC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,mBASvC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,mBAEzB,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,mBAKlC,CAAC;AAGF,eAAO,MAAM,wBAAwB,EAAE,mBAKtC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;CAkBrB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const createOrder: ActiveTrailEndpoint;
|
|
3
|
+
export declare const getCommerceSchema: ActiveTrailEndpoint;
|
|
4
|
+
export declare const getOrder: ActiveTrailEndpoint;
|
|
5
|
+
export declare const updateOrder: ActiveTrailEndpoint;
|
|
6
|
+
export declare const CommerceEndpoints: {
|
|
7
|
+
readonly createOrder: ActiveTrailEndpoint;
|
|
8
|
+
readonly getCommerceSchema: ActiveTrailEndpoint;
|
|
9
|
+
readonly getOrder: ActiveTrailEndpoint;
|
|
10
|
+
readonly updateOrder: ActiveTrailEndpoint;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=commerce.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commerce.d.ts","sourceRoot":"","sources":["../../endpoints/commerce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,WAAW,EAAE,mBAEzB,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,mBAEtB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,mBAEzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const createContact: ActiveTrailEndpoint;
|
|
3
|
+
export declare const deleteContact: ActiveTrailEndpoint;
|
|
4
|
+
export declare const getCampaignReportsEmailActivity: ActiveTrailEndpoint;
|
|
5
|
+
export declare const getContactActivity: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getContactDetails: ActiveTrailEndpoint;
|
|
7
|
+
export declare const getContactGroups: ActiveTrailEndpoint;
|
|
8
|
+
export declare const getContactList: ActiveTrailEndpoint;
|
|
9
|
+
export declare const getContactsErrors: ActiveTrailEndpoint;
|
|
10
|
+
export declare const getContactsMailinglists: ActiveTrailEndpoint;
|
|
11
|
+
export declare const getContactsMerges: ActiveTrailEndpoint;
|
|
12
|
+
export declare const getContactSmsStatistics: ActiveTrailEndpoint;
|
|
13
|
+
export declare const getContactsStatisticsCampaign: ActiveTrailEndpoint;
|
|
14
|
+
export declare const getContactsSubscriptionAllContacts: ActiveTrailEndpoint;
|
|
15
|
+
export declare const getContactsSubscriptionCustomersStatus: ActiveTrailEndpoint;
|
|
16
|
+
export declare const getContactsSubscriptionSubscribers: ActiveTrailEndpoint;
|
|
17
|
+
export declare const getContactsSubscriptionUnsubscribers: ActiveTrailEndpoint;
|
|
18
|
+
export declare const getContactsUnsubscribersSms: ActiveTrailEndpoint;
|
|
19
|
+
export declare const getContactsWithSmsState: ActiveTrailEndpoint;
|
|
20
|
+
export declare const getCustomerStatsForTransactionalMessage: ActiveTrailEndpoint;
|
|
21
|
+
export declare const importNewContacts: ActiveTrailEndpoint;
|
|
22
|
+
export declare const listTransactionalSmsMessages: ActiveTrailEndpoint;
|
|
23
|
+
export declare const ContactsEndpoints: {
|
|
24
|
+
readonly createContact: ActiveTrailEndpoint;
|
|
25
|
+
readonly deleteContact: ActiveTrailEndpoint;
|
|
26
|
+
readonly getCampaignReportsEmailActivity: ActiveTrailEndpoint;
|
|
27
|
+
readonly getContactActivity: ActiveTrailEndpoint;
|
|
28
|
+
readonly getContactDetails: ActiveTrailEndpoint;
|
|
29
|
+
readonly getContactGroups: ActiveTrailEndpoint;
|
|
30
|
+
readonly getContactList: ActiveTrailEndpoint;
|
|
31
|
+
readonly getContactsErrors: ActiveTrailEndpoint;
|
|
32
|
+
readonly getContactsMailinglists: ActiveTrailEndpoint;
|
|
33
|
+
readonly getContactsMerges: ActiveTrailEndpoint;
|
|
34
|
+
readonly getContactSmsStatistics: ActiveTrailEndpoint;
|
|
35
|
+
readonly getContactsStatisticsCampaign: ActiveTrailEndpoint;
|
|
36
|
+
readonly getContactsSubscriptionAllContacts: ActiveTrailEndpoint;
|
|
37
|
+
readonly getContactsSubscriptionCustomersStatus: ActiveTrailEndpoint;
|
|
38
|
+
readonly getContactsSubscriptionSubscribers: ActiveTrailEndpoint;
|
|
39
|
+
readonly getContactsSubscriptionUnsubscribers: ActiveTrailEndpoint;
|
|
40
|
+
readonly getContactsUnsubscribersSms: ActiveTrailEndpoint;
|
|
41
|
+
readonly getContactsWithSmsState: ActiveTrailEndpoint;
|
|
42
|
+
readonly getCustomerStatsForTransactionalMessage: ActiveTrailEndpoint;
|
|
43
|
+
readonly importNewContacts: ActiveTrailEndpoint;
|
|
44
|
+
readonly listTransactionalSmsMessages: ActiveTrailEndpoint;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=contacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../endpoints/contacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,aAAa,EAAE,mBAE3B,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,mBAE3B,CAAC;AAKF,eAAO,MAAM,+BAA+B,EAAE,mBAS7C,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,mBAKhC,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,mBAK9B,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,mBAE5B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,mBAKrC,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,mBAKrC,CAAC;AAKF,eAAO,MAAM,6BAA6B,EAAE,mBAS3C,CAAC;AAKF,eAAO,MAAM,kCAAkC,EAAE,mBAShD,CAAC;AAKF,eAAO,MAAM,sCAAsC,EAAE,mBAOnD,CAAC;AAKH,eAAO,MAAM,kCAAkC,EAAE,mBAShD,CAAC;AAKF,eAAO,MAAM,oCAAoC,EAAE,mBASlD,CAAC;AAKF,eAAO,MAAM,2BAA2B,EAAE,mBASzC,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,mBAKrC,CAAC;AAKF,eAAO,MAAM,uCAAuC,EAAE,mBAOpD,CAAC;AAGH,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAKF,eAAO,MAAM,4BAA4B,EAAE,mBAS1C,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;CAsBpB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const createSmsOperationalMessage: ActiveTrailEndpoint;
|
|
3
|
+
export declare const deleteMailingList: ActiveTrailEndpoint;
|
|
4
|
+
export declare const getExternalSchema: ActiveTrailEndpoint;
|
|
5
|
+
export declare const getSendingProfiles: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getSmsSendingProfiles: ActiveTrailEndpoint;
|
|
7
|
+
export declare const removeExternalContactFromGroup: ActiveTrailEndpoint;
|
|
8
|
+
export declare const sendOperationalMessage: ActiveTrailEndpoint;
|
|
9
|
+
export declare const sendOperationalMessageEmail: ActiveTrailEndpoint;
|
|
10
|
+
export declare const updateContact: ActiveTrailEndpoint;
|
|
11
|
+
export declare const ExternalEndpoints: {
|
|
12
|
+
readonly createSmsOperationalMessage: ActiveTrailEndpoint;
|
|
13
|
+
readonly deleteMailingList: ActiveTrailEndpoint;
|
|
14
|
+
readonly getExternalSchema: ActiveTrailEndpoint;
|
|
15
|
+
readonly getSendingProfiles: ActiveTrailEndpoint;
|
|
16
|
+
readonly getSmsSendingProfiles: ActiveTrailEndpoint;
|
|
17
|
+
readonly removeExternalContactFromGroup: ActiveTrailEndpoint;
|
|
18
|
+
readonly sendOperationalMessage: ActiveTrailEndpoint;
|
|
19
|
+
readonly sendOperationalMessageEmail: ActiveTrailEndpoint;
|
|
20
|
+
readonly updateContact: ActiveTrailEndpoint;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=external.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../endpoints/external.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAerD,eAAO,MAAM,2BAA2B,EAAE,mBASzC,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,mBAKhC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,mBAKnC,CAAC;AAKF,eAAO,MAAM,8BAA8B,EAAE,mBAS5C,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAC;AAKF,eAAO,MAAM,2BAA2B,EAAE,mBASzC,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,mBAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAUpB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CorsairEndpoint } from 'corsair/core';
|
|
2
|
+
import type { ActiveTrailContext } from '../index';
|
|
3
|
+
import type { ActiveTrailRoute } from './routes';
|
|
4
|
+
import type { ActiveTrailEndpointInput } from './types';
|
|
5
|
+
export type ActiveTrailEndpoint = CorsairEndpoint<ActiveTrailContext, ActiveTrailEndpointInput, unknown>;
|
|
6
|
+
export declare function resolvePath(path: string, input: ActiveTrailEndpointInput, route?: Pick<ActiveTrailRoute, 'pathParams'>): string;
|
|
7
|
+
export declare function logActiveTrailOperation(ctx: ActiveTrailContext, input: ActiveTrailEndpointInput, route: ActiveTrailRoute, status?: 'completed' | 'failed'): Promise<void>;
|
|
8
|
+
export declare function requestActiveTrailOperation(ctx: ActiveTrailContext, input: ActiveTrailEndpointInput, route: ActiveTrailRoute): Promise<unknown>;
|
|
9
|
+
export declare function executeActiveTrailOperation(ctx: ActiveTrailContext, input: ActiveTrailEndpointInput, route: ActiveTrailRoute): Promise<unknown>;
|
|
10
|
+
//# sourceMappingURL=factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../endpoints/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AA2CxD,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAChD,kBAAkB,EAClB,wBAAwB,EACxB,OAAO,CACP,CAAC;AA4BF,wBAAgB,WAAW,CAC1B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,wBAAwB,EAC/B,KAAK,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,GAC1C,MAAM,CAcR;AAsED,wBAAsB,uBAAuB,CAC5C,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,wBAAwB,EAC/B,KAAK,EAAE,gBAAgB,EACvB,MAAM,GAAE,WAAW,GAAG,QAAsB,iBAQ5C;AAED,wBAAsB,2BAA2B,CAChD,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,wBAAwB,EAC/B,KAAK,EAAE,gBAAgB,oBAavB;AAED,wBAAsB,2BAA2B,CAChD,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,wBAAwB,EAC/B,KAAK,EAAE,gBAAgB,oBAavB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ActiveTrailEndpoint } from './factory';
|
|
2
|
+
export declare const addGroupMember: ActiveTrailEndpoint;
|
|
3
|
+
export declare const createANewGroup: ActiveTrailEndpoint;
|
|
4
|
+
export declare const deleteAMemberInAGroup: ActiveTrailEndpoint;
|
|
5
|
+
export declare const deleteGroupById: ActiveTrailEndpoint;
|
|
6
|
+
export declare const getAllGroups: ActiveTrailEndpoint;
|
|
7
|
+
export declare const getGroup: ActiveTrailEndpoint;
|
|
8
|
+
export declare const getGroupContentsById: ActiveTrailEndpoint;
|
|
9
|
+
export declare const getGroupsEvents: ActiveTrailEndpoint;
|
|
10
|
+
export declare const updateGroup: ActiveTrailEndpoint;
|
|
11
|
+
export declare const GroupsEndpoints: {
|
|
12
|
+
readonly addGroupMember: ActiveTrailEndpoint;
|
|
13
|
+
readonly createANewGroup: ActiveTrailEndpoint;
|
|
14
|
+
readonly deleteAMemberInAGroup: ActiveTrailEndpoint;
|
|
15
|
+
readonly deleteGroupById: ActiveTrailEndpoint;
|
|
16
|
+
readonly getAllGroups: ActiveTrailEndpoint;
|
|
17
|
+
readonly getGroup: ActiveTrailEndpoint;
|
|
18
|
+
readonly getGroupContentsById: ActiveTrailEndpoint;
|
|
19
|
+
readonly getGroupsEvents: ActiveTrailEndpoint;
|
|
20
|
+
readonly updateGroup: ActiveTrailEndpoint;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../endpoints/groups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAarD,eAAO,MAAM,cAAc,EAAE,mBAE5B,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,mBAE7B,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,mBAKnC,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,mBAE7B,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,mBAE1B,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,mBAEtB,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,mBAKlC,CAAC;AAGF,eAAO,MAAM,eAAe,EAAE,mBAE7B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,mBAEzB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;CAUlB,CAAC"}
|