waldur-js-client 8.1.0-rc.18.dev.70 → 8.1.0-rc.19.dev.74
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 +4 -2
- package/dist/index.js +3 -1
- package/dist/sdk.gen.d.ts +5 -1
- package/dist/sdk.gen.js +15 -0
- package/dist/types.gen.d.ts +69 -12
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -10933,6 +10933,21 @@ export const marketplaceOpenstackDuplicateOfferingsCount = (options) => (options
|
|
|
10933
10933
|
url: '/api/marketplace-openstack-duplicate-offerings/',
|
|
10934
10934
|
...options
|
|
10935
10935
|
});
|
|
10936
|
+
/**
|
|
10937
|
+
* Collapse one duplicate per-tenant offering group onto its keeper. Previews by default; pass dry_run=false to apply. Refuses to run when history (billing periods, usage records) cannot be re-pointed.
|
|
10938
|
+
*/
|
|
10939
|
+
export const marketplaceOpenstackDuplicateOfferingsRemediate = (options) => (options.client ?? client).post({
|
|
10940
|
+
security: [
|
|
10941
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
10942
|
+
{ scheme: 'bearer', type: 'http' }
|
|
10943
|
+
],
|
|
10944
|
+
url: '/api/marketplace-openstack-duplicate-offerings/remediate/',
|
|
10945
|
+
...options,
|
|
10946
|
+
headers: {
|
|
10947
|
+
'Content-Type': 'application/json',
|
|
10948
|
+
...options.headers
|
|
10949
|
+
}
|
|
10950
|
+
});
|
|
10936
10951
|
/**
|
|
10937
10952
|
* List orders
|
|
10938
10953
|
*
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -7537,6 +7537,40 @@ export type DuplicateOfferingGroup = {
|
|
|
7537
7537
|
orphan_count: number;
|
|
7538
7538
|
candidates: Array<DuplicateOfferingCandidate>;
|
|
7539
7539
|
};
|
|
7540
|
+
export type DuplicateOfferingMergePlan = {
|
|
7541
|
+
duplicate_id: number;
|
|
7542
|
+
duplicate_name: string;
|
|
7543
|
+
keeper_id: number;
|
|
7544
|
+
keeper_name: string;
|
|
7545
|
+
/**
|
|
7546
|
+
* delete (nothing attached), merge, or skip.
|
|
7547
|
+
*/
|
|
7548
|
+
action: string;
|
|
7549
|
+
is_empty: boolean;
|
|
7550
|
+
resource_count: number;
|
|
7551
|
+
order_count: number;
|
|
7552
|
+
plan_period_count: number;
|
|
7553
|
+
component_usage_count: number;
|
|
7554
|
+
component_quota_count: number;
|
|
7555
|
+
blockers: Array<string>;
|
|
7556
|
+
};
|
|
7557
|
+
export type DuplicateOfferingRemediateRequest = {
|
|
7558
|
+
tenant_id: number;
|
|
7559
|
+
offering_type: string;
|
|
7560
|
+
/**
|
|
7561
|
+
* Preview the changes without applying them. Mirrors the dry-run-by-default behaviour of the dedupe_tenant_offerings command.
|
|
7562
|
+
*/
|
|
7563
|
+
dry_run?: boolean;
|
|
7564
|
+
};
|
|
7565
|
+
export type DuplicateOfferingRemediation = {
|
|
7566
|
+
tenant_id: number;
|
|
7567
|
+
offering_type: string;
|
|
7568
|
+
keeper_id: number;
|
|
7569
|
+
keeper_name: string;
|
|
7570
|
+
dry_run: boolean;
|
|
7571
|
+
duplicates: Array<DuplicateOfferingMergePlan>;
|
|
7572
|
+
blockers: Array<string>;
|
|
7573
|
+
};
|
|
7540
7574
|
export type EnabledreportingscreensEnum = 'resource-usage' | 'user-usage' | 'quotas' | 'usage-monitoring' | 'usage-trends' | 'organization-summary' | 'project-detail' | 'resources-geography' | 'project-classification' | 'usage-by-customer' | 'usage-by-org-type' | 'usage-by-creator' | 'call-performance' | 'review-progress' | 'resource-demand' | 'capacity' | 'provider-overview' | 'provider-revenue' | 'provider-orders' | 'provider-resources' | 'provider-customers' | 'provider-offerings' | 'openstack-instances' | 'offering-usage' | 'user-analytics' | 'user-demographics' | 'user-organizations' | 'user-affiliations' | 'user-roles' | 'growth' | 'revenue' | 'pricelist' | 'orders' | 'offering-costs' | 'maintenance-overview' | 'provisioning-stats';
|
|
7541
7575
|
export type EffectiveRoute = {
|
|
7542
7576
|
destination: string;
|
|
@@ -24505,13 +24539,10 @@ export type ResourceProject = {
|
|
|
24505
24539
|
readonly is_removed: boolean;
|
|
24506
24540
|
readonly removed_date: string | null;
|
|
24507
24541
|
readonly removed_by: number | null;
|
|
24508
|
-
|
|
24509
|
-
* Required. 128 characters or fewer. Lowercase letters, numbers and @/./+/-/_ characters
|
|
24510
|
-
*/
|
|
24511
|
-
readonly removed_by_username: string;
|
|
24542
|
+
readonly removed_by_username: string | null;
|
|
24512
24543
|
readonly termination_metadata: {
|
|
24513
24544
|
[key: string]: unknown;
|
|
24514
|
-
};
|
|
24545
|
+
} | null;
|
|
24515
24546
|
};
|
|
24516
24547
|
export type ResourceProjectBackendIdRequest = {
|
|
24517
24548
|
backend_id: string;
|
|
@@ -27441,11 +27472,8 @@ export type SupportUser = {
|
|
|
27441
27472
|
*/
|
|
27442
27473
|
is_active?: boolean;
|
|
27443
27474
|
user?: string | null;
|
|
27444
|
-
readonly user_full_name: string;
|
|
27445
|
-
|
|
27446
|
-
* Email address
|
|
27447
|
-
*/
|
|
27448
|
-
readonly user_email: string;
|
|
27475
|
+
readonly user_full_name: string | null;
|
|
27476
|
+
readonly user_email: string | null;
|
|
27449
27477
|
readonly reported_issues_count: number;
|
|
27450
27478
|
readonly assigned_issues_count: number;
|
|
27451
27479
|
readonly comments_count: number;
|
|
@@ -32001,6 +32029,7 @@ export type FirecrestJobFieldEnum = 'access_url' | 'backend_id' | 'created' | 'c
|
|
|
32001
32029
|
export type AttachmentFieldEnum = 'backend_id' | 'created' | 'destroy_is_available' | 'file' | 'file_name' | 'file_size' | 'issue' | 'issue_key' | 'mime_type' | 'url' | 'uuid';
|
|
32002
32030
|
export type CommentOEnum = '-created' | '-modified' | 'created' | 'modified';
|
|
32003
32031
|
export type IssueOEnum = '-assignee_name' | '-caller_first_name' | '-caller_last_name' | '-created' | '-customer_name' | '-key' | '-modified' | '-priority' | '-project_name' | '-remote_id' | '-reporter_name' | '-status' | '-summary' | '-type' | 'assignee_name' | 'caller_first_name' | 'caller_last_name' | 'created' | 'customer_name' | 'key' | 'modified' | 'priority' | 'project_name' | 'remote_id' | 'reporter_name' | 'status' | 'summary' | 'type';
|
|
32032
|
+
export type SupportUserBackendNameEnum = 'atlassian' | 'basic' | 'smax' | 'zammad';
|
|
32004
32033
|
export type SupportUserOEnum = '-backend_id' | '-backend_name' | '-is_active' | '-name' | 'backend_id' | 'backend_name' | 'is_active' | 'name';
|
|
32005
32034
|
export type SystemLogLevelEnum = 'CRITICAL' | 'ERROR' | 'INFO' | 'WARNING';
|
|
32006
32035
|
export type SystemLogOEnum = '-created' | '-instance' | '-level_number' | 'created' | 'instance' | 'level_number';
|
|
@@ -51671,6 +51700,16 @@ export type MarketplaceOpenstackDuplicateOfferingsCountResponses = {
|
|
|
51671
51700
|
*/
|
|
51672
51701
|
200: unknown;
|
|
51673
51702
|
};
|
|
51703
|
+
export type MarketplaceOpenstackDuplicateOfferingsRemediateData = {
|
|
51704
|
+
body: DuplicateOfferingRemediateRequest;
|
|
51705
|
+
path?: never;
|
|
51706
|
+
query?: never;
|
|
51707
|
+
url: '/api/marketplace-openstack-duplicate-offerings/remediate/';
|
|
51708
|
+
};
|
|
51709
|
+
export type MarketplaceOpenstackDuplicateOfferingsRemediateResponses = {
|
|
51710
|
+
200: DuplicateOfferingRemediation;
|
|
51711
|
+
};
|
|
51712
|
+
export type MarketplaceOpenstackDuplicateOfferingsRemediateResponse = MarketplaceOpenstackDuplicateOfferingsRemediateResponses[keyof MarketplaceOpenstackDuplicateOfferingsRemediateResponses];
|
|
51674
51713
|
export type MarketplaceOrdersListData = {
|
|
51675
51714
|
body?: never;
|
|
51676
51715
|
path?: never;
|
|
@@ -91959,7 +91998,12 @@ export type SupportUsersListData = {
|
|
|
91959
91998
|
path?: never;
|
|
91960
91999
|
query?: {
|
|
91961
92000
|
backend_id?: string;
|
|
91962
|
-
|
|
92001
|
+
/**
|
|
92002
|
+
* Helpdesk
|
|
92003
|
+
*
|
|
92004
|
+
*
|
|
92005
|
+
*/
|
|
92006
|
+
backend_name?: SupportUserBackendNameEnum;
|
|
91963
92007
|
is_active?: boolean;
|
|
91964
92008
|
name?: string;
|
|
91965
92009
|
/**
|
|
@@ -91976,6 +92020,10 @@ export type SupportUsersListData = {
|
|
|
91976
92020
|
* Number of results to return per page.
|
|
91977
92021
|
*/
|
|
91978
92022
|
page_size?: number;
|
|
92023
|
+
/**
|
|
92024
|
+
* Search by name, backend ID or linked user name/email
|
|
92025
|
+
*/
|
|
92026
|
+
query?: string;
|
|
91979
92027
|
user?: number;
|
|
91980
92028
|
};
|
|
91981
92029
|
url: '/api/support-users/';
|
|
@@ -91989,7 +92037,12 @@ export type SupportUsersCountData = {
|
|
|
91989
92037
|
path?: never;
|
|
91990
92038
|
query?: {
|
|
91991
92039
|
backend_id?: string;
|
|
91992
|
-
|
|
92040
|
+
/**
|
|
92041
|
+
* Helpdesk
|
|
92042
|
+
*
|
|
92043
|
+
*
|
|
92044
|
+
*/
|
|
92045
|
+
backend_name?: SupportUserBackendNameEnum;
|
|
91993
92046
|
is_active?: boolean;
|
|
91994
92047
|
name?: string;
|
|
91995
92048
|
/**
|
|
@@ -92006,6 +92059,10 @@ export type SupportUsersCountData = {
|
|
|
92006
92059
|
* Number of results to return per page.
|
|
92007
92060
|
*/
|
|
92008
92061
|
page_size?: number;
|
|
92062
|
+
/**
|
|
92063
|
+
* Search by name, backend ID or linked user name/email
|
|
92064
|
+
*/
|
|
92065
|
+
query?: string;
|
|
92009
92066
|
user?: number;
|
|
92010
92067
|
};
|
|
92011
92068
|
url: '/api/support-users/';
|
package/package.json
CHANGED