@norbix.ai/ts 1.0.1
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 +21 -0
- package/README.md +628 -0
- package/dist/api/index.cjs +1104 -0
- package/dist/api/index.cjs.map +1 -0
- package/dist/api/index.d.cts +3 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +1102 -0
- package/dist/api/index.js.map +1 -0
- package/dist/hub/index.cjs +5854 -0
- package/dist/hub/index.cjs.map +1 -0
- package/dist/hub/index.d.cts +2174 -0
- package/dist/hub/index.d.ts +2174 -0
- package/dist/hub/index.js +5852 -0
- package/dist/hub/index.js.map +1 -0
- package/dist/index-BARFtiR-.d.cts +459 -0
- package/dist/index-t6pXnReB.d.ts +459 -0
- package/dist/index.cjs +7628 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +225 -0
- package/dist/index.d.ts +225 -0
- package/dist/index.js +7619 -0
- package/dist/index.js.map +1 -0
- package/dist/transport-c4_dsqN0.d.cts +269 -0
- package/dist/transport-c4_dsqN0.d.ts +269 -0
- package/dist/types/api2.dtos.cjs +3802 -0
- package/dist/types/api2.dtos.cjs.map +1 -0
- package/dist/types/api2.dtos.d.cts +2055 -0
- package/dist/types/api2.dtos.d.ts +2055 -0
- package/dist/types/api2.dtos.js +3802 -0
- package/dist/types/api2.dtos.js.map +1 -0
- package/dist/types/hub2.dtos.cjs +19537 -0
- package/dist/types/hub2.dtos.cjs.map +1 -0
- package/dist/types/hub2.dtos.d.cts +10399 -0
- package/dist/types/hub2.dtos.d.ts +10399 -0
- package/dist/types/hub2.dtos.js +19537 -0
- package/dist/types/hub2.dtos.js.map +1 -0
- package/package.json +112 -0
|
@@ -0,0 +1,2055 @@
|
|
|
1
|
+
declare namespace CodeMashApi2 {
|
|
2
|
+
interface IReturn<T> {
|
|
3
|
+
createResponse(): T;
|
|
4
|
+
}
|
|
5
|
+
interface IReturnVoid {
|
|
6
|
+
createResponse(): void;
|
|
7
|
+
}
|
|
8
|
+
interface IHasSessionId {
|
|
9
|
+
sessionId?: string;
|
|
10
|
+
}
|
|
11
|
+
interface IHasBearerToken {
|
|
12
|
+
bearerToken?: string;
|
|
13
|
+
}
|
|
14
|
+
interface IPost {
|
|
15
|
+
}
|
|
16
|
+
interface IGet {
|
|
17
|
+
}
|
|
18
|
+
type IReadOnlySet<T> = T[];
|
|
19
|
+
type IReadOnlyList<T> = T[];
|
|
20
|
+
type IList<T> = T[];
|
|
21
|
+
type IReadOnlyDictionary<TValue> = Record<string, TValue>;
|
|
22
|
+
type Dictionary<TValue> = Record<string, TValue>;
|
|
23
|
+
type HashSet<T> = T[];
|
|
24
|
+
type Blob = globalThis.Blob;
|
|
25
|
+
class RequestBase implements ICultureBasedRequest, IVersionBasedRequest, IHasCorrelationIdRequest {
|
|
26
|
+
/** @description Specify culture code when your response from the API should be localised. E.g.: en */
|
|
27
|
+
cultureCode?: string;
|
|
28
|
+
/** @description TimeZone */
|
|
29
|
+
timeZoneId?: string;
|
|
30
|
+
/** @description The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3 */
|
|
31
|
+
version: string;
|
|
32
|
+
/** @description CorrelationId for each request */
|
|
33
|
+
correlationId?: string;
|
|
34
|
+
constructor(init?: Partial<RequestBase>);
|
|
35
|
+
}
|
|
36
|
+
interface ICultureBasedRequest {
|
|
37
|
+
cultureCode?: string;
|
|
38
|
+
}
|
|
39
|
+
interface IVersionBasedRequest {
|
|
40
|
+
version: string;
|
|
41
|
+
}
|
|
42
|
+
interface IHasCorrelationIdRequest {
|
|
43
|
+
correlationId?: string;
|
|
44
|
+
}
|
|
45
|
+
class EmailAddress {
|
|
46
|
+
address: string;
|
|
47
|
+
constructor(init?: Partial<EmailAddress>);
|
|
48
|
+
}
|
|
49
|
+
class DisplayName {
|
|
50
|
+
value: string;
|
|
51
|
+
constructor(init?: Partial<DisplayName>);
|
|
52
|
+
}
|
|
53
|
+
class AggregateId {
|
|
54
|
+
value: string;
|
|
55
|
+
get viewId(): string;
|
|
56
|
+
viewId?: string;
|
|
57
|
+
constructor(init?: Partial<AggregateId>);
|
|
58
|
+
}
|
|
59
|
+
class AccountId extends AggregateId implements IHasDomainEntityId {
|
|
60
|
+
constructor(init?: Partial<AccountId>);
|
|
61
|
+
}
|
|
62
|
+
class UtcDateTime {
|
|
63
|
+
constructor(init?: Partial<UtcDateTime>);
|
|
64
|
+
}
|
|
65
|
+
enum TimeUnit {
|
|
66
|
+
Ticks = "Ticks",
|
|
67
|
+
Milliseconds = "Milliseconds",
|
|
68
|
+
Seconds = "Seconds",
|
|
69
|
+
Minutes = "Minutes",
|
|
70
|
+
Hours = "Hours"
|
|
71
|
+
}
|
|
72
|
+
class ExpirationToken {
|
|
73
|
+
items: number;
|
|
74
|
+
unit: TimeUnit;
|
|
75
|
+
value: number;
|
|
76
|
+
constructor(init?: Partial<ExpirationToken>);
|
|
77
|
+
}
|
|
78
|
+
class CodeMashSubscriptionId extends AggregateId {
|
|
79
|
+
constructor(init?: Partial<CodeMashSubscriptionId>);
|
|
80
|
+
}
|
|
81
|
+
class ProjectId extends AggregateId implements IHasDomainEntityId {
|
|
82
|
+
constructor(init?: Partial<ProjectId>);
|
|
83
|
+
}
|
|
84
|
+
class IntegrationId extends AggregateId implements IHasDomainEntityId {
|
|
85
|
+
constructor(init?: Partial<IntegrationId>);
|
|
86
|
+
}
|
|
87
|
+
enum ResourceRefKind {
|
|
88
|
+
Contact = "Contact",
|
|
89
|
+
Document = "Document",
|
|
90
|
+
File = "File",
|
|
91
|
+
PaymentCustomer = "PaymentCustomer",
|
|
92
|
+
Order = "Order",
|
|
93
|
+
Payment = "Payment",
|
|
94
|
+
Product = "Product",
|
|
95
|
+
Integration = "Integration"
|
|
96
|
+
}
|
|
97
|
+
class ResourceRef {
|
|
98
|
+
projectId: ProjectId;
|
|
99
|
+
integrationId?: IntegrationId;
|
|
100
|
+
kind: ResourceRefKind;
|
|
101
|
+
constructor(init?: Partial<ResourceRef>);
|
|
102
|
+
}
|
|
103
|
+
enum ResourceSource {
|
|
104
|
+
Norbix = "Norbix",
|
|
105
|
+
Stripe = "Stripe",
|
|
106
|
+
Shopify = "Shopify"
|
|
107
|
+
}
|
|
108
|
+
class PaymentCustomerRef extends ResourceRef {
|
|
109
|
+
kind: ResourceRefKind;
|
|
110
|
+
source: ResourceSource;
|
|
111
|
+
externalId: string;
|
|
112
|
+
constructor(init?: Partial<PaymentCustomerRef>);
|
|
113
|
+
}
|
|
114
|
+
class Quantity {
|
|
115
|
+
value: number;
|
|
116
|
+
constructor(init?: Partial<Quantity>);
|
|
117
|
+
}
|
|
118
|
+
class CodeMashManagedServiceSubscription {
|
|
119
|
+
subscriptionId: CodeMashSubscriptionId;
|
|
120
|
+
paymentCustomerRef: PaymentCustomerRef;
|
|
121
|
+
refSubscriptionId: string;
|
|
122
|
+
issuedOn: UtcDateTime;
|
|
123
|
+
willExpireOn: UtcDateTime;
|
|
124
|
+
projectCap: Quantity;
|
|
125
|
+
isTrial: boolean;
|
|
126
|
+
constructor(init?: Partial<CodeMashManagedServiceSubscription>);
|
|
127
|
+
}
|
|
128
|
+
class DomainUrl {
|
|
129
|
+
value: string;
|
|
130
|
+
constructor(init?: Partial<DomainUrl>);
|
|
131
|
+
}
|
|
132
|
+
class CodeMashLicense extends CodeMashManagedServiceSubscription {
|
|
133
|
+
domain: DomainUrl;
|
|
134
|
+
accountId: AccountId;
|
|
135
|
+
isEnterprise: boolean;
|
|
136
|
+
constructor(init?: Partial<CodeMashLicense>);
|
|
137
|
+
}
|
|
138
|
+
class Tag {
|
|
139
|
+
constructor(init?: Partial<Tag>);
|
|
140
|
+
}
|
|
141
|
+
class TagDescription {
|
|
142
|
+
displayName: DisplayName;
|
|
143
|
+
description?: string;
|
|
144
|
+
constructor(init?: Partial<TagDescription>);
|
|
145
|
+
}
|
|
146
|
+
class MessageTranslation<TContent> {
|
|
147
|
+
constructor(init?: Partial<MessageTranslation<TContent>>);
|
|
148
|
+
}
|
|
149
|
+
class TagTranslation extends MessageTranslation<TagDescription> {
|
|
150
|
+
constructor(init?: Partial<TagTranslation>);
|
|
151
|
+
}
|
|
152
|
+
class BaseTagDefinition {
|
|
153
|
+
tag: Tag;
|
|
154
|
+
translations: TagTranslation[];
|
|
155
|
+
constructor(init?: Partial<BaseTagDefinition>);
|
|
156
|
+
}
|
|
157
|
+
class GroupDefinition extends BaseTagDefinition {
|
|
158
|
+
constructor(init?: Partial<GroupDefinition>);
|
|
159
|
+
}
|
|
160
|
+
enum CommunicationChannel {
|
|
161
|
+
Transactional = "Transactional",
|
|
162
|
+
Marketing = "Marketing",
|
|
163
|
+
System = "System"
|
|
164
|
+
}
|
|
165
|
+
enum DeliveryChannel {
|
|
166
|
+
Email = "Email",
|
|
167
|
+
Push = "Push",
|
|
168
|
+
Sms = "Sms",
|
|
169
|
+
WebPush = "WebPush",
|
|
170
|
+
InApp = "InApp",
|
|
171
|
+
ChatBot = "ChatBot",
|
|
172
|
+
ChatPlatform = "ChatPlatform"
|
|
173
|
+
}
|
|
174
|
+
class TagDefinition extends BaseTagDefinition {
|
|
175
|
+
defaultDelivery: {
|
|
176
|
+
[index: string]: boolean;
|
|
177
|
+
};
|
|
178
|
+
constructor(init?: Partial<TagDefinition>);
|
|
179
|
+
}
|
|
180
|
+
class ProjectName {
|
|
181
|
+
name: string;
|
|
182
|
+
uniqueName: string;
|
|
183
|
+
constructor(init?: Partial<ProjectName>);
|
|
184
|
+
}
|
|
185
|
+
class NorbixRegion {
|
|
186
|
+
code: string;
|
|
187
|
+
constructor(init?: Partial<NorbixRegion>);
|
|
188
|
+
}
|
|
189
|
+
enum Continent {
|
|
190
|
+
Africa = "Africa",
|
|
191
|
+
Antarctica = "Antarctica",
|
|
192
|
+
Asia = "Asia",
|
|
193
|
+
Europe = "Europe",
|
|
194
|
+
NorthAmerica = "NorthAmerica",
|
|
195
|
+
Oceania = "Oceania",
|
|
196
|
+
SouthAmerica = "SouthAmerica"
|
|
197
|
+
}
|
|
198
|
+
class ProjectRegion {
|
|
199
|
+
region: NorbixRegion;
|
|
200
|
+
name?: string;
|
|
201
|
+
continent?: Continent;
|
|
202
|
+
constructor(init?: Partial<ProjectRegion>);
|
|
203
|
+
}
|
|
204
|
+
class Language {
|
|
205
|
+
code: string;
|
|
206
|
+
name: string;
|
|
207
|
+
constructor(init?: Partial<Language>);
|
|
208
|
+
}
|
|
209
|
+
class FileResourceId {
|
|
210
|
+
value: string;
|
|
211
|
+
constructor(init?: Partial<FileResourceId>);
|
|
212
|
+
}
|
|
213
|
+
class FileChecksum {
|
|
214
|
+
algorithm: string;
|
|
215
|
+
hash: string;
|
|
216
|
+
constructor(init?: Partial<FileChecksum>);
|
|
217
|
+
}
|
|
218
|
+
class FileResource {
|
|
219
|
+
id: FileResourceId;
|
|
220
|
+
originalFileName: string;
|
|
221
|
+
extension: string;
|
|
222
|
+
sizeBytes?: number;
|
|
223
|
+
checksum?: FileChecksum;
|
|
224
|
+
storedFileName: string;
|
|
225
|
+
constructor(init?: Partial<FileResource>);
|
|
226
|
+
}
|
|
227
|
+
enum FileProvider {
|
|
228
|
+
Local = "Local",
|
|
229
|
+
AwsS3 = "AwsS3",
|
|
230
|
+
AzureBlobStorage = "AzureBlobStorage",
|
|
231
|
+
GoogleCloudStorage = "GoogleCloudStorage",
|
|
232
|
+
Ftp = "Ftp",
|
|
233
|
+
AppleICloud = "AppleICloud",
|
|
234
|
+
DropBox = "DropBox",
|
|
235
|
+
GoogleDrive = "GoogleDrive"
|
|
236
|
+
}
|
|
237
|
+
class FileResourceRef {
|
|
238
|
+
resource: FileResource;
|
|
239
|
+
integrationId: IntegrationId;
|
|
240
|
+
provider: FileProvider;
|
|
241
|
+
path: string;
|
|
242
|
+
constructor(init?: Partial<FileResourceRef>);
|
|
243
|
+
}
|
|
244
|
+
class ProjectLogo {
|
|
245
|
+
fileResource: FileResourceRef;
|
|
246
|
+
publicUrl: string;
|
|
247
|
+
constructor(init?: Partial<ProjectLogo>);
|
|
248
|
+
}
|
|
249
|
+
class ProjectIcon {
|
|
250
|
+
fileResource: FileResourceRef;
|
|
251
|
+
publicUrl: string;
|
|
252
|
+
constructor(init?: Partial<ProjectIcon>);
|
|
253
|
+
}
|
|
254
|
+
class BrandColor {
|
|
255
|
+
value: string;
|
|
256
|
+
constructor(init?: Partial<BrandColor>);
|
|
257
|
+
}
|
|
258
|
+
class TimeZone {
|
|
259
|
+
zoneId: string;
|
|
260
|
+
constructor(init?: Partial<TimeZone>);
|
|
261
|
+
}
|
|
262
|
+
class GroupTags {
|
|
263
|
+
group: Tag;
|
|
264
|
+
tags: Tag[];
|
|
265
|
+
constructor(init?: Partial<GroupTags>);
|
|
266
|
+
}
|
|
267
|
+
class ProjectCommunicationChannel {
|
|
268
|
+
channel: CommunicationChannel;
|
|
269
|
+
groups: GroupTags[];
|
|
270
|
+
constructor(init?: Partial<ProjectCommunicationChannel>);
|
|
271
|
+
}
|
|
272
|
+
class ProjectCommunication {
|
|
273
|
+
channels: ProjectCommunicationChannel[];
|
|
274
|
+
groups: GroupDefinition[];
|
|
275
|
+
tags: TagDefinition[];
|
|
276
|
+
constructor(init?: Partial<ProjectCommunication>);
|
|
277
|
+
}
|
|
278
|
+
class UserId implements IHasDomainEntityId {
|
|
279
|
+
viewId?: string;
|
|
280
|
+
value: string;
|
|
281
|
+
constructor(init?: Partial<UserId>);
|
|
282
|
+
}
|
|
283
|
+
class DeviceId {
|
|
284
|
+
id: string;
|
|
285
|
+
constructor(init?: Partial<DeviceId>);
|
|
286
|
+
}
|
|
287
|
+
enum DeviceType {
|
|
288
|
+
Unknown = "Unknown",
|
|
289
|
+
Phone = "Phone",
|
|
290
|
+
Tablet = "Tablet",
|
|
291
|
+
Desktop = "Desktop",
|
|
292
|
+
Tv = "Tv"
|
|
293
|
+
}
|
|
294
|
+
class PushDeviceToken {
|
|
295
|
+
token: string;
|
|
296
|
+
constructor(init?: Partial<PushDeviceToken>);
|
|
297
|
+
}
|
|
298
|
+
enum PushDeviceDeliveryFamily {
|
|
299
|
+
Ios = "Ios",
|
|
300
|
+
Android = "Android",
|
|
301
|
+
Chrome = "Chrome",
|
|
302
|
+
Safari = "Safari",
|
|
303
|
+
Expo = "Expo"
|
|
304
|
+
}
|
|
305
|
+
class PushDeviceDeliveryToken {
|
|
306
|
+
pushDeviceToken: PushDeviceToken;
|
|
307
|
+
deliveryFamily: PushDeviceDeliveryFamily;
|
|
308
|
+
constructor(init?: Partial<PushDeviceDeliveryToken>);
|
|
309
|
+
}
|
|
310
|
+
class PushDevice {
|
|
311
|
+
id: DeviceId;
|
|
312
|
+
brand?: string;
|
|
313
|
+
manufacturer?: string;
|
|
314
|
+
modelName?: string;
|
|
315
|
+
deviceName?: string;
|
|
316
|
+
deviceType?: DeviceType;
|
|
317
|
+
osName?: string;
|
|
318
|
+
osVersion?: string;
|
|
319
|
+
platformApiLevel?: number;
|
|
320
|
+
token: PushDeviceDeliveryToken;
|
|
321
|
+
constructor(init?: Partial<PushDevice>);
|
|
322
|
+
}
|
|
323
|
+
class CodeMashRequestBase extends RequestBase implements IHasProjectId, IHasEnv {
|
|
324
|
+
/** @description ID of your project. Can be passed in a header as norbix-project-id. */
|
|
325
|
+
projectId: string;
|
|
326
|
+
/** @description Target environment for this request (e.g. TEST, STAGING). Optional — when omitted the request runs against PROD. Can be passed in a header as norbix-env. */
|
|
327
|
+
env?: string;
|
|
328
|
+
constructor(init?: Partial<CodeMashRequestBase>);
|
|
329
|
+
}
|
|
330
|
+
interface IHasProjectId {
|
|
331
|
+
projectId: string;
|
|
332
|
+
}
|
|
333
|
+
interface IHasEnv {
|
|
334
|
+
env?: string;
|
|
335
|
+
}
|
|
336
|
+
enum Gender {
|
|
337
|
+
Male = "Male",
|
|
338
|
+
Female = "Female",
|
|
339
|
+
Other = "Other"
|
|
340
|
+
}
|
|
341
|
+
enum MarketingBlockReason {
|
|
342
|
+
Unspecified = "Unspecified",
|
|
343
|
+
Unsubscribed = "Unsubscribed",
|
|
344
|
+
Complaint = "Complaint",
|
|
345
|
+
HardBounce = "HardBounce",
|
|
346
|
+
InvalidEmail = "InvalidEmail",
|
|
347
|
+
AdminBlock = "AdminBlock"
|
|
348
|
+
}
|
|
349
|
+
class UserGeneralInfoDto {
|
|
350
|
+
phone?: string;
|
|
351
|
+
primaryEmail?: string;
|
|
352
|
+
displayName?: string;
|
|
353
|
+
firstName?: string;
|
|
354
|
+
lastName?: string;
|
|
355
|
+
fullName?: string;
|
|
356
|
+
addressLine1?: string;
|
|
357
|
+
addressLine2?: string;
|
|
358
|
+
country?: string;
|
|
359
|
+
city?: string;
|
|
360
|
+
state?: string;
|
|
361
|
+
postalCode?: string;
|
|
362
|
+
company?: string;
|
|
363
|
+
gender?: Gender;
|
|
364
|
+
birthDate?: number;
|
|
365
|
+
timeZone?: string;
|
|
366
|
+
language?: string;
|
|
367
|
+
blockAllMarketingMessages: boolean;
|
|
368
|
+
blockedTags?: {
|
|
369
|
+
[index: string]: HashSet<string>;
|
|
370
|
+
};
|
|
371
|
+
blockReasons?: MarketingBlockReason[];
|
|
372
|
+
extraMetadata?: string;
|
|
373
|
+
notes?: string;
|
|
374
|
+
constructor(init?: Partial<UserGeneralInfoDto>);
|
|
375
|
+
}
|
|
376
|
+
class SaveUser extends CodeMashRequestBase {
|
|
377
|
+
/** @description Database integration id. Optional — defaults to the request environment's default integration. */
|
|
378
|
+
databaseIntegrationId?: string;
|
|
379
|
+
/** @description User Info */
|
|
380
|
+
userGeneralInfo?: UserGeneralInfoDto;
|
|
381
|
+
/** @description Ignore UserRegistersAsRole from Membership Settings */
|
|
382
|
+
ignoreUserRegistersAsRole: boolean;
|
|
383
|
+
constructor(init?: Partial<SaveUser>);
|
|
384
|
+
}
|
|
385
|
+
class SaveUserWithRolesBase extends SaveUser {
|
|
386
|
+
roles: string[];
|
|
387
|
+
constructor(init?: Partial<SaveUserWithRolesBase>);
|
|
388
|
+
}
|
|
389
|
+
class Env {
|
|
390
|
+
value: string;
|
|
391
|
+
isProd: boolean;
|
|
392
|
+
constructor(init?: Partial<Env>);
|
|
393
|
+
}
|
|
394
|
+
class CursorArgs implements ICursorArgs {
|
|
395
|
+
field: string;
|
|
396
|
+
order: number;
|
|
397
|
+
constructor(init?: Partial<CursorArgs>);
|
|
398
|
+
}
|
|
399
|
+
class PagingArgs {
|
|
400
|
+
cursorArgs?: CursorArgs;
|
|
401
|
+
pageSize?: number;
|
|
402
|
+
startingAfter?: string;
|
|
403
|
+
endingBefore?: string;
|
|
404
|
+
constructor(init?: Partial<PagingArgs>);
|
|
405
|
+
}
|
|
406
|
+
class CodeMashListPaginationRequestBase extends RequestBase implements IHasProjectId, IHasEnv {
|
|
407
|
+
/** @description ID of your project. Can be passed in a header as norbix-project-id. */
|
|
408
|
+
projectId: string;
|
|
409
|
+
/** @description Target environment for this request (e.g. TEST, STAGING). Optional — when omitted the request runs against PROD. Can be passed in a header as norbix-env. */
|
|
410
|
+
env?: string;
|
|
411
|
+
resolvedEnv: Env;
|
|
412
|
+
/** @description Cursor token — fetch the page AFTER this item. */
|
|
413
|
+
startingAfter?: string;
|
|
414
|
+
/** @description Cursor token — fetch the page BEFORE this item. */
|
|
415
|
+
endingBefore?: string;
|
|
416
|
+
/** @description Amount of records to return. */
|
|
417
|
+
pageSize?: number;
|
|
418
|
+
/** @description Paging */
|
|
419
|
+
paging?: PagingArgs;
|
|
420
|
+
constructor(init?: Partial<CodeMashListPaginationRequestBase>);
|
|
421
|
+
}
|
|
422
|
+
interface IPasskeyCeremonyRequest {
|
|
423
|
+
}
|
|
424
|
+
class Integration implements IIntegrationIdentification, IHasDomainEntityId {
|
|
425
|
+
viewId?: string;
|
|
426
|
+
integrationId: IntegrationId;
|
|
427
|
+
env: Env;
|
|
428
|
+
capability: string;
|
|
429
|
+
isSystemOwned: boolean;
|
|
430
|
+
integrationName: DisplayName;
|
|
431
|
+
isEnabled: boolean;
|
|
432
|
+
isConfigured: boolean;
|
|
433
|
+
lastIntegrationTestAtUtc?: string;
|
|
434
|
+
lastIntegrationTestSucceeded?: boolean;
|
|
435
|
+
lastIntegrationTestErrorMessages: IReadOnlyList<string>;
|
|
436
|
+
humanDeliveryConfirmedAtUtc?: string;
|
|
437
|
+
isApprovedThatItWorks: boolean;
|
|
438
|
+
constructor(init?: Partial<Integration>);
|
|
439
|
+
}
|
|
440
|
+
enum PushProvider {
|
|
441
|
+
AppleApns = "AppleApns",
|
|
442
|
+
SafariWeb = "SafariWeb",
|
|
443
|
+
SafariPush = "SafariPush",
|
|
444
|
+
AndroidFirebase = "AndroidFirebase",
|
|
445
|
+
ChromeWeb = "ChromeWeb",
|
|
446
|
+
FirefoxWeb = "FirefoxWeb",
|
|
447
|
+
EdgeWeb = "EdgeWeb",
|
|
448
|
+
ChromePush = "ChromePush",
|
|
449
|
+
CodeMashIosApp = "CodeMashIosApp",
|
|
450
|
+
CodeMashAndroidApp = "CodeMashAndroidApp",
|
|
451
|
+
CodeMashSafariPlugin = "CodeMashSafariPlugin",
|
|
452
|
+
CodeMashSafariWeb = "CodeMashSafariWeb",
|
|
453
|
+
CodeMashChromePlugin = "CodeMashChromePlugin",
|
|
454
|
+
CodeMashChromeWeb = "CodeMashChromeWeb",
|
|
455
|
+
Expo = "Expo",
|
|
456
|
+
Fake = "Fake"
|
|
457
|
+
}
|
|
458
|
+
class PushIntegration extends Integration {
|
|
459
|
+
provider: PushProvider;
|
|
460
|
+
constructor(init?: Partial<PushIntegration>);
|
|
461
|
+
}
|
|
462
|
+
class TemplateId {
|
|
463
|
+
value: string;
|
|
464
|
+
constructor(init?: Partial<TemplateId>);
|
|
465
|
+
}
|
|
466
|
+
class Template<TMessageContent> implements IBindableContract {
|
|
467
|
+
templateId: TemplateId;
|
|
468
|
+
templateName: DisplayName;
|
|
469
|
+
translations: MessageTranslation<TMessageContent>[];
|
|
470
|
+
communicationChannel: CommunicationChannel;
|
|
471
|
+
isActive: boolean;
|
|
472
|
+
description?: string;
|
|
473
|
+
tags?: Tag[];
|
|
474
|
+
fileIntegrationId?: IntegrationId;
|
|
475
|
+
env: Env;
|
|
476
|
+
constructor(init?: Partial<Template<TMessageContent>>);
|
|
477
|
+
}
|
|
478
|
+
class TemplateCode {
|
|
479
|
+
constructor(init?: Partial<TemplateCode>);
|
|
480
|
+
}
|
|
481
|
+
class PushTitle {
|
|
482
|
+
value: TemplateCode;
|
|
483
|
+
constructor(init?: Partial<PushTitle>);
|
|
484
|
+
}
|
|
485
|
+
class PushBody {
|
|
486
|
+
value: TemplateCode;
|
|
487
|
+
constructor(init?: Partial<PushBody>);
|
|
488
|
+
}
|
|
489
|
+
class PushMessageContent {
|
|
490
|
+
title: PushTitle;
|
|
491
|
+
subTitle?: PushTitle;
|
|
492
|
+
body: PushBody;
|
|
493
|
+
constructor(init?: Partial<PushMessageContent>);
|
|
494
|
+
}
|
|
495
|
+
class PushTemplate extends Template<PushMessageContent> {
|
|
496
|
+
constructor(init?: Partial<PushTemplate>);
|
|
497
|
+
}
|
|
498
|
+
enum CodeMashRelease {
|
|
499
|
+
NotSet = "NotSet",
|
|
500
|
+
Community = "Community",
|
|
501
|
+
ManagedService = "ManagedService",
|
|
502
|
+
Enterprise = "Enterprise"
|
|
503
|
+
}
|
|
504
|
+
enum CodeMashRuntime {
|
|
505
|
+
Development = "Development",
|
|
506
|
+
CI = "CI",
|
|
507
|
+
Production = "Production"
|
|
508
|
+
}
|
|
509
|
+
class CodeMashLicenseFromEndpointDto {
|
|
510
|
+
domain: string;
|
|
511
|
+
accountId: string;
|
|
512
|
+
refCustomerId: string;
|
|
513
|
+
refSubscriptionId: string;
|
|
514
|
+
issued: number;
|
|
515
|
+
expire: number;
|
|
516
|
+
cap: number;
|
|
517
|
+
isTrial: boolean;
|
|
518
|
+
release: string;
|
|
519
|
+
constructor(init?: Partial<CodeMashLicenseFromEndpointDto>);
|
|
520
|
+
}
|
|
521
|
+
class EchoRegionDto {
|
|
522
|
+
code: string;
|
|
523
|
+
displayName: string;
|
|
524
|
+
apiUrl: string;
|
|
525
|
+
hubUrl: string;
|
|
526
|
+
constructor(init?: Partial<EchoRegionDto>);
|
|
527
|
+
}
|
|
528
|
+
class ErrorDto {
|
|
529
|
+
message: string;
|
|
530
|
+
errorCode?: string;
|
|
531
|
+
context?: {
|
|
532
|
+
[index: string]: string;
|
|
533
|
+
};
|
|
534
|
+
stackTrace?: ErrorDto[];
|
|
535
|
+
constructor(init?: Partial<ErrorDto>);
|
|
536
|
+
}
|
|
537
|
+
class CodeMashResponseStatus {
|
|
538
|
+
isSuccess: boolean;
|
|
539
|
+
errors?: ErrorDto[];
|
|
540
|
+
constructor(init?: Partial<CodeMashResponseStatus>);
|
|
541
|
+
}
|
|
542
|
+
class ResponseBase {
|
|
543
|
+
responseStatus: CodeMashResponseStatus;
|
|
544
|
+
constructor(init?: Partial<ResponseBase>);
|
|
545
|
+
}
|
|
546
|
+
enum UserType {
|
|
547
|
+
Service = "Service",
|
|
548
|
+
Email = "Email",
|
|
549
|
+
UserName = "UserName",
|
|
550
|
+
Phone = "Phone",
|
|
551
|
+
Guest = "Guest",
|
|
552
|
+
Social = "Social"
|
|
553
|
+
}
|
|
554
|
+
class AccessInformationDto {
|
|
555
|
+
ip?: string;
|
|
556
|
+
date?: string;
|
|
557
|
+
timeZone?: string;
|
|
558
|
+
constructor(init?: Partial<AccessInformationDto>);
|
|
559
|
+
}
|
|
560
|
+
class RegistrationDto {
|
|
561
|
+
registrationInformation: AccessInformationDto;
|
|
562
|
+
constructor(init?: Partial<RegistrationDto>);
|
|
563
|
+
}
|
|
564
|
+
class LoginDto {
|
|
565
|
+
needChangePasswordOnNextLogin: boolean;
|
|
566
|
+
lastAccessInformation?: AccessInformationDto;
|
|
567
|
+
constructor(init?: Partial<LoginDto>);
|
|
568
|
+
}
|
|
569
|
+
enum UserStatus {
|
|
570
|
+
Registered = 0,
|
|
571
|
+
PendingValidation = 2,
|
|
572
|
+
Active = 8,
|
|
573
|
+
Unregistered = 16,
|
|
574
|
+
Suspended = 32,
|
|
575
|
+
InActive = 64,
|
|
576
|
+
Blocked = 128
|
|
577
|
+
}
|
|
578
|
+
class UserDto implements IBindableContract {
|
|
579
|
+
id: string;
|
|
580
|
+
type: UserType;
|
|
581
|
+
email?: string;
|
|
582
|
+
userName?: string;
|
|
583
|
+
registration?: RegistrationDto;
|
|
584
|
+
login?: LoginDto;
|
|
585
|
+
generalInfo?: UserGeneralInfoDto;
|
|
586
|
+
roles?: string[];
|
|
587
|
+
pushDevices?: string[];
|
|
588
|
+
tags?: string[];
|
|
589
|
+
status: UserStatus;
|
|
590
|
+
createdOn: string;
|
|
591
|
+
modifiedOn: string;
|
|
592
|
+
constructor(init?: Partial<UserDto>);
|
|
593
|
+
}
|
|
594
|
+
class PaginatedResponse<TViewModelProjection> {
|
|
595
|
+
items: IList<TViewModelProjection>;
|
|
596
|
+
hasMore: boolean;
|
|
597
|
+
hasPrevious: boolean;
|
|
598
|
+
startingAfter?: string;
|
|
599
|
+
endingBefore?: string;
|
|
600
|
+
constructor(init?: Partial<PaginatedResponse<TViewModelProjection>>);
|
|
601
|
+
}
|
|
602
|
+
class UserMarketingPreferencesDto {
|
|
603
|
+
blockAllMarketingMessages: boolean;
|
|
604
|
+
blockedTags?: {
|
|
605
|
+
[index: string]: HashSet<string>;
|
|
606
|
+
};
|
|
607
|
+
blockReasons?: MarketingBlockReason[];
|
|
608
|
+
constructor(init?: Partial<UserMarketingPreferencesDto>);
|
|
609
|
+
}
|
|
610
|
+
class PasskeyListItemDto {
|
|
611
|
+
credentialId: string;
|
|
612
|
+
friendlyName: string;
|
|
613
|
+
registeredOnUtc: string;
|
|
614
|
+
lastUsedOnUtc: string;
|
|
615
|
+
isRevoked: boolean;
|
|
616
|
+
constructor(init?: Partial<PasskeyListItemDto>);
|
|
617
|
+
}
|
|
618
|
+
class TermMultiParentDto {
|
|
619
|
+
taxonomyId: string;
|
|
620
|
+
parentId: string;
|
|
621
|
+
name?: string;
|
|
622
|
+
names?: {
|
|
623
|
+
[index: string]: string;
|
|
624
|
+
};
|
|
625
|
+
constructor(init?: Partial<TermMultiParentDto>);
|
|
626
|
+
}
|
|
627
|
+
class TermDto {
|
|
628
|
+
id: string;
|
|
629
|
+
taxonomyId?: string;
|
|
630
|
+
taxonomyName?: string;
|
|
631
|
+
parentId?: string;
|
|
632
|
+
order?: number;
|
|
633
|
+
name?: string;
|
|
634
|
+
names?: {
|
|
635
|
+
[index: string]: string;
|
|
636
|
+
};
|
|
637
|
+
description?: string;
|
|
638
|
+
descriptions?: {
|
|
639
|
+
[index: string]: string;
|
|
640
|
+
};
|
|
641
|
+
multiParents?: TermMultiParentDto[];
|
|
642
|
+
meta?: Object;
|
|
643
|
+
constructor(init?: Partial<TermDto>);
|
|
644
|
+
}
|
|
645
|
+
class JsonSchemaFieldDto {
|
|
646
|
+
fieldName: string;
|
|
647
|
+
constructor(init?: Partial<JsonSchemaFieldDto>);
|
|
648
|
+
}
|
|
649
|
+
class DataSchemaDto {
|
|
650
|
+
json: string;
|
|
651
|
+
fields: JsonSchemaFieldDto[];
|
|
652
|
+
constructor(init?: Partial<DataSchemaDto>);
|
|
653
|
+
}
|
|
654
|
+
class VisualSchemaDto {
|
|
655
|
+
json: string;
|
|
656
|
+
constructor(init?: Partial<VisualSchemaDto>);
|
|
657
|
+
}
|
|
658
|
+
class SchemaSettingsDto {
|
|
659
|
+
softDelete: boolean;
|
|
660
|
+
hasRecordOwner: boolean;
|
|
661
|
+
constructor(init?: Partial<SchemaSettingsDto>);
|
|
662
|
+
}
|
|
663
|
+
enum TriggerType {
|
|
664
|
+
Membership = "Membership",
|
|
665
|
+
Schema = "Schema",
|
|
666
|
+
Files = "Files",
|
|
667
|
+
Payments = "Payments"
|
|
668
|
+
}
|
|
669
|
+
enum TriggerActionType {
|
|
670
|
+
Code = "Code",
|
|
671
|
+
Push = "Push",
|
|
672
|
+
Sms = "Sms",
|
|
673
|
+
Email = "Email",
|
|
674
|
+
WebhookCall = "WebhookCall"
|
|
675
|
+
}
|
|
676
|
+
class TriggerActionDto {
|
|
677
|
+
type: TriggerActionType;
|
|
678
|
+
integrationId?: string;
|
|
679
|
+
constructor(init?: Partial<TriggerActionDto>);
|
|
680
|
+
}
|
|
681
|
+
class TriggerDto implements IHasViewId {
|
|
682
|
+
type: TriggerType;
|
|
683
|
+
viewId: string;
|
|
684
|
+
name: string;
|
|
685
|
+
thenAction: TriggerActionDto;
|
|
686
|
+
description?: string;
|
|
687
|
+
isEnabled: boolean;
|
|
688
|
+
activationCode?: string;
|
|
689
|
+
constructor(init?: Partial<TriggerDto>);
|
|
690
|
+
}
|
|
691
|
+
class SchemaDto implements IHasViewId {
|
|
692
|
+
viewId: string;
|
|
693
|
+
schemaName: string;
|
|
694
|
+
schemaSlug?: string;
|
|
695
|
+
version: number;
|
|
696
|
+
metaSchemaVersion: number;
|
|
697
|
+
dataSchema: DataSchemaDto;
|
|
698
|
+
visualSchema: VisualSchemaDto;
|
|
699
|
+
publishedAt: string;
|
|
700
|
+
settings?: SchemaSettingsDto;
|
|
701
|
+
triggers?: TriggerDto[];
|
|
702
|
+
constructor(init?: Partial<SchemaDto>);
|
|
703
|
+
}
|
|
704
|
+
class SchemaListProjection implements IHasViewId {
|
|
705
|
+
viewId: string;
|
|
706
|
+
schemaName: string;
|
|
707
|
+
schemaTitle: string;
|
|
708
|
+
latestVersion?: number;
|
|
709
|
+
hasDraft: boolean;
|
|
710
|
+
metaSchemaVersion: number;
|
|
711
|
+
constructor(init?: Partial<SchemaListProjection>);
|
|
712
|
+
}
|
|
713
|
+
class FileChecksumDto {
|
|
714
|
+
algorithm: string;
|
|
715
|
+
hash: string;
|
|
716
|
+
constructor(init?: Partial<FileChecksumDto>);
|
|
717
|
+
}
|
|
718
|
+
class FileResourceDto {
|
|
719
|
+
id: string;
|
|
720
|
+
originalFileName: string;
|
|
721
|
+
extension: string;
|
|
722
|
+
storedFileName: string;
|
|
723
|
+
sizeBytes?: number;
|
|
724
|
+
checksum?: FileChecksumDto;
|
|
725
|
+
constructor(init?: Partial<FileResourceDto>);
|
|
726
|
+
}
|
|
727
|
+
class FileResourceRefDto {
|
|
728
|
+
resource: FileResourceDto;
|
|
729
|
+
integrationId: string;
|
|
730
|
+
provider: FileProvider;
|
|
731
|
+
path: string;
|
|
732
|
+
constructor(init?: Partial<FileResourceRefDto>);
|
|
733
|
+
}
|
|
734
|
+
class ResponseError {
|
|
735
|
+
errorCode: string;
|
|
736
|
+
fieldName: string;
|
|
737
|
+
message: string;
|
|
738
|
+
meta?: {
|
|
739
|
+
[index: string]: string;
|
|
740
|
+
};
|
|
741
|
+
constructor(init?: Partial<ResponseError>);
|
|
742
|
+
}
|
|
743
|
+
class ResponseStatus {
|
|
744
|
+
errorCode: string;
|
|
745
|
+
message?: string;
|
|
746
|
+
stackTrace?: string;
|
|
747
|
+
errors?: ResponseError[];
|
|
748
|
+
meta?: {
|
|
749
|
+
[index: string]: string;
|
|
750
|
+
};
|
|
751
|
+
constructor(init?: Partial<ResponseStatus>);
|
|
752
|
+
}
|
|
753
|
+
class UserApiKey {
|
|
754
|
+
key?: string;
|
|
755
|
+
keyType?: string;
|
|
756
|
+
expiryDate?: string;
|
|
757
|
+
meta?: {
|
|
758
|
+
[index: string]: string;
|
|
759
|
+
};
|
|
760
|
+
constructor(init?: Partial<UserApiKey>);
|
|
761
|
+
}
|
|
762
|
+
interface IHasDomainEntityId {
|
|
763
|
+
viewId?: string;
|
|
764
|
+
}
|
|
765
|
+
interface IIntegrationIdentification {
|
|
766
|
+
integrationId: IntegrationId;
|
|
767
|
+
capability: string;
|
|
768
|
+
isSystemOwned: boolean;
|
|
769
|
+
}
|
|
770
|
+
interface IBindableContract {
|
|
771
|
+
}
|
|
772
|
+
interface IHasViewId {
|
|
773
|
+
viewId: string;
|
|
774
|
+
}
|
|
775
|
+
interface ICursorArgs {
|
|
776
|
+
field: string;
|
|
777
|
+
order: number;
|
|
778
|
+
}
|
|
779
|
+
class StringFieldDto extends JsonSchemaFieldDto {
|
|
780
|
+
format?: string;
|
|
781
|
+
pattern?: string;
|
|
782
|
+
minLength?: number;
|
|
783
|
+
maxLength?: number;
|
|
784
|
+
translateOptions?: IReadOnlyDictionary<string>;
|
|
785
|
+
constructor(init?: Partial<StringFieldDto>);
|
|
786
|
+
}
|
|
787
|
+
class DecimalFieldDto extends JsonSchemaFieldDto {
|
|
788
|
+
minimum?: number;
|
|
789
|
+
maximum?: number;
|
|
790
|
+
multipleOf?: number;
|
|
791
|
+
constructor(init?: Partial<DecimalFieldDto>);
|
|
792
|
+
}
|
|
793
|
+
class CurrencyFieldDto extends JsonSchemaFieldDto {
|
|
794
|
+
allowedCurrencies?: IReadOnlyList<string>;
|
|
795
|
+
constructor(init?: Partial<CurrencyFieldDto>);
|
|
796
|
+
}
|
|
797
|
+
class BooleanFieldDto extends JsonSchemaFieldDto {
|
|
798
|
+
constructor(init?: Partial<BooleanFieldDto>);
|
|
799
|
+
}
|
|
800
|
+
class DateFieldDto extends JsonSchemaFieldDto {
|
|
801
|
+
minimum?: number;
|
|
802
|
+
maximum?: number;
|
|
803
|
+
constructor(init?: Partial<DateFieldDto>);
|
|
804
|
+
}
|
|
805
|
+
class IntegerFieldDto extends JsonSchemaFieldDto {
|
|
806
|
+
minimum?: number;
|
|
807
|
+
maximum?: number;
|
|
808
|
+
constructor(init?: Partial<IntegerFieldDto>);
|
|
809
|
+
}
|
|
810
|
+
class GeolocationFieldDto extends JsonSchemaFieldDto {
|
|
811
|
+
allowedTypes?: IReadOnlyList<string>;
|
|
812
|
+
constructor(init?: Partial<GeolocationFieldDto>);
|
|
813
|
+
}
|
|
814
|
+
class TagsFieldDto extends JsonSchemaFieldDto {
|
|
815
|
+
constructor(init?: Partial<TagsFieldDto>);
|
|
816
|
+
}
|
|
817
|
+
class FileFieldDto extends JsonSchemaFieldDto {
|
|
818
|
+
storages?: IReadOnlyList<string>;
|
|
819
|
+
constructor(init?: Partial<FileFieldDto>);
|
|
820
|
+
}
|
|
821
|
+
class TaxonomySelectionFieldDto extends JsonSchemaFieldDto {
|
|
822
|
+
taxonomyId?: string;
|
|
823
|
+
multiple: boolean;
|
|
824
|
+
constructor(init?: Partial<TaxonomySelectionFieldDto>);
|
|
825
|
+
}
|
|
826
|
+
class CollectionSelectionFieldDto extends JsonSchemaFieldDto {
|
|
827
|
+
collectionId?: string;
|
|
828
|
+
displayField?: string;
|
|
829
|
+
multiple: boolean;
|
|
830
|
+
constructor(init?: Partial<CollectionSelectionFieldDto>);
|
|
831
|
+
}
|
|
832
|
+
class UserSelectionFieldDto extends JsonSchemaFieldDto {
|
|
833
|
+
multiple: boolean;
|
|
834
|
+
constructor(init?: Partial<UserSelectionFieldDto>);
|
|
835
|
+
}
|
|
836
|
+
class RoleSelectionFieldDto extends JsonSchemaFieldDto {
|
|
837
|
+
multiple: boolean;
|
|
838
|
+
constructor(init?: Partial<RoleSelectionFieldDto>);
|
|
839
|
+
}
|
|
840
|
+
class EnumSelectionFieldDto extends JsonSchemaFieldDto {
|
|
841
|
+
values?: IReadOnlyList<string>;
|
|
842
|
+
multiple: boolean;
|
|
843
|
+
constructor(init?: Partial<EnumSelectionFieldDto>);
|
|
844
|
+
}
|
|
845
|
+
class EchoResponse {
|
|
846
|
+
containerName?: string;
|
|
847
|
+
ip: string;
|
|
848
|
+
release: CodeMashRelease;
|
|
849
|
+
runtime: CodeMashRuntime;
|
|
850
|
+
managedServiceHubUrl: string;
|
|
851
|
+
managedServiceApiUrl: string;
|
|
852
|
+
hubUrl: string;
|
|
853
|
+
apiUrl: string;
|
|
854
|
+
apiVersion: string;
|
|
855
|
+
hubVersion: string;
|
|
856
|
+
mjmlUrl: string;
|
|
857
|
+
license?: CodeMashLicenseFromEndpointDto;
|
|
858
|
+
askForEnterpriseLicenseEmail?: string;
|
|
859
|
+
regions?: EchoRegionDto[];
|
|
860
|
+
constructor(init?: Partial<EchoResponse>);
|
|
861
|
+
}
|
|
862
|
+
class AskChatResponse extends ResponseBase {
|
|
863
|
+
result?: string;
|
|
864
|
+
constructor(init?: Partial<AskChatResponse>);
|
|
865
|
+
}
|
|
866
|
+
class EmptyResponse extends ResponseBase {
|
|
867
|
+
constructor(init?: Partial<EmptyResponse>);
|
|
868
|
+
}
|
|
869
|
+
class IdResponse extends ResponseBase {
|
|
870
|
+
id?: string;
|
|
871
|
+
constructor(init?: Partial<IdResponse>);
|
|
872
|
+
}
|
|
873
|
+
class GetUserResponse extends ResponseBase {
|
|
874
|
+
user?: UserDto;
|
|
875
|
+
constructor(init?: Partial<GetUserResponse>);
|
|
876
|
+
}
|
|
877
|
+
class GetUsersResponse extends ResponseBase {
|
|
878
|
+
list?: PaginatedResponse<UserDto>;
|
|
879
|
+
constructor(init?: Partial<GetUsersResponse>);
|
|
880
|
+
}
|
|
881
|
+
class GetUserPreferencesResponse extends ResponseBase {
|
|
882
|
+
preferences?: UserMarketingPreferencesDto;
|
|
883
|
+
constructor(init?: Partial<GetUserPreferencesResponse>);
|
|
884
|
+
}
|
|
885
|
+
class PasskeyCeremonyOptionsResponse extends ResponseBase {
|
|
886
|
+
ceremonyId: string;
|
|
887
|
+
optionsJson: string;
|
|
888
|
+
constructor(init?: Partial<PasskeyCeremonyOptionsResponse>);
|
|
889
|
+
}
|
|
890
|
+
class PasskeyAuthTokensResponse extends ResponseBase {
|
|
891
|
+
accessToken: string;
|
|
892
|
+
refreshToken: string;
|
|
893
|
+
expiresInSeconds: number;
|
|
894
|
+
recoveryCodes?: string[];
|
|
895
|
+
constructor(init?: Partial<PasskeyAuthTokensResponse>);
|
|
896
|
+
}
|
|
897
|
+
class PasskeyListResponse extends ResponseBase {
|
|
898
|
+
passkeys: PasskeyListItemDto[];
|
|
899
|
+
constructor(init?: Partial<PasskeyListResponse>);
|
|
900
|
+
}
|
|
901
|
+
class PasskeyOkResponse extends ResponseBase {
|
|
902
|
+
constructor(init?: Partial<PasskeyOkResponse>);
|
|
903
|
+
}
|
|
904
|
+
class PasskeyRecoveryResponse extends ResponseBase {
|
|
905
|
+
accessToken: string;
|
|
906
|
+
refreshToken: string;
|
|
907
|
+
expiresInSeconds: number;
|
|
908
|
+
remainingCodes: number;
|
|
909
|
+
constructor(init?: Partial<PasskeyRecoveryResponse>);
|
|
910
|
+
}
|
|
911
|
+
class PasskeyVerificationTokenResponse extends ResponseBase {
|
|
912
|
+
verificationToken: string;
|
|
913
|
+
constructor(init?: Partial<PasskeyVerificationTokenResponse>);
|
|
914
|
+
}
|
|
915
|
+
class FindTermsResponse extends ResponseBase {
|
|
916
|
+
list?: PaginatedResponse<TermDto>;
|
|
917
|
+
constructor(init?: Partial<FindTermsResponse>);
|
|
918
|
+
}
|
|
919
|
+
class FindTermsChildrenResponse extends ResponseBase {
|
|
920
|
+
list?: PaginatedResponse<TermDto>;
|
|
921
|
+
constructor(init?: Partial<FindTermsChildrenResponse>);
|
|
922
|
+
}
|
|
923
|
+
class GetDatabaseSchemaResponse extends ResponseBase {
|
|
924
|
+
item?: SchemaDto;
|
|
925
|
+
constructor(init?: Partial<GetDatabaseSchemaResponse>);
|
|
926
|
+
}
|
|
927
|
+
class GetDatabaseSchemasResponse extends ResponseBase {
|
|
928
|
+
list?: PaginatedResponse<SchemaListProjection>;
|
|
929
|
+
constructor(init?: Partial<GetDatabaseSchemasResponse>);
|
|
930
|
+
}
|
|
931
|
+
class AggregateResponse extends ResponseBase {
|
|
932
|
+
result?: Object[];
|
|
933
|
+
constructor(init?: Partial<AggregateResponse>);
|
|
934
|
+
}
|
|
935
|
+
class CountResponse extends ResponseBase {
|
|
936
|
+
count: number;
|
|
937
|
+
constructor(init?: Partial<CountResponse>);
|
|
938
|
+
}
|
|
939
|
+
class DistinctResponse extends ResponseBase {
|
|
940
|
+
values?: Object[];
|
|
941
|
+
constructor(init?: Partial<DistinctResponse>);
|
|
942
|
+
}
|
|
943
|
+
class ExecuteAggregateResponse extends ResponseBase {
|
|
944
|
+
result?: Object[];
|
|
945
|
+
constructor(init?: Partial<ExecuteAggregateResponse>);
|
|
946
|
+
}
|
|
947
|
+
class FindResponse extends ResponseBase {
|
|
948
|
+
list?: PaginatedResponse<Object>;
|
|
949
|
+
constructor(init?: Partial<FindResponse>);
|
|
950
|
+
}
|
|
951
|
+
class FindOneResponse extends ResponseBase {
|
|
952
|
+
result?: Object;
|
|
953
|
+
constructor(init?: Partial<FindOneResponse>);
|
|
954
|
+
}
|
|
955
|
+
class GetFileInfoResponse extends ResponseBase {
|
|
956
|
+
file?: FileResourceRefDto;
|
|
957
|
+
isPublic?: boolean;
|
|
958
|
+
publicUrl?: string;
|
|
959
|
+
constructor(init?: Partial<GetFileInfoResponse>);
|
|
960
|
+
}
|
|
961
|
+
class GetSignedUrlResponse extends ResponseBase {
|
|
962
|
+
url?: string;
|
|
963
|
+
constructor(init?: Partial<GetSignedUrlResponse>);
|
|
964
|
+
}
|
|
965
|
+
class ListFilesResponse extends ResponseBase {
|
|
966
|
+
list?: PaginatedResponse<FileResourceRefDto>;
|
|
967
|
+
folders?: string[];
|
|
968
|
+
constructor(init?: Partial<ListFilesResponse>);
|
|
969
|
+
}
|
|
970
|
+
class RequestUploadUrlResponse extends ResponseBase {
|
|
971
|
+
url?: string;
|
|
972
|
+
constructor(init?: Partial<RequestUploadUrlResponse>);
|
|
973
|
+
}
|
|
974
|
+
class AuthenticateResponse implements IHasSessionId, IHasBearerToken {
|
|
975
|
+
userId?: string;
|
|
976
|
+
sessionId?: string;
|
|
977
|
+
userName?: string;
|
|
978
|
+
displayName?: string;
|
|
979
|
+
referrerUrl?: string;
|
|
980
|
+
bearerToken?: string;
|
|
981
|
+
refreshToken?: string;
|
|
982
|
+
refreshTokenExpiry?: string;
|
|
983
|
+
profileUrl?: string;
|
|
984
|
+
roles?: string[];
|
|
985
|
+
permissions?: string[];
|
|
986
|
+
authProvider?: string;
|
|
987
|
+
responseStatus?: ResponseStatus;
|
|
988
|
+
meta?: {
|
|
989
|
+
[index: string]: string;
|
|
990
|
+
};
|
|
991
|
+
constructor(init?: Partial<AuthenticateResponse>);
|
|
992
|
+
}
|
|
993
|
+
class GetAccessTokenResponse {
|
|
994
|
+
accessToken?: string;
|
|
995
|
+
meta?: {
|
|
996
|
+
[index: string]: string;
|
|
997
|
+
};
|
|
998
|
+
responseStatus?: ResponseStatus;
|
|
999
|
+
constructor(init?: Partial<GetAccessTokenResponse>);
|
|
1000
|
+
}
|
|
1001
|
+
class GetApiKeysResponse {
|
|
1002
|
+
results?: UserApiKey[];
|
|
1003
|
+
meta?: {
|
|
1004
|
+
[index: string]: string;
|
|
1005
|
+
};
|
|
1006
|
+
responseStatus?: ResponseStatus;
|
|
1007
|
+
constructor(init?: Partial<GetApiKeysResponse>);
|
|
1008
|
+
}
|
|
1009
|
+
class RegenerateApiKeysResponse {
|
|
1010
|
+
results?: UserApiKey[];
|
|
1011
|
+
meta?: {
|
|
1012
|
+
[index: string]: string;
|
|
1013
|
+
};
|
|
1014
|
+
responseStatus?: ResponseStatus;
|
|
1015
|
+
constructor(init?: Partial<RegenerateApiKeysResponse>);
|
|
1016
|
+
}
|
|
1017
|
+
class Echo extends RequestBase implements IReturn<EchoResponse> {
|
|
1018
|
+
constructor(init?: Partial<Echo>);
|
|
1019
|
+
getTypeName(): string;
|
|
1020
|
+
getMethod(): string;
|
|
1021
|
+
createResponse(): EchoResponse;
|
|
1022
|
+
}
|
|
1023
|
+
class AccountCreated {
|
|
1024
|
+
email: EmailAddress;
|
|
1025
|
+
displayName: DisplayName;
|
|
1026
|
+
accountId: AccountId;
|
|
1027
|
+
createdOn: UtcDateTime;
|
|
1028
|
+
constructor(init?: Partial<AccountCreated>);
|
|
1029
|
+
getTypeName(): string;
|
|
1030
|
+
getMethod(): string;
|
|
1031
|
+
createResponse(): void;
|
|
1032
|
+
}
|
|
1033
|
+
class AccountVerified {
|
|
1034
|
+
constructor(init?: Partial<AccountVerified>);
|
|
1035
|
+
getTypeName(): string;
|
|
1036
|
+
getMethod(): string;
|
|
1037
|
+
createResponse(): void;
|
|
1038
|
+
}
|
|
1039
|
+
class AccountSetAsActive {
|
|
1040
|
+
constructor(init?: Partial<AccountSetAsActive>);
|
|
1041
|
+
getTypeName(): string;
|
|
1042
|
+
getMethod(): string;
|
|
1043
|
+
createResponse(): void;
|
|
1044
|
+
}
|
|
1045
|
+
class AccountValidationTokenIssued {
|
|
1046
|
+
expiration: ExpirationToken;
|
|
1047
|
+
constructor(init?: Partial<AccountValidationTokenIssued>);
|
|
1048
|
+
getTypeName(): string;
|
|
1049
|
+
getMethod(): string;
|
|
1050
|
+
createResponse(): void;
|
|
1051
|
+
}
|
|
1052
|
+
class AccountBlocked {
|
|
1053
|
+
constructor(init?: Partial<AccountBlocked>);
|
|
1054
|
+
getTypeName(): string;
|
|
1055
|
+
getMethod(): string;
|
|
1056
|
+
createResponse(): void;
|
|
1057
|
+
}
|
|
1058
|
+
class AccountProfileUpdated {
|
|
1059
|
+
displayName: DisplayName;
|
|
1060
|
+
billingEmail?: EmailAddress;
|
|
1061
|
+
operationsEmail?: EmailAddress;
|
|
1062
|
+
securityEmail?: EmailAddress;
|
|
1063
|
+
constructor(init?: Partial<AccountProfileUpdated>);
|
|
1064
|
+
getTypeName(): string;
|
|
1065
|
+
getMethod(): string;
|
|
1066
|
+
createResponse(): void;
|
|
1067
|
+
}
|
|
1068
|
+
class AccountSetAsInactive {
|
|
1069
|
+
constructor(init?: Partial<AccountSetAsInactive>);
|
|
1070
|
+
getTypeName(): string;
|
|
1071
|
+
getMethod(): string;
|
|
1072
|
+
createResponse(): void;
|
|
1073
|
+
}
|
|
1074
|
+
class AccountUnregistered {
|
|
1075
|
+
constructor(init?: Partial<AccountUnregistered>);
|
|
1076
|
+
getTypeName(): string;
|
|
1077
|
+
getMethod(): string;
|
|
1078
|
+
createResponse(): void;
|
|
1079
|
+
}
|
|
1080
|
+
class LicenseCreated {
|
|
1081
|
+
license: CodeMashLicense;
|
|
1082
|
+
constructor(init?: Partial<LicenseCreated>);
|
|
1083
|
+
getTypeName(): string;
|
|
1084
|
+
getMethod(): string;
|
|
1085
|
+
createResponse(): void;
|
|
1086
|
+
}
|
|
1087
|
+
class CustomerCreated {
|
|
1088
|
+
paymentCustomerRef: PaymentCustomerRef;
|
|
1089
|
+
constructor(init?: Partial<CustomerCreated>);
|
|
1090
|
+
getTypeName(): string;
|
|
1091
|
+
getMethod(): string;
|
|
1092
|
+
createResponse(): void;
|
|
1093
|
+
}
|
|
1094
|
+
class SubscriptionChanged {
|
|
1095
|
+
subscription: CodeMashManagedServiceSubscription;
|
|
1096
|
+
constructor(init?: Partial<SubscriptionChanged>);
|
|
1097
|
+
getTypeName(): string;
|
|
1098
|
+
getMethod(): string;
|
|
1099
|
+
createResponse(): void;
|
|
1100
|
+
}
|
|
1101
|
+
class SubscriptionCanceled {
|
|
1102
|
+
paymentCustomerRef: PaymentCustomerRef;
|
|
1103
|
+
subscriptionId: string;
|
|
1104
|
+
constructor(init?: Partial<SubscriptionCanceled>);
|
|
1105
|
+
getTypeName(): string;
|
|
1106
|
+
getMethod(): string;
|
|
1107
|
+
createResponse(): void;
|
|
1108
|
+
}
|
|
1109
|
+
class ProjectCommunicationGroupSaved {
|
|
1110
|
+
group: GroupDefinition;
|
|
1111
|
+
channel: CommunicationChannel;
|
|
1112
|
+
originChannel?: CommunicationChannel;
|
|
1113
|
+
constructor(init?: Partial<ProjectCommunicationGroupSaved>);
|
|
1114
|
+
getTypeName(): string;
|
|
1115
|
+
getMethod(): string;
|
|
1116
|
+
createResponse(): void;
|
|
1117
|
+
}
|
|
1118
|
+
class ProjectCommunicationTagFromGroupDeleted {
|
|
1119
|
+
groupTag: Tag;
|
|
1120
|
+
removedTag: Tag;
|
|
1121
|
+
constructor(init?: Partial<ProjectCommunicationTagFromGroupDeleted>);
|
|
1122
|
+
getTypeName(): string;
|
|
1123
|
+
getMethod(): string;
|
|
1124
|
+
createResponse(): void;
|
|
1125
|
+
}
|
|
1126
|
+
class ProjectCommunicationGroupDeleted {
|
|
1127
|
+
groupTag: Tag;
|
|
1128
|
+
constructor(init?: Partial<ProjectCommunicationGroupDeleted>);
|
|
1129
|
+
getTypeName(): string;
|
|
1130
|
+
getMethod(): string;
|
|
1131
|
+
createResponse(): void;
|
|
1132
|
+
}
|
|
1133
|
+
class ProjectCommunicationTagSaved {
|
|
1134
|
+
tag: TagDefinition;
|
|
1135
|
+
groupTag?: Tag;
|
|
1136
|
+
channel?: CommunicationChannel;
|
|
1137
|
+
constructor(init?: Partial<ProjectCommunicationTagSaved>);
|
|
1138
|
+
getTypeName(): string;
|
|
1139
|
+
getMethod(): string;
|
|
1140
|
+
createResponse(): void;
|
|
1141
|
+
}
|
|
1142
|
+
class ProjectCommunicationTagDeleted {
|
|
1143
|
+
tag: Tag;
|
|
1144
|
+
constructor(init?: Partial<ProjectCommunicationTagDeleted>);
|
|
1145
|
+
getTypeName(): string;
|
|
1146
|
+
getMethod(): string;
|
|
1147
|
+
createResponse(): void;
|
|
1148
|
+
}
|
|
1149
|
+
class ProjectCreated {
|
|
1150
|
+
id: ProjectId;
|
|
1151
|
+
name: ProjectName;
|
|
1152
|
+
databaseIntegrationId: IntegrationId;
|
|
1153
|
+
primaryRegion?: ProjectRegion;
|
|
1154
|
+
additionalRegions?: ProjectRegion[];
|
|
1155
|
+
description?: string;
|
|
1156
|
+
isProvisioning: boolean;
|
|
1157
|
+
constructor(init?: Partial<ProjectCreated>);
|
|
1158
|
+
getTypeName(): string;
|
|
1159
|
+
getMethod(): string;
|
|
1160
|
+
createResponse(): void;
|
|
1161
|
+
}
|
|
1162
|
+
class ProjectDeleted {
|
|
1163
|
+
constructor(init?: Partial<ProjectDeleted>);
|
|
1164
|
+
getTypeName(): string;
|
|
1165
|
+
getMethod(): string;
|
|
1166
|
+
createResponse(): void;
|
|
1167
|
+
}
|
|
1168
|
+
class ProjectActivated {
|
|
1169
|
+
constructor(init?: Partial<ProjectActivated>);
|
|
1170
|
+
getTypeName(): string;
|
|
1171
|
+
getMethod(): string;
|
|
1172
|
+
createResponse(): void;
|
|
1173
|
+
}
|
|
1174
|
+
class ProjectDisabled {
|
|
1175
|
+
constructor(init?: Partial<ProjectDisabled>);
|
|
1176
|
+
getTypeName(): string;
|
|
1177
|
+
getMethod(): string;
|
|
1178
|
+
createResponse(): void;
|
|
1179
|
+
}
|
|
1180
|
+
class ProjectNameChanged {
|
|
1181
|
+
projectName: ProjectName;
|
|
1182
|
+
constructor(init?: Partial<ProjectNameChanged>);
|
|
1183
|
+
getTypeName(): string;
|
|
1184
|
+
getMethod(): string;
|
|
1185
|
+
createResponse(): void;
|
|
1186
|
+
}
|
|
1187
|
+
class ProjectDescriptionChanged {
|
|
1188
|
+
description?: string;
|
|
1189
|
+
constructor(init?: Partial<ProjectDescriptionChanged>);
|
|
1190
|
+
getTypeName(): string;
|
|
1191
|
+
getMethod(): string;
|
|
1192
|
+
createResponse(): void;
|
|
1193
|
+
}
|
|
1194
|
+
class ProjectMarketingUrlChanged {
|
|
1195
|
+
url?: DomainUrl;
|
|
1196
|
+
constructor(init?: Partial<ProjectMarketingUrlChanged>);
|
|
1197
|
+
getTypeName(): string;
|
|
1198
|
+
getMethod(): string;
|
|
1199
|
+
createResponse(): void;
|
|
1200
|
+
}
|
|
1201
|
+
class ProjectAllowedOriginsChanged {
|
|
1202
|
+
origins?: DomainUrl[];
|
|
1203
|
+
constructor(init?: Partial<ProjectAllowedOriginsChanged>);
|
|
1204
|
+
getTypeName(): string;
|
|
1205
|
+
getMethod(): string;
|
|
1206
|
+
createResponse(): void;
|
|
1207
|
+
}
|
|
1208
|
+
class ProjectDefaultLanguageChanged {
|
|
1209
|
+
language: Language;
|
|
1210
|
+
constructor(init?: Partial<ProjectDefaultLanguageChanged>);
|
|
1211
|
+
getTypeName(): string;
|
|
1212
|
+
getMethod(): string;
|
|
1213
|
+
createResponse(): void;
|
|
1214
|
+
}
|
|
1215
|
+
class ProjectLanguagesChanged {
|
|
1216
|
+
languages: Language[];
|
|
1217
|
+
constructor(init?: Partial<ProjectLanguagesChanged>);
|
|
1218
|
+
getTypeName(): string;
|
|
1219
|
+
getMethod(): string;
|
|
1220
|
+
createResponse(): void;
|
|
1221
|
+
}
|
|
1222
|
+
class ProjectLogoChanged {
|
|
1223
|
+
logo?: ProjectLogo;
|
|
1224
|
+
constructor(init?: Partial<ProjectLogoChanged>);
|
|
1225
|
+
getTypeName(): string;
|
|
1226
|
+
getMethod(): string;
|
|
1227
|
+
createResponse(): void;
|
|
1228
|
+
}
|
|
1229
|
+
class ProjectIconChanged {
|
|
1230
|
+
icon?: ProjectIcon;
|
|
1231
|
+
constructor(init?: Partial<ProjectIconChanged>);
|
|
1232
|
+
getTypeName(): string;
|
|
1233
|
+
getMethod(): string;
|
|
1234
|
+
createResponse(): void;
|
|
1235
|
+
}
|
|
1236
|
+
class ProjectMainColorChanged {
|
|
1237
|
+
color: BrandColor;
|
|
1238
|
+
constructor(init?: Partial<ProjectMainColorChanged>);
|
|
1239
|
+
getTypeName(): string;
|
|
1240
|
+
getMethod(): string;
|
|
1241
|
+
createResponse(): void;
|
|
1242
|
+
}
|
|
1243
|
+
class ProjectAccentColorChanged {
|
|
1244
|
+
color: BrandColor;
|
|
1245
|
+
constructor(init?: Partial<ProjectAccentColorChanged>);
|
|
1246
|
+
getTypeName(): string;
|
|
1247
|
+
getMethod(): string;
|
|
1248
|
+
createResponse(): void;
|
|
1249
|
+
}
|
|
1250
|
+
class ProjectRegionsChanged {
|
|
1251
|
+
primaryRegion?: ProjectRegion;
|
|
1252
|
+
additionalRegions?: ProjectRegion[];
|
|
1253
|
+
constructor(init?: Partial<ProjectRegionsChanged>);
|
|
1254
|
+
getTypeName(): string;
|
|
1255
|
+
getMethod(): string;
|
|
1256
|
+
createResponse(): void;
|
|
1257
|
+
}
|
|
1258
|
+
class ProjectTimeZoneChanged {
|
|
1259
|
+
timeZone?: TimeZone;
|
|
1260
|
+
constructor(init?: Partial<ProjectTimeZoneChanged>);
|
|
1261
|
+
getTypeName(): string;
|
|
1262
|
+
getMethod(): string;
|
|
1263
|
+
createResponse(): void;
|
|
1264
|
+
}
|
|
1265
|
+
class ProjectPaymentZonesChanged {
|
|
1266
|
+
paymentZones?: TimeZone[];
|
|
1267
|
+
constructor(init?: Partial<ProjectPaymentZonesChanged>);
|
|
1268
|
+
getTypeName(): string;
|
|
1269
|
+
getMethod(): string;
|
|
1270
|
+
createResponse(): void;
|
|
1271
|
+
}
|
|
1272
|
+
class ProjectCommunicationSet {
|
|
1273
|
+
projectCommunication: ProjectCommunication;
|
|
1274
|
+
constructor(init?: Partial<ProjectCommunicationSet>);
|
|
1275
|
+
getTypeName(): string;
|
|
1276
|
+
getMethod(): string;
|
|
1277
|
+
createResponse(): void;
|
|
1278
|
+
}
|
|
1279
|
+
class AccountUserPushDeviceCreated {
|
|
1280
|
+
userId: UserId;
|
|
1281
|
+
pushDevice: PushDevice;
|
|
1282
|
+
constructor(init?: Partial<AccountUserPushDeviceCreated>);
|
|
1283
|
+
getTypeName(): string;
|
|
1284
|
+
getMethod(): string;
|
|
1285
|
+
createResponse(): void;
|
|
1286
|
+
}
|
|
1287
|
+
/** @description AI */
|
|
1288
|
+
class AskChatRequest extends CodeMashRequestBase implements IReturn<AskChatResponse> {
|
|
1289
|
+
prompt: string;
|
|
1290
|
+
constructor(init?: Partial<AskChatRequest>);
|
|
1291
|
+
getTypeName(): string;
|
|
1292
|
+
getMethod(): string;
|
|
1293
|
+
createResponse(): AskChatResponse;
|
|
1294
|
+
}
|
|
1295
|
+
/** @description Membership */
|
|
1296
|
+
class BlockUserRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1297
|
+
id: string;
|
|
1298
|
+
databaseIntegrationId?: string;
|
|
1299
|
+
constructor(init?: Partial<BlockUserRequest>);
|
|
1300
|
+
getTypeName(): string;
|
|
1301
|
+
getMethod(): string;
|
|
1302
|
+
createResponse(): EmptyResponse;
|
|
1303
|
+
}
|
|
1304
|
+
/** @description Membership */
|
|
1305
|
+
class SaveSystemUserWithPermissions extends SaveUserWithRolesBase implements IReturn<IdResponse> {
|
|
1306
|
+
constructor(init?: Partial<SaveSystemUserWithPermissions>);
|
|
1307
|
+
getTypeName(): string;
|
|
1308
|
+
getMethod(): string;
|
|
1309
|
+
createResponse(): IdResponse;
|
|
1310
|
+
}
|
|
1311
|
+
/** @description Membership */
|
|
1312
|
+
class SaveGuestUser extends SaveUser implements IReturn<IdResponse> {
|
|
1313
|
+
constructor(init?: Partial<SaveGuestUser>);
|
|
1314
|
+
getTypeName(): string;
|
|
1315
|
+
getMethod(): string;
|
|
1316
|
+
createResponse(): IdResponse;
|
|
1317
|
+
}
|
|
1318
|
+
/** @description Membership */
|
|
1319
|
+
class SaveUserNameUser extends SaveUser implements IReturn<IdResponse> {
|
|
1320
|
+
password: string;
|
|
1321
|
+
userName: string;
|
|
1322
|
+
constructor(init?: Partial<SaveUserNameUser>);
|
|
1323
|
+
getTypeName(): string;
|
|
1324
|
+
getMethod(): string;
|
|
1325
|
+
createResponse(): IdResponse;
|
|
1326
|
+
}
|
|
1327
|
+
/** @description Membership */
|
|
1328
|
+
class SaveEmailUser extends SaveUser implements IReturn<IdResponse> {
|
|
1329
|
+
password: string;
|
|
1330
|
+
email: string;
|
|
1331
|
+
constructor(init?: Partial<SaveEmailUser>);
|
|
1332
|
+
getTypeName(): string;
|
|
1333
|
+
getMethod(): string;
|
|
1334
|
+
createResponse(): IdResponse;
|
|
1335
|
+
}
|
|
1336
|
+
/** @description Membership */
|
|
1337
|
+
class SavePhoneUser extends SaveUser implements IReturn<IdResponse> {
|
|
1338
|
+
phone: string;
|
|
1339
|
+
constructor(init?: Partial<SavePhoneUser>);
|
|
1340
|
+
getTypeName(): string;
|
|
1341
|
+
getMethod(): string;
|
|
1342
|
+
createResponse(): IdResponse;
|
|
1343
|
+
}
|
|
1344
|
+
/** @description Membership */
|
|
1345
|
+
class SavePhoneUserNameWithPermissions extends SaveUserWithRolesBase implements IReturn<IdResponse> {
|
|
1346
|
+
phone: string;
|
|
1347
|
+
constructor(init?: Partial<SavePhoneUserNameWithPermissions>);
|
|
1348
|
+
getTypeName(): string;
|
|
1349
|
+
getMethod(): string;
|
|
1350
|
+
createResponse(): IdResponse;
|
|
1351
|
+
}
|
|
1352
|
+
/** @description Membership */
|
|
1353
|
+
class SaveEmailUserNameWithPermissions extends SaveUserWithRolesBase implements IReturn<IdResponse> {
|
|
1354
|
+
password: string;
|
|
1355
|
+
email: string;
|
|
1356
|
+
constructor(init?: Partial<SaveEmailUserNameWithPermissions>);
|
|
1357
|
+
getTypeName(): string;
|
|
1358
|
+
getMethod(): string;
|
|
1359
|
+
createResponse(): IdResponse;
|
|
1360
|
+
}
|
|
1361
|
+
/** @description Membership */
|
|
1362
|
+
class SaveUserNameWithPermissions extends SaveUserWithRolesBase implements IReturn<IdResponse> {
|
|
1363
|
+
password: string;
|
|
1364
|
+
userName: string;
|
|
1365
|
+
constructor(init?: Partial<SaveUserNameWithPermissions>);
|
|
1366
|
+
getTypeName(): string;
|
|
1367
|
+
getMethod(): string;
|
|
1368
|
+
createResponse(): IdResponse;
|
|
1369
|
+
}
|
|
1370
|
+
/** @description Membership */
|
|
1371
|
+
class DeleteUserRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1372
|
+
id: string;
|
|
1373
|
+
databaseIntegrationId?: string;
|
|
1374
|
+
constructor(init?: Partial<DeleteUserRequest>);
|
|
1375
|
+
getTypeName(): string;
|
|
1376
|
+
getMethod(): string;
|
|
1377
|
+
createResponse(): EmptyResponse;
|
|
1378
|
+
}
|
|
1379
|
+
/** @description Membership */
|
|
1380
|
+
class GetUserRequest extends CodeMashRequestBase implements IReturn<GetUserResponse> {
|
|
1381
|
+
id: string;
|
|
1382
|
+
databaseIntegrationId?: string;
|
|
1383
|
+
constructor(init?: Partial<GetUserRequest>);
|
|
1384
|
+
getTypeName(): string;
|
|
1385
|
+
getMethod(): string;
|
|
1386
|
+
createResponse(): GetUserResponse;
|
|
1387
|
+
}
|
|
1388
|
+
/** @description Membership */
|
|
1389
|
+
class GetUsersRequest extends CodeMashListPaginationRequestBase implements IReturn<GetUsersResponse> {
|
|
1390
|
+
databaseIntegrationId?: string;
|
|
1391
|
+
includePermissions: boolean;
|
|
1392
|
+
userShouldHavePushDevice: boolean;
|
|
1393
|
+
userShouldHaveEmail: boolean;
|
|
1394
|
+
includeMeta: boolean;
|
|
1395
|
+
roleNames?: string[];
|
|
1396
|
+
userIds?: string[];
|
|
1397
|
+
constructor(init?: Partial<GetUsersRequest>);
|
|
1398
|
+
getTypeName(): string;
|
|
1399
|
+
getMethod(): string;
|
|
1400
|
+
createResponse(): GetUsersResponse;
|
|
1401
|
+
}
|
|
1402
|
+
/** @description Membership */
|
|
1403
|
+
class GetUserPreferencesRequest extends CodeMashRequestBase implements IReturn<GetUserPreferencesResponse> {
|
|
1404
|
+
id: string;
|
|
1405
|
+
databaseIntegrationId?: string;
|
|
1406
|
+
constructor(init?: Partial<GetUserPreferencesRequest>);
|
|
1407
|
+
getTypeName(): string;
|
|
1408
|
+
getMethod(): string;
|
|
1409
|
+
createResponse(): GetUserPreferencesResponse;
|
|
1410
|
+
}
|
|
1411
|
+
/** @description Membership */
|
|
1412
|
+
class InviteUserRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1413
|
+
email: string;
|
|
1414
|
+
databaseIntegrationId?: string;
|
|
1415
|
+
constructor(init?: Partial<InviteUserRequest>);
|
|
1416
|
+
getTypeName(): string;
|
|
1417
|
+
getMethod(): string;
|
|
1418
|
+
createResponse(): EmptyResponse;
|
|
1419
|
+
}
|
|
1420
|
+
/** @description Membership */
|
|
1421
|
+
class LinkIdentityRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1422
|
+
userId: string;
|
|
1423
|
+
provider: string;
|
|
1424
|
+
providerToken: string;
|
|
1425
|
+
emailToVerify?: string;
|
|
1426
|
+
databaseIntegrationId: string;
|
|
1427
|
+
constructor(init?: Partial<LinkIdentityRequest>);
|
|
1428
|
+
getTypeName(): string;
|
|
1429
|
+
getMethod(): string;
|
|
1430
|
+
createResponse(): EmptyResponse;
|
|
1431
|
+
}
|
|
1432
|
+
/** @description Membership */
|
|
1433
|
+
class AssignRolePermissionsRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1434
|
+
id: string;
|
|
1435
|
+
/** @description Database integration id. Optional — defaults to the request environment's default integration. */
|
|
1436
|
+
databaseIntegrationId?: string;
|
|
1437
|
+
roles?: string[];
|
|
1438
|
+
constructor(init?: Partial<AssignRolePermissionsRequest>);
|
|
1439
|
+
getTypeName(): string;
|
|
1440
|
+
getMethod(): string;
|
|
1441
|
+
createResponse(): EmptyResponse;
|
|
1442
|
+
}
|
|
1443
|
+
/** @description Membership */
|
|
1444
|
+
class UnblockUserRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1445
|
+
id: string;
|
|
1446
|
+
databaseIntegrationId?: string;
|
|
1447
|
+
constructor(init?: Partial<UnblockUserRequest>);
|
|
1448
|
+
getTypeName(): string;
|
|
1449
|
+
getMethod(): string;
|
|
1450
|
+
createResponse(): EmptyResponse;
|
|
1451
|
+
}
|
|
1452
|
+
/** @description Membership */
|
|
1453
|
+
class UpdateUserRequest extends SaveUser implements IReturn<IdResponse> {
|
|
1454
|
+
id: string;
|
|
1455
|
+
constructor(init?: Partial<UpdateUserRequest>);
|
|
1456
|
+
getTypeName(): string;
|
|
1457
|
+
getMethod(): string;
|
|
1458
|
+
createResponse(): IdResponse;
|
|
1459
|
+
}
|
|
1460
|
+
/** @description Membership */
|
|
1461
|
+
class UpdateUserPreferencesRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1462
|
+
id: string;
|
|
1463
|
+
blockAllMarketingMessages: boolean;
|
|
1464
|
+
blockedTags?: {
|
|
1465
|
+
[index: string]: HashSet<string>;
|
|
1466
|
+
};
|
|
1467
|
+
databaseIntegrationId?: string;
|
|
1468
|
+
constructor(init?: Partial<UpdateUserPreferencesRequest>);
|
|
1469
|
+
getTypeName(): string;
|
|
1470
|
+
getMethod(): string;
|
|
1471
|
+
createResponse(): EmptyResponse;
|
|
1472
|
+
}
|
|
1473
|
+
/** @description Membership · Passkey */
|
|
1474
|
+
class PasskeyAuthenticationOptionsRequest extends CodeMashRequestBase implements IReturn<PasskeyCeremonyOptionsResponse>, IPasskeyCeremonyRequest {
|
|
1475
|
+
email: string;
|
|
1476
|
+
constructor(init?: Partial<PasskeyAuthenticationOptionsRequest>);
|
|
1477
|
+
getTypeName(): string;
|
|
1478
|
+
getMethod(): string;
|
|
1479
|
+
createResponse(): PasskeyCeremonyOptionsResponse;
|
|
1480
|
+
}
|
|
1481
|
+
/** @description Membership · Passkey */
|
|
1482
|
+
class VerifyPasskeyAuthenticationRequest extends CodeMashRequestBase implements IReturn<PasskeyAuthTokensResponse>, IPasskeyCeremonyRequest {
|
|
1483
|
+
ceremonyId: string;
|
|
1484
|
+
assertionResponse: string;
|
|
1485
|
+
constructor(init?: Partial<VerifyPasskeyAuthenticationRequest>);
|
|
1486
|
+
getTypeName(): string;
|
|
1487
|
+
getMethod(): string;
|
|
1488
|
+
createResponse(): PasskeyAuthTokensResponse;
|
|
1489
|
+
}
|
|
1490
|
+
/** @description Membership · Passkey */
|
|
1491
|
+
class ListPasskeysRequest extends CodeMashRequestBase implements IReturn<PasskeyListResponse> {
|
|
1492
|
+
constructor(init?: Partial<ListPasskeysRequest>);
|
|
1493
|
+
getTypeName(): string;
|
|
1494
|
+
getMethod(): string;
|
|
1495
|
+
createResponse(): PasskeyListResponse;
|
|
1496
|
+
}
|
|
1497
|
+
/** @description Membership · Passkey */
|
|
1498
|
+
class RenamePasskeyRequest extends CodeMashRequestBase implements IReturn<PasskeyOkResponse> {
|
|
1499
|
+
credentialId: string;
|
|
1500
|
+
friendlyName: string;
|
|
1501
|
+
constructor(init?: Partial<RenamePasskeyRequest>);
|
|
1502
|
+
getTypeName(): string;
|
|
1503
|
+
getMethod(): string;
|
|
1504
|
+
createResponse(): PasskeyOkResponse;
|
|
1505
|
+
}
|
|
1506
|
+
/** @description Membership · Passkey */
|
|
1507
|
+
class RevokePasskeyRequest extends CodeMashRequestBase implements IReturn<PasskeyOkResponse> {
|
|
1508
|
+
credentialId: string;
|
|
1509
|
+
constructor(init?: Partial<RevokePasskeyRequest>);
|
|
1510
|
+
getTypeName(): string;
|
|
1511
|
+
getMethod(): string;
|
|
1512
|
+
createResponse(): PasskeyOkResponse;
|
|
1513
|
+
}
|
|
1514
|
+
/** @description Membership · Passkey */
|
|
1515
|
+
class UseRecoveryCodeRequest extends CodeMashRequestBase implements IReturn<PasskeyRecoveryResponse> {
|
|
1516
|
+
email: string;
|
|
1517
|
+
recoveryCode: string;
|
|
1518
|
+
constructor(init?: Partial<UseRecoveryCodeRequest>);
|
|
1519
|
+
getTypeName(): string;
|
|
1520
|
+
getMethod(): string;
|
|
1521
|
+
createResponse(): PasskeyRecoveryResponse;
|
|
1522
|
+
}
|
|
1523
|
+
/** @description Membership · Passkey */
|
|
1524
|
+
class RequestMagicLinkRequest extends CodeMashRequestBase implements IReturn<PasskeyOkResponse> {
|
|
1525
|
+
email: string;
|
|
1526
|
+
constructor(init?: Partial<RequestMagicLinkRequest>);
|
|
1527
|
+
getTypeName(): string;
|
|
1528
|
+
getMethod(): string;
|
|
1529
|
+
createResponse(): PasskeyOkResponse;
|
|
1530
|
+
}
|
|
1531
|
+
/** @description Membership · Passkey */
|
|
1532
|
+
class ConsumeMagicLinkRequest extends CodeMashRequestBase implements IReturn<PasskeyRecoveryResponse> {
|
|
1533
|
+
token: string;
|
|
1534
|
+
constructor(init?: Partial<ConsumeMagicLinkRequest>);
|
|
1535
|
+
getTypeName(): string;
|
|
1536
|
+
getMethod(): string;
|
|
1537
|
+
createResponse(): PasskeyRecoveryResponse;
|
|
1538
|
+
}
|
|
1539
|
+
/** @description Membership · Passkey */
|
|
1540
|
+
class HasPasskeyRequest extends CodeMashRequestBase implements IReturn<PasskeyOkResponse> {
|
|
1541
|
+
email: string;
|
|
1542
|
+
constructor(init?: Partial<HasPasskeyRequest>);
|
|
1543
|
+
getTypeName(): string;
|
|
1544
|
+
getMethod(): string;
|
|
1545
|
+
createResponse(): PasskeyOkResponse;
|
|
1546
|
+
}
|
|
1547
|
+
/** @description Membership · Passkey */
|
|
1548
|
+
class StartEmailVerificationRequest extends CodeMashRequestBase implements IReturn<PasskeyOkResponse> {
|
|
1549
|
+
email: string;
|
|
1550
|
+
constructor(init?: Partial<StartEmailVerificationRequest>);
|
|
1551
|
+
getTypeName(): string;
|
|
1552
|
+
getMethod(): string;
|
|
1553
|
+
createResponse(): PasskeyOkResponse;
|
|
1554
|
+
}
|
|
1555
|
+
/** @description Membership · Passkey */
|
|
1556
|
+
class ConfirmEmailVerificationRequest extends CodeMashRequestBase implements IReturn<PasskeyVerificationTokenResponse> {
|
|
1557
|
+
email: string;
|
|
1558
|
+
code: string;
|
|
1559
|
+
constructor(init?: Partial<ConfirmEmailVerificationRequest>);
|
|
1560
|
+
getTypeName(): string;
|
|
1561
|
+
getMethod(): string;
|
|
1562
|
+
createResponse(): PasskeyVerificationTokenResponse;
|
|
1563
|
+
}
|
|
1564
|
+
/** @description Membership · Passkey */
|
|
1565
|
+
class PasskeyRegistrationOptionsRequest extends CodeMashRequestBase implements IReturn<PasskeyCeremonyOptionsResponse>, IPasskeyCeremonyRequest {
|
|
1566
|
+
verificationToken: string;
|
|
1567
|
+
constructor(init?: Partial<PasskeyRegistrationOptionsRequest>);
|
|
1568
|
+
getTypeName(): string;
|
|
1569
|
+
getMethod(): string;
|
|
1570
|
+
createResponse(): PasskeyCeremonyOptionsResponse;
|
|
1571
|
+
}
|
|
1572
|
+
/** @description Membership · Passkey */
|
|
1573
|
+
class VerifyPasskeyRegistrationRequest extends CodeMashRequestBase implements IReturn<PasskeyAuthTokensResponse>, IPasskeyCeremonyRequest {
|
|
1574
|
+
verificationToken: string;
|
|
1575
|
+
ceremonyId: string;
|
|
1576
|
+
attestationResponse: string;
|
|
1577
|
+
friendlyName?: string;
|
|
1578
|
+
constructor(init?: Partial<VerifyPasskeyRegistrationRequest>);
|
|
1579
|
+
getTypeName(): string;
|
|
1580
|
+
getMethod(): string;
|
|
1581
|
+
createResponse(): PasskeyAuthTokensResponse;
|
|
1582
|
+
}
|
|
1583
|
+
/** @description Membership · Passkey */
|
|
1584
|
+
class RefreshPasskeyTokenRequest extends CodeMashRequestBase implements IReturn<PasskeyAuthTokensResponse> {
|
|
1585
|
+
refreshToken?: string;
|
|
1586
|
+
constructor(init?: Partial<RefreshPasskeyTokenRequest>);
|
|
1587
|
+
getTypeName(): string;
|
|
1588
|
+
getMethod(): string;
|
|
1589
|
+
createResponse(): PasskeyAuthTokensResponse;
|
|
1590
|
+
}
|
|
1591
|
+
/** @description Membership · Passkey */
|
|
1592
|
+
class PasskeyLogoutRequest extends CodeMashRequestBase implements IReturn<PasskeyOkResponse> {
|
|
1593
|
+
refreshToken?: string;
|
|
1594
|
+
constructor(init?: Partial<PasskeyLogoutRequest>);
|
|
1595
|
+
getTypeName(): string;
|
|
1596
|
+
getMethod(): string;
|
|
1597
|
+
createResponse(): PasskeyOkResponse;
|
|
1598
|
+
}
|
|
1599
|
+
/** @description Database */
|
|
1600
|
+
class FindTermsRequest extends CodeMashListPaginationRequestBase implements IReturn<FindTermsResponse> {
|
|
1601
|
+
taxonomyName: string;
|
|
1602
|
+
databaseIntegrationId: string;
|
|
1603
|
+
filter?: string;
|
|
1604
|
+
pagingArgs?: PagingArgs;
|
|
1605
|
+
constructor(init?: Partial<FindTermsRequest>);
|
|
1606
|
+
getTypeName(): string;
|
|
1607
|
+
getMethod(): string;
|
|
1608
|
+
createResponse(): FindTermsResponse;
|
|
1609
|
+
}
|
|
1610
|
+
/** @description Database */
|
|
1611
|
+
class FindTermsChildrenRequest extends CodeMashListPaginationRequestBase implements IReturn<FindTermsChildrenResponse> {
|
|
1612
|
+
taxonomyName: string;
|
|
1613
|
+
parentId: string;
|
|
1614
|
+
databaseIntegrationId: string;
|
|
1615
|
+
filter?: string;
|
|
1616
|
+
pagingArgs?: PagingArgs;
|
|
1617
|
+
constructor(init?: Partial<FindTermsChildrenRequest>);
|
|
1618
|
+
getTypeName(): string;
|
|
1619
|
+
getMethod(): string;
|
|
1620
|
+
createResponse(): FindTermsChildrenResponse;
|
|
1621
|
+
}
|
|
1622
|
+
/** @description Database */
|
|
1623
|
+
class GetDatabaseSchemaRequest extends CodeMashRequestBase implements IReturn<GetDatabaseSchemaResponse> {
|
|
1624
|
+
id: string;
|
|
1625
|
+
constructor(init?: Partial<GetDatabaseSchemaRequest>);
|
|
1626
|
+
getTypeName(): string;
|
|
1627
|
+
getMethod(): string;
|
|
1628
|
+
createResponse(): GetDatabaseSchemaResponse;
|
|
1629
|
+
}
|
|
1630
|
+
/** @description Database */
|
|
1631
|
+
class GetDatabaseSchemasRequest extends CodeMashListPaginationRequestBase implements IReturn<GetDatabaseSchemasResponse> {
|
|
1632
|
+
pagingArgs?: PagingArgs;
|
|
1633
|
+
constructor(init?: Partial<GetDatabaseSchemasRequest>);
|
|
1634
|
+
getTypeName(): string;
|
|
1635
|
+
getMethod(): string;
|
|
1636
|
+
createResponse(): GetDatabaseSchemasResponse;
|
|
1637
|
+
}
|
|
1638
|
+
/** @description Database */
|
|
1639
|
+
class AggregateRequest extends CodeMashRequestBase implements IReturn<AggregateResponse> {
|
|
1640
|
+
collectionName: string;
|
|
1641
|
+
databaseIntegrationId: string;
|
|
1642
|
+
pipeline: string;
|
|
1643
|
+
constructor(init?: Partial<AggregateRequest>);
|
|
1644
|
+
getTypeName(): string;
|
|
1645
|
+
getMethod(): string;
|
|
1646
|
+
createResponse(): AggregateResponse;
|
|
1647
|
+
}
|
|
1648
|
+
/** @description Database */
|
|
1649
|
+
class ChangeResponsibilityRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1650
|
+
collectionName: string;
|
|
1651
|
+
id: string;
|
|
1652
|
+
databaseIntegrationId: string;
|
|
1653
|
+
newResponsibleUserId: string;
|
|
1654
|
+
constructor(init?: Partial<ChangeResponsibilityRequest>);
|
|
1655
|
+
getTypeName(): string;
|
|
1656
|
+
getMethod(): string;
|
|
1657
|
+
createResponse(): EmptyResponse;
|
|
1658
|
+
}
|
|
1659
|
+
/** @description Database */
|
|
1660
|
+
class CountRequest extends CodeMashRequestBase implements IReturn<CountResponse> {
|
|
1661
|
+
collectionName: string;
|
|
1662
|
+
databaseIntegrationId: string;
|
|
1663
|
+
filter?: string;
|
|
1664
|
+
schemaVersion?: number;
|
|
1665
|
+
constructor(init?: Partial<CountRequest>);
|
|
1666
|
+
getTypeName(): string;
|
|
1667
|
+
getMethod(): string;
|
|
1668
|
+
createResponse(): CountResponse;
|
|
1669
|
+
}
|
|
1670
|
+
/** @description Database */
|
|
1671
|
+
class DeleteManyRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1672
|
+
collectionName: string;
|
|
1673
|
+
databaseIntegrationId: string;
|
|
1674
|
+
filter: string;
|
|
1675
|
+
constructor(init?: Partial<DeleteManyRequest>);
|
|
1676
|
+
getTypeName(): string;
|
|
1677
|
+
getMethod(): string;
|
|
1678
|
+
createResponse(): EmptyResponse;
|
|
1679
|
+
}
|
|
1680
|
+
/** @description Database */
|
|
1681
|
+
class DeleteOneRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1682
|
+
collectionName: string;
|
|
1683
|
+
id: string;
|
|
1684
|
+
databaseIntegrationId: string;
|
|
1685
|
+
constructor(init?: Partial<DeleteOneRequest>);
|
|
1686
|
+
getTypeName(): string;
|
|
1687
|
+
getMethod(): string;
|
|
1688
|
+
createResponse(): EmptyResponse;
|
|
1689
|
+
}
|
|
1690
|
+
/** @description Database */
|
|
1691
|
+
class DistinctRequest extends CodeMashRequestBase implements IReturn<DistinctResponse> {
|
|
1692
|
+
collectionName: string;
|
|
1693
|
+
databaseIntegrationId: string;
|
|
1694
|
+
field: string;
|
|
1695
|
+
filter?: string;
|
|
1696
|
+
schemaVersion?: number;
|
|
1697
|
+
constructor(init?: Partial<DistinctRequest>);
|
|
1698
|
+
getTypeName(): string;
|
|
1699
|
+
getMethod(): string;
|
|
1700
|
+
createResponse(): DistinctResponse;
|
|
1701
|
+
}
|
|
1702
|
+
/** @description Database */
|
|
1703
|
+
class ExecuteAggregateRequest extends CodeMashRequestBase implements IReturn<ExecuteAggregateResponse> {
|
|
1704
|
+
collectionName: string;
|
|
1705
|
+
aggregateId: string;
|
|
1706
|
+
databaseIntegrationId: string;
|
|
1707
|
+
tokens?: {
|
|
1708
|
+
[index: string]: string;
|
|
1709
|
+
};
|
|
1710
|
+
constructor(init?: Partial<ExecuteAggregateRequest>);
|
|
1711
|
+
getTypeName(): string;
|
|
1712
|
+
getMethod(): string;
|
|
1713
|
+
createResponse(): ExecuteAggregateResponse;
|
|
1714
|
+
}
|
|
1715
|
+
/** @description Database */
|
|
1716
|
+
class FindRequest extends CodeMashListPaginationRequestBase implements IReturn<FindResponse> {
|
|
1717
|
+
collectionName: string;
|
|
1718
|
+
databaseIntegrationId: string;
|
|
1719
|
+
filter?: string;
|
|
1720
|
+
schemaVersion?: number;
|
|
1721
|
+
pagingArgs?: PagingArgs;
|
|
1722
|
+
constructor(init?: Partial<FindRequest>);
|
|
1723
|
+
getTypeName(): string;
|
|
1724
|
+
getMethod(): string;
|
|
1725
|
+
createResponse(): FindResponse;
|
|
1726
|
+
}
|
|
1727
|
+
/** @description Database */
|
|
1728
|
+
class FindOneRequest extends CodeMashRequestBase implements IReturn<FindOneResponse> {
|
|
1729
|
+
collectionName: string;
|
|
1730
|
+
id: string;
|
|
1731
|
+
databaseIntegrationId: string;
|
|
1732
|
+
constructor(init?: Partial<FindOneRequest>);
|
|
1733
|
+
getTypeName(): string;
|
|
1734
|
+
getMethod(): string;
|
|
1735
|
+
createResponse(): FindOneResponse;
|
|
1736
|
+
}
|
|
1737
|
+
/** @description Database */
|
|
1738
|
+
class FindOwnRequest extends CodeMashListPaginationRequestBase implements IReturn<FindResponse> {
|
|
1739
|
+
collectionName: string;
|
|
1740
|
+
databaseIntegrationId: string;
|
|
1741
|
+
filter?: string;
|
|
1742
|
+
schemaVersion?: number;
|
|
1743
|
+
pagingArgs?: PagingArgs;
|
|
1744
|
+
constructor(init?: Partial<FindOwnRequest>);
|
|
1745
|
+
getTypeName(): string;
|
|
1746
|
+
getMethod(): string;
|
|
1747
|
+
createResponse(): FindResponse;
|
|
1748
|
+
}
|
|
1749
|
+
/** @description Database */
|
|
1750
|
+
class InsertManyRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1751
|
+
collectionName: string;
|
|
1752
|
+
databaseIntegrationId: string;
|
|
1753
|
+
documents: string;
|
|
1754
|
+
constructor(init?: Partial<InsertManyRequest>);
|
|
1755
|
+
getTypeName(): string;
|
|
1756
|
+
getMethod(): string;
|
|
1757
|
+
createResponse(): EmptyResponse;
|
|
1758
|
+
}
|
|
1759
|
+
/** @description Database */
|
|
1760
|
+
class InsertOneRequest extends CodeMashRequestBase implements IReturn<IdResponse> {
|
|
1761
|
+
collectionName: string;
|
|
1762
|
+
databaseIntegrationId: string;
|
|
1763
|
+
document: string;
|
|
1764
|
+
constructor(init?: Partial<InsertOneRequest>);
|
|
1765
|
+
getTypeName(): string;
|
|
1766
|
+
getMethod(): string;
|
|
1767
|
+
createResponse(): IdResponse;
|
|
1768
|
+
}
|
|
1769
|
+
/** @description Database */
|
|
1770
|
+
class ReplaceOneRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1771
|
+
collectionName: string;
|
|
1772
|
+
id: string;
|
|
1773
|
+
databaseIntegrationId: string;
|
|
1774
|
+
replacement: string;
|
|
1775
|
+
constructor(init?: Partial<ReplaceOneRequest>);
|
|
1776
|
+
getTypeName(): string;
|
|
1777
|
+
getMethod(): string;
|
|
1778
|
+
createResponse(): EmptyResponse;
|
|
1779
|
+
}
|
|
1780
|
+
/** @description Database */
|
|
1781
|
+
class UpdateManyRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1782
|
+
collectionName: string;
|
|
1783
|
+
databaseIntegrationId: string;
|
|
1784
|
+
filter: string;
|
|
1785
|
+
update: string;
|
|
1786
|
+
constructor(init?: Partial<UpdateManyRequest>);
|
|
1787
|
+
getTypeName(): string;
|
|
1788
|
+
getMethod(): string;
|
|
1789
|
+
createResponse(): EmptyResponse;
|
|
1790
|
+
}
|
|
1791
|
+
/** @description Database */
|
|
1792
|
+
class UpdateOneRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1793
|
+
collectionName: string;
|
|
1794
|
+
id: string;
|
|
1795
|
+
databaseIntegrationId: string;
|
|
1796
|
+
update: string;
|
|
1797
|
+
constructor(init?: Partial<UpdateOneRequest>);
|
|
1798
|
+
getTypeName(): string;
|
|
1799
|
+
getMethod(): string;
|
|
1800
|
+
createResponse(): EmptyResponse;
|
|
1801
|
+
}
|
|
1802
|
+
/** @description Files */
|
|
1803
|
+
class CommitUploadRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1804
|
+
filesIntegrationId: string;
|
|
1805
|
+
path: string;
|
|
1806
|
+
contentType?: string;
|
|
1807
|
+
sizeBytes?: number;
|
|
1808
|
+
fileName?: string;
|
|
1809
|
+
constructor(init?: Partial<CommitUploadRequest>);
|
|
1810
|
+
getTypeName(): string;
|
|
1811
|
+
getMethod(): string;
|
|
1812
|
+
createResponse(): EmptyResponse;
|
|
1813
|
+
}
|
|
1814
|
+
/** @description Files */
|
|
1815
|
+
class DeleteFileApiRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1816
|
+
filesIntegrationId: string;
|
|
1817
|
+
path: string;
|
|
1818
|
+
constructor(init?: Partial<DeleteFileApiRequest>);
|
|
1819
|
+
getTypeName(): string;
|
|
1820
|
+
getMethod(): string;
|
|
1821
|
+
createResponse(): EmptyResponse;
|
|
1822
|
+
}
|
|
1823
|
+
/** @description Files */
|
|
1824
|
+
class DeleteManyFilesApiRequest extends CodeMashRequestBase implements IReturn<EmptyResponse> {
|
|
1825
|
+
filesIntegrationId: string;
|
|
1826
|
+
paths__: string[];
|
|
1827
|
+
constructor(init?: Partial<DeleteManyFilesApiRequest>);
|
|
1828
|
+
getTypeName(): string;
|
|
1829
|
+
getMethod(): string;
|
|
1830
|
+
createResponse(): EmptyResponse;
|
|
1831
|
+
}
|
|
1832
|
+
/** @description Files */
|
|
1833
|
+
class DownloadFileApiRequest extends CodeMashRequestBase implements IReturn<Blob> {
|
|
1834
|
+
filesIntegrationId: string;
|
|
1835
|
+
path: string;
|
|
1836
|
+
constructor(init?: Partial<DownloadFileApiRequest>);
|
|
1837
|
+
getTypeName(): string;
|
|
1838
|
+
getMethod(): string;
|
|
1839
|
+
createResponse(): globalThis.Blob;
|
|
1840
|
+
}
|
|
1841
|
+
/** @description Files */
|
|
1842
|
+
class GetFileInfoRequest extends CodeMashRequestBase implements IReturn<GetFileInfoResponse> {
|
|
1843
|
+
filesIntegrationId: string;
|
|
1844
|
+
path: string;
|
|
1845
|
+
constructor(init?: Partial<GetFileInfoRequest>);
|
|
1846
|
+
getTypeName(): string;
|
|
1847
|
+
getMethod(): string;
|
|
1848
|
+
createResponse(): GetFileInfoResponse;
|
|
1849
|
+
}
|
|
1850
|
+
/** @description Files */
|
|
1851
|
+
class GetSignedUrlRequest extends CodeMashRequestBase implements IReturn<GetSignedUrlResponse> {
|
|
1852
|
+
filesIntegrationId: string;
|
|
1853
|
+
path: string;
|
|
1854
|
+
expirationSeconds?: number;
|
|
1855
|
+
constructor(init?: Partial<GetSignedUrlRequest>);
|
|
1856
|
+
getTypeName(): string;
|
|
1857
|
+
getMethod(): string;
|
|
1858
|
+
createResponse(): GetSignedUrlResponse;
|
|
1859
|
+
}
|
|
1860
|
+
/** @description Files */
|
|
1861
|
+
class ListFilesRequest extends CodeMashListPaginationRequestBase implements IReturn<ListFilesResponse> {
|
|
1862
|
+
filesIntegrationId: string;
|
|
1863
|
+
path?: string;
|
|
1864
|
+
constructor(init?: Partial<ListFilesRequest>);
|
|
1865
|
+
getTypeName(): string;
|
|
1866
|
+
getMethod(): string;
|
|
1867
|
+
createResponse(): ListFilesResponse;
|
|
1868
|
+
}
|
|
1869
|
+
/** @description Files */
|
|
1870
|
+
class RequestUploadUrlRequest extends CodeMashRequestBase implements IReturn<RequestUploadUrlResponse> {
|
|
1871
|
+
filesIntegrationId: string;
|
|
1872
|
+
path: string;
|
|
1873
|
+
contentType: string;
|
|
1874
|
+
expirationSeconds?: number;
|
|
1875
|
+
constructor(init?: Partial<RequestUploadUrlRequest>);
|
|
1876
|
+
getTypeName(): string;
|
|
1877
|
+
getMethod(): string;
|
|
1878
|
+
createResponse(): RequestUploadUrlResponse;
|
|
1879
|
+
}
|
|
1880
|
+
class PushIntegrationSaved {
|
|
1881
|
+
integration: PushIntegration;
|
|
1882
|
+
constructor(init?: Partial<PushIntegrationSaved>);
|
|
1883
|
+
getTypeName(): string;
|
|
1884
|
+
getMethod(): string;
|
|
1885
|
+
createResponse(): void;
|
|
1886
|
+
}
|
|
1887
|
+
class PushIntegrationRenamed {
|
|
1888
|
+
id: IntegrationId;
|
|
1889
|
+
name: DisplayName;
|
|
1890
|
+
env?: Env;
|
|
1891
|
+
constructor(init?: Partial<PushIntegrationRenamed>);
|
|
1892
|
+
getTypeName(): string;
|
|
1893
|
+
getMethod(): string;
|
|
1894
|
+
createResponse(): void;
|
|
1895
|
+
}
|
|
1896
|
+
class PushIntegrationSetAsDefault {
|
|
1897
|
+
env: Env;
|
|
1898
|
+
id: IntegrationId;
|
|
1899
|
+
constructor(init?: Partial<PushIntegrationSetAsDefault>);
|
|
1900
|
+
getTypeName(): string;
|
|
1901
|
+
getMethod(): string;
|
|
1902
|
+
createResponse(): void;
|
|
1903
|
+
}
|
|
1904
|
+
class PushIntegrationDeleted {
|
|
1905
|
+
id: IntegrationId;
|
|
1906
|
+
env?: Env;
|
|
1907
|
+
constructor(init?: Partial<PushIntegrationDeleted>);
|
|
1908
|
+
getTypeName(): string;
|
|
1909
|
+
getMethod(): string;
|
|
1910
|
+
createResponse(): void;
|
|
1911
|
+
}
|
|
1912
|
+
class PushIntegrationEnabled {
|
|
1913
|
+
id: IntegrationId;
|
|
1914
|
+
env?: Env;
|
|
1915
|
+
constructor(init?: Partial<PushIntegrationEnabled>);
|
|
1916
|
+
getTypeName(): string;
|
|
1917
|
+
getMethod(): string;
|
|
1918
|
+
createResponse(): void;
|
|
1919
|
+
}
|
|
1920
|
+
class PushIntegrationDisabled {
|
|
1921
|
+
id: IntegrationId;
|
|
1922
|
+
env?: Env;
|
|
1923
|
+
constructor(init?: Partial<PushIntegrationDisabled>);
|
|
1924
|
+
getTypeName(): string;
|
|
1925
|
+
getMethod(): string;
|
|
1926
|
+
createResponse(): void;
|
|
1927
|
+
}
|
|
1928
|
+
class PushServiceEstablished {
|
|
1929
|
+
defaultTemplates?: PushTemplate[];
|
|
1930
|
+
constructor(init?: Partial<PushServiceEstablished>);
|
|
1931
|
+
getTypeName(): string;
|
|
1932
|
+
getMethod(): string;
|
|
1933
|
+
createResponse(): void;
|
|
1934
|
+
}
|
|
1935
|
+
class PushServiceEnabled {
|
|
1936
|
+
constructor(init?: Partial<PushServiceEnabled>);
|
|
1937
|
+
getTypeName(): string;
|
|
1938
|
+
getMethod(): string;
|
|
1939
|
+
createResponse(): void;
|
|
1940
|
+
}
|
|
1941
|
+
class PushServiceDisabled {
|
|
1942
|
+
constructor(init?: Partial<PushServiceDisabled>);
|
|
1943
|
+
getTypeName(): string;
|
|
1944
|
+
getMethod(): string;
|
|
1945
|
+
createResponse(): void;
|
|
1946
|
+
}
|
|
1947
|
+
class PushTemplateCreated {
|
|
1948
|
+
templateId: TemplateId;
|
|
1949
|
+
displayName: DisplayName;
|
|
1950
|
+
translations: MessageTranslation<PushMessageContent>[];
|
|
1951
|
+
channel: CommunicationChannel;
|
|
1952
|
+
description?: string;
|
|
1953
|
+
tags?: Tag[];
|
|
1954
|
+
env?: Env;
|
|
1955
|
+
constructor(init?: Partial<PushTemplateCreated>);
|
|
1956
|
+
getTypeName(): string;
|
|
1957
|
+
getMethod(): string;
|
|
1958
|
+
createResponse(): void;
|
|
1959
|
+
}
|
|
1960
|
+
class PushTemplateUpdated {
|
|
1961
|
+
templateId: TemplateId;
|
|
1962
|
+
displayName: DisplayName;
|
|
1963
|
+
translations: MessageTranslation<PushMessageContent>[];
|
|
1964
|
+
channel: CommunicationChannel;
|
|
1965
|
+
description?: string;
|
|
1966
|
+
tags?: Tag[];
|
|
1967
|
+
env?: Env;
|
|
1968
|
+
constructor(init?: Partial<PushTemplateUpdated>);
|
|
1969
|
+
getTypeName(): string;
|
|
1970
|
+
getMethod(): string;
|
|
1971
|
+
createResponse(): void;
|
|
1972
|
+
}
|
|
1973
|
+
class PushTemplateDeleted {
|
|
1974
|
+
templateId: TemplateId;
|
|
1975
|
+
env?: Env;
|
|
1976
|
+
constructor(init?: Partial<PushTemplateDeleted>);
|
|
1977
|
+
getTypeName(): string;
|
|
1978
|
+
getMethod(): string;
|
|
1979
|
+
createResponse(): void;
|
|
1980
|
+
}
|
|
1981
|
+
class PushTemplateArchived {
|
|
1982
|
+
templateId: TemplateId;
|
|
1983
|
+
env?: Env;
|
|
1984
|
+
constructor(init?: Partial<PushTemplateArchived>);
|
|
1985
|
+
getTypeName(): string;
|
|
1986
|
+
getMethod(): string;
|
|
1987
|
+
createResponse(): void;
|
|
1988
|
+
}
|
|
1989
|
+
class PushTemplateUnArchived {
|
|
1990
|
+
templateId: TemplateId;
|
|
1991
|
+
env?: Env;
|
|
1992
|
+
constructor(init?: Partial<PushTemplateUnArchived>);
|
|
1993
|
+
getTypeName(): string;
|
|
1994
|
+
getMethod(): string;
|
|
1995
|
+
createResponse(): void;
|
|
1996
|
+
}
|
|
1997
|
+
class PushTemplateMirrored {
|
|
1998
|
+
template: PushTemplate;
|
|
1999
|
+
constructor(init?: Partial<PushTemplateMirrored>);
|
|
2000
|
+
getTypeName(): string;
|
|
2001
|
+
getMethod(): string;
|
|
2002
|
+
createResponse(): void;
|
|
2003
|
+
}
|
|
2004
|
+
/** @description Sign In */
|
|
2005
|
+
class Authenticate implements IReturn<AuthenticateResponse>, IPost {
|
|
2006
|
+
/** @description AuthProvider, e.g. credentials */
|
|
2007
|
+
provider?: string;
|
|
2008
|
+
userName?: string;
|
|
2009
|
+
password?: string;
|
|
2010
|
+
rememberMe?: boolean;
|
|
2011
|
+
accessToken?: string;
|
|
2012
|
+
accessTokenSecret?: string;
|
|
2013
|
+
returnUrl?: string;
|
|
2014
|
+
errorView?: string;
|
|
2015
|
+
meta?: {
|
|
2016
|
+
[index: string]: string;
|
|
2017
|
+
};
|
|
2018
|
+
constructor(init?: Partial<Authenticate>);
|
|
2019
|
+
getTypeName(): string;
|
|
2020
|
+
getMethod(): string;
|
|
2021
|
+
createResponse(): AuthenticateResponse;
|
|
2022
|
+
}
|
|
2023
|
+
class GetAccessToken implements IReturn<GetAccessTokenResponse>, IPost {
|
|
2024
|
+
refreshToken?: string;
|
|
2025
|
+
meta?: {
|
|
2026
|
+
[index: string]: string;
|
|
2027
|
+
};
|
|
2028
|
+
constructor(init?: Partial<GetAccessToken>);
|
|
2029
|
+
getTypeName(): string;
|
|
2030
|
+
getMethod(): string;
|
|
2031
|
+
createResponse(): GetAccessTokenResponse;
|
|
2032
|
+
}
|
|
2033
|
+
class GetApiKeys implements IReturn<GetApiKeysResponse>, IGet {
|
|
2034
|
+
environment?: string;
|
|
2035
|
+
meta?: {
|
|
2036
|
+
[index: string]: string;
|
|
2037
|
+
};
|
|
2038
|
+
constructor(init?: Partial<GetApiKeys>);
|
|
2039
|
+
getTypeName(): string;
|
|
2040
|
+
getMethod(): string;
|
|
2041
|
+
createResponse(): GetApiKeysResponse;
|
|
2042
|
+
}
|
|
2043
|
+
class RegenerateApiKeys implements IReturn<RegenerateApiKeysResponse>, IPost {
|
|
2044
|
+
environment?: string;
|
|
2045
|
+
meta?: {
|
|
2046
|
+
[index: string]: string;
|
|
2047
|
+
};
|
|
2048
|
+
constructor(init?: Partial<RegenerateApiKeys>);
|
|
2049
|
+
getTypeName(): string;
|
|
2050
|
+
getMethod(): string;
|
|
2051
|
+
createResponse(): RegenerateApiKeysResponse;
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
export { CodeMashApi2 };
|