waldur-js-client 7.9.5 → 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 +34 -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;
|
|
@@ -31319,6 +31334,10 @@ export type MarketplaceOrdersListData = {
|
|
|
31319
31334
|
* Resource URL
|
|
31320
31335
|
*/
|
|
31321
31336
|
resource?: string;
|
|
31337
|
+
/**
|
|
31338
|
+
* Resource name
|
|
31339
|
+
*/
|
|
31340
|
+
resource_name?: string;
|
|
31322
31341
|
/**
|
|
31323
31342
|
* Resource UUID
|
|
31324
31343
|
*/
|
|
@@ -31418,6 +31437,10 @@ export type MarketplaceOrdersCountData = {
|
|
|
31418
31437
|
* Resource URL
|
|
31419
31438
|
*/
|
|
31420
31439
|
resource?: string;
|
|
31440
|
+
/**
|
|
31441
|
+
* Resource name
|
|
31442
|
+
*/
|
|
31443
|
+
resource_name?: string;
|
|
31421
31444
|
/**
|
|
31422
31445
|
* Resource UUID
|
|
31423
31446
|
*/
|
|
@@ -57312,13 +57335,10 @@ export type UserActionsCountResponses = {
|
|
|
57312
57335
|
export type UserActionsRetrieveData = {
|
|
57313
57336
|
body?: never;
|
|
57314
57337
|
path: {
|
|
57315
|
-
|
|
57316
|
-
* A unique integer value identifying this user action.
|
|
57317
|
-
*/
|
|
57318
|
-
id: number;
|
|
57338
|
+
uuid: string;
|
|
57319
57339
|
};
|
|
57320
57340
|
query?: never;
|
|
57321
|
-
url: '/api/user-actions/{
|
|
57341
|
+
url: '/api/user-actions/{uuid}/';
|
|
57322
57342
|
};
|
|
57323
57343
|
export type UserActionsRetrieveResponses = {
|
|
57324
57344
|
200: UserAction;
|
|
@@ -57327,13 +57347,10 @@ export type UserActionsRetrieveResponse = UserActionsRetrieveResponses[keyof Use
|
|
|
57327
57347
|
export type UserActionsExecuteActionData = {
|
|
57328
57348
|
body: ExecuteActionRequest;
|
|
57329
57349
|
path: {
|
|
57330
|
-
|
|
57331
|
-
* A unique integer value identifying this user action.
|
|
57332
|
-
*/
|
|
57333
|
-
id: number;
|
|
57350
|
+
uuid: string;
|
|
57334
57351
|
};
|
|
57335
57352
|
query?: never;
|
|
57336
|
-
url: '/api/user-actions/{
|
|
57353
|
+
url: '/api/user-actions/{uuid}/execute_action/';
|
|
57337
57354
|
};
|
|
57338
57355
|
export type UserActionsExecuteActionErrors = {
|
|
57339
57356
|
404: ExecuteActionErrorResponse;
|
|
@@ -57347,13 +57364,10 @@ export type UserActionsExecuteActionResponse = UserActionsExecuteActionResponses
|
|
|
57347
57364
|
export type UserActionsSilenceData = {
|
|
57348
57365
|
body?: SilenceActionRequest;
|
|
57349
57366
|
path: {
|
|
57350
|
-
|
|
57351
|
-
* A unique integer value identifying this user action.
|
|
57352
|
-
*/
|
|
57353
|
-
id: number;
|
|
57367
|
+
uuid: string;
|
|
57354
57368
|
};
|
|
57355
57369
|
query?: never;
|
|
57356
|
-
url: '/api/user-actions/{
|
|
57370
|
+
url: '/api/user-actions/{uuid}/silence/';
|
|
57357
57371
|
};
|
|
57358
57372
|
export type UserActionsSilenceResponses = {
|
|
57359
57373
|
200: SilenceActionResponse;
|
|
@@ -57362,13 +57376,10 @@ export type UserActionsSilenceResponse = UserActionsSilenceResponses[keyof UserA
|
|
|
57362
57376
|
export type UserActionsUnsilenceData = {
|
|
57363
57377
|
body?: never;
|
|
57364
57378
|
path: {
|
|
57365
|
-
|
|
57366
|
-
* A unique integer value identifying this user action.
|
|
57367
|
-
*/
|
|
57368
|
-
id: number;
|
|
57379
|
+
uuid: string;
|
|
57369
57380
|
};
|
|
57370
57381
|
query?: never;
|
|
57371
|
-
url: '/api/user-actions/{
|
|
57382
|
+
url: '/api/user-actions/{uuid}/unsilence/';
|
|
57372
57383
|
};
|
|
57373
57384
|
export type UserActionsUnsilenceResponses = {
|
|
57374
57385
|
200: UnsilenceActionResponse;
|