@dazl/internal-api-client 1.26.0 → 1.26.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/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +5 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +13 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +63 -28
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/client.gen.ts +1 -4
- package/src/client/utils.gen.ts +6 -8
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +15 -1
- package/src/types.gen.ts +68 -28
package/src/types.gen.ts
CHANGED
|
@@ -332,19 +332,11 @@ export type DeleteProjectInput = {
|
|
|
332
332
|
*/
|
|
333
333
|
projectName: string;
|
|
334
334
|
} & {
|
|
335
|
-
/**
|
|
336
|
-
* The admin user's internal ID
|
|
337
|
-
*/
|
|
338
|
-
adminUserId?: number;
|
|
339
335
|
/**
|
|
340
336
|
* The admin user's Dazl ID
|
|
341
337
|
*/
|
|
342
338
|
adminDazlUserId: string;
|
|
343
339
|
} & {
|
|
344
|
-
/**
|
|
345
|
-
* The target user's internal ID
|
|
346
|
-
*/
|
|
347
|
-
targetUserId?: number;
|
|
348
340
|
/**
|
|
349
341
|
* The target user's Dazl ID
|
|
350
342
|
*/
|
|
@@ -357,10 +349,6 @@ export type CloneProjectCreateInput = {
|
|
|
357
349
|
*/
|
|
358
350
|
originalProjectName: string;
|
|
359
351
|
} & {
|
|
360
|
-
/**
|
|
361
|
-
* The admin user's internal ID
|
|
362
|
-
*/
|
|
363
|
-
adminUserId?: number;
|
|
364
352
|
/**
|
|
365
353
|
* The admin user's Dazl ID
|
|
366
354
|
*/
|
|
@@ -368,10 +356,6 @@ export type CloneProjectCreateInput = {
|
|
|
368
356
|
};
|
|
369
357
|
|
|
370
358
|
export type CloneProjectLogInput = {
|
|
371
|
-
/**
|
|
372
|
-
* The internal ID of the original project owner
|
|
373
|
-
*/
|
|
374
|
-
originalProjectOwnerId?: number;
|
|
375
359
|
/**
|
|
376
360
|
* The Dazl ID of the original project owner
|
|
377
361
|
*/
|
|
@@ -385,10 +369,6 @@ export type CloneProjectLogInput = {
|
|
|
385
369
|
*/
|
|
386
370
|
originalProjectName: string;
|
|
387
371
|
} & {
|
|
388
|
-
/**
|
|
389
|
-
* The admin user's internal ID
|
|
390
|
-
*/
|
|
391
|
-
adminUserId?: number;
|
|
392
372
|
/**
|
|
393
373
|
* The admin user's Dazl ID
|
|
394
374
|
*/
|
|
@@ -416,19 +396,11 @@ export type UpdateCreditsInput = {
|
|
|
416
396
|
*/
|
|
417
397
|
reason?: string | null;
|
|
418
398
|
} & {
|
|
419
|
-
/**
|
|
420
|
-
* The admin user's internal ID
|
|
421
|
-
*/
|
|
422
|
-
adminUserId?: number;
|
|
423
399
|
/**
|
|
424
400
|
* The admin user's Dazl ID
|
|
425
401
|
*/
|
|
426
402
|
adminDazlUserId: string;
|
|
427
403
|
} & {
|
|
428
|
-
/**
|
|
429
|
-
* The target user's internal ID
|
|
430
|
-
*/
|
|
431
|
-
targetUserId?: number;
|
|
432
404
|
/**
|
|
433
405
|
* The target user's Dazl ID
|
|
434
406
|
*/
|
|
@@ -5313,6 +5285,74 @@ export type AdminUpdateCreditsResponses = {
|
|
|
5313
5285
|
|
|
5314
5286
|
export type AdminUpdateCreditsResponse = AdminUpdateCreditsResponses[keyof AdminUpdateCreditsResponses];
|
|
5315
5287
|
|
|
5288
|
+
export type AdminLogActionData = {
|
|
5289
|
+
body: {
|
|
5290
|
+
action: string;
|
|
5291
|
+
/**
|
|
5292
|
+
* The target user's Dazl ID
|
|
5293
|
+
*/
|
|
5294
|
+
targetDazlUserId?: string;
|
|
5295
|
+
targetProjectId?: string;
|
|
5296
|
+
message: string;
|
|
5297
|
+
reason?: string;
|
|
5298
|
+
} & {
|
|
5299
|
+
/**
|
|
5300
|
+
* The admin user's Dazl ID
|
|
5301
|
+
*/
|
|
5302
|
+
adminDazlUserId: string;
|
|
5303
|
+
};
|
|
5304
|
+
path?: never;
|
|
5305
|
+
query?: never;
|
|
5306
|
+
url: '/admin/action/log';
|
|
5307
|
+
};
|
|
5308
|
+
|
|
5309
|
+
export type AdminLogActionErrors = {
|
|
5310
|
+
/**
|
|
5311
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5312
|
+
*/
|
|
5313
|
+
400: {
|
|
5314
|
+
message: string;
|
|
5315
|
+
issues?: string;
|
|
5316
|
+
};
|
|
5317
|
+
/**
|
|
5318
|
+
* Unauthorized
|
|
5319
|
+
*/
|
|
5320
|
+
401: ErrorResponse;
|
|
5321
|
+
/**
|
|
5322
|
+
* Forbidden
|
|
5323
|
+
*/
|
|
5324
|
+
403: ErrorResponse;
|
|
5325
|
+
/**
|
|
5326
|
+
* Not Found
|
|
5327
|
+
*/
|
|
5328
|
+
404: ErrorResponse;
|
|
5329
|
+
/**
|
|
5330
|
+
* Conflict
|
|
5331
|
+
*/
|
|
5332
|
+
409: ErrorResponse;
|
|
5333
|
+
/**
|
|
5334
|
+
* Internal server error
|
|
5335
|
+
*/
|
|
5336
|
+
500: ErrorResponse;
|
|
5337
|
+
/**
|
|
5338
|
+
* Service Unavailable
|
|
5339
|
+
*/
|
|
5340
|
+
503: ErrorResponse;
|
|
5341
|
+
};
|
|
5342
|
+
|
|
5343
|
+
export type AdminLogActionError = AdminLogActionErrors[keyof AdminLogActionErrors];
|
|
5344
|
+
|
|
5345
|
+
export type AdminLogActionResponses = {
|
|
5346
|
+
/**
|
|
5347
|
+
* Admin action logged successfully
|
|
5348
|
+
*/
|
|
5349
|
+
200: {
|
|
5350
|
+
success: boolean;
|
|
5351
|
+
};
|
|
5352
|
+
};
|
|
5353
|
+
|
|
5354
|
+
export type AdminLogActionResponse = AdminLogActionResponses[keyof AdminLogActionResponses];
|
|
5355
|
+
|
|
5316
5356
|
export type GetFeatureTogglesData = {
|
|
5317
5357
|
body?: never;
|
|
5318
5358
|
path?: never;
|