rendox-sdk 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RendoxClient.d.ts +1248 -0
- package/dist/RendoxClient.js +1080 -0
- package/package.json +37 -0
|
@@ -0,0 +1,1248 @@
|
|
|
1
|
+
export interface ProblemDetails {
|
|
2
|
+
type?: string | null;
|
|
3
|
+
title?: string | null;
|
|
4
|
+
/** @format int32 */
|
|
5
|
+
status?: number | null;
|
|
6
|
+
detail?: string | null;
|
|
7
|
+
instance?: string | null;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
10
|
+
export interface GenerationDto {
|
|
11
|
+
/** @format guid */
|
|
12
|
+
id?: string;
|
|
13
|
+
templateName?: string | null;
|
|
14
|
+
status?: string;
|
|
15
|
+
/** @format date-time */
|
|
16
|
+
createdDatetime?: string | null;
|
|
17
|
+
/** @format int64 */
|
|
18
|
+
durationMs?: number | null;
|
|
19
|
+
errorMessage?: string | null;
|
|
20
|
+
}
|
|
21
|
+
export interface TemplatePerformanceDto {
|
|
22
|
+
templateName?: string;
|
|
23
|
+
/** @format int32 */
|
|
24
|
+
totalGenerations?: number;
|
|
25
|
+
/** @format double */
|
|
26
|
+
avgDurationMs?: number;
|
|
27
|
+
/** @format int32 */
|
|
28
|
+
errorCount?: number;
|
|
29
|
+
}
|
|
30
|
+
export interface WeeklyUsageDto {
|
|
31
|
+
date?: string;
|
|
32
|
+
/** @format int32 */
|
|
33
|
+
count?: number;
|
|
34
|
+
}
|
|
35
|
+
export interface AuthResponse {
|
|
36
|
+
accessToken?: string;
|
|
37
|
+
refreshToken?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface LoginRequest {
|
|
40
|
+
email?: string;
|
|
41
|
+
password?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface RegisterResponse {
|
|
44
|
+
/** @format guid */
|
|
45
|
+
id?: string;
|
|
46
|
+
email?: string;
|
|
47
|
+
firstName?: string | null;
|
|
48
|
+
lastName?: string | null;
|
|
49
|
+
status?: string;
|
|
50
|
+
refCode?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface RegisterRequest {
|
|
53
|
+
email?: string;
|
|
54
|
+
password?: string;
|
|
55
|
+
firstName?: string;
|
|
56
|
+
lastName?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface VerifyOtpResponse {
|
|
59
|
+
verificationToken?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface VerifyOtpRequest {
|
|
62
|
+
email?: string;
|
|
63
|
+
otp?: string;
|
|
64
|
+
type?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ForgotPasswordResponse {
|
|
67
|
+
refCode?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ForgotPasswordRequest {
|
|
70
|
+
email?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface ResetPasswordRequest {
|
|
73
|
+
verificationToken?: string;
|
|
74
|
+
newPassword?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface GoogleLoginRequest {
|
|
77
|
+
googleId?: string;
|
|
78
|
+
email?: string;
|
|
79
|
+
firstName?: string;
|
|
80
|
+
lastName?: string;
|
|
81
|
+
photoUrl?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface GithubLoginRequest {
|
|
84
|
+
githubId?: string;
|
|
85
|
+
email?: string;
|
|
86
|
+
name?: string;
|
|
87
|
+
avatarUrl?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface GitlabLoginRequest {
|
|
90
|
+
gitlabId?: string;
|
|
91
|
+
email?: string;
|
|
92
|
+
name?: string;
|
|
93
|
+
avatarUrl?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface ChangePasswordRequest {
|
|
96
|
+
oldPassword?: string;
|
|
97
|
+
newPassword?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface CreateExampleCategoryCommand {
|
|
100
|
+
name?: string;
|
|
101
|
+
}
|
|
102
|
+
export interface PaginatedListOfExampleCategoryDto {
|
|
103
|
+
items?: ExampleCategoryDto[];
|
|
104
|
+
/** @format int32 */
|
|
105
|
+
pageNumber?: number;
|
|
106
|
+
/** @format int32 */
|
|
107
|
+
totalPages?: number;
|
|
108
|
+
/** @format int32 */
|
|
109
|
+
totalCount?: number;
|
|
110
|
+
hasPreviousPage?: boolean;
|
|
111
|
+
hasNextPage?: boolean;
|
|
112
|
+
}
|
|
113
|
+
export interface ExampleCategoryDto {
|
|
114
|
+
/** @format int32 */
|
|
115
|
+
categoryId?: number;
|
|
116
|
+
name?: string;
|
|
117
|
+
/** @format date-time */
|
|
118
|
+
createdDatetime?: string | null;
|
|
119
|
+
createdBy?: string | null;
|
|
120
|
+
/** @format date-time */
|
|
121
|
+
updatedDatetime?: string | null;
|
|
122
|
+
updatedBy?: string | null;
|
|
123
|
+
}
|
|
124
|
+
export interface UpdateExampleCategoryCommand {
|
|
125
|
+
/** @format int32 */
|
|
126
|
+
id?: number;
|
|
127
|
+
name?: string;
|
|
128
|
+
}
|
|
129
|
+
export interface CreateExampleProductCommand {
|
|
130
|
+
name?: string;
|
|
131
|
+
/** @format decimal */
|
|
132
|
+
price?: number;
|
|
133
|
+
/** @format int32 */
|
|
134
|
+
categoryId?: number;
|
|
135
|
+
}
|
|
136
|
+
export interface PaginatedListOfExampleProductDto {
|
|
137
|
+
items?: ExampleProductDto[];
|
|
138
|
+
/** @format int32 */
|
|
139
|
+
pageNumber?: number;
|
|
140
|
+
/** @format int32 */
|
|
141
|
+
totalPages?: number;
|
|
142
|
+
/** @format int32 */
|
|
143
|
+
totalCount?: number;
|
|
144
|
+
hasPreviousPage?: boolean;
|
|
145
|
+
hasNextPage?: boolean;
|
|
146
|
+
}
|
|
147
|
+
export interface ExampleProductDto {
|
|
148
|
+
/** @format int32 */
|
|
149
|
+
productId?: number;
|
|
150
|
+
name?: string;
|
|
151
|
+
/** @format decimal */
|
|
152
|
+
price?: number;
|
|
153
|
+
/** @format int32 */
|
|
154
|
+
categoryId?: number;
|
|
155
|
+
categoryName?: string;
|
|
156
|
+
/** @format date-time */
|
|
157
|
+
createdDatetime?: string | null;
|
|
158
|
+
createdBy?: string | null;
|
|
159
|
+
/** @format date-time */
|
|
160
|
+
updatedDatetime?: string | null;
|
|
161
|
+
updatedBy?: string | null;
|
|
162
|
+
}
|
|
163
|
+
export interface UpdateExampleProductCommand {
|
|
164
|
+
/** @format int32 */
|
|
165
|
+
id?: number;
|
|
166
|
+
name?: string;
|
|
167
|
+
/** @format decimal */
|
|
168
|
+
price?: number;
|
|
169
|
+
/** @format int32 */
|
|
170
|
+
categoryId?: number;
|
|
171
|
+
}
|
|
172
|
+
export interface CreatePaymentResponse {
|
|
173
|
+
/** @format guid */
|
|
174
|
+
paymentId?: string;
|
|
175
|
+
status?: string;
|
|
176
|
+
/** @format decimal */
|
|
177
|
+
amount?: number;
|
|
178
|
+
currency?: string;
|
|
179
|
+
}
|
|
180
|
+
export interface CreatePaymentCommand {
|
|
181
|
+
/** @format guid */
|
|
182
|
+
planId?: string;
|
|
183
|
+
paymentMethod?: string;
|
|
184
|
+
}
|
|
185
|
+
export interface PaginatedListOfPaymentDto {
|
|
186
|
+
items?: PaymentDto[];
|
|
187
|
+
/** @format int32 */
|
|
188
|
+
pageNumber?: number;
|
|
189
|
+
/** @format int32 */
|
|
190
|
+
totalPages?: number;
|
|
191
|
+
/** @format int32 */
|
|
192
|
+
totalCount?: number;
|
|
193
|
+
hasPreviousPage?: boolean;
|
|
194
|
+
hasNextPage?: boolean;
|
|
195
|
+
}
|
|
196
|
+
export interface PaymentDto {
|
|
197
|
+
/** @format guid */
|
|
198
|
+
id?: string;
|
|
199
|
+
/** @format guid */
|
|
200
|
+
userId?: string;
|
|
201
|
+
/** @format guid */
|
|
202
|
+
planId?: string | null;
|
|
203
|
+
/** @format int32 */
|
|
204
|
+
creditAmount?: number | null;
|
|
205
|
+
/** @format guid */
|
|
206
|
+
packageId?: string | null;
|
|
207
|
+
/** @format decimal */
|
|
208
|
+
amountMoney?: number;
|
|
209
|
+
currency?: string;
|
|
210
|
+
status?: string | null;
|
|
211
|
+
paymentMethod?: string | null;
|
|
212
|
+
externalRef?: string | null;
|
|
213
|
+
createdBy?: string | null;
|
|
214
|
+
/** @format date-time */
|
|
215
|
+
createdDatetime?: string | null;
|
|
216
|
+
updatedBy?: string | null;
|
|
217
|
+
/** @format date-time */
|
|
218
|
+
updatedDatetime?: string | null;
|
|
219
|
+
}
|
|
220
|
+
export interface PaginatedListOfPlanDto {
|
|
221
|
+
items?: PlanDto[];
|
|
222
|
+
/** @format int32 */
|
|
223
|
+
pageNumber?: number;
|
|
224
|
+
/** @format int32 */
|
|
225
|
+
totalPages?: number;
|
|
226
|
+
/** @format int32 */
|
|
227
|
+
totalCount?: number;
|
|
228
|
+
hasPreviousPage?: boolean;
|
|
229
|
+
hasNextPage?: boolean;
|
|
230
|
+
}
|
|
231
|
+
export interface PlanDto {
|
|
232
|
+
/** @format guid */
|
|
233
|
+
id?: string;
|
|
234
|
+
name?: string;
|
|
235
|
+
code?: string;
|
|
236
|
+
/** @format decimal */
|
|
237
|
+
price?: number | null;
|
|
238
|
+
currency?: string | null;
|
|
239
|
+
featuresConfig?: string;
|
|
240
|
+
isShow?: boolean | null;
|
|
241
|
+
/** @format int32 */
|
|
242
|
+
displayOrder?: number | null;
|
|
243
|
+
isActive?: boolean | null;
|
|
244
|
+
createdBy?: string | null;
|
|
245
|
+
/** @format date-time */
|
|
246
|
+
createdDatetime?: string | null;
|
|
247
|
+
updatedBy?: string | null;
|
|
248
|
+
/** @format date-time */
|
|
249
|
+
updatedDatetime?: string | null;
|
|
250
|
+
}
|
|
251
|
+
export interface ProjectDto {
|
|
252
|
+
/** @format guid */
|
|
253
|
+
id?: string;
|
|
254
|
+
name?: string;
|
|
255
|
+
description?: string | null;
|
|
256
|
+
status?: string | null;
|
|
257
|
+
/** @format date-time */
|
|
258
|
+
createdDatetime?: string | null;
|
|
259
|
+
}
|
|
260
|
+
export interface CreateProjectRequest {
|
|
261
|
+
name?: string;
|
|
262
|
+
description?: string | null;
|
|
263
|
+
}
|
|
264
|
+
export interface UpdateProjectRequest {
|
|
265
|
+
name?: string;
|
|
266
|
+
description?: string | null;
|
|
267
|
+
}
|
|
268
|
+
export interface ProjectApiKeyDto {
|
|
269
|
+
apiKey?: string;
|
|
270
|
+
}
|
|
271
|
+
export interface CreateProjectApiKeyRequest {
|
|
272
|
+
name?: string;
|
|
273
|
+
}
|
|
274
|
+
export interface ExportPdfUrlResponse {
|
|
275
|
+
/** @format guid */
|
|
276
|
+
jobId?: string;
|
|
277
|
+
downloadUrl?: string | null;
|
|
278
|
+
/** @format int32 */
|
|
279
|
+
expiresIn?: number;
|
|
280
|
+
status?: string;
|
|
281
|
+
}
|
|
282
|
+
export type PdfFromTemplateRequest = DocumentProcessingRequestBase & {
|
|
283
|
+
templateKey?: string;
|
|
284
|
+
fileName?: string | null;
|
|
285
|
+
};
|
|
286
|
+
export interface DocumentProcessingRequestBase {
|
|
287
|
+
replace?: Record<string, string>;
|
|
288
|
+
table?: Record<string, TableDataRequest>;
|
|
289
|
+
image?: Record<string, ImageDataRequest>;
|
|
290
|
+
qrcode?: Record<string, QrCodeDataRequest>;
|
|
291
|
+
barcode?: Record<string, BarcodeDataRequest>;
|
|
292
|
+
condition?: Record<string, boolean>;
|
|
293
|
+
}
|
|
294
|
+
export interface TableDataRequest {
|
|
295
|
+
rows?: Record<string, any>[] | null;
|
|
296
|
+
}
|
|
297
|
+
export interface ImageDataRequest {
|
|
298
|
+
src?: string;
|
|
299
|
+
/** @format int32 */
|
|
300
|
+
width?: number | null;
|
|
301
|
+
/** @format int32 */
|
|
302
|
+
height?: number | null;
|
|
303
|
+
fit?: string | null;
|
|
304
|
+
}
|
|
305
|
+
export interface QrCodeDataRequest {
|
|
306
|
+
text?: string;
|
|
307
|
+
/** @format int32 */
|
|
308
|
+
size?: number;
|
|
309
|
+
color?: string | null;
|
|
310
|
+
backgroundColor?: string | null;
|
|
311
|
+
logo?: string | null;
|
|
312
|
+
}
|
|
313
|
+
export interface BarcodeDataRequest {
|
|
314
|
+
text?: string;
|
|
315
|
+
format?: string;
|
|
316
|
+
/** @format int32 */
|
|
317
|
+
width?: number;
|
|
318
|
+
/** @format int32 */
|
|
319
|
+
height?: number;
|
|
320
|
+
includeText?: boolean;
|
|
321
|
+
color?: string | null;
|
|
322
|
+
backgroundColor?: string | null;
|
|
323
|
+
}
|
|
324
|
+
export type PdfFromFileRequest = DocumentProcessingRequestBase & {
|
|
325
|
+
fileBase64?: string;
|
|
326
|
+
fileName?: string | null;
|
|
327
|
+
};
|
|
328
|
+
export interface PaginatedListOfReportJobDto {
|
|
329
|
+
items?: ReportJobDto[];
|
|
330
|
+
/** @format int32 */
|
|
331
|
+
pageNumber?: number;
|
|
332
|
+
/** @format int32 */
|
|
333
|
+
totalPages?: number;
|
|
334
|
+
/** @format int32 */
|
|
335
|
+
totalCount?: number;
|
|
336
|
+
hasPreviousPage?: boolean;
|
|
337
|
+
hasNextPage?: boolean;
|
|
338
|
+
}
|
|
339
|
+
export interface ReportJobDto {
|
|
340
|
+
/** @format guid */
|
|
341
|
+
id?: string;
|
|
342
|
+
/** @format guid */
|
|
343
|
+
userId?: string;
|
|
344
|
+
/** @format guid */
|
|
345
|
+
apiKeyId?: string | null;
|
|
346
|
+
/** @format guid */
|
|
347
|
+
subscriptionId?: string | null;
|
|
348
|
+
sourceType?: string | null;
|
|
349
|
+
/** @format guid */
|
|
350
|
+
templateVersionId?: string | null;
|
|
351
|
+
chargedType?: string | null;
|
|
352
|
+
status?: string | null;
|
|
353
|
+
requestData?: string | null;
|
|
354
|
+
outputFilePath?: string | null;
|
|
355
|
+
errorMessage?: string | null;
|
|
356
|
+
/** @format date-time */
|
|
357
|
+
startedAt?: string | null;
|
|
358
|
+
/** @format date-time */
|
|
359
|
+
finishedAt?: string | null;
|
|
360
|
+
/** @format int64 */
|
|
361
|
+
durationMs?: number | null;
|
|
362
|
+
createdBy?: string | null;
|
|
363
|
+
/** @format date-time */
|
|
364
|
+
createdDatetime?: string | null;
|
|
365
|
+
updatedBy?: string | null;
|
|
366
|
+
/** @format date-time */
|
|
367
|
+
updatedDatetime?: string | null;
|
|
368
|
+
}
|
|
369
|
+
export interface CreateReportJobResponse {
|
|
370
|
+
/** @format guid */
|
|
371
|
+
jobId?: string;
|
|
372
|
+
status?: string;
|
|
373
|
+
chargedType?: string;
|
|
374
|
+
}
|
|
375
|
+
export interface CreateReportJobCommand {
|
|
376
|
+
templateKey?: string;
|
|
377
|
+
requestData?: JsonDocument;
|
|
378
|
+
}
|
|
379
|
+
export interface JsonDocument {
|
|
380
|
+
isDisposable?: boolean;
|
|
381
|
+
rootElement?: any;
|
|
382
|
+
}
|
|
383
|
+
export interface ProfileDto {
|
|
384
|
+
/** @format guid */
|
|
385
|
+
id?: string;
|
|
386
|
+
email?: string;
|
|
387
|
+
firstName?: string | null;
|
|
388
|
+
lastName?: string | null;
|
|
389
|
+
profileImageUrl?: string | null;
|
|
390
|
+
/** @format int32 */
|
|
391
|
+
creditBalance?: number;
|
|
392
|
+
}
|
|
393
|
+
export interface UpdateProfileRequest {
|
|
394
|
+
firstName?: string | null;
|
|
395
|
+
lastName?: string | null;
|
|
396
|
+
profileImageUrl?: string | null;
|
|
397
|
+
}
|
|
398
|
+
export type TemplateDetailResponse = TemplateResponse & {
|
|
399
|
+
fileSandboxLastTestPresigned?: string | null;
|
|
400
|
+
};
|
|
401
|
+
export type TemplateResponse = TemplateDto & {
|
|
402
|
+
activeVersion?: TemplateVersionResponse | null;
|
|
403
|
+
allVersions?: TemplateVersionResponse[];
|
|
404
|
+
};
|
|
405
|
+
export type TemplateVersionResponse = TemplateVersionDto & {
|
|
406
|
+
previewFilePathPresigned?: string | null;
|
|
407
|
+
};
|
|
408
|
+
export interface TemplateVersionDto {
|
|
409
|
+
/** @format guid */
|
|
410
|
+
id?: string;
|
|
411
|
+
/** @format guid */
|
|
412
|
+
templateId?: string;
|
|
413
|
+
/** @format int32 */
|
|
414
|
+
version?: number;
|
|
415
|
+
filePath?: string;
|
|
416
|
+
status?: string | null;
|
|
417
|
+
previewFilePath?: string | null;
|
|
418
|
+
createdBy?: string | null;
|
|
419
|
+
/** @format date-time */
|
|
420
|
+
createdDatetime?: string | null;
|
|
421
|
+
updatedBy?: string | null;
|
|
422
|
+
/** @format date-time */
|
|
423
|
+
updatedDatetime?: string | null;
|
|
424
|
+
}
|
|
425
|
+
export interface TemplateDto {
|
|
426
|
+
/** @format guid */
|
|
427
|
+
id?: string;
|
|
428
|
+
/** @format guid */
|
|
429
|
+
userId?: string;
|
|
430
|
+
/** @format guid */
|
|
431
|
+
projectId?: string | null;
|
|
432
|
+
templateKey?: string;
|
|
433
|
+
name?: string;
|
|
434
|
+
sandboxPayload?: string | null;
|
|
435
|
+
createdBy?: string | null;
|
|
436
|
+
/** @format date-time */
|
|
437
|
+
createdDatetime?: string | null;
|
|
438
|
+
updatedBy?: string | null;
|
|
439
|
+
/** @format date-time */
|
|
440
|
+
updatedDatetime?: string | null;
|
|
441
|
+
}
|
|
442
|
+
export interface PaginatedListOfTemplateResponse {
|
|
443
|
+
items?: TemplateResponse[];
|
|
444
|
+
/** @format int32 */
|
|
445
|
+
pageNumber?: number;
|
|
446
|
+
/** @format int32 */
|
|
447
|
+
totalPages?: number;
|
|
448
|
+
/** @format int32 */
|
|
449
|
+
totalCount?: number;
|
|
450
|
+
hasPreviousPage?: boolean;
|
|
451
|
+
hasNextPage?: boolean;
|
|
452
|
+
}
|
|
453
|
+
export interface SwitchVersionRequest {
|
|
454
|
+
/** @format int32 */
|
|
455
|
+
version?: number | null;
|
|
456
|
+
}
|
|
457
|
+
export interface DownloadTemplateResponse {
|
|
458
|
+
url?: string;
|
|
459
|
+
}
|
|
460
|
+
export interface PaginatedListOfCreditTransactionDto {
|
|
461
|
+
items?: CreditTransactionDto[];
|
|
462
|
+
/** @format int32 */
|
|
463
|
+
pageNumber?: number;
|
|
464
|
+
/** @format int32 */
|
|
465
|
+
totalPages?: number;
|
|
466
|
+
/** @format int32 */
|
|
467
|
+
totalCount?: number;
|
|
468
|
+
hasPreviousPage?: boolean;
|
|
469
|
+
hasNextPage?: boolean;
|
|
470
|
+
}
|
|
471
|
+
export interface CreditTransactionDto {
|
|
472
|
+
/** @format guid */
|
|
473
|
+
id?: string;
|
|
474
|
+
/** @format guid */
|
|
475
|
+
userId?: string;
|
|
476
|
+
/** @format guid */
|
|
477
|
+
paymentId?: string | null;
|
|
478
|
+
transactionType?: string;
|
|
479
|
+
/** @format int32 */
|
|
480
|
+
amount?: number;
|
|
481
|
+
/** @format int32 */
|
|
482
|
+
balanceAfter?: number;
|
|
483
|
+
referenceId?: string | null;
|
|
484
|
+
createdBy?: string | null;
|
|
485
|
+
/** @format date-time */
|
|
486
|
+
createdDatetime?: string | null;
|
|
487
|
+
updatedBy?: string | null;
|
|
488
|
+
/** @format date-time */
|
|
489
|
+
updatedDatetime?: string | null;
|
|
490
|
+
}
|
|
491
|
+
export interface CreateUserResponse {
|
|
492
|
+
/** @format guid */
|
|
493
|
+
id?: string;
|
|
494
|
+
}
|
|
495
|
+
export interface CreateUserRequest {
|
|
496
|
+
email?: string;
|
|
497
|
+
password?: string;
|
|
498
|
+
firstName?: string | null;
|
|
499
|
+
lastName?: string | null;
|
|
500
|
+
status?: string | null;
|
|
501
|
+
}
|
|
502
|
+
export interface PaginatedListOfUserDto {
|
|
503
|
+
items?: UserDto[];
|
|
504
|
+
/** @format int32 */
|
|
505
|
+
pageNumber?: number;
|
|
506
|
+
/** @format int32 */
|
|
507
|
+
totalPages?: number;
|
|
508
|
+
/** @format int32 */
|
|
509
|
+
totalCount?: number;
|
|
510
|
+
hasPreviousPage?: boolean;
|
|
511
|
+
hasNextPage?: boolean;
|
|
512
|
+
}
|
|
513
|
+
export interface UserDto {
|
|
514
|
+
/** @format guid */
|
|
515
|
+
id?: string;
|
|
516
|
+
email?: string;
|
|
517
|
+
passwordHash?: string | null;
|
|
518
|
+
firstName?: string | null;
|
|
519
|
+
lastName?: string | null;
|
|
520
|
+
phoneNumber?: string | null;
|
|
521
|
+
profileImageUrl?: string | null;
|
|
522
|
+
googleId?: string | null;
|
|
523
|
+
/** @format int32 */
|
|
524
|
+
creditBalance?: number;
|
|
525
|
+
status?: string | null;
|
|
526
|
+
createdBy?: string | null;
|
|
527
|
+
/** @format date-time */
|
|
528
|
+
createdDatetime?: string | null;
|
|
529
|
+
updatedBy?: string | null;
|
|
530
|
+
/** @format date-time */
|
|
531
|
+
updatedDatetime?: string | null;
|
|
532
|
+
}
|
|
533
|
+
export interface UpdateUserRequest {
|
|
534
|
+
email?: string | null;
|
|
535
|
+
firstName?: string | null;
|
|
536
|
+
lastName?: string | null;
|
|
537
|
+
status?: string | null;
|
|
538
|
+
}
|
|
539
|
+
export interface CreateApiKeyResponse {
|
|
540
|
+
/** @format guid */
|
|
541
|
+
id?: string;
|
|
542
|
+
apiKey?: string;
|
|
543
|
+
}
|
|
544
|
+
export interface CreateApiKeyRequest {
|
|
545
|
+
name?: string | null;
|
|
546
|
+
/** @format int32 */
|
|
547
|
+
quotaPerDay?: number | null;
|
|
548
|
+
}
|
|
549
|
+
export interface ApiKeyDto {
|
|
550
|
+
/** @format guid */
|
|
551
|
+
id?: string;
|
|
552
|
+
/** @format guid */
|
|
553
|
+
userId?: string;
|
|
554
|
+
/** @format guid */
|
|
555
|
+
projectId?: string | null;
|
|
556
|
+
xApiKey?: string;
|
|
557
|
+
name?: string | null;
|
|
558
|
+
isActive?: boolean | null;
|
|
559
|
+
createdBy?: string | null;
|
|
560
|
+
/** @format date-time */
|
|
561
|
+
createdDatetime?: string | null;
|
|
562
|
+
updatedBy?: string | null;
|
|
563
|
+
/** @format date-time */
|
|
564
|
+
updatedDatetime?: string | null;
|
|
565
|
+
}
|
|
566
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
567
|
+
export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
|
|
568
|
+
export interface FullRequestParams extends Omit<RequestInit, "body"> {
|
|
569
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
570
|
+
secure?: boolean;
|
|
571
|
+
/** request path */
|
|
572
|
+
path: string;
|
|
573
|
+
/** content type of request body */
|
|
574
|
+
type?: ContentType;
|
|
575
|
+
/** query params */
|
|
576
|
+
query?: QueryParamsType;
|
|
577
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
578
|
+
format?: ResponseFormat;
|
|
579
|
+
/** request body */
|
|
580
|
+
body?: unknown;
|
|
581
|
+
/** base url */
|
|
582
|
+
baseUrl?: string;
|
|
583
|
+
/** request cancellation token */
|
|
584
|
+
cancelToken?: CancelToken;
|
|
585
|
+
}
|
|
586
|
+
export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
|
|
587
|
+
export interface ApiConfig<SecurityDataType = unknown> {
|
|
588
|
+
baseUrl?: string;
|
|
589
|
+
baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
|
|
590
|
+
securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
|
|
591
|
+
customFetch?: typeof fetch;
|
|
592
|
+
}
|
|
593
|
+
export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
|
|
594
|
+
data: D;
|
|
595
|
+
error: E;
|
|
596
|
+
}
|
|
597
|
+
type CancelToken = Symbol | string | number;
|
|
598
|
+
export declare enum ContentType {
|
|
599
|
+
Json = "application/json",
|
|
600
|
+
JsonApi = "application/vnd.api+json",
|
|
601
|
+
FormData = "multipart/form-data",
|
|
602
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
603
|
+
Text = "text/plain"
|
|
604
|
+
}
|
|
605
|
+
export declare class HttpClient<SecurityDataType = unknown> {
|
|
606
|
+
baseUrl: string;
|
|
607
|
+
private securityData;
|
|
608
|
+
private securityWorker?;
|
|
609
|
+
private abortControllers;
|
|
610
|
+
private customFetch;
|
|
611
|
+
private baseApiParams;
|
|
612
|
+
constructor(apiConfig?: ApiConfig<SecurityDataType>);
|
|
613
|
+
setSecurityData: (data: SecurityDataType | null) => void;
|
|
614
|
+
protected encodeQueryParam(key: string, value: any): string;
|
|
615
|
+
protected addQueryParam(query: QueryParamsType, key: string): string;
|
|
616
|
+
protected addArrayQueryParam(query: QueryParamsType, key: string): any;
|
|
617
|
+
protected toQueryString(rawQuery?: QueryParamsType): string;
|
|
618
|
+
protected addQueryParams(rawQuery?: QueryParamsType): string;
|
|
619
|
+
private contentFormatters;
|
|
620
|
+
protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams;
|
|
621
|
+
protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
|
|
622
|
+
abortRequest: (cancelToken: CancelToken) => void;
|
|
623
|
+
request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* @title Rendox Report API
|
|
627
|
+
* @version v1
|
|
628
|
+
*
|
|
629
|
+
* API for generating PDF reports from Word templates
|
|
630
|
+
*/
|
|
631
|
+
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
632
|
+
apiKeys: {
|
|
633
|
+
/**
|
|
634
|
+
* No description
|
|
635
|
+
*
|
|
636
|
+
* @name DeleteApiKeys
|
|
637
|
+
* @request DELETE:/api-keys/{id}
|
|
638
|
+
*/
|
|
639
|
+
deleteApiKeys: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
640
|
+
};
|
|
641
|
+
analytics: {
|
|
642
|
+
/**
|
|
643
|
+
* No description
|
|
644
|
+
*
|
|
645
|
+
* @tags Analytics
|
|
646
|
+
* @name GetAnalyticsGenerations
|
|
647
|
+
* @request GET:/analytics/generations
|
|
648
|
+
* @secure
|
|
649
|
+
*/
|
|
650
|
+
getAnalyticsGenerations: (params?: RequestParams) => Promise<HttpResponse<GenerationDto[], any>>;
|
|
651
|
+
/**
|
|
652
|
+
* No description
|
|
653
|
+
*
|
|
654
|
+
* @tags Analytics
|
|
655
|
+
* @name GetAnalyticsTemplates
|
|
656
|
+
* @request GET:/analytics/templates
|
|
657
|
+
* @secure
|
|
658
|
+
*/
|
|
659
|
+
getAnalyticsTemplates: (params?: RequestParams) => Promise<HttpResponse<TemplatePerformanceDto[], any>>;
|
|
660
|
+
/**
|
|
661
|
+
* No description
|
|
662
|
+
*
|
|
663
|
+
* @tags Analytics
|
|
664
|
+
* @name GetAnalyticsUsageWeekly
|
|
665
|
+
* @request GET:/analytics/usage/weekly
|
|
666
|
+
* @secure
|
|
667
|
+
*/
|
|
668
|
+
getAnalyticsUsageWeekly: (params?: RequestParams) => Promise<HttpResponse<WeeklyUsageDto[], any>>;
|
|
669
|
+
};
|
|
670
|
+
auth: {
|
|
671
|
+
/**
|
|
672
|
+
* No description
|
|
673
|
+
*
|
|
674
|
+
* @tags Auth
|
|
675
|
+
* @name PostAuthLogin
|
|
676
|
+
* @request POST:/auth/login
|
|
677
|
+
*/
|
|
678
|
+
postAuthLogin: (data: LoginRequest, params?: RequestParams) => Promise<HttpResponse<AuthResponse, any>>;
|
|
679
|
+
/**
|
|
680
|
+
* No description
|
|
681
|
+
*
|
|
682
|
+
* @tags Auth
|
|
683
|
+
* @name PostAuthRegister
|
|
684
|
+
* @request POST:/auth/register
|
|
685
|
+
*/
|
|
686
|
+
postAuthRegister: (data: RegisterRequest, params?: RequestParams) => Promise<HttpResponse<RegisterResponse, any>>;
|
|
687
|
+
/**
|
|
688
|
+
* No description
|
|
689
|
+
*
|
|
690
|
+
* @tags Auth
|
|
691
|
+
* @name PostAuthVerifyOtp
|
|
692
|
+
* @request POST:/auth/verify-otp
|
|
693
|
+
*/
|
|
694
|
+
postAuthVerifyOtp: (data: VerifyOtpRequest, params?: RequestParams) => Promise<HttpResponse<VerifyOtpResponse, any>>;
|
|
695
|
+
/**
|
|
696
|
+
* No description
|
|
697
|
+
*
|
|
698
|
+
* @tags Auth
|
|
699
|
+
* @name PostAuthRefreshToken
|
|
700
|
+
* @request POST:/auth/refresh-token
|
|
701
|
+
*/
|
|
702
|
+
postAuthRefreshToken: (params?: RequestParams) => Promise<HttpResponse<AuthResponse, void>>;
|
|
703
|
+
/**
|
|
704
|
+
* No description
|
|
705
|
+
*
|
|
706
|
+
* @tags Auth
|
|
707
|
+
* @name PostAuthRevokeToken
|
|
708
|
+
* @request POST:/auth/revoke-token
|
|
709
|
+
*/
|
|
710
|
+
postAuthRevokeToken: (params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
711
|
+
/**
|
|
712
|
+
* No description
|
|
713
|
+
*
|
|
714
|
+
* @tags Auth
|
|
715
|
+
* @name PostAuthForgotPassword
|
|
716
|
+
* @request POST:/auth/forgot-password
|
|
717
|
+
*/
|
|
718
|
+
postAuthForgotPassword: (data: ForgotPasswordRequest, params?: RequestParams) => Promise<HttpResponse<ForgotPasswordResponse, any>>;
|
|
719
|
+
/**
|
|
720
|
+
* No description
|
|
721
|
+
*
|
|
722
|
+
* @tags Auth
|
|
723
|
+
* @name PostAuthResetPassword
|
|
724
|
+
* @request POST:/auth/reset-password
|
|
725
|
+
*/
|
|
726
|
+
postAuthResetPassword: (data: ResetPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
727
|
+
/**
|
|
728
|
+
* No description
|
|
729
|
+
*
|
|
730
|
+
* @tags Auth
|
|
731
|
+
* @name PostAuthGoogleLogin
|
|
732
|
+
* @request POST:/auth/google-login
|
|
733
|
+
*/
|
|
734
|
+
postAuthGoogleLogin: (data: GoogleLoginRequest, params?: RequestParams) => Promise<HttpResponse<AuthResponse, any>>;
|
|
735
|
+
/**
|
|
736
|
+
* No description
|
|
737
|
+
*
|
|
738
|
+
* @tags Auth
|
|
739
|
+
* @name PostAuthGithubLogin
|
|
740
|
+
* @request POST:/auth/github-login
|
|
741
|
+
*/
|
|
742
|
+
postAuthGithubLogin: (data: GithubLoginRequest, params?: RequestParams) => Promise<HttpResponse<AuthResponse, any>>;
|
|
743
|
+
/**
|
|
744
|
+
* No description
|
|
745
|
+
*
|
|
746
|
+
* @tags Auth
|
|
747
|
+
* @name PostAuthGitlabLogin
|
|
748
|
+
* @request POST:/auth/gitlab-login
|
|
749
|
+
*/
|
|
750
|
+
postAuthGitlabLogin: (data: GitlabLoginRequest, params?: RequestParams) => Promise<HttpResponse<AuthResponse, any>>;
|
|
751
|
+
/**
|
|
752
|
+
* No description
|
|
753
|
+
*
|
|
754
|
+
* @tags Auth
|
|
755
|
+
* @name PostAuthChangePassword
|
|
756
|
+
* @request POST:/auth/change-password
|
|
757
|
+
* @secure
|
|
758
|
+
*/
|
|
759
|
+
postAuthChangePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, void>>;
|
|
760
|
+
};
|
|
761
|
+
exampleCategories: {
|
|
762
|
+
/**
|
|
763
|
+
* No description
|
|
764
|
+
*
|
|
765
|
+
* @tags Example Categories
|
|
766
|
+
* @name PostExampleCategories
|
|
767
|
+
* @request POST:/example-categories
|
|
768
|
+
*/
|
|
769
|
+
postExampleCategories: (data: CreateExampleCategoryCommand, params?: RequestParams) => Promise<HttpResponse<number, ProblemDetails>>;
|
|
770
|
+
/**
|
|
771
|
+
* No description
|
|
772
|
+
*
|
|
773
|
+
* @tags Example Categories
|
|
774
|
+
* @name GetExampleCategories
|
|
775
|
+
* @request GET:/example-categories
|
|
776
|
+
*/
|
|
777
|
+
getExampleCategories: (query: {
|
|
778
|
+
/** @format int32 */
|
|
779
|
+
PageNumber: number;
|
|
780
|
+
/** @format int32 */
|
|
781
|
+
PageSize: number;
|
|
782
|
+
SearchTerm?: string | null;
|
|
783
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfExampleCategoryDto, any>>;
|
|
784
|
+
/**
|
|
785
|
+
* No description
|
|
786
|
+
*
|
|
787
|
+
* @tags Example Categories
|
|
788
|
+
* @name GetExampleCategoryById
|
|
789
|
+
* @request GET:/example-categories/{id}
|
|
790
|
+
*/
|
|
791
|
+
getExampleCategoryById: (id: number, params?: RequestParams) => Promise<HttpResponse<ExampleCategoryDto, ProblemDetails>>;
|
|
792
|
+
/**
|
|
793
|
+
* No description
|
|
794
|
+
*
|
|
795
|
+
* @tags Example Categories
|
|
796
|
+
* @name PutExampleCategories
|
|
797
|
+
* @request PUT:/example-categories/{id}
|
|
798
|
+
*/
|
|
799
|
+
putExampleCategories: (id: number, data: UpdateExampleCategoryCommand, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
800
|
+
/**
|
|
801
|
+
* No description
|
|
802
|
+
*
|
|
803
|
+
* @tags Example Categories
|
|
804
|
+
* @name DeleteExampleCategories
|
|
805
|
+
* @request DELETE:/example-categories/{id}
|
|
806
|
+
*/
|
|
807
|
+
deleteExampleCategories: (id: number, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
808
|
+
};
|
|
809
|
+
exampleProducts: {
|
|
810
|
+
/**
|
|
811
|
+
* No description
|
|
812
|
+
*
|
|
813
|
+
* @tags Example Products
|
|
814
|
+
* @name PostExampleProducts
|
|
815
|
+
* @request POST:/example-products
|
|
816
|
+
*/
|
|
817
|
+
postExampleProducts: (data: CreateExampleProductCommand, params?: RequestParams) => Promise<HttpResponse<number, ProblemDetails>>;
|
|
818
|
+
/**
|
|
819
|
+
* No description
|
|
820
|
+
*
|
|
821
|
+
* @tags Example Products
|
|
822
|
+
* @name GetExampleProducts
|
|
823
|
+
* @request GET:/example-products
|
|
824
|
+
*/
|
|
825
|
+
getExampleProducts: (query: {
|
|
826
|
+
/** @format int32 */
|
|
827
|
+
PageNumber: number;
|
|
828
|
+
/** @format int32 */
|
|
829
|
+
PageSize: number;
|
|
830
|
+
SearchTerm?: string | null;
|
|
831
|
+
/** @format int32 */
|
|
832
|
+
CategoryId?: number | null;
|
|
833
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfExampleProductDto, any>>;
|
|
834
|
+
/**
|
|
835
|
+
* No description
|
|
836
|
+
*
|
|
837
|
+
* @tags Example Products
|
|
838
|
+
* @name GetExampleProductById
|
|
839
|
+
* @request GET:/example-products/{id}
|
|
840
|
+
*/
|
|
841
|
+
getExampleProductById: (id: number, params?: RequestParams) => Promise<HttpResponse<ExampleProductDto, ProblemDetails>>;
|
|
842
|
+
/**
|
|
843
|
+
* No description
|
|
844
|
+
*
|
|
845
|
+
* @tags Example Products
|
|
846
|
+
* @name PutExampleProducts
|
|
847
|
+
* @request PUT:/example-products/{id}
|
|
848
|
+
*/
|
|
849
|
+
putExampleProducts: (id: number, data: UpdateExampleProductCommand, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
850
|
+
/**
|
|
851
|
+
* No description
|
|
852
|
+
*
|
|
853
|
+
* @tags Example Products
|
|
854
|
+
* @name DeleteExampleProducts
|
|
855
|
+
* @request DELETE:/example-products/{id}
|
|
856
|
+
*/
|
|
857
|
+
deleteExampleProducts: (id: number, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
858
|
+
};
|
|
859
|
+
payments: {
|
|
860
|
+
/**
|
|
861
|
+
* No description
|
|
862
|
+
*
|
|
863
|
+
* @tags Payments
|
|
864
|
+
* @name PostPayments
|
|
865
|
+
* @request POST:/payments
|
|
866
|
+
* @secure
|
|
867
|
+
*/
|
|
868
|
+
postPayments: (data: CreatePaymentCommand, params?: RequestParams) => Promise<HttpResponse<CreatePaymentResponse, ProblemDetails>>;
|
|
869
|
+
/**
|
|
870
|
+
* No description
|
|
871
|
+
*
|
|
872
|
+
* @tags Payments
|
|
873
|
+
* @name GetPayments
|
|
874
|
+
* @request GET:/payments
|
|
875
|
+
* @secure
|
|
876
|
+
*/
|
|
877
|
+
getPayments: (query: {
|
|
878
|
+
/** @format int32 */
|
|
879
|
+
PageNumber: number;
|
|
880
|
+
/** @format int32 */
|
|
881
|
+
PageSize: number;
|
|
882
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfPaymentDto, any>>;
|
|
883
|
+
};
|
|
884
|
+
plans: {
|
|
885
|
+
/**
|
|
886
|
+
* No description
|
|
887
|
+
*
|
|
888
|
+
* @tags Plans
|
|
889
|
+
* @name GetPlans
|
|
890
|
+
* @request GET:/plans
|
|
891
|
+
* @secure
|
|
892
|
+
*/
|
|
893
|
+
getPlans: (query: {
|
|
894
|
+
/** @format int32 */
|
|
895
|
+
PageNumber: number;
|
|
896
|
+
/** @format int32 */
|
|
897
|
+
PageSize: number;
|
|
898
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfPlanDto, any>>;
|
|
899
|
+
};
|
|
900
|
+
projects: {
|
|
901
|
+
/**
|
|
902
|
+
* No description
|
|
903
|
+
*
|
|
904
|
+
* @tags Projects
|
|
905
|
+
* @name GetProjectsAll
|
|
906
|
+
* @request GET:/projects
|
|
907
|
+
* @secure
|
|
908
|
+
*/
|
|
909
|
+
getProjectsAll: (params?: RequestParams) => Promise<HttpResponse<ProjectDto[], any>>;
|
|
910
|
+
/**
|
|
911
|
+
* No description
|
|
912
|
+
*
|
|
913
|
+
* @tags Projects
|
|
914
|
+
* @name PostProjects
|
|
915
|
+
* @request POST:/projects
|
|
916
|
+
* @secure
|
|
917
|
+
*/
|
|
918
|
+
postProjects: (data: CreateProjectRequest, params?: RequestParams) => Promise<HttpResponse<string, any>>;
|
|
919
|
+
/**
|
|
920
|
+
* No description
|
|
921
|
+
*
|
|
922
|
+
* @tags Projects
|
|
923
|
+
* @name GetProjects
|
|
924
|
+
* @request GET:/projects/{id}
|
|
925
|
+
* @secure
|
|
926
|
+
*/
|
|
927
|
+
getProjects: (id: string, params?: RequestParams) => Promise<HttpResponse<ProjectDto, void>>;
|
|
928
|
+
/**
|
|
929
|
+
* No description
|
|
930
|
+
*
|
|
931
|
+
* @tags Projects
|
|
932
|
+
* @name PutProjects
|
|
933
|
+
* @request PUT:/projects/{id}
|
|
934
|
+
* @secure
|
|
935
|
+
*/
|
|
936
|
+
putProjects: (id: string, data: UpdateProjectRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
937
|
+
/**
|
|
938
|
+
* No description
|
|
939
|
+
*
|
|
940
|
+
* @tags Projects
|
|
941
|
+
* @name DeleteProjects
|
|
942
|
+
* @request DELETE:/projects/{id}
|
|
943
|
+
* @secure
|
|
944
|
+
*/
|
|
945
|
+
deleteProjects: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
946
|
+
/**
|
|
947
|
+
* No description
|
|
948
|
+
*
|
|
949
|
+
* @tags Projects
|
|
950
|
+
* @name PostProjectsApiKeys
|
|
951
|
+
* @request POST:/projects/{id}/api-keys
|
|
952
|
+
* @secure
|
|
953
|
+
*/
|
|
954
|
+
postProjectsApiKeys: (id: string, data: CreateProjectApiKeyRequest, params?: RequestParams) => Promise<HttpResponse<ProjectApiKeyDto, any>>;
|
|
955
|
+
};
|
|
956
|
+
render: {
|
|
957
|
+
/**
|
|
958
|
+
* No description
|
|
959
|
+
*
|
|
960
|
+
* @tags Render
|
|
961
|
+
* @name PostRenderTemplatePdf
|
|
962
|
+
* @request POST:/render/template-pdf
|
|
963
|
+
* @secure
|
|
964
|
+
*/
|
|
965
|
+
postRenderTemplatePdf: (data: PdfFromTemplateRequest, params?: RequestParams) => Promise<HttpResponse<ExportPdfUrlResponse, ProblemDetails>>;
|
|
966
|
+
/**
|
|
967
|
+
* No description
|
|
968
|
+
*
|
|
969
|
+
* @tags Render
|
|
970
|
+
* @name PostRenderTemplateSandbox
|
|
971
|
+
* @request POST:/render/template-sandbox/{templateKey}
|
|
972
|
+
* @secure
|
|
973
|
+
*/
|
|
974
|
+
postRenderTemplateSandbox: (templateKey: string, data: PdfFromTemplateRequest, query?: {
|
|
975
|
+
fileName?: string | null;
|
|
976
|
+
}, params?: RequestParams) => Promise<HttpResponse<ExportPdfUrlResponse, ProblemDetails>>;
|
|
977
|
+
/**
|
|
978
|
+
* No description
|
|
979
|
+
*
|
|
980
|
+
* @tags Render
|
|
981
|
+
* @name PostRenderDocxPdf
|
|
982
|
+
* @request POST:/render/docx-pdf
|
|
983
|
+
* @secure
|
|
984
|
+
*/
|
|
985
|
+
postRenderDocxPdf: (data: PdfFromFileRequest, params?: RequestParams) => Promise<HttpResponse<ExportPdfUrlResponse, ProblemDetails>>;
|
|
986
|
+
/**
|
|
987
|
+
* No description
|
|
988
|
+
*
|
|
989
|
+
* @tags Render
|
|
990
|
+
* @name GetRenderJobs
|
|
991
|
+
* @request GET:/render/jobs
|
|
992
|
+
* @secure
|
|
993
|
+
*/
|
|
994
|
+
getRenderJobs: (query?: {
|
|
995
|
+
templateKey?: string | null;
|
|
996
|
+
status?: string | null;
|
|
997
|
+
/** @format date-time */
|
|
998
|
+
fromDate?: string | null;
|
|
999
|
+
/** @format date-time */
|
|
1000
|
+
toDate?: string | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* @format int32
|
|
1003
|
+
* @default 1
|
|
1004
|
+
*/
|
|
1005
|
+
pageNumber?: number;
|
|
1006
|
+
/**
|
|
1007
|
+
* @format int32
|
|
1008
|
+
* @default 10
|
|
1009
|
+
*/
|
|
1010
|
+
pageSize?: number;
|
|
1011
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfReportJobDto, ProblemDetails>>;
|
|
1012
|
+
/**
|
|
1013
|
+
* No description
|
|
1014
|
+
*
|
|
1015
|
+
* @tags Render
|
|
1016
|
+
* @name GetRenderJobById
|
|
1017
|
+
* @request GET:/render/jobs/{id}
|
|
1018
|
+
* @secure
|
|
1019
|
+
*/
|
|
1020
|
+
getRenderJobById: (id: string, params?: RequestParams) => Promise<HttpResponse<ReportJobDto, ProblemDetails>>;
|
|
1021
|
+
};
|
|
1022
|
+
reportJobs: {
|
|
1023
|
+
/**
|
|
1024
|
+
* No description
|
|
1025
|
+
*
|
|
1026
|
+
* @tags Report Jobs
|
|
1027
|
+
* @name PostReportJobs
|
|
1028
|
+
* @request POST:/report-jobs
|
|
1029
|
+
* @secure
|
|
1030
|
+
*/
|
|
1031
|
+
postReportJobs: (data: CreateReportJobCommand, params?: RequestParams) => Promise<HttpResponse<CreateReportJobResponse, void | ProblemDetails>>;
|
|
1032
|
+
/**
|
|
1033
|
+
* No description
|
|
1034
|
+
*
|
|
1035
|
+
* @tags Report Jobs
|
|
1036
|
+
* @name GetReportJobs
|
|
1037
|
+
* @request GET:/report-jobs
|
|
1038
|
+
* @secure
|
|
1039
|
+
*/
|
|
1040
|
+
getReportJobs: (query: {
|
|
1041
|
+
/** @format int32 */
|
|
1042
|
+
PageNumber: number;
|
|
1043
|
+
/** @format int32 */
|
|
1044
|
+
PageSize: number;
|
|
1045
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfReportJobDto, any>>;
|
|
1046
|
+
};
|
|
1047
|
+
settings: {
|
|
1048
|
+
/**
|
|
1049
|
+
* No description
|
|
1050
|
+
*
|
|
1051
|
+
* @tags Settings
|
|
1052
|
+
* @name GetSettingsProfile
|
|
1053
|
+
* @request GET:/settings/profile
|
|
1054
|
+
* @secure
|
|
1055
|
+
*/
|
|
1056
|
+
getSettingsProfile: (params?: RequestParams) => Promise<HttpResponse<ProfileDto, any>>;
|
|
1057
|
+
/**
|
|
1058
|
+
* No description
|
|
1059
|
+
*
|
|
1060
|
+
* @tags Settings
|
|
1061
|
+
* @name PutSettingsProfile
|
|
1062
|
+
* @request PUT:/settings/profile
|
|
1063
|
+
* @secure
|
|
1064
|
+
*/
|
|
1065
|
+
putSettingsProfile: (data: UpdateProfileRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
1066
|
+
};
|
|
1067
|
+
templates: {
|
|
1068
|
+
/**
|
|
1069
|
+
* No description
|
|
1070
|
+
*
|
|
1071
|
+
* @tags Templates
|
|
1072
|
+
* @name PostTemplates
|
|
1073
|
+
* @request POST:/templates
|
|
1074
|
+
* @secure
|
|
1075
|
+
*/
|
|
1076
|
+
postTemplates: (data: {
|
|
1077
|
+
/** @format binary */
|
|
1078
|
+
file?: File | null;
|
|
1079
|
+
}, query?: {
|
|
1080
|
+
name?: string | null;
|
|
1081
|
+
templateKey?: string | null;
|
|
1082
|
+
/** @format guid */
|
|
1083
|
+
project_id?: string | null;
|
|
1084
|
+
}, params?: RequestParams) => Promise<HttpResponse<TemplateDetailResponse, ProblemDetails>>;
|
|
1085
|
+
/**
|
|
1086
|
+
* No description
|
|
1087
|
+
*
|
|
1088
|
+
* @tags Templates
|
|
1089
|
+
* @name GetTemplates
|
|
1090
|
+
* @request GET:/templates
|
|
1091
|
+
* @secure
|
|
1092
|
+
*/
|
|
1093
|
+
getTemplates: (query?: {
|
|
1094
|
+
status?: string | null;
|
|
1095
|
+
search?: string | null;
|
|
1096
|
+
/**
|
|
1097
|
+
* @format int32
|
|
1098
|
+
* @default 1
|
|
1099
|
+
*/
|
|
1100
|
+
pageNumber?: number;
|
|
1101
|
+
/**
|
|
1102
|
+
* @format int32
|
|
1103
|
+
* @default 10
|
|
1104
|
+
*/
|
|
1105
|
+
pageSize?: number;
|
|
1106
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfTemplateResponse, ProblemDetails>>;
|
|
1107
|
+
/**
|
|
1108
|
+
* No description
|
|
1109
|
+
*
|
|
1110
|
+
* @tags Templates
|
|
1111
|
+
* @name GetTemplateById
|
|
1112
|
+
* @request GET:/templates/{templateKey}
|
|
1113
|
+
* @secure
|
|
1114
|
+
*/
|
|
1115
|
+
getTemplateById: (templateKey: string, params?: RequestParams) => Promise<HttpResponse<TemplateDetailResponse, ProblemDetails>>;
|
|
1116
|
+
/**
|
|
1117
|
+
* No description
|
|
1118
|
+
*
|
|
1119
|
+
* @tags Templates
|
|
1120
|
+
* @name PutTemplates
|
|
1121
|
+
* @request PUT:/templates/{templateKey}
|
|
1122
|
+
* @secure
|
|
1123
|
+
*/
|
|
1124
|
+
putTemplates: (templateKey: string, data: {
|
|
1125
|
+
/** @format binary */
|
|
1126
|
+
file?: File | null;
|
|
1127
|
+
}, query?: {
|
|
1128
|
+
name?: string | null;
|
|
1129
|
+
status?: string | null;
|
|
1130
|
+
sandboxPayload?: string | null;
|
|
1131
|
+
/** @format guid */
|
|
1132
|
+
project_id?: string | null;
|
|
1133
|
+
}, params?: RequestParams) => Promise<HttpResponse<TemplateDetailResponse, ProblemDetails>>;
|
|
1134
|
+
/**
|
|
1135
|
+
* No description
|
|
1136
|
+
*
|
|
1137
|
+
* @tags Templates
|
|
1138
|
+
* @name DeleteTemplates
|
|
1139
|
+
* @request DELETE:/templates/{templateKey}
|
|
1140
|
+
* @secure
|
|
1141
|
+
*/
|
|
1142
|
+
deleteTemplates: (templateKey: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
1143
|
+
/**
|
|
1144
|
+
* No description
|
|
1145
|
+
*
|
|
1146
|
+
* @tags Templates
|
|
1147
|
+
* @name PutTemplatesSwitchVersion
|
|
1148
|
+
* @request PUT:/templates/{templateKey}/switch-version
|
|
1149
|
+
* @secure
|
|
1150
|
+
*/
|
|
1151
|
+
putTemplatesSwitchVersion: (templateKey: string, data: SwitchVersionRequest, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
1152
|
+
/**
|
|
1153
|
+
* No description
|
|
1154
|
+
*
|
|
1155
|
+
* @tags Templates
|
|
1156
|
+
* @name DownloadTemplate
|
|
1157
|
+
* @request GET:/templates/{templateKey}/download
|
|
1158
|
+
* @secure
|
|
1159
|
+
*/
|
|
1160
|
+
downloadTemplate: (templateKey: string, params?: RequestParams) => Promise<HttpResponse<DownloadTemplateResponse, ProblemDetails>>;
|
|
1161
|
+
};
|
|
1162
|
+
transactions: {
|
|
1163
|
+
/**
|
|
1164
|
+
* No description
|
|
1165
|
+
*
|
|
1166
|
+
* @tags Transactions
|
|
1167
|
+
* @name GetTransactions
|
|
1168
|
+
* @request GET:/transactions
|
|
1169
|
+
* @secure
|
|
1170
|
+
*/
|
|
1171
|
+
getTransactions: (query: {
|
|
1172
|
+
/** @format int32 */
|
|
1173
|
+
PageNumber: number;
|
|
1174
|
+
/** @format int32 */
|
|
1175
|
+
PageSize: number;
|
|
1176
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfCreditTransactionDto, any>>;
|
|
1177
|
+
};
|
|
1178
|
+
users: {
|
|
1179
|
+
/**
|
|
1180
|
+
* No description
|
|
1181
|
+
*
|
|
1182
|
+
* @tags Users
|
|
1183
|
+
* @name PostUsers
|
|
1184
|
+
* @request POST:/users
|
|
1185
|
+
* @secure
|
|
1186
|
+
*/
|
|
1187
|
+
postUsers: (data: CreateUserRequest, params?: RequestParams) => Promise<HttpResponse<CreateUserResponse, ProblemDetails>>;
|
|
1188
|
+
/**
|
|
1189
|
+
* No description
|
|
1190
|
+
*
|
|
1191
|
+
* @tags Users
|
|
1192
|
+
* @name GetUsers
|
|
1193
|
+
* @request GET:/users
|
|
1194
|
+
* @secure
|
|
1195
|
+
*/
|
|
1196
|
+
getUsers: (query?: {
|
|
1197
|
+
status?: string | null;
|
|
1198
|
+
search?: string | null;
|
|
1199
|
+
/**
|
|
1200
|
+
* @format int32
|
|
1201
|
+
* @default 1
|
|
1202
|
+
*/
|
|
1203
|
+
pageNumber?: number;
|
|
1204
|
+
/**
|
|
1205
|
+
* @format int32
|
|
1206
|
+
* @default 10
|
|
1207
|
+
*/
|
|
1208
|
+
pageSize?: number;
|
|
1209
|
+
}, params?: RequestParams) => Promise<HttpResponse<PaginatedListOfUserDto, any>>;
|
|
1210
|
+
/**
|
|
1211
|
+
* No description
|
|
1212
|
+
*
|
|
1213
|
+
* @tags Users
|
|
1214
|
+
* @name GetUserById
|
|
1215
|
+
* @request GET:/users/{id}
|
|
1216
|
+
* @secure
|
|
1217
|
+
*/
|
|
1218
|
+
getUserById: (id: string, params?: RequestParams) => Promise<HttpResponse<UserDto, ProblemDetails>>;
|
|
1219
|
+
/**
|
|
1220
|
+
* No description
|
|
1221
|
+
*
|
|
1222
|
+
* @tags Users
|
|
1223
|
+
* @name PutUsers
|
|
1224
|
+
* @request PUT:/users/{id}
|
|
1225
|
+
* @secure
|
|
1226
|
+
*/
|
|
1227
|
+
putUsers: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
|
|
1228
|
+
/**
|
|
1229
|
+
* No description
|
|
1230
|
+
*
|
|
1231
|
+
* @tags Users
|
|
1232
|
+
* @name PostUsersApiKeys
|
|
1233
|
+
* @request POST:/users/{id}/api-keys
|
|
1234
|
+
* @secure
|
|
1235
|
+
*/
|
|
1236
|
+
postUsersApiKeys: (id: string, data: CreateApiKeyRequest, params?: RequestParams) => Promise<HttpResponse<CreateApiKeyResponse, ProblemDetails>>;
|
|
1237
|
+
/**
|
|
1238
|
+
* No description
|
|
1239
|
+
*
|
|
1240
|
+
* @tags Users
|
|
1241
|
+
* @name GetUsersApiKeys
|
|
1242
|
+
* @request GET:/users/{id}/api-keys
|
|
1243
|
+
* @secure
|
|
1244
|
+
*/
|
|
1245
|
+
getUsersApiKeys: (id: string, params?: RequestParams) => Promise<HttpResponse<ApiKeyDto[], ProblemDetails>>;
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
export {};
|