levelfour 1.4.0 → 1.5.0

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.
Files changed (115) hide show
  1. package/dist/api/resources/anthropic/client/Client.d.mts +62 -0
  2. package/dist/api/resources/anthropic/client/Client.d.ts +62 -0
  3. package/dist/api/resources/anthropic/client/Client.js +325 -0
  4. package/dist/api/resources/anthropic/client/Client.mjs +325 -0
  5. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.mts +19 -0
  6. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.d.ts +19 -0
  7. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.js +17 -0
  8. package/dist/api/resources/anthropic/client/requests/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequest.mjs +1 -0
  9. package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.d.mts +13 -0
  10. package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.d.ts +13 -0
  11. package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.js +17 -0
  12. package/dist/api/resources/anthropic/client/requests/GetTeamSummaryApiV1ProvidersAnthropicTeamSummaryGetRequest.mjs +1 -0
  13. package/dist/api/resources/anthropic/client/requests/index.d.mts +2 -0
  14. package/dist/api/resources/anthropic/client/requests/index.d.ts +2 -0
  15. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.d.mts +6 -0
  16. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.d.ts +6 -0
  17. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.js +32 -0
  18. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestFormat.mjs +8 -0
  19. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.d.mts +5 -0
  20. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.d.ts +5 -0
  21. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.js +32 -0
  22. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestOrder.mjs +8 -0
  23. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.d.mts +6 -0
  24. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.d.ts +6 -0
  25. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.js +33 -0
  26. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestRecommendation.mjs +9 -0
  27. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.d.mts +5 -0
  28. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.d.ts +5 -0
  29. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.js +32 -0
  30. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSeat.mjs +8 -0
  31. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.mts +11 -0
  32. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.d.ts +11 -0
  33. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.js +38 -0
  34. package/dist/api/resources/anthropic/types/GetTeamPeopleApiV1ProvidersAnthropicTeamPeopleGetRequestSort.mjs +14 -0
  35. package/dist/api/resources/anthropic/types/index.d.mts +5 -0
  36. package/dist/api/resources/anthropic/types/index.d.ts +5 -0
  37. package/dist/api/resources/anthropic/types/index.js +10 -0
  38. package/dist/api/resources/anthropic/types/index.mjs +5 -0
  39. package/dist/api/types/ClaudeTeamDowngradeRule.d.mts +7 -0
  40. package/dist/api/types/ClaudeTeamDowngradeRule.d.ts +7 -0
  41. package/dist/api/types/ClaudeTeamDowngradeRule.js +17 -0
  42. package/dist/api/types/ClaudeTeamDowngradeRule.mjs +1 -0
  43. package/dist/api/types/ClaudeTeamMonth.d.mts +6 -0
  44. package/dist/api/types/ClaudeTeamMonth.d.ts +6 -0
  45. package/dist/api/types/ClaudeTeamMonth.js +17 -0
  46. package/dist/api/types/ClaudeTeamMonth.mjs +1 -0
  47. package/dist/api/types/ClaudeTeamPeopleData.d.mts +6 -0
  48. package/dist/api/types/ClaudeTeamPeopleData.d.ts +6 -0
  49. package/dist/api/types/ClaudeTeamPeopleData.js +17 -0
  50. package/dist/api/types/ClaudeTeamPeopleData.mjs +1 -0
  51. package/dist/api/types/ClaudeTeamPeopleResponse.d.mts +6 -0
  52. package/dist/api/types/ClaudeTeamPeopleResponse.d.ts +6 -0
  53. package/dist/api/types/ClaudeTeamPeopleResponse.js +17 -0
  54. package/dist/api/types/ClaudeTeamPeopleResponse.mjs +1 -0
  55. package/dist/api/types/ClaudeTeamPerson.d.mts +38 -0
  56. package/dist/api/types/ClaudeTeamPerson.d.ts +38 -0
  57. package/dist/api/types/ClaudeTeamPerson.js +40 -0
  58. package/dist/api/types/ClaudeTeamPerson.mjs +16 -0
  59. package/dist/api/types/ClaudeTeamRemoveRule.d.mts +7 -0
  60. package/dist/api/types/ClaudeTeamRemoveRule.d.ts +7 -0
  61. package/dist/api/types/ClaudeTeamRemoveRule.js +17 -0
  62. package/dist/api/types/ClaudeTeamRemoveRule.mjs +1 -0
  63. package/dist/api/types/ClaudeTeamRules.d.mts +6 -0
  64. package/dist/api/types/ClaudeTeamRules.d.ts +6 -0
  65. package/dist/api/types/ClaudeTeamRules.js +17 -0
  66. package/dist/api/types/ClaudeTeamRules.mjs +1 -0
  67. package/dist/api/types/ClaudeTeamSeats.d.mts +5 -0
  68. package/dist/api/types/ClaudeTeamSeats.d.ts +5 -0
  69. package/dist/api/types/ClaudeTeamSeats.js +17 -0
  70. package/dist/api/types/ClaudeTeamSeats.mjs +1 -0
  71. package/dist/api/types/ClaudeTeamSettingsData.d.mts +18 -0
  72. package/dist/api/types/ClaudeTeamSettingsData.d.ts +18 -0
  73. package/dist/api/types/ClaudeTeamSettingsData.js +35 -0
  74. package/dist/api/types/ClaudeTeamSettingsData.mjs +11 -0
  75. package/dist/api/types/ClaudeTeamSettingsResponse.d.mts +6 -0
  76. package/dist/api/types/ClaudeTeamSettingsResponse.d.ts +6 -0
  77. package/dist/api/types/ClaudeTeamSettingsResponse.js +17 -0
  78. package/dist/api/types/ClaudeTeamSettingsResponse.mjs +1 -0
  79. package/dist/api/types/ClaudeTeamSummaryData.d.mts +43 -0
  80. package/dist/api/types/ClaudeTeamSummaryData.d.ts +43 -0
  81. package/dist/api/types/ClaudeTeamSummaryData.js +39 -0
  82. package/dist/api/types/ClaudeTeamSummaryData.mjs +15 -0
  83. package/dist/api/types/ClaudeTeamSummaryResponse.d.mts +6 -0
  84. package/dist/api/types/ClaudeTeamSummaryResponse.d.ts +6 -0
  85. package/dist/api/types/ClaudeTeamSummaryResponse.js +17 -0
  86. package/dist/api/types/ClaudeTeamSummaryResponse.mjs +1 -0
  87. package/dist/api/types/ClaudeTeamUpgradeRule.d.mts +7 -0
  88. package/dist/api/types/ClaudeTeamUpgradeRule.d.ts +7 -0
  89. package/dist/api/types/ClaudeTeamUpgradeRule.js +17 -0
  90. package/dist/api/types/ClaudeTeamUpgradeRule.mjs +1 -0
  91. package/dist/api/types/FlowReconciliation.d.mts +5 -5
  92. package/dist/api/types/FlowReconciliation.d.ts +5 -5
  93. package/dist/api/types/NetworkDestinations.d.mts +2 -1
  94. package/dist/api/types/NetworkDestinations.d.ts +2 -1
  95. package/dist/api/types/StartUploadRequest.d.mts +4 -0
  96. package/dist/api/types/StartUploadRequest.d.ts +4 -0
  97. package/dist/api/types/VirtualTagKeyOption.d.mts +2 -0
  98. package/dist/api/types/VirtualTagKeyOption.d.ts +2 -0
  99. package/dist/api/types/WorkloadPair.d.mts +5 -8
  100. package/dist/api/types/WorkloadPair.d.ts +5 -8
  101. package/dist/api/types/WorkloadPairEnd.d.mts +6 -0
  102. package/dist/api/types/WorkloadPairEnd.d.ts +6 -0
  103. package/dist/api/types/WorkloadPairEnd.js +17 -0
  104. package/dist/api/types/WorkloadPairEnd.mjs +1 -0
  105. package/dist/api/types/ZonePair.d.mts +1 -1
  106. package/dist/api/types/ZonePair.d.ts +1 -1
  107. package/dist/api/types/index.d.mts +14 -0
  108. package/dist/api/types/index.d.ts +14 -0
  109. package/dist/api/types/index.js +28 -0
  110. package/dist/api/types/index.mjs +14 -0
  111. package/dist/version.d.mts +1 -1
  112. package/dist/version.d.ts +1 -1
  113. package/dist/version.js +1 -1
  114. package/dist/version.mjs +1 -1
  115. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var ClaudeTeamSettingsData_exports = {};
20
+ __export(ClaudeTeamSettingsData_exports, {
21
+ ClaudeTeamSettingsData: () => ClaudeTeamSettingsData
22
+ });
23
+ module.exports = __toCommonJS(ClaudeTeamSettingsData_exports);
24
+ var ClaudeTeamSettingsData;
25
+ ((ClaudeTeamSettingsData2) => {
26
+ ClaudeTeamSettingsData2.BillingCycle = {
27
+ Monthly: "monthly",
28
+ Annual: "annual"
29
+ };
30
+ })(ClaudeTeamSettingsData || (ClaudeTeamSettingsData = {}));
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ ClaudeTeamSettingsData
34
+ });
35
+ //# sourceMappingURL=ClaudeTeamSettingsData.js.map
@@ -0,0 +1,11 @@
1
+ var ClaudeTeamSettingsData;
2
+ ((ClaudeTeamSettingsData2) => {
3
+ ClaudeTeamSettingsData2.BillingCycle = {
4
+ Monthly: "monthly",
5
+ Annual: "annual"
6
+ };
7
+ })(ClaudeTeamSettingsData || (ClaudeTeamSettingsData = {}));
8
+ export {
9
+ ClaudeTeamSettingsData
10
+ };
11
+ //# sourceMappingURL=ClaudeTeamSettingsData.mjs.map
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ClaudeTeamSettingsResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.ClaudeTeamSettingsData;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ClaudeTeamSettingsResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.ClaudeTeamSettingsData;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ClaudeTeamSettingsResponse_exports = {};
16
+ module.exports = __toCommonJS(ClaudeTeamSettingsResponse_exports);
17
+ //# sourceMappingURL=ClaudeTeamSettingsResponse.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClaudeTeamSettingsResponse.mjs.map
@@ -0,0 +1,43 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ClaudeTeamSummaryData {
3
+ /** A Members list has been uploaded */
4
+ has_members: boolean;
5
+ /** A spend report covering any of the last 120 days has been uploaded */
6
+ has_spend: boolean;
7
+ /** full when the spend report holds every token, overage_only when it holds extra usage alone */
8
+ coverage: ClaudeTeamSummaryData.Coverage | null;
9
+ /** The day the latest Members list was uploaded */
10
+ members_as_of: string | null;
11
+ /** The first and last day of the unbroken run of days the spend reports cover */
12
+ spend_period: string[] | null;
13
+ seats: LevelFour.ClaudeTeamSeats;
14
+ /** Seats whose holder used Claude in the last 30 days the reports cover */
15
+ active_seats: number;
16
+ /** What seats cost in the range */
17
+ seat_cost: number;
18
+ /** What usage beyond the seats' allowance cost in the range */
19
+ extra_usage: number;
20
+ /** seat_cost plus extra_usage */
21
+ bill: number;
22
+ /** How the bill moved against the range of the same length before it, null when that one is empty */
23
+ bill_change_pct: number | null;
24
+ /** What the seat changes recommended now save a month */
25
+ savings_found: number;
26
+ billing_cycle: ClaudeTeamSummaryData.BillingCycle;
27
+ /** What a Premium seat costs above a Standard one each month */
28
+ price_gap: number;
29
+ /** The last six months through the end of the range */
30
+ monthly: LevelFour.ClaudeTeamMonth[];
31
+ }
32
+ export declare namespace ClaudeTeamSummaryData {
33
+ const Coverage: {
34
+ readonly Full: "full";
35
+ readonly OverageOnly: "overage_only";
36
+ };
37
+ type Coverage = (typeof Coverage)[keyof typeof Coverage];
38
+ const BillingCycle: {
39
+ readonly Monthly: "monthly";
40
+ readonly Annual: "annual";
41
+ };
42
+ type BillingCycle = (typeof BillingCycle)[keyof typeof BillingCycle];
43
+ }
@@ -0,0 +1,43 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ClaudeTeamSummaryData {
3
+ /** A Members list has been uploaded */
4
+ has_members: boolean;
5
+ /** A spend report covering any of the last 120 days has been uploaded */
6
+ has_spend: boolean;
7
+ /** full when the spend report holds every token, overage_only when it holds extra usage alone */
8
+ coverage: ClaudeTeamSummaryData.Coverage | null;
9
+ /** The day the latest Members list was uploaded */
10
+ members_as_of: string | null;
11
+ /** The first and last day of the unbroken run of days the spend reports cover */
12
+ spend_period: string[] | null;
13
+ seats: LevelFour.ClaudeTeamSeats;
14
+ /** Seats whose holder used Claude in the last 30 days the reports cover */
15
+ active_seats: number;
16
+ /** What seats cost in the range */
17
+ seat_cost: number;
18
+ /** What usage beyond the seats' allowance cost in the range */
19
+ extra_usage: number;
20
+ /** seat_cost plus extra_usage */
21
+ bill: number;
22
+ /** How the bill moved against the range of the same length before it, null when that one is empty */
23
+ bill_change_pct: number | null;
24
+ /** What the seat changes recommended now save a month */
25
+ savings_found: number;
26
+ billing_cycle: ClaudeTeamSummaryData.BillingCycle;
27
+ /** What a Premium seat costs above a Standard one each month */
28
+ price_gap: number;
29
+ /** The last six months through the end of the range */
30
+ monthly: LevelFour.ClaudeTeamMonth[];
31
+ }
32
+ export declare namespace ClaudeTeamSummaryData {
33
+ const Coverage: {
34
+ readonly Full: "full";
35
+ readonly OverageOnly: "overage_only";
36
+ };
37
+ type Coverage = (typeof Coverage)[keyof typeof Coverage];
38
+ const BillingCycle: {
39
+ readonly Monthly: "monthly";
40
+ readonly Annual: "annual";
41
+ };
42
+ type BillingCycle = (typeof BillingCycle)[keyof typeof BillingCycle];
43
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var ClaudeTeamSummaryData_exports = {};
20
+ __export(ClaudeTeamSummaryData_exports, {
21
+ ClaudeTeamSummaryData: () => ClaudeTeamSummaryData
22
+ });
23
+ module.exports = __toCommonJS(ClaudeTeamSummaryData_exports);
24
+ var ClaudeTeamSummaryData;
25
+ ((ClaudeTeamSummaryData2) => {
26
+ ClaudeTeamSummaryData2.Coverage = {
27
+ Full: "full",
28
+ OverageOnly: "overage_only"
29
+ };
30
+ ClaudeTeamSummaryData2.BillingCycle = {
31
+ Monthly: "monthly",
32
+ Annual: "annual"
33
+ };
34
+ })(ClaudeTeamSummaryData || (ClaudeTeamSummaryData = {}));
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ ClaudeTeamSummaryData
38
+ });
39
+ //# sourceMappingURL=ClaudeTeamSummaryData.js.map
@@ -0,0 +1,15 @@
1
+ var ClaudeTeamSummaryData;
2
+ ((ClaudeTeamSummaryData2) => {
3
+ ClaudeTeamSummaryData2.Coverage = {
4
+ Full: "full",
5
+ OverageOnly: "overage_only"
6
+ };
7
+ ClaudeTeamSummaryData2.BillingCycle = {
8
+ Monthly: "monthly",
9
+ Annual: "annual"
10
+ };
11
+ })(ClaudeTeamSummaryData || (ClaudeTeamSummaryData = {}));
12
+ export {
13
+ ClaudeTeamSummaryData
14
+ };
15
+ //# sourceMappingURL=ClaudeTeamSummaryData.mjs.map
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface ClaudeTeamSummaryResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.ClaudeTeamSummaryData;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface ClaudeTeamSummaryResponse {
3
+ success?: boolean | undefined;
4
+ data: LevelFour.ClaudeTeamSummaryData;
5
+ timestamp: string;
6
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ClaudeTeamSummaryResponse_exports = {};
16
+ module.exports = __toCommonJS(ClaudeTeamSummaryResponse_exports);
17
+ //# sourceMappingURL=ClaudeTeamSummaryResponse.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClaudeTeamSummaryResponse.mjs.map
@@ -0,0 +1,7 @@
1
+ export interface ClaudeTeamUpgradeRule {
2
+ people: number;
3
+ saving: number;
4
+ /** false when the files cannot tell this rule, and it names nobody */
5
+ available: boolean;
6
+ price_gap: number;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface ClaudeTeamUpgradeRule {
2
+ people: number;
3
+ saving: number;
4
+ /** false when the files cannot tell this rule, and it names nobody */
5
+ available: boolean;
6
+ price_gap: number;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var ClaudeTeamUpgradeRule_exports = {};
16
+ module.exports = __toCommonJS(ClaudeTeamUpgradeRule_exports);
17
+ //# sourceMappingURL=ClaudeTeamUpgradeRule.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ClaudeTeamUpgradeRule.mjs.map
@@ -1,8 +1,8 @@
1
1
  export interface FlowReconciliation {
2
- /** GiB the netflow component measured to another zone or out */
3
- flow_gb?: (number | null) | undefined;
4
- /** GiB the bill charged as cross-zone or internet transfer */
5
- billed_gb?: (number | null) | undefined;
2
+ /** GiB of the bill the netflow component accounts for: a byte that crosses zones counts twice, since the bill charges it on both nodes */
3
+ flow_gb: number;
4
+ /** GiB the bill charged as cross-zone or internet transfer, on the days the flows measured */
5
+ billed_gb: number;
6
6
  /** flow_gb over billed_gb; near 1 when the flows cover the bill */
7
- ratio?: (number | null) | undefined;
7
+ ratio: number;
8
8
  }
@@ -1,8 +1,8 @@
1
1
  export interface FlowReconciliation {
2
- /** GiB the netflow component measured to another zone or out */
3
- flow_gb?: (number | null) | undefined;
4
- /** GiB the bill charged as cross-zone or internet transfer */
5
- billed_gb?: (number | null) | undefined;
2
+ /** GiB of the bill the netflow component accounts for: a byte that crosses zones counts twice, since the bill charges it on both nodes */
3
+ flow_gb: number;
4
+ /** GiB the bill charged as cross-zone or internet transfer, on the days the flows measured */
5
+ billed_gb: number;
6
6
  /** flow_gb over billed_gb; near 1 when the flows cover the bill */
7
- ratio?: (number | null) | undefined;
7
+ ratio: number;
8
8
  }
@@ -4,5 +4,6 @@ export interface NetworkDestinations {
4
4
  /** The busiest 50 workload-to-workload flows across zones */
5
5
  workload_pairs: LevelFour.WorkloadPair[];
6
6
  internet: LevelFour.InternetEgress[];
7
- reconciliation: LevelFour.FlowReconciliation;
7
+ /** None until the bill has charged a day the flows measured */
8
+ reconciliation?: (LevelFour.FlowReconciliation | null) | undefined;
8
9
  }
@@ -4,5 +4,6 @@ export interface NetworkDestinations {
4
4
  /** The busiest 50 workload-to-workload flows across zones */
5
5
  workload_pairs: LevelFour.WorkloadPair[];
6
6
  internet: LevelFour.InternetEgress[];
7
- reconciliation: LevelFour.FlowReconciliation;
7
+ /** None until the bill has charged a day the flows measured */
8
+ reconciliation?: (LevelFour.FlowReconciliation | null) | undefined;
8
9
  }
@@ -1,4 +1,8 @@
1
1
  export interface StartUploadRequest {
2
2
  connection_id: string;
3
3
  file_name?: string | undefined;
4
+ /** The first day the file covers, for a file that names no day of its own. Only the Claude Team spend report reads it. Send it with period_end. */
5
+ period_start?: (string | null) | undefined;
6
+ /** The last day the file covers, included. */
7
+ period_end?: (string | null) | undefined;
4
8
  }
@@ -1,4 +1,8 @@
1
1
  export interface StartUploadRequest {
2
2
  connection_id: string;
3
3
  file_name?: string | undefined;
4
+ /** The first day the file covers, for a file that names no day of its own. Only the Claude Team spend report reads it. Send it with period_end. */
5
+ period_start?: (string | null) | undefined;
6
+ /** The last day the file covers, included. */
7
+ period_end?: (string | null) | undefined;
4
8
  }
@@ -5,4 +5,6 @@ export interface VirtualTagKeyOption {
5
5
  name: string;
6
6
  /** What this tag calls the spend no rule claimed, shown for __unallocated__ */
7
7
  unallocated_name?: (string | null) | undefined;
8
+ /** A predefined tag LevelFour keeps, so nothing should pick it by default */
9
+ managed?: boolean | undefined;
8
10
  }
@@ -5,4 +5,6 @@ export interface VirtualTagKeyOption {
5
5
  name: string;
6
6
  /** What this tag calls the spend no rule claimed, shown for __unallocated__ */
7
7
  unallocated_name?: (string | null) | undefined;
8
+ /** A predefined tag LevelFour keeps, so nothing should pick it by default */
9
+ managed?: boolean | undefined;
8
10
  }
@@ -1,11 +1,8 @@
1
+ import type * as LevelFour from "../index.mjs";
1
2
  export interface WorkloadPair {
2
- source_namespace: string;
3
- source_kind: string;
4
- source_name: string;
5
- source_zone: string;
6
- destination_namespace: string;
7
- destination_kind: string;
8
- destination_name: string;
9
- destination_zone: string;
3
+ source: LevelFour.WorkloadPairEnd;
4
+ destination: LevelFour.WorkloadPairEnd;
10
5
  bytes: number;
6
+ /** This flow's share of its zone pair's cost, by bytes */
7
+ cost?: (number | null) | undefined;
11
8
  }
@@ -1,11 +1,8 @@
1
+ import type * as LevelFour from "../index.js";
1
2
  export interface WorkloadPair {
2
- source_namespace: string;
3
- source_kind: string;
4
- source_name: string;
5
- source_zone: string;
6
- destination_namespace: string;
7
- destination_kind: string;
8
- destination_name: string;
9
- destination_zone: string;
3
+ source: LevelFour.WorkloadPairEnd;
4
+ destination: LevelFour.WorkloadPairEnd;
10
5
  bytes: number;
6
+ /** This flow's share of its zone pair's cost, by bytes */
7
+ cost?: (number | null) | undefined;
11
8
  }
@@ -0,0 +1,6 @@
1
+ export interface WorkloadPairEnd {
2
+ namespace: string;
3
+ kind: string;
4
+ name: string;
5
+ zone: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface WorkloadPairEnd {
2
+ namespace: string;
3
+ kind: string;
4
+ name: string;
5
+ zone: string;
6
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var WorkloadPairEnd_exports = {};
16
+ module.exports = __toCommonJS(WorkloadPairEnd_exports);
17
+ //# sourceMappingURL=WorkloadPairEnd.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=WorkloadPairEnd.mjs.map
@@ -3,6 +3,6 @@ export interface ZonePair {
3
3
  destination_zone: string;
4
4
  /** Measured by the netflow component */
5
5
  bytes?: (number | null) | undefined;
6
- /** The bill's cross-zone transfer, split by those bytes */
6
+ /** The bill's cross-zone transfer for those bytes, on the sending and the receiving node */
7
7
  cost?: (number | null) | undefined;
8
8
  }
@@ -3,6 +3,6 @@ export interface ZonePair {
3
3
  destination_zone: string;
4
4
  /** Measured by the netflow component */
5
5
  bytes?: (number | null) | undefined;
6
- /** The bill's cross-zone transfer, split by those bytes */
6
+ /** The bill's cross-zone transfer for those bytes, on the sending and the receiving node */
7
7
  cost?: (number | null) | undefined;
8
8
  }
@@ -167,6 +167,19 @@ export * from "./ChangesParamsOutput.mjs";
167
167
  export * from "./ChartForecast.mjs";
168
168
  export * from "./ChildrenSavings.mjs";
169
169
  export * from "./ClaimDay.mjs";
170
+ export * from "./ClaudeTeamDowngradeRule.mjs";
171
+ export * from "./ClaudeTeamMonth.mjs";
172
+ export * from "./ClaudeTeamPeopleData.mjs";
173
+ export * from "./ClaudeTeamPeopleResponse.mjs";
174
+ export * from "./ClaudeTeamPerson.mjs";
175
+ export * from "./ClaudeTeamRemoveRule.mjs";
176
+ export * from "./ClaudeTeamRules.mjs";
177
+ export * from "./ClaudeTeamSeats.mjs";
178
+ export * from "./ClaudeTeamSettingsData.mjs";
179
+ export * from "./ClaudeTeamSettingsResponse.mjs";
180
+ export * from "./ClaudeTeamSummaryData.mjs";
181
+ export * from "./ClaudeTeamSummaryResponse.mjs";
182
+ export * from "./ClaudeTeamUpgradeRule.mjs";
170
183
  export * from "./CloudAccountData.mjs";
171
184
  export * from "./ClusterAutomation.mjs";
172
185
  export * from "./ClusterAutomationResponse.mjs";
@@ -1183,6 +1196,7 @@ export * from "./WorkloadLabelKey.mjs";
1183
1196
  export * from "./WorkloadListData.mjs";
1184
1197
  export * from "./WorkloadListResponse.mjs";
1185
1198
  export * from "./WorkloadPair.mjs";
1199
+ export * from "./WorkloadPairEnd.mjs";
1186
1200
  export * from "./WorkloadRef.mjs";
1187
1201
  export * from "./WorkloadSource.mjs";
1188
1202
  export * from "./WorkloadVolume.mjs";
@@ -167,6 +167,19 @@ export * from "./ChangesParamsOutput.js";
167
167
  export * from "./ChartForecast.js";
168
168
  export * from "./ChildrenSavings.js";
169
169
  export * from "./ClaimDay.js";
170
+ export * from "./ClaudeTeamDowngradeRule.js";
171
+ export * from "./ClaudeTeamMonth.js";
172
+ export * from "./ClaudeTeamPeopleData.js";
173
+ export * from "./ClaudeTeamPeopleResponse.js";
174
+ export * from "./ClaudeTeamPerson.js";
175
+ export * from "./ClaudeTeamRemoveRule.js";
176
+ export * from "./ClaudeTeamRules.js";
177
+ export * from "./ClaudeTeamSeats.js";
178
+ export * from "./ClaudeTeamSettingsData.js";
179
+ export * from "./ClaudeTeamSettingsResponse.js";
180
+ export * from "./ClaudeTeamSummaryData.js";
181
+ export * from "./ClaudeTeamSummaryResponse.js";
182
+ export * from "./ClaudeTeamUpgradeRule.js";
170
183
  export * from "./CloudAccountData.js";
171
184
  export * from "./ClusterAutomation.js";
172
185
  export * from "./ClusterAutomationResponse.js";
@@ -1183,6 +1196,7 @@ export * from "./WorkloadLabelKey.js";
1183
1196
  export * from "./WorkloadListData.js";
1184
1197
  export * from "./WorkloadListResponse.js";
1185
1198
  export * from "./WorkloadPair.js";
1199
+ export * from "./WorkloadPairEnd.js";
1186
1200
  export * from "./WorkloadRef.js";
1187
1201
  export * from "./WorkloadSource.js";
1188
1202
  export * from "./WorkloadVolume.js";
@@ -184,6 +184,19 @@ __reExport(types_exports, require("./ChangesParamsOutput.js"), module.exports);
184
184
  __reExport(types_exports, require("./ChartForecast.js"), module.exports);
185
185
  __reExport(types_exports, require("./ChildrenSavings.js"), module.exports);
186
186
  __reExport(types_exports, require("./ClaimDay.js"), module.exports);
187
+ __reExport(types_exports, require("./ClaudeTeamDowngradeRule.js"), module.exports);
188
+ __reExport(types_exports, require("./ClaudeTeamMonth.js"), module.exports);
189
+ __reExport(types_exports, require("./ClaudeTeamPeopleData.js"), module.exports);
190
+ __reExport(types_exports, require("./ClaudeTeamPeopleResponse.js"), module.exports);
191
+ __reExport(types_exports, require("./ClaudeTeamPerson.js"), module.exports);
192
+ __reExport(types_exports, require("./ClaudeTeamRemoveRule.js"), module.exports);
193
+ __reExport(types_exports, require("./ClaudeTeamRules.js"), module.exports);
194
+ __reExport(types_exports, require("./ClaudeTeamSeats.js"), module.exports);
195
+ __reExport(types_exports, require("./ClaudeTeamSettingsData.js"), module.exports);
196
+ __reExport(types_exports, require("./ClaudeTeamSettingsResponse.js"), module.exports);
197
+ __reExport(types_exports, require("./ClaudeTeamSummaryData.js"), module.exports);
198
+ __reExport(types_exports, require("./ClaudeTeamSummaryResponse.js"), module.exports);
199
+ __reExport(types_exports, require("./ClaudeTeamUpgradeRule.js"), module.exports);
187
200
  __reExport(types_exports, require("./CloudAccountData.js"), module.exports);
188
201
  __reExport(types_exports, require("./ClusterAutomation.js"), module.exports);
189
202
  __reExport(types_exports, require("./ClusterAutomationResponse.js"), module.exports);
@@ -1200,6 +1213,7 @@ __reExport(types_exports, require("./WorkloadLabelKey.js"), module.exports);
1200
1213
  __reExport(types_exports, require("./WorkloadListData.js"), module.exports);
1201
1214
  __reExport(types_exports, require("./WorkloadListResponse.js"), module.exports);
1202
1215
  __reExport(types_exports, require("./WorkloadPair.js"), module.exports);
1216
+ __reExport(types_exports, require("./WorkloadPairEnd.js"), module.exports);
1203
1217
  __reExport(types_exports, require("./WorkloadRef.js"), module.exports);
1204
1218
  __reExport(types_exports, require("./WorkloadSource.js"), module.exports);
1205
1219
  __reExport(types_exports, require("./WorkloadVolume.js"), module.exports);
@@ -1377,6 +1391,19 @@ __reExport(types_exports, require("./ZonePair.js"), module.exports);
1377
1391
  ...require("./ChartForecast.js"),
1378
1392
  ...require("./ChildrenSavings.js"),
1379
1393
  ...require("./ClaimDay.js"),
1394
+ ...require("./ClaudeTeamDowngradeRule.js"),
1395
+ ...require("./ClaudeTeamMonth.js"),
1396
+ ...require("./ClaudeTeamPeopleData.js"),
1397
+ ...require("./ClaudeTeamPeopleResponse.js"),
1398
+ ...require("./ClaudeTeamPerson.js"),
1399
+ ...require("./ClaudeTeamRemoveRule.js"),
1400
+ ...require("./ClaudeTeamRules.js"),
1401
+ ...require("./ClaudeTeamSeats.js"),
1402
+ ...require("./ClaudeTeamSettingsData.js"),
1403
+ ...require("./ClaudeTeamSettingsResponse.js"),
1404
+ ...require("./ClaudeTeamSummaryData.js"),
1405
+ ...require("./ClaudeTeamSummaryResponse.js"),
1406
+ ...require("./ClaudeTeamUpgradeRule.js"),
1380
1407
  ...require("./CloudAccountData.js"),
1381
1408
  ...require("./ClusterAutomation.js"),
1382
1409
  ...require("./ClusterAutomationResponse.js"),
@@ -2393,6 +2420,7 @@ __reExport(types_exports, require("./ZonePair.js"), module.exports);
2393
2420
  ...require("./WorkloadListData.js"),
2394
2421
  ...require("./WorkloadListResponse.js"),
2395
2422
  ...require("./WorkloadPair.js"),
2423
+ ...require("./WorkloadPairEnd.js"),
2396
2424
  ...require("./WorkloadRef.js"),
2397
2425
  ...require("./WorkloadSource.js"),
2398
2426
  ...require("./WorkloadVolume.js"),
@@ -167,6 +167,19 @@ export * from "./ChangesParamsOutput.mjs";
167
167
  export * from "./ChartForecast.mjs";
168
168
  export * from "./ChildrenSavings.mjs";
169
169
  export * from "./ClaimDay.mjs";
170
+ export * from "./ClaudeTeamDowngradeRule.mjs";
171
+ export * from "./ClaudeTeamMonth.mjs";
172
+ export * from "./ClaudeTeamPeopleData.mjs";
173
+ export * from "./ClaudeTeamPeopleResponse.mjs";
174
+ export * from "./ClaudeTeamPerson.mjs";
175
+ export * from "./ClaudeTeamRemoveRule.mjs";
176
+ export * from "./ClaudeTeamRules.mjs";
177
+ export * from "./ClaudeTeamSeats.mjs";
178
+ export * from "./ClaudeTeamSettingsData.mjs";
179
+ export * from "./ClaudeTeamSettingsResponse.mjs";
180
+ export * from "./ClaudeTeamSummaryData.mjs";
181
+ export * from "./ClaudeTeamSummaryResponse.mjs";
182
+ export * from "./ClaudeTeamUpgradeRule.mjs";
170
183
  export * from "./CloudAccountData.mjs";
171
184
  export * from "./ClusterAutomation.mjs";
172
185
  export * from "./ClusterAutomationResponse.mjs";
@@ -1183,6 +1196,7 @@ export * from "./WorkloadLabelKey.mjs";
1183
1196
  export * from "./WorkloadListData.mjs";
1184
1197
  export * from "./WorkloadListResponse.mjs";
1185
1198
  export * from "./WorkloadPair.mjs";
1199
+ export * from "./WorkloadPairEnd.mjs";
1186
1200
  export * from "./WorkloadRef.mjs";
1187
1201
  export * from "./WorkloadSource.mjs";
1188
1202
  export * from "./WorkloadVolume.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.4.0";
1
+ export declare const SDK_VERSION = "1.5.0";
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.4.0";
1
+ export declare const SDK_VERSION = "1.5.0";