waldur-js-client 7.7.7-dev.4 → 7.7.7-dev.6

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.
@@ -6783,9 +6783,9 @@ export type OrderCreateRequest = {
6783
6783
  offering: string;
6784
6784
  plan?: string;
6785
6785
  /**
6786
- * Attributes structure depends on the offering type specified in the parent object
6786
+ * Attributes structure depends on the offering type specified in the parent object. Can also be a generic object for offerings without a specific attributes schema.
6787
6787
  */
6788
- attributes?: AzureVirtualMachineCreateOrderAttributes | AzureSqlServerCreateOrderAttributes | OpenStackTenantCreateOrderAttributes | OpenStackInstanceCreateOrderAttributes | OpenStackVolumeCreateOrderAttributes | MarketplaceRancherCreateOrderAttributes | MarketplaceManagedRancherCreateOrderAttributes | SlurmInvoicesSlurmPackageCreateOrderAttributes | VMwareVirtualMachineCreateOrderAttributes;
6788
+ attributes?: AzureVirtualMachineCreateOrderAttributes | AzureSqlServerCreateOrderAttributes | OpenStackTenantCreateOrderAttributes | OpenStackInstanceCreateOrderAttributes | OpenStackVolumeCreateOrderAttributes | MarketplaceRancherCreateOrderAttributes | MarketplaceManagedRancherCreateOrderAttributes | SlurmInvoicesSlurmPackageCreateOrderAttributes | VMwareVirtualMachineCreateOrderAttributes | GenericOrderAttributes;
6789
6789
  limits?: {
6790
6790
  [key: string]: number;
6791
6791
  };
@@ -8180,9 +8180,12 @@ export type ProjectCreditRequest = {
8180
8180
  export type ProjectDetail = {
8181
8181
  readonly project_uuid: string;
8182
8182
  readonly project_name: string;
8183
+ readonly completion_uuid: string | null;
8183
8184
  readonly completion_percentage: number;
8184
8185
  readonly is_completed: boolean;
8185
8186
  readonly requires_review: boolean;
8187
+ readonly answers: Array<unknown>;
8188
+ readonly unanswered_required_questions: Array<unknown>;
8186
8189
  };
8187
8190
  export type ProjectDetailsResponse = {
8188
8191
  checklist: ChecklistInfo;
@@ -9130,6 +9133,8 @@ export type QuestionAnswer = {
9130
9133
  readonly question_type: string;
9131
9134
  readonly required: boolean;
9132
9135
  readonly order: number;
9136
+ readonly min_value: string | null;
9137
+ readonly max_value: string | null;
9133
9138
  /**
9134
9139
  * Get total projects count.
9135
9140
  */
@@ -9144,6 +9149,12 @@ export type QuestionAnswer = {
9144
9149
  readonly project_answers: Array<{
9145
9150
  [key: string]: unknown;
9146
9151
  }>;
9152
+ /**
9153
+ * Get question options for select-type questions.
9154
+ */
9155
+ readonly question_options: Array<{
9156
+ [key: string]: unknown;
9157
+ }>;
9147
9158
  };
9148
9159
  export type QuestionDependency = {
9149
9160
  readonly uuid: string;
@@ -12002,6 +12013,20 @@ export type VMwareVirtualMachineCreateOrderAttributes = {
12002
12013
  cluster?: string | null;
12003
12014
  datastore?: string | null;
12004
12015
  };
12016
+ /**
12017
+ * A generic JSON object for offerings without a predefined schema. Allows any key-value pairs.
12018
+ */
12019
+ export type GenericOrderAttributes = {
12020
+ /**
12021
+ * The name of the resource to be created. Will be displayed in the portal.
12022
+ */
12023
+ name?: string;
12024
+ /**
12025
+ * A free-form description for the resource.
12026
+ */
12027
+ description?: string;
12028
+ [key: string]: unknown | string | undefined;
12029
+ };
12005
12030
  /**
12006
12031
  * A page number within the paginated result set.
12007
12032
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.7.7-dev.4",
3
+ "version": "7.7.7-dev.6",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",