waldur-js-client 7.9.6-dev.0 → 7.9.6-dev.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/sdk.gen.d.ts +1 -1
- package/dist/sdk.gen.js +5 -5
- package/dist/types.gen.d.ts +26 -23
- package/package.json +1 -1
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -5873,7 +5873,7 @@ export declare const userActionsSummaryRetrieve: <ThrowOnError extends boolean =
|
|
|
5873
5873
|
*/
|
|
5874
5874
|
export declare const userActionsSummaryCount: <ThrowOnError extends boolean = false>(options?: Options<UserActionsSummaryCountData, ThrowOnError>) => import("./client").RequestResult<UserActionsSummaryCountResponses, unknown, ThrowOnError, "fields">;
|
|
5875
5875
|
/**
|
|
5876
|
-
* Trigger update of user actions
|
|
5876
|
+
* Trigger update of user actions
|
|
5877
5877
|
*/
|
|
5878
5878
|
export declare const userActionsUpdateActions: <ThrowOnError extends boolean = false>(options?: Options<UserActionsUpdateActionsData, ThrowOnError>) => import("./client").RequestResult<UserActionsUpdateActionsResponses, unknown, ThrowOnError, "fields">;
|
|
5879
5879
|
export declare const userAgreementsList: <ThrowOnError extends boolean = false>(options?: Options<UserAgreementsListData, ThrowOnError>) => import("./client").RequestResult<UserAgreementsListResponses, unknown, ThrowOnError, "fields">;
|
package/dist/sdk.gen.js
CHANGED
|
@@ -33553,7 +33553,7 @@ export const userActionsRetrieve = (options) => {
|
|
|
33553
33553
|
type: 'http'
|
|
33554
33554
|
}
|
|
33555
33555
|
],
|
|
33556
|
-
url: '/api/user-actions/{
|
|
33556
|
+
url: '/api/user-actions/{uuid}/',
|
|
33557
33557
|
...options
|
|
33558
33558
|
});
|
|
33559
33559
|
};
|
|
@@ -33572,7 +33572,7 @@ export const userActionsExecuteAction = (options) => {
|
|
|
33572
33572
|
type: 'http'
|
|
33573
33573
|
}
|
|
33574
33574
|
],
|
|
33575
|
-
url: '/api/user-actions/{
|
|
33575
|
+
url: '/api/user-actions/{uuid}/execute_action/',
|
|
33576
33576
|
...options,
|
|
33577
33577
|
headers: {
|
|
33578
33578
|
'Content-Type': 'application/json',
|
|
@@ -33595,7 +33595,7 @@ export const userActionsSilence = (options) => {
|
|
|
33595
33595
|
type: 'http'
|
|
33596
33596
|
}
|
|
33597
33597
|
],
|
|
33598
|
-
url: '/api/user-actions/{
|
|
33598
|
+
url: '/api/user-actions/{uuid}/silence/',
|
|
33599
33599
|
...options,
|
|
33600
33600
|
headers: {
|
|
33601
33601
|
'Content-Type': 'application/json',
|
|
@@ -33618,7 +33618,7 @@ export const userActionsUnsilence = (options) => {
|
|
|
33618
33618
|
type: 'http'
|
|
33619
33619
|
}
|
|
33620
33620
|
],
|
|
33621
|
-
url: '/api/user-actions/{
|
|
33621
|
+
url: '/api/user-actions/{uuid}/unsilence/',
|
|
33622
33622
|
...options
|
|
33623
33623
|
});
|
|
33624
33624
|
};
|
|
@@ -33684,7 +33684,7 @@ export const userActionsSummaryCount = (options) => {
|
|
|
33684
33684
|
});
|
|
33685
33685
|
};
|
|
33686
33686
|
/**
|
|
33687
|
-
* Trigger update of user actions
|
|
33687
|
+
* Trigger update of user actions
|
|
33688
33688
|
*/
|
|
33689
33689
|
export const userActionsUpdateActions = (options) => {
|
|
33690
33690
|
return (options?.client ?? _heyApiClient).post({
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -2329,7 +2329,6 @@ export type CoreAuthToken = {
|
|
|
2329
2329
|
export type CoreStates = 'CREATION_SCHEDULED' | 'CREATING' | 'UPDATE_SCHEDULED' | 'UPDATING' | 'DELETION_SCHEDULED' | 'DELETING' | 'OK' | 'ERRED';
|
|
2330
2330
|
export type CorrectiveAction = {
|
|
2331
2331
|
label: string;
|
|
2332
|
-
url: string;
|
|
2333
2332
|
category: CategoryEnum;
|
|
2334
2333
|
severity: SeverityEnum;
|
|
2335
2334
|
method?: string;
|
|
@@ -2339,6 +2338,10 @@ export type CorrectiveAction = {
|
|
|
2339
2338
|
metadata?: {
|
|
2340
2339
|
[key: string]: unknown;
|
|
2341
2340
|
};
|
|
2341
|
+
route_name?: string | null;
|
|
2342
|
+
route_params?: {
|
|
2343
|
+
[key: string]: unknown;
|
|
2344
|
+
};
|
|
2342
2345
|
};
|
|
2343
2346
|
export type CostsForPeriod = {
|
|
2344
2347
|
readonly total_price: string;
|
|
@@ -15816,8 +15819,6 @@ export type UserAction = {
|
|
|
15816
15819
|
description: string;
|
|
15817
15820
|
urgency: UrgencyEnum;
|
|
15818
15821
|
due_date?: string | null;
|
|
15819
|
-
action_url?: string;
|
|
15820
|
-
metadata?: string;
|
|
15821
15822
|
is_silenced?: boolean;
|
|
15822
15823
|
silenced_until?: string | null;
|
|
15823
15824
|
readonly is_temporarily_silenced: boolean;
|
|
@@ -15828,6 +15829,20 @@ export type UserAction = {
|
|
|
15828
15829
|
readonly related_object_type: string;
|
|
15829
15830
|
readonly corrective_actions: Array<CorrectiveAction>;
|
|
15830
15831
|
readonly days_until_due: number | null;
|
|
15832
|
+
/**
|
|
15833
|
+
* UI-Router state name for navigation
|
|
15834
|
+
*/
|
|
15835
|
+
route_name?: string;
|
|
15836
|
+
/**
|
|
15837
|
+
* Parameters for route navigation
|
|
15838
|
+
*/
|
|
15839
|
+
route_params?: string;
|
|
15840
|
+
project_name?: string;
|
|
15841
|
+
project_uuid?: string | null;
|
|
15842
|
+
organization_name?: string;
|
|
15843
|
+
organization_uuid?: string | null;
|
|
15844
|
+
offering_name?: string;
|
|
15845
|
+
offering_type?: string;
|
|
15831
15846
|
};
|
|
15832
15847
|
export type UserActionExecution = {
|
|
15833
15848
|
readonly id: number;
|
|
@@ -57320,13 +57335,10 @@ export type UserActionsCountResponses = {
|
|
|
57320
57335
|
export type UserActionsRetrieveData = {
|
|
57321
57336
|
body?: never;
|
|
57322
57337
|
path: {
|
|
57323
|
-
|
|
57324
|
-
* A unique integer value identifying this user action.
|
|
57325
|
-
*/
|
|
57326
|
-
id: number;
|
|
57338
|
+
uuid: string;
|
|
57327
57339
|
};
|
|
57328
57340
|
query?: never;
|
|
57329
|
-
url: '/api/user-actions/{
|
|
57341
|
+
url: '/api/user-actions/{uuid}/';
|
|
57330
57342
|
};
|
|
57331
57343
|
export type UserActionsRetrieveResponses = {
|
|
57332
57344
|
200: UserAction;
|
|
@@ -57335,13 +57347,10 @@ export type UserActionsRetrieveResponse = UserActionsRetrieveResponses[keyof Use
|
|
|
57335
57347
|
export type UserActionsExecuteActionData = {
|
|
57336
57348
|
body: ExecuteActionRequest;
|
|
57337
57349
|
path: {
|
|
57338
|
-
|
|
57339
|
-
* A unique integer value identifying this user action.
|
|
57340
|
-
*/
|
|
57341
|
-
id: number;
|
|
57350
|
+
uuid: string;
|
|
57342
57351
|
};
|
|
57343
57352
|
query?: never;
|
|
57344
|
-
url: '/api/user-actions/{
|
|
57353
|
+
url: '/api/user-actions/{uuid}/execute_action/';
|
|
57345
57354
|
};
|
|
57346
57355
|
export type UserActionsExecuteActionErrors = {
|
|
57347
57356
|
404: ExecuteActionErrorResponse;
|
|
@@ -57355,13 +57364,10 @@ export type UserActionsExecuteActionResponse = UserActionsExecuteActionResponses
|
|
|
57355
57364
|
export type UserActionsSilenceData = {
|
|
57356
57365
|
body?: SilenceActionRequest;
|
|
57357
57366
|
path: {
|
|
57358
|
-
|
|
57359
|
-
* A unique integer value identifying this user action.
|
|
57360
|
-
*/
|
|
57361
|
-
id: number;
|
|
57367
|
+
uuid: string;
|
|
57362
57368
|
};
|
|
57363
57369
|
query?: never;
|
|
57364
|
-
url: '/api/user-actions/{
|
|
57370
|
+
url: '/api/user-actions/{uuid}/silence/';
|
|
57365
57371
|
};
|
|
57366
57372
|
export type UserActionsSilenceResponses = {
|
|
57367
57373
|
200: SilenceActionResponse;
|
|
@@ -57370,13 +57376,10 @@ export type UserActionsSilenceResponse = UserActionsSilenceResponses[keyof UserA
|
|
|
57370
57376
|
export type UserActionsUnsilenceData = {
|
|
57371
57377
|
body?: never;
|
|
57372
57378
|
path: {
|
|
57373
|
-
|
|
57374
|
-
* A unique integer value identifying this user action.
|
|
57375
|
-
*/
|
|
57376
|
-
id: number;
|
|
57379
|
+
uuid: string;
|
|
57377
57380
|
};
|
|
57378
57381
|
query?: never;
|
|
57379
|
-
url: '/api/user-actions/{
|
|
57382
|
+
url: '/api/user-actions/{uuid}/unsilence/';
|
|
57380
57383
|
};
|
|
57381
57384
|
export type UserActionsUnsilenceResponses = {
|
|
57382
57385
|
200: UnsilenceActionResponse;
|