waldur-js-client 8.0.3-dev.14 → 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.
@@ -13841,6 +13872,10 @@ export type PatchedArrowSettingsRequest = {
13841
13872
  * Which price to use for invoice items: sell or buy
13842
13873
  */
13843
13874
  invoice_price_source?: InvoicePriceSourceEnum;
13875
+ /**
13876
+ * Prefix for invoice item names (e.g. 'Arrow consumption')
13877
+ */
13878
+ invoice_item_prefix?: string;
13844
13879
  };
13845
13880
  export type PatchedArrowVendorOfferingMappingRequest = {
13846
13881
  settings?: string;
@@ -13848,10 +13883,8 @@ export type PatchedArrowVendorOfferingMappingRequest = {
13848
13883
  * Arrow vendor name (e.g., 'Microsoft', 'Amazon Web Services')
13849
13884
  */
13850
13885
  arrow_vendor_name?: string;
13851
- /**
13852
- * Waldur marketplace offering for this vendor
13853
- */
13854
13886
  offering?: string;
13887
+ plan?: string | null;
13855
13888
  /**
13856
13889
  * Whether this mapping is active
13857
13890
  */
@@ -22041,15 +22074,28 @@ export type SyncResourceHistoricalConsumptionRequestRequest = {
22041
22074
  * End period in YYYY-MM format. Defaults to current month.
22042
22075
  */
22043
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;
22044
22085
  };
22045
22086
  export type SyncResourceHistoricalConsumptionResponse = {
22046
22087
  resource_uuid: string;
22047
22088
  resource_name: string;
22048
22089
  periods_synced: number;
22049
22090
  periods_skipped: number;
22091
+ periods_no_data?: number;
22050
22092
  errors: Array<{
22051
22093
  [key: string]: unknown;
22052
22094
  }>;
22095
+ dry_run?: boolean;
22096
+ preview_periods?: Array<{
22097
+ [key: string]: unknown;
22098
+ }>;
22053
22099
  };
22054
22100
  export type SyncResourcesRequestRequest = {
22055
22101
  /**
@@ -22450,6 +22496,10 @@ export type TriggerSyncRequestRequest = {
22450
22496
  year: number;
22451
22497
  month: number;
22452
22498
  settings_uuid?: string;
22499
+ /**
22500
+ * If set, only sync billing lines for this resource.
22501
+ */
22502
+ resource_uuid?: string;
22453
22503
  };
22454
22504
  export type UnsilenceActionResponse = {
22455
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.14",
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",