@epilot/pricing-client 3.55.1 → 3.58.2
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/additional-types.d.ts +8 -4
- package/dist/definition.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/openapi-runtime.json +421 -0
- package/dist/openapi.d.ts +14107 -3384
- package/dist/openapi.json +4686 -194
- package/dist/schema-model.d.ts +30 -0
- package/dist/schema-model.js +34 -0
- package/package.json +2 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime companions for spec enums, for consumers that need the values and not
|
|
3
|
+
* just the union type.
|
|
4
|
+
*
|
|
5
|
+
* Suffixed `Values` because the spec type owns the bare name. That suffix is also
|
|
6
|
+
* the contract: `packages/epilot-sdk-v2/__tests__/models.test.ts` checks every
|
|
7
|
+
* `<SpecType>Values` map against `components.schemas.<SpecType>.enum`, so a member
|
|
8
|
+
* added to or removed from the spec fails the build rather than drifting silently.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PricingModelValues: {
|
|
11
|
+
readonly perUnit: "per_unit";
|
|
12
|
+
readonly tieredGraduated: "tiered_graduated";
|
|
13
|
+
readonly tieredVolume: "tiered_volume";
|
|
14
|
+
readonly tieredFlatFee: "tiered_flatfee";
|
|
15
|
+
readonly dynamicTariff: "dynamic_tariff";
|
|
16
|
+
readonly externalGetAG: "external_getag";
|
|
17
|
+
};
|
|
18
|
+
export declare const MarkupPricingModelValues: {
|
|
19
|
+
readonly perUnit: "per_unit";
|
|
20
|
+
readonly tieredVolume: "tiered_volume";
|
|
21
|
+
readonly tieredFlatFee: "tiered_flatfee";
|
|
22
|
+
};
|
|
23
|
+
export declare const TypeGetAgValues: {
|
|
24
|
+
readonly basePrice: "base_price";
|
|
25
|
+
readonly workPrice: "work_price";
|
|
26
|
+
};
|
|
27
|
+
export declare const DynamicTariffModeValues: {
|
|
28
|
+
readonly dayAheadMarket: "day_ahead_market";
|
|
29
|
+
readonly manual: "manual";
|
|
30
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamicTariffModeValues = exports.TypeGetAgValues = exports.MarkupPricingModelValues = exports.PricingModelValues = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Runtime companions for spec enums, for consumers that need the values and not
|
|
6
|
+
* just the union type.
|
|
7
|
+
*
|
|
8
|
+
* Suffixed `Values` because the spec type owns the bare name. That suffix is also
|
|
9
|
+
* the contract: `packages/epilot-sdk-v2/__tests__/models.test.ts` checks every
|
|
10
|
+
* `<SpecType>Values` map against `components.schemas.<SpecType>.enum`, so a member
|
|
11
|
+
* added to or removed from the spec fails the build rather than drifting silently.
|
|
12
|
+
*/
|
|
13
|
+
exports.PricingModelValues = {
|
|
14
|
+
perUnit: 'per_unit',
|
|
15
|
+
tieredGraduated: 'tiered_graduated',
|
|
16
|
+
tieredVolume: 'tiered_volume',
|
|
17
|
+
tieredFlatFee: 'tiered_flatfee',
|
|
18
|
+
dynamicTariff: 'dynamic_tariff',
|
|
19
|
+
externalGetAG: 'external_getag',
|
|
20
|
+
};
|
|
21
|
+
exports.MarkupPricingModelValues = {
|
|
22
|
+
perUnit: 'per_unit',
|
|
23
|
+
tieredVolume: 'tiered_volume',
|
|
24
|
+
tieredFlatFee: 'tiered_flatfee',
|
|
25
|
+
};
|
|
26
|
+
exports.TypeGetAgValues = {
|
|
27
|
+
basePrice: 'base_price',
|
|
28
|
+
workPrice: 'work_price',
|
|
29
|
+
};
|
|
30
|
+
exports.DynamicTariffModeValues = {
|
|
31
|
+
dayAheadMarket: 'day_ahead_market',
|
|
32
|
+
manual: 'manual',
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=schema-model.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/pricing-client",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.58.2",
|
|
4
4
|
"description": "Client for epilot Pricing APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"openapicmd": "^2.9.2",
|
|
69
69
|
"ts-loader": "^8.0.14",
|
|
70
70
|
"ts-node": "^10.9.1",
|
|
71
|
-
"typescript": "^4.
|
|
71
|
+
"typescript": "^4.9.3",
|
|
72
72
|
"webpack": "^5.18.0",
|
|
73
73
|
"webpack-cli": "^4.4.0"
|
|
74
74
|
},
|