@dazl/internal-api-client 1.25.4 → 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 +66 -34
- 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 +71 -34
package/src/types.gen.ts
CHANGED
|
@@ -152,15 +152,14 @@ export type StageCommentContext = {
|
|
|
152
152
|
type: 'stage';
|
|
153
153
|
pagePath: string;
|
|
154
154
|
anchor: {
|
|
155
|
-
|
|
155
|
+
targetSelectors?: Array<{
|
|
156
156
|
tagName?: string;
|
|
157
157
|
classes?: Array<string>;
|
|
158
158
|
attributes?: {
|
|
159
159
|
[key: string]: string;
|
|
160
160
|
};
|
|
161
161
|
nthChild?: number;
|
|
162
|
-
|
|
163
|
-
};
|
|
162
|
+
}>;
|
|
164
163
|
ancestors?: Array<{
|
|
165
164
|
tagName?: string;
|
|
166
165
|
classes?: Array<string>;
|
|
@@ -168,10 +167,8 @@ export type StageCommentContext = {
|
|
|
168
167
|
[key: string]: string;
|
|
169
168
|
};
|
|
170
169
|
nthChild?: number;
|
|
171
|
-
reactKey?: string;
|
|
172
170
|
}>;
|
|
173
|
-
|
|
174
|
-
nthChild?: number;
|
|
171
|
+
text?: string;
|
|
175
172
|
};
|
|
176
173
|
};
|
|
177
174
|
|
|
@@ -335,19 +332,11 @@ export type DeleteProjectInput = {
|
|
|
335
332
|
*/
|
|
336
333
|
projectName: string;
|
|
337
334
|
} & {
|
|
338
|
-
/**
|
|
339
|
-
* The admin user's internal ID
|
|
340
|
-
*/
|
|
341
|
-
adminUserId?: number;
|
|
342
335
|
/**
|
|
343
336
|
* The admin user's Dazl ID
|
|
344
337
|
*/
|
|
345
338
|
adminDazlUserId: string;
|
|
346
339
|
} & {
|
|
347
|
-
/**
|
|
348
|
-
* The target user's internal ID
|
|
349
|
-
*/
|
|
350
|
-
targetUserId?: number;
|
|
351
340
|
/**
|
|
352
341
|
* The target user's Dazl ID
|
|
353
342
|
*/
|
|
@@ -360,10 +349,6 @@ export type CloneProjectCreateInput = {
|
|
|
360
349
|
*/
|
|
361
350
|
originalProjectName: string;
|
|
362
351
|
} & {
|
|
363
|
-
/**
|
|
364
|
-
* The admin user's internal ID
|
|
365
|
-
*/
|
|
366
|
-
adminUserId?: number;
|
|
367
352
|
/**
|
|
368
353
|
* The admin user's Dazl ID
|
|
369
354
|
*/
|
|
@@ -371,10 +356,6 @@ export type CloneProjectCreateInput = {
|
|
|
371
356
|
};
|
|
372
357
|
|
|
373
358
|
export type CloneProjectLogInput = {
|
|
374
|
-
/**
|
|
375
|
-
* The internal ID of the original project owner
|
|
376
|
-
*/
|
|
377
|
-
originalProjectOwnerId?: number;
|
|
378
359
|
/**
|
|
379
360
|
* The Dazl ID of the original project owner
|
|
380
361
|
*/
|
|
@@ -388,10 +369,6 @@ export type CloneProjectLogInput = {
|
|
|
388
369
|
*/
|
|
389
370
|
originalProjectName: string;
|
|
390
371
|
} & {
|
|
391
|
-
/**
|
|
392
|
-
* The admin user's internal ID
|
|
393
|
-
*/
|
|
394
|
-
adminUserId?: number;
|
|
395
372
|
/**
|
|
396
373
|
* The admin user's Dazl ID
|
|
397
374
|
*/
|
|
@@ -419,19 +396,11 @@ export type UpdateCreditsInput = {
|
|
|
419
396
|
*/
|
|
420
397
|
reason?: string | null;
|
|
421
398
|
} & {
|
|
422
|
-
/**
|
|
423
|
-
* The admin user's internal ID
|
|
424
|
-
*/
|
|
425
|
-
adminUserId?: number;
|
|
426
399
|
/**
|
|
427
400
|
* The admin user's Dazl ID
|
|
428
401
|
*/
|
|
429
402
|
adminDazlUserId: string;
|
|
430
403
|
} & {
|
|
431
|
-
/**
|
|
432
|
-
* The target user's internal ID
|
|
433
|
-
*/
|
|
434
|
-
targetUserId?: number;
|
|
435
404
|
/**
|
|
436
405
|
* The target user's Dazl ID
|
|
437
406
|
*/
|
|
@@ -5316,6 +5285,74 @@ export type AdminUpdateCreditsResponses = {
|
|
|
5316
5285
|
|
|
5317
5286
|
export type AdminUpdateCreditsResponse = AdminUpdateCreditsResponses[keyof AdminUpdateCreditsResponses];
|
|
5318
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
|
+
|
|
5319
5356
|
export type GetFeatureTogglesData = {
|
|
5320
5357
|
body?: never;
|
|
5321
5358
|
path?: never;
|