@dazl/internal-api-client 1.12.0 → 1.13.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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk.gen.d.ts +10 -1
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +38 -0
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +239 -0
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/sdk.gen.ts +43 -1
- package/src/types.gen.ts +261 -0
package/src/types.gen.ts
CHANGED
|
@@ -414,6 +414,30 @@ export type UpdateCreditsInput = {
|
|
|
414
414
|
reason?: string | null;
|
|
415
415
|
};
|
|
416
416
|
|
|
417
|
+
export type FeatureToggle = {
|
|
418
|
+
name: string;
|
|
419
|
+
scope: 'Editor' | 'Site';
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
export type PurgeUserAccountInput = {
|
|
423
|
+
/**
|
|
424
|
+
* dazlId of the admin user performing the purge, for audit purposes
|
|
425
|
+
*/
|
|
426
|
+
adminDazlId: string;
|
|
427
|
+
/**
|
|
428
|
+
* dazlId of the user being purged
|
|
429
|
+
*/
|
|
430
|
+
targetUserDazlId: string;
|
|
431
|
+
/**
|
|
432
|
+
* Batch deletion id, to tie together logs, audits, and the like for this purge operation
|
|
433
|
+
*/
|
|
434
|
+
deletionBatchId: string;
|
|
435
|
+
/**
|
|
436
|
+
* If true, will not actually delete resources but will return what would be deleted
|
|
437
|
+
*/
|
|
438
|
+
dryRun?: boolean;
|
|
439
|
+
};
|
|
440
|
+
|
|
417
441
|
export type GetByDazlIdData = {
|
|
418
442
|
body?: never;
|
|
419
443
|
path: {
|
|
@@ -2805,6 +2829,14 @@ export type InternalCreateCommentResponses = {
|
|
|
2805
2829
|
resolved?: CommentResolved;
|
|
2806
2830
|
context?: CommentContext;
|
|
2807
2831
|
};
|
|
2832
|
+
/**
|
|
2833
|
+
* Authors and mentions from created comment with id, email and picture to render avatars
|
|
2834
|
+
*/
|
|
2835
|
+
participants: Array<{
|
|
2836
|
+
userId: string;
|
|
2837
|
+
email: string;
|
|
2838
|
+
picture?: string;
|
|
2839
|
+
}>;
|
|
2808
2840
|
};
|
|
2809
2841
|
};
|
|
2810
2842
|
|
|
@@ -4858,3 +4890,232 @@ export type AdminUpdateCreditsResponses = {
|
|
|
4858
4890
|
};
|
|
4859
4891
|
|
|
4860
4892
|
export type AdminUpdateCreditsResponse = AdminUpdateCreditsResponses[keyof AdminUpdateCreditsResponses];
|
|
4893
|
+
|
|
4894
|
+
export type GetFeatureTogglesData = {
|
|
4895
|
+
body?: never;
|
|
4896
|
+
path?: never;
|
|
4897
|
+
query?: {
|
|
4898
|
+
scope?: 'Editor' | 'Site';
|
|
4899
|
+
};
|
|
4900
|
+
url: '/env-config';
|
|
4901
|
+
};
|
|
4902
|
+
|
|
4903
|
+
export type GetFeatureTogglesErrors = {
|
|
4904
|
+
/**
|
|
4905
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
4906
|
+
*/
|
|
4907
|
+
400: {
|
|
4908
|
+
message: string;
|
|
4909
|
+
issues?: string;
|
|
4910
|
+
};
|
|
4911
|
+
/**
|
|
4912
|
+
* Unauthorized
|
|
4913
|
+
*/
|
|
4914
|
+
401: ErrorResponse;
|
|
4915
|
+
/**
|
|
4916
|
+
* Forbidden
|
|
4917
|
+
*/
|
|
4918
|
+
403: ErrorResponse;
|
|
4919
|
+
/**
|
|
4920
|
+
* Not Found
|
|
4921
|
+
*/
|
|
4922
|
+
404: ErrorResponse;
|
|
4923
|
+
/**
|
|
4924
|
+
* Conflict
|
|
4925
|
+
*/
|
|
4926
|
+
409: ErrorResponse;
|
|
4927
|
+
/**
|
|
4928
|
+
* Internal server error
|
|
4929
|
+
*/
|
|
4930
|
+
500: ErrorResponse;
|
|
4931
|
+
/**
|
|
4932
|
+
* Service Unavailable
|
|
4933
|
+
*/
|
|
4934
|
+
503: ErrorResponse;
|
|
4935
|
+
};
|
|
4936
|
+
|
|
4937
|
+
export type GetFeatureTogglesError = GetFeatureTogglesErrors[keyof GetFeatureTogglesErrors];
|
|
4938
|
+
|
|
4939
|
+
export type GetFeatureTogglesResponses = {
|
|
4940
|
+
/**
|
|
4941
|
+
* Returns feature toggles, optionally filtered by scope
|
|
4942
|
+
*/
|
|
4943
|
+
200: {
|
|
4944
|
+
toggles: Array<FeatureToggle>;
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
4947
|
+
|
|
4948
|
+
export type GetFeatureTogglesResponse = GetFeatureTogglesResponses[keyof GetFeatureTogglesResponses];
|
|
4949
|
+
|
|
4950
|
+
export type OpenFeatureToggleData = {
|
|
4951
|
+
body: {
|
|
4952
|
+
name: string;
|
|
4953
|
+
scope: 'Editor' | 'Site';
|
|
4954
|
+
};
|
|
4955
|
+
path?: never;
|
|
4956
|
+
query?: never;
|
|
4957
|
+
url: '/env-config/open';
|
|
4958
|
+
};
|
|
4959
|
+
|
|
4960
|
+
export type OpenFeatureToggleErrors = {
|
|
4961
|
+
/**
|
|
4962
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
4963
|
+
*/
|
|
4964
|
+
400: {
|
|
4965
|
+
message: string;
|
|
4966
|
+
issues?: string;
|
|
4967
|
+
};
|
|
4968
|
+
/**
|
|
4969
|
+
* Unauthorized
|
|
4970
|
+
*/
|
|
4971
|
+
401: ErrorResponse;
|
|
4972
|
+
/**
|
|
4973
|
+
* Forbidden
|
|
4974
|
+
*/
|
|
4975
|
+
403: ErrorResponse;
|
|
4976
|
+
/**
|
|
4977
|
+
* Not Found
|
|
4978
|
+
*/
|
|
4979
|
+
404: ErrorResponse;
|
|
4980
|
+
/**
|
|
4981
|
+
* Conflict
|
|
4982
|
+
*/
|
|
4983
|
+
409: ErrorResponse;
|
|
4984
|
+
/**
|
|
4985
|
+
* Internal server error
|
|
4986
|
+
*/
|
|
4987
|
+
500: ErrorResponse;
|
|
4988
|
+
/**
|
|
4989
|
+
* Service Unavailable
|
|
4990
|
+
*/
|
|
4991
|
+
503: ErrorResponse;
|
|
4992
|
+
};
|
|
4993
|
+
|
|
4994
|
+
export type OpenFeatureToggleError = OpenFeatureToggleErrors[keyof OpenFeatureToggleErrors];
|
|
4995
|
+
|
|
4996
|
+
export type OpenFeatureToggleResponses = {
|
|
4997
|
+
/**
|
|
4998
|
+
* Opens a feature toggle
|
|
4999
|
+
*/
|
|
5000
|
+
200: {
|
|
5001
|
+
success: boolean;
|
|
5002
|
+
};
|
|
5003
|
+
};
|
|
5004
|
+
|
|
5005
|
+
export type OpenFeatureToggleResponse = OpenFeatureToggleResponses[keyof OpenFeatureToggleResponses];
|
|
5006
|
+
|
|
5007
|
+
export type CloseFeatureToggleData = {
|
|
5008
|
+
body: {
|
|
5009
|
+
name: string;
|
|
5010
|
+
};
|
|
5011
|
+
path?: never;
|
|
5012
|
+
query?: never;
|
|
5013
|
+
url: '/env-config/close';
|
|
5014
|
+
};
|
|
5015
|
+
|
|
5016
|
+
export type CloseFeatureToggleErrors = {
|
|
5017
|
+
/**
|
|
5018
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5019
|
+
*/
|
|
5020
|
+
400: {
|
|
5021
|
+
message: string;
|
|
5022
|
+
issues?: string;
|
|
5023
|
+
};
|
|
5024
|
+
/**
|
|
5025
|
+
* Unauthorized
|
|
5026
|
+
*/
|
|
5027
|
+
401: ErrorResponse;
|
|
5028
|
+
/**
|
|
5029
|
+
* Forbidden
|
|
5030
|
+
*/
|
|
5031
|
+
403: ErrorResponse;
|
|
5032
|
+
/**
|
|
5033
|
+
* Not Found
|
|
5034
|
+
*/
|
|
5035
|
+
404: ErrorResponse;
|
|
5036
|
+
/**
|
|
5037
|
+
* Conflict
|
|
5038
|
+
*/
|
|
5039
|
+
409: ErrorResponse;
|
|
5040
|
+
/**
|
|
5041
|
+
* Internal server error
|
|
5042
|
+
*/
|
|
5043
|
+
500: ErrorResponse;
|
|
5044
|
+
/**
|
|
5045
|
+
* Service Unavailable
|
|
5046
|
+
*/
|
|
5047
|
+
503: ErrorResponse;
|
|
5048
|
+
};
|
|
5049
|
+
|
|
5050
|
+
export type CloseFeatureToggleError = CloseFeatureToggleErrors[keyof CloseFeatureToggleErrors];
|
|
5051
|
+
|
|
5052
|
+
export type CloseFeatureToggleResponses = {
|
|
5053
|
+
/**
|
|
5054
|
+
* Closes a feature toggle
|
|
5055
|
+
*/
|
|
5056
|
+
200: {
|
|
5057
|
+
success: boolean;
|
|
5058
|
+
};
|
|
5059
|
+
};
|
|
5060
|
+
|
|
5061
|
+
export type CloseFeatureToggleResponse = CloseFeatureToggleResponses[keyof CloseFeatureToggleResponses];
|
|
5062
|
+
|
|
5063
|
+
export type PurgeUserAccountData = {
|
|
5064
|
+
body: PurgeUserAccountInput;
|
|
5065
|
+
path?: never;
|
|
5066
|
+
query?: never;
|
|
5067
|
+
url: '/purge/user-account';
|
|
5068
|
+
};
|
|
5069
|
+
|
|
5070
|
+
export type PurgeUserAccountErrors = {
|
|
5071
|
+
/**
|
|
5072
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5073
|
+
*/
|
|
5074
|
+
400: {
|
|
5075
|
+
message: string;
|
|
5076
|
+
issues?: string;
|
|
5077
|
+
};
|
|
5078
|
+
/**
|
|
5079
|
+
* Unauthorized
|
|
5080
|
+
*/
|
|
5081
|
+
401: ErrorResponse;
|
|
5082
|
+
/**
|
|
5083
|
+
* Forbidden
|
|
5084
|
+
*/
|
|
5085
|
+
403: ErrorResponse;
|
|
5086
|
+
/**
|
|
5087
|
+
* Not Found
|
|
5088
|
+
*/
|
|
5089
|
+
404: ErrorResponse;
|
|
5090
|
+
/**
|
|
5091
|
+
* Conflict
|
|
5092
|
+
*/
|
|
5093
|
+
409: ErrorResponse;
|
|
5094
|
+
/**
|
|
5095
|
+
* Internal server error
|
|
5096
|
+
*/
|
|
5097
|
+
500: ErrorResponse;
|
|
5098
|
+
/**
|
|
5099
|
+
* Service Unavailable
|
|
5100
|
+
*/
|
|
5101
|
+
503: ErrorResponse;
|
|
5102
|
+
};
|
|
5103
|
+
|
|
5104
|
+
export type PurgeUserAccountError = PurgeUserAccountErrors[keyof PurgeUserAccountErrors];
|
|
5105
|
+
|
|
5106
|
+
export type PurgeUserAccountResponses = {
|
|
5107
|
+
/**
|
|
5108
|
+
* User account purged from all systems
|
|
5109
|
+
*/
|
|
5110
|
+
200: {
|
|
5111
|
+
success: boolean;
|
|
5112
|
+
results: {
|
|
5113
|
+
[key: string]: {
|
|
5114
|
+
discovered: Array<string>;
|
|
5115
|
+
deleted: Array<string>;
|
|
5116
|
+
};
|
|
5117
|
+
};
|
|
5118
|
+
};
|
|
5119
|
+
};
|
|
5120
|
+
|
|
5121
|
+
export type PurgeUserAccountResponse = PurgeUserAccountResponses[keyof PurgeUserAccountResponses];
|