waldur-js-client 8.0.3-dev.13 → 8.0.3-dev.15

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.
@@ -909,6 +909,10 @@ export type ArrowSettings = {
909
909
  * Which price to use for invoice items: sell or buy
910
910
  */
911
911
  invoice_price_source?: InvoicePriceSourceEnum;
912
+ /**
913
+ * Prefix for invoice item names (e.g. 'Arrow consumption')
914
+ */
915
+ invoice_item_prefix?: string;
912
916
  readonly created: string;
913
917
  readonly modified: string;
914
918
  };
@@ -947,6 +951,10 @@ export type ArrowSettingsCreate = {
947
951
  * Which price to use for invoice items: sell or buy
948
952
  */
949
953
  invoice_price_source?: InvoicePriceSourceEnum;
954
+ /**
955
+ * Prefix for invoice item names (e.g. 'Arrow consumption')
956
+ */
957
+ invoice_item_prefix?: string;
950
958
  readonly created: string;
951
959
  readonly modified: string;
952
960
  };
@@ -979,6 +987,10 @@ export type ArrowSettingsCreateRequest = {
979
987
  * Which price to use for invoice items: sell or buy
980
988
  */
981
989
  invoice_price_source?: InvoicePriceSourceEnum;
990
+ /**
991
+ * Prefix for invoice item names (e.g. 'Arrow consumption')
992
+ */
993
+ invoice_item_prefix?: string;
982
994
  };
983
995
  export type ArrowSettingsRequest = {
984
996
  /**
@@ -1009,6 +1021,10 @@ export type ArrowSettingsRequest = {
1009
1021
  * Which price to use for invoice items: sell or buy
1010
1022
  */
1011
1023
  invoice_price_source?: InvoicePriceSourceEnum;
1024
+ /**
1025
+ * Prefix for invoice item names (e.g. 'Arrow consumption')
1026
+ */
1027
+ invoice_item_prefix?: string;
1012
1028
  };
1013
1029
  export type ArrowVendorOfferingMapping = {
1014
1030
  readonly uuid: string;
@@ -1019,13 +1035,13 @@ export type ArrowVendorOfferingMapping = {
1019
1035
  * Arrow vendor name (e.g., 'Microsoft', 'Amazon Web Services')
1020
1036
  */
1021
1037
  arrow_vendor_name: string;
1022
- /**
1023
- * Waldur marketplace offering for this vendor
1024
- */
1025
1038
  offering: string;
1026
1039
  readonly offering_uuid: string;
1027
1040
  readonly offering_name: string;
1028
1041
  readonly offering_type: string;
1042
+ plan?: string | null;
1043
+ readonly plan_uuid: string;
1044
+ readonly plan_name: string;
1029
1045
  /**
1030
1046
  * Whether this mapping is active
1031
1047
  */
@@ -1046,6 +1062,9 @@ export type ArrowVendorOfferingMappingCreate = {
1046
1062
  readonly offering_uuid: string;
1047
1063
  readonly offering_name: string;
1048
1064
  readonly offering_type: string;
1065
+ plan?: string | null;
1066
+ readonly plan_uuid: string;
1067
+ readonly plan_name: string;
1049
1068
  /**
1050
1069
  * Whether this mapping is active
1051
1070
  */
@@ -1060,6 +1079,7 @@ export type ArrowVendorOfferingMappingCreateRequest = {
1060
1079
  */
1061
1080
  arrow_vendor_name: string;
1062
1081
  offering: string;
1082
+ plan?: string | null;
1063
1083
  /**
1064
1084
  * Whether this mapping is active
1065
1085
  */
@@ -1071,10 +1091,8 @@ export type ArrowVendorOfferingMappingRequest = {
1071
1091
  * Arrow vendor name (e.g., 'Microsoft', 'Amazon Web Services')
1072
1092
  */
1073
1093
  arrow_vendor_name: string;
1074
- /**
1075
- * Waldur marketplace offering for this vendor
1076
- */
1077
1094
  offering: string;
1095
+ plan?: string | null;
1078
1096
  /**
1079
1097
  * Whether this mapping is active
1080
1098
  */
@@ -5691,6 +5709,7 @@ export type DiscoverCustomersResponse = {
5691
5709
  arrow_customers: Array<ArrowCustomerDiscovery>;
5692
5710
  waldur_customers: Array<WaldurCustomerBrief>;
5693
5711
  suggestions: Array<CustomerMappingSuggestion>;
5712
+ export_types: Array<ExportTypeCompatibility>;
5694
5713
  };
5695
5714
  export type DiscoverExternalNetworksRequestRequest = {
5696
5715
  /**
@@ -6279,6 +6298,18 @@ export type ExportTermsOfServiceDataRequest = {
6279
6298
  requires_reconsent: boolean;
6280
6299
  grace_period_days: number | null;
6281
6300
  };
6301
+ export type ExportTypeCompatibility = {
6302
+ reference: string;
6303
+ name: string;
6304
+ required_fields_total: number;
6305
+ required_fields_found: number;
6306
+ important_fields_total: number;
6307
+ important_fields_found: number;
6308
+ missing_required_fields: Array<string>;
6309
+ missing_important_fields: Array<string>;
6310
+ compatible: boolean;
6311
+ recommended: boolean;
6312
+ };
6282
6313
  export type ExtendDeadlineRequestRequest = {
6283
6314
  /**
6284
6315
  * New expiration date and time for the assignment batch.
@@ -8621,6 +8652,10 @@ export type MergedPluginOptions = {
8621
8652
  * If set to True, send email notifications when providers or consumers exchange messages on pending orders.
8622
8653
  */
8623
8654
  notify_about_provider_consumer_messages?: boolean;
8655
+ /**
8656
+ * If set to True, offering cannot be deleted while it has non-terminated resources.
8657
+ */
8658
+ restrict_deletion_with_active_resources?: boolean;
8624
8659
  /**
8625
8660
  * If set, it will be used as a default MTU for the first network in a tenant
8626
8661
  */
@@ -8887,6 +8922,10 @@ export type MergedPluginOptionsRequest = {
8887
8922
  * If set to True, send email notifications when providers or consumers exchange messages on pending orders.
8888
8923
  */
8889
8924
  notify_about_provider_consumer_messages?: boolean;
8925
+ /**
8926
+ * If set to True, offering cannot be deleted while it has non-terminated resources.
8927
+ */
8928
+ restrict_deletion_with_active_resources?: boolean;
8890
8929
  /**
8891
8930
  * If set, it will be used as a default MTU for the first network in a tenant
8892
8931
  */
@@ -13833,6 +13872,10 @@ export type PatchedArrowSettingsRequest = {
13833
13872
  * Which price to use for invoice items: sell or buy
13834
13873
  */
13835
13874
  invoice_price_source?: InvoicePriceSourceEnum;
13875
+ /**
13876
+ * Prefix for invoice item names (e.g. 'Arrow consumption')
13877
+ */
13878
+ invoice_item_prefix?: string;
13836
13879
  };
13837
13880
  export type PatchedArrowVendorOfferingMappingRequest = {
13838
13881
  settings?: string;
@@ -13840,10 +13883,8 @@ export type PatchedArrowVendorOfferingMappingRequest = {
13840
13883
  * Arrow vendor name (e.g., 'Microsoft', 'Amazon Web Services')
13841
13884
  */
13842
13885
  arrow_vendor_name?: string;
13843
- /**
13844
- * Waldur marketplace offering for this vendor
13845
- */
13846
13886
  offering?: string;
13887
+ plan?: string | null;
13847
13888
  /**
13848
13889
  * Whether this mapping is active
13849
13890
  */
@@ -22033,15 +22074,28 @@ export type SyncResourceHistoricalConsumptionRequestRequest = {
22033
22074
  * End period in YYYY-MM format. Defaults to current month.
22034
22075
  */
22035
22076
  period_to?: string;
22077
+ /**
22078
+ * If True, sync even for finalized periods.
22079
+ */
22080
+ force?: boolean;
22081
+ /**
22082
+ * If True, preview consumption data without saving.
22083
+ */
22084
+ dry_run?: boolean;
22036
22085
  };
22037
22086
  export type SyncResourceHistoricalConsumptionResponse = {
22038
22087
  resource_uuid: string;
22039
22088
  resource_name: string;
22040
22089
  periods_synced: number;
22041
22090
  periods_skipped: number;
22091
+ periods_no_data?: number;
22042
22092
  errors: Array<{
22043
22093
  [key: string]: unknown;
22044
22094
  }>;
22095
+ dry_run?: boolean;
22096
+ preview_periods?: Array<{
22097
+ [key: string]: unknown;
22098
+ }>;
22045
22099
  };
22046
22100
  export type SyncResourcesRequestRequest = {
22047
22101
  /**
@@ -22442,6 +22496,10 @@ export type TriggerSyncRequestRequest = {
22442
22496
  year: number;
22443
22497
  month: number;
22444
22498
  settings_uuid?: string;
22499
+ /**
22500
+ * If set, only sync billing lines for this resource.
22501
+ */
22502
+ resource_uuid?: string;
22445
22503
  };
22446
22504
  export type UnsilenceActionResponse = {
22447
22505
  status: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.3-dev.13",
3
+ "version": "8.0.3-dev.15",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",