@appconda/nextjs 1.0.21 → 1.0.23
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/index.js +37 -12565
- package/package.json +1 -2
- package/dist/iife/sdk.js +0 -12556
- package/dist/index.js.map +0 -1
- package/dist/types/Cache/Adapter.d.ts +0 -10
- package/dist/types/Cache/Adapters/Filesystem.d.ts +0 -16
- package/dist/types/Cache/Adapters/Memory.d.ts +0 -18
- package/dist/types/Cache/Adapters/None.d.ts +0 -12
- package/dist/types/Cache/Adapters/Redis.d.ts +0 -14
- package/dist/types/Cache/Adapters/Sharding.d.ts +0 -17
- package/dist/types/Cache/Cache.d.ts +0 -16
- package/dist/types/Cache/index.d.ts +0 -5
- package/dist/types/Cache/test.d.ts +0 -0
- package/dist/types/Services.d.ts +0 -6
- package/dist/types/actions/actionClient.d.ts +0 -4
- package/dist/types/actions/index.d.ts +0 -1
- package/dist/types/actions/nodes.d.ts +0 -4
- package/dist/types/client.d.ts +0 -141
- package/dist/types/decorators/Cache.d.ts +0 -1
- package/dist/types/decorators/CacheKey.d.ts +0 -1
- package/dist/types/decorators/Invalidate.d.ts +0 -1
- package/dist/types/enums/api-service.d.ts +0 -13
- package/dist/types/enums/api.d.ts +0 -5
- package/dist/types/enums/auth-method.d.ts +0 -9
- package/dist/types/enums/authentication-factor.d.ts +0 -6
- package/dist/types/enums/authenticator-type.d.ts +0 -3
- package/dist/types/enums/browser.d.ts +0 -16
- package/dist/types/enums/compression.d.ts +0 -5
- package/dist/types/enums/credit-card.d.ts +0 -18
- package/dist/types/enums/database-usage-range.d.ts +0 -5
- package/dist/types/enums/email-template-locale.d.ts +0 -133
- package/dist/types/enums/email-template-type.d.ts +0 -9
- package/dist/types/enums/entities/EntityLimitType.d.ts +0 -4
- package/dist/types/enums/entities/PropertyAttributeName.d.ts +0 -27
- package/dist/types/enums/entities/PropertyCondition.d.ts +0 -7
- package/dist/types/enums/entities/PropertyType.d.ts +0 -12
- package/dist/types/enums/entities/PropertyValueType.d.ts +0 -6
- package/dist/types/enums/entities/RowAccess.d.ts +0 -2
- package/dist/types/enums/entities/ViewFilterCondition.d.ts +0 -12
- package/dist/types/enums/execution-method.d.ts +0 -8
- package/dist/types/enums/flag.d.ts +0 -197
- package/dist/types/enums/function-usage-range.d.ts +0 -5
- package/dist/types/enums/image-format.d.ts +0 -7
- package/dist/types/enums/image-gravity.d.ts +0 -11
- package/dist/types/enums/index-type.d.ts +0 -5
- package/dist/types/enums/messaging-provider-type.d.ts +0 -5
- package/dist/types/enums/name.d.ts +0 -14
- package/dist/types/enums/o-auth-provider copy.d.ts +0 -41
- package/dist/types/enums/o-auth-provider.d.ts +0 -41
- package/dist/types/enums/password-hash.d.ts +0 -13
- package/dist/types/enums/platform-type.d.ts +0 -17
- package/dist/types/enums/project-usage-range.d.ts +0 -4
- package/dist/types/enums/region.d.ts +0 -4
- package/dist/types/enums/relation-mutate.d.ts +0 -5
- package/dist/types/enums/relationship-type.d.ts +0 -6
- package/dist/types/enums/resource-type.d.ts +0 -4
- package/dist/types/enums/runtime.d.ts +0 -48
- package/dist/types/enums/s-m-t-p-secure.d.ts +0 -3
- package/dist/types/enums/shared/ApplicationLayout.d.ts +0 -4
- package/dist/types/enums/shared/Colors.d.ts +0 -24
- package/dist/types/enums/shared/InputType.d.ts +0 -6
- package/dist/types/enums/shared/Periodicity.d.ts +0 -7
- package/dist/types/enums/shared/SvgIcon.d.ts +0 -37
- package/dist/types/enums/shared/Theme.d.ts +0 -4
- package/dist/types/enums/sms-template-locale.d.ts +0 -133
- package/dist/types/enums/sms-template-type.d.ts +0 -6
- package/dist/types/enums/smtp-encryption.d.ts +0 -5
- package/dist/types/enums/storage-usage-range.d.ts +0 -5
- package/dist/types/enums/subscriptions/PricingModel.d.ts +0 -11
- package/dist/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
- package/dist/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
- package/dist/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
- package/dist/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
- package/dist/types/enums/tenants/TenantUserJoined.d.ts +0 -6
- package/dist/types/enums/tenants/TenantUserStatus.d.ts +0 -6
- package/dist/types/enums/tenants/TenantUserType.d.ts +0 -5
- package/dist/types/enums/user-usage-range.d.ts +0 -5
- package/dist/types/getAppcondaClient.d.ts +0 -2
- package/dist/types/getSDKForCurrentUser.d.ts +0 -33
- package/dist/types/id.d.ts +0 -20
- package/dist/types/index.d.ts +0 -39
- package/dist/types/inputFile.d.ts +0 -6
- package/dist/types/lib/Registry/Registry.d.ts +0 -38
- package/dist/types/lib/Registry/index.d.ts +0 -1
- package/dist/types/models.d.ts +0 -3272
- package/dist/types/permission.d.ts +0 -43
- package/dist/types/query.d.ts +0 -194
- package/dist/types/role.d.ts +0 -70
- package/dist/types/service-client.d.ts +0 -7
- package/dist/types/service.d.ts +0 -11
- package/dist/types/services/account.d.ts +0 -530
- package/dist/types/services/applets.d.ts +0 -9
- package/dist/types/services/avatars.d.ts +0 -115
- package/dist/types/services/community.d.ts +0 -19
- package/dist/types/services/configuration.d.ts +0 -5
- package/dist/types/services/databases.d.ts +0 -613
- package/dist/types/services/functions.d.ts +0 -319
- package/dist/types/services/graphql.d.ts +0 -25
- package/dist/types/services/health.d.ts +0 -231
- package/dist/types/services/locale.d.ts +0 -80
- package/dist/types/services/messaging.d.ts +0 -685
- package/dist/types/services/node.d.ts +0 -5
- package/dist/types/services/permissions.d.ts +0 -20
- package/dist/types/services/pricing.d.ts +0 -15
- package/dist/types/services/projects.d.ts +0 -542
- package/dist/types/services/roles.d.ts +0 -19
- package/dist/types/services/schema.d.ts +0 -17
- package/dist/types/services/storage.d.ts +0 -189
- package/dist/types/services/subscription.d.ts +0 -15
- package/dist/types/services/teams.d.ts +0 -167
- package/dist/types/services/tenant-subscription.d.ts +0 -12
- package/dist/types/services/tenant.d.ts +0 -32
- package/dist/types/services/users.d.ts +0 -499
- package/dist/types/services/waitlist.d.ts +0 -5
|
@@ -1,685 +0,0 @@
|
|
|
1
|
-
import { Client } from '../client';
|
|
2
|
-
import type { Models } from '../models';
|
|
3
|
-
import { SmtpEncryption } from '../enums/smtp-encryption';
|
|
4
|
-
export declare class Messaging {
|
|
5
|
-
client: Client;
|
|
6
|
-
constructor(client: Client);
|
|
7
|
-
/**
|
|
8
|
-
* List messages
|
|
9
|
-
*
|
|
10
|
-
* Get a list of all messages from the current Appconda project.
|
|
11
|
-
*
|
|
12
|
-
* @param {string[]} queries
|
|
13
|
-
* @param {string} search
|
|
14
|
-
* @throws {AppcondaException}
|
|
15
|
-
* @returns {Promise<Models.MessageList>}
|
|
16
|
-
*/
|
|
17
|
-
listMessages(queries?: string[], search?: string): Promise<Models.MessageList>;
|
|
18
|
-
/**
|
|
19
|
-
* Create email
|
|
20
|
-
*
|
|
21
|
-
* Create a new email message.
|
|
22
|
-
*
|
|
23
|
-
* @param {string} messageId
|
|
24
|
-
* @param {string} subject
|
|
25
|
-
* @param {string} content
|
|
26
|
-
* @param {string[]} topics
|
|
27
|
-
* @param {string[]} users
|
|
28
|
-
* @param {string[]} targets
|
|
29
|
-
* @param {string[]} cc
|
|
30
|
-
* @param {string[]} bcc
|
|
31
|
-
* @param {string[]} attachments
|
|
32
|
-
* @param {boolean} draft
|
|
33
|
-
* @param {boolean} html
|
|
34
|
-
* @param {string} scheduledAt
|
|
35
|
-
* @throws {AppcondaException}
|
|
36
|
-
* @returns {Promise<Models.Message>}
|
|
37
|
-
*/
|
|
38
|
-
createEmail(messageId: string, subject: string, content: string, topics?: string[], users?: string[], targets?: string[], cc?: string[], bcc?: string[], attachments?: string[], draft?: boolean, html?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
39
|
-
/**
|
|
40
|
-
* Update email
|
|
41
|
-
*
|
|
42
|
-
* Update an email message by its unique ID.
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
* @param {string} messageId
|
|
46
|
-
* @param {string[]} topics
|
|
47
|
-
* @param {string[]} users
|
|
48
|
-
* @param {string[]} targets
|
|
49
|
-
* @param {string} subject
|
|
50
|
-
* @param {string} content
|
|
51
|
-
* @param {boolean} draft
|
|
52
|
-
* @param {boolean} html
|
|
53
|
-
* @param {string[]} cc
|
|
54
|
-
* @param {string[]} bcc
|
|
55
|
-
* @param {string} scheduledAt
|
|
56
|
-
* @param {string[]} attachments
|
|
57
|
-
* @throws {AppcondaException}
|
|
58
|
-
* @returns {Promise<Models.Message>}
|
|
59
|
-
*/
|
|
60
|
-
updateEmail(messageId: string, topics?: string[], users?: string[], targets?: string[], subject?: string, content?: string, draft?: boolean, html?: boolean, cc?: string[], bcc?: string[], scheduledAt?: string, attachments?: string[]): Promise<Models.Message>;
|
|
61
|
-
/**
|
|
62
|
-
* Create push notification
|
|
63
|
-
*
|
|
64
|
-
* Create a new push notification.
|
|
65
|
-
*
|
|
66
|
-
* @param {string} messageId
|
|
67
|
-
* @param {string} title
|
|
68
|
-
* @param {string} body
|
|
69
|
-
* @param {string[]} topics
|
|
70
|
-
* @param {string[]} users
|
|
71
|
-
* @param {string[]} targets
|
|
72
|
-
* @param {object} data
|
|
73
|
-
* @param {string} action
|
|
74
|
-
* @param {string} image
|
|
75
|
-
* @param {string} icon
|
|
76
|
-
* @param {string} sound
|
|
77
|
-
* @param {string} color
|
|
78
|
-
* @param {string} tag
|
|
79
|
-
* @param {string} badge
|
|
80
|
-
* @param {boolean} draft
|
|
81
|
-
* @param {string} scheduledAt
|
|
82
|
-
* @throws {AppcondaException}
|
|
83
|
-
* @returns {Promise<Models.Message>}
|
|
84
|
-
*/
|
|
85
|
-
createPush(messageId: string, title: string, body: string, topics?: string[], users?: string[], targets?: string[], data?: object, action?: string, image?: string, icon?: string, sound?: string, color?: string, tag?: string, badge?: string, draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
86
|
-
/**
|
|
87
|
-
* Update push notification
|
|
88
|
-
*
|
|
89
|
-
* Update a push notification by its unique ID.
|
|
90
|
-
|
|
91
|
-
*
|
|
92
|
-
* @param {string} messageId
|
|
93
|
-
* @param {string[]} topics
|
|
94
|
-
* @param {string[]} users
|
|
95
|
-
* @param {string[]} targets
|
|
96
|
-
* @param {string} title
|
|
97
|
-
* @param {string} body
|
|
98
|
-
* @param {object} data
|
|
99
|
-
* @param {string} action
|
|
100
|
-
* @param {string} image
|
|
101
|
-
* @param {string} icon
|
|
102
|
-
* @param {string} sound
|
|
103
|
-
* @param {string} color
|
|
104
|
-
* @param {string} tag
|
|
105
|
-
* @param {number} badge
|
|
106
|
-
* @param {boolean} draft
|
|
107
|
-
* @param {string} scheduledAt
|
|
108
|
-
* @throws {AppcondaException}
|
|
109
|
-
* @returns {Promise<Models.Message>}
|
|
110
|
-
*/
|
|
111
|
-
updatePush(messageId: string, topics?: string[], users?: string[], targets?: string[], title?: string, body?: string, data?: object, action?: string, image?: string, icon?: string, sound?: string, color?: string, tag?: string, badge?: number, draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
112
|
-
/**
|
|
113
|
-
* Create SMS
|
|
114
|
-
*
|
|
115
|
-
* Create a new SMS message.
|
|
116
|
-
*
|
|
117
|
-
* @param {string} messageId
|
|
118
|
-
* @param {string} content
|
|
119
|
-
* @param {string[]} topics
|
|
120
|
-
* @param {string[]} users
|
|
121
|
-
* @param {string[]} targets
|
|
122
|
-
* @param {boolean} draft
|
|
123
|
-
* @param {string} scheduledAt
|
|
124
|
-
* @throws {AppcondaException}
|
|
125
|
-
* @returns {Promise<Models.Message>}
|
|
126
|
-
*/
|
|
127
|
-
createSms(messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
128
|
-
/**
|
|
129
|
-
* Update SMS
|
|
130
|
-
*
|
|
131
|
-
* Update an email message by its unique ID.
|
|
132
|
-
|
|
133
|
-
*
|
|
134
|
-
* @param {string} messageId
|
|
135
|
-
* @param {string[]} topics
|
|
136
|
-
* @param {string[]} users
|
|
137
|
-
* @param {string[]} targets
|
|
138
|
-
* @param {string} content
|
|
139
|
-
* @param {boolean} draft
|
|
140
|
-
* @param {string} scheduledAt
|
|
141
|
-
* @throws {AppcondaException}
|
|
142
|
-
* @returns {Promise<Models.Message>}
|
|
143
|
-
*/
|
|
144
|
-
updateSms(messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
145
|
-
/**
|
|
146
|
-
* Get message
|
|
147
|
-
*
|
|
148
|
-
* Get a message by its unique ID.
|
|
149
|
-
|
|
150
|
-
*
|
|
151
|
-
* @param {string} messageId
|
|
152
|
-
* @throws {AppcondaException}
|
|
153
|
-
* @returns {Promise<Models.Message>}
|
|
154
|
-
*/
|
|
155
|
-
getMessage(messageId: string): Promise<Models.Message>;
|
|
156
|
-
/**
|
|
157
|
-
* Delete message
|
|
158
|
-
*
|
|
159
|
-
* Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.
|
|
160
|
-
*
|
|
161
|
-
* @param {string} messageId
|
|
162
|
-
* @throws {AppcondaException}
|
|
163
|
-
* @returns {Promise<{}>}
|
|
164
|
-
*/
|
|
165
|
-
delete(messageId: string): Promise<{}>;
|
|
166
|
-
/**
|
|
167
|
-
* List message logs
|
|
168
|
-
*
|
|
169
|
-
* Get the message activity logs listed by its unique ID.
|
|
170
|
-
*
|
|
171
|
-
* @param {string} messageId
|
|
172
|
-
* @param {string[]} queries
|
|
173
|
-
* @throws {AppcondaException}
|
|
174
|
-
* @returns {Promise<Models.LogList>}
|
|
175
|
-
*/
|
|
176
|
-
listMessageLogs(messageId: string, queries?: string[]): Promise<Models.LogList>;
|
|
177
|
-
/**
|
|
178
|
-
* List message targets
|
|
179
|
-
*
|
|
180
|
-
* Get a list of the targets associated with a message.
|
|
181
|
-
*
|
|
182
|
-
* @param {string} messageId
|
|
183
|
-
* @param {string[]} queries
|
|
184
|
-
* @throws {AppcondaException}
|
|
185
|
-
* @returns {Promise<Models.TargetList>}
|
|
186
|
-
*/
|
|
187
|
-
listTargets(messageId: string, queries?: string[]): Promise<Models.TargetList>;
|
|
188
|
-
/**
|
|
189
|
-
* List providers
|
|
190
|
-
*
|
|
191
|
-
* Get a list of all providers from the current Appconda project.
|
|
192
|
-
*
|
|
193
|
-
* @param {string[]} queries
|
|
194
|
-
* @param {string} search
|
|
195
|
-
* @throws {AppcondaException}
|
|
196
|
-
* @returns {Promise<Models.ProviderList>}
|
|
197
|
-
*/
|
|
198
|
-
listProviders(queries?: string[], search?: string): Promise<Models.ProviderList>;
|
|
199
|
-
/**
|
|
200
|
-
* Create APNS provider
|
|
201
|
-
*
|
|
202
|
-
* Create a new Apple Push Notification service provider.
|
|
203
|
-
*
|
|
204
|
-
* @param {string} providerId
|
|
205
|
-
* @param {string} name
|
|
206
|
-
* @param {string} authKey
|
|
207
|
-
* @param {string} authKeyId
|
|
208
|
-
* @param {string} teamId
|
|
209
|
-
* @param {string} bundleId
|
|
210
|
-
* @param {boolean} sandbox
|
|
211
|
-
* @param {boolean} enabled
|
|
212
|
-
* @throws {AppcondaException}
|
|
213
|
-
* @returns {Promise<Models.Provider>}
|
|
214
|
-
*/
|
|
215
|
-
createApnsProvider(providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean): Promise<Models.Provider>;
|
|
216
|
-
/**
|
|
217
|
-
* Update APNS provider
|
|
218
|
-
*
|
|
219
|
-
* Update a Apple Push Notification service provider by its unique ID.
|
|
220
|
-
*
|
|
221
|
-
* @param {string} providerId
|
|
222
|
-
* @param {string} name
|
|
223
|
-
* @param {boolean} enabled
|
|
224
|
-
* @param {string} authKey
|
|
225
|
-
* @param {string} authKeyId
|
|
226
|
-
* @param {string} teamId
|
|
227
|
-
* @param {string} bundleId
|
|
228
|
-
* @param {boolean} sandbox
|
|
229
|
-
* @throws {AppcondaException}
|
|
230
|
-
* @returns {Promise<Models.Provider>}
|
|
231
|
-
*/
|
|
232
|
-
updateApnsProvider(providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean): Promise<Models.Provider>;
|
|
233
|
-
/**
|
|
234
|
-
* Create FCM provider
|
|
235
|
-
*
|
|
236
|
-
* Create a new Firebase Cloud Messaging provider.
|
|
237
|
-
*
|
|
238
|
-
* @param {string} providerId
|
|
239
|
-
* @param {string} name
|
|
240
|
-
* @param {object} serviceAccountJSON
|
|
241
|
-
* @param {boolean} enabled
|
|
242
|
-
* @throws {AppcondaException}
|
|
243
|
-
* @returns {Promise<Models.Provider>}
|
|
244
|
-
*/
|
|
245
|
-
createFcmProvider(providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean): Promise<Models.Provider>;
|
|
246
|
-
/**
|
|
247
|
-
* Update FCM provider
|
|
248
|
-
*
|
|
249
|
-
* Update a Firebase Cloud Messaging provider by its unique ID.
|
|
250
|
-
*
|
|
251
|
-
* @param {string} providerId
|
|
252
|
-
* @param {string} name
|
|
253
|
-
* @param {boolean} enabled
|
|
254
|
-
* @param {object} serviceAccountJSON
|
|
255
|
-
* @throws {AppcondaException}
|
|
256
|
-
* @returns {Promise<Models.Provider>}
|
|
257
|
-
*/
|
|
258
|
-
updateFcmProvider(providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object): Promise<Models.Provider>;
|
|
259
|
-
/**
|
|
260
|
-
* Create Mailgun provider
|
|
261
|
-
*
|
|
262
|
-
* Create a new Mailgun provider.
|
|
263
|
-
*
|
|
264
|
-
* @param {string} providerId
|
|
265
|
-
* @param {string} name
|
|
266
|
-
* @param {string} apiKey
|
|
267
|
-
* @param {string} domain
|
|
268
|
-
* @param {boolean} isEuRegion
|
|
269
|
-
* @param {string} fromName
|
|
270
|
-
* @param {string} fromEmail
|
|
271
|
-
* @param {string} replyToName
|
|
272
|
-
* @param {string} replyToEmail
|
|
273
|
-
* @param {boolean} enabled
|
|
274
|
-
* @throws {AppcondaException}
|
|
275
|
-
* @returns {Promise<Models.Provider>}
|
|
276
|
-
*/
|
|
277
|
-
createMailgunProvider(providerId: string, name: string, apiKey?: string, domain?: string, isEuRegion?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
278
|
-
/**
|
|
279
|
-
* Update Mailgun provider
|
|
280
|
-
*
|
|
281
|
-
* Update a Mailgun provider by its unique ID.
|
|
282
|
-
*
|
|
283
|
-
* @param {string} providerId
|
|
284
|
-
* @param {string} name
|
|
285
|
-
* @param {string} apiKey
|
|
286
|
-
* @param {string} domain
|
|
287
|
-
* @param {boolean} isEuRegion
|
|
288
|
-
* @param {boolean} enabled
|
|
289
|
-
* @param {string} fromName
|
|
290
|
-
* @param {string} fromEmail
|
|
291
|
-
* @param {string} replyToName
|
|
292
|
-
* @param {string} replyToEmail
|
|
293
|
-
* @throws {AppcondaException}
|
|
294
|
-
* @returns {Promise<Models.Provider>}
|
|
295
|
-
*/
|
|
296
|
-
updateMailgunProvider(providerId: string, name?: string, apiKey?: string, domain?: string, isEuRegion?: boolean, enabled?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string): Promise<Models.Provider>;
|
|
297
|
-
/**
|
|
298
|
-
* Create Msg91 provider
|
|
299
|
-
*
|
|
300
|
-
* Create a new MSG91 provider.
|
|
301
|
-
*
|
|
302
|
-
* @param {string} providerId
|
|
303
|
-
* @param {string} name
|
|
304
|
-
* @param {string} templateId
|
|
305
|
-
* @param {string} senderId
|
|
306
|
-
* @param {string} authKey
|
|
307
|
-
* @param {boolean} enabled
|
|
308
|
-
* @throws {AppcondaException}
|
|
309
|
-
* @returns {Promise<Models.Provider>}
|
|
310
|
-
*/
|
|
311
|
-
createMsg91Provider(providerId: string, name: string, templateId?: string, senderId?: string, authKey?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
312
|
-
/**
|
|
313
|
-
* Update Msg91 provider
|
|
314
|
-
*
|
|
315
|
-
* Update a MSG91 provider by its unique ID.
|
|
316
|
-
*
|
|
317
|
-
* @param {string} providerId
|
|
318
|
-
* @param {string} name
|
|
319
|
-
* @param {boolean} enabled
|
|
320
|
-
* @param {string} templateId
|
|
321
|
-
* @param {string} senderId
|
|
322
|
-
* @param {string} authKey
|
|
323
|
-
* @throws {AppcondaException}
|
|
324
|
-
* @returns {Promise<Models.Provider>}
|
|
325
|
-
*/
|
|
326
|
-
updateMsg91Provider(providerId: string, name?: string, enabled?: boolean, templateId?: string, senderId?: string, authKey?: string): Promise<Models.Provider>;
|
|
327
|
-
/**
|
|
328
|
-
* Create Sendgrid provider
|
|
329
|
-
*
|
|
330
|
-
* Create a new Sendgrid provider.
|
|
331
|
-
*
|
|
332
|
-
* @param {string} providerId
|
|
333
|
-
* @param {string} name
|
|
334
|
-
* @param {string} apiKey
|
|
335
|
-
* @param {string} fromName
|
|
336
|
-
* @param {string} fromEmail
|
|
337
|
-
* @param {string} replyToName
|
|
338
|
-
* @param {string} replyToEmail
|
|
339
|
-
* @param {boolean} enabled
|
|
340
|
-
* @throws {AppcondaException}
|
|
341
|
-
* @returns {Promise<Models.Provider>}
|
|
342
|
-
*/
|
|
343
|
-
createSendgridProvider(providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
344
|
-
/**
|
|
345
|
-
* Update Sendgrid provider
|
|
346
|
-
*
|
|
347
|
-
* Update a Sendgrid provider by its unique ID.
|
|
348
|
-
*
|
|
349
|
-
* @param {string} providerId
|
|
350
|
-
* @param {string} name
|
|
351
|
-
* @param {boolean} enabled
|
|
352
|
-
* @param {string} apiKey
|
|
353
|
-
* @param {string} fromName
|
|
354
|
-
* @param {string} fromEmail
|
|
355
|
-
* @param {string} replyToName
|
|
356
|
-
* @param {string} replyToEmail
|
|
357
|
-
* @throws {AppcondaException}
|
|
358
|
-
* @returns {Promise<Models.Provider>}
|
|
359
|
-
*/
|
|
360
|
-
updateSendgridProvider(providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string): Promise<Models.Provider>;
|
|
361
|
-
/**
|
|
362
|
-
* Create SMTP provider
|
|
363
|
-
*
|
|
364
|
-
* Create a new SMTP provider.
|
|
365
|
-
*
|
|
366
|
-
* @param {string} providerId
|
|
367
|
-
* @param {string} name
|
|
368
|
-
* @param {string} host
|
|
369
|
-
* @param {number} port
|
|
370
|
-
* @param {string} username
|
|
371
|
-
* @param {string} password
|
|
372
|
-
* @param {SmtpEncryption} encryption
|
|
373
|
-
* @param {boolean} autoTLS
|
|
374
|
-
* @param {string} mailer
|
|
375
|
-
* @param {string} fromName
|
|
376
|
-
* @param {string} fromEmail
|
|
377
|
-
* @param {string} replyToName
|
|
378
|
-
* @param {string} replyToEmail
|
|
379
|
-
* @param {boolean} enabled
|
|
380
|
-
* @throws {AppcondaException}
|
|
381
|
-
* @returns {Promise<Models.Provider>}
|
|
382
|
-
*/
|
|
383
|
-
createSmtpProvider(providerId: string, name: string, host: string, port?: number, username?: string, password?: string, encryption?: SmtpEncryption, autoTLS?: boolean, mailer?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
384
|
-
/**
|
|
385
|
-
* Update SMTP provider
|
|
386
|
-
*
|
|
387
|
-
* Update a SMTP provider by its unique ID.
|
|
388
|
-
*
|
|
389
|
-
* @param {string} providerId
|
|
390
|
-
* @param {string} name
|
|
391
|
-
* @param {string} host
|
|
392
|
-
* @param {number} port
|
|
393
|
-
* @param {string} username
|
|
394
|
-
* @param {string} password
|
|
395
|
-
* @param {SmtpEncryption} encryption
|
|
396
|
-
* @param {boolean} autoTLS
|
|
397
|
-
* @param {string} mailer
|
|
398
|
-
* @param {string} fromName
|
|
399
|
-
* @param {string} fromEmail
|
|
400
|
-
* @param {string} replyToName
|
|
401
|
-
* @param {string} replyToEmail
|
|
402
|
-
* @param {boolean} enabled
|
|
403
|
-
* @throws {AppcondaException}
|
|
404
|
-
* @returns {Promise<Models.Provider>}
|
|
405
|
-
*/
|
|
406
|
-
updateSmtpProvider(providerId: string, name?: string, host?: string, port?: number, username?: string, password?: string, encryption?: SmtpEncryption, autoTLS?: boolean, mailer?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
407
|
-
/**
|
|
408
|
-
* Create Telesign provider
|
|
409
|
-
*
|
|
410
|
-
* Create a new Telesign provider.
|
|
411
|
-
*
|
|
412
|
-
* @param {string} providerId
|
|
413
|
-
* @param {string} name
|
|
414
|
-
* @param {string} from
|
|
415
|
-
* @param {string} customerId
|
|
416
|
-
* @param {string} apiKey
|
|
417
|
-
* @param {boolean} enabled
|
|
418
|
-
* @throws {AppcondaException}
|
|
419
|
-
* @returns {Promise<Models.Provider>}
|
|
420
|
-
*/
|
|
421
|
-
createTelesignProvider(providerId: string, name: string, from?: string, customerId?: string, apiKey?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
422
|
-
/**
|
|
423
|
-
* Update Telesign provider
|
|
424
|
-
*
|
|
425
|
-
* Update a Telesign provider by its unique ID.
|
|
426
|
-
*
|
|
427
|
-
* @param {string} providerId
|
|
428
|
-
* @param {string} name
|
|
429
|
-
* @param {boolean} enabled
|
|
430
|
-
* @param {string} customerId
|
|
431
|
-
* @param {string} apiKey
|
|
432
|
-
* @param {string} from
|
|
433
|
-
* @throws {AppcondaException}
|
|
434
|
-
* @returns {Promise<Models.Provider>}
|
|
435
|
-
*/
|
|
436
|
-
updateTelesignProvider(providerId: string, name?: string, enabled?: boolean, customerId?: string, apiKey?: string, from?: string): Promise<Models.Provider>;
|
|
437
|
-
/**
|
|
438
|
-
* Create Textmagic provider
|
|
439
|
-
*
|
|
440
|
-
* Create a new Textmagic provider.
|
|
441
|
-
*
|
|
442
|
-
* @param {string} providerId
|
|
443
|
-
* @param {string} name
|
|
444
|
-
* @param {string} from
|
|
445
|
-
* @param {string} username
|
|
446
|
-
* @param {string} apiKey
|
|
447
|
-
* @param {boolean} enabled
|
|
448
|
-
* @throws {AppcondaException}
|
|
449
|
-
* @returns {Promise<Models.Provider>}
|
|
450
|
-
*/
|
|
451
|
-
createTextmagicProvider(providerId: string, name: string, from?: string, username?: string, apiKey?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
452
|
-
/**
|
|
453
|
-
* Update Textmagic provider
|
|
454
|
-
*
|
|
455
|
-
* Update a Textmagic provider by its unique ID.
|
|
456
|
-
*
|
|
457
|
-
* @param {string} providerId
|
|
458
|
-
* @param {string} name
|
|
459
|
-
* @param {boolean} enabled
|
|
460
|
-
* @param {string} username
|
|
461
|
-
* @param {string} apiKey
|
|
462
|
-
* @param {string} from
|
|
463
|
-
* @throws {AppcondaException}
|
|
464
|
-
* @returns {Promise<Models.Provider>}
|
|
465
|
-
*/
|
|
466
|
-
updateTextmagicProvider(providerId: string, name?: string, enabled?: boolean, username?: string, apiKey?: string, from?: string): Promise<Models.Provider>;
|
|
467
|
-
/**
|
|
468
|
-
* Create Twilio provider
|
|
469
|
-
*
|
|
470
|
-
* Create a new Twilio provider.
|
|
471
|
-
*
|
|
472
|
-
* @param {string} providerId
|
|
473
|
-
* @param {string} name
|
|
474
|
-
* @param {string} from
|
|
475
|
-
* @param {string} accountSid
|
|
476
|
-
* @param {string} authToken
|
|
477
|
-
* @param {boolean} enabled
|
|
478
|
-
* @throws {AppcondaException}
|
|
479
|
-
* @returns {Promise<Models.Provider>}
|
|
480
|
-
*/
|
|
481
|
-
createTwilioProvider(providerId: string, name: string, from?: string, accountSid?: string, authToken?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
482
|
-
/**
|
|
483
|
-
* Update Twilio provider
|
|
484
|
-
*
|
|
485
|
-
* Update a Twilio provider by its unique ID.
|
|
486
|
-
*
|
|
487
|
-
* @param {string} providerId
|
|
488
|
-
* @param {string} name
|
|
489
|
-
* @param {boolean} enabled
|
|
490
|
-
* @param {string} accountSid
|
|
491
|
-
* @param {string} authToken
|
|
492
|
-
* @param {string} from
|
|
493
|
-
* @throws {AppcondaException}
|
|
494
|
-
* @returns {Promise<Models.Provider>}
|
|
495
|
-
*/
|
|
496
|
-
updateTwilioProvider(providerId: string, name?: string, enabled?: boolean, accountSid?: string, authToken?: string, from?: string): Promise<Models.Provider>;
|
|
497
|
-
/**
|
|
498
|
-
* Create Vonage provider
|
|
499
|
-
*
|
|
500
|
-
* Create a new Vonage provider.
|
|
501
|
-
*
|
|
502
|
-
* @param {string} providerId
|
|
503
|
-
* @param {string} name
|
|
504
|
-
* @param {string} from
|
|
505
|
-
* @param {string} apiKey
|
|
506
|
-
* @param {string} apiSecret
|
|
507
|
-
* @param {boolean} enabled
|
|
508
|
-
* @throws {AppcondaException}
|
|
509
|
-
* @returns {Promise<Models.Provider>}
|
|
510
|
-
*/
|
|
511
|
-
createVonageProvider(providerId: string, name: string, from?: string, apiKey?: string, apiSecret?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
512
|
-
/**
|
|
513
|
-
* Update Vonage provider
|
|
514
|
-
*
|
|
515
|
-
* Update a Vonage provider by its unique ID.
|
|
516
|
-
*
|
|
517
|
-
* @param {string} providerId
|
|
518
|
-
* @param {string} name
|
|
519
|
-
* @param {boolean} enabled
|
|
520
|
-
* @param {string} apiKey
|
|
521
|
-
* @param {string} apiSecret
|
|
522
|
-
* @param {string} from
|
|
523
|
-
* @throws {AppcondaException}
|
|
524
|
-
* @returns {Promise<Models.Provider>}
|
|
525
|
-
*/
|
|
526
|
-
updateVonageProvider(providerId: string, name?: string, enabled?: boolean, apiKey?: string, apiSecret?: string, from?: string): Promise<Models.Provider>;
|
|
527
|
-
/**
|
|
528
|
-
* Get provider
|
|
529
|
-
*
|
|
530
|
-
* Get a provider by its unique ID.
|
|
531
|
-
|
|
532
|
-
*
|
|
533
|
-
* @param {string} providerId
|
|
534
|
-
* @throws {AppcondaException}
|
|
535
|
-
* @returns {Promise<Models.Provider>}
|
|
536
|
-
*/
|
|
537
|
-
getProvider(providerId: string): Promise<Models.Provider>;
|
|
538
|
-
/**
|
|
539
|
-
* Delete provider
|
|
540
|
-
*
|
|
541
|
-
* Delete a provider by its unique ID.
|
|
542
|
-
*
|
|
543
|
-
* @param {string} providerId
|
|
544
|
-
* @throws {AppcondaException}
|
|
545
|
-
* @returns {Promise<{}>}
|
|
546
|
-
*/
|
|
547
|
-
deleteProvider(providerId: string): Promise<{}>;
|
|
548
|
-
/**
|
|
549
|
-
* List provider logs
|
|
550
|
-
*
|
|
551
|
-
* Get the provider activity logs listed by its unique ID.
|
|
552
|
-
*
|
|
553
|
-
* @param {string} providerId
|
|
554
|
-
* @param {string[]} queries
|
|
555
|
-
* @throws {AppcondaException}
|
|
556
|
-
* @returns {Promise<Models.LogList>}
|
|
557
|
-
*/
|
|
558
|
-
listProviderLogs(providerId: string, queries?: string[]): Promise<Models.LogList>;
|
|
559
|
-
/**
|
|
560
|
-
* List subscriber logs
|
|
561
|
-
*
|
|
562
|
-
* Get the subscriber activity logs listed by its unique ID.
|
|
563
|
-
*
|
|
564
|
-
* @param {string} subscriberId
|
|
565
|
-
* @param {string[]} queries
|
|
566
|
-
* @throws {AppcondaException}
|
|
567
|
-
* @returns {Promise<Models.LogList>}
|
|
568
|
-
*/
|
|
569
|
-
listSubscriberLogs(subscriberId: string, queries?: string[]): Promise<Models.LogList>;
|
|
570
|
-
/**
|
|
571
|
-
* List topics
|
|
572
|
-
*
|
|
573
|
-
* Get a list of all topics from the current Appconda project.
|
|
574
|
-
*
|
|
575
|
-
* @param {string[]} queries
|
|
576
|
-
* @param {string} search
|
|
577
|
-
* @throws {AppcondaException}
|
|
578
|
-
* @returns {Promise<Models.TopicList>}
|
|
579
|
-
*/
|
|
580
|
-
listTopics(queries?: string[], search?: string): Promise<Models.TopicList>;
|
|
581
|
-
/**
|
|
582
|
-
* Create topic
|
|
583
|
-
*
|
|
584
|
-
* Create a new topic.
|
|
585
|
-
*
|
|
586
|
-
* @param {string} topicId
|
|
587
|
-
* @param {string} name
|
|
588
|
-
* @param {string[]} subscribe
|
|
589
|
-
* @throws {AppcondaException}
|
|
590
|
-
* @returns {Promise<Models.Topic>}
|
|
591
|
-
*/
|
|
592
|
-
createTopic(topicId: string, name: string, subscribe?: string[]): Promise<Models.Topic>;
|
|
593
|
-
/**
|
|
594
|
-
* Get topic
|
|
595
|
-
*
|
|
596
|
-
* Get a topic by its unique ID.
|
|
597
|
-
|
|
598
|
-
*
|
|
599
|
-
* @param {string} topicId
|
|
600
|
-
* @throws {AppcondaException}
|
|
601
|
-
* @returns {Promise<Models.Topic>}
|
|
602
|
-
*/
|
|
603
|
-
getTopic(topicId: string): Promise<Models.Topic>;
|
|
604
|
-
/**
|
|
605
|
-
* Update topic
|
|
606
|
-
*
|
|
607
|
-
* Update a topic by its unique ID.
|
|
608
|
-
|
|
609
|
-
*
|
|
610
|
-
* @param {string} topicId
|
|
611
|
-
* @param {string} name
|
|
612
|
-
* @param {string[]} subscribe
|
|
613
|
-
* @throws {AppcondaException}
|
|
614
|
-
* @returns {Promise<Models.Topic>}
|
|
615
|
-
*/
|
|
616
|
-
updateTopic(topicId: string, name?: string, subscribe?: string[]): Promise<Models.Topic>;
|
|
617
|
-
/**
|
|
618
|
-
* Delete topic
|
|
619
|
-
*
|
|
620
|
-
* Delete a topic by its unique ID.
|
|
621
|
-
*
|
|
622
|
-
* @param {string} topicId
|
|
623
|
-
* @throws {AppcondaException}
|
|
624
|
-
* @returns {Promise<{}>}
|
|
625
|
-
*/
|
|
626
|
-
deleteTopic(topicId: string): Promise<{}>;
|
|
627
|
-
/**
|
|
628
|
-
* List topic logs
|
|
629
|
-
*
|
|
630
|
-
* Get the topic activity logs listed by its unique ID.
|
|
631
|
-
*
|
|
632
|
-
* @param {string} topicId
|
|
633
|
-
* @param {string[]} queries
|
|
634
|
-
* @throws {AppcondaException}
|
|
635
|
-
* @returns {Promise<Models.LogList>}
|
|
636
|
-
*/
|
|
637
|
-
listTopicLogs(topicId: string, queries?: string[]): Promise<Models.LogList>;
|
|
638
|
-
/**
|
|
639
|
-
* List subscribers
|
|
640
|
-
*
|
|
641
|
-
* Get a list of all subscribers from the current Appconda project.
|
|
642
|
-
*
|
|
643
|
-
* @param {string} topicId
|
|
644
|
-
* @param {string[]} queries
|
|
645
|
-
* @param {string} search
|
|
646
|
-
* @throws {AppcondaException}
|
|
647
|
-
* @returns {Promise<Models.SubscriberList>}
|
|
648
|
-
*/
|
|
649
|
-
listSubscribers(topicId: string, queries?: string[], search?: string): Promise<Models.SubscriberList>;
|
|
650
|
-
/**
|
|
651
|
-
* Create subscriber
|
|
652
|
-
*
|
|
653
|
-
* Create a new subscriber.
|
|
654
|
-
*
|
|
655
|
-
* @param {string} topicId
|
|
656
|
-
* @param {string} subscriberId
|
|
657
|
-
* @param {string} targetId
|
|
658
|
-
* @throws {AppcondaException}
|
|
659
|
-
* @returns {Promise<Models.Subscriber>}
|
|
660
|
-
*/
|
|
661
|
-
createSubscriber(topicId: string, subscriberId: string, targetId: string): Promise<Models.Subscriber>;
|
|
662
|
-
/**
|
|
663
|
-
* Get subscriber
|
|
664
|
-
*
|
|
665
|
-
* Get a subscriber by its unique ID.
|
|
666
|
-
|
|
667
|
-
*
|
|
668
|
-
* @param {string} topicId
|
|
669
|
-
* @param {string} subscriberId
|
|
670
|
-
* @throws {AppcondaException}
|
|
671
|
-
* @returns {Promise<Models.Subscriber>}
|
|
672
|
-
*/
|
|
673
|
-
getSubscriber(topicId: string, subscriberId: string): Promise<Models.Subscriber>;
|
|
674
|
-
/**
|
|
675
|
-
* Delete subscriber
|
|
676
|
-
*
|
|
677
|
-
* Delete a subscriber by its unique ID.
|
|
678
|
-
*
|
|
679
|
-
* @param {string} topicId
|
|
680
|
-
* @param {string} subscriberId
|
|
681
|
-
* @throws {AppcondaException}
|
|
682
|
-
* @returns {Promise<{}>}
|
|
683
|
-
*/
|
|
684
|
-
deleteSubscriber(topicId: string, subscriberId: string): Promise<{}>;
|
|
685
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Client, Models } from "../client";
|
|
2
|
-
export declare class Permissions {
|
|
3
|
-
client: Client;
|
|
4
|
-
constructor(client: Client);
|
|
5
|
-
get(permissionId: string): Promise<Models.Permission>;
|
|
6
|
-
/**
|
|
7
|
-
* Create account
|
|
8
|
-
*
|
|
9
|
-
* Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [/account/verfication](https://appconda.io/docs/references/cloud/client-web/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https://appconda.io/docs/references/cloud/client-web/account#createEmailSession).
|
|
10
|
-
*
|
|
11
|
-
* @param {string} tenantId
|
|
12
|
-
* @param {string} name
|
|
13
|
-
* @param {string} slug
|
|
14
|
-
* @throws {AppcondaException}
|
|
15
|
-
* @returns {Promise<Models.User<Preferences>>}
|
|
16
|
-
*/
|
|
17
|
-
create({ $id, name, description, type }: Models.Permission): Promise<Models.Permission>;
|
|
18
|
-
list(queries?: string[], search?: string): Promise<Models.PermissionList>;
|
|
19
|
-
listPermissionInRoles(permissionId: string): Promise<Models.PermissionInRoleList>;
|
|
20
|
-
}
|